@clossir-tech/ts-sdk 0.11.0 → 0.11.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/README.md +43 -33
- package/esm/funcs/accounts-get-accounts-cash-assets.d.ts +20 -0
- package/esm/funcs/accounts-get-accounts-cash-assets.d.ts.map +1 -0
- package/esm/funcs/accounts-get-accounts-cash-assets.js +77 -0
- package/esm/funcs/accounts-get-accounts-cash-assets.js.map +1 -0
- package/esm/funcs/accounts-get-accounts-movable-wallets.d.ts +20 -0
- package/esm/funcs/accounts-get-accounts-movable-wallets.d.ts.map +1 -0
- package/esm/funcs/accounts-get-accounts-movable-wallets.js +94 -0
- package/esm/funcs/accounts-get-accounts-movable-wallets.js.map +1 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-approve.d.ts +20 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-approve.d.ts.map +1 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-approve.js +100 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-approve.js.map +1 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-reject.d.ts +20 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-reject.d.ts.map +1 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-reject.js +100 -0
- package/esm/funcs/approvals-post-approvals-by-approval-id-reject.js.map +1 -0
- package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.d.ts +1 -1
- package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.js +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js.map +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets.d.ts +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets.js +1 -1
- package/esm/funcs/attestations-delete-attestations-by-id.d.ts +1 -1
- package/esm/funcs/attestations-delete-attestations-by-id.js +2 -2
- package/esm/funcs/attestations-delete-attestations-by-id.js.map +1 -1
- package/esm/funcs/attestations-post-attestations.js +1 -1
- package/esm/funcs/attestations-post-attestations.js.map +1 -1
- package/esm/funcs/commands-get-commands-by-command-id.d.ts +1 -1
- package/esm/funcs/commands-get-commands-by-command-id.js +1 -1
- package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +1 -1
- package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +2 -2
- package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
- package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.js +2 -0
- package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.js.map +1 -1
- package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.js +2 -0
- package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
- package/esm/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.js +3 -1
- package/esm/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.js.map +1 -1
- package/esm/funcs/markets-delete-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders-by-order-id.js +2 -0
- package/esm/funcs/markets-delete-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders-by-order-id.js.map +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.js +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.js.map +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +3 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
- package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.js +2 -0
- package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.js.map +1 -1
- package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.js +2 -0
- package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.js.map +1 -1
- package/esm/funcs/organizations-get-orgs-by-org-id-server-wallet.js +2 -0
- package/esm/funcs/organizations-get-orgs-by-org-id-server-wallet.js.map +1 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-issuer-register.js +1 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-issuer-register.js.map +1 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.js +3 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.js.map +1 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-server-wallet.js +1 -1
- package/esm/funcs/organizations-post-orgs-by-org-id-server-wallet.js.map +1 -1
- package/esm/funcs/organizations-put-orgs-by-org-id-compliance.d.ts +1 -1
- package/esm/funcs/organizations-put-orgs-by-org-id-compliance.js +2 -4
- package/esm/funcs/organizations-put-orgs-by-org-id-compliance.js.map +1 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.js +3 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.js.map +1 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.js +3 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.js.map +1 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.js +3 -1
- package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/errors/get-oauth-authorize.d.ts +6 -6
- package/esm/models/errors/get-oauth-authorize.js +3 -3
- package/esm/models/errors/get-oauth-userinfo.d.ts +8 -8
- package/esm/models/errors/get-oauth-userinfo.js +4 -4
- package/esm/models/errors/get-passport-home.d.ts +2 -2
- package/esm/models/errors/get-passport-home.js +1 -1
- package/esm/models/errors/get-passport-sign-in.d.ts +2 -2
- package/esm/models/errors/get-passport-sign-in.js +1 -1
- package/esm/models/errors/index.d.ts +2 -0
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +2 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/errors/o-auth-error-response.d.ts +2 -2
- package/esm/models/errors/o-auth-error-response.js +1 -1
- package/esm/models/errors/post-approvals-by-approval-id-approve.d.ts +41 -0
- package/esm/models/errors/post-approvals-by-approval-id-approve.d.ts.map +1 -0
- package/esm/models/errors/post-approvals-by-approval-id-approve.js +52 -0
- package/esm/models/errors/post-approvals-by-approval-id-approve.js.map +1 -0
- package/esm/models/errors/post-approvals-by-approval-id-reject.d.ts +41 -0
- package/esm/models/errors/post-approvals-by-approval-id-reject.d.ts.map +1 -0
- package/esm/models/errors/post-approvals-by-approval-id-reject.js +53 -0
- package/esm/models/errors/post-approvals-by-approval-id-reject.js.map +1 -0
- package/esm/models/errors/post-eligibility-check.d.ts +2 -2
- package/esm/models/errors/post-eligibility-check.js +1 -1
- package/esm/models/errors/post-oauth-par.d.ts +10 -10
- package/esm/models/errors/post-oauth-par.js +5 -5
- package/esm/models/errors/post-oauth-revoke.d.ts +10 -10
- package/esm/models/errors/post-oauth-revoke.js +5 -5
- package/esm/models/errors/post-oauth-token.d.ts +8 -8
- package/esm/models/errors/post-oauth-token.js +4 -4
- package/esm/models/errors/post-passport-sign-in-decision.d.ts +2 -2
- package/esm/models/errors/post-passport-sign-in-decision.js +1 -1
- package/esm/models/operations/get-accounts-cash-assets.d.ts +44 -0
- package/esm/models/operations/get-accounts-cash-assets.d.ts.map +1 -0
- package/esm/models/operations/get-accounts-cash-assets.js +30 -0
- package/esm/models/operations/get-accounts-cash-assets.js.map +1 -0
- package/esm/models/operations/get-accounts-movable-wallets.d.ts +104 -0
- package/esm/models/operations/get-accounts-movable-wallets.d.ts.map +1 -0
- package/esm/models/operations/get-accounts-movable-wallets.js +75 -0
- package/esm/models/operations/get-accounts-movable-wallets.js.map +1 -0
- package/esm/models/operations/get-commands-by-command-id.d.ts +105 -0
- package/esm/models/operations/get-commands-by-command-id.d.ts.map +1 -1
- package/esm/models/operations/get-commands-by-command-id.js +119 -0
- package/esm/models/operations/get-commands-by-command-id.js.map +1 -1
- package/esm/models/operations/get-login-passport-status.d.ts +3 -3
- package/esm/models/operations/get-login-passport-status.d.ts.map +1 -1
- package/esm/models/operations/get-login-passport-status.js +3 -3
- package/esm/models/operations/get-login-passport-status.js.map +1 -1
- package/esm/models/operations/get-preflight-results-by-result-id.d.ts +25 -0
- package/esm/models/operations/get-preflight-results-by-result-id.d.ts.map +1 -1
- package/esm/models/operations/get-preflight-results-by-result-id.js +11 -0
- package/esm/models/operations/get-preflight-results-by-result-id.js.map +1 -1
- package/esm/models/operations/index.d.ts +4 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/post-accounts-wallets-sync.d.ts +3 -1
- package/esm/models/operations/post-accounts-wallets-sync.d.ts.map +1 -1
- package/esm/models/operations/post-accounts-wallets-sync.js.map +1 -1
- package/esm/models/operations/post-approvals-by-approval-id-approve.d.ts +53 -0
- package/esm/models/operations/post-approvals-by-approval-id-approve.d.ts.map +1 -0
- package/esm/models/operations/post-approvals-by-approval-id-approve.js +41 -0
- package/esm/models/operations/post-approvals-by-approval-id-approve.js.map +1 -0
- package/esm/models/operations/post-approvals-by-approval-id-reject.d.ts +105 -0
- package/esm/models/operations/post-approvals-by-approval-id-reject.d.ts.map +1 -0
- package/esm/models/operations/post-approvals-by-approval-id-reject.js +71 -0
- package/esm/models/operations/post-approvals-by-approval-id-reject.js.map +1 -0
- package/esm/models/operations/post-eligibility-check.d.ts +4 -4
- package/esm/models/operations/post-eligibility-check.d.ts.map +1 -1
- package/esm/models/operations/post-eligibility-check.js +4 -4
- package/esm/models/operations/post-eligibility-check.js.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts +1 -1
- package/esm/models/operations/post-preflight-intents.d.ts +25 -0
- package/esm/models/operations/post-preflight-intents.d.ts.map +1 -1
- package/esm/models/operations/post-preflight-intents.js +11 -0
- package/esm/models/operations/post-preflight-intents.js.map +1 -1
- package/esm/sdk/accounts.d.ts +14 -0
- package/esm/sdk/accounts.d.ts.map +1 -1
- package/esm/sdk/accounts.js +20 -0
- package/esm/sdk/accounts.js.map +1 -1
- package/esm/sdk/approvals.d.ts +14 -0
- package/esm/sdk/approvals.d.ts.map +1 -1
- package/esm/sdk/approvals.js +20 -0
- package/esm/sdk/approvals.js.map +1 -1
- package/esm/sdk/assets.d.ts +2 -2
- package/esm/sdk/assets.js +2 -2
- package/esm/sdk/attestations.d.ts +1 -1
- package/esm/sdk/attestations.js +1 -1
- package/esm/sdk/commands.d.ts +1 -1
- package/esm/sdk/commands.js +1 -1
- package/esm/sdk/compliance.d.ts +1 -1
- package/esm/sdk/compliance.js +1 -1
- package/esm/sdk/organizations.d.ts +1 -1
- package/esm/sdk/organizations.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounts-get-accounts-cash-assets.ts +157 -0
- package/src/funcs/accounts-get-accounts-movable-wallets.ts +193 -0
- package/src/funcs/approvals-post-approvals-by-approval-id-approve.ts +217 -0
- package/src/funcs/approvals-post-approvals-by-approval-id-reject.ts +217 -0
- package/src/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.ts +1 -1
- package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.ts +1 -1
- package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.ts +1 -1
- package/src/funcs/assets-post-orgs-by-org-id-assets.ts +1 -1
- package/src/funcs/attestations-delete-attestations-by-id.ts +2 -2
- package/src/funcs/attestations-post-attestations.ts +1 -1
- package/src/funcs/commands-get-commands-by-command-id.ts +1 -1
- package/src/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +2 -2
- package/src/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.ts +3 -0
- package/src/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.ts +3 -0
- package/src/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.ts +3 -0
- package/src/funcs/markets-delete-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders-by-order-id.ts +3 -0
- package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.ts +1 -1
- package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +3 -0
- package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.ts +1 -1
- package/src/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.ts +3 -0
- package/src/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.ts +3 -0
- package/src/funcs/organizations-get-orgs-by-org-id-server-wallet.ts +3 -0
- package/src/funcs/organizations-post-orgs-by-org-id-issuer-register.ts +1 -1
- package/src/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.ts +3 -0
- package/src/funcs/organizations-post-orgs-by-org-id-server-wallet.ts +1 -1
- package/src/funcs/organizations-put-orgs-by-org-id-compliance.ts +6 -4
- package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.ts +3 -0
- package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.ts +3 -0
- package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/errors/get-oauth-authorize.ts +6 -6
- package/src/models/errors/get-oauth-userinfo.ts +8 -8
- package/src/models/errors/get-passport-home.ts +2 -2
- package/src/models/errors/get-passport-sign-in.ts +2 -2
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/o-auth-error-response.ts +2 -2
- package/src/models/errors/post-approvals-by-approval-id-approve.ts +85 -0
- package/src/models/errors/post-approvals-by-approval-id-reject.ts +85 -0
- package/src/models/errors/post-eligibility-check.ts +2 -2
- package/src/models/errors/post-oauth-par.ts +10 -10
- package/src/models/errors/post-oauth-revoke.ts +10 -10
- package/src/models/errors/post-oauth-token.ts +8 -8
- package/src/models/errors/post-passport-sign-in-decision.ts +2 -2
- package/src/models/operations/get-accounts-cash-assets.ts +89 -0
- package/src/models/operations/get-accounts-movable-wallets.ts +240 -0
- package/src/models/operations/get-commands-by-command-id.ts +267 -0
- package/src/models/operations/get-login-passport-status.ts +12 -6
- package/src/models/operations/get-preflight-results-by-result-id.ts +51 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/post-accounts-wallets-sync.ts +3 -1
- package/src/models/operations/post-approvals-by-approval-id-approve.ts +134 -0
- package/src/models/operations/post-approvals-by-approval-id-reject.ts +207 -0
- package/src/models/operations/post-eligibility-check.ts +11 -8
- package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +1 -1
- package/src/models/operations/post-preflight-intents.ts +47 -0
- package/src/sdk/accounts.ts +34 -0
- package/src/sdk/approvals.ts +40 -0
- package/src/sdk/assets.ts +2 -2
- package/src/sdk/attestations.ts +1 -1
- package/src/sdk/commands.ts +1 -1
- package/src/sdk/compliance.ts +1 -1
- package/src/sdk/organizations.ts +1 -1
|
@@ -10,7 +10,7 @@ import { SDKError } from "./sdk-error.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export class PostOauthParServiceUnavailableError extends SDKError {
|
|
12
12
|
/**
|
|
13
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
13
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
14
14
|
*/
|
|
15
15
|
error;
|
|
16
16
|
/**
|
|
@@ -47,7 +47,7 @@ export class PostOauthParServiceUnavailableError extends SDKError {
|
|
|
47
47
|
*/
|
|
48
48
|
export class PostOauthParInternalServerError extends SDKError {
|
|
49
49
|
/**
|
|
50
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
50
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
51
51
|
*/
|
|
52
52
|
error;
|
|
53
53
|
/**
|
|
@@ -84,7 +84,7 @@ export class PostOauthParInternalServerError extends SDKError {
|
|
|
84
84
|
*/
|
|
85
85
|
export class PostOauthParTooManyRequestsError extends SDKError {
|
|
86
86
|
/**
|
|
87
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
87
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
88
88
|
*/
|
|
89
89
|
error;
|
|
90
90
|
/**
|
|
@@ -121,7 +121,7 @@ export class PostOauthParTooManyRequestsError extends SDKError {
|
|
|
121
121
|
*/
|
|
122
122
|
export class PostOauthParUnauthorizedError extends SDKError {
|
|
123
123
|
/**
|
|
124
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
124
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
125
125
|
*/
|
|
126
126
|
error;
|
|
127
127
|
/**
|
|
@@ -158,7 +158,7 @@ export class PostOauthParUnauthorizedError extends SDKError {
|
|
|
158
158
|
*/
|
|
159
159
|
export class PostOauthParBadRequestError extends SDKError {
|
|
160
160
|
/**
|
|
161
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
161
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
162
162
|
*/
|
|
163
163
|
error;
|
|
164
164
|
/**
|
|
@@ -5,7 +5,7 @@ import { SDKError } from "./sdk-error.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export type PostOauthRevokeServiceUnavailableErrorData = {
|
|
7
7
|
/**
|
|
8
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
8
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
9
9
|
*/
|
|
10
10
|
error: string;
|
|
11
11
|
/**
|
|
@@ -30,7 +30,7 @@ export type PostOauthRevokeServiceUnavailableErrorData = {
|
|
|
30
30
|
*/
|
|
31
31
|
export declare class PostOauthRevokeServiceUnavailableError extends SDKError {
|
|
32
32
|
/**
|
|
33
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
33
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
34
34
|
*/
|
|
35
35
|
error: string;
|
|
36
36
|
/**
|
|
@@ -58,7 +58,7 @@ export declare class PostOauthRevokeServiceUnavailableError extends SDKError {
|
|
|
58
58
|
*/
|
|
59
59
|
export type PostOauthRevokeInternalServerErrorData = {
|
|
60
60
|
/**
|
|
61
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
61
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
62
62
|
*/
|
|
63
63
|
error: string;
|
|
64
64
|
/**
|
|
@@ -83,7 +83,7 @@ export type PostOauthRevokeInternalServerErrorData = {
|
|
|
83
83
|
*/
|
|
84
84
|
export declare class PostOauthRevokeInternalServerError extends SDKError {
|
|
85
85
|
/**
|
|
86
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
86
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
87
87
|
*/
|
|
88
88
|
error: string;
|
|
89
89
|
/**
|
|
@@ -111,7 +111,7 @@ export declare class PostOauthRevokeInternalServerError extends SDKError {
|
|
|
111
111
|
*/
|
|
112
112
|
export type PostOauthRevokeTooManyRequestsErrorData = {
|
|
113
113
|
/**
|
|
114
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
114
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
115
115
|
*/
|
|
116
116
|
error: string;
|
|
117
117
|
/**
|
|
@@ -136,7 +136,7 @@ export type PostOauthRevokeTooManyRequestsErrorData = {
|
|
|
136
136
|
*/
|
|
137
137
|
export declare class PostOauthRevokeTooManyRequestsError extends SDKError {
|
|
138
138
|
/**
|
|
139
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
139
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
140
140
|
*/
|
|
141
141
|
error: string;
|
|
142
142
|
/**
|
|
@@ -164,7 +164,7 @@ export declare class PostOauthRevokeTooManyRequestsError extends SDKError {
|
|
|
164
164
|
*/
|
|
165
165
|
export type PostOauthRevokeUnauthorizedErrorData = {
|
|
166
166
|
/**
|
|
167
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
167
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
168
168
|
*/
|
|
169
169
|
error: string;
|
|
170
170
|
/**
|
|
@@ -189,7 +189,7 @@ export type PostOauthRevokeUnauthorizedErrorData = {
|
|
|
189
189
|
*/
|
|
190
190
|
export declare class PostOauthRevokeUnauthorizedError extends SDKError {
|
|
191
191
|
/**
|
|
192
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
192
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
193
193
|
*/
|
|
194
194
|
error: string;
|
|
195
195
|
/**
|
|
@@ -217,7 +217,7 @@ export declare class PostOauthRevokeUnauthorizedError extends SDKError {
|
|
|
217
217
|
*/
|
|
218
218
|
export type PostOauthRevokeBadRequestErrorData = {
|
|
219
219
|
/**
|
|
220
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
220
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
221
221
|
*/
|
|
222
222
|
error: string;
|
|
223
223
|
/**
|
|
@@ -242,7 +242,7 @@ export type PostOauthRevokeBadRequestErrorData = {
|
|
|
242
242
|
*/
|
|
243
243
|
export declare class PostOauthRevokeBadRequestError extends SDKError {
|
|
244
244
|
/**
|
|
245
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
245
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
246
246
|
*/
|
|
247
247
|
error: string;
|
|
248
248
|
/**
|
|
@@ -10,7 +10,7 @@ import { SDKError } from "./sdk-error.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export class PostOauthRevokeServiceUnavailableError extends SDKError {
|
|
12
12
|
/**
|
|
13
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
13
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
14
14
|
*/
|
|
15
15
|
error;
|
|
16
16
|
/**
|
|
@@ -47,7 +47,7 @@ export class PostOauthRevokeServiceUnavailableError extends SDKError {
|
|
|
47
47
|
*/
|
|
48
48
|
export class PostOauthRevokeInternalServerError extends SDKError {
|
|
49
49
|
/**
|
|
50
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
50
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
51
51
|
*/
|
|
52
52
|
error;
|
|
53
53
|
/**
|
|
@@ -84,7 +84,7 @@ export class PostOauthRevokeInternalServerError extends SDKError {
|
|
|
84
84
|
*/
|
|
85
85
|
export class PostOauthRevokeTooManyRequestsError extends SDKError {
|
|
86
86
|
/**
|
|
87
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
87
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
88
88
|
*/
|
|
89
89
|
error;
|
|
90
90
|
/**
|
|
@@ -121,7 +121,7 @@ export class PostOauthRevokeTooManyRequestsError extends SDKError {
|
|
|
121
121
|
*/
|
|
122
122
|
export class PostOauthRevokeUnauthorizedError extends SDKError {
|
|
123
123
|
/**
|
|
124
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
124
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
125
125
|
*/
|
|
126
126
|
error;
|
|
127
127
|
/**
|
|
@@ -158,7 +158,7 @@ export class PostOauthRevokeUnauthorizedError extends SDKError {
|
|
|
158
158
|
*/
|
|
159
159
|
export class PostOauthRevokeBadRequestError extends SDKError {
|
|
160
160
|
/**
|
|
161
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
161
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
162
162
|
*/
|
|
163
163
|
error;
|
|
164
164
|
/**
|
|
@@ -6,7 +6,7 @@ import { SDKError } from "./sdk-error.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export type PostOauthTokenServiceUnavailableErrorData = {
|
|
8
8
|
/**
|
|
9
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
9
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
10
10
|
*/
|
|
11
11
|
error: string;
|
|
12
12
|
/**
|
|
@@ -31,7 +31,7 @@ export type PostOauthTokenServiceUnavailableErrorData = {
|
|
|
31
31
|
*/
|
|
32
32
|
export declare class PostOauthTokenServiceUnavailableError extends SDKError {
|
|
33
33
|
/**
|
|
34
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
34
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
35
35
|
*/
|
|
36
36
|
error: string;
|
|
37
37
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class PostOauthTokenServiceUnavailableError extends SDKError {
|
|
|
59
59
|
*/
|
|
60
60
|
export type PostOauthTokenInternalServerErrorData = {
|
|
61
61
|
/**
|
|
62
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
62
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
63
63
|
*/
|
|
64
64
|
error: string;
|
|
65
65
|
/**
|
|
@@ -84,7 +84,7 @@ export type PostOauthTokenInternalServerErrorData = {
|
|
|
84
84
|
*/
|
|
85
85
|
export declare class PostOauthTokenInternalServerError extends SDKError {
|
|
86
86
|
/**
|
|
87
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
87
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
88
88
|
*/
|
|
89
89
|
error: string;
|
|
90
90
|
/**
|
|
@@ -147,7 +147,7 @@ export declare class PostOauthTokenUpdateRequiredError extends SDKError {
|
|
|
147
147
|
*/
|
|
148
148
|
export type PostOauthTokenUnauthorizedErrorData = {
|
|
149
149
|
/**
|
|
150
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
150
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
151
151
|
*/
|
|
152
152
|
error: string;
|
|
153
153
|
/**
|
|
@@ -172,7 +172,7 @@ export type PostOauthTokenUnauthorizedErrorData = {
|
|
|
172
172
|
*/
|
|
173
173
|
export declare class PostOauthTokenUnauthorizedError extends SDKError {
|
|
174
174
|
/**
|
|
175
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
175
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
176
176
|
*/
|
|
177
177
|
error: string;
|
|
178
178
|
/**
|
|
@@ -200,7 +200,7 @@ export declare class PostOauthTokenUnauthorizedError extends SDKError {
|
|
|
200
200
|
*/
|
|
201
201
|
export type PostOauthTokenBadRequestErrorData = {
|
|
202
202
|
/**
|
|
203
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
203
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
204
204
|
*/
|
|
205
205
|
error: string;
|
|
206
206
|
/**
|
|
@@ -225,7 +225,7 @@ export type PostOauthTokenBadRequestErrorData = {
|
|
|
225
225
|
*/
|
|
226
226
|
export declare class PostOauthTokenBadRequestError extends SDKError {
|
|
227
227
|
/**
|
|
228
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
228
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
229
229
|
*/
|
|
230
230
|
error: string;
|
|
231
231
|
/**
|
|
@@ -11,7 +11,7 @@ import { SDKError } from "./sdk-error.js";
|
|
|
11
11
|
*/
|
|
12
12
|
export class PostOauthTokenServiceUnavailableError extends SDKError {
|
|
13
13
|
/**
|
|
14
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
14
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
15
15
|
*/
|
|
16
16
|
error;
|
|
17
17
|
/**
|
|
@@ -48,7 +48,7 @@ export class PostOauthTokenServiceUnavailableError extends SDKError {
|
|
|
48
48
|
*/
|
|
49
49
|
export class PostOauthTokenInternalServerError extends SDKError {
|
|
50
50
|
/**
|
|
51
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
51
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
52
52
|
*/
|
|
53
53
|
error;
|
|
54
54
|
/**
|
|
@@ -113,7 +113,7 @@ export class PostOauthTokenUpdateRequiredError extends SDKError {
|
|
|
113
113
|
*/
|
|
114
114
|
export class PostOauthTokenUnauthorizedError extends SDKError {
|
|
115
115
|
/**
|
|
116
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
116
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
117
117
|
*/
|
|
118
118
|
error;
|
|
119
119
|
/**
|
|
@@ -150,7 +150,7 @@ export class PostOauthTokenUnauthorizedError extends SDKError {
|
|
|
150
150
|
*/
|
|
151
151
|
export class PostOauthTokenBadRequestError extends SDKError {
|
|
152
152
|
/**
|
|
153
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
153
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
154
154
|
*/
|
|
155
155
|
error;
|
|
156
156
|
/**
|
|
@@ -41,7 +41,7 @@ export declare class PostPassportSignInDecisionUpdateRequiredError extends SDKEr
|
|
|
41
41
|
*/
|
|
42
42
|
export type PostPassportSignInDecisionUnauthorizedErrorData = {
|
|
43
43
|
/**
|
|
44
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
44
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
45
45
|
*/
|
|
46
46
|
error: string;
|
|
47
47
|
/**
|
|
@@ -66,7 +66,7 @@ export type PostPassportSignInDecisionUnauthorizedErrorData = {
|
|
|
66
66
|
*/
|
|
67
67
|
export declare class PostPassportSignInDecisionUnauthorizedError extends SDKError {
|
|
68
68
|
/**
|
|
69
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
69
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
70
70
|
*/
|
|
71
71
|
error: string;
|
|
72
72
|
/**
|
|
@@ -39,7 +39,7 @@ export class PostPassportSignInDecisionUpdateRequiredError extends SDKError {
|
|
|
39
39
|
*/
|
|
40
40
|
export class PostPassportSignInDecisionUnauthorizedError extends SDKError {
|
|
41
41
|
/**
|
|
42
|
-
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
42
|
+
* One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, invalid_request_uri, invalid_dpop_proof, use_dpop_nonce, login_required, consent_required, or "rate_limited" (Signum-wide rate-limit middleware)
|
|
43
43
|
*/
|
|
44
44
|
error;
|
|
45
45
|
/**
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
export declare const GetAccountsCashAssetsKind: {
|
|
6
|
+
readonly Cash: "cash";
|
|
7
|
+
};
|
|
8
|
+
export type GetAccountsCashAssetsKind = ClosedEnum<typeof GetAccountsCashAssetsKind>;
|
|
9
|
+
export type GetAccountsCashAssetsAsset = {
|
|
10
|
+
/**
|
|
11
|
+
* Cash asset id. Not a UUID: cash assets have no asset row.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Token symbol
|
|
16
|
+
*/
|
|
17
|
+
symbol: string;
|
|
18
|
+
/**
|
|
19
|
+
* Token decimals, the same on every chain
|
|
20
|
+
*/
|
|
21
|
+
decimals: number;
|
|
22
|
+
kind: GetAccountsCashAssetsKind;
|
|
23
|
+
/**
|
|
24
|
+
* Token contract address per chain. Keys are LayerZero endpoint ids as decimal strings; values are lowercase 0x addresses.
|
|
25
|
+
*/
|
|
26
|
+
tokens: {
|
|
27
|
+
[k: string]: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Response
|
|
32
|
+
*/
|
|
33
|
+
export type GetAccountsCashAssetsResponse = {
|
|
34
|
+
assets: Array<GetAccountsCashAssetsAsset>;
|
|
35
|
+
};
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const GetAccountsCashAssetsKind$inboundSchema: z.ZodMiniEnum<typeof GetAccountsCashAssetsKind>;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const GetAccountsCashAssetsAsset$inboundSchema: z.ZodMiniType<GetAccountsCashAssetsAsset, unknown>;
|
|
40
|
+
export declare function getAccountsCashAssetsAssetFromJSON(jsonString: string): SafeParseResult<GetAccountsCashAssetsAsset, SDKValidationError>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const GetAccountsCashAssetsResponse$inboundSchema: z.ZodMiniType<GetAccountsCashAssetsResponse, unknown>;
|
|
43
|
+
export declare function getAccountsCashAssetsResponseFromJSON(jsonString: string): SafeParseResult<GetAccountsCashAssetsResponse, SDKValidationError>;
|
|
44
|
+
//# sourceMappingURL=get-accounts-cash-assets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-accounts-cash-assets.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-accounts-cash-assets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;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T.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
export const GetAccountsCashAssetsKind = {
|
|
8
|
+
Cash: "cash",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const GetAccountsCashAssetsKind$inboundSchema = z.enum(GetAccountsCashAssetsKind);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const GetAccountsCashAssetsAsset$inboundSchema = z.object({
|
|
14
|
+
id: types.string(),
|
|
15
|
+
symbol: types.string(),
|
|
16
|
+
decimals: types.number(),
|
|
17
|
+
kind: GetAccountsCashAssetsKind$inboundSchema,
|
|
18
|
+
tokens: z.record(z.string(), types.string()),
|
|
19
|
+
});
|
|
20
|
+
export function getAccountsCashAssetsAssetFromJSON(jsonString) {
|
|
21
|
+
return safeParse(jsonString, (x) => GetAccountsCashAssetsAsset$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAccountsCashAssetsAsset' from JSON`);
|
|
22
|
+
}
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const GetAccountsCashAssetsResponse$inboundSchema = z.object({
|
|
25
|
+
assets: z.array(z.lazy(() => GetAccountsCashAssetsAsset$inboundSchema)),
|
|
26
|
+
});
|
|
27
|
+
export function getAccountsCashAssetsResponseFromJSON(jsonString) {
|
|
28
|
+
return safeParse(jsonString, (x) => GetAccountsCashAssetsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAccountsCashAssetsResponse' from JSON`);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=get-accounts-cash-assets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-accounts-cash-assets.js","sourceRoot":"","sources":["../../../src/models/operations/get-accounts-cash-assets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,O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D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
|
+
export type GetAccountsMovableWalletsRequest = {
|
|
5
|
+
assetId: string;
|
|
6
|
+
};
|
|
7
|
+
export type Balance2 = {
|
|
8
|
+
/**
|
|
9
|
+
* LayerZero endpoint id, as a decimal string
|
|
10
|
+
*/
|
|
11
|
+
chainEid: string;
|
|
12
|
+
/**
|
|
13
|
+
* The balance could not be read
|
|
14
|
+
*/
|
|
15
|
+
balance: any | null;
|
|
16
|
+
/**
|
|
17
|
+
* Why the balance could not be read
|
|
18
|
+
*/
|
|
19
|
+
reason: string;
|
|
20
|
+
};
|
|
21
|
+
export type Balance1 = {
|
|
22
|
+
/**
|
|
23
|
+
* LayerZero endpoint id, as a decimal string
|
|
24
|
+
*/
|
|
25
|
+
chainEid: string;
|
|
26
|
+
/**
|
|
27
|
+
* On-chain balance in whole units, as a decimal string
|
|
28
|
+
*/
|
|
29
|
+
balance: string;
|
|
30
|
+
/**
|
|
31
|
+
* The part of the balance under the asset's compliance lockup. Absent means no lockup, not applicable (cash, organization wallets) or unknown. Display only: the preflight check enforces the lockup.
|
|
32
|
+
*/
|
|
33
|
+
locked?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
export type BalanceUnion = Balance2 | Balance1;
|
|
36
|
+
export type GetAccountsMovableWalletsWallet = {
|
|
37
|
+
/**
|
|
38
|
+
* Wallet row id
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Display label
|
|
43
|
+
*/
|
|
44
|
+
label: string;
|
|
45
|
+
/**
|
|
46
|
+
* EIP-55 checksummed address
|
|
47
|
+
*/
|
|
48
|
+
address: string;
|
|
49
|
+
/**
|
|
50
|
+
* One row per chain the asset is on
|
|
51
|
+
*/
|
|
52
|
+
balances: Array<Balance2 | Balance1>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Wallets returned
|
|
56
|
+
*/
|
|
57
|
+
export type VisibleCount = string | number;
|
|
58
|
+
/**
|
|
59
|
+
* Distinct wallets the asset could be moved from, including organization wallets the caller may not use
|
|
60
|
+
*/
|
|
61
|
+
export type TotalCount = string | number;
|
|
62
|
+
/**
|
|
63
|
+
* Response
|
|
64
|
+
*/
|
|
65
|
+
export type GetAccountsMovableWalletsResponse = {
|
|
66
|
+
wallets: Array<GetAccountsMovableWalletsWallet>;
|
|
67
|
+
/**
|
|
68
|
+
* Wallets returned
|
|
69
|
+
*/
|
|
70
|
+
visibleCount: string | number;
|
|
71
|
+
/**
|
|
72
|
+
* Distinct wallets the asset could be moved from, including organization wallets the caller may not use
|
|
73
|
+
*/
|
|
74
|
+
totalCount: string | number;
|
|
75
|
+
};
|
|
76
|
+
/** @internal */
|
|
77
|
+
export type GetAccountsMovableWalletsRequest$Outbound = {
|
|
78
|
+
assetId: string;
|
|
79
|
+
};
|
|
80
|
+
/** @internal */
|
|
81
|
+
export declare const GetAccountsMovableWalletsRequest$outboundSchema: z.ZodMiniType<GetAccountsMovableWalletsRequest$Outbound, GetAccountsMovableWalletsRequest>;
|
|
82
|
+
export declare function getAccountsMovableWalletsRequestToJSON(getAccountsMovableWalletsRequest: GetAccountsMovableWalletsRequest): string;
|
|
83
|
+
/** @internal */
|
|
84
|
+
export declare const Balance2$inboundSchema: z.ZodMiniType<Balance2, unknown>;
|
|
85
|
+
export declare function balance2FromJSON(jsonString: string): SafeParseResult<Balance2, SDKValidationError>;
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const Balance1$inboundSchema: z.ZodMiniType<Balance1, unknown>;
|
|
88
|
+
export declare function balance1FromJSON(jsonString: string): SafeParseResult<Balance1, SDKValidationError>;
|
|
89
|
+
/** @internal */
|
|
90
|
+
export declare const BalanceUnion$inboundSchema: z.ZodMiniType<BalanceUnion, unknown>;
|
|
91
|
+
export declare function balanceUnionFromJSON(jsonString: string): SafeParseResult<BalanceUnion, SDKValidationError>;
|
|
92
|
+
/** @internal */
|
|
93
|
+
export declare const GetAccountsMovableWalletsWallet$inboundSchema: z.ZodMiniType<GetAccountsMovableWalletsWallet, unknown>;
|
|
94
|
+
export declare function getAccountsMovableWalletsWalletFromJSON(jsonString: string): SafeParseResult<GetAccountsMovableWalletsWallet, SDKValidationError>;
|
|
95
|
+
/** @internal */
|
|
96
|
+
export declare const VisibleCount$inboundSchema: z.ZodMiniType<VisibleCount, unknown>;
|
|
97
|
+
export declare function visibleCountFromJSON(jsonString: string): SafeParseResult<VisibleCount, SDKValidationError>;
|
|
98
|
+
/** @internal */
|
|
99
|
+
export declare const TotalCount$inboundSchema: z.ZodMiniType<TotalCount, unknown>;
|
|
100
|
+
export declare function totalCountFromJSON(jsonString: string): SafeParseResult<TotalCount, SDKValidationError>;
|
|
101
|
+
/** @internal */
|
|
102
|
+
export declare const GetAccountsMovableWalletsResponse$inboundSchema: z.ZodMiniType<GetAccountsMovableWalletsResponse, unknown>;
|
|
103
|
+
export declare function getAccountsMovableWalletsResponseFromJSON(jsonString: string): SafeParseResult<GetAccountsMovableWalletsResponse, SDKValidationError>;
|
|
104
|
+
//# sourceMappingURL=get-accounts-movable-wallets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-accounts-movable-wallets.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-accounts-movable-wallets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,Q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BAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,WAAW,CACzE,iCAAiC,EACjC,OAAO,CAKP,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const GetAccountsMovableWalletsRequest$outboundSchema = z.object({
|
|
10
|
+
assetId: z.string(),
|
|
11
|
+
});
|
|
12
|
+
export function getAccountsMovableWalletsRequestToJSON(getAccountsMovableWalletsRequest) {
|
|
13
|
+
return JSON.stringify(GetAccountsMovableWalletsRequest$outboundSchema.parse(getAccountsMovableWalletsRequest));
|
|
14
|
+
}
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const Balance2$inboundSchema = z
|
|
17
|
+
.object({
|
|
18
|
+
chainEid: types.string(),
|
|
19
|
+
balance: types.nullable(z.any()),
|
|
20
|
+
reason: types.string(),
|
|
21
|
+
});
|
|
22
|
+
export function balance2FromJSON(jsonString) {
|
|
23
|
+
return safeParse(jsonString, (x) => Balance2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Balance2' from JSON`);
|
|
24
|
+
}
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const Balance1$inboundSchema = z
|
|
27
|
+
.object({
|
|
28
|
+
chainEid: types.string(),
|
|
29
|
+
balance: types.string(),
|
|
30
|
+
locked: types.optional(types.string()),
|
|
31
|
+
});
|
|
32
|
+
export function balance1FromJSON(jsonString) {
|
|
33
|
+
return safeParse(jsonString, (x) => Balance1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Balance1' from JSON`);
|
|
34
|
+
}
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const BalanceUnion$inboundSchema = smartUnion([
|
|
37
|
+
z.lazy(() => Balance2$inboundSchema),
|
|
38
|
+
z.lazy(() => Balance1$inboundSchema),
|
|
39
|
+
]);
|
|
40
|
+
export function balanceUnionFromJSON(jsonString) {
|
|
41
|
+
return safeParse(jsonString, (x) => BalanceUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BalanceUnion' from JSON`);
|
|
42
|
+
}
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const GetAccountsMovableWalletsWallet$inboundSchema = z.object({
|
|
45
|
+
id: types.string(),
|
|
46
|
+
label: types.string(),
|
|
47
|
+
address: types.string(),
|
|
48
|
+
balances: z.array(smartUnion([
|
|
49
|
+
z.lazy(() => Balance2$inboundSchema),
|
|
50
|
+
z.lazy(() => Balance1$inboundSchema),
|
|
51
|
+
])),
|
|
52
|
+
});
|
|
53
|
+
export function getAccountsMovableWalletsWalletFromJSON(jsonString) {
|
|
54
|
+
return safeParse(jsonString, (x) => GetAccountsMovableWalletsWallet$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAccountsMovableWalletsWallet' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const VisibleCount$inboundSchema = smartUnion([types.string(), types.number()]);
|
|
58
|
+
export function visibleCountFromJSON(jsonString) {
|
|
59
|
+
return safeParse(jsonString, (x) => VisibleCount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisibleCount' from JSON`);
|
|
60
|
+
}
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const TotalCount$inboundSchema = smartUnion([types.string(), types.number()]);
|
|
63
|
+
export function totalCountFromJSON(jsonString) {
|
|
64
|
+
return safeParse(jsonString, (x) => TotalCount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TotalCount' from JSON`);
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const GetAccountsMovableWalletsResponse$inboundSchema = z.object({
|
|
68
|
+
wallets: z.array(z.lazy(() => GetAccountsMovableWalletsWallet$inboundSchema)),
|
|
69
|
+
visibleCount: smartUnion([types.string(), types.number()]),
|
|
70
|
+
totalCount: smartUnion([types.string(), types.number()]),
|
|
71
|
+
});
|
|
72
|
+
export function getAccountsMovableWalletsResponseFromJSON(jsonString) {
|
|
73
|
+
return safeParse(jsonString, (x) => GetAccountsMovableWalletsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAccountsMovableWalletsResponse' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=get-accounts-movable-wallets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-accounts-movable-wallets.js","sourceRoot":"","sources":["../../../src/models/operations/get-accounts-movable-wallets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAwFxD,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAGxD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,gCAAkE,EAC1D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAAqC,CAAC;KACtE,MAAM,CAAC;IACN,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,C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