@acmekit/core-flows 2.13.14 → 2.13.15

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 (216) hide show
  1. package/dist/api-key/steps/create-api-keys.d.ts +2 -2
  2. package/dist/api-key/steps/create-api-keys.js +2 -2
  3. package/dist/api-key/workflows/create-api-keys.d.ts +5 -15
  4. package/dist/api-key/workflows/create-api-keys.d.ts.map +1 -1
  5. package/dist/api-key/workflows/create-api-keys.js +5 -15
  6. package/dist/api-key/workflows/create-api-keys.js.map +1 -1
  7. package/dist/api-key/workflows/delete-api-keys.d.ts +2 -2
  8. package/dist/api-key/workflows/delete-api-keys.d.ts.map +1 -1
  9. package/dist/api-key/workflows/delete-api-keys.js +2 -3
  10. package/dist/api-key/workflows/delete-api-keys.js.map +1 -1
  11. package/dist/api-key/workflows/revoke-api-keys.d.ts +2 -2
  12. package/dist/api-key/workflows/revoke-api-keys.js +2 -2
  13. package/dist/api-key/workflows/update-api-keys.d.ts +2 -2
  14. package/dist/api-key/workflows/update-api-keys.js +2 -2
  15. package/dist/defaults/steps/index.d.ts +1 -1
  16. package/dist/defaults/steps/index.d.ts.map +1 -1
  17. package/dist/defaults/steps/index.js +1 -15
  18. package/dist/defaults/steps/index.js.map +1 -1
  19. package/dist/defaults/workflows/create-defaults.d.ts +7 -11
  20. package/dist/defaults/workflows/create-defaults.d.ts.map +1 -1
  21. package/dist/defaults/workflows/create-defaults.js +12 -20
  22. package/dist/defaults/workflows/create-defaults.js.map +1 -1
  23. package/dist/index.d.ts +0 -3
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +0 -3
  26. package/dist/index.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +3 -3
  29. package/dist/customer/index.d.ts +0 -3
  30. package/dist/customer/index.d.ts.map +0 -1
  31. package/dist/customer/index.js +0 -19
  32. package/dist/customer/index.js.map +0 -1
  33. package/dist/customer/steps/create-addresses.d.ts +0 -25
  34. package/dist/customer/steps/create-addresses.d.ts.map +0 -1
  35. package/dist/customer/steps/create-addresses.js +0 -35
  36. package/dist/customer/steps/create-addresses.js.map +0 -1
  37. package/dist/customer/steps/create-customers.d.ts +0 -20
  38. package/dist/customer/steps/create-customers.d.ts.map +0 -1
  39. package/dist/customer/steps/create-customers.js +0 -30
  40. package/dist/customer/steps/create-customers.js.map +0 -1
  41. package/dist/customer/steps/delete-addresses.d.ts +0 -10
  42. package/dist/customer/steps/delete-addresses.d.ts.map +0 -1
  43. package/dist/customer/steps/delete-addresses.js +0 -24
  44. package/dist/customer/steps/delete-addresses.js.map +0 -1
  45. package/dist/customer/steps/delete-customers.d.ts +0 -10
  46. package/dist/customer/steps/delete-customers.d.ts.map +0 -1
  47. package/dist/customer/steps/delete-customers.js +0 -21
  48. package/dist/customer/steps/delete-customers.js.map +0 -1
  49. package/dist/customer/steps/index.d.ts +0 -10
  50. package/dist/customer/steps/index.d.ts.map +0 -1
  51. package/dist/customer/steps/index.js +0 -26
  52. package/dist/customer/steps/index.js.map +0 -1
  53. package/dist/customer/steps/maybe-unset-default-billing-addresses.d.ts +0 -57
  54. package/dist/customer/steps/maybe-unset-default-billing-addresses.d.ts.map +0 -1
  55. package/dist/customer/steps/maybe-unset-default-billing-addresses.js +0 -51
  56. package/dist/customer/steps/maybe-unset-default-billing-addresses.js.map +0 -1
  57. package/dist/customer/steps/maybe-unset-default-shipping-addresses.d.ts +0 -57
  58. package/dist/customer/steps/maybe-unset-default-shipping-addresses.d.ts.map +0 -1
  59. package/dist/customer/steps/maybe-unset-default-shipping-addresses.js +0 -51
  60. package/dist/customer/steps/maybe-unset-default-shipping-addresses.js.map +0 -1
  61. package/dist/customer/steps/update-addresses.d.ts +0 -30
  62. package/dist/customer/steps/update-addresses.d.ts.map +0 -1
  63. package/dist/customer/steps/update-addresses.js +0 -38
  64. package/dist/customer/steps/update-addresses.js.map +0 -1
  65. package/dist/customer/steps/update-customers.d.ts +0 -30
  66. package/dist/customer/steps/update-customers.d.ts.map +0 -1
  67. package/dist/customer/steps/update-customers.js +0 -44
  68. package/dist/customer/steps/update-customers.js.map +0 -1
  69. package/dist/customer/steps/utils/index.d.ts +0 -3
  70. package/dist/customer/steps/utils/index.d.ts.map +0 -1
  71. package/dist/customer/steps/utils/index.js +0 -19
  72. package/dist/customer/steps/utils/index.js.map +0 -1
  73. package/dist/customer/steps/utils/unset-address-for-create.d.ts +0 -4
  74. package/dist/customer/steps/utils/unset-address-for-create.d.ts.map +0 -1
  75. package/dist/customer/steps/utils/unset-address-for-create.js +0 -20
  76. package/dist/customer/steps/utils/unset-address-for-create.js.map +0 -1
  77. package/dist/customer/steps/utils/unset-address-for-update.d.ts +0 -7
  78. package/dist/customer/steps/utils/unset-address-for-update.d.ts.map +0 -1
  79. package/dist/customer/steps/utils/unset-address-for-update.js +0 -21
  80. package/dist/customer/steps/utils/unset-address-for-update.js.map +0 -1
  81. package/dist/customer/steps/validate-customer-account-creation.d.ts +0 -22
  82. package/dist/customer/steps/validate-customer-account-creation.d.ts.map +0 -1
  83. package/dist/customer/steps/validate-customer-account-creation.js +0 -43
  84. package/dist/customer/steps/validate-customer-account-creation.js.map +0 -1
  85. package/dist/customer/workflows/create-addresses.d.ts +0 -66
  86. package/dist/customer/workflows/create-addresses.d.ts.map +0 -1
  87. package/dist/customer/workflows/create-addresses.js +0 -66
  88. package/dist/customer/workflows/create-addresses.js.map +0 -1
  89. package/dist/customer/workflows/create-customer-account.d.ts +0 -44
  90. package/dist/customer/workflows/create-customer-account.d.ts.map +0 -1
  91. package/dist/customer/workflows/create-customer-account.js +0 -57
  92. package/dist/customer/workflows/create-customer-account.js.map +0 -1
  93. package/dist/customer/workflows/create-customers.d.ts +0 -51
  94. package/dist/customer/workflows/create-customers.d.ts.map +0 -1
  95. package/dist/customer/workflows/create-customers.js +0 -58
  96. package/dist/customer/workflows/create-customers.js.map +0 -1
  97. package/dist/customer/workflows/delete-addresses.d.ts +0 -47
  98. package/dist/customer/workflows/delete-addresses.d.ts.map +0 -1
  99. package/dist/customer/workflows/delete-addresses.js +0 -48
  100. package/dist/customer/workflows/delete-addresses.js.map +0 -1
  101. package/dist/customer/workflows/delete-customers.d.ts +0 -38
  102. package/dist/customer/workflows/delete-customers.d.ts.map +0 -1
  103. package/dist/customer/workflows/delete-customers.js +0 -50
  104. package/dist/customer/workflows/delete-customers.js.map +0 -1
  105. package/dist/customer/workflows/index.d.ts +0 -9
  106. package/dist/customer/workflows/index.d.ts.map +0 -1
  107. package/dist/customer/workflows/index.js +0 -25
  108. package/dist/customer/workflows/index.js.map +0 -1
  109. package/dist/customer/workflows/remove-customer-account.d.ts +0 -32
  110. package/dist/customer/workflows/remove-customer-account.d.ts.map +0 -1
  111. package/dist/customer/workflows/remove-customer-account.js +0 -78
  112. package/dist/customer/workflows/remove-customer-account.js.map +0 -1
  113. package/dist/customer/workflows/update-addresses.d.ts +0 -56
  114. package/dist/customer/workflows/update-addresses.d.ts.map +0 -1
  115. package/dist/customer/workflows/update-addresses.js +0 -52
  116. package/dist/customer/workflows/update-addresses.js.map +0 -1
  117. package/dist/customer/workflows/update-customers.d.ts +0 -53
  118. package/dist/customer/workflows/update-customers.d.ts.map +0 -1
  119. package/dist/customer/workflows/update-customers.js +0 -59
  120. package/dist/customer/workflows/update-customers.js.map +0 -1
  121. package/dist/customer-group/index.d.ts +0 -3
  122. package/dist/customer-group/index.d.ts.map +0 -1
  123. package/dist/customer-group/index.js +0 -19
  124. package/dist/customer-group/index.js.map +0 -1
  125. package/dist/customer-group/steps/create-customer-groups.d.ts +0 -11
  126. package/dist/customer-group/steps/create-customer-groups.d.ts.map +0 -1
  127. package/dist/customer-group/steps/create-customer-groups.js +0 -21
  128. package/dist/customer-group/steps/create-customer-groups.js.map +0 -1
  129. package/dist/customer-group/steps/delete-customer-group-customers.d.ts +0 -7
  130. package/dist/customer-group/steps/delete-customer-group-customers.d.ts.map +0 -1
  131. package/dist/customer-group/steps/delete-customer-group-customers.js +0 -21
  132. package/dist/customer-group/steps/delete-customer-group-customers.js.map +0 -1
  133. package/dist/customer-group/steps/delete-customer-groups.d.ts +0 -10
  134. package/dist/customer-group/steps/delete-customer-groups.d.ts.map +0 -1
  135. package/dist/customer-group/steps/delete-customer-groups.js +0 -21
  136. package/dist/customer-group/steps/delete-customer-groups.js.map +0 -1
  137. package/dist/customer-group/steps/index.d.ts +0 -6
  138. package/dist/customer-group/steps/index.d.ts.map +0 -1
  139. package/dist/customer-group/steps/index.js +0 -22
  140. package/dist/customer-group/steps/index.js.map +0 -1
  141. package/dist/customer-group/steps/link-customer-groups-customer.d.ts +0 -14
  142. package/dist/customer-group/steps/link-customer-groups-customer.d.ts.map +0 -1
  143. package/dist/customer-group/steps/link-customer-groups-customer.js +0 -52
  144. package/dist/customer-group/steps/link-customer-groups-customer.js.map +0 -1
  145. package/dist/customer-group/steps/link-customers-customer-group.d.ts +0 -14
  146. package/dist/customer-group/steps/link-customers-customer-group.d.ts.map +0 -1
  147. package/dist/customer-group/steps/link-customers-customer-group.js +0 -52
  148. package/dist/customer-group/steps/link-customers-customer-group.js.map +0 -1
  149. package/dist/customer-group/steps/update-customer-groups.d.ts +0 -30
  150. package/dist/customer-group/steps/update-customer-groups.d.ts.map +0 -1
  151. package/dist/customer-group/steps/update-customer-groups.js +0 -41
  152. package/dist/customer-group/steps/update-customer-groups.js.map +0 -1
  153. package/dist/customer-group/workflows/create-customer-groups.d.ts +0 -41
  154. package/dist/customer-group/workflows/create-customer-groups.d.ts.map +0 -1
  155. package/dist/customer-group/workflows/create-customer-groups.js +0 -34
  156. package/dist/customer-group/workflows/create-customer-groups.js.map +0 -1
  157. package/dist/customer-group/workflows/delete-customer-groups.d.ts +0 -31
  158. package/dist/customer-group/workflows/delete-customer-groups.d.ts.map +0 -1
  159. package/dist/customer-group/workflows/delete-customer-groups.js +0 -29
  160. package/dist/customer-group/workflows/delete-customer-groups.js.map +0 -1
  161. package/dist/customer-group/workflows/index.d.ts +0 -6
  162. package/dist/customer-group/workflows/index.d.ts.map +0 -1
  163. package/dist/customer-group/workflows/index.js +0 -22
  164. package/dist/customer-group/workflows/index.js.map +0 -1
  165. package/dist/customer-group/workflows/link-customer-groups-customer.d.ts +0 -33
  166. package/dist/customer-group/workflows/link-customer-groups-customer.d.ts.map +0 -1
  167. package/dist/customer-group/workflows/link-customer-groups-customer.js +0 -31
  168. package/dist/customer-group/workflows/link-customer-groups-customer.js.map +0 -1
  169. package/dist/customer-group/workflows/link-customers-customer-group.d.ts +0 -33
  170. package/dist/customer-group/workflows/link-customers-customer-group.d.ts.map +0 -1
  171. package/dist/customer-group/workflows/link-customers-customer-group.js +0 -31
  172. package/dist/customer-group/workflows/link-customers-customer-group.js.map +0 -1
  173. package/dist/customer-group/workflows/update-customer-groups.d.ts +0 -45
  174. package/dist/customer-group/workflows/update-customer-groups.d.ts.map +0 -1
  175. package/dist/customer-group/workflows/update-customer-groups.js +0 -34
  176. package/dist/customer-group/workflows/update-customer-groups.js.map +0 -1
  177. package/dist/defaults/steps/create-default-store.d.ts +0 -31
  178. package/dist/defaults/steps/create-default-store.d.ts.map +0 -1
  179. package/dist/defaults/steps/create-default-store.js +0 -67
  180. package/dist/defaults/steps/create-default-store.js.map +0 -1
  181. package/dist/store/index.d.ts +0 -3
  182. package/dist/store/index.d.ts.map +0 -1
  183. package/dist/store/index.js +0 -19
  184. package/dist/store/index.js.map +0 -1
  185. package/dist/store/steps/create-stores.d.ts +0 -12
  186. package/dist/store/steps/create-stores.d.ts.map +0 -1
  187. package/dist/store/steps/create-stores.js +0 -26
  188. package/dist/store/steps/create-stores.js.map +0 -1
  189. package/dist/store/steps/delete-stores.d.ts +0 -10
  190. package/dist/store/steps/delete-stores.d.ts.map +0 -1
  191. package/dist/store/steps/delete-stores.js +0 -21
  192. package/dist/store/steps/delete-stores.js.map +0 -1
  193. package/dist/store/steps/index.d.ts +0 -4
  194. package/dist/store/steps/index.d.ts.map +0 -1
  195. package/dist/store/steps/index.js +0 -20
  196. package/dist/store/steps/index.js.map +0 -1
  197. package/dist/store/steps/update-stores.d.ts +0 -30
  198. package/dist/store/steps/update-stores.d.ts.map +0 -1
  199. package/dist/store/steps/update-stores.js +0 -41
  200. package/dist/store/steps/update-stores.js.map +0 -1
  201. package/dist/store/workflows/create-stores.d.ts +0 -53
  202. package/dist/store/workflows/create-stores.d.ts.map +0 -1
  203. package/dist/store/workflows/create-stores.js +0 -51
  204. package/dist/store/workflows/create-stores.js.map +0 -1
  205. package/dist/store/workflows/delete-stores.d.ts +0 -38
  206. package/dist/store/workflows/delete-stores.d.ts.map +0 -1
  207. package/dist/store/workflows/delete-stores.js +0 -44
  208. package/dist/store/workflows/delete-stores.js.map +0 -1
  209. package/dist/store/workflows/index.d.ts +0 -4
  210. package/dist/store/workflows/index.d.ts.map +0 -1
  211. package/dist/store/workflows/index.js +0 -20
  212. package/dist/store/workflows/index.js.map +0 -1
  213. package/dist/store/workflows/update-stores.d.ts +0 -32
  214. package/dist/store/workflows/update-stores.d.ts.map +0 -1
  215. package/dist/store/workflows/update-stores.js +0 -52
  216. package/dist/store/workflows/update-stores.js.map +0 -1
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteStoresWorkflow = exports.deleteStoresWorkflowId = void 0;
4
- const utils_1 = require("@acmekit/framework/utils");
5
- const workflows_sdk_1 = require("@acmekit/framework/workflows-sdk");
6
- const remove_remote_links_1 = require("../../common/steps/remove-remote-links");
7
- const steps_1 = require("../steps");
8
- exports.deleteStoresWorkflowId = "delete-stores";
9
- /**
10
- * This workflow deletes one or more stores.
11
- *
12
- * :::note
13
- *
14
- * By default, AcmeKit uses a single store. This is useful
15
- * if you're building a multi-tenant application or a marketplace where each tenant has its own store.
16
- * If you delete the only store in your application, the AcmeKit application will re-create it on application start-up.
17
- *
18
- * :::
19
- *
20
- * You can use this workflow within your customizations or your own custom workflows, allowing you to
21
- * delete stores within your custom flows.
22
- *
23
- * @example
24
- * const { result } = await deleteStoresWorkflow(container)
25
- * .run({
26
- * input: {
27
- * ids: ["store_123"]
28
- * }
29
- * })
30
- *
31
- * @summary
32
- *
33
- * Delete one or more stores.
34
- */
35
- exports.deleteStoresWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.deleteStoresWorkflowId, (input) => {
36
- const deletedStores = (0, steps_1.deleteStoresStep)(input.ids);
37
- (0, remove_remote_links_1.removeRemoteLinkStep)({
38
- [utils_1.Modules.STORE]: {
39
- store_id: input.ids,
40
- },
41
- });
42
- return deletedStores;
43
- });
44
- //# sourceMappingURL=delete-stores.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-stores.js","sourceRoot":"","sources":["../../../src/store/workflows/delete-stores.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAClD,oEAA+E;AAC/E,gFAA6E;AAC7E,oCAA2C;AAY9B,QAAA,sBAAsB,GAAG,eAAe,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACU,QAAA,oBAAoB,GAAG,IAAA,8BAAc,EAChD,8BAAsB,EACtB,CAAC,KAA8C,EAAsB,EAAE;IACrE,MAAM,aAAa,GAAG,IAAA,wBAAgB,EAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAEjD,IAAA,0CAAoB,EAAC;QACnB,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE;YACf,QAAQ,EAAE,KAAK,CAAC,GAAG;SACpB;KACF,CAAC,CAAA;IAEF,OAAO,aAAa,CAAA;AACtB,CAAC,CACF,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from "./create-stores";
2
- export * from "./delete-stores";
3
- export * from "./update-stores";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./create-stores"), exports);
18
- __exportStar(require("./delete-stores"), exports);
19
- __exportStar(require("./update-stores"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B"}
@@ -1,32 +0,0 @@
1
- import type { StoreDTO, StoreWorkflow } from "@acmekit/framework/types";
2
- /**
3
- * The updated stores.
4
- */
5
- export type UpdateStoresWorkflowOutput = StoreDTO[];
6
- export declare const updateStoresWorkflowId = "update-stores";
7
- /**
8
- * This workflow updates stores matching the specified filters. It's used by the
9
- * [Update Store Admin API Route](https://docs.acmekit.com/api/admin#stores_poststoresid).
10
- *
11
- * You can use this workflow within your customizations or your own custom workflows, allowing you to
12
- * update stores within your custom flows.
13
- *
14
- * @example
15
- * const { result } = await updateStoresWorkflow(container)
16
- * .run({
17
- * input: {
18
- * selector: {
19
- * id: "store_123"
20
- * },
21
- * update: {
22
- * name: "Acme"
23
- * }
24
- * }
25
- * })
26
- *
27
- * @summary
28
- *
29
- * Update stores.
30
- */
31
- export declare const updateStoresWorkflow: import("@acmekit/framework/workflows-sdk").ReturnWorkflow<StoreWorkflow.UpdateStoreWorkflowInput, UpdateStoresWorkflowOutput, []>;
32
- //# sourceMappingURL=update-stores.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-stores.d.ts","sourceRoot":"","sources":["../../../src/store/workflows/update-stores.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AASvE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,QAAQ,EAAE,CAAA;AAEnD,eAAO,MAAM,sBAAsB,kBAAkB,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,oBAAoB,mIA6BhC,CAAA"}
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateStoresWorkflow = exports.updateStoresWorkflowId = void 0;
4
- const workflows_sdk_1 = require("@acmekit/framework/workflows-sdk");
5
- const steps_1 = require("../steps");
6
- exports.updateStoresWorkflowId = "update-stores";
7
- /**
8
- * This workflow updates stores matching the specified filters. It's used by the
9
- * [Update Store Admin API Route](https://docs.acmekit.com/api/admin#stores_poststoresid).
10
- *
11
- * You can use this workflow within your customizations or your own custom workflows, allowing you to
12
- * update stores within your custom flows.
13
- *
14
- * @example
15
- * const { result } = await updateStoresWorkflow(container)
16
- * .run({
17
- * input: {
18
- * selector: {
19
- * id: "store_123"
20
- * },
21
- * update: {
22
- * name: "Acme"
23
- * }
24
- * }
25
- * })
26
- *
27
- * @summary
28
- *
29
- * Update stores.
30
- */
31
- exports.updateStoresWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.updateStoresWorkflowId, (input) => {
32
- const normalizedInput = (0, workflows_sdk_1.transform)({ input }, (data) => {
33
- if (!data.input.update.supported_currencies?.length) {
34
- return data.input;
35
- }
36
- return {
37
- selector: data.input.selector,
38
- update: {
39
- ...data.input.update,
40
- supported_currencies: data.input.update.supported_currencies.map((currency) => {
41
- return {
42
- currency_code: currency.currency_code,
43
- is_default: currency.is_default,
44
- };
45
- }),
46
- },
47
- };
48
- });
49
- const stores = (0, steps_1.updateStoresStep)(normalizedInput);
50
- return new workflows_sdk_1.WorkflowResponse(stores);
51
- });
52
- //# sourceMappingURL=update-stores.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-stores.js","sourceRoot":"","sources":["../../../src/store/workflows/update-stores.ts"],"names":[],"mappings":";;;AACA,oEAKyC;AACzC,oCAA2C;AAO9B,QAAA,sBAAsB,GAAG,eAAe,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACU,QAAA,oBAAoB,GAAG,IAAA,8BAAc,EAChD,8BAAsB,EACtB,CACE,KAA2D,EACb,EAAE;IAChD,MAAM,eAAe,GAAG,IAAA,yBAAS,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;QACpD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC;YACpD,OAAO,IAAI,CAAC,KAAK,CAAA;QACnB,CAAC;QAED,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ;YAC7B,MAAM,EAAE;gBACN,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM;gBACpB,oBAAoB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAC9D,CAAC,QAAQ,EAAE,EAAE;oBACX,OAAO;wBACL,aAAa,EAAE,QAAQ,CAAC,aAAa;wBACrC,UAAU,EAAE,QAAQ,CAAC,UAAU;qBAChC,CAAA;gBACH,CAAC,CACF;aACF;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,IAAA,wBAAgB,EAAC,eAAe,CAAC,CAAA;IAChD,OAAO,IAAI,gCAAgB,CAAC,MAAM,CAAC,CAAA;AACrC,CAAC,CACF,CAAA"}