@andco/protocol 0.0.3 → 0.0.5

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 (113) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +51 -3
  3. package/dist/api-errors.d.ts +114 -0
  4. package/dist/api-errors.d.ts.map +1 -0
  5. package/dist/api-errors.js +116 -0
  6. package/dist/authorization-preparation.d.ts +52 -543
  7. package/dist/authorization-preparation.d.ts.map +1 -1
  8. package/dist/authorization-preparation.js +19 -42
  9. package/dist/authorization.d.ts +64 -22
  10. package/dist/authorization.d.ts.map +1 -1
  11. package/dist/authorization.js +136 -55
  12. package/dist/consent.d.ts +5 -8
  13. package/dist/consent.d.ts.map +1 -1
  14. package/dist/consent.js +5 -62
  15. package/dist/constants.d.ts +19 -3
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +19 -3
  18. package/dist/errors.d.ts +154 -58
  19. package/dist/errors.d.ts.map +1 -1
  20. package/dist/errors.js +174 -57
  21. package/dist/index.d.ts +4 -4
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +4 -4
  24. package/dist/intent-input.d.ts +1022 -288
  25. package/dist/intent-input.d.ts.map +1 -1
  26. package/dist/intent-input.js +284 -40
  27. package/dist/messages/error.d.ts +1 -2
  28. package/dist/messages/error.d.ts.map +1 -1
  29. package/dist/messages/error.js +5 -2
  30. package/dist/messages/index.d.ts +1 -1
  31. package/dist/native-copy.d.ts +23 -2
  32. package/dist/native-copy.d.ts.map +1 -1
  33. package/dist/native-copy.js +65 -117
  34. package/dist/native-intent.d.ts +126 -75
  35. package/dist/native-intent.d.ts.map +1 -1
  36. package/dist/native-intent.js +140 -48
  37. package/dist/rar/account-matchers.d.ts +579 -0
  38. package/dist/rar/account-matchers.d.ts.map +1 -0
  39. package/dist/rar/account-matchers.js +480 -0
  40. package/dist/rar/bank.d.ts +1549 -0
  41. package/dist/rar/bank.d.ts.map +1 -0
  42. package/dist/rar/bank.js +379 -0
  43. package/dist/rar/catalog.d.ts +1155 -0
  44. package/dist/rar/catalog.d.ts.map +1 -0
  45. package/dist/rar/catalog.js +175 -0
  46. package/dist/rar/detail.d.ts +39 -0
  47. package/dist/rar/detail.d.ts.map +1 -0
  48. package/dist/rar/detail.js +44 -0
  49. package/dist/rar/index.d.ts +9 -0
  50. package/dist/rar/index.d.ts.map +1 -0
  51. package/dist/rar/index.js +8 -0
  52. package/dist/rar/money.d.ts +58 -0
  53. package/dist/rar/money.d.ts.map +1 -0
  54. package/dist/rar/money.js +61 -0
  55. package/dist/rar/project-users.d.ts +43 -0
  56. package/dist/rar/project-users.d.ts.map +1 -0
  57. package/dist/rar/project-users.js +63 -0
  58. package/dist/rar/subject-data.d.ts +170 -0
  59. package/dist/rar/subject-data.d.ts.map +1 -0
  60. package/dist/rar/subject-data.js +127 -0
  61. package/dist/rar/subject.d.ts +166 -0
  62. package/dist/rar/subject.d.ts.map +1 -0
  63. package/dist/rar/subject.js +119 -0
  64. package/dist/scopes.d.ts +5 -30
  65. package/dist/scopes.d.ts.map +1 -1
  66. package/dist/scopes.js +0 -13
  67. package/dist/service-grants.d.ts +44 -0
  68. package/dist/service-grants.d.ts.map +1 -0
  69. package/dist/service-grants.js +45 -0
  70. package/dist/signing.d.ts +56 -0
  71. package/dist/signing.d.ts.map +1 -0
  72. package/dist/signing.js +233 -0
  73. package/dist/transport/financial-events.d.ts +90 -35
  74. package/dist/transport/financial-events.d.ts.map +1 -1
  75. package/dist/transport/financial-events.js +7 -1
  76. package/dist/transport/generated/oauth-api.d.ts +932 -441
  77. package/dist/transport/generated/oauth-api.d.ts.map +1 -1
  78. package/dist/transport/index.d.ts +0 -1
  79. package/dist/transport/index.d.ts.map +1 -1
  80. package/dist/transport/index.js +0 -1
  81. package/dist/transport/intents.d.ts +155 -23
  82. package/dist/transport/intents.d.ts.map +1 -1
  83. package/dist/transport/intents.js +192 -59
  84. package/dist/transport/rest.d.ts +19 -8
  85. package/dist/transport/rest.d.ts.map +1 -1
  86. package/dist/transport/rest.js +1 -1
  87. package/dist/urls.d.ts.map +1 -1
  88. package/dist/urls.js +1 -1
  89. package/dist/userinfo.d.ts +10 -1
  90. package/dist/userinfo.d.ts.map +1 -1
  91. package/dist/userinfo.js +10 -1
  92. package/dist/utils.d.ts +15 -0
  93. package/dist/utils.d.ts.map +1 -1
  94. package/dist/utils.js +31 -0
  95. package/dist/webhooks.d.ts +154 -0
  96. package/dist/webhooks.d.ts.map +1 -0
  97. package/dist/webhooks.js +249 -0
  98. package/package.json +21 -2
  99. package/dist/automatic-charge.d.ts +0 -314
  100. package/dist/automatic-charge.d.ts.map +0 -1
  101. package/dist/automatic-charge.js +0 -126
  102. package/dist/bank-account-authorization.d.ts +0 -6
  103. package/dist/bank-account-authorization.d.ts.map +0 -1
  104. package/dist/bank-account-authorization.js +0 -13
  105. package/dist/transport/webhooks.d.ts +0 -27
  106. package/dist/transport/webhooks.d.ts.map +0 -1
  107. package/dist/transport/webhooks.js +0 -68
  108. package/dist/webhook-input.d.ts +0 -22
  109. package/dist/webhook-input.d.ts.map +0 -1
  110. package/dist/webhook-input.js +0 -11
  111. package/dist/webhook-signature.d.ts +0 -54
  112. package/dist/webhook-signature.d.ts.map +0 -1
  113. package/dist/webhook-signature.js +0 -74
@@ -3,37 +3,75 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
- "/event-subscriptions": {
6
+ "/projects/{project_id}/profiles": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path: {
11
+ /** @description The Project whose Profiles are read; it must be one of the Grant's `project_ids`, or any of the Organization's when that list is empty. */
12
+ project_id: components["parameters"]["ProjectId"];
13
+ };
14
+ cookie?: never;
15
+ };
16
+ /**
17
+ * Read the Profiles of the people who use a Project's Clients
18
+ * @description Granted by a `project_users` authorization detail with `read`, held by a Service. Its empty `project_ids`, `client_ids` and `fields` mean all, and the `client_id` and `fields` query parameters can only narrow them. Every field is present in each item; one is null when the person did not disclose it through their consent (`profile` discloses the name and avatar, `email` the email, `phone` the phone, an `identity` or `address` read Grant the identities or addresses) or when the Grant and the request leave it out. Cursor authority is pinned to one exact Grant, Project and filter.
19
+ */
20
+ get: operations["listProjectProfiles"];
21
+ put?: never;
22
+ post?: never;
23
+ delete?: never;
24
+ options?: never;
25
+ head?: never;
26
+ patch?: never;
27
+ trace?: never;
28
+ };
29
+ "/authorization": {
7
30
  parameters: {
8
31
  query?: never;
9
32
  header?: never;
10
33
  path?: never;
11
34
  cookie?: never;
12
35
  };
13
- get?: never;
36
+ /** Get the active Grant carried by the bearer token */
37
+ get: operations["getGrantAuthorization"];
14
38
  put?: never;
39
+ post?: never;
40
+ delete?: never;
41
+ options?: never;
42
+ head?: never;
43
+ patch?: never;
44
+ trace?: never;
45
+ };
46
+ "/catalog/permissions": {
47
+ parameters: {
48
+ query?: never;
49
+ header?: never;
50
+ path?: never;
51
+ cookie?: never;
52
+ };
15
53
  /**
16
- * Register one explicit subject for verified durable backend delivery
17
- * @description Requires the exact live Grant with subject read permission. Replays retained matching facts after ownership verification. The signing secret is a canonical base64url-encoded 32-byte key and is never returned.
54
+ * List the public Permission Catalog
55
+ * @description The reference of the OAuth Scopes and Detailed Authorization types that live providers publish, with their actions, restrictions and request examples. It describes requestable capabilities, never a Profile, Organization or Grant, and is the only resource in this API that requires no authorization.
18
56
  */
19
- post: operations["createWebhookSubscription"];
57
+ get: operations["getPermissionCatalog"];
58
+ put?: never;
59
+ post?: never;
20
60
  delete?: never;
21
61
  options?: never;
22
62
  head?: never;
23
63
  patch?: never;
24
64
  trace?: never;
25
65
  };
