@adobe/aio-commerce-lib-app 2.2.0-beta-20261105172845 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +21 -4
  2. package/dist/cjs/actions/app-config/index.cjs +4 -4
  3. package/dist/cjs/actions/app-config/index.d.cts +2 -2
  4. package/dist/cjs/actions/association/index.cjs +1 -1
  5. package/dist/cjs/actions/config/index.cjs +1 -1
  6. package/dist/cjs/actions/config/index.d.cts +2 -2
  7. package/dist/cjs/actions/installation/index.cjs +60 -20
  8. package/dist/cjs/actions/installation/index.d.cts +4 -3
  9. package/dist/cjs/actions/scope-tree/index.cjs +1 -1
  10. package/dist/cjs/{app-CiZuhrsm.d.cts → app-B3bAEor-.d.cts} +176 -22
  11. package/dist/cjs/commands/index.cjs +25 -11
  12. package/dist/cjs/config/index.browser.d.cts +2 -1
  13. package/dist/cjs/config/index.node.cjs +3 -3
  14. package/dist/cjs/config/index.node.d.cts +60 -16
  15. package/dist/{es/define-9bwRE_UG.d.mts → cjs/define-eBMdGAq6.d.cts} +1 -1
  16. package/dist/cjs/{index-Bu2X-HUh.d.cts → index-BEeludy0.d.cts} +316 -316
  17. package/dist/cjs/{index-DWEigxhy.d.cts → index-vAue-u_y.d.cts} +1 -4
  18. package/dist/cjs/index.cjs +1 -1
  19. package/dist/cjs/index.d.cts +8 -8
  20. package/dist/cjs/{index.node-Boszndri.cjs → index.node-9bfp79rs.cjs} +1 -1
  21. package/dist/cjs/management/index.cjs +1 -1
  22. package/dist/cjs/management/index.d.cts +6 -1
  23. package/dist/cjs/{management-C_cVbr0s.cjs → management-5Et1mEUp.cjs} +41 -6
  24. package/dist/cjs/{openapi-c06taOv1.cjs → openapi-DghfuM8S.cjs} +135 -1
  25. package/dist/cjs/types-DslZGym8.d.cts +23 -0
  26. package/dist/cjs/{utils-B_Ypb2xF.cjs → utils-CoR_PBHz.cjs} +16 -3
  27. package/dist/cjs/{validate-CunJ4fUD.cjs → validate-BC3rnRLc.cjs} +1 -1
  28. package/dist/cjs/{version-CUu8Ks59.cjs → version-5MonNzl5.cjs} +1 -1
  29. package/dist/{es/webhooks-B7UjO8dd.d.mts → cjs/webhooks-DNLuuv9_.d.cts} +133 -16
  30. package/dist/cjs/{webhooks-C5ONLbQ4.cjs → webhooks-ZPh2gVb3.cjs} +11 -9
  31. package/dist/es/actions/app-config/index.d.mts +2 -2
  32. package/dist/es/actions/app-config/index.mjs +4 -4
  33. package/dist/es/actions/association/index.mjs +1 -1
  34. package/dist/es/actions/config/index.d.mts +1 -1
  35. package/dist/es/actions/config/index.mjs +1 -1
  36. package/dist/es/actions/installation/index.d.mts +4 -3
  37. package/dist/es/actions/installation/index.mjs +61 -21
  38. package/dist/es/actions/scope-tree/index.mjs +1 -1
  39. package/dist/es/{app-CiZuhrsm.d.mts → app-B3bAEor-.d.mts} +176 -22
  40. package/dist/es/commands/index.mjs +25 -11
  41. package/dist/es/config/index.browser.d.mts +2 -1
  42. package/dist/es/config/index.node.d.mts +59 -14
  43. package/dist/es/config/index.node.mjs +3 -3
  44. package/dist/{cjs/define-CZRjG5N_.d.cts → es/define-BdXyLAwb.d.mts} +1 -1
  45. package/dist/es/{index-Cho-eRFD.d.mts → index-DE2KVXfH.d.mts} +2 -2
  46. package/dist/es/{index-CgsSXApi.d.mts → index-DUJtT78x.d.mts} +2 -2
  47. package/dist/es/index.d.mts +8 -8
  48. package/dist/es/index.mjs +1 -1
  49. package/dist/es/{index.node-BVO6sC7z.mjs → index.node-CURztkP5.mjs} +1 -1
  50. package/dist/es/management/index.d.mts +6 -1
  51. package/dist/es/management/index.mjs +1 -1
  52. package/dist/es/{management-BYmbjhGb.mjs → management-BAQ64OyR.mjs} +41 -6
  53. package/dist/es/{openapi-C_TGWLou.mjs → openapi-BvPVTUMt.mjs} +135 -1
  54. package/dist/es/types-DslZGym8.d.mts +23 -0
  55. package/dist/es/{utils-SOtVo2VW.mjs → utils-DB8HaSj0.mjs} +11 -4
  56. package/dist/es/{validate-D-Oh-sxE.mjs → validate-xS9Dc-4m.mjs} +1 -1
  57. package/dist/es/{version-C-Pkqohl.mjs → version-BWgrh_QM.mjs} +1 -1
  58. package/dist/{cjs/webhooks-DX7km8wk.d.cts → es/webhooks-DgaLfP36.d.mts} +133 -16
  59. package/dist/es/{webhooks-CMb_05b6.mjs → webhooks-HBe_DEKA.mjs} +11 -9
  60. package/package.json +13 -13
