@daffodil/cart 0.75.0 → 0.77.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 (187) hide show
  1. package/README.md +22 -1
  2. package/driver/magento/errors/map.d.ts +2 -0
  3. package/esm2022/driver/errors/cart-not-found.mjs +1 -1
  4. package/esm2022/driver/errors/invalid-country.mjs +1 -1
  5. package/esm2022/driver/errors/invalid-coupon-code.mjs +1 -1
  6. package/esm2022/driver/errors/invalid-email.mjs +1 -1
  7. package/esm2022/driver/errors/invalid-region.mjs +1 -1
  8. package/esm2022/driver/errors/item-exceeds-max-qty.mjs +1 -1
  9. package/esm2022/driver/errors/product-not-found.mjs +1 -1
  10. package/esm2022/driver/errors/product-out-of-stock.mjs +1 -1
  11. package/esm2022/driver/errors/unauthorized-for-cart.mjs +1 -1
  12. package/esm2022/driver/in-memory/backend/cart/cart.service.mjs +4 -4
  13. package/esm2022/driver/in-memory/backend/cart-address/cart-address.service.mjs +4 -4
  14. package/esm2022/driver/in-memory/backend/cart-billing-address/cart-billing-address.service.mjs +4 -4
  15. package/esm2022/driver/in-memory/backend/cart-coupon/cart-coupon.service.mjs +4 -4
  16. package/esm2022/driver/in-memory/backend/cart-items/cart-items.service.mjs +4 -4
  17. package/esm2022/driver/in-memory/backend/cart-order/cart-order.service.mjs +4 -4
  18. package/esm2022/driver/in-memory/backend/cart-payment/cart-payment.service.mjs +4 -4
  19. package/esm2022/driver/in-memory/backend/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
  20. package/esm2022/driver/in-memory/backend/cart-root.service.mjs +4 -4
  21. package/esm2022/driver/in-memory/backend/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
  22. package/esm2022/driver/in-memory/backend/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
  23. package/esm2022/driver/in-memory/backend/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
  24. package/esm2022/driver/in-memory/drivers/cart/cart.service.mjs +4 -4
  25. package/esm2022/driver/in-memory/drivers/cart-address/cart-address.service.mjs +4 -4
  26. package/esm2022/driver/in-memory/drivers/cart-billing-address/cart-billing-address.service.mjs +4 -4
  27. package/esm2022/driver/in-memory/drivers/cart-coupon/cart-coupon.service.mjs +4 -4
  28. package/esm2022/driver/in-memory/drivers/cart-driver.module.mjs +5 -5
  29. package/esm2022/driver/in-memory/drivers/cart-item/cart-item.service.mjs +4 -4
  30. package/esm2022/driver/in-memory/drivers/cart-order/cart-order.service.mjs +4 -4
  31. package/esm2022/driver/in-memory/drivers/cart-payment/cart-payment.service.mjs +4 -4
  32. package/esm2022/driver/in-memory/drivers/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
  33. package/esm2022/driver/in-memory/drivers/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
  34. package/esm2022/driver/in-memory/drivers/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
  35. package/esm2022/driver/in-memory/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
  36. package/esm2022/driver/interfaces/cart-address-service.interface.mjs +1 -1
  37. package/esm2022/driver/interfaces/cart-billing-address-service.interface.mjs +1 -1
  38. package/esm2022/driver/interfaces/cart-item-service.interface.mjs +1 -1
  39. package/esm2022/driver/interfaces/cart-payment-methods-service.interface.mjs +1 -1
  40. package/esm2022/driver/interfaces/cart-payment-service.interface.mjs +1 -1
  41. package/esm2022/driver/interfaces/cart-shipping-address-service.interface.mjs +1 -1
  42. package/esm2022/driver/interfaces/cart-shipping-information-service.interface.mjs +1 -1
  43. package/esm2022/driver/interfaces/cart-shipping-methods-service.interface.mjs +1 -1
  44. package/esm2022/driver/magento/cart-address.service.mjs +4 -4
  45. package/esm2022/driver/magento/cart-billing-address.service.mjs +4 -4
  46. package/esm2022/driver/magento/cart-coupon.service.mjs +4 -4
  47. package/esm2022/driver/magento/cart-driver.module.mjs +5 -5
  48. package/esm2022/driver/magento/cart-item.service.mjs +4 -4
  49. package/esm2022/driver/magento/cart-order.service.mjs +4 -4
  50. package/esm2022/driver/magento/cart-payment-methods.service.mjs +4 -4
  51. package/esm2022/driver/magento/cart-payment.service.mjs +4 -4
  52. package/esm2022/driver/magento/cart-shipping-address.service.mjs +4 -4
  53. package/esm2022/driver/magento/cart-shipping-information.service.mjs +4 -4
  54. package/esm2022/driver/magento/cart-shipping-methods.service.mjs +4 -4
  55. package/esm2022/driver/magento/cart.service.mjs +4 -4
  56. package/esm2022/driver/magento/errors/map.mjs +3 -1
  57. package/esm2022/driver/magento/errors/transform.mjs +1 -1
  58. package/esm2022/driver/magento/queries/create-cart/variables.type.mjs +1 -1
  59. package/esm2022/driver/magento/testing/factories/cart-address-input.factory.mjs +4 -4
  60. package/esm2022/driver/magento/testing/factories/cart-address.factory.mjs +4 -4
  61. package/esm2022/driver/magento/testing/factories/cart-coupon.factory.mjs +4 -4
  62. package/esm2022/driver/magento/testing/factories/cart-item/bundle-cart-item.factory.mjs +4 -4
  63. package/esm2022/driver/magento/testing/factories/cart-item/cart-item.factory.mjs +4 -4
  64. package/esm2022/driver/magento/testing/factories/cart-item/configurable-cart-item.factory.mjs +4 -4
  65. package/esm2022/driver/magento/testing/factories/cart-payment-method.factory.mjs +4 -4
  66. package/esm2022/driver/magento/testing/factories/cart-shipping-method.factory.mjs +4 -4
  67. package/esm2022/driver/magento/testing/factories/cart.factory.mjs +4 -4
  68. package/esm2022/driver/magento/testing/factories/shipping-address.factory.mjs +4 -4
  69. package/esm2022/driver/magento/transforms/inputs/billing-address.service.mjs +4 -4
  70. package/esm2022/driver/magento/transforms/inputs/cart-address.service.mjs +4 -4
  71. package/esm2022/driver/magento/transforms/inputs/cart-item-update.service.mjs +4 -4
  72. package/esm2022/driver/magento/transforms/inputs/payment-method.service.mjs +4 -4
  73. package/esm2022/driver/magento/transforms/inputs/shipping-address.service.mjs +4 -4
  74. package/esm2022/driver/magento/transforms/inputs/shipping-method.service.mjs +4 -4
  75. package/esm2022/driver/magento/transforms/outputs/billing-address.service.mjs +4 -4
  76. package/esm2022/driver/magento/transforms/outputs/cart-address.service.mjs +4 -4
  77. package/esm2022/driver/magento/transforms/outputs/cart-coupon-response.service.mjs +4 -4
  78. package/esm2022/driver/magento/transforms/outputs/cart-item/cart-item-transformer.mjs +1 -1
  79. package/esm2022/driver/magento/transforms/outputs/cart-payment.service.mjs +4 -4
  80. package/esm2022/driver/magento/transforms/outputs/cart-shipping-rate.service.mjs +4 -4
  81. package/esm2022/driver/magento/transforms/outputs/cart.service.mjs +4 -4
  82. package/esm2022/driver/magento/transforms/outputs/shipping-address.service.mjs +4 -4
  83. package/esm2022/driver/operators/handle-cart-not-found.mjs +1 -1
  84. package/esm2022/driver/services/resolve.service.mjs +4 -4
  85. package/esm2022/driver/testing/drivers/cart/cart.service.mjs +4 -4
  86. package/esm2022/driver/testing/drivers/cart-address/cart-address.service.mjs +4 -4
  87. package/esm2022/driver/testing/drivers/cart-billing-address/cart-billing-address.service.mjs +4 -4
  88. package/esm2022/driver/testing/drivers/cart-coupon/cart-coupon.service.mjs +4 -4
  89. package/esm2022/driver/testing/drivers/cart-driver.module.mjs +5 -5
  90. package/esm2022/driver/testing/drivers/cart-item/cart-item.service.mjs +4 -4
  91. package/esm2022/driver/testing/drivers/cart-order/cart-order.service.mjs +4 -4
  92. package/esm2022/driver/testing/drivers/cart-payment/cart-payment.service.mjs +4 -4
  93. package/esm2022/driver/testing/drivers/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
  94. package/esm2022/driver/testing/drivers/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
  95. package/esm2022/driver/testing/drivers/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
  96. package/esm2022/driver/testing/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
  97. package/esm2022/errors/resolution/cart-not-found-or-created-resolution.mjs +1 -1
  98. package/esm2022/errors/resolution/cart-resolution.mjs +1 -1
  99. package/esm2022/errors/resolution/cart-server-side-resolution.mjs +1 -1
  100. package/esm2022/errors/resolution/cart-storage-resolution.mjs +1 -1
  101. package/esm2022/helpers/get-affected-item.mjs +1 -1
  102. package/esm2022/routing/cart-routing.module.mjs +5 -5
  103. package/esm2022/routing/config/config.mjs +1 -1
  104. package/esm2022/routing/guards/billing-address/billing-address.guard.mjs +4 -4
  105. package/esm2022/routing/guards/cart-items/cart-items.guard.mjs +4 -4
  106. package/esm2022/routing/guards/in-stock-items/in-stock-items.guard.mjs +4 -4
  107. package/esm2022/routing/guards/order-result/order-result.guard.mjs +4 -4
  108. package/esm2022/routing/guards/payment-method/payment-method.guard.mjs +4 -4
  109. package/esm2022/routing/guards/resolve-cart/resolve-cart.guard.mjs +4 -4
  110. package/esm2022/routing/guards/resolved-cart/resolved-cart.guard.mjs +4 -4
  111. package/esm2022/routing/guards/shipping-address/shipping-address.guard.mjs +4 -4
  112. package/esm2022/routing/guards/shipping-method/shipping-method.guard.mjs +4 -4
  113. package/esm2022/routing/resolvers/cart-resolver.service.mjs +4 -4
  114. package/esm2022/routing/resolvers/empty-cart-resolver.service.mjs +4 -4
  115. package/esm2022/state/cart-retrieval/get-response.mjs +1 -1
  116. package/esm2022/state/cart-state.module.mjs +5 -5
  117. package/esm2022/state/effects/cart-address.effects.mjs +4 -4
  118. package/esm2022/state/effects/cart-billing-address.effects.mjs +4 -4
  119. package/esm2022/state/effects/cart-coupon.effects.mjs +4 -4
  120. package/esm2022/state/effects/cart-item.effects.mjs +4 -4
  121. package/esm2022/state/effects/cart-order.effects.mjs +4 -4
  122. package/esm2022/state/effects/cart-payment-methods.effects.mjs +4 -4
  123. package/esm2022/state/effects/cart-payment-processor.effects.mjs +4 -4
  124. package/esm2022/state/effects/cart-payment.effects.mjs +4 -4
  125. package/esm2022/state/effects/cart-resolver.effects.mjs +4 -4
  126. package/esm2022/state/effects/cart-shipping-address.effects.mjs +4 -4
  127. package/esm2022/state/effects/cart-shipping-information.effects.mjs +4 -4
  128. package/esm2022/state/effects/cart-shipping-methods.effects.mjs +4 -4
  129. package/esm2022/state/effects/cart.effects.mjs +4 -4
  130. package/esm2022/state/facades/cart/cart.facade.mjs +6 -6
  131. package/esm2022/state/reducers/cart/cart.reducer.mjs +1 -1
  132. package/esm2022/state/reducers/cart-billing-address/cart-billing-address.reducer.mjs +1 -1
  133. package/esm2022/state/reducers/cart-coupon/cart-coupon.reducer.mjs +1 -1
  134. package/esm2022/state/reducers/cart-item/cart-item.reducer.mjs +1 -1
  135. package/esm2022/state/reducers/cart-item-entities/cart-item-entities.reducer.mjs +1 -1
  136. package/esm2022/state/reducers/cart-item-entities/set-state-meta-reducer.mjs +1 -1
  137. package/esm2022/state/reducers/cart-order/cart-order.reducer.mjs +1 -1
  138. package/esm2022/state/reducers/cart-payment/cart-payment.reducer.mjs +1 -1
  139. package/esm2022/state/reducers/cart-payment/payment.reducer.mjs +1 -1
  140. package/esm2022/state/reducers/cart-payment-methods/cart-payment-methods.reducer.mjs +1 -1
  141. package/esm2022/state/reducers/cart-resolve/cart-resolve.reducer.mjs +1 -1
  142. package/esm2022/state/reducers/cart-shipping-address/cart-shipping-address.reducer.mjs +1 -1
  143. package/esm2022/state/reducers/cart-shipping-information/cart-shipping-information.reducer.mjs +1 -1
  144. package/esm2022/state/reducers/cart-shipping-methods/cart-shipping-methods.reducer.mjs +1 -1
  145. package/esm2022/state/selectors/cart-item-entities/cart-item-entities.selectors.mjs +1 -1
  146. package/esm2022/state/testing/cart-testing.module.mjs +5 -5
  147. package/esm2022/state/testing/factories/stateful-cart-item.factory.mjs +4 -4
  148. package/esm2022/state/testing/factories/stateful-composite-cart-item.factory.mjs +4 -4
  149. package/esm2022/state/testing/factories/stateful-configurable-cart-item.factory.mjs +4 -4
  150. package/esm2022/state/testing/mock-cart-facade.mjs +4 -4
  151. package/esm2022/storage/cart-storage.service.mjs +4 -4
  152. package/esm2022/testing/factories/cart-address.factory.mjs +4 -4
  153. package/esm2022/testing/factories/cart-coupon.factory.mjs +4 -4
  154. package/esm2022/testing/factories/cart-item/cart-item.factory.mjs +4 -4
  155. package/esm2022/testing/factories/cart-item/composite-cart-item.factory.mjs +4 -4
  156. package/esm2022/testing/factories/cart-item/configurable-cart-item.factory.mjs +4 -4
  157. package/esm2022/testing/factories/cart-payment.factory.mjs +4 -4
  158. package/esm2022/testing/factories/cart-shipping-rate.factory.mjs +4 -4
  159. package/esm2022/testing/factories/cart-total.factory.mjs +4 -4
  160. package/esm2022/testing/factories/cart.factory.mjs +4 -4
  161. package/fesm2022/daffodil-cart-driver-in-memory.mjs +73 -73
  162. package/fesm2022/daffodil-cart-driver-in-memory.mjs.map +1 -1
  163. package/fesm2022/daffodil-cart-driver-magento-testing.mjs +30 -30
  164. package/fesm2022/daffodil-cart-driver-magento-testing.mjs.map +1 -1
  165. package/fesm2022/daffodil-cart-driver-magento.mjs +78 -76
  166. package/fesm2022/daffodil-cart-driver-magento.mjs.map +1 -1
  167. package/fesm2022/daffodil-cart-driver-testing.mjs +37 -37
  168. package/fesm2022/daffodil-cart-driver-testing.mjs.map +1 -1
  169. package/fesm2022/daffodil-cart-driver.mjs +3 -3
  170. package/fesm2022/daffodil-cart-driver.mjs.map +1 -1
  171. package/fesm2022/daffodil-cart-routing.mjs +37 -37
  172. package/fesm2022/daffodil-cart-routing.mjs.map +1 -1
  173. package/fesm2022/daffodil-cart-state-testing.mjs +16 -16
  174. package/fesm2022/daffodil-cart-state-testing.mjs.map +1 -1
  175. package/fesm2022/daffodil-cart-state.mjs +48 -48
  176. package/fesm2022/daffodil-cart-state.mjs.map +1 -1
  177. package/fesm2022/daffodil-cart-testing.mjs +27 -27
  178. package/fesm2022/daffodil-cart-testing.mjs.map +1 -1
  179. package/fesm2022/daffodil-cart.mjs +3 -3
  180. package/fesm2022/daffodil-cart.mjs.map +1 -1
  181. package/package.json +1 -1
  182. package/state/facades/cart/cart.facade.d.ts +1 -1
  183. package/state/reducers/cart-item-entities/retrieval-actions.reducer.d.ts +1 -1
  184. package/state/reducers/token/config.token.d.ts +1 -1
  185. package/state/reducers/token/extra.token.d.ts +1 -1
  186. package/state/reducers/token/reducers.token.d.ts +1 -1
  187. package/state/selectors/cart/cart.selector.d.ts +1 -1
