@zonos/elements 1.3.142 → 1.3.143

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 (185) hide show
  1. package/dist/cjs/TaxId-4632639d.js +29 -0
  2. package/dist/cjs/{cart-199b0751.js → cart-6ac8dc06.js} +251 -1
  3. package/dist/cjs/index.cjs.js +10 -7
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-4f1ee604.js → paypal-ea8b4ca0.js} +1 -1
  6. package/dist/cjs/{zonos-address_7.cjs.entry.js → zonos-address_8.cjs.entry.js} +59 -4
  7. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +25 -4
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  9. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +5 -5
  13. package/dist/cjs/zonos-elements.cjs.js +1 -1
  14. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  15. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  21. package/dist/collection/collection-manifest.json +1 -0
  22. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -0
  23. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +22 -1
  24. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +162 -0
  25. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +220 -0
  26. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  27. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  28. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  29. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  30. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  31. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  32. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  33. package/dist/collection/components/main/zonos-controller.js +1 -1
  34. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  35. package/dist/collection/components/store/checkout/stripe.js +9 -1
  36. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  37. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  38. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  39. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  40. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  41. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  42. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  43. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  44. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  45. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  46. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  47. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  48. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  49. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  50. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  51. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  52. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  53. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  54. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  55. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  56. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  57. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
  58. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  59. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  60. package/dist/collection/types/checkout/TaxId.js +24 -0
  61. package/dist/collection/types/generated/graphql.internal.types.js +52 -0
  62. package/dist/collection/types/index.js +1 -0
  63. package/dist/esm/TaxId-915ef042.js +26 -0
  64. package/dist/esm/{cart-cf87ec6f.js → cart-acba54d0.js} +251 -1
  65. package/dist/esm/index.js +8 -7
  66. package/dist/esm/loader.js +1 -1
  67. package/dist/esm/{paypal-b7124cc4.js → paypal-3401f757.js} +1 -1
  68. package/dist/esm/{zonos-address_7.entry.js → zonos-address_8.entry.js} +59 -5
  69. package/dist/esm/zonos-cart-items_13.entry.js +25 -4
  70. package/dist/esm/zonos-checkout.entry.js +2 -2
  71. package/dist/esm/zonos-component.entry.js +1 -1
  72. package/dist/esm/zonos-controller.entry.js +2 -2
  73. package/dist/esm/zonos-country-flag.entry.js +1 -1
  74. package/dist/esm/zonos-country-select_4.entry.js +5 -5
  75. package/dist/esm/zonos-elements.js +1 -1
  76. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  77. package/dist/esm/zonos-hello.entry.js +1 -1
  78. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  79. package/dist/esm/zonos-notification_3.entry.js +4 -4
  80. package/dist/esm/zonos-toggle.entry.js +2 -2
  81. package/dist/esm/zonos-tooltip.entry.js +2 -2
  82. package/dist/esm/zonos-v-stack.entry.js +2 -2
  83. package/dist/esm-es5/TaxId-915ef042.js +1 -0
  84. package/dist/esm-es5/cart-acba54d0.js +1 -0
  85. package/dist/esm-es5/index.js +1 -1
  86. package/dist/esm-es5/loader.js +1 -1
  87. package/dist/esm-es5/{paypal-b7124cc4.js → paypal-3401f757.js} +1 -1
  88. package/dist/esm-es5/{zonos-address_7.entry.js → zonos-address_8.entry.js} +1 -1
  89. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  90. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  91. package/dist/esm-es5/zonos-component.entry.js +1 -1
  92. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  93. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  94. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  95. package/dist/esm-es5/zonos-elements.js +1 -1
  96. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  97. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  98. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  99. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  100. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  101. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  102. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  103. package/dist/scripts/index.d.ts +109 -0
  104. package/dist/scripts/index.js +1 -1
  105. package/dist/scripts/loadZonos.js +1 -1
  106. package/dist/scripts/zonos.js +1 -1
  107. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  108. package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +42 -0
  109. package/dist/types/components/store/checkout/stripe.d.ts +8 -0
  110. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  111. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  112. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  113. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  114. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  115. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  116. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  117. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  118. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  119. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  120. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  121. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  122. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  123. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  124. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  125. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  126. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  127. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  128. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  129. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  130. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  131. package/dist/types/components.d.ts +100 -0
  132. package/dist/types/types/checkout/TaxId.d.ts +20 -0
  133. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
  134. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  135. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  136. package/dist/types/types/generated/graphql.internal.types.d.ts +71 -109
  137. package/dist/types/types/generated/graphql.internal.types.ts +91 -98
  138. package/dist/types/types/index.d.ts +1 -0
  139. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  140. package/dist/zonos-elements/index.esm.js +1 -1
  141. package/dist/zonos-elements/{p-2949faf3.entry.js → p-0ab29580.entry.js} +1 -1
  142. package/dist/zonos-elements/{p-c1b098de.system.js → p-0b5c9f89.system.js} +1 -1
  143. package/dist/zonos-elements/{p-2d514c1d.system.entry.js → p-0db28495.system.entry.js} +1 -1
  144. package/dist/zonos-elements/{p-9b720cf4.entry.js → p-1198c874.entry.js} +1 -1
  145. package/dist/zonos-elements/p-12a6b7bd.system.js +1 -0
  146. package/dist/zonos-elements/{p-232963d3.system.entry.js → p-2ab5e362.system.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-8c487480.entry.js → p-302f5d25.entry.js} +1 -1
  148. package/dist/zonos-elements/p-386325ae.system.js +1 -0
  149. package/dist/zonos-elements/{p-2e152517.system.entry.js → p-38d0c496.system.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-65069140.entry.js → p-3f991022.entry.js} +1 -1
  151. package/dist/zonos-elements/{p-2c19f5e2.entry.js → p-4c7f0417.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-72256333.entry.js → p-54058b57.entry.js} +1 -1
  153. package/dist/zonos-elements/p-5bd927f2.js +1 -0
  154. package/dist/zonos-elements/{p-f295030e.system.entry.js → p-654fc23d.system.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-ebdd9b64.system.entry.js → p-6a8862a6.system.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-0e54432c.system.entry.js → p-78e4f877.system.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-983f23a1.system.entry.js → p-8ac02349.system.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-ded984d9.system.entry.js → p-8e30228d.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-076388d3.entry.js → p-8f26cc7e.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-2b8cddb7.entry.js → p-9d7a860c.entry.js} +1 -1
  161. package/dist/zonos-elements/p-9da2d116.entry.js +1 -0
  162. package/dist/zonos-elements/{p-a8bd492d.system.entry.js → p-9e84f647.system.entry.js} +1 -1
  163. package/dist/zonos-elements/p-a08ea336.js +1 -0
  164. package/dist/zonos-elements/p-a4f045d4.js +17 -0
  165. package/dist/zonos-elements/{p-68d79b58.entry.js → p-ab6973a5.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-58a09715.entry.js → p-b2ea7adb.entry.js} +1 -1
  167. package/dist/zonos-elements/p-c437d76c.system.js +1 -0
  168. package/dist/zonos-elements/{p-3cb4468f.system.entry.js → p-d1afd314.system.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-d381288e.entry.js → p-d3867033.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-0920500d.entry.js → p-d9511c4a.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-d198421b.system.entry.js → p-dba6147b.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-6b490b0a.system.entry.js → p-df9c0bfa.system.entry.js} +1 -1
  173. package/dist/zonos-elements/p-e9964a5a.system.js +1 -1
  174. package/dist/zonos-elements/{p-3cf30d83.entry.js → p-f2d07062.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-673b4402.system.entry.js → p-f9aef1fc.system.entry.js} +1 -1
  176. package/dist/zonos-elements/p-fa538a74.system.entry.js +1 -0
  177. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  178. package/package.json +1 -1
  179. package/dist/esm-es5/cart-cf87ec6f.js +0 -1
  180. package/dist/zonos-elements/p-0cda2818.system.js +0 -1
  181. package/dist/zonos-elements/p-0d2cf216.entry.js +0 -1
  182. package/dist/zonos-elements/p-272052bd.system.entry.js +0 -1
  183. package/dist/zonos-elements/p-3d82e70e.js +0 -1
  184. package/dist/zonos-elements/p-6271e108.js +0 -17
  185. package/dist/zonos-elements/p-866bb93e.system.js +0 -1
