@adobe/aio-commerce-lib-app 2.2.0 → 2.3.0-alpha-20261203134759

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.
Files changed (102) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/bin/cli.mjs +22 -1
  3. package/dist/cjs/actions/app-config/index.cjs +8 -8
  4. package/dist/cjs/actions/app-config/index.d.cts +2 -2
  5. package/dist/cjs/actions/association/index.cjs +4 -4
  6. package/dist/cjs/actions/config/index.cjs +19 -8
  7. package/dist/cjs/actions/config/index.d.cts +1 -1
  8. package/dist/cjs/actions/installation/index.cjs +39 -15
  9. package/dist/cjs/actions/installation/index.d.cts +3 -3
  10. package/dist/cjs/actions/scope-tree/index.cjs +6 -6
  11. package/dist/cjs/{app-B3bAEor-.d.cts → app-Cb6-5mKk.d.cts} +637 -45
  12. package/dist/cjs/config/index.browser.d.cts +1 -1
  13. package/dist/cjs/config/index.node.cjs +11 -7
  14. package/dist/cjs/config/index.node.d.cts +150 -14
  15. package/dist/cjs/{define-eBMdGAq6.d.cts → define-Dk0uzfO9.d.cts} +1 -1
  16. package/dist/cjs/{commands → deprecated/commands}/index.cjs +1828 -864
  17. package/dist/cjs/{environment-CW6M76gS.cjs → environment-CaV1hi2-.cjs} +1 -1
  18. package/dist/cjs/{index-BEeludy0.d.cts → index-Cmxlkzpm.d.cts} +2 -2
  19. package/dist/cjs/index.cjs +3 -3
  20. package/dist/cjs/index.d.cts +1 -1
  21. package/dist/cjs/index.node-QXhLROom.cjs +117 -0
  22. package/dist/cjs/{logging-Emi7P923.cjs → logging-r-r2bUWO.cjs} +1 -1
  23. package/dist/cjs/management/index.cjs +1 -1
  24. package/dist/cjs/management/index.d.cts +1 -1
  25. package/dist/cjs/{management-5Et1mEUp.cjs → management-BX9sUQw-.cjs} +123 -108
  26. package/dist/cjs/{openapi-DghfuM8S.cjs → openapi-BaKoO7GY.cjs} +177 -26
  27. package/dist/cjs/{index.node-9bfp79rs.cjs → parser-XcHKOYKN.cjs} +46 -16
  28. package/dist/cjs/project/index.cjs +637 -0
  29. package/dist/cjs/project/index.d.cts +212 -0
  30. package/dist/cjs/{rolldown-runtime-CoOt0iuZ.cjs → rolldown-runtime-BKfnhsn2.cjs} +4 -4
  31. package/dist/cjs/{schemas-B6ITl1bG.cjs → schemas-B-jCi6Oz.cjs} +1 -1
  32. package/dist/cjs/{utils-CoR_PBHz.cjs → utils-CuzJBLgo.cjs} +2 -2
  33. package/dist/cjs/{utils-DSS0XlXq.cjs → utils-bwFwJcPW.cjs} +1 -1
  34. package/dist/cjs/{validate-BC3rnRLc.cjs → validate-BumkVjJy.cjs} +22 -6
  35. package/dist/cjs/{version-5MonNzl5.cjs → version-Bczstmvz.cjs} +3 -3
  36. package/dist/{es/webhooks-DgaLfP36.d.mts → cjs/webhooks-BBuoVWq_.d.cts} +382 -43
  37. package/dist/cjs/{webhooks-ZPh2gVb3.cjs → webhooks-VZTBeI8L.cjs} +84 -23
  38. package/dist/es/actions/app-config/index.d.mts +2 -2
  39. package/dist/es/actions/app-config/index.mjs +6 -6
  40. package/dist/es/actions/association/index.mjs +3 -3
  41. package/dist/es/actions/config/index.d.mts +2 -2
  42. package/dist/es/actions/config/index.mjs +19 -8
  43. package/dist/es/actions/installation/index.d.mts +4 -4
  44. package/dist/es/actions/installation/index.mjs +38 -14
  45. package/dist/es/actions/scope-tree/index.mjs +5 -5
  46. package/dist/es/{app-B3bAEor-.d.mts → app-Cb6-5mKk.d.mts} +637 -45
  47. package/dist/es/config/index.browser.d.mts +1 -1
  48. package/dist/es/config/index.node.d.mts +151 -15
  49. package/dist/es/config/index.node.mjs +5 -4
  50. package/dist/es/{define-BdXyLAwb.d.mts → define-D7EjSr-Z.d.mts} +1 -1
  51. package/dist/es/{commands → deprecated/commands}/index.mjs +1773 -807
  52. package/dist/es/{environment-DUhU0_9z.mjs → environment-B1JJFHZw.mjs} +1 -1
  53. package/dist/es/{index-DE2KVXfH.d.mts → index-BkqV8WU_.d.mts} +4 -4
  54. package/dist/es/{index-DUJtT78x.d.mts → index-U7CXicoW.d.mts} +1 -1
  55. package/dist/es/index.d.mts +2 -2
  56. package/dist/es/index.mjs +3 -3
  57. package/dist/es/index.node-DipCrOq_.mjs +112 -0
  58. package/dist/es/management/index.d.mts +1 -1
  59. package/dist/es/management/index.mjs +1 -1
  60. package/dist/es/{management-BAQ64OyR.mjs → management-DSu69_ub.mjs} +128 -113
  61. package/dist/es/{openapi-BvPVTUMt.mjs → openapi-ChihLuvm.mjs} +177 -26
  62. package/dist/es/{index.node-CURztkP5.mjs → parser-DdhiGXVf.mjs} +33 -15
  63. package/dist/es/project/index.d.mts +212 -0
  64. package/dist/es/project/index.mjs +636 -0
  65. package/dist/es/{utils-DB8HaSj0.mjs → utils-Bg_LIAGV.mjs} +2 -2
  66. package/dist/es/{validate-xS9Dc-4m.mjs → validate-CYWj7Nzp.mjs} +10 -6
  67. package/dist/es/{version-BWgrh_QM.mjs → version-CVSRkbJP.mjs} +1 -1
  68. package/dist/es/{webhooks-HBe_DEKA.mjs → webhooks-Ba-OdU8e.mjs} +76 -21
  69. package/dist/{cjs/webhooks-DNLuuv9_.d.cts → es/webhooks-Deujdgcm.d.mts} +382 -43
  70. package/package.json +29 -24
  71. /package/dist/cjs/{commands → deprecated/commands}/index.d.cts +0 -0
  72. /package/dist/cjs/{commands → deprecated/commands}/templates/typescript/webpack-config.cjs +0 -0
  73. /package/dist/cjs/{commands → project}/templates/admin-ui/tsconfig.json +0 -0
  74. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/.babelrc +0 -0
  75. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/index.css +0 -0
  76. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/index.html +0 -0
  77. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/app.jsx +0 -0
  78. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/components/welcome.jsx +0 -0
  79. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/pages/main-page.jsx +0 -0
  80. /package/dist/cjs/{commands → project}/templates/admin-ui/web-src-template.d.ts +0 -0
  81. /package/dist/cjs/{commands → project}/templates/app-management/app-config.js.template +0 -0
  82. /package/dist/cjs/{commands → project}/templates/app-management/association.js.template +0 -0
  83. /package/dist/cjs/{commands → project}/templates/app-management/custom-scripts.js.template +0 -0
  84. /package/dist/cjs/{commands → project}/templates/app-management/installation.js.template +0 -0
  85. /package/dist/cjs/{commands → project}/templates/business-configuration/config.js.template +0 -0
  86. /package/dist/cjs/{commands → project}/templates/business-configuration/scope-tree.js.template +0 -0
  87. /package/dist/es/{commands → deprecated/commands}/index.d.mts +0 -0
  88. /package/dist/es/{commands → deprecated/commands}/templates/typescript/webpack-config.cjs +0 -0
  89. /package/dist/es/{commands → project}/templates/admin-ui/tsconfig.json +0 -0
  90. /package/dist/es/{commands → project}/templates/admin-ui/web-src/.babelrc +0 -0
  91. /package/dist/es/{commands → project}/templates/admin-ui/web-src/index.css +0 -0
  92. /package/dist/es/{commands → project}/templates/admin-ui/web-src/index.html +0 -0
  93. /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/app.jsx +0 -0
  94. /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/components/welcome.jsx +0 -0
  95. /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/pages/main-page.jsx +0 -0
  96. /package/dist/es/{commands → project}/templates/admin-ui/web-src-template.d.ts +0 -0
  97. /package/dist/es/{commands → project}/templates/app-management/app-config.js.template +0 -0
  98. /package/dist/es/{commands → project}/templates/app-management/association.js.template +0 -0
  99. /package/dist/es/{commands → project}/templates/app-management/custom-scripts.js.template +0 -0
  100. /package/dist/es/{commands → project}/templates/app-management/installation.js.template +0 -0
  101. /package/dist/es/{commands → project}/templates/business-configuration/config.js.template +0 -0
  102. /package/dist/es/{commands → project}/templates/business-configuration/scope-tree.js.template +0 -0