@@ -48,10 +48,10 @@ class DaffMagentoCartAddressTransformer {
48
48
  address_type: null,
49
49
  } : null;
50
50
  }
51
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
52
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressTransformer, providedIn: 'root' }); }
51
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
52
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressTransformer, providedIn: 'root' }); }
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressTransformer, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressTransformer, decorators: [{
55
55
  type: Injectable,
56
56
  args: [{
57
57
  providedIn: 'root',
@@ -76,10 +76,10 @@ class DaffMagentoBillingAddressTransformer {
76
76
  address_type: 'billing',
77
77
  } : null;
78
78
  }
79
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressTransformer, providedIn: 'root' }); }
79
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressTransformer, providedIn: 'root' }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressTransformer, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressTransformer, decorators: [{
83
83
  type: Injectable,
84
84
  args: [{
85
85
  providedIn: 'root',
@@ -206,10 +206,10 @@ class DaffMagentoCartPaymentTransformer {
206
206
  method: responsePayment.code,
207
207
  } : null;
208
208
  }
209
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
210
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentTransformer, providedIn: 'root' }); }
209
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
210
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentTransformer, providedIn: 'root' }); }
211
211
  }
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentTransformer, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentTransformer, decorators: [{
213
213
  type: Injectable,
214
214
  args: [{
215
215
  providedIn: 'root',
@@ -237,10 +237,10 @@ class DaffMagentoCartShippingRateTransformer {
237
237
  method_description: null,
238
238
  } : null;
239
239
  }
240
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
241
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, providedIn: 'root' }); }
240
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
241
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, providedIn: 'root' }); }
242
242
  }
