@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
@@ -35,6 +35,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
35
35
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
36
36
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
37
37
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
38
+ 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>;
38
39
  }, undefined>, v.ObjectSchema<{
39
40
  readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
40
41
  readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
@@ -46,36 +47,49 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
46
47
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
47
48
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
48
49
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
50
+ 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>;
49
51
  }, undefined>], undefined>, v.ObjectSchema<{
50
52
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
51
53
  readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
52
54
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
53
55
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
54
56
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
57
+ 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>;
55
58
  }, undefined>, v.ObjectSchema<{
56
59
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
57
60
  readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
58
61
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
59
62
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
60
63
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
64
+ 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>;
61
65
  }, undefined>, v.ObjectSchema<{
62
66
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
63
67
  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>, "">;
64
68
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
65
69
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
66
70
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
71
+ 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>;
67
72
  }, undefined>, v.ObjectSchema<{
68
73
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
69
74
  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>, "">;
70
75
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
71
76
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
72
77
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
78
+ 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>;
73
79
  }, undefined>, v.ObjectSchema<{
74
80
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
75
81
  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>, "">;
76
82
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
77
83
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
78
84
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
85
+ 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>;
86
+ }, undefined>, v.ObjectSchema<{
87
+ readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
88
+ readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
89
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
90
+ readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
91
+ readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
92
+ 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>;
79
93
  }, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
80
94
  type: "list";
81
95
  selectionMode: "single";
@@ -87,6 +101,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
87
101
  name: string;
88
102
  label?: string | undefined;
89
103
  description?: string | undefined;
104
+ env?: ("paas" | "saas")[] | undefined;
90
105
  } | {
91
106
  type: "list";
92
107
  selectionMode: "multiple";
@@ -98,51 +113,67 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
98
113
  name: string;
99
114
  label?: string | undefined;
100
115
  description?: string | undefined;
116
+ env?: ("paas" | "saas")[] | undefined;
101
117
  } | {
102
118
  type: "text";
103
119
  default: string;
104
120
  name: string;
105
121
  label?: string | undefined;
106
122
  description?: string | undefined;
123
+ env?: ("paas" | "saas")[] | undefined;
107
124
  } | {
108
125
  type: "password";
109
126
  default: "";
110
127
  name: string;
111
128
  label?: string | undefined;
112
129
  description?: string | undefined;
130
+ env?: ("paas" | "saas")[] | undefined;
113
131
  } | {
114
132
  type: "email";
115
133
  default: string;
116
134
  name: string;
117
135
  label?: string | undefined;
118
136
  description?: string | undefined;
137
+ env?: ("paas" | "saas")[] | undefined;
119
138
  } | {
120
139
  type: "url";
121
140
  default: string;
122
141
  name: string;
123
142
  label?: string | undefined;
124
143
  description?: string | undefined;
144
+ env?: ("paas" | "saas")[] | undefined;
125
145
  } | {
126
146
  type: "tel";
127
147
  default: string;
128
148
  name: string;
129
149
  label?: string | undefined;
130
150
  description?: string | undefined;
151
+ env?: ("paas" | "saas")[] | undefined;
152
+ } | {
153
+ type: "boolean";
154
+ default: boolean;
155
+ name: string;
156
+ label?: string | undefined;
157
+ description?: string | undefined;
158
+ env?: ("paas" | "saas")[] | undefined;
131
159
  })[], 1, "At least one configuration parameter is required">]>, readonly []>;
132
160
  }, undefined>, undefined>;
133
161
  readonly eventing: v.OptionalSchema<v.ObjectSchema<{
134
162
  readonly commerce: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
135
163
  readonly provider: v.ObjectSchema<{
136
- 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">]>;
137
- 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">]>;
164
+ 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">]>;
165
+ 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">]>;
138
166
  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>;
139
167
  }, undefined>;
140
168
  readonly events: v.ArraySchema<v.ObjectSchema<{
141
169
  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">]>;
142
- readonly fields: v.ArraySchema<v.ObjectSchema<{
170
+ readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
143
171
  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 \"*\"">]>;
144
172
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
145
- }, undefined>, "Expected an array of event field objects with a 'name' property">;
173
+ }, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
174
+ name: string;
175
+ source?: string | undefined;
176
+ }[], 1, "The Commerce event configuration must define at least one field">]>;
146
177
  readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
