@naturalpay/sdk 0.2.0 → 0.2.1
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 +119 -0
- package/LICENSE +7 -0
- package/README.md +340 -26
- 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 +255 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +255 -0
- package/client.d.ts.map +1 -0
- package/client.js +548 -0
- package/client.js.map +1 -0
- package/client.mjs +544 -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/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 +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -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/lib/envelope.d.mts +4 -0
- package/lib/envelope.d.mts.map +1 -0
- package/lib/envelope.d.ts +4 -0
- package/lib/envelope.d.ts.map +1 -0
- package/lib/envelope.js +43 -0
- package/lib/envelope.js.map +1 -0
- package/lib/envelope.mjs +39 -0
- package/lib/envelope.mjs.map +1 -0
- package/package.json +142 -76
- 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/agents.d.mts +1392 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +1392 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +192 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +188 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/api-keys.d.mts +539 -0
- package/resources/api-keys.d.mts.map +1 -0
- package/resources/api-keys.d.ts +539 -0
- package/resources/api-keys.d.ts.map +1 -0
- package/resources/api-keys.js +100 -0
- package/resources/api-keys.js.map +1 -0
- package/resources/api-keys.mjs +96 -0
- package/resources/api-keys.mjs.map +1 -0
- package/resources/counterparties.d.mts +139 -0
- package/resources/counterparties.d.mts.map +1 -0
- package/resources/counterparties.d.ts +139 -0
- package/resources/counterparties.d.ts.map +1 -0
- package/resources/counterparties.js +32 -0
- package/resources/counterparties.js.map +1 -0
- package/resources/counterparties.mjs +28 -0
- package/resources/counterparties.mjs.map +1 -0
- package/resources/customers.d.mts +272 -0
- package/resources/customers.d.mts.map +1 -0
- package/resources/customers.d.ts +272 -0
- package/resources/customers.d.ts.map +1 -0
- package/resources/customers.js +48 -0
- package/resources/customers.js.map +1 -0
- package/resources/customers.mjs +44 -0
- package/resources/customers.mjs.map +1 -0
- package/resources/delegations.d.mts +458 -0
- package/resources/delegations.d.mts.map +1 -0
- package/resources/delegations.d.ts +458 -0
- package/resources/delegations.d.ts.map +1 -0
- package/resources/delegations.js +47 -0
- package/resources/delegations.js.map +1 -0
- package/resources/delegations.mjs +43 -0
- package/resources/delegations.mjs.map +1 -0
- package/resources/index.d.mts +12 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +12 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +27 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +13 -0
- package/resources/index.mjs.map +1 -0
- package/resources/invitations.d.mts +304 -0
- package/resources/invitations.d.mts.map +1 -0
- package/resources/invitations.d.ts +304 -0
- package/resources/invitations.d.ts.map +1 -0
- package/resources/invitations.js +85 -0
- package/resources/invitations.js.map +1 -0
- package/resources/invitations.mjs +81 -0
- package/resources/invitations.mjs.map +1 -0
- package/resources/parties.d.mts +364 -0
- package/resources/parties.d.mts.map +1 -0
- package/resources/parties.d.ts +364 -0
- package/resources/parties.d.ts.map +1 -0
- package/resources/parties.js +78 -0
- package/resources/parties.js.map +1 -0
- package/resources/parties.mjs +74 -0
- package/resources/parties.mjs.map +1 -0
- package/resources/payment-requests.d.mts +442 -0
- package/resources/payment-requests.d.mts.map +1 -0
- package/resources/payment-requests.d.ts +442 -0
- package/resources/payment-requests.d.ts.map +1 -0
- package/resources/payment-requests.js +87 -0
- package/resources/payment-requests.js.map +1 -0
- package/resources/payment-requests.mjs +83 -0
- package/resources/payment-requests.mjs.map +1 -0
- package/resources/payments.d.mts +174 -0
- package/resources/payments.d.mts.map +1 -0
- package/resources/payments.d.ts +174 -0
- package/resources/payments.d.ts.map +1 -0
- package/resources/payments.js +40 -0
- package/resources/payments.js.map +1 -0
- package/resources/payments.mjs +36 -0
- package/resources/payments.mjs.map +1 -0
- package/resources/transactions.d.mts +478 -0
- package/resources/transactions.d.mts.map +1 -0
- package/resources/transactions.d.ts +478 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +48 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +44 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources/wallet.d.mts +628 -0
- package/resources/wallet.d.mts.map +1 -0
- package/resources/wallet.d.ts +628 -0
- package/resources/wallet.d.ts.map +1 -0
- package/resources/wallet.js +161 -0
- package/resources/wallet.js.map +1 -0
- package/resources/wallet.mjs +157 -0
- package/resources/wallet.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 +1020 -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/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -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/lib/envelope.ts +32 -0
- package/src/resource.ts +2 -0
- package/src/resources/agents.ts +1785 -0
- package/src/resources/api-keys.ts +743 -0
- package/src/resources/counterparties.ts +187 -0
- package/src/resources/customers.ts +365 -0
- package/src/resources/delegations.ts +580 -0
- package/src/resources/index.ts +95 -0
- package/src/resources/invitations.ts +414 -0
- package/src/resources/parties.ts +493 -0
- package/src/resources/payment-requests.ts +601 -0
- package/src/resources/payments.ts +228 -0
- package/src/resources/transactions.ts +610 -0
- package/src/resources/wallet.ts +864 -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
- package/dist/index.cjs +0 -1737
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -929
- package/dist/index.d.ts +0 -929
- package/dist/index.js +0 -1705
- package/dist/index.js.map +0 -1
- package/dist/mcp/cli.cjs +0 -166
- package/dist/mcp/cli.cjs.map +0 -1
- package/dist/mcp/cli.d.cts +0 -1
- package/dist/mcp/cli.d.ts +0 -1
- package/dist/mcp/cli.js +0 -164
- package/dist/mcp/cli.js.map +0 -1
- package/dist/mcp/index.cjs +0 -8
- package/dist/mcp/index.cjs.map +0 -1
- package/dist/mcp/index.d.cts +0 -9
- package/dist/mcp/index.d.ts +0 -9
- package/dist/mcp/index.js +0 -6
- package/dist/mcp/index.js.map +0 -1
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Agent delegation management
|
|
6
|
+
*/
|
|
7
|
+
export declare class Delegations extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get agent delegation
|
|
10
|
+
*/
|
|
11
|
+
getAgentDelegation(agentDelegationID: string, params?: DelegationGetAgentDelegationParams | null | undefined, options?: RequestOptions): APIPromise<DelegationGetAgentDelegationResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* List agent delegations
|
|
14
|
+
*/
|
|
15
|
+
listAgentDelegations(params?: DelegationListAgentDelegationsParams | null | undefined, options?: RequestOptions): APIPromise<DelegationListAgentDelegationsResponse>;
|
|
16
|
+
}
|
|
17
|
+
export interface DelegationGetAgentDelegationResponse {
|
|
18
|
+
data: DelegationGetAgentDelegationResponse.Data;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace DelegationGetAgentDelegationResponse {
|
|
21
|
+
interface Data {
|
|
22
|
+
/**
|
|
23
|
+
* Resource ID
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Resource attributes
|
|
28
|
+
*/
|
|
29
|
+
attributes: Data.Attributes;
|
|
30
|
+
/**
|
|
31
|
+
* Resource relationships
|
|
32
|
+
*/
|
|
33
|
+
relationships: Data.Relationships;
|
|
34
|
+
/**
|
|
35
|
+
* Resource type
|
|
36
|
+
*/
|
|
37
|
+
type: string;
|
|
38
|
+
}
|
|
39
|
+
namespace Data {
|
|
40
|
+
/**
|
|
41
|
+
* Resource attributes
|
|
42
|
+
*/
|
|
43
|
+
interface Attributes {
|
|
44
|
+
/**
|
|
45
|
+
* Agent display name
|
|
46
|
+
*/
|
|
47
|
+
agentName: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* When this delegation was created
|
|
50
|
+
*/
|
|
51
|
+
createdAt: string;
|
|
52
|
+
/**
|
|
53
|
+
* User who created this delegation (usr\_\*)
|
|
54
|
+
*/
|
|
55
|
+
createdBy: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Developer party name
|
|
58
|
+
*/
|
|
59
|
+
delegateePartyName: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Customer party name
|
|
62
|
+
*/
|
|
63
|
+
delegatorPartyName: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Expiration timestamp
|
|
66
|
+
*/
|
|
67
|
+
expiresAt: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Transaction limits in cents
|
|
70
|
+
*/
|
|
71
|
+
limits: Attributes.Limits | null;
|
|
72
|
+
/**
|
|
73
|
+
* Granted permissions. Use `status` to derive Active vs Revoked.
|
|
74
|
+
*/
|
|
75
|
+
permissions: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Authoritative active/revoked flag (revoke keeps permissions for audit)
|
|
78
|
+
*/
|
|
79
|
+
status: 'ACTIVE' | 'REVOKED';
|
|
80
|
+
/**
|
|
81
|
+
* When this delegation was last updated
|
|
82
|
+
*/
|
|
83
|
+
updatedAt: string;
|
|
84
|
+
}
|
|
85
|
+
namespace Attributes {
|
|
86
|
+
/**
|
|
87
|
+
* Transaction limits in cents
|
|
88
|
+
*/
|
|
89
|
+
interface Limits {
|
|
90
|
+
/**
|
|
91
|
+
* Positive per-transaction limit in cents. null means no per-payment limit.
|
|
92
|
+
*/
|
|
93
|
+
perTransaction?: number | null;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Resource relationships
|
|
98
|
+
*/
|
|
99
|
+
interface Relationships {
|
|
100
|
+
/**
|
|
101
|
+
* Agent granted access
|
|
102
|
+
*/
|
|
103
|
+
agent: Relationships.Agent;
|
|
104
|
+
/**
|
|
105
|
+
* Parent party delegation
|
|
106
|
+
*/
|
|
107
|
+
delegation: Relationships.Delegation;
|
|
108
|
+
/**
|
|
109
|
+
* Developer party receiving access
|
|
110
|
+
*/
|
|
111
|
+
delegateeParty?: Relationships.DelegateeParty;
|
|
112
|
+
/**
|
|
113
|
+
* Customer party granting access
|
|
114
|
+
*/
|
|
115
|
+
delegatorParty?: Relationships.DelegatorParty;
|
|
116
|
+
}
|
|
117
|
+
namespace Relationships {
|
|
118
|
+
/**
|
|
119
|
+
* Agent granted access
|
|
120
|
+
*/
|
|
121
|
+
interface Agent {
|
|
122
|
+
/**
|
|
123
|
+
* Related resource identifier
|
|
124
|
+
*/
|
|
125
|
+
data: Agent.Data;
|
|
126
|
+
}
|
|
127
|
+
namespace Agent {
|
|
128
|
+
/**
|
|
129
|
+
* Related resource identifier
|
|
130
|
+
*/
|
|
131
|
+
interface Data {
|
|
132
|
+
id: string;
|
|
133
|
+
/**
|
|
134
|
+
* Resource type
|
|
135
|
+
*/
|
|
136
|
+
type: string;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Parent party delegation
|
|
141
|
+
*/
|
|
142
|
+
interface Delegation {
|
|
143
|
+
/**
|
|
144
|
+
* Related resource identifier
|
|
145
|
+
*/
|
|
146
|
+
data: Delegation.Data;
|
|
147
|
+
}
|
|
148
|
+
namespace Delegation {
|
|
149
|
+
/**
|
|
150
|
+
* Related resource identifier
|
|
151
|
+
*/
|
|
152
|
+
interface Data {
|
|
153
|
+
id: string;
|
|
154
|
+
/**
|
|
155
|
+
* Resource type
|
|
156
|
+
*/
|
|
157
|
+
type: string;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Developer party receiving access
|
|
162
|
+
*/
|
|
163
|
+
interface DelegateeParty {
|
|
164
|
+
/**
|
|
165
|
+
* Related resource identifier
|
|
166
|
+
*/
|
|
167
|
+
data: DelegateeParty.Data | null;
|
|
168
|
+
}
|
|
169
|
+
namespace DelegateeParty {
|
|
170
|
+
/**
|
|
171
|
+
* Related resource identifier
|
|
172
|
+
*/
|
|
173
|
+
interface Data {
|
|
174
|
+
id: string;
|
|
175
|
+
/**
|
|
176
|
+
* Resource type
|
|
177
|
+
*/
|
|
178
|
+
type: string;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Customer party granting access
|
|
183
|
+
*/
|
|
184
|
+
interface DelegatorParty {
|
|
185
|
+
/**
|
|
186
|
+
* Related resource identifier
|
|
187
|
+
*/
|
|
188
|
+
data: DelegatorParty.Data | null;
|
|
189
|
+
}
|
|
190
|
+
namespace DelegatorParty {
|
|
191
|
+
/**
|
|
192
|
+
* Related resource identifier
|
|
193
|
+
*/
|
|
194
|
+
interface Data {
|
|
195
|
+
id: string;
|
|
196
|
+
/**
|
|
197
|
+
* Resource type
|
|
198
|
+
*/
|
|
199
|
+
type: string;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
export interface DelegationListAgentDelegationsResponse {
|
|
206
|
+
data: Array<DelegationListAgentDelegationsResponse.Data>;
|
|
207
|
+
meta: DelegationListAgentDelegationsResponse.Meta;
|
|
208
|
+
}
|
|
209
|
+
export declare namespace DelegationListAgentDelegationsResponse {
|
|
210
|
+
interface Data {
|
|
211
|
+
/**
|
|
212
|
+
* Resource ID
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
/**
|
|
216
|
+
* Resource attributes
|
|
217
|
+
*/
|
|
218
|
+
attributes: Data.Attributes;
|
|
219
|
+
/**
|
|
220
|
+
* Resource relationships
|
|
221
|
+
*/
|
|
222
|
+
relationships: Data.Relationships;
|
|
223
|
+
/**
|
|
224
|
+
* Resource type
|
|
225
|
+
*/
|
|
226
|
+
type: string;
|
|
227
|
+
}
|
|
228
|
+
namespace Data {
|
|
229
|
+
/**
|
|
230
|
+
* Resource attributes
|
|
231
|
+
*/
|
|
232
|
+
interface Attributes {
|
|
233
|
+
/**
|
|
234
|
+
* Agent display name
|
|
235
|
+
*/
|
|
236
|
+
agentName: string | null;
|
|
237
|
+
/**
|
|
238
|
+
* When this delegation was created
|
|
239
|
+
*/
|
|
240
|
+
createdAt: string;
|
|
241
|
+
/**
|
|
242
|
+
* User who created this delegation (usr\_\*)
|
|
243
|
+
*/
|
|
244
|
+
createdBy: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* Developer party name
|
|
247
|
+
*/
|
|
248
|
+
delegateePartyName: string | null;
|
|
249
|
+
/**
|
|
250
|
+
* Customer party name
|
|
251
|
+
*/
|
|
252
|
+
delegatorPartyName: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* Expiration timestamp
|
|
255
|
+
*/
|
|
256
|
+
expiresAt: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* Transaction limits in cents
|
|
259
|
+
*/
|
|
260
|
+
limits: Attributes.Limits | null;
|
|
261
|
+
/**
|
|
262
|
+
* Granted permissions. Use `status` to derive Active vs Revoked.
|
|
263
|
+
*/
|
|
264
|
+
permissions: Array<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Authoritative active/revoked flag (revoke keeps permissions for audit)
|
|
267
|
+
*/
|
|
268
|
+
status: 'ACTIVE' | 'REVOKED';
|
|
269
|
+
/**
|
|
270
|
+
* When this delegation was last updated
|
|
271
|
+
*/
|
|
272
|
+
updatedAt: string;
|
|
273
|
+
}
|
|
274
|
+
namespace Attributes {
|
|
275
|
+
/**
|
|
276
|
+
* Transaction limits in cents
|
|
277
|
+
*/
|
|
278
|
+
interface Limits {
|
|
279
|
+
/**
|
|
280
|
+
* Positive per-transaction limit in cents. null means no per-payment limit.
|
|
281
|
+
*/
|
|
282
|
+
perTransaction?: number | null;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Resource relationships
|
|
287
|
+
*/
|
|
288
|
+
interface Relationships {
|
|
289
|
+
/**
|
|
290
|
+
* Agent granted access
|
|
291
|
+
*/
|
|
292
|
+
agent: Relationships.Agent;
|
|
293
|
+
/**
|
|
294
|
+
* Parent party delegation
|
|
295
|
+
*/
|
|
296
|
+
delegation: Relationships.Delegation;
|
|
297
|
+
/**
|
|
298
|
+
* Developer party receiving access
|
|
299
|
+
*/
|
|
300
|
+
delegateeParty?: Relationships.DelegateeParty;
|
|
301
|
+
/**
|
|
302
|
+
* Customer party granting access
|
|
303
|
+
*/
|
|
304
|
+
delegatorParty?: Relationships.DelegatorParty;
|
|
305
|
+
}
|
|
306
|
+
namespace Relationships {
|
|
307
|
+
/**
|
|
308
|
+
* Agent granted access
|
|
309
|
+
*/
|
|
310
|
+
interface Agent {
|
|
311
|
+
/**
|
|
312
|
+
* Related resource identifier
|
|
313
|
+
*/
|
|
314
|
+
data: Agent.Data;
|
|
315
|
+
}
|
|
316
|
+
namespace Agent {
|
|
317
|
+
/**
|
|
318
|
+
* Related resource identifier
|
|
319
|
+
*/
|
|
320
|
+
interface Data {
|
|
321
|
+
id: string;
|
|
322
|
+
/**
|
|
323
|
+
* Resource type
|
|
324
|
+
*/
|
|
325
|
+
type: string;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Parent party delegation
|
|
330
|
+
*/
|
|
331
|
+
interface Delegation {
|
|
332
|
+
/**
|
|
333
|
+
* Related resource identifier
|
|
334
|
+
*/
|
|
335
|
+
data: Delegation.Data;
|
|
336
|
+
}
|
|
337
|
+
namespace Delegation {
|
|
338
|
+
/**
|
|
339
|
+
* Related resource identifier
|
|
340
|
+
*/
|
|
341
|
+
interface Data {
|
|
342
|
+
id: string;
|
|
343
|
+
/**
|
|
344
|
+
* Resource type
|
|
345
|
+
*/
|
|
346
|
+
type: string;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Developer party receiving access
|
|
351
|
+
*/
|
|
352
|
+
interface DelegateeParty {
|
|
353
|
+
/**
|
|
354
|
+
* Related resource identifier
|
|
355
|
+
*/
|
|
356
|
+
data: DelegateeParty.Data | null;
|
|
357
|
+
}
|
|
358
|
+
namespace DelegateeParty {
|
|
359
|
+
/**
|
|
360
|
+
* Related resource identifier
|
|
361
|
+
*/
|
|
362
|
+
interface Data {
|
|
363
|
+
id: string;
|
|
364
|
+
/**
|
|
365
|
+
* Resource type
|
|
366
|
+
*/
|
|
367
|
+
type: string;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Customer party granting access
|
|
372
|
+
*/
|
|
373
|
+
interface DelegatorParty {
|
|
374
|
+
/**
|
|
375
|
+
* Related resource identifier
|
|
376
|
+
*/
|
|
377
|
+
data: DelegatorParty.Data | null;
|
|
378
|
+
}
|
|
379
|
+
namespace DelegatorParty {
|
|
380
|
+
/**
|
|
381
|
+
* Related resource identifier
|
|
382
|
+
*/
|
|
383
|
+
interface Data {
|
|
384
|
+
id: string;
|
|
385
|
+
/**
|
|
386
|
+
* Resource type
|
|
387
|
+
*/
|
|
388
|
+
type: string;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
interface Meta {
|
|
394
|
+
pagination: Meta.Pagination;
|
|
395
|
+
}
|
|
396
|
+
namespace Meta {
|
|
397
|
+
interface Pagination {
|
|
398
|
+
hasMore: boolean;
|
|
399
|
+
nextCursor: string | null;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
export interface DelegationGetAgentDelegationParams {
|
|
404
|
+
/**
|
|
405
|
+
* Agent ID (agt_xxx) identifying which agent is making the request.
|
|
406
|
+
*/
|
|
407
|
+
'X-Agent-ID'?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Required when X-Agent-ID is present. Session or conversation ID for agent
|
|
410
|
+
* observability.
|
|
411
|
+
*/
|
|
412
|
+
'X-Instance-ID'?: string;
|
|
413
|
+
}
|
|
414
|
+
export interface DelegationListAgentDelegationsParams {
|
|
415
|
+
/**
|
|
416
|
+
* Query param: Filter by agent (agt_xxx)
|
|
417
|
+
*/
|
|
418
|
+
agentId?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Query param: Cursor for pagination
|
|
421
|
+
*/
|
|
422
|
+
cursor?: string;
|
|
423
|
+
/**
|
|
424
|
+
* Query param: Filter to delegations where caller is the delegated party
|
|
425
|
+
* (developer)
|
|
426
|
+
*/
|
|
427
|
+
delegateePartyId?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Query param: Filter by parent delegation (dlg_xxx)
|
|
430
|
+
*/
|
|
431
|
+
delegationId?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Query param: Filter to delegations where caller is the delegating party
|
|
434
|
+
* (customer)
|
|
435
|
+
*/
|
|
436
|
+
delegatorPartyId?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Query param: Include revoked delegations
|
|
439
|
+
*/
|
|
440
|
+
includeRevoked?: boolean | string;
|
|
441
|
+
/**
|
|
442
|
+
* Query param: Max items per page
|
|
443
|
+
*/
|
|
444
|
+
limit?: number;
|
|
445
|
+
/**
|
|
446
|
+
* Header param: Agent ID (agt_xxx) identifying which agent is making the request.
|
|
447
|
+
*/
|
|
448
|
+
'X-Agent-ID'?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Header param: Required when X-Agent-ID is present. Session or conversation ID
|
|
451
|
+
* for agent observability.
|
|
452
|
+
*/
|
|
453
|
+
'X-Instance-ID'?: string;
|
|
454
|
+
}
|
|
455
|
+
export declare namespace Delegations {
|
|
456
|
+
export { type DelegationGetAgentDelegationResponse as DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse as DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams as DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams as DelegationListAgentDelegationsParams, };
|
|
457
|
+
}
|
|
458
|
+
//# sourceMappingURL=delegations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delegations.d.ts","sourceRoot":"","sources":["../src/resources/delegations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,MAAM,GAAE,kCAAkC,GAAG,IAAI,GAAG,SAAc,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAcnD;;OAEG;IACH,oBAAoB,CAClB,MAAM,GAAE,oCAAoC,GAAG,IAAI,GAAG,SAAc,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sCAAsC,CAAC;CActD;AAED,MAAM,WAAW,oCAAoC;IACnD,IAAI,EAAE,oCAAoC,CAAC,IAAI,CAAC;CACjD;AAED,yBAAiB,oCAAoC,CAAC;IACpD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAE5B;;WAEG;QACH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAElC;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;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.Delegations = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Agent delegation management
|
|
10
|
+
*/
|
|
11
|
+
class Delegations extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get agent delegation
|
|
14
|
+
*/
|
|
15
|
+
getAgentDelegation(agentDelegationID, params = {}, options) {
|
|
16
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID } = params ?? {};
|
|
17
|
+
return this._client.get((0, path_1.path) `/agent-delegations/${agentDelegationID}`, {
|
|
18
|
+
...options,
|
|
19
|
+
headers: (0, headers_1.buildHeaders)([
|
|
20
|
+
{
|
|
21
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
22
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
23
|
+
},
|
|
24
|
+
options?.headers,
|
|
25
|
+
]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* List agent delegations
|
|
30
|
+
*/
|
|
31
|
+
listAgentDelegations(params = {}, options) {
|
|
32
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID, ...query } = params ?? {};
|
|
33
|
+
return this._client.get('/agent-delegations', {
|
|
34
|
+
query,
|
|
35
|
+
...options,
|
|
36
|
+
headers: (0, headers_1.buildHeaders)([
|
|
37
|
+
{
|
|
38
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
39
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
40
|
+
},
|
|
41
|
+
options?.headers,
|
|
42
|
+
]),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.Delegations = Delegations;
|
|
47
|
+
//# sourceMappingURL=delegations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delegations.js","sourceRoot":"","sources":["../src/resources/delegations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,SAAgE,EAAE,EAClE,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,iBAAiB,EAAE,EAAE;YACrE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,oBAAoB,CAClB,SAAkE,EAAE,EACpE,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;YAC5C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA1CD,kCA0CC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Agent delegation management
|
|
7
|
+
*/
|
|
8
|
+
export class Delegations extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get agent delegation
|
|
11
|
+
*/
|
|
12
|
+
getAgentDelegation(agentDelegationID, params = {}, options) {
|
|
13
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID } = params ?? {};
|
|
14
|
+
return this._client.get(path `/agent-delegations/${agentDelegationID}`, {
|
|
15
|
+
...options,
|
|
16
|
+
headers: buildHeaders([
|
|
17
|
+
{
|
|
18
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
19
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
20
|
+
},
|
|
21
|
+
options?.headers,
|
|
22
|
+
]),
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List agent delegations
|
|
27
|
+
*/
|
|
28
|
+
listAgentDelegations(params = {}, options) {
|
|
29
|
+
const { 'X-Agent-ID': xAgentID, 'X-Instance-ID': xInstanceID, ...query } = params ?? {};
|
|
30
|
+
return this._client.get('/agent-delegations', {
|
|
31
|
+
query,
|
|
32
|
+
...options,
|
|
33
|
+
headers: buildHeaders([
|
|
34
|
+
{
|
|
35
|
+
...(xAgentID != null ? { 'X-Agent-ID': xAgentID } : undefined),
|
|
36
|
+
...(xInstanceID != null ? { 'X-Instance-ID': xInstanceID } : undefined),
|
|
37
|
+
},
|
|
38
|
+
options?.headers,
|
|
39
|
+
]),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=delegations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delegations.mjs","sourceRoot":"","sources":["../src/resources/delegations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AAC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;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { APIKeys, type APIKeyCreateResponse, type APIKeyListResponse, type APIKeyGetResponse, type APIKeyRevokeResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeyGetParams, type APIKeyRevokeParams, } from "./api-keys.mjs";
|
|
2
|
+
export { Agents, type AgentCreateResponse, type AgentUpdateResponse, type AgentListResponse, type AgentCreateInvitationsResponse, type AgentGetResponse, type AgentListInvitationsForDeveloperResponse, type AgentRemoveResponse, type AgentCreateParams, type AgentUpdateParams, type AgentListParams, type AgentCreateInvitationsParams, type AgentGetParams, type AgentListInvitationsForDeveloperParams, type AgentRemoveParams, } from "./agents.mjs";
|
|
3
|
+
export { Counterparties, type CounterpartyListResponse, type CounterpartyListParams } from "./counterparties.mjs";
|
|
4
|
+
export { Customers, type CustomerListResponse, type CustomerListInvitationsResponse, type CustomerListParams, type CustomerListInvitationsParams, } from "./customers.mjs";
|
|
5
|
+
export { Delegations, type DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams, } from "./delegations.mjs";
|
|
6
|
+
export { Invitations, type InvitationCreateResponse, type InvitationListResponse, type InvitationRevokeResponse, type InvitationCreateParams, type InvitationListParams, type InvitationRevokeParams, } from "./invitations.mjs";
|
|
7
|
+
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, } from "./parties.mjs";
|
|
8
|
+
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestGetResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestGetParams, } from "./payment-requests.mjs";
|
|
9
|
+
export { Payments, type PaymentCreateResponse, type PaymentCreateParams } from "./payments.mjs";
|
|
10
|
+
export { Transactions, type TransactionListResponse, type TransactionGetResponse, type TransactionListParams, type TransactionGetParams, } from "./transactions.mjs";
|
|
11
|
+
export { Wallet, type WalletGetBalanceResponse, type WalletGetDepositInstructionsResponse, type WalletInitiateDepositResponse, type WalletInitiateWithdrawalResponse, type WalletListPaymentInstrumentsResponse, type WalletRemovePaymentInstrumentResponse, type WalletGetBalanceParams, type WalletGetDepositInstructionsParams, type WalletInitiateDepositParams, type WalletInitiateWithdrawalParams, type WalletListPaymentInstrumentsParams, type WalletRemovePaymentInstrumentParams, } from "./wallet.mjs";
|
|
12
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB;OACM,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACrB,KAAK,wCAAwC,EAC7C,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,sCAAsC,EAC3C,KAAK,iBAAiB,GACvB;OACM,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC9E,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,GACnC;OACM,EACL,WAAW,EACX,KAAK,oCAAoC,EACzC,KAAK,sCAAsC,EAC3C,KAAK,kCAAkC,EACvC,KAAK,oCAAoC,GAC1C;OACM,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B;OACM,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,sBAAsB,GAC5B;OACM,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B;OACM,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAClE,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAC1C,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,GACzC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { APIKeys, type APIKeyCreateResponse, type APIKeyListResponse, type APIKeyGetResponse, type APIKeyRevokeResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeyGetParams, type APIKeyRevokeParams, } from "./api-keys.js";
|
|
2
|
+
export { Agents, type AgentCreateResponse, type AgentUpdateResponse, type AgentListResponse, type AgentCreateInvitationsResponse, type AgentGetResponse, type AgentListInvitationsForDeveloperResponse, type AgentRemoveResponse, type AgentCreateParams, type AgentUpdateParams, type AgentListParams, type AgentCreateInvitationsParams, type AgentGetParams, type AgentListInvitationsForDeveloperParams, type AgentRemoveParams, } from "./agents.js";
|
|
3
|
+
export { Counterparties, type CounterpartyListResponse, type CounterpartyListParams } from "./counterparties.js";
|
|
4
|
+
export { Customers, type CustomerListResponse, type CustomerListInvitationsResponse, type CustomerListParams, type CustomerListInvitationsParams, } from "./customers.js";
|
|
5
|
+
export { Delegations, type DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams, } from "./delegations.js";
|
|
6
|
+
export { Invitations, type InvitationCreateResponse, type InvitationListResponse, type InvitationRevokeResponse, type InvitationCreateParams, type InvitationListParams, type InvitationRevokeParams, } from "./invitations.js";
|
|
7
|
+
export { Parties, type PartyUpdateResponse, type PartyGetResponse, type PartyListMembersResponse, type PartyUpdateParams, type PartyGetParams, type PartyListMembersParams, } from "./parties.js";
|
|
8
|
+
export { PaymentRequests, type PaymentRequestCreateResponse, type PaymentRequestListResponse, type PaymentRequestGetResponse, type PaymentRequestCreateParams, type PaymentRequestListParams, type PaymentRequestGetParams, } from "./payment-requests.js";
|
|
9
|
+
export { Payments, type PaymentCreateResponse, type PaymentCreateParams } from "./payments.js";
|
|
10
|
+
export { Transactions, type TransactionListResponse, type TransactionGetResponse, type TransactionListParams, type TransactionGetParams, } from "./transactions.js";
|
|
11
|
+
export { Wallet, type WalletGetBalanceResponse, type WalletGetDepositInstructionsResponse, type WalletInitiateDepositResponse, type WalletInitiateWithdrawalResponse, type WalletListPaymentInstrumentsResponse, type WalletRemovePaymentInstrumentResponse, type WalletGetBalanceParams, type WalletGetDepositInstructionsParams, type WalletInitiateDepositParams, type WalletInitiateWithdrawalParams, type WalletListPaymentInstrumentsParams, type WalletRemovePaymentInstrumentParams, } from "./wallet.js";
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,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AK,mBAAmB,EAAE;OAClE,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EACzC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAC1C,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,GACzC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.Wallet = exports.Transactions = exports.Payments = exports.PaymentRequests = exports.Parties = exports.Invitations = exports.Delegations = exports.Customers = exports.Counterparties = exports.Agents = exports.APIKeys = void 0;
|
|
5
|
+
var api_keys_1 = require("./api-keys.js");
|
|
6
|
+
Object.defineProperty(exports, "APIKeys", { enumerable: true, get: function () { return api_keys_1.APIKeys; } });
|
|
7
|
+
var agents_1 = require("./agents.js");
|
|
8
|
+
Object.defineProperty(exports, "Agents", { enumerable: true, get: function () { return agents_1.Agents; } });
|
|
9
|
+
var counterparties_1 = require("./counterparties.js");
|
|
10
|
+
Object.defineProperty(exports, "Counterparties", { enumerable: true, get: function () { return counterparties_1.Counterparties; } });
|
|
11
|
+
var customers_1 = require("./customers.js");
|
|
12
|
+
Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
|
|
13
|
+
var delegations_1 = require("./delegations.js");
|
|
14
|
+
Object.defineProperty(exports, "Delegations", { enumerable: true, get: function () { return delegations_1.Delegations; } });
|
|
15
|
+
var invitations_1 = require("./invitations.js");
|
|
16
|
+
Object.defineProperty(exports, "Invitations", { enumerable: true, get: function () { return invitations_1.Invitations; } });
|
|
17
|
+
var parties_1 = require("./parties.js");
|
|
18
|
+
Object.defineProperty(exports, "Parties", { enumerable: true, get: function () { return parties_1.Parties; } });
|
|
19
|
+
var payment_requests_1 = require("./payment-requests.js");
|
|
20
|
+
Object.defineProperty(exports, "PaymentRequests", { enumerable: true, get: function () { return payment_requests_1.PaymentRequests; } });
|
|
21
|
+
var payments_1 = require("./payments.js");
|
|
22
|
+
Object.defineProperty(exports, "Payments", { enumerable: true, get: function () { return payments_1.Payments; } });
|
|
23
|
+
var transactions_1 = require("./transactions.js");
|
|
24
|
+
Object.defineProperty(exports, "Transactions", { enumerable: true, get: function () { return transactions_1.Transactions; } });
|
|
25
|
+
var wallet_1 = require("./wallet.js");
|
|
26
|
+
Object.defineProperty(exports, "Wallet", { enumerable: true, get: function () { return wallet_1.Wallet; } });
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,sCAgBkB;AAfhB,gGAAA,MAAM,OAAA;AAgBR,sDAA8G;AAArG,gHAAA,cAAc,OAAA;AACvB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,gDAQuB;AAPrB,0GAAA,WAAW,OAAA;AAQb,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,0DAQ4B;AAP1B,mHAAA,eAAe,OAAA;AAQjB,0CAA4F;AAAnF,oGAAA,QAAQ,OAAA;AACjB,kDAMwB;AALtB,4GAAA,YAAY,OAAA;AAMd,sCAckB;AAbhB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { APIKeys, } from "./api-keys.mjs";
|
|
3
|
+
export { Agents, } from "./agents.mjs";
|
|
4
|
+
export { Counterparties } from "./counterparties.mjs";
|
|
5
|
+
export { Customers, } from "./customers.mjs";
|
|
6
|
+
export { Delegations, } from "./delegations.mjs";
|
|
7
|
+
export { Invitations, } from "./invitations.mjs";
|
|
8
|
+
export { Parties, } from "./parties.mjs";
|
|
9
|
+
export { PaymentRequests, } from "./payment-requests.mjs";
|
|
10
|
+
export { Payments } from "./payments.mjs";
|
|
11
|
+
export { Transactions, } from "./transactions.mjs";
|
|
12
|
+
export { Wallet, } from "./wallet.mjs";
|
|
13
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GASR;OACM,EACL,MAAM,GAeP;OACM,EAAE,cAAc,EAA8D;OAC9E,EACL,SAAS,GAKV;OACM,EACL,WAAW,GAKZ;OACM,EACL,WAAW,GAOZ;OACM,EACL,OAAO,GAOR;OACM,EACL,eAAe,GAOhB;OACM,EAAE,QAAQ,EAAwD;OAClE,EACL,YAAY,GAKb;OACM,EACL,MAAM,GAaP"}
|