243
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, decorators: [{
243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, decorators: [{
244
244
  type: Injectable,
245
245
  args: [{
246
246
  providedIn: 'root',
@@ -326,10 +326,10 @@ class DaffMagentoShippingAddressTransformer {
326
326
  address_type: 'shipping',
327
327
  } : null;
328
328
  }
329
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
330
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressTransformer, providedIn: 'root' }); }
329
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
330
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressTransformer, providedIn: 'root' }); }
331
331
  }
332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressTransformer, decorators: [{
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressTransformer, decorators: [{
333
333
  type: Injectable,
334
334
  args: [{
335
335
  providedIn: 'root',
@@ -498,10 +498,10 @@ class DaffMagentoCartTransformer {
498
498
  id: cart.id,
499
499
  }) : null;
500
500
  }
501
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartTransformer, deps: [{ token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DAFF_CART_MAGENTO_CART_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable }); }
502
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartTransformer, providedIn: 'root' }); }
501
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartTransformer, deps: [{ token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DAFF_CART_MAGENTO_CART_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable }); }
502
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartTransformer, providedIn: 'root' }); }
503
503
  }
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartTransformer, decorators: [{
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartTransformer, decorators: [{
505
505
  type: Injectable,
506
506
  args: [{
507
507
  providedIn: 'root',
@@ -532,10 +532,10 @@ class DaffMagentoCartAddressInputTransformer {
532
532
  telephone: cartAddress.telephone,
533
533
  };
534
534
  }
535
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
536
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, providedIn: 'root' }); }
535
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
536
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, providedIn: 'root' }); }
537
537
  }
