@clossir-tech/ts-sdk 0.10.6 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -19
- package/esm/funcs/approvals-get-approvals-by-approval-id-status.d.ts +20 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id-status.d.ts.map +1 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id-status.js +96 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id-status.js.map +1 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id.d.ts +20 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id.d.ts.map +1 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id.js +100 -0
- package/esm/funcs/approvals-get-approvals-by-approval-id.js.map +1 -0
- package/esm/funcs/approvals-post-approvals.d.ts +20 -0
- package/esm/funcs/approvals-post-approvals.d.ts.map +1 -0
- package/esm/funcs/approvals-post-approvals.js +90 -0
- package/esm/funcs/approvals-post-approvals.js.map +1 -0
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js +3 -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-documents.d.ts +4 -2
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.d.ts.map +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.js +11 -19
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.js.map +1 -1
- package/esm/funcs/attestations-post-attestations.d.ts +1 -1
- package/esm/funcs/attestations-post-attestations.js +2 -2
- package/esm/funcs/attestations-post-attestations.js.map +1 -1
- package/esm/funcs/auth-post-auth-accept-invite.js +1 -1
- package/esm/funcs/auth-post-auth-accept-invite.js.map +1 -1
- package/esm/funcs/auth-post-auth-login.js +1 -1
- package/esm/funcs/auth-post-auth-login.js.map +1 -1
- package/esm/funcs/auth-post-auth-refresh.d.ts +1 -1
- package/esm/funcs/auth-post-auth-refresh.js +1 -1
- package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.d.ts +1 -1
- package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.js +1 -1
- package/esm/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.js +1 -1
- package/esm/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.js.map +1 -1
- package/esm/funcs/eligibility-post-eligibility-check.d.ts +20 -0
- package/esm/funcs/eligibility-post-eligibility-check.d.ts.map +1 -0
- package/esm/funcs/eligibility-post-eligibility-check.js +90 -0
- package/esm/funcs/eligibility-post-eligibility-check.js.map +1 -0
- package/esm/funcs/health-get-health.d.ts +1 -1
- package/esm/funcs/health-get-health.js +1 -1
- package/esm/funcs/mfa-post-auth-mfa-verify.js +2 -2
- package/esm/funcs/mfa-post-auth-mfa-verify.js.map +1 -1
- package/esm/funcs/o-auth-get-oauth-authorize.d.ts +1 -1
- package/esm/funcs/o-auth-get-oauth-authorize.js +1 -1
- package/esm/funcs/o-auth-get-oauth-userinfo.d.ts +2 -2
- package/esm/funcs/o-auth-get-oauth-userinfo.d.ts.map +1 -1
- package/esm/funcs/o-auth-get-oauth-userinfo.js +2 -2
- package/esm/funcs/o-auth-get-oauth-userinfo.js.map +1 -1
- package/esm/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.js +2 -0
- package/esm/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
- package/esm/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.js +1 -1
- package/esm/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.js.map +1 -1
- package/esm/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.js +3 -1
- package/esm/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
- package/esm/funcs/o-auth-post-oauth-token.d.ts +2 -2
- package/esm/funcs/o-auth-post-oauth-token.d.ts.map +1 -1
- package/esm/funcs/o-auth-post-oauth-token.js +2 -2
- package/esm/funcs/o-auth-post-oauth-token.js.map +1 -1
- package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts +4 -2
- package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts.map +1 -1
- package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js +12 -22
- package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js.map +1 -1
- package/esm/funcs/passport-get-login-passport-status.d.ts +18 -0
- package/esm/funcs/passport-get-login-passport-status.d.ts.map +1 -0
- package/esm/funcs/passport-get-login-passport-status.js +77 -0
- package/esm/funcs/passport-get-login-passport-status.js.map +1 -0
- package/esm/funcs/passport-get-passport-home.d.ts +17 -0
- package/esm/funcs/passport-get-passport-home.d.ts.map +1 -0
- package/esm/funcs/passport-get-passport-home.js +77 -0
- package/esm/funcs/passport-get-passport-home.js.map +1 -0
- package/esm/funcs/passport-get-passport-sign-in.d.ts +17 -0
- package/esm/funcs/passport-get-passport-sign-in.d.ts.map +1 -0
- package/esm/funcs/passport-get-passport-sign-in.js +75 -0
- package/esm/funcs/passport-get-passport-sign-in.js.map +1 -0
- package/esm/funcs/passport-post-login-passport-finish.d.ts +18 -0
- package/esm/funcs/passport-post-login-passport-finish.d.ts.map +1 -0
- package/esm/funcs/passport-post-login-passport-finish.js +89 -0
- package/esm/funcs/passport-post-login-passport-finish.js.map +1 -0
- package/esm/funcs/passport-post-passport-sign-in-decision.d.ts +18 -0
- package/esm/funcs/passport-post-passport-sign-in-decision.d.ts.map +1 -0
- package/esm/funcs/passport-post-passport-sign-in-decision.js +86 -0
- package/esm/funcs/passport-post-passport-sign-in-decision.js.map +1 -0
- package/esm/funcs/preflight-get-preflight-results-by-result-id.d.ts +20 -0
- package/esm/funcs/preflight-get-preflight-results-by-result-id.d.ts.map +1 -0
- package/esm/funcs/preflight-get-preflight-results-by-result-id.js +98 -0
- package/esm/funcs/preflight-get-preflight-results-by-result-id.js.map +1 -0
- package/esm/funcs/preflight-post-preflight-intents.d.ts +20 -0
- package/esm/funcs/preflight-post-preflight-intents.d.ts.map +1 -0
- package/esm/funcs/preflight-post-preflight-intents.js +90 -0
- package/esm/funcs/preflight-post-preflight-intents.js.map +1 -0
- package/esm/funcs/transfers-get-transfers.d.ts +1 -1
- package/esm/funcs/transfers-get-transfers.js +1 -1
- package/esm/funcs/travel-rule-post-travel-rule-records.d.ts +20 -0
- package/esm/funcs/travel-rule-post-travel-rule-records.d.ts.map +1 -0
- package/esm/funcs/travel-rule-post-travel-rule-records.js +90 -0
- package/esm/funcs/travel-rule-post-travel-rule-records.js.map +1 -0
- package/esm/funcs/ui-get-login.js +1 -0
- package/esm/funcs/ui-get-login.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/errors/get-approvals-by-approval-id.d.ts +41 -0
- package/esm/models/errors/get-approvals-by-approval-id.d.ts.map +1 -0
- package/esm/models/errors/get-approvals-by-approval-id.js +56 -0
- package/esm/models/errors/get-approvals-by-approval-id.js.map +1 -0
- 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 +152 -4
- package/esm/models/errors/get-oauth-userinfo.d.ts.map +1 -1
- package/esm/models/errors/get-oauth-userinfo.js +166 -2
- package/esm/models/errors/get-oauth-userinfo.js.map +1 -1
- package/esm/models/errors/get-passport-home.d.ts +96 -0
- package/esm/models/errors/get-passport-home.d.ts.map +1 -0
- package/esm/models/errors/get-passport-home.js +114 -0
- package/esm/models/errors/get-passport-home.js.map +1 -0
- package/esm/models/errors/get-passport-sign-in.d.ts +96 -0
- package/esm/models/errors/get-passport-sign-in.d.ts.map +1 -0
- package/esm/models/errors/get-passport-sign-in.js +114 -0
- package/esm/models/errors/get-passport-sign-in.js.map +1 -0
- package/esm/models/errors/index.d.ts +6 -0
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +6 -0
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/errors/o-auth-error-response.d.ts +52 -0
- package/esm/models/errors/o-auth-error-response.d.ts.map +1 -0
- package/esm/models/errors/o-auth-error-response.js +63 -0
- package/esm/models/errors/o-auth-error-response.js.map +1 -0
- package/esm/models/errors/post-eligibility-check.d.ts +58 -0
- package/esm/models/errors/post-eligibility-check.d.ts.map +1 -0
- package/esm/models/errors/post-eligibility-check.js +66 -0
- package/esm/models/errors/post-eligibility-check.js.map +1 -0
- 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 +99 -6
- package/esm/models/errors/post-oauth-token.d.ts.map +1 -1
- package/esm/models/errors/post-oauth-token.js +109 -3
- package/esm/models/errors/post-oauth-token.js.map +1 -1
- package/esm/models/errors/post-passport-sign-in-decision.d.ts +96 -0
- package/esm/models/errors/post-passport-sign-in-decision.d.ts.map +1 -0
- package/esm/models/errors/post-passport-sign-in-decision.js +115 -0
- package/esm/models/errors/post-passport-sign-in-decision.js.map +1 -0
- package/esm/models/errors/problem-details-error.d.ts +24 -0
- package/esm/models/errors/problem-details-error.d.ts.map +1 -1
- package/esm/models/errors/problem-details-error.js +21 -0
- package/esm/models/errors/problem-details-error.js.map +1 -1
- package/esm/models/operations/get-approvals-by-approval-id-status.d.ts +91 -0
- package/esm/models/operations/get-approvals-by-approval-id-status.d.ts.map +1 -0
- package/esm/models/operations/get-approvals-by-approval-id-status.js +60 -0
- package/esm/models/operations/get-approvals-by-approval-id-status.js.map +1 -0
- package/esm/models/operations/get-approvals-by-approval-id.d.ts +391 -0
- package/esm/models/operations/get-approvals-by-approval-id.d.ts.map +1 -0
- package/esm/models/operations/get-approvals-by-approval-id.js +299 -0
- package/esm/models/operations/get-approvals-by-approval-id.js.map +1 -0
- package/esm/models/operations/get-health.d.ts +8 -0
- package/esm/models/operations/get-health.d.ts.map +1 -1
- package/esm/models/operations/get-health.js +2 -0
- package/esm/models/operations/get-health.js.map +1 -1
- package/esm/models/operations/get-login-passport-status.d.ts +42 -0
- package/esm/models/operations/get-login-passport-status.d.ts.map +1 -0
- package/esm/models/operations/get-login-passport-status.js +45 -0
- package/esm/models/operations/get-login-passport-status.js.map +1 -0
- package/esm/models/operations/get-login.d.ts +2 -0
- package/esm/models/operations/get-login.d.ts.map +1 -1
- package/esm/models/operations/get-login.js +1 -0
- package/esm/models/operations/get-login.js.map +1 -1
- package/esm/models/operations/get-oauth-userinfo.d.ts +48 -0
- package/esm/models/operations/get-oauth-userinfo.d.ts.map +1 -1
- package/esm/models/operations/get-oauth-userinfo.js +32 -0
- package/esm/models/operations/get-oauth-userinfo.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +1 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +1 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.d.ts +47 -0
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.js +41 -0
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients.d.ts +47 -0
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients.js +40 -0
- package/esm/models/operations/get-orgs-by-org-id-oauth-clients.js.map +1 -1
- package/esm/models/operations/get-passport-home.d.ts +9 -0
- package/esm/models/operations/get-passport-home.d.ts.map +1 -0
- package/esm/models/operations/get-passport-home.js +10 -0
- package/esm/models/operations/get-passport-home.js.map +1 -0
- package/esm/models/operations/get-passport-sign-in.d.ts +9 -0
- package/esm/models/operations/get-passport-sign-in.d.ts.map +1 -0
- package/esm/models/operations/get-passport-sign-in.js +10 -0
- package/esm/models/operations/get-passport-sign-in.js.map +1 -0
- package/esm/models/operations/get-preflight-results-by-result-id.d.ts +329 -0
- package/esm/models/operations/get-preflight-results-by-result-id.d.ts.map +1 -0
- package/esm/models/operations/get-preflight-results-by-result-id.js +280 -0
- package/esm/models/operations/get-preflight-results-by-result-id.js.map +1 -0
- package/esm/models/operations/index.d.ts +12 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +12 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/post-approvals.d.ts +114 -0
- package/esm/models/operations/post-approvals.d.ts.map +1 -0
- package/esm/models/operations/post-approvals.js +76 -0
- package/esm/models/operations/post-approvals.js.map +1 -0
- package/esm/models/operations/post-attestations.d.ts +24 -7
- package/esm/models/operations/post-attestations.d.ts.map +1 -1
- package/esm/models/operations/post-attestations.js +7 -1
- package/esm/models/operations/post-attestations.js.map +1 -1
- package/esm/models/operations/post-auth-verify-email.d.ts +10 -10
- package/esm/models/operations/post-auth-verify-email.d.ts.map +1 -1
- package/esm/models/operations/post-auth-verify-email.js +8 -8
- package/esm/models/operations/post-auth-verify-email.js.map +1 -1
- package/esm/models/operations/post-consent.d.ts +2 -0
- package/esm/models/operations/post-consent.d.ts.map +1 -1
- package/esm/models/operations/post-consent.js +2 -0
- package/esm/models/operations/post-consent.js.map +1 -1
- package/esm/models/operations/post-eligibility-check.d.ts +45 -0
- package/esm/models/operations/post-eligibility-check.d.ts.map +1 -0
- package/esm/models/operations/post-eligibility-check.js +43 -0
- package/esm/models/operations/post-eligibility-check.js.map +1 -0
- package/esm/models/operations/post-login-passport-finish.d.ts +24 -0
- package/esm/models/operations/post-login-passport-finish.d.ts.map +1 -0
- package/esm/models/operations/post-login-passport-finish.js +31 -0
- package/esm/models/operations/post-login-passport-finish.js.map +1 -0
- package/esm/models/operations/post-oauth-token.d.ts +22 -9
- package/esm/models/operations/post-oauth-token.d.ts.map +1 -1
- package/esm/models/operations/post-oauth-token.js +25 -6
- package/esm/models/operations/post-oauth-token.js.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts +4 -4
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js +5 -4
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +2 -0
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +2 -0
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.d.ts +0 -12
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.d.ts.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.js +0 -8
- package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.js.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-oauth-clients.d.ts +101 -0
- package/esm/models/operations/post-orgs-by-org-id-oauth-clients.d.ts.map +1 -1
- package/esm/models/operations/post-orgs-by-org-id-oauth-clients.js +81 -0
- package/esm/models/operations/post-orgs-by-org-id-oauth-clients.js.map +1 -1
- package/esm/models/operations/post-passport-sign-in-decision.d.ts +25 -0
- package/esm/models/operations/post-passport-sign-in-decision.d.ts.map +1 -0
- package/esm/models/operations/post-passport-sign-in-decision.js +27 -0
- package/esm/models/operations/post-passport-sign-in-decision.js.map +1 -0
- package/esm/models/operations/post-preflight-intents.d.ts +367 -0
- package/esm/models/operations/post-preflight-intents.d.ts.map +1 -0
- package/esm/models/operations/post-preflight-intents.js +299 -0
- package/esm/models/operations/post-preflight-intents.js.map +1 -0
- package/esm/models/operations/post-preflight.d.ts +8 -8
- package/esm/models/operations/post-preflight.d.ts.map +1 -1
- package/esm/models/operations/post-preflight.js +7 -7
- package/esm/models/operations/post-preflight.js.map +1 -1
- package/esm/models/operations/post-travel-rule-records.d.ts +27 -0
- package/esm/models/operations/post-travel-rule-records.d.ts.map +1 -0
- package/esm/models/operations/post-travel-rule-records.js +24 -0
- package/esm/models/operations/post-travel-rule-records.js.map +1 -0
- package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.d.ts +101 -0
- package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.d.ts.map +1 -1
- package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.js +79 -0
- package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
- package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts +0 -12
- package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts.map +1 -1
- package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js +0 -8
- package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js.map +1 -1
- package/esm/sdk/approvals.d.ts +26 -0
- package/esm/sdk/approvals.d.ts.map +1 -0
- package/esm/sdk/approvals.js +38 -0
- package/esm/sdk/approvals.js.map +1 -0
- package/esm/sdk/assets.d.ts +2 -2
- package/esm/sdk/assets.d.ts.map +1 -1
- package/esm/sdk/assets.js +3 -3
- package/esm/sdk/assets.js.map +1 -1
- package/esm/sdk/attestations.d.ts +1 -1
- package/esm/sdk/attestations.js +1 -1
- package/esm/sdk/auth.d.ts +1 -1
- package/esm/sdk/auth.js +1 -1
- package/esm/sdk/bridge.d.ts +1 -1
- package/esm/sdk/bridge.js +1 -1
- package/esm/sdk/eligibility.d.ts +12 -0
- package/esm/sdk/eligibility.d.ts.map +1 -0
- package/esm/sdk/eligibility.js +18 -0
- package/esm/sdk/eligibility.js.map +1 -0
- package/esm/sdk/health.d.ts +1 -1
- package/esm/sdk/health.js +1 -1
- package/esm/sdk/o-auth.d.ts +3 -3
- package/esm/sdk/o-auth.js +3 -3
- package/esm/sdk/organizations.d.ts +2 -2
- package/esm/sdk/organizations.d.ts.map +1 -1
- package/esm/sdk/organizations.js +3 -3
- package/esm/sdk/organizations.js.map +1 -1
- package/esm/sdk/passport.d.ts +40 -0
- package/esm/sdk/passport.d.ts.map +1 -0
- package/esm/sdk/passport.js +58 -0
- package/esm/sdk/passport.js.map +1 -0
- package/esm/sdk/preflight.d.ts +14 -0
- package/esm/sdk/preflight.d.ts.map +1 -1
- package/esm/sdk/preflight.js +20 -0
- package/esm/sdk/preflight.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +20 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/transfers.d.ts +1 -1
- package/esm/sdk/transfers.js +1 -1
- package/esm/sdk/travel-rule.d.ts +12 -0
- package/esm/sdk/travel-rule.d.ts.map +1 -0
- package/esm/sdk/travel-rule.js +18 -0
- package/esm/sdk/travel-rule.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/approvals-get-approvals-by-approval-id-status.ts +197 -0
- package/src/funcs/approvals-get-approvals-by-approval-id.ts +204 -0
- package/src/funcs/approvals-post-approvals.ts +189 -0
- package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.ts +3 -0
- package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.ts +8 -22
- package/src/funcs/attestations-post-attestations.ts +2 -2
- package/src/funcs/auth-post-auth-accept-invite.ts +1 -1
- package/src/funcs/auth-post-auth-login.ts +1 -1
- package/src/funcs/auth-post-auth-refresh.ts +1 -1
- package/src/funcs/bridge-get-orgs-by-org-id-bridge-history.ts +1 -1
- package/src/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.ts +1 -1
- package/src/funcs/eligibility-post-eligibility-check.ts +191 -0
- package/src/funcs/health-get-health.ts +1 -1
- package/src/funcs/mfa-post-auth-mfa-verify.ts +2 -2
- package/src/funcs/o-auth-get-oauth-authorize.ts +1 -1
- package/src/funcs/o-auth-get-oauth-userinfo.ts +16 -1
- package/src/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.ts +3 -0
- package/src/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.ts +6 -1
- package/src/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.ts +4 -1
- package/src/funcs/o-auth-post-oauth-token.ts +9 -1
- package/src/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.ts +13 -25
- package/src/funcs/passport-get-login-passport-status.ts +158 -0
- package/src/funcs/passport-get-passport-home.ts +170 -0
- package/src/funcs/passport-get-passport-sign-in.ts +172 -0
- package/src/funcs/passport-post-login-passport-finish.ts +184 -0
- package/src/funcs/passport-post-passport-sign-in-decision.ts +201 -0
- package/src/funcs/preflight-get-preflight-results-by-result-id.ts +202 -0
- package/src/funcs/preflight-post-preflight-intents.ts +190 -0
- package/src/funcs/transfers-get-transfers.ts +1 -1
- package/src/funcs/travel-rule-post-travel-rule-records.ts +190 -0
- package/src/funcs/ui-get-login.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/models/errors/get-approvals-by-approval-id.ts +83 -0
- package/src/models/errors/get-oauth-authorize.ts +6 -6
- package/src/models/errors/get-oauth-userinfo.ts +273 -4
- package/src/models/errors/get-passport-home.ts +182 -0
- package/src/models/errors/get-passport-sign-in.ts +182 -0
- package/src/models/errors/index.ts +6 -0
- package/src/models/errors/o-auth-error-response.ts +99 -0
- package/src/models/errors/post-eligibility-check.ts +103 -0
- 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 +180 -6
- package/src/models/errors/post-passport-sign-in-decision.ts +179 -0
- package/src/models/errors/problem-details-error.ts +30 -0
- package/src/models/operations/get-approvals-by-approval-id-status.ts +161 -0
- package/src/models/operations/get-approvals-by-approval-id.ts +735 -0
- package/src/models/operations/get-health.ts +10 -0
- package/src/models/operations/get-login-passport-status.ts +91 -0
- package/src/models/operations/get-login.ts +3 -0
- package/src/models/operations/get-oauth-userinfo.ts +112 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +2 -0
- package/src/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.ts +118 -0
- package/src/models/operations/get-orgs-by-org-id-oauth-clients.ts +113 -0
- package/src/models/operations/get-passport-home.ts +16 -0
- package/src/models/operations/get-passport-sign-in.ts +16 -0
- package/src/models/operations/get-preflight-results-by-result-id.ts +653 -0
- package/src/models/operations/index.ts +12 -0
- package/src/models/operations/post-approvals.ts +192 -0
- package/src/models/operations/post-attestations.ts +39 -8
- package/src/models/operations/post-auth-verify-email.ts +33 -19
- package/src/models/operations/post-consent.ts +4 -0
- package/src/models/operations/post-eligibility-check.ts +120 -0
- package/src/models/operations/post-login-passport-finish.ts +76 -0
- package/src/models/operations/post-oauth-token.ts +53 -14
- package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.ts +23 -11
- package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +4 -0
- package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.ts +0 -32
- package/src/models/operations/post-orgs-by-org-id-oauth-clients.ts +248 -0
- package/src/models/operations/post-passport-sign-in-decision.ts +67 -0
- package/src/models/operations/post-preflight-intents.ts +728 -0
- package/src/models/operations/post-preflight.ts +18 -15
- package/src/models/operations/post-travel-rule-records.ts +68 -0
- package/src/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.ts +263 -0
- package/src/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.ts +0 -32
- package/src/sdk/approvals.ts +63 -0
- package/src/sdk/assets.ts +1 -3
- package/src/sdk/attestations.ts +1 -1
- package/src/sdk/auth.ts +1 -1
- package/src/sdk/bridge.ts +1 -1
- package/src/sdk/eligibility.ts +27 -0
- package/src/sdk/health.ts +1 -1
- package/src/sdk/o-auth.ts +3 -3
- package/src/sdk/organizations.ts +1 -3
- package/src/sdk/passport.ts +93 -0
- package/src/sdk/preflight.ts +36 -0
- package/src/sdk/sdk.ts +24 -0
- package/src/sdk/transfers.ts +1 -1
- package/src/sdk/travel-rule.ts +27 -0
|
@@ -32,6 +32,14 @@ export type GetHealthResponse = {
|
|
|
32
32
|
* API version
|
|
33
33
|
*/
|
|
34
34
|
version: string;
|
|
35
|
+
/**
|
|
36
|
+
* Git commit SHA the running image was built from, or "unknown" when the image was built without one
|
|
37
|
+
*/
|
|
38
|
+
commit?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* UTC build time of the running image (ISO 8601), or "unknown"
|
|
41
|
+
*/
|
|
42
|
+
builtAt?: string | undefined;
|
|
35
43
|
/**
|
|
36
44
|
* Issuer URL
|
|
37
45
|
*/
|
|
@@ -54,6 +62,8 @@ export const GetHealthResponse$inboundSchema: z.ZodMiniType<
|
|
|
54
62
|
> = z.object({
|
|
55
63
|
status: GetHealthStatus$inboundSchema,
|
|
56
64
|
version: types.string(),
|
|
65
|
+
commit: types.optional(types.string()),
|
|
66
|
+
builtAt: types.optional(types.string()),
|
|
57
67
|
issuer: types.string(),
|
|
58
68
|
timestamp: types.string(),
|
|
59
69
|
});
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
|
+
|
|
12
|
+
export const StateDecided = {
|
|
13
|
+
Decided: "decided",
|
|
14
|
+
} as const;
|
|
15
|
+
export type StateDecided = ClosedEnum<typeof StateDecided>;
|
|
16
|
+
|
|
17
|
+
export const StateClaimed = {
|
|
18
|
+
Claimed: "claimed",
|
|
19
|
+
} as const;
|
|
20
|
+
export type StateClaimed = ClosedEnum<typeof StateClaimed>;
|
|
21
|
+
|
|
22
|
+
export const StateWaiting = {
|
|
23
|
+
Waiting: "waiting",
|
|
24
|
+
} as const;
|
|
25
|
+
export type StateWaiting = ClosedEnum<typeof StateWaiting>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Never says which decision: allow and deny both read decided.
|
|
29
|
+
*/
|
|
30
|
+
export type State = StateWaiting | StateClaimed | StateDecided;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* PassportSignInStatus
|
|
34
|
+
*/
|
|
35
|
+
export type GetLoginPassportStatusResponse = {
|
|
36
|
+
/**
|
|
37
|
+
* Never says which decision: allow and deny both read decided.
|
|
38
|
+
*/
|
|
39
|
+
state: StateWaiting | StateClaimed | StateDecided;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const StateDecided$inboundSchema: z.ZodMiniEnum<typeof StateDecided> = z
|
|
44
|
+
.enum(StateDecided);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const StateClaimed$inboundSchema: z.ZodMiniEnum<typeof StateClaimed> = z
|
|
48
|
+
.enum(StateClaimed);
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const StateWaiting$inboundSchema: z.ZodMiniEnum<typeof StateWaiting> = z
|
|
52
|
+
.enum(StateWaiting);
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const State$inboundSchema: z.ZodMiniType<State, unknown> = smartUnion([
|
|
56
|
+
StateWaiting$inboundSchema,
|
|
57
|
+
StateClaimed$inboundSchema,
|
|
58
|
+
StateDecided$inboundSchema,
|
|
59
|
+
]);
|
|
60
|
+
|
|
61
|
+
export function stateFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<State, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => State$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'State' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const GetLoginPassportStatusResponse$inboundSchema: z.ZodMiniType<
|
|
73
|
+
GetLoginPassportStatusResponse,
|
|
74
|
+
unknown
|
|
75
|
+
> = z.object({
|
|
76
|
+
state: smartUnion([
|
|
77
|
+
StateWaiting$inboundSchema,
|
|
78
|
+
StateClaimed$inboundSchema,
|
|
79
|
+
StateDecided$inboundSchema,
|
|
80
|
+
]),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export function getLoginPassportStatusResponseFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<GetLoginPassportStatusResponse, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => GetLoginPassportStatusResponse$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'GetLoginPassportStatusResponse' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -15,6 +15,7 @@ export type GetLoginRequest = {
|
|
|
15
15
|
codeChallengeMethod?: string | undefined;
|
|
16
16
|
nonce?: string | undefined;
|
|
17
17
|
error?: string | undefined;
|
|
18
|
+
passport?: string | undefined;
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
/** @internal */
|
|
@@ -28,6 +29,7 @@ export type GetLoginRequest$Outbound = {
|
|
|
28
29
|
code_challenge_method?: string | undefined;
|
|
29
30
|
nonce?: string | undefined;
|
|
30
31
|
error?: string | undefined;
|
|
32
|
+
passport?: string | undefined;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
/** @internal */
|
|
@@ -45,6 +47,7 @@ export const GetLoginRequest$outboundSchema: z.ZodMiniType<
|
|
|
45
47
|
codeChallengeMethod: z.optional(z.string()),
|
|
46
48
|
nonce: z.optional(z.string()),
|
|
47
49
|
error: z.optional(z.string()),
|
|
50
|
+
passport: z.optional(z.string()),
|
|
48
51
|
}),
|
|
49
52
|
z.transform((v) => {
|
|
50
53
|
return remap$(v, {
|
|
@@ -5,10 +5,32 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
13
|
|
|
14
|
+
export const GetOauthUserinfoError = {
|
|
15
|
+
UpdateRequired: "update_required",
|
|
16
|
+
} as const;
|
|
17
|
+
export type GetOauthUserinfoError = ClosedEnum<typeof GetOauthUserinfoError>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Verification level 0-4, identity depth only (clossir:attestation scope)
|
|
21
|
+
*/
|
|
22
|
+
export type AttestationLevel = string | number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Verification expiry, NumericDate seconds, capped at the KYC expiry (clossir:attestation scope)
|
|
26
|
+
*/
|
|
27
|
+
export type AttestationExp = string | number;
|
|
28
|
+
|
|
29
|
+
export type GetOauthUserinfoWallet = {
|
|
30
|
+
chain: string;
|
|
31
|
+
address: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
12
34
|
/**
|
|
13
35
|
* Response
|
|
14
36
|
*/
|
|
@@ -35,8 +57,84 @@ export type GetOauthUserinfoResponse = {
|
|
|
35
57
|
* KYC attestations (kyc:status scope)
|
|
36
58
|
*/
|
|
37
59
|
httpsSignumIoClaimsAttestations?: any | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Verification level 0-4, identity depth only (clossir:attestation scope)
|
|
62
|
+
*/
|
|
63
|
+
attestationLevel?: string | number | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Verification expiry, NumericDate seconds, capped at the KYC expiry (clossir:attestation scope)
|
|
66
|
+
*/
|
|
67
|
+
attestationExp?: string | number | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Country of residence, ISO 3166-1 alpha-2 (clossir:attestation scope)
|
|
70
|
+
*/
|
|
71
|
+
jurisdiction?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Linked non-PDA wallets (clossir:wallets scope)
|
|
74
|
+
*/
|
|
75
|
+
wallets?: Array<GetOauthUserinfoWallet> | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* The client's organization, when the user is an active member (clossir:org scope)
|
|
78
|
+
*/
|
|
79
|
+
orgId?: string | undefined;
|
|
38
80
|
};
|
|
39
81
|
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const GetOauthUserinfoError$inboundSchema: z.ZodMiniEnum<
|
|
84
|
+
typeof GetOauthUserinfoError
|
|
85
|
+
> = z.enum(GetOauthUserinfoError);
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const AttestationLevel$inboundSchema: z.ZodMiniType<
|
|
89
|
+
AttestationLevel,
|
|
90
|
+
unknown
|
|
91
|
+
> = smartUnion([types.string(), types.number()]);
|
|
92
|
+
|
|
93
|
+
export function attestationLevelFromJSON(
|
|
94
|
+
jsonString: string,
|
|
95
|
+
): SafeParseResult<AttestationLevel, SDKValidationError> {
|
|
96
|
+
return safeParse(
|
|
97
|
+
jsonString,
|
|
98
|
+
(x) => AttestationLevel$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
+
`Failed to parse 'AttestationLevel' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const AttestationExp$inboundSchema: z.ZodMiniType<
|
|
105
|
+
AttestationExp,
|
|
106
|
+
unknown
|
|
107
|
+
> = smartUnion([types.string(), types.number()]);
|
|
108
|
+
|
|
109
|
+
export function attestationExpFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<AttestationExp, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) => AttestationExp$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
+
`Failed to parse 'AttestationExp' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const GetOauthUserinfoWallet$inboundSchema: z.ZodMiniType<
|
|
121
|
+
GetOauthUserinfoWallet,
|
|
122
|
+
unknown
|
|
123
|
+
> = z.object({
|
|
124
|
+
chain: types.string(),
|
|
125
|
+
address: types.string(),
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
export function getOauthUserinfoWalletFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<GetOauthUserinfoWallet, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => GetOauthUserinfoWallet$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'GetOauthUserinfoWallet' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
|
|
40
138
|
/** @internal */
|
|
41
139
|
export const GetOauthUserinfoResponse$inboundSchema: z.ZodMiniType<
|
|
42
140
|
GetOauthUserinfoResponse,
|
|
@@ -50,6 +148,17 @@ export const GetOauthUserinfoResponse$inboundSchema: z.ZodMiniType<
|
|
|
50
148
|
email_verified: types.optional(types.boolean()),
|
|
51
149
|
"https://signum.io/claims/chain_identities": types.optional(z.any()),
|
|
52
150
|
"https://signum.io/claims/attestations": types.optional(z.any()),
|
|
151
|
+
attestation_level: types.optional(
|
|
152
|
+
smartUnion([types.string(), types.number()]),
|
|
153
|
+
),
|
|
154
|
+
attestation_exp: types.optional(
|
|
155
|
+
smartUnion([types.string(), types.number()]),
|
|
156
|
+
),
|
|
157
|
+
jurisdiction: types.optional(types.string()),
|
|
158
|
+
wallets: types.optional(
|
|
159
|
+
z.array(z.lazy(() => GetOauthUserinfoWallet$inboundSchema)),
|
|
160
|
+
),
|
|
161
|
+
org_id: types.optional(types.string()),
|
|
53
162
|
}),
|
|
54
163
|
z.transform((v) => {
|
|
55
164
|
return remap$(v, {
|
|
@@ -58,6 +167,9 @@ export const GetOauthUserinfoResponse$inboundSchema: z.ZodMiniType<
|
|
|
58
167
|
"httpsSignumIoClaimsChainIdentities",
|
|
59
168
|
"https://signum.io/claims/attestations":
|
|
60
169
|
"httpsSignumIoClaimsAttestations",
|
|
170
|
+
"attestation_level": "attestationLevel",
|
|
171
|
+
"attestation_exp": "attestationExp",
|
|
172
|
+
"org_id": "orgId",
|
|
61
173
|
});
|
|
62
174
|
}),
|
|
63
175
|
);
|
|
@@ -29,6 +29,7 @@ export type GetOrgsByOrgIdAssetsByAssetIdCompliancePolicyResponse = {
|
|
|
29
29
|
blockedCountries: Array<string>;
|
|
30
30
|
maxRiskScore: number;
|
|
31
31
|
maxHolders: number;
|
|
32
|
+
minTicket: number | null;
|
|
32
33
|
lockupPeriodDays: number;
|
|
33
34
|
maxTransactionAmount: string | null;
|
|
34
35
|
coolingOffPeriodHours: number;
|
|
@@ -106,6 +107,7 @@ export const GetOrgsByOrgIdAssetsByAssetIdCompliancePolicyResponse$inboundSchema
|
|
|
106
107
|
blockedCountries: z.array(types.string()),
|
|
107
108
|
maxRiskScore: types.number(),
|
|
108
109
|
maxHolders: types.number(),
|
|
110
|
+
minTicket: types.nullable(types.number()),
|
|
109
111
|
lockupPeriodDays: types.number(),
|
|
110
112
|
maxTransactionAmount: types.nullable(types.string()),
|
|
111
113
|
coolingOffPeriodHours: types.number(),
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
13
|
|
|
12
14
|
export type GetOrgsByOrgIdOauthClientsByClientIdRequest = {
|
|
@@ -14,6 +16,34 @@ export type GetOrgsByOrgIdOauthClientsByClientIdRequest = {
|
|
|
14
16
|
clientId: string;
|
|
15
17
|
};
|
|
16
18
|
|
|
19
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAutoProvision = {
|
|
20
|
+
Investor: "investor",
|
|
21
|
+
} as const;
|
|
22
|
+
export type GetOrgsByOrgIdOauthClientsByClientIdAutoProvision = ClosedEnum<
|
|
23
|
+
typeof GetOrgsByOrgIdOauthClientsByClientIdAutoProvision
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity = {
|
|
27
|
+
Entity: "entity",
|
|
28
|
+
} as const;
|
|
29
|
+
export type GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity =
|
|
30
|
+
ClosedEnum<
|
|
31
|
+
typeof GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual =
|
|
35
|
+
{
|
|
36
|
+
Individual: "individual",
|
|
37
|
+
} as const;
|
|
38
|
+
export type GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual =
|
|
39
|
+
ClosedEnum<
|
|
40
|
+
typeof GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual
|
|
41
|
+
>;
|
|
42
|
+
|
|
43
|
+
export type GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion =
|
|
44
|
+
| GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual
|
|
45
|
+
| GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity;
|
|
46
|
+
|
|
17
47
|
/**
|
|
18
48
|
* Response
|
|
19
49
|
*/
|
|
@@ -25,6 +55,33 @@ export type GetOrgsByOrgIdOauthClientsByClientIdResponse = {
|
|
|
25
55
|
allowedScopes: Array<string>;
|
|
26
56
|
isConfidential: boolean;
|
|
27
57
|
description: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Stored only; not enforced yet.
|
|
60
|
+
*/
|
|
61
|
+
autoProvision: GetOrgsByOrgIdOauthClientsByClientIdAutoProvision | null;
|
|
62
|
+
/**
|
|
63
|
+
* Stored only; not enforced yet.
|
|
64
|
+
*/
|
|
65
|
+
acceptedAccountTypes: Array<
|
|
66
|
+
| GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual
|
|
67
|
+
| GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity
|
|
68
|
+
>;
|
|
69
|
+
/**
|
|
70
|
+
* Stored and validated; claim release ignores it until enforced. null = not configured, [] = release nothing (target semantics).
|
|
71
|
+
*/
|
|
72
|
+
allowedClaims: Array<string> | null;
|
|
73
|
+
/**
|
|
74
|
+
* Enforced: authorization requests must use PAR.
|
|
75
|
+
*/
|
|
76
|
+
requirePar: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Stored only; not enforced yet. Never fetched. No userinfo, query or fragment.
|
|
79
|
+
*/
|
|
80
|
+
jwksUri: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Pairwise sector host; changes partners' subject identifiers; frozen after first login. Must be one of the organization's allowed domains (or a subdomain of one), and every redirect URI host must equal it.
|
|
83
|
+
*/
|
|
84
|
+
sectorIdentifier: string | null;
|
|
28
85
|
createdAt: string;
|
|
29
86
|
updatedAt: string;
|
|
30
87
|
};
|
|
@@ -56,6 +113,48 @@ export function getOrgsByOrgIdOauthClientsByClientIdRequestToJSON(
|
|
|
56
113
|
);
|
|
57
114
|
}
|
|
58
115
|
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAutoProvision$inboundSchema:
|
|
118
|
+
z.ZodMiniEnum<typeof GetOrgsByOrgIdOauthClientsByClientIdAutoProvision> = z
|
|
119
|
+
.enum(GetOrgsByOrgIdOauthClientsByClientIdAutoProvision);
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity$inboundSchema:
|
|
123
|
+
z.ZodMiniEnum<
|
|
124
|
+
typeof GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity
|
|
125
|
+
> = z.enum(GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity);
|
|
126
|
+
|
|
127
|
+
/** @internal */
|
|
128
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual$inboundSchema:
|
|
129
|
+
z.ZodMiniEnum<
|
|
130
|
+
typeof GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual
|
|
131
|
+
> = z.enum(GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual);
|
|
132
|
+
|
|
133
|
+
/** @internal */
|
|
134
|
+
export const GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion$inboundSchema:
|
|
135
|
+
z.ZodMiniType<
|
|
136
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion,
|
|
137
|
+
unknown
|
|
138
|
+
> = smartUnion([
|
|
139
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual$inboundSchema,
|
|
140
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity$inboundSchema,
|
|
141
|
+
]);
|
|
142
|
+
|
|
143
|
+
export function getOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnionFromJSON(
|
|
144
|
+
jsonString: string,
|
|
145
|
+
): SafeParseResult<
|
|
146
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion,
|
|
147
|
+
SDKValidationError
|
|
148
|
+
> {
|
|
149
|
+
return safeParse(
|
|
150
|
+
jsonString,
|
|
151
|
+
(x) =>
|
|
152
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion$inboundSchema
|
|
153
|
+
.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeUnion' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
59
158
|
/** @internal */
|
|
60
159
|
export const GetOrgsByOrgIdOauthClientsByClientIdResponse$inboundSchema:
|
|
61
160
|
z.ZodMiniType<GetOrgsByOrgIdOauthClientsByClientIdResponse, unknown> = z.pipe(
|
|
@@ -67,6 +166,19 @@ export const GetOrgsByOrgIdOauthClientsByClientIdResponse$inboundSchema:
|
|
|
67
166
|
allowed_scopes: z.array(types.string()),
|
|
68
167
|
is_confidential: types.boolean(),
|
|
69
168
|
description: types.nullable(types.string()),
|
|
169
|
+
auto_provision: types.nullable(
|
|
170
|
+
GetOrgsByOrgIdOauthClientsByClientIdAutoProvision$inboundSchema,
|
|
171
|
+
),
|
|
172
|
+
accepted_account_types: z.array(
|
|
173
|
+
smartUnion([
|
|
174
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeIndividual$inboundSchema,
|
|
175
|
+
GetOrgsByOrgIdOauthClientsByClientIdAcceptedAccountTypeEntity$inboundSchema,
|
|
176
|
+
]),
|
|
177
|
+
),
|
|
178
|
+
allowed_claims: types.nullable(z.array(types.string())),
|
|
179
|
+
require_par: types.boolean(),
|
|
180
|
+
jwks_uri: types.nullable(types.string()),
|
|
181
|
+
sector_identifier: types.nullable(types.string()),
|
|
70
182
|
created_at: types.string(),
|
|
71
183
|
updated_at: types.string(),
|
|
72
184
|
}),
|
|
@@ -76,6 +188,12 @@ export const GetOrgsByOrgIdOauthClientsByClientIdResponse$inboundSchema:
|
|
|
76
188
|
"redirect_uris": "redirectUris",
|
|
77
189
|
"allowed_scopes": "allowedScopes",
|
|
78
190
|
"is_confidential": "isConfidential",
|
|
191
|
+
"auto_provision": "autoProvision",
|
|
192
|
+
"accepted_account_types": "acceptedAccountTypes",
|
|
193
|
+
"allowed_claims": "allowedClaims",
|
|
194
|
+
"require_par": "requirePar",
|
|
195
|
+
"jwks_uri": "jwksUri",
|
|
196
|
+
"sector_identifier": "sectorIdentifier",
|
|
79
197
|
"created_at": "createdAt",
|
|
80
198
|
"updated_at": "updatedAt",
|
|
81
199
|
});
|
|
@@ -5,14 +5,40 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import * as types from "../../types/primitives.js";
|
|
11
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
13
|
|
|
12
14
|
export type GetOrgsByOrgIdOauthClientsRequest = {
|
|
13
15
|
orgId: string;
|
|
14
16
|
};
|
|
15
17
|
|
|
18
|
+
export const GetOrgsByOrgIdOauthClientsAutoProvision = {
|
|
19
|
+
Investor: "investor",
|
|
20
|
+
} as const;
|
|
21
|
+
export type GetOrgsByOrgIdOauthClientsAutoProvision = ClosedEnum<
|
|
22
|
+
typeof GetOrgsByOrgIdOauthClientsAutoProvision
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
export const GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity = {
|
|
26
|
+
Entity: "entity",
|
|
27
|
+
} as const;
|
|
28
|
+
export type GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity = ClosedEnum<
|
|
29
|
+
typeof GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
export const GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual = {
|
|
33
|
+
Individual: "individual",
|
|
34
|
+
} as const;
|
|
35
|
+
export type GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual =
|
|
36
|
+
ClosedEnum<typeof GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual>;
|
|
37
|
+
|
|
38
|
+
export type GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion =
|
|
39
|
+
| GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual
|
|
40
|
+
| GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity;
|
|
41
|
+
|
|
16
42
|
export type GetOrgsByOrgIdOauthClientsClient = {
|
|
17
43
|
id: string;
|
|
18
44
|
clientId: string;
|
|
@@ -21,6 +47,33 @@ export type GetOrgsByOrgIdOauthClientsClient = {
|
|
|
21
47
|
allowedScopes: Array<string>;
|
|
22
48
|
isConfidential: boolean;
|
|
23
49
|
description: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Stored only; not enforced yet.
|
|
52
|
+
*/
|
|
53
|
+
autoProvision: GetOrgsByOrgIdOauthClientsAutoProvision | null;
|
|
54
|
+
/**
|
|
55
|
+
* Stored only; not enforced yet.
|
|
56
|
+
*/
|
|
57
|
+
acceptedAccountTypes: Array<
|
|
58
|
+
| GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual
|
|
59
|
+
| GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity
|
|
60
|
+
>;
|
|
61
|
+
/**
|
|
62
|
+
* Stored and validated; claim release ignores it until enforced. null = not configured, [] = release nothing (target semantics).
|
|
63
|
+
*/
|
|
64
|
+
allowedClaims: Array<string> | null;
|
|
65
|
+
/**
|
|
66
|
+
* Enforced: authorization requests must use PAR.
|
|
67
|
+
*/
|
|
68
|
+
requirePar: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Stored only; not enforced yet. Never fetched. No userinfo, query or fragment.
|
|
71
|
+
*/
|
|
72
|
+
jwksUri: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Pairwise sector host; changes partners' subject identifiers; frozen after first login. Must be one of the organization's allowed domains (or a subdomain of one), and every redirect URI host must equal it.
|
|
75
|
+
*/
|
|
76
|
+
sectorIdentifier: string | null;
|
|
24
77
|
createdAt: string;
|
|
25
78
|
updatedAt: string;
|
|
26
79
|
};
|
|
@@ -55,6 +108,47 @@ export function getOrgsByOrgIdOauthClientsRequestToJSON(
|
|
|
55
108
|
);
|
|
56
109
|
}
|
|
57
110
|
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const GetOrgsByOrgIdOauthClientsAutoProvision$inboundSchema:
|
|
113
|
+
z.ZodMiniEnum<typeof GetOrgsByOrgIdOauthClientsAutoProvision> = z.enum(
|
|
114
|
+
GetOrgsByOrgIdOauthClientsAutoProvision,
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
/** @internal */
|
|
118
|
+
export const GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity$inboundSchema:
|
|
119
|
+
z.ZodMiniEnum<typeof GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity> = z
|
|
120
|
+
.enum(GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity);
|
|
121
|
+
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual$inboundSchema:
|
|
124
|
+
z.ZodMiniEnum<
|
|
125
|
+
typeof GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual
|
|
126
|
+
> = z.enum(GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual);
|
|
127
|
+
|
|
128
|
+
/** @internal */
|
|
129
|
+
export const GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion$inboundSchema:
|
|
130
|
+
z.ZodMiniType<GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion, unknown> =
|
|
131
|
+
smartUnion([
|
|
132
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual$inboundSchema,
|
|
133
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity$inboundSchema,
|
|
134
|
+
]);
|
|
135
|
+
|
|
136
|
+
export function getOrgsByOrgIdOauthClientsAcceptedAccountTypeUnionFromJSON(
|
|
137
|
+
jsonString: string,
|
|
138
|
+
): SafeParseResult<
|
|
139
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion,
|
|
140
|
+
SDKValidationError
|
|
141
|
+
> {
|
|
142
|
+
return safeParse(
|
|
143
|
+
jsonString,
|
|
144
|
+
(x) =>
|
|
145
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion$inboundSchema.parse(
|
|
146
|
+
JSON.parse(x),
|
|
147
|
+
),
|
|
148
|
+
`Failed to parse 'GetOrgsByOrgIdOauthClientsAcceptedAccountTypeUnion' from JSON`,
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
58
152
|
/** @internal */
|
|
59
153
|
export const GetOrgsByOrgIdOauthClientsClient$inboundSchema: z.ZodMiniType<
|
|
60
154
|
GetOrgsByOrgIdOauthClientsClient,
|
|
@@ -68,6 +162,19 @@ export const GetOrgsByOrgIdOauthClientsClient$inboundSchema: z.ZodMiniType<
|
|
|
68
162
|
allowed_scopes: z.array(types.string()),
|
|
69
163
|
is_confidential: types.boolean(),
|
|
70
164
|
description: types.nullable(types.string()),
|
|
165
|
+
auto_provision: types.nullable(
|
|
166
|
+
GetOrgsByOrgIdOauthClientsAutoProvision$inboundSchema,
|
|
167
|
+
),
|
|
168
|
+
accepted_account_types: z.array(
|
|
169
|
+
smartUnion([
|
|
170
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeIndividual$inboundSchema,
|
|
171
|
+
GetOrgsByOrgIdOauthClientsAcceptedAccountTypeEntity$inboundSchema,
|
|
172
|
+
]),
|
|
173
|
+
),
|
|
174
|
+
allowed_claims: types.nullable(z.array(types.string())),
|
|
175
|
+
require_par: types.boolean(),
|
|
176
|
+
jwks_uri: types.nullable(types.string()),
|
|
177
|
+
sector_identifier: types.nullable(types.string()),
|
|
71
178
|
created_at: types.string(),
|
|
72
179
|
updated_at: types.string(),
|
|
73
180
|
}),
|
|
@@ -77,6 +184,12 @@ export const GetOrgsByOrgIdOauthClientsClient$inboundSchema: z.ZodMiniType<
|
|
|
77
184
|
"redirect_uris": "redirectUris",
|
|
78
185
|
"allowed_scopes": "allowedScopes",
|
|
79
186
|
"is_confidential": "isConfidential",
|
|
187
|
+
"auto_provision": "autoProvision",
|
|
188
|
+
"accepted_account_types": "acceptedAccountTypes",
|
|
189
|
+
"allowed_claims": "allowedClaims",
|
|
190
|
+
"require_par": "requirePar",
|
|
191
|
+
"jwks_uri": "jwksUri",
|
|
192
|
+
"sector_identifier": "sectorIdentifier",
|
|
80
193
|
"created_at": "createdAt",
|
|
81
194
|
"updated_at": "updatedAt",
|
|
82
195
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const GetPassportHomeError = {
|
|
9
|
+
UpdateRequired: "update_required",
|
|
10
|
+
} as const;
|
|
11
|
+
export type GetPassportHomeError = ClosedEnum<typeof GetPassportHomeError>;
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const GetPassportHomeError$inboundSchema: z.ZodMiniEnum<
|
|
15
|
+
typeof GetPassportHomeError
|
|
16
|
+
> = z.enum(GetPassportHomeError);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const GetPassportSignInError = {
|
|
9
|
+
UpdateRequired: "update_required",
|
|
10
|
+
} as const;
|
|
11
|
+
export type GetPassportSignInError = ClosedEnum<typeof GetPassportSignInError>;
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const GetPassportSignInError$inboundSchema: z.ZodMiniEnum<
|
|
15
|
+
typeof GetPassportSignInError
|
|
16
|
+
> = z.enum(GetPassportSignInError);
|