@adobe/aio-commerce-lib-app 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/actions/app-config.cjs +1 -1
  3. package/dist/cjs/actions/app-config.d.cts +1 -1
  4. package/dist/cjs/actions/config.cjs +1 -1
  5. package/dist/cjs/actions/installation.cjs +1 -1
  6. package/dist/cjs/actions/installation.d.cts +2 -2
  7. package/dist/cjs/{app-PTKvEBea.d.cts → app-DWX5-Hsf.d.cts} +11 -11
  8. package/dist/cjs/commands/index.cjs +3 -4
  9. package/dist/cjs/config/index.cjs +3 -3
  10. package/dist/cjs/config/index.d.cts +32 -32
  11. package/dist/cjs/{installation-nwF2RC7F.cjs → installation-CLbceU9F.cjs} +7 -5
  12. package/dist/cjs/management/index.cjs +1 -1
  13. package/dist/cjs/management/index.d.cts +1 -1
  14. package/dist/cjs/{parser-DIchX9SL.cjs → parser-BPpg_9QB.cjs} +1 -1
  15. package/dist/{es/runner-Uk7263hG.d.mts → cjs/runner-DemKouFJ.d.cts} +3 -3
  16. package/dist/cjs/{runner-CUJ8RHzY.cjs → runner-NHMvoMO2.cjs} +1 -1
  17. package/dist/cjs/{validate-BegMfe-i.cjs → validate-Btzn9ilZ.cjs} +1 -1
  18. package/dist/es/actions/app-config.d.mts +1 -1
  19. package/dist/es/actions/app-config.mjs +1 -1
  20. package/dist/es/actions/config.mjs +1 -1
  21. package/dist/es/actions/installation.d.mts +2 -2
  22. package/dist/es/actions/installation.mjs +1 -1
  23. package/dist/es/{app-vKXaAr6f.d.mts → app-BAiyvNo2.d.mts} +11 -11
  24. package/dist/es/commands/index.mjs +3 -4
  25. package/dist/es/config/index.d.mts +32 -32
  26. package/dist/es/config/index.mjs +3 -3
  27. package/dist/es/{installation-SWIwhpKT.mjs → installation-BTL9X7iv.mjs} +7 -5
  28. package/dist/es/management/index.d.mts +1 -1
  29. package/dist/es/management/index.mjs +1 -1
  30. package/dist/es/{parser-CKQyrTB7.mjs → parser-CQZTVG6i.mjs} +1 -1
  31. package/dist/{cjs/runner-Ds2m27Q4.d.cts → es/runner-BD-lItnK.d.mts} +3 -3
  32. package/dist/es/{runner-DB2tDBQS.mjs → runner-vwAhjD5r.mjs} +1 -1
  33. package/dist/es/{validate-DXI6gwZ2.mjs → validate-DKnju9-R.mjs} +1 -1
  34. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @adobe/aio-commerce-lib-app
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#318](https://github.com/adobe/aio-commerce-sdk/pull/318) [`dac677f`](https://github.com/adobe/aio-commerce-sdk/commit/dac677f2ebb7841f78a11919af8f145de57024bf) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Fix an issue where a not-needed input causes installation errors.
8
+
9
+ - Updated dependencies [[`452dc94`](https://github.com/adobe/aio-commerce-sdk/commit/452dc940a6f9ea48b63260dfb80830b7bee0ec79)]:
10
+ - @adobe/aio-commerce-lib-config@1.0.2
11
+
12
+ ## 1.0.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#295](https://github.com/adobe/aio-commerce-sdk/pull/295) [`933dc20`](https://github.com/adobe/aio-commerce-sdk/commit/933dc203d3afdb04576b85a4748392d5afe3d41b) Thanks [@oshmyheliuk](https://github.com/oshmyheliuk)! - Fix commerce event name validation so that it can also accept multiple dot-separated segments.
17
+
18
+ - Updated dependencies [[`0e99a06`](https://github.com/adobe/aio-commerce-sdk/commit/0e99a0645d284f4d05dd1859ccad4d958268d576)]:
19
+ - @adobe/aio-commerce-lib-config@1.0.1
20
+ - @adobe/aio-commerce-lib-auth@1.0.0
21
+ - @adobe/aio-commerce-lib-events@1.0.0
22
+
3
23
  ## 1.0.0
4
24
 
5
25
  ### Major Changes
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_schemas = require('../schemas-CZ6c8Id9.cjs');
3
3
  const require_router = require('../router-DCw7oEQ9.cjs');
4
- const require_validate = require('../validate-BegMfe-i.cjs');
4
+ const require_validate = require('../validate-Btzn9ilZ.cjs');
5
5
  let _adobe_aio_commerce_lib_core_responses = require("@adobe/aio-commerce-lib-core/responses");
6
6
 
7
7
  //#region source/actions/app-config.ts
@@ -1,4 +1,4 @@
1
- import { n as CommerceAppConfigOutputModel } from "../app-PTKvEBea.cjs";
1
+ import { n as CommerceAppConfigOutputModel } from "../app-DWX5-Hsf.cjs";
2
2
  import * as _adobe_aio_commerce_lib_core_responses0 from "@adobe/aio-commerce-lib-core/responses";
3
3
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
4
4
 
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_schemas = require('../schemas-CZ6c8Id9.cjs');
3
3
  const require_router = require('../router-DCw7oEQ9.cjs');
4
- const require_validate = require('../validate-BegMfe-i.cjs');
4
+ const require_validate = require('../validate-Btzn9ilZ.cjs');
5
5
  let _adobe_aio_commerce_lib_core_responses = require("@adobe/aio-commerce-lib-core/responses");
6
6
  let valibot = require("valibot");
7
7
  valibot = require_schemas.__toESM(valibot);
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_schemas = require('../schemas-CZ6c8Id9.cjs');
3
3
  const require_router = require('../router-DCw7oEQ9.cjs');
4
- const require_runner = require('../runner-CUJ8RHzY.cjs');
4
+ const require_runner = require('../runner-NHMvoMO2.cjs');
5
5
  let _adobe_aio_commerce_lib_core_responses = require("@adobe/aio-commerce-lib-core/responses");
6
6
  let valibot = require("valibot");
7
7
  valibot = require_schemas.__toESM(valibot);
@@ -1,5 +1,5 @@
1
- import { n as CommerceAppConfigOutputModel } from "../app-PTKvEBea.cjs";
2
- import { P as InstallationContext } from "../runner-Ds2m27Q4.cjs";
1
+ import { n as CommerceAppConfigOutputModel } from "../app-DWX5-Hsf.cjs";
2
+ import { P as InstallationContext } from "../runner-DemKouFJ.cjs";
3
3
  import * as _adobe_aio_commerce_lib_core_responses0 from "@adobe/aio-commerce-lib-core/responses";
4
4
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
5
5
 
@@ -34,31 +34,31 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
34
34
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
35
35
  }, undefined>], undefined>, v.ObjectSchema<{
36
36
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
37
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
37
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
38
38
  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
39
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
40
40
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
41
41
  }, undefined>, v.ObjectSchema<{
42
42
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
43
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
43
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
44
44
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
45
45
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
46
46
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
47
47
  }, undefined>, v.ObjectSchema<{
48
48
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
49
- readonly default: v.OptionalSchema<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>;
49
+ 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>, "">;
50
50
  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
51
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
52
52
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
53
53
  }, undefined>, v.ObjectSchema<{
54
54
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
55
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
55
+ 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>, "">;
56
56
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
57
57
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
58
58
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
59
59
  }, undefined>, v.ObjectSchema<{
60
60
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
61
- readonly default: v.OptionalSchema<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>;
61
+ 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>, "">;
62
62
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
63
63
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
64
64
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -86,31 +86,31 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
86
86
  description?: string | undefined;
87
87
  } | {
88
88
  type: "text";
89
- default?: string | undefined;
89
+ default: string;
90
90
  name: string;
91
91
  label?: string | undefined;
92
92
  description?: string | undefined;
93
93
  } | {
94
94
  type: "password";
95
- default?: undefined;
95
+ default: "";
96
96
  name: string;
97
97
  label?: string | undefined;
98
98
  description?: string | undefined;
99
99
  } | {
100
100
  type: "email";
101
- default?: string | undefined;
101
+ default: string;
102
102
  name: string;
103
103
  label?: string | undefined;
104
104
  description?: string | undefined;
105
105
  } | {
106
106
  type: "url";
107
- default?: string | undefined;
107
+ default: string;
108
108
  name: string;
109
109
  label?: string | undefined;
110
110
  description?: string | undefined;
111
111
  } | {
112
112
  type: "tel";
113
- default?: string | undefined;
113
+ default: string;
114
114
  name: string;
115
115
  label?: string | undefined;
116
116
  description?: string | undefined;
@@ -124,7 +124,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
124
124
  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>;
125
125
  }, undefined>;
126
126
  readonly events: v.ArraySchema<v.ObjectSchema<{
127
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
127
+ 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">]>;
128
128
  readonly fields: v.ArraySchema<v.ObjectSchema<{
129
129
  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 \"*\"">]>;
130
130
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  const require_schemas = require('../schemas-CZ6c8Id9.cjs');
3
- const require_validate = require('../validate-BegMfe-i.cjs');
4
- const require_installation = require('../installation-nwF2RC7F.cjs');
5
- const require_parser = require('../parser-DIchX9SL.cjs');
3
+ const require_validate = require('../validate-Btzn9ilZ.cjs');
4
+ const require_installation = require('../installation-CLbceU9F.cjs');
5
+ const require_parser = require('../parser-BPpg_9QB.cjs');
6
6
  const require_error = require('../error-DJ2UAPH2.cjs');
7
7
  const require_logging = require('../logging-IDRQG0as.cjs');
8
8
  let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
@@ -267,7 +267,6 @@ async function loadAppManifest() {
267
267
  //#region source/commands/generate/actions/config.ts
268
268
  /** The list of Commerce variables that are required for the runtime actions */
269
269
  const COMMERCE_VARIABLES = [
270
- "AIO_COMMERCE_API_BASE_URL",
271
270
  "AIO_COMMERCE_AUTH_IMS_CLIENT_ID",
272
271
  "AIO_COMMERCE_AUTH_IMS_CLIENT_SECRETS",
273
272
  "AIO_COMMERCE_AUTH_IMS_TECHNICAL_ACCOUNT_ID",
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_validate = require('../validate-BegMfe-i.cjs');
3
- const require_installation = require('../installation-nwF2RC7F.cjs');
4
- const require_parser = require('../parser-DIchX9SL.cjs');
2
+ const require_validate = require('../validate-Btzn9ilZ.cjs');
3
+ const require_installation = require('../installation-CLbceU9F.cjs');
4
+ const require_parser = require('../parser-BPpg_9QB.cjs');
5
5
 
6
6
  exports.CommerceAppConfigSchemas = require_validate.CommerceAppConfigSchemas;
7
7
  exports.defineConfig = require_parser.defineConfig;
@@ -1,4 +1,4 @@
1
- import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-PTKvEBea.cjs";
1
+ import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-DWX5-Hsf.cjs";
2
2
  import * as v from "valibot";
3
3
  import { Get, SetRequiredDeep } from "type-fest";
4
4
 
@@ -55,7 +55,7 @@ declare function defineConfig(config: CommerceAppConfig): {
55
55
  description?: string | undefined;
56
56
  } | {
57
57
  type: "password";
58
- default?: undefined;
58
+ default?: "" | undefined;
59
59
  name: string;
60
60
  label?: string | undefined;
61
61
  description?: string | undefined;
@@ -204,31 +204,31 @@ declare function parseCommerceAppConfig(cwd?: string): Promise<{
204
204
  description?: string | undefined;
205
205
  } | {
206
206
  type: "text";
207
- default?: string | undefined;
207
+ default: string;
208
208
  name: string;
209
209
  label?: string | undefined;
210
210
  description?: string | undefined;
211
211
  } | {
212
212
  type: "password";
213
- default?: undefined;
213
+ default: "";
214
214
  name: string;
215
215
  label?: string | undefined;
216
216
  description?: string | undefined;
217
217
  } | {
218
218
  type: "email";
219
- default?: string | undefined;
219
+ default: string;
220
220
  name: string;
221
221
  label?: string | undefined;
222
222
  description?: string | undefined;
223
223
  } | {
224
224
  type: "url";
225
- default?: string | undefined;
225
+ default: string;
226
226
  name: string;
227
227
  label?: string | undefined;
228
228
  description?: string | undefined;
229
229
  } | {
230
230
  type: "tel";
231
- default?: string | undefined;
231
+ default: string;
232
232
  name: string;
233
233
  label?: string | undefined;
234
234
  description?: string | undefined;
@@ -324,31 +324,31 @@ declare const CommerceAppConfigSchemas: {
324
324
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
325
325
  }, undefined>], undefined>, v.ObjectSchema<{
326
326
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
327
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
327
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
328
328
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
329
329
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
330
330
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
331
331
  }, undefined>, v.ObjectSchema<{
332
332
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
333
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
333
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
334
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">]>;
335
335
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
336
336
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
337
337
  }, undefined>, v.ObjectSchema<{
338
338
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
339
- readonly default: v.OptionalSchema<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>;
339
+ 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>, "">;
340
340
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
341
341
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
342
342
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
343
343
  }, undefined>, v.ObjectSchema<{
344
344
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
345
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
345
+ 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>, "">;
346
346
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
347
347
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
348
348
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
349
349
  }, undefined>, v.ObjectSchema<{
350
350
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
351
- readonly default: v.OptionalSchema<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>;
351
+ 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>, "">;
352
352
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
353
353
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
354
354
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -376,31 +376,31 @@ declare const CommerceAppConfigSchemas: {
376
376
  description?: string | undefined;
377
377
  } | {
378
378
  type: "text";
379
- default?: string | undefined;
379
+ default: string;
380
380
  name: string;
381
381
  label?: string | undefined;
382
382
  description?: string | undefined;
383
383
  } | {
384
384
  type: "password";
385
- default?: undefined;
385
+ default: "";
386
386
  name: string;
387
387
  label?: string | undefined;
388
388
  description?: string | undefined;
389
389
  } | {
390
390
  type: "email";
391
- default?: string | undefined;
391
+ default: string;
392
392
  name: string;
393
393
  label?: string | undefined;
394
394
  description?: string | undefined;
395
395
  } | {
396
396
  type: "url";
397
- default?: string | undefined;
397
+ default: string;
398
398
  name: string;
399
399
  label?: string | undefined;
400
400
  description?: string | undefined;
401
401
  } | {
402
402
  type: "tel";
403
- default?: string | undefined;
403
+ default: string;
404
404
  name: string;
405
405
  label?: string | undefined;
406
406
  description?: string | undefined;
@@ -414,7 +414,7 @@ declare const CommerceAppConfigSchemas: {
414
414
  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>;
415
415
  }, undefined>;
416
416
  readonly events: v.ArraySchema<v.ObjectSchema<{
417
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
417
+ 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">]>;
418
418
  readonly fields: v.ArraySchema<v.ObjectSchema<{
419
419
  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 \"*\"">]>;
420
420
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -486,31 +486,31 @@ declare const CommerceAppConfigSchemas: {
486
486
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
487
487
  }, undefined>], undefined>, v.ObjectSchema<{
488
488
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
489
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
489
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
490
490
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
491
491
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
492
492
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
493
493
  }, undefined>, v.ObjectSchema<{
494
494
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
495
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
495
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
496
496
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
497
497
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
498
498
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
499
499
  }, undefined>, v.ObjectSchema<{
500
500
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
501
- readonly default: v.OptionalSchema<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>;
501
+ 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>, "">;
502
502
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
503
503
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
504
504
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
505
505
  }, undefined>, v.ObjectSchema<{
506
506
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
507
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
507
+ 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>, "">;
508
508
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
509
509
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
510
510
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
511
511
  }, undefined>, v.ObjectSchema<{
512
512
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
513
- readonly default: v.OptionalSchema<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>;
513
+ 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>, "">;
514
514
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
515
515
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
516
516
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -538,31 +538,31 @@ declare const CommerceAppConfigSchemas: {
538
538
  description?: string | undefined;
539
539
  } | {
540
540
  type: "text";
541
- default?: string | undefined;
541
+ default: string;
542
542
  name: string;
543
543
  label?: string | undefined;
544
544
  description?: string | undefined;
545
545
  } | {
546
546
  type: "password";
547
- default?: undefined;
547
+ default: "";
548
548
  name: string;
549
549
  label?: string | undefined;
550
550
  description?: string | undefined;
551
551
  } | {
552
552
  type: "email";
553
- default?: string | undefined;
553
+ default: string;
554
554
  name: string;
555
555
  label?: string | undefined;
556
556
  description?: string | undefined;
557
557
  } | {
558
558
  type: "url";
559
- default?: string | undefined;
559
+ default: string;
560
560
  name: string;
561
561
  label?: string | undefined;
562
562
  description?: string | undefined;
563
563
  } | {
564
564
  type: "tel";
565
- default?: string | undefined;
565
+ default: string;
566
566
  name: string;
567
567
  label?: string | undefined;
568
568
  description?: string | undefined;
@@ -574,7 +574,7 @@ declare const CommerceAppConfigSchemas: {
574
574
  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>;
575
575
  }, undefined>;
576
576
  readonly events: v.ArraySchema<v.ObjectSchema<{
577
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
577
+ 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">]>;
578
578
  readonly fields: v.ArraySchema<v.ObjectSchema<{
579
579
  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 \"*\"">]>;
580
580
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -726,7 +726,7 @@ declare const ProviderSchema: v.ObjectSchema<{
726
726
  }, undefined>;
727
727
  /** Schema for Commerce event configuration */
728
728
  declare const CommerceEventSchema: v.ObjectSchema<{
729
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
729
+ 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">]>;
730
730
  readonly fields: v.ArraySchema<v.ObjectSchema<{
731
731
  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 \"*\"">]>;
732
732
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -759,7 +759,7 @@ declare const CommerceEventSourceSchema: v.ObjectSchema<{
759
759
  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>;
760
760
  }, undefined>;
761
761
  readonly events: v.ArraySchema<v.ObjectSchema<{
762
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
762
+ 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">]>;
763
763
  readonly fields: v.ArraySchema<v.ObjectSchema<{
764
764
  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 \"*\"">]>;
765
765
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -801,7 +801,7 @@ declare const EventingSchema: v.ObjectSchema<{
801
801
  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>;
802
802
  }, undefined>;
803
803
  readonly events: v.ArraySchema<v.ObjectSchema<{
804
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
804
+ 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">]>;
805
805
  readonly fields: v.ArraySchema<v.ObjectSchema<{
806
806
  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 \"*\"">]>;
807
807
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -9,10 +9,11 @@ const MAX_KEY_LENGTH = 50;
9
9
  const MAX_EVENT_NAME_LENGTH = 180;
10
10
  /**
11
11
  * Regex for Commerce event names that must start with "plugin." or "observer."
12
- * followed by lowercase letters and underscores only.
13
- * Examples: "plugin.order_placed", "observer.catalog_update"
12
+ * followed by one or more dot-separated lowercase segments containing letters
13
+ * and underscores only.
14
+ * Examples: "observer.order_placed", "plugin.sales.api.order_management.place"
14
15
  */
15
- const COMMERCE_EVENT_NAME_REGEX = /^(?:plugin|observer)\.[a-z_]+$/;
16
+ const COMMERCE_EVENT_NAME_REGEX = /^(?:plugin|observer)\.[a-z_]+(?:\.[a-z_]+)*$/;
16
17
  /**
17
18
  * Regex for external event names.
18
19
  * Allows word characters (letters, digits, underscore), hyphens, underscores, and dots.
@@ -27,10 +28,11 @@ const FIELD_NAME_REGEX = /^([a-zA-Z0-9_\-.[\]]+|\*)$/;
27
28
  /**
28
29
  * Schema for Commerce event names.
29
30
  * Validates that the event name starts with "plugin." or "observer."
30
- * followed by lowercase letters and underscores only.
31
+ * followed by one or more dot-separated lowercase segments containing letters
32
+ * and underscores only.
31
33
  */
32
34
  function commerceEventNameSchema() {
33
- return valibot.pipe(require_schemas.nonEmptyStringValueSchema("event name"), valibot.regex(COMMERCE_EVENT_NAME_REGEX, "Event name must start with \"plugin.\" or \"observer.\" followed by lowercase letters and underscores only (e.g., \"plugin.order_placed\")"), valibot.maxLength(MAX_EVENT_NAME_LENGTH, `The event name must not be longer than ${MAX_EVENT_NAME_LENGTH} characters`));
35
+ return valibot.pipe(require_schemas.nonEmptyStringValueSchema("event name"), valibot.regex(COMMERCE_EVENT_NAME_REGEX, "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\")"), valibot.maxLength(MAX_EVENT_NAME_LENGTH, `The event name must not be longer than ${MAX_EVENT_NAME_LENGTH} characters`));
34
36
  }
35
37
  /**
36
38
  * Schema for external event names.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runner = require('../runner-CUJ8RHzY.cjs');
2
+ const require_runner = require('../runner-NHMvoMO2.cjs');
3
3
 
4
4
  exports.createInitialInstallationState = require_runner.createInitialInstallationState;
5
5
  exports.defineCustomInstallationStep = require_runner.defineCustomInstallationStep;
@@ -1,2 +1,2 @@
1
- import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../runner-Ds2m27Q4.cjs";
1
+ import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../runner-DemKouFJ.cjs";
2
2
  export { AnyStep, BranchStep, BranchStepOptions, type CreateInitialInstallationStateOptions, CreateInitialStateOptions, type CustomInstallationStepHandler, ExecuteWorkflowOptions, ExecutionContext, ExecutionStatus, FailedInstallationState, InProgressInstallationState, InferStepOutput, InstallationContext, InstallationData, InstallationError, InstallationHooks, InstallationState, InstallationStatus, LeafStep, LeafStepOptions, type RunInstallationOptions, Step, StepContextFactory, StepEvent, StepFailedEvent, StepMeta, StepStartedEvent, StepStatus, StepSucceededEvent, SucceededInstallationState, createInitialInstallationState, createInitialState, defineBranchStep, defineCustomInstallationStep, defineLeafStep, executeWorkflow, isBranchStep, isCompletedState, isFailedState, isInProgressState, isLeafStep, isSucceededState, runInstallation };
@@ -1,5 +1,5 @@
1
1
  const require_schemas = require('./schemas-CZ6c8Id9.cjs');
2
- const require_validate = require('./validate-BegMfe-i.cjs');
2
+ const require_validate = require('./validate-Btzn9ilZ.cjs');
3
3
  const require_error = require('./error-DJ2UAPH2.cjs');
4
4
  let path = require("path");
5
5
  let fs = require("fs");
@@ -1,7 +1,7 @@
1
- import { n as CommerceAppConfigOutputModel } from "./app-vKXaAr6f.mjs";
2
- import AioLogger from "@adobe/aio-lib-core-logging";
3
- import * as v from "valibot";
1
+ import { n as CommerceAppConfigOutputModel } from "./app-DWX5-Hsf.cjs";
4
2
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
3
+ import * as v from "valibot";
4
+ import AioLogger from "@adobe/aio-lib-core-logging";
5
5
 
6
6
  //#region source/management/installation/schema.d.ts
7
7
  /** Schema for validating Adobe I/O app credentials required for installation. */
@@ -1,5 +1,5 @@
1
1
  const require_schemas = require('./schemas-CZ6c8Id9.cjs');
2
- const require_installation = require('./installation-nwF2RC7F.cjs');
2
+ const require_installation = require('./installation-CLbceU9F.cjs');
3
3
  const require_error = require('./error-DJ2UAPH2.cjs');
4
4
  const require_logging = require('./logging-IDRQG0as.cjs');
5
5
  let camelcase = require("camelcase");
@@ -1,5 +1,5 @@
1
1
  const require_schemas = require('./schemas-CZ6c8Id9.cjs');
2
- const require_installation = require('./installation-nwF2RC7F.cjs');
2
+ const require_installation = require('./installation-CLbceU9F.cjs');
3
3
  let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
4
4
  let valibot = require("valibot");
5
5
  valibot = require_schemas.__toESM(valibot);
@@ -1,4 +1,4 @@
1
- import { n as CommerceAppConfigOutputModel } from "../app-vKXaAr6f.mjs";
1
+ import { n as CommerceAppConfigOutputModel } from "../app-BAiyvNo2.mjs";
2
2
  import * as _adobe_aio_commerce_lib_core_responses0 from "@adobe/aio-commerce-lib-core/responses";
3
3
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { n as logger, t as HttpActionRouter } from "../router-CJ4VWoCt.mjs";
2
- import { t as validateCommerceAppConfig } from "../validate-DXI6gwZ2.mjs";
2
+ import { t as validateCommerceAppConfig } from "../validate-DKnju9-R.mjs";
3
3
  import { ok } from "@adobe/aio-commerce-lib-core/responses";
4
4
 
5
5
  //#region source/actions/app-config.ts
@@ -1,5 +1,5 @@
1
1
  import { n as logger, t as HttpActionRouter } from "../router-CJ4VWoCt.mjs";
2
- import { n as validateCommerceAppConfigDomain } from "../validate-DXI6gwZ2.mjs";
2
+ import { n as validateCommerceAppConfigDomain } from "../validate-DKnju9-R.mjs";
3
3
  import { r as nonEmptyStringValueSchema } from "../schemas-B8yIv0_b.mjs";
4
4
  import { ok } from "@adobe/aio-commerce-lib-core/responses";
5
5
  import * as v from "valibot";
@@ -1,5 +1,5 @@
1
- import { n as CommerceAppConfigOutputModel } from "../app-vKXaAr6f.mjs";
2
- import { P as InstallationContext } from "../runner-Uk7263hG.mjs";
1
+ import { n as CommerceAppConfigOutputModel } from "../app-BAiyvNo2.mjs";
2
+ import { P as InstallationContext } from "../runner-BD-lItnK.mjs";
3
3
  import * as _adobe_aio_commerce_lib_core_responses0 from "@adobe/aio-commerce-lib-core/responses";
4
4
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { n as logger, t as HttpActionRouter } from "../router-CJ4VWoCt.mjs";
2
2
  import { r as nonEmptyStringValueSchema } from "../schemas-B8yIv0_b.mjs";
3
- import { a as isFailedState, i as isCompletedState, n as runInstallation, o as isInProgressState, s as isSucceededState, t as createInitialInstallationState } from "../runner-DB2tDBQS.mjs";
3
+ import { a as isFailedState, i as isCompletedState, n as runInstallation, o as isInProgressState, s as isSucceededState, t as createInitialInstallationState } from "../runner-vwAhjD5r.mjs";
4
4
  import { accepted, badRequest, conflict, internalServerError, noContent, ok } from "@adobe/aio-commerce-lib-core/responses";
5
5
  import * as v from "valibot";
6
6
  import { object, string } from "valibot";
@@ -34,31 +34,31 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
34
34
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
35
35
  }, undefined>], undefined>, v.ObjectSchema<{
36
36
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
37
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
37
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
38
38
  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
39
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
40
40
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
41
41
  }, undefined>, v.ObjectSchema<{
42
42
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
43
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
43
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
44
44
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
45
45
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
46
46
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
47
47
  }, undefined>, v.ObjectSchema<{
48
48
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
49
- readonly default: v.OptionalSchema<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>;
49
+ 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>, "">;
50
50
  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
51
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
52
52
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
53
53
  }, undefined>, v.ObjectSchema<{
54
54
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
55
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
55
+ 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>, "">;
56
56
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
57
57
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
58
58
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
59
59
  }, undefined>, v.ObjectSchema<{
60
60
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
61
- readonly default: v.OptionalSchema<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>;
61
+ 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>, "">;
62
62
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
63
63
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
64
64
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -86,31 +86,31 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
86
86
  description?: string | undefined;
87
87
  } | {
88
88
  type: "text";
89
- default?: string | undefined;
89
+ default: string;
90
90
  name: string;
91
91
  label?: string | undefined;
92
92
  description?: string | undefined;
93
93
  } | {
94
94
  type: "password";
95
- default?: undefined;
95
+ default: "";
96
96
  name: string;
97
97
  label?: string | undefined;
98
98
  description?: string | undefined;
99
99
  } | {
100
100
  type: "email";
101
- default?: string | undefined;
101
+ default: string;
102
102
  name: string;
103
103
  label?: string | undefined;
104
104
  description?: string | undefined;
105
105
  } | {
106
106
  type: "url";
107
- default?: string | undefined;
107
+ default: string;
108
108
  name: string;
109
109
  label?: string | undefined;
110
110
  description?: string | undefined;
111
111
  } | {
112
112
  type: "tel";
113
- default?: string | undefined;
113
+ default: string;
114
114
  name: string;
115
115
  label?: string | undefined;
116
116
  description?: string | undefined;
@@ -124,7 +124,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
124
124
  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>;
125
125
  }, undefined>;
126
126
  readonly events: v.ArraySchema<v.ObjectSchema<{
127
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
127
+ 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">]>;
128
128
  readonly fields: v.ArraySchema<v.ObjectSchema<{
129
129
  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 \"*\"">]>;
130
130
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { c as hasBusinessConfigSchema, i as getConfigDomains, t as validateCommerceAppConfig } from "../validate-DXI6gwZ2.mjs";
3
- import { r as hasCustomInstallationSteps } from "../installation-SWIwhpKT.mjs";
4
- import { a as findNearestPackageJson, c as isESM, i as detectPackageManager, l as makeOutputDirFor, n as readCommerceAppConfig, o as getExecCommand, s as getProjectRootDirectory, t as parseCommerceAppConfig, u as readPackageJson } from "../parser-CKQyrTB7.mjs";
2
+ import { c as hasBusinessConfigSchema, i as getConfigDomains, t as validateCommerceAppConfig } from "../validate-DKnju9-R.mjs";
3
+ import { r as hasCustomInstallationSteps } from "../installation-BTL9X7iv.mjs";
4
+ import { a as findNearestPackageJson, c as isESM, i as detectPackageManager, l as makeOutputDirFor, n as readCommerceAppConfig, o as getExecCommand, s as getProjectRootDirectory, t as parseCommerceAppConfig, u as readPackageJson } from "../parser-CQZTVG6i.mjs";
5
5
  import { t as stringifyError } from "../error-CMV3IjBz.mjs";
6
6
  import { t as inspect } from "../logging-CzmXDzxI.mjs";
7
7
  import { CommerceSdkValidationError } from "@adobe/aio-commerce-lib-core/error";
@@ -260,7 +260,6 @@ async function loadAppManifest() {
260
260
  //#region source/commands/generate/actions/config.ts
261
261
  /** The list of Commerce variables that are required for the runtime actions */
262
262
  const COMMERCE_VARIABLES = [
263
- "AIO_COMMERCE_API_BASE_URL",
264
263
  "AIO_COMMERCE_AUTH_IMS_CLIENT_ID",
265
264
  "AIO_COMMERCE_AUTH_IMS_CLIENT_SECRETS",
266
265
  "AIO_COMMERCE_AUTH_IMS_TECHNICAL_ACCOUNT_ID",
@@ -1,4 +1,4 @@
1
- import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-vKXaAr6f.mjs";
1
+ import { n as CommerceAppConfigOutputModel, t as CommerceAppConfig } from "../app-BAiyvNo2.mjs";
2
2
  import * as v from "valibot";
3
3
  import { Get, SetRequiredDeep } from "type-fest";
4
4
 
@@ -55,7 +55,7 @@ declare function defineConfig(config: CommerceAppConfig): {
55
55
  description?: string | undefined;
56
56
  } | {
57
57
  type: "password";
58
- default?: undefined;
58
+ default?: "" | undefined;
59
59
  name: string;
60
60
  label?: string | undefined;
61
61
  description?: string | undefined;
@@ -204,31 +204,31 @@ declare function parseCommerceAppConfig(cwd?: string): Promise<{
204
204
  description?: string | undefined;
205
205
  } | {
206
206
  type: "text";
207
- default?: string | undefined;
207
+ default: string;
208
208
  name: string;
209
209
  label?: string | undefined;
210
210
  description?: string | undefined;
211
211
  } | {
212
212
  type: "password";
213
- default?: undefined;
213
+ default: "";
214
214
  name: string;
215
215
  label?: string | undefined;
216
216
  description?: string | undefined;
217
217
  } | {
218
218
  type: "email";
219
- default?: string | undefined;
219
+ default: string;
220
220
  name: string;
221
221
  label?: string | undefined;
222
222
  description?: string | undefined;
223
223
  } | {
224
224
  type: "url";
225
- default?: string | undefined;
225
+ default: string;
226
226
  name: string;
227
227
  label?: string | undefined;
228
228
  description?: string | undefined;
229
229
  } | {
230
230
  type: "tel";
231
- default?: string | undefined;
231
+ default: string;
232
232
  name: string;
233
233
  label?: string | undefined;
234
234
  description?: string | undefined;
@@ -324,31 +324,31 @@ declare const CommerceAppConfigSchemas: {
324
324
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
325
325
  }, undefined>], undefined>, v.ObjectSchema<{
326
326
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
327
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
327
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
328
328
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
329
329
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
330
330
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
331
331
  }, undefined>, v.ObjectSchema<{
332
332
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
333
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
333
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
334
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">]>;
335
335
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
336
336
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
337
337
  }, undefined>, v.ObjectSchema<{
338
338
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
339
- readonly default: v.OptionalSchema<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>;
339
+ 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>, "">;
340
340
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
341
341
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
342
342
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
343
343
  }, undefined>, v.ObjectSchema<{
344
344
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
345
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
345
+ 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>, "">;
346
346
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
347
347
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
348
348
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
349
349
  }, undefined>, v.ObjectSchema<{
350
350
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
351
- readonly default: v.OptionalSchema<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>;
351
+ 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>, "">;
352
352
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
353
353
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
354
354
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -376,31 +376,31 @@ declare const CommerceAppConfigSchemas: {
376
376
  description?: string | undefined;
377
377
  } | {
378
378
  type: "text";
379
- default?: string | undefined;
379
+ default: string;
380
380
  name: string;
381
381
  label?: string | undefined;
382
382
  description?: string | undefined;
383
383
  } | {
384
384
  type: "password";
385
- default?: undefined;
385
+ default: "";
386
386
  name: string;
387
387
  label?: string | undefined;
388
388
  description?: string | undefined;
389
389
  } | {
390
390
  type: "email";
391
- default?: string | undefined;
391
+ default: string;
392
392
  name: string;
393
393
  label?: string | undefined;
394
394
  description?: string | undefined;
395
395
  } | {
396
396
  type: "url";
397
- default?: string | undefined;
397
+ default: string;
398
398
  name: string;
399
399
  label?: string | undefined;
400
400
  description?: string | undefined;
401
401
  } | {
402
402
  type: "tel";
403
- default?: string | undefined;
403
+ default: string;
404
404
  name: string;
405
405
  label?: string | undefined;
406
406
  description?: string | undefined;
@@ -414,7 +414,7 @@ declare const CommerceAppConfigSchemas: {
414
414
  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>;
415
415
  }, undefined>;
416
416
  readonly events: v.ArraySchema<v.ObjectSchema<{
417
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
417
+ 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">]>;
418
418
  readonly fields: v.ArraySchema<v.ObjectSchema<{
419
419
  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 \"*\"">]>;
420
420
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -486,31 +486,31 @@ declare const CommerceAppConfigSchemas: {
486
486
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
487
487
  }, undefined>], undefined>, v.ObjectSchema<{
488
488
  readonly type: v.LiteralSchema<"text", "Expected the type to be 'text'">;
489
- readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, undefined>;
489
+ readonly default: v.OptionalSchema<v.StringSchema<"Expected a string for the default value">, "">;
490
490
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
491
491
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
492
492
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
493
493
  }, undefined>, v.ObjectSchema<{
494
494
  readonly type: v.LiteralSchema<"password", "Expected the type to be 'password'">;
495
- readonly default: v.OptionalSchema<v.NeverSchema<"Password fields do not have a default value">, undefined>;
495
+ readonly default: v.OptionalSchema<v.LiteralSchema<"", "Password fields do not have a default value">, "">;
496
496
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
497
497
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
498
498
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
499
499
  }, undefined>, v.ObjectSchema<{
500
500
  readonly type: v.LiteralSchema<"email", "Expected the type to be 'email'">;
501
- readonly default: v.OptionalSchema<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>;
501
+ 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>, "">;
502
502
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
503
503
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
504
504
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
505
505
  }, undefined>, v.ObjectSchema<{
506
506
  readonly type: v.LiteralSchema<"url", "Expected the type to be 'url'">;
507
- readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the default URL value">, v.UrlAction<string, "The URL must be a valid URL">]>, undefined>;
507
+ 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>, "">;
508
508
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
509
509
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
510
510
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
511
511
  }, undefined>, v.ObjectSchema<{
512
512
  readonly type: v.LiteralSchema<"tel", "Expected the type to be 'tel'">;
513
- readonly default: v.OptionalSchema<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>;
513
+ 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>, "">;
514
514
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<"Expected a string for the field name">, v.NonEmptyAction<string, "The field name must not be empty">]>;
515
515
  readonly label: v.OptionalSchema<v.StringSchema<"Expected a string for the field label">, undefined>;
516
516
  readonly description: v.OptionalSchema<v.StringSchema<"Expected a string for the field description">, undefined>;
@@ -538,31 +538,31 @@ declare const CommerceAppConfigSchemas: {
538
538
  description?: string | undefined;
539
539
  } | {
540
540
  type: "text";
541
- default?: string | undefined;
541
+ default: string;
542
542
  name: string;
543
543
  label?: string | undefined;
544
544
  description?: string | undefined;
545
545
  } | {
546
546
  type: "password";
547
- default?: undefined;
547
+ default: "";
548
548
  name: string;
549
549
  label?: string | undefined;
550
550
  description?: string | undefined;
551
551
  } | {
552
552
  type: "email";
553
- default?: string | undefined;
553
+ default: string;
554
554
  name: string;
555
555
  label?: string | undefined;
556
556
  description?: string | undefined;
557
557
  } | {
558
558
  type: "url";
559
- default?: string | undefined;
559
+ default: string;
560
560
  name: string;
561
561
  label?: string | undefined;
562
562
  description?: string | undefined;
563
563
  } | {
564
564
  type: "tel";
565
- default?: string | undefined;
565
+ default: string;
566
566
  name: string;
567
567
  label?: string | undefined;
568
568
  description?: string | undefined;
@@ -574,7 +574,7 @@ declare const CommerceAppConfigSchemas: {
574
574
  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>;
575
575
  }, undefined>;
576
576
  readonly events: v.ArraySchema<v.ObjectSchema<{
577
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
577
+ 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">]>;
578
578
  readonly fields: v.ArraySchema<v.ObjectSchema<{
579
579
  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 \"*\"">]>;
580
580
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -726,7 +726,7 @@ declare const ProviderSchema: v.ObjectSchema<{
726
726
  }, undefined>;
727
727
  /** Schema for Commerce event configuration */
728
728
  declare const CommerceEventSchema: v.ObjectSchema<{
729
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
729
+ 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">]>;
730
730
  readonly fields: v.ArraySchema<v.ObjectSchema<{
731
731
  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 \"*\"">]>;
732
732
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -759,7 +759,7 @@ declare const CommerceEventSourceSchema: v.ObjectSchema<{
759
759
  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>;
760
760
  }, undefined>;
761
761
  readonly events: v.ArraySchema<v.ObjectSchema<{
762
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
762
+ 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">]>;
763
763
  readonly fields: v.ArraySchema<v.ObjectSchema<{
764
764
  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 \"*\"">]>;
765
765
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -801,7 +801,7 @@ declare const EventingSchema: v.ObjectSchema<{
801
801
  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>;
802
802
  }, undefined>;
803
803
  readonly events: v.ArraySchema<v.ObjectSchema<{
804
- 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 lowercase letters and underscores only (e.g., \"plugin.order_placed\")">, v.MaxLengthAction<string, 180, "The event name must not be longer than 180 characters">]>;
804
+ 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">]>;
805
805
  readonly fields: v.ArraySchema<v.ObjectSchema<{
806
806
  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 \"*\"">]>;
807
807
  readonly source: v.OptionalSchema<v.StringSchema<`Expected a string value for '${string}'`>, undefined>;
@@ -1,5 +1,5 @@
1
- import { a as hasConfigDomain, c as hasBusinessConfigSchema, i as getConfigDomains, n as validateCommerceAppConfigDomain, o as hasMetadata, r as CommerceAppConfigSchemas, s as hasBusinessConfig, t as validateCommerceAppConfig } from "../validate-DXI6gwZ2.mjs";
2
- import { a as hasCommerceEvents, n as hasCustomInstallation, o as hasEventing, r as hasCustomInstallationSteps, s as hasExternalEvents } from "../installation-SWIwhpKT.mjs";
3
- import { d as defineConfig, n as readCommerceAppConfig, r as resolveCommerceAppConfig, t as parseCommerceAppConfig } from "../parser-CKQyrTB7.mjs";
1
+ import { a as hasConfigDomain, c as hasBusinessConfigSchema, i as getConfigDomains, n as validateCommerceAppConfigDomain, o as hasMetadata, r as CommerceAppConfigSchemas, s as hasBusinessConfig, t as validateCommerceAppConfig } from "../validate-DKnju9-R.mjs";
2
+ import { a as hasCommerceEvents, n as hasCustomInstallation, o as hasEventing, r as hasCustomInstallationSteps, s as hasExternalEvents } from "../installation-BTL9X7iv.mjs";
3
+ import { d as defineConfig, n as readCommerceAppConfig, r as resolveCommerceAppConfig, t as parseCommerceAppConfig } from "../parser-CQZTVG6i.mjs";
4
4
 
5
5
  export { CommerceAppConfigSchemas, defineConfig, getConfigDomains, hasBusinessConfig, hasBusinessConfigSchema, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasMetadata, parseCommerceAppConfig, readCommerceAppConfig, resolveCommerceAppConfig, validateCommerceAppConfig, validateCommerceAppConfigDomain };
@@ -8,10 +8,11 @@ const MAX_KEY_LENGTH = 50;
8
8
  const MAX_EVENT_NAME_LENGTH = 180;
9
9
  /**
10
10
  * Regex for Commerce event names that must start with "plugin." or "observer."
11
- * followed by lowercase letters and underscores only.
12
- * Examples: "plugin.order_placed", "observer.catalog_update"
11
+ * followed by one or more dot-separated lowercase segments containing letters
12
+ * and underscores only.
13
+ * Examples: "observer.order_placed", "plugin.sales.api.order_management.place"
13
14
  */
14
- const COMMERCE_EVENT_NAME_REGEX = /^(?:plugin|observer)\.[a-z_]+$/;
15
+ const COMMERCE_EVENT_NAME_REGEX = /^(?:plugin|observer)\.[a-z_]+(?:\.[a-z_]+)*$/;
15
16
  /**
16
17
  * Regex for external event names.
17
18
  * Allows word characters (letters, digits, underscore), hyphens, underscores, and dots.
@@ -26,10 +27,11 @@ const FIELD_NAME_REGEX = /^([a-zA-Z0-9_\-.[\]]+|\*)$/;
26
27
  /**
27
28
  * Schema for Commerce event names.
28
29
  * Validates that the event name starts with "plugin." or "observer."
29
- * followed by lowercase letters and underscores only.
30
+ * followed by one or more dot-separated lowercase segments containing letters
31
+ * and underscores only.
30
32
  */
31
33
  function commerceEventNameSchema() {
32
- return v.pipe(nonEmptyStringValueSchema("event name"), v.regex(COMMERCE_EVENT_NAME_REGEX, "Event name must start with \"plugin.\" or \"observer.\" followed by lowercase letters and underscores only (e.g., \"plugin.order_placed\")"), v.maxLength(MAX_EVENT_NAME_LENGTH, `The event name must not be longer than ${MAX_EVENT_NAME_LENGTH} characters`));
34
+ return v.pipe(nonEmptyStringValueSchema("event name"), v.regex(COMMERCE_EVENT_NAME_REGEX, "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.maxLength(MAX_EVENT_NAME_LENGTH, `The event name must not be longer than ${MAX_EVENT_NAME_LENGTH} characters`));
33
35
  }
34
36
  /**
35
37
  * Schema for external event names.
@@ -1,2 +1,2 @@
1
- import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../runner-Uk7263hG.mjs";
1
+ import { A as BranchStep, B as defineBranchStep, C as StepStatus, D as isInProgressState, E as isFailedState, F as LeafStep, H as isBranchStep, I as LeafStepOptions, L as Step, M as ExecutionContext, N as InferStepOutput, O as isSucceededState, P as InstallationContext, R as StepContextFactory, S as InstallationStatus, T as isCompletedState, U as isLeafStep, V as defineLeafStep, _ as FailedInstallationState, a as CustomInstallationStepHandler, b as InstallationError, c as ExecuteWorkflowOptions, d as InstallationHooks, f as StepEvent, g as ExecutionStatus, h as StepSucceededEvent, i as runInstallation, j as BranchStepOptions, k as AnyStep, l as createInitialState, m as StepStartedEvent, n as RunInstallationOptions, o as defineCustomInstallationStep, p as StepFailedEvent, r as createInitialInstallationState, s as CreateInitialStateOptions, t as CreateInitialInstallationStateOptions, u as executeWorkflow, v as InProgressInstallationState, w as SucceededInstallationState, x as InstallationState, y as InstallationData, z as StepMeta } from "../runner-BD-lItnK.mjs";
2
2
  export { AnyStep, BranchStep, BranchStepOptions, type CreateInitialInstallationStateOptions, CreateInitialStateOptions, type CustomInstallationStepHandler, ExecuteWorkflowOptions, ExecutionContext, ExecutionStatus, FailedInstallationState, InProgressInstallationState, InferStepOutput, InstallationContext, InstallationData, InstallationError, InstallationHooks, InstallationState, InstallationStatus, LeafStep, LeafStepOptions, type RunInstallationOptions, Step, StepContextFactory, StepEvent, StepFailedEvent, StepMeta, StepStartedEvent, StepStatus, StepSucceededEvent, SucceededInstallationState, createInitialInstallationState, createInitialState, defineBranchStep, defineCustomInstallationStep, defineLeafStep, executeWorkflow, isBranchStep, isCompletedState, isFailedState, isInProgressState, isLeafStep, isSucceededState, runInstallation };
@@ -1,3 +1,3 @@
1
- import { a as isFailedState, i as isCompletedState, n as runInstallation, o as isInProgressState, r as defineCustomInstallationStep, s as isSucceededState, t as createInitialInstallationState } from "../runner-DB2tDBQS.mjs";
1
+ import { a as isFailedState, i as isCompletedState, n as runInstallation, o as isInProgressState, r as defineCustomInstallationStep, s as isSucceededState, t as createInitialInstallationState } from "../runner-vwAhjD5r.mjs";
2
2
 
3
3
  export { createInitialInstallationState, defineCustomInstallationStep, isCompletedState, isFailedState, isInProgressState, isSucceededState, runInstallation };
@@ -1,4 +1,4 @@
1
- import { t as validateCommerceAppConfig } from "./validate-DXI6gwZ2.mjs";
1
+ import { t as validateCommerceAppConfig } from "./validate-DKnju9-R.mjs";
2
2
  import { t as stringifyError } from "./error-CMV3IjBz.mjs";
3
3
  import { dirname, join, parse } from "path";
4
4
  import { existsSync } from "fs";
@@ -1,7 +1,7 @@
1
- import { n as CommerceAppConfigOutputModel } from "./app-PTKvEBea.cjs";
2
- import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
3
- import * as v from "valibot";
1
+ import { n as CommerceAppConfigOutputModel } from "./app-BAiyvNo2.mjs";
4
2
  import AioLogger from "@adobe/aio-lib-core-logging";
3
+ import * as v from "valibot";
4
+ import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
5
5
 
6
6
  //#region source/management/installation/schema.d.ts
7
7
  /** Schema for validating Adobe I/O app credentials required for installation. */
@@ -1,4 +1,4 @@
1
- import { a as hasCommerceEvents, o as hasEventing, r as hasCustomInstallationSteps, s as hasExternalEvents } from "./installation-SWIwhpKT.mjs";
1
+ import { a as hasCommerceEvents, o as hasEventing, r as hasCustomInstallationSteps, s as hasExternalEvents } from "./installation-BTL9X7iv.mjs";
2
2
  import { t as stringifyError } from "./error-CMV3IjBz.mjs";
3
3
  import { t as inspect } from "./logging-CzmXDzxI.mjs";
4
4
  import camelcase from "camelcase";
@@ -1,5 +1,5 @@
1
1
  import { t as alphaNumericOrHyphenSchema } from "./schemas-B8yIv0_b.mjs";
2
- import { a as hasCommerceEvents, i as EventingSchema, n as hasCustomInstallation, r as hasCustomInstallationSteps, s as hasExternalEvents, t as InstallationSchema } from "./installation-SWIwhpKT.mjs";
2
+ import { a as hasCommerceEvents, i as EventingSchema, n as hasCustomInstallation, r as hasCustomInstallationSteps, s as hasExternalEvents, t as InstallationSchema } from "./installation-BTL9X7iv.mjs";
3
3
  import { CommerceSdkValidationError } from "@adobe/aio-commerce-lib-core/error";
4
4
  import * as v from "valibot";
5
5
  import { SchemaBusinessConfig } from "@adobe/aio-commerce-lib-config";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@adobe/aio-commerce-lib-app",
3
3
  "type": "module",
4
4
  "author": "Adobe Inc.",
5
- "version": "1.0.0",
5
+ "version": "1.0.2",
6
6
  "private": false,
7
7
  "engines": {
8
8
  "node": ">=20 <=24"
@@ -95,19 +95,19 @@
95
95
  "yaml": "^2.8.1",
96
96
  "@adobe/aio-commerce-lib-api": "1.0.0",
97
97
  "@adobe/aio-commerce-lib-auth": "1.0.0",
98
- "@adobe/aio-commerce-lib-config": "1.0.0",
98
+ "@adobe/aio-commerce-lib-config": "1.0.2",
99
99
  "@adobe/aio-commerce-lib-core": "1.0.0",
100
100
  "@adobe/aio-commerce-lib-events": "1.0.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "typescript": "^5.9.2",
104
- "@aio-commerce-sdk/common-utils": "0.2.2",
105
104
  "@aio-commerce-sdk/config-tsdown": "1.0.1",
106
105
  "@aio-commerce-sdk/config-typedoc": "1.0.0",
107
106
  "@aio-commerce-sdk/config-typescript": "1.0.0",
108
107
  "@aio-commerce-sdk/config-vitest": "1.0.0",
109
- "@aio-commerce-sdk/scripting-utils": "0.2.2",
110
- "@aio-commerce-sdk/scripts": "0.0.1"
108
+ "@aio-commerce-sdk/scripting-utils": "0.3.0",
109
+ "@aio-commerce-sdk/common-utils": "0.2.2",
110
+ "@aio-commerce-sdk/scripts": "0.1.0"
111
111
  },
112
112
  "sideEffects": false,
113
113
  "scripts": {