@adobe/aio-commerce-lib-app 2.2.0 → 2.3.0-beta-20261202103723

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 (63) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/dist/cjs/actions/app-config/index.cjs +8 -8
  3. package/dist/cjs/actions/app-config/index.d.cts +2 -2
  4. package/dist/cjs/actions/association/index.cjs +4 -4
  5. package/dist/cjs/actions/config/index.cjs +19 -8
  6. package/dist/cjs/actions/config/index.d.cts +1 -1
  7. package/dist/cjs/actions/installation/index.cjs +39 -15
  8. package/dist/cjs/actions/installation/index.d.cts +3 -3
  9. package/dist/cjs/actions/scope-tree/index.cjs +6 -6
  10. package/dist/cjs/{app-B3bAEor-.d.cts → app-CLDvfJXp.d.cts} +634 -44
  11. package/dist/cjs/commands/index.cjs +174 -33
  12. package/dist/cjs/config/index.browser.d.cts +1 -1
  13. package/dist/cjs/config/index.node.cjs +3 -3
  14. package/dist/cjs/config/index.node.d.cts +50 -14
  15. package/dist/cjs/{define-eBMdGAq6.d.cts → define-BGpnO45V.d.cts} +1 -1
  16. package/dist/cjs/{environment-CW6M76gS.cjs → environment-CaV1hi2-.cjs} +1 -1
  17. package/dist/cjs/{index-BEeludy0.d.cts → index-p0duTbHE.d.cts} +2 -2
  18. package/dist/cjs/index.cjs +3 -3
  19. package/dist/cjs/index.d.cts +1 -1
  20. package/dist/cjs/{index.node-9bfp79rs.cjs → index.node-ECg3DGc8.cjs} +7 -6
  21. package/dist/cjs/{logging-Emi7P923.cjs → logging-r-r2bUWO.cjs} +1 -1
  22. package/dist/cjs/management/index.cjs +1 -1
  23. package/dist/cjs/management/index.d.cts +1 -1
  24. package/dist/cjs/{management-5Et1mEUp.cjs → management-CFQ4hjs6.cjs} +123 -108
  25. package/dist/cjs/{openapi-DghfuM8S.cjs → openapi-BaKoO7GY.cjs} +177 -26
  26. package/dist/cjs/{rolldown-runtime-CoOt0iuZ.cjs → rolldown-runtime-BKfnhsn2.cjs} +4 -4
  27. package/dist/cjs/{schemas-B6ITl1bG.cjs → schemas-B-jCi6Oz.cjs} +1 -1
  28. package/dist/cjs/{utils-CoR_PBHz.cjs → utils-CuzJBLgo.cjs} +2 -2
  29. package/dist/cjs/{utils-DSS0XlXq.cjs → utils-bwFwJcPW.cjs} +1 -1
  30. package/dist/cjs/{validate-BC3rnRLc.cjs → validate-DKMq3KNV.cjs} +13 -5
  31. package/dist/cjs/{version-5MonNzl5.cjs → version-BYcHBNng.cjs} +3 -3
  32. package/dist/{es/webhooks-DgaLfP36.d.mts → cjs/webhooks-BCYX3JqY.d.cts} +382 -43
  33. package/dist/cjs/{webhooks-ZPh2gVb3.cjs → webhooks-Bp1Roq8a.cjs} +70 -23
  34. package/dist/es/actions/app-config/index.d.mts +2 -2
  35. package/dist/es/actions/app-config/index.mjs +6 -6
  36. package/dist/es/actions/association/index.mjs +3 -3
  37. package/dist/es/actions/config/index.d.mts +2 -2
  38. package/dist/es/actions/config/index.mjs +19 -8
  39. package/dist/es/actions/installation/index.d.mts +4 -4
  40. package/dist/es/actions/installation/index.mjs +38 -14
  41. package/dist/es/actions/scope-tree/index.mjs +5 -5
  42. package/dist/es/{app-B3bAEor-.d.mts → app-CLDvfJXp.d.mts} +634 -44
  43. package/dist/es/commands/index.mjs +170 -29
  44. package/dist/es/config/index.browser.d.mts +1 -1
  45. package/dist/es/config/index.node.d.mts +51 -15
  46. package/dist/es/config/index.node.mjs +3 -3
  47. package/dist/es/{define-BdXyLAwb.d.mts → define-C-0hOMO3.d.mts} +1 -1
  48. package/dist/es/{environment-DUhU0_9z.mjs → environment-B1JJFHZw.mjs} +1 -1
  49. package/dist/es/{index-DE2KVXfH.d.mts → index-DYHaYwvJ.d.mts} +4 -4
  50. package/dist/es/{index-DUJtT78x.d.mts → index-U7CXicoW.d.mts} +1 -1
  51. package/dist/es/index.d.mts +2 -2
  52. package/dist/es/index.mjs +3 -3
  53. package/dist/es/{index.node-CURztkP5.mjs → index.node-ChWOTWnF.mjs} +5 -4
  54. package/dist/es/management/index.d.mts +1 -1
  55. package/dist/es/management/index.mjs +1 -1
  56. package/dist/es/{management-BAQ64OyR.mjs → management-CNMT6azj.mjs} +128 -113
  57. package/dist/es/{openapi-BvPVTUMt.mjs → openapi-ChihLuvm.mjs} +177 -26
  58. package/dist/es/{utils-DB8HaSj0.mjs → utils-Bg_LIAGV.mjs} +2 -2
  59. package/dist/es/{validate-xS9Dc-4m.mjs → validate-DeAMC-HS.mjs} +7 -5
  60. package/dist/es/{version-BWgrh_QM.mjs → version-Cj7a9rey.mjs} +1 -1
  61. package/dist/es/{webhooks-HBe_DEKA.mjs → webhooks-CyiUfRNG.mjs} +67 -20
  62. package/dist/{cjs/webhooks-DNLuuv9_.d.cts → es/webhooks-DyMAQMnm.d.mts} +382 -43
  63. package/package.json +14 -15
