@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.
Files changed (399) hide show
  1. package/README.md +69 -19
  2. package/esm/funcs/approvals-get-approvals-by-approval-id-status.d.ts +20 -0
  3. package/esm/funcs/approvals-get-approvals-by-approval-id-status.d.ts.map +1 -0
  4. package/esm/funcs/approvals-get-approvals-by-approval-id-status.js +96 -0
  5. package/esm/funcs/approvals-get-approvals-by-approval-id-status.js.map +1 -0
  6. package/esm/funcs/approvals-get-approvals-by-approval-id.d.ts +20 -0
  7. package/esm/funcs/approvals-get-approvals-by-approval-id.d.ts.map +1 -0
  8. package/esm/funcs/approvals-get-approvals-by-approval-id.js +100 -0
  9. package/esm/funcs/approvals-get-approvals-by-approval-id.js.map +1 -0
  10. package/esm/funcs/approvals-post-approvals.d.ts +20 -0
  11. package/esm/funcs/approvals-post-approvals.d.ts.map +1 -0
  12. package/esm/funcs/approvals-post-approvals.js +90 -0
  13. package/esm/funcs/approvals-post-approvals.js.map +1 -0
  14. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js +3 -1
  15. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
  16. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.d.ts +4 -2
  17. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.d.ts.map +1 -1
  18. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.js +11 -19
  19. package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.js.map +1 -1
  20. package/esm/funcs/attestations-post-attestations.d.ts +1 -1
  21. package/esm/funcs/attestations-post-attestations.js +2 -2
  22. package/esm/funcs/attestations-post-attestations.js.map +1 -1
  23. package/esm/funcs/auth-post-auth-accept-invite.js +1 -1
  24. package/esm/funcs/auth-post-auth-accept-invite.js.map +1 -1
  25. package/esm/funcs/auth-post-auth-login.js +1 -1
  26. package/esm/funcs/auth-post-auth-login.js.map +1 -1
  27. package/esm/funcs/auth-post-auth-refresh.d.ts +1 -1
  28. package/esm/funcs/auth-post-auth-refresh.js +1 -1
  29. package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.d.ts +1 -1
  30. package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.js +1 -1
  31. package/esm/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.js +1 -1
  32. package/esm/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.js.map +1 -1
  33. package/esm/funcs/eligibility-post-eligibility-check.d.ts +20 -0
  34. package/esm/funcs/eligibility-post-eligibility-check.d.ts.map +1 -0
  35. package/esm/funcs/eligibility-post-eligibility-check.js +90 -0
  36. package/esm/funcs/eligibility-post-eligibility-check.js.map +1 -0
  37. package/esm/funcs/health-get-health.d.ts +1 -1
  38. package/esm/funcs/health-get-health.js +1 -1
  39. package/esm/funcs/mfa-post-auth-mfa-verify.js +2 -2
  40. package/esm/funcs/mfa-post-auth-mfa-verify.js.map +1 -1
  41. package/esm/funcs/o-auth-get-oauth-authorize.d.ts +1 -1
  42. package/esm/funcs/o-auth-get-oauth-authorize.js +1 -1
  43. package/esm/funcs/o-auth-get-oauth-userinfo.d.ts +2 -2
  44. package/esm/funcs/o-auth-get-oauth-userinfo.d.ts.map +1 -1
  45. package/esm/funcs/o-auth-get-oauth-userinfo.js +2 -2
  46. package/esm/funcs/o-auth-get-oauth-userinfo.js.map +1 -1
  47. package/esm/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.js +2 -0
  48. package/esm/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
  49. package/esm/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.js +1 -1
  50. package/esm/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.js.map +1 -1
  51. package/esm/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.js +3 -1
  52. package/esm/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
  53. package/esm/funcs/o-auth-post-oauth-token.d.ts +2 -2
  54. package/esm/funcs/o-auth-post-oauth-token.d.ts.map +1 -1
  55. package/esm/funcs/o-auth-post-oauth-token.js +2 -2
  56. package/esm/funcs/o-auth-post-oauth-token.js.map +1 -1
  57. package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts +4 -2
  58. package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts.map +1 -1
  59. package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js +12 -22
  60. package/esm/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js.map +1 -1
  61. package/esm/funcs/passport-get-login-passport-status.d.ts +18 -0
  62. package/esm/funcs/passport-get-login-passport-status.d.ts.map +1 -0
  63. package/esm/funcs/passport-get-login-passport-status.js +77 -0
  64. package/esm/funcs/passport-get-login-passport-status.js.map +1 -0
  65. package/esm/funcs/passport-get-passport-home.d.ts +17 -0
  66. package/esm/funcs/passport-get-passport-home.d.ts.map +1 -0
  67. package/esm/funcs/passport-get-passport-home.js +77 -0
  68. package/esm/funcs/passport-get-passport-home.js.map +1 -0
  69. package/esm/funcs/passport-get-passport-sign-in.d.ts +17 -0
  70. package/esm/funcs/passport-get-passport-sign-in.d.ts.map +1 -0
  71. package/esm/funcs/passport-get-passport-sign-in.js +75 -0
  72. package/esm/funcs/passport-get-passport-sign-in.js.map +1 -0
  73. package/esm/funcs/passport-post-login-passport-finish.d.ts +18 -0
  74. package/esm/funcs/passport-post-login-passport-finish.d.ts.map +1 -0
  75. package/esm/funcs/passport-post-login-passport-finish.js +89 -0
  76. package/esm/funcs/passport-post-login-passport-finish.js.map +1 -0
  77. package/esm/funcs/passport-post-passport-sign-in-decision.d.ts +18 -0
  78. package/esm/funcs/passport-post-passport-sign-in-decision.d.ts.map +1 -0
  79. package/esm/funcs/passport-post-passport-sign-in-decision.js +86 -0
  80. package/esm/funcs/passport-post-passport-sign-in-decision.js.map +1 -0
  81. package/esm/funcs/preflight-get-preflight-results-by-result-id.d.ts +20 -0
  82. package/esm/funcs/preflight-get-preflight-results-by-result-id.d.ts.map +1 -0
  83. package/esm/funcs/preflight-get-preflight-results-by-result-id.js +98 -0
  84. package/esm/funcs/preflight-get-preflight-results-by-result-id.js.map +1 -0
  85. package/esm/funcs/preflight-post-preflight-intents.d.ts +20 -0
  86. package/esm/funcs/preflight-post-preflight-intents.d.ts.map +1 -0
  87. package/esm/funcs/preflight-post-preflight-intents.js +90 -0
  88. package/esm/funcs/preflight-post-preflight-intents.js.map +1 -0
  89. package/esm/funcs/transfers-get-transfers.d.ts +1 -1
  90. package/esm/funcs/transfers-get-transfers.js +1 -1
  91. package/esm/funcs/travel-rule-post-travel-rule-records.d.ts +20 -0
  92. package/esm/funcs/travel-rule-post-travel-rule-records.d.ts.map +1 -0
  93. package/esm/funcs/travel-rule-post-travel-rule-records.js +90 -0
  94. package/esm/funcs/travel-rule-post-travel-rule-records.js.map +1 -0
  95. package/esm/funcs/ui-get-login.js +1 -0
  96. package/esm/funcs/ui-get-login.js.map +1 -1
  97. package/esm/lib/config.d.ts +2 -2
  98. package/esm/lib/config.js +2 -2
  99. package/esm/models/errors/get-approvals-by-approval-id.d.ts +41 -0
  100. package/esm/models/errors/get-approvals-by-approval-id.d.ts.map +1 -0
  101. package/esm/models/errors/get-approvals-by-approval-id.js +56 -0
  102. package/esm/models/errors/get-approvals-by-approval-id.js.map +1 -0
  103. package/esm/models/errors/get-oauth-authorize.d.ts +6 -6
  104. package/esm/models/errors/get-oauth-authorize.js +3 -3
  105. package/esm/models/errors/get-oauth-userinfo.d.ts +152 -4
  106. package/esm/models/errors/get-oauth-userinfo.d.ts.map +1 -1
  107. package/esm/models/errors/get-oauth-userinfo.js +166 -2
  108. package/esm/models/errors/get-oauth-userinfo.js.map +1 -1
  109. package/esm/models/errors/get-passport-home.d.ts +96 -0
  110. package/esm/models/errors/get-passport-home.d.ts.map +1 -0
  111. package/esm/models/errors/get-passport-home.js +114 -0
  112. package/esm/models/errors/get-passport-home.js.map +1 -0
  113. package/esm/models/errors/get-passport-sign-in.d.ts +96 -0
  114. package/esm/models/errors/get-passport-sign-in.d.ts.map +1 -0
  115. package/esm/models/errors/get-passport-sign-in.js +114 -0
  116. package/esm/models/errors/get-passport-sign-in.js.map +1 -0
  117. package/esm/models/errors/index.d.ts +6 -0
  118. package/esm/models/errors/index.d.ts.map +1 -1
  119. package/esm/models/errors/index.js +6 -0
  120. package/esm/models/errors/index.js.map +1 -1
  121. package/esm/models/errors/o-auth-error-response.d.ts +52 -0
  122. package/esm/models/errors/o-auth-error-response.d.ts.map +1 -0
  123. package/esm/models/errors/o-auth-error-response.js +63 -0
  124. package/esm/models/errors/o-auth-error-response.js.map +1 -0
  125. package/esm/models/errors/post-eligibility-check.d.ts +58 -0
  126. package/esm/models/errors/post-eligibility-check.d.ts.map +1 -0
  127. package/esm/models/errors/post-eligibility-check.js +66 -0
  128. package/esm/models/errors/post-eligibility-check.js.map +1 -0
  129. package/esm/models/errors/post-oauth-par.d.ts +10 -10
  130. package/esm/models/errors/post-oauth-par.js +5 -5
  131. package/esm/models/errors/post-oauth-revoke.d.ts +10 -10
  132. package/esm/models/errors/post-oauth-revoke.js +5 -5
  133. package/esm/models/errors/post-oauth-token.d.ts +99 -6
  134. package/esm/models/errors/post-oauth-token.d.ts.map +1 -1
  135. package/esm/models/errors/post-oauth-token.js +109 -3
  136. package/esm/models/errors/post-oauth-token.js.map +1 -1
  137. package/esm/models/errors/post-passport-sign-in-decision.d.ts +96 -0
  138. package/esm/models/errors/post-passport-sign-in-decision.d.ts.map +1 -0
  139. package/esm/models/errors/post-passport-sign-in-decision.js +115 -0
  140. package/esm/models/errors/post-passport-sign-in-decision.js.map +1 -0
  141. package/esm/models/errors/problem-details-error.d.ts +24 -0
  142. package/esm/models/errors/problem-details-error.d.ts.map +1 -1
  143. package/esm/models/errors/problem-details-error.js +21 -0
  144. package/esm/models/errors/problem-details-error.js.map +1 -1
  145. package/esm/models/operations/get-approvals-by-approval-id-status.d.ts +91 -0
  146. package/esm/models/operations/get-approvals-by-approval-id-status.d.ts.map +1 -0
  147. package/esm/models/operations/get-approvals-by-approval-id-status.js +60 -0
  148. package/esm/models/operations/get-approvals-by-approval-id-status.js.map +1 -0
  149. package/esm/models/operations/get-approvals-by-approval-id.d.ts +391 -0
  150. package/esm/models/operations/get-approvals-by-approval-id.d.ts.map +1 -0
  151. package/esm/models/operations/get-approvals-by-approval-id.js +299 -0
  152. package/esm/models/operations/get-approvals-by-approval-id.js.map +1 -0
  153. package/esm/models/operations/get-health.d.ts +8 -0
  154. package/esm/models/operations/get-health.d.ts.map +1 -1
  155. package/esm/models/operations/get-health.js +2 -0
  156. package/esm/models/operations/get-health.js.map +1 -1
  157. package/esm/models/operations/get-login-passport-status.d.ts +42 -0
  158. package/esm/models/operations/get-login-passport-status.d.ts.map +1 -0
  159. package/esm/models/operations/get-login-passport-status.js +45 -0
  160. package/esm/models/operations/get-login-passport-status.js.map +1 -0
  161. package/esm/models/operations/get-login.d.ts +2 -0
  162. package/esm/models/operations/get-login.d.ts.map +1 -1
  163. package/esm/models/operations/get-login.js +1 -0
  164. package/esm/models/operations/get-login.js.map +1 -1
  165. package/esm/models/operations/get-oauth-userinfo.d.ts +48 -0
  166. package/esm/models/operations/get-oauth-userinfo.d.ts.map +1 -1
  167. package/esm/models/operations/get-oauth-userinfo.js +32 -0
  168. package/esm/models/operations/get-oauth-userinfo.js.map +1 -1
  169. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +1 -0
  170. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts.map +1 -1
  171. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +1 -0
  172. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
  173. package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.d.ts +47 -0
  174. package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.d.ts.map +1 -1
  175. package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.js +41 -0
  176. package/esm/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
  177. package/esm/models/operations/get-orgs-by-org-id-oauth-clients.d.ts +47 -0
  178. package/esm/models/operations/get-orgs-by-org-id-oauth-clients.d.ts.map +1 -1
  179. package/esm/models/operations/get-orgs-by-org-id-oauth-clients.js +40 -0
  180. package/esm/models/operations/get-orgs-by-org-id-oauth-clients.js.map +1 -1
  181. package/esm/models/operations/get-passport-home.d.ts +9 -0
  182. package/esm/models/operations/get-passport-home.d.ts.map +1 -0
  183. package/esm/models/operations/get-passport-home.js +10 -0
  184. package/esm/models/operations/get-passport-home.js.map +1 -0
  185. package/esm/models/operations/get-passport-sign-in.d.ts +9 -0
  186. package/esm/models/operations/get-passport-sign-in.d.ts.map +1 -0
  187. package/esm/models/operations/get-passport-sign-in.js +10 -0
  188. package/esm/models/operations/get-passport-sign-in.js.map +1 -0
  189. package/esm/models/operations/get-preflight-results-by-result-id.d.ts +329 -0
  190. package/esm/models/operations/get-preflight-results-by-result-id.d.ts.map +1 -0
  191. package/esm/models/operations/get-preflight-results-by-result-id.js +280 -0
  192. package/esm/models/operations/get-preflight-results-by-result-id.js.map +1 -0
  193. package/esm/models/operations/index.d.ts +12 -0
  194. package/esm/models/operations/index.d.ts.map +1 -1
  195. package/esm/models/operations/index.js +12 -0
  196. package/esm/models/operations/index.js.map +1 -1
  197. package/esm/models/operations/post-approvals.d.ts +114 -0
  198. package/esm/models/operations/post-approvals.d.ts.map +1 -0
  199. package/esm/models/operations/post-approvals.js +76 -0
  200. package/esm/models/operations/post-approvals.js.map +1 -0
  201. package/esm/models/operations/post-attestations.d.ts +24 -7
  202. package/esm/models/operations/post-attestations.d.ts.map +1 -1
  203. package/esm/models/operations/post-attestations.js +7 -1
  204. package/esm/models/operations/post-attestations.js.map +1 -1
  205. package/esm/models/operations/post-auth-verify-email.d.ts +10 -10
  206. package/esm/models/operations/post-auth-verify-email.d.ts.map +1 -1
  207. package/esm/models/operations/post-auth-verify-email.js +8 -8
  208. package/esm/models/operations/post-auth-verify-email.js.map +1 -1
  209. package/esm/models/operations/post-consent.d.ts +2 -0
  210. package/esm/models/operations/post-consent.d.ts.map +1 -1
  211. package/esm/models/operations/post-consent.js +2 -0
  212. package/esm/models/operations/post-consent.js.map +1 -1
  213. package/esm/models/operations/post-eligibility-check.d.ts +45 -0
  214. package/esm/models/operations/post-eligibility-check.d.ts.map +1 -0
  215. package/esm/models/operations/post-eligibility-check.js +43 -0
  216. package/esm/models/operations/post-eligibility-check.js.map +1 -0
  217. package/esm/models/operations/post-login-passport-finish.d.ts +24 -0
  218. package/esm/models/operations/post-login-passport-finish.d.ts.map +1 -0
  219. package/esm/models/operations/post-login-passport-finish.js +31 -0
  220. package/esm/models/operations/post-login-passport-finish.js.map +1 -0
  221. package/esm/models/operations/post-oauth-token.d.ts +22 -9
  222. package/esm/models/operations/post-oauth-token.d.ts.map +1 -1
  223. package/esm/models/operations/post-oauth-token.js +25 -6
  224. package/esm/models/operations/post-oauth-token.js.map +1 -1
  225. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts +4 -4
  226. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts.map +1 -1
  227. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js +5 -4
  228. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
  229. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts +2 -0
  230. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.d.ts.map +1 -1
  231. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js +2 -0
  232. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.js.map +1 -1
  233. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.d.ts +0 -12
  234. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.d.ts.map +1 -1
  235. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.js +0 -8
  236. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.js.map +1 -1
  237. package/esm/models/operations/post-orgs-by-org-id-oauth-clients.d.ts +101 -0
  238. package/esm/models/operations/post-orgs-by-org-id-oauth-clients.d.ts.map +1 -1
  239. package/esm/models/operations/post-orgs-by-org-id-oauth-clients.js +81 -0
  240. package/esm/models/operations/post-orgs-by-org-id-oauth-clients.js.map +1 -1
  241. package/esm/models/operations/post-passport-sign-in-decision.d.ts +25 -0
  242. package/esm/models/operations/post-passport-sign-in-decision.d.ts.map +1 -0
  243. package/esm/models/operations/post-passport-sign-in-decision.js +27 -0
  244. package/esm/models/operations/post-passport-sign-in-decision.js.map +1 -0
  245. package/esm/models/operations/post-preflight-intents.d.ts +367 -0
  246. package/esm/models/operations/post-preflight-intents.d.ts.map +1 -0
  247. package/esm/models/operations/post-preflight-intents.js +299 -0
  248. package/esm/models/operations/post-preflight-intents.js.map +1 -0
  249. package/esm/models/operations/post-preflight.d.ts +8 -8
  250. package/esm/models/operations/post-preflight.d.ts.map +1 -1
  251. package/esm/models/operations/post-preflight.js +7 -7
  252. package/esm/models/operations/post-preflight.js.map +1 -1
  253. package/esm/models/operations/post-travel-rule-records.d.ts +27 -0
  254. package/esm/models/operations/post-travel-rule-records.d.ts.map +1 -0
  255. package/esm/models/operations/post-travel-rule-records.js +24 -0
  256. package/esm/models/operations/post-travel-rule-records.js.map +1 -0
  257. package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.d.ts +101 -0
  258. package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.d.ts.map +1 -1
  259. package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.js +79 -0
  260. package/esm/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.js.map +1 -1
  261. package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts +0 -12
  262. package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.d.ts.map +1 -1
  263. package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js +0 -8
  264. package/esm/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.js.map +1 -1
  265. package/esm/sdk/approvals.d.ts +26 -0
  266. package/esm/sdk/approvals.d.ts.map +1 -0
  267. package/esm/sdk/approvals.js +38 -0
  268. package/esm/sdk/approvals.js.map +1 -0
  269. package/esm/sdk/assets.d.ts +2 -2
  270. package/esm/sdk/assets.d.ts.map +1 -1
  271. package/esm/sdk/assets.js +3 -3
  272. package/esm/sdk/assets.js.map +1 -1
  273. package/esm/sdk/attestations.d.ts +1 -1
  274. package/esm/sdk/attestations.js +1 -1
  275. package/esm/sdk/auth.d.ts +1 -1
  276. package/esm/sdk/auth.js +1 -1
  277. package/esm/sdk/bridge.d.ts +1 -1
  278. package/esm/sdk/bridge.js +1 -1
  279. package/esm/sdk/eligibility.d.ts +12 -0
  280. package/esm/sdk/eligibility.d.ts.map +1 -0
  281. package/esm/sdk/eligibility.js +18 -0
  282. package/esm/sdk/eligibility.js.map +1 -0
  283. package/esm/sdk/health.d.ts +1 -1
  284. package/esm/sdk/health.js +1 -1
  285. package/esm/sdk/o-auth.d.ts +3 -3
  286. package/esm/sdk/o-auth.js +3 -3
  287. package/esm/sdk/organizations.d.ts +2 -2
  288. package/esm/sdk/organizations.d.ts.map +1 -1
  289. package/esm/sdk/organizations.js +3 -3
  290. package/esm/sdk/organizations.js.map +1 -1
  291. package/esm/sdk/passport.d.ts +40 -0
  292. package/esm/sdk/passport.d.ts.map +1 -0
  293. package/esm/sdk/passport.js +58 -0
  294. package/esm/sdk/passport.js.map +1 -0
  295. package/esm/sdk/preflight.d.ts +14 -0
  296. package/esm/sdk/preflight.d.ts.map +1 -1
  297. package/esm/sdk/preflight.js +20 -0
  298. package/esm/sdk/preflight.js.map +1 -1
  299. package/esm/sdk/sdk.d.ts +12 -0
  300. package/esm/sdk/sdk.d.ts.map +1 -1
  301. package/esm/sdk/sdk.js +20 -0
  302. package/esm/sdk/sdk.js.map +1 -1
  303. package/esm/sdk/transfers.d.ts +1 -1
  304. package/esm/sdk/transfers.js +1 -1
  305. package/esm/sdk/travel-rule.d.ts +12 -0
  306. package/esm/sdk/travel-rule.d.ts.map +1 -0
  307. package/esm/sdk/travel-rule.js +18 -0
  308. package/esm/sdk/travel-rule.js.map +1 -0
  309. package/jsr.json +1 -1
  310. package/package.json +1 -1
  311. package/src/funcs/approvals-get-approvals-by-approval-id-status.ts +197 -0
  312. package/src/funcs/approvals-get-approvals-by-approval-id.ts +204 -0
  313. package/src/funcs/approvals-post-approvals.ts +189 -0
  314. package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-allocate.ts +3 -0
  315. package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-documents.ts +8 -22
  316. package/src/funcs/attestations-post-attestations.ts +2 -2
  317. package/src/funcs/auth-post-auth-accept-invite.ts +1 -1
  318. package/src/funcs/auth-post-auth-login.ts +1 -1
  319. package/src/funcs/auth-post-auth-refresh.ts +1 -1
  320. package/src/funcs/bridge-get-orgs-by-org-id-bridge-history.ts +1 -1
  321. package/src/funcs/bridge-post-orgs-by-org-id-assets-by-asset-id-bridge.ts +1 -1
  322. package/src/funcs/eligibility-post-eligibility-check.ts +191 -0
  323. package/src/funcs/health-get-health.ts +1 -1
  324. package/src/funcs/mfa-post-auth-mfa-verify.ts +2 -2
  325. package/src/funcs/o-auth-get-oauth-authorize.ts +1 -1
  326. package/src/funcs/o-auth-get-oauth-userinfo.ts +16 -1
  327. package/src/funcs/o-auth-management-delete-orgs-by-org-id-oauth-clients-by-client-id.ts +3 -0
  328. package/src/funcs/o-auth-management-post-orgs-by-org-id-oauth-clients.ts +6 -1
  329. package/src/funcs/o-auth-management-put-orgs-by-org-id-oauth-clients-by-client-id.ts +4 -1
  330. package/src/funcs/o-auth-post-oauth-token.ts +9 -1
  331. package/src/funcs/organizations-put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.ts +13 -25
  332. package/src/funcs/passport-get-login-passport-status.ts +158 -0
  333. package/src/funcs/passport-get-passport-home.ts +170 -0
  334. package/src/funcs/passport-get-passport-sign-in.ts +172 -0
  335. package/src/funcs/passport-post-login-passport-finish.ts +184 -0
  336. package/src/funcs/passport-post-passport-sign-in-decision.ts +201 -0
  337. package/src/funcs/preflight-get-preflight-results-by-result-id.ts +202 -0
  338. package/src/funcs/preflight-post-preflight-intents.ts +190 -0
  339. package/src/funcs/transfers-get-transfers.ts +1 -1
  340. package/src/funcs/travel-rule-post-travel-rule-records.ts +190 -0
  341. package/src/funcs/ui-get-login.ts +1 -0
  342. package/src/lib/config.ts +2 -2
  343. package/src/models/errors/get-approvals-by-approval-id.ts +83 -0
  344. package/src/models/errors/get-oauth-authorize.ts +6 -6
  345. package/src/models/errors/get-oauth-userinfo.ts +273 -4
  346. package/src/models/errors/get-passport-home.ts +182 -0
  347. package/src/models/errors/get-passport-sign-in.ts +182 -0
  348. package/src/models/errors/index.ts +6 -0
  349. package/src/models/errors/o-auth-error-response.ts +99 -0
  350. package/src/models/errors/post-eligibility-check.ts +103 -0
  351. package/src/models/errors/post-oauth-par.ts +10 -10
  352. package/src/models/errors/post-oauth-revoke.ts +10 -10
  353. package/src/models/errors/post-oauth-token.ts +180 -6
  354. package/src/models/errors/post-passport-sign-in-decision.ts +179 -0
  355. package/src/models/errors/problem-details-error.ts +30 -0
  356. package/src/models/operations/get-approvals-by-approval-id-status.ts +161 -0
  357. package/src/models/operations/get-approvals-by-approval-id.ts +735 -0
  358. package/src/models/operations/get-health.ts +10 -0
  359. package/src/models/operations/get-login-passport-status.ts +91 -0
  360. package/src/models/operations/get-login.ts +3 -0
  361. package/src/models/operations/get-oauth-userinfo.ts +112 -0
  362. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +2 -0
  363. package/src/models/operations/get-orgs-by-org-id-oauth-clients-by-client-id.ts +118 -0
  364. package/src/models/operations/get-orgs-by-org-id-oauth-clients.ts +113 -0
  365. package/src/models/operations/get-passport-home.ts +16 -0
  366. package/src/models/operations/get-passport-sign-in.ts +16 -0
  367. package/src/models/operations/get-preflight-results-by-result-id.ts +653 -0
  368. package/src/models/operations/index.ts +12 -0
  369. package/src/models/operations/post-approvals.ts +192 -0
  370. package/src/models/operations/post-attestations.ts +39 -8
  371. package/src/models/operations/post-auth-verify-email.ts +33 -19
  372. package/src/models/operations/post-consent.ts +4 -0
  373. package/src/models/operations/post-eligibility-check.ts +120 -0
  374. package/src/models/operations/post-login-passport-finish.ts +76 -0
  375. package/src/models/operations/post-oauth-token.ts +53 -14
  376. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.ts +23 -11
  377. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-compliance-policy.ts +4 -0
  378. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-documents.ts +0 -32
  379. package/src/models/operations/post-orgs-by-org-id-oauth-clients.ts +248 -0
  380. package/src/models/operations/post-passport-sign-in-decision.ts +67 -0
  381. package/src/models/operations/post-preflight-intents.ts +728 -0
  382. package/src/models/operations/post-preflight.ts +18 -15
  383. package/src/models/operations/post-travel-rule-records.ts +68 -0
  384. package/src/models/operations/put-orgs-by-org-id-oauth-clients-by-client-id.ts +263 -0
  385. package/src/models/operations/put-orgs-by-org-id-sub-orgs-by-sub-org-id-move.ts +0 -32
  386. package/src/sdk/approvals.ts +63 -0
  387. package/src/sdk/assets.ts +1 -3
  388. package/src/sdk/attestations.ts +1 -1
  389. package/src/sdk/auth.ts +1 -1
  390. package/src/sdk/bridge.ts +1 -1
  391. package/src/sdk/eligibility.ts +27 -0
  392. package/src/sdk/health.ts +1 -1
  393. package/src/sdk/o-auth.ts +3 -3
  394. package/src/sdk/organizations.ts +1 -3
  395. package/src/sdk/passport.ts +93 -0
  396. package/src/sdk/preflight.ts +36 -0
  397. package/src/sdk/sdk.ts +24 -0
  398. package/src/sdk/transfers.ts +1 -1
  399. package/src/sdk/travel-rule.ts +27 -0
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { eligibilityPostEligibilityCheck } from "../funcs/eligibility-post-eligibility-check.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { unwrapAsync } from "../types/fp.js";
9
+
10
+ export class Eligibility extends ClientSDK {
11
+ /**
12
+ * Check holder eligibility for target assets
13
+ *
14
+ * @remarks
15
+ * Evaluates whether the authenticated holder is eligible to subscribe to one or more target assets, returning a per-gate breakdown driven by the compliance engine. Accepts JWT callers and partner (DPoP-bound OAuth) callers with the clossir:eligibility scope. API-key callers receive 403. A partner call answers 503 temporarily_unavailable when MFA enforcement or the consent check cannot be read; MFA-gate outages carry Retry-After.
16
+ */
17
+ async postEligibilityCheck(
18
+ request: operations.PostEligibilityCheckRequest,
19
+ options?: RequestOptions,
20
+ ): Promise<operations.PostEligibilityCheckResponse> {
21
+ return unwrapAsync(eligibilityPostEligibilityCheck(
22
+ this,
23
+ request,
24
+ options,
25
+ ));
26
+ }
27
+ }
package/src/sdk/health.ts CHANGED
@@ -13,7 +13,7 @@ export class Health extends ClientSDK {
13
13
  * Health check
14
14
  *
15
15
  * @remarks
16
- * Returns the service health status, version, and issuer URL
16
+ * Returns the service health status, version, build commit, and issuer URL
17
17
  */
18
18
  async getHealth(
19
19
  options?: RequestOptions,
package/src/sdk/o-auth.ts CHANGED
@@ -16,7 +16,7 @@ export class OAuth extends ClientSDK {
16
16
  * OAuth2 Authorization
17
17
  *
18
18
  * @remarks
19
- * Initiate OAuth2 authorization code flow. Redirects to login page for user authentication. Either pass the authorization parameters in the query, or pass client_id and a request_uri from POST /oauth/par (RFC 9126); clients registered to require PAR must use the latter. A bad, expired, reused or foreign request_uri is a 400 invalid_request_uri.
19
+ * Initiate OAuth2 authorization code flow. Redirects to login page for user authentication. Either pass the authorization parameters in the query, or pass client_id and a request_uri from POST /oauth/par (RFC 9126); clients registered to require PAR must use the latter. A bad, expired, reused or foreign request_uri is a 400 invalid_request_uri. A browser request (Accept: text/html) with an unknown client or an unregistered redirect_uri gets a 400 HTML page instead of the JSON error; nothing is redirected.
20
20
  */
21
21
  async getOauthAuthorize(
22
22
  request: operations.GetOauthAuthorizeRequest,
@@ -50,7 +50,7 @@ export class OAuth extends ClientSDK {
50
50
  * Token exchange
51
51
  *
52
52
  * @remarks
53
- * Exchange authorization code for tokens or refresh existing tokens.
53
+ * Exchange authorization code for tokens or refresh existing tokens. Clossir Passport extension clients must send X-Clossir-Passport-Version (Chrome manifest version format); a missing, malformed or below-minimum version answers 426 update_required (minimum_version only on below-minimum) and nothing is consumed; 503 temporarily_unavailable when the version policy has never loaded. DPoP (RFC 9449): a DPoP header carrying an ES256 proof binds the issued access token (cnf.jkt) and, for a public client, the refresh token to the proof key, and token_type is DPoP; a client registered to require DPoP must send one. A proof without the server nonce answers 400 use_dpop_nonce with a DPoP-Nonce header; an invalid or replayed proof answers 400 invalid_dpop_proof; nothing is consumed on either. On the refresh_token grant, when MFA enforcement cannot be evaluated or the token or its user cannot be read, the answer is 503 temporarily_unavailable with Retry-After, never invalid_grant; the refresh token is neither rotated nor revoked and can be re-presented. On the authorization_code grant the same faults answer 503 temporarily_unavailable without Retry-After: the code is already consumed, so the client must restart authorization.
54
54
  */
55
55
  async postOauthToken(
56
56
  request: operations.PostOauthTokenRequest,
@@ -84,7 +84,7 @@ export class OAuth extends ClientSDK {
84
84
  * OIDC UserInfo
85
85
  *
86
86
  * @remarks
87
- * Get user claims based on granted scopes. Standard OIDC UserInfo endpoint.
87
+ * Get user claims based on granted scopes. Standard OIDC UserInfo endpoint. The access token is accepted only in the Authorization header (Bearer, or DPoP); access_token in the query string or a form body answers 400 invalid_request, also next to a valid header (RFC 6750 §2: exactly one method). A token issued to a Clossir Passport extension client additionally requires X-Clossir-Passport-Version: 426 update_required when missing, malformed or below the minimum; 503 temporarily_unavailable when the version policy has never loaded. A DPoP-bound access token (token_type DPoP) must be sent as Authorization: DPoP with a DPoP proof over the token (RFC 9449); presenting it as Bearer, or a proof by another key, answers 401 with a WWW-Authenticate: DPoP challenge, and 401 use_dpop_nonce carries the DPoP-Nonce to sign. When MFA enforcement cannot be evaluated, or the token's user cannot be read, the answer is 503 temporarily_unavailable with Retry-After and no WWW-Authenticate challenge: the token was not judged invalid.
88
88
  */
89
89
  async getOauthUserinfo(
90
90
  options?: RequestOptions,
@@ -627,10 +627,9 @@ export class Organizations extends ClientSDK {
627
627
  * Move sub-organization
628
628
  *
629
629
  * @remarks
630
- * Moves a sub-organization to a different parent. Updates hierarchy paths and depths for the sub-org and all its descendants. Requires admin role in both the current and new parent orgs.
630
+ * Moves a sub-organization, with its whole subtree, under a different parent in the same organization tree, in one transaction. The caller must be an active admin of the current parent (or an ancestor of it) and of the new parent (or an ancestor of it). User sessions only: API keys get 403. 400 circular_reference / root_not_movable; 404 sub_org_not_found / new_parent_not_found; 409 org_not_active, protected_org_in_subtree, scoped_api_key_in_subtree, hierarchy_too_deep, or conflict (another move in the same tree is in progress; retry); 429 rate limited. Moving to the current parent is a no-op that returns the unchanged organization.
631
631
  */
632
632
  async putOrgsByOrgIdSubOrgsBySubOrgIdMove(
633
- security: operations.PutOrgsByOrgIdSubOrgsBySubOrgIdMoveSecurity,
634
633
  orgId: string,
635
634
  subOrgId: string,
636
635
  body: operations.PutOrgsByOrgIdSubOrgsBySubOrgIdMoveRequestBody,
@@ -638,7 +637,6 @@ export class Organizations extends ClientSDK {
638
637
  ): Promise<operations.PutOrgsByOrgIdSubOrgsBySubOrgIdMoveResponse> {
639
638
  return unwrapAsync(organizationsPutOrgsByOrgIdSubOrgsBySubOrgIdMove(
640
639
  this,
641
- security,
642
640
  orgId,
643
641
  subOrgId,
644
642
  body,
@@ -0,0 +1,93 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { passportGetLoginPassportStatus } from "../funcs/passport-get-login-passport-status.js";
6
+ import { passportGetPassportHome } from "../funcs/passport-get-passport-home.js";
7
+ import { passportGetPassportSignIn } from "../funcs/passport-get-passport-sign-in.js";
8
+ import { passportPostLoginPassportFinish } from "../funcs/passport-post-login-passport-finish.js";
9
+ import { passportPostPassportSignInDecision } from "../funcs/passport-post-passport-sign-in-decision.js";
10
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
+ import * as operations from "../models/operations/index.js";
12
+ import { unwrapAsync } from "../types/fp.js";
13
+
14
+ export class Passport extends ClientSDK {
15
+ /**
16
+ * Passport home (personal context)
17
+ *
18
+ * @remarks
19
+ * The signed-in user's identity verification, holdings, wallets, value, 12-month change, yield and recent activity. Requires a Clossir Passport client's DPoP-bound access token sent as Authorization: DPoP with a fresh DPoP proof, plus X-Clossir-Passport-Version; session JWTs, API keys, Bearer tokens and partner tokens answer 401 with a WWW-Authenticate: DPoP challenge. context=personal is required; context=org and context=org:<id> answer 422 context_not_available. Amounts are decimal strings; a value that cannot be computed completely is null with a reason. 503 temporarily_unavailable with Retry-After on a database fault, including when MFA enforcement cannot be evaluated; never 401, so the token is not discarded.
20
+ */
21
+ async getPassportHome(
22
+ options?: RequestOptions,
23
+ ): Promise<any> {
24
+ return unwrapAsync(passportGetPassportHome(
25
+ this,
26
+ options,
27
+ ));
28
+ }
29
+
30
+ /**
31
+ * Claim a pending web sign-in for Passport
32
+ *
33
+ * @remarks
34
+ * Claims the pending web sign-in named by ?session_id= (exactly one lowercase v4 UUID) for the calling Passport (user, Passport client and DPoP key) and returns the partner's display name, the origin of its registered redirect, and each requested scope with its required flag. No user data. Idempotent for the same Passport. Requires a Clossir Passport client's DPoP-bound access token sent as Authorization: DPoP with a fresh DPoP proof, plus X-Clossir-Passport-Version; session JWTs, API keys, Bearer tokens and partner tokens answer 401 with a WWW-Authenticate: DPoP challenge. Requires the per-sign-in hand-off secret in the X-Clossir-Passport-Handoff header (never the query); a missing or wrong secret answers as not found. 400 invalid_request for a missing, repeated or malformed session_id. 404 not_found, one identical body, for an unknown, expired or ineligible sign-in or a missing or wrong hand-off secret. 409 identity_mismatch when the sign-in belongs to another user; 409 already_decided when another Passport holds it or it was already decided. 503 when the session store is unavailable. Served with Cache-Control: no-store.
35
+ */
36
+ async getPassportSignIn(
37
+ options?: RequestOptions,
38
+ ): Promise<any> {
39
+ return unwrapAsync(passportGetPassportSignIn(
40
+ this,
41
+ options,
42
+ ));
43
+ }
44
+
45
+ /**
46
+ * Record the Passport user's sign-in decision
47
+ *
48
+ * @remarks
49
+ * Records allow (with granted_scopes, which must include openid and clossir:attestation and be a subset of the requested scopes) or deny for a sign-in this Passport claimed. Single-shot. Does not issue an authorization code and does not save consent; the bound browser's finish step does. Requires a Clossir Passport client's DPoP-bound access token sent as Authorization: DPoP with a fresh DPoP proof, plus X-Clossir-Passport-Version; session JWTs, API keys, Bearer tokens and partner tokens answer 401 with a WWW-Authenticate: DPoP challenge. 400 invalid_request for a body that fails PassportSignInDecisionRequestSchema or grants a scope that was not requested. 404 not_found for an unclaimed, unknown, expired or ineligible sign-in. 409 identity_mismatch or already_decided as for the claim. 503 when the session store is unavailable. Served with Cache-Control: no-store.
50
+ */
51
+ async postPassportSignInDecision(
52
+ request: operations.PostPassportSignInDecisionRequest,
53
+ options?: RequestOptions,
54
+ ): Promise<any> {
55
+ return unwrapAsync(passportPostPassportSignInDecision(
56
+ this,
57
+ request,
58
+ options,
59
+ ));
60
+ }
61
+
62
+ /**
63
+ * Poll a Passport sign-in from the browser that started it
64
+ *
65
+ * @remarks
66
+ * Answers waiting (not claimed), claimed (a Passport holds it) or decided (allow or deny; never which) for the sign-in named by ?session_id= (exactly one lowercase v4 UUID). Requires the browser-binding cookie set by /oauth/authorize. 404 not_found, one identical body, for a missing or wrong cookie and an unknown, expired or malformed session. 429 when polled faster than once a second. 503 when the session store is unavailable. Served with Cache-Control: no-store.
67
+ */
68
+ async getLoginPassportStatus(
69
+ options?: RequestOptions,
70
+ ): Promise<operations.GetLoginPassportStatusResponse> {
71
+ return unwrapAsync(passportGetLoginPassportStatus(
72
+ this,
73
+ options,
74
+ ));
75
+ }
76
+
77
+ /**
78
+ * Finish a Passport sign-in in the browser that started it
79
+ *
80
+ * @remarks
81
+ * Form post from the hosted sign-in page with session_id and csrf_token, from the browser holding the binding cookie. On allow, saves consent and issues the authorization code (302 to the client's redirect with code and state); on deny, 302 with error=access_denied. 303 back to /login while Passport has not decided. HTML refusal pages otherwise. Every redirect that ends the flow clears the binding cookie.
82
+ */
83
+ async postLoginPassportFinish(
84
+ request: operations.PostLoginPassportFinishRequest,
85
+ options?: RequestOptions,
86
+ ): Promise<operations.PostLoginPassportFinishResponse | undefined> {
87
+ return unwrapAsync(passportPostLoginPassportFinish(
88
+ this,
89
+ request,
90
+ options,
91
+ ));
92
+ }
93
+ }
@@ -2,6 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { preflightGetPreflightResultsByResultId } from "../funcs/preflight-get-preflight-results-by-result-id.js";
6
+ import { preflightPostPreflightIntents } from "../funcs/preflight-post-preflight-intents.js";
5
7
  import { preflightPostPreflight } from "../funcs/preflight-post-preflight.js";
6
8
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
9
  import * as operations from "../models/operations/index.js";
@@ -26,4 +28,38 @@ export class Preflight extends ClientSDK {
26
28
  options,
27
29
  ));
28
30
  }
31
+
32
+ /**
33
+ * Create an intent-bound preflight check
34
+ *
35
+ * @remarks
36
+ * Builds a transaction intent, runs policy gates, calls the preflight-gateway for simulation and a signed report, and returns a PreflightResult bound to the intent with a 300s TTL. CQRS exception: synchronous 200 that writes evidence rows. No Kafka.
37
+ */
38
+ async postPreflightIntents(
39
+ request: operations.PostPreflightIntentsRequest,
40
+ options?: RequestOptions,
41
+ ): Promise<operations.PostPreflightIntentsResponse> {
42
+ return unwrapAsync(preflightPostPreflightIntents(
43
+ this,
44
+ request,
45
+ options,
46
+ ));
47
+ }
48
+
49
+ /**
50
+ * Read a preflight result
51
+ *
52
+ * @remarks
53
+ * Returns the actor's own preflight result row. Returns expired results (freshness is the consumer's check). 404 for another actor's result.
54
+ */
55
+ async getPreflightResultsByResultId(
56
+ resultId: string,
57
+ options?: RequestOptions,
58
+ ): Promise<operations.GetPreflightResultsByResultIdResponse> {
59
+ return unwrapAsync(preflightGetPreflightResultsByResultId(
60
+ this,
61
+ resultId,
62
+ options,
63
+ ));
64
+ }
29
65
  }
package/src/sdk/sdk.ts CHANGED
@@ -7,6 +7,7 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
7
  import { unwrapAsync } from "../types/fp.js";
8
8
  import { AccountTimeseries } from "./account-timeseries.js";
9
9
  import { Accounts } from "./accounts.js";
10
+ import { Approvals } from "./approvals.js";
10
11
  import { Assets } from "./assets.js";
11
12
  import { Attestations } from "./attestations.js";
12
13
  import { Auth } from "./auth.js";
@@ -16,6 +17,7 @@ import { Chains } from "./chains.js";
16
17
  import { Commands } from "./commands.js";
17
18
  import { Compliance } from "./compliance.js";
18
19
  import { Distributions } from "./distributions.js";
20
+ import { Eligibility } from "./eligibility.js";
19
21
  import { Fees } from "./fees.js";
20
22
  import { Health } from "./health.js";
21
23
  import { Jurisdictions } from "./jurisdictions.js";
@@ -27,10 +29,12 @@ import { Nav } from "./nav.js";
27
29
  import { OAuthManagement } from "./o-auth-management.js";
28
30
  import { OAuth } from "./o-auth.js";
29
31
  import { Organizations } from "./organizations.js";
32
+ import { Passport } from "./passport.js";
30
33
  import { Preflight } from "./preflight.js";
31
34
  import { PublicMarketData } from "./public-market-data.js";
32
35
  import { Timeseries } from "./timeseries.js";
33
36
  import { Transfers } from "./transfers.js";
37
+ import { TravelRule } from "./travel-rule.js";
34
38
  import { Ui } from "./ui.js";
35
39
  import { Uploads } from "./uploads.js";
36
40
  import { Vaults } from "./vaults.js";
@@ -151,6 +155,21 @@ export class Clossir extends ClientSDK {
151
155
  return (this._preflight ??= new Preflight(this._options));
152
156
  }
153
157
 
158
+ private _travelRule?: TravelRule;
159
+ get travelRule(): TravelRule {
160
+ return (this._travelRule ??= new TravelRule(this._options));
161
+ }
162
+
163
+ private _passport?: Passport;
164
+ get passport(): Passport {
165
+ return (this._passport ??= new Passport(this._options));
166
+ }
167
+
168
+ private _approvals?: Approvals;
169
+ get approvals(): Approvals {
170
+ return (this._approvals ??= new Approvals(this._options));
171
+ }
172
+
154
173
  private _jurisdictions?: Jurisdictions;
155
174
  get jurisdictions(): Jurisdictions {
156
175
  return (this._jurisdictions ??= new Jurisdictions(this._options));
@@ -166,6 +185,11 @@ export class Clossir extends ClientSDK {
166
185
  return (this._uploads ??= new Uploads(this._options));
167
186
  }
168
187
 
188
+ private _eligibility?: Eligibility;
189
+ get eligibility(): Eligibility {
190
+ return (this._eligibility ??= new Eligibility(this._options));
191
+ }
192
+
169
193
  private _publicMarketData?: PublicMarketData;
170
194
  get publicMarketData(): PublicMarketData {
171
195
  return (this._publicMarketData ??= new PublicMarketData(this._options));
@@ -14,7 +14,7 @@ export class Transfers extends ClientSDK {
14
14
  * List transfers (org-scoped)
15
15
  *
16
16
  * @remarks
17
- * Returns the transfers initiated by the active members of the organization named by `orgId` (rows are selected by member user id, so a member's transfers of another organization's assets are included unless `assetId` narrows them), optionally filtered by assetId, type (allocation/transfer), and status. Supports cursor-based pagination. Enriches each record with recipient name and cross-chain metadata. Readable by admin, operator or compliance_officer in the organization named by `orgId`; an API key of that organization needs `transfers:read`.
17
+ * Returns the transfers initiated by the active members of the organization named by `orgId` of that organization's own assets: for a user token, assets owned by the organization or any of its sub-organizations; for an API key, assets owned by exactly that organization. A member's transfers of another organization's assets, and transfers with no known asset, are not included. Optionally filtered by assetId, type (allocation/transfer), and status. Supports cursor-based pagination. Enriches each record with recipient name and cross-chain metadata. Readable by admin, operator or compliance_officer in the organization named by `orgId`; an API key of that organization needs `transfers:read`.
18
18
  */
19
19
  async getTransfers(
20
20
  security: operations.GetTransfersSecurity,
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { travelRulePostTravelRuleRecords } from "../funcs/travel-rule-post-travel-rule-records.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { unwrapAsync } from "../types/fp.js";
9
+
10
+ export class TravelRule extends ClientSDK {
11
+ /**
12
+ * Create a Travel Rule beneficiary record for a transaction intent
13
+ *
14
+ * @remarks
15
+ * Stores the FATF Travel Rule beneficiary name for an existing transaction intent. Actor-scoped; the caller must own the intent. One record per intent (409 on duplicate). Consumed intents are rejected (409). Synchronous 201 insert (CQRS exception). No Kafka.
16
+ */
17
+ async postTravelRuleRecords(
18
+ request: operations.PostTravelRuleRecordsRequest,
19
+ options?: RequestOptions,
20
+ ): Promise<operations.PostTravelRuleRecordsResponse> {
21
+ return unwrapAsync(travelRulePostTravelRuleRecords(
22
+ this,
23
+ request,
24
+ options,
25
+ ));
26
+ }
27
+ }