@andco/protocol 0.0.10 → 0.0.12
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/dist/api-errors.d.ts +5 -128
- package/dist/api-errors.d.ts.map +1 -1
- package/dist/api-errors.js +5 -131
- package/dist/authorization-preparation.d.ts +3 -3
- package/dist/authorization-preparation.d.ts.map +1 -1
- package/dist/authorization-preparation.js +4 -0
- package/dist/authorization.js +2 -2
- package/dist/errors.d.ts +60 -16
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +60 -12
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/intent-input.d.ts +1791 -725
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +325 -157
- package/dist/issues.d.ts +61 -0
- package/dist/issues.d.ts.map +1 -0
- package/dist/issues.js +61 -0
- package/dist/messages/index.d.ts +2 -2
- package/dist/messages/index.d.ts.map +1 -1
- package/dist/messages/index.js +10 -3
- package/dist/messages/set-preferences.d.ts +13 -1
- package/dist/messages/set-preferences.d.ts.map +1 -1
- package/dist/messages/set-preferences.js +31 -9
- package/dist/miniapp-manifest.d.ts +2 -2
- package/dist/miniapp-manifest.d.ts.map +1 -1
- package/dist/miniapp-manifest.js +1 -1
- package/dist/native-intent.d.ts +48 -28
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +76 -24
- package/dist/pagination.d.ts +37 -31
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +72 -24
- package/dist/rar/account-matchers.d.ts +47 -240
- package/dist/rar/account-matchers.d.ts.map +1 -1
- package/dist/rar/account-matchers.js +52 -131
- package/dist/rar/bank.d.ts +280 -392
- package/dist/rar/bank.d.ts.map +1 -1
- package/dist/rar/bank.js +68 -137
- package/dist/rar/catalog.d.ts +305 -288
- package/dist/rar/catalog.d.ts.map +1 -1
- package/dist/rar/catalog.js +69 -29
- package/dist/rar/detail.d.ts +15 -32
- package/dist/rar/detail.d.ts.map +1 -1
- package/dist/rar/detail.js +14 -34
- package/dist/rar/index.d.ts +2 -1
- package/dist/rar/index.d.ts.map +1 -1
- package/dist/rar/index.js +2 -1
- package/dist/rar/json-schemas.generated.d.ts +4 -0
- package/dist/rar/json-schemas.generated.d.ts.map +1 -0
- package/dist/rar/json-schemas.generated.js +3570 -0
- package/dist/rar/money.d.ts +5 -5
- package/dist/rar/money.d.ts.map +1 -1
- package/dist/rar/money.js +5 -5
- package/dist/rar/project-users.d.ts +40 -14
- package/dist/rar/project-users.d.ts.map +1 -1
- package/dist/rar/project-users.js +20 -23
- package/dist/rar/subject-data.d.ts +96 -48
- package/dist/rar/subject-data.d.ts.map +1 -1
- package/dist/rar/subject-data.js +61 -34
- package/dist/rar/subject.d.ts +18 -85
- package/dist/rar/subject.d.ts.map +1 -1
- package/dist/rar/subject.js +23 -51
- package/dist/rest/accounts.d.ts +347 -0
- package/dist/rest/accounts.d.ts.map +1 -0
- package/dist/rest/accounts.js +108 -0
- package/dist/rest/addresses.d.ts +581 -0
- package/dist/rest/addresses.d.ts.map +1 -0
- package/dist/rest/addresses.js +190 -0
- package/dist/rest/api-error.d.ts +104 -0
- package/dist/rest/api-error.d.ts.map +1 -0
- package/dist/rest/api-error.js +103 -0
- package/dist/rest/authorization.d.ts +123 -0
- package/dist/rest/authorization.d.ts.map +1 -0
- package/dist/rest/authorization.js +62 -0
- package/dist/rest/catalog.d.ts +199 -0
- package/dist/rest/catalog.d.ts.map +1 -0
- package/dist/rest/catalog.js +63 -0
- package/dist/rest/common.d.ts +637 -0
- package/dist/rest/common.d.ts.map +1 -0
- package/dist/rest/common.js +172 -0
- package/dist/rest/contract.d.ts +3480 -0
- package/dist/rest/contract.d.ts.map +1 -0
- package/dist/rest/contract.js +120 -0
- package/dist/rest/events.d.ts +145 -0
- package/dist/rest/events.d.ts.map +1 -0
- package/dist/rest/events.js +42 -0
- package/dist/rest/http.d.ts +49 -0
- package/dist/rest/http.d.ts.map +1 -0
- package/dist/rest/http.js +25 -0
- package/dist/rest/identity.d.ts +627 -0
- package/dist/rest/identity.d.ts.map +1 -0
- package/dist/rest/identity.js +128 -0
- package/dist/rest/index.d.ts +14 -0
- package/dist/rest/index.d.ts.map +1 -0
- package/dist/rest/index.js +13 -0
- package/dist/rest/intents.d.ts +4556 -0
- package/dist/rest/intents.d.ts.map +1 -0
- package/dist/rest/intents.js +551 -0
- package/dist/rest/signatures.d.ts +110 -0
- package/dist/rest/signatures.d.ts.map +1 -0
- package/dist/rest/signatures.js +113 -0
- package/dist/rest/subjects.d.ts +14 -0
- package/dist/rest/subjects.d.ts.map +1 -0
- package/dist/rest/subjects.js +22 -0
- package/dist/service-grants.d.ts +2 -2
- package/dist/service-grants.d.ts.map +1 -1
- package/dist/service-grants.js +1 -1
- package/dist/transport/generated/oauth-api.d.ts +5547 -1448
- package/dist/transport/generated/oauth-api.d.ts.map +1 -1
- package/dist/transport/intents.d.ts +9 -134
- package/dist/transport/intents.d.ts.map +1 -1
- package/dist/transport/intents.js +21 -405
- package/dist/transport/rest.d.ts +15 -5
- package/dist/transport/rest.d.ts.map +1 -1
- package/dist/userinfo.d.ts +22 -9
- package/dist/userinfo.d.ts.map +1 -1
- package/dist/userinfo.js +17 -12
- package/package.json +13 -2
package/dist/rar/bank.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
+
import type { Issue } from "../issues.js";
|
|
2
3
|
/** Reading accounts and their balances. `create` never implies either. */
|
|
3
4
|
export declare const BANK_ACCOUNT_READ_ACTIONS: readonly ["read", "read_balance"];
|
|
4
5
|
/** Opening and closing accounts, within the accountKey patterns of `accounts`. Each is an Intent. */
|
|
@@ -20,61 +21,63 @@ export declare const BANK_DEPOSIT_ACTIONS: readonly ["create", "read", "close"];
|
|
|
20
21
|
/** The only currency a bank detail names today. It is still required: a permission never assumes CLP. */
|
|
21
22
|
export declare const BANK_CURRENCIES: readonly ["CLP"];
|
|
22
23
|
/**
|
|
23
|
-
* Amount limits of a Transfer permission in a Grant Request
|
|
24
|
-
* `minimum`/`maximum` define a range
|
|
25
|
-
*
|
|
26
|
-
* the
|
|
24
|
+
* Amount limits of a Transfer permission in a Grant Request: `value` fixes an exact amount, and
|
|
25
|
+
* `minimum`/`maximum` define a range. They are two forms of a union, so a `value` together with a
|
|
26
|
+
* `minimum` or a `maximum` is refused by the shape, here and in JSON Schema; that the range is not
|
|
27
|
+
* empty is the rule {@link amountRangeIssues}. Every amount is at least
|
|
28
|
+
* {@link MINIMUM_TRANSACTION_AMOUNT}. With `editable`, consent may only lower the maximum or raise
|
|
29
|
+
* the minimum.
|
|
27
30
|
*
|
|
28
31
|
* @example
|
|
29
32
|
* const exact = { value: "25990" };
|
|
30
33
|
* const range = { minimum: "1000", maximum: "5000000", editable: true };
|
|
31
34
|
*/
|
|
32
|
-
export declare const TransferLimitsRequestSchema: v.
|
|
33
|
-
readonly value: v.
|
|
34
|
-
readonly minimum: v.
|
|
35
|
-
readonly maximum: v.
|
|
35
|
+
export declare const TransferLimitsRequestSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
36
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
37
|
+
readonly minimum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
38
|
+
readonly maximum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
36
39
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
37
|
-
}, undefined>, v.
|
|
38
|
-
value
|
|
39
|
-
minimum
|
|
40
|
-
maximum
|
|
41
|
-
editable
|
|
42
|
-
},
|
|
43
|
-
value?: string | null | undefined;
|
|
44
|
-
minimum?: string | null | undefined;
|
|
45
|
-
maximum?: string | null | undefined;
|
|
46
|
-
editable?: boolean | null | undefined;
|
|
47
|
-
}, "minimum_above_maximum">]>;
|
|
40
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
41
|
+
readonly value: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
42
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
43
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
44
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
|
+
}, undefined>], undefined>;
|
|
48
46
|
/** {@link TransferLimitsRequestSchema} as granted: no `editable`, no `null`. */
|
|
49
|
-
export declare const TransferLimitsGrantSchema: v.
|
|
50
|
-
readonly value: v.
|
|
51
|
-
readonly minimum: v.OptionalSchema<v.
|
|
52
|
-
readonly maximum: v.OptionalSchema<v.
|
|
53
|
-
}, undefined>, v.
|
|
54
|
-
value
|
|
55
|
-
minimum
|
|
56
|
-
maximum
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
readonly
|
|
65
|
-
|
|
66
|
-
}, undefined>, v.CheckAction<{
|
|
67
|
-
minimum?: string | null | undefined;
|
|
68
|
-
maximum?: string | null | undefined;
|
|
69
|
-
}, "minimum_above_maximum">]>;
|
|
47
|
+
export declare const TransferLimitsGrantSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
48
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
49
|
+
readonly minimum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
50
|
+
readonly maximum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
51
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
52
|
+
readonly value: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
53
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
54
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
55
|
+
}, undefined>], undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The amount an approver may approve, in a Grant Request. `null` or absent means no bound; that the
|
|
58
|
+
* range is not empty is the rule {@link amountRangeIssues}.
|
|
59
|
+
*/
|
|
60
|
+
export declare const ApprovalLimitsRequestSchema: v.StrictObjectSchema<{
|
|
61
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
62
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
63
|
+
}, undefined>;
|
|
70
64
|
/** {@link ApprovalLimitsRequestSchema} as granted. */
|
|
71
|
-
export declare const ApprovalLimitsGrantSchema: v.
|
|
72
|
-
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
73
|
-
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
74
|
-
}, undefined
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
export declare const ApprovalLimitsGrantSchema: v.StrictObjectSchema<{
|
|
66
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
67
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
68
|
+
}, undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The rule of amount limits, Transfer or approval, in either form: `minimum_above_maximum` at
|
|
71
|
+
* `minimum` when the range they define is empty. JSON Schema cannot compare two strings as amounts,
|
|
72
|
+
* so the gate's SQL repeats it.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* amountRangeIssues({ minimum: "50000", maximum: "1000" }); // [{ type: "minimum_above_maximum", path: [{ key: "minimum" }] }]
|
|
76
|
+
*/
|
|
77
|
+
export declare function amountRangeIssues(limits: {
|
|
78
|
+
readonly minimum?: string | null | undefined;
|
|
79
|
+
readonly maximum?: string | null | undefined;
|
|
80
|
+
}): Issue[];
|
|
78
81
|
/**
|
|
79
82
|
* `bank_account` Grant Request: three forms, one per action family, never mixed in one detail.
|
|
80
83
|
*
|
|
@@ -94,24 +97,26 @@ export declare const ApprovalLimitsGrantSchema: v.SchemaWithPipe<readonly [v.Str
|
|
|
94
97
|
*/
|
|
95
98
|
export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
96
99
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
97
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "read_balance"], undefined>, undefined>, v.MinLengthAction<("read" | "read_balance")[], 1, undefined>, v.
|
|
98
|
-
|
|
100
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "read_balance"], undefined>, undefined>, v.MinLengthAction<("read" | "read_balance")[], 1, undefined>, v.MetadataAction<("read" | "read_balance")[], {
|
|
101
|
+
readonly uniqueItems: true;
|
|
102
|
+
}>]>;
|
|
103
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
99
104
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
100
105
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
101
106
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
102
107
|
}, undefined>, v.StrictObjectSchema<{
|
|
103
108
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
104
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
109
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
105
110
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
106
111
|
}, undefined>], undefined>, undefined>;
|
|
107
|
-
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
112
|
+
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
108
113
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
109
114
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
110
115
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
111
116
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
112
117
|
}, undefined>, v.StrictObjectSchema<{
|
|
113
118
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
114
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
119
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
115
120
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
116
121
|
}, undefined>, v.StrictObjectSchema<{
|
|
117
122
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -146,7 +151,7 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
146
151
|
limit: "own";
|
|
147
152
|
editable?: boolean | null | undefined;
|
|
148
153
|
selection?: "single" | "multiple" | null | undefined;
|
|
149
|
-
})[], 100, undefined>, v.
|
|
154
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
150
155
|
type?: "account_key" | null | undefined;
|
|
151
156
|
pattern: string;
|
|
152
157
|
editable?: boolean | null | undefined;
|
|
@@ -160,69 +165,54 @@ export declare const BankAccountGrantRequestSchema: v.UnionSchema<[v.StrictObjec
|
|
|
160
165
|
limit: "own";
|
|
161
166
|
editable?: boolean | null | undefined;
|
|
162
167
|
selection?: "single" | "multiple" | null | undefined;
|
|
163
|
-
})[],
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
editable?: boolean | null | undefined;
|
|
167
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
168
|
-
} | {
|
|
169
|
-
type: "account";
|
|
170
|
-
id: string;
|
|
171
|
-
editable?: boolean | null | undefined;
|
|
172
|
-
} | {
|
|
173
|
-
type: "any";
|
|
174
|
-
limit: "own";
|
|
175
|
-
editable?: boolean | null | undefined;
|
|
176
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
177
|
-
})[], "account_selection_incoherent">]>, undefined>;
|
|
168
|
+
})[], {
|
|
169
|
+
readonly uniqueItems: true;
|
|
170
|
+
}>]>, undefined>;
|
|
178
171
|
}, undefined>, v.StrictObjectSchema<{
|
|
179
172
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
180
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "close"], undefined>, undefined>, v.MinLengthAction<("create" | "close")[], 1, undefined>, v.
|
|
181
|
-
|
|
173
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "close"], undefined>, undefined>, v.MinLengthAction<("create" | "close")[], 1, undefined>, v.MetadataAction<("create" | "close")[], {
|
|
174
|
+
readonly uniqueItems: true;
|
|
175
|
+
}>]>;
|
|
176
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
182
177
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
183
178
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
184
179
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
185
180
|
}, undefined>, v.StrictObjectSchema<{
|
|
186
181
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
187
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
182
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
188
183
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
189
184
|
}, undefined>], undefined>, undefined>;
|
|
190
|
-
readonly accounts: v.SchemaWithPipe<readonly [v.
|
|
185
|
+
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
191
186
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
192
187
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
193
188
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
194
|
-
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
195
189
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
196
190
|
type?: "account_key" | null | undefined;
|
|
197
191
|
pattern: string;
|
|
198
192
|
editable?: boolean | null | undefined;
|
|
199
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
200
193
|
}[], 1, undefined>, v.MaxLengthAction<{
|
|
201
194
|
type?: "account_key" | null | undefined;
|
|
202
195
|
pattern: string;
|
|
203
196
|
editable?: boolean | null | undefined;
|
|
204
|
-
|
|
205
|
-
}[], 100, undefined>, v.CheckAction<{
|
|
206
|
-
type?: "account_key" | null | undefined;
|
|
207
|
-
pattern: string;
|
|
208
|
-
editable?: boolean | null | undefined;
|
|
209
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
210
|
-
}[], "duplicate_account_matcher">]>, v.CheckAction<{
|
|
197
|
+
}[], 100, undefined>, v.MetadataAction<{
|
|
211
198
|
type?: "account_key" | null | undefined;
|
|
212
199
|
pattern: string;
|
|
213
200
|
editable?: boolean | null | undefined;
|
|
214
|
-
|
|
215
|
-
|
|
201
|
+
}[], {
|
|
202
|
+
readonly uniqueItems: true;
|
|
203
|
+
}>]>;
|
|
216
204
|
}, undefined>, v.StrictObjectSchema<{
|
|
217
205
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
218
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
219
|
-
|
|
206
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
207
|
+
readonly uniqueItems: true;
|
|
208
|
+
}>]>;
|
|
209
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
220
210
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
221
211
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
222
212
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
223
213
|
}, undefined>, v.StrictObjectSchema<{
|
|
224
214
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
225
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
215
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
226
216
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
227
217
|
}, undefined>], undefined>, undefined>;
|
|
228
218
|
}, undefined>], undefined>;
|
|
@@ -230,21 +220,23 @@ export type BankAccountGrantRequest = v.InferInput<typeof BankAccountGrantReques
|
|
|
230
220
|
/** `bank_account` Grant: the three forms with the subject resolved and `accounts` materialized. */
|
|
231
221
|
export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
232
222
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
233
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "read_balance"], undefined>, undefined>, v.MinLengthAction<("read" | "read_balance")[], 1, undefined>, v.
|
|
234
|
-
|
|
223
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "read_balance"], undefined>, undefined>, v.MinLengthAction<("read" | "read_balance")[], 1, undefined>, v.MetadataAction<("read" | "read_balance")[], {
|
|
224
|
+
readonly uniqueItems: true;
|
|
225
|
+
}>]>;
|
|
226
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
235
227
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
236
228
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
237
229
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
238
230
|
}, undefined>, v.StrictObjectSchema<{
|
|
239
231
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
240
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
232
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
241
233
|
}, undefined>], undefined>;
|
|
242
234
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
243
235
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
244
236
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
245
237
|
}, undefined>, v.StrictObjectSchema<{
|
|
246
238
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
247
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
239
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
248
240
|
}, undefined>, v.StrictObjectSchema<{
|
|
249
241
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
250
242
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -266,7 +258,7 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
266
258
|
} | {
|
|
267
259
|
type: "any";
|
|
268
260
|
limit: "own";
|
|
269
|
-
})[], 100, undefined>, v.
|
|
261
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
270
262
|
type: "account_key";
|
|
271
263
|
pattern: string;
|
|
272
264
|
} | {
|
|
@@ -275,17 +267,21 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
275
267
|
} | {
|
|
276
268
|
type: "any";
|
|
277
269
|
limit: "own";
|
|
278
|
-
})[],
|
|
270
|
+
})[], {
|
|
271
|
+
readonly uniqueItems: true;
|
|
272
|
+
}>]>;
|
|
279
273
|
}, undefined>, v.StrictObjectSchema<{
|
|
280
274
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
281
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "close"], undefined>, undefined>, v.MinLengthAction<("create" | "close")[], 1, undefined>, v.
|
|
282
|
-
|
|
275
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "close"], undefined>, undefined>, v.MinLengthAction<("create" | "close")[], 1, undefined>, v.MetadataAction<("create" | "close")[], {
|
|
276
|
+
readonly uniqueItems: true;
|
|
277
|
+
}>]>;
|
|
278
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
283
279
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
284
280
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
285
281
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
286
282
|
}, undefined>, v.StrictObjectSchema<{
|
|
287
283
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
288
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
284
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
289
285
|
}, undefined>], undefined>;
|
|
290
286
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
291
287
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
@@ -296,20 +292,24 @@ export declare const BankAccountGrantSchema: v.UnionSchema<[v.StrictObjectSchema
|
|
|
296
292
|
}[], 1, undefined>, v.MaxLengthAction<{
|
|
297
293
|
type: "account_key";
|
|
298
294
|
pattern: string;
|
|
299
|
-
}[], 100, undefined>, v.
|
|
295
|
+
}[], 100, undefined>, v.MetadataAction<{
|
|
300
296
|
type: "account_key";
|
|
301
297
|
pattern: string;
|
|
302
|
-
}[],
|
|
298
|
+
}[], {
|
|
299
|
+
readonly uniqueItems: true;
|
|
300
|
+
}>]>;
|
|
303
301
|
}, undefined>, v.StrictObjectSchema<{
|
|
304
302
|
readonly type: v.LiteralSchema<"bank_account", undefined>;
|
|
305
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
306
|
-
|
|
303
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
304
|
+
readonly uniqueItems: true;
|
|
305
|
+
}>]>;
|
|
306
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
307
307
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
308
308
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
309
309
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
310
310
|
}, undefined>, v.StrictObjectSchema<{
|
|
311
311
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
312
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
312
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
313
313
|
}, undefined>], undefined>;
|
|
314
314
|
}, undefined>], undefined>;
|
|
315
315
|
export type BankAccountGrant = v.InferOutput<typeof BankAccountGrantSchema>;
|
|
@@ -328,24 +328,26 @@ export type BankAccountGrant = v.InferOutput<typeof BankAccountGrantSchema>;
|
|
|
328
328
|
*/
|
|
329
329
|
export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
330
330
|
readonly type: v.LiteralSchema<"bank_transaction", undefined>;
|
|
331
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.
|
|
332
|
-
|
|
331
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
332
|
+
readonly uniqueItems: true;
|
|
333
|
+
}>]>;
|
|
334
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
333
335
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
334
336
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
335
337
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
336
338
|
}, undefined>, v.StrictObjectSchema<{
|
|
337
339
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
338
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
340
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
339
341
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
340
342
|
}, undefined>], undefined>, undefined>;
|
|
341
|
-
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
343
|
+
readonly accounts: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
342
344
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
343
345
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
344
346
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
345
347
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
346
348
|
}, undefined>, v.StrictObjectSchema<{
|
|
347
349
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
348
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
350
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
349
351
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
350
352
|
}, undefined>, v.StrictObjectSchema<{
|
|
351
353
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -380,7 +382,7 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
380
382
|
limit: "own";
|
|
381
383
|
editable?: boolean | null | undefined;
|
|
382
384
|
selection?: "single" | "multiple" | null | undefined;
|
|
383
|
-
})[], 100, undefined>, v.
|
|
385
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
384
386
|
type?: "account_key" | null | undefined;
|
|
385
387
|
pattern: string;
|
|
386
388
|
editable?: boolean | null | undefined;
|
|
@@ -394,41 +396,31 @@ export declare const BankTransactionGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
394
396
|
limit: "own";
|
|
395
397
|
editable?: boolean | null | undefined;
|
|
396
398
|
selection?: "single" | "multiple" | null | undefined;
|
|
397
|
-
})[],
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
editable?: boolean | null | undefined;
|
|
401
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
402
|
-
} | {
|
|
403
|
-
type: "account";
|
|
404
|
-
id: string;
|
|
405
|
-
editable?: boolean | null | undefined;
|
|
406
|
-
} | {
|
|
407
|
-
type: "any";
|
|
408
|
-
limit: "own";
|
|
409
|
-
editable?: boolean | null | undefined;
|
|
410
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
411
|
-
})[], "account_selection_incoherent">]>, undefined>;
|
|
399
|
+
})[], {
|
|
400
|
+
readonly uniqueItems: true;
|
|
401
|
+
}>]>, undefined>;
|
|
412
402
|
}, undefined>;
|
|
413
403
|
export type BankTransactionGrantRequest = v.InferInput<typeof BankTransactionGrantRequestSchema>;
|
|
414
404
|
/** `bank_transaction` Grant. */
|
|
415
405
|
export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
416
406
|
readonly type: v.LiteralSchema<"bank_transaction", undefined>;
|
|
417
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.
|
|
418
|
-
|
|
407
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read"], undefined>, undefined>, v.MinLengthAction<"read"[], 1, undefined>, v.MetadataAction<"read"[], {
|
|
408
|
+
readonly uniqueItems: true;
|
|
409
|
+
}>]>;
|
|
410
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
419
411
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
420
412
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
421
413
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
422
414
|
}, undefined>, v.StrictObjectSchema<{
|
|
423
415
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
424
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
416
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
425
417
|
}, undefined>], undefined>;
|
|
426
418
|
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
427
419
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
428
420
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
429
421
|
}, undefined>, v.StrictObjectSchema<{
|
|
430
422
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
431
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
423
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
432
424
|
}, undefined>, v.StrictObjectSchema<{
|
|
433
425
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
434
426
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -450,7 +442,7 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
450
442
|
} | {
|
|
451
443
|
type: "any";
|
|
452
444
|
limit: "own";
|
|
453
|
-
})[], 100, undefined>, v.
|
|
445
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
454
446
|
type: "account_key";
|
|
455
447
|
pattern: string;
|
|
456
448
|
} | {
|
|
@@ -459,7 +451,9 @@ export declare const BankTransactionGrantSchema: v.StrictObjectSchema<{
|
|
|
459
451
|
} | {
|
|
460
452
|
type: "any";
|
|
461
453
|
limit: "own";
|
|
462
|
-
})[],
|
|
454
|
+
})[], {
|
|
455
|
+
readonly uniqueItems: true;
|
|
456
|
+
}>]>;
|
|
463
457
|
}, undefined>;
|
|
464
458
|
export type BankTransactionGrant = v.InferOutput<typeof BankTransactionGrantSchema>;
|
|
465
459
|
/**
|
|
@@ -486,24 +480,26 @@ export type BankTransactionGrant = v.InferOutput<typeof BankTransactionGrantSche
|
|
|
486
480
|
*/
|
|
487
481
|
export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<{
|
|
488
482
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
489
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.
|
|
490
|
-
|
|
483
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.MetadataAction<"create"[], {
|
|
484
|
+
readonly uniqueItems: true;
|
|
485
|
+
}>]>;
|
|
486
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
491
487
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
492
488
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
493
489
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
494
490
|
}, undefined>, v.StrictObjectSchema<{
|
|
495
491
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
496
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
492
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
497
493
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
498
494
|
}, undefined>], undefined>, undefined>;
|
|
499
|
-
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
495
|
+
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
500
496
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
501
497
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
502
498
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
503
499
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
504
500
|
}, undefined>, v.StrictObjectSchema<{
|
|
505
501
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
506
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
502
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
507
503
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
508
504
|
}, undefined>, v.StrictObjectSchema<{
|
|
509
505
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -538,21 +534,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
538
534
|
limit: "own";
|
|
539
535
|
editable?: boolean | null | undefined;
|
|
540
536
|
selection?: "single" | "multiple" | null | undefined;
|
|
541
|
-
})[], 100, undefined>, v.
|
|
542
|
-
type?: "account_key" | null | undefined;
|
|
543
|
-
pattern: string;
|
|
544
|
-
editable?: boolean | null | undefined;
|
|
545
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
546
|
-
} | {
|
|
547
|
-
type: "account";
|
|
548
|
-
id: string;
|
|
549
|
-
editable?: boolean | null | undefined;
|
|
550
|
-
} | {
|
|
551
|
-
type: "any";
|
|
552
|
-
limit: "own";
|
|
553
|
-
editable?: boolean | null | undefined;
|
|
554
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
555
|
-
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
537
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
556
538
|
type?: "account_key" | null | undefined;
|
|
557
539
|
pattern: string;
|
|
558
540
|
editable?: boolean | null | undefined;
|
|
@@ -566,15 +548,17 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
566
548
|
limit: "own";
|
|
567
549
|
editable?: boolean | null | undefined;
|
|
568
550
|
selection?: "single" | "multiple" | null | undefined;
|
|
569
|
-
})[],
|
|
570
|
-
|
|
551
|
+
})[], {
|
|
552
|
+
readonly uniqueItems: true;
|
|
553
|
+
}>]>, undefined>;
|
|
554
|
+
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
571
555
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
572
556
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
573
557
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
574
558
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
575
559
|
}, undefined>, v.StrictObjectSchema<{
|
|
576
560
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
577
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
561
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
578
562
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
579
563
|
}, undefined>, v.StrictObjectSchema<{
|
|
580
564
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -654,36 +638,7 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
654
638
|
holder_id?: string | null | undefined;
|
|
655
639
|
holder_name?: string | null | undefined;
|
|
656
640
|
editable?: boolean | null | undefined;
|
|
657
|
-
})[], 100, undefined>, v.
|
|
658
|
-
type?: "account_key" | null | undefined;
|
|
659
|
-
pattern: string;
|
|
660
|
-
editable?: boolean | null | undefined;
|
|
661
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
662
|
-
} | {
|
|
663
|
-
type: "account";
|
|
664
|
-
id: string;
|
|
665
|
-
editable?: boolean | null | undefined;
|
|
666
|
-
} | {
|
|
667
|
-
type: "any";
|
|
668
|
-
limit: "own";
|
|
669
|
-
editable?: boolean | null | undefined;
|
|
670
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
671
|
-
} | {
|
|
672
|
-
type: "any";
|
|
673
|
-
limit: "local";
|
|
674
|
-
editable?: boolean | null | undefined;
|
|
675
|
-
} | {
|
|
676
|
-
type: "any";
|
|
677
|
-
limit: "all";
|
|
678
|
-
} | {
|
|
679
|
-
type: "external";
|
|
680
|
-
bank_id?: string | null | undefined;
|
|
681
|
-
account_type?: string | null | undefined;
|
|
682
|
-
account_id?: string | null | undefined;
|
|
683
|
-
holder_id?: string | null | undefined;
|
|
684
|
-
holder_name?: string | null | undefined;
|
|
685
|
-
editable?: boolean | null | undefined;
|
|
686
|
-
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
641
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
687
642
|
type?: "account_key" | null | undefined;
|
|
688
643
|
pattern: string;
|
|
689
644
|
editable?: boolean | null | undefined;
|
|
@@ -712,24 +667,21 @@ export declare const BankTransferCreateGrantRequestSchema: v.StrictObjectSchema<
|
|
|
712
667
|
holder_id?: string | null | undefined;
|
|
713
668
|
holder_name?: string | null | undefined;
|
|
714
669
|
editable?: boolean | null | undefined;
|
|
715
|
-
})[],
|
|
670
|
+
})[], {
|
|
671
|
+
readonly uniqueItems: true;
|
|
672
|
+
}>]>;
|
|
716
673
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
717
|
-
readonly transactions: v.NullishSchema<v.
|
|
718
|
-
readonly value: v.
|
|
719
|
-
readonly minimum: v.
|
|
720
|
-
readonly maximum: v.
|
|
674
|
+
readonly transactions: v.NullishSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
675
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
676
|
+
readonly minimum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
677
|
+
readonly maximum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
721
678
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
722
|
-
}, undefined>, v.
|
|
723
|
-
value
|
|
724
|
-
minimum
|
|
725
|
-
maximum
|
|
726
|
-
editable
|
|
727
|
-
},
|
|
728
|
-
value?: string | null | undefined;
|
|
729
|
-
minimum?: string | null | undefined;
|
|
730
|
-
maximum?: string | null | undefined;
|
|
731
|
-
editable?: boolean | null | undefined;
|
|
732
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
679
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
680
|
+
readonly value: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
681
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
682
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
683
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
684
|
+
}, undefined>], undefined>, undefined>;
|
|
733
685
|
readonly budgets: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
734
686
|
}, undefined>;
|
|
735
687
|
export type BankTransferCreateGrantRequest = v.InferInput<typeof BankTransferCreateGrantRequestSchema>;
|
|
@@ -748,46 +700,47 @@ export type BankTransferCreateGrantRequest = v.InferInput<typeof BankTransferCre
|
|
|
748
700
|
*/
|
|
749
701
|
export declare const BankTransferApprovalGrantRequestSchema: v.StrictObjectSchema<{
|
|
750
702
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
751
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
752
|
-
|
|
703
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
704
|
+
readonly uniqueItems: true;
|
|
705
|
+
}>]>;
|
|
706
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
753
707
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
754
708
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
755
709
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
756
710
|
}, undefined>, v.StrictObjectSchema<{
|
|
757
711
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
758
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
712
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
759
713
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
760
714
|
}, undefined>], undefined>, undefined>;
|
|
761
|
-
readonly transactions: v.NullishSchema<v.
|
|
762
|
-
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
763
|
-
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
764
|
-
}, undefined>,
|
|
765
|
-
minimum?: string | null | undefined;
|
|
766
|
-
maximum?: string | null | undefined;
|
|
767
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
715
|
+
readonly transactions: v.NullishSchema<v.StrictObjectSchema<{
|
|
716
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
717
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
718
|
+
}, undefined>, undefined>;
|
|
768
719
|
}, undefined>;
|
|
769
720
|
export type BankTransferApprovalGrantRequest = v.InferInput<typeof BankTransferApprovalGrantRequestSchema>;
|
|
770
721
|
/** `bank_transfer` Grant Request: the create form or the approval form, never both in one detail. */
|
|
771
722
|
export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
772
723
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
773
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.
|
|
774
|
-
|
|
724
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.MetadataAction<"create"[], {
|
|
725
|
+
readonly uniqueItems: true;
|
|
726
|
+
}>]>;
|
|
727
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
775
728
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
776
729
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
777
730
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
778
731
|
}, undefined>, v.StrictObjectSchema<{
|
|
779
732
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
780
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
733
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
781
734
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
782
735
|
}, undefined>], undefined>, undefined>;
|
|
783
|
-
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.
|
|
736
|
+
readonly sources: v.NullishSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
784
737
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
785
738
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
786
739
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
787
740
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
788
741
|
}, undefined>, v.StrictObjectSchema<{
|
|
789
742
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
790
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
743
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
791
744
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
792
745
|
}, undefined>, v.StrictObjectSchema<{
|
|
793
746
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -822,7 +775,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
822
775
|
limit: "own";
|
|
823
776
|
editable?: boolean | null | undefined;
|
|
824
777
|
selection?: "single" | "multiple" | null | undefined;
|
|
825
|
-
})[], 100, undefined>, v.
|
|
778
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
826
779
|
type?: "account_key" | null | undefined;
|
|
827
780
|
pattern: string;
|
|
828
781
|
editable?: boolean | null | undefined;
|
|
@@ -836,29 +789,17 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
836
789
|
limit: "own";
|
|
837
790
|
editable?: boolean | null | undefined;
|
|
838
791
|
selection?: "single" | "multiple" | null | undefined;
|
|
839
|
-
})[],
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
844
|
-
} | {
|
|
845
|
-
type: "account";
|
|
846
|
-
id: string;
|
|
847
|
-
editable?: boolean | null | undefined;
|
|
848
|
-
} | {
|
|
849
|
-
type: "any";
|
|
850
|
-
limit: "own";
|
|
851
|
-
editable?: boolean | null | undefined;
|
|
852
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
853
|
-
})[], "account_selection_incoherent">]>, undefined>;
|
|
854
|
-
readonly destinations: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
792
|
+
})[], {
|
|
793
|
+
readonly uniqueItems: true;
|
|
794
|
+
}>]>, undefined>;
|
|
795
|
+
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
855
796
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
856
797
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
857
798
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
858
799
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
859
800
|
}, undefined>, v.StrictObjectSchema<{
|
|
860
801
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
861
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
802
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
862
803
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
863
804
|
}, undefined>, v.StrictObjectSchema<{
|
|
864
805
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -938,7 +879,7 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
938
879
|
holder_id?: string | null | undefined;
|
|
939
880
|
holder_name?: string | null | undefined;
|
|
940
881
|
editable?: boolean | null | undefined;
|
|
941
|
-
})[], 100, undefined>, v.
|
|
882
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
942
883
|
type?: "account_key" | null | undefined;
|
|
943
884
|
pattern: string;
|
|
944
885
|
editable?: boolean | null | undefined;
|
|
@@ -967,93 +908,62 @@ export declare const BankTransferGrantRequestSchema: v.UnionSchema<[v.StrictObje
|
|
|
967
908
|
holder_id?: string | null | undefined;
|
|
968
909
|
holder_name?: string | null | undefined;
|
|
969
910
|
editable?: boolean | null | undefined;
|
|
970
|
-
})[],
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
editable?: boolean | null | undefined;
|
|
974
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
975
|
-
} | {
|
|
976
|
-
type: "account";
|
|
977
|
-
id: string;
|
|
978
|
-
editable?: boolean | null | undefined;
|
|
979
|
-
} | {
|
|
980
|
-
type: "any";
|
|
981
|
-
limit: "own";
|
|
982
|
-
editable?: boolean | null | undefined;
|
|
983
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
984
|
-
} | {
|
|
985
|
-
type: "any";
|
|
986
|
-
limit: "local";
|
|
987
|
-
editable?: boolean | null | undefined;
|
|
988
|
-
} | {
|
|
989
|
-
type: "any";
|
|
990
|
-
limit: "all";
|
|
991
|
-
} | {
|
|
992
|
-
type: "external";
|
|
993
|
-
bank_id?: string | null | undefined;
|
|
994
|
-
account_type?: string | null | undefined;
|
|
995
|
-
account_id?: string | null | undefined;
|
|
996
|
-
holder_id?: string | null | undefined;
|
|
997
|
-
holder_name?: string | null | undefined;
|
|
998
|
-
editable?: boolean | null | undefined;
|
|
999
|
-
})[], "account_selection_not_pickable">]>;
|
|
911
|
+
})[], {
|
|
912
|
+
readonly uniqueItems: true;
|
|
913
|
+
}>]>;
|
|
1000
914
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
1001
|
-
readonly transactions: v.NullishSchema<v.
|
|
1002
|
-
readonly value: v.
|
|
1003
|
-
readonly minimum: v.
|
|
1004
|
-
readonly maximum: v.
|
|
915
|
+
readonly transactions: v.NullishSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
916
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
917
|
+
readonly minimum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
918
|
+
readonly maximum: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
1005
919
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1006
|
-
}, undefined>, v.
|
|
1007
|
-
value
|
|
1008
|
-
minimum
|
|
1009
|
-
maximum
|
|
1010
|
-
editable
|
|
1011
|
-
},
|
|
1012
|
-
value?: string | null | undefined;
|
|
1013
|
-
minimum?: string | null | undefined;
|
|
1014
|
-
maximum?: string | null | undefined;
|
|
1015
|
-
editable?: boolean | null | undefined;
|
|
1016
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
920
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
921
|
+
readonly value: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
922
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
923
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
924
|
+
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
925
|
+
}, undefined>], undefined>, undefined>;
|
|
1017
926
|
readonly budgets: v.OptionalSchema<v.NullSchema<undefined>, undefined>;
|
|
1018
927
|
}, undefined>, v.StrictObjectSchema<{
|
|
1019
928
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1020
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
1021
|
-
|
|
929
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
930
|
+
readonly uniqueItems: true;
|
|
931
|
+
}>]>;
|
|
932
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1022
933
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1023
934
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1024
935
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1025
936
|
}, undefined>, v.StrictObjectSchema<{
|
|
1026
937
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1027
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
938
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1028
939
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1029
940
|
}, undefined>], undefined>, undefined>;
|
|
1030
|
-
readonly transactions: v.NullishSchema<v.
|
|
1031
|
-
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1032
|
-
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1033
|
-
}, undefined>,
|
|
1034
|
-
minimum?: string | null | undefined;
|
|
1035
|
-
maximum?: string | null | undefined;
|
|
1036
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
941
|
+
readonly transactions: v.NullishSchema<v.StrictObjectSchema<{
|
|
942
|
+
readonly minimum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
943
|
+
readonly maximum: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
944
|
+
}, undefined>, undefined>;
|
|
1037
945
|
}, undefined>], undefined>;
|
|
1038
946
|
export type BankTransferGrantRequest = v.InferInput<typeof BankTransferGrantRequestSchema>;
|
|
1039
947
|
/** `bank_transfer` Grant, create form: sources and destinations materialized, no `budgets`. */
|
|
1040
948
|
export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
1041
949
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1042
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.
|
|
1043
|
-
|
|
950
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.MetadataAction<"create"[], {
|
|
951
|
+
readonly uniqueItems: true;
|
|
952
|
+
}>]>;
|
|
953
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1044
954
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1045
955
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1046
956
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1047
957
|
}, undefined>, v.StrictObjectSchema<{
|
|
1048
958
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1049
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
959
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1050
960
|
}, undefined>], undefined>;
|
|
1051
961
|
readonly sources: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1052
962
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1053
963
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1054
964
|
}, undefined>, v.StrictObjectSchema<{
|
|
1055
965
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1056
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
966
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1057
967
|
}, undefined>, v.StrictObjectSchema<{
|
|
1058
968
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1059
969
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -1075,7 +985,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1075
985
|
} | {
|
|
1076
986
|
type: "any";
|
|
1077
987
|
limit: "own";
|
|
1078
|
-
})[], 100, undefined>, v.
|
|
988
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1079
989
|
type: "account_key";
|
|
1080
990
|
pattern: string;
|
|
1081
991
|
} | {
|
|
@@ -1084,13 +994,15 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1084
994
|
} | {
|
|
1085
995
|
type: "any";
|
|
1086
996
|
limit: "own";
|
|
1087
|
-
})[],
|
|
997
|
+
})[], {
|
|
998
|
+
readonly uniqueItems: true;
|
|
999
|
+
}>]>;
|
|
1088
1000
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1089
1001
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1090
1002
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1091
1003
|
}, undefined>, v.StrictObjectSchema<{
|
|
1092
1004
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1093
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
1005
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1094
1006
|
}, undefined>, v.StrictObjectSchema<{
|
|
1095
1007
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1096
1008
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -1151,7 +1063,7 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1151
1063
|
account_id?: string | undefined;
|
|
1152
1064
|
holder_id?: string | undefined;
|
|
1153
1065
|
holder_name?: string | undefined;
|
|
1154
|
-
})[], 100, undefined>, v.
|
|
1066
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1155
1067
|
type: "any";
|
|
1156
1068
|
limit: "all";
|
|
1157
1069
|
} | {
|
|
@@ -1173,62 +1085,61 @@ export declare const BankTransferCreateGrantSchema: v.StrictObjectSchema<{
|
|
|
1173
1085
|
account_id?: string | undefined;
|
|
1174
1086
|
holder_id?: string | undefined;
|
|
1175
1087
|
holder_name?: string | undefined;
|
|
1176
|
-
})[],
|
|
1088
|
+
})[], {
|
|
1089
|
+
readonly uniqueItems: true;
|
|
1090
|
+
}>]>;
|
|
1177
1091
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
1178
|
-
readonly transactions: v.OptionalSchema<v.
|
|
1179
|
-
readonly value: v.
|
|
1180
|
-
readonly minimum: v.OptionalSchema<v.
|
|
1181
|
-
readonly maximum: v.OptionalSchema<v.
|
|
1182
|
-
}, undefined>, v.
|
|
1183
|
-
value
|
|
1184
|
-
minimum
|
|
1185
|
-
maximum
|
|
1186
|
-
},
|
|
1187
|
-
value?: string | undefined;
|
|
1188
|
-
minimum?: string | undefined;
|
|
1189
|
-
maximum?: string | undefined;
|
|
1190
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
1092
|
+
readonly transactions: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1093
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1094
|
+
readonly minimum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1095
|
+
readonly maximum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1096
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1097
|
+
readonly value: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1098
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1099
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1100
|
+
}, undefined>], undefined>, undefined>;
|
|
1191
1101
|
}, undefined>;
|
|
1192
1102
|
export type BankTransferCreateGrant = v.InferOutput<typeof BankTransferCreateGrantSchema>;
|
|
1193
1103
|
/** `bank_transfer` Grant, approval form. Absent `transactions` means no bound. */
|
|
1194
1104
|
export declare const BankTransferApprovalGrantSchema: v.StrictObjectSchema<{
|
|
1195
1105
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1196
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
1197
|
-
|
|
1106
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
1107
|
+
readonly uniqueItems: true;
|
|
1108
|
+
}>]>;
|
|
1109
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1198
1110
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1199
1111
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1200
1112
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1201
1113
|
}, undefined>, v.StrictObjectSchema<{
|
|
1202
1114
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1203
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
1115
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1204
1116
|
}, undefined>], undefined>;
|
|
1205
|
-
readonly transactions: v.OptionalSchema<v.
|
|
1206
|
-
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1207
|
-
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1208
|
-
}, undefined>,
|
|
1209
|
-
minimum?: string | undefined;
|
|
1210
|
-
maximum?: string | undefined;
|
|
1211
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
1117
|
+
readonly transactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1118
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1119
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1120
|
+
}, undefined>, undefined>;
|
|
1212
1121
|
}, undefined>;
|
|
1213
1122
|
export type BankTransferApprovalGrant = v.InferOutput<typeof BankTransferApprovalGrantSchema>;
|
|
1214
1123
|
/** `bank_transfer` Grant. */
|
|
1215
1124
|
export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1216
1125
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1217
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.
|
|
1218
|
-
|
|
1126
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create"], undefined>, undefined>, v.MinLengthAction<"create"[], 1, undefined>, v.MetadataAction<"create"[], {
|
|
1127
|
+
readonly uniqueItems: true;
|
|
1128
|
+
}>]>;
|
|
1129
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1219
1130
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1220
1131
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1221
1132
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1222
1133
|
}, undefined>, v.StrictObjectSchema<{
|
|
1223
1134
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1224
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
1135
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1225
1136
|
}, undefined>], undefined>;
|
|
1226
1137
|
readonly sources: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1227
1138
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1228
1139
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1229
1140
|
}, undefined>, v.StrictObjectSchema<{
|
|
1230
1141
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1231
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
1142
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1232
1143
|
}, undefined>, v.StrictObjectSchema<{
|
|
1233
1144
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1234
1145
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -1250,7 +1161,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1250
1161
|
} | {
|
|
1251
1162
|
type: "any";
|
|
1252
1163
|
limit: "own";
|
|
1253
|
-
})[], 100, undefined>, v.
|
|
1164
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1254
1165
|
type: "account_key";
|
|
1255
1166
|
pattern: string;
|
|
1256
1167
|
} | {
|
|
@@ -1259,13 +1170,15 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1259
1170
|
} | {
|
|
1260
1171
|
type: "any";
|
|
1261
1172
|
limit: "own";
|
|
1262
|
-
})[],
|
|
1173
|
+
})[], {
|
|
1174
|
+
readonly uniqueItems: true;
|
|
1175
|
+
}>]>;
|
|
1263
1176
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1264
1177
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1265
1178
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1266
1179
|
}, undefined>, v.StrictObjectSchema<{
|
|
1267
1180
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1268
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
1181
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1269
1182
|
}, undefined>, v.StrictObjectSchema<{
|
|
1270
1183
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1271
1184
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -1326,7 +1239,7 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1326
1239
|
account_id?: string | undefined;
|
|
1327
1240
|
holder_id?: string | undefined;
|
|
1328
1241
|
holder_name?: string | undefined;
|
|
1329
|
-
})[], 100, undefined>, v.
|
|
1242
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1330
1243
|
type: "any";
|
|
1331
1244
|
limit: "all";
|
|
1332
1245
|
} | {
|
|
@@ -1348,39 +1261,36 @@ export declare const BankTransferGrantSchema: v.UnionSchema<[v.StrictObjectSchem
|
|
|
1348
1261
|
account_id?: string | undefined;
|
|
1349
1262
|
holder_id?: string | undefined;
|
|
1350
1263
|
holder_name?: string | undefined;
|
|
1351
|
-
})[],
|
|
1264
|
+
})[], {
|
|
1265
|
+
readonly uniqueItems: true;
|
|
1266
|
+
}>]>;
|
|
1352
1267
|
readonly currency: v.PicklistSchema<readonly ["CLP"], undefined>;
|
|
1353
|
-
readonly transactions: v.OptionalSchema<v.
|
|
1354
|
-
readonly value: v.
|
|
1355
|
-
readonly minimum: v.OptionalSchema<v.
|
|
1356
|
-
readonly maximum: v.OptionalSchema<v.
|
|
1357
|
-
}, undefined>, v.
|
|
1358
|
-
value
|
|
1359
|
-
minimum
|
|
1360
|
-
maximum
|
|
1361
|
-
},
|
|
1362
|
-
value?: string | undefined;
|
|
1363
|
-
minimum?: string | undefined;
|
|
1364
|
-
maximum?: string | undefined;
|
|
1365
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
1268
|
+
readonly transactions: v.OptionalSchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1269
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1270
|
+
readonly minimum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1271
|
+
readonly maximum: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1272
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1273
|
+
readonly value: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
1274
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1275
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1276
|
+
}, undefined>], undefined>, undefined>;
|
|
1366
1277
|
}, undefined>, v.StrictObjectSchema<{
|
|
1367
1278
|
readonly type: v.LiteralSchema<"bank_transfer", undefined>;
|
|
1368
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.
|
|
1369
|
-
|
|
1279
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["approve", "reject"], undefined>, undefined>, v.MinLengthAction<("approve" | "reject")[], 1, undefined>, v.MetadataAction<("approve" | "reject")[], {
|
|
1280
|
+
readonly uniqueItems: true;
|
|
1281
|
+
}>]>;
|
|
1282
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1370
1283
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1371
1284
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1372
1285
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1373
1286
|
}, undefined>, v.StrictObjectSchema<{
|
|
1374
1287
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1375
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
1288
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1376
1289
|
}, undefined>], undefined>;
|
|
1377
|
-
readonly transactions: v.OptionalSchema<v.
|
|
1378
|
-
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1379
|
-
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string,
|
|
1380
|
-
}, undefined>,
|
|
1381
|
-
minimum?: string | undefined;
|
|
1382
|
-
maximum?: string | undefined;
|
|
1383
|
-
}, "minimum_above_maximum">]>, undefined>;
|
|
1290
|
+
readonly transactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1291
|
+
readonly minimum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1292
|
+
readonly maximum: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1293
|
+
}, undefined>, undefined>;
|
|
1384
1294
|
}, undefined>], undefined>;
|
|
1385
1295
|
export type BankTransferGrant = v.InferOutput<typeof BankTransferGrantSchema>;
|
|
1386
1296
|
/**
|
|
@@ -1398,24 +1308,26 @@ export type BankTransferGrant = v.InferOutput<typeof BankTransferGrantSchema>;
|
|
|
1398
1308
|
*/
|
|
1399
1309
|
export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
1400
1310
|
readonly type: v.LiteralSchema<"bank_deposit", undefined>;
|
|
1401
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "read", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create" | "close")[], 1, undefined>, v.
|
|
1402
|
-
|
|
1311
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "read", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create" | "close")[], 1, undefined>, v.MetadataAction<("read" | "create" | "close")[], {
|
|
1312
|
+
readonly uniqueItems: true;
|
|
1313
|
+
}>]>;
|
|
1314
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1403
1315
|
readonly subject: v.NullishSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1404
1316
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1405
1317
|
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1406
1318
|
}, undefined>, v.StrictObjectSchema<{
|
|
1407
1319
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1408
|
-
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
1320
|
+
readonly identifier: v.NullishSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1409
1321
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1410
1322
|
}, undefined>], undefined>, undefined>;
|
|
1411
|
-
readonly destinations: v.SchemaWithPipe<readonly [v.
|
|
1323
|
+
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1412
1324
|
readonly type: v.NullishSchema<v.LiteralSchema<"account_key", undefined>, undefined>;
|
|
1413
1325
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1414
1326
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1415
1327
|
readonly selection: v.NullishSchema<v.PicklistSchema<readonly ["single", "multiple"], undefined>, undefined>;
|
|
1416
1328
|
}, undefined>, v.StrictObjectSchema<{
|
|
1417
1329
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1418
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
1330
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1419
1331
|
readonly editable: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1420
1332
|
}, undefined>, v.StrictObjectSchema<{
|
|
1421
1333
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
@@ -1450,21 +1362,7 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1450
1362
|
limit: "own";
|
|
1451
1363
|
editable?: boolean | null | undefined;
|
|
1452
1364
|
selection?: "single" | "multiple" | null | undefined;
|
|
1453
|
-
})[], 100, undefined>, v.
|
|
1454
|
-
type?: "account_key" | null | undefined;
|
|
1455
|
-
pattern: string;
|
|
1456
|
-
editable?: boolean | null | undefined;
|
|
1457
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
1458
|
-
} | {
|
|
1459
|
-
type: "account";
|
|
1460
|
-
id: string;
|
|
1461
|
-
editable?: boolean | null | undefined;
|
|
1462
|
-
} | {
|
|
1463
|
-
type: "any";
|
|
1464
|
-
limit: "own";
|
|
1465
|
-
editable?: boolean | null | undefined;
|
|
1466
|
-
selection?: "single" | "multiple" | null | undefined;
|
|
1467
|
-
})[], "duplicate_account_matcher">]>, v.CheckAction<({
|
|
1365
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1468
1366
|
type?: "account_key" | null | undefined;
|
|
1469
1367
|
pattern: string;
|
|
1470
1368
|
editable?: boolean | null | undefined;
|
|
@@ -1478,27 +1376,31 @@ export declare const BankDepositGrantRequestSchema: v.StrictObjectSchema<{
|
|
|
1478
1376
|
limit: "own";
|
|
1479
1377
|
editable?: boolean | null | undefined;
|
|
1480
1378
|
selection?: "single" | "multiple" | null | undefined;
|
|
1481
|
-
})[],
|
|
1379
|
+
})[], {
|
|
1380
|
+
readonly uniqueItems: true;
|
|
1381
|
+
}>]>;
|
|
1482
1382
|
}, undefined>;
|
|
1483
1383
|
export type BankDepositGrantRequest = v.InferInput<typeof BankDepositGrantRequestSchema>;
|
|
1484
1384
|
/** `bank_deposit` Grant. */
|
|
1485
1385
|
export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
1486
1386
|
readonly type: v.LiteralSchema<"bank_deposit", undefined>;
|
|
1487
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "read", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create" | "close")[], 1, undefined>, v.
|
|
1488
|
-
|
|
1387
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["create", "read", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create" | "close")[], 1, undefined>, v.MetadataAction<("read" | "create" | "close")[], {
|
|
1388
|
+
readonly uniqueItems: true;
|
|
1389
|
+
}>]>;
|
|
1390
|
+
readonly locations: v.StrictTupleSchema<[v.LiteralSchema<"https://api.andco.com", undefined>], undefined>;
|
|
1489
1391
|
readonly subject: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1490
1392
|
readonly type: v.LiteralSchema<"profile", undefined>;
|
|
1491
1393
|
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1492
1394
|
}, undefined>, v.StrictObjectSchema<{
|
|
1493
1395
|
readonly type: v.LiteralSchema<"organization", undefined>;
|
|
1494
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined
|
|
1396
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1495
1397
|
}, undefined>], undefined>;
|
|
1496
1398
|
readonly destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
|
|
1497
1399
|
readonly type: v.LiteralSchema<"account_key", undefined>;
|
|
1498
1400
|
readonly pattern: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1499
1401
|
}, undefined>, v.StrictObjectSchema<{
|
|
1500
1402
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1501
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
1403
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
1502
1404
|
}, undefined>, v.StrictObjectSchema<{
|
|
1503
1405
|
readonly type: v.LiteralSchema<"any", undefined>;
|
|
1504
1406
|
readonly limit: v.LiteralSchema<"own", undefined>;
|
|
@@ -1520,7 +1422,7 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1520
1422
|
} | {
|
|
1521
1423
|
type: "any";
|
|
1522
1424
|
limit: "own";
|
|
1523
|
-
})[], 100, undefined>, v.
|
|
1425
|
+
})[], 100, undefined>, v.MetadataAction<({
|
|
1524
1426
|
type: "account_key";
|
|
1525
1427
|
pattern: string;
|
|
1526
1428
|
} | {
|
|
@@ -1529,23 +1431,9 @@ export declare const BankDepositGrantSchema: v.StrictObjectSchema<{
|
|
|
1529
1431
|
} | {
|
|
1530
1432
|
type: "any";
|
|
1531
1433
|
limit: "own";
|
|
1532
|
-
})[],
|
|
1434
|
+
})[], {
|
|
1435
|
+
readonly uniqueItems: true;
|
|
1436
|
+
}>]>;
|
|
1533
1437
|
}, undefined>;
|
|
1534
1438
|
export type BankDepositGrant = v.InferOutput<typeof BankDepositGrantSchema>;
|
|
1535
|
-
/** JSON Schema mirror of {@link BankAccountGrantRequestSchema}. */
|
|
1536
|
-
export declare const BANK_ACCOUNT_GRANT_REQUEST_JSON_SCHEMA: Record<string, unknown>;
|
|
1537
|
-
/** JSON Schema mirror of {@link BankAccountGrantSchema}. */
|
|
1538
|
-
export declare const BANK_ACCOUNT_GRANT_JSON_SCHEMA: Record<string, unknown>;
|
|
1539
|
-
/** JSON Schema mirror of {@link BankTransactionGrantRequestSchema}. */
|
|
1540
|
-
export declare const BANK_TRANSACTION_GRANT_REQUEST_JSON_SCHEMA: Record<string, unknown>;
|
|
1541
|
-
/** JSON Schema mirror of {@link BankTransactionGrantSchema}. */
|
|
1542
|
-
export declare const BANK_TRANSACTION_GRANT_JSON_SCHEMA: Record<string, unknown>;
|
|
1543
|
-
/** JSON Schema mirror of {@link BankTransferGrantRequestSchema}. */
|
|
1544
|
-
export declare const BANK_TRANSFER_GRANT_REQUEST_JSON_SCHEMA: Record<string, unknown>;
|
|
1545
|
-
/** JSON Schema mirror of {@link BankTransferGrantSchema}. */
|
|
1546
|
-
export declare const BANK_TRANSFER_GRANT_JSON_SCHEMA: Record<string, unknown>;
|
|
1547
|
-
/** JSON Schema mirror of {@link BankDepositGrantRequestSchema}. */
|
|
1548
|
-
export declare const BANK_DEPOSIT_GRANT_REQUEST_JSON_SCHEMA: Record<string, unknown>;
|
|
1549
|
-
/** JSON Schema mirror of {@link BankDepositGrantSchema}. */
|
|
1550
|
-
export declare const BANK_DEPOSIT_GRANT_JSON_SCHEMA: Record<string, unknown>;
|
|
1551
1439
|
//# sourceMappingURL=bank.d.ts.map
|