@@ -13,42 +13,43 @@
13
13
  * governing permissions and limitations under the License.
14
14
  */
15
15
 
16
- const require_rolldown_runtime = require("../rolldown-runtime-CoOt0iuZ.cjs");
17
- const require_index_node = require("../index.node-9bfp79rs.cjs");
18
- const require_webhooks = require("../webhooks-ZPh2gVb3.cjs");
19
- const require_validate = require("../validate-BC3rnRLc.cjs");
20
- const require_utils = require("../utils-DSS0XlXq.cjs");
21
- const require_schemas = require("../schemas-B6ITl1bG.cjs");
22
- const require_logging = require("../logging-Emi7P923.cjs");
23
- let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
16
+ const require_rolldown_runtime = require("../rolldown-runtime-BKfnhsn2.cjs");
24
17
  let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
25
- let valibot = require("valibot");
26
- valibot = require_rolldown_runtime.__toESM(valibot, 1);
27
18
  let consola = require("consola");
28
- consola = require_rolldown_runtime.__toESM(consola, 1);
19
+ const require_index_node = require("../index.node-ECg3DGc8.cjs");
29
20
  let fs = require("fs");
30
21
  let fs_promises = require("fs/promises");
31
22
  let path = require("path");
32
- path = require_rolldown_runtime.__toESM(path, 1);
33
23
  let consola_utils = require("consola/utils");
34
24
  let url = require("url");
35
25
  let child_process = require("child_process");
26
+ let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
36
27
  let prettier = require("prettier");
37
- prettier = require_rolldown_runtime.__toESM(prettier, 1);
28
+ const require_webhooks = require("../webhooks-Bp1Roq8a.cjs");
29
+ const require_validate = require("../validate-DKMq3KNV.cjs");
38
30
  let yaml = require("yaml");
39
31
  let safe_stable_stringify = require("safe-stable-stringify");
40
32
  let os = require("os");
41
33
  let net = require("net");
42
- net = require_rolldown_runtime.__toESM(net, 1);
43
- let _adobe_aio_lib_ims = require("@adobe/aio-lib-ims");
44
- _adobe_aio_lib_ims = require_rolldown_runtime.__toESM(_adobe_aio_lib_ims, 1);
45
34
  let _adobe_aio_lib_core_config = require("@adobe/aio-lib-core-config");
46
- _adobe_aio_lib_core_config = require_rolldown_runtime.__toESM(_adobe_aio_lib_core_config, 1);
35
+ let _adobe_aio_lib_ims = require("@adobe/aio-lib-ims");
47
36
  let ky = require("ky");
48
- ky = require_rolldown_runtime.__toESM(ky, 1);
37
+ const require_utils = require("../utils-bwFwJcPW.cjs");
38
+ let valibot = require("valibot");
49
39
  let _adobe_aio_commerce_lib_core_responses = require("@adobe/aio-commerce-lib-core/responses");
40
+ const require_schemas = require("../schemas-B-jCi6Oz.cjs");
50
41
  let timers_promises = require("timers/promises");
51
42
  let dotenv = require("dotenv");
43
+ let _adobe_aio_cli_lib_app_config = require("@adobe/aio-cli-lib-app-config");
44
+ const require_logging = require("../logging-r-r2bUWO.cjs");
45
+ consola = require_rolldown_runtime.__toESM(consola, 1);
46
+ path = require_rolldown_runtime.__toESM(path, 1);
47
+ prettier = require_rolldown_runtime.__toESM(prettier, 1);
48
+ net = require_rolldown_runtime.__toESM(net, 1);
49
+ _adobe_aio_lib_core_config = require_rolldown_runtime.__toESM(_adobe_aio_lib_core_config, 1);
50
+ _adobe_aio_lib_ims = require_rolldown_runtime.__toESM(_adobe_aio_lib_ims, 1);
51
+ ky = require_rolldown_runtime.__toESM(ky, 1);
52
+ valibot = require_rolldown_runtime.__toESM(valibot, 1);
52
53
  dotenv = require_rolldown_runtime.__toESM(dotenv, 1);
53
54
 
54
55
  // source/commands/constants.ts
@@ -97,7 +98,7 @@ const CONFIG_SCHEMA_FILE_NAME = "configuration-schema.json";
97
98
  /** The name of the project package file */
98
99
  const PACKAGE_JSON_FILE = "package.json";
99
100
  /** The name of the app configuration file */
100
- const APP_CONFIG_FILE = "app.config.yaml";
101
+ const APP_CONFIG_FILE$1 = "app.config.yaml";
101
102
  /** The name of the install configuration file */
102
103
  const INSTALL_YAML_FILE = "install.yaml";
103
104
  /** Get the path to the extension point folder */
