@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.
Files changed (230) hide show
  1. package/README.md +43 -33
  2. package/esm/funcs/accounts-get-accounts-cash-assets.d.ts +20 -0
  3. package/esm/funcs/accounts-get-accounts-cash-assets.d.ts.map +1 -0
  4. package/esm/funcs/accounts-get-accounts-cash-assets.js +77 -0
  5. package/esm/funcs/accounts-get-accounts-cash-assets.js.map +1 -0
  6. package/esm/funcs/accounts-get-accounts-movable-wallets.d.ts +20 -0
  7. package/esm/funcs/accounts-get-accounts-movable-wallets.d.ts.map +1 -0
  8. package/esm/funcs/accounts-get-accounts-movable-wallets.js +94 -0
  9. package/esm/funcs/accounts-get-accounts-movable-wallets.js.map +1 -0
  10. package/esm/funcs/approvals-post-approvals-by-approval-id-approve.d.ts +20 -0
  11. package/esm/funcs/approvals-post-approvals-by-approval-id-approve.d.ts.map +1 -0
  12. package/esm/funcs/approvals-post-approvals-by-approval-id-approve.js +100 -0
  13. package/esm/funcs/approvals-post-approvals-by-approval-id-approve.js.map +1 -0
  14. package/esm/funcs/approvals-post-approvals-by-approval-id-reject.d.ts +20 -0
  15. package/esm/funcs/approvals-post-approvals-by-approval-id-reject.d.ts.map +1 -0
  16. package/esm/funcs/approvals-post-approvals-by-approval-id-reject.js +100 -0
  17. package/esm/funcs/approvals-post-approvals-by-approval-id-reject.js.map +1 -0
  18. package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.d.ts +1 -1
  19. package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.js +1 -1
  20. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js +1 -1
  21. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
  22. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js +1 -1
  23. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js.map +1 -1
  24. package/esm/funcs/assets-post-orgs-by-org-id-assets.d.ts +1 -1
  25. package/esm/funcs/assets-post-orgs-by-org-id-assets.js +1 -1
  26. package/esm/funcs/attestations-delete-attestations-by-id.d.ts +1 -1
  27. package/esm/funcs/attestations-delete-attestations-by-id.js +2 -2
  28. package/esm/funcs/attestations-delete-attestations-by-id.js.map +1 -1
  29. package/esm/funcs/attestations-post-attestations.js +1 -1
  30. package/esm/funcs/attestations-post-attestations.js.map +1 -1
  31. package/esm/funcs/commands-get-commands-by-command-id.d.ts +1 -1
  32. package/esm/funcs/commands-get-commands-by-command-id.js +1 -1
  33. package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +1 -1
  34. package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +2 -2
  35. package/esm/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
  36. package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.js +2 -0
  37. package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.js.map +1 -1
  38. package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.js +2 -0
  39. package/esm/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
  40. package/esm/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.js +3 -1
  41. package/esm/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.js.map +1 -1
  42. package/esm/funcs/markets-delete-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders-by-order-id.js +2 -0
  43. 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
  44. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.js +1 -1
  45. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.js.map +1 -1
  46. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +3 -1
  47. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
  48. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js +1 -1
  49. package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
  50. package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.js +2 -0
  51. package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.js.map +1 -1
  52. package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.js +2 -0
  53. package/esm/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.js.map +1 -1
  54. package/esm/funcs/organizations-get-orgs-by-org-id-server-wallet.js +2 -0
  55. package/esm/funcs/organizations-get-orgs-by-org-id-server-wallet.js.map +1 -1
  56. package/esm/funcs/organizations-post-orgs-by-org-id-issuer-register.js +1 -1
  57. package/esm/funcs/organizations-post-orgs-by-org-id-issuer-register.js.map +1 -1
  58. package/esm/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.js +3 -1
  59. package/esm/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.js.map +1 -1
  60. package/esm/funcs/organizations-post-orgs-by-org-id-server-wallet.js +1 -1
  61. package/esm/funcs/organizations-post-orgs-by-org-id-server-wallet.js.map +1 -1
  62. package/esm/funcs/organizations-put-orgs-by-org-id-compliance.d.ts +1 -1
  63. package/esm/funcs/organizations-put-orgs-by-org-id-compliance.js +2 -4
  64. package/esm/funcs/organizations-put-orgs-by-org-id-compliance.js.map +1 -1
  65. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.js +3 -1
  66. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.js.map +1 -1
  67. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.js +3 -1
  68. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.js.map +1 -1
  69. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.js +3 -1
  70. package/esm/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.js.map +1 -1
  71. package/esm/lib/config.d.ts +2 -2
  72. package/esm/lib/config.js +2 -2
  73. package/esm/models/errors/get-oauth-authorize.d.ts +6 -6
  74. package/esm/models/errors/get-oauth-authorize.js +3 -3
  75. package/esm/models/errors/get-oauth-userinfo.d.ts +8 -8
  76. package/esm/models/errors/get-oauth-userinfo.js +4 -4
  77. package/esm/models/errors/get-passport-home.d.ts +2 -2
  78. package/esm/models/errors/get-passport-home.js +1 -1
  79. package/esm/models/errors/get-passport-sign-in.d.ts +2 -2
  80. package/esm/models/errors/get-passport-sign-in.js +1 -1
  81. package/esm/models/errors/index.d.ts +2 -0
  82. package/esm/models/errors/index.d.ts.map +1 -1
  83. package/esm/models/errors/index.js +2 -0
  84. package/esm/models/errors/index.js.map +1 -1
  85. package/esm/models/errors/o-auth-error-response.d.ts +2 -2
  86. package/esm/models/errors/o-auth-error-response.js +1 -1
  87. package/esm/models/errors/post-approvals-by-approval-id-approve.d.ts +41 -0
  88. package/esm/models/errors/post-approvals-by-approval-id-approve.d.ts.map +1 -0
  89. package/esm/models/errors/post-approvals-by-approval-id-approve.js +52 -0
  90. package/esm/models/errors/post-approvals-by-approval-id-approve.js.map +1 -0
  91. package/esm/models/errors/post-approvals-by-approval-id-reject.d.ts +41 -0
  92. package/esm/models/errors/post-approvals-by-approval-id-reject.d.ts.map +1 -0
  93. package/esm/models/errors/post-approvals-by-approval-id-reject.js +53 -0
  94. package/esm/models/errors/post-approvals-by-approval-id-reject.js.map +1 -0
  95. package/esm/models/errors/post-eligibility-check.d.ts +2 -2
  96. package/esm/models/errors/post-eligibility-check.js +1 -1
  97. package/esm/models/errors/post-oauth-par.d.ts +10 -10
  98. package/esm/models/errors/post-oauth-par.js +5 -5
  99. package/esm/models/errors/post-oauth-revoke.d.ts +10 -10
  100. package/esm/models/errors/post-oauth-revoke.js +5 -5
  101. package/esm/models/errors/post-oauth-token.d.ts +8 -8
  102. package/esm/models/errors/post-oauth-token.js +4 -4
  103. package/esm/models/errors/post-passport-sign-in-decision.d.ts +2 -2
  104. package/esm/models/errors/post-passport-sign-in-decision.js +1 -1
  105. package/esm/models/operations/get-accounts-cash-assets.d.ts +44 -0
  106. package/esm/models/operations/get-accounts-cash-assets.d.ts.map +1 -0
  107. package/esm/models/operations/get-accounts-cash-assets.js +30 -0
  108. package/esm/models/operations/get-accounts-cash-assets.js.map +1 -0
  109. package/esm/models/operations/get-accounts-movable-wallets.d.ts +104 -0
  110. package/esm/models/operations/get-accounts-movable-wallets.d.ts.map +1 -0
  111. package/esm/models/operations/get-accounts-movable-wallets.js +75 -0
  112. package/esm/models/operations/get-accounts-movable-wallets.js.map +1 -0
  113. package/esm/models/operations/get-commands-by-command-id.d.ts +105 -0
  114. package/esm/models/operations/get-commands-by-command-id.d.ts.map +1 -1
  115. package/esm/models/operations/get-commands-by-command-id.js +119 -0
  116. package/esm/models/operations/get-commands-by-command-id.js.map +1 -1
  117. package/esm/models/operations/get-login-passport-status.d.ts +3 -3
  118. package/esm/models/operations/get-login-passport-status.d.ts.map +1 -1
  119. package/esm/models/operations/get-login-passport-status.js +3 -3
  120. package/esm/models/operations/get-login-passport-status.js.map +1 -1
  121. package/esm/models/operations/get-preflight-results-by-result-id.d.ts +25 -0
  122. package/esm/models/operations/get-preflight-results-by-result-id.d.ts.map +1 -1
  123. package/esm/models/operations/get-preflight-results-by-result-id.js +11 -0
  124. package/esm/models/operations/get-preflight-results-by-result-id.js.map +1 -1
  125. package/esm/models/operations/index.d.ts +4 -0
  126. package/esm/models/operations/index.d.ts.map +1 -1
  127. package/esm/models/operations/index.js +4 -0
  128. package/esm/models/operations/index.js.map +1 -1
  129. package/esm/models/operations/post-accounts-wallets-sync.d.ts +3 -1
  130. package/esm/models/operations/post-accounts-wallets-sync.d.ts.map +1 -1
  131. package/esm/models/operations/post-accounts-wallets-sync.js.map +1 -1
  132. package/esm/models/operations/post-approvals-by-approval-id-approve.d.ts +53 -0
  133. package/esm/models/operations/post-approvals-by-approval-id-approve.d.ts.map +1 -0
  134. package/esm/models/operations/post-approvals-by-approval-id-approve.js +41 -0
  135. package/esm/models/operations/post-approvals-by-approval-id-approve.js.map +1 -0
  136. package/esm/models/operations/post-approvals-by-approval-id-reject.d.ts +105 -0
  137. package/esm/models/operations/post-approvals-by-approval-id-reject.d.ts.map +1 -0
  138. package/esm/models/operations/post-approvals-by-approval-id-reject.js +71 -0
  139. package/esm/models/operations/post-approvals-by-approval-id-reject.js.map +1 -0
  140. package/esm/models/operations/post-eligibility-check.d.ts +4 -4
  141. package/esm/models/operations/post-eligibility-check.d.ts.map +1 -1
  142. package/esm/models/operations/post-eligibility-check.js +4 -4
  143. package/esm/models/operations/post-eligibility-check.js.map +1 -1
  144. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts +1 -1
  145. package/esm/models/operations/post-preflight-intents.d.ts +25 -0
  146. package/esm/models/operations/post-preflight-intents.d.ts.map +1 -1
  147. package/esm/models/operations/post-preflight-intents.js +11 -0
  148. package/esm/models/operations/post-preflight-intents.js.map +1 -1
  149. package/esm/sdk/accounts.d.ts +14 -0
  150. package/esm/sdk/accounts.d.ts.map +1 -1
  151. package/esm/sdk/accounts.js +20 -0
  152. package/esm/sdk/accounts.js.map +1 -1
  153. package/esm/sdk/approvals.d.ts +14 -0
  154. package/esm/sdk/approvals.d.ts.map +1 -1
  155. package/esm/sdk/approvals.js +20 -0
  156. package/esm/sdk/approvals.js.map +1 -1
  157. package/esm/sdk/assets.d.ts +2 -2
  158. package/esm/sdk/assets.js +2 -2
  159. package/esm/sdk/attestations.d.ts +1 -1
  160. package/esm/sdk/attestations.js +1 -1
  161. package/esm/sdk/commands.d.ts +1 -1
  162. package/esm/sdk/commands.js +1 -1
  163. package/esm/sdk/compliance.d.ts +1 -1
  164. package/esm/sdk/compliance.js +1 -1
  165. package/esm/sdk/organizations.d.ts +1 -1
  166. package/esm/sdk/organizations.js +1 -1
  167. package/jsr.json +1 -1
  168. package/package.json +1 -1
  169. package/src/funcs/accounts-get-accounts-cash-assets.ts +157 -0
  170. package/src/funcs/accounts-get-accounts-movable-wallets.ts +193 -0
  171. package/src/funcs/approvals-post-approvals-by-approval-id-approve.ts +217 -0
  172. package/src/funcs/approvals-post-approvals-by-approval-id-reject.ts +217 -0
  173. package/src/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.ts +1 -1
  174. package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.ts +1 -1
  175. package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.ts +1 -1
  176. package/src/funcs/assets-post-orgs-by-org-id-assets.ts +1 -1
  177. package/src/funcs/attestations-delete-attestations-by-id.ts +2 -2
  178. package/src/funcs/attestations-post-attestations.ts +1 -1
  179. package/src/funcs/commands-get-commands-by-command-id.ts +1 -1
  180. package/src/funcs/compliance-post-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +2 -2
  181. package/src/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id-activate.ts +3 -0
  182. package/src/funcs/distributions-post-orgs-by-org-id-assets-by-asset-id-distributions.ts +3 -0
  183. package/src/funcs/fees-post-orgs-by-org-id-assets-by-asset-id-fees-distribute.ts +3 -0
  184. package/src/funcs/markets-delete-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders-by-order-id.ts +3 -0
  185. package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-deposit-hypercore.ts +1 -1
  186. package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +3 -0
  187. package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.ts +1 -1
  188. package/src/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-configure.ts +3 -0
  189. package/src/funcs/nav-post-orgs-by-org-id-assets-by-asset-id-nav-publish.ts +3 -0
  190. package/src/funcs/organizations-get-orgs-by-org-id-server-wallet.ts +3 -0
  191. package/src/funcs/organizations-post-orgs-by-org-id-issuer-register.ts +1 -1
  192. package/src/funcs/organizations-post-orgs-by-org-id-members-by-user-id-attest.ts +3 -0
  193. package/src/funcs/organizations-post-orgs-by-org-id-server-wallet.ts +1 -1
  194. package/src/funcs/organizations-put-orgs-by-org-id-compliance.ts +6 -4
  195. package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-deprecate.ts +3 -0
  196. package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-pause.ts +3 -0
  197. package/src/funcs/vaults-post-orgs-by-org-id-assets-by-asset-id-vault-settle.ts +3 -0
  198. package/src/lib/config.ts +2 -2
  199. package/src/models/errors/get-oauth-authorize.ts +6 -6
  200. package/src/models/errors/get-oauth-userinfo.ts +8 -8
  201. package/src/models/errors/get-passport-home.ts +2 -2
  202. package/src/models/errors/get-passport-sign-in.ts +2 -2
  203. package/src/models/errors/index.ts +2 -0
  204. package/src/models/errors/o-auth-error-response.ts +2 -2
  205. package/src/models/errors/post-approvals-by-approval-id-approve.ts +85 -0
  206. package/src/models/errors/post-approvals-by-approval-id-reject.ts +85 -0
  207. package/src/models/errors/post-eligibility-check.ts +2 -2
  208. package/src/models/errors/post-oauth-par.ts +10 -10
  209. package/src/models/errors/post-oauth-revoke.ts +10 -10
  210. package/src/models/errors/post-oauth-token.ts +8 -8
  211. package/src/models/errors/post-passport-sign-in-decision.ts +2 -2
  212. package/src/models/operations/get-accounts-cash-assets.ts +89 -0
  213. package/src/models/operations/get-accounts-movable-wallets.ts +240 -0
  214. package/src/models/operations/get-commands-by-command-id.ts +267 -0
  215. package/src/models/operations/get-login-passport-status.ts +12 -6
  216. package/src/models/operations/get-preflight-results-by-result-id.ts +51 -0
  217. package/src/models/operations/index.ts +4 -0
  218. package/src/models/operations/post-accounts-wallets-sync.ts +3 -1
  219. package/src/models/operations/post-approvals-by-approval-id-approve.ts +134 -0
  220. package/src/models/operations/post-approvals-by-approval-id-reject.ts +207 -0
  221. package/src/models/operations/post-eligibility-check.ts +11 -8
  222. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +1 -1
  223. package/src/models/operations/post-preflight-intents.ts +47 -0
  224. package/src/sdk/accounts.ts +34 -0
  225. package/src/sdk/approvals.ts +40 -0
  226. package/src/sdk/assets.ts +2 -2
  227. package/src/sdk/attestations.ts +1 -1
  228. package/src/sdk/commands.ts +1 -1
  229. package/src/sdk/compliance.ts +1 -1
  230. package/src/sdk/organizations.ts +1 -1
