@andco/protocol 0.0.7 → 0.0.8
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 +5 -5
- package/dist/api-errors.d.ts.map +1 -1
- package/dist/api-errors.js +5 -5
- 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 +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/intent-input.d.ts +124 -124
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +14 -14
- 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 +20 -29
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +13 -56
- 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 +269 -96
- 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 +20 -19
- package/dist/transport/rest.d.ts +3 -3
- 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
package/dist/rar/bank.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
/** Reading accounts and their balances. `create` never implies either. */
|
|
3
3
|
export declare const BANK_ACCOUNT_READ_ACTIONS: readonly ["read", "read_balance"];
|
|
4
|
-
/** Opening and closing accounts, within the
|
|
4
|
+
/** Opening and closing accounts, within the accountKey patterns of `accounts`. Each is an Intent. */
|
|
5
5
|
export declare const BANK_ACCOUNT_MANAGE_ACTIONS: readonly ["create", "close"];
|
|
6
6
|
/** Approving or rejecting an Account Opening or closing someone else created: dual control. */
|
|
7
7
|
export declare const BANK_ACCOUNT_APPROVAL_ACTIONS: readonly ["approve", "reject"];
|
|
@@ -79,7 +79,7 @@ export declare const ApprovalLimitsGrantSchema: v.SchemaWithPipe<readonly [v.Str
|
|
|
79
79
|
* `bank_account` Grant Request: three forms, one per action family, never mixed in one detail.
|
|
80
80
|
*
|
|
81
81
|
* - `read`/`read_balance` over `accounts` (own matchers; absent means every own account).
|
|
82
|
-
* - `create`/`close` within `accounts`, which is required and only takes
|
|
82
|
+
* - `create`/`close` within `accounts`, which is required and only takes accountKey patterns: an
|
|
83
83
|
* application opens the accounts its naming convention owns.
|
|
84
84
|
* - `approve`/`reject` of openings and closings, without accounts.
|
|
85
85
|
*
|
|
@@ -89,7 +89,7 @@ export declare const ApprovalLimitsGrantSchema: v.SchemaWithPipe<readonly [v.Str
|
|
|
89
89
|
* actions: ["read", "read_balance"],
|
|
90
90
|
* locations: ["https://api.andco.com"],
|
|
91
91
|
* subject: { type: "organization", editable: true },
|
|
92
|
-
* accounts: [{ type: "
|
|
92
|
+
* accounts: [{ type: "account_key", pattern: "caja-*", editable: true }],
|
|
93
93
|
* };
|
|
94
94
|
*/
|
|
95
95
|
export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
@@ -105,7 +105,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
105
105
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
106
106
|
}, undefined>], undefined>, undefined>;
|
|
107
107
|
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
108
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
108
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
109
109
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
110
110
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
111
111
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -119,7 +119,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
119
119
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
120
120
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
121
121
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
122
|
-
type?: "
|
|
122
|
+
type?: "account_key" | null | undefined;
|
|
123
123
|
pattern: string;
|
|
124
124
|
editable?: boolean | null | undefined;
|
|
125
125
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -133,7 +133,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
133
133
|
editable?: boolean | null | undefined;
|
|
134
134
|
selection?: "single" | "multiple" | null | undefined;
|
|
135
135
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
136
|
-
type?: "
|
|
136
|
+
type?: "account_key" | null | undefined;
|
|
137
137
|
pattern: string;
|
|
138
138
|
editable?: boolean | null | undefined;
|
|
139
139
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -147,7 +147,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
147
147
|
editable?: boolean | null | undefined;
|
|
148
148
|
selection?: "single" | "multiple" | null | undefined;
|
|
149
149
|
})[], 100, undefined>, v.CheckAction<({
|
|
150
|
-
type?: "
|
|
150
|
+
type?: "account_key" | null | undefined;
|
|
151
151
|
pattern: string;
|
|
152
152
|
editable?: boolean | null | undefined;
|
|
153
153
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -161,7 +161,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
161
161
|
editable?: boolean | null | undefined;
|
|
162
162
|
selection?: "single" | "multiple" | null | undefined;
|
|
163
163
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
164
|
-
type?: "
|
|
164
|
+
type?: "account_key" | null | undefined;
|
|
165
165
|
pattern: string;
|
|
166
166
|
editable?: boolean | null | undefined;
|
|
167
167
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -188,27 +188,27 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
188
188
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
189
189
|
}, undefined>], undefined>, undefined>;
|
|
190
190
|
readonly accounts: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
191
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
191
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
192
192
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
193
193
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
194
194
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
195
195
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
196
|
-
type?: "
|
|
196
|
+
type?: "account_key" | null | undefined;
|
|
197
197
|
pattern: string;
|
|
198
198
|
editable?: boolean | null | undefined;
|
|
199
199
|
selection?: "single" | "multiple" | null | undefined;
|
|
200
200
|
}[], 1, undefined>, v.MaxLengthAction<{
|
|
201
|
-
type?: "
|
|
201
|
+
type?: "account_key" | null | undefined;
|
|
202
202
|
pattern: string;
|
|
203
203
|
editable?: boolean | null | undefined;
|
|
204
204
|
selection?: "single" | "multiple" | null | undefined;
|
|
205
205
|
}[], 100, undefined>, v.CheckAction<{
|
|
206
|
-
type?: "
|
|
206
|
+
type?: "account_key" | null | undefined;
|
|
207
207
|
pattern: string;
|
|
208
208
|
editable?: boolean | null | undefined;
|
|
209
209
|
selection?: "single" | "multiple" | null | undefined;
|
|
210
210
|
}[], "duplicate_account_matcher">]>, v.CheckAction<{
|
|
211
|
-
type?: "
|
|
211
|
+
type?: "account_key" | null | undefined;
|
|
212
212
|
pattern: string;
|
|
213
213
|
editable?: boolean | null | undefined;
|
|
214
214
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -240,7 +240,7 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
240
240
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
241
241
|
}, undefined>], undefined>;
|
|
242
242
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
243
|
-
readonly type: v.LiteralSchema<"
|
|
243
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
244
244
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
245
245
|
}, undefined>, v.StrictObjectSchema<{
|
|
246
246
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -249,7 +249,7 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
249
249
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
250
250
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
251
251
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
252
|
-
type: "
|
|
252
|
+
type: "account_key";
|
|
253
253
|
pattern: string;
|
|
254
254
|
} | {
|
|
255
255
|
type: "account";
|
|
@@ -258,7 +258,7 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
258
258
|
type: "any";
|
|
259
259
|
limit: "own";
|
|
260
260
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
261
|
-
type: "
|
|
261
|
+
type: "account_key";
|
|
262
262
|
pattern: string;
|
|
263
263
|
} | {
|
|
264
264
|
type: "account";
|
|
@@ -267,7 +267,7 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
267
267
|
type: "any";
|
|
268
268
|
limit: "own";
|
|
269
269
|
})[], 100, undefined>, v.CheckAction<({
|
|
270
|
-
type: "
|
|
270
|
+
type: "account_key";
|
|
271
271
|
pattern: string;
|
|
272
272
|
} | {
|
|
273
273
|
type: "account";
|
|
@@ -288,16 +288,16 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
288
288
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
289
289
|
}, undefined>], undefined>;
|
|
290
290
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
291
|
-
readonly type: v.LiteralSchema<"
|
|
291
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
292
292
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
293
293
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
294
|
-
type: "
|
|
294
|
+
type: "account_key";
|
|
295
295
|
pattern: string;
|
|
296
296
|
}[], 1, undefined>, v.MaxLengthAction<{
|
|
297
|
-
type: "
|
|
297
|
+
type: "account_key";
|
|
298
298
|
pattern: string;
|
|
299
299
|
}[], 100, undefined>, v.CheckAction<{
|
|
300
|
-
type: "
|
|
300
|
+
type: "account_key";
|
|
301
301
|
pattern: string;
|
|
302
302
|
}[], "duplicate_account_matcher">]>;
|
|
303
303
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -339,7 +339,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
339
339
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
340
340
|
}, undefined>], undefined>, undefined>;
|
|
341
341
|
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
342
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
342
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
343
343
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
344
344
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
345
345
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -353,7 +353,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
353
353
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
354
354
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
355
355
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
356
|
-
type?: "
|
|
356
|
+
type?: "account_key" | null | undefined;
|
|
357
357
|
pattern: string;
|
|
358
358
|
editable?: boolean | null | undefined;
|
|
359
359
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -367,7 +367,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
367
367
|
editable?: boolean | null | undefined;
|
|
368
368
|
selection?: "single" | "multiple" | null | undefined;
|
|
369
369
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
370
|
-
type?: "
|
|
370
|
+
type?: "account_key" | null | undefined;
|
|
371
371
|
pattern: string;
|
|
372
372
|
editable?: boolean | null | undefined;
|
|
373
373
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
381
381
|
editable?: boolean | null | undefined;
|
|
382
382
|
selection?: "single" | "multiple" | null | undefined;
|
|
383
383
|
})[], 100, undefined>, v.CheckAction<({
|
|
384
|
-
type?: "
|
|
384
|
+
type?: "account_key" | null | undefined;
|
|
385
385
|
pattern: string;
|
|
386
386
|
editable?: boolean | null | undefined;
|
|
387
387
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -395,7 +395,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
395
395
|
editable?: boolean | null | undefined;
|
|
396
396
|
selection?: "single" | "multiple" | null | undefined;
|
|
397
397
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
398
|
-
type?: "
|
|
398
|
+
type?: "account_key" | null | undefined;
|
|
399
399
|
pattern: string;
|
|
400
400
|
editable?: boolean | null | undefined;
|
|
401
401
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -424,7 +424,7 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
424
424
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
425
425
|
}, undefined>], undefined>;
|
|
426
426
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
427
|
-
readonly type: v.LiteralSchema<"
|
|
427
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
428
428
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
429
429
|
}, undefined>, v.StrictObjectSchema<{
|
|
430
430
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -433,7 +433,7 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
433
433
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
434
434
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
435
435
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
436
|
-
type: "
|
|
436
|
+
type: "account_key";
|
|
437
437
|
pattern: string;
|
|
438
438
|
} | {
|
|
439
439
|
type: "account";
|
|
@@ -442,7 +442,7 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
442
442
|
type: "any";
|
|
443
443
|
limit: "own";
|
|
444
444
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
445
|
-
type: "
|
|
445
|
+
type: "account_key";
|
|
446
446
|
pattern: string;
|
|
447
447
|
} | {
|
|
448
448
|
type: "account";
|
|
@@ -451,7 +451,7 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
451
451
|
type: "any";
|
|
452
452
|
limit: "own";
|
|
453
453
|
})[], 100, undefined>, v.CheckAction<({
|
|
454
|
-
type: "
|
|
454
|
+
type: "account_key";
|
|
455
455
|
pattern: string;
|
|
456
456
|
} | {
|
|
457
457
|
type: "account";
|
|
@@ -465,8 +465,10 @@ export type BankTransactionGrant = v.InferOutput<typeof BankTransactionGrantSche
|
|
|
465
465
|
/**
|
|
466
466
|
* `bank_transfer` Grant Request, create form: propose Transfers within explicit bounds.
|
|
467
467
|
*
|
|
468
|
-
* `sources` only takes own matchers (absent means any own account)
|
|
469
|
-
* matcher
|
|
468
|
+
* `sources` only takes own matchers (absent means any own account). `destinations` is required and
|
|
469
|
+
* takes every matcher: a request that omits it, or sends `null`, is refused, and asking for any
|
|
470
|
+
* account, other banks included, is written out as `[{ type: "any", limit: "all" }]`. `currency` is
|
|
471
|
+
* required. `budgets` is
|
|
470
472
|
* reserved and must be absent or `null`.
|
|
471
473
|
*
|
|
472
474
|
* @example
|
|
@@ -475,8 +477,8 @@ export type BankTransactionGrant = v.InferOutput<typeof BankTransactionGrantSche
|
|
|
475
477
|
* actions: ["create"],
|
|
476
478
|
* locations: ["https://api.andco.com"],
|
|
477
479
|
* subject: { type: "organization" },
|
|
478
|
-
* sources: [{ type: "
|
|
479
|
-
* destinations: [{ type: "
|
|
480
|
+
* sources: [{ type: "account_key", pattern: "caja-*", editable: true }],
|
|
481
|
+
* destinations: [{ type: "account_key", pattern: "proveedores" }, { type: "external", bank_id: "banco_de_chile" }],
|
|
480
482
|
* currency: "CLP",
|
|
481
483
|
* transactions: { minimum: "1000", maximum: "5000000", editable: true },
|
|
482
484
|
* budgets: null,
|
|
@@ -495,7 +497,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
495
497
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
496
498
|
}, undefined>], undefined>, undefined>;
|
|
497
499
|
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
498
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
500
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
499
501
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
500
502
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
501
503
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -509,7 +511,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
509
511
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
510
512
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
511
513
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
512
|
-
type?: "
|
|
514
|
+
type?: "account_key" | null | undefined;
|
|
513
515
|
pattern: string;
|
|
514
516
|
editable?: boolean | null | undefined;
|
|
515
517
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -523,7 +525,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
523
525
|
editable?: boolean | null | undefined;
|
|
524
526
|
selection?: "single" | "multiple" | null | undefined;
|
|
525
527
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
526
|
-
type?: "
|
|
528
|
+
type?: "account_key" | null | undefined;
|
|
527
529
|
pattern: string;
|
|
528
530
|
editable?: boolean | null | undefined;
|
|
529
531
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -537,7 +539,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
537
539
|
editable?: boolean | null | undefined;
|
|
538
540
|
selection?: "single" | "multiple" | null | undefined;
|
|
539
541
|
})[], 100, undefined>, v.CheckAction<({
|
|
540
|
-
type?: "
|
|
542
|
+
type?: "account_key" | null | undefined;
|
|
541
543
|
pattern: string;
|
|
542
544
|
editable?: boolean | null | undefined;
|
|
543
545
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -551,7 +553,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
551
553
|
editable?: boolean | null | undefined;
|
|
552
554
|
selection?: "single" | "multiple" | null | undefined;
|
|
553
555
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
554
|
-
type?: "
|
|
556
|
+
type?: "account_key" | null | undefined;
|
|
555
557
|
pattern: string;
|
|
556
558
|
editable?: boolean | null | undefined;
|
|
557
559
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -565,8 +567,8 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
565
567
|
editable?: boolean | null | undefined;
|
|
566
568
|
selection?: "single" | "multiple" | null | undefined;
|
|
567
569
|
})[], "account_selection_incoherent">]>, undefined>;
|
|
568
|
-
readonly destinations: v.
|
|
569
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
570
|
+
readonly destinations: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
571
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
570
572
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
571
573
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
572
574
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -595,7 +597,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
595
597
|
readonly holder_name: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
596
598
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
597
599
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
598
|
-
type?: "
|
|
600
|
+
type?: "account_key" | null | undefined;
|
|
599
601
|
pattern: string;
|
|
600
602
|
editable?: boolean | null | undefined;
|
|
601
603
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -624,7 +626,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
624
626
|
holder_name?: string | null | undefined;
|
|
625
627
|
editable?: boolean | null | undefined;
|
|
626
628
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
627
|
-
type?: "
|
|
629
|
+
type?: "account_key" | null | undefined;
|
|
628
630
|
pattern: string;
|
|
629
631
|
editable?: boolean | null | undefined;
|
|
630
632
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -653,7 +655,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
653
655
|
holder_name?: string | null | undefined;
|
|
654
656
|
editable?: boolean | null | undefined;
|
|
655
657
|
})[], 100, undefined>, v.CheckAction<({
|
|
656
|
-
type?: "
|
|
658
|
+
type?: "account_key" | null | undefined;
|
|
657
659
|
pattern: string;
|
|
658
660
|
editable?: boolean | null | undefined;
|
|
659
661
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -682,7 +684,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
682
684
|
holder_name?: string | null | undefined;
|
|
683
685
|
editable?: boolean | null | undefined;
|
|
684
686
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
685
|
-
type?: "
|
|
687
|
+
type?: "account_key" | null | undefined;
|
|
686
688
|
pattern: string;
|
|
687
689
|
editable?: boolean | null | undefined;
|
|
688
690
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -710,7 +712,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
710
712
|
holder_id?: string | null | undefined;
|
|
711
713
|
holder_name?: string | null | undefined;
|
|
712
714
|
editable?: boolean | null | undefined;
|
|
713
|
-
})[], "account_selection_not_pickable">]
|
|
715
|
+
})[], "account_selection_not_pickable">]>;
|
|
714
716
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
715
717
|
readonly transactions: v.NullishSchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
716
718
|
readonly value: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "amount_below_minimum_or_malformed">]>, undefined>;
|
|
@@ -779,7 +781,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
779
781
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
780
782
|
}, undefined>], undefined>, undefined>;
|
|
781
783
|
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
782
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
784
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
783
785
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
784
786
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
785
787
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -793,7 +795,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
793
795
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
794
796
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
795
797
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
796
|
-
type?: "
|
|
798
|
+
type?: "account_key" | null | undefined;
|
|
797
799
|
pattern: string;
|
|
798
800
|
editable?: boolean | null | undefined;
|
|
799
801
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -807,7 +809,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
807
809
|
editable?: boolean | null | undefined;
|
|
808
810
|
selection?: "single" | "multiple" | null | undefined;
|
|
809
811
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
810
|
-
type?: "
|
|
812
|
+
type?: "account_key" | null | undefined;
|
|
811
813
|
pattern: string;
|
|
812
814
|
editable?: boolean | null | undefined;
|
|
813
815
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -821,7 +823,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
821
823
|
editable?: boolean | null | undefined;
|
|
822
824
|
selection?: "single" | "multiple" | null | undefined;
|
|
823
825
|
})[], 100, undefined>, v.CheckAction<({
|
|
824
|
-
type?: "
|
|
826
|
+
type?: "account_key" | null | undefined;
|
|
825
827
|
pattern: string;
|
|
826
828
|
editable?: boolean | null | undefined;
|
|
827
829
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -835,7 +837,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
835
837
|
editable?: boolean | null | undefined;
|
|
836
838
|
selection?: "single" | "multiple" | null | undefined;
|
|
837
839
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
838
|
-
type?: "
|
|
840
|
+
type?: "account_key" | null | undefined;
|
|
839
841
|
pattern: string;
|
|
840
842
|
editable?: boolean | null | undefined;
|
|
841
843
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -849,8 +851,8 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
849
851
|
editable?: boolean | null | undefined;
|
|
850
852
|
selection?: "single" | "multiple" | null | undefined;
|
|
851
853
|
})[], "account_selection_incoherent">]>, undefined>;
|
|
852
|
-
readonly destinations: v.
|
|
853
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
854
|
+
readonly destinations: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
855
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
854
856
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
855
857
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
856
858
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -879,7 +881,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
879
881
|
readonly holder_name: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
880
882
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
881
883
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
882
|
-
type?: "
|
|
884
|
+
type?: "account_key" | null | undefined;
|
|
883
885
|
pattern: string;
|
|
884
886
|
editable?: boolean | null | undefined;
|
|
885
887
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -908,7 +910,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
908
910
|
holder_name?: string | null | undefined;
|
|
909
911
|
editable?: boolean | null | undefined;
|
|
910
912
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
911
|
-
type?: "
|
|
913
|
+
type?: "account_key" | null | undefined;
|
|
912
914
|
pattern: string;
|
|
913
915
|
editable?: boolean | null | undefined;
|
|
914
916
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -937,7 +939,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
937
939
|
holder_name?: string | null | undefined;
|
|
938
940
|
editable?: boolean | null | undefined;
|
|
939
941
|
})[], 100, undefined>, v.CheckAction<({
|
|
940
|
-
type?: "
|
|
942
|
+
type?: "account_key" | null | undefined;
|
|
941
943
|
pattern: string;
|
|
942
944
|
editable?: boolean | null | undefined;
|
|
943
945
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -966,7 +968,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
966
968
|
holder_name?: string | null | undefined;
|
|
967
969
|
editable?: boolean | null | undefined;
|
|
968
970
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
969
|
-
type?: "
|
|
971
|
+
type?: "account_key" | null | undefined;
|
|
970
972
|
pattern: string;
|
|
971
973
|
editable?: boolean | null | undefined;
|
|
972
974
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -994,7 +996,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
994
996
|
holder_id?: string | null | undefined;
|
|
995
997
|
holder_name?: string | null | undefined;
|
|
996
998
|
editable?: boolean | null | undefined;
|
|
997
|
-
})[], "account_selection_not_pickable">]
|
|
999
|
+
})[], "account_selection_not_pickable">]>;
|
|
998
1000
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
999
1001
|
readonly transactions: v.NullishSchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1000
1002
|
readonly value: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "amount_below_minimum_or_malformed">]>, undefined>;
|
|
@@ -1047,7 +1049,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1047
1049
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
1048
1050
|
}, undefined>], undefined>;
|
|
1049
1051
|
readonly sources: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1050
|
-
readonly type: v.LiteralSchema<"
|
|
1052
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1051
1053
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1052
1054
|
}, undefined>, v.StrictObjectSchema<{
|
|
1053
1055
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -1056,7 +1058,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1056
1058
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1057
1059
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1058
1060
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1059
|
-
type: "
|
|
1061
|
+
type: "account_key";
|
|
1060
1062
|
pattern: string;
|
|
1061
1063
|
} | {
|
|
1062
1064
|
type: "account";
|
|
@@ -1065,7 +1067,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1065
1067
|
type: "any";
|
|
1066
1068
|
limit: "own";
|
|
1067
1069
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1068
|
-
type: "
|
|
1070
|
+
type: "account_key";
|
|
1069
1071
|
pattern: string;
|
|
1070
1072
|
} | {
|
|
1071
1073
|
type: "account";
|
|
@@ -1074,7 +1076,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1074
1076
|
type: "any";
|
|
1075
1077
|
limit: "own";
|
|
1076
1078
|
})[], 100, undefined>, v.CheckAction<({
|
|
1077
|
-
type: "
|
|
1079
|
+
type: "account_key";
|
|
1078
1080
|
pattern: string;
|
|
1079
1081
|
} | {
|
|
1080
1082
|
type: "account";
|
|
@@ -1084,7 +1086,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1084
1086
|
limit: "own";
|
|
1085
1087
|
})[], "duplicate_account_matcher">]>;
|
|
1086
1088
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1087
|
-
readonly type: v.LiteralSchema<"
|
|
1089
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1088
1090
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1089
1091
|
}, undefined>, v.StrictObjectSchema<{
|
|
1090
1092
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -1109,7 +1111,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1109
1111
|
type: "any";
|
|
1110
1112
|
limit: "all";
|
|
1111
1113
|
} | {
|
|
1112
|
-
type: "
|
|
1114
|
+
type: "account_key";
|
|
1113
1115
|
pattern: string;
|
|
1114
1116
|
} | {
|
|
1115
1117
|
type: "account";
|
|
@@ -1131,7 +1133,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1131
1133
|
type: "any";
|
|
1132
1134
|
limit: "all";
|
|
1133
1135
|
} | {
|
|
1134
|
-
type: "
|
|
1136
|
+
type: "account_key";
|
|
1135
1137
|
pattern: string;
|
|
1136
1138
|
} | {
|
|
1137
1139
|
type: "account";
|
|
@@ -1153,7 +1155,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1153
1155
|
type: "any";
|
|
1154
1156
|
limit: "all";
|
|
1155
1157
|
} | {
|
|
1156
|
-
type: "
|
|
1158
|
+
type: "account_key";
|
|
1157
1159
|
pattern: string;
|
|
1158
1160
|
} | {
|
|
1159
1161
|
type: "account";
|
|
@@ -1222,7 +1224,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1222
1224
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
1223
1225
|
}, undefined>], undefined>;
|
|
1224
1226
|
readonly sources: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1225
|
-
readonly type: v.LiteralSchema<"
|
|
1227
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1226
1228
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1227
1229
|
}, undefined>, v.StrictObjectSchema<{
|
|
1228
1230
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -1231,7 +1233,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1231
1233
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1232
1234
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1233
1235
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1234
|
-
type: "
|
|
1236
|
+
type: "account_key";
|
|
1235
1237
|
pattern: string;
|
|
1236
1238
|
} | {
|
|
1237
1239
|
type: "account";
|
|
@@ -1240,7 +1242,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1240
1242
|
type: "any";
|
|
1241
1243
|
limit: "own";
|
|
1242
1244
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1243
|
-
type: "
|
|
1245
|
+
type: "account_key";
|
|
1244
1246
|
pattern: string;
|
|
1245
1247
|
} | {
|
|
1246
1248
|
type: "account";
|
|
@@ -1249,7 +1251,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1249
1251
|
type: "any";
|
|
1250
1252
|
limit: "own";
|
|
1251
1253
|
})[], 100, undefined>, v.CheckAction<({
|
|
1252
|
-
type: "
|
|
1254
|
+
type: "account_key";
|
|
1253
1255
|
pattern: string;
|
|
1254
1256
|
} | {
|
|
1255
1257
|
type: "account";
|
|
@@ -1259,7 +1261,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1259
1261
|
limit: "own";
|
|
1260
1262
|
})[], "duplicate_account_matcher">]>;
|
|
1261
1263
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1262
|
-
readonly type: v.LiteralSchema<"
|
|
1264
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1263
1265
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1264
1266
|
}, undefined>, v.StrictObjectSchema<{
|
|
1265
1267
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -1284,7 +1286,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1284
1286
|
type: "any";
|
|
1285
1287
|
limit: "all";
|
|
1286
1288
|
} | {
|
|
1287
|
-
type: "
|
|
1289
|
+
type: "account_key";
|
|
1288
1290
|
pattern: string;
|
|
1289
1291
|
} | {
|
|
1290
1292
|
type: "account";
|
|
@@ -1306,7 +1308,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1306
1308
|
type: "any";
|
|
1307
1309
|
limit: "all";
|
|
1308
1310
|
} | {
|
|
1309
|
-
type: "
|
|
1311
|
+
type: "account_key";
|
|
1310
1312
|
pattern: string;
|
|
1311
1313
|
} | {
|
|
1312
1314
|
type: "account";
|
|
@@ -1328,7 +1330,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1328
1330
|
type: "any";
|
|
1329
1331
|
limit: "all";
|
|
1330
1332
|
} | {
|
|
1331
|
-
type: "
|
|
1333
|
+
type: "account_key";
|
|
1332
1334
|
pattern: string;
|
|
1333
1335
|
} | {
|
|
1334
1336
|
type: "account";
|
|
@@ -1391,7 +1393,7 @@ export type BankTransferGrant = v.InferOutput<typeof BankTransferGrantSchema>;
|
|
|
1391
1393
|
* actions: ["create", "read", "close"],
|
|
1392
1394
|
* locations: ["https://api.andco.com"],
|
|
1393
1395
|
* subject: { type: "organization" },
|
|
1394
|
-
* destinations: [{ type: "
|
|
1396
|
+
* destinations: [{ type: "account_key", pattern: "ventas" }],
|
|
1395
1397
|
* };
|
|
1396
1398
|
*/
|
|
1397
1399
|
export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
@@ -1407,7 +1409,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1407
1409
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1408
1410
|
}, undefined>], undefined>, undefined>;
|
|
1409
1411
|
readonly destinations: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1410
|
-
readonly type: v.NullishSchema<v.LiteralSchema<"
|
|
1412
|
+
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
1411
1413
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1412
1414
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1413
1415
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
@@ -1421,7 +1423,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1421
1423
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1422
1424
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
1423
1425
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1424
|
-
type?: "
|
|
1426
|
+
type?: "account_key" | null | undefined;
|
|
1425
1427
|
pattern: string;
|
|
1426
1428
|
editable?: boolean | null | undefined;
|
|
1427
1429
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -1435,7 +1437,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1435
1437
|
editable?: boolean | null | undefined;
|
|
1436
1438
|
selection?: "single" | "multiple" | null | undefined;
|
|
1437
1439
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1438
|
-
type?: "
|
|
1440
|
+
type?: "account_key" | null | undefined;
|
|
1439
1441
|
pattern: string;
|
|
1440
1442
|
editable?: boolean | null | undefined;
|
|
1441
1443
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -1449,7 +1451,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1449
1451
|
editable?: boolean | null | undefined;
|
|
1450
1452
|
selection?: "single" | "multiple" | null | undefined;
|
|
1451
1453
|
})[], 100, undefined>, v.CheckAction<({
|
|
1452
|
-
type?: "
|
|
1454
|
+
type?: "account_key" | null | undefined;
|
|
1453
1455
|
pattern: string;
|
|
1454
1456
|
editable?: boolean | null | undefined;
|
|
1455
1457
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -1463,7 +1465,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1463
1465
|
editable?: boolean | null | undefined;
|
|
1464
1466
|
selection?: "single" | "multiple" | null | undefined;
|
|
1465
1467
|
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
1466
|
-
type?: "
|
|
1468
|
+
type?: "account_key" | null | undefined;
|
|
1467
1469
|
pattern: string;
|
|
1468
1470
|
editable?: boolean | null | undefined;
|
|
1469
1471
|
selection?: "single" | "multiple" | null | undefined;
|
|
@@ -1492,7 +1494,7 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1492
1494
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.CheckAction<string, "identifier_exceeds_organization_id">]>;
|
|
1493
1495
|
}, undefined>], undefined>;
|
|
1494
1496
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1495
|
-
readonly type: v.LiteralSchema<"
|
|
1497
|
+
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1496
1498
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1497
1499
|
}, undefined>, v.StrictObjectSchema<{
|
|
1498
1500
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
@@ -1501,7 +1503,7 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1501
1503
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1502
1504
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
1503
1505
|
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
1504
|
-
type: "
|
|
1506
|
+
type: "account_key";
|
|
1505
1507
|
pattern: string;
|
|
1506
1508
|
} | {
|
|
1507
1509
|
type: "account";
|
|
@@ -1510,7 +1512,7 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1510
1512
|
type: "any";
|
|
1511
1513
|
limit: "own";
|
|
1512
1514
|
})[], 1, undefined>, v.MaxLengthAction<({
|
|
1513
|
-
type: "
|
|
1515
|
+
type: "account_key";
|
|
1514
1516
|
pattern: string;
|
|
1515
1517
|
} | {
|
|
1516
1518
|
type: "account";
|
|
@@ -1519,7 +1521,7 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1519
1521
|
type: "any";
|
|
1520
1522
|
limit: "own";
|
|
1521
1523
|
})[], 100, undefined>, v.CheckAction<({
|
|
1522
|
-
type: "
|
|
1524
|
+
type: "account_key";
|
|
1523
1525
|
pattern: string;
|
|
1524
1526
|
} | {
|
|
1525
1527
|
type: "account";
|