@@ -38,6 +38,9 @@ export declare const stringsTurkish: {
38
38
  'Billing address': {
39
39
  value: string;
40
40
  };
41
+ 'CPF/CNPJ number': {
42
+ value: string;
43
+ };
41
44
  Cancel: {
42
45
  value: string;
43
46
  };
@@ -221,6 +224,9 @@ export declare const stringsTurkish: {
221
224
  "Payment processing. We'll update you when payment is received.": {
222
225
  value: string;
223
226
  };
227
+ 'Personal Customers Clearance Code': {
228
+ value: string;
229
+ };
224
230
  'Phone number': {
225
231
  value: string;
226
232
  };
@@ -266,6 +272,9 @@ export declare const stringsTurkish: {
266
272
  Quantity: {
267
273
  value: string;
268
274
  };
275
+ 'RFC number': {
276
+ value: string;
277
+ };
269
278
  Reload: {
270
279
  value: string;
271
280
  };
@@ -371,6 +380,9 @@ export declare const stringsTurkish: {
371
380
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
372
381
  value: string;
373
382
  };
383
+ 'Unique Labor Identification Code': {
384
+ value: string;
385
+ };
374
386
  'Update address': {
375
387
  value: string;
376
388
  };
@@ -38,6 +38,9 @@ export declare const stringsVietnamese: {
38
38
  'Billing address': {
39
39
  value: string;
40
40
  };
41
+ 'CPF/CNPJ number': {
42
+ value: string;
43
+ };
41
44
  Cancel: {
42
45
  value: string;
43
46
  };
@@ -221,6 +224,9 @@ export declare const stringsVietnamese: {
221
224
  "Payment processing. We'll update you when payment is received.": {
222
225
  value: string;
223
226
  };
227
+ 'Personal Customers Clearance Code': {
228
+ value: string;
229
+ };
224
230
  'Phone number': {
225
231
  value: string;
226
232
  };
@@ -266,6 +272,9 @@ export declare const stringsVietnamese: {
266
272
  Quantity: {
267
273
  value: string;
268
274
  };
275
+ 'RFC number': {
276
+ value: string;
277
+ };
269
278
  Reload: {
270
279
  value: string;
271
280
  };
@@ -371,6 +380,9 @@ export declare const stringsVietnamese: {
371
380
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
372
381
  value: string;
373
382
  };
383
+ 'Unique Labor Identification Code': {
384
+ value: string;
385
+ };
374
386
  'Update address': {
375
387
  value: string;
376
388
  };
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
4
4
  localeTo?: string;
5
5
  storeId: number;
6
6
  }) => Promise<{
7
- countryCodes: Array<string> | null;
7
+ countryCodes: Array<string>;
8
8
  countryCodesPageMessageLinks: Array<{
9
9
  id: number;
10
10
  message: {
@@ -961,6 +961,39 @@ export namespace Components {
961
961
  */
962
962
  "spinnerColor"?: SpinnerColor;
963
963
  }
964
+ /**
965
+ * 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
966
+ */
967
+ interface ZonosStripeInput {
968
+ /**
969
+ * Input label
970
+ */
971
+ "inputLabel": string;
972
+ /**
973
+ * Placeholder for the input
974
+ */
975
+ "inputPlaceholder": string;
976
+ /**
977
+ * Value of the stripeInput
978
+ */
979
+ "inputValue": string;
980
+ /**
981
+ * Disables the input
982
+ */
983
+ "isDisabled": boolean;
984
+ /**
985
+ * Error state of the input
986
+ */
987
+ "isError": boolean;
988
+ /**
989
+ * Primary color to override primary color from appearance primary color in setting.
990
+ */
991
+ "overridePrimaryColor"?: string;
992
+ /**
993
+ * Secondary color to override secondary color from appearance secondary color in setting
994
+ */
995
+ "overrideSecondaryColor"?: string;
996
+ }
964
997
  interface ZonosText {
965
998
  /**
966
999
  * The size of the text
@@ -1101,6 +1134,10 @@ export interface ZonosShippingRichRadioCustomEvent<T> extends CustomEvent<T> {
1101
1134
  detail: T;
1102
1135
  target: HTMLZonosShippingRichRadioElement;
1103
1136
  }
1137
+ export interface ZonosStripeInputCustomEvent<T> extends CustomEvent<T> {
1138
+ detail: T;
1139
+ target: HTMLZonosStripeInputElement;
1140
+ }
1104
1141
  export interface ZonosToggleCustomEvent<T> extends CustomEvent<T> {
1105
1142
  detail: T;
1106
1143
  target: HTMLZonosToggleElement;
@@ -1558,6 +1595,26 @@ declare global {
1558
1595
  prototype: HTMLZonosSpinnerElement;
1559
1596
  new (): HTMLZonosSpinnerElement;
1560
1597
  };
1598
+ interface HTMLZonosStripeInputElementEventMap {
1599
+ "inputChange": string;
1600
+ }
1601
+ /**
1602
+ * 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
1603
+ */
1604
+ interface HTMLZonosStripeInputElement extends Components.ZonosStripeInput, HTMLStencilElement {
1605
+ addEventListener<K extends keyof HTMLZonosStripeInputElementEventMap>(type: K, listener: (this: HTMLZonosStripeInputElement, ev: ZonosStripeInputCustomEvent<HTMLZonosStripeInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1606
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1607
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1608
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1609
+ removeEventListener<K extends keyof HTMLZonosStripeInputElementEventMap>(type: K, listener: (this: HTMLZonosStripeInputElement, ev: ZonosStripeInputCustomEvent<HTMLZonosStripeInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1610
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1611
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1612
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1613
+ }
1614
+ var HTMLZonosStripeInputElement: {
1615
+ prototype: HTMLZonosStripeInputElement;
1616
+ new (): HTMLZonosStripeInputElement;
1617
+ };
1561
1618
  interface HTMLZonosTextElement extends Components.ZonosText, HTMLStencilElement {
1562
1619
  }
1563
1620
  var HTMLZonosTextElement: {
@@ -1650,6 +1707,7 @@ declare global {
1650
1707
  "zonos-shipping": HTMLZonosShippingElement;
1651
1708
  "zonos-shipping-rich-radio": HTMLZonosShippingRichRadioElement;
1652
1709
  "zonos-spinner": HTMLZonosSpinnerElement;
1710
+ "zonos-stripe-input": HTMLZonosStripeInputElement;
1653
1711
  "zonos-text": HTMLZonosTextElement;
1654
1712
  "zonos-toggle": HTMLZonosToggleElement;
1655
1713
  "zonos-tooltip": HTMLZonosTooltipElement;
@@ -2569,6 +2627,43 @@ declare namespace LocalJSX {
2569
2627
  */
2570
2628
  "spinnerColor"?: SpinnerColor;
2571
2629
  }
2630
+ /**
2631
+ * 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
2632
+ */
2633
+ interface ZonosStripeInput {
2634
+ /**
2635
+ * Input label
2636
+ */
2637
+ "inputLabel": string;
2638
+ /**
2639
+ * Placeholder for the input
2640
+ */
2641
+ "inputPlaceholder"?: string;
2642
+ /**
2643
+ * Value of the stripeInput
2644
+ */
2645
+ "inputValue"?: string;
2646
+ /**
2647
+ * Disables the input
2648
+ */
2649
+ "isDisabled"?: boolean;
2650
+ /**
2651
+ * Error state of the input
2652
+ */
2653
+ "isError"?: boolean;
2654
+ /**
2655
+ * Event to emit when input value changes
2656
+ */
2657
+ "onInputChange"?: (event: ZonosStripeInputCustomEvent<string>) => void;
2658
+ /**
2659
+ * Primary color to override primary color from appearance primary color in setting.
2660
+ */
2661
+ "overridePrimaryColor"?: string;
2662
+ /**
2663
+ * Secondary color to override secondary color from appearance secondary color in setting
2664
+ */
2665
+ "overrideSecondaryColor"?: string;
2666
+ }
2572
2667
  interface ZonosText {
2573
2668
  /**
2574
2669
  * The size of the text
@@ -2694,6 +2789,7 @@ declare namespace LocalJSX {
2694
2789
  "zonos-shipping": ZonosShipping;
2695
2790
  "zonos-shipping-rich-radio": ZonosShippingRichRadio;
2696
2791
  "zonos-spinner": ZonosSpinner;
2792
+ "zonos-stripe-input": ZonosStripeInput;
2697
2793
  "zonos-text": ZonosText;
2698
2794
  "zonos-toggle": ZonosToggle;
2699
2795
  "zonos-tooltip": ZonosTooltip;
@@ -2750,6 +2846,10 @@ declare module "@stencil/core" {
2750
2846
  "zonos-shipping": LocalJSX.ZonosShipping & JSXBase.HTMLAttributes<HTMLZonosShippingElement>;
2751
2847
  "zonos-shipping-rich-radio": LocalJSX.ZonosShippingRichRadio & JSXBase.HTMLAttributes<HTMLZonosShippingRichRadioElement>;
2752
2848
  "zonos-spinner": LocalJSX.ZonosSpinner & JSXBase.HTMLAttributes<HTMLZonosSpinnerElement>;
2849
+ /**
2850
+ * 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
2851
+ */
2852
+ "zonos-stripe-input": LocalJSX.ZonosStripeInput & JSXBase.HTMLAttributes<HTMLZonosStripeInputElement>;
2753
2853
  "zonos-text": LocalJSX.ZonosText & JSXBase.HTMLAttributes<HTMLZonosTextElement>;
2754
2854
  "zonos-toggle": LocalJSX.ZonosToggle & JSXBase.HTMLAttributes<HTMLZonosToggleElement>;
2755
2855
  "zonos-tooltip": LocalJSX.ZonosTooltip & JSXBase.HTMLAttributes<HTMLZonosTooltipElement>;
@@ -0,0 +1,20 @@
1
+ export declare const countryRequireTaxId: ["AR", "BR", "KR", "MX"];
2
+ export type CountryRequireTaxId = (typeof countryRequireTaxId)[number];
3
+ export declare const shipToTaxIdLabels: {
4
+ readonly AR: {
5
+ readonly friendlyName: "Unique Labor Identification Code";
6
+ readonly placeholder: "00-00000000-0";
7
+ };
8
+ readonly BR: {
9
+ readonly friendlyName: "CPF/CNPJ number";
10
+ readonly placeholder: "000.000.000-00";
11
+ };
12
+ readonly KR: {
13
+ readonly friendlyName: "Personal Customers Clearance Code";
14
+ readonly placeholder: "000-00-00000";
15
+ };
16
+ readonly MX: {
17
+ readonly friendlyName: "RFC number";
18
+ readonly placeholder: "XAXX010101000";
19
+ };
20
+ };
@@ -56,6 +56,10 @@ export type CalculateLandedCostRequest = {
56
56
  key: string;
57
57
  value: string;
58
58
  }[];
59
+ /**
60
+ * TaxId that the some destination countries require for the shipment.
61
+ */
62
+ shipToTaxId?: string;
59
63
  shippingAddress: {
60
64
  addressLine1: string;
61
65
  addressLine2?: string | undefined;
@@ -103,6 +107,10 @@ export type CartCalculateLandedCostRequest = {
103
107
  key: string;
104
108
  value: string;
105
109
  }[];
110
+ /**
111
+ * TaxId that the some destination countries require for the shipment.
112
+ */
113
+ shipToTaxId?: string;
106
114
  shippingAddress: {
107
115
  addressLine1: string;
108
116
  addressLine2?: string | undefined;
@@ -557,7 +557,7 @@ export type FailToGetQuoteErrorsQuery = {
557
557
  };
558
558
  export type LocaleCountryMessagesQuery = {
559
559
  locale_countryCodesPage: Array<{
560
- countryCodes: Array<string> | null;
560
+ countryCodes: Array<string>;
561
561
  countryCodesPageMessageLinks: Array<{
562
562
  id: number;
563
563
  message: {
@@ -565,7 +565,7 @@ export type FailToGetQuoteErrorsQuery = {
565
565
 
566
566
  export type LocaleCountryMessagesQuery = {
567
567
  locale_countryCodesPage: Array<{
568
- countryCodes: Array<string> | null;
568
+ countryCodes: Array<string>;
569
569
  countryCodesPageMessageLinks: Array<{
570
570
  id: number;
571
571
  message: {
@@ -131,6 +131,46 @@ export declare const allowedCharacterSets: {
131
131
  readonly Latin: "LATIN";
132
132
  };
133
133
  export type AllowedCharacterSets = (typeof allowedCharacterSets)[keyof typeof allowedCharacterSets];
134
+ export declare const allowedSettlementCurrencies: {
135
+ readonly Local: "LOCAL";
136
+ readonly LocalAndUsd: "LOCAL_AND_USD";
137
+ };
138
+ export type AllowedSettlementCurrencies = (typeof allowedSettlementCurrencies)[keyof typeof allowedSettlementCurrencies];
139
+ export declare const amountDetailRefundSourceType: {
140
+ readonly Discount: "DISCOUNT";
141
+ readonly DutyTaxFee: "DUTY_TAX_FEE";
142
+ readonly Item: "ITEM";
143
+ readonly Shipping: "SHIPPING";
144
+ };
145
+ export type AmountDetailRefundSourceType = (typeof amountDetailRefundSourceType)[keyof typeof amountDetailRefundSourceType];
146
+ export declare const amountDetailSourceType: {
147
+ readonly Discount: "DISCOUNT";
148
+ readonly Duty: "DUTY";
149
+ readonly DutyTaxFee: "DUTY_TAX_FEE";
150
+ readonly Fee: "FEE";
151
+ readonly Item: "ITEM";
152
+ readonly Shipping: "SHIPPING";
153
+ readonly Tax: "TAX";
154
+ };
155
+ export type AmountDetailSourceType = (typeof amountDetailSourceType)[keyof typeof amountDetailSourceType];
156
+ export declare const amountDetailSubtotalType: {
157
+ readonly Discount: "DISCOUNT";
158
+ readonly Duty: "DUTY";
159
+ readonly Fee: "FEE";
160
+ readonly Item: "ITEM";
161
+ readonly Shipping: "SHIPPING";
162
+ readonly Tax: "TAX";
163
+ };
164
+ export type AmountDetailSubtotalType = (typeof amountDetailSubtotalType)[keyof typeof amountDetailSubtotalType];
165
+ export declare const amountDetailUse: {
166
+ readonly BillingCompany: "BILLING_COMPANY";
167
+ readonly MerchantBase: "MERCHANT_BASE";
168
+ readonly MerchantProvided: "MERCHANT_PROVIDED";
169
+ readonly MerchantSettled: "MERCHANT_SETTLED";
170
+ readonly ShopperPresented: "SHOPPER_PRESENTED";
171
+ readonly ZonosBase: "ZONOS_BASE";
172
+ };
173
+ export type AmountDetailUse = (typeof amountDetailUse)[keyof typeof amountDetailUse];
134
174
  export type AmountRange = {
135
175
  max?: InputMaybe<Scalars['Decimal']['input']>;
136
176
  min?: InputMaybe<Scalars['Decimal']['input']>;
@@ -1714,8 +1754,10 @@ export declare const itemKeyPreference: {
1714
1754
  };
1715
1755
  export type ItemKeyPreference = (typeof itemKeyPreference)[keyof typeof itemKeyPreference];
1716
1756
  export declare const itemMeasurementType: {
1757
+ readonly AlcoholByVolume: "ALCOHOL_BY_VOLUME";
1717
1758
  readonly Height: "HEIGHT";
1718
1759
  readonly Length: "LENGTH";
1760
+ readonly Volume: "VOLUME";
1719
1761
  readonly Weight: "WEIGHT";
1720
1762
  readonly Width: "WIDTH";
1721
1763
  };
@@ -1748,9 +1790,12 @@ export declare const itemUnitOfMeasure: {
1748
1790
  readonly Gram: "GRAM";
1749
1791
  readonly Inch: "INCH";
1750
1792
  readonly Kilogram: "KILOGRAM";
1793
+ readonly Liter: "LITER";
1751
1794
  readonly Meter: "METER";
1795
+ readonly Milliliter: "MILLILITER";
1752
1796
  readonly Millimeter: "MILLIMETER";
1753
1797
  readonly Ounce: "OUNCE";
1798
+ readonly Percentage: "PERCENTAGE";
1754
1799
  readonly Pound: "POUND";
1755
1800
  readonly Yard: "YARD";
1756
1801
  };
@@ -1825,6 +1870,7 @@ export declare const landedCostFeeType: {
1825
1870
  readonly Country: "COUNTRY";
1826
1871
  readonly CurrencyConversionFee: "CURRENCY_CONVERSION_FEE";
1827
1872
  readonly DdpServiceFee: "DDP_SERVICE_FEE";
1873
+ readonly Discount: "DISCOUNT";
1828
1874
  readonly Duty: "DUTY";
1829
1875
  readonly InclusivePriceAdjustment: "INCLUSIVE_PRICE_ADJUSTMENT";
1830
1876
  readonly InclusivePricing: "INCLUSIVE_PRICING";
@@ -2497,6 +2543,7 @@ export declare const storeFeeRuleType: {
2497
2543
  readonly RequiredNegotiable: "REQUIRED_NEGOTIABLE";
2498
2544
  readonly RequiredNonNegotiable: "REQUIRED_NON_NEGOTIABLE";
2499
2545
  readonly Transitory: "TRANSITORY";
2546
+ readonly TransitoryCustom: "TRANSITORY_CUSTOM";
2500
2547
  };
2501
2548
  export type StoreFeeRuleType = (typeof storeFeeRuleType)[keyof typeof storeFeeRuleType];
2502
2549
  export declare const stripeActiveStatus: {
@@ -2589,7 +2636,9 @@ export declare const taxCalculationType: {
2589
2636
  export type TaxCalculationType = (typeof taxCalculationType)[keyof typeof taxCalculationType];
2590
2637
  export declare const taxIdType: {
2591
2638
  readonly Cnp: "CNP";
2639
+ readonly Cuil: "CUIL";
2592
2640
  readonly Dan: "DAN";
2641
+ readonly Dni: "DNI";
2593
2642
  readonly Dtf: "DTF";
2594
2643
  readonly Dun: "DUN";
2595
2644
  readonly Ein: "EIN";
@@ -2600,7 +2649,12 @@ export declare const taxIdType: {
2600
2649
  readonly Hmrc: "HMRC";
2601
2650
  readonly Ioss: "IOSS";
2602
2651
  readonly Lvg: "LVG";
2652
+ readonly Npwp: "NPWP";
2603
2653
  readonly Osr: "OSR";
2654
+ readonly Pan: "PAN";
2655
+ readonly Pccc: "PCCC";
2656
+ readonly Rfc: "RFC";
2657
+ readonly Run: "RUN";
2604
2658
  readonly Ssn: "SSN";
2605
2659
  readonly Sta: "STA";
2606
2660
  readonly Tan: "TAN";
@@ -3109,6 +3163,20 @@ export type FulfillmentCenterQuery = {
3109
3163
  type: FulfillmentCenterType;
3110
3164
  }> | null;
3111
3165
  };
3166
+ export type PartyInfoQuery = {
3167
+ party: {
3168
+ person: {
3169
+ email: string | null;
3170
+ firstName: string | null;
3171
+ lastName: string | null;
3172
+ metadata: Array<{
3173
+ key: string;
3174
+ value: string | null;
3175
+ } | null> | null;
3176
+ phone: string | null;
3177
+ } | null;
3178
+ } | null;
3179
+ };
3112
3180
  export type PaypalOrderCaptureMutation = {
3113
3181
  paypalOrderCapture: {
3114
3182
  order: {
@@ -3683,115 +3751,6 @@ export type GetOrderQuery = {
3683
3751
  trackingNumbers: Array<string | null> | null;
3684
3752
  } | null;
3685
3753
  };
3686
- export type OrderFragmentFragment = {
3687
- accountOrderNumber: string | null;
3688
- amountSubtotals: {
3689
- duties: number;
3690
- fees: number;
3691
- items: number;
3692
- shipping: number;
3693
- taxes: number;
3694
- variance: number;
3695
- };
3696
- createdAt: string;
3697
- currencyCode: CurrencyCode;
3698
- id: string;
3699
- items: Array<{
3700
- amount: number;
3701
- attributes: Array<{
3702
- key: string | null;
3703
- value: string | null;
3704
- } | null> | null;
3705
- countryOfOrigin: CountryCode | null;
3706
- description: string | null;
3707
- hsCode: string | null;
3708
- metadata: Array<{
3709
- key: string | null;
3710
- value: string | null;
3711
- } | null> | null;
3712
- name: string | null;
3713
- productId: string;
3714
- quantity: number;
3715
- sku: string | null;
3716
- }> | null;
3717
- landedCosts: Array<{
3718
- amountSubtotals: {
3719
- duties: number;
3720
- fees: number;
3721
- items: number;
3722
- landedCostTotal: number;
3723
- shipping: number;
3724
- taxes: number;
3725
- } | null;
3726
- appliedAdjustments: Array<{
3727
- amount: number;
3728
- item: {
3729
- amount: number;
3730
- name: string | null;
3731
- } | null;
3732
- }> | null;
3733
- duties: Array<{
3734
- exchangeRate: {
3735
- rate: number;
3736
- sourceCurrencyCode: CurrencyCode;
3737
- targetCurrencyCode: CurrencyCode;
3738
- } | null;
3739
- }>;
3740
- shipmentRating: {
3741
- amount: number;
3742
- currencyCode: CurrencyCode;
3743
- details: Array<{
3744
- amount: number;
3745
- carrierCode: string;
3746
- type: ShipmentAmountType;
3747
- }> | null;
3748
- displayName: string;
3749
- id: string;
3750
- serviceLevelCode: string;
3751
- };
3752
- }> | null;
3753
- metadata: Array<{
3754
- key: string;
3755
- value: string;
3756
- } | null> | null;
3757
- mode: Mode;
3758
- parties: Array<{
3759
- location: {
3760
- administrativeArea: string | null;
3761
- administrativeAreaCode: string | null;
3762
- countryCode: CountryCode;
3763
- line1: string | null;
3764
- line2: string | null;
3765
- line3: string | null;
3766
- line4: string | null;
3767
- locality: string | null;
3768
- longitude: number | null;
3769
- postalCode: string | null;
3770
- } | null;
3771
- person: {
3772
- companyName: string | null;
3773
- email: string | null;
3774
- firstName: string | null;
3775
- lastName: string | null;
3776
- phone: string | null;
3777
- } | null;
3778
- type: PartyType | null;
3779
- }> | null;
3780
- references: Array<{
3781
- key: string | null;
3782
- value: string | null;
3783
- }> | null;
3784
- root: {
3785
- exchangeRates: Array<{
3786
- rate: number;
3787
- sourceCurrencyCode: CurrencyCode;
3788
- targetCurrencyCode: CurrencyCode;
3789
- type: ExchangeRateType;
3790
- }>;
3791
- } | null;
3792
- status: OrderStatus;
3793
- trackingNumbers: Array<string | null> | null;
3794
- };
3795
3754
  export type OrderUpdateAccountOrderNumberMutation = {
3796
3755
  orderUpdateAccountOrderNumber: {
3797
3756
  accountOrderNumber: string | null;
@@ -4032,6 +3991,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
4032
3991
  organization(variables?: {
4033
3992
  [x: string]: never;
4034
3993
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrganizationQuery>;
3994
+ partyInfo(variables?: {
3995
+ [x: string]: never;
3996
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<PartyInfoQuery>;
4035
3997
  paypalOrderCapture(variables?: {
4036
3998
  [x: string]: never;
4037
3999
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<PaypalOrderCaptureMutation>;