147
178
  readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
148
179
  readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
@@ -152,34 +183,229 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
152
183
  readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
153
184
  readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
154
185
  readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
155
- 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">]>;
156
- 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">]>;
186
+ 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">]>;
187
+ 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">]>;
157
188
  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>">;
158
189
  }, undefined>, "Expected an array of Commerce events">;
159
190
  }, undefined>, "Expected an array of Commerce event sources">, undefined>;
160
191
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
161
192
  readonly provider: v.ObjectSchema<{
162
- 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">]>;
163
- 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">]>;
193
+ 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">]>;
194
+ 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">]>;
164
195
  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>;
165
196
  }, undefined>;
166
197
  readonly events: v.ArraySchema<v.ObjectSchema<{
167
198
  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">]>;
168
- 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">]>;
169
- 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">]>;
199
+ 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">]>;
200
+ 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">]>;
170
201
  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>">;
171
202
  }, undefined>, "Expected an array of external events">;
172
203
  }, undefined>, "Expected an array of external event sources">, undefined>;
173
204
  }, undefined>, undefined>;
174
205
  readonly adminUiSdk: v.OptionalSchema<v.ObjectSchema<{
175
206
  readonly registration: v.ObjectSchema<{
176
- readonly menuItems: v.ArraySchema<v.ObjectSchema<{
177
- readonly id: v.StringSchema<undefined>;
178
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
179
- readonly parent: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
207
+ readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
208
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
209
+ 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>;
210
+ 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>;
180
211
  readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
181
- readonly sandbox: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
182
- readonly isSection: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
212
+ readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
213
+ 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>;
214
+ }, undefined>, undefined>, undefined>;
215
+ readonly order: v.OptionalSchema<v.ObjectSchema<{
216
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
217
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
218
+ 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>;
219
+ 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>;
220
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
221
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
222
+ 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>;
223
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
224
+ 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>;
225
+ 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>;
226
+ }, undefined>, undefined>;
227
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
228
+ } & {
229
+ 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>;
230
+ }, undefined>, v.PipeItem<{
231
+ displayIframe?: boolean | undefined;
232
+ timeout?: number | undefined;
233
+ sandbox?: string | undefined;
234
+ actionId: string;
235
+ label: string;
236
+ title?: string | undefined;
237
+ confirm?: {
238
+ title?: string | undefined;
239
+ message?: string | undefined;
240
+ } | undefined;
241
+ path: string;
242
+ selectionLimit?: number | undefined;
243
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
244
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
245
+ readonly data: v.ObjectSchema<{
246
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
247
+ }, undefined>;
248
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
249
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
250
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
251
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
252
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
253
+ }, undefined>, undefined>, v.MinLengthAction<{
254
+ label: string;
255
+ columnId: string;
256
+ type: "string" | "boolean" | "date" | "float" | "integer";
257
+ align: "left" | "right" | "center";
258
+ }[], 1, "At least one grid column property is required">]>;
259
+ }, undefined>, undefined>;
260
+ readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
261
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
262
+ 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>;
263
+ 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>;
264
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
265
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
266
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
267
+ 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>;
268
+ }, undefined>, undefined>;
269
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
270
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
271
+ 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>;
272
+ }, undefined>, v.PipeItem<{
273
+ displayIframe?: boolean | undefined;
274
+ timeout?: number | undefined;
275
+ sandbox?: string | undefined;
276
+ buttonId: string;
277
+ label: string;
278
+ confirm?: {
279
+ message?: string | undefined;
280
+ } | undefined;
281
+ path: string;
282
+ level?: 0 | 1 | -1 | undefined;
283
+ sortOrder?: number | undefined;
284
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
285
+ readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
286
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
287
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
288
+ readonly value: v.NumberSchema<"Custom fee value must be a number">;
289
+ readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
290
+ readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
291
+ readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
292
+ }, undefined>, undefined>, undefined>;
293
+ }, undefined>, undefined>;
294
+ readonly product: v.OptionalSchema<v.ObjectSchema<{
295
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
296
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
297
+ 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>;
298
+ 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>;
299
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
300
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
301
+ 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>;
302
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
303
+ 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>;
304
+ 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>;
305
+ }, undefined>, undefined>;
306
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
307
+ } & {
308
+ 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>;
309
+ }, undefined>, v.PipeItem<{
310
+ displayIframe?: boolean | undefined;
311
+ timeout?: number | undefined;
312
+ sandbox?: string | undefined;
313
+ actionId: string;
314
+ label: string;
315
+ title?: string | undefined;
316
+ confirm?: {
317
+ title?: string | undefined;
318
+ message?: string | undefined;
319
+ } | undefined;
320
+ path: string;
321
+ productSelectLimit?: number | undefined;
322
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
323
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
324
+ readonly data: v.ObjectSchema<{
325
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
326
+ }, undefined>;
327
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
328
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
329
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
330
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
331
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
332
+ }, undefined>, undefined>, v.MinLengthAction<{
333
+ label: string;
334
+ columnId: string;
335
+ type: "string" | "boolean" | "date" | "float" | "integer";
336
+ align: "left" | "right" | "center";
337
+ }[], 1, "At least one grid column property is required">]>;
338
+ }, undefined>, undefined>;
339
+ }, undefined>, undefined>;
340
+ readonly customer: v.OptionalSchema<v.ObjectSchema<{
341
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
342
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
343
+ 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>;
344
+ 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>;
345
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
346
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
347
+ 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>;
348
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
349
+ 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>;
350
+ 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>;
351
+ }, undefined>, undefined>;
352
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
353
+ } & {
354
+ 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>;
355
+ }, undefined>, v.PipeItem<{
356
+ displayIframe?: boolean | undefined;
357
+ timeout?: number | undefined;
358
+ sandbox?: string | undefined;
359
+ actionId: string;
360
+ label: string;
361
+ title?: string | undefined;
362
+ confirm?: {
363
+ title?: string | undefined;
364
+ message?: string | undefined;
365
+ } | undefined;
366
+ path: string;
367
+ customerSelectLimit?: number | undefined;
368
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
369
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
370
+ readonly data: v.ObjectSchema<{
371
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
372
+ }, undefined>;
373
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
374
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
375
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
376
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
377
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
378
+ }, undefined>, undefined>, v.MinLengthAction<{
379
+ label: string;
380
+ columnId: string;
381
+ type: "string" | "boolean" | "date" | "float" | "integer";
382
+ align: "left" | "right" | "center";
383
+ }[], 1, "At least one grid column property is required">]>;
384
+ }, undefined>, undefined>;
385
+ }, undefined>, undefined>;
386
+ readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
387
+ readonly massActions: v.OptionalSchema<v.ObjectSchema<{
388
+ readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
389
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
390
+ 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>;
391
+ 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>;
392
+ }, undefined>, undefined>, undefined>;
393
+ readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
394
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
395
+ 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>;
396
+ 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>;
397
+ }, undefined>, undefined>, undefined>;
398
+ readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
399
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
400
+ 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>;
401
+ 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>;
402
+ }, undefined>, undefined>, undefined>;
403
+ }, undefined>, undefined>;
404
+ readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
405
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
406
+ 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>;
407
+ 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>;
408
+ }, undefined>, undefined>, undefined>;
183
409
  }, undefined>, undefined>;
184
410
  }, undefined>;
185
411
  }, undefined>, undefined>;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright 2026 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */
14
+
15
+ //#region \0rolldown/runtime.js
16
+ var __create = Object.create;
17
+ var __defProp = Object.defineProperty;
18
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
19
+ var __getOwnPropNames = Object.getOwnPropertyNames;
20
+ var __getProtoOf = Object.getPrototypeOf;
21
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
22
+ var __copyProps = (to, from, except, desc) => {
23
+ if (from && typeof from === "object" || typeof from === "function") {
24
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
25
+ key = keys[i];
26
+ if (!__hasOwnProp.call(to, key) && key !== except) {
27
+ __defProp(to, key, {
28
+ get: ((k) => from[k]).bind(null, key),
29
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
30
+ });
31
+ }
32
+ }
33
+ }
34
+ return to;
35
+ };
36
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
37
+ value: mod,
38
+ enumerable: true
39
+ }) : target, mod));
40
+
41
+ //#endregion
42
+
43
+ Object.defineProperty(exports, '__toESM', {
44
+ enumerable: true,
45
+ get: function () {
46
+ return __toESM;
47
+ }
48
+ });