538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, decorators: [{
538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, decorators: [{
539
539
  type: Injectable,
540
540
  args: [{
541
541
  providedIn: 'root',
@@ -557,10 +557,10 @@ class DaffMagentoShippingAddressInputTransformer {
557
557
  customer_address_id: null,
558
558
  };
559
559
  }
560
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
561
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, providedIn: 'root' }); }
560
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
561
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, providedIn: 'root' }); }
562
562
  }
563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, decorators: [{
563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, decorators: [{
564
564
  type: Injectable,
565
565
  args: [{
566
566
  providedIn: 'root',
@@ -582,10 +582,10 @@ class DaffMagentoBillingAddressInputTransformer {
582
582
  customer_address_id: null,
583
583
  };
584
584
  }
585
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
586
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, providedIn: 'root' }); }
585
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
586
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, providedIn: 'root' }); }
587
587
  }
588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, decorators: [{
588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, decorators: [{
589
589
  type: Injectable,
590
590
  args: [{
591
591
  providedIn: 'root',
@@ -599,10 +599,10 @@ class DaffMagentoCartItemUpdateInputTransformer {
599
599
  cart_item_id: Number(item.id),
600
600
  };
601
601
  }
602
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
603
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, providedIn: 'root' }); }
602
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
603
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, providedIn: 'root' }); }
604
604
  }