@@ -314,6 +314,7 @@ declare const CommerceAppConfigSchemas: {
314
314
  readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
315
315
  readonly type: v.LiteralSchema<"worker", undefined>;
316
316
  }, undefined>], undefined>, undefined>, v.CheckAction<({
317
+ title?: string | undefined;
317
318
  aclProtected?: boolean | undefined;
318
319
  confirm?: {
319
320
  message?: string | undefined;
@@ -327,12 +328,11 @@ declare const CommerceAppConfigSchemas: {
327
328
  error?: string | undefined;
328
329
  success?: string | undefined;
329
330
  } | undefined;
330
- runtimeAction: string;
331
+ path: string;
332
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
331
333
  sortOrder?: number | undefined;
332
- timeout?: number | undefined;
333
- type: "worker";
334
+ type: "view";
334
335
  } | {
335
- title?: string | undefined;
336
336
  aclProtected?: boolean | undefined;
337
337
  confirm?: {
338
338
  message?: string | undefined;
@@ -346,10 +346,10 @@ declare const CommerceAppConfigSchemas: {
346
346
  error?: string | undefined;
347
347
  success?: string | undefined;
348
348
  } | undefined;
349
- path: string;
350
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
349
+ runtimeAction: string;
351
350
  sortOrder?: number | undefined;
352
- type: "view";
351
+ timeout?: number | undefined;
352
+ type: "worker";
353
353
  })[], "Invoice view button ids must be unique after Commerce id sanitization.">]>, undefined>;
354
354
  }, undefined>, undefined>;
355
355
  readonly menu: v.OptionalSchema<v.ObjectSchema<{
@@ -365,12 +365,12 @@ declare const CommerceAppConfigSchemas: {
365
365
  readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
366
366
  readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
367
367
  readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
368
- readonly target: v.PicklistSchema<readonly ["order.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
368
+ readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
369
369
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
370
370
  }, undefined>, undefined>, v.CheckAction<{
371
371
  path: string;
372
372
  sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
373
- target: "order.create";
373
+ target: "order.create" | "return.create";
374
374
  title: string;
375
375
  }[], "Native UI replaced page targets must be unique.">]>;
376
376
  }, undefined>, undefined>;
@@ -671,6 +671,83 @@ declare const CommerceAppConfigSchemas: {
671
671
  title?: string | undefined;
672
672
  })[], "Mass action ids must be unique after Commerce id sanitization.">]>, undefined>;
673
673
  }, undefined>, undefined>;
