@zonos/elements 1.3.249 → 1.3.250

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 (242) hide show
  1. package/dist/cjs/{cart-eca56521.js → cart-fcd1359c.js} +318 -19
  2. package/dist/cjs/{hasInclusivePrice-e7d67b45.js → hasInclusivePrice-745a8f29.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-918f2c2b.js → invoice-f040e147.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-89911215.js → isCollectMobileTablet-cf92852e.js} +2 -2
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{localization-878ef681.js → localization-523b793a.js} +660 -0
  8. package/dist/cjs/{paypal-6acca678.js → paypal-8c98c0a1.js} +29 -2
  9. package/dist/cjs/{placeTestOrder-f1c1e939.js → placeTestOrder-9b1e09f0.js} +2 -2
  10. package/dist/cjs/{renderCheckoutCurrency-d9590e81.js → renderCheckoutCurrency-94b6e51d.js} +2 -2
  11. package/dist/cjs/{zonos-address-display_9.cjs.entry.js → zonos-address-display_8.cjs.entry.js} +3 -79
  12. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-card_5.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +74 -20
  15. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +113 -0
  16. package/dist/cjs/zonos-checkout.cjs.entry.js +52 -3
  17. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  19. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  20. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-elements.cjs.js +1 -1
  24. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-store-credit.cjs.entry.js +113 -0
  31. package/dist/collection/collection-manifest.json +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +3 -0
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +49 -4
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +18 -10
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/assets/StoreCreditIcon.svg +3 -0
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/zonos-store-credit.css +139 -0
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/zonos-store-credit.js +137 -0
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +52 -1
  39. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
  40. package/dist/collection/components/main/zonos-controller.js +1 -1
  41. package/dist/collection/components/store/checkout/cart.js +62 -4
  42. package/dist/collection/components/store/checkout/paypal.js +28 -0
  43. package/dist/collection/components/store/checkout/storeCredit.js +237 -0
  44. package/dist/collection/components/store/checkout/stripe.js +2 -1
  45. package/dist/collection/components/store/translationStore/strings.arabic.js +33 -0
  46. package/dist/collection/components/store/translationStore/strings.base.js +33 -0
  47. package/dist/collection/components/store/translationStore/strings.chinese.js +33 -0
  48. package/dist/collection/components/store/translationStore/strings.danish.js +33 -0
  49. package/dist/collection/components/store/translationStore/strings.dutch.js +33 -0
  50. package/dist/collection/components/store/translationStore/strings.french.js +33 -0
  51. package/dist/collection/components/store/translationStore/strings.german.js +33 -0
  52. package/dist/collection/components/store/translationStore/strings.hebrew.js +33 -0
  53. package/dist/collection/components/store/translationStore/strings.indonesian.js +33 -0
  54. package/dist/collection/components/store/translationStore/strings.italian.js +33 -0
  55. package/dist/collection/components/store/translationStore/strings.japanese.js +33 -0
  56. package/dist/collection/components/store/translationStore/strings.korean.js +33 -0
  57. package/dist/collection/components/store/translationStore/strings.norwegian.js +33 -0
  58. package/dist/collection/components/store/translationStore/strings.polish.js +33 -0
  59. package/dist/collection/components/store/translationStore/strings.portuguese.js +33 -0
  60. package/dist/collection/components/store/translationStore/strings.russian.js +33 -0
  61. package/dist/collection/components/store/translationStore/strings.spanish.js +33 -0
  62. package/dist/collection/components/store/translationStore/strings.swedish.js +33 -0
  63. package/dist/collection/components/store/translationStore/strings.turkish.js +33 -0
  64. package/dist/collection/components/store/translationStore/strings.vietnamese.js +33 -0
  65. package/dist/collection/types/generated/graphql.internal.types.js +589 -0
  66. package/dist/esm/{cart-efb30253.js → cart-6e465f7b.js} +309 -21
  67. package/dist/esm/{hasInclusivePrice-565ddbe5.js → hasInclusivePrice-c49d384d.js} +1 -1
  68. package/dist/esm/index.js +7 -7
  69. package/dist/esm/{invoice-0e462fcc.js → invoice-d416ba65.js} +2 -2
  70. package/dist/esm/{isCollectMobileTablet-0bcba25a.js → isCollectMobileTablet-48040572.js} +2 -2
  71. package/dist/esm/loader.js +1 -1
  72. package/dist/esm/{localization-c1aff677.js → localization-f4a7fb5a.js} +660 -0
  73. package/dist/esm/{paypal-06b67be0.js → paypal-6af6b978.js} +29 -2
  74. package/dist/esm/{placeTestOrder-6c9a6c8a.js → placeTestOrder-d19ac166.js} +2 -2
  75. package/dist/esm/{renderCheckoutCurrency-910fea67.js → renderCheckoutCurrency-c8aa8e7e.js} +2 -2
  76. package/dist/esm/{zonos-address-display_9.entry.js → zonos-address-display_8.entry.js} +4 -79
  77. package/dist/esm/zonos-address_4.entry.js +2 -2
  78. package/dist/esm/zonos-card_5.entry.js +3 -3
  79. package/dist/esm/zonos-cart-items_12.entry.js +74 -20
  80. package/dist/esm/zonos-checkbox_2.entry.js +108 -0
  81. package/dist/esm/zonos-checkout.entry.js +52 -3
  82. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  83. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  84. package/dist/esm/zonos-collect.entry.js +4 -4
  85. package/dist/esm/zonos-controller.entry.js +2 -2
  86. package/dist/esm/zonos-country-flag.entry.js +1 -1
  87. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  88. package/dist/esm/zonos-elements.js +1 -1
  89. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  90. package/dist/esm/zonos-hello.entry.js +1 -1
  91. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  92. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  93. package/dist/esm/zonos-invoice.entry.js +4 -4
  94. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  95. package/dist/esm/zonos-store-credit.entry.js +109 -0
  96. package/dist/esm-es5/cart-6e465f7b.js +1 -0
  97. package/dist/esm-es5/hasInclusivePrice-c49d384d.js +1 -0
  98. package/dist/esm-es5/index.js +1 -1
  99. package/dist/esm-es5/{invoice-0e462fcc.js → invoice-d416ba65.js} +1 -1
  100. package/dist/esm-es5/{isCollectMobileTablet-0bcba25a.js → isCollectMobileTablet-48040572.js} +1 -1
  101. package/dist/esm-es5/loader.js +1 -1
  102. package/dist/esm-es5/localization-f4a7fb5a.js +1 -0
  103. package/dist/esm-es5/paypal-6af6b978.js +17 -0
  104. package/dist/esm-es5/{placeTestOrder-6c9a6c8a.js → placeTestOrder-d19ac166.js} +1 -1
  105. package/dist/esm-es5/{renderCheckoutCurrency-910fea67.js → renderCheckoutCurrency-c8aa8e7e.js} +1 -1
  106. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -0
  107. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  108. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  109. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  110. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -0
  111. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  112. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  113. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  114. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  115. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  116. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  117. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  118. package/dist/esm-es5/zonos-elements.js +1 -1
  119. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  120. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  121. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  122. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  123. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  124. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-store-credit.entry.js +1 -0
  126. package/dist/scripts/index.d.ts +58 -1
  127. package/dist/scripts/index.js +1 -1
  128. package/dist/scripts/loadZonos.js +1 -1
  129. package/dist/scripts/zonos.js +1 -1
  130. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
  131. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/zonos-store-credit.d.ts +17 -0
  132. package/dist/types/components/store/checkout/cart.d.ts +8 -1
  133. package/dist/types/components/store/checkout/storeCredit.d.ts +111 -0
  134. package/dist/types/components/store/checkout/stripe.d.ts +1 -1
  135. package/dist/types/components/store/translationStore/strings.arabic.d.ts +33 -0
  136. package/dist/types/components/store/translationStore/strings.base.d.ts +33 -0
  137. package/dist/types/components/store/translationStore/strings.chinese.d.ts +33 -0
  138. package/dist/types/components/store/translationStore/strings.danish.d.ts +33 -0
  139. package/dist/types/components/store/translationStore/strings.dutch.d.ts +33 -0
  140. package/dist/types/components/store/translationStore/strings.french.d.ts +33 -0
  141. package/dist/types/components/store/translationStore/strings.german.d.ts +33 -0
  142. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +33 -0
  143. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +33 -0
  144. package/dist/types/components/store/translationStore/strings.italian.d.ts +33 -0
  145. package/dist/types/components/store/translationStore/strings.japanese.d.ts +33 -0
  146. package/dist/types/components/store/translationStore/strings.korean.d.ts +33 -0
  147. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +33 -0
  148. package/dist/types/components/store/translationStore/strings.polish.d.ts +33 -0
  149. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +33 -0
  150. package/dist/types/components/store/translationStore/strings.russian.d.ts +33 -0
  151. package/dist/types/components/store/translationStore/strings.spanish.d.ts +33 -0
  152. package/dist/types/components/store/translationStore/strings.swedish.d.ts +33 -0
  153. package/dist/types/components/store/translationStore/strings.turkish.d.ts +33 -0
  154. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +33 -0
  155. package/dist/types/components.d.ts +21 -0
  156. package/dist/types/types/checkout/api/CheckoutSession.d.ts +9 -1
  157. package/dist/types/types/generated/graphql.internal.types.d.ts +713 -4
  158. package/dist/types/types/generated/graphql.internal.types.ts +956 -4
  159. package/dist/zonos-elements/index.esm.js +1 -1
  160. package/dist/zonos-elements/{p-456c0e52.js → p-13ed3789.js} +1 -1
  161. package/dist/zonos-elements/{p-0a2abbab.system.entry.js → p-17fbfda0.system.entry.js} +1 -1
  162. package/dist/zonos-elements/{p-8a424412.entry.js → p-1b56814d.entry.js} +1 -1
  163. package/dist/zonos-elements/p-1e6509d7.js +1 -0
  164. package/dist/zonos-elements/{p-3ad2a9a3.system.entry.js → p-1f63615f.system.entry.js} +1 -1
  165. package/dist/zonos-elements/p-2435f196.entry.js +1 -0
  166. package/dist/zonos-elements/{p-4d4b7faa.entry.js → p-26848428.entry.js} +1 -1
  167. package/dist/zonos-elements/p-28d62fc8.system.entry.js +1 -0
  168. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  169. package/dist/zonos-elements/p-2b7ef406.system.js +18 -0
  170. package/dist/zonos-elements/{p-54c95926.entry.js → p-3827041d.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-321d2963.js → p-48228d76.js} +1 -1
  172. package/dist/zonos-elements/p-4d5932ac.system.entry.js +1 -0
  173. package/dist/zonos-elements/{p-4d081ce8.entry.js → p-59fe8416.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-101226f3.system.entry.js → p-5ca50862.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-36bea5d5.system.entry.js → p-5fceccc3.system.entry.js} +1 -1
  176. package/dist/zonos-elements/p-64ad0854.entry.js +1 -0
  177. package/dist/zonos-elements/{p-c87d3d50.system.js → p-65892fa7.system.js} +1 -1
  178. package/dist/zonos-elements/{p-b9a4430c.entry.js → p-66e1dc55.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-09110bb7.system.entry.js → p-7042c6da.system.entry.js} +1 -1
  180. package/dist/zonos-elements/p-741e07e1.system.entry.js +1 -0
  181. package/dist/zonos-elements/{p-0aeba2c7.system.js → p-77113201.system.js} +1 -1
  182. package/dist/zonos-elements/{p-6d37f669.entry.js → p-77c0a02b.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-a75b3efc.system.entry.js → p-85529818.system.entry.js} +1 -1
  184. package/dist/zonos-elements/p-8f1ab25c.system.entry.js +1 -0
  185. package/dist/zonos-elements/{p-1b5f89d5.system.js → p-90b8c428.system.js} +1 -1
  186. package/dist/zonos-elements/p-997b7eef.js +1 -0
  187. package/dist/zonos-elements/{p-4c087a8e.system.entry.js → p-9bc5e944.system.entry.js} +1 -1
  188. package/dist/zonos-elements/p-9c6917ab.system.js +1 -0
  189. package/dist/zonos-elements/{p-358dfb9e.entry.js → p-9d64783a.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-1f1bf95c.system.entry.js → p-9f49e35a.system.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-3ece0f96.system.entry.js → p-a026b5ad.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-4a395eea.system.entry.js → p-a1a3657e.system.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-079bc009.system.entry.js → p-a1b0e9a5.system.entry.js} +1 -1
  194. package/dist/zonos-elements/p-a6a401e5.system.entry.js +1 -0
  195. package/dist/zonos-elements/{p-302b7105.system.entry.js → p-b07da3e8.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-f31fbbf0.entry.js → p-b08bf843.entry.js} +1 -1
  197. package/dist/zonos-elements/p-b334c76c.entry.js +1 -0
  198. package/dist/zonos-elements/{p-bc6b33fa.entry.js → p-b9581a92.entry.js} +1 -1
  199. package/dist/zonos-elements/p-c30a155e.js +1 -0
  200. package/dist/zonos-elements/{p-9c64ca98.system.entry.js → p-cad67b10.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-cc78c9d4.js +17 -0
  202. package/dist/zonos-elements/{p-5eaa0de1.entry.js → p-d2301d8a.entry.js} +1 -1
  203. package/dist/zonos-elements/p-d46484aa.entry.js +1 -0
  204. package/dist/zonos-elements/{p-b589f621.system.entry.js → p-d634f954.system.entry.js} +1 -1
  205. package/dist/zonos-elements/p-df316670.system.js +1 -0
  206. package/dist/zonos-elements/p-e331a235.js +1 -0
  207. package/dist/zonos-elements/p-e4d58bd7.js +1 -0
  208. package/dist/zonos-elements/{p-8d1efd7b.entry.js → p-e9ca4447.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-c9e3bc98.system.js → p-f0855df3.system.js} +1 -1
  210. package/dist/zonos-elements/{p-06e2bc14.entry.js → p-f25e7f5a.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-b360ee5b.entry.js → p-f4cc124f.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-bd004403.system.js → p-fa0139c3.system.js} +1 -1
  213. package/dist/zonos-elements/{p-8b206982.system.js → p-fa5767c3.system.js} +1 -1
  214. package/dist/zonos-elements/{p-26718a78.entry.js → p-fbfaa4f9.entry.js} +1 -1
  215. package/dist/zonos-elements/p-fe6cc354.entry.js +1 -0
  216. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  217. package/package.json +1 -1
  218. package/dist/cjs/zonos-toggle.cjs.entry.js +0 -35
  219. package/dist/esm/zonos-toggle.entry.js +0 -31
  220. package/dist/esm-es5/cart-efb30253.js +0 -1
  221. package/dist/esm-es5/hasInclusivePrice-565ddbe5.js +0 -1
  222. package/dist/esm-es5/localization-c1aff677.js +0 -1
  223. package/dist/esm-es5/paypal-06b67be0.js +0 -17
  224. package/dist/esm-es5/zonos-address-display_9.entry.js +0 -1
  225. package/dist/esm-es5/zonos-toggle.entry.js +0 -1
  226. package/dist/zonos-elements/p-096182f0.system.js +0 -1
  227. package/dist/zonos-elements/p-127e0395.js +0 -17
  228. package/dist/zonos-elements/p-197d9b23.system.entry.js +0 -1
  229. package/dist/zonos-elements/p-25dd58f8.system.entry.js +0 -1
  230. package/dist/zonos-elements/p-445072f8.js +0 -1
  231. package/dist/zonos-elements/p-507f00d2.js +0 -1
  232. package/dist/zonos-elements/p-5fd0cd66.system.js +0 -1
  233. package/dist/zonos-elements/p-661cd4ce.system.entry.js +0 -1
  234. package/dist/zonos-elements/p-777e0a81.entry.js +0 -1
  235. package/dist/zonos-elements/p-7e77b055.system.entry.js +0 -1
  236. package/dist/zonos-elements/p-80524eac.entry.js +0 -1
  237. package/dist/zonos-elements/p-9eea270b.entry.js +0 -1
  238. package/dist/zonos-elements/p-c4e358f2.js +0 -1
  239. package/dist/zonos-elements/p-cda52300.js +0 -1
  240. package/dist/zonos-elements/p-d233ef0d.entry.js +0 -1
  241. package/dist/zonos-elements/p-f8f7d491.js +0 -1
  242. package/dist/zonos-elements/p-fc0aa91e.system.js +0 -18
@@ -44,18 +44,27 @@ export declare const stringsSwedish: {
44
44
  'Adresa vulytsi': {
45
45
  value: string;
46
46
  };
47
+ 'Amount to apply: [amount]': {
48
+ value: string;
49
+ };
47
50
  'An unexpected error occurred when processing PayPal order.': {
48
51
  value: string;
49
52
  };
50
53
  Apply: {
51
54
  value: string;
52
55
  };
56
+ 'Apply full balance': {
57
+ value: string;
58
+ };
53
59
  'Are you sure?': {
54
60
  value: string;
55
61
  };
56
62
  Area: {
57
63
  value: string;
58
64
  };
65
+ 'Available balance: [amount]': {
66
+ value: string;
67
+ };
59
68
  Back: {
60
69
  value: string;
61
70
  };
@@ -224,6 +233,9 @@ export declare const stringsSwedish: {
224
233
  Emirate: {
225
234
  value: string;
226
235
  };
236
+ 'Enter amount': {
237
+ value: string;
238
+ };
227
239
  'Error creating Checkout': {
228
240
  value: string;
229
241
  };
@@ -347,6 +359,9 @@ export declare const stringsSwedish: {
347
359
  'No shipping methods found - try editing your address or contacting support if the error persists': {
348
360
  value: string;
349
361
  };
362
+ 'No store credit available': {
363
+ value: string;
364
+ };
350
365
  'Nothing due at delivery': {
351
366
  value: string;
352
367
  };
@@ -413,6 +428,9 @@ export declare const stringsSwedish: {
413
428
  'Phone number': {
414
429
  value: string;
415
430
  };
431
+ 'Place order': {
432
+ value: string;
433
+ };
416
434
  'Place test order': {
417
435
  value: string;
418
436
  };
@@ -569,6 +587,12 @@ export declare const stringsSwedish: {
569
587
  'State/Province/Region/Prefecture': {
570
588
  value: string;
571
589
  };
590
+ 'Store credit': {
591
+ value: string;
592
+ };
593
+ 'Store credit covers your full order': {
594
+ value: string;
595
+ };
572
596
  'Street address': {
573
597
  value: string;
574
598
  };
@@ -656,12 +680,18 @@ export declare const stringsSwedish: {
656
680
  Ulica: {
657
681
  value: string;
658
682
  };
683
+ 'Unable to apply store credit. Please try again.': {
684
+ value: string;
685
+ };
659
686
  'Unable to check inventory. Please try again.': {
660
687
  value: string;
661
688
  };
662
689
  'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
663
690
  value: string;
664
691
  };
692
+ 'Unable to place order with store credit. Please try again.': {
693
+ value: string;
694
+ };
665
695
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
666
696
  value: string;
667
697
  };
@@ -674,6 +704,9 @@ export declare const stringsSwedish: {
674
704
  'Update your address': {
675
705
  value: string;
676
706
  };
707
+ 'Use store credit': {
708
+ value: string;
709
+ };
677
710
  'View GAA Form.': {
678
711
  value: string;
679
712
  };
@@ -44,18 +44,27 @@ export declare const stringsTurkish: {
44
44
  'Adresa vulytsi': {
45
45
  value: string;
46
46
  };
47
+ 'Amount to apply: [amount]': {
48
+ value: string;
49
+ };
47
50
  'An unexpected error occurred when processing PayPal order.': {
48
51
  value: string;
49
52
  };
50
53
  Apply: {
51
54
  value: string;
52
55
  };
56
+ 'Apply full balance': {
57
+ value: string;
58
+ };
53
59
  'Are you sure?': {
54
60
  value: string;
55
61
  };
56
62
  Area: {
57
63
  value: string;
58
64
  };
65
+ 'Available balance: [amount]': {
66
+ value: string;
67
+ };
59
68
  Back: {
60
69
  value: string;
61
70
  };
@@ -224,6 +233,9 @@ export declare const stringsTurkish: {
224
233
  Emirate: {
225
234
  value: string;
226
235
  };
236
+ 'Enter amount': {
237
+ value: string;
238
+ };
227
239
  'Error creating Checkout': {
228
240
  value: string;
229
241
  };
@@ -347,6 +359,9 @@ export declare const stringsTurkish: {
347
359
  'No shipping methods found - try editing your address or contacting support if the error persists': {
348
360
  value: string;
349
361
  };
362
+ 'No store credit available': {
363
+ value: string;
364
+ };
350
365
  'Nothing due at delivery': {
351
366
  value: string;
352
367
  };
@@ -413,6 +428,9 @@ export declare const stringsTurkish: {
413
428
  'Phone number': {
414
429
  value: string;
415
430
  };
431
+ 'Place order': {
432
+ value: string;
433
+ };
416
434
  'Place test order': {
417
435
  value: string;
418
436
  };
@@ -569,6 +587,12 @@ export declare const stringsTurkish: {
569
587
  'State/Province/Region/Prefecture': {
570
588
  value: string;
571
589
  };
590
+ 'Store credit': {
591
+ value: string;
592
+ };
593
+ 'Store credit covers your full order': {
594
+ value: string;
595
+ };
572
596
  'Street address': {
573
597
  value: string;
574
598
  };
@@ -656,12 +680,18 @@ export declare const stringsTurkish: {
656
680
  Ulica: {
657
681
  value: string;
658
682
  };
683
+ 'Unable to apply store credit. Please try again.': {
684
+ value: string;
685
+ };
659
686
  'Unable to check inventory. Please try again.': {
660
687
  value: string;
661
688
  };
662
689
  'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
663
690
  value: string;
664
691
  };
692
+ 'Unable to place order with store credit. Please try again.': {
693
+ value: string;
694
+ };
665
695
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
666
696
  value: string;
667
697
  };
@@ -674,6 +704,9 @@ export declare const stringsTurkish: {
674
704
  'Update your address': {
675
705
  value: string;
676
706
  };
707
+ 'Use store credit': {
708
+ value: string;
709
+ };
677
710
  'View GAA Form.': {
678
711
  value: string;
679
712
  };
@@ -44,18 +44,27 @@ export declare const stringsVietnamese: {
44
44
  'Adresa vulytsi': {
45
45
  value: string;
46
46
  };
47
+ 'Amount to apply: [amount]': {
48
+ value: string;
49
+ };
47
50
  'An unexpected error occurred when processing PayPal order.': {
48
51
  value: string;
49
52
  };
50
53
  Apply: {
51
54
  value: string;
52
55
  };
56
+ 'Apply full balance': {
57
+ value: string;
58
+ };
53
59
  'Are you sure?': {
54
60
  value: string;
55
61
  };
56
62
  Area: {
57
63
  value: string;
58
64
  };
65
+ 'Available balance: [amount]': {
66
+ value: string;
67
+ };
59
68
  Back: {
60
69
  value: string;
61
70
  };
@@ -224,6 +233,9 @@ export declare const stringsVietnamese: {
224
233
  Emirate: {
225
234
  value: string;
226
235
  };
236
+ 'Enter amount': {
237
+ value: string;
238
+ };
227
239
  'Error creating Checkout': {
228
240
  value: string;
229
241
  };
@@ -347,6 +359,9 @@ export declare const stringsVietnamese: {
347
359
  'No shipping methods found - try editing your address or contacting support if the error persists': {
348
360
  value: string;
349
361
  };
362
+ 'No store credit available': {
363
+ value: string;
364
+ };
350
365
  'Nothing due at delivery': {
351
366
  value: string;
352
367
  };
@@ -413,6 +428,9 @@ export declare const stringsVietnamese: {
413
428
  'Phone number': {
414
429
  value: string;
415
430
  };
431
+ 'Place order': {
432
+ value: string;
433
+ };
416
434
  'Place test order': {
417
435
  value: string;
418
436
  };
@@ -569,6 +587,12 @@ export declare const stringsVietnamese: {
569
587
  'State/Province/Region/Prefecture': {
570
588
  value: string;
571
589
  };
590
+ 'Store credit': {
591
+ value: string;
592
+ };
593
+ 'Store credit covers your full order': {
594
+ value: string;
595
+ };
572
596
  'Street address': {
573
597
  value: string;
574
598
  };
@@ -656,12 +680,18 @@ export declare const stringsVietnamese: {
656
680
  Ulica: {
657
681
  value: string;
658
682
  };
683
+ 'Unable to apply store credit. Please try again.': {
684
+ value: string;
685
+ };
659
686
  'Unable to check inventory. Please try again.': {
660
687
  value: string;
661
688
  };
662
689
  'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
663
690
  value: string;
664
691
  };
692
+ 'Unable to place order with store credit. Please try again.': {
693
+ value: string;
694
+ };
665
695
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
666
696
  value: string;
667
697
  };
@@ -674,6 +704,9 @@ export declare const stringsVietnamese: {
674
704
  'Update your address': {
675
705
  value: string;
676
706
  };
707
+ 'Use store credit': {
708
+ value: string;
709
+ };
677
710
  'View GAA Form.': {
678
711
  value: string;
679
712
  };
@@ -1316,6 +1316,12 @@ export namespace Components {
1316
1316
  */
1317
1317
  "spinnerColor"?: SpinnerColor;
1318
1318
  }
1319
+ interface ZonosStoreCredit {
1320
+ /**
1321
+ * Whether the component is enabled
1322
+ */
1323
+ "enabled": boolean;
1324
+ }
1319
1325
  /**
1320
1326
  * This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
1321
1327
  */
@@ -2352,6 +2358,12 @@ declare global {
2352
2358
  prototype: HTMLZonosSpinnerElement;
2353
2359
  new (): HTMLZonosSpinnerElement;
2354
2360
  };
2361
+ interface HTMLZonosStoreCreditElement extends Components.ZonosStoreCredit, HTMLStencilElement {
2362
+ }
2363
+ var HTMLZonosStoreCreditElement: {
2364
+ prototype: HTMLZonosStoreCreditElement;
2365
+ new (): HTMLZonosStoreCreditElement;
2366
+ };
2355
2367
  interface HTMLZonosStripeInputElementEventMap {
2356
2368
  "inputChange": string;
2357
2369
  }
@@ -2527,6 +2539,7 @@ declare global {
2527
2539
  "zonos-shipping-rich-radio": HTMLZonosShippingRichRadioElement;
2528
2540
  "zonos-skeleton": HTMLZonosSkeletonElement;
2529
2541
  "zonos-spinner": HTMLZonosSpinnerElement;
2542
+ "zonos-store-credit": HTMLZonosStoreCreditElement;
2530
2543
  "zonos-stripe-input": HTMLZonosStripeInputElement;
2531
2544
  "zonos-stripe-phone-input": HTMLZonosStripePhoneInputElement;
2532
2545
  "zonos-stripe-select": HTMLZonosStripeSelectElement;
@@ -3856,6 +3869,12 @@ declare namespace LocalJSX {
3856
3869
  */
3857
3870
  "spinnerColor"?: SpinnerColor;
3858
3871
  }
3872
+ interface ZonosStoreCredit {
3873
+ /**
3874
+ * Whether the component is enabled
3875
+ */
3876
+ "enabled"?: boolean;
3877
+ }
3859
3878
  /**
3860
3879
  * This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
3861
3880
  */
@@ -4177,6 +4196,7 @@ declare namespace LocalJSX {
4177
4196
  "zonos-shipping-rich-radio": ZonosShippingRichRadio;
4178
4197
  "zonos-skeleton": ZonosSkeleton;
4179
4198
  "zonos-spinner": ZonosSpinner;
4199
+ "zonos-store-credit": ZonosStoreCredit;
4180
4200
  "zonos-stripe-input": ZonosStripeInput;
4181
4201
  "zonos-stripe-phone-input": ZonosStripePhoneInput;
4182
4202
  "zonos-stripe-select": ZonosStripeSelect;
@@ -4258,6 +4278,7 @@ declare module "@stencil/core" {
4258
4278
  "zonos-shipping-rich-radio": LocalJSX.ZonosShippingRichRadio & JSXBase.HTMLAttributes<HTMLZonosShippingRichRadioElement>;
4259
4279
  "zonos-skeleton": LocalJSX.ZonosSkeleton & JSXBase.HTMLAttributes<HTMLZonosSkeletonElement>;
4260
4280
  "zonos-spinner": LocalJSX.ZonosSpinner & JSXBase.HTMLAttributes<HTMLZonosSpinnerElement>;
4281
+ "zonos-store-credit": LocalJSX.ZonosStoreCredit & JSXBase.HTMLAttributes<HTMLZonosStoreCreditElement>;
4261
4282
  /**
4262
4283
  * This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
4263
4284
  */
@@ -1,4 +1,4 @@
1
- import type { CheckoutSessionBaseCurrencyUpdateMutation, CheckoutSessionPaymentIntentCreateMutation, CountryCode, CurrencyCode, GetCheckoutSessionQuery, GetCollectCheckoutSessionQuery } from "../../generated/graphql.internal.types";
1
+ import type { CheckoutSessionBaseCurrencyUpdateMutation, CheckoutSessionPaymentIntentCreateMutation, CheckoutSessionStoreCreditOrderCreateMutation, CountryCode, CurrencyCode, GetCheckoutSessionQuery, GetCollectCheckoutSessionQuery } from "../../generated/graphql.internal.types";
2
2
  export type GetCheckoutSessionRequest = {
3
3
  checkoutSessionId: string;
4
4
  };
@@ -26,6 +26,10 @@ export type CheckoutSessionUpdateRequest = {
26
26
  presentmentCountryCode: CountryCode | null;
27
27
  shipToPartyId?: string | null;
28
28
  skipPaymentIntent?: boolean;
29
+ storeCreditApplication?: {
30
+ amount?: number;
31
+ mode: 'FULL' | 'NONE' | 'PARTIAL';
32
+ };
29
33
  varianceTestInput?: CheckoutSessionVariantTest[];
30
34
  };
31
35
  export type CheckoutSessionUpdateMetadata = {
@@ -85,4 +89,8 @@ export type GetCollectCheckoutSessionPayload = {
85
89
  checkoutSessionId: string;
86
90
  };
87
91
  export type GetCollectCheckoutSessionResponse = GetCollectCheckoutSessionQuery;
92
+ export type StoreCreditOrderCreateRequest = {
93
+ checkoutSessionId: string;
94
+ };
95
+ export type StoreCreditOrderCreateResponse = CheckoutSessionStoreCreditOrderCreateMutation;
88
96
  export {};