605
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, decorators: [{
605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, decorators: [{
606
606
  type: Injectable,
607
607
  args: [{
608
608
  providedIn: 'root',
@@ -615,10 +615,10 @@ class DaffMagentoPaymentMethodInputTransformer {
615
615
  ...payment.payment_info,
616
616
  };
617
617
  }
618
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
619
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, providedIn: 'root' }); }
618
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
619
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, providedIn: 'root' }); }
620
620
  }
621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, decorators: [{
621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, decorators: [{
622
622
  type: Injectable,
623
623
  args: [{
624
624
  providedIn: 'root',
@@ -632,10 +632,10 @@ class DaffMagentoShippingMethodInputTransformer {
632
632
  method_code: method.method_code,
633
633
  };
634
634
  }
635
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
636
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, providedIn: 'root' }); }
635
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
636
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, providedIn: 'root' }); }
637
637
  }
638
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, decorators: [{
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, decorators: [{
639
639
  type: Injectable,
640
640
  args: [{
641
641
  providedIn: 'root',
@@ -1399,6 +1399,8 @@ const DaffCartMagentoErrorMessageRegexMap = {
1399
1399
  [DaffCartDriverErrorCodes.PRODUCT_OUT_OF_STOCK]: /(The requested qty is not available)|(This product is out of stock)|(Some of the products are out of stock)|(There are no source items with the in stock status)/,
1400
1400
  [DaffCartDriverErrorCodes.ITEM_EXCEEDS_MAX_QTY]: /The requested qty exceeds the maximum qty allowed in shopping cart/,
1401
1401
  [DaffCartDriverErrorCodes.INVALID_EMAIL]: /Invalid email format/,
1402
+ [DaffCartDriverErrorCodes.CART_NOT_FOUND]: /Could not find a cart with ID/,
1403
+ [DaffCartDriverErrorCodes.UNAUTHORIZED_FOR_CART]: /The current customer isn\'t authorized/,
1402
1404
  };
1403
1405
  const DaffCartMagentoUserErrorMap = {
1404
1406
  [MagentoCartUserInputErrorType.PRODUCT_NOT_FOUND]: DaffProductNotFoundError,
@@ -1516,10 +1518,10 @@ class DaffMagentoCartService {
1516
1518
  : throwError(() => resp.errors.filter((err) => !err.recoverable)[0])));
1517
1519
  }
1518
1520
  ;
1519
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffCartItemDriver }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable }); }
1520
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartService, providedIn: 'root' }); }
1521
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffCartItemDriver }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable }); }
1522
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartService, providedIn: 'root' }); }
1521
1523
  }