674
+ readonly rma: v.OptionalSchema<v.ObjectSchema<{
675
+ readonly viewButtons: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
676
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
677
+ readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
678
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
679
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
680
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
681
+ }, undefined>, undefined>;
682
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
683
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
684
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
685
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
686
+ readonly notifications: v.OptionalSchema<v.ObjectSchema<{
687
+ readonly error: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
688
+ readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
689
+ }, undefined>, undefined>;
690
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
691
+ readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
692
+ readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
693
+ readonly type: v.LiteralSchema<"view", undefined>;
694
+ }, undefined>, v.StrictObjectSchema<{
695
+ readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
696
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
697
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
698
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
699
+ }, undefined>, undefined>;
700
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
701
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
702
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
703
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
704
+ readonly notifications: v.OptionalSchema<v.ObjectSchema<{
705
+ readonly error: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
706
+ readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
707
+ }, undefined>, undefined>;
708
+ readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
709
+ readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
710
+ readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
711
+ readonly type: v.LiteralSchema<"worker", undefined>;
712
+ }, undefined>], undefined>, undefined>, v.CheckAction<({
713
+ title?: string | undefined;
714
+ aclProtected?: boolean | undefined;
715
+ confirm?: {
716
+ message?: string | undefined;
717
+ title?: string | undefined;
718
+ } | undefined;
719
+ description?: string | undefined;
720
+ id: string;
721
+ label: string;
722
+ level?: 0 | 1 | -1 | undefined;
723
+ notifications?: {
724
+ error?: string | undefined;
725
+ success?: string | undefined;
726
+ } | undefined;
727
+ path: string;
728
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
729
+ sortOrder?: number | undefined;
730
+ type: "view";
731
+ } | {
732
+ aclProtected?: boolean | undefined;
733
+ confirm?: {
734
+ message?: string | undefined;
735
+ title?: string | undefined;
736
+ } | undefined;
737
+ description?: string | undefined;
738
+ id: string;
739
+ label: string;
740
+ level?: 0 | 1 | -1 | undefined;
741
+ notifications?: {
742
+ error?: string | undefined;
743
+ success?: string | undefined;
744
+ } | undefined;
745
+ runtimeAction: string;
746
+ sortOrder?: number | undefined;
747
+ timeout?: number | undefined;
748
+ type: "worker";
749
+ })[], "Return view button ids must be unique after Commerce id sanitization.">]>, undefined>;
750
+ }, undefined>, undefined>;
674
751
  readonly shipment: v.OptionalSchema<v.ObjectSchema<{
675
752
  readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
676
753
  readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
@@ -1496,7 +1573,7 @@ declare const CommerceAppConfigSchemas: {
1496
1573
  value: string;
1497
1574
  }[] | undefined;
1498
1575
  hook_name: string;
1499
- method: "POST" | "PUT" | "DELETE" | "GET";
1576
+ method: "GET" | "POST" | "PUT" | "DELETE";
1500
1577
  priority?: number | undefined;
1501
1578
  required?: boolean | undefined;
1502
1579
  rules?: {
@@ -1529,7 +1606,7 @@ declare const CommerceAppConfigSchemas: {
1529
1606
  value: string;
1530
1607
  }[] | undefined;
1531
1608
  hook_name: string;
1532
- method: "POST" | "PUT" | "DELETE" | "GET";
1609
+ method: "GET" | "POST" | "PUT" | "DELETE";
1533
1610
  priority?: number | undefined;
1534
1611
  required?: boolean | undefined;
1535
1612
  rules?: {
@@ -1863,6 +1940,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1863
1940
  readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
1864
1941
  readonly type: v.LiteralSchema<"worker", undefined>;
1865
1942
  }, undefined>], undefined>, undefined>, v.CheckAction<({
1943
+ title?: string | undefined;
1866
1944
  aclProtected?: boolean | undefined;
1867
1945
  confirm?: {
1868
1946
  message?: string | undefined;
@@ -1876,12 +1954,11 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1876
1954
  error?: string | undefined;
1877
1955
  success?: string | undefined;
1878
1956
  } | undefined;
1879
- runtimeAction: string;
1957
+ path: string;
1958
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1880
1959
  sortOrder?: number | undefined;
1881
- timeout?: number | undefined;
1882
- type: "worker";
1960
+ type: "view";
1883
1961
  } | {
1884
- title?: string | undefined;
1885
1962
  aclProtected?: boolean | undefined;
1886
1963
  confirm?: {
1887
1964
  message?: string | undefined;
@@ -1895,10 +1972,10 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1895
1972
  error?: string | undefined;
1896
1973
  success?: string | undefined;
1897
1974
  } | undefined;
1898
- path: string;
1899
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1975
+ runtimeAction: string;
1900
1976
  sortOrder?: number | undefined;
1901
- type: "view";
1977
+ timeout?: number | undefined;
1978
+ type: "worker";
1902
1979
  })[], "Invoice view button ids must be unique after Commerce id sanitization.">]>, undefined>;
1903
1980
  }, undefined>, undefined>;
1904
1981
  readonly menu: v.OptionalSchema<v.ObjectSchema<{
@@ -1914,12 +1991,12 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1914
1991
  readonly replacedPages: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1915
1992
  readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1916
1993
  readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
1917
- readonly target: v.PicklistSchema<readonly ["order.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
1994
+ readonly target: v.PicklistSchema<readonly ["order.create", "return.create"], `Invalid native UI replaced page target. Accepted values are: ${string}`>;
1918
1995
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
1919
1996
  }, undefined>, undefined>, v.CheckAction<{
1920
1997
  path: string;
1921
1998
  sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
1922
- target: "order.create";
1999
+ target: "order.create" | "return.create";
1923
2000
  title: string;
1924
2001
  }[], "Native UI replaced page targets must be unique.">]>;
