@adobe/aio-commerce-lib-app 1.3.1 → 1.5.0

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 (62) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/cjs/actions/app-config.cjs +3 -3
  3. package/dist/cjs/actions/app-config.d.cts +1 -1
  4. package/dist/cjs/actions/config.cjs +31 -9
  5. package/dist/cjs/actions/installation.cjs +16 -13
  6. package/dist/cjs/actions/installation.d.cts +2 -2
  7. package/dist/cjs/actions/registration.cjs +41 -0
  8. package/dist/cjs/actions/registration.d.cts +33 -0
  9. package/dist/cjs/actions/scope-tree.cjs +5 -4
  10. package/dist/cjs/admin-ui-sdk-BiSopnKI.d.cts +665 -0
  11. package/dist/cjs/{app-DcQMhW2N.d.cts → app-C6kImBl7.d.cts} +242 -16
  12. package/dist/cjs/chunk-DS2yp5vX.cjs +48 -0
  13. package/dist/cjs/commands/index.cjs +582 -321
  14. package/dist/cjs/commands/templates/admin-ui-sdk/registration.js.template +20 -0
  15. package/dist/cjs/config/index.cjs +4 -3
  16. package/dist/cjs/config/index.d.cts +558 -62
  17. package/dist/cjs/{config-BppBKCFj.cjs → config-ct-qMOGj.cjs} +56 -25
  18. package/dist/cjs/{error-Dn7ool6k.cjs → error-C5LNOZ4f.cjs} +1 -1
  19. package/dist/cjs/{index-BVwQk9bx.d.cts → index-B5WKJ3hJ.d.cts} +20 -174
  20. package/dist/cjs/{logging-4s36JTiN.cjs → logging-BTevALnL.cjs} +2 -2
  21. package/dist/cjs/management/index.cjs +1 -1
  22. package/dist/cjs/management/index.d.cts +3 -2
  23. package/dist/cjs/{management-C6xG5bfl.cjs → management-D1QXg4YU.cjs} +128 -75
  24. package/dist/cjs/{router-KeQRduO3.cjs → router-CFErodHU.cjs} +2 -2
  25. package/dist/cjs/{schemas-nkIxa8sL.cjs → schemas-CukVpc19.cjs} +2 -34
  26. package/dist/cjs/step-CWYnKbga.d.cts +187 -0
  27. package/dist/cjs/{validate-CeUCT_7k.cjs → validate-b_bI4mDb.cjs} +4 -3
  28. package/dist/cjs/{webhooks-CLtDxwMa.cjs → webhooks-DS1BtgED.cjs} +157 -17
  29. package/dist/es/actions/app-config.d.mts +1 -1
  30. package/dist/es/actions/app-config.mjs +1 -1
  31. package/dist/es/actions/config.mjs +28 -7
  32. package/dist/es/actions/installation.d.mts +2 -2
  33. package/dist/es/actions/installation.mjs +12 -10
  34. package/dist/es/actions/registration.d.mts +33 -0
  35. package/dist/es/actions/registration.mjs +39 -0
  36. package/dist/es/actions/scope-tree.mjs +1 -1
  37. package/dist/es/admin-ui-sdk-CCo2SWiL.d.mts +667 -0
  38. package/dist/es/{app-DJr-mN9d.d.mts → app-DcY6dJiQ.d.mts} +242 -16
  39. package/dist/es/commands/index.mjs +575 -316
  40. package/dist/es/commands/templates/admin-ui-sdk/registration.js.template +20 -0
  41. package/dist/es/config/index.d.mts +558 -62
  42. package/dist/es/config/index.mjs +4 -4
  43. package/dist/es/{config-BohwKkQS.mjs → config-DGPFTk6w.mjs} +51 -20
  44. package/dist/es/{index-BENO5T7n.d.mts → index-CCov0odd.d.mts} +20 -174
  45. package/dist/es/management/index.d.mts +3 -2
  46. package/dist/es/management/index.mjs +1 -1
  47. package/dist/es/{management-ByHvVJ12.mjs → management-CCsOfniv.mjs} +124 -71
  48. package/dist/es/step-0eI2x4C9.d.mts +187 -0
  49. package/dist/es/{validate-CqJdGzyZ.mjs → validate-Dn3lLTGj.mjs} +2 -2
  50. package/dist/es/{webhooks-CYo-pqbR.mjs → webhooks-Dhrkkip7.mjs} +155 -16
  51. package/package.json +15 -12
  52. /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/app-config.js.template +0 -0
  53. /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/custom-scripts.js.template +0 -0
  54. /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/installation.js.template +0 -0
  55. /package/dist/cjs/commands/{generate/actions/templates → templates}/business-configuration/config.js.template +0 -0
  56. /package/dist/cjs/commands/{generate/actions/templates → templates}/business-configuration/scope-tree.js.template +0 -0
  57. /package/dist/es/commands/{generate/actions/templates → templates}/app-management/app-config.js.template +0 -0
  58. /package/dist/es/commands/{generate/actions/templates → templates}/app-management/custom-scripts.js.template +0 -0
  59. /package/dist/es/commands/{generate/actions/templates → templates}/app-management/installation.js.template +0 -0
  60. /package/dist/es/commands/{generate/actions/templates → templates}/business-configuration/config.js.template +0 -0
  61. /package/dist/es/commands/{generate/actions/templates → templates}/business-configuration/scope-tree.js.template +0 -0
  62. /package/dist/es/{schemas-CVXHgUhv.mjs → schemas-DOcnD16x.mjs} +0 -0
