@andco/protocol 0.0.7 → 0.0.9
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.
- package/README.md +22 -73
- package/dist/api-errors.d.ts +40 -6
- package/dist/api-errors.d.ts.map +1 -1
- package/dist/api-errors.js +38 -6
- package/dist/consent.d.ts +2 -2
- package/dist/consent.d.ts.map +1 -1
- package/dist/consent.js +10 -19
- package/dist/errors.d.ts +41 -7
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +46 -8
- package/dist/format-money.d.ts +3 -0
- package/dist/format-money.d.ts.map +1 -0
- package/dist/format-money.js +7 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/intent-input.d.ts +134 -126
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +26 -16
- package/dist/intent-status.d.ts +24 -0
- package/dist/intent-status.d.ts.map +1 -0
- package/dist/intent-status.js +37 -0
- package/dist/miniapp-icon.d.ts +2 -2
- package/dist/miniapp-icon.d.ts.map +1 -1
- package/dist/miniapp-icon.js +6 -58
- package/dist/native-intent.d.ts +24 -33
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +19 -60
- package/dist/pagination.d.ts +71 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +63 -0
- package/dist/rar/account-matchers.d.ts +52 -52
- package/dist/rar/account-matchers.d.ts.map +1 -1
- package/dist/rar/account-matchers.js +81 -72
- package/dist/rar/bank.d.ts +86 -84
- package/dist/rar/bank.d.ts.map +1 -1
- package/dist/rar/bank.js +26 -24
- package/dist/rar/catalog.d.ts +57 -56
- package/dist/rar/catalog.d.ts.map +1 -1
- package/dist/rar/catalog.js +1 -0
- package/dist/rar/detail.d.ts +1 -1
- package/dist/rar/detail.d.ts.map +1 -1
- package/dist/rar/detail.js +1 -1
- package/dist/service-grants.d.ts +4 -2
- package/dist/service-grants.d.ts.map +1 -1
- package/dist/service-grants.js +15 -2
- package/dist/transport/financial-events.d.ts +10 -22
- package/dist/transport/financial-events.d.ts.map +1 -1
- package/dist/transport/financial-events.js +36 -62
- package/dist/transport/generated/oauth-api.d.ts +297 -103
- package/dist/transport/generated/oauth-api.d.ts.map +1 -1
- package/dist/transport/intents.d.ts +11 -10
- package/dist/transport/intents.d.ts.map +1 -1
- package/dist/transport/intents.js +22 -21
- package/dist/transport/rest.d.ts +7 -4
- package/dist/transport/rest.d.ts.map +1 -1
- package/dist/transport/rest.js +1 -1
- package/dist/transport/runtime.js +3 -3
- package/dist/utils.js +3 -3
- package/dist/webhooks.d.ts +15 -4
- package/dist/webhooks.d.ts.map +1 -1
- package/dist/webhooks.js +50 -17
- package/package.json +1 -1
- package/dist/native-copy.d.ts +0 -28
- package/dist/native-copy.d.ts.map +0 -1
- package/dist/native-copy.js +0 -400
|
@@ -15,7 +15,7 @@ export interface paths {
|
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
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.
|
|
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. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
19
19
|
*/
|
|
20
20
|
get: operations["listProjectProfiles"];
|
|
21
21
|
put?: never;
|
|
@@ -52,7 +52,7 @@ export interface paths {
|
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
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.
|
|
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. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
56
56
|
*/
|
|
57
57
|
get: operations["getPermissionCatalog"];
|
|
58
58
|
put?: never;
|
|
@@ -92,7 +92,7 @@ export interface paths {
|
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
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`.
|
|
95
|
+
* @description Granted by an `identity` authorization detail with `read` whose subject is this Profile. A token whose Grant names another subject answers `403`. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
96
96
|
*/
|
|
97
97
|
get: operations["listProfileIdentities"];
|
|
98
98
|
put?: never;
|
|
@@ -115,7 +115,7 @@ export interface paths {
|
|
|
115
115
|
};
|
|
116
116
|
/**
|
|
117
117
|
* List a Profile's addresses
|
|
118
|
-
* @description Granted by an `address` authorization detail with `read` whose subject is this Profile.
|
|
118
|
+
* @description Granted by an `address` authorization detail with `read` whose subject is this Profile. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
119
119
|
*/
|
|
120
120
|
get: operations["listProfileAddresses"];
|
|
121
121
|
put?: never;
|
|
@@ -170,7 +170,7 @@ export interface paths {
|
|
|
170
170
|
};
|
|
171
171
|
/**
|
|
172
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.
|
|
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. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
174
174
|
*/
|
|
175
175
|
get: operations["listProfileOrganizations"];
|
|
176
176
|
put?: never;
|
|
@@ -193,7 +193,7 @@ export interface paths {
|
|
|
193
193
|
};
|
|
194
194
|
/**
|
|
195
195
|
* List an Organization's legal identities
|
|
196
|
-
* @description Granted by an `identity` authorization detail with `read` whose subject is this Organization.
|
|
196
|
+
* @description Granted by an `identity` authorization detail with `read` whose subject is this Organization. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
197
197
|
*/
|
|
198
198
|
get: operations["listOrganizationIdentities"];
|
|
199
199
|
put?: never;
|
|
@@ -216,7 +216,7 @@ export interface paths {
|
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
218
218
|
* List an Organization's addresses
|
|
219
|
-
* @description Granted by an `address` authorization detail with `read` whose subject is this Organization.
|
|
219
|
+
* @description Granted by an `address` authorization detail with `read` whose subject is this Organization. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
220
220
|
*/
|
|
221
221
|
get: operations["listOrganizationAddresses"];
|
|
222
222
|
put?: never;
|
|
@@ -268,7 +268,7 @@ export interface paths {
|
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
270
|
* List personal bank accounts and balances
|
|
271
|
-
* @description Paginated by cursor, in publication order. `?
|
|
271
|
+
* @description Paginated by cursor, in publication order. `?accountKey=` switches from walking the collection to addressing one account by the identifier its holder chose: an exact match, not a search, and `after`/`first` are ignored alongside it. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
272
272
|
*/
|
|
273
273
|
get: operations["listAccounts"];
|
|
274
274
|
put?: never;
|
|
@@ -290,7 +290,7 @@ export interface paths {
|
|
|
290
290
|
put?: never;
|
|
291
291
|
/**
|
|
292
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
|
|
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 account_key_out_of_grant` when the account_key is outside the Grant's `accounts` patterns and with `409 account_key_taken` when the account_key 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, accountKey, number, name }`.
|
|
294
294
|
*/
|
|
295
295
|
post: operations["createIntent"];
|
|
296
296
|
delete?: never;
|
|
@@ -308,7 +308,7 @@ export interface paths {
|
|
|
308
308
|
};
|
|
309
309
|
/**
|
|
310
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.
|
|
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. Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
312
312
|
*/
|
|
313
313
|
get: operations["readOrganizationEvents"];
|
|
314
314
|
put?: never;
|
|
@@ -326,7 +326,10 @@ export interface paths {
|
|
|
326
326
|
path?: never;
|
|
327
327
|
cookie?: never;
|
|
328
328
|
};
|
|
329
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Replay bank facts with account transaction read permission
|
|
331
|
+
* @description Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
332
|
+
*/
|
|
330
333
|
get: operations["readAccountEvents"];
|
|
331
334
|
put?: never;
|
|
332
335
|
post?: never;
|
|
@@ -345,7 +348,7 @@ export interface paths {
|
|
|
345
348
|
};
|
|
346
349
|
/**
|
|
347
350
|
* 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
|
|
351
|
+
* @description Answers the transactions the account's statement presentation reads, so an integrator sees exactly what a person would see, newest first, one page at a time: feed `pageInfo.endCursor` back as `?after=` while `pageInfo.hasNextPage`. Granted by a `bank_transaction` authorization detail with `read` whose `accounts` reach this account. The page is read from the bank on behalf of the subject, and the bank's read model walks forward only: `pageInfo.endCursor` is the bank's own cursor for the next page, handed over untouched, and `after` accepts nothing else (`invalid_cursor` otherwise). There is no cursor per transaction, no backward walk and no offset: `before`, `last`, `offset` and `limit` answer `invalid_request`. Returns edges and camelCase pageInfo.
|
|
349
352
|
*/
|
|
350
353
|
get: operations["listAccountTransactions"];
|
|
351
354
|
put?: never;
|
|
@@ -363,7 +366,10 @@ export interface paths {
|
|
|
363
366
|
path?: never;
|
|
364
367
|
cookie?: never;
|
|
365
368
|
};
|
|
366
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* Replay durable facts for one authorized Intent
|
|
371
|
+
* @description Returns edges and camelCase pageInfo. Cursor and offset argument families cannot be mixed.
|
|
372
|
+
*/
|
|
367
373
|
get: operations["readIntentEvents"];
|
|
368
374
|
put?: never;
|
|
369
375
|
post?: never;
|
|
@@ -515,10 +521,13 @@ export interface components {
|
|
|
515
521
|
identities: components["schemas"]["ProfileIdentity"][] | null;
|
|
516
522
|
addresses: components["schemas"]["Address"][] | null;
|
|
517
523
|
};
|
|
524
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
518
525
|
ProjectProfilePage: {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
526
|
+
edges: {
|
|
527
|
+
cursor: string;
|
|
528
|
+
node: components["schemas"]["ProjectProfile"];
|
|
529
|
+
}[];
|
|
530
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
522
531
|
};
|
|
523
532
|
ApiError: {
|
|
524
533
|
error: string;
|
|
@@ -529,6 +538,11 @@ export interface components {
|
|
|
529
538
|
/** @description The path parameter that is not well formed, on `invalid_identifier`. */
|
|
530
539
|
parameter?: string;
|
|
531
540
|
code?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Format: uri
|
|
543
|
+
* @description Where in Platform the person does what `code` names, on `interaction_required` for a bank connection.
|
|
544
|
+
*/
|
|
545
|
+
interaction_url?: string;
|
|
532
546
|
message?: string;
|
|
533
547
|
};
|
|
534
548
|
/** @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. */
|
|
@@ -617,10 +631,13 @@ export interface components {
|
|
|
617
631
|
family_names: string | null;
|
|
618
632
|
business_activity_code: string | null;
|
|
619
633
|
};
|
|
634
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
620
635
|
ProfileIdentityPage: {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
636
|
+
edges: {
|
|
637
|
+
cursor: string;
|
|
638
|
+
node: components["schemas"]["ProfileIdentity"];
|
|
639
|
+
}[];
|
|
640
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
624
641
|
};
|
|
625
642
|
OrganizationIdentity: {
|
|
626
643
|
/** Format: uuid */
|
|
@@ -631,10 +648,13 @@ export interface components {
|
|
|
631
648
|
document_kind: "rut";
|
|
632
649
|
document_value: string;
|
|
633
650
|
};
|
|
651
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
634
652
|
OrganizationIdentityPage: {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
653
|
+
edges: {
|
|
654
|
+
cursor: string;
|
|
655
|
+
node: components["schemas"]["OrganizationIdentity"];
|
|
656
|
+
}[];
|
|
657
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
638
658
|
};
|
|
639
659
|
Address: {
|
|
640
660
|
/** Format: uuid */
|
|
@@ -650,10 +670,13 @@ export interface components {
|
|
|
650
670
|
/** Format: int32 */
|
|
651
671
|
priority: number;
|
|
652
672
|
};
|
|
673
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
653
674
|
AddressPage: {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
675
|
+
edges: {
|
|
676
|
+
cursor: string;
|
|
677
|
+
node: components["schemas"]["Address"];
|
|
678
|
+
}[];
|
|
679
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
657
680
|
};
|
|
658
681
|
AddressCreate: {
|
|
659
682
|
country: string;
|
|
@@ -683,10 +706,13 @@ export interface components {
|
|
|
683
706
|
/** Format: uuid */
|
|
684
707
|
id: string;
|
|
685
708
|
};
|
|
709
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
686
710
|
PermissionCatalogPage: {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
711
|
+
edges: {
|
|
712
|
+
cursor: string;
|
|
713
|
+
node: components["schemas"]["PermissionCatalogEntry"];
|
|
714
|
+
}[];
|
|
715
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
690
716
|
};
|
|
691
717
|
PermissionCatalogEntry: {
|
|
692
718
|
/** Format: uuid */
|
|
@@ -712,31 +738,39 @@ export interface components {
|
|
|
712
738
|
BankAccount: {
|
|
713
739
|
/** Format: uuid */
|
|
714
740
|
id: string;
|
|
715
|
-
/** @description The Account
|
|
716
|
-
|
|
717
|
-
/** @description The account's own name, the one `account_opening.succeeded` announces; the product name
|
|
718
|
-
name: string;
|
|
741
|
+
/** @description The Account Key its holder chose, or null for an account opened before account_keys existed. Exact-match input for `GET /accounts?accountKey=`. */
|
|
742
|
+
accountKey: string | null;
|
|
743
|
+
/** @description The account's own name, the one `account_opening.succeeded` announces; the product name for an account nobody named; null for an account nobody named that the balance projection does not know yet. Show the Account Key or a placeholder of your own for null, never made-up text. */
|
|
744
|
+
name: string | null;
|
|
719
745
|
number: string;
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
balance
|
|
723
|
-
|
|
724
|
-
|
|
746
|
+
/** @description Null while the balance projection does not know the account yet. */
|
|
747
|
+
type: string | null;
|
|
748
|
+
/** @description Null while the balance projection does not know the account yet. */
|
|
749
|
+
currency: string | null;
|
|
750
|
+
/** @description The ledger balance the bank maintains for the account, as a decimal string, never a number. It is what the account holds after its last movement; funds the bank has on hold are not subtracted from it. Null while the balance projection does not know the account yet, for example right after it is opened; a listing never fails for it and never makes up a zero. */
|
|
751
|
+
balance: string | null;
|
|
752
|
+
};
|
|
753
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
725
754
|
AccountPage: {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
755
|
+
edges: {
|
|
756
|
+
cursor: string;
|
|
757
|
+
node: components["schemas"]["BankAccount"];
|
|
758
|
+
}[];
|
|
759
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
730
760
|
};
|
|
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. */
|
|
761
|
+
/** @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. `movement_type` is the exception and keeps the bank's own field name. */
|
|
732
762
|
BankTransaction: {
|
|
733
763
|
/** Format: uuid */
|
|
734
764
|
id: string;
|
|
735
765
|
transactionId: string | null;
|
|
736
766
|
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.
|
|
767
|
+
/** @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. What tells an inflow from an outflow is `movement_type`, not a sign: the bank sends the amount as a positive figure. The pattern's sign and decimal part are accepted by the parser; nothing here asserts the bank actually sends a sign or fractional amounts. */
|
|
738
768
|
amount: string;
|
|
739
|
-
|
|
769
|
+
/**
|
|
770
|
+
* @description The kind of movement, under the bank's own field name and in its own words. `deposit` and `interest` bring money into this account and raise its balance; `withdrawal` takes money out and lowers it. `amount` is always positive, so `movement_type` is what tells an inflow from an outflow.
|
|
771
|
+
* @enum {string}
|
|
772
|
+
*/
|
|
773
|
+
movement_type: "deposit" | "interest" | "withdrawal";
|
|
740
774
|
origin: string | null;
|
|
741
775
|
/** Format: date-time */
|
|
742
776
|
date: string;
|
|
@@ -746,21 +780,24 @@ export interface components {
|
|
|
746
780
|
reversed: boolean;
|
|
747
781
|
note: string | null;
|
|
748
782
|
};
|
|
749
|
-
/** @description A
|
|
783
|
+
/** @description A connection read live from the bank, which issues one cursor per page and walks forward only. `pageInfo.endCursor` is that cursor and is null on the last page; `pageInfo.startCursor` is always null and `pageInfo.hasPreviousPage` always false. An edge's `cursor` is null: the bank names no position inside a page, so a walk resumes from the end of a page, never from one transaction. */
|
|
750
784
|
BankTransactionPage: {
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
785
|
+
edges: {
|
|
786
|
+
/** @description Null today. Reserved for a position the bank may issue per transaction. */
|
|
787
|
+
cursor: string | null;
|
|
788
|
+
node: components["schemas"]["BankTransaction"];
|
|
789
|
+
}[];
|
|
790
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
754
791
|
};
|
|
755
792
|
/** @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
793
|
MonetaryValue: string;
|
|
757
|
-
/** @description The Account
|
|
758
|
-
|
|
759
|
-
/** @description One Andco account of the Grant's subject, named by its Account
|
|
760
|
-
|
|
794
|
+
/** @description The Account Key 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. */
|
|
795
|
+
AccountKey: string;
|
|
796
|
+
/** @description One Andco account of the Grant's subject, named by its Account Key. */
|
|
797
|
+
IntentAccountKey: {
|
|
761
798
|
/** @constant */
|
|
762
|
-
type: "
|
|
763
|
-
|
|
799
|
+
type: "account_key";
|
|
800
|
+
accountKey: components["schemas"]["AccountKey"];
|
|
764
801
|
};
|
|
765
802
|
/** @description One Andco account, named by its identifier. */
|
|
766
803
|
IntentAccountId: {
|
|
@@ -780,15 +817,15 @@ export interface components {
|
|
|
780
817
|
holder_id: string;
|
|
781
818
|
holder_name: string;
|
|
782
819
|
};
|
|
783
|
-
/** @description One Andco account of the Grant's subject, in the account matcher vocabulary: by Account
|
|
784
|
-
IntentAccount: components["schemas"]["
|
|
785
|
-
/** @description Where a signed transfer's money lands, in the `bank_transfer` matcher vocabulary: an Andco account by
|
|
786
|
-
TransferDestination: components["schemas"]["
|
|
820
|
+
/** @description One Andco account of the Grant's subject, in the account matcher vocabulary: by Account Key (`{ type: "account_key", accountKey }`) 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 AccountKey is answered back as an AccountKey: it resolves to an account at execution. */
|
|
821
|
+
IntentAccount: components["schemas"]["IntentAccountKey"] | components["schemas"]["IntentAccountId"];
|
|
822
|
+
/** @description Where a signed transfer's money lands, in the `bank_transfer` matcher vocabulary: an Andco account by AccountKey or identifier, or an account at another Chilean bank. */
|
|
823
|
+
TransferDestination: components["schemas"]["IntentAccountKey"] | components["schemas"]["IntentAccountId"] | components["schemas"]["IntentAccountExternal"];
|
|
787
824
|
/** @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
825
|
TransferDestinationProposal: {
|
|
789
826
|
/** @constant */
|
|
790
|
-
type: "
|
|
791
|
-
|
|
827
|
+
type: "account_key";
|
|
828
|
+
accountKey: components["schemas"]["AccountKey"];
|
|
792
829
|
/** @constant */
|
|
793
830
|
editable?: false;
|
|
794
831
|
} | {
|
|
@@ -876,15 +913,14 @@ export interface components {
|
|
|
876
913
|
version: 1;
|
|
877
914
|
/** Format: date-time */
|
|
878
915
|
occurred_at: string;
|
|
879
|
-
/** @description Opaque checkpoint bound to the authorized subject. */
|
|
880
|
-
cursor: string;
|
|
881
916
|
};
|
|
917
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
882
918
|
FinancialEventPage: {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
919
|
+
edges: {
|
|
920
|
+
cursor: string;
|
|
921
|
+
node: components["schemas"]["FinancialEvent"];
|
|
922
|
+
}[];
|
|
923
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
888
924
|
};
|
|
889
925
|
/** @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. */
|
|
890
926
|
IntentNote: {
|
|
@@ -946,11 +982,15 @@ export interface components {
|
|
|
946
982
|
outcome: "credited" | "reversed";
|
|
947
983
|
/** @enum {string} */
|
|
948
984
|
receipt_time_source: "bank_timestamp" | "unknown";
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
985
|
+
/** @description Name of the account holder that sent the money, exactly as the bank reported it. */
|
|
986
|
+
sender_name: string | null;
|
|
987
|
+
/** @description National id (RUT) of the sender, as the bank reported it. */
|
|
988
|
+
sender_national_id: string | null;
|
|
989
|
+
/** @description Display name of the sender's bank. */
|
|
990
|
+
sender_bank_name: string | null;
|
|
952
991
|
/** @enum {string|null} */
|
|
953
|
-
|
|
992
|
+
sender_account_type: "checking" | "debit" | "savings" | null;
|
|
993
|
+
sender_account_number: string | null;
|
|
954
994
|
/** @constant */
|
|
955
995
|
currency: "CLP";
|
|
956
996
|
amount: components["schemas"]["MonetaryValue"];
|
|
@@ -976,8 +1016,11 @@ export interface components {
|
|
|
976
1016
|
resource_server: string;
|
|
977
1017
|
/** @constant */
|
|
978
1018
|
type: "deposit";
|
|
979
|
-
/**
|
|
980
|
-
|
|
1019
|
+
/**
|
|
1020
|
+
* @description `<base>[.<detail>]`. Read the base, what precedes the first dot, to know whether the Deposit can still change: `requires_action` can, every other base is final. A Grant that ends cancels its waiting Deposits with a detail.
|
|
1021
|
+
* @enum {string}
|
|
1022
|
+
*/
|
|
1023
|
+
status: "requires_action" | "completed" | "closed" | "expired" | "cancelled" | "cancelled.grant_revoked" | "cancelled.grant_expired" | "failed";
|
|
981
1024
|
attribution_version: number;
|
|
982
1025
|
closure: null | {
|
|
983
1026
|
/** Format: date-time */
|
|
@@ -1052,7 +1095,7 @@ export interface components {
|
|
|
1052
1095
|
status: components["schemas"]["IntentStatus"];
|
|
1053
1096
|
/** @description Whether a Signed Instruction created this Intent rather than a plain request. */
|
|
1054
1097
|
signed: boolean;
|
|
1055
|
-
/** @description Null while the person has yet to pick where the money leaves from. An
|
|
1098
|
+
/** @description Null while the person has yet to pick where the money leaves from. An AccountKey is answered back as an AccountKey, because it stays unresolved until execution. */
|
|
1056
1099
|
source: null | components["schemas"]["IntentAccount"];
|
|
1057
1100
|
destination: components["schemas"]["TransferDestinationProposal"];
|
|
1058
1101
|
amount: components["schemas"]["TransferAmount"];
|
|
@@ -1082,11 +1125,11 @@ export interface components {
|
|
|
1082
1125
|
AccountOpeningIntentCreate: {
|
|
1083
1126
|
/** @constant */
|
|
1084
1127
|
type: "account_opening";
|
|
1085
|
-
|
|
1128
|
+
accountKey: components["schemas"]["AccountKey"];
|
|
1086
1129
|
/** @description The display label the account opens with. Mutable afterwards, and read by no permission. */
|
|
1087
1130
|
name?: string;
|
|
1088
1131
|
/**
|
|
1089
|
-
* @description Whether naming an
|
|
1132
|
+
* @description Whether naming an AccountKey that already exists answers with that account instead of failing. It defaults to false, so one name never quietly becomes two accounts.
|
|
1090
1133
|
* @default false
|
|
1091
1134
|
*/
|
|
1092
1135
|
upsert: boolean;
|
|
@@ -1098,7 +1141,7 @@ export interface components {
|
|
|
1098
1141
|
[key: string]: unknown;
|
|
1099
1142
|
};
|
|
1100
1143
|
} & (unknown | unknown);
|
|
1101
|
-
/** @description The verified claims of a Signed Instruction that opens an account. `upsert` lives here and nowhere else: it decides whether naming an
|
|
1144
|
+
/** @description The verified claims of a Signed Instruction that opens an account. `upsert` lives here and nowhere else: it decides whether naming an AccountKey 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
1145
|
SignedAccountOpeningIntentClaims: {
|
|
1103
1146
|
iss: string;
|
|
1104
1147
|
/** @constant */
|
|
@@ -1110,7 +1153,7 @@ export interface components {
|
|
|
1110
1153
|
nbf?: number;
|
|
1111
1154
|
/** @constant */
|
|
1112
1155
|
type: "account_opening";
|
|
1113
|
-
|
|
1156
|
+
accountKey: components["schemas"]["AccountKey"];
|
|
1114
1157
|
name?: string;
|
|
1115
1158
|
/** @default false */
|
|
1116
1159
|
upsert: boolean;
|
|
@@ -1133,7 +1176,7 @@ export interface components {
|
|
|
1133
1176
|
/** @description Whether a Signed Instruction created this Intent rather than a plain request. */
|
|
1134
1177
|
signed: boolean;
|
|
1135
1178
|
account: {
|
|
1136
|
-
|
|
1179
|
+
accountKey: components["schemas"]["AccountKey"];
|
|
1137
1180
|
name: string;
|
|
1138
1181
|
upsert: boolean;
|
|
1139
1182
|
/** Format: uuid */
|
|
@@ -1244,16 +1287,30 @@ export interface components {
|
|
|
1244
1287
|
[key: string]: unknown;
|
|
1245
1288
|
};
|
|
1246
1289
|
} & (unknown | unknown);
|
|
1247
|
-
/**
|
|
1248
|
-
|
|
1290
|
+
/**
|
|
1291
|
+
* @description `<base>[.<detail>]`. The base, what precedes the first dot, is one of `requires_action`, `processing`, `succeeded`, `failed`, `cancelled`, `rejected` or `expired`, and it is what tells whether the Intent can still change: `requires_action` and `processing` can, every other base is final. Decide on the base, never on the whole value, so that a detail added later is not misread.
|
|
1292
|
+
*
|
|
1293
|
+
* `failed.<code>` names the reason. The list holds every code Andco itself records, but an account opening that Identity refuses is recorded with the code Identity answered with, copied untouched, and that set is not closed: a `failed.` value outside this list is a failure like any other.
|
|
1294
|
+
* @enum {string}
|
|
1295
|
+
*/
|
|
1296
|
+
IntentStatus: "requires_action" | "processing.confirmed" | "processing.settling" | "processing.reversing" | "processing.reconciling" | "processing.opening" | "processing.closing" | "succeeded" | "failed" | "failed.insufficient_funds" | "failed.bank_connection_unavailable" | "failed.bank_core_unavailable" | "failed.bank_account_quota_exceeded" | "failed.account_key_taken" | "failed.bank_account_save_failed" | "failed.bank_account_not_found" | "failed.bank_account_balance_not_zero" | "cancelled" | "cancelled.grant_revoked" | "cancelled.grant_expired" | "rejected" | "expired";
|
|
1249
1297
|
Organization: {
|
|
1250
1298
|
id: string;
|
|
1251
1299
|
name: string;
|
|
1252
1300
|
};
|
|
1301
|
+
/** @description A standard connection. Edge cursors remain present on nonempty terminal pages. Reads are live; offset positions can shift under concurrent changes. */
|
|
1253
1302
|
OrganizationPage: {
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1303
|
+
edges: {
|
|
1304
|
+
cursor: string;
|
|
1305
|
+
node: components["schemas"]["Organization"];
|
|
1306
|
+
}[];
|
|
1307
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
1308
|
+
};
|
|
1309
|
+
PageInfo: {
|
|
1310
|
+
startCursor: string | null;
|
|
1311
|
+
endCursor: string | null;
|
|
1312
|
+
hasPreviousPage: boolean;
|
|
1313
|
+
hasNextPage: boolean;
|
|
1257
1314
|
};
|
|
1258
1315
|
};
|
|
1259
1316
|
responses: {
|
|
@@ -1329,6 +1386,15 @@ export interface components {
|
|
|
1329
1386
|
"application/json": components["schemas"]["ApiError"];
|
|
1330
1387
|
};
|
|
1331
1388
|
};
|
|
1389
|
+
/** @description `interaction_required`: the subject's connection with the bank needs the person back before the bank can answer for them. `code` says what the person has to do: `bank_connection_pin_required` (type the web PIN) or `bank_connection_reconnect_required` (connect the account again), and `interaction_url` is where they do it in Platform. Nothing is wrong with the Grant: the same request succeeds afterwards. Retrying before then answers the same. */
|
|
1390
|
+
BankConnectionInteractionRequired: {
|
|
1391
|
+
headers: {
|
|
1392
|
+
[name: string]: unknown;
|
|
1393
|
+
};
|
|
1394
|
+
content: {
|
|
1395
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1332
1398
|
/** @description A required upstream service is temporarily unavailable */
|
|
1333
1399
|
TemporarilyUnavailable: {
|
|
1334
1400
|
headers: {
|
|
@@ -1347,8 +1413,18 @@ export interface components {
|
|
|
1347
1413
|
/** @description The Organization the Grant's subject names. */
|
|
1348
1414
|
OrganizationId: string;
|
|
1349
1415
|
AddressId: string;
|
|
1416
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1350
1417
|
After: string;
|
|
1418
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1351
1419
|
Limit: number;
|
|
1420
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1421
|
+
Before: string;
|
|
1422
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1423
|
+
First: number;
|
|
1424
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1425
|
+
Last: number;
|
|
1426
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1427
|
+
Offset: number;
|
|
1352
1428
|
};
|
|
1353
1429
|
requestBodies: never;
|
|
1354
1430
|
headers: never;
|
|
@@ -1363,8 +1439,18 @@ export interface operations {
|
|
|
1363
1439
|
client_id?: string;
|
|
1364
1440
|
/** @description A comma-separated subset of the fields the Grant allows, for example `name,email`. */
|
|
1365
1441
|
fields?: string;
|
|
1366
|
-
|
|
1367
|
-
|
|
1442
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1443
|
+
after?: components["parameters"]["After"];
|
|
1444
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1445
|
+
first?: components["parameters"]["First"];
|
|
1446
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1447
|
+
before?: components["parameters"]["Before"];
|
|
1448
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1449
|
+
last?: components["parameters"]["Last"];
|
|
1450
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1451
|
+
offset?: components["parameters"]["Offset"];
|
|
1452
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1453
|
+
limit?: components["parameters"]["Limit"];
|
|
1368
1454
|
};
|
|
1369
1455
|
header?: never;
|
|
1370
1456
|
path: {
|
|
@@ -1417,8 +1503,18 @@ export interface operations {
|
|
|
1417
1503
|
getPermissionCatalog: {
|
|
1418
1504
|
parameters: {
|
|
1419
1505
|
query?: {
|
|
1506
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1507
|
+
after?: components["parameters"]["After"];
|
|
1508
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1509
|
+
first?: number;
|
|
1510
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1511
|
+
before?: components["parameters"]["Before"];
|
|
1512
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1513
|
+
last?: number;
|
|
1514
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1515
|
+
offset?: components["parameters"]["Offset"];
|
|
1516
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1420
1517
|
limit?: number;
|
|
1421
|
-
cursor?: string;
|
|
1422
1518
|
};
|
|
1423
1519
|
header?: never;
|
|
1424
1520
|
path?: never;
|
|
@@ -1467,7 +1563,17 @@ export interface operations {
|
|
|
1467
1563
|
listProfileIdentities: {
|
|
1468
1564
|
parameters: {
|
|
1469
1565
|
query?: {
|
|
1566
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1470
1567
|
after?: components["parameters"]["After"];
|
|
1568
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1569
|
+
first?: components["parameters"]["First"];
|
|
1570
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1571
|
+
before?: components["parameters"]["Before"];
|
|
1572
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1573
|
+
last?: components["parameters"]["Last"];
|
|
1574
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1575
|
+
offset?: components["parameters"]["Offset"];
|
|
1576
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1471
1577
|
limit?: components["parameters"]["Limit"];
|
|
1472
1578
|
};
|
|
1473
1579
|
header?: never;
|
|
@@ -1498,7 +1604,17 @@ export interface operations {
|
|
|
1498
1604
|
listProfileAddresses: {
|
|
1499
1605
|
parameters: {
|
|
1500
1606
|
query?: {
|
|
1607
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1501
1608
|
after?: components["parameters"]["After"];
|
|
1609
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1610
|
+
first?: components["parameters"]["First"];
|
|
1611
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1612
|
+
before?: components["parameters"]["Before"];
|
|
1613
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1614
|
+
last?: components["parameters"]["Last"];
|
|
1615
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1616
|
+
offset?: components["parameters"]["Offset"];
|
|
1617
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1502
1618
|
limit?: components["parameters"]["Limit"];
|
|
1503
1619
|
};
|
|
1504
1620
|
header?: never;
|
|
@@ -1621,7 +1737,20 @@ export interface operations {
|
|
|
1621
1737
|
};
|
|
1622
1738
|
listProfileOrganizations: {
|
|
1623
1739
|
parameters: {
|
|
1624
|
-
query?:
|
|
1740
|
+
query?: {
|
|
1741
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1742
|
+
after?: components["parameters"]["After"];
|
|
1743
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1744
|
+
first?: components["parameters"]["First"];
|
|
1745
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1746
|
+
before?: components["parameters"]["Before"];
|
|
1747
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1748
|
+
last?: components["parameters"]["Last"];
|
|
1749
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1750
|
+
offset?: components["parameters"]["Offset"];
|
|
1751
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1752
|
+
limit?: components["parameters"]["Limit"];
|
|
1753
|
+
};
|
|
1625
1754
|
header?: never;
|
|
1626
1755
|
path: {
|
|
1627
1756
|
/** @description The Profile the Grant's subject names. */
|
|
@@ -1649,7 +1778,20 @@ export interface operations {
|
|
|
1649
1778
|
};
|
|
1650
1779
|
listOrganizationIdentities: {
|
|
1651
1780
|
parameters: {
|
|
1652
|
-
query?:
|
|
1781
|
+
query?: {
|
|
1782
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1783
|
+
after?: components["parameters"]["After"];
|
|
1784
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1785
|
+
first?: components["parameters"]["First"];
|
|
1786
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1787
|
+
before?: components["parameters"]["Before"];
|
|
1788
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1789
|
+
last?: components["parameters"]["Last"];
|
|
1790
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1791
|
+
offset?: components["parameters"]["Offset"];
|
|
1792
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1793
|
+
limit?: components["parameters"]["Limit"];
|
|
1794
|
+
};
|
|
1653
1795
|
header?: never;
|
|
1654
1796
|
path: {
|
|
1655
1797
|
/** @description The Organization the Grant's subject names. */
|
|
@@ -1678,7 +1820,17 @@ export interface operations {
|
|
|
1678
1820
|
listOrganizationAddresses: {
|
|
1679
1821
|
parameters: {
|
|
1680
1822
|
query?: {
|
|
1823
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1681
1824
|
after?: components["parameters"]["After"];
|
|
1825
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1826
|
+
first?: components["parameters"]["First"];
|
|
1827
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1828
|
+
before?: components["parameters"]["Before"];
|
|
1829
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1830
|
+
last?: components["parameters"]["Last"];
|
|
1831
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1832
|
+
offset?: components["parameters"]["Offset"];
|
|
1833
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1682
1834
|
limit?: components["parameters"]["Limit"];
|
|
1683
1835
|
};
|
|
1684
1836
|
header?: never;
|
|
@@ -1802,11 +1954,20 @@ export interface operations {
|
|
|
1802
1954
|
listAccounts: {
|
|
1803
1955
|
parameters: {
|
|
1804
1956
|
query?: {
|
|
1805
|
-
/** @description
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1957
|
+
/** @description Exact-match lookup by Account Key. Not compatible with `after`/`limit` paging. */
|
|
1958
|
+
accountKey?: string;
|
|
1959
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1960
|
+
after?: components["parameters"]["After"];
|
|
1961
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1962
|
+
first?: components["parameters"]["First"];
|
|
1963
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
1964
|
+
before?: components["parameters"]["Before"];
|
|
1965
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
1966
|
+
last?: components["parameters"]["Last"];
|
|
1967
|
+
/** @description Nonnegative position in live ordered results. */
|
|
1968
|
+
offset?: components["parameters"]["Offset"];
|
|
1969
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
1970
|
+
limit?: components["parameters"]["Limit"];
|
|
1810
1971
|
};
|
|
1811
1972
|
header?: never;
|
|
1812
1973
|
path?: never;
|
|
@@ -1827,6 +1988,7 @@ export interface operations {
|
|
|
1827
1988
|
401: components["responses"]["InvalidToken"];
|
|
1828
1989
|
403: components["responses"]["Forbidden"];
|
|
1829
1990
|
404: components["responses"]["UnsupportedVersion"];
|
|
1991
|
+
409: components["responses"]["BankConnectionInteractionRequired"];
|
|
1830
1992
|
503: components["responses"]["TemporarilyUnavailable"];
|
|
1831
1993
|
};
|
|
1832
1994
|
};
|
|
@@ -1868,8 +2030,18 @@ export interface operations {
|
|
|
1868
2030
|
readOrganizationEvents: {
|
|
1869
2031
|
parameters: {
|
|
1870
2032
|
query?: {
|
|
1871
|
-
|
|
1872
|
-
|
|
2033
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2034
|
+
after?: components["parameters"]["After"];
|
|
2035
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2036
|
+
first?: components["parameters"]["First"];
|
|
2037
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2038
|
+
before?: components["parameters"]["Before"];
|
|
2039
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2040
|
+
last?: components["parameters"]["Last"];
|
|
2041
|
+
/** @description Nonnegative position in live ordered results. */
|
|
2042
|
+
offset?: components["parameters"]["Offset"];
|
|
2043
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
2044
|
+
limit?: components["parameters"]["Limit"];
|
|
1873
2045
|
};
|
|
1874
2046
|
header?: never;
|
|
1875
2047
|
path?: never;
|
|
@@ -1894,8 +2066,18 @@ export interface operations {
|
|
|
1894
2066
|
readAccountEvents: {
|
|
1895
2067
|
parameters: {
|
|
1896
2068
|
query?: {
|
|
1897
|
-
|
|
1898
|
-
|
|
2069
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2070
|
+
after?: components["parameters"]["After"];
|
|
2071
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2072
|
+
first?: components["parameters"]["First"];
|
|
2073
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2074
|
+
before?: components["parameters"]["Before"];
|
|
2075
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2076
|
+
last?: components["parameters"]["Last"];
|
|
2077
|
+
/** @description Nonnegative position in live ordered results. */
|
|
2078
|
+
offset?: components["parameters"]["Offset"];
|
|
2079
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
2080
|
+
limit?: components["parameters"]["Limit"];
|
|
1899
2081
|
};
|
|
1900
2082
|
header?: never;
|
|
1901
2083
|
path: {
|
|
@@ -1923,9 +2105,10 @@ export interface operations {
|
|
|
1923
2105
|
listAccountTransactions: {
|
|
1924
2106
|
parameters: {
|
|
1925
2107
|
query?: {
|
|
1926
|
-
/** @description Opaque cursor
|
|
1927
|
-
after?:
|
|
1928
|
-
|
|
2108
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2109
|
+
after?: components["parameters"]["After"];
|
|
2110
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2111
|
+
first?: components["parameters"]["First"];
|
|
1929
2112
|
};
|
|
1930
2113
|
header?: never;
|
|
1931
2114
|
path: {
|
|
@@ -1948,14 +2131,25 @@ export interface operations {
|
|
|
1948
2131
|
401: components["responses"]["InvalidToken"];
|
|
1949
2132
|
403: components["responses"]["Forbidden"];
|
|
1950
2133
|
404: components["responses"]["NotFound"];
|
|
2134
|
+
409: components["responses"]["BankConnectionInteractionRequired"];
|
|
1951
2135
|
503: components["responses"]["TemporarilyUnavailable"];
|
|
1952
2136
|
};
|
|
1953
2137
|
};
|
|
1954
2138
|
readIntentEvents: {
|
|
1955
2139
|
parameters: {
|
|
1956
2140
|
query?: {
|
|
1957
|
-
|
|
1958
|
-
|
|
2141
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2142
|
+
after?: components["parameters"]["After"];
|
|
2143
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2144
|
+
first?: components["parameters"]["First"];
|
|
2145
|
+
/** @description Opaque cursor previously returned by this collection. */
|
|
2146
|
+
before?: components["parameters"]["Before"];
|
|
2147
|
+
/** @description Cursor page size; forward and backward argument families are exclusive. */
|
|
2148
|
+
last?: components["parameters"]["Last"];
|
|
2149
|
+
/** @description Nonnegative position in live ordered results. */
|
|
2150
|
+
offset?: components["parameters"]["Offset"];
|
|
2151
|
+
/** @description Offset page size; do not combine with cursor arguments. */
|
|
2152
|
+
limit?: components["parameters"]["Limit"];
|
|
1959
2153
|
};
|
|
1960
2154
|
header?: never;
|
|
1961
2155
|
path: {
|