1522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartService, decorators: [{
1524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartService, decorators: [{
1523
1525
  type: Injectable,
1524
1526
  args: [{
1525
1527
  providedIn: 'root',
@@ -1633,10 +1635,10 @@ class DaffMagentoCartItemService {
1633
1635
  ? throwError(() => magentoCartTransformUserError(result.data.addProductsToCart.user_errors[0]))
1634
1636
  : of(this.cartTransformer.transform(result.data.addProductsToCart.cart))), catchError(err => throwError(() => transformCartMagentoError(err))));
1635
1637
  }
1636
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartItemUpdateInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1637
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemService, providedIn: 'root' }); }
1638
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartItemUpdateInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1639
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemService, providedIn: 'root' }); }
1638
1640
  }
1639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartItemService, decorators: [{
1641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartItemService, decorators: [{
1640
1642
  type: Injectable,
1641
1643
  args: [{
1642
1644
  providedIn: 'root',
@@ -1724,10 +1726,10 @@ class DaffMagentoCartPaymentService {
1724
1726
  fetchPolicy: 'network-only',
1725
1727
  }).pipe(map(resp => this.cartTransformer.transform(resp.data.setGuestEmailOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
1726
1728
  }
1727
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoPaymentMethodInputTransformer }, { token: DaffMagentoBillingAddressInputTransformer }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable }); }
1728
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentService, providedIn: 'root' }); }
1729
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoPaymentMethodInputTransformer }, { token: DaffMagentoBillingAddressInputTransformer }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable }); }
1730
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentService, providedIn: 'root' }); }
1729
1731
  }