@@ -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>, 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 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>;
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: "GET" | "POST" | "PUT" | "DELETE";
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: "GET" | "POST" | "PUT" | "DELETE";
1914
+ method: "POST" | "PUT" | "DELETE" | "GET";
1610
1915
  priority?: number | undefined;
1611
1916
  required?: boolean | undefined;
1612
1917
  rules?: {
@@ -1628,6 +1933,8 @@ declare const CommerceAppConfigSchemas: {
1628
1933
  };
1629
1934
  /** Individual validatable domains of the commerce app config. */
1630
1935
  type CommerceAppConfigDomain = keyof typeof CommerceAppConfigSchemas;
1936
+ /** Every domain of the commerce app config. */
1937
+ declare const COMMERCE_APP_CONFIG_DOMAINS: readonly CommerceAppConfigDomain[];
1631
1938
  /**
1632
1939
  * Get the config domains that are present in the config.
1633
1940
  * @param config - The configuration to check.
@@ -1677,7 +1984,48 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1677
1984
  id: string;
1678
1985
  label: string;
1679
1986
  }[], "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<{
1987
+ readonly creditMemo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1988
+ readonly customAttributeGridColumns: v.OptionalSchema<v.StrictObjectSchema<{
1989
+ readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1990
+ readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1991
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
1992
+ 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 \"_\"">]>;
1993
+ readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
1994
+ readonly type: v.LiteralSchema<"boolean", undefined>;
1995
+ }, undefined>, v.StrictObjectSchema<{
1996
+ 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">]>;
1997
+ readonly type: v.LiteralSchema<"text", undefined>;
1998
+ }, undefined>], undefined>, undefined>;
1999
+ 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">]>;
2000
+ 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">]>;
2001
+ }, undefined>, undefined>, v.MinLengthAction<{
2002
+ aclProtected?: boolean | undefined;
2003
+ align: "left" | "right" | "center";
2004
+ attribute_code: string;
2005
+ filter?: {
2006
+ type: "boolean";
2007
+ } | {
2008
+ conditions: ("eq" | "neq" | "contains")[];
2009
+ type: "text";
2010
+ } | undefined;
2011
+ id: string;
2012
+ label: string;
2013
+ }[], 1, "At least one custom-attribute grid column is required">, v.CheckAction<{
2014
+ aclProtected?: boolean | undefined;
2015
+ align: "left" | "right" | "center";
2016
+ attribute_code: string;
2017
+ filter?: {
2018
+ type: "boolean";
2019
+ } | {
2020
+ conditions: ("eq" | "neq" | "contains")[];
2021
+ type: "text";
2022
+ } | undefined;
2023
+ id: string;
2024
+ label: string;
2025
+ }[], "Grid column ids must be unique after Commerce id sanitization.">]>;
2026
+ 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>;
2027
+ 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>;
2028
+ }, undefined>, undefined>;
1681
2029
  readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
1682
2030
  readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1683
2031
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1718,9 +2066,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1718
2066
  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
2067
  }, undefined>, undefined>;
1720
2068
  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
2069
  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
2070
  readonly type: v.LiteralSchema<"view", undefined>;
2071
+ 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>;
2072
+ 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
2073
  }, undefined>, v.StrictObjectSchema<{
1725
2074
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1726
2075
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
@@ -1755,9 +2104,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1755
2104
  success?: string | undefined;
1756
2105
  } | undefined;
1757
2106
  path: string;
1758
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1759
2107
  sortOrder?: number | undefined;
1760
2108
  type: "view";
2109
+ allow?: ("autoplay" | "microphone")[] | undefined;
2110
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1761
2111
  } | {
1762
2112
  aclProtected?: boolean | undefined;
1763
2113
  confirm?: {
@@ -1777,7 +2127,214 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1777
2127
  timeout?: number | undefined;
1778
2128
  type: "worker";
1779
2129
  })[], "Credit memo view button ids must be unique after Commerce id sanitization.">]>, undefined>;
1780
- }, undefined>, undefined>;
2130
+ }, undefined>, v.BaseValidation<{
2131
+ customAttributeGridColumns?: {
2132
+ columns: {
2133
+ aclProtected?: boolean | undefined;
2134
+ align: "left" | "right" | "center";
2135
+ attribute_code: string;
2136
+ filter?: {
2137
+ type: "boolean";
2138
+ } | {
2139
+ conditions: ("eq" | "neq" | "contains")[];
2140
+ type: "text";
2141
+ } | undefined;
2142
+ id: string;
2143
+ label: string;
2144
+ }[];
2145
+ description?: string | undefined;
2146
+ label?: string | undefined;
2147
+ } | undefined;
2148
+ gridColumns?: {
2149
+ columns: {
2150
+ aclProtected?: boolean | undefined;
2151
+ align: "left" | "right" | "center";
2152
+ id: string;
2153
+ label: string;
2154
+ type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
2155
+ }[];
2156
+ description: string;
2157
+ label: string;
2158
+ runtimeAction: string;
2159
+ } | undefined;
2160
+ viewButtons?: ({
2161
+ title?: string | undefined;
2162
+ aclProtected?: boolean | undefined;
2163
+ confirm?: {
2164
+ message?: string | undefined;
2165
+ title?: string | undefined;
2166
+ } | undefined;
2167
+ description?: string | undefined;
2168
+ id: string;
2169
+ label: string;
2170
+ level?: 0 | 1 | -1 | undefined;
2171
+ notifications?: {
2172
+ error?: string | undefined;
2173
+ success?: string | undefined;
2174
+ } | undefined;
2175
+ path: string;
2176
+ sortOrder?: number | undefined;
2177
+ type: "view";
2178
+ allow?: ("autoplay" | "microphone")[] | undefined;
2179
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2180
+ } | {
2181
+ aclProtected?: boolean | undefined;
2182
+ confirm?: {
2183
+ message?: string | undefined;
2184
+ title?: string | undefined;
2185
+ } | undefined;
2186
+ description?: string | undefined;
2187
+ id: string;
2188
+ label: string;
2189
+ level?: 0 | 1 | -1 | undefined;
2190
+ notifications?: {
2191
+ error?: string | undefined;
2192
+ success?: string | undefined;
2193
+ } | undefined;
2194
+ runtimeAction: string;
2195
+ sortOrder?: number | undefined;
2196
+ timeout?: number | undefined;
2197
+ type: "worker";
2198
+ })[] | undefined;
2199
+ }, {
2200
+ customAttributeGridColumns?: {
2201
+ columns: {
2202
+ aclProtected?: boolean | undefined;
2203
+ align: "left" | "right" | "center";
2204
+ attribute_code: string;
2205
+ filter?: {
2206
+ type: "boolean";
2207
+ } | {
2208
+ conditions: ("eq" | "neq" | "contains")[];
2209
+ type: "text";
2210
+ } | undefined;
2211
+ id: string;
2212
+ label: string;
2213
+ }[];
2214
+ description?: string | undefined;
2215
+ label?: string | undefined;
2216
+ } | undefined;
2217
+ gridColumns?: {
2218
+ columns: {
2219
+ aclProtected?: boolean | undefined;
2220
+ align: "left" | "right" | "center";
2221
+ id: string;
2222
+ label: string;
2223
+ type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
2224
+ }[];
2225
+ description: string;
2226
+ label: string;
2227
+ runtimeAction: string;
2228
+ } | undefined;
2229
+ viewButtons?: ({
2230
+ title?: string | undefined;
2231
+ aclProtected?: boolean | undefined;
2232
+ confirm?: {
2233
+ message?: string | undefined;
2234
+ title?: string | undefined;
2235
+ } | undefined;
2236
+ description?: string | undefined;
2237
+ id: string;
2238
+ label: string;
2239
+ level?: 0 | 1 | -1 | undefined;
2240
+ notifications?: {
2241
+ error?: string | undefined;
2242
+ success?: string | undefined;
2243
+ } | undefined;
2244
+ path: string;
2245
+ sortOrder?: number | undefined;
2246
+ type: "view";
2247
+ allow?: ("autoplay" | "microphone")[] | undefined;
2248
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2249
+ } | {
2250
+ aclProtected?: boolean | undefined;
2251
+ confirm?: {
2252
+ message?: string | undefined;
2253
+ title?: string | undefined;
2254
+ } | undefined;
2255
+ description?: string | undefined;
2256
+ id: string;
2257
+ label: string;
2258
+ level?: 0 | 1 | -1 | undefined;
2259
+ notifications?: {
2260
+ error?: string | undefined;
2261
+ success?: string | undefined;
2262
+ } | undefined;
2263
+ runtimeAction: string;
2264
+ sortOrder?: number | undefined;
2265
+ timeout?: number | undefined;
2266
+ type: "worker";
2267
+ })[] | undefined;
2268
+ }, v.CheckIssue<{
2269
+ customAttributeGridColumns?: {
2270
+ columns: {
2271
+ aclProtected?: boolean | undefined;
2272
+ align: "left" | "right" | "center";
2273
+ attribute_code: string;
2274
+ filter?: {
2275
+ type: "boolean";
2276
+ } | {
2277
+ conditions: ("eq" | "neq" | "contains")[];
2278
+ type: "text";
2279
+ } | undefined;
2280
+ id: string;
2281
+ label: string;
2282
+ }[];
2283
+ description?: string | undefined;
2284
+ label?: string | undefined;
2285
+ } | undefined;
2286
+ gridColumns?: {
2287
+ columns: {
2288
+ aclProtected?: boolean | undefined;
2289
+ align: "left" | "right" | "center";
2290
+ id: string;
2291
+ label: string;
2292
+ type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
2293
+ }[];
2294
+ description: string;
2295
+ label: string;
2296
+ runtimeAction: string;
2297
+ } | undefined;
2298
+ viewButtons?: ({
2299
+ title?: string | undefined;
2300
+ aclProtected?: boolean | undefined;
2301
+ confirm?: {
2302
+ message?: string | undefined;
2303
+ title?: string | undefined;
2304
+ } | undefined;
2305
+ description?: string | undefined;
2306
+ id: string;
2307
+ label: string;
2308
+ level?: 0 | 1 | -1 | undefined;
2309
+ notifications?: {
2310
+ error?: string | undefined;
2311
+ success?: string | undefined;
2312
+ } | undefined;
2313
+ path: string;
2314
+ sortOrder?: number | undefined;
2315
+ type: "view";
2316
+ allow?: ("autoplay" | "microphone")[] | undefined;
2317
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2318
+ } | {
2319
+ aclProtected?: boolean | undefined;
2320
+ confirm?: {
2321
+ message?: string | undefined;
2322
+ title?: string | undefined;
2323
+ } | undefined;
2324
+ description?: string | undefined;
2325
+ id: string;
2326
+ label: string;
2327
+ level?: 0 | 1 | -1 | undefined;
2328
+ notifications?: {
2329
+ error?: string | undefined;
2330
+ success?: string | undefined;
2331
+ } | undefined;
2332
+ runtimeAction: string;
2333
+ sortOrder?: number | undefined;
2334
+ timeout?: number | undefined;
2335
+ type: "worker";
2336
+ })[] | undefined;
2337
+ }>>]>, undefined>;
1781
2338
  readonly customer: v.OptionalSchema<v.ObjectSchema<{
1782
2339
  readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
1783
2340
  readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
@@ -1805,8 +2362,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1805
2362
  }, undefined>, undefined>;
1806
2363
  readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
1807
2364
  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
2365
  readonly type: v.LiteralSchema<"view", undefined>;
2366
+ 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>;
2367
+ 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
2368
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1811
2369
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
1812
2370
  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 +2399,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1841
2399
  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
2400
  }, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
1843
2401
  path: string;
1844
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1845
2402
  type: "view";
2403
+ allow?: ("autoplay" | "microphone")[] | undefined;
2404
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1846
2405
  aclProtected?: boolean | undefined;
1847
2406
  confirm?: {
1848
2407
  message?: string | undefined;
@@ -1918,9 +2477,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1918
2477
  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
2478
  }, undefined>, undefined>;
1920
2479
  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
2480
  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
2481
  readonly type: v.LiteralSchema<"view", undefined>;
2482
+ 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>;
2483
+ 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
2484
  }, undefined>, v.StrictObjectSchema<{
1925
2485
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1926
2486
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
@@ -1955,9 +2515,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1955
2515
  success?: string | undefined;
1956
2516
  } | undefined;
1957
2517
  path: string;
1958
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1959
2518
  sortOrder?: number | undefined;
1960
2519
  type: "view";
2520
+ allow?: ("autoplay" | "microphone")[] | undefined;
2521
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1961
2522
  } | {
1962
2523
  aclProtected?: boolean | undefined;
1963
2524
  confirm?: {
@@ -1985,19 +2546,22 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1985
2546
  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
2547
  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
2548
  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 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>;
2549
+ 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>;
2550
+ 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
2551
  }, undefined>, undefined>;
1990
2552
  readonly nativeUi: v.OptionalSchema<v.ObjectSchema<{
1991
2553
  readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1992
2554
  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
2555
  readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
1995
2556
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2557
+ 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>;
2558
+ 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
2559
  }, undefined>, undefined>, v.CheckAction<{
1997
2560
  path: string;
1998
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1999
2561
  target: "order.create" | "return.create";
2000
2562
  title: string;
2563
+ allow?: ("autoplay" | "microphone")[] | undefined;
2564
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2001
2565
  }[], "Native UI replaced page targets must be unique.">]>;
2002
2566
  }, undefined>, undefined>;
2003
2567
  readonly newsletter: v.OptionalSchema<v.ObjectSchema<{
@@ -2053,8 +2617,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2053
2617
  }, undefined>, undefined>;
2054
2618
  readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
2055
2619
  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
2620
  readonly type: v.LiteralSchema<"view", undefined>;
2621
+ 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>;
2622
+ 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
2623
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2059
2624
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
2060
2625
  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 +2654,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2089
2654
  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
2655
  }, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
2091
2656
  path: string;
2092
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2093
2657
  type: "view";
2658
+ allow?: ("autoplay" | "microphone")[] | undefined;
2659
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2094
2660
  aclProtected?: boolean | undefined;
2095
2661
  confirm?: {
2096
2662
  message?: string | undefined;
@@ -2139,9 +2705,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2139
2705
  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
2706
  }, undefined>, undefined>;
2141
2707
  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
2708
  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
2709
  readonly type: v.LiteralSchema<"view", undefined>;
2710
+ 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>;
2711
+ 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
2712
  }, undefined>, v.StrictObjectSchema<{
2146
2713
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2147
2714
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
@@ -2175,9 +2742,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2175
2742
  success?: string | undefined;
2176
2743
  } | undefined;
2177
2744
  path: string;
2178
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2179
2745
  sortOrder?: number | undefined;
2180
2746
  type: "view";
2747
+ allow?: ("autoplay" | "microphone")[] | undefined;
2748
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2181
2749
  } | {
2182
2750
  aclProtected?: boolean | undefined;
2183
2751
  confirm?: {
@@ -2225,8 +2793,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2225
2793
  }, undefined>, undefined>;
2226
2794
  readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
2227
2795
  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
2796
  readonly type: v.LiteralSchema<"view", undefined>;
2797
+ 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>;
2798
+ 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
2799
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2231
2800
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
2232
2801
  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 +2830,9 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2261
2830
  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
2831
  }, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
2263
2832
  path: string;
2264
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2265
2833
  type: "view";
2834
+ allow?: ("autoplay" | "microphone")[] | undefined;
2835
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2266
2836
  aclProtected?: boolean | undefined;
2267
2837
  confirm?: {
2268
2838
  message?: string | undefined;
@@ -2314,9 +2884,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2314
2884
  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
2885
  }, undefined>, undefined>;
2316
2886
  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
2887
  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
2888
  readonly type: v.LiteralSchema<"view", undefined>;
2889
+ 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>;
2890
+ 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
2891
  }, undefined>, v.StrictObjectSchema<{
2321
2892
  readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2322
2893
  readonly confirm: v.OptionalSchema<v.ObjectSchema<{
@@ -2351,9 +2922,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2351
2922
  success?: string | undefined;
2352
2923
  } | undefined;
2353
2924
  path: string;
2354
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2355
2925
  sortOrder?: number | undefined;
2356
2926
  type: "view";
2927
+ allow?: ("autoplay" | "microphone")[] | undefined;
2928
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2357
2929
  } | {
2358
2930
  aclProtected?: boolean | undefined;
2359
2931
  confirm?: {
@@ -2414,6 +2986,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2414
2986
  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
2987
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2416
2988
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
2989
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2417
2990
  }, undefined>, v.ObjectSchema<{
2418
2991
  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
2992
  readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
@@ -2426,6 +2999,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2426
2999
  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
3000
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2428
3001
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3002
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2429
3003
  }, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
2430
3004
  readonly default: v.CustomSchema<(resolvedOptions: {
2431
3005
  label: string;
@@ -2444,6 +3018,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2444
3018
  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
3019
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2446
3020
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3021
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2447
3022
  }, undefined>, v.ObjectSchema<{
2448
3023
  readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
2449
3024
  label: string;
@@ -2462,6 +3037,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2462
3037
  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
3038
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2464
3039
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3040
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2465
3041
  }, undefined>], undefined>, v.ObjectSchema<{
2466
3042
  readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
2467
3043
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
@@ -2469,6 +3045,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2469
3045
  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
3046
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2471
3047
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3048
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2472
3049
  }, undefined>, v.ObjectSchema<{
2473
3050
  readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
2474
3051
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
@@ -2476,6 +3053,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2476
3053
  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
3054
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2478
3055
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3056
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2479
3057
  }, undefined>, v.ObjectSchema<{
2480
3058
  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
3059
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
@@ -2483,6 +3061,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2483
3061
  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
3062
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2485
3063
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3064
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2486
3065
  }, undefined>, v.ObjectSchema<{
2487
3066
  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
3067
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
@@ -2490,6 +3069,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2490
3069
  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
3070
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2492
3071
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3072
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2493
3073
  }, undefined>, v.ObjectSchema<{
2494
3074
  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
3075
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
@@ -2497,6 +3077,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2497
3077
  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
3078
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2499
3079
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3080
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2500
3081
  }, undefined>, v.ObjectSchema<{
2501
3082
  readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
2502
3083
  readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
@@ -2504,6 +3085,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2504
3085
  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
3086
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
2506
3087
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
3088
+ readonly requiredFor: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["save", "installation", "upgrade"], undefined>, undefined>, undefined>;
2507
3089
  }, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
2508
3090
  default: string;
2509
3091
  selectionMode: "single";
@@ -2516,6 +3098,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2516
3098
  env?: ("paas" | "saas")[] | undefined;
2517
3099
  label?: string | undefined;
2518
3100
  name: string;
3101
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2519
3102
  } | {
2520
3103
  default: string[];
2521
3104
  selectionMode: "multiple";
@@ -2528,6 +3111,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2528
3111
  env?: ("paas" | "saas")[] | undefined;
2529
3112
  label?: string | undefined;
2530
3113
  name: string;
3114
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2531
3115
  } | {
2532
3116
  default: (resolvedOptions: {
2533
3117
  label: string;
@@ -2546,6 +3130,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2546
3130
  env?: ("paas" | "saas")[] | undefined;
2547
3131
  label?: string | undefined;
2548
3132
  name: string;
3133
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2549
3134
  } | {
2550
3135
  default?: ((resolvedOptions: {
2551
3136
  label: string;
@@ -2564,6 +3149,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2564
3149
  env?: ("paas" | "saas")[] | undefined;
2565
3150
  label?: string | undefined;
2566
3151
  name: string;
3152
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2567
3153
  } | {
2568
3154
  default: string;
2569
3155
  type: "text";
@@ -2571,6 +3157,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2571
3157
  env?: ("paas" | "saas")[] | undefined;
2572
3158
  label?: string | undefined;
2573
3159
  name: string;
3160
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2574
3161
  } | {
2575
3162
  default: "";
2576
3163
  type: "password";
@@ -2578,6 +3165,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2578
3165
  env?: ("paas" | "saas")[] | undefined;
2579
3166
  label?: string | undefined;
2580
3167
  name: string;
3168
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2581
3169
  } | {
2582
3170
  default: string;
2583
3171
  type: "email";
@@ -2585,6 +3173,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2585
3173
  env?: ("paas" | "saas")[] | undefined;
2586
3174
  label?: string | undefined;
2587
3175
  name: string;
3176
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2588
3177
  } | {
2589
3178
  default: string;
2590
3179
  type: "url";
@@ -2592,6 +3181,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2592
3181
  env?: ("paas" | "saas")[] | undefined;
2593
3182
  label?: string | undefined;
2594
3183
  name: string;
3184
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2595
3185
  } | {
2596
3186
  default: string;
2597
3187
  type: "tel";
@@ -2599,6 +3189,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2599
3189
  env?: ("paas" | "saas")[] | undefined;
2600
3190
  label?: string | undefined;
2601
3191
  name: string;
3192
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2602
3193
  } | {
2603
3194
  default: boolean;
2604
3195
  type: "boolean";
@@ -2606,6 +3197,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2606
3197
  env?: ("paas" | "saas")[] | undefined;
2607
3198
  label?: string | undefined;
2608
3199
  name: string;
3200
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
2609
3201
  })[], 1, "At least one configuration parameter is required">]>, readonly []>;
2610
3202
  }, undefined>, undefined>;
2611
3203
  readonly eventing: v.OptionalSchema<v.ObjectSchema<{
@@ -2771,7 +3363,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2771
3363
  }, undefined>;
2772
3364
  readonly webhooks: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2773
3365
  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`>]>;
3366
+ 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
3367
  readonly webhook: v.ObjectSchema<{
2776
3368
  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
3369
  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 +3444,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2852
3444
  value: string;
2853
3445
  }[] | undefined;
2854
3446
  hook_name: string;
2855
- method: "GET" | "POST" | "PUT" | "DELETE";
3447
+ method: "POST" | "PUT" | "DELETE" | "GET";
2856
3448
  priority?: number | undefined;
2857
3449
  required?: boolean | undefined;
2858
3450
  rules?: {
@@ -2885,7 +3477,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2885
3477
  value: string;
2886
3478
  }[] | undefined;
2887
3479
  hook_name: string;
2888
- method: "GET" | "POST" | "PUT" | "DELETE";
3480
+ method: "POST" | "PUT" | "DELETE" | "GET";
2889
3481
  priority?: number | undefined;
2890
3482
  required?: boolean | undefined;
2891
3483
  rules?: {
@@ -2911,4 +3503,4 @@ type CommerceAppConfig = v.InferInput<typeof CommerceAppConfigSchema>;
2911
3503
  type CommerceAppConfigOutputModel = v.InferOutput<typeof CommerceAppConfigSchema>;
2912
3504
  /** @internal Any commerce app config, input contract or validated output. */
2913
3505
  type AnyCommerceAppConfig = CommerceAppConfig | CommerceAppConfigOutputModel;
2914
- export { CommerceAppConfigSchemas as a, CommerceAppConfigDomain as i, CommerceAppConfig as n, getConfigDomains as o, CommerceAppConfigOutputModel as r, hasConfigDomain as s, AnyCommerceAppConfig as t };
3506
+ export { CommerceAppConfigDomain as a, hasConfigDomain as c, COMMERCE_APP_CONFIG_DOMAINS as i, CommerceAppConfig as n, CommerceAppConfigSchemas as o, CommerceAppConfigOutputModel as r, getConfigDomains as s, AnyCommerceAppConfig as t };