@clossir-tech/ts-sdk 0.9.9 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +18 -17
  2. package/esm/funcs/attestations-delete-attestations-by-id.js +3 -1
  3. package/esm/funcs/attestations-delete-attestations-by-id.js.map +1 -1
  4. package/esm/funcs/attestations-post-attestations.js +3 -1
  5. package/esm/funcs/attestations-post-attestations.js.map +1 -1
  6. package/esm/funcs/auth-get-auth-invite-info.d.ts +1 -1
  7. package/esm/funcs/auth-get-auth-invite-info.js +1 -1
  8. package/esm/funcs/auth-post-auth-accept-invite.d.ts +1 -1
  9. package/esm/funcs/auth-post-auth-accept-invite.d.ts.map +1 -1
  10. package/esm/funcs/auth-post-auth-accept-invite.js +8 -3
  11. package/esm/funcs/auth-post-auth-accept-invite.js.map +1 -1
  12. package/esm/funcs/auth-post-auth-logout.d.ts +3 -2
  13. package/esm/funcs/auth-post-auth-logout.d.ts.map +1 -1
  14. package/esm/funcs/auth-post-auth-logout.js +8 -2
  15. package/esm/funcs/auth-post-auth-logout.js.map +1 -1
  16. package/esm/funcs/o-auth-post-oauth-revoke.d.ts +3 -2
  17. package/esm/funcs/o-auth-post-oauth-revoke.d.ts.map +1 -1
  18. package/esm/funcs/o-auth-post-oauth-revoke.js +6 -2
  19. package/esm/funcs/o-auth-post-oauth-revoke.js.map +1 -1
  20. package/esm/lib/config.d.ts +2 -2
  21. package/esm/lib/config.js +2 -2
  22. package/esm/lib/config.js.map +1 -1
  23. package/esm/models/errors/index.d.ts +1 -0
  24. package/esm/models/errors/index.d.ts.map +1 -1
  25. package/esm/models/errors/index.js +1 -0
  26. package/esm/models/errors/index.js.map +1 -1
  27. package/esm/models/errors/post-oauth-revoke.d.ts +278 -0
  28. package/esm/models/errors/post-oauth-revoke.d.ts.map +1 -0
  29. package/esm/models/errors/post-oauth-revoke.js +298 -0
  30. package/esm/models/errors/post-oauth-revoke.js.map +1 -0
  31. package/esm/models/operations/get-auth-invite-info.d.ts +22 -0
  32. package/esm/models/operations/get-auth-invite-info.d.ts.map +1 -1
  33. package/esm/models/operations/get-auth-invite-info.js +12 -0
  34. package/esm/models/operations/get-auth-invite-info.js.map +1 -1
  35. package/esm/models/operations/index.d.ts +0 -2
  36. package/esm/models/operations/index.d.ts.map +1 -1
  37. package/esm/models/operations/index.js +0 -2
  38. package/esm/models/operations/index.js.map +1 -1
  39. package/esm/models/operations/post-attestations.d.ts +6 -2
  40. package/esm/models/operations/post-attestations.d.ts.map +1 -1
  41. package/esm/models/operations/post-attestations.js.map +1 -1
  42. package/esm/models/operations/post-oauth-revoke.d.ts +10 -0
  43. package/esm/models/operations/post-oauth-revoke.d.ts.map +1 -1
  44. package/esm/models/operations/post-oauth-revoke.js +4 -0
  45. package/esm/models/operations/post-oauth-revoke.js.map +1 -1
  46. package/esm/sdk/auth.d.ts +3 -3
  47. package/esm/sdk/auth.js +3 -3
  48. package/esm/sdk/kyc.d.ts +0 -14
  49. package/esm/sdk/kyc.d.ts.map +1 -1
  50. package/esm/sdk/kyc.js +0 -20
  51. package/esm/sdk/kyc.js.map +1 -1
  52. package/esm/sdk/o-auth.d.ts +1 -1
  53. package/esm/sdk/o-auth.js +1 -1
  54. package/jsr.json +1 -1
  55. package/package.json +1 -1
  56. package/src/funcs/attestations-delete-attestations-by-id.ts +4 -1
  57. package/src/funcs/attestations-post-attestations.ts +3 -0
  58. package/src/funcs/auth-get-auth-invite-info.ts +1 -1
  59. package/src/funcs/auth-post-auth-accept-invite.ts +9 -3
  60. package/src/funcs/auth-post-auth-logout.ts +13 -2
  61. package/src/funcs/o-auth-post-oauth-revoke.ts +27 -2
  62. package/src/lib/config.ts +2 -2
  63. package/src/models/errors/index.ts +1 -0
  64. package/src/models/errors/post-oauth-revoke.ts +493 -0
  65. package/src/models/operations/get-auth-invite-info.ts +27 -0
  66. package/src/models/operations/index.ts +0 -2
  67. package/src/models/operations/post-attestations.ts +6 -2
  68. package/src/models/operations/post-oauth-revoke.ts +14 -0
  69. package/src/sdk/auth.ts +3 -3
  70. package/src/sdk/kyc.ts +0 -36
  71. package/src/sdk/o-auth.ts +1 -1
  72. package/esm/funcs/kyc-post-kyc-mock-approve.d.ts +0 -20
  73. package/esm/funcs/kyc-post-kyc-mock-approve.d.ts.map +0 -1
  74. package/esm/funcs/kyc-post-kyc-mock-approve.js +0 -90
  75. package/esm/funcs/kyc-post-kyc-mock-approve.js.map +0 -1
  76. package/esm/funcs/kyc-post-kyc-mock-reject.d.ts +0 -20
  77. package/esm/funcs/kyc-post-kyc-mock-reject.d.ts.map +0 -1
  78. package/esm/funcs/kyc-post-kyc-mock-reject.js +0 -90
  79. package/esm/funcs/kyc-post-kyc-mock-reject.js.map +0 -1
  80. package/esm/models/operations/post-kyc-mock-approve.d.ts +0 -75
  81. package/esm/models/operations/post-kyc-mock-approve.d.ts.map +0 -1
  82. package/esm/models/operations/post-kyc-mock-approve.js +0 -60
  83. package/esm/models/operations/post-kyc-mock-approve.js.map +0 -1
  84. package/esm/models/operations/post-kyc-mock-reject.d.ts +0 -41
  85. package/esm/models/operations/post-kyc-mock-reject.d.ts.map +0 -1
  86. package/esm/models/operations/post-kyc-mock-reject.js +0 -24
  87. package/esm/models/operations/post-kyc-mock-reject.js.map +0 -1
  88. package/src/funcs/kyc-post-kyc-mock-approve.ts +0 -180
  89. package/src/funcs/kyc-post-kyc-mock-reject.ts +0 -180
  90. package/src/models/operations/post-kyc-mock-approve.ts +0 -179
  91. package/src/models/operations/post-kyc-mock-reject.ts +0 -80
