@clossir-tech/ts-sdk 0.10.4 → 0.10.6

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 (228) hide show
  1. package/README.md +30 -24
  2. package/esm/funcs/assets-get-assets-by-asset-id.d.ts +2 -2
  3. package/esm/funcs/assets-get-assets-by-asset-id.js +3 -3
  4. package/esm/funcs/assets-get-assets-by-asset-id.js.map +1 -1
  5. package/esm/funcs/assets-get-assets.d.ts +2 -2
  6. package/esm/funcs/assets-get-assets.js +3 -3
  7. package/esm/funcs/assets-get-assets.js.map +1 -1
  8. package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.d.ts +1 -1
  9. package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.js +2 -4
  10. package/esm/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.js.map +1 -1
  11. package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.d.ts +1 -1
  12. package/esm/funcs/bridge-get-orgs-by-org-id-bridge-history.js +1 -1
  13. package/esm/funcs/commands-get-commands-by-command-id.d.ts +20 -0
  14. package/esm/funcs/commands-get-commands-by-command-id.d.ts.map +1 -0
  15. package/esm/funcs/commands-get-commands-by-command-id.js +98 -0
  16. package/esm/funcs/commands-get-commands-by-command-id.js.map +1 -0
  17. package/esm/funcs/o-auth-get-oauth-authorize.d.ts +1 -1
  18. package/esm/funcs/o-auth-get-oauth-authorize.js +2 -1
  19. package/esm/funcs/o-auth-get-oauth-authorize.js.map +1 -1
  20. package/esm/funcs/o-auth-post-oauth-par.d.ts +18 -0
  21. package/esm/funcs/o-auth-post-oauth-par.d.ts.map +1 -0
  22. package/esm/funcs/{o-auth-post-oauth-authorize-callback.js → o-auth-post-oauth-par.js} +15 -11
  23. package/esm/funcs/o-auth-post-oauth-par.js.map +1 -0
  24. package/esm/funcs/o-auth-post-oauth-revoke.d.ts +2 -2
  25. package/esm/funcs/o-auth-post-oauth-revoke.d.ts.map +1 -1
  26. package/esm/funcs/o-auth-post-oauth-revoke.js +4 -2
  27. package/esm/funcs/o-auth-post-oauth-revoke.js.map +1 -1
  28. package/esm/funcs/o-auth-post-oauth-token.d.ts +1 -1
  29. package/esm/funcs/o-auth-post-oauth-token.d.ts.map +1 -1
  30. package/esm/funcs/o-auth-post-oauth-token.js +3 -1
  31. package/esm/funcs/o-auth-post-oauth-token.js.map +1 -1
  32. package/esm/funcs/organizations-get-orgs-by-org-id-attestations.d.ts +1 -1
  33. package/esm/funcs/organizations-get-orgs-by-org-id-attestations.js +1 -1
  34. package/esm/funcs/organizations-get-orgs-by-org-id-audit-logs.d.ts +3 -0
  35. package/esm/funcs/organizations-get-orgs-by-org-id-audit-logs.d.ts.map +1 -1
  36. package/esm/funcs/organizations-get-orgs-by-org-id-audit-logs.js +3 -0
  37. package/esm/funcs/organizations-get-orgs-by-org-id-audit-logs.js.map +1 -1
  38. package/esm/funcs/organizations-get-orgs-by-org-id-issuer.d.ts +1 -1
  39. package/esm/funcs/organizations-get-orgs-by-org-id-issuer.js +1 -1
  40. package/esm/funcs/organizations-get-orgs-by-org-id-members-by-user-id-holdings.js +3 -1
  41. package/esm/funcs/organizations-get-orgs-by-org-id-members-by-user-id-holdings.js.map +1 -1
  42. package/esm/funcs/organizations-get-orgs-by-org-id-members.d.ts +1 -1
  43. package/esm/funcs/organizations-get-orgs-by-org-id-members.js +1 -1
  44. package/esm/funcs/organizations-get-orgs-by-org-id-summary.d.ts +1 -1
  45. package/esm/funcs/organizations-get-orgs-by-org-id-summary.js +1 -1
  46. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-balance-summary.js +1 -1
  47. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-balance-summary.js.map +1 -1
  48. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-holdings.js +1 -1
  49. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-holdings.js.map +1 -1
  50. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-wallets.d.ts +3 -0
  51. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-wallets.d.ts.map +1 -1
  52. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-wallets.js +4 -1
  53. package/esm/funcs/organizations-get-orgs-by-org-id-users-by-user-id-wallets.js.map +1 -1
  54. package/esm/funcs/organizations-get-orgs-by-org-id-users.d.ts +3 -0
  55. package/esm/funcs/organizations-get-orgs-by-org-id-users.d.ts.map +1 -1
  56. package/esm/funcs/organizations-get-orgs-by-org-id-users.js +3 -0
  57. package/esm/funcs/organizations-get-orgs-by-org-id-users.js.map +1 -1
  58. package/esm/funcs/transfers-get-transfers.d.ts +1 -1
  59. package/esm/funcs/transfers-get-transfers.js +1 -1
  60. package/esm/lib/config.d.ts +2 -2
  61. package/esm/lib/config.js +2 -2
  62. package/esm/models/errors/get-oauth-authorize.d.ts +6 -6
  63. package/esm/models/errors/get-oauth-authorize.js +3 -3
  64. package/esm/models/errors/get-oauth-userinfo.d.ts +4 -4
  65. package/esm/models/errors/get-oauth-userinfo.js +2 -2
  66. package/esm/models/errors/index.d.ts +1 -1
  67. package/esm/models/errors/index.d.ts.map +1 -1
  68. package/esm/models/errors/index.js +1 -1
  69. package/esm/models/errors/index.js.map +1 -1
  70. package/esm/models/errors/{post-oauth-authorize-callback.d.ts → post-oauth-par.d.ts} +84 -29
  71. package/esm/models/errors/post-oauth-par.d.ts.map +1 -0
  72. package/esm/models/errors/{post-oauth-authorize-callback.js → post-oauth-par.js} +79 -23
  73. package/esm/models/errors/post-oauth-par.js.map +1 -0
  74. package/esm/models/errors/post-oauth-revoke.d.ts +15 -15
  75. package/esm/models/errors/post-oauth-revoke.d.ts.map +1 -1
  76. package/esm/models/errors/post-oauth-revoke.js +9 -9
  77. package/esm/models/errors/post-oauth-revoke.js.map +1 -1
  78. package/esm/models/errors/post-oauth-token.d.ts +6 -6
  79. package/esm/models/errors/post-oauth-token.js +3 -3
  80. package/esm/models/operations/get-assets-by-asset-id.d.ts +53 -0
  81. package/esm/models/operations/get-assets-by-asset-id.d.ts.map +1 -1
  82. package/esm/models/operations/get-assets-by-asset-id.js +35 -0
  83. package/esm/models/operations/get-assets-by-asset-id.js.map +1 -1
  84. package/esm/models/operations/get-assets.d.ts +55 -2
  85. package/esm/models/operations/get-assets.d.ts.map +1 -1
  86. package/esm/models/operations/get-assets.js +35 -0
  87. package/esm/models/operations/get-assets.js.map +1 -1
  88. package/esm/models/operations/get-commands-by-command-id.d.ts +91 -0
  89. package/esm/models/operations/get-commands-by-command-id.d.ts.map +1 -0
  90. package/esm/models/operations/get-commands-by-command-id.js +73 -0
  91. package/esm/models/operations/get-commands-by-command-id.js.map +1 -0
  92. package/esm/models/operations/get-oauth-authorize.d.ts +6 -1
  93. package/esm/models/operations/get-oauth-authorize.d.ts.map +1 -1
  94. package/esm/models/operations/get-oauth-authorize.js +2 -0
  95. package/esm/models/operations/get-oauth-authorize.js.map +1 -1
  96. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id.d.ts +17 -0
  97. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id.d.ts.map +1 -1
  98. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id.js +11 -0
  99. package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id.js.map +1 -1
  100. package/esm/models/operations/get-orgs-by-org-id-assets.d.ts +17 -0
  101. package/esm/models/operations/get-orgs-by-org-id-assets.d.ts.map +1 -1
  102. package/esm/models/operations/get-orgs-by-org-id-assets.js +10 -0
  103. package/esm/models/operations/get-orgs-by-org-id-assets.js.map +1 -1
  104. package/esm/models/operations/get-orgs-by-org-id-issuer.d.ts +1 -0
  105. package/esm/models/operations/get-orgs-by-org-id-issuer.d.ts.map +1 -1
  106. package/esm/models/operations/get-orgs-by-org-id-issuer.js +8 -2
  107. package/esm/models/operations/get-orgs-by-org-id-issuer.js.map +1 -1
  108. package/esm/models/operations/get-orgs-permission-scopes.d.ts +21 -1
  109. package/esm/models/operations/get-orgs-permission-scopes.d.ts.map +1 -1
  110. package/esm/models/operations/get-orgs-permission-scopes.js +3 -1
  111. package/esm/models/operations/get-orgs-permission-scopes.js.map +1 -1
  112. package/esm/models/operations/index.d.ts +2 -1
  113. package/esm/models/operations/index.d.ts.map +1 -1
  114. package/esm/models/operations/index.js +2 -1
  115. package/esm/models/operations/index.js.map +1 -1
  116. package/esm/models/operations/patch-orgs-by-org-id-assets-by-asset-id.d.ts +18 -0
  117. package/esm/models/operations/patch-orgs-by-org-id-assets-by-asset-id.d.ts.map +1 -1
  118. package/esm/models/operations/patch-orgs-by-org-id-assets-by-asset-id.js +10 -0
  119. package/esm/models/operations/patch-orgs-by-org-id-assets-by-asset-id.js.map +1 -1
  120. package/esm/models/operations/post-oauth-par.d.ts +98 -0
  121. package/esm/models/operations/post-oauth-par.d.ts.map +1 -0
  122. package/esm/models/operations/post-oauth-par.js +53 -0
  123. package/esm/models/operations/post-oauth-par.js.map +1 -0
  124. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts +1 -0
  125. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.d.ts.map +1 -1
  126. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js +1 -0
  127. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.js.map +1 -1
  128. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-deploy.d.ts +1 -0
  129. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-deploy.d.ts.map +1 -1
  130. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-deploy.js +1 -0
  131. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-deploy.js.map +1 -1
  132. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets.d.ts +1 -0
  133. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets.d.ts.map +1 -1
  134. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets.js +1 -0
  135. package/esm/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
  136. package/esm/models/operations/post-orgs-by-org-id-issuer-register.d.ts +11 -0
  137. package/esm/models/operations/post-orgs-by-org-id-issuer-register.d.ts.map +1 -1
  138. package/esm/models/operations/post-orgs-by-org-id-issuer-register.js +9 -0
  139. package/esm/models/operations/post-orgs-by-org-id-issuer-register.js.map +1 -1
  140. package/esm/models/operations/post-transfers.d.ts +1 -0
  141. package/esm/models/operations/post-transfers.d.ts.map +1 -1
  142. package/esm/models/operations/post-transfers.js +1 -0
  143. package/esm/models/operations/post-transfers.js.map +1 -1
  144. package/esm/sdk/assets.d.ts +5 -5
  145. package/esm/sdk/assets.js +5 -5
  146. package/esm/sdk/bridge.d.ts +1 -1
  147. package/esm/sdk/bridge.js +1 -1
  148. package/esm/sdk/commands.d.ts +12 -0
  149. package/esm/sdk/commands.d.ts.map +1 -0
  150. package/esm/sdk/commands.js +18 -0
  151. package/esm/sdk/commands.js.map +1 -0
  152. package/esm/sdk/o-auth.d.ts +5 -5
  153. package/esm/sdk/o-auth.d.ts.map +1 -1
  154. package/esm/sdk/o-auth.js +7 -7
  155. package/esm/sdk/o-auth.js.map +1 -1
  156. package/esm/sdk/organizations.d.ts +13 -4
  157. package/esm/sdk/organizations.d.ts.map +1 -1
  158. package/esm/sdk/organizations.js +13 -4
  159. package/esm/sdk/organizations.js.map +1 -1
  160. package/esm/sdk/sdk.d.ts +3 -0
  161. package/esm/sdk/sdk.d.ts.map +1 -1
  162. package/esm/sdk/sdk.js +5 -0
  163. package/esm/sdk/sdk.js.map +1 -1
  164. package/esm/sdk/transfers.d.ts +1 -1
  165. package/esm/sdk/transfers.js +1 -1
  166. package/jsr.json +1 -1
  167. package/package.json +1 -1
  168. package/src/funcs/assets-get-assets-by-asset-id.ts +3 -3
  169. package/src/funcs/assets-get-assets.ts +3 -3
  170. package/src/funcs/assets-patch-orgs-by-org-id-assets-by-asset-id.ts +6 -4
  171. package/src/funcs/bridge-get-orgs-by-org-id-bridge-history.ts +1 -1
  172. package/src/funcs/{o-auth-post-oauth-authorize-callback.ts → commands-get-commands-by-command-id.ts} +46 -51
  173. package/src/funcs/o-auth-get-oauth-authorize.ts +2 -1
  174. package/src/funcs/o-auth-post-oauth-par.ts +191 -0
  175. package/src/funcs/o-auth-post-oauth-revoke.ts +11 -5
  176. package/src/funcs/o-auth-post-oauth-token.ts +6 -0
  177. package/src/funcs/organizations-get-orgs-by-org-id-attestations.ts +1 -1
  178. package/src/funcs/organizations-get-orgs-by-org-id-audit-logs.ts +3 -0
  179. package/src/funcs/organizations-get-orgs-by-org-id-issuer.ts +1 -1
  180. package/src/funcs/organizations-get-orgs-by-org-id-members-by-user-id-holdings.ts +4 -1
  181. package/src/funcs/organizations-get-orgs-by-org-id-members.ts +1 -1
  182. package/src/funcs/organizations-get-orgs-by-org-id-summary.ts +1 -1
  183. package/src/funcs/organizations-get-orgs-by-org-id-users-by-user-id-balance-summary.ts +1 -1
  184. package/src/funcs/organizations-get-orgs-by-org-id-users-by-user-id-holdings.ts +1 -1
  185. package/src/funcs/organizations-get-orgs-by-org-id-users-by-user-id-wallets.ts +4 -1
  186. package/src/funcs/organizations-get-orgs-by-org-id-users.ts +3 -0
  187. package/src/funcs/transfers-get-transfers.ts +1 -1
  188. package/src/lib/config.ts +2 -2
  189. package/src/models/errors/get-oauth-authorize.ts +6 -6
  190. package/src/models/errors/get-oauth-userinfo.ts +4 -4
  191. package/src/models/errors/index.ts +1 -1
  192. package/src/models/errors/post-oauth-par.ts +493 -0
  193. package/src/models/errors/post-oauth-revoke.ts +40 -42
  194. package/src/models/errors/post-oauth-token.ts +6 -6
  195. package/src/models/operations/get-assets-by-asset-id.ts +95 -0
  196. package/src/models/operations/get-assets.ts +93 -2
  197. package/src/models/operations/get-commands-by-command-id.ts +199 -0
  198. package/src/models/operations/get-oauth-authorize.ts +8 -1
  199. package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id.ts +26 -0
  200. package/src/models/operations/get-orgs-by-org-id-assets.ts +25 -0
  201. package/src/models/operations/get-orgs-by-org-id-issuer.ts +14 -4
  202. package/src/models/operations/get-orgs-permission-scopes.ts +24 -2
  203. package/src/models/operations/index.ts +2 -1
  204. package/src/models/operations/patch-orgs-by-org-id-assets-by-asset-id.ts +28 -0
  205. package/src/models/operations/post-oauth-par.ts +172 -0
  206. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-allocate.ts +2 -0
  207. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-deploy.ts +2 -0
  208. package/src/models/operations/post-orgs-by-org-id-assets-by-asset-id-markets.ts +2 -0
  209. package/src/models/operations/post-orgs-by-org-id-issuer-register.ts +26 -0
  210. package/src/models/operations/post-transfers.ts +2 -0
  211. package/src/sdk/assets.ts +5 -5
  212. package/src/sdk/bridge.ts +1 -1
  213. package/src/sdk/commands.ts +27 -0
  214. package/src/sdk/o-auth.ts +9 -9
  215. package/src/sdk/organizations.ts +13 -4
  216. package/src/sdk/sdk.ts +6 -0
  217. package/src/sdk/transfers.ts +1 -1
  218. package/esm/funcs/o-auth-post-oauth-authorize-callback.d.ts +0 -18
  219. package/esm/funcs/o-auth-post-oauth-authorize-callback.d.ts.map +0 -1
  220. package/esm/funcs/o-auth-post-oauth-authorize-callback.js.map +0 -1
  221. package/esm/models/errors/post-oauth-authorize-callback.d.ts.map +0 -1
  222. package/esm/models/errors/post-oauth-authorize-callback.js.map +0 -1
  223. package/esm/models/operations/post-oauth-authorize-callback.d.ts +0 -50
  224. package/esm/models/operations/post-oauth-authorize-callback.d.ts.map +0 -1
  225. package/esm/models/operations/post-oauth-authorize-callback.js +0 -39
  226. package/esm/models/operations/post-oauth-authorize-callback.js.map +0 -1
  227. package/src/models/errors/post-oauth-authorize-callback.ts +0 -390
  228. package/src/models/operations/post-oauth-authorize-callback.ts +0 -113
