@adobe/aio-commerce-lib-app 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/cjs/actions/app-config.cjs +3 -3
- package/dist/cjs/actions/app-config.d.cts +1 -1
- package/dist/cjs/actions/config.cjs +31 -9
- package/dist/cjs/actions/installation.cjs +16 -13
- package/dist/cjs/actions/installation.d.cts +2 -2
- package/dist/cjs/actions/registration.cjs +41 -0
- package/dist/cjs/actions/registration.d.cts +33 -0
- package/dist/cjs/actions/scope-tree.cjs +5 -4
- package/dist/cjs/admin-ui-sdk-BiSopnKI.d.cts +665 -0
- package/dist/cjs/{app-DcQMhW2N.d.cts → app-C6kImBl7.d.cts} +242 -16
- package/dist/cjs/chunk-DS2yp5vX.cjs +48 -0
- package/dist/cjs/commands/index.cjs +582 -321
- package/dist/cjs/commands/templates/admin-ui-sdk/registration.js.template +20 -0
- package/dist/cjs/config/index.cjs +4 -3
- package/dist/cjs/config/index.d.cts +558 -62
- package/dist/cjs/{config-BppBKCFj.cjs → config-ct-qMOGj.cjs} +56 -25
- package/dist/cjs/{error-Dn7ool6k.cjs → error-C5LNOZ4f.cjs} +1 -1
- package/dist/cjs/{index-BVwQk9bx.d.cts → index-B5WKJ3hJ.d.cts} +20 -174
- package/dist/cjs/{logging-4s36JTiN.cjs → logging-BTevALnL.cjs} +2 -2
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +3 -2
- package/dist/cjs/{management-C6xG5bfl.cjs → management-D1QXg4YU.cjs} +128 -75
- package/dist/cjs/{router-KeQRduO3.cjs → router-CFErodHU.cjs} +2 -2
- package/dist/cjs/{schemas-nkIxa8sL.cjs → schemas-CukVpc19.cjs} +2 -34
- package/dist/cjs/step-CWYnKbga.d.cts +187 -0
- package/dist/cjs/{validate-CeUCT_7k.cjs → validate-b_bI4mDb.cjs} +4 -3
- package/dist/cjs/{webhooks-CLtDxwMa.cjs → webhooks-DS1BtgED.cjs} +157 -17
- package/dist/es/actions/app-config.d.mts +1 -1
- package/dist/es/actions/app-config.mjs +1 -1
- package/dist/es/actions/config.mjs +28 -7
- package/dist/es/actions/installation.d.mts +2 -2
- package/dist/es/actions/installation.mjs +12 -10
- package/dist/es/actions/registration.d.mts +33 -0
- package/dist/es/actions/registration.mjs +39 -0
- package/dist/es/actions/scope-tree.mjs +1 -1
- package/dist/es/admin-ui-sdk-CCo2SWiL.d.mts +667 -0
- package/dist/es/{app-DJr-mN9d.d.mts → app-DcY6dJiQ.d.mts} +242 -16
- package/dist/es/commands/index.mjs +575 -316
- package/dist/es/commands/templates/admin-ui-sdk/registration.js.template +20 -0
- package/dist/es/config/index.d.mts +558 -62
- package/dist/es/config/index.mjs +4 -4
- package/dist/es/{config-BohwKkQS.mjs → config-DGPFTk6w.mjs} +51 -20
- package/dist/es/{index-BENO5T7n.d.mts → index-CCov0odd.d.mts} +20 -174
- package/dist/es/management/index.d.mts +3 -2
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-ByHvVJ12.mjs → management-CCsOfniv.mjs} +124 -71
- package/dist/es/step-0eI2x4C9.d.mts +187 -0
- package/dist/es/{validate-CqJdGzyZ.mjs → validate-Dn3lLTGj.mjs} +2 -2
- package/dist/es/{webhooks-CYo-pqbR.mjs → webhooks-Dhrkkip7.mjs} +155 -16
- package/package.json +12 -9
- /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/app-config.js.template +0 -0
- /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/custom-scripts.js.template +0 -0
- /package/dist/cjs/commands/{generate/actions/templates → templates}/app-management/installation.js.template +0 -0
- /package/dist/cjs/commands/{generate/actions/templates → templates}/business-configuration/config.js.template +0 -0
- /package/dist/cjs/commands/{generate/actions/templates → templates}/business-configuration/scope-tree.js.template +0 -0
- /package/dist/es/commands/{generate/actions/templates → templates}/app-management/app-config.js.template +0 -0
- /package/dist/es/commands/{generate/actions/templates → templates}/app-management/custom-scripts.js.template +0 -0
- /package/dist/es/commands/{generate/actions/templates → templates}/app-management/installation.js.template +0 -0
- /package/dist/es/commands/{generate/actions/templates → templates}/business-configuration/config.js.template +0 -0
- /package/dist/es/commands/{generate/actions/templates → templates}/business-configuration/scope-tree.js.template +0 -0
- /package/dist/es/{schemas-CVXHgUhv.mjs → schemas-DOcnD16x.mjs} +0 -0
|
@@ -35,6 +35,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
35
35
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
36
36
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
37
37
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
38
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
38
39
|
}, undefined>, v.ObjectSchema<{
|
|
39
40
|
readonly type: v.LiteralSchema<"list", "Expected the type to be 'list'">;
|
|
40
41
|
readonly selectionMode: v.LiteralSchema<"multiple", "Expected the selectionMode to be 'multiple'">;
|
|
@@ -46,36 +47,49 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
46
47
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
47
48
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
48
49
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
50
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
49
51
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
50
52
|
readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
|
|
51
53
|
readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
|
|
52
54
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
53
55
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
54
56
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
57
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
55
58
|
}, undefined>, v.ObjectSchema<{
|
|
56
59
|
readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
|
|
57
60
|
readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
|
|
58
61
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
59
62
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
60
63
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
64
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
61
65
|
}, undefined>, v.ObjectSchema<{
|
|
62
66
|
readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
|
|
63
67
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default email value">, v.EmailAction<string, "The email must be a valid email address">]>], undefined>, "">;
|
|
64
68
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
65
69
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
66
70
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
71
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
67
72
|
}, undefined>, v.ObjectSchema<{
|
|
68
73
|
readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
|
|
69
74
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>], undefined>, "">;
|
|
70
75
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
71
76
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
72
77
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
78
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
73
79
|
}, undefined>, v.ObjectSchema<{
|
|
74
80
|
readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
|
|
75
81
|
readonly default: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"", undefined>, v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default phone number value">, v.RegexAction<string, "The phone number must contain only numbers and/or country codes">]>], undefined>, "">;
|
|
76
82
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
77
83
|
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
78
84
|
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
85
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
86
|
+
}, undefined>, v.ObjectSchema<{
|
|
87
|
+
readonly type: v.LiteralSchema<"boolean", "Expected the type to be 'boolean'">;
|
|
88
|
+
readonly default: v.OptionalSchema<v.BooleanSchema<"Expected a boolean for the default value">, false>;
|
|
89
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
|
|
90
|
+
readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
|
|
91
|
+
readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
|
|
92
|
+
readonly env: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["paas", "saas"], `Expected one of: ${string}`>, "Expected an array of commerce environments for the field \"env\"">, v.NonEmptyAction<("paas" | "saas")[], "The \"env\" array must contain at least one commerce environment">]>, undefined>;
|
|
79
93
|
}, undefined>], undefined>, "Expected an array of configuration fields">, v.MinLengthAction<({
|
|
80
94
|
type: "list";
|
|
81
95
|
selectionMode: "single";
|
|
@@ -87,6 +101,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
87
101
|
name: string;
|
|
88
102
|
label?: string | undefined;
|
|
89
103
|
description?: string | undefined;
|
|
104
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
90
105
|
} | {
|
|
91
106
|
type: "list";
|
|
92
107
|
selectionMode: "multiple";
|
|
@@ -98,51 +113,67 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
98
113
|
name: string;
|
|
99
114
|
label?: string | undefined;
|
|
100
115
|
description?: string | undefined;
|
|
116
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
101
117
|
} | {
|
|
102
118
|
type: "text";
|
|
103
119
|
default: string;
|
|
104
120
|
name: string;
|
|
105
121
|
label?: string | undefined;
|
|
106
122
|
description?: string | undefined;
|
|
123
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
107
124
|
} | {
|
|
108
125
|
type: "password";
|
|
109
126
|
default: "";
|
|
110
127
|
name: string;
|
|
111
128
|
label?: string | undefined;
|
|
112
129
|
description?: string | undefined;
|
|
130
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
113
131
|
} | {
|
|
114
132
|
type: "email";
|
|
115
133
|
default: string;
|
|
116
134
|
name: string;
|
|
117
135
|
label?: string | undefined;
|
|
118
136
|
description?: string | undefined;
|
|
137
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
119
138
|
} | {
|
|
120
139
|
type: "url";
|
|
121
140
|
default: string;
|
|
122
141
|
name: string;
|
|
123
142
|
label?: string | undefined;
|
|
124
143
|
description?: string | undefined;
|
|
144
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
125
145
|
} | {
|
|
126
146
|
type: "tel";
|
|
127
147
|
default: string;
|
|
128
148
|
name: string;
|
|
129
149
|
label?: string | undefined;
|
|
130
150
|
description?: string | undefined;
|
|
151
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
type: "boolean";
|
|
154
|
+
default: boolean;
|
|
155
|
+
name: string;
|
|
156
|
+
label?: string | undefined;
|
|
157
|
+
description?: string | undefined;
|
|
158
|
+
env?: ("paas" | "saas")[] | undefined;
|
|
131
159
|
})[], 1, "At least one configuration parameter is required">]>, readonly []>;
|
|
132
160
|
}, undefined>, undefined>;
|
|
133
161
|
readonly eventing: v.OptionalSchema<v.ObjectSchema<{
|
|
134
162
|
readonly commerce: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
135
163
|
readonly provider: v.ObjectSchema<{
|
|
136
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
137
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
164
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
165
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
138
166
|
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
139
167
|
}, undefined>;
|
|
140
168
|
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
141
169
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must start with \"plugin.\" or \"observer.\" followed by one or more dot-separated lowercase segments containing letters and underscores only (e.g., \"observer.order_placed\", \"plugin.sales.api.order_management.place\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
142
|
-
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
170
|
+
readonly fields: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
143
171
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Field name must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), dots (.), and square brackets ([, ]), or be exactly \"*\"">]>;
|
|
144
172
|
readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
|
|
145
|
-
}, undefined>, "Expected an array of event field objects with a 'name' property"
|
|
173
|
+
}, undefined>, "Expected an array of event field objects with a 'name' property">, v.MinLengthAction<{
|
|
174
|
+
name: string;
|
|
175
|
+
source?: string | undefined;
|
|
176
|
+
}[], 1, "The Commerce event configuration must define at least one field">]>;
|
|
146
177
|
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
147
178
|
readonly field: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
148
179
|
readonly operator: v.UnionSchema<v.LiteralSchema<"regex" | "greaterThan" | "lessThan" | "equal" | "in" | "onChange", undefined>[], `Operator must be one of: ${string}`>;
|
|
@@ -152,34 +183,229 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
|
|
|
152
183
|
readonly hipaa_audit_required: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
153
184
|
readonly priority: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
154
185
|
readonly force: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
155
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
156
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
186
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
187
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
157
188
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
158
189
|
}, undefined>, "Expected an array of Commerce events">;
|
|
159
190
|
}, undefined>, "Expected an array of Commerce event sources">, undefined>;
|
|
160
191
|
readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
161
192
|
readonly provider: v.ObjectSchema<{
|
|
162
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
163
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
193
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The provider label must not be longer than 100 characters">]>;
|
|
194
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The provider description must not be longer than 255 characters">]>;
|
|
164
195
|
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.RegexAction<string, `Only alphanumeric characters and hyphens are allowed in string value of "${string}"${string}`>]>, v.MaxLengthAction<string, 50, "The provider key must not be longer than 50 characters">]>, undefined>;
|
|
165
196
|
}, undefined>;
|
|
166
197
|
readonly events: v.ArraySchema<v.ObjectSchema<{
|
|
167
198
|
readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Event name must contain only letters, digits, underscores, hyphens, and dots (e.g., \"external_event\", \"webhook.received\", \"my-event_123\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
|
|
168
|
-
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
169
|
-
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
199
|
+
readonly label: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 100, "The event label must not be longer than 100 characters">]>;
|
|
200
|
+
readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, `${string} can only contain letters, numbers, spaces, underscores, hyphens, dots, colons, parentheses, commas, @, and /`>, v.MaxLengthAction<string, 255, "The event description must not be longer than 255 characters">]>;
|
|
170
201
|
readonly runtimeActions: v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Runtime action must be in the format \"<package>/<action>\" (e.g., \"my-package/my-action\")">]>, "Expected an array of runtime actions in the format <package>/<action>">;
|
|
171
202
|
}, undefined>, "Expected an array of external events">;
|
|
172
203
|
}, undefined>, "Expected an array of external event sources">, undefined>;
|
|
173
204
|
}, undefined>, undefined>;
|
|
174
205
|
readonly adminUiSdk: v.OptionalSchema<v.ObjectSchema<{
|
|
175
206
|
readonly registration: v.ObjectSchema<{
|
|
176
|
-
readonly menuItems: v.ArraySchema<v.ObjectSchema<{
|
|
177
|
-
readonly id: v.StringSchema<
|
|
178
|
-
readonly title: v.OptionalSchema<v.StringSchema<
|
|
179
|
-
readonly parent: v.OptionalSchema<v.StringSchema<
|
|
207
|
+
readonly menuItems: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
208
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
209
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
210
|
+
readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
180
211
|
readonly sortOrder: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
212
|
+
readonly isSection: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
213
|
+
readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
|
|
214
|
+
}, undefined>, undefined>, undefined>;
|
|
215
|
+
readonly order: v.OptionalSchema<v.ObjectSchema<{
|
|
216
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
217
|
+
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
218
|
+
readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
219
|
+
readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
|
|
220
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
221
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
222
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
223
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
224
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
225
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
226
|
+
}, undefined>, undefined>;
|
|
227
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
228
|
+
} & {
|
|
229
|
+
selectionLimit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
230
|
+
}, undefined>, v.PipeItem<{
|
|
231
|
+
displayIframe?: boolean | undefined;
|
|
232
|
+
timeout?: number | undefined;
|
|
233
|
+
sandbox?: string | undefined;
|
|
234
|
+
actionId: string;
|
|
235
|
+
label: string;
|
|
236
|
+
title?: string | undefined;
|
|
237
|
+
confirm?: {
|
|
238
|
+
title?: string | undefined;
|
|
239
|
+
message?: string | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
path: string;
|
|
242
|
+
selectionLimit?: number | undefined;
|
|
243
|
+
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
244
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
245
|
+
readonly data: v.ObjectSchema<{
|
|
246
|
+
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
247
|
+
}, undefined>;
|
|
248
|
+
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
249
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
250
|
+
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
251
|
+
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
252
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
253
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
254
|
+
label: string;
|
|
255
|
+
columnId: string;
|
|
256
|
+
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
257
|
+
align: "left" | "right" | "center";
|
|
258
|
+
}[], 1, "At least one grid column property is required">]>;
|
|
259
|
+
}, undefined>, undefined>;
|
|
260
|
+
readonly viewButtons: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
261
|
+
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
262
|
+
readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
263
|
+
readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
|
|
264
|
+
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
265
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
266
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
267
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
268
|
+
}, undefined>, undefined>;
|
|
269
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
270
|
+
readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
|
|
271
|
+
readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
272
|
+
}, undefined>, v.PipeItem<{
|
|
273
|
+
displayIframe?: boolean | undefined;
|
|
274
|
+
timeout?: number | undefined;
|
|
275
|
+
sandbox?: string | undefined;
|
|
276
|
+
buttonId: string;
|
|
277
|
+
label: string;
|
|
278
|
+
confirm?: {
|
|
279
|
+
message?: string | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
path: string;
|
|
282
|
+
level?: 0 | 1 | -1 | undefined;
|
|
283
|
+
sortOrder?: number | undefined;
|
|
284
|
+
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
285
|
+
readonly customFees: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
286
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
287
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
288
|
+
readonly value: v.NumberSchema<"Custom fee value must be a number">;
|
|
289
|
+
readonly orderMinimumAmount: v.OptionalSchema<v.NumberSchema<"orderMinimumAmount must be a number">, undefined>;
|
|
290
|
+
readonly applyFeeOnLastInvoice: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
291
|
+
readonly applyFeeOnLastCreditMemo: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
292
|
+
}, undefined>, undefined>, undefined>;
|
|
293
|
+
}, undefined>, undefined>;
|
|
294
|
+
readonly product: v.OptionalSchema<v.ObjectSchema<{
|
|
295
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
296
|
+
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
297
|
+
readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
298
|
+
readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
|
|
299
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
300
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
301
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
302
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
303
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
304
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
305
|
+
}, undefined>, undefined>;
|
|
306
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
307
|
+
} & {
|
|
308
|
+
productSelectLimit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
309
|
+
}, undefined>, v.PipeItem<{
|
|
310
|
+
displayIframe?: boolean | undefined;
|
|
311
|
+
timeout?: number | undefined;
|
|
312
|
+
sandbox?: string | undefined;
|
|
313
|
+
actionId: string;
|
|
314
|
+
label: string;
|
|
315
|
+
title?: string | undefined;
|
|
316
|
+
confirm?: {
|
|
317
|
+
title?: string | undefined;
|
|
318
|
+
message?: string | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
path: string;
|
|
321
|
+
productSelectLimit?: number | undefined;
|
|
322
|
+
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
323
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
324
|
+
readonly data: v.ObjectSchema<{
|
|
325
|
+
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
326
|
+
}, undefined>;
|
|
327
|
+
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
328
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
329
|
+
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
330
|
+
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
331
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
332
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
333
|
+
label: string;
|
|
334
|
+
columnId: string;
|
|
335
|
+
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
336
|
+
align: "left" | "right" | "center";
|
|
337
|
+
}[], 1, "At least one grid column property is required">]>;
|
|
338
|
+
}, undefined>, undefined>;
|
|
339
|
+
}, undefined>, undefined>;
|
|
340
|
+
readonly customer: v.OptionalSchema<v.ObjectSchema<{
|
|
341
|
+
readonly massActions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
342
|
+
readonly displayIframe: v.OptionalSchema<v.BooleanSchema<`Expected a boolean value for '${string}'`>, undefined>;
|
|
343
|
+
readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
344
|
+
readonly sandbox: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string value for \"sandbox\"">, v.CheckAction<string, `sandbox must contain only single-space-separated values from: ${string}`>]>, undefined>;
|
|
345
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
346
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
347
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
348
|
+
readonly confirm: v.OptionalSchema<v.ObjectSchema<{
|
|
349
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
350
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
351
|
+
}, undefined>, undefined>;
|
|
352
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
353
|
+
} & {
|
|
354
|
+
customerSelectLimit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
|
|
355
|
+
}, undefined>, v.PipeItem<{
|
|
356
|
+
displayIframe?: boolean | undefined;
|
|
357
|
+
timeout?: number | undefined;
|
|
358
|
+
sandbox?: string | undefined;
|
|
359
|
+
actionId: string;
|
|
360
|
+
label: string;
|
|
361
|
+
title?: string | undefined;
|
|
362
|
+
confirm?: {
|
|
363
|
+
title?: string | undefined;
|
|
364
|
+
message?: string | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
path: string;
|
|
367
|
+
customerSelectLimit?: number | undefined;
|
|
368
|
+
}, unknown, v.BaseIssue<unknown>>]>, undefined>, undefined>;
|
|
369
|
+
readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
|
|
370
|
+
readonly data: v.ObjectSchema<{
|
|
371
|
+
readonly meshId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
372
|
+
}, undefined>;
|
|
373
|
+
readonly properties: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
374
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
375
|
+
readonly columnId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
376
|
+
readonly type: v.PicklistSchema<["boolean", "date", "float", "integer", "string"], undefined>;
|
|
377
|
+
readonly align: v.PicklistSchema<["left", "right", "center"], undefined>;
|
|
378
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
379
|
+
label: string;
|
|
380
|
+
columnId: string;
|
|
381
|
+
type: "string" | "boolean" | "date" | "float" | "integer";
|
|
382
|
+
align: "left" | "right" | "center";
|
|
383
|
+
}[], 1, "At least one grid column property is required">]>;
|
|
384
|
+
}, undefined>, undefined>;
|
|
385
|
+
}, undefined>, undefined>;
|
|
386
|
+
readonly bannerNotification: v.OptionalSchema<v.ObjectSchema<{
|
|
387
|
+
readonly massActions: v.OptionalSchema<v.ObjectSchema<{
|
|
388
|
+
readonly order: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
389
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
390
|
+
readonly successMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
391
|
+
readonly errorMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
392
|
+
}, undefined>, undefined>, undefined>;
|
|
393
|
+
readonly product: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
394
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
395
|
+
readonly successMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
396
|
+
readonly errorMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
397
|
+
}, undefined>, undefined>, undefined>;
|
|
398
|
+
readonly customer: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
399
|
+
readonly actionId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
400
|
+
readonly successMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
401
|
+
readonly errorMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
402
|
+
}, undefined>, undefined>, undefined>;
|
|
403
|
+
}, undefined>, undefined>;
|
|
404
|
+
readonly orderViewButtons: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
405
|
+
readonly buttonId: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
|
|
406
|
+
readonly successMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
407
|
+
readonly errorMessage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
|
|
408
|
+
}, undefined>, undefined>, undefined>;
|
|
183
409
|
}, undefined>, undefined>;
|
|
184
410
|
}, undefined>;
|
|
185
411
|
}, undefined>, undefined>;
|