@@ -12,7 +12,7 @@ import { SDKError } from "./sdk-error.js";
12
12
  */
13
13
  export type PostEligibilityCheckServiceUnavailableErrorData = {
14
14
  /**
15
- * 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)
15
+ * 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)
16
16
  */
17
17
  error: string;
18
18
  /**
@@ -38,7 +38,7 @@ export type PostEligibilityCheckServiceUnavailableErrorData = {
38
38
  */
39
39
  export class PostEligibilityCheckServiceUnavailableError extends SDKError {
40
40
  /**
41
- * 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)
41
+ * 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)
42
42
  */
43
43
  error: string;
44
44
  /**
@@ -12,7 +12,7 @@ import { SDKError } from "./sdk-error.js";
12
12
  */
13
13
  export type PostOauthParServiceUnavailableErrorData = {
14
14
  /**
15
- * 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)
15
+ * 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)
16
16
  */
17
17
  error: string;
18
18
  /**
@@ -38,7 +38,7 @@ export type PostOauthParServiceUnavailableErrorData = {
38
38
  */
39
39
  export class PostOauthParServiceUnavailableError extends SDKError {
40
40
  /**
41
- * 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)
41
+ * 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)
42
42
  */
43
43
  error: string;
44
44
  /**
@@ -80,7 +80,7 @@ export class PostOauthParServiceUnavailableError extends SDKError {
80
80
  */
81
81
  export type PostOauthParInternalServerErrorData = {
82
82
  /**
83
- * 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)
83
+ * 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)
84
84
  */
85
85
  error: string;
86
86
  /**
@@ -106,7 +106,7 @@ export type PostOauthParInternalServerErrorData = {
106
106
  */
107
107
  export class PostOauthParInternalServerError extends SDKError {
108
108
  /**
109
- * 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)
109
+ * 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)
110
110
  */
111
111
  error: string;
112
112
  /**
@@ -148,7 +148,7 @@ export class PostOauthParInternalServerError extends SDKError {
148
148
  */
149
149
  export type PostOauthParTooManyRequestsErrorData = {
150
150
  /**
151
- * 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)
151
+ * 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)
152
152
  */
153
153
  error: string;
154
154
  /**
@@ -174,7 +174,7 @@ export type PostOauthParTooManyRequestsErrorData = {
174
174
  */
175
175
  export class PostOauthParTooManyRequestsError extends SDKError {
176
176
  /**
177
- * 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)
177
+ * 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)
178
178
  */
179
179
  error: string;
180
180
  /**
@@ -216,7 +216,7 @@ export class PostOauthParTooManyRequestsError extends SDKError {
216
216
  */
217
217
  export type PostOauthParUnauthorizedErrorData = {
218
218
  /**
219
- * 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)
219
+ * 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)
220
220
  */
221
221
  error: string;
222
222
  /**
@@ -242,7 +242,7 @@ export type PostOauthParUnauthorizedErrorData = {
242
242
  */
243
243
  export class PostOauthParUnauthorizedError 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
  /**
@@ -284,7 +284,7 @@ export class PostOauthParUnauthorizedError extends SDKError {
284
284
  */
285
285
  export type PostOauthParBadRequestErrorData = {
286
286
  /**
287
- * 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)
287
+ * 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)
288
288
  */
289
289
  error: string;
290
290
  /**
@@ -310,7 +310,7 @@ export type PostOauthParBadRequestErrorData = {
310
310
  */
311
311
  export class PostOauthParBadRequestError extends SDKError {
312
312
  /**
313
- * 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)
313
+ * 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)
314
314
  */
315
315
  error: string;
316
316
  /**
@@ -12,7 +12,7 @@ import { SDKError } from "./sdk-error.js";
12
12
  */
13
13
  export type PostOauthRevokeServiceUnavailableErrorData = {
14
14
  /**
15
- * 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)
15
+ * 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)
16
16
  */
17
17
  error: string;
18
18
  /**
@@ -38,7 +38,7 @@ export type PostOauthRevokeServiceUnavailableErrorData = {
38
38
  */
39
39
  export class PostOauthRevokeServiceUnavailableError extends SDKError {
40
40
  /**
41
- * 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)
41
+ * 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)
42
42
  */
43
43
  error: string;
44
44
  /**
@@ -80,7 +80,7 @@ export class PostOauthRevokeServiceUnavailableError extends SDKError {
80
80
  */
81
81
  export type PostOauthRevokeInternalServerErrorData = {
82
82
  /**
83
- * 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)
83
+ * 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)
84
84
  */
85
85
  error: string;
86
86
  /**
@@ -106,7 +106,7 @@ export type PostOauthRevokeInternalServerErrorData = {
106
106
  */
107
107
  export class PostOauthRevokeInternalServerError extends SDKError {
108
108
  /**
109
- * 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)
109
+ * 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)
110
110
  */
111
111
  error: string;
112
112
  /**
@@ -148,7 +148,7 @@ export class PostOauthRevokeInternalServerError extends SDKError {
148
148
  */
149
149
  export type PostOauthRevokeTooManyRequestsErrorData = {
150
150
  /**
151
- * 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)
151
+ * 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)
152
152
  */
153
153
  error: string;
154
154
  /**
@@ -174,7 +174,7 @@ export type PostOauthRevokeTooManyRequestsErrorData = {
174
174
  */
175
175
  export class PostOauthRevokeTooManyRequestsError extends SDKError {
176
176
  /**
177
- * 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)
177
+ * 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)
178
178
  */
179
179
  error: string;
180
180
  /**
@@ -216,7 +216,7 @@ export class PostOauthRevokeTooManyRequestsError extends SDKError {
216
216
  */
217
217
  export type PostOauthRevokeUnauthorizedErrorData = {
218
218
  /**
219
- * 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)
219
+ * 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)
220
220
  */
221
221
  error: string;
222
222
  /**
@@ -242,7 +242,7 @@ export type PostOauthRevokeUnauthorizedErrorData = {
242
242
  */
243
243
  export class PostOauthRevokeUnauthorizedError 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
  /**
@@ -284,7 +284,7 @@ export class PostOauthRevokeUnauthorizedError extends SDKError {
284
284
  */
285
285
  export type PostOauthRevokeBadRequestErrorData = {
286
286
  /**
287
- * 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)
287
+ * 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)
288
288
  */
289
289
  error: string;
290
290
  /**
@@ -310,7 +310,7 @@ export type PostOauthRevokeBadRequestErrorData = {
310
310
  */
311
311
  export class PostOauthRevokeBadRequestError extends SDKError {
312
312
  /**
313
- * 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)
313
+ * 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)
314
314
  */
315
315
  error: string;
316
316
  /**
@@ -13,7 +13,7 @@ import { SDKError } from "./sdk-error.js";
13
13
  */
14
14
  export type PostOauthTokenServiceUnavailableErrorData = {
15
15
  /**
16
- * 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)
16
+ * 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)
17
17
  */
18
18
  error: string;
19
19
  /**
@@ -39,7 +39,7 @@ export type PostOauthTokenServiceUnavailableErrorData = {
39
39
  */
40
40
  export class PostOauthTokenServiceUnavailableError 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: string;
45
45
  /**
@@ -81,7 +81,7 @@ export class PostOauthTokenServiceUnavailableError extends SDKError {
81
81
  */
82
82
  export type PostOauthTokenInternalServerErrorData = {
83
83
  /**
84
- * 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)
84
+ * 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)
85
85
  */
86
86
  error: string;
87
87
  /**
@@ -107,7 +107,7 @@ export type PostOauthTokenInternalServerErrorData = {
107
107
  */
108
108
  export class PostOauthTokenInternalServerError extends SDKError {
109
109
  /**
110
- * 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)
110
+ * 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)
111
111
  */
112
112
  error: string;
113
113
  /**
@@ -198,7 +198,7 @@ export class PostOauthTokenUpdateRequiredError extends SDKError {
198
198
  */
199
199
  export type PostOauthTokenUnauthorizedErrorData = {
200
200
  /**
201
- * 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)
201
+ * 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)
202
202
  */
203
203
  error: string;
204
204
  /**
@@ -224,7 +224,7 @@ export type PostOauthTokenUnauthorizedErrorData = {
224
224
  */
225
225
  export class PostOauthTokenUnauthorizedError extends SDKError {
226
226
  /**
227
- * 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)
227
+ * 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)
228
228
  */
229
229
  error: string;
230
230
  /**
@@ -266,7 +266,7 @@ export class PostOauthTokenUnauthorizedError extends SDKError {
266
266
  */
267
267
  export type PostOauthTokenBadRequestErrorData = {
268
268
  /**
269
- * 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)
269
+ * 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)
270
270
  */
271
271
  error: string;
272
272
  /**
@@ -292,7 +292,7 @@ export type PostOauthTokenBadRequestErrorData = {
292
292
  */
293
293
  export class PostOauthTokenBadRequestError extends SDKError {
294
294
  /**
295
- * 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)
295
+ * 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)
296
296
  */
297
297
  error: string;
298
298
  /**
@@ -62,7 +62,7 @@ export class PostPassportSignInDecisionUpdateRequiredError extends SDKError {
62
62
  */
63
63
  export type PostPassportSignInDecisionUnauthorizedErrorData = {
64
64
  /**
65
- * 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)
65
+ * 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)
66
66
  */
67
67
  error: string;
68
68
  /**
@@ -88,7 +88,7 @@ export type PostPassportSignInDecisionUnauthorizedErrorData = {
88
88
  */
89
89
  export class PostPassportSignInDecisionUnauthorizedError extends SDKError {
90
90
  /**
91
- * 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)
91
+ * 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)
92
92
  */
93
93
  error: string;
94
94
  /**
@@ -0,0 +1,89 @@
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 * as types from "../../types/primitives.js";
10
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
+
12
+ export const GetAccountsCashAssetsKind = {
13
+ Cash: "cash",
14
+ } as const;
15
+ export type GetAccountsCashAssetsKind = ClosedEnum<
16
+ typeof GetAccountsCashAssetsKind
17
+ >;
18
+
19
+ export type GetAccountsCashAssetsAsset = {
20
+ /**
21
+ * Cash asset id. Not a UUID: cash assets have no asset row.
22
+ */
23
+ id: string;
24
+ /**
25
+ * Token symbol
26
+ */
27
+ symbol: string;
28
+ /**
29
+ * Token decimals, the same on every chain
30
+ */
31
+ decimals: number;
32
+ kind: GetAccountsCashAssetsKind;
33
+ /**
34
+ * Token contract address per chain. Keys are LayerZero endpoint ids as decimal strings; values are lowercase 0x addresses.
35
+ */
36
+ tokens: { [k: string]: string };
37
+ };
38
+
39
+ /**
40
+ * Response
41
+ */
42
+ export type GetAccountsCashAssetsResponse = {
43
+ assets: Array<GetAccountsCashAssetsAsset>;
44
+ };
45
+
46
+ /** @internal */
47
+ export const GetAccountsCashAssetsKind$inboundSchema: z.ZodMiniEnum<
48
+ typeof GetAccountsCashAssetsKind
49
+ > = z.enum(GetAccountsCashAssetsKind);
50
+
51
+ /** @internal */
52
+ export const GetAccountsCashAssetsAsset$inboundSchema: z.ZodMiniType<
53
+ GetAccountsCashAssetsAsset,
54
+ unknown
55
+ > = z.object({
56
+ id: types.string(),
57
+ symbol: types.string(),
58
+ decimals: types.number(),
59
+ kind: GetAccountsCashAssetsKind$inboundSchema,
60
+ tokens: z.record(z.string(), types.string()),
61
+ });
62
+
63
+ export function getAccountsCashAssetsAssetFromJSON(
64
+ jsonString: string,
65
+ ): SafeParseResult<GetAccountsCashAssetsAsset, SDKValidationError> {
66
+ return safeParse(
67
+ jsonString,
68
+ (x) => GetAccountsCashAssetsAsset$inboundSchema.parse(JSON.parse(x)),
69
+ `Failed to parse 'GetAccountsCashAssetsAsset' from JSON`,
70
+ );
71
+ }
72
+
73
+ /** @internal */
74
+ export const GetAccountsCashAssetsResponse$inboundSchema: z.ZodMiniType<
75
+ GetAccountsCashAssetsResponse,
76
+ unknown
77
+ > = z.object({
78
+ assets: z.array(z.lazy(() => GetAccountsCashAssetsAsset$inboundSchema)),
79
+ });
80
+
81
+ export function getAccountsCashAssetsResponseFromJSON(
82
+ jsonString: string,
83
+ ): SafeParseResult<GetAccountsCashAssetsResponse, SDKValidationError> {
84
+ return safeParse(
85
+ jsonString,
86
+ (x) => GetAccountsCashAssetsResponse$inboundSchema.parse(JSON.parse(x)),
87
+ `Failed to parse 'GetAccountsCashAssetsResponse' from JSON`,
88
+ );
89
+ }
@@ -0,0 +1,240 @@
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 { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as types from "../../types/primitives.js";
9
+ import { smartUnion } from "../../types/smart-union.js";
10
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
11
+
12
+ export type GetAccountsMovableWalletsRequest = {
13
+ assetId: string;
14
+ };
15
+
16
+ export type Balance2 = {
17
+ /**
18
+ * LayerZero endpoint id, as a decimal string
19
+ */
20
+ chainEid: string;
21
+ /**
22
+ * The balance could not be read
23
+ */
24
+ balance: any | null;
25
+ /**
26
+ * Why the balance could not be read
27
+ */
28
+ reason: string;
29
+ };
30
+
31
+ export type Balance1 = {
32
+ /**
33
+ * LayerZero endpoint id, as a decimal string
34
+ */
35
+ chainEid: string;
36
+ /**
37
+ * On-chain balance in whole units, as a decimal string
38
+ */
39
+ balance: string;
40
+ /**
41
+ * 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.
42
+ */
43
+ locked?: string | undefined;
44
+ };
45
+
46
+ export type BalanceUnion = Balance2 | Balance1;
47
+
48
+ export type GetAccountsMovableWalletsWallet = {
49
+ /**
50
+ * Wallet row id
51
+ */
52
+ id: string;
53
+ /**
54
+ * Display label
55
+ */
56
+ label: string;
57
+ /**
58
+ * EIP-55 checksummed address
59
+ */
60
+ address: string;
61
+ /**
62
+ * One row per chain the asset is on
63
+ */
64
+ balances: Array<Balance2 | Balance1>;
65
+ };
66
+
67
+ /**
68
+ * Wallets returned
69
+ */
70
+ export type VisibleCount = string | number;
71
+
72
+ /**
73
+ * Distinct wallets the asset could be moved from, including organization wallets the caller may not use
74
+ */
75
+ export type TotalCount = string | number;
76
+
77
+ /**
78
+ * Response
79
+ */
80
+ export type GetAccountsMovableWalletsResponse = {
81
+ wallets: Array<GetAccountsMovableWalletsWallet>;
82
+ /**
83
+ * Wallets returned
84
+ */
85
+ visibleCount: string | number;
86
+ /**
87
+ * Distinct wallets the asset could be moved from, including organization wallets the caller may not use
88
+ */
89
+ totalCount: string | number;
90
+ };
91
+
92
+ /** @internal */
93
+ export type GetAccountsMovableWalletsRequest$Outbound = {
94
+ assetId: string;
95
+ };
96
+
97
+ /** @internal */
98
+ export const GetAccountsMovableWalletsRequest$outboundSchema: z.ZodMiniType<
99
+ GetAccountsMovableWalletsRequest$Outbound,
100
+ GetAccountsMovableWalletsRequest
101
+ > = z.object({
102
+ assetId: z.string(),
103
+ });
104
+
105
+ export function getAccountsMovableWalletsRequestToJSON(
106
+ getAccountsMovableWalletsRequest: GetAccountsMovableWalletsRequest,
107
+ ): string {
108
+ return JSON.stringify(
109
+ GetAccountsMovableWalletsRequest$outboundSchema.parse(
110
+ getAccountsMovableWalletsRequest,
111
+ ),
112
+ );
113
+ }
114
+
115
+ /** @internal */
116
+ export const Balance2$inboundSchema: z.ZodMiniType<Balance2, unknown> = z
117
+ .object({
118
+ chainEid: types.string(),
119
+ balance: types.nullable(z.any()),
120
+ reason: types.string(),
121
+ });
122
+
123
+ export function balance2FromJSON(
124
+ jsonString: string,
125
+ ): SafeParseResult<Balance2, SDKValidationError> {
126
+ return safeParse(
127
+ jsonString,
128
+ (x) => Balance2$inboundSchema.parse(JSON.parse(x)),
129
+ `Failed to parse 'Balance2' from JSON`,
130
+ );
131
+ }
132
+
133
+ /** @internal */
134
+ export const Balance1$inboundSchema: z.ZodMiniType<Balance1, unknown> = z
135
+ .object({
136
+ chainEid: types.string(),
137
+ balance: types.string(),
138
+ locked: types.optional(types.string()),
139
+ });
140
+
141
+ export function balance1FromJSON(
142
+ jsonString: string,
143
+ ): SafeParseResult<Balance1, SDKValidationError> {
144
+ return safeParse(
145
+ jsonString,
146
+ (x) => Balance1$inboundSchema.parse(JSON.parse(x)),
147
+ `Failed to parse 'Balance1' from JSON`,
148
+ );
149
+ }
150
+
151
+ /** @internal */
152
+ export const BalanceUnion$inboundSchema: z.ZodMiniType<BalanceUnion, unknown> =
153
+ smartUnion([
154
+ z.lazy(() => Balance2$inboundSchema),
155
+ z.lazy(() => Balance1$inboundSchema),
156
+ ]);
157
+
158
+ export function balanceUnionFromJSON(
159
+ jsonString: string,
160
+ ): SafeParseResult<BalanceUnion, SDKValidationError> {
161
+ return safeParse(
162
+ jsonString,
163
+ (x) => BalanceUnion$inboundSchema.parse(JSON.parse(x)),
164
+ `Failed to parse 'BalanceUnion' from JSON`,
165
+ );
166
+ }
167
+
168
+ /** @internal */
169
+ export const GetAccountsMovableWalletsWallet$inboundSchema: z.ZodMiniType<
170
+ GetAccountsMovableWalletsWallet,
171
+ unknown
172
+ > = z.object({
173
+ id: types.string(),
174
+ label: types.string(),
175
+ address: types.string(),
176
+ balances: z.array(
177
+ smartUnion([
178
+ z.lazy(() => Balance2$inboundSchema),
179
+ z.lazy(() => Balance1$inboundSchema),
180
+ ]),
181
+ ),
182
+ });
183
+
184
+ export function getAccountsMovableWalletsWalletFromJSON(
185
+ jsonString: string,
186
+ ): SafeParseResult<GetAccountsMovableWalletsWallet, SDKValidationError> {
187
+ return safeParse(
188
+ jsonString,
189
+ (x) => GetAccountsMovableWalletsWallet$inboundSchema.parse(JSON.parse(x)),
190
+ `Failed to parse 'GetAccountsMovableWalletsWallet' from JSON`,
191
+ );
192
+ }
193
+
194
+ /** @internal */
195
+ export const VisibleCount$inboundSchema: z.ZodMiniType<VisibleCount, unknown> =
196
+ smartUnion([types.string(), types.number()]);
197
+
198
+ export function visibleCountFromJSON(
199
+ jsonString: string,
200
+ ): SafeParseResult<VisibleCount, SDKValidationError> {
201
+ return safeParse(
202
+ jsonString,
203
+ (x) => VisibleCount$inboundSchema.parse(JSON.parse(x)),
204
+ `Failed to parse 'VisibleCount' from JSON`,
205
+ );
206
+ }
207
+
208
+ /** @internal */
209
+ export const TotalCount$inboundSchema: z.ZodMiniType<TotalCount, unknown> =
210
+ smartUnion([types.string(), types.number()]);
211
+
212
+ export function totalCountFromJSON(
213
+ jsonString: string,
214
+ ): SafeParseResult<TotalCount, SDKValidationError> {
215
+ return safeParse(
216
+ jsonString,
217
+ (x) => TotalCount$inboundSchema.parse(JSON.parse(x)),
218
+ `Failed to parse 'TotalCount' from JSON`,
219
+ );
220
+ }
221
+
222
+ /** @internal */
223
+ export const GetAccountsMovableWalletsResponse$inboundSchema: z.ZodMiniType<
224
+ GetAccountsMovableWalletsResponse,
225
+ unknown
226
+ > = z.object({
227
+ wallets: z.array(z.lazy(() => GetAccountsMovableWalletsWallet$inboundSchema)),
228
+ visibleCount: smartUnion([types.string(), types.number()]),
229
+ totalCount: smartUnion([types.string(), types.number()]),
230
+ });
231
+
232
+ export function getAccountsMovableWalletsResponseFromJSON(
233
+ jsonString: string,
234
+ ): SafeParseResult<GetAccountsMovableWalletsResponse, SDKValidationError> {
235
+ return safeParse(
236
+ jsonString,
237
+ (x) => GetAccountsMovableWalletsResponse$inboundSchema.parse(JSON.parse(x)),
238
+ `Failed to parse 'GetAccountsMovableWalletsResponse' from JSON`,
239
+ );
240
+ }