├── .eslintrc.json ├── .github └── workflows │ ├── commit-lint.yml │ ├── npm-publish.yml │ ├── pull_request_checks.yml │ └── release.yml ├── .gitignore ├── .husky └── commit-msg ├── .npmrc ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── OPENAPI_VERSION ├── README.md ├── SECURITY.md ├── build-utils ├── gen-sdk.sh └── mustache-camelize.ts ├── commitlint.config.js ├── jest.config.js ├── openapitools.json ├── package.json ├── sdk.json ├── src ├── generated │ ├── .openapi-generator-ignore │ ├── .openapi-generator │ │ ├── FILES │ │ └── VERSION │ ├── api.ts │ ├── apis │ │ ├── addresses-api.ts │ │ ├── balances-api.ts │ │ ├── cards-api.ts │ │ ├── cbitapi.ts │ │ ├── channels-api.ts │ │ ├── chargebacks-api.ts │ │ ├── checkout-sessions-api.ts │ │ ├── crypto-address-book-api.ts │ │ ├── crypto-exchange-rates-api.ts │ │ ├── crypto-payment-intents-api.ts │ │ ├── cubixapi.ts │ │ ├── deposits-api.ts │ │ ├── encryption-api.ts │ │ ├── health-api.ts │ │ ├── management-api.ts │ │ ├── payment-tokens-api.ts │ │ ├── payments-api.ts │ │ ├── payouts-api.ts │ │ ├── pixapi.ts │ │ ├── pull-crypto-payments-api.ts │ │ ├── settlements-api.ts │ │ ├── stablecoins-api.ts │ │ ├── subscriptions-api.ts │ │ ├── transfers-api.ts │ │ └── wires-api.ts │ ├── base.ts │ ├── common.ts │ ├── configuration.ts │ ├── index.ts │ ├── models │ │ ├── account-configuration.ts │ │ ├── address-book-recipient-metadata.ts │ │ ├── address-book-recipient-modify-request.ts │ │ ├── address-book-recipient-request.ts │ │ ├── address-book-recipient.ts │ │ ├── address-object.ts │ │ ├── apple-pay-token-ec-header.ts │ │ ├── apple-pay-token-header.ts │ │ ├── apple-pay-token-rsa-header.ts │ │ ├── apple-pay-token.ts │ │ ├── bad-request.ts │ │ ├── balances.ts │ │ ├── bank-address-iban-supported.ts │ │ ├── bank-address-non-iban.ts │ │ ├── bank-address.ts │ │ ├── bank-destination.ts │ │ ├── basic-chargeback-history.ts │ │ ├── basic-chargeback.ts │ │ ├── billing-details.ts │ │ ├── burn-fee-net-amount.ts │ │ ├── burn-fee-payment-amount.ts │ │ ├── burn-fee-payout-amount.ts │ │ ├── business-account-payout-destination-type.ts │ │ ├── business-deposit.ts │ │ ├── business-destination-request.ts │ │ ├── business-generate-address-request.ts │ │ ├── business-payout-creation-request.ts │ │ ├── business-payout.ts │ │ ├── business-pix-account-instructions-response.ts │ │ ├── business-recipient-address-creation-request.ts │ │ ├── business-recipient-address-object.ts │ │ ├── business-transfer-creation-request.ts │ │ ├── cancel-creation-request.ts │ │ ├── cancel-payment-response.ts │ │ ├── cancel-refund-reversal-status.ts │ │ ├── capture-creation-request.ts │ │ ├── card-creation-request.ts │ │ ├── card-update.ts │ │ ├── card-verification-response.ts │ │ ├── card.ts │ │ ├── cbit-fiat-account-creation-request.ts │ │ ├── cbit-fiat-account-response.ts │ │ ├── cbit-instruction.ts │ │ ├── chain.ts │ │ ├── channel-response.ts │ │ ├── chargeback-categories.ts │ │ ├── chargeback-status.ts │ │ ├── checkout-session-creation-request.ts │ │ ├── checkout-session-money.ts │ │ ├── checkout-session-status.ts │ │ ├── checkout-session.ts │ │ ├── conflict.ts │ │ ├── continuous-payment-intent-creation-request.ts │ │ ├── continuous-payment-intent.ts │ │ ├── create-address-book-recipient-response.ts │ │ ├── create-business-cbit-account-response.ts │ │ ├── create-business-cubix-account-response.ts │ │ ├── create-business-deposit-address-response.ts │ │ ├── create-business-payout-response.ts │ │ ├── create-business-pix-account-response.ts │ │ ├── create-business-recipient-address-response.ts │ │ ├── create-business-transfer-response.ts │ │ ├── create-business-wire-account-response.ts │ │ ├── create-card-response.ts │ │ ├── create-checkout-session-response.ts │ │ ├── create-crypto-payment-response.ts │ │ ├── create-crypto-payment-response1.ts │ │ ├── create-crypto-refund-response.ts │ │ ├── create-mock-chargeback-response.ts │ │ ├── create-payment-intent-request.ts │ │ ├── create-payment-intent-response-data.ts │ │ ├── create-payment-intent-response.ts │ │ ├── create-payment-response.ts │ │ ├── create-payment-token-response.ts │ │ ├── create-payout-response.ts │ │ ├── create-subscription-response.ts │ │ ├── create-wire-payment-response.ts │ │ ├── crypto-payment-creation-request.ts │ │ ├── crypto-payment-deposit-address.ts │ │ ├── crypto-payment-destination.ts │ │ ├── crypto-payment-from-addresses.ts │ │ ├── crypto-payment-network-fee.ts │ │ ├── crypto-payment-source.ts │ │ ├── crypto-payment.ts │ │ ├── crypto-payments-money.ts │ │ ├── crypto-payments-optional-amount-money.ts │ │ ├── crypto-payout-creation-request.ts │ │ ├── crypto-payout-destination-type.ts │ │ ├── crypto-payout-destination.ts │ │ ├── crypto-payout.ts │ │ ├── crypto-refund-creation-request-amount.ts │ │ ├── crypto-refund-creation-request-to-amount.ts │ │ ├── crypto-refund-creation-request.ts │ │ ├── crypto-refund-destination.ts │ │ ├── cubix-fiat-account-creation-request.ts │ │ ├── cubix-fiat-account-response.ts │ │ ├── cubix-instruction.ts │ │ ├── currency.ts │ │ ├── cvv-results.ts │ │ ├── delete-subscription-response.ts │ │ ├── detailed-cancel.ts │ │ ├── detailed-payment.ts │ │ ├── detailed-refund.ts │ │ ├── eci.ts │ │ ├── exchange-rate-request-from.ts │ │ ├── exchange-rate-request-to.ts │ │ ├── exchange-rate-request.ts │ │ ├── exchange-rate-response.ts │ │ ├── expire-payment-intent-response.ts │ │ ├── extend-checkout-session-request.ts │ │ ├── extend-checkout-session-response.ts │ │ ├── external-fiat-account-status.ts │ │ ├── fee.ts │ │ ├── fetch-exchange-rate-response.ts │ │ ├── fiat-cancel.ts │ │ ├── fiat-currency.ts │ │ ├── fiat-money-usd.ts │ │ ├── fiat-money.ts │ │ ├── fiat-optional-amount-money.ts │ │ ├── fiat-payment-polymorphic.ts │ │ ├── fiat-payment.ts │ │ ├── fiat-payout-to-money.ts │ │ ├── fiat-refund.ts │ │ ├── final-adjustments.ts │ │ ├── forbidden.ts │ │ ├── get-address-book-recipient-response.ts │ │ ├── get-business-cbit-account-response.ts │ │ ├── get-business-cubix-account-response.ts │ │ ├── get-business-deposit-address-response.ts │ │ ├── get-business-payout-response.ts │ │ ├── get-business-pix-account-response.ts │ │ ├── get-business-transfer-response.ts │ │ ├── get-business-wire-account-instructions-response.ts │ │ ├── get-business-wire-account-response.ts │ │ ├── get-card-response.ts │ │ ├── get-chargeback-response.ts │ │ ├── get-checkout-session-response.ts │ │ ├── get-config-response.ts │ │ ├── get-exchange-rates-response.ts │ │ ├── get-payment-intent-response.ts │ │ ├── get-payment-response-data.ts │ │ ├── get-payment-response.ts │ │ ├── get-payout-response.ts │ │ ├── get-public-key-response.ts │ │ ├── get-settlement-response.ts │ │ ├── get-settlements-response.ts │ │ ├── google-pay-token.ts │ │ ├── identity-address.ts │ │ ├── identity.ts │ │ ├── index.ts │ │ ├── limit-exceeded.ts │ │ ├── list-address-book-recipients-response.ts │ │ ├── list-balances-response.ts │ │ ├── list-burn-fee-calculations-response.ts │ │ ├── list-business-balances-response.ts │ │ ├── list-business-cbit-account-instructions-response.ts │ │ ├── list-business-cbit-accounts-response.ts │ │ ├── list-business-cubix-account-instructions-response.ts │ │ ├── list-business-cubix-accounts-response.ts │ │ ├── list-business-deposits-response.ts │ │ ├── list-business-payouts-response.ts │ │ ├── list-business-pix-accounts-response.ts │ │ ├── list-business-recipient-addresses-response.ts │ │ ├── list-business-transfers-response.ts │ │ ├── list-business-wire-accounts-response.ts │ │ ├── list-cards-response.ts │ │ ├── list-channels-response.ts │ │ ├── list-chargebacks-response.ts │ │ ├── list-checkout-sessions-response.ts │ │ ├── list-payment-intents-response-data-inner.ts │ │ ├── list-payment-intents-response.ts │ │ ├── list-payments-response-data-inner.ts │ │ ├── list-payments-response.ts │ │ ├── list-payouts-response.ts │ │ ├── list-stablecoins-response.ts │ │ ├── list-subscriptions-response.ts │ │ ├── metadata-card-and-ach.ts │ │ ├── metadata-crypto-payment.ts │ │ ├── metadata-payment.ts │ │ ├── metadata-phone-email.ts │ │ ├── mock-chargeback-creation-request.ts │ │ ├── mock-wire-payment-beneficiary-bank-instruction.ts │ │ ├── mock-wire-payment-request.ts │ │ ├── mock-wire-payment-response.ts │ │ ├── modify-address-book-recipient-response.ts │ │ ├── money.ts │ │ ├── network-fee-quote.ts │ │ ├── not-authorized.ts │ │ ├── not-found.ts │ │ ├── payment-creation-request.ts │ │ ├── payment-error-code.ts │ │ ├── payment-info-cancel.ts │ │ ├── payment-info-payment-and-refund.ts │ │ ├── payment-intent-creation-request.ts │ │ ├── payment-intent-fees.ts │ │ ├── payment-intent.ts │ │ ├── payment-method-blockchain.ts │ │ ├── payment-status.ts │ │ ├── payment-token-request-token-data.ts │ │ ├── payment-token-request.ts │ │ ├── payment-token.ts │ │ ├── payment-verification-response.ts │ │ ├── payout-destination-type.ts │ │ ├── payout-error-code.ts │ │ ├── payout-money.ts │ │ ├── payout-status.ts │ │ ├── ping.ts │ │ ├── pix-account-type.ts │ │ ├── pix-fiat-account-creation-request.ts │ │ ├── pix-fiat-account-response.ts │ │ ├── pix-instruction.ts │ │ ├── presign-domain.ts │ │ ├── presign-message-types-items.ts │ │ ├── presign-message-types.ts │ │ ├── presign-message.ts │ │ ├── presign-response-typed-data.ts │ │ ├── presign-response.ts │ │ ├── public-key.ts │ │ ├── rate.ts │ │ ├── redemption-fee-calculation.ts │ │ ├── refund-creation-request.ts │ │ ├── refund-payment-response.ts │ │ ├── required-action.ts │ │ ├── reversal-reason.ts │ │ ├── risk-evaluation.ts │ │ ├── settlement.ts │ │ ├── simple-billing-details.ts │ │ ├── simple-card.ts │ │ ├── source-response.ts │ │ ├── source.ts │ │ ├── stablecoin.ts │ │ ├── subscription-detail.ts │ │ ├── subscription-request.ts │ │ ├── subscription-response.ts │ │ ├── three-ds-result.ts │ │ ├── timeline.ts │ │ ├── to-amount.ts │ │ ├── token-amount.ts │ │ ├── tokenized-card-details.ts │ │ ├── transfer-destination-blockchain-location.ts │ │ ├── transfer-destination-location.ts │ │ ├── transfer-destination-wallet-location.ts │ │ ├── transfer-error-code.ts │ │ ├── transfer-request-verified-blockchain-location.ts │ │ ├── transfer-source-blockchain-location.ts │ │ ├── transfer-source-location.ts │ │ ├── transfer-source-wallet-location.ts │ │ ├── transfer-type-info-additional-properties.ts │ │ ├── transfer-type-info.ts │ │ ├── transfer.ts │ │ ├── unwithdrawal-object.ts │ │ ├── update-billing-details.ts │ │ ├── update-card-response.ts │ │ ├── verification-error-code.ts │ │ ├── wallet-config.ts │ │ ├── wallet-location.ts │ │ ├── wire-creation-request-account-number.ts │ │ ├── wire-creation-request-iban.ts │ │ ├── wire-creation-request-us.ts │ │ ├── wire-creation-request.ts │ │ ├── wire-instruction-beneficiary-bank.ts │ │ ├── wire-instruction-beneficiary.ts │ │ ├── wire-instruction.ts │ │ └── wire.ts │ └── tsconfig.esm.json └── index.ts ├── templates └── typescript-axios │ ├── apiInner.mustache │ ├── common.mustache │ ├── configuration.mustache │ ├── index.mustache │ └── licenseInfo.mustache ├── tests └── circle.test.ts ├── tsconfig.eslint.json ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es2021": true 5 | }, 6 | "extends": "standard-with-typescript", 7 | "overrides": [], 8 | "parserOptions": { 9 | "project": "./tsconfig.eslint.json", 10 | "ecmaVersion": "latest", 11 | "sourceType": "module" 12 | }, 13 | "rules": { 14 | "@typescript-eslint/semi": ["error", "always"], 15 | "@typescript-eslint/quotes": ["error", "double"], 16 | "@typescript-eslint/space-before-function-paren": [ 17 | "error", 18 | { 19 | "anonymous": "always", 20 | "named": "never", 21 | "asyncArrow": "always" 22 | } 23 | ] 24 | }, 25 | "ignorePatterns": ["src/generated/*", "dist/*"] 26 | } 27 | -------------------------------------------------------------------------------- /.github/workflows/commit-lint.yml: -------------------------------------------------------------------------------- 1 | name: Commit Lint 2 | 3 | on: 4 | pull_request: 5 | branches: [master] 6 | 7 | jobs: 8 | commit_lint: 9 | name: "Lint commit messages" 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | with: 14 | fetch-depth: 0 15 | - uses: actions/setup-node@v4 16 | with: 17 | node-version: 16 18 | - run: yarn install --frozen-lockfile 19 | - run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose 20 | -------------------------------------------------------------------------------- /.github/workflows/pull_request_checks.yml: -------------------------------------------------------------------------------- 1 | name: Pull Request Checks 2 | 3 | on: 4 | pull_request: 5 | branches: [master] 6 | 7 | jobs: 8 | lint: 9 | name: "Lint, Build and Test" 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - uses: actions/setup-node@v4 14 | - name: Installing dependencies 15 | run: yarn install --frozen-lockfile 16 | - name: Prettier check 17 | run: yarn run format-check 18 | - name: Running ESLint 19 | run: yarn lint 20 | - name: Build check 21 | run: yarn build 22 | - name: Running unit test's 23 | run: yarn test 24 | 25 | scan: 26 | needs: lint 27 | uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1 28 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | on: 2 | push: 3 | branches: [master] 4 | 5 | name: release-please 6 | jobs: 7 | release-please: 8 | uses: circlefin/circle-public-github-workflows/.github/workflows/conventional-commit-release.yaml@v1 9 | if: ${{ github.repository_owner == 'circlefin' }} 10 | with: 11 | release_type: node 12 | changelog_types: | 13 | [ 14 | {"type":"feat","section":"New Features","hidden":false}, 15 | {"type":"fix","section":"Fixes","hidden":false}, 16 | {"type":"chore","section":"Miscellaneous","hidden":true} 17 | 18 | npm-publish: 19 | needs: release-please 20 | if: needs.release-please.outputs.did-create-release 21 | uses: ./.github/workflows/npm-publish.yml 22 | secrets: inherit 23 | 24 | release-sbom: 25 | needs: release-please 26 | if: needs.release-please.outputs.release_created 27 | uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1 28 | with: 29 | release_tag: ${{ needs.release-please.outputs.release-tag }} 30 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx --no -- commitlint --edit "${1}" 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock = false 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | templates 4 | coverage 5 | 6 | *.md -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "trailingComma": "none", 4 | "singleQuote": false, 5 | "printWidth": 80 6 | } 7 | -------------------------------------------------------------------------------- /OPENAPI_VERSION: -------------------------------------------------------------------------------- 1 | 2.14.0 2 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | Please do not file public issues on Github for security vulnerabilities. All security vulnerabilities should be reported to Circle privately, through Circle's [Vulnerability Disclosure Program](https://hackerone.com/circle). Please read through the program policy before submitting a report. -------------------------------------------------------------------------------- /build-utils/gen-sdk.sh: -------------------------------------------------------------------------------- 1 | find src/generated -name '*.ts' -delete 2 | 3 | npx openapi-generator-cli generate -g typescript-axios \ 4 | -i sdk.json \ 5 | -o ./src/generated/ \ 6 | -p npmName=circle,supportsES6=true,modelPropertyNaming=original,apiPackage=apis,modelPackage=models \ 7 | -t ./templates/typescript-axios --additional-properties=withSeparateModelsAndApi=true 8 | 9 | npx ts-node build-utils/mustache-camelize.ts src/generated/index.ts > src/generated/index-temp.ts 10 | 11 | mv src/generated/index-temp.ts src/generated/index.ts 12 | 13 | yarn lint-fix 14 | yarn format -------------------------------------------------------------------------------- /build-utils/mustache-camelize.ts: -------------------------------------------------------------------------------- 1 | import Mustache from "mustache"; 2 | import * as fs from "fs"; 3 | 4 | const customTags: Mustache.OpeningAndClosingTags = ["<%", "%>"]; 5 | 6 | const template = fs.readFileSync(process.argv[2], "utf8"); 7 | 8 | function camelize(text: string): string { 9 | if (text.length === 0) return text; 10 | 11 | const isAllCaps = text.toUpperCase() === text; 12 | if (isAllCaps) { 13 | return text.toLowerCase(); 14 | } else { 15 | return text[0].toLowerCase() + text.substring(1); 16 | } 17 | } 18 | const view = { 19 | camelize: function () { 20 | return function (text: string, render: any): string { 21 | return camelize(text); 22 | }; 23 | } 24 | }; 25 | 26 | const output = Mustache.render(template, view, {}, customTags); 27 | process.stdout.write(output); 28 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ["@commitlint/config-conventional"] }; 2 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ 2 | module.exports = { 3 | preset: "ts-jest", 4 | testEnvironment: "node", 5 | testPathIgnorePatterns: ["node_modules", "dist"], 6 | coverageProvider: "v8", 7 | coverageDirectory: "tests/coverage", 8 | collectCoverage: true, 9 | coveragePathIgnorePatterns: ["node_modules", "dist", "generated"], 10 | coverageThreshold: { 11 | global: { 12 | branches: 95, 13 | functions: 95, 14 | lines: 95, 15 | statements: -10 16 | } 17 | } 18 | }; 19 | -------------------------------------------------------------------------------- /openapitools.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", 3 | "spaces": 2, 4 | "generator-cli": { 5 | "version": "6.2.1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/generated/.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .npmignore 3 | README.md 4 | git_push.sh 5 | package.json 6 | package-lock.json 7 | tsconfig.json -------------------------------------------------------------------------------- /src/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.2.1 -------------------------------------------------------------------------------- /src/generated/api.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | export * from "./apis/addresses-api"; 10 | export * from "./apis/balances-api"; 11 | export * from "./apis/cbitapi"; 12 | export * from "./apis/cubixapi"; 13 | export * from "./apis/cards-api"; 14 | export * from "./apis/channels-api"; 15 | export * from "./apis/chargebacks-api"; 16 | export * from "./apis/checkout-sessions-api"; 17 | export * from "./apis/crypto-address-book-api"; 18 | export * from "./apis/crypto-exchange-rates-api"; 19 | export * from "./apis/crypto-payment-intents-api"; 20 | export * from "./apis/deposits-api"; 21 | export * from "./apis/encryption-api"; 22 | export * from "./apis/health-api"; 23 | export * from "./apis/management-api"; 24 | export * from "./apis/pixapi"; 25 | export * from "./apis/payment-tokens-api"; 26 | export * from "./apis/payments-api"; 27 | export * from "./apis/payouts-api"; 28 | export * from "./apis/pull-crypto-payments-api"; 29 | export * from "./apis/settlements-api"; 30 | export * from "./apis/stablecoins-api"; 31 | export * from "./apis/subscriptions-api"; 32 | export * from "./apis/transfers-api"; 33 | export * from "./apis/wires-api"; 34 | -------------------------------------------------------------------------------- /src/generated/models/account-configuration.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { WalletConfig } from "./wallet-config"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface AccountConfiguration 17 | */ 18 | export interface AccountConfiguration { 19 | /** 20 | * 21 | * @type {WalletConfig} 22 | * @memberof AccountConfiguration 23 | */ 24 | payments?: WalletConfig; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/address-book-recipient-metadata.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface AddressBookRecipientMetadata 13 | */ 14 | export interface AddressBookRecipientMetadata { 15 | /** 16 | * Nickname related to the address. 17 | * @type {string} 18 | * @memberof AddressBookRecipientMetadata 19 | */ 20 | nickname?: string; 21 | /** 22 | * Email of the user. 23 | * @type {string} 24 | * @memberof AddressBookRecipientMetadata 25 | */ 26 | email?: string; 27 | /** 28 | * Blockchain Name Service (e.g. ENS) domain for the address. 29 | * @type {string} 30 | * @memberof AddressBookRecipientMetadata 31 | */ 32 | bns?: string; 33 | } 34 | -------------------------------------------------------------------------------- /src/generated/models/address-book-recipient-modify-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressBookRecipientMetadata } from "./address-book-recipient-metadata"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface AddressBookRecipientModifyRequest 17 | */ 18 | export interface AddressBookRecipientModifyRequest { 19 | /** 20 | * 21 | * @type {AddressBookRecipientMetadata} 22 | * @memberof AddressBookRecipientModifyRequest 23 | */ 24 | metadata?: AddressBookRecipientMetadata; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/address-object.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { Currency } from "./currency"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface AddressObject 20 | */ 21 | export interface AddressObject { 22 | /** 23 | * An alphanumeric string representing a blockchain address. Will be in different formats for different chains. It is important to preserve the exact formatting and capitalization of the address. 24 | * @type {string} 25 | * @memberof AddressObject 26 | */ 27 | address?: string; 28 | /** 29 | * The secondary identifier for a blockchain address. An example of this is the memo field on the Stellar network, which can be text, id, or hash format. 30 | * @type {string} 31 | * @memberof AddressObject 32 | */ 33 | addressTag?: string | null; 34 | /** 35 | * 36 | * @type {Currency} 37 | * @memberof AddressObject 38 | */ 39 | currency?: Currency | null; 40 | /** 41 | * 42 | * @type {Chain} 43 | * @memberof AddressObject 44 | */ 45 | chain?: Chain; 46 | } 47 | -------------------------------------------------------------------------------- /src/generated/models/apple-pay-token-ec-header.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface ApplePayTokenEcHeader 13 | */ 14 | export interface ApplePayTokenEcHeader { 15 | /** 16 | * Optional. Hash of the applicationData property of the original PKPaymentRequest object. If the value of that property is null, this key is omitted. 17 | * @type {string} 18 | * @memberof ApplePayTokenEcHeader 19 | */ 20 | applicationData?: string; 21 | /** 22 | * Ephemeral public key bytes. 23 | * @type {string} 24 | * @memberof ApplePayTokenEcHeader 25 | */ 26 | ephemeralPublicKey: string; 27 | /** 28 | * Hash of the X.509 encoded public key bytes of the merchant’s certificate. 29 | * @type {string} 30 | * @memberof ApplePayTokenEcHeader 31 | */ 32 | publicKeyHash: string; 33 | /** 34 | * Transaction identifier, generated on the device. 35 | * @type {string} 36 | * @memberof ApplePayTokenEcHeader 37 | */ 38 | transactionId: string; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/apple-pay-token-header.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ApplePayTokenEcHeader } from "./apple-pay-token-ec-header"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { ApplePayTokenRsaHeader } from "./apple-pay-token-rsa-header"; 15 | 16 | /** 17 | * @type ApplePayTokenHeader 18 | * Additional version-dependent information used to decrypt and verify the payment. 19 | * @export 20 | */ 21 | export type ApplePayTokenHeader = 22 | | ApplePayTokenEcHeader 23 | | ApplePayTokenRsaHeader; 24 | -------------------------------------------------------------------------------- /src/generated/models/apple-pay-token-rsa-header.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface ApplePayTokenRsaHeader 13 | */ 14 | export interface ApplePayTokenRsaHeader { 15 | /** 16 | * Optional. Hash of the applicationData property of the original PKPaymentRequest object. If the value of that property is null, this key is omitted. 17 | * @type {string} 18 | * @memberof ApplePayTokenRsaHeader 19 | */ 20 | applicationData?: string; 21 | /** 22 | * The symmetric key wrapped using your RSA public key. 23 | * @type {string} 24 | * @memberof ApplePayTokenRsaHeader 25 | */ 26 | wrappedKey: string; 27 | /** 28 | * Hash of the X.509 encoded public key bytes of the merchant’s certificate. 29 | * @type {string} 30 | * @memberof ApplePayTokenRsaHeader 31 | */ 32 | publicKeyHash: string; 33 | /** 34 | * Transaction identifier, generated on the device. 35 | * @type {string} 36 | * @memberof ApplePayTokenRsaHeader 37 | */ 38 | transactionId: string; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/apple-pay-token.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ApplePayTokenHeader } from "./apple-pay-token-header"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ApplePayToken 17 | */ 18 | export interface ApplePayToken { 19 | /** 20 | * ApplePay token version information. 21 | * @type {string} 22 | * @memberof ApplePayToken 23 | */ 24 | version: ApplePayTokenVersionEnum; 25 | /** 26 | * Encrypted payment data. Base64 encoded as a string. 27 | * @type {string} 28 | * @memberof ApplePayToken 29 | */ 30 | data: string; 31 | /** 32 | * Signature of the payment and header data. The signature includes the signing certificate, its intermediate CA certificate, and information about the signing algorithm. 33 | * @type {string} 34 | * @memberof ApplePayToken 35 | */ 36 | signature: string; 37 | /** 38 | * 39 | * @type {ApplePayTokenHeader} 40 | * @memberof ApplePayToken 41 | */ 42 | header: ApplePayTokenHeader; 43 | } 44 | 45 | export const ApplePayTokenVersionEnum = { 46 | EcV1: "EC_v1", 47 | RsaV1: "RSA_v1" 48 | } as const; 49 | 50 | export type ApplePayTokenVersionEnum = 51 | typeof ApplePayTokenVersionEnum[keyof typeof ApplePayTokenVersionEnum]; 52 | -------------------------------------------------------------------------------- /src/generated/models/bad-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface BadRequest 13 | */ 14 | export interface BadRequest { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof BadRequest 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof BadRequest 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/balances.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Money } from "./money"; 12 | 13 | /** 14 | * Available and unsettled balances of the merchant. 15 | * @export 16 | * @interface Balances 17 | */ 18 | export interface Balances { 19 | /** 20 | * List of currency balances (one for each currency) that are currently available to spend. 21 | * @type {Array} 22 | * @memberof Balances 23 | */ 24 | available: Array; 25 | /** 26 | * List of currency balances (one for each currency) that have been captured but are currently in the process of settling and will become available to spend at some point in the future. 27 | * @type {Array} 28 | * @memberof Balances 29 | */ 30 | unsettled: Array; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/bank-address-non-iban.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The address of the bank. BankName, City and Country fields are required. 11 | * @export 12 | * @interface BankAddressNonIban 13 | */ 14 | export interface BankAddressNonIban { 15 | /** 16 | * Name of the bank. This property is required for bank accounts outside of the US that do not support IBAN\' 17 | * @type {string} 18 | * @memberof BankAddressNonIban 19 | */ 20 | bankName: string; 21 | /** 22 | * City portion of the address. This property is required for bank accounts outside of the US. 23 | * @type {string} 24 | * @memberof BankAddressNonIban 25 | */ 26 | city: string; 27 | /** 28 | * Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2. 29 | * @type {string} 30 | * @memberof BankAddressNonIban 31 | */ 32 | country: string; 33 | /** 34 | * Line one of the street address. 35 | * @type {string} 36 | * @memberof BankAddressNonIban 37 | */ 38 | line1?: string; 39 | /** 40 | * Line two of the street address. 41 | * @type {string} 42 | * @memberof BankAddressNonIban 43 | */ 44 | line2?: string; 45 | /** 46 | * State / County / Province / Region portion of the address. US and Canada use the two-letter code for the subdivision. 47 | * @type {string} 48 | * @memberof BankAddressNonIban 49 | */ 50 | district?: string; 51 | } 52 | -------------------------------------------------------------------------------- /src/generated/models/bank-address.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The address details for the bank, as provided during bank account creation. 11 | * @export 12 | * @interface BankAddress 13 | */ 14 | export interface BankAddress { 15 | /** 16 | * Name of the bank. This property is required for bank accounts outside of the US that do not support IBAN\' 17 | * @type {string} 18 | * @memberof BankAddress 19 | */ 20 | bankName?: string; 21 | /** 22 | * City portion of the address. This property is required for bank accounts outside of the US. 23 | * @type {string} 24 | * @memberof BankAddress 25 | */ 26 | city?: string; 27 | /** 28 | * Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2. 29 | * @type {string} 30 | * @memberof BankAddress 31 | */ 32 | country: string; 33 | /** 34 | * Line one of the street address. 35 | * @type {string} 36 | * @memberof BankAddress 37 | */ 38 | line1?: string; 39 | /** 40 | * Line two of the street address. 41 | * @type {string} 42 | * @memberof BankAddress 43 | */ 44 | line2?: string; 45 | /** 46 | * State / County / Province / Region portion of the address. US and Canada use the two-letter code for the subdivision. 47 | * @type {string} 48 | * @memberof BankAddress 49 | */ 50 | district?: string; 51 | } 52 | -------------------------------------------------------------------------------- /src/generated/models/bank-destination.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessAccountPayoutDestinationType } from "./business-account-payout-destination-type"; 12 | 13 | /** 14 | * The destination bank account. 15 | * @export 16 | * @interface BankDestination 17 | */ 18 | export interface BankDestination { 19 | /** 20 | * 21 | * @type {BusinessAccountPayoutDestinationType} 22 | * @memberof BankDestination 23 | */ 24 | type: BusinessAccountPayoutDestinationType; 25 | /** 26 | * Unique system generated identifier for the entity. 27 | * @type {string} 28 | * @memberof BankDestination 29 | */ 30 | id: string; 31 | /** 32 | * Bank name plus last four digits of the bank account number or IBAN. 33 | * @type {string} 34 | * @memberof BankDestination 35 | */ 36 | name?: string; 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/models/billing-details.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface BillingDetails 13 | */ 14 | export interface BillingDetails { 15 | /** 16 | * Full name of the card or bank account holder. 17 | * @type {string} 18 | * @memberof BillingDetails 19 | */ 20 | name: string; 21 | /** 22 | * City portion of the address. 23 | * @type {string} 24 | * @memberof BillingDetails 25 | */ 26 | city: string; 27 | /** 28 | * Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2. 29 | * @type {string} 30 | * @memberof BillingDetails 31 | */ 32 | country: string; 33 | /** 34 | * Line one of the street address. 35 | * @type {string} 36 | * @memberof BillingDetails 37 | */ 38 | line1: string; 39 | /** 40 | * Line two of the street address. 41 | * @type {string} 42 | * @memberof BillingDetails 43 | */ 44 | line2?: string; 45 | /** 46 | * State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision. 47 | * @type {string} 48 | * @memberof BillingDetails 49 | */ 50 | district?: string; 51 | /** 52 | * Postal / ZIP code of the address. 53 | * @type {string} 54 | * @memberof BillingDetails 55 | */ 56 | postalCode: string; 57 | } 58 | -------------------------------------------------------------------------------- /src/generated/models/burn-fee-net-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface BurnFeeNetAmount 17 | */ 18 | export interface BurnFeeNetAmount { 19 | /** 20 | * Sum of all initiated payouts minus sum of all received push payments, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof BurnFeeNetAmount 23 | */ 24 | amount: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof BurnFeeNetAmount 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/burn-fee-payment-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface BurnFeePaymentAmount 17 | */ 18 | export interface BurnFeePaymentAmount { 19 | /** 20 | * Sum of all push payments received, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof BurnFeePaymentAmount 23 | */ 24 | amount: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof BurnFeePaymentAmount 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/burn-fee-payout-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface BurnFeePayoutAmount 17 | */ 18 | export interface BurnFeePayoutAmount { 19 | /** 20 | * Sum of all initiated payouts, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof BurnFeePayoutAmount 23 | */ 24 | amount: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof BurnFeePayoutAmount 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/business-account-payout-destination-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The destination bank account type. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const BusinessAccountPayoutDestinationType = { 16 | Wire: "wire", 17 | Cbit: "cbit", 18 | Cubix: "cubix" 19 | } as const; 20 | 21 | export type BusinessAccountPayoutDestinationType = 22 | typeof BusinessAccountPayoutDestinationType[keyof typeof BusinessAccountPayoutDestinationType]; 23 | -------------------------------------------------------------------------------- /src/generated/models/business-destination-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The destination bank account. 11 | * @export 12 | * @interface BusinessDestinationRequest 13 | */ 14 | export interface BusinessDestinationRequest { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof BusinessDestinationRequest 19 | */ 20 | type: BusinessDestinationRequestTypeEnum; 21 | /** 22 | * Unique system generated identifier for the entity. 23 | * @type {string} 24 | * @memberof BusinessDestinationRequest 25 | */ 26 | id: string; 27 | } 28 | 29 | export const BusinessDestinationRequestTypeEnum = { 30 | Wire: "wire", 31 | Cbit: "cbit", 32 | Cubix: "cubix", 33 | Pix: "pix", 34 | Sepa: "sepa", 35 | SepaInstant: "sepa_instant" 36 | } as const; 37 | 38 | export type BusinessDestinationRequestTypeEnum = 39 | typeof BusinessDestinationRequestTypeEnum[keyof typeof BusinessDestinationRequestTypeEnum]; 40 | -------------------------------------------------------------------------------- /src/generated/models/business-generate-address-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { Currency } from "./currency"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface BusinessGenerateAddressRequest 20 | */ 21 | export interface BusinessGenerateAddressRequest { 22 | /** 23 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 24 | * @type {string} 25 | * @memberof BusinessGenerateAddressRequest 26 | */ 27 | idempotencyKey: string; 28 | /** 29 | * 30 | * @type {Currency} 31 | * @memberof BusinessGenerateAddressRequest 32 | */ 33 | currency: Currency | null; 34 | /** 35 | * 36 | * @type {Chain} 37 | * @memberof BusinessGenerateAddressRequest 38 | */ 39 | chain: Chain; 40 | } 41 | -------------------------------------------------------------------------------- /src/generated/models/business-payout-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessDestinationRequest } from "./business-destination-request"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { FiatMoney } from "./fiat-money"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { FiatPayoutToMoney } from "./fiat-payout-to-money"; 18 | 19 | /** 20 | * 21 | * @export 22 | * @interface BusinessPayoutCreationRequest 23 | */ 24 | export interface BusinessPayoutCreationRequest { 25 | /** 26 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 27 | * @type {string} 28 | * @memberof BusinessPayoutCreationRequest 29 | */ 30 | idempotencyKey: string; 31 | /** 32 | * 33 | * @type {BusinessDestinationRequest} 34 | * @memberof BusinessPayoutCreationRequest 35 | */ 36 | destination: BusinessDestinationRequest; 37 | /** 38 | * 39 | * @type {FiatMoney} 40 | * @memberof BusinessPayoutCreationRequest 41 | */ 42 | amount: FiatMoney; 43 | /** 44 | * 45 | * @type {FiatPayoutToMoney} 46 | * @memberof BusinessPayoutCreationRequest 47 | */ 48 | toAmount?: FiatPayoutToMoney; 49 | } 50 | -------------------------------------------------------------------------------- /src/generated/models/business-pix-account-instructions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PixInstruction } from "./pix-instruction"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface BusinessPixAccountInstructionsResponse 17 | */ 18 | export interface BusinessPixAccountInstructionsResponse { 19 | /** 20 | * 21 | * @type {PixInstruction} 22 | * @memberof BusinessPixAccountInstructionsResponse 23 | */ 24 | data?: PixInstruction; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/business-transfer-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Money } from "./money"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { TransferRequestVerifiedBlockchainLocation } from "./transfer-request-verified-blockchain-location"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface BusinessTransferCreationRequest 20 | */ 21 | export interface BusinessTransferCreationRequest { 22 | /** 23 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 24 | * @type {string} 25 | * @memberof BusinessTransferCreationRequest 26 | */ 27 | idempotencyKey: string; 28 | /** 29 | * 30 | * @type {TransferRequestVerifiedBlockchainLocation} 31 | * @memberof BusinessTransferCreationRequest 32 | */ 33 | destination: TransferRequestVerifiedBlockchainLocation; 34 | /** 35 | * 36 | * @type {Money} 37 | * @memberof BusinessTransferCreationRequest 38 | */ 39 | amount: Money; 40 | } 41 | -------------------------------------------------------------------------------- /src/generated/models/cancel-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ReversalReason } from "./reversal-reason"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CancelCreationRequest 17 | */ 18 | export interface CancelCreationRequest { 19 | /** 20 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 21 | * @type {string} 22 | * @memberof CancelCreationRequest 23 | */ 24 | idempotencyKey: string; 25 | /** 26 | * 27 | * @type {ReversalReason} 28 | * @memberof CancelCreationRequest 29 | */ 30 | reason?: ReversalReason; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/cancel-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { DetailedCancel } from "./detailed-cancel"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CancelPaymentResponse 17 | */ 18 | export interface CancelPaymentResponse { 19 | /** 20 | * 21 | * @type {DetailedCancel} 22 | * @memberof CancelPaymentResponse 23 | */ 24 | data?: DetailedCancel; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/cancel-refund-reversal-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated status of the payment. `pending` means the payment is waiting to be processed. `confirmed` means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. `paid` means settlement funds have been received and are available to the merchant. `failed` means something went wrong (most commonly that the payment was denied). Terminal states are `paid` and `failed`. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const CancelRefundReversalStatus = { 16 | Pending: "pending", 17 | Confirmed: "confirmed", 18 | Paid: "paid", 19 | Failed: "failed" 20 | } as const; 21 | 22 | export type CancelRefundReversalStatus = 23 | typeof CancelRefundReversalStatus[keyof typeof CancelRefundReversalStatus]; 24 | -------------------------------------------------------------------------------- /src/generated/models/capture-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatMoneyUsd } from "./fiat-money-usd"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CaptureCreationRequest 17 | */ 18 | export interface CaptureCreationRequest { 19 | /** 20 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 21 | * @type {string} 22 | * @memberof CaptureCreationRequest 23 | */ 24 | idempotencyKey: string; 25 | /** 26 | * 27 | * @type {FiatMoneyUsd} 28 | * @memberof CaptureCreationRequest 29 | */ 30 | amount?: FiatMoneyUsd; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/card-update.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { UpdateBillingDetails } from "./update-billing-details"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CardUpdate 17 | */ 18 | export interface CardUpdate { 19 | /** 20 | * Universally unique identifier (UUID v4) of the public key used in encryption. NOTE the sandbox environment uses the default value of `key1`. For this reason the example supplied is `key1` rather than a UUID. 21 | * @type {string} 22 | * @memberof CardUpdate 23 | */ 24 | keyId: string; 25 | /** 26 | * PGP encrypted base64 encoded string. Contains CVV. * **CVV (Card Verification Number)**: Three or four digit security code. REQUIRED\' 27 | * @type {string} 28 | * @memberof CardUpdate 29 | */ 30 | encryptedData: string; 31 | /** 32 | * Two digit number representing the card\'s expiration month. 33 | * @type {number} 34 | * @memberof CardUpdate 35 | */ 36 | expMonth?: number; 37 | /** 38 | * Four digit number representing the card\'s expiration year. 39 | * @type {number} 40 | * @memberof CardUpdate 41 | */ 42 | expYear?: number; 43 | /** 44 | * 45 | * @type {UpdateBillingDetails} 46 | * @memberof CardUpdate 47 | */ 48 | billingDetails?: UpdateBillingDetails; 49 | } 50 | -------------------------------------------------------------------------------- /src/generated/models/card-verification-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CvvResults } from "./cvv-results"; 12 | 13 | /** 14 | * Indicates the status of the card for verification purposes. 15 | * @export 16 | * @interface CardVerificationResponse 17 | */ 18 | export interface CardVerificationResponse { 19 | /** 20 | * Status of the AVS check. Raw AVS response, expressed as an upper-case letter. `not_requested` indicates check was not made. `pending` is pending/processing. 21 | * @type {string} 22 | * @memberof CardVerificationResponse 23 | */ 24 | avs: string; 25 | /** 26 | * 27 | * @type {CvvResults} 28 | * @memberof CardVerificationResponse 29 | */ 30 | cvv: CvvResults; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/cbit-fiat-account-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CbitFiatAccountCreationRequest 13 | */ 14 | export interface CbitFiatAccountCreationRequest { 15 | /** 16 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 17 | * @type {string} 18 | * @memberof CbitFiatAccountCreationRequest 19 | */ 20 | idempotencyKey: string; 21 | /** 22 | * CBIT wallet address. 23 | * @type {string} 24 | * @memberof CbitFiatAccountCreationRequest 25 | */ 26 | walletAddress: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/cbit-instruction.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CbitInstruction 13 | */ 14 | export interface CbitInstruction { 15 | /** 16 | * Circle tracking reference that needs to be set in the CBIT public description field. 17 | * @type {string} 18 | * @memberof CbitInstruction 19 | */ 20 | trackingRef?: string; 21 | /** 22 | * Circle wallet address that needs to be set in the CBIT recipient wallet field. 23 | * @type {string} 24 | * @memberof CbitInstruction 25 | */ 26 | walletAddress?: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/chain.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * A blockchain that a given currency is available on. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const Chain = { 16 | Algo: "ALGO", 17 | Arb: "ARB", 18 | Avax: "AVAX", 19 | Base: "BASE", 20 | Btc: "BTC", 21 | Celo: "CELO", 22 | Eth: "ETH", 23 | Flow: "FLOW", 24 | Hbar: "HBAR", 25 | Near: "NEAR", 26 | Noble: "NOBLE", 27 | Op: "OP", 28 | Pah: "PAH", 29 | Poly: "POLY", 30 | Sol: "SOL", 31 | Trx: "TRX", 32 | Xlm: "XLM" 33 | } as const; 34 | 35 | export type Chain = typeof Chain[keyof typeof Chain]; 36 | -------------------------------------------------------------------------------- /src/generated/models/channel-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface ChannelResponse 13 | */ 14 | export interface ChannelResponse { 15 | /** 16 | * Unique system generated identifier for the entity. 17 | * @type {string} 18 | * @memberof ChannelResponse 19 | */ 20 | id?: string; 21 | /** 22 | * Flag to indicate whether the channel is configured as default. At most one of the channels will have this flag set to true and the default channel is used when a payment request does not have the `channel` property set. 23 | * @type {boolean} 24 | * @memberof ChannelResponse 25 | */ 26 | default?: boolean; 27 | /** 28 | * Descriptor that appears on cardholders\' bank statements for card payments submitted through this channel. 29 | * @type {string} 30 | * @memberof ChannelResponse 31 | */ 32 | cardDescriptor?: string; 33 | /** 34 | * Descriptor that appears on end-users\' bank statements for ACH payments submitted through this channel. 35 | * @type {string} 36 | * @memberof ChannelResponse 37 | */ 38 | achDescriptor?: string; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/chargeback-categories.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated category of the chargeback status codes based on the chargeback status code. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const ChargebackCategories = { 16 | CanceledRecurringPayment: "Canceled Recurring Payment", 17 | CustomerDispute: "Customer Dispute", 18 | Fraudulent: "Fraudulent", 19 | General: "General", 20 | ProcessingError: "Processing Error", 21 | NotDefined: "Not Defined" 22 | } as const; 23 | 24 | export type ChargebackCategories = 25 | typeof ChargebackCategories[keyof typeof ChargebackCategories]; 26 | -------------------------------------------------------------------------------- /src/generated/models/chargeback-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated status of the chargeback. `active` means you’ve received a dispute and you need to submit evidence if you want to defend against it. \'resolved\' means the disputed payment had been refunded previously. Your account has not been debited. `pending` means we have acknowledged your evidence and forwarded it to the card issuer. `won` means you have won the dispute and your account has been credited. `lost` means the issuing bank has rejected your evidence and you have lost the dispute. There are no further financial implications. `canceled` means the issuing bank has canceled the dispute and your account has been credited. `closed` means the time to respond to this dispute has run out. No evidence can be submitted at this point. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const ChargebackStatus = { 16 | Active: "active", 17 | Resolved: "resolved", 18 | Pending: "pending", 19 | Won: "won", 20 | Lost: "lost", 21 | Canceled: "canceled", 22 | Closed: "closed" 23 | } as const; 24 | 25 | export type ChargebackStatus = 26 | typeof ChargebackStatus[keyof typeof ChargebackStatus]; 27 | -------------------------------------------------------------------------------- /src/generated/models/checkout-session-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CheckoutSessionMoney } from "./checkout-session-money"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CheckoutSessionCreationRequest 17 | */ 18 | export interface CheckoutSessionCreationRequest { 19 | /** 20 | * The URL returned to you through client-side callback when the payment is completed. 21 | * @type {string} 22 | * @memberof CheckoutSessionCreationRequest 23 | */ 24 | successUrl?: string; 25 | /** 26 | * 27 | * @type {CheckoutSessionMoney} 28 | * @memberof CheckoutSessionCreationRequest 29 | */ 30 | amount: CheckoutSessionMoney; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/checkout-session-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CheckoutSessionMoney 13 | */ 14 | export interface CheckoutSessionMoney { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof CheckoutSessionMoney 19 | */ 20 | amount: string; 21 | /** 22 | * A currency associated with a balance or address. 23 | * @type {string} 24 | * @memberof CheckoutSessionMoney 25 | */ 26 | currency: CheckoutSessionMoneyCurrencyEnum; 27 | } 28 | 29 | export const CheckoutSessionMoneyCurrencyEnum = { 30 | Usd: "USD", 31 | Eth: "ETH", 32 | Btc: "BTC" 33 | } as const; 34 | 35 | export type CheckoutSessionMoneyCurrencyEnum = 36 | typeof CheckoutSessionMoneyCurrencyEnum[keyof typeof CheckoutSessionMoneyCurrencyEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/checkout-session-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Status of the checkout session. Active: the checkout session is still in-progress. Completed: the payments of a checkout session is successful and the checkout session is completed. Expired: indicates that it expired and is no longer accepting any new payments. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const CheckoutSessionStatus = { 16 | Active: "active", 17 | Completed: "completed", 18 | Expired: "expired" 19 | } as const; 20 | 21 | export type CheckoutSessionStatus = 22 | typeof CheckoutSessionStatus[keyof typeof CheckoutSessionStatus]; 23 | -------------------------------------------------------------------------------- /src/generated/models/conflict.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Conflict 13 | */ 14 | export interface Conflict { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof Conflict 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof Conflict 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/create-address-book-recipient-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressBookRecipient } from "./address-book-recipient"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateAddressBookRecipientResponse 17 | */ 18 | export interface CreateAddressBookRecipientResponse { 19 | /** 20 | * 21 | * @type {AddressBookRecipient} 22 | * @memberof CreateAddressBookRecipientResponse 23 | */ 24 | data?: AddressBookRecipient; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-cbit-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessCbitAccountResponse 17 | */ 18 | export interface CreateBusinessCbitAccountResponse { 19 | /** 20 | * 21 | * @type {CbitFiatAccountResponse} 22 | * @memberof CreateBusinessCbitAccountResponse 23 | */ 24 | data?: CbitFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-cubix-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CubixFiatAccountResponse } from "./cubix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessCubixAccountResponse 17 | */ 18 | export interface CreateBusinessCubixAccountResponse { 19 | /** 20 | * 21 | * @type {CubixFiatAccountResponse} 22 | * @memberof CreateBusinessCubixAccountResponse 23 | */ 24 | data?: CubixFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-deposit-address-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressObject } from "./address-object"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessDepositAddressResponse 17 | */ 18 | export interface CreateBusinessDepositAddressResponse { 19 | /** 20 | * 21 | * @type {AddressObject} 22 | * @memberof CreateBusinessDepositAddressResponse 23 | */ 24 | data?: AddressObject; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-payout-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessPayout } from "./business-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessPayoutResponse 17 | */ 18 | export interface CreateBusinessPayoutResponse { 19 | /** 20 | * 21 | * @type {BusinessPayout} 22 | * @memberof CreateBusinessPayoutResponse 23 | */ 24 | data?: BusinessPayout; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-pix-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PixFiatAccountResponse } from "./pix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessPixAccountResponse 17 | */ 18 | export interface CreateBusinessPixAccountResponse { 19 | /** 20 | * 21 | * @type {PixFiatAccountResponse} 22 | * @memberof CreateBusinessPixAccountResponse 23 | */ 24 | data?: PixFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-recipient-address-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessRecipientAddressObject } from "./business-recipient-address-object"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessRecipientAddressResponse 17 | */ 18 | export interface CreateBusinessRecipientAddressResponse { 19 | /** 20 | * 21 | * @type {BusinessRecipientAddressObject} 22 | * @memberof CreateBusinessRecipientAddressResponse 23 | */ 24 | data?: BusinessRecipientAddressObject; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-transfer-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Transfer } from "./transfer"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessTransferResponse 17 | */ 18 | export interface CreateBusinessTransferResponse { 19 | /** 20 | * 21 | * @type {Transfer} 22 | * @memberof CreateBusinessTransferResponse 23 | */ 24 | data?: Transfer; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-business-wire-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Wire } from "./wire"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateBusinessWireAccountResponse 17 | */ 18 | export interface CreateBusinessWireAccountResponse { 19 | /** 20 | * 21 | * @type {Wire} 22 | * @memberof CreateBusinessWireAccountResponse 23 | */ 24 | data?: Wire; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-card-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Card } from "./card"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateCardResponse 17 | */ 18 | export interface CreateCardResponse { 19 | /** 20 | * 21 | * @type {Card} 22 | * @memberof CreateCardResponse 23 | */ 24 | data?: Card; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-checkout-session-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CheckoutSession } from "./checkout-session"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateCheckoutSessionResponse 17 | */ 18 | export interface CreateCheckoutSessionResponse { 19 | /** 20 | * 21 | * @type {CheckoutSession} 22 | * @memberof CreateCheckoutSessionResponse 23 | */ 24 | data?: CheckoutSession; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-crypto-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayment } from "./crypto-payment"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateCryptoPaymentResponse 17 | */ 18 | export interface CreateCryptoPaymentResponse { 19 | /** 20 | * 21 | * @type {CryptoPayment} 22 | * @memberof CreateCryptoPaymentResponse 23 | */ 24 | data?: CryptoPayment; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-crypto-payment-response1.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PresignResponse } from "./presign-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateCryptoPaymentResponse1 17 | */ 18 | export interface CreateCryptoPaymentResponse1 { 19 | /** 20 | * 21 | * @type {PresignResponse} 22 | * @memberof CreateCryptoPaymentResponse1 23 | */ 24 | data?: PresignResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-crypto-refund-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayment } from "./crypto-payment"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateCryptoRefundResponse 17 | */ 18 | export interface CreateCryptoRefundResponse { 19 | /** 20 | * 21 | * @type {CryptoPayment} 22 | * @memberof CreateCryptoRefundResponse 23 | */ 24 | data?: CryptoPayment; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-mock-chargeback-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CreateMockChargebackResponse 13 | */ 14 | export interface CreateMockChargebackResponse { 15 | /** 16 | * 17 | * @type {object} 18 | * @memberof CreateMockChargebackResponse 19 | */ 20 | data?: object; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/create-payment-intent-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ContinuousPaymentIntentCreationRequest } from "./continuous-payment-intent-creation-request"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { CryptoPaymentsMoney } from "./crypto-payments-money"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { PaymentIntentCreationRequest } from "./payment-intent-creation-request"; 18 | // May contain unused imports in some cases 19 | // @ts-ignore 20 | import { PaymentMethodBlockchain } from "./payment-method-blockchain"; 21 | 22 | /** 23 | * @type CreatePaymentIntentRequest 24 | * @export 25 | */ 26 | export type CreatePaymentIntentRequest = 27 | | ContinuousPaymentIntentCreationRequest 28 | | PaymentIntentCreationRequest; 29 | -------------------------------------------------------------------------------- /src/generated/models/create-payment-intent-response-data.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ContinuousPaymentIntent } from "./continuous-payment-intent"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { CryptoPaymentsMoney } from "./crypto-payments-money"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { PaymentIntent } from "./payment-intent"; 18 | // May contain unused imports in some cases 19 | // @ts-ignore 20 | import { PaymentIntentFees } from "./payment-intent-fees"; 21 | // May contain unused imports in some cases 22 | // @ts-ignore 23 | import { PaymentMethodBlockchain } from "./payment-method-blockchain"; 24 | // May contain unused imports in some cases 25 | // @ts-ignore 26 | import { Timeline } from "./timeline"; 27 | 28 | /** 29 | * @type CreatePaymentIntentResponseData 30 | * @export 31 | */ 32 | export type CreatePaymentIntentResponseData = 33 | | ContinuousPaymentIntent 34 | | PaymentIntent; 35 | -------------------------------------------------------------------------------- /src/generated/models/create-payment-intent-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CreatePaymentIntentResponseData } from "./create-payment-intent-response-data"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreatePaymentIntentResponse 17 | */ 18 | export interface CreatePaymentIntentResponse { 19 | /** 20 | * 21 | * @type {CreatePaymentIntentResponseData} 22 | * @memberof CreatePaymentIntentResponse 23 | */ 24 | data?: CreatePaymentIntentResponseData; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { DetailedPayment } from "./detailed-payment"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreatePaymentResponse 17 | */ 18 | export interface CreatePaymentResponse { 19 | /** 20 | * 21 | * @type {DetailedPayment} 22 | * @memberof CreatePaymentResponse 23 | */ 24 | data?: DetailedPayment; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-payment-token-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PaymentToken } from "./payment-token"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreatePaymentTokenResponse 17 | */ 18 | export interface CreatePaymentTokenResponse { 19 | /** 20 | * 21 | * @type {PaymentToken} 22 | * @memberof CreatePaymentTokenResponse 23 | */ 24 | data?: PaymentToken; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-payout-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayout } from "./crypto-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreatePayoutResponse 17 | */ 18 | export interface CreatePayoutResponse { 19 | /** 20 | * 21 | * @type {CryptoPayout} 22 | * @memberof CreatePayoutResponse 23 | */ 24 | data?: CryptoPayout; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-subscription-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { SubscriptionResponse } from "./subscription-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateSubscriptionResponse 17 | */ 18 | export interface CreateSubscriptionResponse { 19 | /** 20 | * 21 | * @type {SubscriptionResponse} 22 | * @memberof CreateSubscriptionResponse 23 | */ 24 | data?: SubscriptionResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/create-wire-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { MockWirePaymentResponse } from "./mock-wire-payment-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CreateWirePaymentResponse 17 | */ 18 | export interface CreateWirePaymentResponse { 19 | /** 20 | * 21 | * @type {MockWirePaymentResponse} 22 | * @memberof CreateWirePaymentResponse 23 | */ 24 | data?: MockWirePaymentResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payment-deposit-address.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CryptoPaymentDepositAddress 17 | */ 18 | export interface CryptoPaymentDepositAddress { 19 | /** 20 | * 21 | * @type {Chain} 22 | * @memberof CryptoPaymentDepositAddress 23 | */ 24 | chain?: Chain; 25 | /** 26 | * 27 | * @type {string} 28 | * @memberof CryptoPaymentDepositAddress 29 | */ 30 | address?: string; 31 | /** 32 | * The secondary identifier for a blockchain address. An example of this is the memo field on the Stellar network, which can be text, id, or hash format. 33 | * @type {string} 34 | * @memberof CryptoPaymentDepositAddress 35 | */ 36 | addressTag?: string | null; 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payment-destination.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CryptoPaymentDestination 13 | */ 14 | export interface CryptoPaymentDestination { 15 | /** 16 | * The destination address 17 | * @type {string} 18 | * @memberof CryptoPaymentDestination 19 | */ 20 | address: string; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof CryptoPaymentDestination 25 | */ 26 | chain: CryptoPaymentDestinationChainEnum; 27 | } 28 | 29 | export const CryptoPaymentDestinationChainEnum = { 30 | Eth: "ETH" 31 | } as const; 32 | 33 | export type CryptoPaymentDestinationChainEnum = 34 | typeof CryptoPaymentDestinationChainEnum[keyof typeof CryptoPaymentDestinationChainEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payment-from-addresses.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface CryptoPaymentFromAddresses 17 | */ 18 | export interface CryptoPaymentFromAddresses { 19 | /** 20 | * 21 | * @type {Chain} 22 | * @memberof CryptoPaymentFromAddresses 23 | */ 24 | chain?: Chain; 25 | /** 26 | * 27 | * @type {Array} 28 | * @memberof CryptoPaymentFromAddresses 29 | */ 30 | addresses?: Array; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payment-network-fee.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CryptoPaymentNetworkFee 13 | */ 14 | export interface CryptoPaymentNetworkFee { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof CryptoPaymentNetworkFee 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code for the amount. 23 | * @type {string} 24 | * @memberof CryptoPaymentNetworkFee 25 | */ 26 | currency: CryptoPaymentNetworkFeeCurrencyEnum; 27 | /** 28 | * The party that pays the network fee based on merchant configuration. 29 | * @type {string} 30 | * @memberof CryptoPaymentNetworkFee 31 | */ 32 | feePayer?: CryptoPaymentNetworkFeeFeePayerEnum; 33 | } 34 | 35 | export const CryptoPaymentNetworkFeeCurrencyEnum = { 36 | Usd: "USD", 37 | Eur: "EUR", 38 | Btc: "BTC", 39 | Eth: "ETH" 40 | } as const; 41 | 42 | export type CryptoPaymentNetworkFeeCurrencyEnum = 43 | typeof CryptoPaymentNetworkFeeCurrencyEnum[keyof typeof CryptoPaymentNetworkFeeCurrencyEnum]; 44 | export const CryptoPaymentNetworkFeeFeePayerEnum = { 45 | EndUser: "endUser", 46 | Merchant: "merchant" 47 | } as const; 48 | 49 | export type CryptoPaymentNetworkFeeFeePayerEnum = 50 | typeof CryptoPaymentNetworkFeeFeePayerEnum[keyof typeof CryptoPaymentNetworkFeeFeePayerEnum]; 51 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payment-source.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CryptoPaymentSource 13 | */ 14 | export interface CryptoPaymentSource { 15 | /** 16 | * The source address 17 | * @type {string} 18 | * @memberof CryptoPaymentSource 19 | */ 20 | address: string; 21 | /** 22 | * The source type 23 | * @type {string} 24 | * @memberof CryptoPaymentSource 25 | */ 26 | type: CryptoPaymentSourceTypeEnum; 27 | } 28 | 29 | export const CryptoPaymentSourceTypeEnum = { 30 | Blockchain: "blockchain" 31 | } as const; 32 | 33 | export type CryptoPaymentSourceTypeEnum = 34 | typeof CryptoPaymentSourceTypeEnum[keyof typeof CryptoPaymentSourceTypeEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payments-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CryptoPaymentsMoney 13 | */ 14 | export interface CryptoPaymentsMoney { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof CryptoPaymentsMoney 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code. 23 | * @type {string} 24 | * @memberof CryptoPaymentsMoney 25 | */ 26 | currency: CryptoPaymentsMoneyCurrencyEnum; 27 | } 28 | 29 | export const CryptoPaymentsMoneyCurrencyEnum = { 30 | Usd: "USD", 31 | Eth: "ETH", 32 | Btc: "BTC" 33 | } as const; 34 | 35 | export type CryptoPaymentsMoneyCurrencyEnum = 36 | typeof CryptoPaymentsMoneyCurrencyEnum[keyof typeof CryptoPaymentsMoneyCurrencyEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payments-optional-amount-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CryptoPaymentsOptionalAmountMoney 13 | */ 14 | export interface CryptoPaymentsOptionalAmountMoney { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof CryptoPaymentsOptionalAmountMoney 19 | */ 20 | amount?: string; 21 | /** 22 | * Currency code. 23 | * @type {string} 24 | * @memberof CryptoPaymentsOptionalAmountMoney 25 | */ 26 | currency: CryptoPaymentsOptionalAmountMoneyCurrencyEnum; 27 | } 28 | 29 | export const CryptoPaymentsOptionalAmountMoneyCurrencyEnum = { 30 | Usd: "USD", 31 | Eth: "ETH", 32 | Btc: "BTC" 33 | } as const; 34 | 35 | export type CryptoPaymentsOptionalAmountMoneyCurrencyEnum = 36 | typeof CryptoPaymentsOptionalAmountMoneyCurrencyEnum[keyof typeof CryptoPaymentsOptionalAmountMoneyCurrencyEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payout-destination-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The destination type. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const CryptoPayoutDestinationType = { 16 | AddressBook: "address_book" 17 | } as const; 18 | 19 | export type CryptoPayoutDestinationType = 20 | typeof CryptoPayoutDestinationType[keyof typeof CryptoPayoutDestinationType]; 21 | -------------------------------------------------------------------------------- /src/generated/models/crypto-payout-destination.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayoutDestinationType } from "./crypto-payout-destination-type"; 12 | 13 | /** 14 | * The destination. 15 | * @export 16 | * @interface CryptoPayoutDestination 17 | */ 18 | export interface CryptoPayoutDestination { 19 | /** 20 | * 21 | * @type {CryptoPayoutDestinationType} 22 | * @memberof CryptoPayoutDestination 23 | */ 24 | type: CryptoPayoutDestinationType; 25 | /** 26 | * Unique system generated identifier for the entity. 27 | * @type {string} 28 | * @memberof CryptoPayoutDestination 29 | */ 30 | id: string; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/crypto-refund-creation-request-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The source amount of the refund, it can be in either the original payment currency or the settlement currency. 11 | * @export 12 | * @interface CryptoRefundCreationRequestAmount 13 | */ 14 | export interface CryptoRefundCreationRequestAmount { 15 | /** 16 | * Currency code. 17 | * @type {string} 18 | * @memberof CryptoRefundCreationRequestAmount 19 | */ 20 | currency: CryptoRefundCreationRequestAmountCurrencyEnum; 21 | } 22 | 23 | export const CryptoRefundCreationRequestAmountCurrencyEnum = { 24 | Usd: "USD", 25 | Eth: "ETH", 26 | Btc: "BTC" 27 | } as const; 28 | 29 | export type CryptoRefundCreationRequestAmountCurrencyEnum = 30 | typeof CryptoRefundCreationRequestAmountCurrencyEnum[keyof typeof CryptoRefundCreationRequestAmountCurrencyEnum]; 31 | -------------------------------------------------------------------------------- /src/generated/models/crypto-refund-creation-request-to-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The destination amount of the refund, it must be in the original payment currency. 11 | * @export 12 | * @interface CryptoRefundCreationRequestToAmount 13 | */ 14 | export interface CryptoRefundCreationRequestToAmount { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof CryptoRefundCreationRequestToAmount 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code. 23 | * @type {string} 24 | * @memberof CryptoRefundCreationRequestToAmount 25 | */ 26 | currency: CryptoRefundCreationRequestToAmountCurrencyEnum; 27 | } 28 | 29 | export const CryptoRefundCreationRequestToAmountCurrencyEnum = { 30 | Usd: "USD", 31 | Eth: "ETH", 32 | Btc: "BTC" 33 | } as const; 34 | 35 | export type CryptoRefundCreationRequestToAmountCurrencyEnum = 36 | typeof CryptoRefundCreationRequestToAmountCurrencyEnum[keyof typeof CryptoRefundCreationRequestToAmountCurrencyEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/crypto-refund-destination.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | 13 | /** 14 | * The destination of a crypto refund. 15 | * @export 16 | * @interface CryptoRefundDestination 17 | */ 18 | export interface CryptoRefundDestination { 19 | /** 20 | * The blockchain address. 21 | * @type {string} 22 | * @memberof CryptoRefundDestination 23 | */ 24 | address: string; 25 | /** 26 | * The secondary identifier for a blockchain address. An example of this is the memo field on the Stellar network, which can be text, id, or hash format. 27 | * @type {string} 28 | * @memberof CryptoRefundDestination 29 | */ 30 | addressTag?: string | null; 31 | /** 32 | * 33 | * @type {Chain} 34 | * @memberof CryptoRefundDestination 35 | */ 36 | chain: Chain; 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/models/cubix-fiat-account-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CubixFiatAccountCreationRequest 13 | */ 14 | export interface CubixFiatAccountCreationRequest { 15 | /** 16 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 17 | * @type {string} 18 | * @memberof CubixFiatAccountCreationRequest 19 | */ 20 | idempotencyKey: string; 21 | /** 22 | * Cubix Account ID. 23 | * @type {string} 24 | * @memberof CubixFiatAccountCreationRequest 25 | */ 26 | accountId: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/cubix-instruction.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface CubixInstruction 13 | */ 14 | export interface CubixInstruction { 15 | /** 16 | * Circle tracking reference that needs to be set in the CUBIX public memo field. 17 | * @type {string} 18 | * @memberof CubixInstruction 19 | */ 20 | trackingRef?: string; 21 | /** 22 | * Circle account ID that needs to be set in the CUBIX account ID field. 23 | * @type {string} 24 | * @memberof CubixInstruction 25 | */ 26 | accountId?: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/currency.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * A currency associated with a balance or address. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const Currency = { 16 | Usd: "USD", 17 | Eur: "EUR", 18 | Btc: "BTC", 19 | Eth: "ETH" 20 | } as const; 21 | 22 | export type Currency = typeof Currency[keyof typeof Currency]; 23 | -------------------------------------------------------------------------------- /src/generated/models/cvv-results.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated status of the check. `not_requested` indicates check was not made. `pass` indicates value is correct. `fail` indicates value is incorrect. `unavailable` indicates card issuer did not do the provided check. `pending` indicates check is pending/processing. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const CvvResults = { 16 | NotRequested: "not_requested", 17 | Pass: "pass", 18 | Fail: "fail", 19 | Unavailable: "unavailable", 20 | Pending: "pending" 21 | } as const; 22 | 23 | export type CvvResults = typeof CvvResults[keyof typeof CvvResults]; 24 | -------------------------------------------------------------------------------- /src/generated/models/delete-subscription-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface DeleteSubscriptionResponse 13 | */ 14 | export interface DeleteSubscriptionResponse { 15 | /** 16 | * Unsubscribe response object. No fields as of now. 17 | * @type {object} 18 | * @memberof DeleteSubscriptionResponse 19 | */ 20 | data?: object; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/eci.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * ECI (electronic commerce indicator) value returned by Directory Servers (namely Visa, MasterCard, JCB, and American Express) indicating the outcome of authentication attempted on transactions enforced by 3DS. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const Eci = { 16 | _00: "00", 17 | _01: "01", 18 | _02: "02", 19 | _05: "05", 20 | _06: "06", 21 | _07: "07" 22 | } as const; 23 | 24 | export type Eci = typeof Eci[keyof typeof Eci]; 25 | -------------------------------------------------------------------------------- /src/generated/models/exchange-rate-request-from.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { FiatOptionalAmountMoney } from "./fiat-optional-amount-money"; 15 | 16 | /** 17 | * @type ExchangeRateRequestFrom 18 | * Amount (Optional) and currency to convert from. If an amount is provided here, then the amount in the \"to\" field must be null. 19 | * @export 20 | */ 21 | export type ExchangeRateRequestFrom = FiatOptionalAmountMoney; 22 | -------------------------------------------------------------------------------- /src/generated/models/exchange-rate-request-to.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { FiatOptionalAmountMoney } from "./fiat-optional-amount-money"; 15 | 16 | /** 17 | * @type ExchangeRateRequestTo 18 | * Amount (Optional) and currency to convert to. If an amount is provided here, then the amount in the \"from\" field must be null. 19 | * @export 20 | */ 21 | export type ExchangeRateRequestTo = FiatOptionalAmountMoney; 22 | -------------------------------------------------------------------------------- /src/generated/models/exchange-rate-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ExchangeRateRequestFrom } from "./exchange-rate-request-from"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { ExchangeRateRequestTo } from "./exchange-rate-request-to"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface ExchangeRateRequest 20 | */ 21 | export interface ExchangeRateRequest { 22 | /** 23 | * 24 | * @type {ExchangeRateRequestFrom} 25 | * @memberof ExchangeRateRequest 26 | */ 27 | from: ExchangeRateRequestFrom; 28 | /** 29 | * 30 | * @type {ExchangeRateRequestTo} 31 | * @memberof ExchangeRateRequest 32 | */ 33 | to: ExchangeRateRequestTo; 34 | } 35 | -------------------------------------------------------------------------------- /src/generated/models/exchange-rate-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatOptionalAmountMoney } from "./fiat-optional-amount-money"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ExchangeRateResponse 17 | */ 18 | export interface ExchangeRateResponse { 19 | /** 20 | * Unique system generated identifier for the entity. 21 | * @type {string} 22 | * @memberof ExchangeRateResponse 23 | */ 24 | id: string; 25 | /** 26 | * Exchange rate 27 | * @type {number} 28 | * @memberof ExchangeRateResponse 29 | */ 30 | rate: number; 31 | /** 32 | * 33 | * @type {FiatOptionalAmountMoney} 34 | * @memberof ExchangeRateResponse 35 | */ 36 | from: FiatOptionalAmountMoney; 37 | /** 38 | * 39 | * @type {FiatOptionalAmountMoney} 40 | * @memberof ExchangeRateResponse 41 | */ 42 | to: FiatOptionalAmountMoney; 43 | /** 44 | * ISO-8601 UTC date/time format. 45 | * @type {string} 46 | * @memberof ExchangeRateResponse 47 | */ 48 | timestamp: string; 49 | } 50 | -------------------------------------------------------------------------------- /src/generated/models/expire-payment-intent-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ListPaymentIntentsResponseDataInner } from "./list-payment-intents-response-data-inner"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ExpirePaymentIntentResponse 17 | */ 18 | export interface ExpirePaymentIntentResponse { 19 | /** 20 | * 21 | * @type {ListPaymentIntentsResponseDataInner} 22 | * @memberof ExpirePaymentIntentResponse 23 | */ 24 | data?: ListPaymentIntentsResponseDataInner; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/extend-checkout-session-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface ExtendCheckoutSessionRequest 13 | */ 14 | export interface ExtendCheckoutSessionRequest { 15 | /** 16 | * Extend the CheckoutSession by extendTime seconds if it is active or expired. The field is optional, if not provided, extend a period that configured by Merchant (default 1 day) 17 | * @type {number} 18 | * @memberof ExtendCheckoutSessionRequest 19 | */ 20 | extendTime?: number; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/extend-checkout-session-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CheckoutSession } from "./checkout-session"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ExtendCheckoutSessionResponse 17 | */ 18 | export interface ExtendCheckoutSessionResponse { 19 | /** 20 | * 21 | * @type {CheckoutSession} 22 | * @memberof ExtendCheckoutSessionResponse 23 | */ 24 | data?: CheckoutSession; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/external-fiat-account-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Status of the account. A `pending` status indicates that the linking is in-progress; `complete` indicates the account was linked successfully; `failed` indicates it failed. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const ExternalFiatAccountStatus = { 16 | Pending: "pending", 17 | Complete: "complete", 18 | Failed: "failed" 19 | } as const; 20 | 21 | export type ExternalFiatAccountStatus = 22 | typeof ExternalFiatAccountStatus[keyof typeof ExternalFiatAccountStatus]; 23 | -------------------------------------------------------------------------------- /src/generated/models/fee.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Fee 13 | */ 14 | export interface Fee { 15 | /** 16 | * Magnitude of the fee amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof Fee 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code for the amount. 23 | * @type {string} 24 | * @memberof Fee 25 | */ 26 | currency: FeeCurrencyEnum; 27 | /** 28 | * Category of the fee. 29 | * @type {string} 30 | * @memberof Fee 31 | */ 32 | type: FeeTypeEnum; 33 | } 34 | 35 | export const FeeCurrencyEnum = { 36 | Usd: "USD" 37 | } as const; 38 | 39 | export type FeeCurrencyEnum = 40 | typeof FeeCurrencyEnum[keyof typeof FeeCurrencyEnum]; 41 | export const FeeTypeEnum = { 42 | Network: "network" 43 | } as const; 44 | 45 | export type FeeTypeEnum = typeof FeeTypeEnum[keyof typeof FeeTypeEnum]; 46 | -------------------------------------------------------------------------------- /src/generated/models/fetch-exchange-rate-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ExchangeRateResponse } from "./exchange-rate-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface FetchExchangeRateResponse 17 | */ 18 | export interface FetchExchangeRateResponse { 19 | /** 20 | * 21 | * @type {ExchangeRateResponse} 22 | * @memberof FetchExchangeRateResponse 23 | */ 24 | data?: ExchangeRateResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/fiat-currency.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Currency code. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const FiatCurrency = { 16 | Usd: "USD", 17 | Eur: "EUR", 18 | Mxn: "MXN", 19 | Sgd: "SGD", 20 | Brl: "BRL" 21 | } as const; 22 | 23 | export type FiatCurrency = typeof FiatCurrency[keyof typeof FiatCurrency]; 24 | -------------------------------------------------------------------------------- /src/generated/models/fiat-money-usd.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface FiatMoneyUsd 13 | */ 14 | export interface FiatMoneyUsd { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof FiatMoneyUsd 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code. 23 | * @type {string} 24 | * @memberof FiatMoneyUsd 25 | */ 26 | currency: FiatMoneyUsdCurrencyEnum; 27 | } 28 | 29 | export const FiatMoneyUsdCurrencyEnum = { 30 | Usd: "USD" 31 | } as const; 32 | 33 | export type FiatMoneyUsdCurrencyEnum = 34 | typeof FiatMoneyUsdCurrencyEnum[keyof typeof FiatMoneyUsdCurrencyEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/fiat-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface FiatMoney 17 | */ 18 | export interface FiatMoney { 19 | /** 20 | * Magnitude of the amount, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof FiatMoney 23 | */ 24 | amount: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof FiatMoney 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/fiat-optional-amount-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface FiatOptionalAmountMoney 17 | */ 18 | export interface FiatOptionalAmountMoney { 19 | /** 20 | * Magnitude of the amount, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof FiatOptionalAmountMoney 23 | */ 24 | amount?: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof FiatOptionalAmountMoney 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/fiat-payout-to-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface FiatPayoutToMoney 17 | */ 18 | export interface FiatPayoutToMoney { 19 | /** 20 | * Magnitude of the amount, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof FiatPayoutToMoney 23 | */ 24 | amount?: string; 25 | /** 26 | * 27 | * @type {FiatCurrency} 28 | * @memberof FiatPayoutToMoney 29 | */ 30 | currency: FiatCurrency; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/final-adjustments.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatMoneyUsd } from "./fiat-money-usd"; 12 | 13 | /** 14 | * Final adjustment which increases (credits) or decreases (debits) the total returned amount to the source wallet. 15 | * @export 16 | * @interface FinalAdjustments 17 | */ 18 | export interface FinalAdjustments { 19 | /** 20 | * 21 | * @type {FiatMoneyUsd} 22 | * @memberof FinalAdjustments 23 | */ 24 | fxCredit?: FiatMoneyUsd; 25 | /** 26 | * 27 | * @type {FiatMoneyUsd} 28 | * @memberof FinalAdjustments 29 | */ 30 | fxDebit?: FiatMoneyUsd; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/forbidden.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Forbidden 13 | */ 14 | export interface Forbidden { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof Forbidden 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof Forbidden 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/get-address-book-recipient-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressBookRecipient } from "./address-book-recipient"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetAddressBookRecipientResponse 17 | */ 18 | export interface GetAddressBookRecipientResponse { 19 | /** 20 | * 21 | * @type {AddressBookRecipient} 22 | * @memberof GetAddressBookRecipientResponse 23 | */ 24 | data?: AddressBookRecipient; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-cbit-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessCbitAccountResponse 17 | */ 18 | export interface GetBusinessCbitAccountResponse { 19 | /** 20 | * 21 | * @type {CbitFiatAccountResponse} 22 | * @memberof GetBusinessCbitAccountResponse 23 | */ 24 | data?: CbitFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-cubix-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CubixFiatAccountResponse } from "./cubix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessCubixAccountResponse 17 | */ 18 | export interface GetBusinessCubixAccountResponse { 19 | /** 20 | * 21 | * @type {CubixFiatAccountResponse} 22 | * @memberof GetBusinessCubixAccountResponse 23 | */ 24 | data?: CubixFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-deposit-address-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressObject } from "./address-object"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessDepositAddressResponse 17 | */ 18 | export interface GetBusinessDepositAddressResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof GetBusinessDepositAddressResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-payout-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessPayout } from "./business-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessPayoutResponse 17 | */ 18 | export interface GetBusinessPayoutResponse { 19 | /** 20 | * 21 | * @type {BusinessPayout} 22 | * @memberof GetBusinessPayoutResponse 23 | */ 24 | data?: BusinessPayout; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-pix-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PixFiatAccountResponse } from "./pix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessPixAccountResponse 17 | */ 18 | export interface GetBusinessPixAccountResponse { 19 | /** 20 | * 21 | * @type {PixFiatAccountResponse} 22 | * @memberof GetBusinessPixAccountResponse 23 | */ 24 | data?: PixFiatAccountResponse; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-transfer-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Transfer } from "./transfer"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessTransferResponse 17 | */ 18 | export interface GetBusinessTransferResponse { 19 | /** 20 | * 21 | * @type {Transfer} 22 | * @memberof GetBusinessTransferResponse 23 | */ 24 | data?: Transfer; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-wire-account-instructions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { WireInstruction } from "./wire-instruction"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessWireAccountInstructionsResponse 17 | */ 18 | export interface GetBusinessWireAccountInstructionsResponse { 19 | /** 20 | * 21 | * @type {WireInstruction} 22 | * @memberof GetBusinessWireAccountInstructionsResponse 23 | */ 24 | data?: WireInstruction; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-business-wire-account-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Wire } from "./wire"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetBusinessWireAccountResponse 17 | */ 18 | export interface GetBusinessWireAccountResponse { 19 | /** 20 | * 21 | * @type {Wire} 22 | * @memberof GetBusinessWireAccountResponse 23 | */ 24 | data?: Wire; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-card-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Card } from "./card"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetCardResponse 17 | */ 18 | export interface GetCardResponse { 19 | /** 20 | * 21 | * @type {Card} 22 | * @memberof GetCardResponse 23 | */ 24 | data?: Card; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-chargeback-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BasicChargeback } from "./basic-chargeback"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetChargebackResponse 17 | */ 18 | export interface GetChargebackResponse { 19 | /** 20 | * 21 | * @type {BasicChargeback} 22 | * @memberof GetChargebackResponse 23 | */ 24 | data?: BasicChargeback; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-checkout-session-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CheckoutSession } from "./checkout-session"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetCheckoutSessionResponse 17 | */ 18 | export interface GetCheckoutSessionResponse { 19 | /** 20 | * 21 | * @type {CheckoutSession} 22 | * @memberof GetCheckoutSessionResponse 23 | */ 24 | data?: CheckoutSession; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-config-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AccountConfiguration } from "./account-configuration"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetConfigResponse 17 | */ 18 | export interface GetConfigResponse { 19 | /** 20 | * 21 | * @type {AccountConfiguration} 22 | * @memberof GetConfigResponse 23 | */ 24 | data?: AccountConfiguration; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-exchange-rates-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Rate } from "./rate"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetExchangeRatesResponse 17 | */ 18 | export interface GetExchangeRatesResponse { 19 | /** 20 | * 21 | * @type {Rate} 22 | * @memberof GetExchangeRatesResponse 23 | */ 24 | data?: Rate; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-payment-intent-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ListPaymentIntentsResponseDataInner } from "./list-payment-intents-response-data-inner"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetPaymentIntentResponse 17 | */ 18 | export interface GetPaymentIntentResponse { 19 | /** 20 | * 21 | * @type {ListPaymentIntentsResponseDataInner} 22 | * @memberof GetPaymentIntentResponse 23 | */ 24 | data?: ListPaymentIntentsResponseDataInner; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { GetPaymentResponseData } from "./get-payment-response-data"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetPaymentResponse 17 | */ 18 | export interface GetPaymentResponse { 19 | /** 20 | * 21 | * @type {GetPaymentResponseData} 22 | * @memberof GetPaymentResponse 23 | */ 24 | data?: GetPaymentResponseData; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-payout-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayout } from "./crypto-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetPayoutResponse 17 | */ 18 | export interface GetPayoutResponse { 19 | /** 20 | * 21 | * @type {CryptoPayout} 22 | * @memberof GetPayoutResponse 23 | */ 24 | data?: CryptoPayout; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-public-key-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PublicKey } from "./public-key"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetPublicKeyResponse 17 | */ 18 | export interface GetPublicKeyResponse { 19 | /** 20 | * 21 | * @type {PublicKey} 22 | * @memberof GetPublicKeyResponse 23 | */ 24 | data?: PublicKey; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-settlement-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Settlement } from "./settlement"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetSettlementResponse 17 | */ 18 | export interface GetSettlementResponse { 19 | /** 20 | * 21 | * @type {Settlement} 22 | * @memberof GetSettlementResponse 23 | */ 24 | data?: Settlement; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/get-settlements-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Settlement } from "./settlement"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface GetSettlementsResponse 17 | */ 18 | export interface GetSettlementsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof GetSettlementsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/google-pay-token.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface GooglePayToken 13 | */ 14 | export interface GooglePayToken { 15 | /** 16 | * Verifies the message came from Google. The signature is created using ECDSA. 17 | * @type {string} 18 | * @memberof GooglePayToken 19 | */ 20 | signature: string; 21 | /** 22 | * Identifies which encryption/signing scheme created this message. In this way, the protocol can evolve over time if needed. If it is not set, assume ECv0. 23 | * @type {string} 24 | * @memberof GooglePayToken 25 | */ 26 | protocolVersion: string; 27 | /** 28 | * A serialized JSON string containing the encryptedMessage, ephemeralPublicKey, and tag. To simplify the signature verification process, this value is serialized. 29 | * @type {string} 30 | * @memberof GooglePayToken 31 | */ 32 | signedMessage: string; 33 | } 34 | -------------------------------------------------------------------------------- /src/generated/models/identity-address.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface IdentityAddress 13 | */ 14 | export interface IdentityAddress { 15 | /** 16 | * Line one of the street address. 17 | * @type {string} 18 | * @memberof IdentityAddress 19 | */ 20 | line1: string; 21 | /** 22 | * Line two of the street address. 23 | * @type {string} 24 | * @memberof IdentityAddress 25 | */ 26 | line2?: string; 27 | /** 28 | * City portion of the address. 29 | * @type {string} 30 | * @memberof IdentityAddress 31 | */ 32 | city: string; 33 | /** 34 | * State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision. 35 | * @type {string} 36 | * @memberof IdentityAddress 37 | */ 38 | district: string; 39 | /** 40 | * Postal / ZIP code of the address. 41 | * @type {string} 42 | * @memberof IdentityAddress 43 | */ 44 | postalCode: string; 45 | /** 46 | * Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2. 47 | * @type {string} 48 | * @memberof IdentityAddress 49 | */ 50 | country: string; 51 | } 52 | -------------------------------------------------------------------------------- /src/generated/models/identity.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { IdentityAddress } from "./identity-address"; 12 | 13 | /** 14 | * The identity of the originator. Identities are required when: * `destination.type: \"blockchain\"` * `destination.chain: \"ETH\"` * `amount.amount` >= $3,000 in value 15 | * @export 16 | * @interface Identity 17 | */ 18 | export interface Identity { 19 | /** 20 | * The type of identity for the originator. * `individual` - A uniquely distinguishable individual. * `business` - Any entity other than a natural person that can establish a permanent customer relationship with an affected entity or otherwise own property. This can include companies, foundations, anstalt, partnerships, associations and other relevantly similar entities. 21 | * @type {string} 22 | * @memberof Identity 23 | */ 24 | type: IdentityTypeEnum; 25 | /** 26 | * Full name of the identity. 27 | * @type {string} 28 | * @memberof Identity 29 | */ 30 | name: string; 31 | /** 32 | * 33 | * @type {Array} 34 | * @memberof Identity 35 | */ 36 | addresses: Array; 37 | } 38 | 39 | export const IdentityTypeEnum = { 40 | Individual: "individual", 41 | Business: "business" 42 | } as const; 43 | 44 | export type IdentityTypeEnum = 45 | typeof IdentityTypeEnum[keyof typeof IdentityTypeEnum]; 46 | -------------------------------------------------------------------------------- /src/generated/models/limit-exceeded.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface LimitExceeded 13 | */ 14 | export interface LimitExceeded { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof LimitExceeded 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof LimitExceeded 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/list-address-book-recipients-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressBookRecipient } from "./address-book-recipient"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListAddressBookRecipientsResponse 17 | */ 18 | export interface ListAddressBookRecipientsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListAddressBookRecipientsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-balances-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Balances } from "./balances"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBalancesResponse 17 | */ 18 | export interface ListBalancesResponse { 19 | /** 20 | * 21 | * @type {Balances} 22 | * @memberof ListBalancesResponse 23 | */ 24 | data?: Balances; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-burn-fee-calculations-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { RedemptionFeeCalculation } from "./redemption-fee-calculation"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBurnFeeCalculationsResponse 17 | */ 18 | export interface ListBurnFeeCalculationsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBurnFeeCalculationsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-balances-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Balances } from "./balances"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessBalancesResponse 17 | */ 18 | export interface ListBusinessBalancesResponse { 19 | /** 20 | * 21 | * @type {Balances} 22 | * @memberof ListBusinessBalancesResponse 23 | */ 24 | data?: Balances; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-cbit-account-instructions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CbitInstruction } from "./cbit-instruction"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessCbitAccountInstructionsResponse 17 | */ 18 | export interface ListBusinessCbitAccountInstructionsResponse { 19 | /** 20 | * 21 | * @type {CbitInstruction} 22 | * @memberof ListBusinessCbitAccountInstructionsResponse 23 | */ 24 | data?: CbitInstruction; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-cbit-accounts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CbitFiatAccountResponse } from "./cbit-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessCbitAccountsResponse 17 | */ 18 | export interface ListBusinessCbitAccountsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessCbitAccountsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-cubix-account-instructions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CubixInstruction } from "./cubix-instruction"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessCubixAccountInstructionsResponse 17 | */ 18 | export interface ListBusinessCubixAccountInstructionsResponse { 19 | /** 20 | * 21 | * @type {CubixInstruction} 22 | * @memberof ListBusinessCubixAccountInstructionsResponse 23 | */ 24 | data?: CubixInstruction; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-cubix-accounts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CubixFiatAccountResponse } from "./cubix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessCubixAccountsResponse 17 | */ 18 | export interface ListBusinessCubixAccountsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessCubixAccountsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-deposits-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessDeposit } from "./business-deposit"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessDepositsResponse 17 | */ 18 | export interface ListBusinessDepositsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessDepositsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-payouts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessPayout } from "./business-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessPayoutsResponse 17 | */ 18 | export interface ListBusinessPayoutsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessPayoutsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-pix-accounts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PixFiatAccountResponse } from "./pix-fiat-account-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessPixAccountsResponse 17 | */ 18 | export interface ListBusinessPixAccountsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessPixAccountsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-recipient-addresses-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BusinessRecipientAddressObject } from "./business-recipient-address-object"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessRecipientAddressesResponse 17 | */ 18 | export interface ListBusinessRecipientAddressesResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessRecipientAddressesResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-transfers-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Transfer } from "./transfer"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessTransfersResponse 17 | */ 18 | export interface ListBusinessTransfersResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessTransfersResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-business-wire-accounts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Wire } from "./wire"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListBusinessWireAccountsResponse 17 | */ 18 | export interface ListBusinessWireAccountsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListBusinessWireAccountsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-cards-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { SimpleCard } from "./simple-card"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListCardsResponse 17 | */ 18 | export interface ListCardsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListCardsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-channels-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ChannelResponse } from "./channel-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListChannelsResponse 17 | */ 18 | export interface ListChannelsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListChannelsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-chargebacks-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BasicChargeback } from "./basic-chargeback"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListChargebacksResponse 17 | */ 18 | export interface ListChargebacksResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListChargebacksResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-checkout-sessions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CheckoutSession } from "./checkout-session"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListCheckoutSessionsResponse 17 | */ 18 | export interface ListCheckoutSessionsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListCheckoutSessionsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-payment-intents-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ListPaymentIntentsResponseDataInner } from "./list-payment-intents-response-data-inner"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListPaymentIntentsResponse 17 | */ 18 | export interface ListPaymentIntentsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListPaymentIntentsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-payments-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ListPaymentsResponseDataInner } from "./list-payments-response-data-inner"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListPaymentsResponse 17 | */ 18 | export interface ListPaymentsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListPaymentsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-payouts-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPayout } from "./crypto-payout"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListPayoutsResponse 17 | */ 18 | export interface ListPayoutsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListPayoutsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-stablecoins-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Stablecoin } from "./stablecoin"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListStablecoinsResponse 17 | */ 18 | export interface ListStablecoinsResponse { 19 | /** 20 | * A list of stablecoin objects containing its name, symbol, total amount, and per-chain amount. 21 | * @type {Array} 22 | * @memberof ListStablecoinsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/list-subscriptions-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { SubscriptionResponse } from "./subscription-response"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ListSubscriptionsResponse 17 | */ 18 | export interface ListSubscriptionsResponse { 19 | /** 20 | * 21 | * @type {Array} 22 | * @memberof ListSubscriptionsResponse 23 | */ 24 | data?: Array; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/metadata-card-and-ach.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MetadataCardAndAch 13 | */ 14 | export interface MetadataCardAndAch { 15 | /** 16 | * Email of the user. 17 | * @type {string} 18 | * @memberof MetadataCardAndAch 19 | */ 20 | email: string; 21 | /** 22 | * Phone number of the user in E.164 format. We recommend using a library such as [libphonenumber](https://github.com/google/libphonenumber) to parse and validate phone numbers. 23 | * @type {string} 24 | * @memberof MetadataCardAndAch 25 | */ 26 | phoneNumber?: string; 27 | /** 28 | * Hash of the session identifier; typically of the end user. This helps us make risk decisions and prevent fraud. IMPORTANT: Please hash the session identifier to prevent sending us actual session identifiers. 29 | * @type {string} 30 | * @memberof MetadataCardAndAch 31 | */ 32 | sessionId: string; 33 | /** 34 | * Single IPv4 or IPv6 address of user\' 35 | * @type {string} 36 | * @memberof MetadataCardAndAch 37 | */ 38 | ipAddress: string; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/metadata-crypto-payment.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MetadataCryptoPayment 13 | */ 14 | export interface MetadataCryptoPayment { 15 | /** 16 | * The protocol type. so far we only support \"TransferWithAuthorization\". find more details in EIP-3009 17 | * @type {string} 18 | * @memberof MetadataCryptoPayment 19 | */ 20 | type: MetadataCryptoPaymentTypeEnum; 21 | /** 22 | * meta transaction nonce 23 | * @type {string} 24 | * @memberof MetadataCryptoPayment 25 | */ 26 | metaTxNonce: string; 27 | /** 28 | * This comes from the /presign response 29 | * @type {string} 30 | * @memberof MetadataCryptoPayment 31 | */ 32 | signatureValidAfter: string; 33 | /** 34 | * This comes from the /presign response 35 | * @type {string} 36 | * @memberof MetadataCryptoPayment 37 | */ 38 | signatureValidBefore: string; 39 | /** 40 | * Raw signature coming from the wallet response 41 | * @type {string} 42 | * @memberof MetadataCryptoPayment 43 | */ 44 | rawSignature: string; 45 | } 46 | 47 | export const MetadataCryptoPaymentTypeEnum = { 48 | TransferWithAuthorization: "TransferWithAuthorization" 49 | } as const; 50 | 51 | export type MetadataCryptoPaymentTypeEnum = 52 | typeof MetadataCryptoPaymentTypeEnum[keyof typeof MetadataCryptoPaymentTypeEnum]; 53 | -------------------------------------------------------------------------------- /src/generated/models/metadata-payment.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MetadataPayment 13 | */ 14 | export interface MetadataPayment { 15 | /** 16 | * Email of the user. 17 | * @type {string} 18 | * @memberof MetadataPayment 19 | */ 20 | email: string; 21 | /** 22 | * Phone number of the user in E.164 format. We recommend using a library such as [libphonenumber](https://github.com/google/libphonenumber) to parse and validate phone numbers. 23 | * @type {string} 24 | * @memberof MetadataPayment 25 | */ 26 | phoneNumber?: string; 27 | /** 28 | * Hash of the session identifier; typically of the end user. This helps us make risk decisions and prevent fraud. IMPORTANT: Please hash the session identifier to prevent sending us actual session identifiers. 29 | * @type {string} 30 | * @memberof MetadataPayment 31 | */ 32 | sessionId: string; 33 | /** 34 | * Single IPv4 or IPv6 address of user\' 35 | * @type {string} 36 | * @memberof MetadataPayment 37 | */ 38 | ipAddress: string; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/metadata-phone-email.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MetadataPhoneEmail 13 | */ 14 | export interface MetadataPhoneEmail { 15 | /** 16 | * Email of the user. 17 | * @type {string} 18 | * @memberof MetadataPhoneEmail 19 | */ 20 | email: string; 21 | /** 22 | * Phone number of the user in E.164 format. We recommend using a library such as [libphonenumber](https://github.com/google/libphonenumber) to parse and validate phone numbers. 23 | * @type {string} 24 | * @memberof MetadataPhoneEmail 25 | */ 26 | phoneNumber?: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/mock-chargeback-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MockChargebackCreationRequest 13 | */ 14 | export interface MockChargebackCreationRequest { 15 | /** 16 | * The id of the payment to be charged back. Each payment can only be charged back once. 17 | * @type {string} 18 | * @memberof MockChargebackCreationRequest 19 | */ 20 | paymentId: string; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/mock-wire-payment-beneficiary-bank-instruction.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface MockWirePaymentBeneficiaryBankInstruction 13 | */ 14 | export interface MockWirePaymentBeneficiaryBankInstruction { 15 | /** 16 | * Virtual account number or Circle corporate Silvergate Wire account number that needs to be set as destination. 17 | * @type {string} 18 | * @memberof MockWirePaymentBeneficiaryBankInstruction 19 | */ 20 | accountNumber: string; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/mock-wire-payment-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatMoneyUsd } from "./fiat-money-usd"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { MockWirePaymentBeneficiaryBankInstruction } from "./mock-wire-payment-beneficiary-bank-instruction"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface MockWirePaymentRequest 20 | */ 21 | export interface MockWirePaymentRequest { 22 | /** 23 | * Wire tracking reference that needs to be set in the wire reference to beneficiary field. This field is retrievable through the response during wire creation or via the bank instruction endpoint. 24 | * @type {string} 25 | * @memberof MockWirePaymentRequest 26 | */ 27 | trackingRef: string; 28 | /** 29 | * 30 | * @type {FiatMoneyUsd} 31 | * @memberof MockWirePaymentRequest 32 | */ 33 | amount: FiatMoneyUsd; 34 | /** 35 | * 36 | * @type {MockWirePaymentBeneficiaryBankInstruction} 37 | * @memberof MockWirePaymentRequest 38 | */ 39 | beneficiaryBank: MockWirePaymentBeneficiaryBankInstruction; 40 | } 41 | -------------------------------------------------------------------------------- /src/generated/models/modify-address-book-recipient-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { AddressBookRecipient } from "./address-book-recipient"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface ModifyAddressBookRecipientResponse 17 | */ 18 | export interface ModifyAddressBookRecipientResponse { 19 | /** 20 | * 21 | * @type {AddressBookRecipient} 22 | * @memberof ModifyAddressBookRecipientResponse 23 | */ 24 | data?: AddressBookRecipient; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Money 13 | */ 14 | export interface Money { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof Money 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code for the amount. 23 | * @type {string} 24 | * @memberof Money 25 | */ 26 | currency: MoneyCurrencyEnum; 27 | } 28 | 29 | export const MoneyCurrencyEnum = { 30 | Usd: "USD", 31 | Eur: "EUR", 32 | Btc: "BTC", 33 | Eth: "ETH" 34 | } as const; 35 | 36 | export type MoneyCurrencyEnum = 37 | typeof MoneyCurrencyEnum[keyof typeof MoneyCurrencyEnum]; 38 | -------------------------------------------------------------------------------- /src/generated/models/network-fee-quote.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CryptoPaymentsMoney } from "./crypto-payments-money"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface NetworkFeeQuote 17 | */ 18 | export interface NetworkFeeQuote { 19 | /** 20 | * UUID of network fee quote 21 | * @type {string} 22 | * @memberof NetworkFeeQuote 23 | */ 24 | quoteId: string; 25 | /** 26 | * 27 | * @type {CryptoPaymentsMoney} 28 | * @memberof NetworkFeeQuote 29 | */ 30 | amount: CryptoPaymentsMoney; 31 | /** 32 | * The timestamp when the quote will expire at, in ISO-8601 UTC date/time format. 33 | * @type {string} 34 | * @memberof NetworkFeeQuote 35 | */ 36 | expiresAt: string; 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/models/not-authorized.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface NotAuthorized 13 | */ 14 | export interface NotAuthorized { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof NotAuthorized 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof NotAuthorized 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/not-found.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface NotFound 13 | */ 14 | export interface NotFound { 15 | /** 16 | * 17 | * @type {number} 18 | * @memberof NotFound 19 | */ 20 | code: number; 21 | /** 22 | * 23 | * @type {string} 24 | * @memberof NotFound 25 | */ 26 | message: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/payment-intent-fees.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PaymentIntentFees 13 | */ 14 | export interface PaymentIntentFees { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof PaymentIntentFees 19 | */ 20 | type: PaymentIntentFeesTypeEnum; 21 | /** 22 | * Magnitude of the amount, in units of the currency, with a `.`. 23 | * @type {string} 24 | * @memberof PaymentIntentFees 25 | */ 26 | amount: string; 27 | /** 28 | * Currency code. 29 | * @type {string} 30 | * @memberof PaymentIntentFees 31 | */ 32 | currency: PaymentIntentFeesCurrencyEnum; 33 | } 34 | 35 | export const PaymentIntentFeesTypeEnum = { 36 | BlockchainLeaseFee: "blockchainLeaseFee", 37 | TotalPaymentFees: "totalPaymentFees" 38 | } as const; 39 | 40 | export type PaymentIntentFeesTypeEnum = 41 | typeof PaymentIntentFeesTypeEnum[keyof typeof PaymentIntentFeesTypeEnum]; 42 | export const PaymentIntentFeesCurrencyEnum = { 43 | Usd: "USD", 44 | Btc: "BTC", 45 | Eth: "ETH" 46 | } as const; 47 | 48 | export type PaymentIntentFeesCurrencyEnum = 49 | typeof PaymentIntentFeesCurrencyEnum[keyof typeof PaymentIntentFeesCurrencyEnum]; 50 | -------------------------------------------------------------------------------- /src/generated/models/payment-method-blockchain.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface PaymentMethodBlockchain 17 | */ 18 | export interface PaymentMethodBlockchain { 19 | /** 20 | * 21 | * @type {string} 22 | * @memberof PaymentMethodBlockchain 23 | */ 24 | type: PaymentMethodBlockchainTypeEnum; 25 | /** 26 | * 27 | * @type {Chain} 28 | * @memberof PaymentMethodBlockchain 29 | */ 30 | chain: Chain; 31 | /** 32 | * 33 | * @type {string} 34 | * @memberof PaymentMethodBlockchain 35 | */ 36 | address?: string; 37 | } 38 | 39 | export const PaymentMethodBlockchainTypeEnum = { 40 | Blockchain: "blockchain" 41 | } as const; 42 | 43 | export type PaymentMethodBlockchainTypeEnum = 44 | typeof PaymentMethodBlockchainTypeEnum[keyof typeof PaymentMethodBlockchainTypeEnum]; 45 | -------------------------------------------------------------------------------- /src/generated/models/payment-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated status of the payment. `pending` means the payment is waiting to be processed. `confirmed` means the payment has been approved by the bank and the merchant can treat it as successful, but settlement funds are not yet available to the merchant. `paid` means settlement funds have been received and are available to the merchant. `failed` means something went wrong (most commonly that the payment was denied). `action_required` means that additional steps are required to process this payment; refer to `requiredAction` for more details. Terminal states are `paid` and `failed`. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const PaymentStatus = { 16 | Pending: "pending", 17 | Confirmed: "confirmed", 18 | Paid: "paid", 19 | Failed: "failed", 20 | ActionRequired: "action_required" 21 | } as const; 22 | 23 | export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus]; 24 | -------------------------------------------------------------------------------- /src/generated/models/payment-token-request-token-data.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { ApplePayToken } from "./apple-pay-token"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { ApplePayTokenHeader } from "./apple-pay-token-header"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { GooglePayToken } from "./google-pay-token"; 18 | 19 | /** 20 | * @type PaymentTokenRequestTokenData 21 | * The token data 22 | * @export 23 | */ 24 | export type PaymentTokenRequestTokenData = ApplePayToken | GooglePayToken; 25 | -------------------------------------------------------------------------------- /src/generated/models/payment-token-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PaymentTokenRequestTokenData } from "./payment-token-request-token-data"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface PaymentTokenRequest 17 | */ 18 | export interface PaymentTokenRequest { 19 | /** 20 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 21 | * @type {string} 22 | * @memberof PaymentTokenRequest 23 | */ 24 | idempotencyKey: string; 25 | /** 26 | * Type of the digital wallet token. 27 | * @type {string} 28 | * @memberof PaymentTokenRequest 29 | */ 30 | type: PaymentTokenRequestTypeEnum; 31 | /** 32 | * 33 | * @type {PaymentTokenRequestTokenData} 34 | * @memberof PaymentTokenRequest 35 | */ 36 | tokenData: PaymentTokenRequestTokenData; 37 | } 38 | 39 | export const PaymentTokenRequestTypeEnum = { 40 | Applepay: "applepay", 41 | Googlepay: "googlepay" 42 | } as const; 43 | 44 | export type PaymentTokenRequestTypeEnum = 45 | typeof PaymentTokenRequestTypeEnum[keyof typeof PaymentTokenRequestTypeEnum]; 46 | -------------------------------------------------------------------------------- /src/generated/models/payment-verification-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { CvvResults } from "./cvv-results"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { Eci } from "./eci"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { ThreeDsResult } from "./three-ds-result"; 18 | 19 | /** 20 | * Indicates the status of the payment verification. This property will be present once the payment is confirmed. 21 | * @export 22 | * @interface PaymentVerificationResponse 23 | */ 24 | export interface PaymentVerificationResponse { 25 | /** 26 | * Status of the AVS check. Raw AVS response, expressed as an upper-case letter. `not_requested` indicates check was not made. `pending` is pending/processing. 27 | * @type {string} 28 | * @memberof PaymentVerificationResponse 29 | */ 30 | avs: string; 31 | /** 32 | * 33 | * @type {CvvResults} 34 | * @memberof PaymentVerificationResponse 35 | */ 36 | cvv: CvvResults; 37 | /** 38 | * 39 | * @type {ThreeDsResult} 40 | * @memberof PaymentVerificationResponse 41 | */ 42 | threeDSecure?: ThreeDsResult; 43 | /** 44 | * 45 | * @type {Eci} 46 | * @memberof PaymentVerificationResponse 47 | */ 48 | eci?: Eci; 49 | } 50 | -------------------------------------------------------------------------------- /src/generated/models/payout-destination-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The destination type. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const PayoutDestinationType = { 16 | AddressBook: "address_book" 17 | } as const; 18 | 19 | export type PayoutDestinationType = 20 | typeof PayoutDestinationType[keyof typeof PayoutDestinationType]; 21 | -------------------------------------------------------------------------------- /src/generated/models/payout-error-code.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Indicates the failure reason of a payout. Only present for payouts in failed state. Possible values are [`insufficient_funds`, `transaction_denied`, `transaction_failed`, `transaction_returned`, `bank_transaction_error`, `fiat_account_limit_exceeded`, `invalid_bank_account_number`, `invalid_ach_rtn`, `invalid_wire_rtn`, `vendor_inactive`]\' 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const PayoutErrorCode = { 16 | InsufficientFunds: "insufficient_funds", 17 | TransactionDenied: "transaction_denied", 18 | TransactionFailed: "transaction_failed", 19 | TransactionReturned: "transaction_returned", 20 | BankTransactionError: "bank_transaction_error", 21 | FiatAccountLimitExceeded: "fiat_account_limit_exceeded", 22 | InvalidBankAccountNumber: "invalid_bank_account_number", 23 | InvalidAchRtn: "invalid_ach_rtn", 24 | InvalidWireRtn: "invalid_wire_rtn", 25 | VendorInactive: "vendor_inactive" 26 | } as const; 27 | 28 | export type PayoutErrorCode = 29 | typeof PayoutErrorCode[keyof typeof PayoutErrorCode]; 30 | -------------------------------------------------------------------------------- /src/generated/models/payout-money.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PayoutMoney 13 | */ 14 | export interface PayoutMoney { 15 | /** 16 | * Magnitude of the amount, in units of the currency, with a `.`. 17 | * @type {string} 18 | * @memberof PayoutMoney 19 | */ 20 | amount: string; 21 | /** 22 | * Currency code for the amount. 23 | * @type {string} 24 | * @memberof PayoutMoney 25 | */ 26 | currency: PayoutMoneyCurrencyEnum; 27 | } 28 | 29 | export const PayoutMoneyCurrencyEnum = { 30 | Usd: "USD", 31 | Eur: "EUR", 32 | Btc: "BTC", 33 | Eth: "ETH", 34 | Mtc: "MTC", 35 | Flw: "FLW", 36 | Man: "MAN" 37 | } as const; 38 | 39 | export type PayoutMoneyCurrencyEnum = 40 | typeof PayoutMoneyCurrencyEnum[keyof typeof PayoutMoneyCurrencyEnum]; 41 | -------------------------------------------------------------------------------- /src/generated/models/payout-status.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Status of the payout. Status `pending` indicates that the payout is in process; `complete` indicates it finished successfully; `failed` indicates it failed. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const PayoutStatus = { 16 | Pending: "pending", 17 | Complete: "complete", 18 | Failed: "failed" 19 | } as const; 20 | 21 | export type PayoutStatus = typeof PayoutStatus[keyof typeof PayoutStatus]; 22 | -------------------------------------------------------------------------------- /src/generated/models/ping.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Ping 13 | */ 14 | export interface Ping { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof Ping 19 | */ 20 | message: string; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/pix-account-type.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Beneficiary account type. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const PixAccountType = { 16 | Checking: "checking", 17 | Savings: "savings", 18 | Salary: "salary", 19 | Prepaid: "prepaid" 20 | } as const; 21 | 22 | export type PixAccountType = typeof PixAccountType[keyof typeof PixAccountType]; 23 | -------------------------------------------------------------------------------- /src/generated/models/pix-instruction.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PixAccountType } from "./pix-account-type"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface PixInstruction 17 | */ 18 | export interface PixInstruction { 19 | /** 20 | * Circle tracking reference that needs to be set in the PIX reference field. 21 | * @type {string} 22 | * @memberof PixInstruction 23 | */ 24 | trackingRef?: string; 25 | /** 26 | * ISPB of beneficiary\'s bank. 27 | * @type {string} 28 | * @memberof PixInstruction 29 | */ 30 | ispb?: string; 31 | /** 32 | * Beneficiary account branch code. 33 | * @type {string} 34 | * @memberof PixInstruction 35 | */ 36 | branchCode?: string; 37 | /** 38 | * Beneficiary account number. 39 | * @type {string} 40 | * @memberof PixInstruction 41 | */ 42 | accountNumber?: string; 43 | /** 44 | * 45 | * @type {PixAccountType} 46 | * @memberof PixInstruction 47 | */ 48 | accountType?: PixAccountType; 49 | /** 50 | * Beneficiary Tax ID. 51 | * @type {string} 52 | * @memberof PixInstruction 53 | */ 54 | taxId?: string; 55 | /** 56 | * Name of the beneficiary. 57 | * @type {string} 58 | * @memberof PixInstruction 59 | */ 60 | name?: string; 61 | } 62 | -------------------------------------------------------------------------------- /src/generated/models/presign-domain.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PresignDomain 13 | */ 14 | export interface PresignDomain { 15 | /** 16 | * User readable name of signing domain 17 | * @type {string} 18 | * @memberof PresignDomain 19 | */ 20 | name: string; 21 | /** 22 | * The address of the contract that will verify the signature 23 | * @type {string} 24 | * @memberof PresignDomain 25 | */ 26 | verifyingContract: string; 27 | /** 28 | * The current major version of the signing domain. Signatures from different versions are not compatible 29 | * @type {string} 30 | * @memberof PresignDomain 31 | */ 32 | version: string; 33 | /** 34 | * chain id from https://chainid.network/ 35 | * @type {number} 36 | * @memberof PresignDomain 37 | */ 38 | chainId: number; 39 | } 40 | -------------------------------------------------------------------------------- /src/generated/models/presign-message-types-items.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PresignMessageTypesItems 13 | */ 14 | export interface PresignMessageTypesItems { 15 | /** 16 | * The name of the field 17 | * @type {string} 18 | * @memberof PresignMessageTypesItems 19 | */ 20 | name: string; 21 | /** 22 | * The type of the field 23 | * @type {string} 24 | * @memberof PresignMessageTypesItems 25 | */ 26 | type: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/presign-message-types.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PresignMessageTypesItems } from "./presign-message-types-items"; 12 | 13 | /** 14 | * The data schema of the message 15 | * @export 16 | * @interface PresignMessageTypes 17 | */ 18 | export interface PresignMessageTypes { 19 | /** 20 | * Data schema of the domain field in typedData. It\'s a list of (name, type) pair 21 | * @type {Array} 22 | * @memberof PresignMessageTypes 23 | */ 24 | EIP712Domain?: Array; 25 | /** 26 | * Data schema of the message in typedData. It\'s a list of (name, type) pair 27 | * @type {Array} 28 | * @memberof PresignMessageTypes 29 | */ 30 | TransferWithAuthorization?: Array; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/presign-message.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PresignMessage 13 | */ 14 | export interface PresignMessage { 15 | /** 16 | * A blockchain address representing payer\'s address 17 | * @type {string} 18 | * @memberof PresignMessage 19 | */ 20 | from: string; 21 | /** 22 | * A blockchain address representing payee\'s address 23 | * @type {string} 24 | * @memberof PresignMessage 25 | */ 26 | to: string; 27 | /** 28 | * Amount to be transferred 29 | * @type {string} 30 | * @memberof PresignMessage 31 | */ 32 | value: string; 33 | /** 34 | * the timestamp after which this is valid (unix time) 35 | * @type {number} 36 | * @memberof PresignMessage 37 | */ 38 | validAfter: number; 39 | /** 40 | * the timestamp before which this is valid (unix time) 41 | * @type {number} 42 | * @memberof PresignMessage 43 | */ 44 | validBefore: number; 45 | /** 46 | * unique nonce 47 | * @type {string} 48 | * @memberof PresignMessage 49 | */ 50 | nonce: string; 51 | } 52 | -------------------------------------------------------------------------------- /src/generated/models/presign-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { PresignResponseTypedData } from "./presign-response-typed-data"; 12 | 13 | /** 14 | * Response of the GET /presign endpoint 15 | * @export 16 | * @interface PresignResponse 17 | */ 18 | export interface PresignResponse { 19 | /** 20 | * 21 | * @type {PresignResponseTypedData} 22 | * @memberof PresignResponse 23 | */ 24 | typedData: PresignResponseTypedData; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/public-key.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface PublicKey 13 | */ 14 | export interface PublicKey { 15 | /** 16 | * Universally unique identifier (UUID v4) of the public key used in encryption. NOTE the sandbox environment uses the default value of `key1`. For this reason the example supplied is `key1` rather than a UUID. 17 | * @type {string} 18 | * @memberof PublicKey 19 | */ 20 | keyId: string; 21 | /** 22 | * A PGP ascii-armor encoded public key. 23 | * @type {string} 24 | * @memberof PublicKey 25 | */ 26 | publicKey: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/rate.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Rate 13 | */ 14 | export interface Rate { 15 | /** 16 | * The buy rate denominated in the quote currency of the trading pair. 17 | * @type {string} 18 | * @memberof Rate 19 | */ 20 | buy: string; 21 | /** 22 | * The sell rate denominated in the quote currency of the trading pair. 23 | * @type {string} 24 | * @memberof Rate 25 | */ 26 | sell: string; 27 | /** 28 | * ISO-8601 UTC date/time format. 29 | * @type {string} 30 | * @memberof Rate 31 | */ 32 | createDate: string; 33 | } 34 | -------------------------------------------------------------------------------- /src/generated/models/refund-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatMoneyUsd } from "./fiat-money-usd"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { ReversalReason } from "./reversal-reason"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface RefundCreationRequest 20 | */ 21 | export interface RefundCreationRequest { 22 | /** 23 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 24 | * @type {string} 25 | * @memberof RefundCreationRequest 26 | */ 27 | idempotencyKey: string; 28 | /** 29 | * 30 | * @type {FiatMoneyUsd} 31 | * @memberof RefundCreationRequest 32 | */ 33 | amount: FiatMoneyUsd; 34 | /** 35 | * 36 | * @type {ReversalReason} 37 | * @memberof RefundCreationRequest 38 | */ 39 | reason?: ReversalReason; 40 | } 41 | -------------------------------------------------------------------------------- /src/generated/models/refund-payment-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { DetailedRefund } from "./detailed-refund"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface RefundPaymentResponse 17 | */ 18 | export interface RefundPaymentResponse { 19 | /** 20 | * 21 | * @type {DetailedRefund} 22 | * @memberof RefundPaymentResponse 23 | */ 24 | data?: DetailedRefund; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/required-action.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * When the payment status is `action_required`, this object summarizes the required additional steps. 11 | * @export 12 | * @interface RequiredAction 13 | */ 14 | export interface RequiredAction { 15 | /** 16 | * The type of action that is required to proceed with the payment. Currently only one type is supported. 17 | * @type {string} 18 | * @memberof RequiredAction 19 | */ 20 | type: RequiredActionTypeEnum; 21 | /** 22 | * The URL to bring the user to in order to complete the payment. 23 | * @type {string} 24 | * @memberof RequiredAction 25 | */ 26 | redirectUrl: string; 27 | } 28 | 29 | export const RequiredActionTypeEnum = { 30 | ThreeDSecureRequired: "three_d_secure_required" 31 | } as const; 32 | 33 | export type RequiredActionTypeEnum = 34 | typeof RequiredActionTypeEnum[keyof typeof RequiredActionTypeEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/reversal-reason.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated reason for a returned payment. Providing this reason in the request is recommended (to improve risk evaluation) but not required. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const ReversalReason = { 16 | Duplicate: "duplicate", 17 | Fraudulent: "fraudulent", 18 | RequestedByCustomer: "requested_by_customer", 19 | BankTransactionError: "bank_transaction_error", 20 | InvalidAccountNumber: "invalid_account_number", 21 | InsufficientFunds: "insufficient_funds", 22 | PaymentStoppedByIssuer: "payment_stopped_by_issuer", 23 | PaymentReturned: "payment_returned", 24 | BankAccountIneligible: "bank_account_ineligible", 25 | InvalidAchRtn: "invalid_ach_rtn", 26 | UnauthorizedTransaction: "unauthorized_transaction", 27 | PaymentFailed: "payment_failed" 28 | } as const; 29 | 30 | export type ReversalReason = typeof ReversalReason[keyof typeof ReversalReason]; 31 | -------------------------------------------------------------------------------- /src/generated/models/risk-evaluation.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Results of risk evaluation. Only present if the payment is denied by Circle\'s risk service. 11 | * @export 12 | * @interface RiskEvaluation 13 | */ 14 | export interface RiskEvaluation { 15 | /** 16 | * Enumerated decision of the account. 17 | * @type {string} 18 | * @memberof RiskEvaluation 19 | */ 20 | decision?: RiskEvaluationDecisionEnum; 21 | /** 22 | * Risk reason for the definitive decision outcome. 23 | * @type {string} 24 | * @memberof RiskEvaluation 25 | */ 26 | reason?: string | null; 27 | } 28 | 29 | export const RiskEvaluationDecisionEnum = { 30 | Approved: "approved", 31 | Denied: "denied", 32 | Review: "review" 33 | } as const; 34 | 35 | export type RiskEvaluationDecisionEnum = 36 | typeof RiskEvaluationDecisionEnum[keyof typeof RiskEvaluationDecisionEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/simple-billing-details.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Billing details of the card holder. 11 | * @export 12 | * @interface SimpleBillingDetails 13 | */ 14 | export interface SimpleBillingDetails { 15 | /** 16 | * Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2. 17 | * @type {string} 18 | * @memberof SimpleBillingDetails 19 | */ 20 | country: string; 21 | /** 22 | * State / County / Province / Region portion of the address. US and Canada use the two-letter code for the subdivision. 23 | * @type {string} 24 | * @memberof SimpleBillingDetails 25 | */ 26 | district: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/generated/models/source-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * The payment source. 11 | * @export 12 | * @interface SourceResponse 13 | */ 14 | export interface SourceResponse { 15 | /** 16 | * Unique system generated identifier for the entity. 17 | * @type {string} 18 | * @memberof SourceResponse 19 | */ 20 | id?: string; 21 | /** 22 | * Type of the source. 23 | * @type {string} 24 | * @memberof SourceResponse 25 | */ 26 | type?: SourceResponseTypeEnum; 27 | } 28 | 29 | export const SourceResponseTypeEnum = { 30 | Card: "card", 31 | Ach: "ach", 32 | Wire: "wire", 33 | Sepa: "sepa" 34 | } as const; 35 | 36 | export type SourceResponseTypeEnum = 37 | typeof SourceResponseTypeEnum[keyof typeof SourceResponseTypeEnum]; 38 | -------------------------------------------------------------------------------- /src/generated/models/source.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface Source 13 | */ 14 | export interface Source { 15 | /** 16 | * Unique system generated identifier for the entity. 17 | * @type {string} 18 | * @memberof Source 19 | */ 20 | id?: string; 21 | /** 22 | * Type of the source. 23 | * @type {string} 24 | * @memberof Source 25 | */ 26 | type?: SourceTypeEnum; 27 | } 28 | 29 | export const SourceTypeEnum = { 30 | Card: "card" 31 | } as const; 32 | 33 | export type SourceTypeEnum = typeof SourceTypeEnum[keyof typeof SourceTypeEnum]; 34 | -------------------------------------------------------------------------------- /src/generated/models/stablecoin.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { TokenAmount } from "./token-amount"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface Stablecoin 17 | */ 18 | export interface Stablecoin { 19 | /** 20 | * Name of the stablecoin. 21 | * @type {string} 22 | * @memberof Stablecoin 23 | */ 24 | name?: string; 25 | /** 26 | * Symbol of the stablecoin. 27 | * @type {string} 28 | * @memberof Stablecoin 29 | */ 30 | symbol?: string; 31 | /** 32 | * Total circulating amount of the stablecoin. 33 | * @type {string} 34 | * @memberof Stablecoin 35 | */ 36 | totalAmount?: string; 37 | /** 38 | * A list of the broken down totalAmount by chain of the stablecoin. 39 | * @type {Array} 40 | * @memberof Stablecoin 41 | */ 42 | chains?: Array; 43 | } 44 | -------------------------------------------------------------------------------- /src/generated/models/subscription-detail.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface SubscriptionDetail 13 | */ 14 | export interface SubscriptionDetail { 15 | /** 16 | * Identifier for created subscription. 17 | * @type {string} 18 | * @memberof SubscriptionDetail 19 | */ 20 | url?: string; 21 | /** 22 | * Status of the subscription request. 23 | * @type {string} 24 | * @memberof SubscriptionDetail 25 | */ 26 | status?: SubscriptionDetailStatusEnum; 27 | } 28 | 29 | export const SubscriptionDetailStatusEnum = { 30 | Confirmed: "confirmed", 31 | Pending: "pending", 32 | Deleted: "deleted" 33 | } as const; 34 | 35 | export type SubscriptionDetailStatusEnum = 36 | typeof SubscriptionDetailStatusEnum[keyof typeof SubscriptionDetailStatusEnum]; 37 | -------------------------------------------------------------------------------- /src/generated/models/subscription-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface SubscriptionRequest 13 | */ 14 | export interface SubscriptionRequest { 15 | /** 16 | * URL of the subscriber endpoint. Must be publicly accessible and utilize HTTPS. 17 | * @type {string} 18 | * @memberof SubscriptionRequest 19 | */ 20 | endpoint: string; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/subscription-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { SubscriptionDetail } from "./subscription-detail"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface SubscriptionResponse 17 | */ 18 | export interface SubscriptionResponse { 19 | /** 20 | * Unique system generated identifier for the entity. 21 | * @type {string} 22 | * @memberof SubscriptionResponse 23 | */ 24 | id?: string; 25 | /** 26 | * URL of the endpoint. 27 | * @type {string} 28 | * @memberof SubscriptionResponse 29 | */ 30 | endpoint?: string; 31 | /** 32 | * List of subscriptions details for created subscriptions. 33 | * @type {Array} 34 | * @memberof SubscriptionResponse 35 | */ 36 | subscriptionDetails?: Array; 37 | } 38 | -------------------------------------------------------------------------------- /src/generated/models/three-ds-result.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Enumerated status of the check. `pass` indicates successful 3DS authentication. `fail` indicates failed 3DS authentication. 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const ThreeDsResult = { 16 | Pass: "pass", 17 | Fail: "fail" 18 | } as const; 19 | 20 | export type ThreeDsResult = typeof ThreeDsResult[keyof typeof ThreeDsResult]; 21 | -------------------------------------------------------------------------------- /src/generated/models/to-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface ToAmount 13 | */ 14 | export interface ToAmount { 15 | /** 16 | * Currency code for the amount. 17 | * @type {string} 18 | * @memberof ToAmount 19 | */ 20 | currency: ToAmountCurrencyEnum; 21 | } 22 | 23 | export const ToAmountCurrencyEnum = { 24 | Usd: "USD", 25 | Eur: "EUR", 26 | Btc: "BTC", 27 | Eth: "ETH", 28 | Mtc: "MTC" 29 | } as const; 30 | 31 | export type ToAmountCurrencyEnum = 32 | typeof ToAmountCurrencyEnum[keyof typeof ToAmountCurrencyEnum]; 33 | -------------------------------------------------------------------------------- /src/generated/models/token-amount.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface TokenAmount 17 | */ 18 | export interface TokenAmount { 19 | /** 20 | * Magnitude of the amount, in units of the currency, with a `.`. 21 | * @type {string} 22 | * @memberof TokenAmount 23 | */ 24 | amount: string; 25 | /** 26 | * 27 | * @type {Chain} 28 | * @memberof TokenAmount 29 | */ 30 | chain: Chain; 31 | } 32 | -------------------------------------------------------------------------------- /src/generated/models/transfer-destination-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { TransferDestinationBlockchainLocation } from "./transfer-destination-blockchain-location"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { TransferDestinationWalletLocation } from "./transfer-destination-wallet-location"; 18 | 19 | /** 20 | * @type TransferDestinationLocation 21 | * A destination of funds. 22 | * @export 23 | */ 24 | export type TransferDestinationLocation = 25 | | TransferDestinationBlockchainLocation 26 | | TransferDestinationWalletLocation; 27 | -------------------------------------------------------------------------------- /src/generated/models/transfer-destination-wallet-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * A destination wallet location. 11 | * @export 12 | * @interface TransferDestinationWalletLocation 13 | */ 14 | export interface TransferDestinationWalletLocation { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof TransferDestinationWalletLocation 19 | */ 20 | type: TransferDestinationWalletLocationTypeEnum; 21 | /** 22 | * The id of the wallet. 23 | * @type {string} 24 | * @memberof TransferDestinationWalletLocation 25 | */ 26 | id: string; 27 | /** 28 | * An alphanumeric string which indicates the wallet address used to receive the transfer. Will only be set when the transfer source is a blockchain address. 29 | * @type {string} 30 | * @memberof TransferDestinationWalletLocation 31 | */ 32 | address?: string; 33 | /** 34 | * The secondary identifier for a blockchain address. An example of this is the memo field on the Stellar network, which can be text, id, or hash format. 35 | * @type {string} 36 | * @memberof TransferDestinationWalletLocation 37 | */ 38 | addressTag?: string | null; 39 | } 40 | 41 | export const TransferDestinationWalletLocationTypeEnum = { 42 | Wallet: "wallet" 43 | } as const; 44 | 45 | export type TransferDestinationWalletLocationTypeEnum = 46 | typeof TransferDestinationWalletLocationTypeEnum[keyof typeof TransferDestinationWalletLocationTypeEnum]; 47 | -------------------------------------------------------------------------------- /src/generated/models/transfer-error-code.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Indicates the failure reason of a transfer. Only present for transfers in a `failed` state. Possible values are `insufficient_funds`, `blockchain_error` and `transfer_denied` and `transfer_failed` 11 | * @export 12 | * @enum {string} 13 | */ 14 | 15 | export const TransferErrorCode = { 16 | TransferFailed: "transfer_failed", 17 | TransferDenied: "transfer_denied", 18 | BlockchainError: "blockchain_error", 19 | InsufficientFunds: "insufficient_funds" 20 | } as const; 21 | 22 | export type TransferErrorCode = 23 | typeof TransferErrorCode[keyof typeof TransferErrorCode]; 24 | -------------------------------------------------------------------------------- /src/generated/models/transfer-request-verified-blockchain-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface TransferRequestVerifiedBlockchainLocation 13 | */ 14 | export interface TransferRequestVerifiedBlockchainLocation { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof TransferRequestVerifiedBlockchainLocation 19 | */ 20 | type: TransferRequestVerifiedBlockchainLocationTypeEnum; 21 | /** 22 | * The ID of the verified blockchain recipient address. 23 | * @type {string} 24 | * @memberof TransferRequestVerifiedBlockchainLocation 25 | */ 26 | addressId: string; 27 | } 28 | 29 | export const TransferRequestVerifiedBlockchainLocationTypeEnum = { 30 | VerifiedBlockchain: "verified_blockchain" 31 | } as const; 32 | 33 | export type TransferRequestVerifiedBlockchainLocationTypeEnum = 34 | typeof TransferRequestVerifiedBlockchainLocationTypeEnum[keyof typeof TransferRequestVerifiedBlockchainLocationTypeEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/transfer-source-blockchain-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { Identity } from "./identity"; 15 | 16 | /** 17 | * A source blockchain address. 18 | * @export 19 | * @interface TransferSourceBlockchainLocation 20 | */ 21 | export interface TransferSourceBlockchainLocation { 22 | /** 23 | * 24 | * @type {string} 25 | * @memberof TransferSourceBlockchainLocation 26 | */ 27 | type: TransferSourceBlockchainLocationTypeEnum; 28 | /** 29 | * 30 | * @type {Chain} 31 | * @memberof TransferSourceBlockchainLocation 32 | */ 33 | chain: Chain; 34 | /** 35 | * 36 | * @type {Array} 37 | * @memberof TransferSourceBlockchainLocation 38 | */ 39 | identities?: Array; 40 | } 41 | 42 | export const TransferSourceBlockchainLocationTypeEnum = { 43 | Blockchain: "blockchain" 44 | } as const; 45 | 46 | export type TransferSourceBlockchainLocationTypeEnum = 47 | typeof TransferSourceBlockchainLocationTypeEnum[keyof typeof TransferSourceBlockchainLocationTypeEnum]; 48 | -------------------------------------------------------------------------------- /src/generated/models/transfer-source-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Chain } from "./chain"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { Identity } from "./identity"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { TransferSourceBlockchainLocation } from "./transfer-source-blockchain-location"; 18 | // May contain unused imports in some cases 19 | // @ts-ignore 20 | import { TransferSourceWalletLocation } from "./transfer-source-wallet-location"; 21 | 22 | /** 23 | * @type TransferSourceLocation 24 | * A source of funds. 25 | * @export 26 | */ 27 | export type TransferSourceLocation = 28 | | TransferSourceBlockchainLocation 29 | | TransferSourceWalletLocation; 30 | -------------------------------------------------------------------------------- /src/generated/models/transfer-source-wallet-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Identity } from "./identity"; 12 | 13 | /** 14 | * A source wallet location. 15 | * @export 16 | * @interface TransferSourceWalletLocation 17 | */ 18 | export interface TransferSourceWalletLocation { 19 | /** 20 | * 21 | * @type {string} 22 | * @memberof TransferSourceWalletLocation 23 | */ 24 | type: TransferSourceWalletLocationTypeEnum; 25 | /** 26 | * The id of the wallet. 27 | * @type {string} 28 | * @memberof TransferSourceWalletLocation 29 | */ 30 | id: string; 31 | /** 32 | * 33 | * @type {Array} 34 | * @memberof TransferSourceWalletLocation 35 | */ 36 | identities?: Array; 37 | } 38 | 39 | export const TransferSourceWalletLocationTypeEnum = { 40 | Wallet: "wallet" 41 | } as const; 42 | 43 | export type TransferSourceWalletLocationTypeEnum = 44 | typeof TransferSourceWalletLocationTypeEnum[keyof typeof TransferSourceWalletLocationTypeEnum]; 45 | -------------------------------------------------------------------------------- /src/generated/models/transfer-type-info-additional-properties.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * Additional properties that apply to specific transfer type. 11 | * @export 12 | * @interface TransferTypeInfoAdditionalProperties 13 | */ 14 | export interface TransferTypeInfoAdditionalProperties { 15 | /** 16 | * Transaction amount limit for the transfer type. 17 | * @type {number} 18 | * @memberof TransferTypeInfoAdditionalProperties 19 | */ 20 | transactionLimits?: number; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/transfer-type-info.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { FiatCurrency } from "./fiat-currency"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { TransferTypeInfoAdditionalProperties } from "./transfer-type-info-additional-properties"; 15 | 16 | /** 17 | * Additional information for specific transfer type. 18 | * @export 19 | * @interface TransferTypeInfo 20 | */ 21 | export interface TransferTypeInfo { 22 | /** 23 | * 24 | * @type {Set} 25 | * @memberof TransferTypeInfo 26 | */ 27 | currencies: Set; 28 | /** 29 | * 30 | * @type {TransferTypeInfoAdditionalProperties} 31 | * @memberof TransferTypeInfo 32 | */ 33 | additionalProperties?: TransferTypeInfoAdditionalProperties; 34 | } 35 | -------------------------------------------------------------------------------- /src/generated/models/update-card-response.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { Card } from "./card"; 12 | 13 | /** 14 | * 15 | * @export 16 | * @interface UpdateCardResponse 17 | */ 18 | export interface UpdateCardResponse { 19 | /** 20 | * 21 | * @type {Card} 22 | * @memberof UpdateCardResponse 23 | */ 24 | data?: Card; 25 | } 26 | -------------------------------------------------------------------------------- /src/generated/models/wallet-config.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface WalletConfig 13 | */ 14 | export interface WalletConfig { 15 | /** 16 | * Unique system generated identifier for the wallet of the merchant. 17 | * @type {string} 18 | * @memberof WalletConfig 19 | */ 20 | masterWalletId?: string; 21 | } 22 | -------------------------------------------------------------------------------- /src/generated/models/wallet-location.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface WalletLocation 13 | */ 14 | export interface WalletLocation { 15 | /** 16 | * 17 | * @type {string} 18 | * @memberof WalletLocation 19 | */ 20 | type: WalletLocationTypeEnum; 21 | /** 22 | * The id of the wallet. 23 | * @type {string} 24 | * @memberof WalletLocation 25 | */ 26 | id: string; 27 | } 28 | 29 | export const WalletLocationTypeEnum = { 30 | Wallet: "wallet" 31 | } as const; 32 | 33 | export type WalletLocationTypeEnum = 34 | typeof WalletLocationTypeEnum[keyof typeof WalletLocationTypeEnum]; 35 | -------------------------------------------------------------------------------- /src/generated/models/wire-creation-request-iban.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BankAddressIbanSupported } from "./bank-address-iban-supported"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { BillingDetails } from "./billing-details"; 15 | 16 | /** 17 | * Relevant fields for non-U.S. bank accounts that support IBAN. 18 | * @export 19 | * @interface WireCreationRequestIban 20 | */ 21 | export interface WireCreationRequestIban { 22 | /** 23 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 24 | * @type {string} 25 | * @memberof WireCreationRequestIban 26 | */ 27 | idempotencyKey: string; 28 | /** 29 | * International Bank Account Number (IBAN) for the bank account. 30 | * @type {string} 31 | * @memberof WireCreationRequestIban 32 | */ 33 | iban: string; 34 | /** 35 | * 36 | * @type {BillingDetails} 37 | * @memberof WireCreationRequestIban 38 | */ 39 | billingDetails: BillingDetails; 40 | /** 41 | * 42 | * @type {BankAddressIbanSupported} 43 | * @memberof WireCreationRequestIban 44 | */ 45 | bankAddress: BankAddressIbanSupported; 46 | } 47 | -------------------------------------------------------------------------------- /src/generated/models/wire-creation-request-us.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BankAddress } from "./bank-address"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { BillingDetails } from "./billing-details"; 15 | 16 | /** 17 | * Relevant fields for U.S. bank accounts. 18 | * @export 19 | * @interface WireCreationRequestUs 20 | */ 21 | export interface WireCreationRequestUs { 22 | /** 23 | * Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. 24 | * @type {string} 25 | * @memberof WireCreationRequestUs 26 | */ 27 | idempotencyKey: string; 28 | /** 29 | * Account number that identifies the bank account. 30 | * @type {string} 31 | * @memberof WireCreationRequestUs 32 | */ 33 | accountNumber: string; 34 | /** 35 | * ABA routing number for the bank account. Note this has to be specific for bank wire transfers. 36 | * @type {string} 37 | * @memberof WireCreationRequestUs 38 | */ 39 | routingNumber: string; 40 | /** 41 | * 42 | * @type {BillingDetails} 43 | * @memberof WireCreationRequestUs 44 | */ 45 | billingDetails: BillingDetails; 46 | /** 47 | * 48 | * @type {BankAddress} 49 | * @memberof WireCreationRequestUs 50 | */ 51 | bankAddress: BankAddress; 52 | } 53 | -------------------------------------------------------------------------------- /src/generated/models/wire-creation-request.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { BankAddressNonIban } from "./bank-address-non-iban"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { BillingDetails } from "./billing-details"; 15 | // May contain unused imports in some cases 16 | // @ts-ignore 17 | import { WireCreationRequestAccountNumber } from "./wire-creation-request-account-number"; 18 | // May contain unused imports in some cases 19 | // @ts-ignore 20 | import { WireCreationRequestIban } from "./wire-creation-request-iban"; 21 | // May contain unused imports in some cases 22 | // @ts-ignore 23 | import { WireCreationRequestUs } from "./wire-creation-request-us"; 24 | 25 | /** 26 | * @type WireCreationRequest 27 | * Request object used to create a bank account (wires). Different fields are required depending on the bank country, see the guide documentation for the list of supported bank countries along with which ones support IBAN. 28 | * @export 29 | */ 30 | export type WireCreationRequest = 31 | | WireCreationRequestAccountNumber 32 | | WireCreationRequestIban 33 | | WireCreationRequestUs; 34 | -------------------------------------------------------------------------------- /src/generated/models/wire-instruction-beneficiary.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | /** 10 | * 11 | * @export 12 | * @interface WireInstructionBeneficiary 13 | */ 14 | export interface WireInstructionBeneficiary { 15 | /** 16 | * Name of the beneficiary. 17 | * @type {string} 18 | * @memberof WireInstructionBeneficiary 19 | */ 20 | name?: string; 21 | /** 22 | * Address line 1 of the beneficiary\'s address. 23 | * @type {string} 24 | * @memberof WireInstructionBeneficiary 25 | */ 26 | address1?: string; 27 | /** 28 | * Address line 2 of the beneficiary\'s address. 29 | * @type {string} 30 | * @memberof WireInstructionBeneficiary 31 | */ 32 | address2?: string; 33 | } 34 | -------------------------------------------------------------------------------- /src/generated/models/wire-instruction.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | /** 4 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 5 | * https://openapi-generator.tech 6 | * Do not edit the class manually. 7 | */ 8 | 9 | // May contain unused imports in some cases 10 | // @ts-ignore 11 | import { WireInstructionBeneficiary } from "./wire-instruction-beneficiary"; 12 | // May contain unused imports in some cases 13 | // @ts-ignore 14 | import { WireInstructionBeneficiaryBank } from "./wire-instruction-beneficiary-bank"; 15 | 16 | /** 17 | * 18 | * @export 19 | * @interface WireInstruction 20 | */ 21 | export interface WireInstruction { 22 | /** 23 | * Circle tracking reference that needs to be set in the wire reference field. 24 | * @type {string} 25 | * @memberof WireInstruction 26 | */ 27 | trackingRef?: string; 28 | /** 29 | * 30 | * @type {WireInstructionBeneficiary} 31 | * @memberof WireInstruction 32 | */ 33 | beneficiary?: WireInstructionBeneficiary; 34 | /** 35 | * 36 | * @type {WireInstructionBeneficiaryBank} 37 | * @memberof WireInstruction 38 | */ 39 | beneficiaryBank?: WireInstructionBeneficiaryBank; 40 | } 41 | -------------------------------------------------------------------------------- /src/generated/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "esnext", 5 | "outDir": "dist/esm" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./generated"; 2 | 3 | export enum CircleEnvironments { 4 | production = "https://api.circle.com", 5 | sandbox = "https://api-sandbox.circle.com" 6 | } 7 | -------------------------------------------------------------------------------- /templates/typescript-axios/index.mustache: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | {{>licenseInfo}} 4 | 5 | import { 6 | {{#apiInfo}} 7 | {{#apis}} 8 | {{#operations}}{{classname}},{{/operations}} 9 | {{/apis}} 10 | {{/apiInfo}} 11 | } from './api' 12 | 13 | import { Configuration } from "./configuration"; 14 | export * from "./{{tsModelPackage}}"; 15 | 16 | 17 | export class Circle { 18 | {{#apiInfo}}{{#apis}}public <%#camelize%>{{baseName}}<%/camelize%>: {{classname}}; 19 | {{/apis}}{{/apiInfo}} 20 | constructor(apiKey: string, baseUrl: string) { 21 | const configuration = new Configuration({ basePath: baseUrl, apiKey }); 22 | {{#apiInfo}} 23 | {{#apis}} 24 | {{#operations}}this.<%#camelize%>{{baseName}}<%/camelize%> = new {{classname}}(configuration);{{/operations}} 25 | {{/apis}} 26 | {{/apiInfo}} 27 | } 28 | } -------------------------------------------------------------------------------- /templates/typescript-axios/licenseInfo.mustache: -------------------------------------------------------------------------------- 1 | /** 2 | {{! Few lines deleted by Circle here }} 3 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 4 | * https://openapi-generator.tech 5 | * Do not edit the class manually. 6 | */ 7 | -------------------------------------------------------------------------------- /tests/circle.test.ts: -------------------------------------------------------------------------------- 1 | import { Circle, CircleEnvironments } from "../src"; 2 | 3 | describe("testing circle init", () => { 4 | it("should ping sandbox", async () => { 5 | const circle = new Circle("dummy_api_key", CircleEnvironments.sandbox); 6 | expect(circle).not.toBeNull(); 7 | const response = await circle.health.ping(); 8 | expect(response.data.message).toBe("pong"); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "exclude": [] 4 | } 5 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": true, 3 | "compilerOptions": { 4 | "target": "es6", 5 | "module": "commonjs", 6 | 7 | "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */, 8 | "outDir": "dist" /* Specify an output folder for all emitted files. */, 9 | "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, 10 | "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, 11 | 12 | "strict": true /* Enable all strict type-checking options. */, 13 | "skipLibCheck": true /* Skip type checking all .d.ts files. */, 14 | 15 | "inlineSourceMap": true, 16 | "inlineSources": true, 17 | "noFallthroughCasesInSwitch": true, 18 | "noImplicitAny": true, 19 | "noImplicitReturns": true, 20 | "noUnusedLocals": false, 21 | 22 | "preserveConstEnums": true, 23 | "lib": ["es6", "dom"], 24 | "alwaysStrict": true, 25 | "strictNullChecks": true, 26 | "resolveJsonModule": true, 27 | "typeRoots": ["node_modules/@types", "dist/index.d.ts"] 28 | }, 29 | "exclude": ["tests/*.ts", "dist", "build-utils"] 30 | } 31 | --------------------------------------------------------------------------------