@@ -12,7 +12,8 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-DJr-mN9d.mjs";
15
+ import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-DcY6dJiQ.mjs";
16
+ import { a as CustomerMassAction, c as OrderMassAction, d as hasAdminUiSdk, i as CustomFee, l as OrderViewButton, n as AdminUiSdkRegistration, o as GridColumns, r as BannerNotification, s as MenuItem, t as AdminUiSdkConfiguration, u as ProductMassAction } from "../admin-ui-sdk-CCo2SWiL.mjs";
16
17
  import * as v from "valibot";
17
18
  import { Get, SetRequiredDeep } from "type-fest";
18
19
 
@@ -50,6 +51,7 @@ declare function defineConfig(config: CommerceAppConfig): {
50
51
  name: string;
51
52
  label?: string | undefined;
52
53
  description?: string | undefined;
54
+ env?: ("paas" | "saas")[] | undefined;
53
55
  } | {
54
56
  type: "list";
55
57
  selectionMode: "multiple";
@@ -61,36 +63,49 @@ declare function defineConfig(config: CommerceAppConfig): {
61
63
  name: string;
62
64
  label?: string | undefined;
63
65
  description?: string | undefined;
66
+ env?: ("paas" | "saas")[] | undefined;
64
67
  } | {
65
68
  type: "text";
66
69
  default?: string | undefined;
67
70
  name: string;
68
71
  label?: string | undefined;
69
72
  description?: string | undefined;
73
+ env?: ("paas" | "saas")[] | undefined;
70
74
  } | {
71
75
  type: "password";
72
76
  default?: "" | undefined;
73
77
  name: string;
74
78
  label?: string | undefined;
75
79
  description?: string | undefined;
80
+ env?: ("paas" | "saas")[] | undefined;
76
81
  } | {
77
82
  type: "email";
78
83
  default?: string | undefined;
79
84
  name: string;
80
85
  label?: string | undefined;
81
86
  description?: string | undefined;
87
+ env?: ("paas" | "saas")[] | undefined;
82
88
  } | {
83
89
  type: "url";
84
90
  default?: string | undefined;
85
91
  name: string;
86
92
  label?: string | undefined;
87
93
  description?: string | undefined;
94
+ env?: ("paas" | "saas")[] | undefined;
88
95
  } | {
89
96
  type: "tel";
90
97
  default?: string | undefined;
91
98
  name: string;
92
99
  label?: string | undefined;
93
100
  description?: string | undefined;
101
+ env?: ("paas" | "saas")[] | undefined;
102
+ } | {
103
+ type: "boolean";
104
+ default?: boolean | undefined;
105
+ name: string;
106
+ label?: string | undefined;
107
+ description?: string | undefined;
108
+ env?: ("paas" | "saas")[] | undefined;
94
109
  })[] | undefined;
95
110
  } | undefined;