@@ -0,0 +1,191 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { ClossirCore } from "../core.js";
7
+ import { encodeBodyForm } from "../lib/encodings.js";
8
+ import { matchStatusCode } from "../lib/http.js";
9
+ import * as M from "../lib/matchers.js";
10
+ import { compactMap } from "../lib/primitives.js";
11
+ import { safeParse } from "../lib/schemas.js";
12
+ import { RequestOptions } from "../lib/sdks.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/http-client-errors.js";
21
+ import * as errors from "../models/errors/index.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKError } from "../models/errors/sdk-error.js";
24
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Pushed authorization request (RFC 9126)
31
+ *
32
+ * @remarks
33
+ * Push the authorization request parameters over an authenticated back channel (client_secret_basic, client_secret_post, or client_id alone for public clients). Form-encoded body, at most 16 KiB. Returns a single-use request_uri valid for 60 seconds; start the authorization with GET /oauth/authorize?client_id=…&request_uri=…. Clients registered to require PAR can start an authorization only this way. prompt, max_age and acr_values are accepted and stored with the request; they are not yet enforced.
34
+ */
35
+ export function oAuthPostOauthPar(
36
+ client: ClossirCore,
37
+ request: operations.PostOauthParRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ operations.PostOauthParResponse,
42
+ | errors.PostOauthParBadRequestError
43
+ | errors.PostOauthParUnauthorizedError
44
+ | errors.ProblemDetailsError
45
+ | errors.PostOauthParTooManyRequestsError
46
+ | errors.PostOauthParInternalServerError
47
+ | errors.PostOauthParServiceUnavailableError
48
+ | SDKError
49
+ | ResponseValidationError
50
+ | ConnectionError
51
+ | RequestAbortedError
52
+ | RequestTimeoutError
53
+ | InvalidRequestError
54
+ | UnexpectedClientError
55
+ | SDKValidationError
56
+ >
57
+ > {
58
+ return new APIPromise($do(
59
+ client,
60
+ request,
61
+ options,
62
+ ));
63
+ }
64
+
65
+ async function $do(
66
+ client: ClossirCore,
67
+ request: operations.PostOauthParRequest,
68
+ options?: RequestOptions,
69
+ ): Promise<
70
+ [
71
+ Result<
72
+ operations.PostOauthParResponse,
73
+ | errors.PostOauthParBadRequestError
74
+ | errors.PostOauthParUnauthorizedError
75
+ | errors.ProblemDetailsError
76
+ | errors.PostOauthParTooManyRequestsError
77
+ | errors.PostOauthParInternalServerError
78
+ | errors.PostOauthParServiceUnavailableError
79
+ | SDKError
80
+ | ResponseValidationError
81
+ | ConnectionError
82
+ | RequestAbortedError
83
+ | RequestTimeoutError
84
+ | InvalidRequestError
85
+ | UnexpectedClientError
86
+ | SDKValidationError
87
+ >,
88
+ APICall,
89
+ ]
90
+ > {
91
+ const parsed = safeParse(
92
+ request,
93
+ (value) => z.parse(operations.PostOauthParRequest$outboundSchema, value),
94
+ "Input validation failed",
95
+ );
96
+ if (!parsed.ok) {
97
+ return [parsed, { status: "invalid" }];
98
+ }
99
+ const payload = parsed.value;
100
+
101
+ const body = Object.entries(payload || {}).map(([k, v]) => {
102
+ return encodeBodyForm(k, v, { charEncoding: "percent" });
103
+ }).join("&");
104
+
105
+ const path = pathToFunc("/oauth/par")();
106
+
107
+ const headers = new Headers(compactMap({
108
+ "Content-Type": "application/x-www-form-urlencoded",
109
+ Accept: "application/json",
110
+ }));
111
+
112
+ const context = {
113
+ options: client._options,
114
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
115
+ operationID: "postOauthPar",
116
+ oAuth2Scopes: null,
117
+
118
+ resolvedSecurity: null,
119
+
120
+ securitySource: null,
121
+ retryConfig: options?.retries
122
+ || client._options.retryConfig
123
+ || { strategy: "none" },
124
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
125
+ };
126
+
127
+ const requestRes = client._createRequest(context, {
128
+ method: "POST",
129
+ baseURL: options?.serverURL,
130
+ path: path,
131
+ headers: headers,
132
+ body: body,
133
+ userAgent: client._options.userAgent,
134
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
135
+ }, options);
136
+ if (!requestRes.ok) {
137
+ return [requestRes, { status: "invalid" }];
138
+ }
139
+ const req = requestRes.value;
140
+
141
+ const doResult = await client._do(req, {
142
+ context,
143
+ isErrorStatusCode: (statusCode: number) =>
144
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
145
+ retryConfig: context.retryConfig,
146
+ retryCodes: context.retryCodes,
147
+ });
148
+ if (!doResult.ok) {
149
+ return [doResult, { status: "request-error", request: req }];
150
+ }
151
+ const response = doResult.value;
152
+
153
+ const responseFields = {
154
+ HttpMeta: { Response: response, Request: req },
155
+ };
156
+
157
+ const [result] = await M.match<
158
+ operations.PostOauthParResponse,
159
+ | errors.PostOauthParBadRequestError
160
+ | errors.PostOauthParUnauthorizedError
161
+ | errors.ProblemDetailsError
162
+ | errors.PostOauthParTooManyRequestsError
163
+ | errors.PostOauthParInternalServerError
164
+ | errors.PostOauthParServiceUnavailableError
165
+ | SDKError
166
+ | ResponseValidationError
167
+ | ConnectionError
168
+ | RequestAbortedError
169
+ | RequestTimeoutError
170
+ | InvalidRequestError
171
+ | UnexpectedClientError
172
+ | SDKValidationError
173
+ >(
174
+ M.json(201, operations.PostOauthParResponse$inboundSchema),
175
+ M.jsonErr(400, errors.PostOauthParBadRequestError$inboundSchema),
176
+ M.jsonErr(401, errors.PostOauthParUnauthorizedError$inboundSchema),
177
+ M.jsonErr(413, errors.ProblemDetailsError$inboundSchema, {
178
+ ctype: "application/problem+json",
179
+ }),
180
+ M.jsonErr(429, errors.PostOauthParTooManyRequestsError$inboundSchema),
181
+ M.jsonErr(500, errors.PostOauthParInternalServerError$inboundSchema),
182
+ M.jsonErr(503, errors.PostOauthParServiceUnavailableError$inboundSchema),
183
+ M.fail("4XX"),
184
+ M.fail("5XX"),
185
+ )(response, req, { extraFields: responseFields });
186
+ if (!result.ok) {
187
+ return [result, { status: "complete", request: req, response }];
188
+ }
189
+
190
+ return [result, { status: "complete", request: req, response }];
191
+ }
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Revoke token
31
31
  *
32
32
  * @remarks
33
- * Revoke an access or refresh token. Requires client authentication (client_secret_basic, client_secret_post, or client_id for public clients). A refresh token is revoked only for the client it was issued to. Unknown tokens, and tokens of another client, return 200 per RFC 7009 §2.2; 503 temporarily_unavailable (retryable) when the revocation could not be recorded.
33
+ * Revoke an access or refresh token. Requires client authentication (client_secret_basic, client_secret_post, or client_id for public clients). A token is revoked only for the client it was issued to; first-party session tokens are revoked via /auth/logout, not here. Unknown tokens, and tokens of another client, return 200 per RFC 7009 §2.2 and nothing is revoked; 503 temporarily_unavailable (retryable) when the revocation could not be recorded.
34
34
  */
35
35
  export function oAuthPostOauthRevoke(
36
36
  client: ClossirCore,
@@ -41,9 +41,10 @@ export function oAuthPostOauthRevoke(
41
41
  operations.PostOauthRevokeResponse,
42
42
  | errors.PostOauthRevokeBadRequestError
43
43
  | errors.PostOauthRevokeUnauthorizedError
44
+ | errors.ProblemDetailsError
44
45
  | errors.PostOauthRevokeTooManyRequestsError
45
46
  | errors.PostOauthRevokeInternalServerError
46
- | errors.ServiceUnavailableError
47
+ | errors.PostOauthRevokeServiceUnavailableError
47
48
  | SDKError
48
49
  | ResponseValidationError
49
50
  | ConnectionError
@@ -71,9 +72,10 @@ async function $do(
71
72
  operations.PostOauthRevokeResponse,
72
73
  | errors.PostOauthRevokeBadRequestError
73
74
  | errors.PostOauthRevokeUnauthorizedError
75
+ | errors.ProblemDetailsError
74
76
  | errors.PostOauthRevokeTooManyRequestsError
75
77
  | errors.PostOauthRevokeInternalServerError
76
- | errors.ServiceUnavailableError
78
+ | errors.PostOauthRevokeServiceUnavailableError
77
79
  | SDKError
78
80
  | ResponseValidationError
79
81
  | ConnectionError
@@ -153,9 +155,10 @@ async function $do(
153
155
  operations.PostOauthRevokeResponse,
154
156
  | errors.PostOauthRevokeBadRequestError
155
157
  | errors.PostOauthRevokeUnauthorizedError
158
+ | errors.ProblemDetailsError
156
159
  | errors.PostOauthRevokeTooManyRequestsError
157
160
  | errors.PostOauthRevokeInternalServerError
158
- | errors.ServiceUnavailableError
161
+ | errors.PostOauthRevokeServiceUnavailableError
159
162
  | SDKError
160
163
  | ResponseValidationError
161
164
  | ConnectionError
@@ -168,9 +171,12 @@ async function $do(
168
171
  M.json(200, operations.PostOauthRevokeResponse$inboundSchema),
169
172
  M.jsonErr(400, errors.PostOauthRevokeBadRequestError$inboundSchema),
170
173
  M.jsonErr(401, errors.PostOauthRevokeUnauthorizedError$inboundSchema),
174
+ M.jsonErr(413, errors.ProblemDetailsError$inboundSchema, {
175
+ ctype: "application/problem+json",
176
+ }),
171
177
  M.jsonErr(429, errors.PostOauthRevokeTooManyRequestsError$inboundSchema),
172
178
  M.jsonErr(500, errors.PostOauthRevokeInternalServerError$inboundSchema),
173
- M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
179
+ M.jsonErr(503, errors.PostOauthRevokeServiceUnavailableError$inboundSchema),
174
180
  M.fail("4XX"),
175
181
  M.fail("5XX"),
176
182
  )(response, req, { extraFields: responseFields });
@@ -41,6 +41,7 @@ export function oAuthPostOauthToken(
41
41
  operations.PostOauthTokenResponse,
42
42
  | errors.PostOauthTokenBadRequestError
43
43
  | errors.PostOauthTokenUnauthorizedError
44
+ | errors.ProblemDetailsError
44
45
  | errors.PostOauthTokenInternalServerError
45
46
  | SDKError
46
47
  | ResponseValidationError
@@ -69,6 +70,7 @@ async function $do(
69
70
  operations.PostOauthTokenResponse,
70
71
  | errors.PostOauthTokenBadRequestError
71
72
  | errors.PostOauthTokenUnauthorizedError
73
+ | errors.ProblemDetailsError
72
74
  | errors.PostOauthTokenInternalServerError
73
75
  | SDKError
74
76
  | ResponseValidationError
@@ -149,6 +151,7 @@ async function $do(
149
151
  operations.PostOauthTokenResponse,
150
152
  | errors.PostOauthTokenBadRequestError
151
153
  | errors.PostOauthTokenUnauthorizedError
154
+ | errors.ProblemDetailsError
152
155
  | errors.PostOauthTokenInternalServerError
153
156
  | SDKError
154
157
  | ResponseValidationError
@@ -162,6 +165,9 @@ async function $do(
162
165
  M.json(200, operations.PostOauthTokenResponse$inboundSchema),
163
166
  M.jsonErr(400, errors.PostOauthTokenBadRequestError$inboundSchema),
164
167
  M.jsonErr(401, errors.PostOauthTokenUnauthorizedError$inboundSchema),
168
+ M.jsonErr(413, errors.ProblemDetailsError$inboundSchema, {
169
+ ctype: "application/problem+json",
170
+ }),
165
171
  M.jsonErr(500, errors.PostOauthTokenInternalServerError$inboundSchema),
166
172
  M.fail("4XX"),
167
173
  M.fail("5XX"),
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * List attestations for org members
32
32
  *
33
33
  * @remarks
34
- * Returns all attestations for members of this organization, with pagination. Includes user email/display_name for each attestation. Requires org membership (JWT) or API key with read:org or read:attestations permission.
34
+ * Returns all attestations for members of this organization, with pagination. Includes user email/display_name for each attestation. Readable by admin, operator or compliance_officer in the organization; an API key needs `attestations:read`. Operators and API keys may receive reduced user detail (null user fields or empty lists) where database row-level security does not admit them.
35
35
  */
36
36
  export function organizationsGetOrgsByOrgIdAttestations(
37
37
  client: ClossirCore,
@@ -29,6 +29,9 @@ import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
31
  * List org audit logs
32
+ *
33
+ * @remarks
34
+ * Returns the organization's audit log, newest first, with each actor's email where readable. Readable by admin, operator or compliance_officer in the organization; an API key needs `audit:read`. Operators and API keys may receive reduced user detail (null user fields or empty lists) where database row-level security does not admit them.
32
35
  */
33
36
  export function organizationsGetOrgsByOrgIdAuditLogs(
34
37
  client: ClossirCore,
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * Get issuer status for organization
32
32
  *
33
33
  * @remarks
34
- * Returns the issuer registration status and details for this organization.
34
+ * Returns the issuer registration status and details for this organization, including the jurisdictions where the platform operates.
35
35
  */
36
36
  export function organizationsGetOrgsByOrgIdIssuer(
37
37
  client: ClossirCore,
@@ -202,7 +202,10 @@ async function $do(
202
202
  200,
203
203
  operations.GetOrgsByOrgIdMembersByUserIdHoldingsResponse$inboundSchema,
204
204
  ),
205
- M.jsonErr([403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
205
+ M.jsonErr([401, 403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
206
+ ctype: "application/problem+json",
207
+ }),
208
+ M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
206
209
  ctype: "application/problem+json",
207
210
  }),
208
211
  M.fail("4XX"),
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * List organization members
32
32
  *
33
33
  * @remarks
34
- * Returns paginated organization members with user profile details. Use the `role` query parameter to filter by group: `staff` returns admin, operator, and compliance_officer roles; `clients` returns investor and client roles. Use the `q` parameter to search by display name or email. The response always includes both grouped arrays (staff/clients) and a flat members array for convenience. Requires org membership (JWT) or API key with read:org permission.
34
+ * Returns paginated organization members with user profile details. Use the `role` query parameter to filter by group: `staff` returns admin, operator, and compliance_officer roles; `clients` returns investor and client roles. Use the `q` parameter to search by display name or email. The response always includes both grouped arrays (staff/clients) and a flat members array for convenience. Readable by admin, operator or compliance_officer in the organization; an API key needs `members:read`. Operators and API keys may receive reduced user detail (null user fields or empty lists) where database row-level security does not admit them.
35
35
  */
36
36
  export function organizationsGetOrgsByOrgIdMembers(
37
37
  client: ClossirCore,
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * Get organization summary
32
32
  *
33
33
  * @remarks
34
- * Returns aggregated counts and breakdowns for the organization: members (staff/clients), wallets, assets, enabled chains, API keys, and transaction statuses.
34
+ * Returns aggregated counts and breakdowns for the organization: members (staff/clients), wallets, assets, enabled chains, API keys, and transaction statuses. Readable by admin, operator or compliance_officer in the organization; an API key needs `orgs:read`. Operators and API keys may receive reduced user detail (null user fields or empty lists) where database row-level security does not admit them.
35
35
  */
36
36
  export function organizationsGetOrgsByOrgIdSummary(
37
37
  client: ClossirCore,
@@ -204,7 +204,7 @@ async function $do(
204
204
  operations
205
205
  .GetOrgsByOrgIdUsersByUserIdBalanceSummaryResponse$inboundSchema,
206
206
  ),
207
- M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
207
+ M.jsonErr([401, 403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
208
208
  ctype: "application/problem+json",
209
209
  }),
210
210
  M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
@@ -197,7 +197,7 @@ async function $do(
197
197
  200,
198
198
  operations.GetOrgsByOrgIdUsersByUserIdHoldingsResponse$inboundSchema,
199
199
  ),
200
- M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
200
+ M.jsonErr([401, 403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
201
201
  ctype: "application/problem+json",
202
202
  }),
203
203
  M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
@@ -29,6 +29,9 @@ import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
31
  * List user wallets
32
+ *
33
+ * @remarks
34
+ * Returns the linked wallets of one org member. Readable by the member themself, or by a staff role (admin, operator or compliance_officer) in the organization for another member; an API key needs `members:read`. Rows are returned where database row-level security admits the caller. Operators and API keys pass authorization but may receive an empty list. A target who is not an active member answers 404, but only to a caller permitted to read another member.
32
35
  */
33
36
  export function organizationsGetOrgsByOrgIdUsersByUserIdWallets(
34
37
  client: ClossirCore,
@@ -197,7 +200,7 @@ async function $do(
197
200
  200,
198
201
  operations.GetOrgsByOrgIdUsersByUserIdWalletsResponse$inboundSchema,
199
202
  ),
200
- M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
203
+ M.jsonErr([401, 403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
201
204
  ctype: "application/problem+json",
202
205
  }),
203
206
  M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
@@ -29,6 +29,9 @@ import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
31
  * List org users with details
32
+ *
33
+ * @remarks
34
+ * Returns every member of the organization with their user profile, org role and member status. Readable by admin, operator or compliance_officer in the organization; an API key needs `members:read`. Operators and API keys may receive reduced user detail (null user fields or empty lists) where database row-level security does not admit them.
32
35
  */
33
36
  export function organizationsGetOrgsByOrgIdUsers(
34
37
  client: ClossirCore,
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  * List transfers (org-scoped)
32
32
  *
33
33
  * @remarks
34
- * Returns transfers for an organization, optionally filtered by assetId, type (allocation/transfer), and status. Supports cursor-based pagination. Enriches each record with recipient name and cross-chain metadata.
34
+ * 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`.
35
35
  */
36
36
  export function transfersGetTransfers(
37
37
  client: ClossirCore,
package/src/lib/config.ts CHANGED
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "2.0.0",
68
- sdkVersion: "0.10.4",
68
+ sdkVersion: "0.10.6",
69
69
  genVersion: "2.916.4",
70
70
  userAgent:
71
- "speakeasy-sdk/typescript 0.10.4 2.916.4 2.0.0 @clossir-tech/ts-sdk",
71
+ "speakeasy-sdk/typescript 0.10.6 2.916.4 2.0.0 @clossir-tech/ts-sdk",
72
72
  } as const;
@@ -12,7 +12,7 @@ import { SDKError } from "./sdk-error.js";
12
12
  */
13
13
  export type GetOauthAuthorizeInternalServerErrorData = {
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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
16
16
  */
17
17
  error: string;
18
18
  /**
@@ -38,7 +38,7 @@ export type GetOauthAuthorizeInternalServerErrorData = {
38
38
  */
39
39
  export class GetOauthAuthorizeInternalServerError 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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
42
42
  */
43
43
  error: string;
44
44
  /**
@@ -80,7 +80,7 @@ export class GetOauthAuthorizeInternalServerError extends SDKError {
80
80
  */
81
81
  export type GetOauthAuthorizeTooManyRequestsErrorData = {
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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
84
84
  */
85
85
  error: string;
86
86
  /**
@@ -106,7 +106,7 @@ export type GetOauthAuthorizeTooManyRequestsErrorData = {
106
106
  */
107
107
  export class GetOauthAuthorizeTooManyRequestsError 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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
110
110
  */
111
111
  error: string;
112
112
  /**
@@ -148,7 +148,7 @@ export class GetOauthAuthorizeTooManyRequestsError extends SDKError {
148
148
  */
149
149
  export type GetOauthAuthorizeBadRequestErrorData = {
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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
152
152
  */
153
153
  error: string;
154
154
  /**
@@ -174,7 +174,7 @@ export type GetOauthAuthorizeBadRequestErrorData = {
174
174
  */
175
175
  export class GetOauthAuthorizeBadRequestError 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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
178
178
  */
179
179
  error: string;
180
180
  /**
@@ -12,7 +12,7 @@ import { SDKError } from "./sdk-error.js";
12
12
  */
13
13
  export type GetOauthUserinfoInternalServerErrorData = {
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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
16
16
  */
17
17
  error: string;
18
18
  /**
@@ -38,7 +38,7 @@ export type GetOauthUserinfoInternalServerErrorData = {
38
38
  */
39
39
  export class GetOauthUserinfoInternalServerError 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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
42
42
  */
43
43
  error: string;
44
44
  /**
@@ -80,7 +80,7 @@ export class GetOauthUserinfoInternalServerError extends SDKError {
80
80
  */
81
81
  export type GetOauthUserinfoUnauthorizedErrorData = {
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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
84
84
  */
85
85
  error: string;
86
86
  /**
@@ -106,7 +106,7 @@ export type GetOauthUserinfoUnauthorizedErrorData = {
106
106
  */
107
107
  export class GetOauthUserinfoUnauthorizedError 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, 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, or "rate_limited" (Signum-wide rate-limit middleware)
110
110
  */
111
111
  error: string;
112
112
  /**
@@ -6,7 +6,7 @@ export * from "./default-error.js";
6
6
  export * from "./get-oauth-authorize.js";
7
7
  export * from "./get-oauth-userinfo.js";
8
8
  export * from "./http-client-errors.js";
9
- export * from "./post-oauth-authorize-callback.js";
9
+ export * from "./post-oauth-par.js";
10
10
  export * from "./post-oauth-revoke.js";
11
11
  export * from "./post-oauth-token.js";
12
12
  export * from "./problem-details-error.js";