1925
2002
  }, undefined>, undefined>;
@@ -2220,6 +2297,83 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2220
2297
  title?: string | undefined;
2221
2298
  })[], "Mass action ids must be unique after Commerce id sanitization.">]>, undefined>;
2222
2299
  }, undefined>, undefined>;
2300
+ readonly rma: v.OptionalSchema<v.ObjectSchema<{
2301
+ readonly viewButtons: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.StrictObjectSchema<{
2302
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2303
+ readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2304
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
2305
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2306
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2307
+ }, undefined>, undefined>;
2308
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2309
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2310
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2311
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
2312
+ readonly notifications: v.OptionalSchema<v.ObjectSchema<{
2313
+ readonly error: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2314
+ readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2315
+ }, undefined>, undefined>;
2316
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2317
+ readonly sandboxPermissions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["allow-downloads", "allow-modals", "allow-popups"], `Invalid sandbox permission. Accepted values are: ${string}`>, undefined>, v.MinLengthAction<("allow-downloads" | "allow-modals" | "allow-popups")[], 1, "sandboxPermissions must contain at least one permission when it's defined">, v.CheckAction<("allow-downloads" | "allow-modals" | "allow-popups")[], "Duplicate permissions are not allowed in sandboxPermissions">]>, undefined>;
2318
+ readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
2319
+ readonly type: v.LiteralSchema<"view", undefined>;
2320
+ }, undefined>, v.StrictObjectSchema<{
2321
+ readonly aclProtected: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2322
+ readonly confirm: v.OptionalSchema<v.ObjectSchema<{
2323
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2324
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2325
+ }, undefined>, undefined>;
2326
+ readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2327
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2328
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2329
+ readonly level: v.OptionalSchema<v.PicklistSchema<[-1, 0, 1], undefined>, undefined>;
2330
+ readonly notifications: v.OptionalSchema<v.ObjectSchema<{
2331
+ readonly error: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2332
+ readonly success: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, undefined>;
2333
+ }, undefined>, undefined>;
2334
+ readonly runtimeAction: v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>;
2335
+ readonly sortOrder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
2336
+ readonly timeout: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<`Expected a number value for '${string}'`>, v.MinValueAction<number, 0, `The value of ${string} must be a non-negative number`>]>, undefined>;
2337
+ readonly type: v.LiteralSchema<"worker", undefined>;
2338
+ }, undefined>], undefined>, undefined>, v.CheckAction<({
2339
+ title?: string | undefined;
2340
+ aclProtected?: boolean | undefined;
2341
+ confirm?: {
2342
+ message?: string | undefined;
2343
+ title?: string | undefined;
2344
+ } | undefined;
2345
+ description?: string | undefined;
2346
+ id: string;
2347
+ label: string;
2348
+ level?: 0 | 1 | -1 | undefined;
2349
+ notifications?: {
2350
+ error?: string | undefined;
2351
+ success?: string | undefined;
2352
+ } | undefined;
2353
+ path: string;
2354
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
2355
+ sortOrder?: number | undefined;
2356
+ type: "view";
2357
+ } | {
2358
+ aclProtected?: boolean | undefined;
2359
+ confirm?: {
2360
+ message?: string | undefined;
2361
+ title?: string | undefined;
2362
+ } | undefined;
2363
+ description?: string | undefined;
2364
+ id: string;
2365
+ label: string;
2366
+ level?: 0 | 1 | -1 | undefined;
2367
+ notifications?: {
2368
+ error?: string | undefined;
2369
+ success?: string | undefined;
2370
+ } | undefined;
2371
+ runtimeAction: string;
2372
+ sortOrder?: number | undefined;
2373
+ timeout?: number | undefined;
2374
+ type: "worker";
2375
+ })[], "Return view button ids must be unique after Commerce id sanitization.">]>, undefined>;
2376
+ }, undefined>, undefined>;
2223
2377
  readonly shipment: v.OptionalSchema<v.ObjectSchema<{
2224
2378
  readonly gridColumns: v.OptionalSchema<v.ObjectSchema<{
2225
2379
  readonly columns: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
@@ -2698,7 +2852,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2698
2852
  value: string;
2699
2853
  }[] | undefined;
2700
2854
  hook_name: string;
2701
- method: "POST" | "PUT" | "DELETE" | "GET";
2855
+ method: "GET" | "POST" | "PUT" | "DELETE";
2702
2856
  priority?: number | undefined;
2703
2857
  required?: boolean | undefined;
2704
2858
  rules?: {
@@ -2731,7 +2885,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
2731
2885
  value: string;
2732
2886
  }[] | undefined;
2733
2887
  hook_name: string;
2734
- method: "POST" | "PUT" | "DELETE" | "GET";
2888
+ method: "GET" | "POST" | "PUT" | "DELETE";
2735
2889
  priority?: number | undefined;
2736
2890
  required?: boolean | undefined;
2737
2891
  rules?: {
@@ -13,9 +13,9 @@
13
13
  * governing permissions and limitations under the License.
14
14
  */
15
15
 
16
- import { _ as makeOutputDirFor, a as resolveCommerceAppConfig, c as getExecCommand, d as getPackageExecutionCommand, f as getProjectInstallCommand, g as loadPackageJson, h as isESM, i as readCommerceAppConfig, l as getInstallCommand, m as getRunScriptCommand, n as isTypeScriptConfig, o as appendCommand, p as getProjectRootDirectory, r as parseCommerceAppConfig, s as detectPackageManager, t as hasNamedCommerceAppConfigExports, u as getPackageDependencyInstallPlan, v as mergePackageJsonDependencies, y as readPackageJson } from "../index.node-BVO6sC7z.mjs";
17
- import { a as hasCustomInstallationSteps, d as ADMIN_UI_MASS_ACTION_ENTITIES, f as ADMIN_UI_VIEW_BUTTON_ENTITIES, h as hasBackendUiV2Components, u as ADMIN_UI_GRID_COLUMN_ENTITIES } from "../webhooks-CMb_05b6.mjs";
18
- import { o as getConfigDomains, t as validateCommerceAppConfig, u as hasBusinessConfigSchema } from "../validate-D-Oh-sxE.mjs";
16
+ import { _ as makeOutputDirFor, a as resolveCommerceAppConfig, c as getExecCommand, d as getPackageExecutionCommand, f as getProjectInstallCommand, g as loadPackageJson, h as isESM, i as readCommerceAppConfig, l as getInstallCommand, m as getRunScriptCommand, n as isTypeScriptConfig, o as appendCommand, p as getProjectRootDirectory, r as parseCommerceAppConfig, s as detectPackageManager, t as hasNamedCommerceAppConfigExports, u as getPackageDependencyInstallPlan, v as mergePackageJsonDependencies, y as readPackageJson } from "../index.node-CURztkP5.mjs";
17
+ import { a as hasCustomInstallationSteps, d as ADMIN_UI_MASS_ACTION_ENTITIES, f as ADMIN_UI_VIEW_BUTTON_ENTITIES, h as hasBackendUiV2Components, u as ADMIN_UI_GRID_COLUMN_ENTITIES } from "../webhooks-HBe_DEKA.mjs";
18
+ import { o as getConfigDomains, t as validateCommerceAppConfig, u as hasBusinessConfigSchema } from "../validate-xS9Dc-4m.mjs";
19
19
  import { t as parseOrThrow } from "../utils-G-EDWmew.mjs";
20
20
  import { r as nonEmptyStringValueSchema } from "../schemas-DYMNbFdX.mjs";
21
21
  import { t as inspect } from "../logging-B1xb568A.mjs";
@@ -357,7 +357,7 @@ const LEADING_DOT_SLASH_PATTERN$1 = /^\.\//u;
357
357
  const WEB_SOURCE_DEPENDENCIES = [
358
358
  {
359
359
  name: "@adobe/aio-commerce-lib-admin-ui",
360
- version: "^1.3.0-beta-20261105172845"
360
+ version: "^1.3.0"
361
361
  },
362
362
  {
363
363
  name: "react",
@@ -607,7 +607,7 @@ function createActionDefinition(actionName, config = {}, options = {}) {
607
607
  ...config.requiresImsCredentials && { "include-ims-credentials": true }
608
608
  },
609
609
  function: `${GENERATED_ACTIONS_PATH}/${actionName}.js`,
610
- runtime: "nodejs:24",
610
+ runtime: "nodejs:26",
611
611
  web: options.web ?? "yes"
612
612
  };
613
613
  if (config.requiresEncryptionKey) def.inputs = {
@@ -879,7 +879,7 @@ function buildActionDefinition(action, existingAction) {
879
879
  };
880
880
  actionDef.set("function", action.function);
881
881
  actionDef.set("web", action.web ?? "yes");
882
- actionDef.set("runtime", existingRuntime ?? action.runtime ?? "nodejs:24");
882
+ actionDef.set("runtime", existingRuntime ?? action.runtime ?? "nodejs:26");
883
883
  if (Object.keys(inputs).length > 0) actionDef.set("inputs", buildInputs(inputs));
884
884
  actionDef.set("annotations", { ...action.annotations ?? {
885
885
  final: true,
@@ -2242,6 +2242,12 @@ function describeOutcome(result, runId) {
2242
2242
  }
2243
2243
 
2244
2244
  // source/commands/hooks/post-app-deploy/main.ts
2245
+ const SKIP_MESSAGES = {
2246
+ "already-current": "The app is already up to date.",
2247
+ "in-progress": "An upgrade is already in progress.",
2248
+ "not-associated": "The app is not associated with a Commerce instance. Nothing to upgrade.",
2249
+ "not-installed": "The app is not installed on the Commerce instance. Nothing to upgrade."
2250
+ };
2245
2251
  function isSkipCode(code) {
2246
2252
  return code === "already-current" || code === "not-associated" || code === "not-installed" || code === "in-progress";
2247
2253
  }
@@ -2335,12 +2341,12 @@ async function getStatusCommand() {
2335
2341
  async function runHook(interrupt) {
2336
2342
  const { upgradeMode } = (await parseCommerceAppConfig()).metadata;
2337
2343
  console.log("");
2338
- consola.start("Checking for app upgrades...");
2344
+ consola.start("Checking the status of the app...");
2339
2345
  const context = createCamsContext();
2340
2346
  consola.debug(`Service: ${context.baseUrl}`);
2341
2347
  const extension = await findWorkspaceExtension(context);
2342
2348
  if (!extension) {
2343
- consola.info("No upgrade was run: not-associated.\n");
2349
+ consola.info(`${SKIP_MESSAGES["not-associated"]}\n`);
2344
2350
  return {
2345
2351
  code: "not-associated",
2346
2352
  kind: "skipped"
@@ -2348,9 +2354,10 @@ async function runHook(interrupt) {
2348
2354
  }
2349
2355
  const { id: extensionId } = extension;
2350
2356
  const client = context.createInstanceClient(requireCommerceInstance(extension));
2357
+ consola.start("Checking if the app needs an upgrade...");
2351
2358
  const plan = await planUpgrade(client, extensionId);
2352
2359
  if (typeof plan === "string") {
2353
- consola.info(`No upgrade was run: ${plan}.\n`);
2360
+ consola.info(`${SKIP_MESSAGES[plan]}\n`);
2354
2361
  return {
2355
2362
  code: plan,
2356
2363
  kind: "skipped"
@@ -2388,6 +2395,13 @@ async function runHook(interrupt) {
2388
2395
  * @throws When the upgrade is refused, fails or does not finish in time.
2389
2396
  */
2390
2397
  async function run$6() {
2398
+ if (process.env.AIO_CLI_ENV === "stage" && process.env.AIO_COMMERCE_APP_SKIP_POST_DEPLOY_HOOK) {
2399
+ consola.warn(`The post-app-deploy hook was skipped because ${colors.cyan("AIO_COMMERCE_APP_SKIP_POST_DEPLOY_HOOK")} is set.\n`);
2400
+ return {
2401
+ code: "hook-disabled",
2402
+ kind: "skipped"
2403
+ };
2404
+ }
2391
2405
  const statusCommand = await getStatusCommand();
2392
2406
  const interrupt = noticeInterrupt(statusCommand);
2393
2407
  try {
@@ -3020,7 +3034,7 @@ async function ensureAppConfig(domains, config, projectRoot) {
3020
3034
  */
3021
3035
  function installDependencies(packageManager, domains, projectRoot) {
3022
3036
  const packages = [];
3023
- if (domains.has("businessConfig.schema")) packages.push(`@adobe/aio-commerce-lib-config@^1.8.2-beta-20261105172845`);
3037
+ if (domains.has("businessConfig.schema")) packages.push(`@adobe/aio-commerce-lib-config@^1.9.0`);
3024
3038
  if (packages.length === 0) {
3025
3039
  consola.info("No additional domain dependencies to install.");
3026
3040
  return;
@@ -3055,7 +3069,7 @@ async function ensureInstallYaml(domains, config, projectRoot) {
3055
3069
  }
3056
3070
 
3057
3071
  // source/commands/init/main.ts
3058
- const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@2.2.0-beta-20261105172845`];
3072
+ const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@2.2.0`];
3059
3073
  /**
3060
3074
  * Initializes a Commerce App project.
3061
3075
  * @param flags - Non-interactive initialization answers.
@@ -12,5 +12,6 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { t as defineConfig } from "../define-9bwRE_UG.mjs";
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-BdXyLAwb.mjs";
16
17
  export { defineConfig };
@@ -12,9 +12,14 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { t as defineConfig } from "../define-9bwRE_UG.mjs";
16
- import { a as CommerceAppConfigSchemas, i as CommerceAppConfigDomain, n as CommerceAppConfig, o as getConfigDomains, r as CommerceAppConfigOutputModel, s as hasConfigDomain, t as AnyCommerceAppConfig } from "../app-CiZuhrsm.mjs";
17
- import { A as AdminUiConfig, B as OrderViewButton, C as ExternalEventSource, D as hasEventing, E as hasCommerceEvents, F as InvoiceViewButton, H as WorkerMassAction, 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 hasAdminUi, V as ViewMassAction, W as hasBackendUiV2Components, _ 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-B7UjO8dd.mjs";
15
+ /** biome-ignore-all lint/performance/noBarrelFile: This is the public API for the config entrypoint */
16
+ /**
17
+ * This module exports shared config utilities for the AIO Commerce SDK.
18
+ * @packageDocumentation
19
+ */
20
+ import { t as defineConfig } from "../define-BdXyLAwb.mjs";
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-.mjs";
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-DgaLfP36.mjs";
18
23
  import "@adobe/aio-commerce-lib-config";
19
24
  import * as v from "valibot";
20
25
  import { Get } from "type-fest";
@@ -186,6 +191,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
186
191
  runtimeAction: string;
187
192
  } | undefined;
188
193
  viewButtons?: ({
194
+ title?: string | undefined;
189
195
  aclProtected?: boolean | undefined;
190
196
  confirm?: {
191
197
  message?: string | undefined;
@@ -199,12 +205,11 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
199
205
  error?: string | undefined;
200
206
  success?: string | undefined;
201
207
  } | undefined;
202
- runtimeAction: string;
208
+ path: string;
209
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
203
210
  sortOrder?: number | undefined;
204
- timeout?: number | undefined;
205
- type: "worker";
211
+ type: "view";
206
212
  } | {
207
- title?: string | undefined;
208
213
  aclProtected?: boolean | undefined;
209
214
  confirm?: {
210
215
  message?: string | undefined;
@@ -218,10 +223,10 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
218
223
  error?: string | undefined;
219
224
  success?: string | undefined;
220
225
  } | undefined;
221
- path: string;
222
- sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
226
+ runtimeAction: string;
223
227
  sortOrder?: number | undefined;
224
- type: "view";
228
+ timeout?: number | undefined;
229
+ type: "worker";
225
230
  })[] | undefined;
226
231
  } | undefined;
227
232
  menu?: {
@@ -237,7 +242,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
237
242
  replacedPages: {
238
243
  path: string;
239
244
  sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
240
- target: "order.create";
245
+ target: "order.create" | "return.create";
241
246
  title: string;
242
247
  }[];
243
248
  } | undefined;
@@ -394,6 +399,46 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
394
399
  title?: string | undefined;
395
400
  })[] | undefined;
396
401
  } | undefined;
402
+ rma?: {
403
+ viewButtons?: ({
404
+ title?: string | undefined;
405
+ aclProtected?: boolean | undefined;
406
+ confirm?: {
407
+ message?: string | undefined;
408
+ title?: string | undefined;
409
+ } | undefined;
410
+ description?: string | undefined;
411
+ id: string;
412
+ label: string;
413
+ level?: 0 | 1 | -1 | undefined;
414
+ notifications?: {
415
+ error?: string | undefined;
416
+ success?: string | undefined;
417
+ } | undefined;
418
+ path: string;
419
+ sandboxPermissions?: ("allow-downloads" | "allow-modals" | "allow-popups")[] | undefined;
420
+ sortOrder?: number | undefined;
421
+ type: "view";
422
+ } | {
423
+ aclProtected?: boolean | undefined;
424
+ confirm?: {
425
+ message?: string | undefined;
426
+ title?: string | undefined;
427
+ } | undefined;
428
+ description?: string | undefined;
429
+ id: string;
430
+ label: string;
431
+ level?: 0 | 1 | -1 | undefined;
432
+ notifications?: {
433
+ error?: string | undefined;
434
+ success?: string | undefined;
435
+ } | undefined;
436
+ runtimeAction: string;
437
+ sortOrder?: number | undefined;
438
+ timeout?: number | undefined;
439
+ type: "worker";
440
+ })[] | undefined;
441
+ } | undefined;
397
442
  shipment?: {
398
443
  gridColumns?: {
399
444
  columns: {
@@ -592,7 +637,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
592
637
  value: string;
593
638
  }[] | undefined;
594
639
  hook_name: string;
595
- method: "POST" | "PUT" | "DELETE" | "GET";
640
+ method: "GET" | "POST" | "PUT" | "DELETE";
596
641
  priority?: number | undefined;
597
642
  required?: boolean | undefined;
598
643
  rules?: {
@@ -625,7 +670,7 @@ export declare function parseCommerceAppConfig(cwd?: string): Promise<{
625
670
  value: string;
626
671
  }[] | undefined;
627
672
  hook_name: string;
628
- method: "POST" | "PUT" | "DELETE" | "GET";
673
+ method: "GET" | "POST" | "PUT" | "DELETE";
629
674
  priority?: number | undefined;
630
675
  required?: boolean | undefined;
631
676
  rules?: {
@@ -757,4 +802,4 @@ type AppConfigWithMetadata<T extends AnyCommerceAppConfig> = T & {
757
802
  * @param config - The configuration to check.
758
803
  */
759
804
  export declare function hasMetadata<T extends AnyCommerceAppConfig>(config: T): config is T & AppConfigWithMetadata<T>;
760
- 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 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 };
805
+ 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 };
@@ -12,9 +12,9 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { a as resolveCommerceAppConfig, i as readCommerceAppConfig, n as isTypeScriptConfig, r as parseCommerceAppConfig } from "../index.node-BVO6sC7z.mjs";
15
+ import { a as resolveCommerceAppConfig, i as readCommerceAppConfig, n as isTypeScriptConfig, r as parseCommerceAppConfig } from "../index.node-CURztkP5.mjs";
16
16
  import { t as defineConfig } from "../define-BTmPnTba.mjs";
17
- import { a as hasCustomInstallationSteps, c as hasEventing, h as hasBackendUiV2Components, i as hasCustomInstallation, l as hasExternalEvents, m as hasAdminUi, n as hasWebhooks, s as hasCommerceEvents } from "../webhooks-CMb_05b6.mjs";
18
- import { a as CommerceAppConfigSchemas, c as hasMetadata, l as hasBusinessConfig, n as validateCommerceAppConfigDomain, o as getConfigDomains, s as hasConfigDomain, t as validateCommerceAppConfig, u as hasBusinessConfigSchema } from "../validate-D-Oh-sxE.mjs";
17
+ import { a as hasCustomInstallationSteps, c as hasEventing, h as hasBackendUiV2Components, i as hasCustomInstallation, l as hasExternalEvents, m as hasAdminUi, n as hasWebhooks, s as hasCommerceEvents } from "../webhooks-HBe_DEKA.mjs";
18
+ import { a as CommerceAppConfigSchemas, c as hasMetadata, l as hasBusinessConfig, n as validateCommerceAppConfigDomain, o as getConfigDomains, s as hasConfigDomain, t as validateCommerceAppConfig, u as hasBusinessConfigSchema } from "../validate-xS9Dc-4m.mjs";
19
19
 
20
20
  export { CommerceAppConfigSchemas, defineConfig, getConfigDomains, hasAdminUi, hasBackendUiV2Components, hasBusinessConfig, hasBusinessConfigSchema, hasCommerceEvents, hasConfigDomain, hasCustomInstallation, hasCustomInstallationSteps, hasEventing, hasExternalEvents, hasMetadata, hasWebhooks, isTypeScriptConfig, parseCommerceAppConfig, readCommerceAppConfig, resolveCommerceAppConfig, validateCommerceAppConfig, validateCommerceAppConfigDomain };
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { n as CommerceAppConfig } from "./app-CiZuhrsm.cjs";
15
+ import { n as CommerceAppConfig } from "./app-B3bAEor-.mjs";
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
- import { r as CommerceAppConfigOutputModel } from "./app-CiZuhrsm.mjs";
16
- import { k as AdminUiComponentConfig, n as WebhookEntry, p as AppEvent, u as CustomInstallationStep } from "./webhooks-B7UjO8dd.mjs";
15
+ import { r as CommerceAppConfigOutputModel } from "./app-B3bAEor-.mjs";
16
+ import { k as AdminUiComponentConfig, n as WebhookEntry, p as AppEvent, u as CustomInstallationStep } from "./webhooks-DgaLfP36.mjs";
17
17
  import * as v from "valibot";
18
18
  import AioLogger from "@adobe/aio-lib-core-logging";
19
19
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
  import "@adobe/aio-commerce-lib-core/responses";
16
- import AioLogger from "@adobe/aio-lib-core-logging";
17
- import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
16
+ import "@adobe/aio-lib-core-logging";
17
+ import "@adobe/aio-commerce-lib-core/params";
18
18
  import "@standard-schema/spec";
19
19
  import "type-fest";