@augustusbank/typescript-sdk 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +136 -0
- package/LICENSE +201 -0
- package/README.md +394 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +249 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +249 -0
- package/client.d.ts.map +1 -0
- package/client.js +542 -0
- package/client.js.map +1 -0
- package/client.mjs +538 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +54 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +54 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +32 -0
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +87 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +81 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +161 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/account-programs.d.mts +112 -0
- package/resources/account-programs.d.mts.map +1 -0
- package/resources/account-programs.d.ts +112 -0
- package/resources/account-programs.d.ts.map +1 -0
- package/resources/account-programs.js +33 -0
- package/resources/account-programs.js.map +1 -0
- package/resources/account-programs.mjs +29 -0
- package/resources/account-programs.mjs.map +1 -0
- package/resources/accounts.d.mts +850 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +850 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +53 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +49 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/api-keys.d.mts +58 -0
- package/resources/api-keys.d.mts.map +1 -0
- package/resources/api-keys.d.ts +58 -0
- package/resources/api-keys.d.ts.map +1 -0
- package/resources/api-keys.js +17 -0
- package/resources/api-keys.js.map +1 -0
- package/resources/api-keys.mjs +13 -0
- package/resources/api-keys.mjs.map +1 -0
- package/resources/api-versions.d.mts +47 -0
- package/resources/api-versions.d.mts.map +1 -0
- package/resources/api-versions.d.ts +47 -0
- package/resources/api-versions.d.ts.map +1 -0
- package/resources/api-versions.js +17 -0
- package/resources/api-versions.js.map +1 -0
- package/resources/api-versions.mjs +13 -0
- package/resources/api-versions.mjs.map +1 -0
- package/resources/conversions.d.mts +270 -0
- package/resources/conversions.d.mts.map +1 -0
- package/resources/conversions.d.ts +270 -0
- package/resources/conversions.d.ts.map +1 -0
- package/resources/conversions.js +32 -0
- package/resources/conversions.js.map +1 -0
- package/resources/conversions.mjs +28 -0
- package/resources/conversions.mjs.map +1 -0
- package/resources/deposits.d.mts +252 -0
- package/resources/deposits.d.mts.map +1 -0
- package/resources/deposits.d.ts +252 -0
- package/resources/deposits.d.ts.map +1 -0
- package/resources/deposits.js +23 -0
- package/resources/deposits.js.map +1 -0
- package/resources/deposits.mjs +19 -0
- package/resources/deposits.mjs.map +1 -0
- package/resources/events.d.mts +101 -0
- package/resources/events.d.mts.map +1 -0
- package/resources/events.d.ts +101 -0
- package/resources/events.d.ts.map +1 -0
- package/resources/events.js +24 -0
- package/resources/events.js.map +1 -0
- package/resources/events.mjs +20 -0
- package/resources/events.mjs.map +1 -0
- package/resources/index.d.mts +15 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +15 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +33 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +16 -0
- package/resources/index.mjs.map +1 -0
- package/resources/payouts.d.mts +550 -0
- package/resources/payouts.d.mts.map +1 -0
- package/resources/payouts.d.ts +550 -0
- package/resources/payouts.d.ts.map +1 -0
- package/resources/payouts.js +29 -0
- package/resources/payouts.js.map +1 -0
- package/resources/payouts.mjs +25 -0
- package/resources/payouts.mjs.map +1 -0
- package/resources/quotes/index.d.mts +3 -0
- package/resources/quotes/index.d.mts.map +1 -0
- package/resources/quotes/index.d.ts +3 -0
- package/resources/quotes/index.d.ts.map +1 -0
- package/resources/quotes/index.js +9 -0
- package/resources/quotes/index.js.map +1 -0
- package/resources/quotes/index.mjs +4 -0
- package/resources/quotes/index.mjs.map +1 -0
- package/resources/quotes/indicative.d.mts +76 -0
- package/resources/quotes/indicative.d.mts.map +1 -0
- package/resources/quotes/indicative.d.ts +76 -0
- package/resources/quotes/indicative.d.ts.map +1 -0
- package/resources/quotes/indicative.js +15 -0
- package/resources/quotes/indicative.js.map +1 -0
- package/resources/quotes/indicative.mjs +11 -0
- package/resources/quotes/indicative.mjs.map +1 -0
- package/resources/quotes/quotes.d.mts +71 -0
- package/resources/quotes/quotes.d.mts.map +1 -0
- package/resources/quotes/quotes.d.ts +71 -0
- package/resources/quotes/quotes.d.ts.map +1 -0
- package/resources/quotes/quotes.js +24 -0
- package/resources/quotes/quotes.js.map +1 -0
- package/resources/quotes/quotes.mjs +19 -0
- package/resources/quotes/quotes.mjs.map +1 -0
- package/resources/quotes.d.mts +2 -0
- package/resources/quotes.d.mts.map +1 -0
- package/resources/quotes.d.ts +2 -0
- package/resources/quotes.d.ts.map +1 -0
- package/resources/quotes.js +6 -0
- package/resources/quotes.js.map +1 -0
- package/resources/quotes.mjs +3 -0
- package/resources/quotes.mjs.map +1 -0
- package/resources/returns.d.mts +70 -0
- package/resources/returns.d.mts.map +1 -0
- package/resources/returns.d.ts +70 -0
- package/resources/returns.d.ts.map +1 -0
- package/resources/returns.js +16 -0
- package/resources/returns.js.map +1 -0
- package/resources/returns.mjs +12 -0
- package/resources/returns.mjs.map +1 -0
- package/resources/scopes.d.mts +49 -0
- package/resources/scopes.d.mts.map +1 -0
- package/resources/scopes.d.ts +49 -0
- package/resources/scopes.d.ts.map +1 -0
- package/resources/scopes.js +17 -0
- package/resources/scopes.js.map +1 -0
- package/resources/scopes.mjs +13 -0
- package/resources/scopes.mjs.map +1 -0
- package/resources/webhook-deliveries.d.mts +203 -0
- package/resources/webhook-deliveries.d.mts.map +1 -0
- package/resources/webhook-deliveries.d.ts +203 -0
- package/resources/webhook-deliveries.d.ts.map +1 -0
- package/resources/webhook-deliveries.js +33 -0
- package/resources/webhook-deliveries.js.map +1 -0
- package/resources/webhook-deliveries.mjs +29 -0
- package/resources/webhook-deliveries.mjs.map +1 -0
- package/resources/webhook-subscriptions.d.mts +221 -0
- package/resources/webhook-subscriptions.d.mts.map +1 -0
- package/resources/webhook-subscriptions.d.ts +221 -0
- package/resources/webhook-subscriptions.d.ts.map +1 -0
- package/resources/webhook-subscriptions.js +54 -0
- package/resources/webhook-subscriptions.js.map +1 -0
- package/resources/webhook-subscriptions.mjs +50 -0
- package/resources/webhook-subscriptions.mjs.map +1 -0
- package/resources/webhooks.d.mts +1489 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +1489 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +20 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +16 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1047 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +157 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +23 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +93 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +128 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/account-programs.ts +156 -0
- package/src/resources/accounts.ts +1603 -0
- package/src/resources/api-keys.ts +89 -0
- package/src/resources/api-versions.ts +61 -0
- package/src/resources/conversions.ts +340 -0
- package/src/resources/deposits.ts +364 -0
- package/src/resources/events.ts +170 -0
- package/src/resources/index.ts +99 -0
- package/src/resources/payouts.ts +735 -0
- package/src/resources/quotes/index.ts +4 -0
- package/src/resources/quotes/indicative.ts +100 -0
- package/src/resources/quotes/quotes.ts +108 -0
- package/src/resources/quotes.ts +3 -0
- package/src/resources/returns.ts +102 -0
- package/src/resources/scopes.ts +80 -0
- package/src/resources/webhook-deliveries.ts +267 -0
- package/src/resources/webhook-subscriptions.ts +411 -0
- package/src/resources/webhooks.ts +1953 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class Conversions extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates and executes a conversion.
|
|
8
|
+
*/
|
|
9
|
+
create(body: ConversionCreateParams, options?: RequestOptions): APIPromise<ConversionCreateResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves a conversion by ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ConversionRetrieveResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a paginated list of conversions.
|
|
16
|
+
*/
|
|
17
|
+
list(query?: ConversionListParams | null | undefined, options?: RequestOptions): PagePromise<ConversionListResponsesCursorPage, ConversionListResponse>;
|
|
18
|
+
}
|
|
19
|
+
export type ConversionListResponsesCursorPage = CursorPage<ConversionListResponse>;
|
|
20
|
+
export interface ConversionCreateResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Unique identifier of the conversion.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
27
|
+
*/
|
|
28
|
+
completed_at: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
31
|
+
*/
|
|
32
|
+
created_at: string;
|
|
33
|
+
/**
|
|
34
|
+
* Failure details when status is failed, otherwise null.
|
|
35
|
+
*/
|
|
36
|
+
failure: ConversionCreateResponse.Failure | null;
|
|
37
|
+
/**
|
|
38
|
+
* Key-value pairs stored with the conversion.
|
|
39
|
+
*/
|
|
40
|
+
metadata: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* ID of the associated quote, or null.
|
|
45
|
+
*/
|
|
46
|
+
quote_id: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the source account, or null.
|
|
49
|
+
*/
|
|
50
|
+
source_account_id: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Source amount as a string decimal.
|
|
53
|
+
*/
|
|
54
|
+
source_amount: string;
|
|
55
|
+
/**
|
|
56
|
+
* Source currency code.
|
|
57
|
+
*/
|
|
58
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
59
|
+
/**
|
|
60
|
+
* Current status of the conversion.
|
|
61
|
+
*/
|
|
62
|
+
status: 'pending' | 'completed' | 'failed';
|
|
63
|
+
/**
|
|
64
|
+
* ID of the target account, or null.
|
|
65
|
+
*/
|
|
66
|
+
target_account_id: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Target currency code.
|
|
69
|
+
*/
|
|
70
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
71
|
+
/**
|
|
72
|
+
* Resource type discriminator.
|
|
73
|
+
*/
|
|
74
|
+
type: 'conversion';
|
|
75
|
+
/**
|
|
76
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
77
|
+
*/
|
|
78
|
+
updated_at: string;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace ConversionCreateResponse {
|
|
81
|
+
/**
|
|
82
|
+
* Failure details when status is failed, otherwise null.
|
|
83
|
+
*/
|
|
84
|
+
interface Failure {
|
|
85
|
+
/**
|
|
86
|
+
* Human-readable description of the failure.
|
|
87
|
+
*/
|
|
88
|
+
message: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export interface ConversionRetrieveResponse {
|
|
92
|
+
/**
|
|
93
|
+
* Unique identifier of the conversion.
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
/**
|
|
97
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
98
|
+
*/
|
|
99
|
+
completed_at: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
102
|
+
*/
|
|
103
|
+
created_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* Failure details when status is failed, otherwise null.
|
|
106
|
+
*/
|
|
107
|
+
failure: ConversionRetrieveResponse.Failure | null;
|
|
108
|
+
/**
|
|
109
|
+
* Key-value pairs stored with the conversion.
|
|
110
|
+
*/
|
|
111
|
+
metadata: {
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* ID of the associated quote, or null.
|
|
116
|
+
*/
|
|
117
|
+
quote_id: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* ID of the source account, or null.
|
|
120
|
+
*/
|
|
121
|
+
source_account_id: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* Source amount as a string decimal.
|
|
124
|
+
*/
|
|
125
|
+
source_amount: string;
|
|
126
|
+
/**
|
|
127
|
+
* Source currency code.
|
|
128
|
+
*/
|
|
129
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
130
|
+
/**
|
|
131
|
+
* Current status of the conversion.
|
|
132
|
+
*/
|
|
133
|
+
status: 'pending' | 'completed' | 'failed';
|
|
134
|
+
/**
|
|
135
|
+
* ID of the target account, or null.
|
|
136
|
+
*/
|
|
137
|
+
target_account_id: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Target currency code.
|
|
140
|
+
*/
|
|
141
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
142
|
+
/**
|
|
143
|
+
* Resource type discriminator.
|
|
144
|
+
*/
|
|
145
|
+
type: 'conversion';
|
|
146
|
+
/**
|
|
147
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
148
|
+
*/
|
|
149
|
+
updated_at: string;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace ConversionRetrieveResponse {
|
|
152
|
+
/**
|
|
153
|
+
* Failure details when status is failed, otherwise null.
|
|
154
|
+
*/
|
|
155
|
+
interface Failure {
|
|
156
|
+
/**
|
|
157
|
+
* Human-readable description of the failure.
|
|
158
|
+
*/
|
|
159
|
+
message: string;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export interface ConversionListResponse {
|
|
163
|
+
/**
|
|
164
|
+
* Unique identifier of the conversion.
|
|
165
|
+
*/
|
|
166
|
+
id: string;
|
|
167
|
+
/**
|
|
168
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
169
|
+
*/
|
|
170
|
+
completed_at: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
173
|
+
*/
|
|
174
|
+
created_at: string;
|
|
175
|
+
/**
|
|
176
|
+
* Failure details when status is failed, otherwise null.
|
|
177
|
+
*/
|
|
178
|
+
failure: ConversionListResponse.Failure | null;
|
|
179
|
+
/**
|
|
180
|
+
* Key-value pairs stored with the conversion.
|
|
181
|
+
*/
|
|
182
|
+
metadata: {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* ID of the associated quote, or null.
|
|
187
|
+
*/
|
|
188
|
+
quote_id: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* ID of the source account, or null.
|
|
191
|
+
*/
|
|
192
|
+
source_account_id: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Source amount as a string decimal.
|
|
195
|
+
*/
|
|
196
|
+
source_amount: string;
|
|
197
|
+
/**
|
|
198
|
+
* Source currency code.
|
|
199
|
+
*/
|
|
200
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
201
|
+
/**
|
|
202
|
+
* Current status of the conversion.
|
|
203
|
+
*/
|
|
204
|
+
status: 'pending' | 'completed' | 'failed';
|
|
205
|
+
/**
|
|
206
|
+
* ID of the target account, or null.
|
|
207
|
+
*/
|
|
208
|
+
target_account_id: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Target currency code.
|
|
211
|
+
*/
|
|
212
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
213
|
+
/**
|
|
214
|
+
* Resource type discriminator.
|
|
215
|
+
*/
|
|
216
|
+
type: 'conversion';
|
|
217
|
+
/**
|
|
218
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
219
|
+
*/
|
|
220
|
+
updated_at: string;
|
|
221
|
+
}
|
|
222
|
+
export declare namespace ConversionListResponse {
|
|
223
|
+
/**
|
|
224
|
+
* Failure details when status is failed, otherwise null.
|
|
225
|
+
*/
|
|
226
|
+
interface Failure {
|
|
227
|
+
/**
|
|
228
|
+
* Human-readable description of the failure.
|
|
229
|
+
*/
|
|
230
|
+
message: string;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
export interface ConversionCreateParams {
|
|
234
|
+
/**
|
|
235
|
+
* ID of the source account to debit.
|
|
236
|
+
*/
|
|
237
|
+
source_account_id: string;
|
|
238
|
+
/**
|
|
239
|
+
* Amount to convert as a string decimal (e.g. "100.50").
|
|
240
|
+
*/
|
|
241
|
+
source_amount: string;
|
|
242
|
+
/**
|
|
243
|
+
* ID of the target account to credit.
|
|
244
|
+
*/
|
|
245
|
+
target_account_id: string;
|
|
246
|
+
/**
|
|
247
|
+
* Key-value pairs stored with the conversion.
|
|
248
|
+
*/
|
|
249
|
+
metadata?: {
|
|
250
|
+
[key: string]: string;
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
export interface ConversionListParams extends CursorPageParams {
|
|
254
|
+
/**
|
|
255
|
+
* Filter by source currency code.
|
|
256
|
+
*/
|
|
257
|
+
source_currency?: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
258
|
+
/**
|
|
259
|
+
* Filter by conversion status.
|
|
260
|
+
*/
|
|
261
|
+
status?: 'pending' | 'completed' | 'failed';
|
|
262
|
+
/**
|
|
263
|
+
* Filter by target currency code.
|
|
264
|
+
*/
|
|
265
|
+
target_currency?: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
266
|
+
}
|
|
267
|
+
export declare namespace Conversions {
|
|
268
|
+
export { type ConversionCreateResponse as ConversionCreateResponse, type ConversionRetrieveResponse as ConversionRetrieveResponse, type ConversionListResponse as ConversionListResponse, type ConversionListResponsesCursorPage as ConversionListResponsesCursorPage, type ConversionCreateParams as ConversionCreateParams, type ConversionListParams as ConversionListParams, };
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=conversions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversions.d.mts","sourceRoot":"","sources":["../src/resources/conversions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,U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M,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAE5C;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;CAClD;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class Conversions extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates and executes a conversion.
|
|
8
|
+
*/
|
|
9
|
+
create(body: ConversionCreateParams, options?: RequestOptions): APIPromise<ConversionCreateResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves a conversion by ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ConversionRetrieveResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a paginated list of conversions.
|
|
16
|
+
*/
|
|
17
|
+
list(query?: ConversionListParams | null | undefined, options?: RequestOptions): PagePromise<ConversionListResponsesCursorPage, ConversionListResponse>;
|
|
18
|
+
}
|
|
19
|
+
export type ConversionListResponsesCursorPage = CursorPage<ConversionListResponse>;
|
|
20
|
+
export interface ConversionCreateResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Unique identifier of the conversion.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
27
|
+
*/
|
|
28
|
+
completed_at: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
31
|
+
*/
|
|
32
|
+
created_at: string;
|
|
33
|
+
/**
|
|
34
|
+
* Failure details when status is failed, otherwise null.
|
|
35
|
+
*/
|
|
36
|
+
failure: ConversionCreateResponse.Failure | null;
|
|
37
|
+
/**
|
|
38
|
+
* Key-value pairs stored with the conversion.
|
|
39
|
+
*/
|
|
40
|
+
metadata: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* ID of the associated quote, or null.
|
|
45
|
+
*/
|
|
46
|
+
quote_id: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the source account, or null.
|
|
49
|
+
*/
|
|
50
|
+
source_account_id: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Source amount as a string decimal.
|
|
53
|
+
*/
|
|
54
|
+
source_amount: string;
|
|
55
|
+
/**
|
|
56
|
+
* Source currency code.
|
|
57
|
+
*/
|
|
58
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
59
|
+
/**
|
|
60
|
+
* Current status of the conversion.
|
|
61
|
+
*/
|
|
62
|
+
status: 'pending' | 'completed' | 'failed';
|
|
63
|
+
/**
|
|
64
|
+
* ID of the target account, or null.
|
|
65
|
+
*/
|
|
66
|
+
target_account_id: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Target currency code.
|
|
69
|
+
*/
|
|
70
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
71
|
+
/**
|
|
72
|
+
* Resource type discriminator.
|
|
73
|
+
*/
|
|
74
|
+
type: 'conversion';
|
|
75
|
+
/**
|
|
76
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
77
|
+
*/
|
|
78
|
+
updated_at: string;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace ConversionCreateResponse {
|
|
81
|
+
/**
|
|
82
|
+
* Failure details when status is failed, otherwise null.
|
|
83
|
+
*/
|
|
84
|
+
interface Failure {
|
|
85
|
+
/**
|
|
86
|
+
* Human-readable description of the failure.
|
|
87
|
+
*/
|
|
88
|
+
message: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export interface ConversionRetrieveResponse {
|
|
92
|
+
/**
|
|
93
|
+
* Unique identifier of the conversion.
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
/**
|
|
97
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
98
|
+
*/
|
|
99
|
+
completed_at: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
102
|
+
*/
|
|
103
|
+
created_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* Failure details when status is failed, otherwise null.
|
|
106
|
+
*/
|
|
107
|
+
failure: ConversionRetrieveResponse.Failure | null;
|
|
108
|
+
/**
|
|
109
|
+
* Key-value pairs stored with the conversion.
|
|
110
|
+
*/
|
|
111
|
+
metadata: {
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* ID of the associated quote, or null.
|
|
116
|
+
*/
|
|
117
|
+
quote_id: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* ID of the source account, or null.
|
|
120
|
+
*/
|
|
121
|
+
source_account_id: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* Source amount as a string decimal.
|
|
124
|
+
*/
|
|
125
|
+
source_amount: string;
|
|
126
|
+
/**
|
|
127
|
+
* Source currency code.
|
|
128
|
+
*/
|
|
129
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
130
|
+
/**
|
|
131
|
+
* Current status of the conversion.
|
|
132
|
+
*/
|
|
133
|
+
status: 'pending' | 'completed' | 'failed';
|
|
134
|
+
/**
|
|
135
|
+
* ID of the target account, or null.
|
|
136
|
+
*/
|
|
137
|
+
target_account_id: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Target currency code.
|
|
140
|
+
*/
|
|
141
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
142
|
+
/**
|
|
143
|
+
* Resource type discriminator.
|
|
144
|
+
*/
|
|
145
|
+
type: 'conversion';
|
|
146
|
+
/**
|
|
147
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
148
|
+
*/
|
|
149
|
+
updated_at: string;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace ConversionRetrieveResponse {
|
|
152
|
+
/**
|
|
153
|
+
* Failure details when status is failed, otherwise null.
|
|
154
|
+
*/
|
|
155
|
+
interface Failure {
|
|
156
|
+
/**
|
|
157
|
+
* Human-readable description of the failure.
|
|
158
|
+
*/
|
|
159
|
+
message: string;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export interface ConversionListResponse {
|
|
163
|
+
/**
|
|
164
|
+
* Unique identifier of the conversion.
|
|
165
|
+
*/
|
|
166
|
+
id: string;
|
|
167
|
+
/**
|
|
168
|
+
* ISO 8601 UTC timestamp when the conversion completed, or null.
|
|
169
|
+
*/
|
|
170
|
+
completed_at: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* ISO 8601 UTC timestamp when the conversion was created.
|
|
173
|
+
*/
|
|
174
|
+
created_at: string;
|
|
175
|
+
/**
|
|
176
|
+
* Failure details when status is failed, otherwise null.
|
|
177
|
+
*/
|
|
178
|
+
failure: ConversionListResponse.Failure | null;
|
|
179
|
+
/**
|
|
180
|
+
* Key-value pairs stored with the conversion.
|
|
181
|
+
*/
|
|
182
|
+
metadata: {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* ID of the associated quote, or null.
|
|
187
|
+
*/
|
|
188
|
+
quote_id: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* ID of the source account, or null.
|
|
191
|
+
*/
|
|
192
|
+
source_account_id: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Source amount as a string decimal.
|
|
195
|
+
*/
|
|
196
|
+
source_amount: string;
|
|
197
|
+
/**
|
|
198
|
+
* Source currency code.
|
|
199
|
+
*/
|
|
200
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
201
|
+
/**
|
|
202
|
+
* Current status of the conversion.
|
|
203
|
+
*/
|
|
204
|
+
status: 'pending' | 'completed' | 'failed';
|
|
205
|
+
/**
|
|
206
|
+
* ID of the target account, or null.
|
|
207
|
+
*/
|
|
208
|
+
target_account_id: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Target currency code.
|
|
211
|
+
*/
|
|
212
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
213
|
+
/**
|
|
214
|
+
* Resource type discriminator.
|
|
215
|
+
*/
|
|
216
|
+
type: 'conversion';
|
|
217
|
+
/**
|
|
218
|
+
* ISO 8601 UTC timestamp when the conversion was last updated.
|
|
219
|
+
*/
|
|
220
|
+
updated_at: string;
|
|
221
|
+
}
|
|
222
|
+
export declare namespace ConversionListResponse {
|
|
223
|
+
/**
|
|
224
|
+
* Failure details when status is failed, otherwise null.
|
|
225
|
+
*/
|
|
226
|
+
interface Failure {
|
|
227
|
+
/**
|
|
228
|
+
* Human-readable description of the failure.
|
|
229
|
+
*/
|
|
230
|
+
message: string;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
export interface ConversionCreateParams {
|
|
234
|
+
/**
|
|
235
|
+
* ID of the source account to debit.
|
|
236
|
+
*/
|
|
237
|
+
source_account_id: string;
|
|
238
|
+
/**
|
|
239
|
+
* Amount to convert as a string decimal (e.g. "100.50").
|
|
240
|
+
*/
|
|
241
|
+
source_amount: string;
|
|
242
|
+
/**
|
|
243
|
+
* ID of the target account to credit.
|
|
244
|
+
*/
|
|
245
|
+
target_account_id: string;
|
|
246
|
+
/**
|
|
247
|
+
* Key-value pairs stored with the conversion.
|
|
248
|
+
*/
|
|
249
|
+
metadata?: {
|
|
250
|
+
[key: string]: string;
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
export interface ConversionListParams extends CursorPageParams {
|
|
254
|
+
/**
|
|
255
|
+
* Filter by source currency code.
|
|
256
|
+
*/
|
|
257
|
+
source_currency?: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
258
|
+
/**
|
|
259
|
+
* Filter by conversion status.
|
|
260
|
+
*/
|
|
261
|
+
status?: 'pending' | 'completed' | 'failed';
|
|
262
|
+
/**
|
|
263
|
+
* Filter by target currency code.
|
|
264
|
+
*/
|
|
265
|
+
target_currency?: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
266
|
+
}
|
|
267
|
+
export declare namespace Conversions {
|
|
268
|
+
export { type ConversionCreateResponse as ConversionCreateResponse, type ConversionRetrieveResponse as ConversionRetrieveResponse, type ConversionListResponse as ConversionListResponse, type ConversionListResponsesCursorPage as ConversionListResponsesCursorPage, type ConversionCreateParams as ConversionCreateParams, type ConversionListParams as ConversionListParams, };
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=conversions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversions.d.ts","sourceRoot":"","sources":["../src/resources/conversions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oB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C;IACnC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Conversions = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class Conversions extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates and executes a conversion.
|
|
11
|
+
*/
|
|
12
|
+
create(body, options) {
|
|
13
|
+
return this._client.post('/v1/conversions', { body, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves a conversion by ID.
|
|
17
|
+
*/
|
|
18
|
+
retrieve(id, options) {
|
|
19
|
+
return this._client.get((0, path_1.path) `/v1/conversions/${id}`, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns a paginated list of conversions.
|
|
23
|
+
*/
|
|
24
|
+
list(query = {}, options) {
|
|
25
|
+
return this._client.getAPIList('/v1/conversions', (pagination_1.CursorPage), {
|
|
26
|
+
query,
|
|
27
|
+
...options,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.Conversions = Conversions;
|
|
32
|
+
//# sourceMappingURL=conversions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversions.js","sourceRoot":"","sources":["../src/resources/conversions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AAEpF,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,uBAAkC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,kCA2BC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { CursorPage } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Conversions extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates and executes a conversion.
|
|
8
|
+
*/
|
|
9
|
+
create(body, options) {
|
|
10
|
+
return this._client.post('/v1/conversions', { body, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves a conversion by ID.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(id, options) {
|
|
16
|
+
return this._client.get(path `/v1/conversions/${id}`, options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Returns a paginated list of conversions.
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/v1/conversions', (CursorPage), {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=conversions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversions.mjs","sourceRoot":"","sources":["../src/resources/conversions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAsC;OAElD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,UAAkC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|