@adobe/aio-commerce-lib-app 2.2.0 → 2.3.0-beta-20261202103723
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/CHANGELOG.md +32 -1
- package/dist/cjs/actions/app-config/index.cjs +8 -8
- package/dist/cjs/actions/app-config/index.d.cts +2 -2
- package/dist/cjs/actions/association/index.cjs +4 -4
- package/dist/cjs/actions/config/index.cjs +19 -8
- package/dist/cjs/actions/config/index.d.cts +1 -1
- package/dist/cjs/actions/installation/index.cjs +39 -15
- package/dist/cjs/actions/installation/index.d.cts +3 -3
- package/dist/cjs/actions/scope-tree/index.cjs +6 -6
- package/dist/cjs/{app-B3bAEor-.d.cts → app-CLDvfJXp.d.cts} +634 -44
- package/dist/cjs/commands/index.cjs +174 -33
- package/dist/cjs/config/index.browser.d.cts +1 -1
- package/dist/cjs/config/index.node.cjs +3 -3
- package/dist/cjs/config/index.node.d.cts +50 -14
- package/dist/cjs/{define-eBMdGAq6.d.cts → define-BGpnO45V.d.cts} +1 -1
- package/dist/cjs/{environment-CW6M76gS.cjs → environment-CaV1hi2-.cjs} +1 -1
- package/dist/cjs/{index-BEeludy0.d.cts → index-p0duTbHE.d.cts} +2 -2
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/{index.node-9bfp79rs.cjs → index.node-ECg3DGc8.cjs} +7 -6
- package/dist/cjs/{logging-Emi7P923.cjs → logging-r-r2bUWO.cjs} +1 -1
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +1 -1
- package/dist/cjs/{management-5Et1mEUp.cjs → management-CFQ4hjs6.cjs} +123 -108
- package/dist/cjs/{openapi-DghfuM8S.cjs → openapi-BaKoO7GY.cjs} +177 -26
- package/dist/cjs/{rolldown-runtime-CoOt0iuZ.cjs → rolldown-runtime-BKfnhsn2.cjs} +4 -4
- package/dist/cjs/{schemas-B6ITl1bG.cjs → schemas-B-jCi6Oz.cjs} +1 -1
- package/dist/cjs/{utils-CoR_PBHz.cjs → utils-CuzJBLgo.cjs} +2 -2
- package/dist/cjs/{utils-DSS0XlXq.cjs → utils-bwFwJcPW.cjs} +1 -1
- package/dist/cjs/{validate-BC3rnRLc.cjs → validate-DKMq3KNV.cjs} +13 -5
- package/dist/cjs/{version-5MonNzl5.cjs → version-BYcHBNng.cjs} +3 -3
- package/dist/{es/webhooks-DgaLfP36.d.mts → cjs/webhooks-BCYX3JqY.d.cts} +382 -43
- package/dist/cjs/{webhooks-ZPh2gVb3.cjs → webhooks-Bp1Roq8a.cjs} +70 -23
- package/dist/es/actions/app-config/index.d.mts +2 -2
- package/dist/es/actions/app-config/index.mjs +6 -6
- package/dist/es/actions/association/index.mjs +3 -3
- package/dist/es/actions/config/index.d.mts +2 -2
- package/dist/es/actions/config/index.mjs +19 -8
- package/dist/es/actions/installation/index.d.mts +4 -4
- package/dist/es/actions/installation/index.mjs +38 -14
- package/dist/es/actions/scope-tree/index.mjs +5 -5
- package/dist/es/{app-B3bAEor-.d.mts → app-CLDvfJXp.d.mts} +634 -44
- package/dist/es/commands/index.mjs +170 -29
- package/dist/es/config/index.browser.d.mts +1 -1
- package/dist/es/config/index.node.d.mts +51 -15
- package/dist/es/config/index.node.mjs +3 -3
- package/dist/es/{define-BdXyLAwb.d.mts → define-C-0hOMO3.d.mts} +1 -1
- package/dist/es/{environment-DUhU0_9z.mjs → environment-B1JJFHZw.mjs} +1 -1
- package/dist/es/{index-DE2KVXfH.d.mts → index-DYHaYwvJ.d.mts} +4 -4
- package/dist/es/{index-DUJtT78x.d.mts → index-U7CXicoW.d.mts} +1 -1
- package/dist/es/index.d.mts +2 -2
- package/dist/es/index.mjs +3 -3
- package/dist/es/{index.node-CURztkP5.mjs → index.node-ChWOTWnF.mjs} +5 -4
- package/dist/es/management/index.d.mts +1 -1
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-BAQ64OyR.mjs → management-CNMT6azj.mjs} +128 -113
- package/dist/es/{openapi-BvPVTUMt.mjs → openapi-ChihLuvm.mjs} +177 -26
- package/dist/es/{utils-DB8HaSj0.mjs → utils-Bg_LIAGV.mjs} +2 -2
- package/dist/es/{validate-xS9Dc-4m.mjs → validate-DeAMC-HS.mjs} +7 -5
- package/dist/es/{version-BWgrh_QM.mjs → version-Cj7a9rey.mjs} +1 -1
- package/dist/es/{webhooks-HBe_DEKA.mjs → webhooks-CyiUfRNG.mjs} +67 -20
- package/dist/{cjs/webhooks-DNLuuv9_.d.cts → es/webhooks-DyMAQMnm.d.mts} +382 -43
- package/package.json +14 -15
|
@@ -51,7 +51,48 @@ declare const CommerceAppConfigSchemas: {
|
|
|
51
51
|
id: string;
|
|
52
52
|
label: string;
|
|
53
53
|
}[], "Custom ACL resource ids must stay unique after Commerce derivation: a top-level resource id must not equal a group's \"<group>_<child>\" combination.">]>, undefined>;
|
|
54
|
-
readonly creditMemo: v.OptionalSchema<v.ObjectSchema<{
|
|
54
|
+
readonly creditMemo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
55
|
+
readonly customAttributeGridColumns: v.OptionalSchema<v.StrictObjectSchema<{
|
|
56
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
57
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
58
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
59
|
+
readonly attribute_code: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "Custom attribute codes must not exceed 255 characters">, v.CheckAction<string, "Custom attribute codes may contain only ASCII letters, digits, and \"_\"">]>;
|
|
60
|
+
readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
61
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
62
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
63
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
64
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
65
|
+
}, undefined>], undefined>, undefined>;
|
|
66
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column IDs must not be blank">]>;
|
|
67
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column labels must not be blank">]>;
|
|
68
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
69
|
+
aclProtected?: boolean | undefined;
|
|
70
|
+
align: "left" | "right" | "center";
|
|
71
|
+
attribute_code: string;
|
|
72
|
+
filter?: {
|
|
73
|
+
type: "boolean";
|
|
74
|
+
} | {
|
|
75
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
76
|
+
type: "text";
|
|
77
|
+
} | undefined;
|
|
78
|
+
id: string;
|
|
79
|
+
label: string;
|
|
80
|
+
}[], 1, "At least one custom-attribute grid column is required">, v.CheckAction<{
|
|
81
|
+
aclProtected?: boolean | undefined;
|
|
82
|
+
align: "left" | "right" | "center";
|
|
83
|
+
attribute_code: string;
|
|
84
|
+
filter?: {
|
|
85
|
+
type: "boolean";
|
|
86
|
+
} | {
|
|
87
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
88
|
+
type: "text";
|
|
89
|
+
} | undefined;
|
|
90
|
+
id: string;
|
|
91
|
+
label: string;
|
|
92
|
+
}[], "Grid column ids must be unique after Commerce id sanitization.">]>;
|
|
93
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
94
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
95
|
+
}, undefined>, undefined>;
|
|
55
96
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
56
97
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
57
98
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -92,9 +133,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
92
133
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
93
134
|
}, undefined>, undefined>;
|
|
94
135
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
95
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
96
136
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
97
137
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
138
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
139
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
98
140
|
}, undefined>, v.StrictObjectSchema<{
|
|
99
141
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
100
142
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -129,9 +171,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
129
171
|
success?: string | undefined;
|
|
130
172
|
} | undefined;
|
|
131
173
|
path: string;
|
|
132
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
133
174
|
sortOrder?: number | undefined;
|
|
134
175
|
type: "view";
|
|
176
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
177
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
135
178
|
} | {
|
|
136
179
|
aclProtected?: boolean | undefined;
|
|
137
180
|
confirm?: {
|
|
@@ -151,7 +194,214 @@ declare const CommerceAppConfigSchemas: {
|
|
|
151
194
|
timeout?: number | undefined;
|
|
152
195
|
type: "worker";
|
|
153
196
|
})[], "Credit memo view button ids must be unique after Commerce id sanitization.">]>, undefined>;
|
|
154
|
-
}, undefined>,
|
|
197
|
+
}, undefined>, v.BaseValidation<{
|
|
198
|
+
customAttributeGridColumns?: {
|
|
199
|
+
columns: {
|
|
200
|
+
aclProtected?: boolean | undefined;
|
|
201
|
+
align: "left" | "right" | "center";
|
|
202
|
+
attribute_code: string;
|
|
203
|
+
filter?: {
|
|
204
|
+
type: "boolean";
|
|
205
|
+
} | {
|
|
206
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
207
|
+
type: "text";
|
|
208
|
+
} | undefined;
|
|
209
|
+
id: string;
|
|
210
|
+
label: string;
|
|
211
|
+
}[];
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
label?: string | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
gridColumns?: {
|
|
216
|
+
columns: {
|
|
217
|
+
aclProtected?: boolean | undefined;
|
|
218
|
+
align: "left" | "right" | "center";
|
|
219
|
+
id: string;
|
|
220
|
+
label: string;
|
|
221
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
222
|
+
}[];
|
|
223
|
+
description: string;
|
|
224
|
+
label: string;
|
|
225
|
+
runtimeAction: string;
|
|
226
|
+
} | undefined;
|
|
227
|
+
viewButtons?: ({
|
|
228
|
+
title?: string | undefined;
|
|
229
|
+
aclProtected?: boolean | undefined;
|
|
230
|
+
confirm?: {
|
|
231
|
+
message?: string | undefined;
|
|
232
|
+
title?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
description?: string | undefined;
|
|
235
|
+
id: string;
|
|
236
|
+
label: string;
|
|
237
|
+
level?: 0 | 1 | -1 | undefined;
|
|
238
|
+
notifications?: {
|
|
239
|
+
error?: string | undefined;
|
|
240
|
+
success?: string | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
path: string;
|
|
243
|
+
sortOrder?: number | undefined;
|
|
244
|
+
type: "view";
|
|
245
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
246
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
247
|
+
} | {
|
|
248
|
+
aclProtected?: boolean | undefined;
|
|
249
|
+
confirm?: {
|
|
250
|
+
message?: string | undefined;
|
|
251
|
+
title?: string | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
id: string;
|
|
255
|
+
label: string;
|
|
256
|
+
level?: 0 | 1 | -1 | undefined;
|
|
257
|
+
notifications?: {
|
|
258
|
+
error?: string | undefined;
|
|
259
|
+
success?: string | undefined;
|
|
260
|
+
} | undefined;
|
|
261
|
+
runtimeAction: string;
|
|
262
|
+
sortOrder?: number | undefined;
|
|
263
|
+
timeout?: number | undefined;
|
|
264
|
+
type: "worker";
|
|
265
|
+
})[] | undefined;
|
|
266
|
+
}, {
|
|
267
|
+
customAttributeGridColumns?: {
|
|
268
|
+
columns: {
|
|
269
|
+
aclProtected?: boolean | undefined;
|
|
270
|
+
align: "left" | "right" | "center";
|
|
271
|
+
attribute_code: string;
|
|
272
|
+
filter?: {
|
|
273
|
+
type: "boolean";
|
|
274
|
+
} | {
|
|
275
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
276
|
+
type: "text";
|
|
277
|
+
} | undefined;
|
|
278
|
+
id: string;
|
|
279
|
+
label: string;
|
|
280
|
+
}[];
|
|
281
|
+
description?: string | undefined;
|
|
282
|
+
label?: string | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
gridColumns?: {
|
|
285
|
+
columns: {
|
|
286
|
+
aclProtected?: boolean | undefined;
|
|
287
|
+
align: "left" | "right" | "center";
|
|
288
|
+
id: string;
|
|
289
|
+
label: string;
|
|
290
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
291
|
+
}[];
|
|
292
|
+
description: string;
|
|
293
|
+
label: string;
|
|
294
|
+
runtimeAction: string;
|
|
295
|
+
} | undefined;
|
|
296
|
+
viewButtons?: ({
|
|
297
|
+
title?: string | undefined;
|
|
298
|
+
aclProtected?: boolean | undefined;
|
|
299
|
+
confirm?: {
|
|
300
|
+
message?: string | undefined;
|
|
301
|
+
title?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
description?: string | undefined;
|
|
304
|
+
id: string;
|
|
305
|
+
label: string;
|
|
306
|
+
level?: 0 | 1 | -1 | undefined;
|
|
307
|
+
notifications?: {
|
|
308
|
+
error?: string | undefined;
|
|
309
|
+
success?: string | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
path: string;
|
|
312
|
+
sortOrder?: number | undefined;
|
|
313
|
+
type: "view";
|
|
314
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
315
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
aclProtected?: boolean | undefined;
|
|
318
|
+
confirm?: {
|
|
319
|
+
message?: string | undefined;
|
|
320
|
+
title?: string | undefined;
|
|
321
|
+
} | undefined;
|
|
322
|
+
description?: string | undefined;
|
|
323
|
+
id: string;
|
|
324
|
+
label: string;
|
|
325
|
+
level?: 0 | 1 | -1 | undefined;
|
|
326
|
+
notifications?: {
|
|
327
|
+
error?: string | undefined;
|
|
328
|
+
success?: string | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
runtimeAction: string;
|
|
331
|
+
sortOrder?: number | undefined;
|
|
332
|
+
timeout?: number | undefined;
|
|
333
|
+
type: "worker";
|
|
334
|
+
})[] | undefined;
|
|
335
|
+
}, v.CheckIssue<{
|
|
336
|
+
customAttributeGridColumns?: {
|
|
337
|
+
columns: {
|
|
338
|
+
aclProtected?: boolean | undefined;
|
|
339
|
+
align: "left" | "right" | "center";
|
|
340
|
+
attribute_code: string;
|
|
341
|
+
filter?: {
|
|
342
|
+
type: "boolean";
|
|
343
|
+
} | {
|
|
344
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
345
|
+
type: "text";
|
|
346
|
+
} | undefined;
|
|
347
|
+
id: string;
|
|
348
|
+
label: string;
|
|
349
|
+
}[];
|
|
350
|
+
description?: string | undefined;
|
|
351
|
+
label?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
gridColumns?: {
|
|
354
|
+
columns: {
|
|
355
|
+
aclProtected?: boolean | undefined;
|
|
356
|
+
align: "left" | "right" | "center";
|
|
357
|
+
id: string;
|
|
358
|
+
label: string;
|
|
359
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
360
|
+
}[];
|
|
361
|
+
description: string;
|
|
362
|
+
label: string;
|
|
363
|
+
runtimeAction: string;
|
|
364
|
+
} | undefined;
|
|
365
|
+
viewButtons?: ({
|
|
366
|
+
title?: string | undefined;
|
|
367
|
+
aclProtected?: boolean | undefined;
|
|
368
|
+
confirm?: {
|
|
369
|
+
message?: string | undefined;
|
|
370
|
+
title?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
id: string;
|
|
374
|
+
label: string;
|
|
375
|
+
level?: 0 | 1 | -1 | undefined;
|
|
376
|
+
notifications?: {
|
|
377
|
+
error?: string | undefined;
|
|
378
|
+
success?: string | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
path: string;
|
|
381
|
+
sortOrder?: number | undefined;
|
|
382
|
+
type: "view";
|
|
383
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
384
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
385
|
+
} | {
|
|
386
|
+
aclProtected?: boolean | undefined;
|
|
387
|
+
confirm?: {
|
|
388
|
+
message?: string | undefined;
|
|
389
|
+
title?: string | undefined;
|
|
390
|
+
} | undefined;
|
|
391
|
+
description?: string | undefined;
|
|
392
|
+
id: string;
|
|
393
|
+
label: string;
|
|
394
|
+
level?: 0 | 1 | -1 | undefined;
|
|
395
|
+
notifications?: {
|
|
396
|
+
error?: string | undefined;
|
|
397
|
+
success?: string | undefined;
|
|
398
|
+
} | undefined;
|
|
399
|
+
runtimeAction: string;
|
|
400
|
+
sortOrder?: number | undefined;
|
|
401
|
+
timeout?: number | undefined;
|
|
402
|
+
type: "worker";
|
|
403
|
+
})[] | undefined;
|
|
404
|
+
}>>]>, undefined>;
|
|
155
405
|
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
156
406
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
157
407
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -179,8 +429,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
179
429
|
}, undefined>, undefined>;
|
|
180
430
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
181
431
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
182
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
183
432
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
433
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
434
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
184
435
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
185
436
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
186
437
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -215,8 +466,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
215
466
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
216
467
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
217
468
|
path: string;
|
|
218
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
219
469
|
type: "view";
|
|
470
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
471
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
220
472
|
aclProtected?: boolean | undefined;
|
|
221
473
|
confirm?: {
|
|
222
474
|
message?: string | undefined;
|
|
@@ -292,9 +544,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
292
544
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
293
545
|
}, undefined>, undefined>;
|
|
294
546
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
295
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
296
547
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
297
548
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
549
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
550
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
298
551
|
}, undefined>, v.StrictObjectSchema<{
|
|
299
552
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
300
553
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -329,9 +582,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
329
582
|
success?: string | undefined;
|
|
330
583
|
} | undefined;
|
|
331
584
|
path: string;
|
|
332
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
333
585
|
sortOrder?: number | undefined;
|
|
334
586
|
type: "view";
|
|
587
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
588
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
335
589
|
} | {
|
|
336
590
|
aclProtected?: boolean | undefined;
|
|
337
591
|
confirm?: {
|
|
@@ -359,19 +613,22 @@ declare const CommerceAppConfigSchemas: {
|
|
|
359
613
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
360
614
|
readonly pageTitle: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
361
615
|
readonly parentMenu: v.OptionalSchema<v.PicklistSchema<readonly ["sales", "catalog", "customers", "marketing", "content", "reports", "stores", "system"], "parentMenu must be a known Commerce Admin menu ID">, undefined>;
|
|
362
|
-
readonly
|
|
616
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
617
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
363
618
|
}, undefined>, undefined>;
|
|
364
619
|
readonly nativeUi: v.OptionalSchema<v.ObjectSchema<{
|
|
365
620
|
readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
366
621
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
367
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
368
622
|
readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
|
|
369
623
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
624
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
625
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
370
626
|
}, undefined>, undefined>, v.CheckAction<{
|
|
371
627
|
path: string;
|
|
372
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
373
628
|
target: "order.create" | "return.create";
|
|
374
629
|
title: string;
|
|
630
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
631
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
375
632
|
}[], "Native UI replaced page targets must be unique.">]>;
|
|
376
633
|
}, undefined>, undefined>;
|
|
377
634
|
readonly newsletter: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -427,8 +684,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
427
684
|
}, undefined>, undefined>;
|
|
428
685
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
429
686
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
430
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
431
687
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
688
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
689
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
432
690
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
433
691
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
434
692
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -463,8 +721,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
463
721
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
464
722
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
465
723
|
path: string;
|
|
466
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
467
724
|
type: "view";
|
|
725
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
726
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
468
727
|
aclProtected?: boolean | undefined;
|
|
469
728
|
confirm?: {
|
|
470
729
|
message?: string | undefined;
|
|
@@ -513,9 +772,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
513
772
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
514
773
|
}, undefined>, undefined>;
|
|
515
774
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
516
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
517
775
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
518
776
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
777
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
778
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
519
779
|
}, undefined>, v.StrictObjectSchema<{
|
|
520
780
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
521
781
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -549,9 +809,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
549
809
|
success?: string | undefined;
|
|
550
810
|
} | undefined;
|
|
551
811
|
path: string;
|
|
552
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
553
812
|
sortOrder?: number | undefined;
|
|
554
813
|
type: "view";
|
|
814
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
815
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
555
816
|
} | {
|
|
556
817
|
aclProtected?: boolean | undefined;
|
|
557
818
|
confirm?: {
|
|
@@ -599,8 +860,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
599
860
|
}, undefined>, undefined>;
|
|
600
861
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
601
862
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
602
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
603
863
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
864
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
865
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
604
866
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
605
867
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
606
868
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -635,8 +897,9 @@ declare const CommerceAppConfigSchemas: {
|
|
|
635
897
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
636
898
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
637
899
|
path: string;
|
|
638
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
639
900
|
type: "view";
|
|
901
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
902
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
640
903
|
aclProtected?: boolean | undefined;
|
|
641
904
|
confirm?: {
|
|
642
905
|
message?: string | undefined;
|
|
@@ -688,9 +951,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
688
951
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
689
952
|
}, undefined>, undefined>;
|
|
690
953
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
691
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
692
954
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
693
955
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
956
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
957
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
694
958
|
}, undefined>, v.StrictObjectSchema<{
|
|
695
959
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
696
960
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -725,9 +989,10 @@ declare const CommerceAppConfigSchemas: {
|
|
|
725
989
|
success?: string | undefined;
|
|
726
990
|
} | undefined;
|
|
727
991
|
path: string;
|
|
728
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
729
992
|
sortOrder?: number | undefined;
|
|
730
993
|
type: "view";
|
|
994
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
995
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
731
996
|
} | {
|
|
732
997
|
aclProtected?: boolean | undefined;
|
|
733
998
|
confirm?: {
|
|
@@ -788,6 +1053,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
788
1053
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
789
1054
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
790
1055
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1056
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
791
1057
|
}, undefined>, v.ObjectSchema<{
|
|
792
1058
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
793
1059
|
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
@@ -800,6 +1066,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
800
1066
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
801
1067
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
802
1068
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1069
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
803
1070
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
804
1071
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
805
1072
|
label: string;
|
|
@@ -818,6 +1085,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
818
1085
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
819
1086
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
820
1087
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1088
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
821
1089
|
}, undefined>, v.ObjectSchema<{
|
|
822
1090
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
823
1091
|
label: string;
|
|
@@ -836,6 +1104,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
836
1104
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
837
1105
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
838
1106
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1107
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
839
1108
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
840
1109
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
841
1110
|
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
@@ -843,6 +1112,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
843
1112
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
844
1113
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
845
1114
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1115
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
846
1116
|
}, undefined>, v.ObjectSchema<{
|
|
847
1117
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
848
1118
|
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
@@ -850,6 +1120,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
850
1120
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
851
1121
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
852
1122
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1123
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
853
1124
|
}, undefined>, v.ObjectSchema<{
|
|
854
1125
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
855
1126
|
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
@@ -857,6 +1128,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
857
1128
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
858
1129
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
859
1130
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1131
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
860
1132
|
}, undefined>, v.ObjectSchema<{
|
|
861
1133
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
862
1134
|
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
@@ -864,6 +1136,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
864
1136
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
865
1137
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
866
1138
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1139
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
867
1140
|
}, undefined>, v.ObjectSchema<{
|
|
868
1141
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
869
1142
|
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
@@ -871,6 +1144,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
871
1144
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
872
1145
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
873
1146
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1147
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
874
1148
|
}, undefined>, v.ObjectSchema<{
|
|
875
1149
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
876
1150
|
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
@@ -878,6 +1152,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
878
1152
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
879
1153
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
880
1154
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1155
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
881
1156
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
882
1157
|
default: string;
|
|
883
1158
|
selectionMode: "single";
|
|
@@ -890,6 +1165,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
890
1165
|
env?: ("paas" | "saas")[] | undefined;
|
|
891
1166
|
label?: string | undefined;
|
|
892
1167
|
name: string;
|
|
1168
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
893
1169
|
} | {
|
|
894
1170
|
default: string[];
|
|
895
1171
|
selectionMode: "multiple";
|
|
@@ -902,6 +1178,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
902
1178
|
env?: ("paas" | "saas")[] | undefined;
|
|
903
1179
|
label?: string | undefined;
|
|
904
1180
|
name: string;
|
|
1181
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
905
1182
|
} | {
|
|
906
1183
|
default: (resolvedOptions: {
|
|
907
1184
|
label: string;
|
|
@@ -920,6 +1197,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
920
1197
|
env?: ("paas" | "saas")[] | undefined;
|
|
921
1198
|
label?: string | undefined;
|
|
922
1199
|
name: string;
|
|
1200
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
923
1201
|
} | {
|
|
924
1202
|
default?: ((resolvedOptions: {
|
|
925
1203
|
label: string;
|
|
@@ -938,6 +1216,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
938
1216
|
env?: ("paas" | "saas")[] | undefined;
|
|
939
1217
|
label?: string | undefined;
|
|
940
1218
|
name: string;
|
|
1219
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
941
1220
|
} | {
|
|
942
1221
|
default: string;
|
|
943
1222
|
type: "text";
|
|
@@ -945,6 +1224,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
945
1224
|
env?: ("paas" | "saas")[] | undefined;
|
|
946
1225
|
label?: string | undefined;
|
|
947
1226
|
name: string;
|
|
1227
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
948
1228
|
} | {
|
|
949
1229
|
default: "";
|
|
950
1230
|
type: "password";
|
|
@@ -952,6 +1232,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
952
1232
|
env?: ("paas" | "saas")[] | undefined;
|
|
953
1233
|
label?: string | undefined;
|
|
954
1234
|
name: string;
|
|
1235
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
955
1236
|
} | {
|
|
956
1237
|
default: string;
|
|
957
1238
|
type: "email";
|
|
@@ -959,6 +1240,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
959
1240
|
env?: ("paas" | "saas")[] | undefined;
|
|
960
1241
|
label?: string | undefined;
|
|
961
1242
|
name: string;
|
|
1243
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
962
1244
|
} | {
|
|
963
1245
|
default: string;
|
|
964
1246
|
type: "url";
|
|
@@ -966,6 +1248,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
966
1248
|
env?: ("paas" | "saas")[] | undefined;
|
|
967
1249
|
label?: string | undefined;
|
|
968
1250
|
name: string;
|
|
1251
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
969
1252
|
} | {
|
|
970
1253
|
default: string;
|
|
971
1254
|
type: "tel";
|
|
@@ -973,6 +1256,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
973
1256
|
env?: ("paas" | "saas")[] | undefined;
|
|
974
1257
|
label?: string | undefined;
|
|
975
1258
|
name: string;
|
|
1259
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
976
1260
|
} | {
|
|
977
1261
|
default: boolean;
|
|
978
1262
|
type: "boolean";
|
|
@@ -980,6 +1264,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
980
1264
|
env?: ("paas" | "saas")[] | undefined;
|
|
981
1265
|
label?: string | undefined;
|
|
982
1266
|
name: string;
|
|
1267
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
983
1268
|
})[], 1, "At least one configuration parameter is required">]>, readonly []>;
|
|
984
1269
|
}, undefined>;
|
|
985
1270
|
readonly "businessConfig.schema": v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
@@ -994,6 +1279,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
994
1279
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
995
1280
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
996
1281
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1282
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
997
1283
|
}, undefined>, v.ObjectSchema<{
|
|
998
1284
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
999
1285
|
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
@@ -1006,6 +1292,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1006
1292
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1007
1293
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1008
1294
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1295
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1009
1296
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
1010
1297
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
1011
1298
|
label: string;
|
|
@@ -1024,6 +1311,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1024
1311
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1025
1312
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1026
1313
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1314
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1027
1315
|
}, undefined>, v.ObjectSchema<{
|
|
1028
1316
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
1029
1317
|
label: string;
|
|
@@ -1042,6 +1330,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1042
1330
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1043
1331
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1044
1332
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1333
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1045
1334
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1046
1335
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
1047
1336
|
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
@@ -1049,6 +1338,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1049
1338
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1050
1339
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1051
1340
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1341
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1052
1342
|
}, undefined>, v.ObjectSchema<{
|
|
1053
1343
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
1054
1344
|
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
@@ -1056,6 +1346,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1056
1346
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1057
1347
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1058
1348
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1349
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1059
1350
|
}, undefined>, v.ObjectSchema<{
|
|
1060
1351
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
1061
1352
|
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
@@ -1063,6 +1354,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1063
1354
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1064
1355
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1065
1356
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1357
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1066
1358
|
}, undefined>, v.ObjectSchema<{
|
|
1067
1359
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
1068
1360
|
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
@@ -1070,6 +1362,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1070
1362
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1071
1363
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1072
1364
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1365
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1073
1366
|
}, undefined>, v.ObjectSchema<{
|
|
1074
1367
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
1075
1368
|
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
@@ -1077,6 +1370,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1077
1370
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1078
1371
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1079
1372
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1373
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1080
1374
|
}, undefined>, v.ObjectSchema<{
|
|
1081
1375
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
1082
1376
|
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
@@ -1084,6 +1378,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1084
1378
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1085
1379
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1086
1380
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1381
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
1087
1382
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
1088
1383
|
default: string;
|
|
1089
1384
|
selectionMode: "single";
|
|
@@ -1096,6 +1391,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1096
1391
|
env?: ("paas" | "saas")[] | undefined;
|
|
1097
1392
|
label?: string | undefined;
|
|
1098
1393
|
name: string;
|
|
1394
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1099
1395
|
} | {
|
|
1100
1396
|
default: string[];
|
|
1101
1397
|
selectionMode: "multiple";
|
|
@@ -1108,6 +1404,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1108
1404
|
env?: ("paas" | "saas")[] | undefined;
|
|
1109
1405
|
label?: string | undefined;
|
|
1110
1406
|
name: string;
|
|
1407
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1111
1408
|
} | {
|
|
1112
1409
|
default: (resolvedOptions: {
|
|
1113
1410
|
label: string;
|
|
@@ -1126,6 +1423,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1126
1423
|
env?: ("paas" | "saas")[] | undefined;
|
|
1127
1424
|
label?: string | undefined;
|
|
1128
1425
|
name: string;
|
|
1426
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1129
1427
|
} | {
|
|
1130
1428
|
default?: ((resolvedOptions: {
|
|
1131
1429
|
label: string;
|
|
@@ -1144,6 +1442,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1144
1442
|
env?: ("paas" | "saas")[] | undefined;
|
|
1145
1443
|
label?: string | undefined;
|
|
1146
1444
|
name: string;
|
|
1445
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1147
1446
|
} | {
|
|
1148
1447
|
default: string;
|
|
1149
1448
|
type: "text";
|
|
@@ -1151,6 +1450,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1151
1450
|
env?: ("paas" | "saas")[] | undefined;
|
|
1152
1451
|
label?: string | undefined;
|
|
1153
1452
|
name: string;
|
|
1453
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1154
1454
|
} | {
|
|
1155
1455
|
default: "";
|
|
1156
1456
|
type: "password";
|
|
@@ -1158,6 +1458,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1158
1458
|
env?: ("paas" | "saas")[] | undefined;
|
|
1159
1459
|
label?: string | undefined;
|
|
1160
1460
|
name: string;
|
|
1461
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1161
1462
|
} | {
|
|
1162
1463
|
default: string;
|
|
1163
1464
|
type: "email";
|
|
@@ -1165,6 +1466,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1165
1466
|
env?: ("paas" | "saas")[] | undefined;
|
|
1166
1467
|
label?: string | undefined;
|
|
1167
1468
|
name: string;
|
|
1469
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1168
1470
|
} | {
|
|
1169
1471
|
default: string;
|
|
1170
1472
|
type: "url";
|
|
@@ -1172,6 +1474,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1172
1474
|
env?: ("paas" | "saas")[] | undefined;
|
|
1173
1475
|
label?: string | undefined;
|
|
1174
1476
|
name: string;
|
|
1477
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1175
1478
|
} | {
|
|
1176
1479
|
default: string;
|
|
1177
1480
|
type: "tel";
|
|
@@ -1179,6 +1482,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1179
1482
|
env?: ("paas" | "saas")[] | undefined;
|
|
1180
1483
|
label?: string | undefined;
|
|
1181
1484
|
name: string;
|
|
1485
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1182
1486
|
} | {
|
|
1183
1487
|
default: boolean;
|
|
1184
1488
|
type: "boolean";
|
|
@@ -1186,6 +1490,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1186
1490
|
env?: ("paas" | "saas")[] | undefined;
|
|
1187
1491
|
label?: string | undefined;
|
|
1188
1492
|
name: string;
|
|
1493
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
1189
1494
|
})[], 1, "At least one configuration parameter is required">]>;
|
|
1190
1495
|
readonly eventing: v.ObjectSchema<{
|
|
1191
1496
|
readonly commerce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1492,7 +1797,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1492
1797
|
}, undefined>;
|
|
1493
1798
|
readonly webhooks: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1494
1799
|
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1495
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1800
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>;
|
|
1496
1801
|
readonly webhook: v.ObjectSchema<{
|
|
1497
1802
|
readonly batch_name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "batch_name must contain only letters, numbers, and underscores">]>;
|
|
1498
1803
|
readonly batch_order: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
@@ -1573,7 +1878,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1573
1878
|
value: string;
|
|
1574
1879
|
}[] | undefined;
|
|
1575
1880
|
hook_name: string;
|
|
1576
|
-
method: "
|
|
1881
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
1577
1882
|
priority?: number | undefined;
|
|
1578
1883
|
required?: boolean | undefined;
|
|
1579
1884
|
rules?: {
|
|
@@ -1606,7 +1911,7 @@ declare const CommerceAppConfigSchemas: {
|
|
|
1606
1911
|
value: string;
|
|
1607
1912
|
}[] | undefined;
|
|
1608
1913
|
hook_name: string;
|
|
1609
|
-
method: "
|
|
1914
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
1610
1915
|
priority?: number | undefined;
|
|
1611
1916
|
required?: boolean | undefined;
|
|
1612
1917
|
rules?: {
|
|
@@ -1677,7 +1982,48 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1677
1982
|
id: string;
|
|
1678
1983
|
label: string;
|
|
1679
1984
|
}[], "Custom ACL resource ids must stay unique after Commerce derivation: a top-level resource id must not equal a group's \"<group>_<child>\" combination.">]>, undefined>;
|
|
1680
|
-
readonly creditMemo: v.OptionalSchema<v.ObjectSchema<{
|
|
1985
|
+
readonly creditMemo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1986
|
+
readonly customAttributeGridColumns: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1987
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1988
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1989
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1990
|
+
readonly attribute_code: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "Custom attribute codes must not exceed 255 characters">, v.CheckAction<string, "Custom attribute codes may contain only ASCII letters, digits, and \"_\"">]>;
|
|
1991
|
+
readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1992
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
1993
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1994
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
1995
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
1996
|
+
}, undefined>], undefined>, undefined>;
|
|
1997
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column IDs must not be blank">]>;
|
|
1998
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column labels must not be blank">]>;
|
|
1999
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
2000
|
+
aclProtected?: boolean | undefined;
|
|
2001
|
+
align: "left" | "right" | "center";
|
|
2002
|
+
attribute_code: string;
|
|
2003
|
+
filter?: {
|
|
2004
|
+
type: "boolean";
|
|
2005
|
+
} | {
|
|
2006
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
2007
|
+
type: "text";
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
id: string;
|
|
2010
|
+
label: string;
|
|
2011
|
+
}[], 1, "At least one custom-attribute grid column is required">, v.CheckAction<{
|
|
2012
|
+
aclProtected?: boolean | undefined;
|
|
2013
|
+
align: "left" | "right" | "center";
|
|
2014
|
+
attribute_code: string;
|
|
2015
|
+
filter?: {
|
|
2016
|
+
type: "boolean";
|
|
2017
|
+
} | {
|
|
2018
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
2019
|
+
type: "text";
|
|
2020
|
+
} | undefined;
|
|
2021
|
+
id: string;
|
|
2022
|
+
label: string;
|
|
2023
|
+
}[], "Grid column ids must be unique after Commerce id sanitization.">]>;
|
|
2024
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2025
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2026
|
+
}, undefined>, undefined>;
|
|
1681
2027
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1682
2028
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1683
2029
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -1718,9 +2064,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1718
2064
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
1719
2065
|
}, undefined>, undefined>;
|
|
1720
2066
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1721
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
1722
2067
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
1723
2068
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2069
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2070
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1724
2071
|
}, undefined>, v.StrictObjectSchema<{
|
|
1725
2072
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1726
2073
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1755,9 +2102,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1755
2102
|
success?: string | undefined;
|
|
1756
2103
|
} | undefined;
|
|
1757
2104
|
path: string;
|
|
1758
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1759
2105
|
sortOrder?: number | undefined;
|
|
1760
2106
|
type: "view";
|
|
2107
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2108
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1761
2109
|
} | {
|
|
1762
2110
|
aclProtected?: boolean | undefined;
|
|
1763
2111
|
confirm?: {
|
|
@@ -1777,7 +2125,214 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1777
2125
|
timeout?: number | undefined;
|
|
1778
2126
|
type: "worker";
|
|
1779
2127
|
})[], "Credit memo view button ids must be unique after Commerce id sanitization.">]>, undefined>;
|
|
1780
|
-
}, undefined>,
|
|
2128
|
+
}, undefined>, v.BaseValidation<{
|
|
2129
|
+
customAttributeGridColumns?: {
|
|
2130
|
+
columns: {
|
|
2131
|
+
aclProtected?: boolean | undefined;
|
|
2132
|
+
align: "left" | "right" | "center";
|
|
2133
|
+
attribute_code: string;
|
|
2134
|
+
filter?: {
|
|
2135
|
+
type: "boolean";
|
|
2136
|
+
} | {
|
|
2137
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
2138
|
+
type: "text";
|
|
2139
|
+
} | undefined;
|
|
2140
|
+
id: string;
|
|
2141
|
+
label: string;
|
|
2142
|
+
}[];
|
|
2143
|
+
description?: string | undefined;
|
|
2144
|
+
label?: string | undefined;
|
|
2145
|
+
} | undefined;
|
|
2146
|
+
gridColumns?: {
|
|
2147
|
+
columns: {
|
|
2148
|
+
aclProtected?: boolean | undefined;
|
|
2149
|
+
align: "left" | "right" | "center";
|
|
2150
|
+
id: string;
|
|
2151
|
+
label: string;
|
|
2152
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
2153
|
+
}[];
|
|
2154
|
+
description: string;
|
|
2155
|
+
label: string;
|
|
2156
|
+
runtimeAction: string;
|
|
2157
|
+
} | undefined;
|
|
2158
|
+
viewButtons?: ({
|
|
2159
|
+
title?: string | undefined;
|
|
2160
|
+
aclProtected?: boolean | undefined;
|
|
2161
|
+
confirm?: {
|
|
2162
|
+
message?: string | undefined;
|
|
2163
|
+
title?: string | undefined;
|
|
2164
|
+
} | undefined;
|
|
2165
|
+
description?: string | undefined;
|
|
2166
|
+
id: string;
|
|
2167
|
+
label: string;
|
|
2168
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2169
|
+
notifications?: {
|
|
2170
|
+
error?: string | undefined;
|
|
2171
|
+
success?: string | undefined;
|
|
2172
|
+
} | undefined;
|
|
2173
|
+
path: string;
|
|
2174
|
+
sortOrder?: number | undefined;
|
|
2175
|
+
type: "view";
|
|
2176
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2177
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2178
|
+
} | {
|
|
2179
|
+
aclProtected?: boolean | undefined;
|
|
2180
|
+
confirm?: {
|
|
2181
|
+
message?: string | undefined;
|
|
2182
|
+
title?: string | undefined;
|
|
2183
|
+
} | undefined;
|
|
2184
|
+
description?: string | undefined;
|
|
2185
|
+
id: string;
|
|
2186
|
+
label: string;
|
|
2187
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2188
|
+
notifications?: {
|
|
2189
|
+
error?: string | undefined;
|
|
2190
|
+
success?: string | undefined;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
runtimeAction: string;
|
|
2193
|
+
sortOrder?: number | undefined;
|
|
2194
|
+
timeout?: number | undefined;
|
|
2195
|
+
type: "worker";
|
|
2196
|
+
})[] | undefined;
|
|
2197
|
+
}, {
|
|
2198
|
+
customAttributeGridColumns?: {
|
|
2199
|
+
columns: {
|
|
2200
|
+
aclProtected?: boolean | undefined;
|
|
2201
|
+
align: "left" | "right" | "center";
|
|
2202
|
+
attribute_code: string;
|
|
2203
|
+
filter?: {
|
|
2204
|
+
type: "boolean";
|
|
2205
|
+
} | {
|
|
2206
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
2207
|
+
type: "text";
|
|
2208
|
+
} | undefined;
|
|
2209
|
+
id: string;
|
|
2210
|
+
label: string;
|
|
2211
|
+
}[];
|
|
2212
|
+
description?: string | undefined;
|
|
2213
|
+
label?: string | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
gridColumns?: {
|
|
2216
|
+
columns: {
|
|
2217
|
+
aclProtected?: boolean | undefined;
|
|
2218
|
+
align: "left" | "right" | "center";
|
|
2219
|
+
id: string;
|
|
2220
|
+
label: string;
|
|
2221
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
2222
|
+
}[];
|
|
2223
|
+
description: string;
|
|
2224
|
+
label: string;
|
|
2225
|
+
runtimeAction: string;
|
|
2226
|
+
} | undefined;
|
|
2227
|
+
viewButtons?: ({
|
|
2228
|
+
title?: string | undefined;
|
|
2229
|
+
aclProtected?: boolean | undefined;
|
|
2230
|
+
confirm?: {
|
|
2231
|
+
message?: string | undefined;
|
|
2232
|
+
title?: string | undefined;
|
|
2233
|
+
} | undefined;
|
|
2234
|
+
description?: string | undefined;
|
|
2235
|
+
id: string;
|
|
2236
|
+
label: string;
|
|
2237
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2238
|
+
notifications?: {
|
|
2239
|
+
error?: string | undefined;
|
|
2240
|
+
success?: string | undefined;
|
|
2241
|
+
} | undefined;
|
|
2242
|
+
path: string;
|
|
2243
|
+
sortOrder?: number | undefined;
|
|
2244
|
+
type: "view";
|
|
2245
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2246
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2247
|
+
} | {
|
|
2248
|
+
aclProtected?: boolean | undefined;
|
|
2249
|
+
confirm?: {
|
|
2250
|
+
message?: string | undefined;
|
|
2251
|
+
title?: string | undefined;
|
|
2252
|
+
} | undefined;
|
|
2253
|
+
description?: string | undefined;
|
|
2254
|
+
id: string;
|
|
2255
|
+
label: string;
|
|
2256
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2257
|
+
notifications?: {
|
|
2258
|
+
error?: string | undefined;
|
|
2259
|
+
success?: string | undefined;
|
|
2260
|
+
} | undefined;
|
|
2261
|
+
runtimeAction: string;
|
|
2262
|
+
sortOrder?: number | undefined;
|
|
2263
|
+
timeout?: number | undefined;
|
|
2264
|
+
type: "worker";
|
|
2265
|
+
})[] | undefined;
|
|
2266
|
+
}, v.CheckIssue<{
|
|
2267
|
+
customAttributeGridColumns?: {
|
|
2268
|
+
columns: {
|
|
2269
|
+
aclProtected?: boolean | undefined;
|
|
2270
|
+
align: "left" | "right" | "center";
|
|
2271
|
+
attribute_code: string;
|
|
2272
|
+
filter?: {
|
|
2273
|
+
type: "boolean";
|
|
2274
|
+
} | {
|
|
2275
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
2276
|
+
type: "text";
|
|
2277
|
+
} | undefined;
|
|
2278
|
+
id: string;
|
|
2279
|
+
label: string;
|
|
2280
|
+
}[];
|
|
2281
|
+
description?: string | undefined;
|
|
2282
|
+
label?: string | undefined;
|
|
2283
|
+
} | undefined;
|
|
2284
|
+
gridColumns?: {
|
|
2285
|
+
columns: {
|
|
2286
|
+
aclProtected?: boolean | undefined;
|
|
2287
|
+
align: "left" | "right" | "center";
|
|
2288
|
+
id: string;
|
|
2289
|
+
label: string;
|
|
2290
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
2291
|
+
}[];
|
|
2292
|
+
description: string;
|
|
2293
|
+
label: string;
|
|
2294
|
+
runtimeAction: string;
|
|
2295
|
+
} | undefined;
|
|
2296
|
+
viewButtons?: ({
|
|
2297
|
+
title?: string | undefined;
|
|
2298
|
+
aclProtected?: boolean | undefined;
|
|
2299
|
+
confirm?: {
|
|
2300
|
+
message?: string | undefined;
|
|
2301
|
+
title?: string | undefined;
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
description?: string | undefined;
|
|
2304
|
+
id: string;
|
|
2305
|
+
label: string;
|
|
2306
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2307
|
+
notifications?: {
|
|
2308
|
+
error?: string | undefined;
|
|
2309
|
+
success?: string | undefined;
|
|
2310
|
+
} | undefined;
|
|
2311
|
+
path: string;
|
|
2312
|
+
sortOrder?: number | undefined;
|
|
2313
|
+
type: "view";
|
|
2314
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2315
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2316
|
+
} | {
|
|
2317
|
+
aclProtected?: boolean | undefined;
|
|
2318
|
+
confirm?: {
|
|
2319
|
+
message?: string | undefined;
|
|
2320
|
+
title?: string | undefined;
|
|
2321
|
+
} | undefined;
|
|
2322
|
+
description?: string | undefined;
|
|
2323
|
+
id: string;
|
|
2324
|
+
label: string;
|
|
2325
|
+
level?: 0 | 1 | -1 | undefined;
|
|
2326
|
+
notifications?: {
|
|
2327
|
+
error?: string | undefined;
|
|
2328
|
+
success?: string | undefined;
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
runtimeAction: string;
|
|
2331
|
+
sortOrder?: number | undefined;
|
|
2332
|
+
timeout?: number | undefined;
|
|
2333
|
+
type: "worker";
|
|
2334
|
+
})[] | undefined;
|
|
2335
|
+
}>>]>, undefined>;
|
|
1781
2336
|
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
1782
2337
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1783
2338
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -1805,8 +2360,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1805
2360
|
}, undefined>, undefined>;
|
|
1806
2361
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1807
2362
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1808
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
1809
2363
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2364
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2365
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1810
2366
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1811
2367
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1812
2368
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -1841,8 +2397,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1841
2397
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
1842
2398
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
1843
2399
|
path: string;
|
|
1844
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1845
2400
|
type: "view";
|
|
2401
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2402
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1846
2403
|
aclProtected?: boolean | undefined;
|
|
1847
2404
|
confirm?: {
|
|
1848
2405
|
message?: string | undefined;
|
|
@@ -1918,9 +2475,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1918
2475
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
1919
2476
|
}, undefined>, undefined>;
|
|
1920
2477
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1921
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
1922
2478
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
1923
2479
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2480
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2481
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1924
2482
|
}, undefined>, v.StrictObjectSchema<{
|
|
1925
2483
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1926
2484
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1955,9 +2513,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1955
2513
|
success?: string | undefined;
|
|
1956
2514
|
} | undefined;
|
|
1957
2515
|
path: string;
|
|
1958
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1959
2516
|
sortOrder?: number | undefined;
|
|
1960
2517
|
type: "view";
|
|
2518
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2519
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1961
2520
|
} | {
|
|
1962
2521
|
aclProtected?: boolean | undefined;
|
|
1963
2522
|
confirm?: {
|
|
@@ -1985,19 +2544,22 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1985
2544
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1986
2545
|
readonly pageTitle: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
1987
2546
|
readonly parentMenu: v.OptionalSchema<v.PicklistSchema<readonly ["sales", "catalog", "customers", "marketing", "content", "reports", "stores", "system"], "parentMenu must be a known Commerce Admin menu ID">, undefined>;
|
|
1988
|
-
readonly
|
|
2547
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2548
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1989
2549
|
}, undefined>, undefined>;
|
|
1990
2550
|
readonly nativeUi: v.OptionalSchema<v.ObjectSchema<{
|
|
1991
2551
|
readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1992
2552
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1993
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
1994
2553
|
readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
|
|
1995
2554
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2555
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2556
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1996
2557
|
}, undefined>, undefined>, v.CheckAction<{
|
|
1997
2558
|
path: string;
|
|
1998
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1999
2559
|
target: "order.create" | "return.create";
|
|
2000
2560
|
title: string;
|
|
2561
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2562
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2001
2563
|
}[], "Native UI replaced page targets must be unique.">]>;
|
|
2002
2564
|
}, undefined>, undefined>;
|
|
2003
2565
|
readonly newsletter: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2053,8 +2615,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2053
2615
|
}, undefined>, undefined>;
|
|
2054
2616
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2055
2617
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2056
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
2057
2618
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2619
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2620
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2058
2621
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2059
2622
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
2060
2623
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -2089,8 +2652,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2089
2652
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2090
2653
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
2091
2654
|
path: string;
|
|
2092
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2093
2655
|
type: "view";
|
|
2656
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2657
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2094
2658
|
aclProtected?: boolean | undefined;
|
|
2095
2659
|
confirm?: {
|
|
2096
2660
|
message?: string | undefined;
|
|
@@ -2139,9 +2703,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2139
2703
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2140
2704
|
}, undefined>, undefined>;
|
|
2141
2705
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2142
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
2143
2706
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
2144
2707
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2708
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2709
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2145
2710
|
}, undefined>, v.StrictObjectSchema<{
|
|
2146
2711
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2147
2712
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2175,9 +2740,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2175
2740
|
success?: string | undefined;
|
|
2176
2741
|
} | undefined;
|
|
2177
2742
|
path: string;
|
|
2178
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2179
2743
|
sortOrder?: number | undefined;
|
|
2180
2744
|
type: "view";
|
|
2745
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2746
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2181
2747
|
} | {
|
|
2182
2748
|
aclProtected?: boolean | undefined;
|
|
2183
2749
|
confirm?: {
|
|
@@ -2225,8 +2791,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2225
2791
|
}, undefined>, undefined>;
|
|
2226
2792
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
2227
2793
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2228
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
2229
2794
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2795
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2796
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2230
2797
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2231
2798
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
2232
2799
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
@@ -2261,8 +2828,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2261
2828
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2262
2829
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
2263
2830
|
path: string;
|
|
2264
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2265
2831
|
type: "view";
|
|
2832
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2833
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2266
2834
|
aclProtected?: boolean | undefined;
|
|
2267
2835
|
confirm?: {
|
|
2268
2836
|
message?: string | undefined;
|
|
@@ -2314,9 +2882,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2314
2882
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
2315
2883
|
}, undefined>, undefined>;
|
|
2316
2884
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2317
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
2318
2885
|
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
2319
2886
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
2887
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2888
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
2320
2889
|
}, undefined>, v.StrictObjectSchema<{
|
|
2321
2890
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2322
2891
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2351,9 +2920,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2351
2920
|
success?: string | undefined;
|
|
2352
2921
|
} | undefined;
|
|
2353
2922
|
path: string;
|
|
2354
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2355
2923
|
sortOrder?: number | undefined;
|
|
2356
2924
|
type: "view";
|
|
2925
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
2926
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
2357
2927
|
} | {
|
|
2358
2928
|
aclProtected?: boolean | undefined;
|
|
2359
2929
|
confirm?: {
|
|
@@ -2414,6 +2984,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2414
2984
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2415
2985
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2416
2986
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
2987
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2417
2988
|
}, undefined>, v.ObjectSchema<{
|
|
2418
2989
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
2419
2990
|
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
@@ -2426,6 +2997,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2426
2997
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2427
2998
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2428
2999
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3000
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2429
3001
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
2430
3002
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
2431
3003
|
label: string;
|
|
@@ -2444,6 +3016,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2444
3016
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2445
3017
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2446
3018
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3019
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2447
3020
|
}, undefined>, v.ObjectSchema<{
|
|
2448
3021
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
2449
3022
|
label: string;
|
|
@@ -2462,6 +3035,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2462
3035
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2463
3036
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2464
3037
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3038
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2465
3039
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2466
3040
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
2467
3041
|
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
@@ -2469,6 +3043,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2469
3043
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2470
3044
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2471
3045
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3046
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2472
3047
|
}, undefined>, v.ObjectSchema<{
|
|
2473
3048
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
2474
3049
|
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
@@ -2476,6 +3051,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2476
3051
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2477
3052
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2478
3053
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3054
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2479
3055
|
}, undefined>, v.ObjectSchema<{
|
|
2480
3056
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
2481
3057
|
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
@@ -2483,6 +3059,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2483
3059
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2484
3060
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2485
3061
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3062
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2486
3063
|
}, undefined>, v.ObjectSchema<{
|
|
2487
3064
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
2488
3065
|
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
@@ -2490,6 +3067,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2490
3067
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2491
3068
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2492
3069
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3070
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2493
3071
|
}, undefined>, v.ObjectSchema<{
|
|
2494
3072
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
2495
3073
|
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
@@ -2497,6 +3075,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2497
3075
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2498
3076
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2499
3077
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3078
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2500
3079
|
}, undefined>, v.ObjectSchema<{
|
|
2501
3080
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
2502
3081
|
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
@@ -2504,6 +3083,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2504
3083
|
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
2505
3084
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
2506
3085
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
3086
|
+
readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
|
|
2507
3087
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
2508
3088
|
default: string;
|
|
2509
3089
|
selectionMode: "single";
|
|
@@ -2516,6 +3096,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2516
3096
|
env?: ("paas" | "saas")[] | undefined;
|
|
2517
3097
|
label?: string | undefined;
|
|
2518
3098
|
name: string;
|
|
3099
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2519
3100
|
} | {
|
|
2520
3101
|
default: string[];
|
|
2521
3102
|
selectionMode: "multiple";
|
|
@@ -2528,6 +3109,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2528
3109
|
env?: ("paas" | "saas")[] | undefined;
|
|
2529
3110
|
label?: string | undefined;
|
|
2530
3111
|
name: string;
|
|
3112
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2531
3113
|
} | {
|
|
2532
3114
|
default: (resolvedOptions: {
|
|
2533
3115
|
label: string;
|
|
@@ -2546,6 +3128,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2546
3128
|
env?: ("paas" | "saas")[] | undefined;
|
|
2547
3129
|
label?: string | undefined;
|
|
2548
3130
|
name: string;
|
|
3131
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2549
3132
|
} | {
|
|
2550
3133
|
default?: ((resolvedOptions: {
|
|
2551
3134
|
label: string;
|
|
@@ -2564,6 +3147,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2564
3147
|
env?: ("paas" | "saas")[] | undefined;
|
|
2565
3148
|
label?: string | undefined;
|
|
2566
3149
|
name: string;
|
|
3150
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2567
3151
|
} | {
|
|
2568
3152
|
default: string;
|
|
2569
3153
|
type: "text";
|
|
@@ -2571,6 +3155,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2571
3155
|
env?: ("paas" | "saas")[] | undefined;
|
|
2572
3156
|
label?: string | undefined;
|
|
2573
3157
|
name: string;
|
|
3158
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2574
3159
|
} | {
|
|
2575
3160
|
default: "";
|
|
2576
3161
|
type: "password";
|
|
@@ -2578,6 +3163,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2578
3163
|
env?: ("paas" | "saas")[] | undefined;
|
|
2579
3164
|
label?: string | undefined;
|
|
2580
3165
|
name: string;
|
|
3166
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2581
3167
|
} | {
|
|
2582
3168
|
default: string;
|
|
2583
3169
|
type: "email";
|
|
@@ -2585,6 +3171,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2585
3171
|
env?: ("paas" | "saas")[] | undefined;
|
|
2586
3172
|
label?: string | undefined;
|
|
2587
3173
|
name: string;
|
|
3174
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2588
3175
|
} | {
|
|
2589
3176
|
default: string;
|
|
2590
3177
|
type: "url";
|
|
@@ -2592,6 +3179,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2592
3179
|
env?: ("paas" | "saas")[] | undefined;
|
|
2593
3180
|
label?: string | undefined;
|
|
2594
3181
|
name: string;
|
|
3182
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2595
3183
|
} | {
|
|
2596
3184
|
default: string;
|
|
2597
3185
|
type: "tel";
|
|
@@ -2599,6 +3187,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2599
3187
|
env?: ("paas" | "saas")[] | undefined;
|
|
2600
3188
|
label?: string | undefined;
|
|
2601
3189
|
name: string;
|
|
3190
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2602
3191
|
} | {
|
|
2603
3192
|
default: boolean;
|
|
2604
3193
|
type: "boolean";
|
|
@@ -2606,6 +3195,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2606
3195
|
env?: ("paas" | "saas")[] | undefined;
|
|
2607
3196
|
label?: string | undefined;
|
|
2608
3197
|
name: string;
|
|
3198
|
+
requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
|
|
2609
3199
|
})[], 1, "At least one configuration parameter is required">]>, readonly []>;
|
|
2610
3200
|
}, undefined>, undefined>;
|
|
2611
3201
|
readonly eventing: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2771,7 +3361,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2771
3361
|
}, undefined>;
|
|
2772
3362
|
readonly webhooks: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2773
3363
|
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
2774
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
3364
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>;
|
|
2775
3365
|
readonly webhook: v.ObjectSchema<{
|
|
2776
3366
|
readonly batch_name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "batch_name must contain only letters, numbers, and underscores">]>;
|
|
2777
3367
|
readonly batch_order: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
@@ -2852,7 +3442,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2852
3442
|
value: string;
|
|
2853
3443
|
}[] | undefined;
|
|
2854
3444
|
hook_name: string;
|
|
2855
|
-
method: "
|
|
3445
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
2856
3446
|
priority?: number | undefined;
|
|
2857
3447
|
required?: boolean | undefined;
|
|
2858
3448
|
rules?: {
|
|
@@ -2885,7 +3475,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
2885
3475
|
value: string;
|
|
2886
3476
|
}[] | undefined;
|
|
2887
3477
|
hook_name: string;
|
|
2888
|
-
method: "
|
|
3478
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
2889
3479
|
priority?: number | undefined;
|
|
2890
3480
|
required?: boolean | undefined;
|
|
2891
3481
|
rules?: {
|