@adobe/aio-commerce-lib-app 1.7.0 → 1.8.0-alpha-20260722091448
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 +92 -0
- package/dist/cjs/actions/app-config/index.cjs +41 -38
- package/dist/cjs/actions/app-config/index.d.cts +1 -1
- package/dist/cjs/actions/association/index.cjs +85 -0
- package/dist/cjs/actions/{registration → association}/index.d.cts +9 -13
- package/dist/cjs/actions/config/index.cjs +21 -32
- package/dist/cjs/actions/installation/index.cjs +72 -51
- package/dist/cjs/actions/installation/index.d.cts +2 -2
- package/dist/cjs/actions/scope-tree/index.cjs +18 -17
- package/dist/{es/app-DrYHK-z1.d.mts → cjs/app-BwehWeu1.d.cts} +1237 -1031
- package/dist/cjs/commands/index.cjs +523 -301
- package/dist/cjs/commands/templates/admin-ui/tsconfig.json +14 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/index.css +5 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/index.html +17 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/app.jsx +12 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/components/welcome.jsx +16 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/pages/main-page.jsx +10 -0
- package/dist/cjs/commands/templates/{admin-ui-sdk/registration.js.template → admin-ui/web-src-template.d.ts} +11 -6
- package/dist/cjs/commands/templates/app-management/app-config.js.template +1 -14
- package/dist/cjs/commands/templates/app-management/association.js.template +6 -0
- package/dist/cjs/commands/templates/app-management/installation.js.template +1 -13
- package/dist/cjs/commands/templates/business-configuration/config.js.template +2 -15
- package/dist/cjs/commands/templates/business-configuration/scope-tree.js.template +0 -12
- package/dist/cjs/config/index.browser.cjs +18 -0
- package/dist/cjs/config/index.browser.d.cts +16 -0
- package/dist/cjs/config/{index.cjs → index.node.cjs} +9 -8
- package/dist/{es/config/index.d.mts → cjs/config/index.node.d.cts} +1065 -394
- package/dist/cjs/define-DOqVyexT.d.cts +34 -0
- package/dist/cjs/define-hlcQw7Cv.cjs +41 -0
- package/dist/cjs/environment-B7EnozSg.cjs +135 -0
- package/dist/cjs/{index-B5gJ-q4U.d.cts → index-B3ISkC54.d.cts} +17 -12
- package/dist/cjs/index.cjs +268 -0
- package/dist/cjs/index.d.cts +230 -0
- package/dist/cjs/{config-D-s0GSep.cjs → index.node-BWZuZLgs.cjs} +144 -44
- package/dist/cjs/{logging-BVz3weoC.cjs → logging-udPuAJPt.cjs} +2 -2
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +1 -1
- package/dist/cjs/{management-Dehz9qSJ.cjs → management-DEsRVP2L.cjs} +385 -582
- package/dist/cjs/{openapi-Cux6K4ZD.cjs → openapi-CwytYdWl.cjs} +476 -600
- package/dist/cjs/repository-CbceYZqc.cjs +69 -0
- package/dist/cjs/{router-BOR7T6qR.cjs → router-hA_Y9gZ1.cjs} +42 -44
- package/dist/cjs/{schemas-FngDuIeo.cjs → schemas-mLxMh_ko.cjs} +2 -2
- package/dist/cjs/utils-DSCmZ_iJ.cjs +408 -0
- package/dist/cjs/{validate-oAOpyFyb.cjs → validate-C_eCKp21.cjs} +21 -21
- package/dist/cjs/{webhooks-tbZy9G3p.cjs → webhooks-L4DWHSOl.cjs} +159 -151
- package/dist/es/actions/app-config/index.d.mts +1 -1
- package/dist/es/actions/app-config/index.mjs +39 -36
- package/dist/es/actions/{registration → association}/index.d.mts +9 -13
- package/dist/es/actions/association/index.mjs +82 -0
- package/dist/es/actions/config/index.mjs +17 -28
- package/dist/es/actions/installation/index.d.mts +2 -2
- package/dist/es/actions/installation/index.mjs +69 -48
- package/dist/es/actions/scope-tree/index.mjs +14 -13
- package/dist/{cjs/app-DrYHK-z1.d.cts → es/app-BwehWeu1.d.mts} +1237 -1031
- package/dist/es/commands/index.mjs +556 -332
- package/dist/es/commands/templates/admin-ui/tsconfig.json +14 -0
- package/dist/es/commands/templates/admin-ui/web-src/index.css +5 -0
- package/dist/es/commands/templates/admin-ui/web-src/index.html +17 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/app.jsx +12 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/components/welcome.jsx +16 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/pages/main-page.jsx +10 -0
- package/dist/es/commands/templates/{admin-ui-sdk/registration.js.template → admin-ui/web-src-template.d.ts} +11 -6
- package/dist/es/commands/templates/app-management/app-config.js.template +1 -14
- package/dist/es/commands/templates/app-management/association.js.template +6 -0
- package/dist/es/commands/templates/app-management/installation.js.template +1 -13
- package/dist/es/commands/templates/business-configuration/config.js.template +2 -15
- package/dist/es/commands/templates/business-configuration/scope-tree.js.template +0 -12
- package/dist/es/config/index.browser.d.mts +16 -0
- package/dist/es/config/index.browser.mjs +17 -0
- package/dist/{cjs/config/index.d.cts → es/config/index.node.d.mts} +1066 -393
- package/dist/es/config/{index.mjs → index.node.mjs} +5 -4
- package/dist/es/define-DxH1BFia.d.mts +34 -0
- package/dist/es/define-Z_Glf1-_.mjs +35 -0
- package/dist/es/environment-C84BPRJZ.mjs +104 -0
- package/dist/es/{index-DLMbTtKS.d.mts → index-DSk-RmwM.d.mts} +17 -12
- package/dist/es/index.d.mts +230 -0
- package/dist/es/index.mjs +259 -0
- package/dist/es/{config-3I4eLyyR.mjs → index.node-DuvW9Sha.mjs} +113 -39
- package/dist/es/management/index.d.mts +1 -1
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-BUX-w2Ji.mjs → management-D5pmBBec.mjs} +353 -550
- package/dist/es/{openapi-B6uP0SRn.mjs → openapi-CXonvevE.mjs} +476 -600
- package/dist/es/repository-BGmy0YeZ.mjs +52 -0
- package/dist/es/{router-D58JJHHA.mjs → router-B_h0cvjc.mjs} +40 -42
- package/dist/es/utils-_gj8L6eN.mjs +289 -0
- package/dist/es/{validate-Dfajrp99.mjs → validate-t0T0F2MF.mjs} +18 -18
- package/dist/es/{webhooks-B5oq9ULL.mjs → webhooks-D7DExIDM.mjs} +150 -142
- package/package.json +40 -17
- package/dist/cjs/actions/registration/index.cjs +0 -50
- package/dist/cjs/admin-ui-sdk-EU915zlR.d.cts +0 -664
- package/dist/es/actions/registration/index.mjs +0 -49
- package/dist/es/admin-ui-sdk-BwnD0xjK.d.mts +0 -664
- /package/dist/cjs/{chunk-Cozy-1ZF.cjs → rolldown-runtime-Cozy-1ZF.cjs} +0 -0
|
@@ -17,44 +17,256 @@ import * as v from "valibot";
|
|
|
17
17
|
//#region source/config/schema/domains.d.ts
|
|
18
18
|
/** The individual validatable domains of the app config. */
|
|
19
19
|
declare const CommerceAppConfigSchemas: {
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
readonly adminUi: v.ObjectSchema<{
|
|
21
|
+
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
22
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
23
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
24
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
25
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
26
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
27
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
28
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
29
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
30
|
+
aclProtected?: boolean | undefined;
|
|
31
|
+
align: "left" | "right" | "center";
|
|
32
|
+
id: string;
|
|
33
|
+
label: string;
|
|
34
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
35
|
+
}[], 1, "At least one grid column is required">]>;
|
|
36
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
37
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
38
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
39
|
+
}, undefined>, undefined>;
|
|
40
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
41
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
42
|
+
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>;
|
|
43
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
44
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
46
|
+
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>;
|
|
47
|
+
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>;
|
|
48
|
+
}, undefined>, undefined>;
|
|
49
|
+
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>;
|
|
50
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
51
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
52
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
53
|
+
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>;
|
|
54
|
+
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>;
|
|
55
|
+
}, undefined>, undefined>;
|
|
56
|
+
readonly 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>;
|
|
57
|
+
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>;
|
|
58
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
59
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
60
|
+
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>;
|
|
61
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
62
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
63
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
64
|
+
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>;
|
|
65
|
+
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>;
|
|
66
|
+
}, undefined>, undefined>;
|
|
67
|
+
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>;
|
|
68
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
69
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
70
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
71
|
+
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>;
|
|
72
|
+
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>;
|
|
73
|
+
}, undefined>, undefined>;
|
|
74
|
+
readonly 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>;
|
|
75
|
+
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>;
|
|
76
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
77
|
+
}, undefined>, undefined>;
|
|
78
|
+
readonly menu: v.OptionalSchema<v.ObjectSchema<{
|
|
79
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
80
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
81
|
+
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.RegexAction<string, "Menu ID may contain only letters, digits, \"/\", \":\", and \"_\"">]>;
|
|
82
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
83
|
+
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>;
|
|
84
|
+
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>;
|
|
85
|
+
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>;
|
|
86
|
+
}, undefined>, undefined>;
|
|
87
|
+
readonly order: v.OptionalSchema<v.ObjectSchema<{
|
|
88
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
89
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
90
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
91
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
92
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
93
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
94
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
95
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
96
|
+
aclProtected?: boolean | undefined;
|
|
97
|
+
align: "left" | "right" | "center";
|
|
98
|
+
id: string;
|
|
99
|
+
label: string;
|
|
100
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
101
|
+
}[], 1, "At least one grid column is required">]>;
|
|
102
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
103
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
104
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
105
|
+
}, undefined>, undefined>;
|
|
106
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
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
|
+
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>;
|
|
109
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
110
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
111
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
112
|
+
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>;
|
|
113
|
+
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>;
|
|
114
|
+
}, undefined>, undefined>;
|
|
115
|
+
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>;
|
|
116
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
117
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
118
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
119
|
+
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>;
|
|
120
|
+
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>;
|
|
121
|
+
}, undefined>, undefined>;
|
|
122
|
+
readonly 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>;
|
|
123
|
+
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>;
|
|
124
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
125
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
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 type: v.LiteralSchema<"worker", undefined>;
|
|
128
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
129
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
130
|
+
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>;
|
|
131
|
+
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>;
|
|
132
|
+
}, undefined>, undefined>;
|
|
133
|
+
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>;
|
|
134
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
135
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
136
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
137
|
+
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>;
|
|
138
|
+
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>;
|
|
139
|
+
}, undefined>, undefined>;
|
|
140
|
+
readonly 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>;
|
|
141
|
+
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>;
|
|
142
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
143
|
+
readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
144
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
145
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
146
|
+
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>;
|
|
147
|
+
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>;
|
|
148
|
+
}, undefined>, undefined>;
|
|
149
|
+
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>;
|
|
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 level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
153
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
154
|
+
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>;
|
|
155
|
+
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>;
|
|
156
|
+
}, undefined>, undefined>;
|
|
157
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
158
|
+
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>;
|
|
159
|
+
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>;
|
|
160
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
161
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
162
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
163
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
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>;
|
|
165
|
+
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>;
|
|
166
|
+
}, undefined>, undefined>;
|
|
167
|
+
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>;
|
|
168
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
169
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
170
|
+
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
171
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
172
|
+
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>;
|
|
173
|
+
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>;
|
|
174
|
+
}, undefined>, undefined>;
|
|
175
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
176
|
+
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>;
|
|
177
|
+
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>;
|
|
178
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
179
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
180
|
+
}, undefined>, undefined>;
|
|
181
|
+
readonly product: v.OptionalSchema<v.ObjectSchema<{
|
|
182
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
183
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
184
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
185
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
186
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
187
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
188
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
189
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
190
|
+
aclProtected?: boolean | undefined;
|
|
191
|
+
align: "left" | "right" | "center";
|
|
192
|
+
id: string;
|
|
193
|
+
label: string;
|
|
194
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
195
|
+
}[], 1, "At least one grid column is required">]>;
|
|
196
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
197
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
198
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
199
|
+
}, undefined>, undefined>;
|
|
200
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
201
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
202
|
+
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>;
|
|
203
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
204
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
205
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
206
|
+
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>;
|
|
207
|
+
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>;
|
|
208
|
+
}, undefined>, undefined>;
|
|
209
|
+
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>;
|
|
210
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
211
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
212
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
213
|
+
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>;
|
|
214
|
+
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>;
|
|
215
|
+
}, undefined>, undefined>;
|
|
216
|
+
readonly 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
|
+
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>;
|
|
218
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
219
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
220
|
+
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>;
|
|
221
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
222
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
223
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
224
|
+
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>;
|
|
225
|
+
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>;
|
|
226
|
+
}, undefined>, undefined>;
|
|
227
|
+
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>;
|
|
228
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
229
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
230
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
231
|
+
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>;
|
|
232
|
+
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>;
|
|
233
|
+
}, undefined>, undefined>;
|
|
234
|
+
readonly 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>;
|
|
235
|
+
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>;
|
|
236
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
237
|
+
}, undefined>, undefined>;
|
|
25
238
|
}, undefined>;
|
|
26
239
|
readonly businessConfig: v.ObjectSchema<{
|
|
27
240
|
readonly schema: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
28
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
29
241
|
readonly default: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default value">, v.NonEmptyAction<string, "The default value must not be empty">]>;
|
|
30
|
-
readonly
|
|
242
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
31
243
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
32
244
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
33
245
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
34
246
|
}, undefined>, "Expected an array of list options">;
|
|
35
|
-
readonly
|
|
36
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
247
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
37
248
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
38
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
249
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
250
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
251
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
39
252
|
}, undefined>, v.ObjectSchema<{
|
|
40
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
41
253
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
42
|
-
readonly
|
|
254
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
43
255
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
44
256
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
45
257
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
46
258
|
}, undefined>, "Expected an array of list options">;
|
|
47
|
-
readonly
|
|
48
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
259
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
49
260
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
50
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
261
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
262
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
263
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
51
264
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
52
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
53
265
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
54
266
|
label: string;
|
|
55
267
|
value: string;
|
|
56
268
|
}[]) => string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
57
|
-
readonly
|
|
269
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
58
270
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
59
271
|
label: string;
|
|
60
272
|
value: string;
|
|
@@ -62,17 +274,17 @@ declare const CommerceAppConfigSchemas: {
|
|
|
62
274
|
label: string;
|
|
63
275
|
value: string;
|
|
64
276
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
65
|
-
readonly
|
|
66
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
277
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
67
278
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
68
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
279
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
280
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
281
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
69
282
|
}, undefined>, v.ObjectSchema<{
|
|
70
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
71
283
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
72
284
|
label: string;
|
|
73
285
|
value: string;
|
|
74
286
|
}[]) => string[], v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
75
|
-
readonly
|
|
287
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
76
288
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
77
289
|
label: string;
|
|
78
290
|
value: string;
|
|
@@ -80,83 +292,83 @@ declare const CommerceAppConfigSchemas: {
|
|
|
80
292
|
label: string;
|
|
81
293
|
value: string;
|
|
82
294
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
83
|
-
readonly
|
|
84
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
295
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
85
296
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
86
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
297
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
298
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
299
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
87
300
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
88
|
-
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
89
301
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
90
|
-
readonly
|
|
91
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
302
|
+
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
92
303
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
93
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
304
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
305
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
306
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
94
307
|
}, undefined>, v.ObjectSchema<{
|
|
95
|
-
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
96
308
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
97
|
-
readonly
|
|
98
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
309
|
+
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
99
310
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
100
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
311
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
312
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
313
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
101
314
|
}, undefined>, v.ObjectSchema<{
|
|
102
|
-
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
103
315
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
104
|
-
readonly
|
|
105
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
316
|
+
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
106
317
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
107
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
318
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
319
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
320
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
108
321
|
}, undefined>, v.ObjectSchema<{
|
|
109
|
-
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
110
322
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
111
|
-
readonly
|
|
112
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
323
|
+
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
113
324
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
114
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
325
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
326
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
327
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
115
328
|
}, undefined>, v.ObjectSchema<{
|
|
116
|
-
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
117
329
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
118
|
-
readonly
|
|
119
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
330
|
+
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
120
331
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
121
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
332
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
333
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
334
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
122
335
|
}, undefined>, v.ObjectSchema<{
|
|
123
|
-
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
124
336
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
125
|
-
readonly
|
|
126
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
337
|
+
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
127
338
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
128
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
339
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
340
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
341
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
129
342
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
130
|
-
selectionMode: "single";
|
|
131
343
|
default: string;
|
|
132
|
-
|
|
344
|
+
selectionMode: "single";
|
|
133
345
|
options: {
|
|
134
346
|
label: string;
|
|
135
347
|
value: string;
|
|
136
348
|
}[];
|
|
137
|
-
|
|
138
|
-
label?: string | undefined;
|
|
349
|
+
type: "list";
|
|
139
350
|
description?: string | undefined;
|
|
140
351
|
env?: ("paas" | "saas")[] | undefined;
|
|
352
|
+
label?: string | undefined;
|
|
353
|
+
name: string;
|
|
141
354
|
} | {
|
|
142
|
-
selectionMode: "multiple";
|
|
143
355
|
default: string[];
|
|
144
|
-
|
|
356
|
+
selectionMode: "multiple";
|
|
145
357
|
options: {
|
|
146
358
|
label: string;
|
|
147
359
|
value: string;
|
|
148
360
|
}[];
|
|
149
|
-
|
|
150
|
-
label?: string | undefined;
|
|
361
|
+
type: "list";
|
|
151
362
|
description?: string | undefined;
|
|
152
363
|
env?: ("paas" | "saas")[] | undefined;
|
|
364
|
+
label?: string | undefined;
|
|
365
|
+
name: string;
|
|
153
366
|
} | {
|
|
154
|
-
selectionMode: "single";
|
|
155
367
|
default: (resolvedOptions: {
|
|
156
368
|
label: string;
|
|
157
369
|
value: string;
|
|
158
370
|
}[]) => string;
|
|
159
|
-
|
|
371
|
+
selectionMode: "single";
|
|
160
372
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
161
373
|
label: string;
|
|
162
374
|
value: string;
|
|
@@ -164,17 +376,17 @@ declare const CommerceAppConfigSchemas: {
|
|
|
164
376
|
label: string;
|
|
165
377
|
value: string;
|
|
166
378
|
}[]>;
|
|
167
|
-
|
|
168
|
-
label?: string | undefined;
|
|
379
|
+
type: "dynamicList";
|
|
169
380
|
description?: string | undefined;
|
|
170
381
|
env?: ("paas" | "saas")[] | undefined;
|
|
382
|
+
label?: string | undefined;
|
|
383
|
+
name: string;
|
|
171
384
|
} | {
|
|
172
|
-
selectionMode: "multiple";
|
|
173
385
|
default?: ((resolvedOptions: {
|
|
174
386
|
label: string;
|
|
175
387
|
value: string;
|
|
176
388
|
}[]) => string[]) | undefined;
|
|
177
|
-
|
|
389
|
+
selectionMode: "multiple";
|
|
178
390
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
179
391
|
label: string;
|
|
180
392
|
value: string;
|
|
@@ -182,312 +394,85 @@ declare const CommerceAppConfigSchemas: {
|
|
|
182
394
|
label: string;
|
|
183
395
|
value: string;
|
|
184
396
|
}[]>;
|
|
185
|
-
|
|
186
|
-
label?: string | undefined;
|
|
397
|
+
type: "dynamicList";
|
|
187
398
|
description?: string | undefined;
|
|
188
399
|
env?: ("paas" | "saas")[] | undefined;
|
|
400
|
+
label?: string | undefined;
|
|
401
|
+
name: string;
|
|
189
402
|
} | {
|
|
190
|
-
type: "text";
|
|
191
403
|
default: string;
|
|
192
|
-
|
|
193
|
-
label?: string | undefined;
|
|
404
|
+
type: "text";
|
|
194
405
|
description?: string | undefined;
|
|
195
406
|
env?: ("paas" | "saas")[] | undefined;
|
|
407
|
+
label?: string | undefined;
|
|
408
|
+
name: string;
|
|
196
409
|
} | {
|
|
197
|
-
type: "password";
|
|
198
410
|
default: "";
|
|
199
|
-
|
|
200
|
-
label?: string | undefined;
|
|
411
|
+
type: "password";
|
|
201
412
|
description?: string | undefined;
|
|
202
413
|
env?: ("paas" | "saas")[] | undefined;
|
|
414
|
+
label?: string | undefined;
|
|
415
|
+
name: string;
|
|
203
416
|
} | {
|
|
204
|
-
type: "email";
|
|
205
417
|
default: string;
|
|
206
|
-
|
|
207
|
-
label?: string | undefined;
|
|
418
|
+
type: "email";
|
|
208
419
|
description?: string | undefined;
|
|
209
420
|
env?: ("paas" | "saas")[] | undefined;
|
|
421
|
+
label?: string | undefined;
|
|
422
|
+
name: string;
|
|
210
423
|
} | {
|
|
211
|
-
type: "url";
|
|
212
424
|
default: string;
|
|
213
|
-
|
|
214
|
-
label?: string | undefined;
|
|
425
|
+
type: "url";
|
|
215
426
|
description?: string | undefined;
|
|
216
427
|
env?: ("paas" | "saas")[] | undefined;
|
|
428
|
+
label?: string | undefined;
|
|
429
|
+
name: string;
|
|
217
430
|
} | {
|
|
218
|
-
type: "tel";
|
|
219
431
|
default: string;
|
|
220
|
-
|
|
221
|
-
label?: string | undefined;
|
|
432
|
+
type: "tel";
|
|
222
433
|
description?: string | undefined;
|
|
223
434
|
env?: ("paas" | "saas")[] | undefined;
|
|
435
|
+
label?: string | undefined;
|
|
436
|
+
name: string;
|
|
224
437
|
} | {
|
|
225
|
-
type: "boolean";
|
|
226
438
|
default: boolean;
|
|
227
|
-
|
|
228
|
-
label?: string | undefined;
|
|
439
|
+
type: "boolean";
|
|
229
440
|
description?: string | undefined;
|
|
230
441
|
env?: ("paas" | "saas")[] | undefined;
|
|
442
|
+
label?: string | undefined;
|
|
443
|
+
name: string;
|
|
231
444
|
})[], 1, "At least one configuration parameter is required">]>, readonly []>;
|
|
232
445
|
}, undefined>;
|
|
233
|
-
readonly eventing: v.ObjectSchema<{
|
|
234
|
-
readonly commerce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
235
|
-
readonly provider: v.ObjectSchema<{
|
|
236
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
237
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
238
|
-
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
239
|
-
}, undefined>;
|
|
240
|
-
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
241
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
242
|
-
readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
243
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
|
|
244
|
-
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
245
|
-
}, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
|
|
246
|
-
name: string;
|
|
247
|
-
source?: string | undefined;
|
|
248
|
-
}[], 1, "The Commerce event configuration must define at least one field">]>;
|
|
249
|
-
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
250
|
-
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
251
|
-
readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
|
|
252
|
-
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
253
|
-
}, undefined>, "Expected an array of event rules with field, operator, and value">, undefined>;
|
|
254
|
-
readonly destination: 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
|
-
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
256
|
-
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
257
|
-
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
258
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
259
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
260
|
-
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
261
|
-
}, undefined>, "Expected an array of Commerce events">;
|
|
262
|
-
}, undefined>, "Expected an array of Commerce event sources">, v.CheckAction<{
|
|
263
|
-
provider: {
|
|
264
|
-
label: string;
|
|
265
|
-
description: string;
|
|
266
|
-
key?: string | undefined;
|
|
267
|
-
};
|
|
268
|
-
events: {
|
|
269
|
-
name: string;
|
|
270
|
-
fields: {
|
|
271
|
-
name: string;
|
|
272
|
-
source?: string | undefined;
|
|
273
|
-
}[];
|
|
274
|
-
rules?: {
|
|
275
|
-
field: string;
|
|
276
|
-
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
277
|
-
value: string;
|
|
278
|
-
}[] | undefined;
|
|
279
|
-
destination?: string | undefined;
|
|
280
|
-
hipaa_audit_required?: boolean | undefined;
|
|
281
|
-
priority?: boolean | undefined;
|
|
282
|
-
force?: boolean | undefined;
|
|
283
|
-
label: string;
|
|
284
|
-
description: string;
|
|
285
|
-
runtimeActions: string[];
|
|
286
|
-
}[];
|
|
287
|
-
}[], "Commerce provider labels must be unique">]>, undefined>;
|
|
288
|
-
readonly external: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
289
|
-
readonly provider: v.ObjectSchema<{
|
|
290
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
291
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
292
|
-
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
293
|
-
}, undefined>;
|
|
294
|
-
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
295
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
296
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
297
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
298
|
-
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
299
|
-
}, undefined>, "Expected an array of external events">;
|
|
300
|
-
}, undefined>, "Expected an array of external event sources">, v.CheckAction<{
|
|
301
|
-
provider: {
|
|
302
|
-
label: string;
|
|
303
|
-
description: string;
|
|
304
|
-
key?: string | undefined;
|
|
305
|
-
};
|
|
306
|
-
events: {
|
|
307
|
-
name: string;
|
|
308
|
-
label: string;
|
|
309
|
-
description: string;
|
|
310
|
-
runtimeActions: string[];
|
|
311
|
-
}[];
|
|
312
|
-
}[], "External provider labels must be unique">]>, undefined>;
|
|
313
|
-
}, undefined>;
|
|
314
|
-
readonly installation: v.ObjectSchema<{
|
|
315
|
-
readonly messages: v.OptionalSchema<v.ObjectSchema<{
|
|
316
|
-
readonly preInstallation: v.OptionalSchema<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, 1000, "The preInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
317
|
-
readonly postInstallation: v.OptionalSchema<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, 1000, "The postInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
318
|
-
}, undefined>, undefined>;
|
|
319
|
-
readonly customInstallationSteps: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
320
|
-
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
321
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
322
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
|
|
323
|
-
}, undefined>, "Expected an array of custom installation steps">, undefined>, v.CheckAction<{
|
|
324
|
-
script: string;
|
|
325
|
-
name: string;
|
|
326
|
-
description: string;
|
|
327
|
-
}[] | undefined, "Duplicate step names detected in custom installation steps. Each step must have a unique name.">]>;
|
|
328
|
-
}, undefined>;
|
|
329
|
-
readonly webhooks: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
330
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
331
|
-
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
332
|
-
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
333
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
334
|
-
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
335
|
-
readonly webhook: v.ObjectSchema<{
|
|
336
|
-
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
337
|
-
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
338
|
-
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">]>;
|
|
339
|
-
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>;
|
|
340
|
-
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
341
|
-
readonly priority: 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
|
-
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
343
|
-
readonly soft_timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
344
|
-
readonly 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>;
|
|
345
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
346
|
-
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
347
|
-
readonly ttl: 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>;
|
|
348
|
-
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
349
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
350
|
-
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
351
|
-
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
352
|
-
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
353
|
-
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
354
|
-
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
355
|
-
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
356
|
-
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
357
|
-
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
358
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
359
|
-
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
360
|
-
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
361
|
-
}, undefined>;
|
|
362
|
-
}, undefined>, v.ObjectSchema<{
|
|
363
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
364
|
-
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
365
|
-
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
366
|
-
readonly webhook: v.ObjectSchema<{
|
|
367
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.UrlAction<string, "The 'url' field must be a valid absolute URL (e.g., 'https://example.com/webhook')">]>;
|
|
368
|
-
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
369
|
-
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
370
|
-
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">]>;
|
|
371
|
-
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>;
|
|
372
|
-
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
373
|
-
readonly priority: 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>;
|
|
374
|
-
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
375
|
-
readonly soft_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>;
|
|
376
|
-
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>;
|
|
377
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
378
|
-
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
379
|
-
readonly ttl: 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>;
|
|
380
|
-
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
381
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
382
|
-
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
383
|
-
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
384
|
-
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
385
|
-
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
386
|
-
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
387
|
-
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
388
|
-
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
389
|
-
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
390
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
391
|
-
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
392
|
-
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
393
|
-
}, undefined>;
|
|
394
|
-
}, undefined>], "Each webhook entry must define either a 'runtimeAction' (to resolve the URL from a runtime action) or an explicit 'url' inside the 'webhook' object, but not both">, "Expected an array of webhook entries">, v.MinLengthAction<({
|
|
395
|
-
label: string;
|
|
396
|
-
description: string;
|
|
397
|
-
category?: "validation" | "append" | "modification" | undefined;
|
|
398
|
-
runtimeAction: string;
|
|
399
|
-
requireAdobeAuth?: boolean | undefined;
|
|
400
|
-
webhook: {
|
|
401
|
-
webhook_method: string;
|
|
402
|
-
webhook_type: string;
|
|
403
|
-
batch_name: string;
|
|
404
|
-
batch_order?: number | undefined;
|
|
405
|
-
hook_name: string;
|
|
406
|
-
priority?: number | undefined;
|
|
407
|
-
required?: boolean | undefined;
|
|
408
|
-
soft_timeout?: number | undefined;
|
|
409
|
-
timeout?: number | undefined;
|
|
410
|
-
method: string;
|
|
411
|
-
fallback_error_message?: string | undefined;
|
|
412
|
-
ttl?: number | undefined;
|
|
413
|
-
fields?: {
|
|
414
|
-
name: string;
|
|
415
|
-
source?: string | undefined;
|
|
416
|
-
}[] | undefined;
|
|
417
|
-
rules?: {
|
|
418
|
-
field: string;
|
|
419
|
-
operator: string;
|
|
420
|
-
value: string;
|
|
421
|
-
}[] | undefined;
|
|
422
|
-
headers?: {
|
|
423
|
-
name: string;
|
|
424
|
-
value: string;
|
|
425
|
-
}[] | undefined;
|
|
426
|
-
};
|
|
427
|
-
} | {
|
|
428
|
-
label: string;
|
|
429
|
-
description: string;
|
|
430
|
-
category?: "validation" | "append" | "modification" | undefined;
|
|
431
|
-
webhook: {
|
|
432
|
-
url: string;
|
|
433
|
-
webhook_method: string;
|
|
434
|
-
webhook_type: string;
|
|
435
|
-
batch_name: string;
|
|
436
|
-
batch_order?: number | undefined;
|
|
437
|
-
hook_name: string;
|
|
438
|
-
priority?: number | undefined;
|
|
439
|
-
required?: boolean | undefined;
|
|
440
|
-
soft_timeout?: number | undefined;
|
|
441
|
-
timeout?: number | undefined;
|
|
442
|
-
method: string;
|
|
443
|
-
fallback_error_message?: string | undefined;
|
|
444
|
-
ttl?: number | undefined;
|
|
445
|
-
fields?: {
|
|
446
|
-
name: string;
|
|
447
|
-
source?: string | undefined;
|
|
448
|
-
}[] | undefined;
|
|
449
|
-
rules?: {
|
|
450
|
-
field: string;
|
|
451
|
-
operator: string;
|
|
452
|
-
value: string;
|
|
453
|
-
}[] | undefined;
|
|
454
|
-
headers?: {
|
|
455
|
-
name: string;
|
|
456
|
-
value: string;
|
|
457
|
-
}[] | undefined;
|
|
458
|
-
};
|
|
459
|
-
})[], 1, "webhooks array must contain at least one webhook when present">]>, undefined>;
|
|
460
446
|
readonly "businessConfig.schema": v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
461
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
462
447
|
readonly default: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default value">, v.NonEmptyAction<string, "The default value must not be empty">]>;
|
|
463
|
-
readonly
|
|
448
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
464
449
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
465
450
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
466
451
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
467
452
|
}, undefined>, "Expected an array of list options">;
|
|
468
|
-
readonly
|
|
469
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
453
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
470
454
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
471
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
455
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
456
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
457
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
472
458
|
}, undefined>, v.ObjectSchema<{
|
|
473
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
474
459
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
475
|
-
readonly
|
|
460
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
476
461
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
477
462
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
478
463
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
479
464
|
}, undefined>, "Expected an array of list options">;
|
|
480
|
-
readonly
|
|
481
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
465
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
482
466
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
483
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
467
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
468
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
469
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
484
470
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
485
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
486
471
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
487
472
|
label: string;
|
|
488
473
|
value: string;
|
|
489
474
|
}[]) => string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
490
|
-
readonly
|
|
475
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
491
476
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
492
477
|
label: string;
|
|
493
478
|
value: string;
|
|
@@ -495,17 +480,17 @@ declare const CommerceAppConfigSchemas: {
|
|
|
495
480
|
label: string;
|
|
496
481
|
value: string;
|
|
497
482
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
498
|
-
readonly
|
|
499
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
483
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
500
484
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
501
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
485
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
486
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
487
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
502
488
|
}, undefined>, v.ObjectSchema<{
|
|
503
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
504
489
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
505
490
|
label: string;
|
|
506
491
|
value: string;
|
|
507
492
|
}[]) => string[], v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
508
|
-
readonly
|
|
493
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
509
494
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
510
495
|
label: string;
|
|
511
496
|
value: string;
|
|
@@ -513,83 +498,83 @@ declare const CommerceAppConfigSchemas: {
|
|
|
513
498
|
label: string;
|
|
514
499
|
value: string;
|
|
515
500
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
516
|
-
readonly
|
|
517
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
501
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
518
502
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
519
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
503
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
504
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
505
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
520
506
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
521
|
-
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
522
507
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
523
|
-
readonly
|
|
524
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
508
|
+
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
525
509
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
526
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
510
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
511
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
512
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
527
513
|
}, undefined>, v.ObjectSchema<{
|
|
528
|
-
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
529
514
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
530
|
-
readonly
|
|
531
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
515
|
+
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
532
516
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
533
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
517
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
518
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
519
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
534
520
|
}, undefined>, v.ObjectSchema<{
|
|
535
|
-
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
536
521
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
537
|
-
readonly
|
|
538
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
522
|
+
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
539
523
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
540
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
524
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
525
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
526
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
541
527
|
}, undefined>, v.ObjectSchema<{
|
|
542
|
-
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
543
528
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
544
|
-
readonly
|
|
545
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
529
|
+
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
546
530
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
547
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
531
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
532
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
533
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
548
534
|
}, undefined>, v.ObjectSchema<{
|
|
549
|
-
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
550
535
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
551
|
-
readonly
|
|
552
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
536
|
+
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
553
537
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
554
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
538
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
539
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
540
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
555
541
|
}, undefined>, v.ObjectSchema<{
|
|
556
|
-
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
557
542
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
558
|
-
readonly
|
|
559
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
543
|
+
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
560
544
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
561
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
545
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
546
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
547
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
562
548
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
563
|
-
selectionMode: "single";
|
|
564
549
|
default: string;
|
|
565
|
-
|
|
550
|
+
selectionMode: "single";
|
|
566
551
|
options: {
|
|
567
552
|
label: string;
|
|
568
553
|
value: string;
|
|
569
554
|
}[];
|
|
570
|
-
|
|
571
|
-
label?: string | undefined;
|
|
555
|
+
type: "list";
|
|
572
556
|
description?: string | undefined;
|
|
573
557
|
env?: ("paas" | "saas")[] | undefined;
|
|
558
|
+
label?: string | undefined;
|
|
559
|
+
name: string;
|
|
574
560
|
} | {
|
|
575
|
-
selectionMode: "multiple";
|
|
576
561
|
default: string[];
|
|
577
|
-
|
|
562
|
+
selectionMode: "multiple";
|
|
578
563
|
options: {
|
|
579
564
|
label: string;
|
|
580
565
|
value: string;
|
|
581
566
|
}[];
|
|
582
|
-
|
|
583
|
-
label?: string | undefined;
|
|
567
|
+
type: "list";
|
|
584
568
|
description?: string | undefined;
|
|
585
569
|
env?: ("paas" | "saas")[] | undefined;
|
|
570
|
+
label?: string | undefined;
|
|
571
|
+
name: string;
|
|
586
572
|
} | {
|
|
587
|
-
selectionMode: "single";
|
|
588
573
|
default: (resolvedOptions: {
|
|
589
574
|
label: string;
|
|
590
575
|
value: string;
|
|
591
576
|
}[]) => string;
|
|
592
|
-
|
|
577
|
+
selectionMode: "single";
|
|
593
578
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
594
579
|
label: string;
|
|
595
580
|
value: string;
|
|
@@ -597,17 +582,17 @@ declare const CommerceAppConfigSchemas: {
|
|
|
597
582
|
label: string;
|
|
598
583
|
value: string;
|
|
599
584
|
}[]>;
|
|
600
|
-
|
|
601
|
-
label?: string | undefined;
|
|
585
|
+
type: "dynamicList";
|
|
602
586
|
description?: string | undefined;
|
|
603
587
|
env?: ("paas" | "saas")[] | undefined;
|
|
588
|
+
label?: string | undefined;
|
|
589
|
+
name: string;
|
|
604
590
|
} | {
|
|
605
|
-
selectionMode: "multiple";
|
|
606
591
|
default?: ((resolvedOptions: {
|
|
607
592
|
label: string;
|
|
608
593
|
value: string;
|
|
609
594
|
}[]) => string[]) | undefined;
|
|
610
|
-
|
|
595
|
+
selectionMode: "multiple";
|
|
611
596
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
612
597
|
label: string;
|
|
613
598
|
value: string;
|
|
@@ -615,61 +600,196 @@ declare const CommerceAppConfigSchemas: {
|
|
|
615
600
|
label: string;
|
|
616
601
|
value: string;
|
|
617
602
|
}[]>;
|
|
618
|
-
|
|
619
|
-
label?: string | undefined;
|
|
603
|
+
type: "dynamicList";
|
|
620
604
|
description?: string | undefined;
|
|
621
605
|
env?: ("paas" | "saas")[] | undefined;
|
|
606
|
+
label?: string | undefined;
|
|
607
|
+
name: string;
|
|
622
608
|
} | {
|
|
623
|
-
type: "text";
|
|
624
609
|
default: string;
|
|
625
|
-
|
|
626
|
-
label?: string | undefined;
|
|
610
|
+
type: "text";
|
|
627
611
|
description?: string | undefined;
|
|
628
612
|
env?: ("paas" | "saas")[] | undefined;
|
|
613
|
+
label?: string | undefined;
|
|
614
|
+
name: string;
|
|
629
615
|
} | {
|
|
630
|
-
type: "password";
|
|
631
616
|
default: "";
|
|
632
|
-
|
|
633
|
-
label?: string | undefined;
|
|
617
|
+
type: "password";
|
|
634
618
|
description?: string | undefined;
|
|
635
619
|
env?: ("paas" | "saas")[] | undefined;
|
|
620
|
+
label?: string | undefined;
|
|
621
|
+
name: string;
|
|
636
622
|
} | {
|
|
637
|
-
type: "email";
|
|
638
623
|
default: string;
|
|
639
|
-
|
|
640
|
-
label?: string | undefined;
|
|
624
|
+
type: "email";
|
|
641
625
|
description?: string | undefined;
|
|
642
626
|
env?: ("paas" | "saas")[] | undefined;
|
|
627
|
+
label?: string | undefined;
|
|
628
|
+
name: string;
|
|
643
629
|
} | {
|
|
644
|
-
type: "url";
|
|
645
630
|
default: string;
|
|
646
|
-
|
|
647
|
-
label?: string | undefined;
|
|
631
|
+
type: "url";
|
|
648
632
|
description?: string | undefined;
|
|
649
633
|
env?: ("paas" | "saas")[] | undefined;
|
|
634
|
+
label?: string | undefined;
|
|
635
|
+
name: string;
|
|
650
636
|
} | {
|
|
651
|
-
type: "tel";
|
|
652
637
|
default: string;
|
|
653
|
-
|
|
654
|
-
label?: string | undefined;
|
|
638
|
+
type: "tel";
|
|
655
639
|
description?: string | undefined;
|
|
656
640
|
env?: ("paas" | "saas")[] | undefined;
|
|
641
|
+
label?: string | undefined;
|
|
642
|
+
name: string;
|
|
657
643
|
} | {
|
|
658
|
-
type: "boolean";
|
|
659
644
|
default: boolean;
|
|
660
|
-
|
|
661
|
-
label?: string | undefined;
|
|
645
|
+
type: "boolean";
|
|
662
646
|
description?: string | undefined;
|
|
663
647
|
env?: ("paas" | "saas")[] | undefined;
|
|
648
|
+
label?: string | undefined;
|
|
649
|
+
name: string;
|
|
664
650
|
})[], 1, "At least one configuration parameter is required">]>;
|
|
651
|
+
readonly eventing: v.ObjectSchema<{
|
|
652
|
+
readonly commerce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
653
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
654
|
+
readonly destination: 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>;
|
|
655
|
+
readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
656
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
|
|
657
|
+
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
658
|
+
}, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
|
|
659
|
+
name: string;
|
|
660
|
+
source?: string | undefined;
|
|
661
|
+
}[], 1, "The Commerce event configuration must define at least one field">]>;
|
|
662
|
+
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
663
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
664
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
665
|
+
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
666
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
667
|
+
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
668
|
+
readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
|
|
669
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
670
|
+
}, undefined>, "Expected an array of event rules with field, operator, and value">, undefined>;
|
|
671
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
672
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
673
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
674
|
+
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
675
|
+
}, undefined>, "Expected an array of Commerce events">, v.MinLengthAction<{
|
|
676
|
+
destination?: string | undefined;
|
|
677
|
+
fields: {
|
|
678
|
+
name: string;
|
|
679
|
+
source?: string | undefined;
|
|
680
|
+
}[];
|
|
681
|
+
force?: boolean | undefined;
|
|
682
|
+
hipaa_audit_required?: boolean | undefined;
|
|
683
|
+
name: string;
|
|
684
|
+
priority?: boolean | undefined;
|
|
685
|
+
rules?: {
|
|
686
|
+
field: string;
|
|
687
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
688
|
+
value: string;
|
|
689
|
+
}[] | undefined;
|
|
690
|
+
description: string;
|
|
691
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
692
|
+
label: string;
|
|
693
|
+
runtimeActions: string[];
|
|
694
|
+
}[], 1, "The Commerce event source configuration must define at least one event">, v.CheckAction<{
|
|
695
|
+
destination?: string | undefined;
|
|
696
|
+
fields: {
|
|
697
|
+
name: string;
|
|
698
|
+
source?: string | undefined;
|
|
699
|
+
}[];
|
|
700
|
+
force?: boolean | undefined;
|
|
701
|
+
hipaa_audit_required?: boolean | undefined;
|
|
702
|
+
name: string;
|
|
703
|
+
priority?: boolean | undefined;
|
|
704
|
+
rules?: {
|
|
705
|
+
field: string;
|
|
706
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
707
|
+
value: string;
|
|
708
|
+
}[] | undefined;
|
|
709
|
+
description: string;
|
|
710
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
711
|
+
label: string;
|
|
712
|
+
runtimeActions: string[];
|
|
713
|
+
}[], "Commerce event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
714
|
+
readonly provider: v.ObjectSchema<{
|
|
715
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
716
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
717
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
718
|
+
}, undefined>;
|
|
719
|
+
}, undefined>, "Expected an array of Commerce event sources">, v.CheckAction<{
|
|
720
|
+
events: {
|
|
721
|
+
destination?: string | undefined;
|
|
722
|
+
fields: {
|
|
723
|
+
name: string;
|
|
724
|
+
source?: string | undefined;
|
|
725
|
+
}[];
|
|
726
|
+
force?: boolean | undefined;
|
|
727
|
+
hipaa_audit_required?: boolean | undefined;
|
|
728
|
+
name: string;
|
|
729
|
+
priority?: boolean | undefined;
|
|
730
|
+
rules?: {
|
|
731
|
+
field: string;
|
|
732
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
733
|
+
value: string;
|
|
734
|
+
}[] | undefined;
|
|
735
|
+
description: string;
|
|
736
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
737
|
+
label: string;
|
|
738
|
+
runtimeActions: string[];
|
|
739
|
+
}[];
|
|
740
|
+
provider: {
|
|
741
|
+
description: string;
|
|
742
|
+
key?: string | undefined;
|
|
743
|
+
label: string;
|
|
744
|
+
};
|
|
745
|
+
}[], "Commerce provider labels must be unique">]>, undefined>;
|
|
746
|
+
readonly external: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
747
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
748
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
749
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
750
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
751
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
752
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
753
|
+
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
754
|
+
}, undefined>, "Expected an array of external events">, v.MinLengthAction<{
|
|
755
|
+
hipaa_audit_required?: boolean | undefined;
|
|
756
|
+
name: string;
|
|
757
|
+
description: string;
|
|
758
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
759
|
+
label: string;
|
|
760
|
+
runtimeActions: string[];
|
|
761
|
+
}[], 1, "The external event source configuration must define at least one event">, v.CheckAction<{
|
|
762
|
+
hipaa_audit_required?: boolean | undefined;
|
|
763
|
+
name: string;
|
|
764
|
+
description: string;
|
|
765
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
766
|
+
label: string;
|
|
767
|
+
runtimeActions: string[];
|
|
768
|
+
}[], "External event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
769
|
+
readonly provider: v.ObjectSchema<{
|
|
770
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
771
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
772
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
773
|
+
}, undefined>;
|
|
774
|
+
}, undefined>, "Expected an array of external event sources">, v.CheckAction<{
|
|
775
|
+
events: {
|
|
776
|
+
hipaa_audit_required?: boolean | undefined;
|
|
777
|
+
name: string;
|
|
778
|
+
description: string;
|
|
779
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
780
|
+
label: string;
|
|
781
|
+
runtimeActions: string[];
|
|
782
|
+
}[];
|
|
783
|
+
provider: {
|
|
784
|
+
description: string;
|
|
785
|
+
key?: string | undefined;
|
|
786
|
+
label: string;
|
|
787
|
+
};
|
|
788
|
+
}[], "External provider labels must be unique">]>, undefined>;
|
|
789
|
+
}, undefined>;
|
|
665
790
|
readonly "eventing.commerce": v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
669
|
-
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
670
|
-
}, undefined>;
|
|
671
|
-
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
672
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
791
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
792
|
+
readonly destination: 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>;
|
|
673
793
|
readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
674
794
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
|
|
675
795
|
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
@@ -677,282 +797,294 @@ declare const CommerceAppConfigSchemas: {
|
|
|
677
797
|
name: string;
|
|
678
798
|
source?: string | undefined;
|
|
679
799
|
}[], 1, "The Commerce event configuration must define at least one field">]>;
|
|
800
|
+
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
801
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
802
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
803
|
+
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
680
804
|
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
681
805
|
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
682
806
|
readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
|
|
683
807
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
684
808
|
}, undefined>, "Expected an array of event rules with field, operator, and value">, undefined>;
|
|
685
|
-
readonly destination: 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>;
|
|
686
|
-
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
687
|
-
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
688
|
-
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
689
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
690
809
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
810
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
811
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
691
812
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
692
|
-
}, undefined>, "Expected an array of Commerce events"
|
|
693
|
-
|
|
694
|
-
provider: {
|
|
695
|
-
label: string;
|
|
696
|
-
description: string;
|
|
697
|
-
key?: string | undefined;
|
|
698
|
-
};
|
|
699
|
-
events: {
|
|
700
|
-
name: string;
|
|
813
|
+
}, undefined>, "Expected an array of Commerce events">, v.MinLengthAction<{
|
|
814
|
+
destination?: string | undefined;
|
|
701
815
|
fields: {
|
|
702
816
|
name: string;
|
|
703
817
|
source?: string | undefined;
|
|
704
818
|
}[];
|
|
819
|
+
force?: boolean | undefined;
|
|
820
|
+
hipaa_audit_required?: boolean | undefined;
|
|
821
|
+
name: string;
|
|
822
|
+
priority?: boolean | undefined;
|
|
705
823
|
rules?: {
|
|
706
824
|
field: string;
|
|
707
825
|
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
708
826
|
value: string;
|
|
709
827
|
}[] | undefined;
|
|
828
|
+
description: string;
|
|
829
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
830
|
+
label: string;
|
|
831
|
+
runtimeActions: string[];
|
|
832
|
+
}[], 1, "The Commerce event source configuration must define at least one event">, v.CheckAction<{
|
|
710
833
|
destination?: string | undefined;
|
|
834
|
+
fields: {
|
|
835
|
+
name: string;
|
|
836
|
+
source?: string | undefined;
|
|
837
|
+
}[];
|
|
838
|
+
force?: boolean | undefined;
|
|
711
839
|
hipaa_audit_required?: boolean | undefined;
|
|
840
|
+
name: string;
|
|
712
841
|
priority?: boolean | undefined;
|
|
713
|
-
|
|
714
|
-
|
|
842
|
+
rules?: {
|
|
843
|
+
field: string;
|
|
844
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
845
|
+
value: string;
|
|
846
|
+
}[] | undefined;
|
|
715
847
|
description: string;
|
|
848
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
849
|
+
label: string;
|
|
716
850
|
runtimeActions: string[];
|
|
717
|
-
}[]
|
|
718
|
-
}[], "Commerce provider labels must be unique">]>;
|
|
719
|
-
readonly "eventing.external": v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
851
|
+
}[], "Commerce event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
720
852
|
readonly provider: v.ObjectSchema<{
|
|
721
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
722
853
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
723
854
|
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
855
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
724
856
|
}, undefined>;
|
|
725
|
-
|
|
857
|
+
}, undefined>, "Expected an array of Commerce event sources">, v.CheckAction<{
|
|
858
|
+
events: {
|
|
859
|
+
destination?: string | undefined;
|
|
860
|
+
fields: {
|
|
861
|
+
name: string;
|
|
862
|
+
source?: string | undefined;
|
|
863
|
+
}[];
|
|
864
|
+
force?: boolean | undefined;
|
|
865
|
+
hipaa_audit_required?: boolean | undefined;
|
|
866
|
+
name: string;
|
|
867
|
+
priority?: boolean | undefined;
|
|
868
|
+
rules?: {
|
|
869
|
+
field: string;
|
|
870
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
871
|
+
value: string;
|
|
872
|
+
}[] | undefined;
|
|
873
|
+
description: string;
|
|
874
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
875
|
+
label: string;
|
|
876
|
+
runtimeActions: string[];
|
|
877
|
+
}[];
|
|
878
|
+
provider: {
|
|
879
|
+
description: string;
|
|
880
|
+
key?: string | undefined;
|
|
881
|
+
label: string;
|
|
882
|
+
};
|
|
883
|
+
}[], "Commerce provider labels must be unique">]>;
|
|
884
|
+
readonly "eventing.external": v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
885
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
886
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
726
887
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
727
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
728
888
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
889
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
890
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
729
891
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
730
|
-
}, undefined>, "Expected an array of external events"
|
|
731
|
-
|
|
732
|
-
|
|
892
|
+
}, undefined>, "Expected an array of external events">, v.MinLengthAction<{
|
|
893
|
+
hipaa_audit_required?: boolean | undefined;
|
|
894
|
+
name: string;
|
|
895
|
+
description: string;
|
|
896
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
733
897
|
label: string;
|
|
898
|
+
runtimeActions: string[];
|
|
899
|
+
}[], 1, "The external event source configuration must define at least one event">, v.CheckAction<{
|
|
900
|
+
hipaa_audit_required?: boolean | undefined;
|
|
901
|
+
name: string;
|
|
734
902
|
description: string;
|
|
735
|
-
|
|
736
|
-
|
|
903
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
904
|
+
label: string;
|
|
905
|
+
runtimeActions: string[];
|
|
906
|
+
}[], "External event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
907
|
+
readonly provider: v.ObjectSchema<{
|
|
908
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
909
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
910
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
911
|
+
}, undefined>;
|
|
912
|
+
}, undefined>, "Expected an array of external event sources">, v.CheckAction<{
|
|
737
913
|
events: {
|
|
914
|
+
hipaa_audit_required?: boolean | undefined;
|
|
738
915
|
name: string;
|
|
739
|
-
label: string;
|
|
740
916
|
description: string;
|
|
917
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
918
|
+
label: string;
|
|
741
919
|
runtimeActions: string[];
|
|
742
920
|
}[];
|
|
921
|
+
provider: {
|
|
922
|
+
description: string;
|
|
923
|
+
key?: string | undefined;
|
|
924
|
+
label: string;
|
|
925
|
+
};
|
|
743
926
|
}[], "External provider labels must be unique">]>;
|
|
927
|
+
readonly installation: v.ObjectSchema<{
|
|
928
|
+
readonly customInstallationSteps: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
929
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
|
|
930
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
931
|
+
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
932
|
+
}, undefined>, "Expected an array of custom installation steps">, undefined>, v.CheckAction<{
|
|
933
|
+
description: string;
|
|
934
|
+
name: string;
|
|
935
|
+
script: string;
|
|
936
|
+
}[] | undefined, "Duplicate step names detected in custom installation steps. Each step must have a unique name.">]>;
|
|
937
|
+
readonly messages: v.OptionalSchema<v.ObjectSchema<{
|
|
938
|
+
readonly postInstallation: v.OptionalSchema<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, 1000, "The postInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
939
|
+
readonly preInstallation: v.OptionalSchema<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, 1000, "The preInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
940
|
+
}, undefined>, undefined>;
|
|
941
|
+
}, undefined>;
|
|
744
942
|
readonly "installation.customInstallationSteps": v.ArraySchema<v.ObjectSchema<{
|
|
745
|
-
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
746
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
747
943
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
|
|
944
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
945
|
+
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
748
946
|
}, undefined>, "Expected an array of custom installation steps">;
|
|
749
|
-
readonly
|
|
750
|
-
readonly
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
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>;
|
|
755
|
-
readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
756
|
-
readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
757
|
-
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>;
|
|
758
|
-
}, undefined>, undefined>, undefined>;
|
|
759
|
-
readonly order: v.OptionalSchema<v.ObjectSchema<{
|
|
760
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
761
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
762
|
-
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>;
|
|
763
|
-
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>;
|
|
764
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
765
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
766
|
-
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>;
|
|
767
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
768
|
-
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>;
|
|
769
|
-
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>;
|
|
770
|
-
}, undefined>, undefined>;
|
|
771
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
772
|
-
} & {
|
|
773
|
-
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>;
|
|
774
|
-
}, undefined>, v.PipeItem<{
|
|
775
|
-
displayIframe?: boolean | undefined;
|
|
776
|
-
timeout?: number | undefined;
|
|
777
|
-
sandbox?: string | undefined;
|
|
778
|
-
actionId: string;
|
|
779
|
-
label: string;
|
|
780
|
-
title?: string | undefined;
|
|
781
|
-
confirm?: {
|
|
782
|
-
title?: string | undefined;
|
|
783
|
-
message?: string | undefined;
|
|
784
|
-
} | undefined;
|
|
785
|
-
path: string;
|
|
786
|
-
selectionLimit?: number | undefined;
|
|
787
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
788
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
789
|
-
readonly data: v.ObjectSchema<{
|
|
790
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
791
|
-
}, undefined>;
|
|
792
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
793
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
794
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
795
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
796
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
797
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
798
|
-
label: string;
|
|
799
|
-
columnId: string;
|
|
800
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
801
|
-
align: "left" | "right" | "center";
|
|
802
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
803
|
-
}, undefined>, undefined>;
|
|
804
|
-
readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
805
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
806
|
-
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>;
|
|
807
|
-
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>;
|
|
808
|
-
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
809
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
810
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
811
|
-
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>;
|
|
812
|
-
}, undefined>, undefined>;
|
|
813
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
814
|
-
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
815
|
-
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>;
|
|
816
|
-
}, undefined>, v.PipeItem<{
|
|
817
|
-
displayIframe?: boolean | undefined;
|
|
818
|
-
timeout?: number | undefined;
|
|
819
|
-
sandbox?: string | undefined;
|
|
820
|
-
buttonId: string;
|
|
821
|
-
label: string;
|
|
822
|
-
confirm?: {
|
|
823
|
-
message?: string | undefined;
|
|
824
|
-
} | undefined;
|
|
825
|
-
path: string;
|
|
826
|
-
level?: 0 | 1 | -1 | undefined;
|
|
827
|
-
sortOrder?: number | undefined;
|
|
828
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
829
|
-
readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
830
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
831
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
832
|
-
readonly value: v.NumberSchema<"Custom fee value must be a number">;
|
|
833
|
-
readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
|
|
834
|
-
readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
835
|
-
readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
836
|
-
}, undefined>, undefined>, undefined>;
|
|
837
|
-
}, undefined>, undefined>;
|
|
838
|
-
readonly product: v.OptionalSchema<v.ObjectSchema<{
|
|
839
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
840
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
841
|
-
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>;
|
|
842
|
-
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>;
|
|
843
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
844
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
845
|
-
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>;
|
|
846
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
847
|
-
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>;
|
|
848
|
-
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>;
|
|
849
|
-
}, undefined>, undefined>;
|
|
850
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
851
|
-
} & {
|
|
852
|
-
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>;
|
|
853
|
-
}, undefined>, v.PipeItem<{
|
|
854
|
-
displayIframe?: boolean | undefined;
|
|
855
|
-
timeout?: number | undefined;
|
|
856
|
-
sandbox?: string | undefined;
|
|
857
|
-
actionId: string;
|
|
858
|
-
label: string;
|
|
859
|
-
title?: string | undefined;
|
|
860
|
-
confirm?: {
|
|
861
|
-
title?: string | undefined;
|
|
862
|
-
message?: string | undefined;
|
|
863
|
-
} | undefined;
|
|
864
|
-
path: string;
|
|
865
|
-
productSelectLimit?: number | undefined;
|
|
866
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
867
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
868
|
-
readonly data: v.ObjectSchema<{
|
|
869
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
870
|
-
}, undefined>;
|
|
871
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
872
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
873
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
874
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
875
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
876
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
877
|
-
label: string;
|
|
878
|
-
columnId: string;
|
|
879
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
880
|
-
align: "left" | "right" | "center";
|
|
881
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
882
|
-
}, undefined>, undefined>;
|
|
883
|
-
}, undefined>, undefined>;
|
|
884
|
-
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
885
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
886
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
887
|
-
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>;
|
|
888
|
-
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>;
|
|
889
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
890
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
891
|
-
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>;
|
|
892
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
893
|
-
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>;
|
|
894
|
-
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>;
|
|
895
|
-
}, undefined>, undefined>;
|
|
896
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
897
|
-
} & {
|
|
898
|
-
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>;
|
|
899
|
-
}, undefined>, v.PipeItem<{
|
|
900
|
-
displayIframe?: boolean | undefined;
|
|
901
|
-
timeout?: number | undefined;
|
|
902
|
-
sandbox?: string | undefined;
|
|
903
|
-
actionId: string;
|
|
904
|
-
label: string;
|
|
905
|
-
title?: string | undefined;
|
|
906
|
-
confirm?: {
|
|
907
|
-
title?: string | undefined;
|
|
908
|
-
message?: string | undefined;
|
|
909
|
-
} | undefined;
|
|
910
|
-
path: string;
|
|
911
|
-
customerSelectLimit?: number | undefined;
|
|
912
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
913
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
914
|
-
readonly data: v.ObjectSchema<{
|
|
915
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
916
|
-
}, undefined>;
|
|
917
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
918
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
919
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
920
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
921
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
922
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
923
|
-
label: string;
|
|
924
|
-
columnId: string;
|
|
925
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
926
|
-
align: "left" | "right" | "center";
|
|
927
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
928
|
-
}, undefined>, undefined>;
|
|
929
|
-
}, undefined>, undefined>;
|
|
930
|
-
readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
|
|
931
|
-
readonly massActions: v.OptionalSchema<v.ObjectSchema<{
|
|
932
|
-
readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
933
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
934
|
-
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>;
|
|
935
|
-
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>;
|
|
936
|
-
}, undefined>, undefined>, undefined>;
|
|
937
|
-
readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
938
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
939
|
-
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>;
|
|
940
|
-
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>;
|
|
941
|
-
}, undefined>, undefined>, undefined>;
|
|
942
|
-
readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
943
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
944
|
-
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>;
|
|
945
|
-
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>;
|
|
946
|
-
}, undefined>, undefined>, undefined>;
|
|
947
|
-
}, undefined>, undefined>;
|
|
948
|
-
readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
949
|
-
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
950
|
-
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>;
|
|
951
|
-
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>;
|
|
952
|
-
}, undefined>, undefined>, undefined>;
|
|
953
|
-
}, undefined>, undefined>;
|
|
954
|
-
}, undefined>;
|
|
947
|
+
readonly metadata: v.ObjectSchema<{
|
|
948
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.MaxLengthAction<string, 255, "The metadata description must not be longer than 255 characters">]>;
|
|
949
|
+
readonly displayName: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.MaxLengthAction<string, 50, "The application display name must not be longer than 50 characters">]>;
|
|
950
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 100, "The application id must not be longer than 100 characters">]>;
|
|
951
|
+
readonly version: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.RegexAction<string, "The version must follow semantic versioning (semver) format: Major.Minor.Patch (e.g., '1.0.0', '2.3.1')">]>;
|
|
955
952
|
}, undefined>;
|
|
953
|
+
readonly webhooks: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
954
|
+
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
955
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
956
|
+
readonly webhook: v.ObjectSchema<{
|
|
957
|
+
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">]>;
|
|
958
|
+
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>;
|
|
959
|
+
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
960
|
+
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
961
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
962
|
+
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
963
|
+
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
964
|
+
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
965
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
966
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
967
|
+
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
968
|
+
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
969
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
970
|
+
readonly priority: 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>;
|
|
971
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
972
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
973
|
+
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
974
|
+
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
975
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
976
|
+
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
977
|
+
readonly soft_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>;
|
|
978
|
+
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>;
|
|
979
|
+
readonly ttl: 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>;
|
|
980
|
+
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
981
|
+
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
982
|
+
}, undefined>;
|
|
983
|
+
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
984
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
985
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
986
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
987
|
+
}, undefined>, v.ObjectSchema<{
|
|
988
|
+
readonly webhook: v.ObjectSchema<{
|
|
989
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.UrlAction<string, "The 'url' field must be a valid absolute URL (e.g., 'https://example.com/webhook')">]>;
|
|
990
|
+
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">]>;
|
|
991
|
+
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>;
|
|
992
|
+
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
993
|
+
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
994
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
995
|
+
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
996
|
+
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
997
|
+
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
998
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
999
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1000
|
+
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
1001
|
+
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
1002
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1003
|
+
readonly priority: 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>;
|
|
1004
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1005
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1006
|
+
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1007
|
+
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1008
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1009
|
+
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
1010
|
+
readonly soft_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>;
|
|
1011
|
+
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>;
|
|
1012
|
+
readonly ttl: 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>;
|
|
1013
|
+
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1014
|
+
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1015
|
+
}, undefined>;
|
|
1016
|
+
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
1017
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1018
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1019
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1020
|
+
}, undefined>], "Each webhook entry must define either a 'runtimeAction' (to resolve the URL from a runtime action) or an explicit 'url' inside the 'webhook' object, but not both">, "Expected an array of webhook entries">, v.MinLengthAction<({
|
|
1021
|
+
requireAdobeAuth?: boolean | undefined;
|
|
1022
|
+
runtimeAction: string;
|
|
1023
|
+
webhook: {
|
|
1024
|
+
batch_name: string;
|
|
1025
|
+
batch_order?: number | undefined;
|
|
1026
|
+
fallback_error_message?: string | undefined;
|
|
1027
|
+
fields?: {
|
|
1028
|
+
name: string;
|
|
1029
|
+
source?: string | undefined;
|
|
1030
|
+
}[] | undefined;
|
|
1031
|
+
headers?: {
|
|
1032
|
+
name: string;
|
|
1033
|
+
value: string;
|
|
1034
|
+
}[] | undefined;
|
|
1035
|
+
hook_name: string;
|
|
1036
|
+
method: string;
|
|
1037
|
+
priority?: number | undefined;
|
|
1038
|
+
required?: boolean | undefined;
|
|
1039
|
+
rules?: {
|
|
1040
|
+
field: string;
|
|
1041
|
+
operator: string;
|
|
1042
|
+
value: string;
|
|
1043
|
+
}[] | undefined;
|
|
1044
|
+
soft_timeout?: number | undefined;
|
|
1045
|
+
timeout?: number | undefined;
|
|
1046
|
+
ttl?: number | undefined;
|
|
1047
|
+
webhook_method: string;
|
|
1048
|
+
webhook_type: string;
|
|
1049
|
+
};
|
|
1050
|
+
category?: "validation" | "append" | "modification" | undefined;
|
|
1051
|
+
description: string;
|
|
1052
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1053
|
+
label: string;
|
|
1054
|
+
} | {
|
|
1055
|
+
webhook: {
|
|
1056
|
+
url: string;
|
|
1057
|
+
batch_name: string;
|
|
1058
|
+
batch_order?: number | undefined;
|
|
1059
|
+
fallback_error_message?: string | undefined;
|
|
1060
|
+
fields?: {
|
|
1061
|
+
name: string;
|
|
1062
|
+
source?: string | undefined;
|
|
1063
|
+
}[] | undefined;
|
|
1064
|
+
headers?: {
|
|
1065
|
+
name: string;
|
|
1066
|
+
value: string;
|
|
1067
|
+
}[] | undefined;
|
|
1068
|
+
hook_name: string;
|
|
1069
|
+
method: string;
|
|
1070
|
+
priority?: number | undefined;
|
|
1071
|
+
required?: boolean | undefined;
|
|
1072
|
+
rules?: {
|
|
1073
|
+
field: string;
|
|
1074
|
+
operator: string;
|
|
1075
|
+
value: string;
|
|
1076
|
+
}[] | undefined;
|
|
1077
|
+
soft_timeout?: number | undefined;
|
|
1078
|
+
timeout?: number | undefined;
|
|
1079
|
+
ttl?: number | undefined;
|
|
1080
|
+
webhook_method: string;
|
|
1081
|
+
webhook_type: string;
|
|
1082
|
+
};
|
|
1083
|
+
category?: "validation" | "append" | "modification" | undefined;
|
|
1084
|
+
description: string;
|
|
1085
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1086
|
+
label: string;
|
|
1087
|
+
})[], 1, "webhooks array must contain at least one webhook when present">]>, undefined>;
|
|
956
1088
|
};
|
|
957
1089
|
/** Individual validatable domains of the commerce app config. */
|
|
958
1090
|
type CommerceAppConfigDomain = keyof typeof CommerceAppConfigSchemas;
|
|
@@ -971,44 +1103,256 @@ declare function hasConfigDomain(config: AnyCommerceAppConfig, domain: CommerceA
|
|
|
971
1103
|
//#region source/config/schema/app.d.ts
|
|
972
1104
|
/** The schema used to validate the commerce app config file. */
|
|
973
1105
|
declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1106
|
+
readonly adminUi: v.OptionalSchema<v.ObjectSchema<{
|
|
1107
|
+
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
1108
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1109
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1110
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1111
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1112
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1113
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1114
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
1115
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1116
|
+
aclProtected?: boolean | undefined;
|
|
1117
|
+
align: "left" | "right" | "center";
|
|
1118
|
+
id: string;
|
|
1119
|
+
label: string;
|
|
1120
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
1121
|
+
}[], 1, "At least one grid column is required">]>;
|
|
1122
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1123
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1124
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1125
|
+
}, undefined>, undefined>;
|
|
1126
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1127
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1128
|
+
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>;
|
|
1129
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1130
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1131
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1132
|
+
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>;
|
|
1133
|
+
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>;
|
|
1134
|
+
}, undefined>, undefined>;
|
|
1135
|
+
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>;
|
|
1136
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1137
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1138
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1139
|
+
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>;
|
|
1140
|
+
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>;
|
|
1141
|
+
}, undefined>, undefined>;
|
|
1142
|
+
readonly 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>;
|
|
1143
|
+
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>;
|
|
1144
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1145
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1146
|
+
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>;
|
|
1147
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
1148
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1149
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1150
|
+
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>;
|
|
1151
|
+
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>;
|
|
1152
|
+
}, undefined>, undefined>;
|
|
1153
|
+
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>;
|
|
1154
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1155
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1156
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1157
|
+
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>;
|
|
1158
|
+
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>;
|
|
1159
|
+
}, undefined>, undefined>;
|
|
1160
|
+
readonly 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>;
|
|
1161
|
+
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>;
|
|
1162
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
1163
|
+
}, undefined>, undefined>;
|
|
1164
|
+
readonly menu: v.OptionalSchema<v.ObjectSchema<{
|
|
1165
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1166
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1167
|
+
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.RegexAction<string, "Menu ID may contain only letters, digits, \"/\", \":\", and \"_\"">]>;
|
|
1168
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1169
|
+
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>;
|
|
1170
|
+
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>;
|
|
1171
|
+
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>;
|
|
1172
|
+
}, undefined>, undefined>;
|
|
1173
|
+
readonly order: v.OptionalSchema<v.ObjectSchema<{
|
|
1174
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1175
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1176
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1177
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1178
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1179
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1180
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
1181
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1182
|
+
aclProtected?: boolean | undefined;
|
|
1183
|
+
align: "left" | "right" | "center";
|
|
1184
|
+
id: string;
|
|
1185
|
+
label: string;
|
|
1186
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
1187
|
+
}[], 1, "At least one grid column is required">]>;
|
|
1188
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1189
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1190
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1191
|
+
}, undefined>, undefined>;
|
|
1192
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1193
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1194
|
+
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>;
|
|
1195
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1196
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1197
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1198
|
+
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>;
|
|
1199
|
+
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>;
|
|
1200
|
+
}, undefined>, undefined>;
|
|
1201
|
+
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>;
|
|
1202
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1203
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1204
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1205
|
+
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>;
|
|
1206
|
+
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>;
|
|
1207
|
+
}, undefined>, undefined>;
|
|
1208
|
+
readonly 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>;
|
|
1209
|
+
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>;
|
|
1210
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1211
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1212
|
+
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>;
|
|
1213
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
1214
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1215
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1216
|
+
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>;
|
|
1217
|
+
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>;
|
|
1218
|
+
}, undefined>, undefined>;
|
|
1219
|
+
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>;
|
|
1220
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1221
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1222
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1223
|
+
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>;
|
|
1224
|
+
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>;
|
|
1225
|
+
}, undefined>, undefined>;
|
|
1226
|
+
readonly 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>;
|
|
1227
|
+
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>;
|
|
1228
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
1229
|
+
readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1230
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1231
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1232
|
+
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>;
|
|
1233
|
+
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>;
|
|
1234
|
+
}, undefined>, undefined>;
|
|
1235
|
+
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>;
|
|
1236
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1237
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1238
|
+
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
1239
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1240
|
+
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>;
|
|
1241
|
+
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>;
|
|
1242
|
+
}, undefined>, undefined>;
|
|
1243
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1244
|
+
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>;
|
|
1245
|
+
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>;
|
|
1246
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1247
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1248
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1249
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1250
|
+
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>;
|
|
1251
|
+
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>;
|
|
1252
|
+
}, undefined>, undefined>;
|
|
1253
|
+
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>;
|
|
1254
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1255
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1256
|
+
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
1257
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1258
|
+
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>;
|
|
1259
|
+
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>;
|
|
1260
|
+
}, undefined>, undefined>;
|
|
1261
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1262
|
+
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>;
|
|
1263
|
+
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>;
|
|
1264
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
1265
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1266
|
+
}, undefined>, undefined>;
|
|
1267
|
+
readonly product: v.OptionalSchema<v.ObjectSchema<{
|
|
1268
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1269
|
+
readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
|
|
1270
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1271
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1272
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1273
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1274
|
+
readonly type: v.PicklistSchema<["boolean", "date", "datetime", "float", "integer", "string"], undefined>;
|
|
1275
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1276
|
+
aclProtected?: boolean | undefined;
|
|
1277
|
+
align: "left" | "right" | "center";
|
|
1278
|
+
id: string;
|
|
1279
|
+
label: string;
|
|
1280
|
+
type: "string" | "boolean" | "date" | "datetime" | "float" | "integer";
|
|
1281
|
+
}[], 1, "At least one grid column is required">]>;
|
|
1282
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1283
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1284
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1285
|
+
}, undefined>, undefined>;
|
|
1286
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
|
|
1287
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1288
|
+
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>;
|
|
1289
|
+
readonly type: v.LiteralSchema<"view", undefined>;
|
|
1290
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1291
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1292
|
+
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>;
|
|
1293
|
+
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>;
|
|
1294
|
+
}, undefined>, undefined>;
|
|
1295
|
+
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>;
|
|
1296
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1297
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1298
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1299
|
+
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>;
|
|
1300
|
+
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>;
|
|
1301
|
+
}, undefined>, undefined>;
|
|
1302
|
+
readonly 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>;
|
|
1303
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
1304
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1305
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1306
|
+
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>;
|
|
1307
|
+
readonly type: v.LiteralSchema<"worker", undefined>;
|
|
1308
|
+
readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1309
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1310
|
+
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>;
|
|
1311
|
+
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>;
|
|
1312
|
+
}, undefined>, undefined>;
|
|
1313
|
+
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>;
|
|
1314
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1315
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1316
|
+
readonly notifications: v.OptionalSchema<v.ObjectSchema<{
|
|
1317
|
+
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>;
|
|
1318
|
+
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>;
|
|
1319
|
+
}, undefined>, undefined>;
|
|
1320
|
+
readonly 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>;
|
|
1321
|
+
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>;
|
|
1322
|
+
}, undefined>], "mass action \"type\" must be either \"view\" or \"worker\"">, undefined>, undefined>;
|
|
1323
|
+
}, undefined>, undefined>;
|
|
1324
|
+
}, undefined>, undefined>;
|
|
980
1325
|
readonly businessConfig: v.OptionalSchema<v.ObjectSchema<{
|
|
981
1326
|
readonly schema: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
982
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
983
1327
|
readonly default: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default value">, v.NonEmptyAction<string, "The default value must not be empty">]>;
|
|
984
|
-
readonly
|
|
1328
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
985
1329
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
986
1330
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
987
1331
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
988
1332
|
}, undefined>, "Expected an array of list options">;
|
|
989
|
-
readonly
|
|
990
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1333
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
991
1334
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
992
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1335
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1336
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1337
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
993
1338
|
}, undefined>, v.ObjectSchema<{
|
|
994
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
995
1339
|
readonly default: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for each default value">, v.NonEmptyAction<string, "Each default value must not be empty">]>, "Expected an array of default values">, readonly []>;
|
|
996
|
-
readonly
|
|
1340
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
997
1341
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
998
1342
|
readonly label: v.StringSchema<"Expected a string for the option label">;
|
|
999
1343
|
readonly value: v.StringSchema<"Expected a string for the option value">;
|
|
1000
1344
|
}, undefined>, "Expected an array of list options">;
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1345
|
+
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
1003
1346
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1004
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1347
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1348
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1349
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1005
1350
|
}, undefined>], undefined>, v.VariantSchema<"selectionMode", [v.ObjectSchema<{
|
|
1006
|
-
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
1007
1351
|
readonly default: v.CustomSchema<(resolvedOptions: {
|
|
1008
1352
|
label: string;
|
|
1009
1353
|
value: string;
|
|
1010
1354
|
}[]) => string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
1011
|
-
readonly
|
|
1355
|
+
readonly selectionMode: v.LiteralSchema<"single", "Expected the selectionMode to be 'single'">;
|
|
1012
1356
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
1013
1357
|
label: string;
|
|
1014
1358
|
value: string;
|
|
@@ -1016,17 +1360,17 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1016
1360
|
label: string;
|
|
1017
1361
|
value: string;
|
|
1018
1362
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1363
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
1021
1364
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1022
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1365
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1366
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1367
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1023
1368
|
}, undefined>, v.ObjectSchema<{
|
|
1024
|
-
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
1025
1369
|
readonly default: v.OptionalSchema<v.CustomSchema<(resolvedOptions: {
|
|
1026
1370
|
label: string;
|
|
1027
1371
|
value: string;
|
|
1028
1372
|
}[]) => string[], v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
1029
|
-
readonly
|
|
1373
|
+
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
1030
1374
|
readonly options: v.CustomSchema<(params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
1031
1375
|
label: string;
|
|
1032
1376
|
value: string;
|
|
@@ -1034,83 +1378,83 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1034
1378
|
label: string;
|
|
1035
1379
|
value: string;
|
|
1036
1380
|
}[]>, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
1037
|
-
readonly
|
|
1038
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1381
|
+
readonly type: v.LiteralSchema<"dynamicList", "Expected the type to be 'dynamicList'">;
|
|
1039
1382
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1040
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1383
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1384
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1385
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1041
1386
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1042
|
-
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
1043
1387
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
1044
|
-
readonly
|
|
1045
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1388
|
+
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
1046
1389
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1047
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1390
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1391
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1392
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1048
1393
|
}, undefined>, v.ObjectSchema<{
|
|
1049
|
-
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
1050
1394
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
1051
|
-
readonly
|
|
1052
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1395
|
+
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
1053
1396
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1054
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1397
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1398
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1399
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1055
1400
|
}, undefined>, v.ObjectSchema<{
|
|
1056
|
-
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
1057
1401
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
1058
|
-
readonly
|
|
1059
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1402
|
+
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
1060
1403
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1061
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1404
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1405
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1406
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1062
1407
|
}, undefined>, v.ObjectSchema<{
|
|
1063
|
-
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
1064
1408
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1409
|
+
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
1067
1410
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1068
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1411
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1412
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1413
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1069
1414
|
}, undefined>, v.ObjectSchema<{
|
|
1070
|
-
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
1071
1415
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
1072
|
-
readonly
|
|
1073
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1416
|
+
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
1074
1417
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1075
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1418
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1419
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1420
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1076
1421
|
}, undefined>, v.ObjectSchema<{
|
|
1077
|
-
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
1078
1422
|
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
1079
|
-
readonly
|
|
1080
|
-
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1423
|
+
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
1081
1424
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field description">, v.CheckAction<string, "Field description contains an invalid markdown URL.">]>, undefined>;
|
|
1082
|
-
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<
|
|
1425
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1426
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
1427
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
1083
1428
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
1084
|
-
selectionMode: "single";
|
|
1085
1429
|
default: string;
|
|
1086
|
-
|
|
1430
|
+
selectionMode: "single";
|
|
1087
1431
|
options: {
|
|
1088
1432
|
label: string;
|
|
1089
1433
|
value: string;
|
|
1090
1434
|
}[];
|
|
1091
|
-
|
|
1092
|
-
label?: string | undefined;
|
|
1435
|
+
type: "list";
|
|
1093
1436
|
description?: string | undefined;
|
|
1094
1437
|
env?: ("paas" | "saas")[] | undefined;
|
|
1438
|
+
label?: string | undefined;
|
|
1439
|
+
name: string;
|
|
1095
1440
|
} | {
|
|
1096
|
-
selectionMode: "multiple";
|
|
1097
1441
|
default: string[];
|
|
1098
|
-
|
|
1442
|
+
selectionMode: "multiple";
|
|
1099
1443
|
options: {
|
|
1100
1444
|
label: string;
|
|
1101
1445
|
value: string;
|
|
1102
1446
|
}[];
|
|
1103
|
-
|
|
1104
|
-
label?: string | undefined;
|
|
1447
|
+
type: "list";
|
|
1105
1448
|
description?: string | undefined;
|
|
1106
1449
|
env?: ("paas" | "saas")[] | undefined;
|
|
1450
|
+
label?: string | undefined;
|
|
1451
|
+
name: string;
|
|
1107
1452
|
} | {
|
|
1108
|
-
selectionMode: "single";
|
|
1109
1453
|
default: (resolvedOptions: {
|
|
1110
1454
|
label: string;
|
|
1111
1455
|
value: string;
|
|
1112
1456
|
}[]) => string;
|
|
1113
|
-
|
|
1457
|
+
selectionMode: "single";
|
|
1114
1458
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
1115
1459
|
label: string;
|
|
1116
1460
|
value: string;
|
|
@@ -1118,17 +1462,17 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1118
1462
|
label: string;
|
|
1119
1463
|
value: string;
|
|
1120
1464
|
}[]>;
|
|
1121
|
-
|
|
1122
|
-
label?: string | undefined;
|
|
1465
|
+
type: "dynamicList";
|
|
1123
1466
|
description?: string | undefined;
|
|
1124
1467
|
env?: ("paas" | "saas")[] | undefined;
|
|
1468
|
+
label?: string | undefined;
|
|
1469
|
+
name: string;
|
|
1125
1470
|
} | {
|
|
1126
|
-
selectionMode: "multiple";
|
|
1127
1471
|
default?: ((resolvedOptions: {
|
|
1128
1472
|
label: string;
|
|
1129
1473
|
value: string;
|
|
1130
1474
|
}[]) => string[]) | undefined;
|
|
1131
|
-
|
|
1475
|
+
selectionMode: "multiple";
|
|
1132
1476
|
options: (params: import("@adobe/aio-commerce-lib-core/params").RuntimeActionParams) => {
|
|
1133
1477
|
label: string;
|
|
1134
1478
|
value: string;
|
|
@@ -1136,63 +1480,59 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1136
1480
|
label: string;
|
|
1137
1481
|
value: string;
|
|
1138
1482
|
}[]>;
|
|
1139
|
-
|
|
1140
|
-
label?: string | undefined;
|
|
1483
|
+
type: "dynamicList";
|
|
1141
1484
|
description?: string | undefined;
|
|
1142
1485
|
env?: ("paas" | "saas")[] | undefined;
|
|
1486
|
+
label?: string | undefined;
|
|
1487
|
+
name: string;
|
|
1143
1488
|
} | {
|
|
1144
|
-
type: "text";
|
|
1145
1489
|
default: string;
|
|
1146
|
-
|
|
1147
|
-
label?: string | undefined;
|
|
1490
|
+
type: "text";
|
|
1148
1491
|
description?: string | undefined;
|
|
1149
1492
|
env?: ("paas" | "saas")[] | undefined;
|
|
1493
|
+
label?: string | undefined;
|
|
1494
|
+
name: string;
|
|
1150
1495
|
} | {
|
|
1151
|
-
type: "password";
|
|
1152
1496
|
default: "";
|
|
1153
|
-
|
|
1154
|
-
label?: string | undefined;
|
|
1497
|
+
type: "password";
|
|
1155
1498
|
description?: string | undefined;
|
|
1156
1499
|
env?: ("paas" | "saas")[] | undefined;
|
|
1500
|
+
label?: string | undefined;
|
|
1501
|
+
name: string;
|
|
1157
1502
|
} | {
|
|
1158
|
-
type: "email";
|
|
1159
1503
|
default: string;
|
|
1160
|
-
|
|
1161
|
-
label?: string | undefined;
|
|
1504
|
+
type: "email";
|
|
1162
1505
|
description?: string | undefined;
|
|
1163
1506
|
env?: ("paas" | "saas")[] | undefined;
|
|
1507
|
+
label?: string | undefined;
|
|
1508
|
+
name: string;
|
|
1164
1509
|
} | {
|
|
1165
|
-
type: "url";
|
|
1166
1510
|
default: string;
|
|
1167
|
-
|
|
1168
|
-
label?: string | undefined;
|
|
1511
|
+
type: "url";
|
|
1169
1512
|
description?: string | undefined;
|
|
1170
1513
|
env?: ("paas" | "saas")[] | undefined;
|
|
1514
|
+
label?: string | undefined;
|
|
1515
|
+
name: string;
|
|
1171
1516
|
} | {
|
|
1172
|
-
type: "tel";
|
|
1173
1517
|
default: string;
|
|
1174
|
-
|
|
1175
|
-
label?: string | undefined;
|
|
1518
|
+
type: "tel";
|
|
1176
1519
|
description?: string | undefined;
|
|
1177
1520
|
env?: ("paas" | "saas")[] | undefined;
|
|
1521
|
+
label?: string | undefined;
|
|
1522
|
+
name: string;
|
|
1178
1523
|
} | {
|
|
1179
|
-
type: "boolean";
|
|
1180
1524
|
default: boolean;
|
|
1181
|
-
|
|
1182
|
-
label?: string | undefined;
|
|
1525
|
+
type: "boolean";
|
|
1183
1526
|
description?: string | undefined;
|
|
1184
1527
|
env?: ("paas" | "saas")[] | undefined;
|
|
1528
|
+
label?: string | undefined;
|
|
1529
|
+
name: string;
|
|
1185
1530
|
})[], 1, "At least one configuration parameter is required">]>, readonly []>;
|
|
1186
1531
|
}, undefined>, undefined>;
|
|
1187
1532
|
readonly eventing: v.OptionalSchema<v.ObjectSchema<{
|
|
1188
1533
|
readonly commerce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1189
|
-
readonly
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
1192
|
-
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
1193
|
-
}, undefined>;
|
|
1194
|
-
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
1195
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
1534
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1535
|
+
readonly destination: 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>;
|
|
1196
1536
|
readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1197
1537
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
|
|
1198
1538
|
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
@@ -1200,423 +1540,289 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
1200
1540
|
name: string;
|
|
1201
1541
|
source?: string | undefined;
|
|
1202
1542
|
}[], 1, "The Commerce event configuration must define at least one field">]>;
|
|
1543
|
+
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1544
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1545
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
1546
|
+
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1203
1547
|
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1204
1548
|
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1205
1549
|
readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
|
|
1206
1550
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1207
1551
|
}, undefined>, "Expected an array of event rules with field, operator, and value">, undefined>;
|
|
1208
|
-
readonly destination: 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>;
|
|
1209
|
-
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1210
|
-
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1211
|
-
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1212
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
1213
1552
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
1553
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1554
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
1214
1555
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
1215
|
-
}, undefined>, "Expected an array of Commerce events"
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1556
|
+
}, undefined>, "Expected an array of Commerce events">, v.MinLengthAction<{
|
|
1557
|
+
destination?: string | undefined;
|
|
1558
|
+
fields: {
|
|
1559
|
+
name: string;
|
|
1560
|
+
source?: string | undefined;
|
|
1561
|
+
}[];
|
|
1562
|
+
force?: boolean | undefined;
|
|
1563
|
+
hipaa_audit_required?: boolean | undefined;
|
|
1564
|
+
name: string;
|
|
1565
|
+
priority?: boolean | undefined;
|
|
1566
|
+
rules?: {
|
|
1567
|
+
field: string;
|
|
1568
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
1569
|
+
value: string;
|
|
1570
|
+
}[] | undefined;
|
|
1219
1571
|
description: string;
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1572
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1573
|
+
label: string;
|
|
1574
|
+
runtimeActions: string[];
|
|
1575
|
+
}[], 1, "The Commerce event source configuration must define at least one event">, v.CheckAction<{
|
|
1576
|
+
destination?: string | undefined;
|
|
1224
1577
|
fields: {
|
|
1225
1578
|
name: string;
|
|
1226
1579
|
source?: string | undefined;
|
|
1227
1580
|
}[];
|
|
1581
|
+
force?: boolean | undefined;
|
|
1582
|
+
hipaa_audit_required?: boolean | undefined;
|
|
1583
|
+
name: string;
|
|
1584
|
+
priority?: boolean | undefined;
|
|
1228
1585
|
rules?: {
|
|
1229
1586
|
field: string;
|
|
1230
1587
|
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
1231
1588
|
value: string;
|
|
1232
1589
|
}[] | undefined;
|
|
1590
|
+
description: string;
|
|
1591
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1592
|
+
label: string;
|
|
1593
|
+
runtimeActions: string[];
|
|
1594
|
+
}[], "Commerce event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
1595
|
+
readonly provider: v.ObjectSchema<{
|
|
1596
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
1597
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
1598
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
1599
|
+
}, undefined>;
|
|
1600
|
+
}, undefined>, "Expected an array of Commerce event sources">, v.CheckAction<{
|
|
1601
|
+
events: {
|
|
1233
1602
|
destination?: string | undefined;
|
|
1603
|
+
fields: {
|
|
1604
|
+
name: string;
|
|
1605
|
+
source?: string | undefined;
|
|
1606
|
+
}[];
|
|
1607
|
+
force?: boolean | undefined;
|
|
1234
1608
|
hipaa_audit_required?: boolean | undefined;
|
|
1609
|
+
name: string;
|
|
1235
1610
|
priority?: boolean | undefined;
|
|
1236
|
-
|
|
1237
|
-
|
|
1611
|
+
rules?: {
|
|
1612
|
+
field: string;
|
|
1613
|
+
operator: "regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange";
|
|
1614
|
+
value: string;
|
|
1615
|
+
}[] | undefined;
|
|
1238
1616
|
description: string;
|
|
1617
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1618
|
+
label: string;
|
|
1239
1619
|
runtimeActions: string[];
|
|
1240
1620
|
}[];
|
|
1621
|
+
provider: {
|
|
1622
|
+
description: string;
|
|
1623
|
+
key?: string | undefined;
|
|
1624
|
+
label: string;
|
|
1625
|
+
};
|
|
1241
1626
|
}[], "Commerce provider labels must be unique">]>, undefined>;
|
|
1242
1627
|
readonly external: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
1246
|
-
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
1247
|
-
}, undefined>;
|
|
1248
|
-
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
1628
|
+
readonly events: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1629
|
+
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1249
1630
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
1250
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
1251
1631
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
1632
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1633
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
1252
1634
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
1253
|
-
}, undefined>, "Expected an array of external events"
|
|
1254
|
-
|
|
1255
|
-
|
|
1635
|
+
}, undefined>, "Expected an array of external events">, v.MinLengthAction<{
|
|
1636
|
+
hipaa_audit_required?: boolean | undefined;
|
|
1637
|
+
name: string;
|
|
1638
|
+
description: string;
|
|
1639
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1256
1640
|
label: string;
|
|
1641
|
+
runtimeActions: string[];
|
|
1642
|
+
}[], 1, "The external event source configuration must define at least one event">, v.CheckAction<{
|
|
1643
|
+
hipaa_audit_required?: boolean | undefined;
|
|
1644
|
+
name: string;
|
|
1257
1645
|
description: string;
|
|
1258
|
-
|
|
1259
|
-
|
|
1646
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1647
|
+
label: string;
|
|
1648
|
+
runtimeActions: string[];
|
|
1649
|
+
}[], "External event names must be unique. There must not be two events with the same name under the same provider.">]>;
|
|
1650
|
+
readonly provider: v.ObjectSchema<{
|
|
1651
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
1652
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
1653
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
1654
|
+
}, undefined>;
|
|
1655
|
+
}, undefined>, "Expected an array of external event sources">, v.CheckAction<{
|
|
1260
1656
|
events: {
|
|
1657
|
+
hipaa_audit_required?: boolean | undefined;
|
|
1261
1658
|
name: string;
|
|
1262
|
-
label: string;
|
|
1263
1659
|
description: string;
|
|
1660
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1661
|
+
label: string;
|
|
1264
1662
|
runtimeActions: string[];
|
|
1265
1663
|
}[];
|
|
1664
|
+
provider: {
|
|
1665
|
+
description: string;
|
|
1666
|
+
key?: string | undefined;
|
|
1667
|
+
label: string;
|
|
1668
|
+
};
|
|
1266
1669
|
}[], "External provider labels must be unique">]>, undefined>;
|
|
1267
1670
|
}, undefined>, undefined>;
|
|
1268
|
-
readonly adminUiSdk: v.OptionalSchema<v.ObjectSchema<{
|
|
1269
|
-
readonly registration: v.ObjectSchema<{
|
|
1270
|
-
readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1271
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1272
|
-
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>;
|
|
1273
|
-
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>;
|
|
1274
|
-
readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1275
|
-
readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1276
|
-
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>;
|
|
1277
|
-
}, undefined>, undefined>, undefined>;
|
|
1278
|
-
readonly order: v.OptionalSchema<v.ObjectSchema<{
|
|
1279
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1280
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1281
|
-
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>;
|
|
1282
|
-
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>;
|
|
1283
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1284
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1285
|
-
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>;
|
|
1286
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1287
|
-
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>;
|
|
1288
|
-
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>;
|
|
1289
|
-
}, undefined>, undefined>;
|
|
1290
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1291
|
-
} & {
|
|
1292
|
-
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>;
|
|
1293
|
-
}, undefined>, v.PipeItem<{
|
|
1294
|
-
displayIframe?: boolean | undefined;
|
|
1295
|
-
timeout?: number | undefined;
|
|
1296
|
-
sandbox?: string | undefined;
|
|
1297
|
-
actionId: string;
|
|
1298
|
-
label: string;
|
|
1299
|
-
title?: string | undefined;
|
|
1300
|
-
confirm?: {
|
|
1301
|
-
title?: string | undefined;
|
|
1302
|
-
message?: string | undefined;
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
path: string;
|
|
1305
|
-
selectionLimit?: number | undefined;
|
|
1306
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
1307
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1308
|
-
readonly data: v.ObjectSchema<{
|
|
1309
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1310
|
-
}, undefined>;
|
|
1311
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1312
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1313
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1314
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
1315
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1316
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1317
|
-
label: string;
|
|
1318
|
-
columnId: string;
|
|
1319
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
1320
|
-
align: "left" | "right" | "center";
|
|
1321
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
1322
|
-
}, undefined>, undefined>;
|
|
1323
|
-
readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1324
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1325
|
-
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>;
|
|
1326
|
-
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>;
|
|
1327
|
-
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1328
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1329
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1330
|
-
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>;
|
|
1331
|
-
}, undefined>, undefined>;
|
|
1332
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1333
|
-
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
1334
|
-
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>;
|
|
1335
|
-
}, undefined>, v.PipeItem<{
|
|
1336
|
-
displayIframe?: boolean | undefined;
|
|
1337
|
-
timeout?: number | undefined;
|
|
1338
|
-
sandbox?: string | undefined;
|
|
1339
|
-
buttonId: string;
|
|
1340
|
-
label: string;
|
|
1341
|
-
confirm?: {
|
|
1342
|
-
message?: string | undefined;
|
|
1343
|
-
} | undefined;
|
|
1344
|
-
path: string;
|
|
1345
|
-
level?: 0 | 1 | -1 | undefined;
|
|
1346
|
-
sortOrder?: number | undefined;
|
|
1347
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
1348
|
-
readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1349
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1350
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1351
|
-
readonly value: v.NumberSchema<"Custom fee value must be a number">;
|
|
1352
|
-
readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
|
|
1353
|
-
readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1354
|
-
readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1355
|
-
}, undefined>, undefined>, undefined>;
|
|
1356
|
-
}, undefined>, undefined>;
|
|
1357
|
-
readonly product: v.OptionalSchema<v.ObjectSchema<{
|
|
1358
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1359
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1360
|
-
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>;
|
|
1361
|
-
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>;
|
|
1362
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1363
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1364
|
-
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>;
|
|
1365
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1366
|
-
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>;
|
|
1367
|
-
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>;
|
|
1368
|
-
}, undefined>, undefined>;
|
|
1369
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1370
|
-
} & {
|
|
1371
|
-
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>;
|
|
1372
|
-
}, undefined>, v.PipeItem<{
|
|
1373
|
-
displayIframe?: boolean | undefined;
|
|
1374
|
-
timeout?: number | undefined;
|
|
1375
|
-
sandbox?: string | undefined;
|
|
1376
|
-
actionId: string;
|
|
1377
|
-
label: string;
|
|
1378
|
-
title?: string | undefined;
|
|
1379
|
-
confirm?: {
|
|
1380
|
-
title?: string | undefined;
|
|
1381
|
-
message?: string | undefined;
|
|
1382
|
-
} | undefined;
|
|
1383
|
-
path: string;
|
|
1384
|
-
productSelectLimit?: number | undefined;
|
|
1385
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
1386
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1387
|
-
readonly data: v.ObjectSchema<{
|
|
1388
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1389
|
-
}, undefined>;
|
|
1390
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1391
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1392
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1393
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
1394
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1395
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1396
|
-
label: string;
|
|
1397
|
-
columnId: string;
|
|
1398
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
1399
|
-
align: "left" | "right" | "center";
|
|
1400
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
1401
|
-
}, undefined>, undefined>;
|
|
1402
|
-
}, undefined>, undefined>;
|
|
1403
|
-
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
1404
|
-
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
1405
|
-
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1406
|
-
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>;
|
|
1407
|
-
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>;
|
|
1408
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1409
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1410
|
-
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>;
|
|
1411
|
-
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
1412
|
-
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>;
|
|
1413
|
-
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>;
|
|
1414
|
-
}, undefined>, undefined>;
|
|
1415
|
-
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1416
|
-
} & {
|
|
1417
|
-
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>;
|
|
1418
|
-
}, undefined>, v.PipeItem<{
|
|
1419
|
-
displayIframe?: boolean | undefined;
|
|
1420
|
-
timeout?: number | undefined;
|
|
1421
|
-
sandbox?: string | undefined;
|
|
1422
|
-
actionId: string;
|
|
1423
|
-
label: string;
|
|
1424
|
-
title?: string | undefined;
|
|
1425
|
-
confirm?: {
|
|
1426
|
-
title?: string | undefined;
|
|
1427
|
-
message?: string | undefined;
|
|
1428
|
-
} | undefined;
|
|
1429
|
-
path: string;
|
|
1430
|
-
customerSelectLimit?: number | undefined;
|
|
1431
|
-
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
1432
|
-
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
1433
|
-
readonly data: v.ObjectSchema<{
|
|
1434
|
-
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1435
|
-
}, undefined>;
|
|
1436
|
-
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1437
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1438
|
-
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1439
|
-
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
1440
|
-
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
1441
|
-
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1442
|
-
label: string;
|
|
1443
|
-
columnId: string;
|
|
1444
|
-
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
1445
|
-
align: "left" | "right" | "center";
|
|
1446
|
-
}[], 1, "At least one grid column property is required">]>;
|
|
1447
|
-
}, undefined>, undefined>;
|
|
1448
|
-
}, undefined>, undefined>;
|
|
1449
|
-
readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
|
|
1450
|
-
readonly massActions: v.OptionalSchema<v.ObjectSchema<{
|
|
1451
|
-
readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1452
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1453
|
-
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>;
|
|
1454
|
-
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>;
|
|
1455
|
-
}, undefined>, undefined>, undefined>;
|
|
1456
|
-
readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1457
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1458
|
-
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>;
|
|
1459
|
-
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>;
|
|
1460
|
-
}, undefined>, undefined>, undefined>;
|
|
1461
|
-
readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1462
|
-
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1463
|
-
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>;
|
|
1464
|
-
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>;
|
|
1465
|
-
}, undefined>, undefined>, undefined>;
|
|
1466
|
-
}, undefined>, undefined>;
|
|
1467
|
-
readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1468
|
-
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1469
|
-
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>;
|
|
1470
|
-
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>;
|
|
1471
|
-
}, undefined>, undefined>, undefined>;
|
|
1472
|
-
}, undefined>, undefined>;
|
|
1473
|
-
}, undefined>;
|
|
1474
|
-
}, undefined>, undefined>;
|
|
1475
1671
|
readonly installation: v.OptionalSchema<v.ObjectSchema<{
|
|
1476
|
-
readonly messages: v.OptionalSchema<v.ObjectSchema<{
|
|
1477
|
-
readonly preInstallation: v.OptionalSchema<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, 1000, "The preInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
1478
|
-
readonly postInstallation: v.OptionalSchema<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, 1000, "The postInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
1479
|
-
}, undefined>, undefined>;
|
|
1480
1672
|
readonly customInstallationSteps: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1481
|
-
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
1482
|
-
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
1483
1673
|
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
|
|
1674
|
+
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
|
|
1675
|
+
readonly script: 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, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
|
|
1484
1676
|
}, undefined>, "Expected an array of custom installation steps">, undefined>, v.CheckAction<{
|
|
1485
|
-
script: string;
|
|
1486
|
-
name: string;
|
|
1487
1677
|
description: string;
|
|
1678
|
+
name: string;
|
|
1679
|
+
script: string;
|
|
1488
1680
|
}[] | undefined, "Duplicate step names detected in custom installation steps. Each step must have a unique name.">]>;
|
|
1681
|
+
readonly messages: v.OptionalSchema<v.ObjectSchema<{
|
|
1682
|
+
readonly postInstallation: v.OptionalSchema<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, 1000, "The postInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
1683
|
+
readonly preInstallation: v.OptionalSchema<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, 1000, "The preInstallation message must not be longer than 1000 characters">]>, undefined>;
|
|
1684
|
+
}, undefined>, undefined>;
|
|
1489
1685
|
}, undefined>, undefined>;
|
|
1686
|
+
readonly metadata: v.ObjectSchema<{
|
|
1687
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.MaxLengthAction<string, 255, "The metadata description must not be longer than 255 characters">]>;
|
|
1688
|
+
readonly displayName: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.MaxLengthAction<string, 50, "The application display name must not be longer than 50 characters">]>;
|
|
1689
|
+
readonly id: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 100, "The application id must not be longer than 100 characters">]>;
|
|
1690
|
+
readonly version: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.RegexAction<string, "The version must follow semantic versioning (semver) format: Major.Minor.Patch (e.g., '1.0.0', '2.3.1')">]>;
|
|
1691
|
+
}, undefined>;
|
|
1490
1692
|
readonly webhooks: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1491
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1492
|
-
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1493
|
-
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
1494
|
-
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1495
1693
|
readonly requireAdobeAuth: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1694
|
+
readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1496
1695
|
readonly webhook: v.ObjectSchema<{
|
|
1497
|
-
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1498
|
-
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1499
1696
|
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">]>;
|
|
1500
1697
|
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>;
|
|
1501
|
-
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
1502
|
-
readonly priority: 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>;
|
|
1503
|
-
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1504
|
-
readonly soft_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>;
|
|
1505
|
-
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>;
|
|
1506
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1507
1698
|
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
1508
|
-
readonly ttl: 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>;
|
|
1509
1699
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1510
1700
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1511
1701
|
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
1512
1702
|
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
1703
|
+
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1704
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1705
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1706
|
+
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
1707
|
+
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
1708
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1709
|
+
readonly priority: 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>;
|
|
1710
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1513
1711
|
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1514
1712
|
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1515
1713
|
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1516
1714
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1517
1715
|
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
1518
|
-
readonly
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1716
|
+
readonly soft_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>;
|
|
1717
|
+
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>;
|
|
1718
|
+
readonly ttl: 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>;
|
|
1719
|
+
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1720
|
+
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1522
1721
|
}, undefined>;
|
|
1523
|
-
}, undefined>, v.ObjectSchema<{
|
|
1524
|
-
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1525
|
-
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1526
1722
|
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
1723
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1724
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1725
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1726
|
+
}, undefined>, v.ObjectSchema<{
|
|
1527
1727
|
readonly webhook: v.ObjectSchema<{
|
|
1528
1728
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.UrlAction<string, "The 'url' field must be a valid absolute URL (e.g., 'https://example.com/webhook')">]>;
|
|
1529
|
-
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1530
|
-
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1531
1729
|
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">]>;
|
|
1532
1730
|
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>;
|
|
1533
|
-
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
1534
|
-
readonly priority: 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>;
|
|
1535
|
-
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1536
|
-
readonly soft_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>;
|
|
1537
|
-
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>;
|
|
1538
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1539
1731
|
readonly fallback_error_message: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
1540
|
-
readonly ttl: 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>;
|
|
1541
1732
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1542
1733
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1543
1734
|
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
1544
1735
|
}, undefined>, "Expected an array of webhook field objects">, undefined>;
|
|
1736
|
+
readonly headers: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1737
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1738
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1739
|
+
}, undefined>, "Expected an array of webhook header objects">, undefined>;
|
|
1740
|
+
readonly hook_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, "hook_name must contain only letters, numbers, and underscores">]>;
|
|
1741
|
+
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1742
|
+
readonly priority: 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>;
|
|
1743
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
1545
1744
|
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1546
1745
|
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1547
1746
|
readonly operator: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1548
1747
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1549
1748
|
}, undefined>, "Expected an array of webhook rule objects">, undefined>;
|
|
1550
|
-
readonly
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1749
|
+
readonly soft_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>;
|
|
1750
|
+
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>;
|
|
1751
|
+
readonly ttl: 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>;
|
|
1752
|
+
readonly webhook_method: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1753
|
+
readonly webhook_type: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1554
1754
|
}, undefined>;
|
|
1755
|
+
readonly category: v.OptionalSchema<v.PicklistSchema<readonly ["validation", "append", "modification"], `Webhook category must be one of: ${string}`>, undefined>;
|
|
1756
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1757
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
1758
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
1555
1759
|
}, undefined>], "Each webhook entry must define either a 'runtimeAction' (to resolve the URL from a runtime action) or an explicit 'url' inside the 'webhook' object, but not both">, "Expected an array of webhook entries">, v.MinLengthAction<({
|
|
1556
|
-
label: string;
|
|
1557
|
-
description: string;
|
|
1558
|
-
category?: "validation" | "append" | "modification" | undefined;
|
|
1559
|
-
runtimeAction: string;
|
|
1560
1760
|
requireAdobeAuth?: boolean | undefined;
|
|
1761
|
+
runtimeAction: string;
|
|
1561
1762
|
webhook: {
|
|
1562
|
-
webhook_method: string;
|
|
1563
|
-
webhook_type: string;
|
|
1564
1763
|
batch_name: string;
|
|
1565
1764
|
batch_order?: number | undefined;
|
|
1566
|
-
hook_name: string;
|
|
1567
|
-
priority?: number | undefined;
|
|
1568
|
-
required?: boolean | undefined;
|
|
1569
|
-
soft_timeout?: number | undefined;
|
|
1570
|
-
timeout?: number | undefined;
|
|
1571
|
-
method: string;
|
|
1572
1765
|
fallback_error_message?: string | undefined;
|
|
1573
|
-
ttl?: number | undefined;
|
|
1574
1766
|
fields?: {
|
|
1575
1767
|
name: string;
|
|
1576
1768
|
source?: string | undefined;
|
|
1577
1769
|
}[] | undefined;
|
|
1770
|
+
headers?: {
|
|
1771
|
+
name: string;
|
|
1772
|
+
value: string;
|
|
1773
|
+
}[] | undefined;
|
|
1774
|
+
hook_name: string;
|
|
1775
|
+
method: string;
|
|
1776
|
+
priority?: number | undefined;
|
|
1777
|
+
required?: boolean | undefined;
|
|
1578
1778
|
rules?: {
|
|
1579
1779
|
field: string;
|
|
1580
1780
|
operator: string;
|
|
1581
1781
|
value: string;
|
|
1582
1782
|
}[] | undefined;
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1783
|
+
soft_timeout?: number | undefined;
|
|
1784
|
+
timeout?: number | undefined;
|
|
1785
|
+
ttl?: number | undefined;
|
|
1786
|
+
webhook_method: string;
|
|
1787
|
+
webhook_type: string;
|
|
1587
1788
|
};
|
|
1588
|
-
} | {
|
|
1589
|
-
label: string;
|
|
1590
|
-
description: string;
|
|
1591
1789
|
category?: "validation" | "append" | "modification" | undefined;
|
|
1790
|
+
description: string;
|
|
1791
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1792
|
+
label: string;
|
|
1793
|
+
} | {
|
|
1592
1794
|
webhook: {
|
|
1593
1795
|
url: string;
|
|
1594
|
-
webhook_method: string;
|
|
1595
|
-
webhook_type: string;
|
|
1596
1796
|
batch_name: string;
|
|
1597
1797
|
batch_order?: number | undefined;
|
|
1598
|
-
hook_name: string;
|
|
1599
|
-
priority?: number | undefined;
|
|
1600
|
-
required?: boolean | undefined;
|
|
1601
|
-
soft_timeout?: number | undefined;
|
|
1602
|
-
timeout?: number | undefined;
|
|
1603
|
-
method: string;
|
|
1604
1798
|
fallback_error_message?: string | undefined;
|
|
1605
|
-
ttl?: number | undefined;
|
|
1606
1799
|
fields?: {
|
|
1607
1800
|
name: string;
|
|
1608
1801
|
source?: string | undefined;
|
|
1609
1802
|
}[] | undefined;
|
|
1803
|
+
headers?: {
|
|
1804
|
+
name: string;
|
|
1805
|
+
value: string;
|
|
1806
|
+
}[] | undefined;
|
|
1807
|
+
hook_name: string;
|
|
1808
|
+
method: string;
|
|
1809
|
+
priority?: number | undefined;
|
|
1810
|
+
required?: boolean | undefined;
|
|
1610
1811
|
rules?: {
|
|
1611
1812
|
field: string;
|
|
1612
1813
|
operator: string;
|
|
1613
1814
|
value: string;
|
|
1614
1815
|
}[] | undefined;
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1816
|
+
soft_timeout?: number | undefined;
|
|
1817
|
+
timeout?: number | undefined;
|
|
1818
|
+
ttl?: number | undefined;
|
|
1819
|
+
webhook_method: string;
|
|
1820
|
+
webhook_type: string;
|
|
1619
1821
|
};
|
|
1822
|
+
category?: "validation" | "append" | "modification" | undefined;
|
|
1823
|
+
description: string;
|
|
1824
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
1825
|
+
label: string;
|
|
1620
1826
|
})[], 1, "webhooks array must contain at least one webhook when present">]>, undefined>, undefined>;
|
|
1621
1827
|
}, undefined>;
|
|
1622
1828
|
/** The input shape of the commerce app config schema. */
|