26
- "/event-subscriptions/{subscription_id}": {
66
+ "/userinfo": {
27
67
  parameters: {
28
68
  query?: never;
29
69
  header?: never;
30
- path: {
31
- subscription_id: string;
32
- };
70
+ path?: never;
33
71
  cookie?: never;
34
72
  };
35
- /** Inspect verification status under the original exact Grant */
36
- get: operations["getWebhookSubscription"];
73
+ /** Get the authenticated user's standard identity claims */
74
+ get: operations["getUserInfo"];
37
75
  put?: never;
38
76
  post?: never;
39
77
  delete?: never;
@@ -42,17 +80,21 @@ export interface paths {
42
80
  patch?: never;
43
81
  trace?: never;
44
82
  };
45
- "/event-subscriptions/{subscription_id}/deliveries": {
83
+ "/profiles/{profile_id}/identities": {
46
84
  parameters: {
47
85
  query?: never;
48
86
  header?: never;
49
87
  path: {
50
- subscription_id: string;
88
+ /** @description The Profile the Grant's subject names. */
89
+ profile_id: components["parameters"]["ProfileId"];
51
90
  };
52
91
  cookie?: never;
53
92
  };
54
- /** Read retained delivery status in event publication order */
55
- get: operations["getWebhookDeliveries"];
93
+ /**
94
+ * List a Profile's identities
95
+ * @description Granted by an `identity` authorization detail with `read` whose subject is this Profile. A token whose Grant names another subject answers `403`.
96
+ */
97
+ get: operations["listProfileIdentities"];
56
98
  put?: never;
57
99
  post?: never;
58
100
  delete?: never;
@@ -61,55 +103,76 @@ export interface paths {
61
103
  patch?: never;
62
104
  trace?: never;
63
105
  };
64
- "/event-subscriptions/{subscription_id}/deliveries/{delivery_id}/attempts": {
106
+ "/profiles/{profile_id}/addresses": {
65
107
  parameters: {
66
108
  query?: never;
67
109
  header?: never;
68
110
  path: {
69
- subscription_id: string;
70
- delivery_id: string;
111
+ /** @description The Profile the Grant's subject names. */
112
+ profile_id: components["parameters"]["ProfileId"];
71
113
  };
72
114
  cookie?: never;
73
115
  };
74
- /** Read all retained dispatch attempts in attempt order */
75
- get: operations["getWebhookAttempts"];
116
+ /**
117
+ * List a Profile's addresses
118
+ * @description Granted by an `address` authorization detail with `read` whose subject is this Profile.
119
+ */
120
+ get: operations["listProfileAddresses"];
76
121
  put?: never;
77
- post?: never;
122
+ /**
123
+ * Create an address for a Profile
124
+ * @description Granted by an `address` authorization detail with `create` whose subject is this Profile.
125
+ */
126
+ post: operations["createProfileAddress"];
78
127
  delete?: never;
79
128
  options?: never;
80
129
  head?: never;
81
130
  patch?: never;
82
131
  trace?: never;
83
132
  };
84
- "/event-subscriptions/{subscription_id}/deliveries/{delivery_id}/redrive": {
133
+ "/profiles/{profile_id}/addresses/{address_id}": {
85
134
  parameters: {
86
135
  query?: never;
87
136
  header?: never;
88
137
  path: {
89
- subscription_id: string;
90
- delivery_id: string;
138
+ /** @description The Profile the Grant's subject names. */
139
+ profile_id: components["parameters"]["ProfileId"];
140
+ address_id: components["parameters"]["AddressId"];
91
141
  };
92
142
  cookie?: never;
93
143
  };
94
144
  get?: never;
95
145
  put?: never;
96
- /** Queue a failed delivery without changing its immutable event identity */
97
- post: operations["redriveWebhookDelivery"];
98
- delete?: never;
146
+ post?: never;
147
+ /**
148
+ * Soft-delete one of a Profile's addresses
149
+ * @description Granted by an `address` authorization detail with `delete` whose subject is this Profile.
150
+ */
151
+ delete: operations["deleteProfileAddress"];
99
152
  options?: never;
100
153
  head?: never;
101
- patch?: never;
154
+ /**
155
+ * Update one of a Profile's addresses
156
+ * @description Granted by an `address` authorization detail with `update` whose subject is this Profile.
157
+ */
158
+ patch: operations["updateProfileAddress"];
102
159
  trace?: never;
103
160
  };
104
- "/authorization": {
161
+ "/profiles/{profile_id}/organizations": {
105
162
  parameters: {
106
163
  query?: never;
107
164
  header?: never;
108
- path?: never;
165
+ path: {
166
+ /** @description The Profile the Grant's subject names. */
167
+ profile_id: components["parameters"]["ProfileId"];
168
+ };
109
169
  cookie?: never;
110
170
  };
111
- /** Get the active Grant carried by the bearer token */
112
- get: operations["getGrantAuthorization"];
171
+ /**
172
+ * List the Organizations a Profile belongs to
173
+ * @description Granted by an `organization` authorization detail with `list` whose subject is this Profile. It names each Organization and grants no access to its data: ask for an Organization subject to read it.
174
+ */
175
+ get: operations["listProfileOrganizations"];
113
176
  put?: never;
114
177
  post?: never;
115
178
  delete?: never;
@@ -118,15 +181,21 @@ export interface paths {
118
181
  patch?: never;
119
182
  trace?: never;
120
183
  };
121
- "/organization-directory": {
184
+ "/organizations/{organization_id}/identities": {
122
185
  parameters: {
123
186
  query?: never;
124
187
  header?: never;
125
- path?: never;
188
+ path: {
189
+ /** @description The Organization the Grant's subject names. */
190
+ organization_id: components["parameters"]["OrganizationId"];
191
+ };
126
192
  cookie?: never;
127
193
  };
128
- /** List organization IDs and names for personal discovery */
129
- get: operations["getOrganizationDirectory"];
194
+ /**
195
+ * List an Organization's legal identities
196
+ * @description Granted by an `identity` authorization detail with `read` whose subject is this Organization.
197
+ */
198
+ get: operations["listOrganizationIdentities"];
130
199
  put?: never;
131
200
  post?: never;
132
201
  delete?: never;
@@ -135,41 +204,62 @@ export interface paths {
135
204
  patch?: never;
136
205
  trace?: never;
137
206
  };
138
- "/company-identity": {
207
+ "/organizations/{organization_id}/addresses": {
139
208
  parameters: {
140
209
  query?: never;
141
210
  header?: never;
142
- path?: never;
211
+ path: {
212
+ /** @description The Organization the Grant's subject names. */
213
+ organization_id: components["parameters"]["OrganizationId"];
214
+ };
143
215
  cookie?: never;
144
216
  };
145
- /** Get the legal identity selected by a Company data Grant */
146
- get: operations["getCompanyIdentity"];
217
+ /**
218
+ * List an Organization's addresses
219
+ * @description Granted by an `address` authorization detail with `read` whose subject is this Organization.
220
+ */
221
+ get: operations["listOrganizationAddresses"];
147
222
  put?: never;
148
- post?: never;
223
+ /**
224
+ * Create an address for an Organization
225
+ * @description Granted by an `address` authorization detail with `create` whose subject is this Organization.
226
+ */
227
+ post: operations["createOrganizationAddress"];
149
228
  delete?: never;
150
229
  options?: never;
151
230
  head?: never;
152
231
  patch?: never;
153
232
  trace?: never;
154
233
  };
155
- "/company-addresses": {
234
+ "/organizations/{organization_id}/addresses/{address_id}": {
156
235
  parameters: {
157
236
  query?: never;
158
237
  header?: never;
159
- path?: never;
238
+ path: {
239
+ /** @description The Organization the Grant's subject names. */
240
+ organization_id: components["parameters"]["OrganizationId"];
241
+ address_id: components["parameters"]["AddressId"];
242
+ };
160
243
  cookie?: never;
161
244
  };
162
- /** List addresses selected by a Company data Grant */
163
- get: operations["getCompanyAddresses"];
245
+ get?: never;
164
246
  put?: never;
165
247
  post?: never;
166
- delete?: never;
248
+ /**
249
+ * Soft-delete one of an Organization's addresses
250
+ * @description Granted by an `address` authorization detail with `delete` whose subject is this Organization.
251
+ */
252
+ delete: operations["deleteOrganizationAddress"];
167
253
  options?: never;
168
254
  head?: never;
169
- patch?: never;
255
+ /**
256
+ * Update one of an Organization's addresses
257
+ * @description Granted by an `address` authorization detail with `update` whose subject is this Organization.
258
+ */
259
+ patch: operations["updateOrganizationAddress"];
170
260
  trace?: never;
171
261
  };
172
- "/catalog/permissions": {
262
+ "/accounts": {
173
263
  parameters: {
174
264
  query?: never;
175
265
  header?: never;
@@ -177,10 +267,10 @@ export interface paths {
177
267
  cookie?: never;
178
268
  };
179
269
  /**
180
- * List the public Permission Catalog
181
- * @description The reference of the OAuth Scopes and Detailed Authorization types that live providers publish, with their actions, restrictions and request examples. It describes requestable capabilities, never a Profile, Company or Grant, and is the only resource in this API that requires no authorization.
270
+ * List personal bank accounts and balances
271
+ * @description Paginated by cursor, in publication order. `?alias=` switches from walking the collection to addressing one account by the identifier its holder chose: an exact match, not a search, and `after`/`limit` are ignored alongside it.
182
272
  */
183
- get: operations["getPermissionCatalog"];
273
+ get: operations["listAccounts"];
184
274
  put?: never;
185
275
  post?: never;
186
276
  delete?: never;
@@ -189,32 +279,38 @@ export interface paths {
189
279
  patch?: never;
190
280
  trace?: never;
191
281
  };
192
- "/userinfo": {
282
+ "/intents": {
193
283
  parameters: {
194
284
  query?: never;
195
285
  header?: never;
196
286
  path?: never;
197
287
  cookie?: never;
198
288
  };
199
- /** Get the authenticated user's standard identity claims */
200
- get: operations["getUserInfo"];
289
+ get?: never;
201
290
  put?: never;
202
- post?: never;
291
+ /**
292
+ * Create an intent under the exact OAuth Grant
293
+ * @description The same creation has two representations, and the content type picks between them. An `application/json` body is an Intent born waiting for an Approval. An `application/jwt` body is one Signed Instruction, sent as a compact JWS whose verified payload is `SignedTransferIntentClaims`, `SignedAccountOpeningIntentClaims` or `SignedAccountClosureIntentClaims`, and every value the operation uses comes from those claims and none from the envelope carrying them. A signed Intent is born approved when the signing client's Grant holds the family's `approve` action (`bank_transfer` or `bank_account`); otherwise it waits, like a proposal, for the person on the hosted screen or for `POST /intents/{intent_id}/approve` by a Grant that holds it. Opening and closing an account fail synchronously with `403 alias_out_of_grant` when the alias is outside the Grant's `accounts` patterns and with `409 alias_taken` when the alias names an account of the subject (always for a closed one; otherwise unless `upsert`). The new account's number arrives in the `account_opening.succeeded` event as `account: { id, alias, number, name }`.
294
+ */
295
+ post: operations["createIntent"];
203
296
  delete?: never;
204
297
  options?: never;
205
298
  head?: never;
206
299
  patch?: never;
207
300
  trace?: never;
208
301
  };
209
- "/identities": {
302
+ "/events": {
210
303
  parameters: {
211
304
  query?: never;
212
305
  header?: never;
213
306
  path?: never;
214
307
  cookie?: never;
215
308
  };
216
- /** List personal identities */
217
- get: operations["listIdentities"];
309
+ /**
310
+ * Replay every fact the exact Grant covers across the Organization
311
+ * @description One subscription for the whole Organization instead of one per account. Carries the same Intent facts as `/intents/{intent_id}/events` and the same account facts as `/accounts/{bank_account_id}/events`, re-evaluated as the Grant changes, so a Project never opens one subscription per account it may come to hold.
312
+ */
313
+ get: operations["readOrganizationEvents"];
218
314
  put?: never;
219
315
  post?: never;
220
316
  delete?: never;
@@ -223,53 +319,52 @@ export interface paths {
223
319
  patch?: never;
224
320
  trace?: never;
225
321
  };
226
- "/addresses": {
322
+ "/accounts/{bank_account_id}/events": {
227
323
  parameters: {
228
324
  query?: never;
229
325
  header?: never;
230
326
  path?: never;
231
327
  cookie?: never;
232
328
  };
233
- /** List personal addresses */
234
- get: operations["listAddresses"];
329
+ /** Replay bank facts with account transaction read permission */
330
+ get: operations["readAccountEvents"];
235
331
  put?: never;
236
- /** Create a personal address */
237
- post: operations["createAddress"];
332
+ post?: never;
238
333
  delete?: never;
239
334
  options?: never;
240
335
  head?: never;
241
336
  patch?: never;
242
337
  trace?: never;
243
338
  };
244
- "/addresses/{address_id}": {
339
+ "/accounts/{bank_account_id}/transactions": {
245
340
  parameters: {
246
341
  query?: never;
247
342
  header?: never;
248
- path: {
249
- address_id: string;
250
- };
343
+ path?: never;
251
344
  cookie?: never;
252
345
  };
253
- get?: never;
346
+ /**
347
+ * List one account's transactions
348
+ * @description Answers the transactions the account's statement presentation reads, so an integrator sees exactly what a person would see, one page at a time in the same shape as `GET /accounts`: feed `next_cursor` back as `?after=` while `has_more`. Granted by a `bank_transaction` authorization detail with `read` whose `accounts` reach this account.
349
+ */
350
+ get: operations["listAccountTransactions"];
254
351
  put?: never;
255
352
  post?: never;
256
- /** Soft-delete one personal address */
257
- delete: operations["deleteAddress"];
353
+ delete?: never;
258
354
  options?: never;
259
355
  head?: never;
260
- /** Update one personal address */
261
- patch: operations["updateAddress"];
356
+ patch?: never;
262
357
  trace?: never;
263
358
  };
264
- "/accounts": {
359
+ "/intents/{intent_id}/events": {
265
360
  parameters: {
266
361
  query?: never;
267
362
  header?: never;
268
363
  path?: never;
269
364
  cookie?: never;
270
365
  };
271
- /** List personal bank accounts and balances */
272
- get: operations["listAccounts"];
366
+ /** Replay durable facts for one authorized Intent */
367
+ get: operations["readIntentEvents"];
273
368
  put?: never;
274
369
  post?: never;
275
370
  delete?: never;
@@ -278,58 +373,70 @@ export interface paths {
278
373
  patch?: never;
279
374
  trace?: never;
280
375
  };
281
- "/intents": {
376
+ "/intents/{intent_id}": {
282
377
  parameters: {
283
378
  query?: never;
284
379
  header?: never;
285
- path?: never;
380
+ path: {
381
+ intent_id: string;
382
+ };
286
383
  cookie?: never;
287
384
  };
288
- get?: never;
385
+ /** Read one intent created under the same exact OAuth Grant */
386
+ get: operations["getIntent"];
289
387
  put?: never;
290
- /** Create an intent under the exact OAuth Grant */
291
- post: operations["createIntent"];
388
+ post?: never;
292
389
  delete?: never;
293
390
  options?: never;
294
391
  head?: never;
295
392
  patch?: never;
296
393
  trace?: never;
297
394
  };
298
- "/accounts/{bank_account_id}/events": {
395
+ "/intents/{intent_id}/close": {
299
396
  parameters: {
300
397
  query?: never;
301
398
  header?: never;
302
- path?: never;
399
+ path: {
400
+ intent_id: string;
401
+ };
303
402
  cookie?: never;
304
403
  };
305
- /** Replay bank facts with account movement read permission */
306
- get: operations["readAccountEvents"];
404
+ get?: never;
307
405
  put?: never;
308
- post?: never;
406
+ /**
407
+ * Close this application's no-target deposit collection with an explicit close Grant action
408
+ * @description Idempotent. Preserves existing terminal outcomes. Does not move funds, cancel accepted bank commands, or grant account transaction access.
409
+ */
410
+ post: operations["closeDeposit"];
309
411
  delete?: never;
310
412
  options?: never;
311
413
  head?: never;
312
414
  patch?: never;
313
415
  trace?: never;
314
416
  };
315
- "/intents/{intent_id}/events": {
417
+ "/intents/{intent_id}/approve": {
316
418
  parameters: {
317
419
  query?: never;
318
420
  header?: never;
319
- path?: never;
421
+ path: {
422
+ intent_id: string;
423
+ };
320
424
  cookie?: never;
321
425
  };
322
- /** Replay durable facts for one authorized Intent */
323
- get: operations["readIntentEvents"];
426
+ get?: never;
324
427
  put?: never;
325
- post?: never;
428
+ /**
429
+ * Approve an Intent with a Grant holding the family's approve action
430
+ * @description Approval by a credential, without a person: the Grant behind the token must hold `approve` on the family that releases this Intent type (`bank_transfer` for a transfer) for the same subject, and within that detail's `transactions.maximum`. Above it the call answers `422 amount_out_of_grant` and the Intent stays pending for another approver. A transfer whose source is still for a person to pick answers `409 interaction_required`. Accepted is not moved: wait for `transfer.succeeded` or `transfer.failed`. Safe to retry.
431
+ */
432
+ post: operations["approveIntent"];
326
433
  delete?: never;
327
434
  options?: never;
328
435
  head?: never;
329
436
  patch?: never;
330
437
  trace?: never;
331
438
  };
332
- "/intents/{intent_id}": {
439
+ "/intents/{intent_id}/reject": {
333
440
  parameters: {
334
441
  query?: never;
335
442
  header?: never;
@@ -338,17 +445,20 @@ export interface paths {
338
445
  };
339
446
  cookie?: never;
340
447
  };
341
- /** Read one intent created under the same exact OAuth Grant */
342
- get: operations["getIntent"];
448
+ get?: never;
343
449
  put?: never;
344
- post?: never;
450
+ /**
451
+ * Reject an Intent with a Grant holding the family's reject action
452
+ * @description An approver declining an Intent, recorded as a Rejection and kept apart from a Cancellation (the creator withdrawing it). The Grant behind the token must hold `reject` on the family that releases this Intent type for the same subject; no maximum applies to a rejection. Answers `409 intent_expired` when the Intent's deadline has passed.
453
+ */
454
+ post: operations["rejectIntent"];
345
455
  delete?: never;
346
456
  options?: never;
347
457
  head?: never;
348
458
  patch?: never;
349
459
  trace?: never;
350
460
  };
351
- "/intents/{intent_id}/close": {
461
+ "/intents/{intent_id}/cancel": {
352
462
  parameters: {
353
463
  query?: never;
354
464
  header?: never;
@@ -360,29 +470,30 @@ export interface paths {
360
470
  get?: never;
361
471
  put?: never;
362
472
  /**
363
- * Close this application's no-target deposit collection with an explicit close Grant action
364
- * @description Idempotent. Preserves existing terminal outcomes. Does not move funds, cancel accepted bank commands, or grant account movement access.
473
+ * Withdraw an Intent the calling client created
474
+ * @description A Cancellation is the creator withdrawing its own request: only the client and Grant that created the Intent may cancel it. An approver declining it uses `reject`, and the audit keeps the two apart. Records why: an Intent that vanished without a reason is an unexplained gap. Answers `409 intent_expired` when the Intent's deadline to be approved and executed has already passed.
365
475
  */
366
- post: operations["closeDeposit"];
476
+ post: operations["cancelIntent"];
367
477
  delete?: never;
368
478
  options?: never;
369
479
  head?: never;
370
480
  patch?: never;
371
481
  trace?: never;
372
482
  };
373
- "/intents/{intent_id}/execute": {
483
+ "/signatures/verify": {
374
484
  parameters: {
375
485
  query?: never;
376
486
  header?: never;
377
- path: {
378
- intent_id: string;
379
- };
487
+ path?: never;
380
488
  cookie?: never;
381
489
  };
382
490
  get?: never;
383
491
  put?: never;
384
- /** Execute a withdrawal when its exact OAuth Grant permits non-interactive execution */
385
- post: operations["executeWithdrawal"];
492
+ /**
493
+ * Verify a Signed Instruction against the OAuth Client's registered keys, without acting on it
494
+ * @description Verifies the assertion's signature, `kid`, algorithm, issuer, audience and expiration against the Signing Keys the presenting OAuth Client has registered, and returns its verified claims untouched. Acts on nothing: this is the smallest surface that exercises signing end to end, so an integrator can confirm that the key it registered, the `kid` its SDK derived and the claims it signs all line up before any of them is submitted to create, execute or approve an Intent. Requires only a valid OAuth bearer token, no scope or authorization detail.
495
+ */
496
+ post: operations["verifySignature"];
386
497
  delete?: never;
387
498
  options?: never;
388
499
  head?: never;
@@ -393,94 +504,55 @@ export interface paths {
393
504
  export type webhooks = Record<string, never>;
394
505
  export interface components {
395
506
  schemas: {
396
- WebhookDelivery: {
397
- /** Format: uuid */
398
- id: string;
399
- /** Format: uuid */
400
- subscription_id: string;
401
- /** Format: uuid */
402
- event_id: string;
403
- event_type: string;
404
- /** Format: date-time */
405
- occurred_at: string;
406
- /** @enum {string} */
407
- status: "pending" | "retrying" | "exhausted" | "succeeded";
408
- attempts: number;
409
- total_attempts: number;
410
- /** Format: date-time */
411
- next_attempt_at: string;
412
- /** Format: date-time */
413
- last_attempt_at: string | null;
414
- /** Format: date-time */
415
- delivered_at: string | null;
416
- last_status_code: number | null;
417
- last_error: string | null;
418
- redrive_count: number;
419
- /** Format: date-time */
420
- redriven_at: string | null;
421
- cursor: string;
422
- };
423
- WebhookDeliveryPage: {
424
- items: components["schemas"]["WebhookDelivery"][];
425
- has_more: boolean;
426
- next_cursor: string;
427
- };
428
- WebhookAttempt: {
507
+ ProjectProfile: {
429
508
  /** Format: uuid */
430
509
  id: string;
431
- /** Format: uuid */
432
- delivery_id: string;
433
- number: number;
434
- /** Format: date-time */
435
- started_at: string;
436
- /** Format: date-time */
437
- finished_at: string | null;
438
- status_code: number | null;
439
- error: string | null;
440
- cursor: string;
441
- };
442
- WebhookAttemptPage: {
443
- items: components["schemas"]["WebhookAttempt"][];
444
- has_more: boolean;
445
- next_cursor: string;
446
- };
447
- WebhookSubscriptionCreate: {
448
- subject: {
449
- /** @enum {string} */
450
- kind: "intent" | "account";
451
- /** Format: uuid */
452
- id: string;
453
- };
510
+ name: string | null;
511
+ email: string | null;
454
512
  /** Format: uri */
455
- url: string;
456
- event_types: string[];
457
- signing_secret: string;
513
+ avatar: string | null;
514
+ phone: string | null;
515
+ identities: components["schemas"]["ProfileIdentity"][] | null;
516
+ addresses: components["schemas"]["Address"][] | null;
458
517
  };
459
- WebhookSubscription: {
460
- /** Format: uuid */
461
- id: string;
462
- /** @enum {string} */
463
- subject_kind: "intent" | "account";
464
- /** Format: uuid */
465
- subject_id: string;
466
- url: string;
467
- event_types: string[];
468
- /** @enum {string} */
469
- verification_status: "pending" | "verified" | "failed" | "disabled";
470
- /** Format: date-time */
471
- created_at: string;
472
- /** Format: date-time */
473
- verified_at: string | null;
474
- verification_attempts: number;
475
- verification_error: string | null;
518
+ ProjectProfilePage: {
519
+ data: components["schemas"]["ProjectProfile"][];
520
+ has_more: boolean;
521
+ next_cursor: string | null;
476
522
  };
477
523
  ApiError: {
478
524
  error: string;
479
525
  required_scope?: string;
526
+ /** @description RAR type the Grant has to cover for this operation, on `insufficient_authorization`. */
527
+ required_type?: string;
480
528
  required_action?: string;
529
+ /** @description The path parameter that is not well formed, on `invalid_identifier`. */
530
+ parameter?: string;
481
531
  code?: string;
482
532
  message?: string;
483
533
  };
534
+ /** @description The verified `kid`, algorithm and claims of a Signed Instruction that verified against the presenting OAuth Client's registered keys. `claims` is the decoded JWT payload as signed -- this operation checks only `exp` and `jti` structurally and otherwise passes every claim through untouched, so it never narrows to one Intent family's claim schema. */
535
+ SignedInstructionVerification: {
536
+ /** @description RFC 7638 JWK Thumbprint of the Signing Key that verified the assertion. */
537
+ key_id: string;
538
+ /** @enum {string} */
539
+ algorithm: "RS256" | "ES256";
540
+ claims: {
541
+ [key: string]: unknown;
542
+ };
543
+ };
544
+ SignedInstructionInvalidError: {
545
+ /** @constant */
546
+ error: "invalid_signed_instruction";
547
+ /**
548
+ * @description One cause, never a generic failure: malformed_assertion, missing_key_id, disallowed_algorithm, unknown_key, revoked_key, unusable_key, invalid_signature, expired_assertion, premature_assertion, missing_expiration, missing_instruction_id, missing_claim, wrong_audience, wrong_issuer, or verification_failed.
549
+ * @enum {string}
550
+ */
551
+ reason: "malformed_assertion" | "missing_key_id" | "disallowed_algorithm" | "unknown_key" | "revoked_key" | "unusable_key" | "invalid_signature" | "expired_assertion" | "premature_assertion" | "missing_expiration" | "missing_instruction_id" | "missing_claim" | "wrong_audience" | "wrong_issuer" | "verification_failed";
552
+ detail: string;
553
+ /** @description The `kid` the assertion declared, when one could be read from it. */
554
+ key_id?: string | null;
555
+ };
484
556
  GrantAuthorization: {
485
557
  /** @constant */
486
558
  active: true;
@@ -488,15 +560,12 @@ export interface components {
488
560
  authorizationDetails: {
489
561
  [key: string]: unknown;
490
562
  }[];
491
- orgId?: string | null;
492
563
  /** Format: uuid */
493
564
  clientId: string;
494
565
  /** Format: uuid */
495
566
  grantId: string;
496
567
  /** Format: uri */
497
568
  resource: string;
498
- /** Format: uuid */
499
- consumerInstallationId: string | null;
500
569
  scopes: string[];
501
570
  subject: components["schemas"]["GrantSubject"];
502
571
  };
@@ -528,15 +597,15 @@ export interface components {
528
597
  name?: string;
529
598
  /** Format: uri */
530
599
  picture?: string;
600
+ /** @description The Profile's phone number, present when the `phone` scope is granted and a number is on file. */
601
+ phone?: string;
602
+ /** @description Present and `true` when the `phone` scope is granted and the number was confirmed. */
603
+ phone_verified?: boolean;
531
604
  };
532
- Identity: {
605
+ ProfileIdentity: {
533
606
  /** Format: uuid */
534
607
  id: string;
535
608
  country: string;
536
- level1: string | null;
537
- level2: string | null;
538
- level3: string | null;
539
- street_address: string | null;
540
609
  nationality: string | null;
541
610
  /** Format: date */
542
611
  born_date: string | null;
@@ -546,9 +615,24 @@ export interface components {
546
615
  document_value: string;
547
616
  given_names: string | null;
548
617
  family_names: string | null;
618
+ business_activity_code: string | null;
619
+ };
620
+ ProfileIdentityPage: {
621
+ data: components["schemas"]["ProfileIdentity"][];
622
+ next_cursor: string | null;
623
+ has_more: boolean;
624
+ };
625
+ OrganizationIdentity: {
626
+ /** Format: uuid */
627
+ id: string;
628
+ legal_name: string;
629
+ country: string;
630
+ /** @constant */
631
+ document_kind: "rut";
632
+ document_value: string;
549
633
  };
550
- IdentityPage: {
551
- data: components["schemas"]["Identity"][];
634
+ OrganizationIdentityPage: {
635
+ data: components["schemas"]["OrganizationIdentity"][];
552
636
  next_cursor: string | null;
553
637
  has_more: boolean;
554
638
  };
@@ -599,21 +683,6 @@ export interface components {
599
683
  /** Format: uuid */
600
684
  id: string;
601
685
  };
602
- CompanyIdentity: {
603
- companyId: string;
604
- legalName: string;
605
- countryCode: string;
606
- legalIdentifier: components["schemas"]["LegalIdentifier"];
607
- };
608
- CompanyAddresses: {
609
- companyId: string;
610
- addresses: components["schemas"]["CompanyAddress"][];
611
- };
612
- LegalIdentifier: {
613
- /** @constant */
614
- kind: "rut";
615
- value: string;
616
- };
617
686
  PermissionCatalogPage: {
618
687
  data: components["schemas"]["PermissionCatalogEntry"][];
619
688
  nextCursor: string | null;
@@ -640,61 +709,155 @@ export interface components {
640
709
  };
641
710
  examples: unknown[];
642
711
  };
643
- CompanyAddress: {
644
- /** Format: uuid */
645
- addressId: string;
646
- countryCode: string;
647
- level1?: string;
648
- level2?: string;
649
- level3?: string;
650
- streetAddress?: string;
651
- /** @enum {string} */
652
- labelKind: "home" | "work" | "other";
653
- labelName?: string;
654
- /** Format: int32 */
655
- priority: number;
656
- };
657
712
  BankAccount: {
658
713
  /** Format: uuid */
659
714
  id: string;
715
+ /** @description The Account Alias its holder chose, or null for an account opened before aliases existed. Exact-match input for `GET /accounts?alias=`. */
716
+ alias: string | null;
717
+ /** @description The account's own name, the one `account_opening.succeeded` announces; the product name only for an account nobody named. */
660
718
  name: string;
661
719
  number: string;
662
720
  type: string;
663
721
  currency: string;
664
722
  balance: string;
665
723
  };
666
- BankAccountReference: {
667
- bank_id: string;
668
- /** @constant */
669
- country: "CL";
670
- account_number: string;
671
- /** @enum {string} */
672
- account_kind: "checking" | "debit" | "savings";
673
- account_holder_id: string;
674
- account_holder_name: string;
724
+ /** @description A cursor page of accounts, in the same opaque-cursor shape as `FinancialEventPage`: `next_cursor` is only ever fed back as `?after=`, never parsed by the caller. */
725
+ AccountPage: {
726
+ data: components["schemas"]["BankAccount"][];
727
+ /** @description Feed back as `?after=` while `has_more`; never parse it. */
728
+ next_cursor: string | null;
729
+ has_more: boolean;
675
730
  };
676
- WithdrawalBeneficiary: components["schemas"]["BankAccountReference"] & {
677
- editable?: boolean;
731
+ /** @description One account transaction, newest first. Keys are camelCase because this schema describes the wire shape the server actually sends here, which differs from the snake_case used by the rest of this contract -- the route answers with its existing internal projection rather than a bespoke public representation. */
732
+ BankTransaction: {
733
+ /** Format: uuid */
734
+ id: string;
735
+ transactionId: string | null;
736
+ description: string;
737
+ /** @description Issued by the external bank, not by Andco, and republished exactly as the bank sent it: the server never normalizes it, because normalizing risks inventing a value the issuer never sent, and reconciliation only checks out if this figure matches the bank's own record byte for byte. That is also why it carries none of the digit-count bound that an Andco-defined amount does -- tightening this pattern would turn a reporting quirk from the bank into a hard rejection of a legitimate bank fact. The sign is real: a transaction is an accounting fact with a direction, unlike a requested amount, which is never negative. The pattern's decimal part is accepted by the parser; nothing here asserts the bank actually sends fractional amounts. */
738
+ amount: string;
739
+ type: string;
740
+ origin: string | null;
741
+ /** Format: date-time */
742
+ date: string;
743
+ /** @description Same provenance and the same reason for the unbounded pattern as `amount` above: issued by the external bank and republished exactly, never normalized, so reconciliation can compare it byte for byte against the bank's own record. Real balances do go negative, so the sign is not narrowed away. */
744
+ runningBalance: string | null;
745
+ paymentType: string | null;
746
+ reversed: boolean;
747
+ note: string | null;
678
748
  };
679
- WithdrawalAmount: {
680
- /** @constant */
681
- currency: "CLP";
682
- suggested: string;
749
+ /** @description A page of one account's transactions, newest first, in the shape of `AccountPage`: `next_cursor` is only ever fed back as `?after=`, and is `null` once `has_more` is false. */
750
+ BankTransactionPage: {
751
+ data: components["schemas"]["BankTransaction"][];
752
+ next_cursor: string | null;
753
+ has_more: boolean;
754
+ };
755
+ /** @description The monetary scalar, defined once. It travels as a string because CLP has no minor unit and an exact peso amount does not survive a JSON number. Every envelope carries it as `value`: what a request or a Signed Instruction asks for, what an Intent was asked for, and what a transfer actually moved (`settled.value`). */
756
+ MonetaryValue: string;
757
+ /** @description The Account Alias its holder chose for one of its own accounts: unique per holder and immutable. It is resolved on every operation rather than once, so it travels in the body and never in a path segment. */
758
+ AccountAlias: string;
759
+ /** @description One Andco account of the Grant's subject, named by its Account Alias. */
760
+ IntentAccountAlias: {
761
+ /** @constant */
762
+ type: "alias";
763
+ alias: components["schemas"]["AccountAlias"];
764
+ };
765
+ /** @description One Andco account, named by its identifier. */
766
+ IntentAccountId: {
767
+ /** @constant */
768
+ type: "account";
769
+ /** Format: uuid */
770
+ id: string;
771
+ };
772
+ /** @description One account at another Chilean bank, with every field a `bank_transfer` `external` matcher can fix, so the Grant's destinations are asked about exactly this account. */
773
+ IntentAccountExternal: {
774
+ /** @constant */
775
+ type: "external";
776
+ bank_id: string;
777
+ /** @enum {string} */
778
+ account_type: "checking" | "debit" | "savings";
779
+ account_id: string;
780
+ holder_id: string;
781
+ holder_name: string;
782
+ };
783
+ /** @description One Andco account of the Grant's subject, in the account matcher vocabulary: by Account Alias (`{ type: "alias", alias }`) or by identifier (`{ type: "account", id }`). It is where a transfer's money leaves from, where a deposit lands and the account a closure closes. An Alias is answered back as an Alias: it resolves to an account at execution. */
784
+ IntentAccount: components["schemas"]["IntentAccountAlias"] | components["schemas"]["IntentAccountId"];
785
+ /** @description Where a signed transfer's money lands, in the `bank_transfer` matcher vocabulary: an Andco account by Alias or identifier, or an account at another Chilean bank. */
786
+ TransferDestination: components["schemas"]["IntentAccountAlias"] | components["schemas"]["IntentAccountId"] | components["schemas"]["IntentAccountExternal"];
787
+ /** @description Where a proposed transfer's money lands, in the request and in the answered Intent alike. It is always locked on the confirmation screen: `editable` only admits `false`, because redirecting a transfer at confirmation is not implemented yet, and `editable: true` fails at creation with `invalid_request`. Defaults to false in a request; an answered Intent always states it. */
788
+ TransferDestinationProposal: {
789
+ /** @constant */
790
+ type: "alias";
791
+ alias: components["schemas"]["AccountAlias"];
792
+ /** @constant */
793
+ editable?: false;
794
+ } | {
795
+ /** @constant */
796
+ type: "account";
797
+ /** Format: uuid */
798
+ id: string;
799
+ /** @constant */
800
+ editable?: false;
801
+ } | {
802
+ /** @constant */
803
+ type: "external";
804
+ bank_id: string;
805
+ /** @enum {string} */
806
+ account_type: "checking" | "debit" | "savings";
807
+ account_id: string;
808
+ holder_id: string;
809
+ holder_name: string;
810
+ /** @constant */
811
+ editable?: false;
812
+ };
813
+ /** @description The amount a deposit asks for. `editable: true` lets the payer change it on the screen. It is never what moved: a deposit answers that in `progress.credited`. */
814
+ IntentAmount: {
815
+ /** @constant */
816
+ currency: "CLP";
817
+ value: components["schemas"]["MonetaryValue"];
818
+ /** @description Defaults to false when omitted. */
683
819
  editable?: boolean;
684
820
  };
685
- WithdrawalAmountResolved: {
821
+ /** @description The amount a transfer proposes. `editable` only admits `false`: changing what a transfer moves at confirmation is not implemented yet, so `editable: true` fails at creation with `invalid_request` instead of leaving an Intent nobody can confirm. What moved is `settled`. */
822
+ TransferAmountProposal: {
823
+ /** @constant */
824
+ currency: "CLP";
825
+ value: components["schemas"]["MonetaryValue"];
826
+ /**
827
+ * @description Defaults to false when omitted.
828
+ * @constant
829
+ */
830
+ editable?: false;
831
+ };
832
+ /** @description The amount a Signed Instruction orders: the same `{ currency, value }` as a request, with nothing left for a person to change. */
833
+ SignedAmount: {
686
834
  /** @constant */
687
835
  currency: "CLP";
688
- suggested: string;
836
+ value: components["schemas"]["MonetaryValue"];
837
+ };
838
+ /** @description The amount a transfer orders, as it is answered: the request's `value`. `editable` is always false while confirmation-time editing is not implemented. It is never proof that money moved; read `settled` for that. */
839
+ TransferAmount: {
840
+ /** @constant */
841
+ currency: "CLP";
842
+ value: components["schemas"]["MonetaryValue"];
689
843
  editable: boolean;
690
844
  };
845
+ /** @description The money a transfer actually moved and when it settled. Present only once the transfer `succeeded`; null before, and null for ever when it fails, is rejected, cancelled or expires. */
846
+ TransferSettlement: {
847
+ /** @constant */
848
+ currency: "CLP";
849
+ value: components["schemas"]["MonetaryValue"];
850
+ /** Format: date-time */
851
+ at: string;
852
+ };
853
+ /** @description The amount a deposit asks for. `value` is the request's, `confirmed` the payer's own target when `editable`; what arrived is `progress.credited`, never these. */
691
854
  DepositTarget: {
692
855
  /** @constant */
693
856
  currency: "CLP";
694
- /** @description Immutable application suggestion from the creation request. */
695
- suggested: string;
857
+ /** @description Immutable amount from the creation request. */
858
+ value: components["schemas"]["MonetaryValue"];
696
859
  editable: boolean;
697
- /** @description Explicitly confirmed target; the suggestion applies until confirmation. */
860
+ /** @description Explicitly confirmed target; `value` applies until confirmation. */
698
861
  confirmed: string | null;
699
862
  /**
700
863
  * Format: date-time
@@ -723,13 +886,21 @@ export interface components {
723
886
  /** Format: date-time */
724
887
  server_time: string;
725
888
  };
726
- /** @description Common suggestion; each bank operation freezes its own final note at confirmation. */
889
+ /** @description The bank reference a request asks for. `editable: true` lets the person who confirms change it; each bank operation freezes its own final note at confirmation. */
727
890
  IntentNote: {
728
- /** @description Trimmed bank reference suggestion. An empty reference is allowed. */
729
- suggested: string;
891
+ /** @description Trimmed bank reference. An empty reference is allowed. */
892
+ value: string;
730
893
  /** @description Defaults to false when omitted. */
731
894
  editable?: boolean;
732
895
  };
896
+ /** @description Cancelling names why, because an Intent that vanished without a reason is an unexplained gap. */
897
+ IntentCancellation: {
898
+ reason: string;
899
+ };
900
+ /** @description An approver declining an Intent names why. The audit keeps a Rejection apart from a Cancellation, which is the creator withdrawing its own request. */
901
+ IntentRejection: {
902
+ reason: string;
903
+ };
733
904
  DepositIntentCreate: ({
734
905
  /** @description Positive fixed duration, anchored once when the operation is first created. */
735
906
  expires_in?: string;
@@ -740,15 +911,26 @@ export interface components {
740
911
  expires_at?: string | null;
741
912
  /** @constant */
742
913
  type: "deposit";
743
- amount?: components["schemas"]["WithdrawalAmount"];
914
+ /** @description The account of the Grant's subject the money lands on. Omitted, the Grant's `bank_deposit` destinations must admit exactly one active account, or the request fails with `deposit_destination_ambiguous`; named, it must be one of them, or the request fails with `invalid_destination`. */
915
+ destination?: components["schemas"]["IntentAccount"];
916
+ amount?: components["schemas"]["IntentAmount"];
744
917
  note?: components["schemas"]["IntentNote"];
745
918
  metadata?: {
746
919
  [key: string]: unknown;
747
920
  };
748
921
  } & unknown) & (unknown | unknown);
749
- DepositDestination: components["schemas"]["BankAccountReference"] & {
922
+ /** @description The Andco account a deposit lands on: the `{ type: "account", id }` matcher plus what a payer at another bank types to pay into it. `holder_id` and `holder_name` are masked when the reader may not see them. */
923
+ DepositDestination: {
924
+ /** @constant */
925
+ type: "account";
750
926
  /** Format: uuid */
751
- bank_account_id: string;
927
+ id: string;
928
+ number: string;
929
+ /** @enum {string} */
930
+ account_type: "checking" | "debit" | "savings";
931
+ /** @description Null when the holder has no identity document on file. */
932
+ holder_id: string | null;
933
+ holder_name: string;
752
934
  };
753
935
  DepositProgress: {
754
936
  credited: string;
@@ -771,7 +953,7 @@ export interface components {
771
953
  account_type: "checking" | "debit" | "savings" | null;
772
954
  /** @constant */
773
955
  currency: "CLP";
774
- amount: string;
956
+ amount: components["schemas"]["MonetaryValue"];
775
957
  transaction_id?: string;
776
958
  };
777
959
  DepositCloseResult: {
@@ -839,43 +1021,42 @@ export interface components {
839
1021
  /** Format: uri */
840
1022
  authorization_url: string;
841
1023
  };
842
- WithdrawalIntentCreate: {
1024
+ /** @description The `application/json` half of creating a transfer: an Intent born waiting for an Approval. A null `source` is the confirmation screen, where a person picks the account the money leaves from among the Grant's sources; the amount and the destination are always locked there (`editable: true` is an `invalid_request`). The `application/jwt` half is `SignedTransferIntentClaims`, and the two are separate schemas rather than one with optional fields on purpose: when signed and unsigned members share an object, something eventually reads the wrong ones. */
1025
+ TransferIntentCreate: {
843
1026
  /** @description Positive fixed duration, anchored once when the operation is first created. */
844
1027
  expires_in?: string;
845
1028
  /**
846
1029
  * Format: date-time
847
- * @description Absolute deadline with an explicit timezone. Exactly one expiration field is required.
1030
+ * @description Absolute deadline with an explicit timezone. Exactly one expiration field is required, and a transfer may not omit or null it.
848
1031
  */
849
1032
  expires_at?: string;
850
1033
  /** @constant */
851
- type: "withdrawal";
852
- source?: null | {
853
- /** Format: uuid */
854
- bank_account_id: string;
855
- } | components["schemas"]["BankAccountReference"];
856
- beneficiary: components["schemas"]["WithdrawalBeneficiary"] | components["schemas"]["InternalBankAccountReference"];
857
- amount: components["schemas"]["WithdrawalAmount"];
1034
+ type: "transfer";
1035
+ /** @description The Andco account the money leaves. Null leaves that choice to a person on a screen. */
1036
+ source?: null | components["schemas"]["IntentAccount"];
1037
+ destination: components["schemas"]["TransferDestinationProposal"];
1038
+ amount: components["schemas"]["TransferAmountProposal"];
858
1039
  note?: components["schemas"]["IntentNote"];
859
1040
  metadata?: {
860
1041
  [key: string]: unknown;
861
1042
  };
862
1043
  } & (unknown | unknown);
863
- /** @enum {string} */
864
- IntentStatus: "requires_action" | "processing.confirmed" | "processing.settling" | "processing.reversing" | "processing.reconciling" | "succeeded" | "failed" | "failed.insufficient_funds" | "cancelled" | "expired";
865
- WithdrawalIntent: {
1044
+ /** @description Authoritative Project-facing state of a transfer. `source` and `destination` answer in the same matcher vocabulary as the request. `amount` is what the transfer orders and `settled` what it moved: reconciliation reads `settled`, which stays null until the money moved. */
1045
+ TransferIntent: {
866
1046
  /** Format: uuid */
867
1047
  id: string;
868
1048
  /** Format: uri */
869
1049
  resource_server: string;
870
1050
  /** @constant */
871
- type: "withdrawal";
1051
+ type: "transfer";
872
1052
  status: components["schemas"]["IntentStatus"];
873
- source?: {
874
- /** Format: uuid */
875
- bank_account_id: string;
876
- } | components["schemas"]["BankAccountReference"];
877
- beneficiary: components["schemas"]["WithdrawalBeneficiary"];
878
- amount: components["schemas"]["WithdrawalAmountResolved"];
1053
+ /** @description Whether a Signed Instruction created this Intent rather than a plain request. */
1054
+ signed: boolean;
1055
+ /** @description Null while the person has yet to pick where the money leaves from. An Alias is answered back as an Alias, because it stays unresolved until execution. */
1056
+ source: null | components["schemas"]["IntentAccount"];
1057
+ destination: components["schemas"]["TransferDestinationProposal"];
1058
+ amount: components["schemas"]["TransferAmount"];
1059
+ settled: null | components["schemas"]["TransferSettlement"];
879
1060
  fee: {
880
1061
  /** @constant */
881
1062
  currency: "CLP";
@@ -897,53 +1078,66 @@ export interface components {
897
1078
  /** Format: uri */
898
1079
  authorization_url: string;
899
1080
  };
900
- AutomaticChargeIntentCreate: {
901
- /** @description Positive fixed duration, anchored once when the operation is first created. */
902
- expires_in?: string;
1081
+ /** @description The `application/json` half of opening a Cuenta Vista: an Intent born waiting for an Approval. `/accounts` has no `POST` because everything with banking consequence happens through an Intent, and an opening carries no amount, no source and no destination -- only the name the account will answer to. Opening is asynchronous: the answer is the Intent and its status, and the Número de Cuenta arrives on the account's event stream. */
1082
+ AccountOpeningIntentCreate: {
1083
+ /** @constant */
1084
+ type: "account_opening";
1085
+ alias: components["schemas"]["AccountAlias"];
1086
+ /** @description The display label the account opens with. Mutable afterwards, and read by no permission. */
1087
+ name?: string;
903
1088
  /**
904
- * Format: date-time
905
- * @description Absolute deadline with an explicit timezone. Exactly one expiration field is required.
1089
+ * @description Whether naming an Alias that already exists answers with that account instead of failing. It defaults to false, so one name never quietly becomes two accounts.
1090
+ * @default false
906
1091
  */
1092
+ upsert: boolean;
1093
+ expires_in?: string;
1094
+ /** Format: date-time */
907
1095
  expires_at?: string;
908
- /** @constant */
909
- type: "automatic_charge";
910
- source?: null | components["schemas"]["InternalBankAccountReference"];
911
- beneficiary: components["schemas"]["InternalBankAccountReference"];
912
- amount: {
913
- /** @constant */
914
- currency: "CLP";
915
- suggested: string;
916
- /** @constant */
917
- editable?: false;
918
- };
919
1096
  note?: components["schemas"]["IntentNote"];
920
1097
  metadata?: {
921
1098
  [key: string]: unknown;
922
1099
  };
923
1100
  } & (unknown | unknown);
924
- InternalBankAccountReference: {
925
- /** Format: uuid */
926
- bank_account_id: string;
927
- };
928
- AutomaticChargeIntent: {
1101
+ /** @description The verified claims of a Signed Instruction that opens an account. `upsert` lives here and nowhere else: it decides whether naming an Alias that already exists is a refusal or a request for the account already carrying it, which is a difference in what the instruction *orders*. Carried as a transport option, anybody holding the signed instruction could flip it, and what executed would not be what was signed. */
1102
+ SignedAccountOpeningIntentClaims: {
1103
+ iss: string;
1104
+ /** @constant */
1105
+ aud: "https://api.andco.com";
1106
+ /** @description The idempotency key, inside the signature, reused verbatim when retrying. */
1107
+ jti: string;
1108
+ exp: number;
1109
+ iat?: number;
1110
+ nbf?: number;
1111
+ /** @constant */
1112
+ type: "account_opening";
1113
+ alias: components["schemas"]["AccountAlias"];
1114
+ name?: string;
1115
+ /** @default false */
1116
+ upsert: boolean;
1117
+ expires_in?: string;
1118
+ /** Format: date-time */
1119
+ expires_at?: string;
1120
+ metadata?: {
1121
+ [key: string]: unknown;
1122
+ };
1123
+ } & (unknown | unknown);
1124
+ /** @description Authoritative Project-facing state of an account opening. It carries no amount and no fee: an opening moves no money. Opening is asynchronous, so `account.bank_account_id` is absent until the core assigns the Número de Cuenta, which arrives on the account's own event stream rather than in this response. */
1125
+ AccountOpeningIntent: {
929
1126
  /** Format: uuid */
930
1127
  id: string;
931
1128
  /** Format: uri */
932
1129
  resource_server: string;
933
1130
  /** @constant */
934
- type: "automatic_charge";
1131
+ type: "account_opening";
935
1132
  status: components["schemas"]["IntentStatus"];
936
- source?: {
1133
+ /** @description Whether a Signed Instruction created this Intent rather than a plain request. */
1134
+ signed: boolean;
1135
+ account: {
1136
+ alias: components["schemas"]["AccountAlias"];
1137
+ name: string;
1138
+ upsert: boolean;
937
1139
  /** Format: uuid */
938
- bank_account_id: string;
939
- } | components["schemas"]["BankAccountReference"];
940
- beneficiary: components["schemas"]["WithdrawalBeneficiary"];
941
- amount: components["schemas"]["WithdrawalAmountResolved"];
942
- fee: {
943
- /** @constant */
944
- currency: "CLP";
945
- /** @constant */
946
- amount: "0";
1140
+ bank_account_id: string | null;
947
1141
  };
948
1142
  note?: components["schemas"]["IntentNote"];
949
1143
  metadata: {
@@ -960,10 +1154,107 @@ export interface components {
960
1154
  /** Format: uri */
961
1155
  authorization_url: string;
962
1156
  };
963
- DirectoryOrganization: {
1157
+ /** @description The `application/json` half of closing a Cuenta Vista: an Intent born waiting for an Approval. `/accounts` has no `DELETE` because everything with banking consequence happens through an Intent. It carries no amount, no source and no destination -- only a reference to the account it closes. */
1158
+ AccountClosureIntentCreate: {
1159
+ /** @constant */
1160
+ type: "account_closure";
1161
+ account: components["schemas"]["IntentAccount"];
1162
+ expires_in?: string;
1163
+ /** Format: date-time */
1164
+ expires_at?: string;
1165
+ note?: components["schemas"]["IntentNote"];
1166
+ metadata?: {
1167
+ [key: string]: unknown;
1168
+ };
1169
+ } & (unknown | unknown);
1170
+ /** @description The verified claims of a Signed Instruction that closes an account. `account` is required and never editable: an instruction that does not say which account it closes is not signable. */
1171
+ SignedAccountClosureIntentClaims: {
1172
+ iss: string;
1173
+ /** @constant */
1174
+ aud: "https://api.andco.com";
1175
+ /** @description The idempotency key, inside the signature, reused verbatim when retrying. */
1176
+ jti: string;
1177
+ exp: number;
1178
+ iat?: number;
1179
+ nbf?: number;
1180
+ /** @constant */
1181
+ type: "account_closure";
1182
+ account: components["schemas"]["IntentAccount"];
1183
+ expires_in?: string;
1184
+ /** Format: date-time */
1185
+ expires_at?: string;
1186
+ metadata?: {
1187
+ [key: string]: unknown;
1188
+ };
1189
+ } & (unknown | unknown);
1190
+ /** @description Authoritative Project-facing state of an account closure. It carries no amount and no fee. */
1191
+ AccountClosureIntent: {
1192
+ /** Format: uuid */
1193
+ id: string;
1194
+ /** Format: uri */
1195
+ resource_server: string;
1196
+ /** @constant */
1197
+ type: "account_closure";
1198
+ status: components["schemas"]["IntentStatus"];
1199
+ /** @description Whether a Signed Instruction created this Intent rather than a plain request. */
1200
+ signed: boolean;
1201
+ account: components["schemas"]["IntentAccount"];
1202
+ /**
1203
+ * Format: uuid
1204
+ * @description The account the reference resolved to, once resolution has happened, whether or not the closure itself has settled yet.
1205
+ */
1206
+ resolved_account_id: string | null;
1207
+ note?: components["schemas"]["IntentNote"];
1208
+ metadata: {
1209
+ [key: string]: unknown;
1210
+ };
1211
+ /** Format: date-time */
1212
+ server_time: string;
1213
+ /** @description Remaining actionable lifetime at server_time; zero for finite terminal Intents. */
1214
+ expires_in_seconds: number;
1215
+ /** Format: date-time */
1216
+ expires_at: string;
1217
+ /** Format: date-time */
1218
+ created_at: string;
1219
+ /** Format: uri */
1220
+ authorization_url: string;
1221
+ };
1222
+ /** @description The verified claims of a Signed Instruction, sent to the same endpoint as `application/jwt`. Nothing here is optional that the transfer needs and nothing here is editable: an instruction that does not say where the money comes from or where it goes is not signable, so `source` and `destination` are required and the amount carries no `editable`. `note` is a plain reference for the same reason -- there is no screen on this path, so there is nobody to propose it to. When a signature is present, every value the transfer uses comes from these claims and none from the envelope carrying them. `exp` bounds how long the instruction may be submitted; `expires_in` or `expires_at` bounds how long the Intent may be approved and executed. They are different deadlines. */
1223
+ SignedTransferIntentClaims: {
1224
+ /** @description The client_id of the OAuth Client whose Signing Key signed this instruction. */
1225
+ iss: string;
1226
+ /** @constant */
1227
+ aud: "https://api.andco.com";
1228
+ /** @description The idempotency key, inside the signature, reused verbatim when retrying. */
1229
+ jti: string;
1230
+ exp: number;
1231
+ iat?: number;
1232
+ nbf?: number;
1233
+ /** @constant */
1234
+ type: "transfer";
1235
+ source: components["schemas"]["IntentAccount"];
1236
+ destination: components["schemas"]["TransferDestination"];
1237
+ amount: components["schemas"]["SignedAmount"];
1238
+ expires_in?: string;
1239
+ /** Format: date-time */
1240
+ expires_at?: string;
1241
+ /** @description A plain bank reference; a Signed Instruction proposes nothing. */
1242
+ note?: string;
1243
+ metadata?: {
1244
+ [key: string]: unknown;
1245
+ };
1246
+ } & (unknown | unknown);
1247
+ /** @enum {string} */
1248
+ IntentStatus: "requires_action" | "processing.confirmed" | "processing.settling" | "processing.reversing" | "processing.reconciling" | "succeeded" | "failed" | "failed.insufficient_funds" | "cancelled" | "rejected" | "expired";
1249
+ Organization: {
964
1250
  id: string;
965
1251
  name: string;
966
1252
  };
1253
+ OrganizationPage: {
1254
+ data: components["schemas"]["Organization"][];
1255
+ next_cursor: string | null;
1256
+ has_more: boolean;
1257
+ };
967
1258
  };
968
1259
  responses: {
969
1260
  /** @description The OAuth bearer token is missing, invalid, expired, or revoked */
@@ -975,7 +1266,7 @@ export interface components {
975
1266
  "application/json": components["schemas"]["ApiError"];
976
1267
  };
977
1268
  };
978
- /** @description The browser origin is not allowed or the token does not grant the resource's required scope */
1269
+ /** @description The browser origin is not allowed, or the token's Grant lacks the authorization detail the resource requires or names another subject */
979
1270
  Forbidden: {
980
1271
  headers: {
981
1272
  [name: string]: unknown;
@@ -984,7 +1275,7 @@ export interface components {
984
1275
  "application/json": components["schemas"]["ApiError"];
985
1276
  };
986
1277
  };
987
- /** @description The request body or headers are invalid */
1278
+ /** @description The request body, query or headers are invalid (`invalid_request`), or an identifier in the path is not well formed (`invalid_identifier`, with `parameter` naming it). A malformed identifier is refused before authorization and never answers `not_found`. */
988
1279
  InvalidRequest: {
989
1280
  headers: {
990
1281
  [name: string]: unknown;
@@ -1048,343 +1339,358 @@ export interface components {
1048
1339
  };
1049
1340
  };
1050
1341
  };
1051
- parameters: never;
1342
+ parameters: {
1343
+ /** @description The Profile the Grant's subject names. */
1344
+ ProfileId: string;
1345
+ /** @description The Project whose Profiles are read; it must be one of the Grant's `project_ids`, or any of the Organization's when that list is empty. */
1346
+ ProjectId: string;
1347
+ /** @description The Organization the Grant's subject names. */
1348
+ OrganizationId: string;
1349
+ AddressId: string;
1350
+ After: string;
1351
+ Limit: number;
1352
+ };
1052
1353
  requestBodies: never;
1053
1354
  headers: never;
1054
1355
  pathItems: never;
1055
1356
  }
1056
1357
  export type $defs = Record<string, never>;
1057
1358
  export interface operations {
1058
- createWebhookSubscription: {
1359
+ listProjectProfiles: {
1059
1360
  parameters: {
1060
- query?: never;
1061
- header: {
1062
- "Idempotency-Key": string;
1361
+ query?: {
1362
+ /** @description An eq.UUID or in.(UUID,UUID) filter that narrows the authorized Clients. */
1363
+ client_id?: string;
1364
+ /** @description A comma-separated subset of the fields the Grant allows, for example `name,email`. */
1365
+ fields?: string;
1366
+ after?: string;
1367
+ limit?: number;
1063
1368
  };
1064
- path?: never;
1065
- cookie?: never;
1066
- };
1067
- requestBody: {
1068
- content: {
1069
- "application/json": components["schemas"]["WebhookSubscriptionCreate"];
1369
+ header?: never;
1370
+ path: {
1371
+ /** @description The Project whose Profiles are read; it must be one of the Grant's `project_ids`, or any of the Organization's when that list is empty. */
1372
+ project_id: components["parameters"]["ProjectId"];
1070
1373
  };
1374
+ cookie?: never;
1071
1375
  };
1376
+ requestBody?: never;
1072
1377
  responses: {
1073
- /** @description Registered endpoint awaiting verification, or the existing idempotent registration */
1074
- 201: {
1378
+ /** @description One cursor page of the Project's Profiles */
1379
+ 200: {
1075
1380
  headers: {
1076
1381
  [name: string]: unknown;
1077
1382
  };
1078
1383
  content: {
1079
- "application/json": components["schemas"]["WebhookSubscription"];
1384
+ "application/json": components["schemas"]["ProjectProfilePage"];
1080
1385
  };
1081
1386
  };
1082
1387
  400: components["responses"]["InvalidRequest"];
1083
1388
  401: components["responses"]["InvalidToken"];
1084
1389
  403: components["responses"]["Forbidden"];
1085
- 409: components["responses"]["Conflict"];
1390
+ 404: components["responses"]["UnsupportedVersion"];
1086
1391
  503: components["responses"]["TemporarilyUnavailable"];
1087
1392
  };
1088
1393
  };
1089
- getWebhookSubscription: {
1394
+ getGrantAuthorization: {
1090
1395
  parameters: {
1091
1396
  query?: never;
1092
1397
  header?: never;
1093
- path: {
1094
- subscription_id: string;
1095
- };
1398
+ path?: never;
1096
1399
  cookie?: never;
1097
1400
  };
1098
1401
  requestBody?: never;
1099
1402
  responses: {
1100
- /** @description Safe subscription details without credentials or verification challenge */
1403
+ /** @description Active Grant context for a Resource Server */
1101
1404
  200: {
1102
1405
  headers: {
1103
1406
  [name: string]: unknown;
1104
1407
  };
1105
1408
  content: {
1106
- "application/json": components["schemas"]["WebhookSubscription"];
1409
+ "application/json": components["schemas"]["GrantAuthorization"];
1107
1410
  };
1108
1411
  };
1109
1412
  401: components["responses"]["InvalidToken"];
1110
- 403: components["responses"]["Forbidden"];
1413
+ 404: components["responses"]["UnsupportedVersion"];
1111
1414
  503: components["responses"]["TemporarilyUnavailable"];
1112
1415
  };
1113
1416
  };
1114
- getWebhookDeliveries: {
1417
+ getPermissionCatalog: {
1115
1418
  parameters: {
1116
1419
  query?: {
1117
- after?: string;
1118
1420
  limit?: number;
1421
+ cursor?: string;
1119
1422
  };
1120
1423
  header?: never;
1121
- path: {
1122
- subscription_id: string;
1123
- };
1424
+ path?: never;
1124
1425
  cookie?: never;
1125
1426
  };
1126
1427
  requestBody?: never;
1127
1428
  responses: {
1128
- /** @description Authorized retained delivery information */
1429
+ /** @description One page of the public Permission Catalog */
1129
1430
  200: {
1130
1431
  headers: {
1131
1432
  [name: string]: unknown;
1132
1433
  };
1133
1434
  content: {
1134
- "application/json": components["schemas"]["WebhookDeliveryPage"];
1435
+ "application/json": components["schemas"]["PermissionCatalogPage"];
1135
1436
  };
1136
1437
  };
1137
1438
  400: components["responses"]["InvalidRequest"];
1138
- 401: components["responses"]["InvalidToken"];
1139
- 403: components["responses"]["Forbidden"];
1140
- 409: components["responses"]["Conflict"];
1439
+ 404: components["responses"]["NotFound"];
1141
1440
  503: components["responses"]["TemporarilyUnavailable"];
1142
1441
  };
1143
1442
  };
1144
- getWebhookAttempts: {
1443
+ getUserInfo: {
1145
1444
  parameters: {
1146
- query?: {
1147
- after?: string;
1148
- limit?: number;
1149
- };
1445
+ query?: never;
1150
1446
  header?: never;
1151
- path: {
1152
- subscription_id: string;
1153
- delivery_id: string;
1154
- };
1447
+ path?: never;
1155
1448
  cookie?: never;
1156
1449
  };
1157
1450
  requestBody?: never;
1158
1451
  responses: {
1159
- /** @description Authorized retained delivery information */
1452
+ /** @description Scope-filtered OpenID-style claims */
1160
1453
  200: {
1161
1454
  headers: {
1162
1455
  [name: string]: unknown;
1163
1456
  };
1164
1457
  content: {
1165
- "application/json": components["schemas"]["WebhookAttemptPage"];
1458
+ "application/json": components["schemas"]["UserInfo"];
1166
1459
  };
1167
1460
  };
1168
- 400: components["responses"]["InvalidRequest"];
1169
1461
  401: components["responses"]["InvalidToken"];
1170
1462
  403: components["responses"]["Forbidden"];
1171
- 409: components["responses"]["Conflict"];
1463
+ 404: components["responses"]["UnsupportedVersion"];
1172
1464
  503: components["responses"]["TemporarilyUnavailable"];
1173
1465
  };
1174
1466
  };
1175
- redriveWebhookDelivery: {
1467
+ listProfileIdentities: {
1176
1468
  parameters: {
1177
- query?: never;
1469
+ query?: {
1470
+ after?: components["parameters"]["After"];
1471
+ limit?: components["parameters"]["Limit"];
1472
+ };
1178
1473
  header?: never;
1179
1474
  path: {
1180
- subscription_id: string;
1181
- delivery_id: string;
1475
+ /** @description The Profile the Grant's subject names. */
1476
+ profile_id: components["parameters"]["ProfileId"];
1182
1477
  };
1183
1478
  cookie?: never;
1184
1479
  };
1185
1480
  requestBody?: never;
1186
1481
  responses: {
1187
- /** @description Authorized retained delivery information */
1482
+ /** @description One page of the Profile's active identities */
1188
1483
  200: {
1189
1484
  headers: {
1190
1485
  [name: string]: unknown;
1191
1486
  };
1192
1487
  content: {
1193
- "application/json": components["schemas"]["WebhookDelivery"];
1488
+ "application/json": components["schemas"]["ProfileIdentityPage"];
1194
1489
  };
1195
1490
  };
1196
1491
  400: components["responses"]["InvalidRequest"];
1197
1492
  401: components["responses"]["InvalidToken"];
1198
1493
  403: components["responses"]["Forbidden"];
1199
- 409: components["responses"]["Conflict"];
1494
+ 404: components["responses"]["UnsupportedVersion"];
1200
1495
  503: components["responses"]["TemporarilyUnavailable"];
1201
1496
  };
1202
1497
  };
1203
- getGrantAuthorization: {
1498
+ listProfileAddresses: {
1204
1499
  parameters: {
1205
- query?: never;
1500
+ query?: {
1501
+ after?: components["parameters"]["After"];
1502
+ limit?: components["parameters"]["Limit"];
1503
+ };
1206
1504
  header?: never;
1207
- path?: never;
1505
+ path: {
1506
+ /** @description The Profile the Grant's subject names. */
1507
+ profile_id: components["parameters"]["ProfileId"];
1508
+ };
1208
1509
  cookie?: never;
1209
1510
  };
1210
1511
  requestBody?: never;
1211
1512
  responses: {
1212
- /** @description Active Grant context for a Resource Server */
1513
+ /** @description One page of the Profile's active addresses */
1213
1514
  200: {
1214
1515
  headers: {
1215
1516
  [name: string]: unknown;
1216
1517
  };
1217
1518
  content: {
1218
- "application/json": components["schemas"]["GrantAuthorization"];
1519
+ "application/json": components["schemas"]["AddressPage"];
1219
1520
  };
1220
1521
  };
1522
+ 400: components["responses"]["InvalidRequest"];
1221
1523
  401: components["responses"]["InvalidToken"];
1524
+ 403: components["responses"]["Forbidden"];
1222
1525
  404: components["responses"]["UnsupportedVersion"];
1223
1526
  503: components["responses"]["TemporarilyUnavailable"];
1224
1527
  };
1225
1528
  };
1226
- getOrganizationDirectory: {
1529
+ createProfileAddress: {
1227
1530
  parameters: {
1228
1531
  query?: never;
1229
1532
  header?: never;
1230
- path?: never;
1533
+ path: {
1534
+ /** @description The Profile the Grant's subject names. */
1535
+ profile_id: components["parameters"]["ProfileId"];
1536
+ };
1231
1537
  cookie?: never;
1232
1538
  };
1233
- requestBody?: never;
1539
+ requestBody: {
1540
+ content: {
1541
+ "application/json": components["schemas"]["AddressCreate"];
1542
+ };
1543
+ };
1234
1544
  responses: {
1235
- /** @description Basic discovery data; no business-resource authority */
1236
- 200: {
1545
+ /** @description Address created */
1546
+ 201: {
1237
1547
  headers: {
1238
1548
  [name: string]: unknown;
1239
1549
  };
1240
1550
  content: {
1241
- "application/json": components["schemas"]["DirectoryOrganization"][];
1551
+ "application/json": components["schemas"]["AddressMutationResult"];
1242
1552
  };
1243
1553
  };
1554
+ 400: components["responses"]["InvalidRequest"];
1244
1555
  401: components["responses"]["InvalidToken"];
1245
1556
  403: components["responses"]["Forbidden"];
1557
+ 422: components["responses"]["UnprocessableEntity"];
1246
1558
  503: components["responses"]["TemporarilyUnavailable"];
1247
1559
  };
1248
1560
  };
1249
- getCompanyIdentity: {
1561
+ deleteProfileAddress: {
1250
1562
  parameters: {
1251
1563
  query?: never;
1252
1564
  header?: never;
1253
- path?: never;
1565
+ path: {
1566
+ /** @description The Profile the Grant's subject names. */
1567
+ profile_id: components["parameters"]["ProfileId"];
1568
+ address_id: components["parameters"]["AddressId"];
1569
+ };
1254
1570
  cookie?: never;
1255
1571
  };
1256
1572
  requestBody?: never;
1257
1573
  responses: {
1258
- /** @description Legal identity granted for the selected Company */
1259
- 200: {
1574
+ /** @description Address deleted */
1575
+ 204: {
1260
1576
  headers: {
1261
1577
  [name: string]: unknown;
1262
1578
  };
1263
- content: {
1264
- "application/json": components["schemas"]["CompanyIdentity"];
1265
- };
1579
+ content?: never;
1266
1580
  };
1581
+ 400: components["responses"]["InvalidRequest"];
1267
1582
  401: components["responses"]["InvalidToken"];
1268
1583
  403: components["responses"]["Forbidden"];
1269
1584
  404: components["responses"]["NotFound"];
1270
1585
  503: components["responses"]["TemporarilyUnavailable"];
1271
1586
  };
1272
1587
  };
1273
- getCompanyAddresses: {
1588
+ updateProfileAddress: {
1274
1589
  parameters: {
1275
1590
  query?: never;
1276
1591
  header?: never;
1277
- path?: never;
1278
- cookie?: never;
1279
- };
1280
- requestBody?: never;
1281
- responses: {
1282
- /** @description Addresses granted for the selected Company */
1283
- 200: {
1284
- headers: {
1285
- [name: string]: unknown;
1286
- };
1287
- content: {
1288
- "application/json": components["schemas"]["CompanyAddresses"];
1289
- };
1592
+ path: {
1593
+ /** @description The Profile the Grant's subject names. */
1594
+ profile_id: components["parameters"]["ProfileId"];
1595
+ address_id: components["parameters"]["AddressId"];
1290
1596
  };
1291
- 401: components["responses"]["InvalidToken"];
1292
- 403: components["responses"]["Forbidden"];
1293
- 404: components["responses"]["NotFound"];
1294
- 503: components["responses"]["TemporarilyUnavailable"];
1597
+ cookie?: never;
1295
1598
  };
1296
- };
1297
- getPermissionCatalog: {
1298
- parameters: {
1299
- query?: {
1300
- limit?: number;
1301
- cursor?: string;
1599
+ requestBody: {
1600
+ content: {
1601
+ "application/json": components["schemas"]["AddressUpdate"];
1302
1602
  };
1303
- header?: never;
1304
- path?: never;
1305
- cookie?: never;
1306
1603
  };
1307
- requestBody?: never;
1308
1604
  responses: {
1309
- /** @description One page of the public Permission Catalog */
1605
+ /** @description Address updated */
1310
1606
  200: {
1311
1607
  headers: {
1312
1608
  [name: string]: unknown;
1313
1609
  };
1314
1610
  content: {
1315
- "application/json": components["schemas"]["PermissionCatalogPage"];
1611
+ "application/json": components["schemas"]["AddressMutationResult"];
1316
1612
  };
1317
1613
  };
1318
1614
  400: components["responses"]["InvalidRequest"];
1615
+ 401: components["responses"]["InvalidToken"];
1616
+ 403: components["responses"]["Forbidden"];
1319
1617
  404: components["responses"]["NotFound"];
1618
+ 422: components["responses"]["UnprocessableEntity"];
1320
1619
  503: components["responses"]["TemporarilyUnavailable"];
1321
1620
  };
1322
1621
  };
1323
- getUserInfo: {
1622
+ listProfileOrganizations: {
1324
1623
  parameters: {
1325
1624
  query?: never;
1326
1625
  header?: never;
1327
- path?: never;
1626
+ path: {
1627
+ /** @description The Profile the Grant's subject names. */
1628
+ profile_id: components["parameters"]["ProfileId"];
1629
+ };
1328
1630
  cookie?: never;
1329
1631
  };
1330
1632
  requestBody?: never;
1331
1633
  responses: {
1332
- /** @description Scope-filtered OpenID-style claims */
1634
+ /** @description The Profile's Organizations, by name */
1333
1635
  200: {
1334
1636
  headers: {
1335
1637
  [name: string]: unknown;
1336
1638
  };
1337
1639
  content: {
1338
- "application/json": components["schemas"]["UserInfo"];
1640
+ "application/json": components["schemas"]["OrganizationPage"];
1339
1641
  };
1340
1642
  };
1643
+ 400: components["responses"]["InvalidRequest"];
1341
1644
  401: components["responses"]["InvalidToken"];
1342
1645
  403: components["responses"]["Forbidden"];
1343
1646
  404: components["responses"]["UnsupportedVersion"];
1344
1647
  503: components["responses"]["TemporarilyUnavailable"];
1345
1648
  };
1346
1649
  };
1347
- listIdentities: {
1650
+ listOrganizationIdentities: {
1348
1651
  parameters: {
1349
- query?: {
1350
- after?: string;
1351
- limit?: number;
1352
- };
1652
+ query?: never;
1353
1653
  header?: never;
1354
- path?: never;
1654
+ path: {
1655
+ /** @description The Organization the Grant's subject names. */
1656
+ organization_id: components["parameters"]["OrganizationId"];
1657
+ };
1355
1658
  cookie?: never;
1356
1659
  };
1357
1660
  requestBody?: never;
1358
1661
  responses: {
1359
- /** @description One page of active identities granted by identities:read */
1662
+ /** @description The Organization's legal identities */
1360
1663
  200: {
1361
1664
  headers: {
1362
1665
  [name: string]: unknown;
1363
1666
  };
1364
1667
  content: {
1365
- "application/json": components["schemas"]["IdentityPage"];
1668
+ "application/json": components["schemas"]["OrganizationIdentityPage"];
1366
1669
  };
1367
1670
  };
1368
1671
  400: components["responses"]["InvalidRequest"];
1369
1672
  401: components["responses"]["InvalidToken"];
1370
1673
  403: components["responses"]["Forbidden"];
1371
- 404: components["responses"]["UnsupportedVersion"];
1674
+ 404: components["responses"]["NotFound"];
1372
1675
  503: components["responses"]["TemporarilyUnavailable"];
1373
1676
  };
1374
1677
  };
1375
- listAddresses: {
1678
+ listOrganizationAddresses: {
1376
1679
  parameters: {
1377
1680
  query?: {
1378
- after?: string;
1379
- limit?: number;
1681
+ after?: components["parameters"]["After"];
1682
+ limit?: components["parameters"]["Limit"];
1380
1683
  };
1381
1684
  header?: never;
1382
- path?: never;
1685
+ path: {
1686
+ /** @description The Organization the Grant's subject names. */
1687
+ organization_id: components["parameters"]["OrganizationId"];
1688
+ };
1383
1689
  cookie?: never;
1384
1690
  };
1385
1691
  requestBody?: never;
1386
1692
  responses: {
1387
- /** @description One page of active addresses granted by addresses:read */
1693
+ /** @description One page of the Organization's active addresses */
1388
1694
  200: {
1389
1695
  headers: {
1390
1696
  [name: string]: unknown;
@@ -1396,15 +1702,18 @@ export interface operations {
1396
1702
  400: components["responses"]["InvalidRequest"];
1397
1703
  401: components["responses"]["InvalidToken"];
1398
1704
  403: components["responses"]["Forbidden"];
1399
- 404: components["responses"]["UnsupportedVersion"];
1705
+ 404: components["responses"]["NotFound"];
1400
1706
  503: components["responses"]["TemporarilyUnavailable"];
1401
1707
  };
1402
1708
  };
1403
- createAddress: {
1709
+ createOrganizationAddress: {
1404
1710
  parameters: {
1405
1711
  query?: never;
1406
1712
  header?: never;
1407
- path?: never;
1713
+ path: {
1714
+ /** @description The Organization the Grant's subject names. */
1715
+ organization_id: components["parameters"]["OrganizationId"];
1716
+ };
1408
1717
  cookie?: never;
1409
1718
  };
1410
1719
  requestBody: {
@@ -1413,7 +1722,7 @@ export interface operations {
1413
1722
  };
1414
1723
  };
1415
1724
  responses: {
1416
- /** @description Address created with addresses:write */
1725
+ /** @description Address created */
1417
1726
  201: {
1418
1727
  headers: {
1419
1728
  [name: string]: unknown;
@@ -1429,18 +1738,20 @@ export interface operations {
1429
1738
  503: components["responses"]["TemporarilyUnavailable"];
1430
1739
  };
1431
1740
  };
1432
- deleteAddress: {
1741
+ deleteOrganizationAddress: {
1433
1742
  parameters: {
1434
1743
  query?: never;
1435
1744
  header?: never;
1436
1745
  path: {
1437
- address_id: string;
1746
+ /** @description The Organization the Grant's subject names. */
1747
+ organization_id: components["parameters"]["OrganizationId"];
1748
+ address_id: components["parameters"]["AddressId"];
1438
1749
  };
1439
1750
  cookie?: never;
1440
1751
  };
1441
1752
  requestBody?: never;
1442
1753
  responses: {
1443
- /** @description Address deleted with addresses:write */
1754
+ /** @description Address deleted */
1444
1755
  204: {
1445
1756
  headers: {
1446
1757
  [name: string]: unknown;
@@ -1454,12 +1765,14 @@ export interface operations {
1454
1765
  503: components["responses"]["TemporarilyUnavailable"];
1455
1766
  };
1456
1767
  };
1457
- updateAddress: {
1768
+ updateOrganizationAddress: {
1458
1769
  parameters: {
1459
1770
  query?: never;
1460
1771
  header?: never;
1461
1772
  path: {
1462
- address_id: string;
1773
+ /** @description The Organization the Grant's subject names. */
1774
+ organization_id: components["parameters"]["OrganizationId"];
1775
+ address_id: components["parameters"]["AddressId"];
1463
1776
  };
1464
1777
  cookie?: never;
1465
1778
  };
@@ -1469,7 +1782,7 @@ export interface operations {
1469
1782
  };
1470
1783
  };
1471
1784
  responses: {
1472
- /** @description Address updated with addresses:write */
1785
+ /** @description Address updated */
1473
1786
  200: {
1474
1787
  headers: {
1475
1788
  [name: string]: unknown;
@@ -1488,7 +1801,13 @@ export interface operations {
1488
1801
  };
1489
1802
  listAccounts: {
1490
1803
  parameters: {
1491
- query?: never;
1804
+ query?: {
1805
+ /** @description Opaque cursor from a previous page's `next_cursor`. Omit for the first page. */
1806
+ after?: string;
1807
+ limit?: number;
1808
+ /** @description Exact-match lookup by Account Alias. Not compatible with `after`/`limit` paging. */
1809
+ alias?: string;
1810
+ };
1492
1811
  header?: never;
1493
1812
  path?: never;
1494
1813
  cookie?: never;
@@ -1501,11 +1820,10 @@ export interface operations {
1501
1820
  [name: string]: unknown;
1502
1821
  };
1503
1822
  content: {
1504
- "application/json": {
1505
- data: components["schemas"]["BankAccount"][];
1506
- };
1823
+ "application/json": components["schemas"]["AccountPage"];
1507
1824
  };
1508
1825
  };
1826
+ 400: components["responses"]["InvalidRequest"];
1509
1827
  401: components["responses"]["InvalidToken"];
1510
1828
  403: components["responses"]["Forbidden"];
1511
1829
  404: components["responses"]["UnsupportedVersion"];
@@ -1515,15 +1833,17 @@ export interface operations {
1515
1833
  createIntent: {
1516
1834
  parameters: {
1517
1835
  query?: never;
1518
- header: {
1519
- "Idempotency-Key": string;
1836
+ header?: {
1837
+ /** @description Required with `application/json`, and refused with `application/jwt`, which answers `400 idempotency_key_not_allowed` when it arrives beside a signature: the idempotency key of a Signed Instruction is its own `jti`, and two candidates for one key is exactly the ambiguity that gets read the wrong way round. OpenAPI cannot make a header conditional on the media type, so it is published as optional rather than demanding what the server refuses. */
1838
+ "Idempotency-Key"?: string;
1520
1839
  };
1521
1840
  path?: never;
1522
1841
  cookie?: never;
1523
1842
  };
1524
1843
  requestBody: {
1525
1844
  content: {
1526
- "application/json": components["schemas"]["DepositIntentCreate"] | components["schemas"]["WithdrawalIntentCreate"] | components["schemas"]["AutomaticChargeIntentCreate"];
1845
+ "application/json": components["schemas"]["DepositIntentCreate"] | components["schemas"]["TransferIntentCreate"] | components["schemas"]["AccountOpeningIntentCreate"] | components["schemas"]["AccountClosureIntentCreate"];
1846
+ "application/jwt": string;
1527
1847
  };
1528
1848
  };
1529
1849
  responses: {
@@ -1533,7 +1853,7 @@ export interface operations {
1533
1853
  [name: string]: unknown;
1534
1854
  };
1535
1855
  content: {
1536
- "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["WithdrawalIntent"] | components["schemas"]["AutomaticChargeIntent"];
1856
+ "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["TransferIntent"] | components["schemas"]["AccountOpeningIntent"] | components["schemas"]["AccountClosureIntent"];
1537
1857
  };
1538
1858
  };
1539
1859
  400: components["responses"]["InvalidRequest"];
@@ -1545,6 +1865,32 @@ export interface operations {
1545
1865
  503: components["responses"]["TemporarilyUnavailable"];
1546
1866
  };
1547
1867
  };
1868
+ readOrganizationEvents: {
1869
+ parameters: {
1870
+ query?: {
1871
+ after?: string;
1872
+ limit?: number;
1873
+ };
1874
+ header?: never;
1875
+ path?: never;
1876
+ cookie?: never;
1877
+ };
1878
+ requestBody?: never;
1879
+ responses: {
1880
+ /** @description Authorized event page in publication order */
1881
+ 200: {
1882
+ headers: {
1883
+ [name: string]: unknown;
1884
+ };
1885
+ content: {
1886
+ "application/json": components["schemas"]["FinancialEventPage"];
1887
+ };
1888
+ };
1889
+ 400: components["responses"]["InvalidRequest"];
1890
+ 401: components["responses"]["InvalidToken"];
1891
+ 503: components["responses"]["TemporarilyUnavailable"];
1892
+ };
1893
+ };
1548
1894
  readAccountEvents: {
1549
1895
  parameters: {
1550
1896
  query?: {
@@ -1574,6 +1920,37 @@ export interface operations {
1574
1920
  503: components["responses"]["TemporarilyUnavailable"];
1575
1921
  };
1576
1922
  };
1923
+ listAccountTransactions: {
1924
+ parameters: {
1925
+ query?: {
1926
+ /** @description Opaque cursor from a previous page's `next_cursor`. Omit for the first page. */
1927
+ after?: string;
1928
+ limit?: number;
1929
+ };
1930
+ header?: never;
1931
+ path: {
1932
+ bank_account_id: string;
1933
+ };
1934
+ cookie?: never;
1935
+ };
1936
+ requestBody?: never;
1937
+ responses: {
1938
+ /** @description Authorized cursor page of account transactions, newest first */
1939
+ 200: {
1940
+ headers: {
1941
+ [name: string]: unknown;
1942
+ };
1943
+ content: {
1944
+ "application/json": components["schemas"]["BankTransactionPage"];
1945
+ };
1946
+ };
1947
+ 400: components["responses"]["InvalidRequest"];
1948
+ 401: components["responses"]["InvalidToken"];
1949
+ 403: components["responses"]["Forbidden"];
1950
+ 404: components["responses"]["NotFound"];
1951
+ 503: components["responses"]["TemporarilyUnavailable"];
1952
+ };
1953
+ };
1577
1954
  readIntentEvents: {
1578
1955
  parameters: {
1579
1956
  query?: {
@@ -1620,9 +1997,10 @@ export interface operations {
1620
1997
  [name: string]: unknown;
1621
1998
  };
1622
1999
  content: {
1623
- "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["WithdrawalIntent"] | components["schemas"]["AutomaticChargeIntent"];
2000
+ "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["TransferIntent"] | components["schemas"]["AccountOpeningIntent"] | components["schemas"]["AccountClosureIntent"];
1624
2001
  };
1625
2002
  };
2003
+ 400: components["responses"]["InvalidRequest"];
1626
2004
  401: components["responses"]["InvalidToken"];
1627
2005
  403: components["responses"]["Forbidden"];
1628
2006
  404: components["responses"]["NotFound"];
@@ -1649,6 +2027,7 @@ export interface operations {
1649
2027
  "application/json": components["schemas"]["DepositCloseResult"];
1650
2028
  };
1651
2029
  };
2030
+ 400: components["responses"]["InvalidRequest"];
1652
2031
  401: components["responses"]["InvalidToken"];
1653
2032
  403: components["responses"]["Forbidden"];
1654
2033
  404: components["responses"]["NotFound"];
@@ -1656,7 +2035,7 @@ export interface operations {
1656
2035
  503: components["responses"]["TemporarilyUnavailable"];
1657
2036
  };
1658
2037
  };
1659
- executeWithdrawal: {
2038
+ approveIntent: {
1660
2039
  parameters: {
1661
2040
  query?: never;
1662
2041
  header?: never;
@@ -1667,13 +2046,50 @@ export interface operations {
1667
2046
  };
1668
2047
  requestBody?: never;
1669
2048
  responses: {
1670
- /** @description Withdrawal execution accepted */
1671
- 202: {
2049
+ /** @description The Intent after its approval */
2050
+ 200: {
1672
2051
  headers: {
1673
2052
  [name: string]: unknown;
1674
2053
  };
1675
- content?: never;
2054
+ content: {
2055
+ "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["TransferIntent"] | components["schemas"]["AccountOpeningIntent"] | components["schemas"]["AccountClosureIntent"];
2056
+ };
2057
+ };
2058
+ 400: components["responses"]["InvalidRequest"];
2059
+ 401: components["responses"]["InvalidToken"];
2060
+ 403: components["responses"]["Forbidden"];
2061
+ 404: components["responses"]["NotFound"];
2062
+ 409: components["responses"]["Conflict"];
2063
+ 422: components["responses"]["UnprocessableEntity"];
2064
+ 501: components["responses"]["NotImplemented"];
2065
+ 503: components["responses"]["TemporarilyUnavailable"];
2066
+ };
2067
+ };
2068
+ rejectIntent: {
2069
+ parameters: {
2070
+ query?: never;
2071
+ header?: never;
2072
+ path: {
2073
+ intent_id: string;
2074
+ };
2075
+ cookie?: never;
2076
+ };
2077
+ requestBody: {
2078
+ content: {
2079
+ "application/json": components["schemas"]["IntentRejection"];
2080
+ };
2081
+ };
2082
+ responses: {
2083
+ /** @description Rejected Intent */
2084
+ 200: {
2085
+ headers: {
2086
+ [name: string]: unknown;
2087
+ };
2088
+ content: {
2089
+ "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["TransferIntent"] | components["schemas"]["AccountOpeningIntent"] | components["schemas"]["AccountClosureIntent"];
2090
+ };
1676
2091
  };
2092
+ 400: components["responses"]["InvalidRequest"];
1677
2093
  401: components["responses"]["InvalidToken"];
1678
2094
  403: components["responses"]["Forbidden"];
1679
2095
  404: components["responses"]["NotFound"];
@@ -1681,5 +2097,80 @@ export interface operations {
1681
2097
  503: components["responses"]["TemporarilyUnavailable"];
1682
2098
  };
1683
2099
  };
2100
+ cancelIntent: {
2101
+ parameters: {
2102
+ query?: never;
2103
+ header?: never;
2104
+ path: {
2105
+ intent_id: string;
2106
+ };
2107
+ cookie?: never;
2108
+ };
2109
+ requestBody: {
2110
+ content: {
2111
+ "application/json": components["schemas"]["IntentCancellation"];
2112
+ };
2113
+ };
2114
+ responses: {
2115
+ /** @description Cancelled Intent */
2116
+ 200: {
2117
+ headers: {
2118
+ [name: string]: unknown;
2119
+ };
2120
+ content: {
2121
+ "application/json": components["schemas"]["DepositIntent"] | components["schemas"]["TransferIntent"] | components["schemas"]["AccountOpeningIntent"] | components["schemas"]["AccountClosureIntent"];
2122
+ };
2123
+ };
2124
+ 400: components["responses"]["InvalidRequest"];
2125
+ 401: components["responses"]["InvalidToken"];
2126
+ 404: components["responses"]["NotFound"];
2127
+ 409: components["responses"]["Conflict"];
2128
+ 503: components["responses"]["TemporarilyUnavailable"];
2129
+ };
2130
+ };
2131
+ verifySignature: {
2132
+ parameters: {
2133
+ query?: never;
2134
+ header?: never;
2135
+ path?: never;
2136
+ cookie?: never;
2137
+ };
2138
+ requestBody: {
2139
+ content: {
2140
+ "application/jwt": string;
2141
+ };
2142
+ };
2143
+ responses: {
2144
+ /** @description The assertion verified; its claims as signed */
2145
+ 200: {
2146
+ headers: {
2147
+ [name: string]: unknown;
2148
+ };
2149
+ content: {
2150
+ "application/json": components["schemas"]["SignedInstructionVerification"];
2151
+ };
2152
+ };
2153
+ 401: components["responses"]["InvalidToken"];
2154
+ /** @description The request body is not `application/jwt` */
2155
+ 415: {
2156
+ headers: {
2157
+ [name: string]: unknown;
2158
+ };
2159
+ content: {
2160
+ "application/json": components["schemas"]["ApiError"];
2161
+ };
2162
+ };
2163
+ /** @description The assertion did not verify */
2164
+ 422: {
2165
+ headers: {
2166
+ [name: string]: unknown;
2167
+ };
2168
+ content: {
2169
+ "application/json": components["schemas"]["SignedInstructionInvalidError"];
2170
+ };
2171
+ };
2172
+ 503: components["responses"]["TemporarilyUnavailable"];
2173
+ };
2174
+ };
1684
2175
  }
1685
2176
  //# sourceMappingURL=oauth-api.d.ts.map