1730
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentService, decorators: [{
1732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentService, decorators: [{
1731
1733
  type: Injectable,
1732
1734
  args: [{
1733
1735
  providedIn: 'root',
@@ -1758,10 +1760,10 @@ class DaffMagentoCartPaymentMethodsService {
1758
1760
  fetchPolicy: 'network-only',
1759
1761
  }).pipe(map(result => result.data.cart.available_payment_methods.map(item => this.paymentTransformer.transform(item))), catchError(error => throwError(() => transformCartMagentoError(error))));
1760
1762
  }
1761
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartPaymentTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1762
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, providedIn: 'root' }); }
1763
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartPaymentTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1764
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, providedIn: 'root' }); }
1763
1765
  }
1764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, decorators: [{
1766
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, decorators: [{
1765
1767
  type: Injectable,
1766
1768
  args: [{
1767
1769
  providedIn: 'root',
@@ -1816,10 +1818,10 @@ class DaffMagentoCartAddressService {
1816
1818
  fetchPolicy: 'network-only',
1817
1819
  }).pipe(map(resp => this.cartTransformer.transform(resp.data.setGuestEmailOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
1818
1820
  }
1819
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1820
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressService, providedIn: 'root' }); }
1821
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1822
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressService, providedIn: 'root' }); }
1821
1823
  }
1822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartAddressService, decorators: [{
1824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartAddressService, decorators: [{
1823
1825
  type: Injectable,
1824
1826
  args: [{
1825
1827
  providedIn: 'root',
@@ -1885,10 +1887,10 @@ class DaffMagentoCartBillingAddressService {
1885
1887
  email: resp.data.setGuestEmailOnCart.cart.email,
1886
1888
  })), catchError(error => throwError(() => transformCartMagentoError(error))));
1887
1889
  }
1888
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartBillingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoBillingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1889
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartBillingAddressService, providedIn: 'root' }); }
1890
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartBillingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoBillingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1891
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartBillingAddressService, providedIn: 'root' }); }
1890
1892
  }
1891
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartBillingAddressService, decorators: [{
1893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartBillingAddressService, decorators: [{
1892
1894
  type: Injectable,
1893
1895
  args: [{
1894
1896
  providedIn: 'root',
@@ -1954,10 +1956,10 @@ class DaffMagentoCartShippingAddressService {
1954
1956
  email: resp.data.setGuestEmailOnCart.cart.email,
1955
1957
  })), catchError(error => throwError(() => transformCartMagentoError(error))));
1956
1958
  }
1957
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoShippingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1958
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingAddressService, providedIn: 'root' }); }
1959
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoShippingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1960
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingAddressService, providedIn: 'root' }); }
1959
1961
  }