@@ -0,0 +1,278 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { SDKError } from "./sdk-error.js";
3
+ /**
4
+ * Response
5
+ */
6
+ export type ServiceUnavailableErrorData = {
7
+ /**
8
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
9
+ */
10
+ error: string;
11
+ /**
12
+ * Human-readable error description
13
+ */
14
+ errorDescription?: string | undefined;
15
+ /**
16
+ * URI for more information
17
+ */
18
+ errorUri?: string | undefined;
19
+ /**
20
+ * Legacy 'rate_limited' message (deprecated — prefer error_description)
21
+ */
22
+ message?: string | undefined;
23
+ /**
24
+ * Seconds until retry (set on 429 responses)
25
+ */
26
+ retryAfter?: number | undefined;
27
+ };
28
+ /**
29
+ * Response
30
+ */
31
+ export declare class ServiceUnavailableError extends SDKError {
32
+ /**
33
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
34
+ */
35
+ error: string;
36
+ /**
37
+ * Human-readable error description
38
+ */
39
+ errorDescription?: string | undefined;
40
+ /**
41
+ * URI for more information
42
+ */
43
+ errorUri?: string | undefined;
44
+ /**
45
+ * Seconds until retry (set on 429 responses)
46
+ */
47
+ retryAfter?: number | undefined;
48
+ /** The original data that was passed to this error instance. */
49
+ data$: ServiceUnavailableErrorData;
50
+ constructor(err: ServiceUnavailableErrorData, httpMeta: {
51
+ response: Response;
52
+ request: Request;
53
+ body: string;
54
+ });
55
+ }
56
+ /**
57
+ * Response
58
+ */
59
+ export type PostOauthRevokeInternalServerErrorData = {
60
+ /**
61
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
62
+ */
63
+ error: string;
64
+ /**
65
+ * Human-readable error description
66
+ */
67
+ errorDescription?: string | undefined;
68
+ /**
69
+ * URI for more information
70
+ */
71
+ errorUri?: string | undefined;
72
+ /**
73
+ * Legacy 'rate_limited' message (deprecated — prefer error_description)
74
+ */
75
+ message?: string | undefined;
76
+ /**
77
+ * Seconds until retry (set on 429 responses)
78
+ */
79
+ retryAfter?: number | undefined;
80
+ };
81
+ /**
82
+ * Response
83
+ */
84
+ export declare class PostOauthRevokeInternalServerError extends SDKError {
85
+ /**
86
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
87
+ */
88
+ error: string;
89
+ /**
90
+ * Human-readable error description
91
+ */
92
+ errorDescription?: string | undefined;
93
+ /**
94
+ * URI for more information
95
+ */
96
+ errorUri?: string | undefined;
97
+ /**
98
+ * Seconds until retry (set on 429 responses)
99
+ */
100
+ retryAfter?: number | undefined;
101
+ /** The original data that was passed to this error instance. */
102
+ data$: PostOauthRevokeInternalServerErrorData;
103
+ constructor(err: PostOauthRevokeInternalServerErrorData, httpMeta: {
104
+ response: Response;
105
+ request: Request;
106
+ body: string;
107
+ });
108
+ }
109
+ /**
110
+ * Response
111
+ */
112
+ export type PostOauthRevokeTooManyRequestsErrorData = {
113
+ /**
114
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
115
+ */
116
+ error: string;
117
+ /**
118
+ * Human-readable error description
119
+ */
120
+ errorDescription?: string | undefined;
121
+ /**
122
+ * URI for more information
123
+ */
124
+ errorUri?: string | undefined;
125
+ /**
126
+ * Legacy 'rate_limited' message (deprecated — prefer error_description)
127
+ */
128
+ message?: string | undefined;
129
+ /**
130
+ * Seconds until retry (set on 429 responses)
131
+ */
132
+ retryAfter?: number | undefined;
133
+ };
134
+ /**
135
+ * Response
136
+ */
137
+ export declare class PostOauthRevokeTooManyRequestsError extends SDKError {
138
+ /**
139
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
140
+ */
141
+ error: string;
142
+ /**
143
+ * Human-readable error description
144
+ */
145
+ errorDescription?: string | undefined;
146
+ /**
147
+ * URI for more information
148
+ */
149
+ errorUri?: string | undefined;
150
+ /**
151
+ * Seconds until retry (set on 429 responses)
152
+ */
153
+ retryAfter?: number | undefined;
154
+ /** The original data that was passed to this error instance. */
155
+ data$: PostOauthRevokeTooManyRequestsErrorData;
156
+ constructor(err: PostOauthRevokeTooManyRequestsErrorData, httpMeta: {
157
+ response: Response;
158
+ request: Request;
159
+ body: string;
160
+ });
161
+ }
162
+ /**
163
+ * Response
164
+ */
165
+ export type PostOauthRevokeUnauthorizedErrorData = {
166
+ /**
167
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
168
+ */
169
+ error: string;
170
+ /**
171
+ * Human-readable error description
172
+ */
173
+ errorDescription?: string | undefined;
174
+ /**
175
+ * URI for more information
176
+ */
177
+ errorUri?: string | undefined;
178
+ /**
179
+ * Legacy 'rate_limited' message (deprecated — prefer error_description)
180
+ */
181
+ message?: string | undefined;
182
+ /**
183
+ * Seconds until retry (set on 429 responses)
184
+ */
185
+ retryAfter?: number | undefined;
186
+ };
187
+ /**
188
+ * Response
189
+ */
190
+ export declare class PostOauthRevokeUnauthorizedError extends SDKError {
191
+ /**
192
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
193
+ */
194
+ error: string;
195
+ /**
196
+ * Human-readable error description
197
+ */
198
+ errorDescription?: string | undefined;
199
+ /**
200
+ * URI for more information
201
+ */
202
+ errorUri?: string | undefined;
203
+ /**
204
+ * Seconds until retry (set on 429 responses)
205
+ */
206
+ retryAfter?: number | undefined;
207
+ /** The original data that was passed to this error instance. */
208
+ data$: PostOauthRevokeUnauthorizedErrorData;
209
+ constructor(err: PostOauthRevokeUnauthorizedErrorData, httpMeta: {
210
+ response: Response;
211
+ request: Request;
212
+ body: string;
213
+ });
214
+ }
215
+ /**
216
+ * Response
217
+ */
218
+ export type PostOauthRevokeBadRequestErrorData = {
219
+ /**
220
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
221
+ */
222
+ error: string;
223
+ /**
224
+ * Human-readable error description
225
+ */
226
+ errorDescription?: string | undefined;
227
+ /**
228
+ * URI for more information
229
+ */
230
+ errorUri?: string | undefined;
231
+ /**
232
+ * Legacy 'rate_limited' message (deprecated — prefer error_description)
233
+ */
234
+ message?: string | undefined;
235
+ /**
236
+ * Seconds until retry (set on 429 responses)
237
+ */
238
+ retryAfter?: number | undefined;
239
+ };
240
+ /**
241
+ * Response
242
+ */
243
+ export declare class PostOauthRevokeBadRequestError extends SDKError {
244
+ /**
245
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
246
+ */
247
+ error: string;
248
+ /**
249
+ * Human-readable error description
250
+ */
251
+ errorDescription?: string | undefined;
252
+ /**
253
+ * URI for more information
254
+ */
255
+ errorUri?: string | undefined;
256
+ /**
257
+ * Seconds until retry (set on 429 responses)
258
+ */
259
+ retryAfter?: number | undefined;
260
+ /** The original data that was passed to this error instance. */
261
+ data$: PostOauthRevokeBadRequestErrorData;
262
+ constructor(err: PostOauthRevokeBadRequestErrorData, httpMeta: {
263
+ response: Response;
264
+ request: Request;
265
+ body: string;
266
+ });
267
+ }
268
+ /** @internal */
269
+ export declare const ServiceUnavailableError$inboundSchema: z.ZodMiniType<ServiceUnavailableError, unknown>;
270
+ /** @internal */
271
+ export declare const PostOauthRevokeInternalServerError$inboundSchema: z.ZodMiniType<PostOauthRevokeInternalServerError, unknown>;
272
+ /** @internal */
273
+ export declare const PostOauthRevokeTooManyRequestsError$inboundSchema: z.ZodMiniType<PostOauthRevokeTooManyRequestsError, unknown>;
274
+ /** @internal */
275
+ export declare const PostOauthRevokeUnauthorizedError$inboundSchema: z.ZodMiniType<PostOauthRevokeUnauthorizedError, unknown>;
276
+ /** @internal */
277
+ export declare const PostOauthRevokeBadRequestError$inboundSchema: z.ZodMiniType<PostOauthRevokeBadRequestError, unknown>;
278
+ //# sourceMappingURL=post-oauth-revoke.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-oauth-revoke.d.ts","sourceRoot":"","sources":["../../../src/models/errors/post-oauth-revoke.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,QAAQ;IACnD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;O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CACF;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,WAAW,CAC/D,uBAAuB,EACvB,OAAO,CAwBR,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,WAAW,CAC1E,kCAAkC,EAClC,OAAO,CAwBR,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,WAAW,CAC3E,mCAAmC,EACnC,OAAO,CAwBR,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,WAAW,CACxE,gCAAgC,EAChC,OAAO,CAwBR,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,8BAA8B,EAC9B,OAAO,CAwBR,CAAC"}
@@ -0,0 +1,298 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import * as types from "../../types/primitives.js";
7
+ import { SDKError } from "./sdk-error.js";
8
+ /**
9
+ * Response
10
+ */
11
+ export class ServiceUnavailableError extends SDKError {
12
+ /**
13
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
14
+ */
15
+ error;
16
+ /**
17
+ * Human-readable error description
18
+ */
19
+ errorDescription;
20
+ /**
21
+ * URI for more information
22
+ */
23
+ errorUri;
24
+ /**
25
+ * Seconds until retry (set on 429 responses)
26
+ */
27
+ retryAfter;
28
+ /** The original data that was passed to this error instance. */
29
+ data$;
30
+ constructor(err, httpMeta) {
31
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
32
+ super(message, httpMeta);
33
+ this.data$ = err;
34
+ this.error = err.error;
35
+ if (err.errorDescription != null) {
36
+ this.errorDescription = err.errorDescription;
37
+ }
38
+ if (err.errorUri != null)
39
+ this.errorUri = err.errorUri;
40
+ if (err.retryAfter != null)
41
+ this.retryAfter = err.retryAfter;
42
+ this.name = "ServiceUnavailableError";
43
+ }
44
+ }
45
+ /**
46
+ * Response
47
+ */
48
+ export class PostOauthRevokeInternalServerError extends SDKError {
49
+ /**
50
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
51
+ */
52
+ error;
53
+ /**
54
+ * Human-readable error description
55
+ */
56
+ errorDescription;
57
+ /**
58
+ * URI for more information
59
+ */
60
+ errorUri;
61
+ /**
62
+ * Seconds until retry (set on 429 responses)
63
+ */
64
+ retryAfter;
65
+ /** The original data that was passed to this error instance. */
66
+ data$;
67
+ constructor(err, httpMeta) {
68
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
69
+ super(message, httpMeta);
70
+ this.data$ = err;
71
+ this.error = err.error;
72
+ if (err.errorDescription != null) {
73
+ this.errorDescription = err.errorDescription;
74
+ }
75
+ if (err.errorUri != null)
76
+ this.errorUri = err.errorUri;
77
+ if (err.retryAfter != null)
78
+ this.retryAfter = err.retryAfter;
79
+ this.name = "PostOauthRevokeInternalServerError";
80
+ }
81
+ }
82
+ /**
83
+ * Response
84
+ */
85
+ export class PostOauthRevokeTooManyRequestsError extends SDKError {
86
+ /**
87
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
88
+ */
89
+ error;
90
+ /**
91
+ * Human-readable error description
92
+ */
93
+ errorDescription;
94
+ /**
95
+ * URI for more information
96
+ */
97
+ errorUri;
98
+ /**
99
+ * Seconds until retry (set on 429 responses)
100
+ */
101
+ retryAfter;
102
+ /** The original data that was passed to this error instance. */
103
+ data$;
104
+ constructor(err, httpMeta) {
105
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
106
+ super(message, httpMeta);
107
+ this.data$ = err;
108
+ this.error = err.error;
109
+ if (err.errorDescription != null) {
110
+ this.errorDescription = err.errorDescription;
111
+ }
112
+ if (err.errorUri != null)
113
+ this.errorUri = err.errorUri;
114
+ if (err.retryAfter != null)
115
+ this.retryAfter = err.retryAfter;
116
+ this.name = "PostOauthRevokeTooManyRequestsError";
117
+ }
118
+ }
119
+ /**
120
+ * Response
121
+ */
122
+ export class PostOauthRevokeUnauthorizedError extends SDKError {
123
+ /**
124
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
125
+ */
126
+ error;
127
+ /**
128
+ * Human-readable error description
129
+ */
130
+ errorDescription;
131
+ /**
132
+ * URI for more information
133
+ */
134
+ errorUri;
135
+ /**
136
+ * Seconds until retry (set on 429 responses)
137
+ */
138
+ retryAfter;
139
+ /** The original data that was passed to this error instance. */
140
+ data$;
141
+ constructor(err, httpMeta) {
142
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
143
+ super(message, httpMeta);
144
+ this.data$ = err;
145
+ this.error = err.error;
146
+ if (err.errorDescription != null) {
147
+ this.errorDescription = err.errorDescription;
148
+ }
149
+ if (err.errorUri != null)
150
+ this.errorUri = err.errorUri;
151
+ if (err.retryAfter != null)
152
+ this.retryAfter = err.retryAfter;
153
+ this.name = "PostOauthRevokeUnauthorizedError";
154
+ }
155
+ }
156
+ /**
157
+ * Response
158
+ */
159
+ export class PostOauthRevokeBadRequestError extends SDKError {
160
+ /**
161
+ * One of: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope, access_denied, unsupported_response_type, server_error, temporarily_unavailable, unsupported_token_type, invalid_token, insufficient_scope, or "rate_limited" (Signum-wide rate-limit middleware)
162
+ */
163
+ error;
164
+ /**
165
+ * Human-readable error description
166
+ */
167
+ errorDescription;
168
+ /**
169
+ * URI for more information
170
+ */
171
+ errorUri;
172
+ /**
173
+ * Seconds until retry (set on 429 responses)
174
+ */
175
+ retryAfter;
176
+ /** The original data that was passed to this error instance. */
177
+ data$;
178
+ constructor(err, httpMeta) {
179
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
180
+ super(message, httpMeta);
181
+ this.data$ = err;
182
+ this.error = err.error;
183
+ if (err.errorDescription != null) {
184
+ this.errorDescription = err.errorDescription;
185
+ }
186
+ if (err.errorUri != null)
187
+ this.errorUri = err.errorUri;
188
+ if (err.retryAfter != null)
189
+ this.retryAfter = err.retryAfter;
190
+ this.name = "PostOauthRevokeBadRequestError";
191
+ }
192
+ }
193
+ /** @internal */
194
+ export const ServiceUnavailableError$inboundSchema = z.pipe(z.object({
195
+ error: types.string(),
196
+ error_description: types.optional(types.string()),
197
+ error_uri: types.optional(types.string()),
198
+ message: types.optional(types.string()),
199
+ retryAfter: types.optional(types.number()),
200
+ request$: z.custom(x => x instanceof Request),
201
+ response$: z.custom(x => x instanceof Response),
202
+ body$: z.string(),
203
+ }), z.transform((v) => {
204
+ const remapped = remap$(v, {
205
+ "error_description": "errorDescription",
206
+ "error_uri": "errorUri",
207
+ });
208
+ return new ServiceUnavailableError(remapped, {
209
+ request: v.request$,
210
+ response: v.response$,
211
+ body: v.body$,
212
+ });
213
+ }));
214
+ /** @internal */
215
+ export const PostOauthRevokeInternalServerError$inboundSchema = z.pipe(z.object({
216
+ error: types.string(),
217
+ error_description: types.optional(types.string()),
218
+ error_uri: types.optional(types.string()),
219
+ message: types.optional(types.string()),
220
+ retryAfter: types.optional(types.number()),
221
+ request$: z.custom(x => x instanceof Request),
222
+ response$: z.custom(x => x instanceof Response),
223
+ body$: z.string(),
224
+ }), z.transform((v) => {
225
+ const remapped = remap$(v, {
226
+ "error_description": "errorDescription",
227
+ "error_uri": "errorUri",
228
+ });
229
+ return new PostOauthRevokeInternalServerError(remapped, {
230
+ request: v.request$,
231
+ response: v.response$,
232
+ body: v.body$,
233
+ });
234
+ }));
235
+ /** @internal */
236
+ export const PostOauthRevokeTooManyRequestsError$inboundSchema = z.pipe(z.object({
237
+ error: types.string(),
238
+ error_description: types.optional(types.string()),
239
+ error_uri: types.optional(types.string()),
240
+ message: types.optional(types.string()),
241
+ retryAfter: types.optional(types.number()),
242
+ request$: z.custom(x => x instanceof Request),
243
+ response$: z.custom(x => x instanceof Response),
244
+ body$: z.string(),
245
+ }), z.transform((v) => {
246
+ const remapped = remap$(v, {
247
+ "error_description": "errorDescription",
248
+ "error_uri": "errorUri",
249
+ });
250
+ return new PostOauthRevokeTooManyRequestsError(remapped, {
251
+ request: v.request$,
252
+ response: v.response$,
253
+ body: v.body$,
254
+ });
255
+ }));
256
+ /** @internal */
257
+ export const PostOauthRevokeUnauthorizedError$inboundSchema = z.pipe(z.object({
258
+ error: types.string(),
259
+ error_description: types.optional(types.string()),
260
+ error_uri: types.optional(types.string()),
261
+ message: types.optional(types.string()),
262
+ retryAfter: types.optional(types.number()),
263
+ request$: z.custom(x => x instanceof Request),
264
+ response$: z.custom(x => x instanceof Response),
265
+ body$: z.string(),
266
+ }), z.transform((v) => {
267
+ const remapped = remap$(v, {
268
+ "error_description": "errorDescription",
269
+ "error_uri": "errorUri",
270
+ });
271
+ return new PostOauthRevokeUnauthorizedError(remapped, {
272
+ request: v.request$,
273
+ response: v.response$,
274
+ body: v.body$,
275
+ });
276
+ }));
277
+ /** @internal */
278
+ export const PostOauthRevokeBadRequestError$inboundSchema = z.pipe(z.object({
279
+ error: types.string(),
280
+ error_description: types.optional(types.string()),
281
+ error_uri: types.optional(types.string()),
282
+ message: types.optional(types.string()),
283
+ retryAfter: types.optional(types.number()),
284
+ request$: z.custom(x => x instanceof Request),
285
+ response$: z.custom(x => x instanceof Response),
286
+ body$: z.string(),
287
+ }), z.transform((v) => {
288
+ const remapped = remap$(v, {
289
+ "error_description": "errorDescription",
290
+ "error_uri": "errorUri",
291
+ });
292
+ return new PostOauthRevokeBadRequestError(remapped, {
293
+ request: v.request$,
294
+ response: v.response$,
295
+ body: v.body$,
296
+ });
297
+ }));
298
+ //# sourceMappingURL=post-oauth-revoke.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-oauth-revoke.js","sourceRoot":"","sources":["../../../src/models/errors/post-oauth-revoke.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AA4B1C;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,QAAQ;IACnD;;OAEG;IACH,KAAK,CAAS;IACd;;OAEG;IACH,gBAAgB,CAAsB;IACtC;;OAEG;IACH,QAAQ,CAAsB;IAC9B;;OAEG;IACH,UAAU,CAAsB;IAEhC,gEAAgE;IAChE,KAAK,CAA8B;IAEnC,YACE,GAAgC,EAChC,QAAgE,EAChE;QACA,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACvB,IAAI,GAAG,CAAC,gBAAgB,IAAI,IAAI,EAAE,CAAC;YACjC,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC;QAC/C,CAAC;QACD,IAA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W,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,QAAQ,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,EAAE;QACzB,mBAAmB,EAAE,kBAAkB;QACvC,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;IAEH,OAAO,IAAI,8BAA8B,CAAC,QAAQ,EAAE;QAClD,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod/v4-mini";
2
+ import { OpenEnum } from "../../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../../types/fp.js";
3
4
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
4
5
  export type GetAuthInviteInfoRequest = {
@@ -7,6 +8,18 @@ export type GetAuthInviteInfoRequest = {
7
8
  */
8
9
  token: string;
9
10
  };
11
+ /**
12
+ * What `POST /auth/accept-invite` WITHOUT a bearer will do for this invitation. `create_account`: no usable account yet; the password creates it. `set_password`: an account exists with no proven password; the password is set (for an unverified registration it REPLACES the one they registered with). `sign_in`: the account has credentials (or is suspended); the caller must sign in and accept with a bearer — a no-bearer accept answers 403 `sign_in_required`.
13
+ */
14
+ export declare const InviteAction: {
15
+ readonly CreateAccount: "create_account";
16
+ readonly SetPassword: "set_password";
17
+ readonly SignIn: "sign_in";
18
+ };
19
+ /**
20
+ * What `POST /auth/accept-invite` WITHOUT a bearer will do for this invitation. `create_account`: no usable account yet; the password creates it. `set_password`: an account exists with no proven password; the password is set (for an unverified registration it REPLACES the one they registered with). `sign_in`: the account has credentials (or is suspended); the caller must sign in and accept with a bearer — a no-bearer accept answers 403 `sign_in_required`.
21
+ */
22
+ export type InviteAction = OpenEnum<typeof InviteAction>;
10
23
  /**
11
24
  * Response
12
25
  */
@@ -15,7 +28,14 @@ export type GetAuthInviteInfoResponse = {
15
28
  role: string;
16
29
  orgName: string;
17
30
  orgId: string;
31
+ /**
32
+ * True when the invited email belongs to an `active` account.
33
+ */
18
34
  existingUser: boolean;
35
+ /**
36
+ * What `POST /auth/accept-invite` WITHOUT a bearer will do for this invitation. `create_account`: no usable account yet; the password creates it. `set_password`: an account exists with no proven password; the password is set (for an unverified registration it REPLACES the one they registered with). `sign_in`: the account has credentials (or is suspended); the caller must sign in and accept with a bearer — a no-bearer accept answers 403 `sign_in_required`.
37
+ */
38
+ inviteAction: InviteAction;
19
39
  };
20
40
  /** @internal */
21
41
  export type GetAuthInviteInfoRequest$Outbound = {
@@ -25,6 +45,8 @@ export type GetAuthInviteInfoRequest$Outbound = {
25
45
  export declare const GetAuthInviteInfoRequest$outboundSchema: z.ZodMiniType<GetAuthInviteInfoRequest$Outbound, GetAuthInviteInfoRequest>;
26
46
  export declare function getAuthInviteInfoRequestToJSON(getAuthInviteInfoRequest: GetAuthInviteInfoRequest): string;
27
47
  /** @internal */
48
+ export declare const InviteAction$inboundSchema: z.ZodMiniType<InviteAction, unknown>;
49
+ /** @internal */
28
50
  export declare const GetAuthInviteInfoResponse$inboundSchema: z.ZodMiniType<GetAuthInviteInfoResponse, unknown>;
29
51
  export declare function getAuthInviteInfoResponseFromJSON(jsonString: string): SafeParseResult<GetAuthInviteInfoResponse, SDKValidationError>;
30
52
  //# sourceMappingURL=get-auth-invite-info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-auth-invite-info.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-auth-invite-info.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,iCAAiC,EACjC,wBAAwB,CAGxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,yBAAyB,EACzB,OAAO,CAOP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
1
+ {"version":3,"file":"get-auth-invite-info.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-auth-invite-info.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAC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