From 2f931289740d0faf722cc2341b7ccded2a6842f3 Mon Sep 17 00:00:00 2001 From: Josue Date: Fri, 12 Jan 2024 09:57:37 -0600 Subject: [PATCH] feat: support logs cursor pagination --- .openapi-generator/FILES | 2 - BasisTheory/APIs/ApplicationsAPI.swift | 9 +- BasisTheory/APIs/LogsAPI.swift | 9 +- BasisTheory/APIs/ProxiesAPI.swift | 9 +- BasisTheory/APIs/ReactorFormulasAPI.swift | 9 +- BasisTheory/APIs/ReactorsAPI.swift | 9 +- BasisTheory/APIs/TenantsAPI.swift | 18 +- BasisTheory/APIs/TokensAPI.swift | 17 +- BasisTheory/Models/GetApplications.swift | 6 +- BasisTheory/Models/GetLogs.swift | 6 +- BasisTheory/Models/GetProxies.swift | 6 +- BasisTheory/Models/GetReactorFormulas.swift | 6 +- BasisTheory/Models/GetReactors.swift | 6 +- BasisTheory/Models/GetTenantInvitations.swift | 6 +- BasisTheory/Models/GetTenantMembers.swift | 6 +- BasisTheory/Models/GetTokens.swift | 6 +- BasisTheory/Models/Log.swift | 6 +- BasisTheory/Models/Pagination.swift | 6 +- BasisTheory/Models/SearchTokensRequest.swift | 6 +- docs/ApplicationsAPI.md | 6 +- docs/GetApplications.md | 1 + docs/GetLogs.md | 1 + docs/GetProxies.md | 1 + docs/GetReactorFormulas.md | 1 + docs/GetReactors.md | 1 + docs/GetTenantInvitations.md | 1 + docs/GetTenantMembers.md | 1 + docs/GetTokens.md | 1 + docs/Log.md | 1 + docs/LogsAPI.md | 6 +- docs/Pagination.md | 1 + docs/ProxiesAPI.md | 6 +- docs/ReactorFormulasAPI.md | 6 +- docs/ReactorsAPI.md | 6 +- docs/SearchTokensRequest.md | 1 + docs/TenantsAPI.md | 12 +- docs/TokensAPI.md | 12 +- swagger.json | 11799 ++++++++-------- 38 files changed, 6051 insertions(+), 5961 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7f4db40..64f4322 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -35,7 +35,6 @@ BasisTheory/Models/CreateReactorRequest.swift BasisTheory/Models/CreateSessionResponse.swift BasisTheory/Models/CreateTenantInvitationRequest.swift BasisTheory/Models/CreateTokenRequest.swift -BasisTheory/Models/CreateTokenResponse.swift BasisTheory/Models/CreateTransactionResponse.swift BasisTheory/Models/EncryptionKey.swift BasisTheory/Models/EncryptionMetadata.swift @@ -115,7 +114,6 @@ docs/CreateReactorRequest.md docs/CreateSessionResponse.md docs/CreateTenantInvitationRequest.md docs/CreateTokenRequest.md -docs/CreateTokenResponse.md docs/CreateTransactionResponse.md docs/EncryptionKey.md docs/EncryptionMetadata.md diff --git a/BasisTheory/APIs/ApplicationsAPI.swift b/BasisTheory/APIs/ApplicationsAPI.swift index c0cdcbf..ae681b1 100644 --- a/BasisTheory/APIs/ApplicationsAPI.swift +++ b/BasisTheory/APIs/ApplicationsAPI.swift @@ -17,13 +17,14 @@ open class ApplicationsAPI { - parameter id: (query) (optional) - parameter type: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ApplicationPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(id: id, type: type, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ApplicationPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(id: id, type: type, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -41,10 +42,11 @@ open class ApplicationsAPI { - parameter id: (query) (optional) - parameter type: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/applications" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -54,6 +56,7 @@ open class ApplicationsAPI { "id": (wrappedValue: id?.encodeToJSON(), isExplode: true), "type": (wrappedValue: type?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/LogsAPI.swift b/BasisTheory/APIs/LogsAPI.swift index 57b0283..bb18c44 100644 --- a/BasisTheory/APIs/LogsAPI.swift +++ b/BasisTheory/APIs/LogsAPI.swift @@ -19,13 +19,14 @@ open class LogsAPI { - parameter startDate: (query) (optional) - parameter endDate: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: LogPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(entityType: entityType, entityId: entityId, startDate: startDate, endDate: endDate, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: LogPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(entityType: entityType, entityId: entityId, startDate: startDate, endDate: endDate, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -45,10 +46,11 @@ open class LogsAPI { - parameter startDate: (query) (optional) - parameter endDate: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/logs" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -60,6 +62,7 @@ open class LogsAPI { "start_date": (wrappedValue: startDate?.encodeToJSON(), isExplode: true), "end_date": (wrappedValue: endDate?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/ProxiesAPI.swift b/BasisTheory/APIs/ProxiesAPI.swift index 6a1af5b..329efe5 100644 --- a/BasisTheory/APIs/ProxiesAPI.swift +++ b/BasisTheory/APIs/ProxiesAPI.swift @@ -17,13 +17,14 @@ open class ProxiesAPI { - parameter id: (query) (optional) - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ProxyPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(id: id, name: name, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ProxyPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(id: id, name: name, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -41,10 +42,11 @@ open class ProxiesAPI { - parameter id: (query) (optional) - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/proxies" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -54,6 +56,7 @@ open class ProxiesAPI { "id": (wrappedValue: id?.encodeToJSON(), isExplode: true), "name": (wrappedValue: name?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/ReactorFormulasAPI.swift b/BasisTheory/APIs/ReactorFormulasAPI.swift index 023cfc6..4f7da25 100644 --- a/BasisTheory/APIs/ReactorFormulasAPI.swift +++ b/BasisTheory/APIs/ReactorFormulasAPI.swift @@ -16,13 +16,14 @@ open class ReactorFormulasAPI { - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(name: String? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ReactorFormulaPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(name: name, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ReactorFormulaPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(name: name, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -39,10 +40,11 @@ open class ReactorFormulasAPI { - name: ApiKey - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(name: String? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/reactor-formulas" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -51,6 +53,7 @@ open class ReactorFormulasAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "name": (wrappedValue: name?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/ReactorsAPI.swift b/BasisTheory/APIs/ReactorsAPI.swift index 70e09aa..cbab0b5 100644 --- a/BasisTheory/APIs/ReactorsAPI.swift +++ b/BasisTheory/APIs/ReactorsAPI.swift @@ -17,13 +17,14 @@ open class ReactorsAPI { - parameter id: (query) (optional) - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ReactorPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(id: id, name: name, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: ReactorPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(id: id, name: name, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -41,10 +42,11 @@ open class ReactorsAPI { - parameter id: (query) (optional) - parameter name: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/reactors" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -54,6 +56,7 @@ open class ReactorsAPI { "id": (wrappedValue: id?.encodeToJSON(), isExplode: true), "name": (wrappedValue: name?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/TenantsAPI.swift b/BasisTheory/APIs/TenantsAPI.swift index 7a85bda..5f7aa35 100644 --- a/BasisTheory/APIs/TenantsAPI.swift +++ b/BasisTheory/APIs/TenantsAPI.swift @@ -238,13 +238,14 @@ open class TenantsAPI { - parameter status: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func getInvitations(status: TenantInvitationStatus? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TenantInvitationResponsePaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return getInvitationsWithRequestBuilder(status: status, page: page, size: size).execute(apiResponseQueue) { result in + open class func getInvitations(status: TenantInvitationStatus? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TenantInvitationResponsePaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return getInvitationsWithRequestBuilder(status: status, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -261,10 +262,11 @@ open class TenantsAPI { - name: ApiKey - parameter status: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func getInvitationsWithRequestBuilder(status: TenantInvitationStatus? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func getInvitationsWithRequestBuilder(status: TenantInvitationStatus? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/tenants/self/invitations" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -273,6 +275,7 @@ open class TenantsAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "status": (wrappedValue: status?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) @@ -291,13 +294,14 @@ open class TenantsAPI { - parameter userId: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func getMembers(userId: [UUID]? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TenantMemberResponsePaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return getMembersWithRequestBuilder(userId: userId, page: page, size: size).execute(apiResponseQueue) { result in + open class func getMembers(userId: [UUID]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TenantMemberResponsePaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return getMembersWithRequestBuilder(userId: userId, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -314,10 +318,11 @@ open class TenantsAPI { - name: ApiKey - parameter userId: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func getMembersWithRequestBuilder(userId: [UUID]? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func getMembersWithRequestBuilder(userId: [UUID]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/tenants/self/members" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -326,6 +331,7 @@ open class TenantsAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "user_id": (wrappedValue: userId?.encodeToJSON(), isExplode: true), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) diff --git a/BasisTheory/APIs/TokensAPI.swift b/BasisTheory/APIs/TokensAPI.swift index 2207b61..bdea21b 100644 --- a/BasisTheory/APIs/TokensAPI.swift +++ b/BasisTheory/APIs/TokensAPI.swift @@ -18,13 +18,14 @@ open class TokensAPI { - parameter id: (query) (optional) - parameter metadata: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - parameter apiResponseQueue: The queue on which api response is dispatched. - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func callGet(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TokenPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { - return callGetWithRequestBuilder(type: type, id: id, metadata: metadata, page: page, size: size).execute(apiResponseQueue) { result in + open class func callGet(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: TokenPaginatedList?, _ error: Error?) -> Void)) -> RequestTask { + return callGetWithRequestBuilder(type: type, id: id, metadata: metadata, page: page, start: start, size: size).execute(apiResponseQueue) { result in switch result { case let .success(response): completion(response.body, nil) @@ -43,10 +44,11 @@ open class TokensAPI { - parameter id: (query) (optional) - parameter metadata: (query) (optional) - parameter page: (query) (optional) + - parameter start: (query) (optional) - parameter size: (query) (optional) - returns: RequestBuilder */ - open class func callGetWithRequestBuilder(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, size: Int? = nil) -> RequestBuilder { + open class func callGetWithRequestBuilder(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) -> RequestBuilder { let localVariablePath = "/tokens" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters: [String: Any]? = nil @@ -57,6 +59,7 @@ open class TokensAPI { "id": (wrappedValue: id?.encodeToJSON(), isExplode: true), "metadata": (wrappedValue: metadata?.encodeToJSON(), isExplode: false), "page": (wrappedValue: page?.encodeToJSON(), isExplode: true), + "start": (wrappedValue: start?.encodeToJSON(), isExplode: true), "size": (wrappedValue: size?.encodeToJSON(), isExplode: true), ]) @@ -78,7 +81,7 @@ open class TokensAPI { - parameter completion: completion handler to receive the data and the error objects */ @discardableResult - open class func create(createTokenRequest: CreateTokenRequest, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: CreateTokenResponse?, _ error: Error?) -> Void)) -> RequestTask { + open class func create(createTokenRequest: CreateTokenRequest, apiResponseQueue: DispatchQueue = BasisTheoryAPI.apiResponseQueue, completion: @escaping ((_ data: Token?, _ error: Error?) -> Void)) -> RequestTask { return createWithRequestBuilder(createTokenRequest: createTokenRequest).execute(apiResponseQueue) { result in switch result { case let .success(response): @@ -95,9 +98,9 @@ open class TokensAPI { - type: apiKey BT-API-KEY - name: ApiKey - parameter createTokenRequest: (body) - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createWithRequestBuilder(createTokenRequest: CreateTokenRequest) -> RequestBuilder { + open class func createWithRequestBuilder(createTokenRequest: CreateTokenRequest) -> RequestBuilder { let localVariablePath = "/tokens" let localVariableURLString = BasisTheoryAPI.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTokenRequest) @@ -110,7 +113,7 @@ open class TokensAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = BasisTheoryAPI.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = BasisTheoryAPI.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true) } diff --git a/BasisTheory/Models/GetApplications.swift b/BasisTheory/Models/GetApplications.swift index 78bb983..e948943 100644 --- a/BasisTheory/Models/GetApplications.swift +++ b/BasisTheory/Models/GetApplications.swift @@ -15,12 +15,14 @@ public struct GetApplications: Codable, JSONEncodable, Hashable { public var id: [UUID]? public var type: [String]? public var page: Int? + public var start: String? public var size: Int? - public init(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, size: Int? = nil) { + public init(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.id = id self.type = type self.page = page + self.start = start self.size = size } @@ -28,6 +30,7 @@ public struct GetApplications: Codable, JSONEncodable, Hashable { case id case type case page + case start case size } @@ -38,6 +41,7 @@ public struct GetApplications: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(id, forKey: .id) try containerEncoder.encodeIfPresent(type, forKey: .type) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetLogs.swift b/BasisTheory/Models/GetLogs.swift index 26de3a7..6d48c60 100644 --- a/BasisTheory/Models/GetLogs.swift +++ b/BasisTheory/Models/GetLogs.swift @@ -17,14 +17,16 @@ public struct GetLogs: Codable, JSONEncodable, Hashable { public var startDate: Date? public var endDate: Date? public var page: Int? + public var start: String? public var size: Int? - public init(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, size: Int? = nil) { + public init(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.entityType = entityType self.entityId = entityId self.startDate = startDate self.endDate = endDate self.page = page + self.start = start self.size = size } @@ -34,6 +36,7 @@ public struct GetLogs: Codable, JSONEncodable, Hashable { case startDate = "start_date" case endDate = "end_date" case page + case start case size } @@ -46,6 +49,7 @@ public struct GetLogs: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(startDate, forKey: .startDate) try containerEncoder.encodeIfPresent(endDate, forKey: .endDate) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetProxies.swift b/BasisTheory/Models/GetProxies.swift index 524c080..f73e93c 100644 --- a/BasisTheory/Models/GetProxies.swift +++ b/BasisTheory/Models/GetProxies.swift @@ -15,12 +15,14 @@ public struct GetProxies: Codable, JSONEncodable, Hashable { public var id: [UUID]? public var name: String? public var page: Int? + public var start: String? public var size: Int? - public init(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil) { + public init(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.id = id self.name = name self.page = page + self.start = start self.size = size } @@ -28,6 +30,7 @@ public struct GetProxies: Codable, JSONEncodable, Hashable { case id case name case page + case start case size } @@ -38,6 +41,7 @@ public struct GetProxies: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(id, forKey: .id) try containerEncoder.encodeIfPresent(name, forKey: .name) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetReactorFormulas.swift b/BasisTheory/Models/GetReactorFormulas.swift index f239ea2..590bbc0 100644 --- a/BasisTheory/Models/GetReactorFormulas.swift +++ b/BasisTheory/Models/GetReactorFormulas.swift @@ -14,17 +14,20 @@ public struct GetReactorFormulas: Codable, JSONEncodable, Hashable { public var name: String? public var page: Int? + public var start: String? public var size: Int? - public init(name: String? = nil, page: Int? = nil, size: Int? = nil) { + public init(name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.name = name self.page = page + self.start = start self.size = size } public enum CodingKeys: String, CodingKey, CaseIterable { case name case page + case start case size } @@ -34,6 +37,7 @@ public struct GetReactorFormulas: Codable, JSONEncodable, Hashable { var containerEncoder = encoder.container(keyedBy: CodingKeys.self) try containerEncoder.encodeIfPresent(name, forKey: .name) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetReactors.swift b/BasisTheory/Models/GetReactors.swift index a88b4b9..27dd8d9 100644 --- a/BasisTheory/Models/GetReactors.swift +++ b/BasisTheory/Models/GetReactors.swift @@ -15,12 +15,14 @@ public struct GetReactors: Codable, JSONEncodable, Hashable { public var id: [UUID]? public var name: String? public var page: Int? + public var start: String? public var size: Int? - public init(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil) { + public init(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.id = id self.name = name self.page = page + self.start = start self.size = size } @@ -28,6 +30,7 @@ public struct GetReactors: Codable, JSONEncodable, Hashable { case id case name case page + case start case size } @@ -38,6 +41,7 @@ public struct GetReactors: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(id, forKey: .id) try containerEncoder.encodeIfPresent(name, forKey: .name) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetTenantInvitations.swift b/BasisTheory/Models/GetTenantInvitations.swift index 741fa3c..9a01404 100644 --- a/BasisTheory/Models/GetTenantInvitations.swift +++ b/BasisTheory/Models/GetTenantInvitations.swift @@ -14,17 +14,20 @@ public struct GetTenantInvitations: Codable, JSONEncodable, Hashable { public var status: TenantInvitationStatus? public var page: Int? + public var start: String? public var size: Int? - public init(status: TenantInvitationStatus? = nil, page: Int? = nil, size: Int? = nil) { + public init(status: TenantInvitationStatus? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.status = status self.page = page + self.start = start self.size = size } public enum CodingKeys: String, CodingKey, CaseIterable { case status case page + case start case size } @@ -34,6 +37,7 @@ public struct GetTenantInvitations: Codable, JSONEncodable, Hashable { var containerEncoder = encoder.container(keyedBy: CodingKeys.self) try containerEncoder.encodeIfPresent(status, forKey: .status) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetTenantMembers.swift b/BasisTheory/Models/GetTenantMembers.swift index ccc84bd..7446408 100644 --- a/BasisTheory/Models/GetTenantMembers.swift +++ b/BasisTheory/Models/GetTenantMembers.swift @@ -14,17 +14,20 @@ public struct GetTenantMembers: Codable, JSONEncodable, Hashable { public var userId: [UUID]? public var page: Int? + public var start: String? public var size: Int? - public init(userId: [UUID]? = nil, page: Int? = nil, size: Int? = nil) { + public init(userId: [UUID]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.userId = userId self.page = page + self.start = start self.size = size } public enum CodingKeys: String, CodingKey, CaseIterable { case userId = "user_id" case page + case start case size } @@ -34,6 +37,7 @@ public struct GetTenantMembers: Codable, JSONEncodable, Hashable { var containerEncoder = encoder.container(keyedBy: CodingKeys.self) try containerEncoder.encodeIfPresent(userId, forKey: .userId) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/GetTokens.swift b/BasisTheory/Models/GetTokens.swift index 31ff4b7..0812a83 100644 --- a/BasisTheory/Models/GetTokens.swift +++ b/BasisTheory/Models/GetTokens.swift @@ -16,13 +16,15 @@ public struct GetTokens: Codable, JSONEncodable, Hashable { public var id: [String]? public var metadata: [String: String]? public var page: Int? + public var start: String? public var size: Int? - public init(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, size: Int? = nil) { + public init(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.type = type self.id = id self.metadata = metadata self.page = page + self.start = start self.size = size } @@ -31,6 +33,7 @@ public struct GetTokens: Codable, JSONEncodable, Hashable { case id case metadata case page + case start case size } @@ -42,6 +45,7 @@ public struct GetTokens: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(id, forKey: .id) try containerEncoder.encodeIfPresent(metadata, forKey: .metadata) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/BasisTheory/Models/Log.swift b/BasisTheory/Models/Log.swift index d42a4c5..0139168 100644 --- a/BasisTheory/Models/Log.swift +++ b/BasisTheory/Models/Log.swift @@ -12,6 +12,7 @@ import AnyCodable public struct Log: Codable, JSONEncodable, Hashable { + public var id: String? public var tenantId: UUID? public var actorId: UUID? public var actorType: String? @@ -21,7 +22,8 @@ public struct Log: Codable, JSONEncodable, Hashable { public var message: String? public var createdAt: Date? - public init(tenantId: UUID? = nil, actorId: UUID? = nil, actorType: String? = nil, entityType: String? = nil, entityId: String? = nil, operation: String? = nil, message: String? = nil, createdAt: Date? = nil) { + public init(id: String? = nil, tenantId: UUID? = nil, actorId: UUID? = nil, actorType: String? = nil, entityType: String? = nil, entityId: String? = nil, operation: String? = nil, message: String? = nil, createdAt: Date? = nil) { + self.id = id self.tenantId = tenantId self.actorId = actorId self.actorType = actorType @@ -33,6 +35,7 @@ public struct Log: Codable, JSONEncodable, Hashable { } public enum CodingKeys: String, CodingKey, CaseIterable { + case id case tenantId = "tenant_id" case actorId = "actor_id" case actorType = "actor_type" @@ -47,6 +50,7 @@ public struct Log: Codable, JSONEncodable, Hashable { public func encode(to encoder: Encoder) throws { var containerEncoder = encoder.container(keyedBy: CodingKeys.self) + try containerEncoder.encodeIfPresent(id, forKey: .id) try containerEncoder.encodeIfPresent(tenantId, forKey: .tenantId) try containerEncoder.encodeIfPresent(actorId, forKey: .actorId) try containerEncoder.encodeIfPresent(actorType, forKey: .actorType) diff --git a/BasisTheory/Models/Pagination.swift b/BasisTheory/Models/Pagination.swift index 7446a1d..f76376e 100644 --- a/BasisTheory/Models/Pagination.swift +++ b/BasisTheory/Models/Pagination.swift @@ -16,12 +16,14 @@ public struct Pagination: Codable, JSONEncodable, Hashable { public var pageNumber: Int? public var pageSize: Int? public var totalPages: Int? + public var after: String? - public init(totalItems: Int? = nil, pageNumber: Int? = nil, pageSize: Int? = nil, totalPages: Int? = nil) { + public init(totalItems: Int? = nil, pageNumber: Int? = nil, pageSize: Int? = nil, totalPages: Int? = nil, after: String? = nil) { self.totalItems = totalItems self.pageNumber = pageNumber self.pageSize = pageSize self.totalPages = totalPages + self.after = after } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -29,6 +31,7 @@ public struct Pagination: Codable, JSONEncodable, Hashable { case pageNumber = "page_number" case pageSize = "page_size" case totalPages = "total_pages" + case after } // Encodable protocol methods @@ -39,6 +42,7 @@ public struct Pagination: Codable, JSONEncodable, Hashable { try containerEncoder.encodeIfPresent(pageNumber, forKey: .pageNumber) try containerEncoder.encodeIfPresent(pageSize, forKey: .pageSize) try containerEncoder.encodeIfPresent(totalPages, forKey: .totalPages) + try containerEncoder.encodeIfPresent(after, forKey: .after) } } diff --git a/BasisTheory/Models/SearchTokensRequest.swift b/BasisTheory/Models/SearchTokensRequest.swift index 711d925..6b582d3 100644 --- a/BasisTheory/Models/SearchTokensRequest.swift +++ b/BasisTheory/Models/SearchTokensRequest.swift @@ -14,17 +14,20 @@ public struct SearchTokensRequest: Codable, JSONEncodable, Hashable { public var query: String? public var page: Int? + public var start: String? public var size: Int? - public init(query: String? = nil, page: Int? = nil, size: Int? = nil) { + public init(query: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil) { self.query = query self.page = page + self.start = start self.size = size } public enum CodingKeys: String, CodingKey, CaseIterable { case query case page + case start case size } @@ -34,6 +37,7 @@ public struct SearchTokensRequest: Codable, JSONEncodable, Hashable { var containerEncoder = encoder.container(keyedBy: CodingKeys.self) try containerEncoder.encodeIfPresent(query, forKey: .query) try containerEncoder.encodeIfPresent(page, forKey: .page) + try containerEncoder.encodeIfPresent(start, forKey: .start) try containerEncoder.encodeIfPresent(size, forKey: .size) } } diff --git a/docs/ApplicationsAPI.md b/docs/ApplicationsAPI.md index 230bd92..2c8746c 100644 --- a/docs/ApplicationsAPI.md +++ b/docs/ApplicationsAPI.md @@ -15,7 +15,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: ApplicationPaginatedList?, _ error: Error?) -> Void) + open class func callGet(id: [UUID]? = nil, type: [String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: ApplicationPaginatedList?, _ error: Error?) -> Void) ``` @@ -28,9 +28,10 @@ import BasisTheory let id = [123] // [UUID] | (optional) let type = ["inner_example"] // [String] | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -ApplicationsAPI.callGet(id: id, type: type, page: page, size: size) { (response, error) in +ApplicationsAPI.callGet(id: id, type: type, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -49,6 +50,7 @@ Name | Type | Description | Notes **id** | [**[UUID]**](UUID.md) | | [optional] **type** | [**[String]**](String.md) | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/GetApplications.md b/docs/GetApplications.md index 2c80103..7995096 100644 --- a/docs/GetApplications.md +++ b/docs/GetApplications.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **[UUID]** | | [optional] **type** | **[String]** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetLogs.md b/docs/GetLogs.md index f444e24..bc7a2cd 100644 --- a/docs/GetLogs.md +++ b/docs/GetLogs.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **startDate** | **Date** | | [optional] **endDate** | **Date** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetProxies.md b/docs/GetProxies.md index 820b5c1..9d7de88 100644 --- a/docs/GetProxies.md +++ b/docs/GetProxies.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **[UUID]** | | [optional] **name** | **String** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetReactorFormulas.md b/docs/GetReactorFormulas.md index 5df48d9..e5a3e98 100644 --- a/docs/GetReactorFormulas.md +++ b/docs/GetReactorFormulas.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetReactors.md b/docs/GetReactors.md index 9e1f28e..3ccbd24 100644 --- a/docs/GetReactors.md +++ b/docs/GetReactors.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **id** | **[UUID]** | | [optional] **name** | **String** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTenantInvitations.md b/docs/GetTenantInvitations.md index 3455408..492ad52 100644 --- a/docs/GetTenantInvitations.md +++ b/docs/GetTenantInvitations.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | [**TenantInvitationStatus**](TenantInvitationStatus.md) | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTenantMembers.md b/docs/GetTenantMembers.md index 3681c8a..2217e36 100644 --- a/docs/GetTenantMembers.md +++ b/docs/GetTenantMembers.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **userId** | **[UUID]** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTokens.md b/docs/GetTokens.md index 3d2e8e5..b06e10c 100644 --- a/docs/GetTokens.md +++ b/docs/GetTokens.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **[String]** | | [optional] **metadata** | **[String: String]** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Log.md b/docs/Log.md index ec2dbe6..f62542f 100644 --- a/docs/Log.md +++ b/docs/Log.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] **tenantId** | **UUID** | | [optional] **actorId** | **UUID** | | [optional] **actorType** | **String** | | [optional] diff --git a/docs/LogsAPI.md b/docs/LogsAPI.md index bddbfe1..80192de 100644 --- a/docs/LogsAPI.md +++ b/docs/LogsAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: LogPaginatedList?, _ error: Error?) -> Void) + open class func callGet(entityType: String? = nil, entityId: String? = nil, startDate: Date? = nil, endDate: Date? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: LogPaginatedList?, _ error: Error?) -> Void) ``` @@ -25,9 +25,10 @@ let entityId = "entityId_example" // String | (optional) let startDate = Date() // Date | (optional) let endDate = Date() // Date | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -LogsAPI.callGet(entityType: entityType, entityId: entityId, startDate: startDate, endDate: endDate, page: page, size: size) { (response, error) in +LogsAPI.callGet(entityType: entityType, entityId: entityId, startDate: startDate, endDate: endDate, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -48,6 +49,7 @@ Name | Type | Description | Notes **startDate** | **Date** | | [optional] **endDate** | **Date** | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/Pagination.md b/docs/Pagination.md index cd3870f..b9de268 100644 --- a/docs/Pagination.md +++ b/docs/Pagination.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **pageNumber** | **Int** | | [optional] **pageSize** | **Int** | | [optional] **totalPages** | **Int** | | [optional] +**after** | **String** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProxiesAPI.md b/docs/ProxiesAPI.md index 3527623..99b894f 100644 --- a/docs/ProxiesAPI.md +++ b/docs/ProxiesAPI.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: ProxyPaginatedList?, _ error: Error?) -> Void) + open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: ProxyPaginatedList?, _ error: Error?) -> Void) ``` @@ -27,9 +27,10 @@ import BasisTheory let id = [123] // [UUID] | (optional) let name = "name_example" // String | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -ProxiesAPI.callGet(id: id, name: name, page: page, size: size) { (response, error) in +ProxiesAPI.callGet(id: id, name: name, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -48,6 +49,7 @@ Name | Type | Description | Notes **id** | [**[UUID]**](UUID.md) | | [optional] **name** | **String** | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/ReactorFormulasAPI.md b/docs/ReactorFormulasAPI.md index a34d042..7376a18 100644 --- a/docs/ReactorFormulasAPI.md +++ b/docs/ReactorFormulasAPI.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(name: String? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: ReactorFormulaPaginatedList?, _ error: Error?) -> Void) + open class func callGet(name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: ReactorFormulaPaginatedList?, _ error: Error?) -> Void) ``` @@ -25,9 +25,10 @@ import BasisTheory let name = "name_example" // String | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -ReactorFormulasAPI.callGet(name: name, page: page, size: size) { (response, error) in +ReactorFormulasAPI.callGet(name: name, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -45,6 +46,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String** | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/ReactorsAPI.md b/docs/ReactorsAPI.md index ec2fdd0..132c0be 100644 --- a/docs/ReactorsAPI.md +++ b/docs/ReactorsAPI.md @@ -15,7 +15,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: ReactorPaginatedList?, _ error: Error?) -> Void) + open class func callGet(id: [UUID]? = nil, name: String? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: ReactorPaginatedList?, _ error: Error?) -> Void) ``` @@ -28,9 +28,10 @@ import BasisTheory let id = [123] // [UUID] | (optional) let name = "name_example" // String | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -ReactorsAPI.callGet(id: id, name: name, page: page, size: size) { (response, error) in +ReactorsAPI.callGet(id: id, name: name, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -49,6 +50,7 @@ Name | Type | Description | Notes **id** | [**[UUID]**](UUID.md) | | [optional] **name** | **String** | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/SearchTokensRequest.md b/docs/SearchTokensRequest.md index a506de6..86b3766 100644 --- a/docs/SearchTokensRequest.md +++ b/docs/SearchTokensRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **query** | **String** | | [optional] **page** | **Int** | | [optional] +**start** | **String** | | [optional] **size** | **Int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TenantsAPI.md b/docs/TenantsAPI.md index 7e7618b..fb1fe81 100644 --- a/docs/TenantsAPI.md +++ b/docs/TenantsAPI.md @@ -246,7 +246,7 @@ Void (empty response body) # **getInvitations** ```swift - open class func getInvitations(status: TenantInvitationStatus? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: TenantInvitationResponsePaginatedList?, _ error: Error?) -> Void) + open class func getInvitations(status: TenantInvitationStatus? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: TenantInvitationResponsePaginatedList?, _ error: Error?) -> Void) ``` @@ -258,9 +258,10 @@ import BasisTheory let status = TenantInvitationStatus() // TenantInvitationStatus | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -TenantsAPI.getInvitations(status: status, page: page, size: size) { (response, error) in +TenantsAPI.getInvitations(status: status, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -278,6 +279,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **status** | [**TenantInvitationStatus**](.md) | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type @@ -297,7 +299,7 @@ Name | Type | Description | Notes # **getMembers** ```swift - open class func getMembers(userId: [UUID]? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: TenantMemberResponsePaginatedList?, _ error: Error?) -> Void) + open class func getMembers(userId: [UUID]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: TenantMemberResponsePaginatedList?, _ error: Error?) -> Void) ``` @@ -309,9 +311,10 @@ import BasisTheory let userId = [123] // [UUID] | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -TenantsAPI.getMembers(userId: userId, page: page, size: size) { (response, error) in +TenantsAPI.getMembers(userId: userId, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -329,6 +332,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | [**[UUID]**](UUID.md) | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type diff --git a/docs/TokensAPI.md b/docs/TokensAPI.md index 5d8751f..3a78c3d 100644 --- a/docs/TokensAPI.md +++ b/docs/TokensAPI.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **callGet** ```swift - open class func callGet(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, size: Int? = nil, completion: @escaping (_ data: TokenPaginatedList?, _ error: Error?) -> Void) + open class func callGet(type: [String]? = nil, id: [String]? = nil, metadata: [String: String]? = nil, page: Int? = nil, start: String? = nil, size: Int? = nil, completion: @escaping (_ data: TokenPaginatedList?, _ error: Error?) -> Void) ``` @@ -28,9 +28,10 @@ let type = ["inner_example"] // [String] | (optional) let id = ["inner_example"] // [String] | (optional) let metadata = "TODO" // [String: String] | (optional) let page = 987 // Int | (optional) +let start = "start_example" // String | (optional) let size = 987 // Int | (optional) -TokensAPI.callGet(type: type, id: id, metadata: metadata, page: page, size: size) { (response, error) in +TokensAPI.callGet(type: type, id: id, metadata: metadata, page: page, start: start, size: size) { (response, error) in guard error == nil else { print(error) return @@ -50,6 +51,7 @@ Name | Type | Description | Notes **id** | [**[String]**](String.md) | | [optional] **metadata** | [**[String: String]**](String.md) | | [optional] **page** | **Int** | | [optional] + **start** | **String** | | [optional] **size** | **Int** | | [optional] ### Return type @@ -69,7 +71,7 @@ Name | Type | Description | Notes # **create** ```swift - open class func create(createTokenRequest: CreateTokenRequest, completion: @escaping (_ data: CreateTokenResponse?, _ error: Error?) -> Void) + open class func create(createTokenRequest: CreateTokenRequest, completion: @escaping (_ data: Token?, _ error: Error?) -> Void) ``` @@ -101,7 +103,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTokenResponse**](CreateTokenResponse.md) +[**Token**](Token.md) ### Authorization @@ -220,7 +222,7 @@ Name | Type | Description | Notes // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import BasisTheory -let searchTokensRequest = SearchTokensRequest(query: "query_example", page: 123, size: 123) // SearchTokensRequest | +let searchTokensRequest = SearchTokensRequest(query: "query_example", page: 123, start: "start_example", size: 123) // SearchTokensRequest | TokensAPI.search(searchTokensRequest: searchTokensRequest) { (response, error) in guard error == nil else { diff --git a/swagger.json b/swagger.json index a142475..0918a0e 100644 --- a/swagger.json +++ b/swagger.json @@ -1,6086 +1,6083 @@ { "openapi": "3.0.1", "info": { - "title": "Basis Theory API", - "description": "## Getting Started\n* Sign-in to [Basis Theory](https://basistheory.com) and go to [Applications](https://portal.basistheory.com/applications)\n* Create a Basis Theory Private Application\n* All permissions should be selected\n* Paste the API Key into the `BT-API-KEY` variable", - "version": "v1" + "title": "Basis Theory API", + "description": "## Getting Started\n* Sign-in to [Basis Theory](https://basistheory.com) and go to [Applications](https://portal.basistheory.com/applications)\n* Create a Basis Theory Private Application\n* All permissions should be selected\n* Paste the API Key into the `BT-API-KEY` variable", + "version": "v1" }, "servers": [ - { - "url": "https://api.basistheory.com" - } + { + "url": "https://api.basistheory.com" + } ], "paths": { - "/applications": { - "get": { - "tags": [ - "Applications" - ], - "operationId": "Applications_Get", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - } + "/applications": { + "get": { + "tags": [ + "Applications" + ], + "operationId": "Applications_Get", + "parameters": [ + { + "name": "id", + "in": "query", + "schema": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationPaginatedList" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } }, - { - "name": "type", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" + "post": { + "tags": [ + "Applications" + ], + "operationId": "Applications_Create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateApplicationRequest" + } + } + }, + "required": true }, - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApplicationPaginatedList" - } + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Application" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/applications/{id}": { + "get": { + "tags": [ + "Applications" + ], + "operationId": "Applications_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Application" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "put": { + "tags": [ + "Applications" + ], + "operationId": "Applications_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateApplicationRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Application" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "Applications" + ], + "operationId": "Applications_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "post": { - "tags": [ - "Applications" - ], - "operationId": "Applications_Create", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateApplicationRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Application" - } + "/applications/key": { + "get": { + "tags": [ + "Applications" + ], + "operationId": "Applications_GetByKey", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Application" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } + } + }, + "/applications/{id}/regenerate": { + "post": { + "tags": [ + "Applications" + ], + "operationId": "Applications_RegenerateKey", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Application" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/application-templates": { + "get": { + "tags": [ + "ApplicationTemplates" + ], + "operationId": "ApplicationTemplates_Get", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationTemplate" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/application-templates/{id}": { + "get": { + "tags": [ + "ApplicationTemplates" + ], + "operationId": "ApplicationTemplates_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationTemplate" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/applications/{id}": { - "get": { - "tags": [ - "Applications" - ], - "operationId": "Applications_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } + }, + "/logs": { + "get": { + "tags": [ + "Logs" + ], + "operationId": "Logs_Get", + "parameters": [ + { + "name": "entity_type", + "in": "query", + "schema": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + } + }, + { + "name": "entity_id", + "in": "query", + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + } + }, + { + "name": "start_date", + "in": "query", + "schema": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + { + "name": "end_date", + "in": "query", + "schema": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "maxLength": 500, + "pattern": "^.+$", + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 5000, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogPaginatedList" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Application" - } + }, + "/logs/entity-types": { + "get": { + "tags": [ + "Logs" + ], + "operationId": "Logs_GetEntityTypes", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LogEntityType" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/permissions": { + "get": { + "tags": [ + "Permissions" + ], + "operationId": "Permissions_Get", + "parameters": [ + { + "name": "application_type", + "in": "query", + "schema": { + "maxLength": 25, + "pattern": "^[A-z_]+$", + "type": "string", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permission" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/proxies": { + "get": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_Get", + "parameters": [ + { + "name": "id", + "in": "query", + "schema": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + } + }, + { + "name": "name", + "in": "query", + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProxyPaginatedList" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "post": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_Create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateProxyRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Proxy" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "put": { - "tags": [ - "Applications" - ], - "operationId": "Applications_Update", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateApplicationRequest" + "/proxies/{id}": { + "get": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Proxy" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Application" - } + "put": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateProxyRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Proxy" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } + "patch": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_Patch", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/merge-patch+json": { + "schema": { + "$ref": "#/components/schemas/PatchProxyRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "Proxies" + ], + "operationId": "Proxies_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/reactor-formulas": { + "get": { + "tags": [ + "ReactorFormulas" + ], + "operationId": "ReactorFormulas_Get", + "parameters": [ + { + "name": "name", + "in": "query", + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactorFormulaPaginatedList" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "post": { + "tags": [ + "ReactorFormulas" + ], + "operationId": "ReactorFormulas_Create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateReactorFormulaRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactorFormula" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "delete": { - "tags": [ - "Applications" - ], - "operationId": "Applications_Delete", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "/reactor-formulas/{id}": { + "get": { + "tags": [ + "ReactorFormulas" + ], + "operationId": "ReactorFormulas_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactorFormula" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "put": { + "tags": [ + "ReactorFormulas" + ], + "operationId": "ReactorFormulas_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateReactorFormulaRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactorFormula" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "ReactorFormulas" + ], + "operationId": "ReactorFormulas_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/applications/key": { - "get": { - "tags": [ - "Applications" - ], - "operationId": "Applications_GetByKey", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Application" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + }, + "/reactors": { + "get": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_Get", + "parameters": [ + { + "name": "id", + "in": "query", + "schema": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + } + }, + { + "name": "name", + "in": "query", + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactorPaginatedList" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "post": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_Create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateReactorRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Reactor" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - } - } - } - }, - "/applications/{id}/regenerate": { - "post": { - "tags": [ - "Applications" - ], - "operationId": "Applications_RegenerateKey", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Application" - } + }, + "/reactors/{id}": { + "get": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Reactor" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "put": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateReactorRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Reactor" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "patch": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_Patch", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/merge-patch+json": { + "schema": { + "$ref": "#/components/schemas/PatchReactorRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/application-templates": { - "get": { - "tags": [ - "ApplicationTemplates" - ], - "operationId": "ApplicationTemplates_Get", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ApplicationTemplate" - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + }, + "/reactors/{id}/react": { + "post": { + "tags": [ + "Reactors" + ], + "operationId": "Reactors_React", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactResponse" + } + } + } + }, + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReactResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Client Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/application-templates/{id}": { - "get": { - "tags": [ - "ApplicationTemplates" - ], - "operationId": "ApplicationTemplates_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApplicationTemplate" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + }, + "/sessions": { + "post": { + "tags": [ + "Sessions" + ], + "operationId": "Sessions_Create", + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSessionResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/logs": { - "get": { - "tags": [ - "Logs" - ], - "operationId": "Logs_Get", - "parameters": [ - { - "name": "entity_type", - "in": "query", - "schema": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - } - }, - { - "name": "entity_id", - "in": "query", - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - } - }, - { - "name": "start_date", - "in": "query", - "schema": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - { - "name": "end_date", - "in": "query", - "schema": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 10000, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LogPaginatedList" - } + }, + "/sessions/authorize": { + "post": { + "tags": [ + "Sessions" + ], + "operationId": "Sessions_Authorize", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthorizeSessionRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } + } + }, + "/tenants/self/invitations": { + "post": { + "tags": [ + "Tenants" + ], + "operationId": "TenantInvitations_CreateInvitation", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTenantInvitationRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantInvitationResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "get": { + "tags": [ + "Tenants" + ], + "operationId": "TenantInvitations_GetInvitations", + "parameters": [ + { + "name": "status", + "in": "query", + "schema": { + "$ref": "#/components/schemas/TenantInvitationStatus" + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantInvitationResponsePaginatedList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/tenants/self/invitations/{invitationId}/resend": { + "post": { + "tags": [ + "Tenants" + ], + "operationId": "TenantInvitations_ResendInvitation", + "parameters": [ + { + "name": "invitationId", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantInvitationResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/logs/entity-types": { - "get": { - "tags": [ - "Logs" - ], - "operationId": "Logs_GetEntityTypes", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LogEntityType" - } - } + }, + "/tenants/self/invitations/{invitationId}": { + "delete": { + "tags": [ + "Tenants" + ], + "operationId": "TenantInvitations_DeleteInvitation", + "parameters": [ + { + "name": "invitationId", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/tenants/self/members": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "TenantMembers_GetMembers", + "parameters": [ + { + "name": "user_id", + "in": "query", + "schema": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 50, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantMemberResponsePaginatedList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/tenants/self/members/{memberId}": { + "delete": { + "tags": [ + "Tenants" + ], + "operationId": "TenantMembers_DeleteMember", + "parameters": [ + { + "name": "memberId", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Client Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/permissions": { - "get": { - "tags": [ - "Permissions" - ], - "operationId": "Permissions_Get", - "parameters": [ - { - "name": "application_type", - "in": "query", - "schema": { - "maxLength": 25, - "pattern": "^[A-z_]+$", - "type": "string", - "nullable": true - } + }, + "/tenants/self/reports/usage": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "TenantReports_GetTenantUsageReport", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantUsageReport" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permission" - } - } + }, + "/tenants/self/reports/operations": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "TenantReports_GetTenantOperationReport", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TenantUsageReport" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } + } + }, + "/tenants/self": { + "get": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_Get", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tenant" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "put": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_Update", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTenantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Tenant" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "Tenants" + ], + "operationId": "Tenants_Delete", + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } - } - }, - "/proxies": { - "get": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_Get", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" + }, + "/tokenize": { + "post": { + "tags": [ + "Tokenize" + ], + "operationId": "Tokenize_Tokenize", + "requestBody": { + "content": { + "application/json": { + "schema": {} + } + } }, - "nullable": true - } - }, - { - "name": "name", - "in": "query", - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProxyPaginatedList" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": {} + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "post": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_Create", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateProxyRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Proxy" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "/tokens": { + "get": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_Get", + "parameters": [ + { + "name": "type", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + { + "name": "id", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + { + "name": "metadata", + "in": "query", + "style": "deepObject", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "schema": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + { + "name": "start", + "in": "query", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "size", + "in": "query", + "schema": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenPaginatedList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "post": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_Create", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTokenRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Token" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - } - } - } - }, - "/proxies/{id}": { - "get": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Proxy" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + }, + "/tokens/search": { + "post": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_Search", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchTokensRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TokenPaginatedList" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "put": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_Update", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateProxyRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Proxy" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "/tokens/{id}": { + "get": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_GetById", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Token" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "patch": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_Update", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/merge-patch+json": { + "schema": { + "$ref": "#/components/schemas/UpdateTokenRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Token" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "delete": { + "tags": [ + "Tokens" + ], + "operationId": "Tokens_Delete", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "patch": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_Patch", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/merge-patch+json": { - "schema": { - "$ref": "#/components/schemas/PatchProxyRequest" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "/transactions": { + "post": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_Create", + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTransactionResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } }, - "delete": { - "tags": [ - "Proxies" - ], - "operationId": "Proxies_Delete", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + "/transactions/{id}/commit": { + "post": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_Commit", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } + } + }, + "/transactions/{id}/rollback": { + "post": { + "tags": [ + "Transactions" + ], + "operationId": "Transactions_Rollback", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Success" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } } - } } - } } - }, - "/reactor-formulas": { - "get": { - "tags": [ - "ReactorFormulas" - ], - "operationId": "ReactorFormulas_Get", - "parameters": [ - { - "name": "name", - "in": "query", - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } + }, + "components": { + "schemas": { + "AccessRule": { + "type": "object", + "properties": { + "description": { + "type": "string", + "nullable": true + }, + "priority": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "container": { + "type": "string", + "nullable": true + }, + "transform": { + "type": "string", + "nullable": true + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Condition" + }, + "nullable": true + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactorFormulaPaginatedList" - } - } - } + "Application": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "key": { + "maxLength": 100, + "pattern": "^[A-z0-9_]*$", + "type": "string", + "nullable": true + }, + "type": { + "maxLength": 50, + "pattern": "^[A-z_]+$", + "type": "string", + "nullable": true + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "permissions": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessRule" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } + "ApplicationPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/Application" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "post": { - "tags": [ - "ReactorFormulas" - ], - "operationId": "ReactorFormulas_Create", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateReactorFormulaRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactorFormula" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/reactor-formulas/{id}": { - "get": { - "tags": [ - "ReactorFormulas" - ], - "operationId": "ReactorFormulas_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactorFormula" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "put": { - "tags": [ - "ReactorFormulas" - ], - "operationId": "ReactorFormulas_Update", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateReactorFormulaRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactorFormula" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "ReactorFormulas" - ], - "operationId": "ReactorFormulas_Delete", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/reactors": { - "get": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_Get", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - } - }, - { - "name": "name", - "in": "query", - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactorPaginatedList" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "post": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_Create", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateReactorRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Reactor" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/reactors/{id}": { - "get": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Reactor" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "put": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_Update", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateReactorRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Reactor" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_Patch", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/merge-patch+json": { - "schema": { - "$ref": "#/components/schemas/PatchReactorRequest" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_Delete", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/reactors/{id}/react": { - "post": { - "tags": [ - "Reactors" - ], - "operationId": "Reactors_React", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactResponse" - } - } - } - }, - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReactResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Client Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/sessions": { - "post": { - "tags": [ - "Sessions" - ], - "operationId": "Sessions_Create", - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSessionResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/sessions/authorize": { - "post": { - "tags": [ - "Sessions" - ], - "operationId": "Sessions_Authorize", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthorizeSessionRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/invitations": { - "post": { - "tags": [ - "Tenants" - ], - "operationId": "TenantInvitations_CreateInvitation", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTenantInvitationRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantInvitationResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "get": { - "tags": [ - "Tenants" - ], - "operationId": "TenantInvitations_GetInvitations", - "parameters": [ - { - "name": "status", - "in": "query", - "schema": { - "$ref": "#/components/schemas/TenantInvitationStatus" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantInvitationResponsePaginatedList" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/invitations/{invitationId}/resend": { - "post": { - "tags": [ - "Tenants" - ], - "operationId": "TenantInvitations_ResendInvitation", - "parameters": [ - { - "name": "invitationId", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantInvitationResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/invitations/{invitationId}": { - "delete": { - "tags": [ - "Tenants" - ], - "operationId": "TenantInvitations_DeleteInvitation", - "parameters": [ - { - "name": "invitationId", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/members": { - "get": { - "tags": [ - "Tenants" - ], - "operationId": "TenantMembers_GetMembers", - "parameters": [ - { - "name": "user_id", - "in": "query", - "schema": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 50, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantMemberResponsePaginatedList" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/members/{memberId}": { - "delete": { - "tags": [ - "Tenants" - ], - "operationId": "TenantMembers_DeleteMember", - "parameters": [ - { - "name": "memberId", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Client Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/reports/usage": { - "get": { - "tags": [ - "Tenants" - ], - "operationId": "TenantReports_GetTenantUsageReport", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantUsageReport" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self/reports/operations": { - "get": { - "tags": [ - "Tenants" - ], - "operationId": "TenantReports_GetTenantOperationReport", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantUsageReport" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tenants/self": { - "get": { - "tags": [ - "Tenants" - ], - "operationId": "Tenants_Get", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "put": { - "tags": [ - "Tenants" - ], - "operationId": "Tenants_Update", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateTenantRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Tenants" - ], - "operationId": "Tenants_Delete", - "responses": { - "204": { - "description": "No Content" - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tokenize": { - "post": { - "tags": [ - "Tokenize" - ], - "operationId": "Tokenize_Tokenize", - "requestBody": { - "content": { - "application/json": { - "schema": { } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tokens": { - "get": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_Get", - "parameters": [ - { - "name": "type", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - { - "name": "id", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - { - "name": "metadata", - "in": "query", - "style": "deepObject", - "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "nullable": true - } - }, - { - "name": "page", - "in": "query", - "schema": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - { - "name": "size", - "in": "query", - "schema": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenPaginatedList" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "post": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_Create", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTokenRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTokenResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tokens/search": { - "post": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_Search", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SearchTokensRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenPaginatedList" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/tokens/{id}": { - "get": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_GetById", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_Update", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/merge-patch+json": { - "schema": { - "$ref": "#/components/schemas/UpdateTokenRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Tokens" - ], - "operationId": "Tokens_Delete", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/transactions": { - "post": { - "tags": [ - "Transactions" - ], - "operationId": "Transactions_Create", - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTransactionResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/transactions/{id}/commit": { - "post": { - "tags": [ - "Transactions" - ], - "operationId": "Transactions_Commit", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/transactions/{id}/rollback": { - "post": { - "tags": [ - "Transactions" - ], - "operationId": "Transactions_Rollback", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "AccessRule": { - "type": "object", - "properties": { - "description": { - "type": "string", - "nullable": true - }, - "priority": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "container": { - "type": "string", - "nullable": true - }, - "transform": { - "type": "string", - "nullable": true - }, - "conditions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Condition" - }, - "nullable": true - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Application": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "key": { - "maxLength": 100, - "pattern": "^[A-z0-9_]*$", - "type": "string", - "nullable": true - }, - "type": { - "maxLength": 50, - "pattern": "^[A-z_]+$", - "type": "string", - "nullable": true - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "permissions": { - "maxItems": 50, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessRule" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ApplicationPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/Application" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ApplicationTemplate": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "application_type": { - "type": "string", - "nullable": true - }, - "template_type": { - "type": "string", - "nullable": true - }, - "is_starter": { - "type": "boolean" - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessRule" - }, - "nullable": true - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "AuthorizeSessionRequest": { - "required": [ - "nonce" - ], - "type": "object", - "properties": { - "nonce": { - "minLength": 1, - "type": "string" - }, - "expires_at": { - "type": "string", - "nullable": true - }, - "permissions": { - "maxItems": 50, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessRule" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "BinDetails": { - "type": "object", - "properties": { - "card_brand": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "prepaid": { - "type": "boolean", - "nullable": true - }, - "card_segment_type": { - "type": "string", - "nullable": true - }, - "bank": { - "$ref": "#/components/schemas/BinDetailsBank" - }, - "product": { - "$ref": "#/components/schemas/BinDetailsProduct" - }, - "country": { - "$ref": "#/components/schemas/BinDetailsCountry" - }, - "reloadable": { - "type": "boolean", - "nullable": true - }, - "pan_or_token": { - "type": "string", - "nullable": true - }, - "account_updater": { - "type": "boolean", - "nullable": true - }, - "alm": { - "type": "boolean", - "nullable": true - }, - "domestic_only": { - "type": "boolean", - "nullable": true - }, - "gambling_blocked": { - "type": "boolean", - "nullable": true - }, - "level2": { - "type": "boolean", - "nullable": true - }, - "level3": { - "type": "boolean", - "nullable": true - }, - "issuer_currency": { - "type": "string", - "nullable": true - }, - "combo_card": { - "type": "string", - "nullable": true - }, - "bin_length": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "authentication": { - "nullable": true - }, - "cost": { - "nullable": true - } - }, - "additionalProperties": false - }, - "BinDetailsBank": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "clean_name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "BinDetailsCountry": { - "type": "object", - "properties": { - "alpha2": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "numeric": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "BinDetailsProduct": { - "type": "object", - "properties": { - "code": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "Condition": { - "type": "object", - "properties": { - "attribute": { - "type": "string", - "nullable": true - }, - "operator": { - "type": "string", - "nullable": true - }, - "value": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateApplicationRequest": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "type": { - "maxLength": 25, - "minLength": 1, - "pattern": "^[A-z_]+$", - "type": "string" - }, - "expires_at": { - "type": "string", - "nullable": true - }, - "permissions": { - "maxItems": 50, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessRule" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateProxyRequest": { - "required": [ - "destination_url", - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "destination_url": { - "maxLength": 400, - "minLength": 1, - "pattern": "^https://.+$", - "type": "string" - }, - "request_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "response_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "request_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "response_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "application": { - "$ref": "#/components/schemas/Application" - }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "require_auth": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateReactorFormulaRequest": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "type": { - "maxLength": 25, - "minLength": 1, - "pattern": "^(?:private|official)$", - "type": "string" - }, - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "description": { - "maxLength": 1000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true - }, - "icon": { - "type": "string", - "nullable": true - }, - "code": { - "maxLength": 50000, - "type": "string", - "nullable": true - }, - "configuration": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaConfiguration" - }, - "nullable": true - }, - "request_parameters": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaRequestParameter" - }, - "nullable": true - } - }, - "additionalProperties": false, - "deprecated": true - }, - "CreateReactorRequest": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" - }, - "formula": { - "$ref": "#/components/schemas/ReactorFormula" - }, - "code": { - "maxLength": 50000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true - }, - "application": { - "$ref": "#/components/schemas/Application" - }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateSessionResponse": { - "type": "object", - "properties": { - "session_key": { - "type": "string", - "nullable": true - }, - "nonce": { - "type": "string", - "nullable": true - }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateTenantInvitationRequest": { - "required": [ - "email" - ], - "type": "object", - "properties": { - "email": { - "maxLength": 330, - "minLength": 1, - "type": "string", - "format": "email" - } - }, - "additionalProperties": false - }, - "CreateTokenRequest": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "data": { }, - "encryption": { - "$ref": "#/components/schemas/EncryptionMetadata" - }, - "privacy": { - "$ref": "#/components/schemas/Privacy" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "search_indexes": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "fingerprint_expression": { - "type": "string", - "nullable": true - }, - "mask": { - "nullable": true - }, - "deduplicate_token": { - "type": "boolean", - "nullable": true - }, - "expires_at": { - "type": "string", - "nullable": true - }, - "containers": { - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateTokenResponse": { - "type": "object", - "properties": { - "id": { - "maxLength": 400, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "type": { - "maxLength": 50, - "pattern": "^[A-z_]*$", - "type": "string", - "nullable": true - }, - "fingerprint": { - "maxLength": 100, - "pattern": "^[A-z0-9]*$", - "type": "string", - "nullable": true - }, - "fingerprint_expression": { - "maxLength": 400, - "pattern": "^.*$", - "type": "string", - "nullable": true - }, - "mask": { - "nullable": true - }, - "data": { - "nullable": true - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "enrichments": { - "$ref": "#/components/schemas/TokenEnrichments" - }, - "privacy": { - "$ref": "#/components/schemas/Privacy" - }, - "search_indexes": { - "maxItems": 10, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "containers": { - "pattern": "^(?!.*\\/\\/)(?=.*\\/$)\\/[A-z0-9_\\-\\/]*$", - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "aliases": { - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "CreateTransactionResponse": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "EncryptionKey": { - "required": [ - "key" - ], - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "prov": { - "type": "string", - "nullable": true - }, - "alg": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "EncryptionMetadata": { - "type": "object", - "properties": { - "cek": { - "$ref": "#/components/schemas/EncryptionKey" - }, - "kek": { - "$ref": "#/components/schemas/EncryptionKey" - } - }, - "additionalProperties": false - }, - "GetApplications": { - "type": "object", - "properties": { - "id": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "type": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetLogs": { - "type": "object", - "properties": { - "entity_type": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - }, - "entity_id": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "start_date": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "end_date": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 10000, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetPermissions": { - "type": "object", - "properties": { - "application_type": { - "maxLength": 25, - "pattern": "^[A-z_]+$", - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetProxies": { - "type": "object", - "properties": { - "id": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetReactorFormulas": { - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetReactors": { - "type": "object", - "properties": { - "id": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetTenantInvitations": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/TenantInvitationStatus" - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetTenantMembers": { - "type": "object", - "properties": { - "user_id": { - "type": "array", - "items": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 50, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "GetTokens": { - "type": "object", - "properties": { - "type": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "id": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "Log": { - "type": "object", - "properties": { - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "actor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "actor_type": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - }, - "entity_type": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - }, - "entity_id": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "operation": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - }, - "message": { - "maxLength": 250, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "LogEntityType": { - "type": "object", - "properties": { - "display_name": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - }, - "value": { - "maxLength": 50, - "pattern": "^[A-z]+$", - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "LogPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { - "maxItems": 10000, - "type": "array", - "items": { - "$ref": "#/components/schemas/Log" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Pagination": { - "type": "object", - "properties": { - "total_items": { - "type": "integer", - "format": "int32" - }, - "page_number": { - "type": "integer", - "format": "int32" - }, - "page_size": { - "type": "integer", - "format": "int32" - }, - "total_pages": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "PatchProxyRequest": { - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "destination_url": { - "type": "string", - "nullable": true - }, - "request_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "response_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "application": { - "$ref": "#/components/schemas/Application" - }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "require_auth": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "PatchReactorRequest": { - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "application": { - "$ref": "#/components/schemas/Application" - }, - "code": { - "maxLength": 50000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true - }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Permission": { - "type": "object", - "properties": { - "type": { - "maxLength": 100, - "pattern": "^[a-z]+(?::[a-z]+){1,2}:[a-z]+$", - "type": "string", - "nullable": true - }, - "description": { - "maxLength": 250, - "pattern": "^.*$", - "type": "string", - "nullable": true - }, - "application_types": { - "maxItems": 10, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Privacy": { - "type": "object", - "properties": { - "classification": { - "maxLength": 25, - "pattern": "^[A-z]*$", - "type": "string", - "nullable": true - }, - "impact_level": { - "maxLength": 10, - "pattern": "^(?:low|moderate|high)$", - "type": "string", - "nullable": true - }, - "restriction_policy": { - "maxLength": 10, - "pattern": "^(?:mask|redact)$", - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ProblemDetails": { - "type": "object", - "properties": { - "type": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "instance": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": { } - }, - "Proxy": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "key": { - "maxLength": 100, - "pattern": "^[A-z0-9]+$", - "type": "string", - "nullable": true - }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "destination_url": { - "maxLength": 400, - "pattern": "^https://.+$", - "type": "string", - "nullable": true - }, - "request_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "response_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "require_auth": { - "type": "boolean" - }, - "request_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "response_transform": { - "$ref": "#/components/schemas/ProxyTransform" - }, - "application_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "configuration": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "proxy_host": { - "type": "string", - "nullable": true - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "ProxyPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/Proxy" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ProxyTransform": { - "type": "object", - "properties": { - "code": { - "maxLength": 50000, - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ReactRequest": { - "type": "object", - "properties": { - "args": { - "nullable": true - }, - "callback_url": { - "type": "string", - "nullable": true - }, - "timeout_ms": { - "maximum": 210000, - "minimum": 10000, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "ReactResponse": { - "type": "object", - "properties": { - "tokens": { - "nullable": true - }, - "raw": { - "nullable": true - }, - "body": { - "nullable": true - }, - "headers": { - "nullable": true - } - }, - "additionalProperties": false - }, - "Reactor": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "formula": { - "$ref": "#/components/schemas/ReactorFormula" - }, - "code": { - "type": "string", - "nullable": true - }, - "application": { - "$ref": "#/components/schemas/Application" - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "configuration": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ReactorFormula": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "type": { - "maxLength": 25, - "pattern": "^(?:private|official)$", - "type": "string", - "nullable": true - }, - "status": { - "maxLength": 25, - "pattern": "^(?:verified|coming_soon)$", - "type": "string", - "nullable": true - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "description": { - "maxLength": 1000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true - }, - "icon": { - "maxLength": 50000, - "pattern": "(^data:(image\\/png|image\\/jpg|image\\/jpeg|image\\/svg\\+xml);\\s*base64,\\s*(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=|[A-Za-z0-9+\\/]{4})$)|(^data:(image\\/png|image\\/jpg|image\\/jpeg);\\s*base64,\\s*(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=|[A-Za-z0-9+\\/]{4})$)", - "type": "string", - "nullable": true - }, - "code": { - "maxLength": 4000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "configuration": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaConfiguration" - }, - "nullable": true - }, - "request_parameters": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaRequestParameter" - }, - "nullable": true - } - }, - "additionalProperties": false, - "deprecated": true - }, - "ReactorFormulaConfiguration": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^[\\w-]+$", - "type": "string" - }, - "description": { - "maxLength": 400, - "pattern": "^.*$", - "type": "string", - "nullable": true - }, - "type": { - "maxLength": 25, - "minLength": 1, - "pattern": "^(?:string|boolean|number)$", - "type": "string" - } - }, - "additionalProperties": false - }, - "ReactorFormulaPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormula" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ReactorFormulaRequestParameter": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^[A-z0-9][A-z0-9.\\-_]*[A-z0-9]$", - "type": "string" - }, - "description": { - "maxLength": 400, - "pattern": "^.*$", - "type": "string", - "nullable": true - }, - "type": { - "maxLength": 25, - "minLength": 1, - "pattern": "^(?:string|boolean|number)$", - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "ReactorPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/Reactor" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "SearchTokensRequest": { - "type": "object", - "properties": { - "query": { - "maxLength": 200, - "pattern": "^.*$", - "type": "string", - "nullable": true - }, - "page": { - "maximum": 2147483647, - "minimum": 0, - "exclusiveMinimum": true, - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "maximum": 100, - "minimum": 0, - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "StringStringKeyValuePair": { - "required": [ - "key", - "value" - ], - "type": "object", - "properties": { - "key": { - "maxLength": 200, - "minLength": 1, - "pattern": "^[\\w-]+$", - "type": "string" - }, - "value": { - "maxLength": 50000, - "minLength": 1, - "type": "string" - } - }, - "additionalProperties": false - }, - "Tenant": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "owner_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "name": { - "maxLength": 200, - "pattern": "^.+$", - "type": "string", - "nullable": true - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - }, - "settings": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "TenantInvitationResponse": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" - }, - "email": { - "maxLength": 200, - "type": "string", - "format": "email", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/TenantInvitationStatus" - }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time" - }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true - }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true + "ApplicationTemplate": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "application_type": { + "type": "string", + "nullable": true + }, + "template_type": { + "type": "string", + "nullable": true + }, + "is_starter": { + "type": "boolean" + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessRule" + }, + "nullable": true + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "AuthorizeSessionRequest": { + "required": [ + "nonce" + ], + "type": "object", + "properties": { + "nonce": { + "minLength": 1, + "type": "string" + }, + "expires_at": { + "type": "string", + "nullable": true + }, + "permissions": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessRule" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "TenantInvitationResponsePaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "BinDetails": { + "type": "object", + "properties": { + "card_brand": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + }, + "prepaid": { + "type": "boolean", + "nullable": true + }, + "card_segment_type": { + "type": "string", + "nullable": true + }, + "bank": { + "$ref": "#/components/schemas/BinDetailsBank" + }, + "product": { + "$ref": "#/components/schemas/BinDetailsProduct" + }, + "country": { + "$ref": "#/components/schemas/BinDetailsCountry" + }, + "reloadable": { + "type": "boolean", + "nullable": true + }, + "pan_or_token": { + "type": "string", + "nullable": true + }, + "account_updater": { + "type": "boolean", + "nullable": true + }, + "alm": { + "type": "boolean", + "nullable": true + }, + "domestic_only": { + "type": "boolean", + "nullable": true + }, + "gambling_blocked": { + "type": "boolean", + "nullable": true + }, + "level2": { + "type": "boolean", + "nullable": true + }, + "level3": { + "type": "boolean", + "nullable": true + }, + "issuer_currency": { + "type": "string", + "nullable": true + }, + "combo_card": { + "type": "string", + "nullable": true + }, + "bin_length": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "authentication": { + "nullable": true + }, + "cost": { + "nullable": true + } + }, + "additionalProperties": false }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantInvitationResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "TenantInvitationStatus": { - "enum": [ - "PENDING", - "EXPIRED" - ], - "type": "string" - }, - "TenantMemberResponse": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" + "BinDetailsBank": { + "type": "object", + "properties": { + "name": { + "type": "string", + "nullable": true + }, + "phone": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string", + "nullable": true + }, + "clean_name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" + "BinDetailsCountry": { + "type": "object", + "properties": { + "alpha2": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "numeric": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "user": { - "$ref": "#/components/schemas/User" + "BinDetailsProduct": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "role": { - "maxLength": 25, - "pattern": "^A-z+$", - "type": "string", - "nullable": true + "Condition": { + "type": "object", + "properties": { + "attribute": { + "type": "string", + "nullable": true + }, + "operator": { + "type": "string", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "CreateApplicationRequest": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "type": { + "maxLength": 25, + "minLength": 1, + "pattern": "^[A-z_]+$", + "type": "string" + }, + "expires_at": { + "type": "string", + "nullable": true + }, + "permissions": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessRule" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "created_date": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true + "CreateProxyRequest": { + "required": [ + "destination_url", + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "destination_url": { + "maxLength": 400, + "minLength": 1, + "pattern": "^https://.+$", + "type": "string" + }, + "request_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "response_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "request_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "response_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "require_auth": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "CreateReactorFormulaRequest": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "type": { + "maxLength": 25, + "minLength": 1, + "pattern": "^(?:private|official)$", + "type": "string" + }, + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "description": { + "maxLength": 1000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "icon": { + "type": "string", + "nullable": true + }, + "code": { + "maxLength": 50000, + "type": "string", + "nullable": true + }, + "configuration": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaConfiguration" + }, + "nullable": true + }, + "request_parameters": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaRequestParameter" + }, + "nullable": true + } + }, + "additionalProperties": false, + "deprecated": true }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "TenantMemberResponsePaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "CreateReactorRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "formula": { + "$ref": "#/components/schemas/ReactorFormula" + }, + "code": { + "maxLength": 50000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "data": { - "maxItems": 50, - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantMemberResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "TenantUsageReport": { - "type": "object", - "properties": { - "token_report": { - "$ref": "#/components/schemas/TokenReport" - } - }, - "additionalProperties": false - }, - "Token": { - "type": "object", - "properties": { - "id": { - "maxLength": 400, - "pattern": "^.+$", - "type": "string" + "CreateSessionResponse": { + "type": "object", + "properties": { + "session_key": { + "type": "string", + "nullable": true + }, + "nonce": { + "type": "string", + "nullable": true + }, + "expires_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "type": { - "maxLength": 50, - "pattern": "^[A-z_]*$", - "type": "string" + "CreateTenantInvitationRequest": { + "required": [ + "email" + ], + "type": "object", + "properties": { + "email": { + "maxLength": 330, + "minLength": 1, + "type": "string", + "format": "email" + } + }, + "additionalProperties": false }, - "tenant_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" + "CreateTokenRequest": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + }, + "data": {}, + "encryption": { + "$ref": "#/components/schemas/EncryptionMetadata" + }, + "privacy": { + "$ref": "#/components/schemas/Privacy" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "search_indexes": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "fingerprint_expression": { + "type": "string", + "nullable": true + }, + "mask": { + "nullable": true + }, + "deduplicate_token": { + "type": "boolean", + "nullable": true + }, + "expires_at": { + "type": "string", + "nullable": true + }, + "containers": { + "maxItems": 1, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "data": { - "nullable": true + "CreateTransactionResponse": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "expires_at": { + "maxLength": 40, + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true + "EncryptionKey": { + "required": [ + "key" + ], + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "prov": { + "type": "string", + "nullable": true + }, + "alg": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "enrichments": { - "$ref": "#/components/schemas/TokenEnrichments" + "EncryptionMetadata": { + "type": "object", + "properties": { + "cek": { + "$ref": "#/components/schemas/EncryptionKey" + }, + "kek": { + "$ref": "#/components/schemas/EncryptionKey" + } + }, + "additionalProperties": false }, - "encryption": { - "$ref": "#/components/schemas/EncryptionMetadata" + "GetApplications": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + }, + "type": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "created_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "GetLogs": { + "type": "object", + "properties": { + "entity_type": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + }, + "entity_id": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "start_date": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "end_date": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "page": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "maxLength": 500, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "size": { + "maximum": 5000, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true + "GetPermissions": { + "type": "object", + "properties": { + "application_type": { + "maxLength": 25, + "pattern": "^[A-z_]+$", + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "modified_by": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "GetProxies": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "modified_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true + "GetReactorFormulas": { + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "fingerprint": { - "maxLength": 100, - "pattern": "^[A-z0-9]*$", - "type": "string", - "nullable": true + "GetReactors": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "fingerprint_expression": { - "maxLength": 400, - "pattern": "^.*$", - "type": "string", - "nullable": true + "GetTenantInvitations": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/TenantInvitationStatus" + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "mask": { - "nullable": true + "GetTenantMembers": { + "type": "object", + "properties": { + "user_id": { + "type": "array", + "items": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 50, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "privacy": { - "$ref": "#/components/schemas/Privacy" + "GetTokens": { + "type": "object", + "properties": { + "type": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "id": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "search_indexes": { - "maxItems": 10, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true + "Log": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "actor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "actor_type": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + }, + "entity_type": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + }, + "entity_id": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "operation": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + }, + "message": { + "maxLength": 250, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "expires_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true + "LogEntityType": { + "type": "object", + "properties": { + "display_name": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + }, + "value": { + "maxLength": 50, + "pattern": "^[A-z]+$", + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "containers": { - "pattern": "^(?!.*\\/\\/)(?=.*\\/$)\\/[A-z0-9_\\-\\/]*$", - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true + "LogPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 5000, + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "aliases": { - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "TokenEnrichments": { - "type": "object", - "properties": { - "bin_details": { - "$ref": "#/components/schemas/BinDetails" - } - }, - "additionalProperties": false - }, - "TokenMetrics": { - "type": "object", - "properties": { - "count": { - "maximum": 2147483647, - "minimum": 0, - "type": "integer", - "format": "int64" + "Pagination": { + "type": "object", + "properties": { + "total_items": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "page_number": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "page_size": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_pages": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "after": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "last_created_at": { - "maxLength": 40, - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "TokenPaginatedList": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "PatchProxyRequest": { + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "destination_url": { + "type": "string", + "nullable": true + }, + "request_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "response_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "require_auth": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false }, - "data": { - "maxItems": 100, - "type": "array", - "items": { - "$ref": "#/components/schemas/Token" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "TokenReport": { - "type": "object", - "properties": { - "included_monthly_active_tokens": { - "maximum": 2147483647, - "minimum": 0, - "type": "integer", - "format": "int64" + "PatchReactorRequest": { + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "code": { + "maxLength": 50000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "monthly_active_tokens": { - "minimum": 0, - "type": "integer", - "format": "int64" + "Permission": { + "type": "object", + "properties": { + "type": { + "maxLength": 100, + "pattern": "^[a-z]+(?::[a-z]+){1,2}:[a-z]+$", + "type": "string", + "nullable": true + }, + "description": { + "maxLength": 250, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "application_types": { + "maxItems": 10, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "metrics_by_type": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/TokenMetrics" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateApplicationRequest": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" + "Privacy": { + "type": "object", + "properties": { + "classification": { + "maxLength": 25, + "pattern": "^[A-z]*$", + "type": "string", + "nullable": true + }, + "impact_level": { + "maxLength": 10, + "pattern": "^(?:low|moderate|high)$", + "type": "string", + "nullable": true + }, + "restriction_policy": { + "maxLength": 10, + "pattern": "^(?:mask|redact)$", + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "permissions": { - "maxItems": 50, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true + "ProblemDetails": { + "type": "object", + "properties": { + "type": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "instance": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": {} }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessRule" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdatePrivacy": { - "type": "object", - "properties": { - "impact_level": { - "type": "string", - "nullable": true + "Proxy": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "key": { + "maxLength": 100, + "pattern": "^[A-z0-9]+$", + "type": "string", + "nullable": true + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "destination_url": { + "maxLength": 400, + "pattern": "^https://.+$", + "type": "string", + "nullable": true + }, + "request_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "response_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "require_auth": { + "type": "boolean" + }, + "request_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "response_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "application_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "configuration": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "proxy_host": { + "type": "string", + "nullable": true + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "restriction_policy": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateProxyRequest": { - "required": [ - "destination_url", - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" + "ProxyPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/Proxy" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "destination_url": { - "maxLength": 400, - "minLength": 1, - "pattern": "^https://.+$", - "type": "string" + "ProxyTransform": { + "type": "object", + "properties": { + "code": { + "maxLength": 50000, + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "request_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "ReactRequest": { + "type": "object", + "properties": { + "args": { + "nullable": true + }, + "callback_url": { + "type": "string", + "nullable": true + }, + "timeout_ms": { + "maximum": 210000, + "minimum": 10000, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "response_reactor_id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid", - "nullable": true + "ReactResponse": { + "type": "object", + "properties": { + "tokens": { + "nullable": true + }, + "raw": { + "nullable": true + }, + "body": { + "nullable": true + }, + "headers": { + "nullable": true + } + }, + "additionalProperties": false }, - "request_transform": { - "$ref": "#/components/schemas/ProxyTransform" + "Reactor": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "formula": { + "$ref": "#/components/schemas/ReactorFormula" + }, + "code": { + "type": "string", + "nullable": true + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "configuration": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "response_transform": { - "$ref": "#/components/schemas/ProxyTransform" + "ReactorFormula": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "type": { + "maxLength": 25, + "pattern": "^(?:private|official)$", + "type": "string", + "nullable": true + }, + "status": { + "maxLength": 25, + "pattern": "^(?:verified|coming_soon)$", + "type": "string", + "nullable": true + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "description": { + "maxLength": 1000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "icon": { + "maxLength": 50000, + "pattern": "(^data:(image\/png|image\/jpg|image\/jpeg|image\/svg\\+xml);\\s*base64,\\s*(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{4})$)|(^data:(image\/png|image\/jpg|image\/jpeg);\\s*base64,\\s*(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{4})$)", + "type": "string", + "nullable": true + }, + "code": { + "maxLength": 4000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "configuration": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaConfiguration" + }, + "nullable": true + }, + "request_parameters": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaRequestParameter" + }, + "nullable": true + } + }, + "additionalProperties": false, + "deprecated": true + }, + "ReactorFormulaConfiguration": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^[\\w-]+$", + "type": "string" + }, + "description": { + "maxLength": 400, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "type": { + "maxLength": 25, + "minLength": 1, + "pattern": "^(?:string|boolean|number)$", + "type": "string" + } + }, + "additionalProperties": false }, - "application": { - "$ref": "#/components/schemas/Application" + "ReactorFormulaPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormula" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true + "ReactorFormulaRequestParameter": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^[A-z0-9][A-z0-9.\\-_]*[A-z0-9]$", + "type": "string" + }, + "description": { + "maxLength": 400, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "type": { + "maxLength": 25, + "minLength": 1, + "pattern": "^(?:string|boolean|number)$", + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false }, - "require_auth": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateReactorFormulaRequest": { - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "type": { - "maxLength": 25, - "minLength": 1, - "pattern": "^(?:private|official)$", - "type": "string" + "ReactorPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/Reactor" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" + "SearchTokensRequest": { + "type": "object", + "properties": { + "query": { + "maxLength": 200, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "page": { + "maximum": 2147483647, + "minimum": 0, + "exclusiveMinimum": true, + "type": "integer", + "format": "int32", + "nullable": true + }, + "start": { + "type": "string", + "nullable": true + }, + "size": { + "maximum": 100, + "minimum": 0, + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false }, - "description": { - "maxLength": 1000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true + "StringStringKeyValuePair": { + "required": [ + "key", + "value" + ], + "type": "object", + "properties": { + "key": { + "maxLength": 200, + "minLength": 1, + "pattern": "^[\\w-]+$", + "type": "string" + }, + "value": { + "maxLength": 50000, + "minLength": 1, + "type": "string" + } + }, + "additionalProperties": false }, - "icon": { - "type": "string", - "nullable": true + "Tenant": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "owner_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "name": { + "maxLength": 200, + "pattern": "^.+$", + "type": "string", + "nullable": true + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "settings": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "code": { - "maxLength": 50000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true + "TenantInvitationResponse": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "email": { + "maxLength": 200, + "type": "string", + "format": "email", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/TenantInvitationStatus" + }, + "expires_at": { + "maxLength": 40, + "type": "string", + "format": "date-time" + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "configuration": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaConfiguration" - }, - "nullable": true + "TenantInvitationResponsePaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/TenantInvitationResponse" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "request_parameters": { - "maxItems": 25, - "type": "array", - "items": { - "$ref": "#/components/schemas/ReactorFormulaRequestParameter" - }, - "nullable": true - } - }, - "additionalProperties": false, - "deprecated": true - }, - "UpdateReactorRequest": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" + "TenantInvitationStatus": { + "enum": [ + "PENDING", + "EXPIRED" + ], + "type": "string" }, - "application": { - "$ref": "#/components/schemas/Application" + "TenantMemberResponse": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "user": { + "$ref": "#/components/schemas/User" + }, + "role": { + "maxLength": 25, + "pattern": "^A-z+$", + "type": "string", + "nullable": true + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_date": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "code": { - "maxLength": 50000, - "pattern": "^[\\S\\s]*$", - "type": "string", - "nullable": true + "TenantMemberResponsePaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 50, + "type": "array", + "items": { + "$ref": "#/components/schemas/TenantMemberResponse" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "configuration": { - "maxLength": 25, - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateTenantRequest": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 200, - "minLength": 1, - "pattern": "^.+$", - "type": "string" + "TenantUsageReport": { + "type": "object", + "properties": { + "token_report": { + "$ref": "#/components/schemas/TokenReport" + } + }, + "additionalProperties": false }, - "settings": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateTokenRequest": { - "type": "object", - "properties": { - "data": { - "nullable": true + "Token": { + "type": "object", + "properties": { + "id": { + "maxLength": 400, + "pattern": "^.+$", + "type": "string" + }, + "type": { + "maxLength": 50, + "pattern": "^[A-z_]*$", + "type": "string" + }, + "tenant_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "data": { + "nullable": true + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "enrichments": { + "$ref": "#/components/schemas/TokenEnrichments" + }, + "encryption": { + "$ref": "#/components/schemas/EncryptionMetadata" + }, + "created_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "modified_by": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "modified_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "fingerprint": { + "maxLength": 100, + "pattern": "^[A-z0-9]*$", + "type": "string", + "nullable": true + }, + "fingerprint_expression": { + "maxLength": 400, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "mask": { + "nullable": true + }, + "privacy": { + "$ref": "#/components/schemas/Privacy" + }, + "search_indexes": { + "maxItems": 10, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "expires_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + }, + "containers": { + "pattern": "^(?!.*\/\/)(?=.*\/$)\/[A-z0-9_\\-\/]*$", + "maxItems": 1, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "aliases": { + "maxItems": 1, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "encryption": { - "$ref": "#/components/schemas/EncryptionMetadata" + "TokenEnrichments": { + "type": "object", + "properties": { + "bin_details": { + "$ref": "#/components/schemas/BinDetails" + } + }, + "additionalProperties": false }, - "privacy": { - "$ref": "#/components/schemas/UpdatePrivacy" + "TokenMetrics": { + "type": "object", + "properties": { + "count": { + "maximum": 2147483647, + "minimum": 0, + "type": "integer", + "format": "int64" + }, + "last_created_at": { + "maxLength": 40, + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true + "TokenPaginatedList": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/Token" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "search_indexes": { - "maxItems": 10, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true + "TokenReport": { + "type": "object", + "properties": { + "included_monthly_active_tokens": { + "maximum": 2147483647, + "minimum": 0, + "type": "integer", + "format": "int64" + }, + "monthly_active_tokens": { + "minimum": 0, + "type": "integer", + "format": "int64" + }, + "metrics_by_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/TokenMetrics" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "fingerprint_expression": { - "maxLength": 400, - "pattern": "^.*$", - "type": "string", - "nullable": true + "UpdateApplicationRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "permissions": { + "maxItems": 50, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessRule" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "mask": { - "nullable": true + "UpdatePrivacy": { + "type": "object", + "properties": { + "impact_level": { + "type": "string", + "nullable": true + }, + "restriction_policy": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "expires_at": { - "type": "string", - "nullable": true + "UpdateProxyRequest": { + "required": [ + "destination_url", + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "destination_url": { + "maxLength": 400, + "minLength": 1, + "pattern": "^https://.+$", + "type": "string" + }, + "request_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "response_reactor_id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid", + "nullable": true + }, + "request_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "response_transform": { + "$ref": "#/components/schemas/ProxyTransform" + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "require_auth": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false }, - "deduplicate_token": { - "type": "boolean", - "nullable": true + "UpdateReactorFormulaRequest": { + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "type": { + "maxLength": 25, + "minLength": 1, + "pattern": "^(?:private|official)$", + "type": "string" + }, + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "description": { + "maxLength": 1000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "icon": { + "type": "string", + "nullable": true + }, + "code": { + "maxLength": 50000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "configuration": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaConfiguration" + }, + "nullable": true + }, + "request_parameters": { + "maxItems": 25, + "type": "array", + "items": { + "$ref": "#/components/schemas/ReactorFormulaRequestParameter" + }, + "nullable": true + } + }, + "additionalProperties": false, + "deprecated": true }, - "containers": { - "maxItems": 1, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "User": { - "type": "object", - "properties": { - "id": { - "maxLength": 36, - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", - "type": "string", - "format": "uuid" + "UpdateReactorRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "application": { + "$ref": "#/components/schemas/Application" + }, + "code": { + "maxLength": 50000, + "pattern": "^[\\S\\s]*$", + "type": "string", + "nullable": true + }, + "configuration": { + "maxLength": 25, + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "email": { - "maxLength": 200, - "type": "string", - "format": "email", - "nullable": true + "UpdateTenantRequest": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "maxLength": 200, + "minLength": 1, + "pattern": "^.+$", + "type": "string" + }, + "settings": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false }, - "first_name": { - "maxLength": 200, - "pattern": "^.*$", - "type": "string", - "nullable": true + "UpdateTokenRequest": { + "type": "object", + "properties": { + "data": { + "nullable": true + }, + "encryption": { + "$ref": "#/components/schemas/EncryptionMetadata" + }, + "privacy": { + "$ref": "#/components/schemas/UpdatePrivacy" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "search_indexes": { + "maxItems": 10, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "fingerprint_expression": { + "maxLength": 400, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "mask": { + "nullable": true + }, + "expires_at": { + "type": "string", + "nullable": true + }, + "deduplicate_token": { + "type": "boolean", + "nullable": true + }, + "containers": { + "maxItems": 1, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false }, - "last_name": { - "maxLength": 200, - "pattern": "^.*$", - "type": "string", - "nullable": true + "User": { + "type": "object", + "properties": { + "id": { + "maxLength": 36, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "type": "string", + "format": "uuid" + }, + "email": { + "maxLength": 200, + "type": "string", + "format": "email", + "nullable": true + }, + "first_name": { + "maxLength": 200, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "last_name": { + "maxLength": 200, + "pattern": "^.*$", + "type": "string", + "nullable": true + }, + "picture": { + "maxLength": 400, + "type": "string", + "nullable": true + } + }, + "additionalProperties": false }, - "picture": { - "maxLength": 400, - "type": "string", - "nullable": true + "ValidationProblemDetails": { + "type": "object", + "properties": { + "errors": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "instance": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": {} } - }, - "additionalProperties": false }, - "ValidationProblemDetails": { - "type": "object", - "properties": { - "errors": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "instance": { - "type": "string", - "nullable": true + "securitySchemes": { + "ApiKey": { + "type": "apiKey", + "description": "Authorization by API Key inside request's BT-API-KEY header", + "name": "BT-API-KEY", + "in": "header" } - }, - "additionalProperties": { } } - }, - "securitySchemes": { - "ApiKey": { - "type": "apiKey", - "description": "Authorization by API Key inside request's BT-API-KEY header", - "name": "BT-API-KEY", - "in": "header" - } - } }, "security": [ - { - "ApiKey": [ ] - } + { + "ApiKey": [] + } ] } \ No newline at end of file