@andco/protocol 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +51 -3
- package/dist/api-errors.d.ts +114 -0
- package/dist/api-errors.d.ts.map +1 -0
- package/dist/api-errors.js +116 -0
- package/dist/authorization-preparation.d.ts +52 -543
- package/dist/authorization-preparation.d.ts.map +1 -1
- package/dist/authorization-preparation.js +19 -42
- package/dist/authorization.d.ts +64 -22
- package/dist/authorization.d.ts.map +1 -1
- package/dist/authorization.js +136 -55
- package/dist/consent.d.ts +5 -8
- package/dist/consent.d.ts.map +1 -1
- package/dist/consent.js +5 -62
- package/dist/constants.d.ts +19 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +19 -3
- package/dist/errors.d.ts +154 -58
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +174 -57
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/intent-input.d.ts +1022 -288
- package/dist/intent-input.d.ts.map +1 -1
- package/dist/intent-input.js +284 -40
- package/dist/messages/error.d.ts +1 -2
- package/dist/messages/error.d.ts.map +1 -1
- package/dist/messages/error.js +5 -2
- package/dist/messages/index.d.ts +1 -1
- package/dist/native-copy.d.ts +23 -2
- package/dist/native-copy.d.ts.map +1 -1
- package/dist/native-copy.js +65 -117
- package/dist/native-intent.d.ts +126 -75
- package/dist/native-intent.d.ts.map +1 -1
- package/dist/native-intent.js +140 -48
- package/dist/rar/account-matchers.d.ts +579 -0
- package/dist/rar/account-matchers.d.ts.map +1 -0
- package/dist/rar/account-matchers.js +480 -0
- package/dist/rar/bank.d.ts +1549 -0
- package/dist/rar/bank.d.ts.map +1 -0
- package/dist/rar/bank.js +379 -0
- package/dist/rar/catalog.d.ts +1155 -0
- package/dist/rar/catalog.d.ts.map +1 -0
- package/dist/rar/catalog.js +175 -0
- package/dist/rar/detail.d.ts +39 -0
- package/dist/rar/detail.d.ts.map +1 -0
- package/dist/rar/detail.js +44 -0
- package/dist/rar/index.d.ts +9 -0
- package/dist/rar/index.d.ts.map +1 -0
- package/dist/rar/index.js +8 -0
- package/dist/rar/money.d.ts +58 -0
- package/dist/rar/money.d.ts.map +1 -0
- package/dist/rar/money.js +61 -0
- package/dist/rar/project-users.d.ts +43 -0
- package/dist/rar/project-users.d.ts.map +1 -0
- package/dist/rar/project-users.js +63 -0
- package/dist/rar/subject-data.d.ts +170 -0
- package/dist/rar/subject-data.d.ts.map +1 -0
- package/dist/rar/subject-data.js +127 -0
- package/dist/rar/subject.d.ts +166 -0
- package/dist/rar/subject.d.ts.map +1 -0
- package/dist/rar/subject.js +119 -0
- package/dist/scopes.d.ts +5 -30
- package/dist/scopes.d.ts.map +1 -1
- package/dist/scopes.js +0 -13
- package/dist/service-grants.d.ts +44 -0
- package/dist/service-grants.d.ts.map +1 -0
- package/dist/service-grants.js +45 -0
- package/dist/signing.d.ts +56 -0
- package/dist/signing.d.ts.map +1 -0
- package/dist/signing.js +233 -0
- package/dist/transport/financial-events.d.ts +90 -35
- package/dist/transport/financial-events.d.ts.map +1 -1
- package/dist/transport/financial-events.js +7 -1
- package/dist/transport/generated/oauth-api.d.ts +932 -441
- package/dist/transport/generated/oauth-api.d.ts.map +1 -1
- package/dist/transport/index.d.ts +0 -1
- package/dist/transport/index.d.ts.map +1 -1
- package/dist/transport/index.js +0 -1
- package/dist/transport/intents.d.ts +155 -23
- package/dist/transport/intents.d.ts.map +1 -1
- package/dist/transport/intents.js +192 -59
- package/dist/transport/rest.d.ts +19 -8
- package/dist/transport/rest.d.ts.map +1 -1
- package/dist/transport/rest.js +1 -1
- package/dist/urls.d.ts.map +1 -1
- package/dist/urls.js +1 -1
- package/dist/userinfo.d.ts +10 -1
- package/dist/userinfo.d.ts.map +1 -1
- package/dist/userinfo.js +10 -1
- package/dist/utils.d.ts +15 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +31 -0
- package/dist/webhooks.d.ts +154 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/dist/webhooks.js +249 -0
- package/package.json +21 -2
- package/dist/automatic-charge.d.ts +0 -314
- package/dist/automatic-charge.d.ts.map +0 -1
- package/dist/automatic-charge.js +0 -126
- package/dist/bank-account-authorization.d.ts +0 -6
- package/dist/bank-account-authorization.d.ts.map +0 -1
- package/dist/bank-account-authorization.js +0 -13
- package/dist/transport/webhooks.d.ts +0 -27
- package/dist/transport/webhooks.d.ts.map +0 -1
- package/dist/transport/webhooks.js +0 -68
- package/dist/webhook-input.d.ts +0 -22
- package/dist/webhook-input.d.ts.map +0 -1
- package/dist/webhook-input.js +0 -11
- package/dist/webhook-signature.d.ts +0 -54
- package/dist/webhook-signature.d.ts.map +0 -1
- package/dist/webhook-signature.js +0 -74
|
@@ -3,17 +3,25 @@ import * as v from "valibot";
|
|
|
3
3
|
export declare const AndCoConsentScopeSchema: v.ObjectSchema<{
|
|
4
4
|
readonly resourceServerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
readonly resourceServerName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
6
|
+
readonly resourceProjectId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
|
+
readonly resourceProjectName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
8
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
9
|
+
readonly resourcePublisherName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
6
10
|
readonly scopeDescription: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
7
11
|
readonly grantedAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
12
|
readonly connectionHasPriorGrant: v.BooleanSchema<undefined>;
|
|
9
13
|
readonly scope: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
10
14
|
readonly mode: v.PicklistSchema<["optional", "default", "required"], undefined>;
|
|
11
15
|
}, undefined>;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Platform-resolved subject and provider permission context of a third-party authorization.
|
|
18
|
+
* `organizationId` and `organizationName` are `null` when the third-party details reach the
|
|
19
|
+
* consenting Profile rather than one of their Organizations.
|
|
20
|
+
*/
|
|
13
21
|
export declare const AndCoResourceConsentSchema: v.ObjectSchema<{
|
|
14
22
|
readonly allowed: v.BooleanSchema<undefined>;
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
23
|
+
readonly organizationId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly organizationName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
17
25
|
readonly details: v.ArraySchema<v.ObjectSchema<{
|
|
18
26
|
readonly name: v.StringSchema<undefined>;
|
|
19
27
|
readonly actions: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -22,181 +30,15 @@ export declare const AndCoResourceConsentSchema: v.ObjectSchema<{
|
|
|
22
30
|
}, undefined>, undefined>;
|
|
23
31
|
}, undefined>, undefined>;
|
|
24
32
|
readonly errorCode: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
33
|
+
readonly clientProjectName: v.StringSchema<undefined>;
|
|
34
|
+
readonly resourceServerId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
27
35
|
readonly resourceProjectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
36
|
+
readonly resourceProjectName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
38
|
+
readonly resourcePublisherName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
28
39
|
readonly resourceName: v.StringSchema<undefined>;
|
|
29
40
|
readonly resource: v.StringSchema<undefined>;
|
|
30
41
|
}, undefined>;
|
|
31
|
-
/** Company accounts and immutable constraints resolved by Platform for automatic charges. */
|
|
32
|
-
export declare const AndCoChargeConsentSchema: v.ObjectSchema<{
|
|
33
|
-
readonly orgId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
34
|
-
readonly companyName: v.StringSchema<undefined>;
|
|
35
|
-
readonly projectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
36
|
-
readonly projectName: v.StringSchema<undefined>;
|
|
37
|
-
readonly operatorName: v.StringSchema<undefined>;
|
|
38
|
-
readonly request: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
39
|
-
readonly type: v.LiteralSchema<"https://api.andco.cl/authorization-details/automatic-charge", undefined>;
|
|
40
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "create_deposit_intent", "read_deposit_intents", "create_automatic_charge", "execute_automatic_charge", "read_automatic_charges", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], 1, undefined>, v.CheckAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], undefined>]>;
|
|
41
|
-
readonly locations: v.TupleSchema<[v.LiteralSchema<"https://api.andco.cl", undefined>], undefined>;
|
|
42
|
-
readonly sources: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
43
|
-
readonly beneficiaries: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
44
|
-
readonly selection: v.OptionalSchema<v.StrictObjectSchema<{
|
|
45
|
-
readonly min: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
46
|
-
readonly max: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
47
|
-
}, undefined>, undefined>;
|
|
48
|
-
readonly transaction: v.StrictObjectSchema<{
|
|
49
|
-
readonly currency: v.LiteralSchema<"CLP", undefined>;
|
|
50
|
-
readonly minimum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
51
|
-
readonly maximum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
52
|
-
}, undefined>;
|
|
53
|
-
readonly budget: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
54
|
-
readonly amount: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
55
|
-
readonly interval: v.StrictObjectSchema<{
|
|
56
|
-
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 365, undefined>]>;
|
|
57
|
-
readonly unit: v.PicklistSchema<["days", "months", "years"], undefined>;
|
|
58
|
-
}, undefined>;
|
|
59
|
-
readonly time_zone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, undefined>]>;
|
|
60
|
-
}, undefined>, undefined>, undefined>;
|
|
61
|
-
readonly account_binding: v.OptionalSchema<v.StrictObjectSchema<{
|
|
62
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
63
|
-
readonly name: v.StrictObjectSchema<{
|
|
64
|
-
readonly suggested: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
65
|
-
readonly editable: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
66
|
-
}, undefined>;
|
|
67
|
-
}, undefined>, undefined>;
|
|
68
|
-
}, undefined>, v.CheckAction<{
|
|
69
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
70
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
71
|
-
locations: ["https://api.andco.cl"];
|
|
72
|
-
sources?: string[] | undefined;
|
|
73
|
-
beneficiaries?: string[] | undefined;
|
|
74
|
-
selection?: {
|
|
75
|
-
min?: number | undefined;
|
|
76
|
-
max?: number | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
transaction: {
|
|
79
|
-
currency: "CLP";
|
|
80
|
-
minimum: string;
|
|
81
|
-
maximum: string;
|
|
82
|
-
};
|
|
83
|
-
budget?: {
|
|
84
|
-
amount: string;
|
|
85
|
-
interval: {
|
|
86
|
-
count: number;
|
|
87
|
-
unit: "days" | "months" | "years";
|
|
88
|
-
};
|
|
89
|
-
time_zone: string;
|
|
90
|
-
} | null | undefined;
|
|
91
|
-
account_binding?: {
|
|
92
|
-
key: string;
|
|
93
|
-
name: {
|
|
94
|
-
suggested: string;
|
|
95
|
-
editable: boolean;
|
|
96
|
-
};
|
|
97
|
-
} | undefined;
|
|
98
|
-
}, undefined>, v.CheckAction<{
|
|
99
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
100
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
101
|
-
locations: ["https://api.andco.cl"];
|
|
102
|
-
sources?: string[] | undefined;
|
|
103
|
-
beneficiaries?: string[] | undefined;
|
|
104
|
-
selection?: {
|
|
105
|
-
min?: number | undefined;
|
|
106
|
-
max?: number | undefined;
|
|
107
|
-
} | undefined;
|
|
108
|
-
transaction: {
|
|
109
|
-
currency: "CLP";
|
|
110
|
-
minimum: string;
|
|
111
|
-
maximum: string;
|
|
112
|
-
};
|
|
113
|
-
budget?: {
|
|
114
|
-
amount: string;
|
|
115
|
-
interval: {
|
|
116
|
-
count: number;
|
|
117
|
-
unit: "days" | "months" | "years";
|
|
118
|
-
};
|
|
119
|
-
time_zone: string;
|
|
120
|
-
} | null | undefined;
|
|
121
|
-
account_binding?: {
|
|
122
|
-
key: string;
|
|
123
|
-
name: {
|
|
124
|
-
suggested: string;
|
|
125
|
-
editable: boolean;
|
|
126
|
-
};
|
|
127
|
-
} | undefined;
|
|
128
|
-
}, undefined>, v.CheckAction<{
|
|
129
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
130
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
131
|
-
locations: ["https://api.andco.cl"];
|
|
132
|
-
sources?: string[] | undefined;
|
|
133
|
-
beneficiaries?: string[] | undefined;
|
|
134
|
-
selection?: {
|
|
135
|
-
min?: number | undefined;
|
|
136
|
-
max?: number | undefined;
|
|
137
|
-
} | undefined;
|
|
138
|
-
transaction: {
|
|
139
|
-
currency: "CLP";
|
|
140
|
-
minimum: string;
|
|
141
|
-
maximum: string;
|
|
142
|
-
};
|
|
143
|
-
budget?: {
|
|
144
|
-
amount: string;
|
|
145
|
-
interval: {
|
|
146
|
-
count: number;
|
|
147
|
-
unit: "days" | "months" | "years";
|
|
148
|
-
};
|
|
149
|
-
time_zone: string;
|
|
150
|
-
} | null | undefined;
|
|
151
|
-
account_binding?: {
|
|
152
|
-
key: string;
|
|
153
|
-
name: {
|
|
154
|
-
suggested: string;
|
|
155
|
-
editable: boolean;
|
|
156
|
-
};
|
|
157
|
-
} | undefined;
|
|
158
|
-
}, undefined>, v.CheckAction<{
|
|
159
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
160
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
161
|
-
locations: ["https://api.andco.cl"];
|
|
162
|
-
sources?: string[] | undefined;
|
|
163
|
-
beneficiaries?: string[] | undefined;
|
|
164
|
-
selection?: {
|
|
165
|
-
min?: number | undefined;
|
|
166
|
-
max?: number | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
transaction: {
|
|
169
|
-
currency: "CLP";
|
|
170
|
-
minimum: string;
|
|
171
|
-
maximum: string;
|
|
172
|
-
};
|
|
173
|
-
budget?: {
|
|
174
|
-
amount: string;
|
|
175
|
-
interval: {
|
|
176
|
-
count: number;
|
|
177
|
-
unit: "days" | "months" | "years";
|
|
178
|
-
};
|
|
179
|
-
time_zone: string;
|
|
180
|
-
} | null | undefined;
|
|
181
|
-
account_binding?: {
|
|
182
|
-
key: string;
|
|
183
|
-
name: {
|
|
184
|
-
suggested: string;
|
|
185
|
-
editable: boolean;
|
|
186
|
-
};
|
|
187
|
-
} | undefined;
|
|
188
|
-
}, undefined>]>;
|
|
189
|
-
readonly bindingAccountId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
190
|
-
readonly openingName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
191
|
-
readonly workflowId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
192
|
-
readonly bankStatus: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
193
|
-
readonly budgetAnchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
194
|
-
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
195
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
196
|
-
readonly number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
197
|
-
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
198
|
-
}, undefined>, undefined>;
|
|
199
|
-
}, undefined>;
|
|
200
42
|
/** Canonical state of one pending authorization, resolved once by the platform for every surface. */
|
|
201
43
|
export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"status", [v.ObjectSchema<{
|
|
202
44
|
readonly status: v.LiteralSchema<"sign_in_required", undefined>;
|
|
@@ -235,6 +77,10 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
235
77
|
readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
236
78
|
readonly resourceServerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
237
79
|
readonly resourceServerName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
80
|
+
readonly resourceProjectId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
81
|
+
readonly resourceProjectName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
82
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
83
|
+
readonly resourcePublisherName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
238
84
|
readonly scopeDescription: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
239
85
|
readonly grantedAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
240
86
|
readonly connectionHasPriorGrant: v.BooleanSchema<undefined>;
|
|
@@ -243,35 +89,20 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
243
89
|
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
244
90
|
resourceServerId?: string | undefined;
|
|
245
91
|
resourceServerName?: string | undefined;
|
|
92
|
+
resourceProjectId?: string | undefined;
|
|
93
|
+
resourceProjectName?: string | undefined;
|
|
94
|
+
resourceProjectHomeUri?: string | null | undefined;
|
|
95
|
+
resourcePublisherName?: string | undefined;
|
|
246
96
|
scopeDescription?: string | undefined;
|
|
247
97
|
grantedAt: string | null;
|
|
248
98
|
connectionHasPriorGrant: boolean;
|
|
249
99
|
scope: string;
|
|
250
100
|
mode: "optional" | "default" | "required";
|
|
251
101
|
}[], 50, undefined>]>;
|
|
252
|
-
readonly bankAccountAuthorization: v.OptionalSchema<v.ObjectSchema<{
|
|
253
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "read_movements", "create_deposit_intent", "read_deposit_intents", "create_withdrawal_intent", "execute_withdrawal", "read_withdrawal_intents", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "close" | "read_movements" | "create_withdrawal_intent" | "execute_withdrawal" | "read_withdrawal_intents")[], 1, undefined>, v.MaxLengthAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "close" | "read_movements" | "create_withdrawal_intent" | "execute_withdrawal" | "read_withdrawal_intents")[], 8, undefined>]>;
|
|
254
|
-
readonly accounts: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
255
|
-
readonly bankAccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
256
|
-
readonly accountNumber: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
257
|
-
readonly productName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
258
|
-
readonly currency: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 16, undefined>]>;
|
|
259
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
260
|
-
bankAccountId: string;
|
|
261
|
-
accountNumber: string | null;
|
|
262
|
-
productName: string | null;
|
|
263
|
-
currency: string;
|
|
264
|
-
}[], 1, undefined>, v.MaxLengthAction<{
|
|
265
|
-
bankAccountId: string;
|
|
266
|
-
accountNumber: string | null;
|
|
267
|
-
productName: string | null;
|
|
268
|
-
currency: string;
|
|
269
|
-
}[], 100, undefined>]>;
|
|
270
|
-
}, undefined>, undefined>;
|
|
271
102
|
readonly resourceAuthorization: v.OptionalSchema<v.ObjectSchema<{
|
|
272
103
|
readonly allowed: v.BooleanSchema<undefined>;
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
104
|
+
readonly organizationId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
105
|
+
readonly organizationName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
275
106
|
readonly details: v.ArraySchema<v.ObjectSchema<{
|
|
276
107
|
readonly name: v.StringSchema<undefined>;
|
|
277
108
|
readonly actions: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -280,181 +111,16 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
280
111
|
}, undefined>, undefined>;
|
|
281
112
|
}, undefined>, undefined>;
|
|
282
113
|
readonly errorCode: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
283
|
-
readonly
|
|
284
|
-
readonly
|
|
114
|
+
readonly clientProjectName: v.StringSchema<undefined>;
|
|
115
|
+
readonly resourceServerId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
285
116
|
readonly resourceProjectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
117
|
+
readonly resourceProjectName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
118
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
119
|
+
readonly resourcePublisherName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
286
120
|
readonly resourceName: v.StringSchema<undefined>;
|
|
287
121
|
readonly resource: v.StringSchema<undefined>;
|
|
288
122
|
}, undefined>, undefined>;
|
|
289
|
-
readonly
|
|
290
|
-
readonly orgId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
291
|
-
readonly companyName: v.StringSchema<undefined>;
|
|
292
|
-
readonly projectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
293
|
-
readonly projectName: v.StringSchema<undefined>;
|
|
294
|
-
readonly operatorName: v.StringSchema<undefined>;
|
|
295
|
-
readonly request: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
296
|
-
readonly type: v.LiteralSchema<"https://api.andco.cl/authorization-details/automatic-charge", undefined>;
|
|
297
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "create_deposit_intent", "read_deposit_intents", "create_automatic_charge", "execute_automatic_charge", "read_automatic_charges", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], 1, undefined>, v.CheckAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], undefined>]>;
|
|
298
|
-
readonly locations: v.TupleSchema<[v.LiteralSchema<"https://api.andco.cl", undefined>], undefined>;
|
|
299
|
-
readonly sources: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
300
|
-
readonly beneficiaries: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
301
|
-
readonly selection: v.OptionalSchema<v.StrictObjectSchema<{
|
|
302
|
-
readonly min: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
303
|
-
readonly max: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
304
|
-
}, undefined>, undefined>;
|
|
305
|
-
readonly transaction: v.StrictObjectSchema<{
|
|
306
|
-
readonly currency: v.LiteralSchema<"CLP", undefined>;
|
|
307
|
-
readonly minimum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
308
|
-
readonly maximum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
309
|
-
}, undefined>;
|
|
310
|
-
readonly budget: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
311
|
-
readonly amount: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
312
|
-
readonly interval: v.StrictObjectSchema<{
|
|
313
|
-
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 365, undefined>]>;
|
|
314
|
-
readonly unit: v.PicklistSchema<["days", "months", "years"], undefined>;
|
|
315
|
-
}, undefined>;
|
|
316
|
-
readonly time_zone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, undefined>]>;
|
|
317
|
-
}, undefined>, undefined>, undefined>;
|
|
318
|
-
readonly account_binding: v.OptionalSchema<v.StrictObjectSchema<{
|
|
319
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
320
|
-
readonly name: v.StrictObjectSchema<{
|
|
321
|
-
readonly suggested: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
322
|
-
readonly editable: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
323
|
-
}, undefined>;
|
|
324
|
-
}, undefined>, undefined>;
|
|
325
|
-
}, undefined>, v.CheckAction<{
|
|
326
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
327
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
328
|
-
locations: ["https://api.andco.cl"];
|
|
329
|
-
sources?: string[] | undefined;
|
|
330
|
-
beneficiaries?: string[] | undefined;
|
|
331
|
-
selection?: {
|
|
332
|
-
min?: number | undefined;
|
|
333
|
-
max?: number | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
transaction: {
|
|
336
|
-
currency: "CLP";
|
|
337
|
-
minimum: string;
|
|
338
|
-
maximum: string;
|
|
339
|
-
};
|
|
340
|
-
budget?: {
|
|
341
|
-
amount: string;
|
|
342
|
-
interval: {
|
|
343
|
-
count: number;
|
|
344
|
-
unit: "days" | "months" | "years";
|
|
345
|
-
};
|
|
346
|
-
time_zone: string;
|
|
347
|
-
} | null | undefined;
|
|
348
|
-
account_binding?: {
|
|
349
|
-
key: string;
|
|
350
|
-
name: {
|
|
351
|
-
suggested: string;
|
|
352
|
-
editable: boolean;
|
|
353
|
-
};
|
|
354
|
-
} | undefined;
|
|
355
|
-
}, undefined>, v.CheckAction<{
|
|
356
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
357
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
358
|
-
locations: ["https://api.andco.cl"];
|
|
359
|
-
sources?: string[] | undefined;
|
|
360
|
-
beneficiaries?: string[] | undefined;
|
|
361
|
-
selection?: {
|
|
362
|
-
min?: number | undefined;
|
|
363
|
-
max?: number | undefined;
|
|
364
|
-
} | undefined;
|
|
365
|
-
transaction: {
|
|
366
|
-
currency: "CLP";
|
|
367
|
-
minimum: string;
|
|
368
|
-
maximum: string;
|
|
369
|
-
};
|
|
370
|
-
budget?: {
|
|
371
|
-
amount: string;
|
|
372
|
-
interval: {
|
|
373
|
-
count: number;
|
|
374
|
-
unit: "days" | "months" | "years";
|
|
375
|
-
};
|
|
376
|
-
time_zone: string;
|
|
377
|
-
} | null | undefined;
|
|
378
|
-
account_binding?: {
|
|
379
|
-
key: string;
|
|
380
|
-
name: {
|
|
381
|
-
suggested: string;
|
|
382
|
-
editable: boolean;
|
|
383
|
-
};
|
|
384
|
-
} | undefined;
|
|
385
|
-
}, undefined>, v.CheckAction<{
|
|
386
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
387
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
388
|
-
locations: ["https://api.andco.cl"];
|
|
389
|
-
sources?: string[] | undefined;
|
|
390
|
-
beneficiaries?: string[] | undefined;
|
|
391
|
-
selection?: {
|
|
392
|
-
min?: number | undefined;
|
|
393
|
-
max?: number | undefined;
|
|
394
|
-
} | undefined;
|
|
395
|
-
transaction: {
|
|
396
|
-
currency: "CLP";
|
|
397
|
-
minimum: string;
|
|
398
|
-
maximum: string;
|
|
399
|
-
};
|
|
400
|
-
budget?: {
|
|
401
|
-
amount: string;
|
|
402
|
-
interval: {
|
|
403
|
-
count: number;
|
|
404
|
-
unit: "days" | "months" | "years";
|
|
405
|
-
};
|
|
406
|
-
time_zone: string;
|
|
407
|
-
} | null | undefined;
|
|
408
|
-
account_binding?: {
|
|
409
|
-
key: string;
|
|
410
|
-
name: {
|
|
411
|
-
suggested: string;
|
|
412
|
-
editable: boolean;
|
|
413
|
-
};
|
|
414
|
-
} | undefined;
|
|
415
|
-
}, undefined>, v.CheckAction<{
|
|
416
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
417
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
418
|
-
locations: ["https://api.andco.cl"];
|
|
419
|
-
sources?: string[] | undefined;
|
|
420
|
-
beneficiaries?: string[] | undefined;
|
|
421
|
-
selection?: {
|
|
422
|
-
min?: number | undefined;
|
|
423
|
-
max?: number | undefined;
|
|
424
|
-
} | undefined;
|
|
425
|
-
transaction: {
|
|
426
|
-
currency: "CLP";
|
|
427
|
-
minimum: string;
|
|
428
|
-
maximum: string;
|
|
429
|
-
};
|
|
430
|
-
budget?: {
|
|
431
|
-
amount: string;
|
|
432
|
-
interval: {
|
|
433
|
-
count: number;
|
|
434
|
-
unit: "days" | "months" | "years";
|
|
435
|
-
};
|
|
436
|
-
time_zone: string;
|
|
437
|
-
} | null | undefined;
|
|
438
|
-
account_binding?: {
|
|
439
|
-
key: string;
|
|
440
|
-
name: {
|
|
441
|
-
suggested: string;
|
|
442
|
-
editable: boolean;
|
|
443
|
-
};
|
|
444
|
-
} | undefined;
|
|
445
|
-
}, undefined>]>;
|
|
446
|
-
readonly bindingAccountId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
447
|
-
readonly openingName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
448
|
-
readonly workflowId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
449
|
-
readonly bankStatus: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
-
readonly budgetAnchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
451
|
-
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
452
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
453
|
-
readonly number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
-
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
455
|
-
}, undefined>, undefined>;
|
|
456
|
-
}, undefined>, undefined>;
|
|
457
|
-
readonly companySubject: v.OptionalSchema<v.ObjectSchema<{
|
|
123
|
+
readonly organizationSubject: v.OptionalSchema<v.ObjectSchema<{
|
|
458
124
|
readonly organizationId: v.NumberSchema<undefined>;
|
|
459
125
|
readonly organizationName: v.StringSchema<undefined>;
|
|
460
126
|
}, undefined>, undefined>;
|
|
@@ -468,183 +134,6 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
468
134
|
readonly user: v.ObjectSchema<{
|
|
469
135
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 320, undefined>]>;
|
|
470
136
|
}, undefined>;
|
|
471
|
-
}, undefined>, v.ObjectSchema<{
|
|
472
|
-
readonly status: v.LiteralSchema<"charge_account_preparation_required", undefined>;
|
|
473
|
-
readonly authorizationId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
474
|
-
readonly client: v.ObjectSchema<{
|
|
475
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
476
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
477
|
-
readonly uri: v.StringSchema<undefined>;
|
|
478
|
-
readonly logoUri: v.StringSchema<undefined>;
|
|
479
|
-
}, undefined>;
|
|
480
|
-
readonly charge: v.ObjectSchema<{
|
|
481
|
-
readonly orgId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
482
|
-
readonly companyName: v.StringSchema<undefined>;
|
|
483
|
-
readonly projectId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
484
|
-
readonly projectName: v.StringSchema<undefined>;
|
|
485
|
-
readonly operatorName: v.StringSchema<undefined>;
|
|
486
|
-
readonly request: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
487
|
-
readonly type: v.LiteralSchema<"https://api.andco.cl/authorization-details/automatic-charge", undefined>;
|
|
488
|
-
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["read", "create_deposit_intent", "read_deposit_intents", "create_automatic_charge", "execute_automatic_charge", "read_automatic_charges", "close"], undefined>, undefined>, v.MinLengthAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], 1, undefined>, v.CheckAction<("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[], undefined>]>;
|
|
489
|
-
readonly locations: v.TupleSchema<[v.LiteralSchema<"https://api.andco.cl", undefined>], undefined>;
|
|
490
|
-
readonly sources: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
491
|
-
readonly beneficiaries: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], undefined>]>, undefined>;
|
|
492
|
-
readonly selection: v.OptionalSchema<v.StrictObjectSchema<{
|
|
493
|
-
readonly min: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
494
|
-
readonly max: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, undefined>;
|
|
495
|
-
}, undefined>, undefined>;
|
|
496
|
-
readonly transaction: v.StrictObjectSchema<{
|
|
497
|
-
readonly currency: v.LiteralSchema<"CLP", undefined>;
|
|
498
|
-
readonly minimum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
499
|
-
readonly maximum: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
500
|
-
}, undefined>;
|
|
501
|
-
readonly budget: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
502
|
-
readonly amount: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
503
|
-
readonly interval: v.StrictObjectSchema<{
|
|
504
|
-
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 365, undefined>]>;
|
|
505
|
-
readonly unit: v.PicklistSchema<["days", "months", "years"], undefined>;
|
|
506
|
-
}, undefined>;
|
|
507
|
-
readonly time_zone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, undefined>]>;
|
|
508
|
-
}, undefined>, undefined>, undefined>;
|
|
509
|
-
readonly account_binding: v.OptionalSchema<v.StrictObjectSchema<{
|
|
510
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
511
|
-
readonly name: v.StrictObjectSchema<{
|
|
512
|
-
readonly suggested: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
513
|
-
readonly editable: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
514
|
-
}, undefined>;
|
|
515
|
-
}, undefined>, undefined>;
|
|
516
|
-
}, undefined>, v.CheckAction<{
|
|
517
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
518
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
519
|
-
locations: ["https://api.andco.cl"];
|
|
520
|
-
sources?: string[] | undefined;
|
|
521
|
-
beneficiaries?: string[] | undefined;
|
|
522
|
-
selection?: {
|
|
523
|
-
min?: number | undefined;
|
|
524
|
-
max?: number | undefined;
|
|
525
|
-
} | undefined;
|
|
526
|
-
transaction: {
|
|
527
|
-
currency: "CLP";
|
|
528
|
-
minimum: string;
|
|
529
|
-
maximum: string;
|
|
530
|
-
};
|
|
531
|
-
budget?: {
|
|
532
|
-
amount: string;
|
|
533
|
-
interval: {
|
|
534
|
-
count: number;
|
|
535
|
-
unit: "days" | "months" | "years";
|
|
536
|
-
};
|
|
537
|
-
time_zone: string;
|
|
538
|
-
} | null | undefined;
|
|
539
|
-
account_binding?: {
|
|
540
|
-
key: string;
|
|
541
|
-
name: {
|
|
542
|
-
suggested: string;
|
|
543
|
-
editable: boolean;
|
|
544
|
-
};
|
|
545
|
-
} | undefined;
|
|
546
|
-
}, undefined>, v.CheckAction<{
|
|
547
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
548
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
549
|
-
locations: ["https://api.andco.cl"];
|
|
550
|
-
sources?: string[] | undefined;
|
|
551
|
-
beneficiaries?: string[] | undefined;
|
|
552
|
-
selection?: {
|
|
553
|
-
min?: number | undefined;
|
|
554
|
-
max?: number | undefined;
|
|
555
|
-
} | undefined;
|
|
556
|
-
transaction: {
|
|
557
|
-
currency: "CLP";
|
|
558
|
-
minimum: string;
|
|
559
|
-
maximum: string;
|
|
560
|
-
};
|
|
561
|
-
budget?: {
|
|
562
|
-
amount: string;
|
|
563
|
-
interval: {
|
|
564
|
-
count: number;
|
|
565
|
-
unit: "days" | "months" | "years";
|
|
566
|
-
};
|
|
567
|
-
time_zone: string;
|
|
568
|
-
} | null | undefined;
|
|
569
|
-
account_binding?: {
|
|
570
|
-
key: string;
|
|
571
|
-
name: {
|
|
572
|
-
suggested: string;
|
|
573
|
-
editable: boolean;
|
|
574
|
-
};
|
|
575
|
-
} | undefined;
|
|
576
|
-
}, undefined>, v.CheckAction<{
|
|
577
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
578
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
579
|
-
locations: ["https://api.andco.cl"];
|
|
580
|
-
sources?: string[] | undefined;
|
|
581
|
-
beneficiaries?: string[] | undefined;
|
|
582
|
-
selection?: {
|
|
583
|
-
min?: number | undefined;
|
|
584
|
-
max?: number | undefined;
|
|
585
|
-
} | undefined;
|
|
586
|
-
transaction: {
|
|
587
|
-
currency: "CLP";
|
|
588
|
-
minimum: string;
|
|
589
|
-
maximum: string;
|
|
590
|
-
};
|
|
591
|
-
budget?: {
|
|
592
|
-
amount: string;
|
|
593
|
-
interval: {
|
|
594
|
-
count: number;
|
|
595
|
-
unit: "days" | "months" | "years";
|
|
596
|
-
};
|
|
597
|
-
time_zone: string;
|
|
598
|
-
} | null | undefined;
|
|
599
|
-
account_binding?: {
|
|
600
|
-
key: string;
|
|
601
|
-
name: {
|
|
602
|
-
suggested: string;
|
|
603
|
-
editable: boolean;
|
|
604
|
-
};
|
|
605
|
-
} | undefined;
|
|
606
|
-
}, undefined>, v.CheckAction<{
|
|
607
|
-
type: "https://api.andco.cl/authorization-details/automatic-charge";
|
|
608
|
-
actions: ("read" | "create_deposit_intent" | "read_deposit_intents" | "create_automatic_charge" | "execute_automatic_charge" | "read_automatic_charges" | "close")[];
|
|
609
|
-
locations: ["https://api.andco.cl"];
|
|
610
|
-
sources?: string[] | undefined;
|
|
611
|
-
beneficiaries?: string[] | undefined;
|
|
612
|
-
selection?: {
|
|
613
|
-
min?: number | undefined;
|
|
614
|
-
max?: number | undefined;
|
|
615
|
-
} | undefined;
|
|
616
|
-
transaction: {
|
|
617
|
-
currency: "CLP";
|
|
618
|
-
minimum: string;
|
|
619
|
-
maximum: string;
|
|
620
|
-
};
|
|
621
|
-
budget?: {
|
|
622
|
-
amount: string;
|
|
623
|
-
interval: {
|
|
624
|
-
count: number;
|
|
625
|
-
unit: "days" | "months" | "years";
|
|
626
|
-
};
|
|
627
|
-
time_zone: string;
|
|
628
|
-
} | null | undefined;
|
|
629
|
-
account_binding?: {
|
|
630
|
-
key: string;
|
|
631
|
-
name: {
|
|
632
|
-
suggested: string;
|
|
633
|
-
editable: boolean;
|
|
634
|
-
};
|
|
635
|
-
} | undefined;
|
|
636
|
-
}, undefined>]>;
|
|
637
|
-
readonly bindingAccountId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
638
|
-
readonly openingName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
639
|
-
readonly workflowId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
640
|
-
readonly bankStatus: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
641
|
-
readonly budgetAnchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
642
|
-
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
643
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
644
|
-
readonly number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
645
|
-
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
646
|
-
}, undefined>, undefined>;
|
|
647
|
-
}, undefined>;
|
|
648
137
|
}, undefined>, v.ObjectSchema<{
|
|
649
138
|
readonly status: v.LiteralSchema<"organization_subject_required", undefined>;
|
|
650
139
|
readonly authorizationId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
@@ -680,6 +169,10 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
680
169
|
readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
681
170
|
readonly resourceServerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
682
171
|
readonly resourceServerName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
172
|
+
readonly resourceProjectId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
173
|
+
readonly resourceProjectName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
174
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
175
|
+
readonly resourcePublisherName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
683
176
|
readonly scopeDescription: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
684
177
|
readonly grantedAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
685
178
|
readonly connectionHasPriorGrant: v.BooleanSchema<undefined>;
|
|
@@ -688,12 +181,20 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
688
181
|
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
689
182
|
resourceServerId?: string | undefined;
|
|
690
183
|
resourceServerName?: string | undefined;
|
|
184
|
+
resourceProjectId?: string | undefined;
|
|
185
|
+
resourceProjectName?: string | undefined;
|
|
186
|
+
resourceProjectHomeUri?: string | null | undefined;
|
|
187
|
+
resourcePublisherName?: string | undefined;
|
|
691
188
|
scopeDescription?: string | undefined;
|
|
692
189
|
grantedAt: string | null;
|
|
693
190
|
connectionHasPriorGrant: boolean;
|
|
694
191
|
scope: string;
|
|
695
192
|
mode: "optional" | "default" | "required";
|
|
696
193
|
}[], 50, undefined>]>;
|
|
194
|
+
readonly organizationSubject: v.OptionalSchema<v.ObjectSchema<{
|
|
195
|
+
readonly organizationId: v.NumberSchema<undefined>;
|
|
196
|
+
readonly organizationName: v.StringSchema<undefined>;
|
|
197
|
+
}, undefined>, undefined>;
|
|
697
198
|
readonly user: v.ObjectSchema<{
|
|
698
199
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 320, undefined>]>;
|
|
699
200
|
}, undefined>;
|
|
@@ -710,6 +211,10 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
710
211
|
readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
711
212
|
readonly resourceServerId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
712
213
|
readonly resourceServerName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
214
|
+
readonly resourceProjectId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
215
|
+
readonly resourceProjectName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
216
|
+
readonly resourceProjectHomeUri: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>, undefined>;
|
|
217
|
+
readonly resourcePublisherName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 256, undefined>]>, undefined>;
|
|
713
218
|
readonly scopeDescription: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 1024, undefined>]>, undefined>;
|
|
714
219
|
readonly grantedAt: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
715
220
|
readonly connectionHasPriorGrant: v.BooleanSchema<undefined>;
|
|
@@ -718,6 +223,10 @@ export declare const AndCoAuthorizationPreparationSchema: v.VariantSchema<"statu
|
|
|
718
223
|
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
719
224
|
resourceServerId?: string | undefined;
|
|
720
225
|
resourceServerName?: string | undefined;
|
|
226
|
+
resourceProjectId?: string | undefined;
|
|
227
|
+
resourceProjectName?: string | undefined;
|
|
228
|
+
resourceProjectHomeUri?: string | null | undefined;
|
|
229
|
+
resourcePublisherName?: string | undefined;
|
|
721
230
|
scopeDescription?: string | undefined;
|
|
722
231
|
grantedAt: string | null;
|
|
723
232
|
connectionHasPriorGrant: boolean;
|