@adobe/aio-commerce-lib-app 1.3.0 → 1.4.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 +43 -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 -319
  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 -314
  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 +12 -9
  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
@@ -0,0 +1,665 @@
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
+ import { n as CommerceAppConfigOutputModel } from "./app-C6kImBl7.cjs";
16
+ import * as v from "valibot";
17
+ //#region source/management/installation/admin-ui-sdk/utils.d.ts
18
+ /** Config type when Admin UI SDK registration is configured. */
19
+ type AdminUiSdkConfig = CommerceAppConfigOutputModel & {
20
+ adminUiSdk: NonNullable<CommerceAppConfigOutputModel["adminUiSdk"]>;
21
+ };
22
+ //#endregion
23
+ //#region source/config/schema/admin-ui-sdk.d.ts
24
+ declare const GridColumnsSchema: v.ObjectSchema<{
25
+ readonly data: v.ObjectSchema<{
26
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
27
+ }, undefined>;
28
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
29
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
30
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
31
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
32
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
33
+ }, undefined>, undefined>, v.MinLengthAction<{
34
+ label: string;
35
+ columnId: string;
36
+ type: "string" | "boolean" | "date" | "float" | "integer";
37
+ align: "left" | "right" | "center";
38
+ }[], 1, "At least one grid column property is required">]>;
39
+ }, undefined>;
40
+ declare const OrderMassActionSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
41
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
42
+ 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>;
43
+ 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>;
44
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
45
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
46
+ 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>;
47
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
48
+ 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>;
49
+ 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>;
50
+ }, undefined>, undefined>;
51
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
52
+ } & {
53
+ 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>;
54
+ }, undefined>, v.PipeItem<{
55
+ displayIframe?: boolean | undefined;
56
+ timeout?: number | undefined;
57
+ sandbox?: string | undefined;
58
+ actionId: string;
59
+ label: string;
60
+ title?: string | undefined;
61
+ confirm?: {
62
+ title?: string | undefined;
63
+ message?: string | undefined;
64
+ } | undefined;
65
+ path: string;
66
+ selectionLimit?: number | undefined;
67
+ }, unknown, v.BaseIssue<unknown>>]>;
68
+ declare const ProductMassActionSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
69
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
70
+ 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>;
71
+ 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>;
72
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
73
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
74
+ 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>;
75
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
76
+ 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>;
77
+ 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>;
78
+ }, undefined>, undefined>;
79
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
80
+ } & {
81
+ 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>;
82
+ }, undefined>, v.PipeItem<{
83
+ displayIframe?: boolean | undefined;
84
+ timeout?: number | undefined;
85
+ sandbox?: string | undefined;
86
+ actionId: string;
87
+ label: string;
88
+ title?: string | undefined;
89
+ confirm?: {
90
+ title?: string | undefined;
91
+ message?: string | undefined;
92
+ } | undefined;
93
+ path: string;
94
+ productSelectLimit?: number | undefined;
95
+ }, unknown, v.BaseIssue<unknown>>]>;
96
+ declare const CustomerMassActionSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
97
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
98
+ 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>;
99
+ 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>;
100
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
101
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
102
+ 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>;
103
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
104
+ 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>;
105
+ 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>;
106
+ }, undefined>, undefined>;
107
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
108
+ } & {
109
+ 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>;
110
+ }, undefined>, v.PipeItem<{
111
+ displayIframe?: boolean | undefined;
112
+ timeout?: number | undefined;
113
+ sandbox?: string | undefined;
114
+ actionId: string;
115
+ label: string;
116
+ title?: string | undefined;
117
+ confirm?: {
118
+ title?: string | undefined;
119
+ message?: string | undefined;
120
+ } | undefined;
121
+ path: string;
122
+ customerSelectLimit?: number | undefined;
123
+ }, unknown, v.BaseIssue<unknown>>]>;
124
+ declare const OrderViewButtonSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
125
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
126
+ 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>;
127
+ 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>;
128
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
129
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
130
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
131
+ 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>;
132
+ }, undefined>, undefined>;
133
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
134
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
135
+ 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>;
136
+ }, undefined>, v.PipeItem<{
137
+ displayIframe?: boolean | undefined;
138
+ timeout?: number | undefined;
139
+ sandbox?: string | undefined;
140
+ buttonId: string;
141
+ label: string;
142
+ confirm?: {
143
+ message?: string | undefined;
144
+ } | undefined;
145
+ path: string;
146
+ level?: 0 | 1 | -1 | undefined;
147
+ sortOrder?: number | undefined;
148
+ }, unknown, v.BaseIssue<unknown>>]>;
149
+ declare const CustomFeeSchema: v.ObjectSchema<{
150
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
151
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
152
+ readonly value: v.NumberSchema<"Custom fee value must be a number">;
153
+ readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
154
+ readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
155
+ readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
156
+ }, undefined>;
157
+ declare const BannerNotificationSchema: v.ObjectSchema<{
158
+ readonly massActions: v.OptionalSchema<v.ObjectSchema<{
159
+ readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
160
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
161
+ 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>;
162
+ 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>;
163
+ }, undefined>, undefined>, undefined>;
164
+ readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
165
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
166
+ 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>;
167
+ 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>;
168
+ }, undefined>, undefined>, undefined>;
169
+ readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
170
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
171
+ 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>;
172
+ 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>;
173
+ }, undefined>, undefined>, undefined>;
174
+ }, undefined>, undefined>;
175
+ readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
176
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
177
+ 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>;
178
+ 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>;
179
+ }, undefined>, undefined>, undefined>;
180
+ }, undefined>;
181
+ declare const MenuItemSchema: v.ObjectSchema<{
182
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
183
+ 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>;
184
+ 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>;
185
+ readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
186
+ readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
187
+ 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>;
188
+ }, undefined>;
189
+ /**
190
+ * Schema for the Admin UI SDK registration parameters (for the `adminUiSdk.registration` config section).
191
+ * @see https://developer.adobe.com/commerce/extensibility/admin-ui-sdk/extension-points/ for more details.
192
+ */
193
+ declare const AdminUiSdkRegistrationSchema: v.ObjectSchema<{
194
+ readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
195
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
196
+ 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>;
197
+ 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>;
198
+ readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
199
+ readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
200
+ 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>;
201
+ }, undefined>, undefined>, undefined>;
202
+ readonly order: v.OptionalSchema<v.ObjectSchema<{
203
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
204
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
205
+ 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>;
206
+ 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>;
207
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
208
+ readonly label: 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 confirm: v.OptionalSchema<v.ObjectSchema<{
211
+ 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>;
212
+ 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>;
213
+ }, undefined>, undefined>;
214
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
215
+ } & {
216
+ 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>;
217
+ }, undefined>, v.PipeItem<{
218
+ displayIframe?: boolean | undefined;
219
+ timeout?: number | undefined;
220
+ sandbox?: string | undefined;
221
+ actionId: string;
222
+ label: string;
223
+ title?: string | undefined;
224
+ confirm?: {
225
+ title?: string | undefined;
226
+ message?: string | undefined;
227
+ } | undefined;
228
+ path: string;
229
+ selectionLimit?: number | undefined;
230
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
231
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
232
+ readonly data: v.ObjectSchema<{
233
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
234
+ }, undefined>;
235
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
236
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
237
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
238
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
239
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
240
+ }, undefined>, undefined>, v.MinLengthAction<{
241
+ label: string;
242
+ columnId: string;
243
+ type: "string" | "boolean" | "date" | "float" | "integer";
244
+ align: "left" | "right" | "center";
245
+ }[], 1, "At least one grid column property is required">]>;
246
+ }, undefined>, undefined>;
247
+ readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
248
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
249
+ 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>;
250
+ 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>;
251
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
252
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
253
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
254
+ 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>;
255
+ }, undefined>, undefined>;
256
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
257
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
258
+ 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>;
259
+ }, undefined>, v.PipeItem<{
260
+ displayIframe?: boolean | undefined;
261
+ timeout?: number | undefined;
262
+ sandbox?: string | undefined;
263
+ buttonId: string;
264
+ label: string;
265
+ confirm?: {
266
+ message?: string | undefined;
267
+ } | undefined;
268
+ path: string;
269
+ level?: 0 | 1 | -1 | undefined;
270
+ sortOrder?: number | undefined;
271
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
272
+ readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
273
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
274
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
275
+ readonly value: v.NumberSchema<"Custom fee value must be a number">;
276
+ readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
277
+ readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
278
+ readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
279
+ }, undefined>, undefined>, undefined>;
280
+ }, undefined>, undefined>;
281
+ readonly product: v.OptionalSchema<v.ObjectSchema<{
282
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
283
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
284
+ 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>;
285
+ 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>;
286
+ readonly actionId: 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 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>;
289
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
290
+ 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>;
291
+ 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>;
292
+ }, undefined>, undefined>;
293
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
294
+ } & {
295
+ 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>;
296
+ }, undefined>, v.PipeItem<{
297
+ displayIframe?: boolean | undefined;
298
+ timeout?: number | undefined;
299
+ sandbox?: string | undefined;
300
+ actionId: string;
301
+ label: string;
302
+ title?: string | undefined;
303
+ confirm?: {
304
+ title?: string | undefined;
305
+ message?: string | undefined;
306
+ } | undefined;
307
+ path: string;
308
+ productSelectLimit?: number | undefined;
309
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
310
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
311
+ readonly data: v.ObjectSchema<{
312
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
313
+ }, undefined>;
314
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
315
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
316
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
317
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
318
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
319
+ }, undefined>, undefined>, v.MinLengthAction<{
320
+ label: string;
321
+ columnId: string;
322
+ type: "string" | "boolean" | "date" | "float" | "integer";
323
+ align: "left" | "right" | "center";
324
+ }[], 1, "At least one grid column property is required">]>;
325
+ }, undefined>, undefined>;
326
+ }, undefined>, undefined>;
327
+ readonly customer: v.OptionalSchema<v.ObjectSchema<{
328
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
329
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
330
+ 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>;
331
+ 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>;
332
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
333
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
334
+ 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>;
335
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
336
+ 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>;
337
+ 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>;
338
+ }, undefined>, undefined>;
339
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
340
+ } & {
341
+ 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>;
342
+ }, undefined>, v.PipeItem<{
343
+ displayIframe?: boolean | undefined;
344
+ timeout?: number | undefined;
345
+ sandbox?: string | undefined;
346
+ actionId: string;
347
+ label: string;
348
+ title?: string | undefined;
349
+ confirm?: {
350
+ title?: string | undefined;
351
+ message?: string | undefined;
352
+ } | undefined;
353
+ path: string;
354
+ customerSelectLimit?: number | undefined;
355
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
356
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
357
+ readonly data: v.ObjectSchema<{
358
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
359
+ }, undefined>;
360
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
361
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
362
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
363
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
364
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
365
+ }, undefined>, undefined>, v.MinLengthAction<{
366
+ label: string;
367
+ columnId: string;
368
+ type: "string" | "boolean" | "date" | "float" | "integer";
369
+ align: "left" | "right" | "center";
370
+ }[], 1, "At least one grid column property is required">]>;
371
+ }, undefined>, undefined>;
372
+ }, undefined>, undefined>;
373
+ readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
374
+ readonly massActions: v.OptionalSchema<v.ObjectSchema<{
375
+ readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
376
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
377
+ 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>;
378
+ 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>;
379
+ }, undefined>, undefined>, undefined>;
380
+ readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
381
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
382
+ 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>;
383
+ 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>;
384
+ }, undefined>, undefined>, undefined>;
385
+ readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
386
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
387
+ 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>;
388
+ 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>;
389
+ }, undefined>, undefined>, undefined>;
390
+ }, undefined>, undefined>;
391
+ readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
392
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
393
+ 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>;
394
+ 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>;
395
+ }, undefined>, undefined>, undefined>;
396
+ }, undefined>, undefined>;
397
+ }, undefined>;
398
+ /**
399
+ * Schema for Admin UI SDK configuration.
400
+ * @experimental
401
+ */
402
+ declare const AdminUiSdkSchema: v.ObjectSchema<{
403
+ readonly registration: v.ObjectSchema<{
404
+ readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
405
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
406
+ 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>;
407
+ 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>;
408
+ readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
409
+ readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
410
+ 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>;
411
+ }, undefined>, undefined>, undefined>;
412
+ readonly order: v.OptionalSchema<v.ObjectSchema<{
413
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
414
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
415
+ 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>;
416
+ 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>;
417
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
418
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
419
+ 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>;
420
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
421
+ 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>;
422
+ 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>;
423
+ }, undefined>, undefined>;
424
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
425
+ } & {
426
+ 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>;
427
+ }, undefined>, v.PipeItem<{
428
+ displayIframe?: boolean | undefined;
429
+ timeout?: number | undefined;
430
+ sandbox?: string | undefined;
431
+ actionId: string;
432
+ label: string;
433
+ title?: string | undefined;
434
+ confirm?: {
435
+ title?: string | undefined;
436
+ message?: string | undefined;
437
+ } | undefined;
438
+ path: string;
439
+ selectionLimit?: number | undefined;
440
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
441
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
442
+ readonly data: v.ObjectSchema<{
443
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
444
+ }, undefined>;
445
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
446
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
447
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
448
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
449
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
450
+ }, undefined>, undefined>, v.MinLengthAction<{
451
+ label: string;
452
+ columnId: string;
453
+ type: "string" | "boolean" | "date" | "float" | "integer";
454
+ align: "left" | "right" | "center";
455
+ }[], 1, "At least one grid column property is required">]>;
456
+ }, undefined>, undefined>;
457
+ readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
458
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
459
+ 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>;
460
+ 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>;
461
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
462
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
463
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
464
+ 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>;
465
+ }, undefined>, undefined>;
466
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
467
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
468
+ 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>;
469
+ }, undefined>, v.PipeItem<{
470
+ displayIframe?: boolean | undefined;
471
+ timeout?: number | undefined;
472
+ sandbox?: string | undefined;
473
+ buttonId: string;
474
+ label: string;
475
+ confirm?: {
476
+ message?: string | undefined;
477
+ } | undefined;
478
+ path: string;
479
+ level?: 0 | 1 | -1 | undefined;
480
+ sortOrder?: number | undefined;
481
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
482
+ readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
483
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
484
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
485
+ readonly value: v.NumberSchema<"Custom fee value must be a number">;
486
+ readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
487
+ readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
488
+ readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
489
+ }, undefined>, undefined>, undefined>;
490
+ }, undefined>, undefined>;
491
+ readonly product: v.OptionalSchema<v.ObjectSchema<{
492
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
493
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
494
+ 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>;
495
+ 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>;
496
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
497
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
498
+ 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>;
499
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
500
+ 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>;
501
+ 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>;
502
+ }, undefined>, undefined>;
503
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
504
+ } & {
505
+ 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>;
506
+ }, undefined>, v.PipeItem<{
507
+ displayIframe?: boolean | undefined;
508
+ timeout?: number | undefined;
509
+ sandbox?: string | undefined;
510
+ actionId: string;
511
+ label: string;
512
+ title?: string | undefined;
513
+ confirm?: {
514
+ title?: string | undefined;
515
+ message?: string | undefined;
516
+ } | undefined;
517
+ path: string;
518
+ productSelectLimit?: number | undefined;
519
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
520
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
521
+ readonly data: v.ObjectSchema<{
522
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
523
+ }, undefined>;
524
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
525
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
526
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
527
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
528
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
529
+ }, undefined>, undefined>, v.MinLengthAction<{
530
+ label: string;
531
+ columnId: string;
532
+ type: "string" | "boolean" | "date" | "float" | "integer";
533
+ align: "left" | "right" | "center";
534
+ }[], 1, "At least one grid column property is required">]>;
535
+ }, undefined>, undefined>;
536
+ }, undefined>, undefined>;
537
+ readonly customer: v.OptionalSchema<v.ObjectSchema<{
538
+ readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
539
+ readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
540
+ 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>;
541
+ 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>;
542
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
543
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
544
+ 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>;
545
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
546
+ 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>;
547
+ 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>;
548
+ }, undefined>, undefined>;
549
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
550
+ } & {
551
+ 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>;
552
+ }, undefined>, v.PipeItem<{
553
+ displayIframe?: boolean | undefined;
554
+ timeout?: number | undefined;
555
+ sandbox?: string | undefined;
556
+ actionId: string;
557
+ label: string;
558
+ title?: string | undefined;
559
+ confirm?: {
560
+ title?: string | undefined;
561
+ message?: string | undefined;
562
+ } | undefined;
563
+ path: string;
564
+ customerSelectLimit?: number | undefined;
565
+ }, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
566
+ readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
567
+ readonly data: v.ObjectSchema<{
568
+ readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
569
+ }, undefined>;
570
+ readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
571
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
572
+ readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
573
+ readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
574
+ readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
575
+ }, undefined>, undefined>, v.MinLengthAction<{
576
+ label: string;
577
+ columnId: string;
578
+ type: "string" | "boolean" | "date" | "float" | "integer";
579
+ align: "left" | "right" | "center";
580
+ }[], 1, "At least one grid column property is required">]>;
581
+ }, undefined>, undefined>;
582
+ }, undefined>, undefined>;
583
+ readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
584
+ readonly massActions: v.OptionalSchema<v.ObjectSchema<{
585
+ readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
586
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
587
+ 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>;
588
+ 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>;
589
+ }, undefined>, undefined>, undefined>;
590
+ readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
591
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
592
+ 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>;
593
+ 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>;
594
+ }, undefined>, undefined>, undefined>;
595
+ readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
596
+ readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
597
+ 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>;
598
+ 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>;
599
+ }, undefined>, undefined>, undefined>;
600
+ }, undefined>, undefined>;
601
+ readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
602
+ readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
603
+ 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>;
604
+ 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>;
605
+ }, undefined>, undefined>, undefined>;
606
+ }, undefined>, undefined>;
607
+ }, undefined>;
608
+ }, undefined>;
609
+ /**
610
+ * The Admin UI SDK configuration for an Adobe Commerce application.
611
+ * @experimental
612
+ */
613
+ type AdminUiSdkConfiguration = v.InferInput<typeof AdminUiSdkSchema>;
614
+ /**
615
+ * The Admin UI SDK registration configuration.
616
+ * @experimental
617
+ */
618
+ type AdminUiSdkRegistration = v.InferInput<typeof AdminUiSdkRegistrationSchema>;
619
+ /**
620
+ * An order mass action registration entry (uses `selectionLimit`).
621
+ * @experimental
622
+ */
623
+ type OrderMassAction = v.InferInput<typeof OrderMassActionSchema>;
624
+ /**
625
+ * A product mass action registration entry (uses `productSelectLimit`).
626
+ * @experimental
627
+ */
628
+ type ProductMassAction = v.InferInput<typeof ProductMassActionSchema>;
629
+ /**
630
+ * A customer mass action registration entry (uses `customerSelectLimit`).
631
+ * @experimental
632
+ */
633
+ type CustomerMassAction = v.InferInput<typeof CustomerMassActionSchema>;
634
+ /**
635
+ * An order view button registration entry.
636
+ * @experimental
637
+ */
638
+ type OrderViewButton = v.InferInput<typeof OrderViewButtonSchema>;
639
+ /**
640
+ * A custom fee registration entry.
641
+ * @experimental
642
+ */
643
+ type CustomFee = v.InferInput<typeof CustomFeeSchema>;
644
+ /**
645
+ * Grid columns registration configuration.
646
+ * @experimental
647
+ */
648
+ type GridColumns = v.InferInput<typeof GridColumnsSchema>;
649
+ /**
650
+ * Banner notification registration configuration.
651
+ * @experimental
652
+ */
653
+ type BannerNotification = v.InferInput<typeof BannerNotificationSchema>;
654
+ /**
655
+ * A menu item registration entry.
656
+ * @experimental
657
+ */
658
+ type MenuItem = v.InferInput<typeof MenuItemSchema>;
659
+ /**
660
+ * Check if config has Admin UI SDK registration configuration.
661
+ * @experimental
662
+ */
663
+ declare function hasAdminUiSdk(config: CommerceAppConfigOutputModel): config is AdminUiSdkConfig;
664
+ //#endregion
665
+ export { CustomerMassAction as a, OrderMassAction as c, hasAdminUiSdk as d, CustomFee as i, OrderViewButton as l, AdminUiSdkRegistration as n, GridColumns as o, BannerNotification as r, MenuItem as s, AdminUiSdkConfiguration as t, ProductMassAction as u };