1960
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingAddressService, decorators: [{
1962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingAddressService, decorators: [{
1961
1963
  type: Injectable,
1962
1964
  args: [{
1963
1965
  providedIn: 'root',
@@ -1988,10 +1990,10 @@ class DaffMagentoCartShippingMethodsService {
1988
1990
  fetchPolicy: 'network-only',
1989
1991
  }).pipe(map(result => result.data.cart.shipping_addresses[0].available_shipping_methods.map(item => this.shippingRateTransformer.transform(item))), catchError(error => throwError(() => transformCartMagentoError(error))));
1990
1992
  }
1991
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartShippingRateTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1992
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingMethodsService, providedIn: 'root' }); }
1993
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartShippingRateTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
1994
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingMethodsService, providedIn: 'root' }); }
1993
1995
  }
1994
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingMethodsService, decorators: [{
1996
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingMethodsService, decorators: [{
1995
1997
  type: Injectable,
1996
1998
  args: [{
1997
1999
  providedIn: 'root',
@@ -2057,10 +2059,10 @@ class DaffMagentoCartShippingInformationService {
2057
2059
  },
2058
2060
  }).pipe(map(result => this.cartTransformer.transform(result.data.setShippingMethodsOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
2059
2061
  }
2060
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingInformationService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DaffMagentoShippingMethodInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
2061
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingInformationService, providedIn: 'root' }); }
2062
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingInformationService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DaffMagentoShippingMethodInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
2063
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingInformationService, providedIn: 'root' }); }
2062
2064
  }
2063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartShippingInformationService, decorators: [{
2065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartShippingInformationService, decorators: [{
2064
2066
  type: Injectable,
2065
2067
  args: [{
2066
2068
  providedIn: 'root',
@@ -2115,10 +2117,10 @@ class DaffMagentoCartCouponService {
2115
2117
  fetchPolicy: 'network-only',
2116
2118
  }).pipe(map(result => this.cartTransformer.transform(result.data.removeCouponFromCart.cart)), catchError(err => throwError(() => transformCartMagentoError(err))));
2117
2119
  }
2118
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
2119
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponService, providedIn: 'root' }); }
2120
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }], target: i0.ɵɵFactoryTarget.Injectable }); }
2121
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponService, providedIn: 'root' }); }
2120
2122
  }
2121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponService, decorators: [{
2123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponService, decorators: [{
2122
2124
  type: Injectable,
2123
2125
  args: [{
2124
2126
  providedIn: 'root',
@@ -2153,10 +2155,10 @@ class DaffMagentoCartOrderService {
2153
2155
  cartId,
2154
2156
  })), catchError(err => throwError(() => transformCartMagentoError(err))));
2155
2157
  }
2156
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartOrderService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }], target: i0.ɵɵFactoryTarget.Injectable }); }
2157
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartOrderService, providedIn: 'root' }); }
2158
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartOrderService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }], target: i0.ɵɵFactoryTarget.Injectable }); }
2159
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartOrderService, providedIn: 'root' }); }
2158
2160
  }
2159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartOrderService, decorators: [{
2161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartOrderService, decorators: [{
2160
2162
  type: Injectable,
2161
2163
  args: [{
2162
2164
  providedIn: 'root',
@@ -2206,10 +2208,10 @@ class DaffMagentoCartCouponResponseTransformer {
2206
2208
  id: cart.id,
2207
2209
  } : null;
2208
2210
  }
2209
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, deps: [{ token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable }); }
2210
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, providedIn: 'root' }); }
2211
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, deps: [{ token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable }); }
2212
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, providedIn: 'root' }); }
2211
2213
  }
2212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, decorators: [{
2214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, decorators: [{
2213
2215
  type: Injectable,
2214
2216
  args: [{
2215
2217
  providedIn: 'root',
@@ -2292,11 +2294,11 @@ class DaffCartMagentoDriverModule {
2292
2294
  ],
2293
2295
  };
2294
2296
  }
2295
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCartMagentoDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2296
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] }); }
2297
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] }); }
2297
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartMagentoDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2298
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] }); }
2299
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] }); }
2298
2300
  }
2299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCartMagentoDriverModule, decorators: [{
2301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartMagentoDriverModule, decorators: [{
2300
2302
  type: NgModule,
2301
2303
  args: [{
2302
2304
  imports: [