96
111
  eventing?: {
@@ -136,14 +151,140 @@ declare function defineConfig(config: CommerceAppConfig): {
136
151
  } | undefined;
137
152
  adminUiSdk?: {
138
153
  registration: {
139
- menuItems: {
154
+ menuItems?: {
140
155
  id: string;
141
156
  title?: string | undefined;
142
157
  parent?: string | undefined;
143
158
  sortOrder?: number | undefined;
144
- sandbox?: string | undefined;
145
159
  isSection?: boolean | undefined;
146
- }[];
160
+ sandbox?: string | undefined;
161
+ }[] | undefined;
162
+ order?: {
163
+ massActions?: {
164
+ displayIframe?: boolean | undefined;
165
+ timeout?: number | undefined;
166
+ sandbox?: string | undefined;
167
+ actionId: string;
168
+ label: string;
169
+ title?: string | undefined;
170
+ confirm?: {
171
+ title?: string | undefined;
172
+ message?: string | undefined;
173
+ } | undefined;
174
+ path: string;
175
+ selectionLimit?: number | undefined;
176
+ }[] | undefined;
177
+ gridColumns?: {
178
+ data: {
179
+ meshId: string;
180
+ };
181
+ properties: {
182
+ label: string;
183
+ columnId: string;
184
+ type: "string" | "boolean" | "date" | "float" | "integer";
185
+ align: "left" | "right" | "center";
186
+ }[];
187
+ } | undefined;
188
+ viewButtons?: {
189
+ displayIframe?: boolean | undefined;
190
+ timeout?: number | undefined;
191
+ sandbox?: string | undefined;
192
+ buttonId: string;
193
+ label: string;
194
+ confirm?: {
195
+ message?: string | undefined;
196
+ } | undefined;
197
+ path: string;
198
+ level?: 0 | 1 | -1 | undefined;
199
+ sortOrder?: number | undefined;
200
+ }[] | undefined;
201
+ customFees?: {
202
+ id: string;
203
+ label: string;
204
+ value: number;
205
+ orderMinimumAmount?: number | undefined;
206
+ applyFeeOnLastInvoice?: boolean | undefined;
207
+ applyFeeOnLastCreditMemo?: boolean | undefined;
208
+ }[] | undefined;
209
+ } | undefined;
210
+ product?: {
211
+ massActions?: {
212
+ displayIframe?: boolean | undefined;
213
+ timeout?: number | undefined;
214
+ sandbox?: string | undefined;
215
+ actionId: string;
216
+ label: string;
217
+ title?: string | undefined;
218
+ confirm?: {
219
+ title?: string | undefined;
220
+ message?: string | undefined;
221
+ } | undefined;
222
+ path: string;
223
+ productSelectLimit?: number | undefined;
224
+ }[] | undefined;
225
+ gridColumns?: {
226
+ data: {
227
+ meshId: string;
228
+ };
229
+ properties: {
230
+ label: string;
231
+ columnId: string;
232
+ type: "string" | "boolean" | "date" | "float" | "integer";
233
+ align: "left" | "right" | "center";
234
+ }[];
235
+ } | undefined;
236
+ } | undefined;
237
+ customer?: {
238
+ massActions?: {
239
+ displayIframe?: boolean | undefined;
240
+ timeout?: number | undefined;
241
+ sandbox?: string | undefined;
242
+ actionId: string;
243
+ label: string;
244
+ title?: string | undefined;
245
+ confirm?: {
246
+ title?: string | undefined;
247
+ message?: string | undefined;
248
+ } | undefined;
249
+ path: string;
250
+ customerSelectLimit?: number | undefined;
251
+ }[] | undefined;
252
+ gridColumns?: {
253
+ data: {
254
+ meshId: string;
255
+ };
256
+ properties: {
257
+ label: string;
258
+ columnId: string;
259
+ type: "string" | "boolean" | "date" | "float" | "integer";
260
+ align: "left" | "right" | "center";
261
+ }[];
262
+ } | undefined;
263
+ } | undefined;
264
+ bannerNotification?: {
265
+ massActions?: {
266
+ order?: {
267
+ actionId: string;
268
+ successMessage?: string | undefined;
269
+ errorMessage?: string | undefined;
270
+ }[] | undefined;
271
+ product?: {
272
+ actionId: string;
273
+ successMessage?: string | undefined;
274
+ errorMessage?: string | undefined;
275
+ }[] | undefined;
276
+ customer?: {
277
+ actionId: string;
278
+ successMessage?: string | undefined;
279
+ errorMessage?: string | undefined;
280
+ }[] | undefined;
281
+ } | undefined;
282
+ orderViewButtons?: {
283
+ buttonId: string;
284
+ successMessage?: string | undefined;
285
+ errorMessage?: string | undefined;
286
+ }[] | undefined;
287
+ } | undefined;
147
288
  };
148
289
  } | undefined;
149
290
  installation?: {
@@ -283,6 +424,7 @@ declare function parseCommerceAppConfig(cwd?: string): Promise<{
283
424
  name: string;
284
425
  label?: string | undefined;
285
426
  description?: string | undefined;
427
+ env?: ("paas" | "saas")[] | undefined;
286
428
  } | {
287
429
  type: "list";
288
430
  selectionMode: "multiple";
@@ -294,36 +436,49 @@ declare function parseCommerceAppConfig(cwd?: string): Promise<{
294
436
  name: string;
295
437
  label?: string | undefined;
296
438
  description?: string | undefined;
439
+ env?: ("paas" | "saas")[] | undefined;
297
440
  } | {
298
441
  type: "text";
299
442
  default: string;
300
443
  name: string;
301
444
  label?: string | undefined;
302
445
  description?: string | undefined;
446
+ env?: ("paas" | "saas")[] | undefined;
303
447
  } | {
304
448
  type: "password";
305
449
  default: "";
306
450
  name: string;
307
451
  label?: string | undefined;
308
452
  description?: string | undefined;
453
+ env?: ("paas" | "saas")[] | undefined;
309
454
  } | {
310
455
  type: "email";
311
456
  default: string;
312
457
  name: string;
313
458
  label?: string | undefined;
314
459
  description?: string | undefined;
460
+ env?: ("paas" | "saas")[] | undefined;
315
461
  } | {
316
462
  type: "url";
317
463
  default: string;
318
464
  name: string;
319
465
  label?: string | undefined;
320
466
  description?: string | undefined;
467
+ env?: ("paas" | "saas")[] | undefined;
321
468
  } | {
322
469
  type: "tel";
323
470
  default: string;
324
471
  name: string;
325
472
  label?: string | undefined;
326
473
  description?: string | undefined;
474
+ env?: ("paas" | "saas")[] | undefined;
475
+ } | {
476
+ type: "boolean";
477
+ default: boolean;
478
+ name: string;
479
+ label?: string | undefined;
480
+ description?: string | undefined;
481
+ env?: ("paas" | "saas")[] | undefined;
327
482
  })[];
328
483
  } | undefined;
329
484
  eventing?: {
@@ -369,14 +524,89 @@ declare function parseCommerceAppConfig(cwd?: string): Promise<{
369
524
  } | undefined;
370
525
  adminUiSdk?: {
371
526
  registration: {
372
- menuItems: {
527
+ menuItems?: {
373
528
  id: string;
374
529
  title?: string | undefined;
375
530
  parent?: string | undefined;
376
531
  sortOrder?: number | undefined;
377
- sandbox?: string | undefined;
378
532
  isSection?: boolean | undefined;
379
- }[];
533
+ sandbox?: string | undefined;
534
+ }[] | undefined;
535
+ order?: {
536
+ massActions?: unknown[] | undefined;
537
+ gridColumns?: {
538
+ data: {
539
+ meshId: string;
540
+ };
541
+ properties: {
542
+ label: string;
543
+ columnId: string;
544
+ type: "string" | "boolean" | "date" | "float" | "integer";
545
+ align: "left" | "right" | "center";
546
+ }[];
547
+ } | undefined;
548
+ viewButtons?: unknown[] | undefined;
549
+ customFees?: {
550
+ id: string;
551
+ label: string;
552
+ value: number;
553
+ orderMinimumAmount?: number | undefined;
554
+ applyFeeOnLastInvoice?: boolean | undefined;
555
+ applyFeeOnLastCreditMemo?: boolean | undefined;
556
+ }[] | undefined;
557
+ } | undefined;
558
+ product?: {
559
+ massActions?: unknown[] | undefined;
560
+ gridColumns?: {
561
+ data: {
562
+ meshId: string;
563
+ };
564
+ properties: {
565
+ label: string;
566
+ columnId: string;
567
+ type: "string" | "boolean" | "date" | "float" | "integer";
568
+ align: "left" | "right" | "center";
569
+ }[];
570
+ } | undefined;
571
+ } | undefined;
572
+ customer?: {
573
+ massActions?: unknown[] | undefined;
574
+ gridColumns?: {
575
+ data: {
576
+ meshId: string;
577
+ };
578
+ properties: {
579
+ label: string;
580
+ columnId: string;
581
+ type: "string" | "boolean" | "date" | "float" | "integer";
582
+ align: "left" | "right" | "center";
583
+ }[];
584
+ } | undefined;
585
+ } | undefined;
586
+ bannerNotification?: {
587
+ massActions?: {
588
+ order?: {
589
+ actionId: string;
590
+ successMessage?: string | undefined;
591
+ errorMessage?: string | undefined;
592
+ }[] | undefined;
593
+ product?: {
594
+ actionId: string;
595
+ successMessage?: string | undefined;
596
+ errorMessage?: string | undefined;
597
+ }[] | undefined;
598
+ customer?: {
599
+ actionId: string;
600
+ successMessage?: string | undefined;
601
+ errorMessage?: string | undefined;
602
+ }[] | undefined;
603
+ } | undefined;
604
+ orderViewButtons?: {
605
+ buttonId: string;
606
+ successMessage?: string | undefined;
607
+ errorMessage?: string | undefined;
608
+ }[] | undefined;
609
+ } | undefined;
380
610
  };
381
611
  } | undefined;
382
612
  installation?: {
@@ -481,6 +711,7 @@ declare const CommerceAppConfigSchemas: {
481
711
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
482
712
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
483
713
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
714
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
484
715
  }, undefined>, v.ObjectSchema<{
485
716
  readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
486
717
  readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
@@ -492,36 +723,49 @@ declare const CommerceAppConfigSchemas: {
492
723
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
493
724
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
494
725
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
726
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
495
727
  }, undefined>], undefined>, v.ObjectSchema<{
496
728
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
497
729
  readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
498
730
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
499
731
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
500
732
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
733
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
501
734
  }, undefined>, v.ObjectSchema<{
502
735
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
503
736
  readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
504
737
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
505
738
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
506
739
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
740
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
507
741
  }, undefined>, v.ObjectSchema<{
508
742
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
509
743
  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>, "">;
510
744
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
511
745
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
512
746
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
747
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
513
748
  }, undefined>, v.ObjectSchema<{
514
749
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
515
750
  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>, "">;
516
751
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
517
752
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
518
753
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
754
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
519
755
  }, undefined>, v.ObjectSchema<{
520
756
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
521
757
  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>, "">;
522
758
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
523
759
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
524
760
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
761
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
762
+ }, undefined>, v.ObjectSchema<{
763
+ readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
764
+ readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
765
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
766
+ readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
767
+ readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
768
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
525
769
  }, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
526
770
  type: "list";
527
771
  selectionMode: "single";
@@ -533,6 +777,7 @@ declare const CommerceAppConfigSchemas: {
533
777
  name: string;
534
778
  label?: string | undefined;
535
779
  description?: string | undefined;
780
+ env?: ("paas" | "saas")[] | undefined;
536
781
  } | {
537
782
  type: "list";
538
783
  selectionMode: "multiple";
@@ -544,51 +789,67 @@ declare const CommerceAppConfigSchemas: {
544
789
  name: string;
545
790
  label?: string | undefined;
546
791
  description?: string | undefined;
792
+ env?: ("paas" | "saas")[] | undefined;
547
793
  } | {
548
794
  type: "text";
549
795
  default: string;
550
796
  name: string;
551
797
  label?: string | undefined;
552
798
  description?: string | undefined;
799
+ env?: ("paas" | "saas")[] | undefined;
553
800
  } | {
554
801
  type: "password";
555
802
  default: "";
556
803
  name: string;
557
804
  label?: string | undefined;
558
805
  description?: string | undefined;
806
+ env?: ("paas" | "saas")[] | undefined;
559
807
  } | {
560
808
  type: "email";
561
809
  default: string;
562
810
  name: string;
563
811
  label?: string | undefined;
564
812
  description?: string | undefined;
813
+ env?: ("paas" | "saas")[] | undefined;
565
814
  } | {
566
815
  type: "url";
567
816
  default: string;
568
817
  name: string;
569
818
  label?: string | undefined;
570
819
  description?: string | undefined;
820
+ env?: ("paas" | "saas")[] | undefined;
571
821
  } | {
572
822
  type: "tel";
573
823
  default: string;
574
824
  name: string;
575
825
  label?: string | undefined;
576
826
  description?: string | undefined;
827
+ env?: ("paas" | "saas")[] | undefined;
828
+ } | {
829
+ type: "boolean";
830
+ default: boolean;
831
+ name: string;
832
+ label?: string | undefined;
833
+ description?: string | undefined;
834
+ env?: ("paas" | "saas")[] | undefined;
577
835
  })[], 1, "At least one configuration parameter is required">]>, readonly []>;
578
836
  }, undefined>;
579
837
  readonly eventing: v.ObjectSchema<{
580
838
  readonly commerce: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
581
839
  readonly provider: v.ObjectSchema<{
582
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
583
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
840
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
841
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
584
842
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
585
843
  }, undefined>;
586
844
  readonly events: v.ArraySchema<v.ObjectSchema<{
587
845
  readonly 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, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
588
- readonly fields: v.ArraySchema<v.ObjectSchema<{
846
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
589
847
  readonly 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, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
590
848
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
591
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
849
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
850
+ name: string;
851
+ source?: string | undefined;
852
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
592
853
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
593
854
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
594
855
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -598,21 +859,21 @@ declare const CommerceAppConfigSchemas: {
598
859
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
599
860
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
600
861
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
601
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
602
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
862
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
863
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
603
864
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
604
865
  }, undefined>, "Expected an array of Commerce events">;
605
866
  }, undefined>, "Expected an array of Commerce event sources">, undefined>;
606
867
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
607
868
  readonly provider: v.ObjectSchema<{
608
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
609
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
869
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
870
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
610
871
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
611
872
  }, undefined>;
612
873
  readonly events: v.ArraySchema<v.ObjectSchema<{
613
874
  readonly 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, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
614
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
615
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
875
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
876
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
616
877
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
617
878
  }, undefined>, "Expected an array of external events">;
618
879
  }, undefined>, "Expected an array of external event sources">, undefined>;
@@ -774,6 +1035,7 @@ declare const CommerceAppConfigSchemas: {
774
1035
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
775
1036
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
776
1037
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1038
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
777
1039
  }, undefined>, v.ObjectSchema<{
778
1040
  readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
779
1041
  readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
@@ -785,36 +1047,49 @@ declare const CommerceAppConfigSchemas: {
785
1047
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
786
1048
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
787
1049
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1050
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
788
1051
  }, undefined>], undefined>, v.ObjectSchema<{
789
1052
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
790
1053
  readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
791
1054
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
792
1055
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
793
1056
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1057
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
794
1058
  }, undefined>, v.ObjectSchema<{
795
1059
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
796
1060
  readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
797
1061
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
798
1062
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
799
1063
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1064
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
800
1065
  }, undefined>, v.ObjectSchema<{
801
1066
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
802
1067
  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>, "">;
803
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">]>;
804
1069
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
805
1070
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1071
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
806
1072
  }, undefined>, v.ObjectSchema<{
807
1073
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
808
1074
  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>, "">;
809
1075
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
810
1076
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
811
1077
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1078
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
812
1079
  }, undefined>, v.ObjectSchema<{
813
1080
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
814
1081
  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>, "">;
815
1082
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
816
1083
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
817
1084
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1085
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
1086
+ }, undefined>, v.ObjectSchema<{
1087
+ readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
1088
+ readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
1089
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
1090
+ readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
1091
+ readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
1092
+ readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["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>;
818
1093
  }, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
819
1094
  type: "list";
820
1095
  selectionMode: "single";
@@ -826,6 +1101,7 @@ declare const CommerceAppConfigSchemas: {
826
1101
  name: string;
827
1102
  label?: string | undefined;
828
1103
  description?: string | undefined;
1104
+ env?: ("paas" | "saas")[] | undefined;
829
1105
  } | {
830
1106
  type: "list";
831
1107
  selectionMode: "multiple";
@@ -837,49 +1113,65 @@ declare const CommerceAppConfigSchemas: {
837
1113
  name: string;
838
1114
  label?: string | undefined;
839
1115
  description?: string | undefined;
1116
+ env?: ("paas" | "saas")[] | undefined;
840
1117
  } | {
841
1118
  type: "text";
842
1119
  default: string;
843
1120
  name: string;
844
1121
  label?: string | undefined;
845
1122
  description?: string | undefined;
1123
+ env?: ("paas" | "saas")[] | undefined;
846
1124
  } | {
847
1125
  type: "password";
848
1126
  default: "";
849
1127
  name: string;
850
1128
  label?: string | undefined;
851
1129
  description?: string | undefined;
1130
+ env?: ("paas" | "saas")[] | undefined;
852
1131
  } | {
853
1132
  type: "email";
854
1133
  default: string;
855
1134
  name: string;
856
1135
  label?: string | undefined;
857
1136
  description?: string | undefined;
1137
+ env?: ("paas" | "saas")[] | undefined;
858
1138
  } | {
859
1139
  type: "url";
860
1140
  default: string;
861
1141
  name: string;
862
1142
  label?: string | undefined;
863
1143
  description?: string | undefined;
1144
+ env?: ("paas" | "saas")[] | undefined;
864
1145
  } | {
865
1146
  type: "tel";
866
1147
  default: string;
867
1148
  name: string;
868
1149
  label?: string | undefined;
869
1150
  description?: string | undefined;
1151
+ env?: ("paas" | "saas")[] | undefined;
1152
+ } | {
1153
+ type: "boolean";
1154
+ default: boolean;
1155
+ name: string;
1156
+ label?: string | undefined;
1157
+ description?: string | undefined;
1158
+ env?: ("paas" | "saas")[] | undefined;
870
1159
  })[], 1, "At least one configuration parameter is required">]>;
871
1160
  readonly "eventing.commerce": v.ArraySchema<v.ObjectSchema<{
872
1161
  readonly provider: v.ObjectSchema<{
873
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
874
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1162
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1163
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
875
1164
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
876
1165
  }, undefined>;
877
1166
  readonly events: v.ArraySchema<v.ObjectSchema<{
878
1167
  readonly 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, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
879
- readonly fields: v.ArraySchema<v.ObjectSchema<{
1168
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
880
1169
  readonly 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, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
881
1170
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
882
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
1171
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
1172
+ name: string;
1173
+ source?: string | undefined;
1174
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
883
1175
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
884
1176
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
885
1177
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -889,21 +1181,21 @@ declare const CommerceAppConfigSchemas: {
889
1181
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
890
1182
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
891
1183
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
892
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
893
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1184
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1185
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
894
1186
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
895
1187
  }, undefined>, "Expected an array of Commerce events">;
896
1188
  }, undefined>, "Expected an array of Commerce event sources">;
897
1189
  readonly "eventing.external": v.ArraySchema<v.ObjectSchema<{
898
1190
  readonly provider: v.ObjectSchema<{
899
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
900
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1191
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1192
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
901
1193
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
902
1194
  }, undefined>;
903
1195
  readonly events: v.ArraySchema<v.ObjectSchema<{
904
1196
  readonly 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, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
905
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
906
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1197
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1198
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
907
1199
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
908
1200
  }, undefined>, "Expected an array of external events">;
909
1201
  }, undefined>, "Expected an array of external event sources">;
@@ -914,13 +1206,208 @@ declare const CommerceAppConfigSchemas: {
914
1206
  }, undefined>, "Expected an array of custom installation steps">;
915
1207
  readonly adminUiSdk: v.ObjectSchema<{
916
1208
  readonly registration: v.ObjectSchema<{
917
- readonly menuItems: v.ArraySchema<v.ObjectSchema<{
918
- readonly id: v.StringSchema<undefined>;
919
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
920
- readonly parent: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1209
+ readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1210
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1211
+ 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>;
1212
+ readonly parent: 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>;
921
1213
  readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
922
- readonly sandbox: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
923
- readonly isSection: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1214
+ readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1215
+ readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
1216
+ }, undefined>, undefined>, undefined>;
1217
+ readonly order: v.OptionalSchema<v.ObjectSchema<{
1218
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1219
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1220
+ readonly timeout: 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>;
1221
+ readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
1222
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1223
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1224
+ 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>;
1225
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
1226
+ 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>;
1227
+ 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>;
1228
+ }, undefined>, undefined>;
1229
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1230
+ } & {
1231
+ selectionLimit: 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>;
1232
+ }, undefined>, v.PipeItem<{
1233
+ displayIframe?: boolean | undefined;
1234
+ timeout?: number | undefined;
1235
+ sandbox?: string | undefined;
1236
+ actionId: string;
1237
+ label: string;
1238
+ title?: string | undefined;
1239
+ confirm?: {
1240
+ title?: string | undefined;
1241
+ message?: string | undefined;
1242
+ } | undefined;
1243
+ path: string;
1244
+ selectionLimit?: number | undefined;
1245
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
1246
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
1247
+ readonly data: v.ObjectSchema<{
1248
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1249
+ }, undefined>;
1250
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1251
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1252
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1253
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
1254
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
1255
+ }, undefined>, undefined>, v.MinLengthAction<{
1256
+ label: string;
1257
+ columnId: string;
1258
+ type: "string" | "boolean" | "date" | "float" | "integer";
1259
+ align: "left" | "right" | "center";
1260
+ }[], 1, "At least one grid column property is required">]>;
1261
+ }, undefined>, undefined>;
1262
+ readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1263
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1264
+ readonly timeout: 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>;
1265
+ readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
1266
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1267
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1268
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
1269
+ 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>;
1270
+ }, undefined>, undefined>;
1271
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1272
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
1273
+ 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>;
1274
+ }, undefined>, v.PipeItem<{
1275
+ displayIframe?: boolean | undefined;
1276
+ timeout?: number | undefined;
1277
+ sandbox?: string | undefined;
1278
+ buttonId: string;
1279
+ label: string;
1280
+ confirm?: {
1281
+ message?: string | undefined;
1282
+ } | undefined;
1283
+ path: string;
1284
+ level?: 0 | 1 | -1 | undefined;
1285
+ sortOrder?: number | undefined;
1286
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
1287
+ readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1288
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1289
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1290
+ readonly value: v.NumberSchema<"Custom fee value must be a number">;
1291
+ readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
1292
+ readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1293
+ readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1294
+ }, undefined>, undefined>, undefined>;
1295
+ }, undefined>, undefined>;
1296
+ readonly product: v.OptionalSchema<v.ObjectSchema<{
1297
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1298
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1299
+ readonly timeout: 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>;
1300
+ readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
1301
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1302
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1303
+ 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>;
1304
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
1305
+ 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>;
1306
+ 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>;
1307
+ }, undefined>, undefined>;
1308
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1309
+ } & {
1310
+ productSelectLimit: 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>;
1311
+ }, undefined>, v.PipeItem<{
1312
+ displayIframe?: boolean | undefined;
1313
+ timeout?: number | undefined;
1314
+ sandbox?: string | undefined;
1315
+ actionId: string;
1316
+ label: string;
1317
+ title?: string | undefined;
1318
+ confirm?: {
1319
+ title?: string | undefined;
1320
+ message?: string | undefined;
1321
+ } | undefined;
1322
+ path: string;
1323
+ productSelectLimit?: number | undefined;
1324
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
1325
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
1326
+ readonly data: v.ObjectSchema<{
1327
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1328
+ }, undefined>;
1329
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1330
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1331
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1332
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
1333
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
1334
+ }, undefined>, undefined>, v.MinLengthAction<{
1335
+ label: string;
1336
+ columnId: string;
1337
+ type: "string" | "boolean" | "date" | "float" | "integer";
1338
+ align: "left" | "right" | "center";
1339
+ }[], 1, "At least one grid column property is required">]>;
1340
+ }, undefined>, undefined>;
1341
+ }, undefined>, undefined>;
1342
+ readonly customer: v.OptionalSchema<v.ObjectSchema<{
1343
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1344
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1345
+ readonly timeout: 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>;
1346
+ readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
1347
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1348
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1349
+ 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>;
1350
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
1351
+ 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>;
1352
+ 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>;
1353
+ }, undefined>, undefined>;
1354
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1355
+ } & {
1356
+ customerSelectLimit: 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>;
1357
+ }, undefined>, v.PipeItem<{
1358
+ displayIframe?: boolean | undefined;
1359
+ timeout?: number | undefined;
1360
+ sandbox?: string | undefined;
1361
+ actionId: string;
1362
+ label: string;
1363
+ title?: string | undefined;
1364
+ confirm?: {
1365
+ title?: string | undefined;
1366
+ message?: string | undefined;
1367
+ } | undefined;
1368
+ path: string;
1369
+ customerSelectLimit?: number | undefined;
1370
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
1371
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
1372
+ readonly data: v.ObjectSchema<{
1373
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1374
+ }, undefined>;
1375
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1376
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1377
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1378
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
1379
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
1380
+ }, undefined>, undefined>, v.MinLengthAction<{
1381
+ label: string;
1382
+ columnId: string;
1383
+ type: "string" | "boolean" | "date" | "float" | "integer";
1384
+ align: "left" | "right" | "center";
1385
+ }[], 1, "At least one grid column property is required">]>;
1386
+ }, undefined>, undefined>;
1387
+ }, undefined>, undefined>;
1388
+ readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
1389
+ readonly massActions: v.OptionalSchema<v.ObjectSchema<{
1390
+ readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1391
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1392
+ readonly successMessage: 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>;
1393
+ readonly errorMessage: 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>;
1394
+ }, undefined>, undefined>, undefined>;
1395
+ readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1396
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1397
+ readonly successMessage: 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>;
1398
+ readonly errorMessage: 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>;
1399
+ }, undefined>, undefined>, undefined>;
1400
+ readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1401
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1402
+ readonly successMessage: 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>;
1403
+ readonly errorMessage: 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>;
1404
+ }, undefined>, undefined>, undefined>;
1405
+ }, undefined>, undefined>;
1406
+ readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1407
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1408
+ readonly successMessage: 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>;
1409
+ readonly errorMessage: 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>;
1410
+ }, undefined>, undefined>, undefined>;
924
1411
  }, undefined>, undefined>;