@@ -367,7 +368,7 @@ const LEADING_DOT_SLASH_PATTERN$1 = /^\.\//u;
367
368
  const WEB_SOURCE_DEPENDENCIES = [
368
369
  {
369
370
  name: "@adobe/aio-commerce-lib-admin-ui",
370
- version: "^1.3.0"
371
+ version: "^1.3.1-beta-20261202103723"
371
372
  },
372
373
  {
373
374
  name: "react",
@@ -1550,6 +1551,43 @@ function spawnDetached(options) {
1550
1551
  }
1551
1552
  }
1552
1553
 
1554
+ // ../../packages-private/scripting-utils/source/aio/app-config.ts
1555
+ const APP_CONFIG_FILE = "app.config.yaml";
1556
+ /** Values of the `web` action property that expose the action over HTTP. */
1557
+ const WEB_ACTION_VALUES = /* @__PURE__ */ new Set([
1558
+ true,
1559
+ "yes",
1560
+ "raw"
1561
+ ]);
1562
+ function asNode(value) {
1563
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
1564
+ }
1565
+ /**
1566
+ * Lists the actions declared in the `runtimeManifest` of an extension, keyed as `<package>/<action>`.
1567
+ * Loads `app.config.yaml` with the same library the `aio` CLI uses, so `$include` directives and
1568
+ * `function` paths resolve exactly as they do at build time.
1569
+ * @param projectRoot - Resolved project root containing `app.config.yaml`.
1570
+ * @param extensionPointId - The extension point ID, e.g. "commerce/extensibility/1".
1571
+ */
1572
+ async function listExtensionRuntimeActions(projectRoot, extensionPointId) {
1573
+ const appConfigPath = (0, path.join)(projectRoot, APP_CONFIG_FILE);
1574
+ const { config, includeIndex } = await (0, _adobe_aio_cli_lib_app_config.coalesce)(appConfigPath, { absolutePaths: true });
1575
+ const extensionKey = `extensions.${extensionPointId}`;
1576
+ const manifest = asNode(asNode(asNode(config.extensions)[extensionPointId]).runtimeManifest);
1577
+ const actions = /* @__PURE__ */ new Map();
1578
+ for (const [packageName, pkg] of Object.entries(asNode(manifest.packages))) for (const [actionName, rawAction] of Object.entries(asNode(asNode(pkg).actions))) {
1579
+ const action = asNode(rawAction);
1580
+ const actionKey = `${extensionKey}.runtimeManifest.packages.${packageName}.actions.${actionName}`;
1581
+ const fn = typeof action.function === "string" ? action.function : "";
1582
+ actions.set(`${packageName}/${actionName}`, {
1583
+ function: fn || void 0,
1584
+ isWebAction: WEB_ACTION_VALUES.has(action.web),
1585
+ source: includeIndex[actionKey]?.file ?? appConfigPath
1586
+ });
1587
+ }
1588
+ return actions;
1589
+ }
1590
+
1553
1591
  // ../../packages-private/scripting-utils/source/aio/auth.ts
1554
1592
  const { context: context$1, getToken } = _adobe_aio_lib_ims.default;
1555
1593
  /** Gets an IMS access token for the current CLI IMS context. */
@@ -1627,13 +1665,16 @@ var CamsClientError = class extends _adobe_aio_commerce_lib_core_error.CommerceS
1627
1665
  code;
1628
1666
  /** The request that CAMS answered with an error, when CAMS answered. */
1629
1667
  request;
1668
+ /** The kind of Commerce instance the request was made for, when it names one. */
1669
+ commerceEnv;
1630
1670
  constructor(message, options = {}) {
1631
- const { retryable = false, status, code, request, ...rest } = options;
1671
+ const { retryable = false, status, code, request, commerceEnv, ...rest } = options;
1632
1672
  super(message, rest);
1633
1673
  this.retryable = retryable;
1634
1674
  this.status = status;
1635
1675
  this.code = code;
1636
1676
  this.request = request;
1677
+ this.commerceEnv = commerceEnv;
1637
1678
  }
1638
1679
  };
1639
1680
  /** Thrown when CAMS refuses a request with a 409. Its `code` tells why. */
