diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index edcfe40..68e69e4 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -2.14.0 +2.15.0 diff --git a/sdk.json b/sdk.json index ddb82a9..a48dff8 100644 --- a/sdk.json +++ b/sdk.json @@ -6,7 +6,7 @@ } ], "info": { - "version": "2.14.0", + "version": "2.15.0", "title": "All Circle APIs", "description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification." }, @@ -79,10 +79,6 @@ "name": "Settlements", "description": "Get information on settlement batches." }, - { - "name": "CBIT", - "description": "Create and get information on CBIT accounts." - }, { "name": "CUBIX", "description": "Create and get information on CUBIX accounts." @@ -1370,253 +1366,6 @@ } } }, - "/v1/businessAccount/banks/cbit": { - "post": { - "security": [ - { - "bearerAuth": [] - } - ], - "summary": "Create a CBIT bank account", - "operationId": "createBusinessCbitAccount", - "tags": ["CBIT"], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CbitFiatAccountCreationRequest" - } - } - } - }, - "responses": { - "201": { - "description": "Successfully created a bank account for CBIT transfers.", - "headers": { - "X-Request-Id": { - "$ref": "#/components/headers/XRequestId" - } - }, - "content": { - "application/json": { - "schema": { - "title": "CreateBusinessCbitAccountResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/CbitFiatAccountResponse" - } - } - }, - "examples": { - "response": { - "value": { - "data": { - "id": "b8627ae8-732b-4d25-b947-1df8f4007a29", - "status": "pending", - "trackingRef": "CIR25XSXT8", - "walletAddress": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e", - "transferTypesInfo": { - "cbit": { - "currencies": ["USD"] - } - }, - "createDate": "2020-04-10T02:13:30.000Z", - "updateDate": "2020-04-10T02:13:30.000Z" - } - } - } - } - } - } - }, - "400": { - "$ref": "#/components/responses/BadRequest" - }, - "401": { - "$ref": "#/components/responses/NotAuthorized" - } - } - }, - "get": { - "security": [ - { - "bearerAuth": [] - } - ], - "summary": "List all CBIT bank accounts.", - "operationId": "listBusinessCbitAccounts", - "tags": ["CBIT"], - "responses": { - "200": { - "description": "Successfully retrieved all bank accounts for CBIT transfers.", - "headers": { - "X-Request-Id": { - "$ref": "#/components/headers/XRequestId" - } - }, - "content": { - "application/json": { - "schema": { - "title": "ListBusinessCbitAccountsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CbitFiatAccountResponse" - } - } - } - }, - "examples": { - "response": { - "value": { - "data": [ - { - "id": "b8627ae8-732b-4d25-b947-1df8f4007a29", - "status": "pending", - "trackingRef": "CIR25XSXT8", - "walletAddress": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e", - "transferTypesInfo": { - "cbit": { - "currencies": ["USD"] - } - }, - "createDate": "2020-04-10T02:13:30.000Z", - "updateDate": "2020-04-10T02:13:30.000Z" - } - ] - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/NotAuthorized" - } - } - } - }, - "/v1/businessAccount/banks/cbit/{id}": { - "get": { - "parameters": [ - { - "$ref": "#/components/parameters/IdPath" - } - ], - "security": [ - { - "bearerAuth": [] - } - ], - "summary": "Get a CBIT bank account", - "operationId": "getBusinessCbitAccount", - "tags": ["CBIT"], - "responses": { - "200": { - "description": "Successfully retrieved a bank account for CBIT transfers.", - "headers": { - "X-Request-Id": { - "$ref": "#/components/headers/XRequestId" - } - }, - "content": { - "application/json": { - "schema": { - "title": "GetBusinessCbitAccountResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/CbitFiatAccountResponse" - } - } - }, - "examples": { - "response": { - "value": { - "data": { - "id": "b8627ae8-732b-4d25-b947-1df8f4007a29", - "status": "pending", - "trackingRef": "CIR25XSXT8", - "walletAddress": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e", - "transferTypesInfo": { - "cbit": { - "currencies": ["USD"] - } - }, - "createDate": "2020-04-10T02:13:30.000Z", - "updateDate": "2020-04-10T02:13:30.000Z" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/NotAuthorized" - }, - "404": { - "$ref": "#/components/responses/NotFound" - } - } - } - }, - "/v1/businessAccount/banks/cbit/{id}/instructions": { - "get": { - "parameters": [ - { - "$ref": "#/components/parameters/IdPath" - } - ], - "security": [ - { - "bearerAuth": [] - } - ], - "summary": "Get CBIT instructions", - "description": "Get the CBIT transfer instructions into the Circle bank account given your bank account id.", - "operationId": "getBusinessCbitAccountInstructions", - "tags": ["CBIT"], - "responses": { - "200": { - "description": "Successfully retrieved CBIT transfer instructions for the bank account.", - "headers": { - "X-Request-Id": { - "$ref": "#/components/headers/XRequestId" - } - }, - "content": { - "application/json": { - "schema": { - "title": "ListBusinessCbitAccountInstructionsResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/CbitInstruction" - } - } - }, - "examples": { - "response": { - "value": { - "data": { - "trackingRef": "CIR25XSXT8", - "walletAddress": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/NotAuthorized" - }, - "404": { - "$ref": "#/components/responses/NotFound" - } - } - } - }, "/v1/businessAccount/banks/cubix": { "post": { "security": [ @@ -2253,7 +2002,7 @@ } ], "summary": "Create a recipient address", - "description": "Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.\n", + "description": "Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. \n\n**For France customers:**\n\nCircle Mint France customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in pending status. Please see Help Center articles below for details:\n- [Circle Mint France Travel Rule](https://help.circle.com/s/article/Circle-Mint-France-Travel-Rule)\n- [Circle Mint France wallet verification](https://help.circle.com/s/article/Circle-Mint-France-wallet-verification)\n", "operationId": "createBusinessRecipientAddress", "tags": ["Addresses"], "requestBody": { @@ -5045,7 +4794,7 @@ "required": false, "schema": { "type": "string", - "enum": ["wire", "cbit", "cubix"] + "enum": ["wire", "cubix"] } }, { @@ -7149,7 +6898,6 @@ "BTC", "CELO", "ETH", - "FLOW", "HBAR", "NEAR", "NOBLE", @@ -7157,8 +6905,9 @@ "PAH", "POLY", "SOL", - "TRX", - "XLM" + "SUI", + "XLM", + "ZKS" ] }, "TokenAmount": { @@ -8356,83 +8105,6 @@ } } }, - "CbitFiatAccountResponse": { - "type": "object", - "required": [ - "id", - "status", - "trackingRef", - "walletAddress", - "createDate", - "updateDate", - "transferTypesInfo" - ], - "properties": { - "id": { - "$ref": "#/components/schemas/Id" - }, - "status": { - "$ref": "#/components/schemas/ExternalFiatAccountStatus" - }, - "trackingRef": { - "type": "string", - "description": "Tracking ref that needs to be set in the public description field when you send the funds to Circle CBIT wallet.", - "example": "CIR25XSXT8" - }, - "walletAddress": { - "type": "string", - "description": "Your CBIT wallet address.", - "example": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e" - }, - "transferTypesInfo": { - "type": "object", - "description": "A map which shows transfer types supported on this account as well as additional information for each. For CBIT accounts this will always only show information for CBIT transfers.", - "additionalProperties": { - "$ref": "#/components/schemas/TransferTypeInfo" - }, - "example": { - "cbit": { - "currencies": ["USD"] - } - } - }, - "createDate": { - "$ref": "#/components/schemas/UtcTimestamp" - }, - "updateDate": { - "$ref": "#/components/schemas/UtcTimestamp" - } - } - }, - "CbitFiatAccountCreationRequest": { - "type": "object", - "required": ["idempotencyKey", "walletAddress"], - "properties": { - "idempotencyKey": { - "$ref": "#/components/schemas/IdempotencyKey" - }, - "walletAddress": { - "type": "string", - "description": "CBIT wallet address.", - "example": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e" - } - } - }, - "CbitInstruction": { - "type": "object", - "properties": { - "trackingRef": { - "type": "string", - "description": "Circle tracking reference that needs to be set in the CBIT public description field.", - "example": "CIR25XSXT8" - }, - "walletAddress": { - "type": "string", - "description": "Circle wallet address that needs to be set in the CBIT recipient wallet field.", - "example": "0x7d8da35e03ef3a5ec5d5edbb961ef399dfb42d1e" - } - } - }, "CubixFiatAccountResponse": { "type": "object", "required": [ @@ -10544,7 +10216,7 @@ "BusinessAccountPayoutDestinationType": { "type": "string", "description": "The destination bank account type.", - "enum": ["wire", "cbit", "cubix"] + "enum": ["wire", "cubix"] }, "BankDestination": { "type": "object", @@ -10677,6 +10349,7 @@ "$ref": "#/components/schemas/PayoutStatus" }, "trackingRef": { + "type": "string", "description": "A payout tracking reference. Will be present once known.", "nullable": true, "example": "CIR-6ESOQANEP3NAO" @@ -10708,7 +10381,7 @@ "properties": { "type": { "type": "string", - "enum": ["wire", "cbit", "cubix", "pix", "sepa", "sepa_instant"] + "enum": ["wire", "cubix", "pix", "sepa", "sepa_instant"] }, "id": { "$ref": "#/components/schemas/Id" @@ -12016,7 +11689,6 @@ "BTC", "CELO", "ETH", - "FLOW", "HBAR", "NEAR", "NOBLE", @@ -12024,8 +11696,9 @@ "PAH", "POLY", "SOL", - "TRX", - "XLM" + "SUI", + "XLM", + "ZKS" ] } }, diff --git a/src/generated/.openapi-generator/FILES b/src/generated/.openapi-generator/FILES index d22ef94..cbdc609 100644 --- a/src/generated/.openapi-generator/FILES +++ b/src/generated/.openapi-generator/FILES @@ -2,7 +2,6 @@ api.ts apis/addresses-api.ts apis/balances-api.ts apis/cards-api.ts -apis/cbitapi.ts apis/channels-api.ts apis/chargebacks-api.ts apis/checkout-sessions-api.ts @@ -68,9 +67,6 @@ models/card-creation-request.ts models/card-update.ts models/card-verification-response.ts models/card.ts -models/cbit-fiat-account-creation-request.ts -models/cbit-fiat-account-response.ts -models/cbit-instruction.ts models/chain.ts models/channel-response.ts models/chargeback-categories.ts @@ -83,7 +79,6 @@ models/conflict.ts models/continuous-payment-intent-creation-request.ts models/continuous-payment-intent.ts models/create-address-book-recipient-response.ts -models/create-business-cbit-account-response.ts models/create-business-cubix-account-response.ts models/create-business-deposit-address-response.ts models/create-business-payout-response.ts @@ -154,7 +149,6 @@ models/fiat-refund.ts models/final-adjustments.ts models/forbidden.ts models/get-address-book-recipient-response.ts -models/get-business-cbit-account-response.ts models/get-business-cubix-account-response.ts models/get-business-deposit-address-response.ts models/get-business-payout-response.ts @@ -183,8 +177,6 @@ models/list-address-book-recipients-response.ts models/list-balances-response.ts models/list-burn-fee-calculations-response.ts models/list-business-balances-response.ts -models/list-business-cbit-account-instructions-response.ts -models/list-business-cbit-accounts-response.ts models/list-business-cubix-account-instructions-response.ts models/list-business-cubix-accounts-response.ts models/list-business-deposits-response.ts diff --git a/src/generated/api.ts b/src/generated/api.ts index bad9695..02a686d 100644 --- a/src/generated/api.ts +++ b/src/generated/api.ts @@ -8,7 +8,6 @@ export * from "./apis/addresses-api"; export * from "./apis/balances-api"; -export * from "./apis/cbitapi"; export * from "./apis/cubixapi"; export * from "./apis/cards-api"; export * from "./apis/channels-api"; diff --git a/src/generated/apis/addresses-api.ts b/src/generated/apis/addresses-api.ts index 2a5ec12..c391311 100644 --- a/src/generated/apis/addresses-api.ts +++ b/src/generated/apis/addresses-api.ts @@ -110,7 +110,7 @@ export const AddressesApiAxiosParamCreator = function ( }; }, /** - * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status. + * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. **For France customers:** Circle Mint France customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in pending status. Please see Help Center articles below for details: - [Circle Mint France Travel Rule](https://help.circle.com/s/article/Circle-Mint-France-Travel-Rule) - [Circle Mint France wallet verification](https://help.circle.com/s/article/Circle-Mint-France-wallet-verification) * @summary Create a recipient address * @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest] * @param {*} [options] Override http request option. @@ -370,7 +370,7 @@ export const AddressesApiFp = function (configuration?: Configuration) { ); }, /** - * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status. + * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. **For France customers:** Circle Mint France customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in pending status. Please see Help Center articles below for details: - [Circle Mint France Travel Rule](https://help.circle.com/s/article/Circle-Mint-France-Travel-Rule) - [Circle Mint France wallet verification](https://help.circle.com/s/article/Circle-Mint-France-wallet-verification) * @summary Create a recipient address * @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest] * @param {*} [options] Override http request option. @@ -515,7 +515,7 @@ export const AddressesApiFactory = function ( .then((request) => request(axios, basePath)); }, /** - * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status. + * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. **For France customers:** Circle Mint France customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in pending status. Please see Help Center articles below for details: - [Circle Mint France Travel Rule](https://help.circle.com/s/article/Circle-Mint-France-Travel-Rule) - [Circle Mint France wallet verification](https://help.circle.com/s/article/Circle-Mint-France-wallet-verification) * @summary Create a recipient address * @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest] * @param {*} [options] Override http request option. @@ -618,7 +618,7 @@ export class AddressesApi extends BaseAPI { } /** - * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status. + * Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. **For France customers:** Circle Mint France customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in pending status. Please see Help Center articles below for details: - [Circle Mint France Travel Rule](https://help.circle.com/s/article/Circle-Mint-France-Travel-Rule) - [Circle Mint France wallet verification](https://help.circle.com/s/article/Circle-Mint-France-wallet-verification) * @summary Create a recipient address * @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest] * @param {*} [options] Override http request option. diff --git a/src/generated/apis/cbitapi.ts b/src/generated/apis/cbitapi.ts deleted file mode 100644 index 67ca49c..0000000 --- a/src/generated/apis/cbitapi.ts +++ /dev/null @@ -1,510 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import globalAxios, { - AxiosPromise, - AxiosInstance, - AxiosRequestConfig -} from "axios"; -import { Configuration } from "../configuration"; -// Some imports not used depending on template conditions -// @ts-ignore -import { - DUMMY_BASE_URL, - assertParamExists, - setBearerAuthToObject, - setSearchParams, - serializeDataIfNeeded, - toPathString, - createRequestFunction -} from "../common"; -// @ts-ignore -import { - BASE_PATH, - COLLECTION_FORMATS, - RequestArgs, - BaseAPI, - RequiredError -} from "../base"; -// @ts-ignore -import { BadRequest } from "../models"; -// @ts-ignore -import { CbitFiatAccountCreationRequest } from "../models"; -// @ts-ignore -import { CreateBusinessCbitAccountResponse } from "../models"; -// @ts-ignore -import { GetBusinessCbitAccountResponse } from "../models"; -// @ts-ignore -import { ListBusinessCbitAccountInstructionsResponse } from "../models"; -// @ts-ignore -import { ListBusinessCbitAccountsResponse } from "../models"; -// @ts-ignore -import { NotAuthorized } from "../models"; -// @ts-ignore -import { NotFound } from "../models"; -/** - * CBITApi - axios parameter creator - * @export - */ -export const CBITApiAxiosParamCreator = function ( - configuration?: Configuration -) { - return { - /** - * - * @summary Create a CBIT bank account - * @param {CbitFiatAccountCreationRequest} [cbitFiatAccountCreationRequest] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - createBusinessCbitAccount: async ( - cbitFiatAccountCreationRequest?: CbitFiatAccountCreationRequest, - options: AxiosRequestConfig = {} - ): Promise => { - const localVarPath = `/v1/businessAccount/banks/cbit`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { - method: "POST", - ...baseOptions, - ...options - }; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearerAuth required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration); - - localVarHeaderParameter["Content-Type"] = "application/json"; - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = - baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = { - ...localVarHeaderParameter, - ...headersFromBaseOptions, - ...options.headers - }; - localVarRequestOptions.data = serializeDataIfNeeded( - cbitFiatAccountCreationRequest, - localVarRequestOptions, - configuration - ); - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions - }; - }, - /** - * - * @summary Get a CBIT bank account - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getBusinessCbitAccount: async ( - id: string, - options: AxiosRequestConfig = {} - ): Promise => { - // verify required parameter 'id' is not null or undefined - assertParamExists("getBusinessCbitAccount", "id", id); - const localVarPath = `/v1/businessAccount/banks/cbit/{id}`.replace( - `{${"id"}}`, - encodeURIComponent(String(id)) - ); - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { - method: "GET", - ...baseOptions, - ...options - }; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearerAuth required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration); - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = - baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = { - ...localVarHeaderParameter, - ...headersFromBaseOptions, - ...options.headers - }; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions - }; - }, - /** - * Get the CBIT transfer instructions into the Circle bank account given your bank account id. - * @summary Get CBIT instructions - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getBusinessCbitAccountInstructions: async ( - id: string, - options: AxiosRequestConfig = {} - ): Promise => { - // verify required parameter 'id' is not null or undefined - assertParamExists("getBusinessCbitAccountInstructions", "id", id); - const localVarPath = - `/v1/businessAccount/banks/cbit/{id}/instructions`.replace( - `{${"id"}}`, - encodeURIComponent(String(id)) - ); - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { - method: "GET", - ...baseOptions, - ...options - }; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearerAuth required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration); - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = - baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = { - ...localVarHeaderParameter, - ...headersFromBaseOptions, - ...options.headers - }; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions - }; - }, - /** - * - * @summary List all CBIT bank accounts. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - listBusinessCbitAccounts: async ( - options: AxiosRequestConfig = {} - ): Promise => { - const localVarPath = `/v1/businessAccount/banks/cbit`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { - method: "GET", - ...baseOptions, - ...options - }; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearerAuth required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration); - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = - baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = { - ...localVarHeaderParameter, - ...headersFromBaseOptions, - ...options.headers - }; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions - }; - } - }; -}; - -/** - * CBITApi - functional programming interface - * @export - */ -export const CBITApiFp = function (configuration?: Configuration) { - const localVarAxiosParamCreator = CBITApiAxiosParamCreator(configuration); - return { - /** - * - * @summary Create a CBIT bank account - * @param {CbitFiatAccountCreationRequest} [cbitFiatAccountCreationRequest] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async createBusinessCbitAccount( - cbitFiatAccountCreationRequest?: CbitFiatAccountCreationRequest, - options?: AxiosRequestConfig - ): Promise< - ( - axios?: AxiosInstance, - basePath?: string - ) => AxiosPromise - > { - const localVarAxiosArgs = - await localVarAxiosParamCreator.createBusinessCbitAccount( - cbitFiatAccountCreationRequest, - options - ); - return createRequestFunction( - localVarAxiosArgs, - globalAxios, - BASE_PATH, - configuration - ); - }, - /** - * - * @summary Get a CBIT bank account - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getBusinessCbitAccount( - id: string, - options?: AxiosRequestConfig - ): Promise< - ( - axios?: AxiosInstance, - basePath?: string - ) => AxiosPromise - > { - const localVarAxiosArgs = - await localVarAxiosParamCreator.getBusinessCbitAccount(id, options); - return createRequestFunction( - localVarAxiosArgs, - globalAxios, - BASE_PATH, - configuration - ); - }, - /** - * Get the CBIT transfer instructions into the Circle bank account given your bank account id. - * @summary Get CBIT instructions - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getBusinessCbitAccountInstructions( - id: string, - options?: AxiosRequestConfig - ): Promise< - ( - axios?: AxiosInstance, - basePath?: string - ) => AxiosPromise - > { - const localVarAxiosArgs = - await localVarAxiosParamCreator.getBusinessCbitAccountInstructions( - id, - options - ); - return createRequestFunction( - localVarAxiosArgs, - globalAxios, - BASE_PATH, - configuration - ); - }, - /** - * - * @summary List all CBIT bank accounts. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async listBusinessCbitAccounts( - options?: AxiosRequestConfig - ): Promise< - ( - axios?: AxiosInstance, - basePath?: string - ) => AxiosPromise - > { - const localVarAxiosArgs = - await localVarAxiosParamCreator.listBusinessCbitAccounts(options); - return createRequestFunction( - localVarAxiosArgs, - globalAxios, - BASE_PATH, - configuration - ); - } - }; -}; - -/** - * CBITApi - factory interface - * @export - */ -export const CBITApiFactory = function ( - configuration?: Configuration, - basePath?: string, - axios?: AxiosInstance -) { - const localVarFp = CBITApiFp(configuration); - return { - /** - * - * @summary Create a CBIT bank account - * @param {CbitFiatAccountCreationRequest} [cbitFiatAccountCreationRequest] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - createBusinessCbitAccount( - cbitFiatAccountCreationRequest?: CbitFiatAccountCreationRequest, - options?: any - ): AxiosPromise { - return localVarFp - .createBusinessCbitAccount(cbitFiatAccountCreationRequest, options) - .then((request) => request(axios, basePath)); - }, - /** - * - * @summary Get a CBIT bank account - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getBusinessCbitAccount( - id: string, - options?: any - ): AxiosPromise { - return localVarFp - .getBusinessCbitAccount(id, options) - .then((request) => request(axios, basePath)); - }, - /** - * Get the CBIT transfer instructions into the Circle bank account given your bank account id. - * @summary Get CBIT instructions - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getBusinessCbitAccountInstructions( - id: string, - options?: any - ): AxiosPromise { - return localVarFp - .getBusinessCbitAccountInstructions(id, options) - .then((request) => request(axios, basePath)); - }, - /** - * - * @summary List all CBIT bank accounts. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - listBusinessCbitAccounts( - options?: any - ): AxiosPromise { - return localVarFp - .listBusinessCbitAccounts(options) - .then((request) => request(axios, basePath)); - } - }; -}; - -/** - * CBITApi - object-oriented interface - * @export - * @class CBITApi - * @extends {BaseAPI} - */ -export class CBITApi extends BaseAPI { - /** - * - * @summary Create a CBIT bank account - * @param {CbitFiatAccountCreationRequest} [cbitFiatAccountCreationRequest] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CBITApi - */ - public createBusinessCbitAccount( - cbitFiatAccountCreationRequest?: CbitFiatAccountCreationRequest, - options?: AxiosRequestConfig - ) { - return CBITApiFp(this.configuration) - .createBusinessCbitAccount(cbitFiatAccountCreationRequest, options) - .then((request) => request(this.axios, this.basePath)); - } - - /** - * - * @summary Get a CBIT bank account - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CBITApi - */ - public getBusinessCbitAccount(id: string, options?: AxiosRequestConfig) { - return CBITApiFp(this.configuration) - .getBusinessCbitAccount(id, options) - .then((request) => request(this.axios, this.basePath)); - } - - /** - * Get the CBIT transfer instructions into the Circle bank account given your bank account id. - * @summary Get CBIT instructions - * @param {string} id Universally unique identifier (UUID v4) of a resource. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CBITApi - */ - public getBusinessCbitAccountInstructions( - id: string, - options?: AxiosRequestConfig - ) { - return CBITApiFp(this.configuration) - .getBusinessCbitAccountInstructions(id, options) - .then((request) => request(this.axios, this.basePath)); - } - - /** - * - * @summary List all CBIT bank accounts. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CBITApi - */ - public listBusinessCbitAccounts(options?: AxiosRequestConfig) { - return CBITApiFp(this.configuration) - .listBusinessCbitAccounts(options) - .then((request) => request(this.axios, this.basePath)); - } -} diff --git a/src/generated/apis/payouts-api.ts b/src/generated/apis/payouts-api.ts index d0eefe8..330cfa1 100644 --- a/src/generated/apis/payouts-api.ts +++ b/src/generated/apis/payouts-api.ts @@ -275,7 +275,7 @@ export const PayoutsApiAxiosParamCreator = function ( * * @summary List all payouts * @param {string} [destination] Universally unique identifier (UUID v4) for the destination bank account. Filters the results to fetch all payouts made to a destination bank account. - * @param {'wire' | 'cbit' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. + * @param {'wire' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). @@ -287,7 +287,7 @@ export const PayoutsApiAxiosParamCreator = function ( */ listBusinessPayouts: async ( destination?: string, - type?: "wire" | "cbit" | "cubix", + type?: "wire" | "cubix", status?: Set, from?: string, to?: string, @@ -460,7 +460,7 @@ export const PayoutsApiAxiosParamCreator = function ( * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'SUI' | 'XLM' | 'ZKS'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -491,7 +491,6 @@ export const PayoutsApiAxiosParamCreator = function ( | "BTC" | "CELO" | "ETH" - | "FLOW" | "HBAR" | "NEAR" | "NOBLE" @@ -499,8 +498,9 @@ export const PayoutsApiAxiosParamCreator = function ( | "PAH" | "POLY" | "SOL" - | "TRX" - | "XLM", + | "SUI" + | "XLM" + | "ZKS", from?: string, to?: string, pageBefore?: string, @@ -713,7 +713,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) { * * @summary List all payouts * @param {string} [destination] Universally unique identifier (UUID v4) for the destination bank account. Filters the results to fetch all payouts made to a destination bank account. - * @param {'wire' | 'cbit' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. + * @param {'wire' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). @@ -725,7 +725,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) { */ async listBusinessPayouts( destination?: string, - type?: "wire" | "cbit" | "cubix", + type?: "wire" | "cubix", status?: Set, from?: string, to?: string, @@ -813,7 +813,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) { * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'SUI' | 'XLM' | 'ZKS'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -844,7 +844,6 @@ export const PayoutsApiFp = function (configuration?: Configuration) { | "BTC" | "CELO" | "ETH" - | "FLOW" | "HBAR" | "NEAR" | "NOBLE" @@ -852,8 +851,9 @@ export const PayoutsApiFp = function (configuration?: Configuration) { | "PAH" | "POLY" | "SOL" - | "TRX" - | "XLM", + | "SUI" + | "XLM" + | "ZKS", from?: string, to?: string, pageBefore?: string, @@ -963,7 +963,7 @@ export const PayoutsApiFactory = function ( * * @summary List all payouts * @param {string} [destination] Universally unique identifier (UUID v4) for the destination bank account. Filters the results to fetch all payouts made to a destination bank account. - * @param {'wire' | 'cbit' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. + * @param {'wire' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). @@ -975,7 +975,7 @@ export const PayoutsApiFactory = function ( */ listBusinessPayouts( destination?: string, - type?: "wire" | "cbit" | "cubix", + type?: "wire" | "cubix", status?: Set, from?: string, to?: string, @@ -1043,7 +1043,7 @@ export const PayoutsApiFactory = function ( * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'SUI' | 'XLM' | 'ZKS'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -1074,7 +1074,6 @@ export const PayoutsApiFactory = function ( | "BTC" | "CELO" | "ETH" - | "FLOW" | "HBAR" | "NEAR" | "NOBLE" @@ -1082,8 +1081,9 @@ export const PayoutsApiFactory = function ( | "PAH" | "POLY" | "SOL" - | "TRX" - | "XLM", + | "SUI" + | "XLM" + | "ZKS", from?: string, to?: string, pageBefore?: string, @@ -1185,7 +1185,7 @@ export class PayoutsApi extends BaseAPI { * * @summary List all payouts * @param {string} [destination] Universally unique identifier (UUID v4) for the destination bank account. Filters the results to fetch all payouts made to a destination bank account. - * @param {'wire' | 'cbit' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. + * @param {'wire' | 'cubix'} [type] Destination bank account type. Filters the results to fetch all payouts made to a specified destination bank account type. This query parameter can be passed multiple times to fetch results matching multiple destination bank account types. * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). @@ -1198,7 +1198,7 @@ export class PayoutsApi extends BaseAPI { */ public listBusinessPayouts( destination?: string, - type?: "wire" | "cbit" | "cubix", + type?: "wire" | "cubix", status?: Set, from?: string, to?: string, @@ -1269,7 +1269,7 @@ export class PayoutsApi extends BaseAPI { * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'CELO' | 'ETH' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'SUI' | 'XLM' | 'ZKS'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -1294,7 +1294,6 @@ export class PayoutsApi extends BaseAPI { | "BTC" | "CELO" | "ETH" - | "FLOW" | "HBAR" | "NEAR" | "NOBLE" @@ -1302,8 +1301,9 @@ export class PayoutsApi extends BaseAPI { | "PAH" | "POLY" | "SOL" - | "TRX" - | "XLM", + | "SUI" + | "XLM" + | "ZKS", from?: string, to?: string, pageBefore?: string, diff --git a/src/generated/index.ts b/src/generated/index.ts index b2a936e..2a9838a 100644 --- a/src/generated/index.ts +++ b/src/generated/index.ts @@ -9,7 +9,6 @@ import { AddressesApi, BalancesApi, - CBITApi, CUBIXApi, CardsApi, ChannelsApi, @@ -40,7 +39,6 @@ export * from "./models"; export class Circle { public addresses: AddressesApi; public balances: BalancesApi; - public cbit: CBITApi; public cubix: CUBIXApi; public cards: CardsApi; public channels: ChannelsApi; @@ -68,7 +66,6 @@ export class Circle { const configuration = new Configuration({ basePath: baseUrl, apiKey }); this.addresses = new AddressesApi(configuration); this.balances = new BalancesApi(configuration); - this.cbit = new CBITApi(configuration); this.cubix = new CUBIXApi(configuration); this.cards = new CardsApi(configuration); this.channels = new ChannelsApi(configuration); diff --git a/src/generated/models/business-account-payout-destination-type.ts b/src/generated/models/business-account-payout-destination-type.ts index b106711..5a81bdc 100644 --- a/src/generated/models/business-account-payout-destination-type.ts +++ b/src/generated/models/business-account-payout-destination-type.ts @@ -14,7 +14,6 @@ export const BusinessAccountPayoutDestinationType = { Wire: "wire", - Cbit: "cbit", Cubix: "cubix" } as const; diff --git a/src/generated/models/business-destination-request.ts b/src/generated/models/business-destination-request.ts index 4c8c26c..7dcfbc5 100644 --- a/src/generated/models/business-destination-request.ts +++ b/src/generated/models/business-destination-request.ts @@ -28,7 +28,6 @@ export interface BusinessDestinationRequest { export const BusinessDestinationRequestTypeEnum = { Wire: "wire", - Cbit: "cbit", Cubix: "cubix", Pix: "pix", Sepa: "sepa", diff --git a/src/generated/models/business-payout.ts b/src/generated/models/business-payout.ts index 5a61ee9..a90b353 100644 --- a/src/generated/models/business-payout.ts +++ b/src/generated/models/business-payout.ts @@ -84,10 +84,10 @@ export interface BusinessPayout { status?: PayoutStatus; /** * A payout tracking reference. Will be present once known. - * @type {any} + * @type {string} * @memberof BusinessPayout */ - trackingRef?: any | null; + trackingRef?: string | null; /** * * @type {PayoutErrorCode} diff --git a/src/generated/models/cbit-fiat-account-creation-request.ts b/src/generated/models/cbit-fiat-account-creation-request.ts deleted file mode 100644 index 52cc307..0000000 --- a/src/generated/models/cbit-fiat-account-creation-request.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * - * @export - * @interface CbitFiatAccountCreationRequest - */ -export interface CbitFiatAccountCreationRequest { - /** - * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. - * @type {string} - * @memberof CbitFiatAccountCreationRequest - */ - idempotencyKey: string; - /** - * CBIT wallet address. - * @type {string} - * @memberof CbitFiatAccountCreationRequest - */ - walletAddress: string; -} diff --git a/src/generated/models/cbit-fiat-account-response.ts b/src/generated/models/cbit-fiat-account-response.ts deleted file mode 100644 index 9fcec90..0000000 --- a/src/generated/models/cbit-fiat-account-response.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import { ExternalFiatAccountStatus } from "./external-fiat-account-status"; -// May contain unused imports in some cases -// @ts-ignore -import { TransferTypeInfo } from "./transfer-type-info"; - -/** - * - * @export - * @interface CbitFiatAccountResponse - */ -export interface CbitFiatAccountResponse { - /** - * Unique system generated identifier for the entity. - * @type {string} - * @memberof CbitFiatAccountResponse - */ - id: string; - /** - * - * @type {ExternalFiatAccountStatus} - * @memberof CbitFiatAccountResponse - */ - status: ExternalFiatAccountStatus; - /** - * Tracking ref that needs to be set in the public description field when you send the funds to Circle CBIT wallet. - * @type {string} - * @memberof CbitFiatAccountResponse - */ - trackingRef: string; - /** - * Your CBIT wallet address. - * @type {string} - * @memberof CbitFiatAccountResponse - */ - walletAddress: string; - /** - * A map which shows transfer types supported on this account as well as additional information for each. For CBIT accounts this will always only show information for CBIT transfers. - * @type {{ [key: string]: TransferTypeInfo; }} - * @memberof CbitFiatAccountResponse - */ - transferTypesInfo: { [key: string]: TransferTypeInfo }; - /** - * ISO-8601 UTC date/time format. - * @type {string} - * @memberof CbitFiatAccountResponse - */ - createDate: string; - /** - * ISO-8601 UTC date/time format. - * @type {string} - * @memberof CbitFiatAccountResponse - */ - updateDate: string; -} diff --git a/src/generated/models/cbit-instruction.ts b/src/generated/models/cbit-instruction.ts deleted file mode 100644 index 27abd13..0000000 --- a/src/generated/models/cbit-instruction.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * - * @export - * @interface CbitInstruction - */ -export interface CbitInstruction { - /** - * Circle tracking reference that needs to be set in the CBIT public description field. - * @type {string} - * @memberof CbitInstruction - */ - trackingRef?: string; - /** - * Circle wallet address that needs to be set in the CBIT recipient wallet field. - * @type {string} - * @memberof CbitInstruction - */ - walletAddress?: string; -} diff --git a/src/generated/models/chain.ts b/src/generated/models/chain.ts index cd5d6f7..a4efb7a 100644 --- a/src/generated/models/chain.ts +++ b/src/generated/models/chain.ts @@ -20,7 +20,6 @@ export const Chain = { Btc: "BTC", Celo: "CELO", Eth: "ETH", - Flow: "FLOW", Hbar: "HBAR", Near: "NEAR", Noble: "NOBLE", @@ -28,8 +27,9 @@ export const Chain = { Pah: "PAH", Poly: "POLY", Sol: "SOL", - Trx: "TRX", - Xlm: "XLM" + Sui: "SUI", + Xlm: "XLM", + Zks: "ZKS" } as const; export type Chain = typeof Chain[keyof typeof Chain]; diff --git a/src/generated/models/create-business-cbit-account-response.ts b/src/generated/models/create-business-cbit-account-response.ts deleted file mode 100644 index 9362136..0000000 --- a/src/generated/models/create-business-cbit-account-response.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; - -/** - * - * @export - * @interface CreateBusinessCbitAccountResponse - */ -export interface CreateBusinessCbitAccountResponse { - /** - * - * @type {CbitFiatAccountResponse} - * @memberof CreateBusinessCbitAccountResponse - */ - data?: CbitFiatAccountResponse; -} diff --git a/src/generated/models/get-business-cbit-account-response.ts b/src/generated/models/get-business-cbit-account-response.ts deleted file mode 100644 index 4d4d373..0000000 --- a/src/generated/models/get-business-cbit-account-response.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; - -/** - * - * @export - * @interface GetBusinessCbitAccountResponse - */ -export interface GetBusinessCbitAccountResponse { - /** - * - * @type {CbitFiatAccountResponse} - * @memberof GetBusinessCbitAccountResponse - */ - data?: CbitFiatAccountResponse; -} diff --git a/src/generated/models/index.ts b/src/generated/models/index.ts index a07ec45..ca49ae9 100644 --- a/src/generated/models/index.ts +++ b/src/generated/models/index.ts @@ -38,9 +38,6 @@ export * from "./card"; export * from "./card-creation-request"; export * from "./card-update"; export * from "./card-verification-response"; -export * from "./cbit-fiat-account-creation-request"; -export * from "./cbit-fiat-account-response"; -export * from "./cbit-instruction"; export * from "./chain"; export * from "./channel-response"; export * from "./chargeback-categories"; @@ -53,7 +50,6 @@ export * from "./conflict"; export * from "./continuous-payment-intent"; export * from "./continuous-payment-intent-creation-request"; export * from "./create-address-book-recipient-response"; -export * from "./create-business-cbit-account-response"; export * from "./create-business-cubix-account-response"; export * from "./create-business-deposit-address-response"; export * from "./create-business-payout-response"; @@ -124,7 +120,6 @@ export * from "./fiat-refund"; export * from "./final-adjustments"; export * from "./forbidden"; export * from "./get-address-book-recipient-response"; -export * from "./get-business-cbit-account-response"; export * from "./get-business-cubix-account-response"; export * from "./get-business-deposit-address-response"; export * from "./get-business-payout-response"; @@ -152,8 +147,6 @@ export * from "./list-address-book-recipients-response"; export * from "./list-balances-response"; export * from "./list-burn-fee-calculations-response"; export * from "./list-business-balances-response"; -export * from "./list-business-cbit-account-instructions-response"; -export * from "./list-business-cbit-accounts-response"; export * from "./list-business-cubix-account-instructions-response"; export * from "./list-business-cubix-accounts-response"; export * from "./list-business-deposits-response"; diff --git a/src/generated/models/list-business-cbit-account-instructions-response.ts b/src/generated/models/list-business-cbit-account-instructions-response.ts deleted file mode 100644 index e2cbeba..0000000 --- a/src/generated/models/list-business-cbit-account-instructions-response.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import { CbitInstruction } from "./cbit-instruction"; - -/** - * - * @export - * @interface ListBusinessCbitAccountInstructionsResponse - */ -export interface ListBusinessCbitAccountInstructionsResponse { - /** - * - * @type {CbitInstruction} - * @memberof ListBusinessCbitAccountInstructionsResponse - */ - data?: CbitInstruction; -} diff --git a/src/generated/models/list-business-cbit-accounts-response.ts b/src/generated/models/list-business-cbit-accounts-response.ts deleted file mode 100644 index 3cdf40f..0000000 --- a/src/generated/models/list-business-cbit-accounts-response.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; - -/** - * - * @export - * @interface ListBusinessCbitAccountsResponse - */ -export interface ListBusinessCbitAccountsResponse { - /** - * - * @type {Array} - * @memberof ListBusinessCbitAccountsResponse - */ - data?: Array; -}