925
1412
  }, undefined>;
926
1413
  }, undefined>;
@@ -1033,17 +1520,20 @@ declare function hasBusinessConfigSchema(config: CommerceAppConfigOutputModel):
1033
1520
  //#region source/config/schema/eventing.d.ts
1034
1521
  /** Schema for event provider configuration */
1035
1522
  declare const ProviderSchema: v.ObjectSchema<{
1036
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1037
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1523
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1524
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
1038
1525
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
1039
1526
  }, undefined>;
1040
1527
  /** Schema for Commerce event configuration */
1041
1528
  declare const CommerceEventSchema: v.ObjectSchema<{
1042
1529
  readonly 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, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1043
- readonly fields: v.ArraySchema<v.ObjectSchema<{
1530
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1044
1531
  readonly 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, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
1045
1532
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
1046
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
1533
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
1534
+ name: string;
1535
+ source?: string | undefined;
1536
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
1047
1537
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1048
1538
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1049
1539
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -1053,30 +1543,33 @@ declare const CommerceEventSchema: v.ObjectSchema<{
1053
1543
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1054
1544
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1055
1545
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1056
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1057
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1546
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1547
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1058
1548
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1059
1549
  }, undefined>;
1060
1550
  /** Schema for external event configuration */
1061
1551
  declare const ExternalEventSchema: v.ObjectSchema<{
1062
1552
  readonly 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, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1063
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1064
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1553
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1554
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1065
1555
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1066
1556
  }, undefined>;
1067
1557
  /** Schema for Commerce event source configuration */
1068
1558
  declare const CommerceEventSourceSchema: v.ObjectSchema<{
1069
1559
  readonly provider: v.ObjectSchema<{
1070
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1071
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1560
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1561
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
1072
1562
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
1073
1563
  }, undefined>;
1074
1564
  readonly events: v.ArraySchema<v.ObjectSchema<{
1075
1565
  readonly 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, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1076
- readonly fields: v.ArraySchema<v.ObjectSchema<{
1566
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1077
1567
  readonly 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, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
1078
1568
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
1079
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
1569
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
1570
+ name: string;
1571
+ source?: string | undefined;
1572
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
1080
1573
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1081
1574
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1082
1575
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -1086,22 +1579,22 @@ declare const CommerceEventSourceSchema: v.ObjectSchema<{
1086
1579
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1087
1580
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1088
1581
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1089
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1090
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1582
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1583
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1091
1584
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1092
1585
  }, undefined>, "Expected an array of Commerce events">;
1093
1586
  }, undefined>;
1094
1587
  /** Schema for external event source configuration */
1095
1588
  declare const ExternalEventSourceSchema: v.ObjectSchema<{
1096
1589
  readonly provider: v.ObjectSchema<{
1097
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1098
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1590
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1591
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
1099
1592
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
1100
1593
  }, undefined>;
1101
1594
  readonly events: v.ArraySchema<v.ObjectSchema<{
1102
1595
  readonly 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, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1103
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1104
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1596
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1597
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1105
1598
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1106
1599
  }, undefined>, "Expected an array of external events">;
1107
1600
  }, undefined>;
@@ -1109,16 +1602,19 @@ declare const ExternalEventSourceSchema: v.ObjectSchema<{
1109
1602
  declare const EventingSchema: v.ObjectSchema<{
1110
1603
  readonly commerce: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1111
1604
  readonly provider: v.ObjectSchema<{
1112
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1113
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1605
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1606
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
1114
1607
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
1115
1608
  }, undefined>;
1116
1609
  readonly events: v.ArraySchema<v.ObjectSchema<{
1117
1610
  readonly 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, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1118
- readonly fields: v.ArraySchema<v.ObjectSchema<{
1611
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1119
1612
  readonly 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, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
1120
1613
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
1121
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
1614
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
1615
+ name: string;
1616
+ source?: string | undefined;
1617
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
1122
1618
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1123
1619
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1124
1620
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -1128,21 +1624,21 @@ declare const EventingSchema: v.ObjectSchema<{
1128
1624
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1129
1625
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1130
1626
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
1131
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1132
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1627
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1628
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1133
1629
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1134
1630
  }, undefined>, "Expected an array of Commerce events">;
1135
1631
  }, undefined>, "Expected an array of Commerce event sources">, undefined>;
1136
1632
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1137
1633
  readonly provider: v.ObjectSchema<{
1138
- 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.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1139
- readonly description: 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, "The provider description must not be longer than 255 characters">]>;
1634
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
1635
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
1140
1636
  readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
1141
1637
  }, undefined>;
1142
1638
  readonly events: v.ArraySchema<v.ObjectSchema<{
1143
1639
  readonly 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, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
1144
- 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.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1145
- readonly description: 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, "The event description must not be longer than 255 characters">]>;
1640
+ 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.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
1641
+ readonly description: 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, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
1146
1642
  readonly runtimeActions: v.ArraySchema<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\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
1147
1643
  }, undefined>, "Expected an array of external events">;
1148
1644
  }, undefined>, "Expected an array of external event sources">, undefined>;
@@ -1513,4 +2009,4 @@ type WebhooksConfig = CommerceAppConfigOutputModel & {
1513
2009
  */
1514
2010
  declare function hasWebhooks(config: CommerceAppConfigOutputModel): config is WebhooksConfig;
1515
2011
  //#endregion
1516
- export { type AppConfigWithBusinessConfig, type AppConfigWithBusinessConfigSchema, AppEvent, type ApplicationMetadata, type CommerceAppConfig, type CommerceAppConfigDomain, CommerceAppConfigSchemas, CommerceEvent, CommerceEventSource, CommerceEventSourceSchema, CommerceEventsConfig, EventProvider, EventingConfiguration, EventingSchema, EventsConfig, ExternalEvent, ExternalEventSource, ExternalEventSourceSchema, ExternalEventsConfig, WebhookDefinition, WebhookEntry, WebhookField, WebhookHeader, WebhookRule, WebhooksConfig, WebhooksConfiguration, WebhooksSchema, defineConfig, getConfigDomains, hasBusinessConfig, hasBusinessConfigSchema, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasMetadata, hasWebhooks, parseCommerceAppConfig, readCommerceAppConfig, resolveCommerceAppConfig, validateCommerceAppConfig, validateCommerceAppConfigDomain };
2012
+ export { type AdminUiSdkConfiguration, type AdminUiSdkRegistration, type AppConfigWithBusinessConfig, type AppConfigWithBusinessConfigSchema, AppEvent, type ApplicationMetadata, type BannerNotification, type CommerceAppConfig, type CommerceAppConfigDomain, CommerceAppConfigSchemas, CommerceEvent, CommerceEventSource, CommerceEventSourceSchema, CommerceEventsConfig, type CustomFee, type CustomerMassAction, EventProvider, EventingConfiguration, EventingSchema, EventsConfig, ExternalEvent, ExternalEventSource, ExternalEventSourceSchema, ExternalEventsConfig, type GridColumns, type MenuItem, type OrderMassAction, type OrderViewButton, type ProductMassAction, WebhookDefinition, WebhookEntry, WebhookField, WebhookHeader, WebhookRule, WebhooksConfig, WebhooksConfiguration, WebhooksSchema, defineConfig, getConfigDomains, hasAdminUiSdk, hasBusinessConfig, hasBusinessConfigSchema, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasMetadata, hasWebhooks, parseCommerceAppConfig, readCommerceAppConfig, resolveCommerceAppConfig, validateCommerceAppConfig, validateCommerceAppConfigDomain };