@adobe/aio-commerce-lib-app 2.2.0 → 2.3.0-alpha-20261203134759
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -1
- package/bin/cli.mjs +22 -1
- package/dist/cjs/actions/app-config/index.cjs +8 -8
- package/dist/cjs/actions/app-config/index.d.cts +2 -2
- package/dist/cjs/actions/association/index.cjs +4 -4
- package/dist/cjs/actions/config/index.cjs +19 -8
- package/dist/cjs/actions/config/index.d.cts +1 -1
- package/dist/cjs/actions/installation/index.cjs +39 -15
- package/dist/cjs/actions/installation/index.d.cts +3 -3
- package/dist/cjs/actions/scope-tree/index.cjs +6 -6
- package/dist/cjs/{app-B3bAEor-.d.cts → app-Cb6-5mKk.d.cts} +637 -45
- package/dist/cjs/config/index.browser.d.cts +1 -1
- package/dist/cjs/config/index.node.cjs +11 -7
- package/dist/cjs/config/index.node.d.cts +150 -14
- package/dist/cjs/{define-eBMdGAq6.d.cts → define-Dk0uzfO9.d.cts} +1 -1
- package/dist/cjs/{commands → deprecated/commands}/index.cjs +1828 -864
- package/dist/cjs/{environment-CW6M76gS.cjs → environment-CaV1hi2-.cjs} +1 -1
- package/dist/cjs/{index-BEeludy0.d.cts → index-Cmxlkzpm.d.cts} +2 -2
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/index.node-QXhLROom.cjs +117 -0
- package/dist/cjs/{logging-Emi7P923.cjs → logging-r-r2bUWO.cjs} +1 -1
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +1 -1
- package/dist/cjs/{management-5Et1mEUp.cjs → management-BX9sUQw-.cjs} +123 -108
- package/dist/cjs/{openapi-DghfuM8S.cjs → openapi-BaKoO7GY.cjs} +177 -26
- package/dist/cjs/{index.node-9bfp79rs.cjs → parser-XcHKOYKN.cjs} +46 -16
- package/dist/cjs/project/index.cjs +637 -0
- package/dist/cjs/project/index.d.cts +212 -0
- package/dist/cjs/{rolldown-runtime-CoOt0iuZ.cjs → rolldown-runtime-BKfnhsn2.cjs} +4 -4
- package/dist/cjs/{schemas-B6ITl1bG.cjs → schemas-B-jCi6Oz.cjs} +1 -1
- package/dist/cjs/{utils-CoR_PBHz.cjs → utils-CuzJBLgo.cjs} +2 -2
- package/dist/cjs/{utils-DSS0XlXq.cjs → utils-bwFwJcPW.cjs} +1 -1
- package/dist/cjs/{validate-BC3rnRLc.cjs → validate-BumkVjJy.cjs} +22 -6
- package/dist/cjs/{version-5MonNzl5.cjs → version-Bczstmvz.cjs} +3 -3
- package/dist/{es/webhooks-DgaLfP36.d.mts → cjs/webhooks-BBuoVWq_.d.cts} +382 -43
- package/dist/cjs/{webhooks-ZPh2gVb3.cjs → webhooks-VZTBeI8L.cjs} +84 -23
- package/dist/es/actions/app-config/index.d.mts +2 -2
- package/dist/es/actions/app-config/index.mjs +6 -6
- package/dist/es/actions/association/index.mjs +3 -3
- package/dist/es/actions/config/index.d.mts +2 -2
- package/dist/es/actions/config/index.mjs +19 -8
- package/dist/es/actions/installation/index.d.mts +4 -4
- package/dist/es/actions/installation/index.mjs +38 -14
- package/dist/es/actions/scope-tree/index.mjs +5 -5
- package/dist/es/{app-B3bAEor-.d.mts → app-Cb6-5mKk.d.mts} +637 -45
- package/dist/es/config/index.browser.d.mts +1 -1
- package/dist/es/config/index.node.d.mts +151 -15
- package/dist/es/config/index.node.mjs +5 -4
- package/dist/es/{define-BdXyLAwb.d.mts → define-D7EjSr-Z.d.mts} +1 -1
- package/dist/es/{commands → deprecated/commands}/index.mjs +1773 -807
- package/dist/es/{environment-DUhU0_9z.mjs → environment-B1JJFHZw.mjs} +1 -1
- package/dist/es/{index-DE2KVXfH.d.mts → index-BkqV8WU_.d.mts} +4 -4
- package/dist/es/{index-DUJtT78x.d.mts → index-U7CXicoW.d.mts} +1 -1
- package/dist/es/index.d.mts +2 -2
- package/dist/es/index.mjs +3 -3
- package/dist/es/index.node-DipCrOq_.mjs +112 -0
- package/dist/es/management/index.d.mts +1 -1
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-BAQ64OyR.mjs → management-DSu69_ub.mjs} +128 -113
- package/dist/es/{openapi-BvPVTUMt.mjs → openapi-ChihLuvm.mjs} +177 -26
- package/dist/es/{index.node-CURztkP5.mjs → parser-DdhiGXVf.mjs} +33 -15
- package/dist/es/project/index.d.mts +212 -0
- package/dist/es/project/index.mjs +636 -0
- package/dist/es/{utils-DB8HaSj0.mjs → utils-Bg_LIAGV.mjs} +2 -2
- package/dist/es/{validate-xS9Dc-4m.mjs → validate-CYWj7Nzp.mjs} +10 -6
- package/dist/es/{version-BWgrh_QM.mjs → version-CVSRkbJP.mjs} +1 -1
- package/dist/es/{webhooks-HBe_DEKA.mjs → webhooks-Ba-OdU8e.mjs} +76 -21
- package/dist/{cjs/webhooks-DNLuuv9_.d.cts → es/webhooks-Deujdgcm.d.mts} +382 -43
- package/package.json +29 -24
- /package/dist/cjs/{commands → deprecated/commands}/index.d.cts +0 -0
- /package/dist/cjs/{commands → deprecated/commands}/templates/typescript/webpack-config.cjs +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/tsconfig.json +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/.babelrc +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/index.css +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/index.html +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/app.jsx +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/components/welcome.jsx +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src/src/pages/main-page.jsx +0 -0
- /package/dist/cjs/{commands → project}/templates/admin-ui/web-src-template.d.ts +0 -0
- /package/dist/cjs/{commands → project}/templates/app-management/app-config.js.template +0 -0
- /package/dist/cjs/{commands → project}/templates/app-management/association.js.template +0 -0
- /package/dist/cjs/{commands → project}/templates/app-management/custom-scripts.js.template +0 -0
- /package/dist/cjs/{commands → project}/templates/app-management/installation.js.template +0 -0
- /package/dist/cjs/{commands → project}/templates/business-configuration/config.js.template +0 -0
- /package/dist/cjs/{commands → project}/templates/business-configuration/scope-tree.js.template +0 -0
- /package/dist/es/{commands → deprecated/commands}/index.d.mts +0 -0
- /package/dist/es/{commands → deprecated/commands}/templates/typescript/webpack-config.cjs +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/tsconfig.json +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/.babelrc +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/index.css +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/index.html +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/app.jsx +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/components/welcome.jsx +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src/src/pages/main-page.jsx +0 -0
- /package/dist/es/{commands → project}/templates/admin-ui/web-src-template.d.ts +0 -0
- /package/dist/es/{commands → project}/templates/app-management/app-config.js.template +0 -0
- /package/dist/es/{commands → project}/templates/app-management/association.js.template +0 -0
- /package/dist/es/{commands → project}/templates/app-management/custom-scripts.js.template +0 -0
- /package/dist/es/{commands → project}/templates/app-management/installation.js.template +0 -0
- /package/dist/es/{commands → project}/templates/business-configuration/config.js.template +0 -0
- /package/dist/es/{commands → project}/templates/business-configuration/scope-tree.js.template +0 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* governing permissions and limitations under the License.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { r as CommerceAppConfigOutputModel, t as AnyCommerceAppConfig } from "./app-
|
|
15
|
+
import { r as CommerceAppConfigOutputModel, t as AnyCommerceAppConfig } from "./app-Cb6-5mKk.mjs";
|
|
16
16
|
import * as v from "valibot";
|
|
17
17
|
declare const NotificationsSchema: v.ObjectSchema<{
|
|
18
18
|
readonly error: 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,11 +49,72 @@ declare const GridColumnsSchema: v.ObjectSchema<{
|
|
|
49
49
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
50
50
|
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
51
51
|
}, undefined>;
|
|
52
|
+
declare const CustomAttributeFilterSchema: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
53
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
54
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
55
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
56
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
57
|
+
}, undefined>], undefined>;
|
|
58
|
+
declare const CustomAttributeGridColumnSchema: v.StrictObjectSchema<{
|
|
59
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
60
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
61
|
+
readonly attribute_code: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "Custom attribute codes must not exceed 255 characters">, v.CheckAction<string, "Custom attribute codes may contain only ASCII letters, digits, and \"_\"">]>;
|
|
62
|
+
readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
63
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
64
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
65
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
66
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
67
|
+
}, undefined>], undefined>, undefined>;
|
|
68
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column IDs must not be blank">]>;
|
|
69
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column labels must not be blank">]>;
|
|
70
|
+
}, undefined>;
|
|
71
|
+
declare const CustomAttributeGridColumnsSchema: v.StrictObjectSchema<{
|
|
72
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
73
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
74
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
75
|
+
readonly attribute_code: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "Custom attribute codes must not exceed 255 characters">, v.CheckAction<string, "Custom attribute codes may contain only ASCII letters, digits, and \"_\"">]>;
|
|
76
|
+
readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
77
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
78
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
79
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
80
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
81
|
+
}, undefined>], undefined>, undefined>;
|
|
82
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column IDs must not be blank">]>;
|
|
83
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column labels must not be blank">]>;
|
|
84
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
85
|
+
aclProtected?: boolean | undefined;
|
|
86
|
+
align: "left" | "right" | "center";
|
|
87
|
+
attribute_code: string;
|
|
88
|
+
filter?: {
|
|
89
|
+
type: "boolean";
|
|
90
|
+
} | {
|
|
91
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
92
|
+
type: "text";
|
|
93
|
+
} | undefined;
|
|
94
|
+
id: string;
|
|
95
|
+
label: string;
|
|
96
|
+
}[], 1, "At least one custom-attribute grid column is required">, v.CheckAction<{
|
|
97
|
+
aclProtected?: boolean | undefined;
|
|
98
|
+
align: "left" | "right" | "center";
|
|
99
|
+
attribute_code: string;
|
|
100
|
+
filter?: {
|
|
101
|
+
type: "boolean";
|
|
102
|
+
} | {
|
|
103
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
104
|
+
type: "text";
|
|
105
|
+
} | undefined;
|
|
106
|
+
id: string;
|
|
107
|
+
label: string;
|
|
108
|
+
}[], "Grid column ids must be unique after Commerce id sanitization.">]>;
|
|
109
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
110
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
111
|
+
}, undefined>;
|
|
52
112
|
/** `type: "view"` mass action — renders an iframe at `path`. */
|
|
53
113
|
declare const ViewMassActionSchema: v.StrictObjectSchema<{
|
|
54
114
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
55
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
56
115
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
116
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
117
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
57
118
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
58
119
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
59
120
|
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>;
|
|
@@ -95,8 +156,9 @@ declare const WorkerMassActionSchema: v.StrictObjectSchema<{
|
|
|
95
156
|
*/
|
|
96
157
|
declare const MassActionSchema: v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
97
158
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
98
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
99
159
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
160
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
161
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
100
162
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
101
163
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
102
164
|
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>;
|
|
@@ -145,9 +207,10 @@ declare const OrderViewButtonSchema: v.VariantSchema<"type", [v.StrictObjectSche
|
|
|
145
207
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
146
208
|
}, undefined>, undefined>;
|
|
147
209
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
148
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
149
210
|
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>;
|
|
150
211
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
212
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
213
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
151
214
|
}, undefined>, v.StrictObjectSchema<{
|
|
152
215
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
153
216
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -183,9 +246,10 @@ declare const InvoiceViewButtonSchema: v.VariantSchema<"type", [v.StrictObjectSc
|
|
|
183
246
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
184
247
|
}, undefined>, undefined>;
|
|
185
248
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
186
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
187
249
|
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>;
|
|
188
250
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
251
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
252
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
189
253
|
}, undefined>, v.StrictObjectSchema<{
|
|
190
254
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
191
255
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -221,9 +285,10 @@ declare const CreditMemoViewButtonSchema: v.VariantSchema<"type", [v.StrictObjec
|
|
|
221
285
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
222
286
|
}, undefined>, undefined>;
|
|
223
287
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
224
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
225
288
|
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>;
|
|
226
289
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
290
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
291
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
227
292
|
}, undefined>, v.StrictObjectSchema<{
|
|
228
293
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
229
294
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -259,9 +324,10 @@ declare const RmaViewButtonSchema: v.VariantSchema<"type", [v.StrictObjectSchema
|
|
|
259
324
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
260
325
|
}, undefined>, undefined>;
|
|
261
326
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
262
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
263
327
|
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>;
|
|
264
328
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
329
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
330
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
265
331
|
}, undefined>, v.StrictObjectSchema<{
|
|
266
332
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
267
333
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -293,13 +359,15 @@ declare const MenuSchema: v.ObjectSchema<{
|
|
|
293
359
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
294
360
|
readonly pageTitle: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
295
361
|
readonly parentMenu: v.OptionalSchema<v.PicklistSchema<readonly ["sales", "catalog", "customers", "marketing", "content", "reports", "stores", "system"], "parentMenu must be a known Commerce Admin menu ID">, undefined>;
|
|
296
|
-
readonly
|
|
362
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
363
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
297
364
|
}, undefined>;
|
|
298
365
|
declare const NativeUiReplacedPageSchema: v.StrictObjectSchema<{
|
|
299
366
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
300
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
301
367
|
readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
|
|
302
368
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
369
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
370
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
303
371
|
}, undefined>;
|
|
304
372
|
/** A top-level acl entry: a leaf, or a group carrying leaf children (exactly one level of nesting). */
|
|
305
373
|
declare const AclResourceEntrySchema: v.StrictObjectSchema<{
|
|
@@ -317,8 +385,8 @@ declare const AclResourceEntrySchema: v.StrictObjectSchema<{
|
|
|
317
385
|
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.MinLengthAction<string, 3, "acl resource label must be at least 3 characters">, v.MaxLengthAction<string, 50, "acl resource label must be at most 50 characters">]>;
|
|
318
386
|
}, undefined>;
|
|
319
387
|
/**
|
|
320
|
-
* Schema for
|
|
321
|
-
*
|
|
388
|
+
* Schema for Admin UI components, including Credit Memo custom-attribute columns.
|
|
389
|
+
* Custom-attribute columns and custom ACL resources require no backend-ui/2 workers or views.
|
|
322
390
|
*/
|
|
323
391
|
declare const AdminUiSchema: v.ObjectSchema<{
|
|
324
392
|
readonly acl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -356,7 +424,48 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
356
424
|
id: string;
|
|
357
425
|
label: string;
|
|
358
426
|
}[], "Custom ACL resource ids must stay unique after Commerce derivation: a top-level resource id must not equal a group's \"<group>_<child>\" combination.">]>, undefined>;
|
|
359
|
-
readonly creditMemo: v.OptionalSchema<v.ObjectSchema<{
|
|
427
|
+
readonly creditMemo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
428
|
+
readonly customAttributeGridColumns: v.OptionalSchema<v.StrictObjectSchema<{
|
|
429
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
430
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
431
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
432
|
+
readonly attribute_code: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "Custom attribute codes must not exceed 255 characters">, v.CheckAction<string, "Custom attribute codes may contain only ASCII letters, digits, and \"_\"">]>;
|
|
433
|
+
readonly filter: v.OptionalSchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
434
|
+
readonly type: v.LiteralSchema<"boolean", undefined>;
|
|
435
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
436
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["eq", "neq", "contains"], undefined>, undefined>, v.MinLengthAction<("eq" | "neq" | "contains")[], 1, "Text filters require at least one condition">]>;
|
|
437
|
+
readonly type: v.LiteralSchema<"text", undefined>;
|
|
438
|
+
}, undefined>], undefined>, undefined>;
|
|
439
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column IDs must not be blank">]>;
|
|
440
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.CheckAction<string, "Column labels must not be blank">]>;
|
|
441
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
442
|
+
aclProtected?: boolean | undefined;
|
|
443
|
+
align: "left" | "right" | "center";
|
|
444
|
+
attribute_code: string;
|
|
445
|
+
filter?: {
|
|
446
|
+
type: "boolean";
|
|
447
|
+
} | {
|
|
448
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
449
|
+
type: "text";
|
|
450
|
+
} | undefined;
|
|
451
|
+
id: string;
|
|
452
|
+
label: string;
|
|
453
|
+
}[], 1, "At least one custom-attribute grid column is required">, v.CheckAction<{
|
|
454
|
+
aclProtected?: boolean | undefined;
|
|
455
|
+
align: "left" | "right" | "center";
|
|
456
|
+
attribute_code: string;
|
|
457
|
+
filter?: {
|
|
458
|
+
type: "boolean";
|
|
459
|
+
} | {
|
|
460
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
461
|
+
type: "text";
|
|
462
|
+
} | undefined;
|
|
463
|
+
id: string;
|
|
464
|
+
label: string;
|
|
465
|
+
}[], "Grid column ids must be unique after Commerce id sanitization.">]>;
|
|
466
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
467
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
468
|
+
}, undefined>, undefined>;
|
|
360
469
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
361
470
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
362
471
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -397,9 +506,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
397
506
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
398
507
|
}, undefined>, undefined>;
|
|
399
508
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
400
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
401
509
|
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>;
|
|
402
510
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
511
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
512
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
403
513
|
}, undefined>, v.StrictObjectSchema<{
|
|
404
514
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
405
515
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -434,9 +544,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
434
544
|
success?: string | undefined;
|
|
435
545
|
} | undefined;
|
|
436
546
|
path: string;
|
|
437
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
438
547
|
sortOrder?: number | undefined;
|
|
439
548
|
type: "view";
|
|
549
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
550
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
440
551
|
} | {
|
|
441
552
|
aclProtected?: boolean | undefined;
|
|
442
553
|
confirm?: {
|
|
@@ -456,7 +567,214 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
456
567
|
timeout?: number | undefined;
|
|
457
568
|
type: "worker";
|
|
458
569
|
})[], "Credit memo view button ids must be unique after Commerce id sanitization.">]>, undefined>;
|
|
459
|
-
}, undefined>,
|
|
570
|
+
}, undefined>, v.BaseValidation<{
|
|
571
|
+
customAttributeGridColumns?: {
|
|
572
|
+
columns: {
|
|
573
|
+
aclProtected?: boolean | undefined;
|
|
574
|
+
align: "left" | "right" | "center";
|
|
575
|
+
attribute_code: string;
|
|
576
|
+
filter?: {
|
|
577
|
+
type: "boolean";
|
|
578
|
+
} | {
|
|
579
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
580
|
+
type: "text";
|
|
581
|
+
} | undefined;
|
|
582
|
+
id: string;
|
|
583
|
+
label: string;
|
|
584
|
+
}[];
|
|
585
|
+
description?: string | undefined;
|
|
586
|
+
label?: string | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
gridColumns?: {
|
|
589
|
+
columns: {
|
|
590
|
+
aclProtected?: boolean | undefined;
|
|
591
|
+
align: "left" | "right" | "center";
|
|
592
|
+
id: string;
|
|
593
|
+
label: string;
|
|
594
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
595
|
+
}[];
|
|
596
|
+
description: string;
|
|
597
|
+
label: string;
|
|
598
|
+
runtimeAction: string;
|
|
599
|
+
} | undefined;
|
|
600
|
+
viewButtons?: ({
|
|
601
|
+
title?: string | undefined;
|
|
602
|
+
aclProtected?: boolean | undefined;
|
|
603
|
+
confirm?: {
|
|
604
|
+
message?: string | undefined;
|
|
605
|
+
title?: string | undefined;
|
|
606
|
+
} | undefined;
|
|
607
|
+
description?: string | undefined;
|
|
608
|
+
id: string;
|
|
609
|
+
label: string;
|
|
610
|
+
level?: 0 | 1 | -1 | undefined;
|
|
611
|
+
notifications?: {
|
|
612
|
+
error?: string | undefined;
|
|
613
|
+
success?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
path: string;
|
|
616
|
+
sortOrder?: number | undefined;
|
|
617
|
+
type: "view";
|
|
618
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
619
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
620
|
+
} | {
|
|
621
|
+
aclProtected?: boolean | undefined;
|
|
622
|
+
confirm?: {
|
|
623
|
+
message?: string | undefined;
|
|
624
|
+
title?: string | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
description?: string | undefined;
|
|
627
|
+
id: string;
|
|
628
|
+
label: string;
|
|
629
|
+
level?: 0 | 1 | -1 | undefined;
|
|
630
|
+
notifications?: {
|
|
631
|
+
error?: string | undefined;
|
|
632
|
+
success?: string | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
runtimeAction: string;
|
|
635
|
+
sortOrder?: number | undefined;
|
|
636
|
+
timeout?: number | undefined;
|
|
637
|
+
type: "worker";
|
|
638
|
+
})[] | undefined;
|
|
639
|
+
}, {
|
|
640
|
+
customAttributeGridColumns?: {
|
|
641
|
+
columns: {
|
|
642
|
+
aclProtected?: boolean | undefined;
|
|
643
|
+
align: "left" | "right" | "center";
|
|
644
|
+
attribute_code: string;
|
|
645
|
+
filter?: {
|
|
646
|
+
type: "boolean";
|
|
647
|
+
} | {
|
|
648
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
649
|
+
type: "text";
|
|
650
|
+
} | undefined;
|
|
651
|
+
id: string;
|
|
652
|
+
label: string;
|
|
653
|
+
}[];
|
|
654
|
+
description?: string | undefined;
|
|
655
|
+
label?: string | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
gridColumns?: {
|
|
658
|
+
columns: {
|
|
659
|
+
aclProtected?: boolean | undefined;
|
|
660
|
+
align: "left" | "right" | "center";
|
|
661
|
+
id: string;
|
|
662
|
+
label: string;
|
|
663
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
664
|
+
}[];
|
|
665
|
+
description: string;
|
|
666
|
+
label: string;
|
|
667
|
+
runtimeAction: string;
|
|
668
|
+
} | undefined;
|
|
669
|
+
viewButtons?: ({
|
|
670
|
+
title?: string | undefined;
|
|
671
|
+
aclProtected?: boolean | undefined;
|
|
672
|
+
confirm?: {
|
|
673
|
+
message?: string | undefined;
|
|
674
|
+
title?: string | undefined;
|
|
675
|
+
} | undefined;
|
|
676
|
+
description?: string | undefined;
|
|
677
|
+
id: string;
|
|
678
|
+
label: string;
|
|
679
|
+
level?: 0 | 1 | -1 | undefined;
|
|
680
|
+
notifications?: {
|
|
681
|
+
error?: string | undefined;
|
|
682
|
+
success?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
path: string;
|
|
685
|
+
sortOrder?: number | undefined;
|
|
686
|
+
type: "view";
|
|
687
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
688
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
689
|
+
} | {
|
|
690
|
+
aclProtected?: boolean | undefined;
|
|
691
|
+
confirm?: {
|
|
692
|
+
message?: string | undefined;
|
|
693
|
+
title?: string | undefined;
|
|
694
|
+
} | undefined;
|
|
695
|
+
description?: string | undefined;
|
|
696
|
+
id: string;
|
|
697
|
+
label: string;
|
|
698
|
+
level?: 0 | 1 | -1 | undefined;
|
|
699
|
+
notifications?: {
|
|
700
|
+
error?: string | undefined;
|
|
701
|
+
success?: string | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
runtimeAction: string;
|
|
704
|
+
sortOrder?: number | undefined;
|
|
705
|
+
timeout?: number | undefined;
|
|
706
|
+
type: "worker";
|
|
707
|
+
})[] | undefined;
|
|
708
|
+
}, v.CheckIssue<{
|
|
709
|
+
customAttributeGridColumns?: {
|
|
710
|
+
columns: {
|
|
711
|
+
aclProtected?: boolean | undefined;
|
|
712
|
+
align: "left" | "right" | "center";
|
|
713
|
+
attribute_code: string;
|
|
714
|
+
filter?: {
|
|
715
|
+
type: "boolean";
|
|
716
|
+
} | {
|
|
717
|
+
conditions: ("eq" | "neq" | "contains")[];
|
|
718
|
+
type: "text";
|
|
719
|
+
} | undefined;
|
|
720
|
+
id: string;
|
|
721
|
+
label: string;
|
|
722
|
+
}[];
|
|
723
|
+
description?: string | undefined;
|
|
724
|
+
label?: string | undefined;
|
|
725
|
+
} | undefined;
|
|
726
|
+
gridColumns?: {
|
|
727
|
+
columns: {
|
|
728
|
+
aclProtected?: boolean | undefined;
|
|
729
|
+
align: "left" | "right" | "center";
|
|
730
|
+
id: string;
|
|
731
|
+
label: string;
|
|
732
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
733
|
+
}[];
|
|
734
|
+
description: string;
|
|
735
|
+
label: string;
|
|
736
|
+
runtimeAction: string;
|
|
737
|
+
} | undefined;
|
|
738
|
+
viewButtons?: ({
|
|
739
|
+
title?: string | undefined;
|
|
740
|
+
aclProtected?: boolean | undefined;
|
|
741
|
+
confirm?: {
|
|
742
|
+
message?: string | undefined;
|
|
743
|
+
title?: string | undefined;
|
|
744
|
+
} | undefined;
|
|
745
|
+
description?: string | undefined;
|
|
746
|
+
id: string;
|
|
747
|
+
label: string;
|
|
748
|
+
level?: 0 | 1 | -1 | undefined;
|
|
749
|
+
notifications?: {
|
|
750
|
+
error?: string | undefined;
|
|
751
|
+
success?: string | undefined;
|
|
752
|
+
} | undefined;
|
|
753
|
+
path: string;
|
|
754
|
+
sortOrder?: number | undefined;
|
|
755
|
+
type: "view";
|
|
756
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
757
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
758
|
+
} | {
|
|
759
|
+
aclProtected?: boolean | undefined;
|
|
760
|
+
confirm?: {
|
|
761
|
+
message?: string | undefined;
|
|
762
|
+
title?: string | undefined;
|
|
763
|
+
} | undefined;
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
id: string;
|
|
766
|
+
label: string;
|
|
767
|
+
level?: 0 | 1 | -1 | undefined;
|
|
768
|
+
notifications?: {
|
|
769
|
+
error?: string | undefined;
|
|
770
|
+
success?: string | undefined;
|
|
771
|
+
} | undefined;
|
|
772
|
+
runtimeAction: string;
|
|
773
|
+
sortOrder?: number | undefined;
|
|
774
|
+
timeout?: number | undefined;
|
|
775
|
+
type: "worker";
|
|
776
|
+
})[] | undefined;
|
|
777
|
+
}>>]>, undefined>;
|
|
460
778
|
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
461
779
|
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
462
780
|
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -484,8 +802,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
484
802
|
}, undefined>, undefined>;
|
|
485
803
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
486
804
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
487
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
488
805
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
806
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
807
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
489
808
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
490
809
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
491
810
|
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>;
|
|
@@ -520,8 +839,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
520
839
|
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>;
|
|
521
840
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
522
841
|
path: string;
|
|
523
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
524
842
|
type: "view";
|
|
843
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
844
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
525
845
|
aclProtected?: boolean | undefined;
|
|
526
846
|
confirm?: {
|
|
527
847
|
message?: string | undefined;
|
|
@@ -597,9 +917,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
597
917
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
598
918
|
}, undefined>, undefined>;
|
|
599
919
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
600
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
601
920
|
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>;
|
|
602
921
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
922
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
923
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
603
924
|
}, undefined>, v.StrictObjectSchema<{
|
|
604
925
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
605
926
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -634,9 +955,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
634
955
|
success?: string | undefined;
|
|
635
956
|
} | undefined;
|
|
636
957
|
path: string;
|
|
637
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
638
958
|
sortOrder?: number | undefined;
|
|
639
959
|
type: "view";
|
|
960
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
961
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
640
962
|
} | {
|
|
641
963
|
aclProtected?: boolean | undefined;
|
|
642
964
|
confirm?: {
|
|
@@ -669,19 +991,22 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
669
991
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
670
992
|
readonly pageTitle: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
671
993
|
readonly parentMenu: v.OptionalSchema<v.PicklistSchema<readonly ["sales", "catalog", "customers", "marketing", "content", "reports", "stores", "system"], "parentMenu must be a known Commerce Admin menu ID">, undefined>;
|
|
672
|
-
readonly
|
|
994
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
995
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
673
996
|
}, undefined>, undefined>;
|
|
674
997
|
readonly nativeUi: v.OptionalSchema<v.ObjectSchema<{
|
|
675
998
|
readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
676
999
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
677
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
678
1000
|
readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
|
|
679
1001
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1002
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1003
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
680
1004
|
}, undefined>, undefined>, v.CheckAction<{
|
|
681
1005
|
path: string;
|
|
682
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
683
1006
|
target: "order.create" | "return.create";
|
|
684
1007
|
title: string;
|
|
1008
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
1009
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
685
1010
|
}[], "Native UI replaced page targets must be unique.">]>;
|
|
686
1011
|
}, undefined>, undefined>;
|
|
687
1012
|
readonly newsletter: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -737,8 +1062,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
737
1062
|
}, undefined>, undefined>;
|
|
738
1063
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
739
1064
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
740
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
741
1065
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1066
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1067
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
742
1068
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
743
1069
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
744
1070
|
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>;
|
|
@@ -773,8 +1099,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
773
1099
|
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>;
|
|
774
1100
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
775
1101
|
path: string;
|
|
776
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
777
1102
|
type: "view";
|
|
1103
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
1104
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
778
1105
|
aclProtected?: boolean | undefined;
|
|
779
1106
|
confirm?: {
|
|
780
1107
|
message?: string | undefined;
|
|
@@ -823,9 +1150,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
823
1150
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
824
1151
|
}, undefined>, undefined>;
|
|
825
1152
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
826
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
827
1153
|
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>;
|
|
828
1154
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1155
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1156
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
829
1157
|
}, undefined>, v.StrictObjectSchema<{
|
|
830
1158
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
831
1159
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -859,9 +1187,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
859
1187
|
success?: string | undefined;
|
|
860
1188
|
} | undefined;
|
|
861
1189
|
path: string;
|
|
862
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
863
1190
|
sortOrder?: number | undefined;
|
|
864
1191
|
type: "view";
|
|
1192
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
1193
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
865
1194
|
} | {
|
|
866
1195
|
aclProtected?: boolean | undefined;
|
|
867
1196
|
confirm?: {
|
|
@@ -909,8 +1238,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
909
1238
|
}, undefined>, undefined>;
|
|
910
1239
|
readonly massActions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
911
1240
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
912
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
913
1241
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1242
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1243
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
914
1244
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
915
1245
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
916
1246
|
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>;
|
|
@@ -945,8 +1275,9 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
945
1275
|
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>;
|
|
946
1276
|
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, v.CheckAction<({
|
|
947
1277
|
path: string;
|
|
948
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
949
1278
|
type: "view";
|
|
1279
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
1280
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
950
1281
|
aclProtected?: boolean | undefined;
|
|
951
1282
|
confirm?: {
|
|
952
1283
|
message?: string | undefined;
|
|
@@ -998,9 +1329,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
998
1329
|
readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
999
1330
|
}, undefined>, undefined>;
|
|
1000
1331
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1001
|
-
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
|
|
1002
1332
|
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>;
|
|
1003
1333
|
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1334
|
+
readonly allow: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["autoplay", "microphone"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("autoplay" | "microphone")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("autoplay" | "microphone")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1335
|
+
readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid ${string} permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, `${string} must contain at least one permission when it's defined`>, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], `Duplicate permissions are not allowed in ${string}`>]>, undefined>;
|
|
1004
1336
|
}, undefined>, v.StrictObjectSchema<{
|
|
1005
1337
|
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1006
1338
|
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1035,9 +1367,10 @@ declare const AdminUiSchema: v.ObjectSchema<{
|
|
|
1035
1367
|
success?: string | undefined;
|
|
1036
1368
|
} | undefined;
|
|
1037
1369
|
path: string;
|
|
1038
|
-
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1039
1370
|
sortOrder?: number | undefined;
|
|
1040
1371
|
type: "view";
|
|
1372
|
+
allow?: ("autoplay" | "microphone")[] | undefined;
|
|
1373
|
+
sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
|
|
1041
1374
|
} | {
|
|
1042
1375
|
aclProtected?: boolean | undefined;
|
|
1043
1376
|
confirm?: {
|
|
@@ -1093,10 +1426,10 @@ type AdminUiConfiguration = v.InferInput<typeof AdminUiSchema>;
|
|
|
1093
1426
|
type AclResourceEntry = v.InferInput<typeof AclResourceEntrySchema>;
|
|
1094
1427
|
/**
|
|
1095
1428
|
* The validated config of a single Admin UI component: the menu, an entity's
|
|
1096
|
-
* grid columns, a mass action, a view button,
|
|
1097
|
-
* custom ACL resource entry.
|
|
1429
|
+
* runtime or custom-attribute grid columns, a mass action, a view button,
|
|
1430
|
+
* a native UI page replacement, or a custom ACL resource entry.
|
|
1098
1431
|
*/
|
|
1099
|
-
type AdminUiComponentConfig = v.InferOutput<typeof MenuSchema> | v.InferOutput<typeof GridColumnsSchema> | v.InferOutput<typeof MassActionSchema> | v.InferOutput<typeof OrderViewButtonSchema> | v.InferOutput<typeof NativeUiReplacedPageSchema> | v.InferOutput<typeof InvoiceViewButtonSchema> | v.InferOutput<typeof CreditMemoViewButtonSchema> | v.InferOutput<typeof RmaViewButtonSchema> | AclResourceEntry;
|
|
1432
|
+
type AdminUiComponentConfig = v.InferOutput<typeof MenuSchema> | v.InferOutput<typeof GridColumnsSchema> | v.InferOutput<typeof CustomAttributeGridColumnsSchema> | v.InferOutput<typeof MassActionSchema> | v.InferOutput<typeof OrderViewButtonSchema> | v.InferOutput<typeof NativeUiReplacedPageSchema> | v.InferOutput<typeof InvoiceViewButtonSchema> | v.InferOutput<typeof CreditMemoViewButtonSchema> | v.InferOutput<typeof RmaViewButtonSchema> | AclResourceEntry;
|
|
1100
1433
|
/**
|
|
1101
1434
|
* Grid columns registration configuration.
|
|
1102
1435
|
*/
|
|
@@ -1105,6 +1438,12 @@ type GridColumns = v.InferInput<typeof GridColumnsSchema>;
|
|
|
1105
1438
|
* A single grid column definition.
|
|
1106
1439
|
*/
|
|
1107
1440
|
type GridColumn = v.InferInput<typeof GridColumnSchema>;
|
|
1441
|
+
/** A Credit Memo column read directly from a serialized Commerce custom attribute. */
|
|
1442
|
+
type CustomAttributeGridColumn = v.InferInput<typeof CustomAttributeGridColumnSchema>;
|
|
1443
|
+
/** Custom-attribute columns declared without a Runtime action. */
|
|
1444
|
+
type CustomAttributeGridColumns = v.InferInput<typeof CustomAttributeGridColumnsSchema>;
|
|
1445
|
+
/** Boolean filtering or an explicit allowlist of text comparisons. */
|
|
1446
|
+
type CustomAttributeFilter = v.InferInput<typeof CustomAttributeFilterSchema>;
|
|
1108
1447
|
/**
|
|
1109
1448
|
* A mass action registration entry (view or worker variant).
|
|
1110
1449
|
*/
|
|
@@ -1150,15 +1489,15 @@ type AdminUiConfig<T extends AnyCommerceAppConfig = CommerceAppConfigOutputModel
|
|
|
1150
1489
|
* `commerce/backend-ui/2` extension point — a menu, grid columns, mass actions,
|
|
1151
1490
|
* view buttons, or native UI replaced pages. Custom ACL resources are
|
|
1152
1491
|
* deliberately excluded: they reach Commerce through the `extensibility/1`
|
|
1153
|
-
* app-config payload, not backend-ui/2
|
|
1154
|
-
* backend-ui/2 registration.
|
|
1492
|
+
* app-config payload, not backend-ui/2. Custom-attribute grid columns also need
|
|
1493
|
+
* no backend-ui/2 registration because Commerce reads their values locally.
|
|
1155
1494
|
*/
|
|
1156
1495
|
declare function hasBackendUiV2Components<T extends AnyCommerceAppConfig>(config: T): config is AdminUiConfig<T>;
|
|
1157
1496
|
/**
|
|
1158
1497
|
* Check whether the config declares at least one Admin UI component (menu, grid
|
|
1159
|
-
* columns, mass actions, view buttons, native UI
|
|
1160
|
-
* resources). A component-less `adminUi` block
|
|
1161
|
-
* registers nothing.
|
|
1498
|
+
* columns, custom-attribute columns, mass actions, view buttons, native UI
|
|
1499
|
+
* replaced pages, or custom ACL resources). A component-less `adminUi` block
|
|
1500
|
+
* is treated as absent — it registers nothing.
|
|
1162
1501
|
*/
|
|
1163
1502
|
declare function hasAdminUi<T extends AnyCommerceAppConfig>(config: T): config is AdminUiConfig<T>;
|
|
1164
1503
|
/** Schema for event provider configuration */
|
|
@@ -1590,7 +1929,7 @@ declare const WebhookDefinitionWithUrlSchema: v.ObjectSchema<{
|
|
|
1590
1929
|
/** Schema for a single webhook entry — either runtimeAction (no url) or explicit url (no runtimeAction). */
|
|
1591
1930
|
declare const WebhookEntrySchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1592
1931
|
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1593
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1932
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>;
|
|
1594
1933
|
readonly webhook: v.ObjectSchema<{
|
|
1595
1934
|
readonly batch_name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "batch_name must contain only letters, numbers, and underscores">]>;
|
|
1596
1935
|
readonly batch_order: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
@@ -1659,7 +1998,7 @@ declare const WebhookEntrySchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1659
1998
|
/** Schema for the optional webhooks array (when present, must have at least one item). */
|
|
1660
1999
|
declare const WebhooksSchema: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1661
2000
|
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1662
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
2001
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>;
|
|
1663
2002
|
readonly webhook: v.ObjectSchema<{
|
|
1664
2003
|
readonly batch_name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "batch_name must contain only letters, numbers, and underscores">]>;
|
|
1665
2004
|
readonly batch_order: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
@@ -1740,7 +2079,7 @@ declare const WebhooksSchema: v.OptionalSchema<v.SchemaWithPipe<readonly [v.Arra
|
|
|
1740
2079
|
value: string;
|
|
1741
2080
|
}[] | undefined;
|
|
1742
2081
|
hook_name: string;
|
|
1743
|
-
method: "
|
|
2082
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
1744
2083
|
priority?: number | undefined;
|
|
1745
2084
|
required?: boolean | undefined;
|
|
1746
2085
|
rules?: {
|
|
@@ -1773,7 +2112,7 @@ declare const WebhooksSchema: v.OptionalSchema<v.SchemaWithPipe<readonly [v.Arra
|
|
|
1773
2112
|
value: string;
|
|
1774
2113
|
}[] | undefined;
|
|
1775
2114
|
hook_name: string;
|
|
1776
|
-
method: "
|
|
2115
|
+
method: "POST" | "PUT" | "DELETE" | "GET";
|
|
1777
2116
|
priority?: number | undefined;
|
|
1778
2117
|
required?: boolean | undefined;
|
|
1779
2118
|
rules?: {
|
|
@@ -1813,4 +2152,4 @@ type WebhooksConfig<T extends AnyCommerceAppConfig = CommerceAppConfigOutputMode
|
|
|
1813
2152
|
* @param config - The configuration to check.
|
|
1814
2153
|
*/
|
|
1815
2154
|
declare function hasWebhooks<T extends AnyCommerceAppConfig>(config: T): config is T & WebhooksConfig<T>;
|
|
1816
|
-
export { AdminUiConfig as A,
|
|
2155
|
+
export { AdminUiConfig as A, Menu as B, ExternalEventSource as C, hasEventing as D, hasCommerceEvents as E, CustomAttributeGridColumns as F, ViewMassAction as G, Notifications as H, GridColumn as I, hasBackendUiV2Components as J, WorkerMassAction as K, GridColumns as L, CreditMemoViewButton as M, CustomAttributeFilter as N, hasExternalEvents as O, CustomAttributeGridColumn as P, InvoiceViewButton as R, ExternalEvent as S, ExternalEventsConfig as T, OrderViewButton as U, NativeUiReplacedPage as V, RmaViewButton as W, CommerceEventsConfig as _, WebhookRule as a, EventingSchema as b, WebhooksSchema as c, hasCustomInstallation as d, hasCustomInstallationSteps as f, CommerceEventSourceSchema as g, CommerceEventSource as h, WebhookHeader as i, AdminUiConfiguration as j, AdminUiComponentConfig as k, hasWebhooks as l, CommerceEvent as m, WebhookEntry as n, WebhooksConfig as o, AppEvent as p, hasAdminUi as q, WebhookField as r, WebhooksConfiguration as s, WebhookDefinition as t, CustomInstallationStep as u, EventProvider as v, ExternalEventSourceSchema as w, EventsConfig as x, EventingConfiguration as y, MassAction as z };
|