@@ -1672,6 +1713,7 @@ async function toCamsResponseError(error) {
1672
1713
  const options = {
1673
1714
  cause: error,
1674
1715
  code,
1716
+ commerceEnv: error.request.headers.get("x-ac-env") ?? void 0,
1675
1717
  request: {
1676
1718
  method: error.request.method,
1677
1719
  path: new URL(error.request.url).pathname
@@ -2093,6 +2135,17 @@ function describeCamsFailure(error) {
2093
2135
  ].filter(Boolean);
2094
2136
  return facts.length > 0 ? `Details: ${facts.join(", ")}` : void 0;
2095
2137
  }
2138
+ const PROJECT_ACCESS_HINT = "Hint: the credential cannot access the project. Add the I/O Management API to the workspace credential.";
2139
+ const COMMERCE_ACCESS_HINTS = {
2140
+ paas: "Hint: the credential cannot access the Commerce instance. Create its technical account as an admin user in the instance, with the permissions the app needs.",
2141
+ saas: "Hint: the credential cannot access the Commerce instance. Add the Adobe Commerce as a Cloud Service API to the credential and assign it a profile for the instance."
2142
+ };
2143
+ const COMMERCE_ACCESS_HINT = "Hint: the credential cannot access the Commerce instance. On SaaS, add the Adobe Commerce as a Cloud Service API to the credential and assign it a profile for the instance. On PaaS, create its technical account as an admin user in the instance.";
2144
+ /** The hint for the access failures that a credential without the right access causes. */
2145
+ function hintFor(error) {
2146
+ if (error.code === "project-access-denied") return PROJECT_ACCESS_HINT;
2147
+ if (error.code === "commerce-access-denied") return error.commerceEnv && COMMERCE_ACCESS_HINTS[error.commerceEnv] || COMMERCE_ACCESS_HINT;
2148
+ }
2096
2149
  /**
2097
2150
  * Prints a failure. A failure of the service is one block, the message and one line of details
2098
2151
  * without a stack, and the whole chain of causes goes to the debug log, which `DEBUG=1` shows.
@@ -2112,7 +2165,12 @@ function reportFailure(error, message) {
2112
2165
  }
2113
2166
  const details = describeCamsFailure(cams);
2114
2167
  const headline = message ?? (error instanceof Error ? error.message : String(error));
2115
- consola.consola.error(details ? `${headline}\n${details}` : headline);
2168
+ const hint = hintFor(cams);
2169
+ consola.consola.error([
2170
+ headline,
2171
+ details,
2172
+ hint
2173
+ ].filter(Boolean).join("\n"));
2116
2174
  consola.consola.debug(error);
2117
2175
  }
2118
2176
 
@@ -2256,10 +2314,11 @@ const SKIP_MESSAGES = {
2256
2314
  "already-current": "The app is already up to date.",
2257
2315
  "in-progress": "An upgrade is already in progress.",
2258
2316
  "not-associated": "The app is not associated with a Commerce instance. Nothing to upgrade.",
2259
- "not-installed": "The app is not installed on the Commerce instance. Nothing to upgrade."
2317
+ "not-installed": "The app is not installed on the Commerce instance. Nothing to upgrade.",
2318
+ "upgrade-conflict": "Another upgrade of this app is in progress or an automatic upgrade is pending. Try again in a few minutes."
2260
2319
  };
2261
2320
  function isSkipCode(code) {
2262
- return code === "already-current" || code === "not-associated" || code === "not-installed" || code === "in-progress";
2321
+ return typeof code === "string" && Object.hasOwn(SKIP_MESSAGES, code);
2263
2322
  }
2264
2323
  /**
2265
2324
  * Asks the service to plan the upgrade.
@@ -2464,7 +2523,7 @@ function isSorted(extensions) {
2464
2523
  * @returns True if the file was rewritten.
2465
2524
  */
2466
2525
  async function ensureExtensionPointsOrder(projectRoot) {
2467
- const path$4 = (0, path.join)(projectRoot, APP_CONFIG_FILE);
2526
+ const path$4 = (0, path.join)(projectRoot, APP_CONFIG_FILE$1);
2468
2527
  if (!(0, fs.existsSync)(path$4)) return false;
2469
2528
  const doc = await readYamlFile(path$4);
2470
2529
  const extensions = getExtensionsMap(doc.contents);
@@ -2589,6 +2648,74 @@ async function syncImsCredentials(projectRoot) {
2589
2648
  return { ok: true };
2590
2649
  }
2591
2650
 
2651
+ // source/commands/common/runtime-actions.ts
2652
+ /** Sections whose referenced actions must be web actions. */
2653
+ const WEB_ACTION_SECTIONS = /* @__PURE__ */ new Set(["webhooks"]);
2654
+ function isNode(value) {
2655
+ return typeof value === "object" && value !== null && !Array.isArray(value);
2656
+ }
2657
+ /**
2658
+ * Finds every `runtimeAction` and `runtimeActions` value nested in a config value.
2659
+ * @param value - The config value to search.
2660
+ * @param path - Dotted config path of `value`.
2661
+ */
2662
+ function* findReferences(value, path) {
2663
+ if (Array.isArray(value)) {
2664
+ for (const [index, item] of value.entries()) yield* findReferences(item, `${path}.${index}`);
2665
+ return;
2666
+ }
2667
+ if (!isNode(value)) return;
2668
+ for (const [key, child] of Object.entries(value)) {
2669
+ const childPath = `${path}.${key}`;
2670
+ if (key === "runtimeAction" && typeof child === "string") yield {
2671
+ name: child,
2672
+ path: childPath
2673
+ };
2674
+ else if (key === "runtimeActions" && Array.isArray(child)) {
2675
+ for (const [index, name] of child.entries()) if (typeof name === "string") yield {
2676
+ name,
2677
+ path: `${childPath}.${index}`
2678
+ };
2679
+ } else yield* findReferences(child, childPath);
2680
+ }
2681
+ }
2682
+ /**
2683
+ * Returns why a reference does not resolve to a usable declared action, or `undefined` if it does.
2684
+ * @param name - The referenced `<package>/<action>`.
2685
+ * @param declared - Actions the reference may resolve to.
2686
+ * @param location - Project-relative path of the ext.config.yaml they are declared in.
2687
+ * @param requireWebAction - Whether the referenced action must be a web action.
2688
+ * @param projectRoot - Resolved project root, used to report paths relative to it.
2689
+ */
2690
+ function checkReference(name, declared, location, requireWebAction, projectRoot) {
2691
+ const action = declared.get(name);
2692
+ if (!action) return `Runtime action "${name}" is not declared under "runtimeManifest.packages" in ${location}`;
2693
+ const source = (0, path.relative)(projectRoot, action.source);
2694
+ if (!(action.function && (0, fs.existsSync)(action.function))) return action.function ? `Runtime action "${name}" points to "${(0, path.relative)(projectRoot, action.function)}" in ${source}, which does not exist` : `Runtime action "${name}" has no "function" in ${source}`;
2695
+ if (requireWebAction && !action.isWebAction) return `Runtime action "${name}" must be a web action (set "web: yes" in ${source})`;
2696
+ }
2697
+ /**
2698
+ * Validates that every `runtimeAction`/`runtimeActions` value in the given config sections is
2699
+ * declared in the extension's runtime manifest and that its `function` exists on disk. Webhook actions must
2700
+ * also be web actions.
2701
+ * @param sections - The config sections whose references are validated.
2702
+ * @param manifest - The extension whose runtime manifest the references must resolve against.
2703
+ * @throws {Error} If any reference does not resolve to a declared action.
2704
+ */
2705
+ async function validateRuntimeActionReferences(sections, manifest) {
2706
+ const references = Object.entries(sections).flatMap(([section, value]) => [...findReferences(value, section)].map((reference) => ({
2707
+ ...reference,
2708
+ section
2709
+ })));
2710
+ if (references.length === 0) return;
2711
+ const declared = await listExtensionRuntimeActions(manifest.projectRoot, manifest.extensionPointId);
2712
+ const errors = references.flatMap(({ name, path, section }) => {
2713
+ const message = checkReference(name, declared, manifest.path, WEB_ACTION_SECTIONS.has(section), manifest.projectRoot);
2714
+ return message ? [`${path}: ${message}`] : [];
2715
+ });
2716
+ if (errors.length > 0) throw new Error(`Invalid runtime action references in ${manifest.path}:\n- ${errors.join("\n- ")}`);
2717
+ }
2718
+
2592
2719
  // source/commands/hooks/pre-app-build.ts
2593
2720
  /**
2594
2721
  * Runs the pre-app-build hook for the given extension.
@@ -2597,13 +2724,22 @@ async function syncImsCredentials(projectRoot) {
2597
2724
  * @param templatesDir - Directory containing action templates.
2598
2725
  */
2599
2726
  async function run$4(extension, projectRoot, templatesDir = TEMPLATES_DIR) {
2600
- if (await ensureExtensionPointsOrder(projectRoot)) consola.default.warn(`The extension points in ${APP_CONFIG_FILE} were reordered (${EXTENSION_POINT_ORDER.join(", ")}) to ensure an upgrade works reliably. This is a one-off change.`);
2727
+ if (await ensureExtensionPointsOrder(projectRoot)) consola.default.warn(`The extension points in ${APP_CONFIG_FILE$1} were reordered (${EXTENSION_POINT_ORDER.join(", ")}) to ensure an upgrade works reliably. This is a one-off change.`);
2601
2728
  const appManifest = await loadAppManifest(projectRoot);
2602
2729
  await run$8(appManifest, projectRoot);
2603
2730
  await prepareRuntimeAppConfigModule(appManifest, projectRoot);
2604
2731
  if (extension === "extensibility/1") {
2605
2732
  const { doc: extensibilityExtConfig } = await readExtConfig(EXTENSIBILITY_EXTENSION_POINT_ID, projectRoot);
2606
- await generateActionFiles(appManifest, getRuntimeActions(extensibilityExtConfig.toJS(), "app-management"), EXTENSIBILITY_EXTENSION_POINT_ID, templatesDir, projectRoot);
2733
+ const extensibilityConfig = extensibilityExtConfig.toJS();
2734
+ await validateRuntimeActionReferences({
2735
+ eventing: appManifest.eventing,
2736
+ webhooks: appManifest.webhooks
2737
+ }, {
2738
+ extensionPointId: EXTENSIBILITY_EXTENSION_POINT_ID,
2739
+ path: getExtConfigPath(EXTENSIBILITY_EXTENSION_POINT_ID),
2740
+ projectRoot
2741
+ });
2742
+ await generateActionFiles(appManifest, getRuntimeActions(extensibilityConfig, "app-management"), EXTENSIBILITY_EXTENSION_POINT_ID, templatesDir, projectRoot);
2607
2743
  consola.default.info("Syncing IMS credentials...");
2608
2744
  consola.default.warn("Deprecated: if your actions use AIO_COMMERCE_AUTH_IMS_* inputs for OAuth Server-to-Server credentials, replace them with the `include-ims-credentials: true` action annotation. This hook still syncs legacy credentials for compatibility; that sync will be removed in a future major release.");
2609
2745
  await syncImsCredentials(projectRoot);
@@ -2617,6 +2753,11 @@ async function run$4(extension, projectRoot, templatesDir = TEMPLATES_DIR) {
2617
2753
  }
2618
2754
  if (extension === "backend-ui/2") {
2619
2755
  if (require_webhooks.hasBackendUiV2Components(appManifest)) {
2756
+ await validateRuntimeActionReferences({ adminUi: appManifest.adminUi }, {
2757
+ extensionPointId: BACKEND_UI_V2_EXTENSION_POINT_ID,
2758
+ path: getExtConfigPath(BACKEND_UI_V2_EXTENSION_POINT_ID),
2759
+ projectRoot
2760
+ });
2620
2761
  const extConfig = await updateExtConfig(appManifest, BACKEND_UI_V2_EXTENSION_POINT_ID, projectRoot);
2621
2762
  if (extConfig.operations?.view) {
2622
2763
  await prepareWebSourceImportAlias(extConfig, projectRoot);
@@ -2870,24 +3011,24 @@ async function getDefaultCommerceAppConfig(cwd, { appName, configFormat, domains
2870
3011
  * @param commentBefore - The comment to add before the extension point include pair.
2871
3012
  */
2872
3013
  async function addExtensionPointToAppConfig(extensionPointId, rootDirectory, commentBefore) {
2873
- const appConfigPath = (0, path.join)(rootDirectory, APP_CONFIG_FILE);
3014
+ const appConfigPath = (0, path.join)(rootDirectory, APP_CONFIG_FILE$1);
2874
3015
  let doc;
2875
3016
  const includePath = (0, path.relative)(rootDirectory, (0, path.join)(rootDirectory, getExtConfigPath(extensionPointId)));
2876
3017
  try {
2877
3018
  doc = await readYamlFile(appConfigPath);
2878
3019
  } catch (error) {
2879
3020
  const fallbackContent = `extensions:\n ${extensionPointId}:\n $include: "${includePath}"`;
2880
- throw new Error(`Failed to parse ${APP_CONFIG_FILE}. \nPlease add manually: \n\n${fallbackContent}`, { cause: error });
3021
+ throw new Error(`Failed to parse ${APP_CONFIG_FILE$1}. \nPlease add manually: \n\n${fallbackContent}`, { cause: error });
2881
3022
  }
2882
3023
  if (doc.getIn([
2883
3024
  "extensions",
2884
3025
  extensionPointId,
2885
3026
  "$include"
2886
3027
  ]) === includePath) {
2887
- consola.default.success(`Extension "${extensionPointId}" already configured in ${APP_CONFIG_FILE}`);
3028
+ consola.default.success(`Extension "${extensionPointId}" already configured in ${APP_CONFIG_FILE$1}`);
2888
3029
  return;
2889
3030
  }
2890
- consola.default.info(`Adding extension "${extensionPointId}" to ${APP_CONFIG_FILE}...`);
3031
+ consola.default.info(`Adding extension "${extensionPointId}" to ${APP_CONFIG_FILE$1}...`);
2891
3032
  const extensions = getOrCreateMap(doc, ["extensions"]);
2892
3033
  getOrCreateMap(doc, ["extensions", extensionPointId], { onBeforeCreate: (pair) => {
2893
3034
  pair.key.spaceBefore = extensions.items.length > 0;
@@ -3044,7 +3185,7 @@ async function ensureAppConfig(domains, config, projectRoot) {
3044
3185
  */
3045
3186
  function installDependencies(packageManager, domains, projectRoot) {
3046
3187
  const packages = [];
3047
- if (domains.has("businessConfig.schema")) packages.push(`@adobe/aio-commerce-lib-config@^1.9.0`);
3188
+ if (domains.has("businessConfig.schema")) packages.push(`@adobe/aio-commerce-lib-config@^1.10.0-beta-20261202103723`);
3048
3189
  if (packages.length === 0) {
3049
3190
  consola.consola.info("No additional domain dependencies to install.");
3050
3191
  return;
@@ -3079,7 +3220,7 @@ async function ensureInstallYaml(domains, config, projectRoot) {
3079
3220
  }
3080
3221
 
3081
3222
  // source/commands/init/main.ts
3082
- const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@2.2.0`];
3223
+ const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@2.3.0-beta-20261202103723`];
3083
3224
  /**
3084
3225
  * Initializes a Commerce App project.
3085
3226
  * @param flags - Non-interactive initialization answers.
@@ -13,5 +13,5 @@
13
13
  */
14
14
 
15
15
  /** biome-ignore-all lint/performance/noBarrelFile: This is the browser-compatible public API for the config entrypoint */
16
- import { t as defineConfig } from "../define-eBMdGAq6.cjs";
16
+ import { t as defineConfig } from "../define-BGpnO45V.cjs";
17
17
  export { defineConfig };
@@ -13,10 +13,10 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_index_node = require("../index.node-9bfp79rs.cjs");
16
+ const require_index_node = require("../index.node-ECg3DGc8.cjs");
17
17
  const require_define = require("../define-BKJjE97w.cjs");
18
- const require_webhooks = require("../webhooks-ZPh2gVb3.cjs");
19
- const require_validate = require("../validate-BC3rnRLc.cjs");
18
+ const require_webhooks = require("../webhooks-Bp1Roq8a.cjs");
19
+ const require_validate = require("../validate-DKMq3KNV.cjs");
20
20
 
21
21
  exports.CommerceAppConfigSchemas = require_validate.CommerceAppConfigSchemas;
22
22
  exports.defineConfig = require_define.defineConfig;
@@ -17,11 +17,11 @@
17
17
  * This module exports shared config utilities for the AIO Commerce SDK.
18
18
  * @packageDocumentation
19
19
  */
20
- import { t as defineConfig } from "../define-eBMdGAq6.cjs";
21
- import { a as CommerceAppConfigSchemas, i as CommerceAppConfigDomain, n as CommerceAppConfig, o as getConfigDomains, r as CommerceAppConfigOutputModel, s as hasConfigDomain, t as AnyCommerceAppConfig } from "../app-B3bAEor-.cjs";
22
- import { A as AdminUiConfig, B as OrderViewButton, C as ExternalEventSource, D as hasEventing, E as hasCommerceEvents, F as InvoiceViewButton, G as hasBackendUiV2Components, H as ViewMassAction, I as MassAction, L as Menu, M as CreditMemoViewButton, N as GridColumn, O as hasExternalEvents, P as GridColumns, R as NativeUiReplacedPage, S as ExternalEvent, T as ExternalEventsConfig, U as WorkerMassAction, V as RmaViewButton, W as hasAdminUi, _ as CommerceEventsConfig, a as WebhookRule, b as EventingSchema, c as WebhooksSchema, d as hasCustomInstallation, f as hasCustomInstallationSteps, g as CommerceEventSourceSchema, h as CommerceEventSource, i as WebhookHeader, j as AdminUiConfiguration, l as hasWebhooks, m as CommerceEvent, n as WebhookEntry, o as WebhooksConfig, p as AppEvent, r as WebhookField, s as WebhooksConfiguration, t as WebhookDefinition, v as EventProvider, w as ExternalEventSourceSchema, x as EventsConfig, y as EventingConfiguration, z as Notifications } from "../webhooks-DNLuuv9_.cjs";
23
20
  import * as v from "valibot";
21
+ import { t as defineConfig } from "../define-BGpnO45V.cjs";
24
22
  import { Get } from "type-fest";
23
+ import { a as CommerceAppConfigSchemas, i as CommerceAppConfigDomain, n as CommerceAppConfig, o as getConfigDomains, r as CommerceAppConfigOutputModel, s as hasConfigDomain, t as AnyCommerceAppConfig } from "../app-CLDvfJXp.cjs";
24
+ import { A as AdminUiConfig, B as Menu, C as ExternalEventSource, D as hasEventing, E as hasCommerceEvents, F as CustomAttributeGridColumns, G as ViewMassAction, H as Notifications, I as GridColumn, J as hasBackendUiV2Components, K as WorkerMassAction, L as GridColumns, M as CreditMemoViewButton, N as CustomAttributeFilter, O as hasExternalEvents, P as CustomAttributeGridColumn, R as InvoiceViewButton, S as ExternalEvent, T as ExternalEventsConfig, U as OrderViewButton, V as NativeUiReplacedPage, W as RmaViewButton, _ as CommerceEventsConfig, a as WebhookRule, b as EventingSchema, c as WebhooksSchema, d as hasCustomInstallation, f as hasCustomInstallationSteps, g as CommerceEventSourceSchema, h as CommerceEventSource, i as WebhookHeader, j as AdminUiConfiguration, l as hasWebhooks, m as CommerceEvent, n as WebhookEntry, o as WebhooksConfig, p as AppEvent, q as hasAdminUi, r as WebhookField, s as WebhooksConfiguration, t as WebhookDefinition, v as EventProvider, w as ExternalEventSourceSchema, x as EventsConfig, y as EventingConfiguration, z as MassAction } from "../webhooks-BCYX3JqY.cjs";
25
25
  /**
26
26
  * Check whether a commerce app config path uses a supported TypeScript format.
27
27
  * @param configFilePath The path to the config file.
@@ -74,6 +74,23 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
74
74
  label: string;
75
75
  }[] | undefined;
76
76
  creditMemo?: {
77
+ customAttributeGridColumns?: {
78
+ columns: {
79
+ aclProtected?: boolean | undefined;
80
+ align: "left" | "right" | "center";
81
+ attribute_code: string;
82
+ filter?: {
83
+ type: "boolean";
84
+ } | {
85
+ conditions: ("eq" | "neq" | "contains")[];
86
+ type: "text";
87
+ } | undefined;
88
+ id: string;
89
+ label: string;
90
+ }[];
91
+ description?: string | undefined;
92
+ label?: string | undefined;
93
+ } | undefined;
77
94
  gridColumns?: {
78
95
  columns: {
79
96
  aclProtected?: boolean | undefined;
@@ -102,9 +119,10 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
102
119
  success?: string | undefined;
103
120
  } | undefined;
104
121
  path: string;
105
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
106
122
  sortOrder?: number | undefined;
107
123
  type: "view";
124
+ allow?: ("autoplay" | "microphone")[] | undefined;
125
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
108
126
  } | {
109
127
  aclProtected?: boolean | undefined;
110
128
  confirm?: {
@@ -140,8 +158,9 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
140
158
  } | undefined;
141
159
  massActions?: ({
142
160
  path: string;
143
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
144
161
  type: "view";
162
+ allow?: ("autoplay" | "microphone")[] | undefined;
163
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
145
164
  aclProtected?: boolean | undefined;
146
165
  confirm?: {
147
166
  message?: string | undefined;
@@ -205,9 +224,10 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
205
224
  success?: string | undefined;
206
225
  } | undefined;
207
226
  path: string;
208
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
209
227
  sortOrder?: number | undefined;
210
228
  type: "view";
229
+ allow?: ("autoplay" | "microphone")[] | undefined;
230
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
211
231
  } | {
212
232
  aclProtected?: boolean | undefined;
213
233
  confirm?: {
@@ -235,14 +255,16 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
235
255
  label: string;
236
256
  pageTitle?: string | undefined;
237
257
  parentMenu?: "sales" | "catalog" | "customers" | "marketing" | "content" | "reports" | "stores" | "system" | undefined;
258
+ allow?: ("autoplay" | "microphone")[] | undefined;
238
259
  sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
239
260
  } | undefined;
240
261
  nativeUi?: {
241
262
  replacedPages: {
242
263
  path: string;
243
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
244
264
  target: "order.create" | "return.create";
245
265
  title: string;
266
+ allow?: ("autoplay" | "microphone")[] | undefined;
267
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
246
268
  }[];
247
269
  } | undefined;
248
270
  newsletter?: {
@@ -274,8 +296,9 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
274
296
  } | undefined;
275
297
  massActions?: ({
276
298
  path: string;
277
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
278
299
  type: "view";
300
+ allow?: ("autoplay" | "microphone")[] | undefined;
301
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
279
302
  aclProtected?: boolean | undefined;
280
303
  confirm?: {
281
304
  message?: string | undefined;
@@ -324,9 +347,10 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
324
347
  success?: string | undefined;
325
348
  } | undefined;
326
349
  path: string;
327
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
328
350
  sortOrder?: number | undefined;
329
351
  type: "view";
352
+ allow?: ("autoplay" | "microphone")[] | undefined;
353
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
330
354
  } | {
331
355
  aclProtected?: boolean | undefined;
332
356
  confirm?: {
@@ -362,8 +386,9 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
362
386
  } | undefined;
363
387
  massActions?: ({
364
388
  path: string;
365
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
366
389
  type: "view";
390
+ allow?: ("autoplay" | "microphone")[] | undefined;
391
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
367
392
  aclProtected?: boolean | undefined;
368
393
  confirm?: {
369
394
  message?: string | undefined;
@@ -415,9 +440,10 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
415
440
  success?: string | undefined;
416
441
  } | undefined;
417
442
  path: string;
418
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
419
443
  sortOrder?: number | undefined;
420
444
  type: "view";
445
+ allow?: ("autoplay" | "microphone")[] | undefined;
446
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
421
447
  } | {
422
448
  aclProtected?: boolean | undefined;
423
449
  confirm?: {
@@ -466,6 +492,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
466
492
  env?: ("paas" | "saas")[] | undefined;
467
493
  label?: string | undefined;
468
494
  name: string;
495
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
469
496
  } | {
470
497
  default: string[];
471
498
  selectionMode: "multiple";
@@ -478,6 +505,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
478
505
  env?: ("paas" | "saas")[] | undefined;
479
506
  label?: string | undefined;
480
507
  name: string;
508
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
481
509
  } | {
482
510
  default: (resolvedOptions: {
483
511
  label: string;
@@ -496,6 +524,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
496
524
  env?: ("paas" | "saas")[] | undefined;
497
525
  label?: string | undefined;
498
526
  name: string;
527
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
499
528
  } | {
500
529
  default?: ((resolvedOptions: {
501
530
  label: string;
@@ -514,6 +543,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
514
543
  env?: ("paas" | "saas")[] | undefined;
515
544
  label?: string | undefined;
516
545
  name: string;
546
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
517
547
  } | {
518
548
  default: string;
519
549
  type: "text";
@@ -521,6 +551,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
521
551
  env?: ("paas" | "saas")[] | undefined;
522
552
  label?: string | undefined;
523
553
  name: string;
554
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
524
555
  } | {
525
556
  default: "";
526
557
  type: "password";
@@ -528,6 +559,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
528
559
  env?: ("paas" | "saas")[] | undefined;
529
560
  label?: string | undefined;
530
561
  name: string;
562
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
531
563
  } | {
532
564
  default: string;
533
565
  type: "email";
@@ -535,6 +567,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
535
567
  env?: ("paas" | "saas")[] | undefined;
536
568
  label?: string | undefined;
537
569
  name: string;
570
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
538
571
  } | {
539
572
  default: string;
540
573
  type: "url";
@@ -542,6 +575,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
542
575
  env?: ("paas" | "saas")[] | undefined;
543
576
  label?: string | undefined;
544
577
  name: string;
578
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
545
579
  } | {
546
580
  default: string;
547
581
  type: "tel";
@@ -549,6 +583,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
549
583
  env?: ("paas" | "saas")[] | undefined;
550
584
  label?: string | undefined;
551
585
  name: string;
586
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
552
587
  } | {
553
588
  default: boolean;
554
589
  type: "boolean";
@@ -556,6 +591,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
556
591
  env?: ("paas" | "saas")[] | undefined;
557
592
  label?: string | undefined;
558
593
  name: string;
594
+ requiredFor?: ("save" | "installation" | "upgrade")[] | undefined;
559
595
  })[];
560
596
  } | undefined;
561
597
  eventing?: {
@@ -636,7 +672,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
636
672
  value: string;
637
673
  }[] | undefined;
638
674
  hook_name: string;
639
- method: "GET" | "POST" | "PUT" | "DELETE";
675
+ method: "POST" | "PUT" | "DELETE" | "GET";
640
676
  priority?: number | undefined;
641
677
  required?: boolean | undefined;
642
678
  rules?: {
@@ -669,7 +705,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
669
705
  value: string;
670
706
  }[] | undefined;
671
707
  hook_name: string;
672
- method: "GET" | "POST" | "PUT" | "DELETE";
708
+ method: "POST" | "PUT" | "DELETE" | "GET";
673
709
  priority?: number | undefined;
674
710
  required?: boolean | undefined;
675
711
  rules?: {
@@ -801,4 +837,4 @@ type AppConfigWithMetadata<T extends AnyCommerceAppConfig> = T & {
801
837
  * @param config - The configuration to check.
802
838
  */
803
839
  export declare function hasMetadata<T extends AnyCommerceAppConfig>(config: T): config is T & AppConfigWithMetadata<T>;
804
- export { type AdminUiConfig, type AdminUiConfiguration, type AppConfigWithBusinessConfig, type AppConfigWithBusinessConfigSchema, type AppEvent, type ApplicationMetadata, type CommerceAppConfig, type CommerceAppConfigDomain, CommerceAppConfigSchemas, type CommerceEvent, type CommerceEventSource, type CommerceEventSourceSchema, type CommerceEventsConfig, type CreditMemoViewButton, type EventProvider, type EventingConfiguration, type EventingSchema, type EventsConfig, type ExternalEvent, type ExternalEventSource, type ExternalEventSourceSchema, type ExternalEventsConfig, type GridColumn, type GridColumns, type InvoiceViewButton, type MassAction, type Menu, type NativeUiReplacedPage, type Notifications, type OrderViewButton, type RmaViewButton, type ViewMassAction, type WebhookDefinition, type WebhookEntry, type WebhookField, type WebhookHeader, type WebhookRule, type WebhooksConfig, type WebhooksConfiguration, type WebhooksSchema, type WorkerMassAction, defineConfig, getConfigDomains, hasAdminUi, hasBackendUiV2Components, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasWebhooks };
840
+ export { type AdminUiConfig, type AdminUiConfiguration, type AppConfigWithBusinessConfig, type AppConfigWithBusinessConfigSchema, type AppEvent, type ApplicationMetadata, type CommerceAppConfig, type CommerceAppConfigDomain, CommerceAppConfigSchemas, type CommerceEvent, type CommerceEventSource, type CommerceEventSourceSchema, type CommerceEventsConfig, type CreditMemoViewButton, type CustomAttributeFilter, type CustomAttributeGridColumn, type CustomAttributeGridColumns, type EventProvider, type EventingConfiguration, type EventingSchema, type EventsConfig, type ExternalEvent, type ExternalEventSource, type ExternalEventSourceSchema, type ExternalEventsConfig, type GridColumn, type GridColumns, type InvoiceViewButton, type MassAction, type Menu, type NativeUiReplacedPage, type Notifications, type OrderViewButton, type RmaViewButton, type ViewMassAction, type WebhookDefinition, type WebhookEntry, type WebhookField, type WebhookHeader, type WebhookRule, type WebhooksConfig, type WebhooksConfiguration, type WebhooksSchema, type WorkerMassAction, defineConfig, getConfigDomains, hasAdminUi, hasBackendUiV2Components, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasWebhooks };
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { n as CommerceAppConfig } from "./app-B3bAEor-.cjs";
15
+ import { n as CommerceAppConfig } from "./app-CLDvfJXp.cjs";
16
16
  /**
17
17
  * Helper to type-safely define the app config.
18
18
  * @param config - The app config to define.
@@ -12,8 +12,8 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- const require_utils = require("./utils-DSS0XlXq.cjs");
16
15
  let _adobe_aio_commerce_lib_core_commerce = require("@adobe/aio-commerce-lib-core/commerce");
16
+ const require_utils = require("./utils-bwFwJcPW.cjs");
17
17
 
18
18
  // source/config/lib/environment.ts
19
19
  /**
@@ -12,9 +12,9 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { r as CommerceAppConfigOutputModel } from "./app-B3bAEor-.cjs";
16
- import { k as AdminUiComponentConfig, n as WebhookEntry, p as AppEvent, u as CustomInstallationStep } from "./webhooks-DNLuuv9_.cjs";
17
15
  import * as v from "valibot";
16
+ import { r as CommerceAppConfigOutputModel } from "./app-CLDvfJXp.cjs";
17
+ import { k as AdminUiComponentConfig, n as WebhookEntry, p as AppEvent, u as CustomInstallationStep } from "./webhooks-BCYX3JqY.cjs";
18
18
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
19
19
  import AioLogger from "@adobe/aio-lib-core-logging";
20
20
  /** Severity level of a validation issue. */