@zonos/elements 1.3.12-alpha.1 → 1.3.12-alpha.3

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 (153) hide show
  1. package/dist/cjs/{cart-fcddc0e6.js → cart-fe91535c.js} +540 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sendErrorLog-fb356701.js +29 -0
  4. package/dist/cjs/{submitGtag-ec6ead54.js → submitGtag-62c97f6b.js} +1 -20
  5. package/dist/cjs/zonos-address_4.cjs.entry.js +41 -17
  6. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  7. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +8 -8
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
  9. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-select_3.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-elements.cjs.js +1 -1
  13. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-payment.cjs.entry.js +1 -1
  16. package/dist/collection/components/store/translationStore/strings.arabic.js +27 -0
  17. package/dist/collection/components/store/translationStore/strings.base.js +27 -0
  18. package/dist/collection/components/store/translationStore/strings.chinese.js +27 -0
  19. package/dist/collection/components/store/translationStore/strings.danish.js +27 -0
  20. package/dist/collection/components/store/translationStore/strings.dutch.js +27 -0
  21. package/dist/collection/components/store/translationStore/strings.french.js +27 -0
  22. package/dist/collection/components/store/translationStore/strings.german.js +27 -0
  23. package/dist/collection/components/store/translationStore/strings.hebrew.js +27 -0
  24. package/dist/collection/components/store/translationStore/strings.indonesian.js +27 -0
  25. package/dist/collection/components/store/translationStore/strings.italian.js +27 -0
  26. package/dist/collection/components/store/translationStore/strings.japanese.js +27 -0
  27. package/dist/collection/components/store/translationStore/strings.korean.js +27 -0
  28. package/dist/collection/components/store/translationStore/strings.norwegian.js +27 -0
  29. package/dist/collection/components/store/translationStore/strings.polish.js +27 -0
  30. package/dist/collection/components/store/translationStore/strings.portuguese.js +27 -0
  31. package/dist/collection/components/store/translationStore/strings.russian.js +27 -0
  32. package/dist/collection/components/store/translationStore/strings.spanish.js +27 -0
  33. package/dist/collection/components/store/translationStore/strings.swedish.js +27 -0
  34. package/dist/collection/components/store/translationStore/strings.turkish.js +27 -0
  35. package/dist/collection/components/store/translationStore/strings.vietnamese.js +27 -0
  36. package/dist/collection/components/stripe/zonos-address/zonos-address.js +41 -15
  37. package/dist/collection/components/utils/logging/sendLoadScriptLog.js +8 -0
  38. package/dist/collection/types/LogLoadScriptRequestBody.js +1 -0
  39. package/dist/collection/types/generated/graphql.customer.types.js +45 -14
  40. package/dist/collection/types/generated/graphql.frontend.types.js +3 -0
  41. package/dist/components/sendErrorLog.js +21 -0
  42. package/dist/components/stripe.js +541 -1
  43. package/dist/components/trackConversionEvent.js +1 -1
  44. package/dist/components/zonos-address2.js +41 -15
  45. package/dist/components/zonos-checkout-finish2.js +3 -20
  46. package/dist/components/zonos-checkout.js +3 -2
  47. package/dist/components/zonos-controller.js +1 -1
  48. package/dist/components/zonos-hello.js +1 -1
  49. package/dist/components/zonos-link-authentication2.js +1 -1
  50. package/dist/esm/{cart-228e1ef7.js → cart-53f5c10c.js} +540 -0
  51. package/dist/esm/loader.js +1 -1
  52. package/dist/esm/sendErrorLog-1c2f093d.js +26 -0
  53. package/dist/esm/{submitGtag-c3727595.js → submitGtag-d2658ed5.js} +2 -20
  54. package/dist/esm/zonos-address_4.entry.js +40 -16
  55. package/dist/esm/zonos-card_2.entry.js +1 -1
  56. package/dist/esm/zonos-cart-items_10.entry.js +3 -3
  57. package/dist/esm/zonos-checkout.entry.js +3 -3
  58. package/dist/esm/zonos-controller.entry.js +1 -1
  59. package/dist/esm/zonos-country-flag.entry.js +1 -1
  60. package/dist/esm/zonos-country-select_3.entry.js +1 -1
  61. package/dist/esm/zonos-elements.js +1 -1
  62. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  63. package/dist/esm/zonos-hello.entry.js +1 -1
  64. package/dist/esm/zonos-payment.entry.js +1 -1
  65. package/dist/esm-es5/cart-53f5c10c.js +1 -0
  66. package/dist/esm-es5/loader.js +1 -1
  67. package/dist/esm-es5/sendErrorLog-1c2f093d.js +1 -0
  68. package/dist/esm-es5/submitGtag-d2658ed5.js +1 -0
  69. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  70. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  71. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  72. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  73. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  74. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  75. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  76. package/dist/esm-es5/zonos-elements.js +1 -1
  77. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  78. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  79. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  80. package/dist/scripts/loadZonos.js +1 -1
  81. package/dist/scripts/zonos.js +1 -1
  82. package/dist/scripts/zonosBase.js +1 -1
  83. package/dist/types/components/store/translationStore/strings.arabic.d.ts +27 -0
  84. package/dist/types/components/store/translationStore/strings.base.d.ts +27 -0
  85. package/dist/types/components/store/translationStore/strings.chinese.d.ts +27 -0
  86. package/dist/types/components/store/translationStore/strings.danish.d.ts +27 -0
  87. package/dist/types/components/store/translationStore/strings.dutch.d.ts +27 -0
  88. package/dist/types/components/store/translationStore/strings.french.d.ts +27 -0
  89. package/dist/types/components/store/translationStore/strings.german.d.ts +27 -0
  90. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +27 -0
  91. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +27 -0
  92. package/dist/types/components/store/translationStore/strings.italian.d.ts +27 -0
  93. package/dist/types/components/store/translationStore/strings.japanese.d.ts +27 -0
  94. package/dist/types/components/store/translationStore/strings.korean.d.ts +27 -0
  95. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +27 -0
  96. package/dist/types/components/store/translationStore/strings.polish.d.ts +27 -0
  97. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +27 -0
  98. package/dist/types/components/store/translationStore/strings.russian.d.ts +27 -0
  99. package/dist/types/components/store/translationStore/strings.spanish.d.ts +27 -0
  100. package/dist/types/components/store/translationStore/strings.swedish.d.ts +27 -0
  101. package/dist/types/components/store/translationStore/strings.turkish.d.ts +27 -0
  102. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +27 -0
  103. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +7 -1
  104. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  105. package/dist/types/components/utils/logging/sendLoadScriptLog.d.ts +4 -0
  106. package/dist/types/types/LogLoadScriptRequestBody.d.ts +11 -0
  107. package/dist/types/types/generated/graphql.customer.types.d.ts +54 -16
  108. package/dist/types/types/generated/graphql.customer.types.ts +74 -20
  109. package/dist/types/types/generated/graphql.frontend.types.d.ts +12 -1
  110. package/dist/types/types/generated/graphql.frontend.types.ts +22 -1
  111. package/dist/types/types/global.d.ts +1 -2
  112. package/dist/zonos-elements/{p-35c328ba.system.entry.js → p-09d7a0f8.system.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-67ff446b.system.entry.js → p-0cc5cfbd.system.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-11f1b5fb.entry.js → p-125043b5.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-55940b5a.system.entry.js → p-176f65e1.system.entry.js} +1 -1
  116. package/dist/zonos-elements/p-19dbd8c2.entry.js +1 -0
  117. package/dist/zonos-elements/p-3555ce7c.system.js +1 -0
  118. package/dist/zonos-elements/p-4cc4aba3.system.js +1 -0
  119. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  120. package/dist/zonos-elements/{p-5d5c0fbf.entry.js → p-6f6850aa.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-5f662cf2.entry.js → p-7e6bc603.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-ac5aecca.entry.js → p-969f36b3.entry.js} +1 -1
  123. package/dist/zonos-elements/p-9f4b0222.system.entry.js +1 -0
  124. package/dist/zonos-elements/p-aa46e052.js +1 -0
  125. package/dist/zonos-elements/{p-5dbb80df.system.entry.js → p-ac576bd7.system.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-30cd191f.entry.js → p-af17ec7f.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-499d7f5d.system.entry.js → p-b6c83e0b.system.entry.js} +1 -1
  128. package/dist/zonos-elements/p-bc25e1aa.js +1 -0
  129. package/dist/zonos-elements/p-beb55ff1.js +1 -0
  130. package/dist/zonos-elements/{p-925ae524.entry.js → p-bece7adb.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-0082c5be.system.entry.js → p-c30554b1.system.entry.js} +1 -1
  132. package/dist/zonos-elements/p-d24296a6.system.js +1 -0
  133. package/dist/zonos-elements/{p-14a2824f.entry.js → p-df6fd81f.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-c815e8b4.system.entry.js → p-e9732f93.system.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-7ff3a533.system.entry.js → p-ea1afd2d.system.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-d31e5fcc.entry.js → p-ecc72526.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-5f6f0581.system.entry.js → p-fd7ab92d.system.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-db1adc42.entry.js → p-ff32ea53.entry.js} +1 -1
  139. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  140. package/package.json +1 -1
  141. package/dist/cjs/isCheckoutMobile-f491ca7c.js +0 -8
  142. package/dist/esm/isCheckoutMobile-8846dccb.js +0 -6
  143. package/dist/esm-es5/cart-228e1ef7.js +0 -1
  144. package/dist/esm-es5/isCheckoutMobile-8846dccb.js +0 -1
  145. package/dist/esm-es5/submitGtag-c3727595.js +0 -1
  146. package/dist/zonos-elements/p-0679e872.system.entry.js +0 -1
  147. package/dist/zonos-elements/p-09dbb0e9.entry.js +0 -1
  148. package/dist/zonos-elements/p-770e5b9e.js +0 -1
  149. package/dist/zonos-elements/p-81a54668.js +0 -1
  150. package/dist/zonos-elements/p-94bbf247.system.js +0 -1
  151. package/dist/zonos-elements/p-960e4021.system.js +0 -1
  152. package/dist/zonos-elements/p-aed0098c.system.js +0 -1
  153. package/dist/zonos-elements/p-d11b2449.js +0 -1
@@ -5,6 +5,12 @@ export declare const stringsRussian: {
5
5
  Address: {
6
6
  value: string;
7
7
  };
8
+ 'Address line 1': {
9
+ value: string;
10
+ };
11
+ 'Address line 2': {
12
+ value: string;
13
+ };
8
14
  Back: {
9
15
  value: string;
10
16
  };
@@ -14,12 +20,18 @@ export declare const stringsRussian: {
14
20
  'Cart subtotal': {
15
21
  value: string;
16
22
  };
23
+ City: {
24
+ value: string;
25
+ };
17
26
  Contact: {
18
27
  value: string;
19
28
  };
20
29
  'Continue to shipping': {
21
30
  value: string;
22
31
  };
32
+ Country: {
33
+ value: string;
34
+ };
23
35
  Customer: {
24
36
  value: string;
25
37
  };
@@ -59,6 +71,9 @@ export declare const stringsRussian: {
59
71
  'Know about duties and taxes before you buy. Shop with confidence!': {
60
72
  value: string;
61
73
  };
74
+ Name: {
75
+ value: string;
76
+ };
62
77
  'No shipping method selected': {
63
78
  value: string;
64
79
  };
@@ -98,6 +113,12 @@ export declare const stringsRussian: {
98
113
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
99
114
  value: string;
100
115
  };
116
+ 'Please resolve the following errors:': {
117
+ value: string;
118
+ };
119
+ 'Postal code': {
120
+ value: string;
121
+ };
101
122
  'Powered by': {
102
123
  value: string;
103
124
  };
@@ -140,6 +161,9 @@ export declare const stringsRussian: {
140
161
  Spend: {
141
162
  value: string;
142
163
  };
164
+ State: {
165
+ value: string;
166
+ };
143
167
  'Taxes will apply to all orders': {
144
168
  value: string;
145
169
  };
@@ -176,6 +200,9 @@ export declare const stringsRussian: {
176
200
  'duty free': {
177
201
  value: string;
178
202
  };
203
+ 'only supports Latin characters (A-Z, a-z)': {
204
+ value: string;
205
+ };
179
206
  'tax free': {
180
207
  value: string;
181
208
  };
@@ -5,6 +5,12 @@ export declare const stringsSpanish: {
5
5
  Address: {
6
6
  value: string;
7
7
  };
8
+ 'Address line 1': {
9
+ value: string;
10
+ };
11
+ 'Address line 2': {
12
+ value: string;
13
+ };
8
14
  Back: {
9
15
  value: string;
10
16
  };
@@ -14,12 +20,18 @@ export declare const stringsSpanish: {
14
20
  'Cart subtotal': {
15
21
  value: string;
16
22
  };
23
+ City: {
24
+ value: string;
25
+ };
17
26
  Contact: {
18
27
  value: string;
19
28
  };
20
29
  'Continue to shipping': {
21
30
  value: string;
22
31
  };
32
+ Country: {
33
+ value: string;
34
+ };
23
35
  Customer: {
24
36
  value: string;
25
37
  };
@@ -59,6 +71,9 @@ export declare const stringsSpanish: {
59
71
  'Know about duties and taxes before you buy. Shop with confidence!': {
60
72
  value: string;
61
73
  };
74
+ Name: {
75
+ value: string;
76
+ };
62
77
  'No shipping method selected': {
63
78
  value: string;
64
79
  };
@@ -98,6 +113,12 @@ export declare const stringsSpanish: {
98
113
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
99
114
  value: string;
100
115
  };
116
+ 'Please resolve the following errors:': {
117
+ value: string;
118
+ };
119
+ 'Postal code': {
120
+ value: string;
121
+ };
101
122
  'Powered by': {
102
123
  value: string;
103
124
  };
@@ -140,6 +161,9 @@ export declare const stringsSpanish: {
140
161
  Spend: {
141
162
  value: string;
142
163
  };
164
+ State: {
165
+ value: string;
166
+ };
143
167
  'Taxes will apply to all orders': {
144
168
  value: string;
145
169
  };
@@ -176,6 +200,9 @@ export declare const stringsSpanish: {
176
200
  'duty free': {
177
201
  value: string;
178
202
  };
203
+ 'only supports Latin characters (A-Z, a-z)': {
204
+ value: string;
205
+ };
179
206
  'tax free': {
180
207
  value: string;
181
208
  };
@@ -5,6 +5,12 @@ export declare const stringsSwedish: {
5
5
  Address: {
6
6
  value: string;
7
7
  };
8
+ 'Address line 1': {
9
+ value: string;
10
+ };
11
+ 'Address line 2': {
12
+ value: string;
13
+ };
8
14
  Back: {
9
15
  value: string;
10
16
  };
@@ -14,12 +20,18 @@ export declare const stringsSwedish: {
14
20
  'Cart subtotal': {
15
21
  value: string;
16
22
  };
23
+ City: {
24
+ value: string;
25
+ };
17
26
  Contact: {
18
27
  value: string;
19
28
  };
20
29
  'Continue to shipping': {
21
30
  value: string;
22
31
  };
32
+ Country: {
33
+ value: string;
34
+ };
23
35
  Customer: {
24
36
  value: string;
25
37
  };
@@ -59,6 +71,9 @@ export declare const stringsSwedish: {
59
71
  'Know about duties and taxes before you buy. Shop with confidence!': {
60
72
  value: string;
61
73
  };
74
+ Name: {
75
+ value: string;
76
+ };
62
77
  'No shipping method selected': {
63
78
  value: string;
64
79
  };
@@ -98,6 +113,12 @@ export declare const stringsSwedish: {
98
113
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
99
114
  value: string;
100
115
  };
116
+ 'Please resolve the following errors:': {
117
+ value: string;
118
+ };
119
+ 'Postal code': {
120
+ value: string;
121
+ };
101
122
  'Powered by': {
102
123
  value: string;
103
124
  };
@@ -140,6 +161,9 @@ export declare const stringsSwedish: {
140
161
  Spend: {
141
162
  value: string;
142
163
  };
164
+ State: {
165
+ value: string;
166
+ };
143
167
  'Taxes will apply to all orders': {
144
168
  value: string;
145
169
  };
@@ -176,6 +200,9 @@ export declare const stringsSwedish: {
176
200
  'duty free': {
177
201
  value: string;
178
202
  };
203
+ 'only supports Latin characters (A-Z, a-z)': {
204
+ value: string;
205
+ };
179
206
  'tax free': {
180
207
  value: string;
181
208
  };
@@ -5,6 +5,12 @@ export declare const stringsTurkish: {
5
5
  Address: {
6
6
  value: string;
7
7
  };
8
+ 'Address line 1': {
9
+ value: string;
10
+ };
11
+ 'Address line 2': {
12
+ value: string;
13
+ };
8
14
  Back: {
9
15
  value: string;
10
16
  };
@@ -14,12 +20,18 @@ export declare const stringsTurkish: {
14
20
  'Cart subtotal': {
15
21
  value: string;
16
22
  };
23
+ City: {
24
+ value: string;
25
+ };
17
26
  Contact: {
18
27
  value: string;
19
28
  };
20
29
  'Continue to shipping': {
21
30
  value: string;
22
31
  };
32
+ Country: {
33
+ value: string;
34
+ };
23
35
  Customer: {
24
36
  value: string;
25
37
  };
@@ -59,6 +71,9 @@ export declare const stringsTurkish: {
59
71
  'Know about duties and taxes before you buy. Shop with confidence!': {
60
72
  value: string;
61
73
  };
74
+ Name: {
75
+ value: string;
76
+ };
62
77
  'No shipping method selected': {
63
78
  value: string;
64
79
  };
@@ -98,6 +113,12 @@ export declare const stringsTurkish: {
98
113
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
99
114
  value: string;
100
115
  };
116
+ 'Please resolve the following errors:': {
117
+ value: string;
118
+ };
119
+ 'Postal code': {
120
+ value: string;
121
+ };
101
122
  'Powered by': {
102
123
  value: string;
103
124
  };
@@ -140,6 +161,9 @@ export declare const stringsTurkish: {
140
161
  Spend: {
141
162
  value: string;
142
163
  };
164
+ State: {
165
+ value: string;
166
+ };
143
167
  'Taxes will apply to all orders': {
144
168
  value: string;
145
169
  };
@@ -176,6 +200,9 @@ export declare const stringsTurkish: {
176
200
  'duty free': {
177
201
  value: string;
178
202
  };
203
+ 'only supports Latin characters (A-Z, a-z)': {
204
+ value: string;
205
+ };
179
206
  'tax free': {
180
207
  value: string;
181
208
  };
@@ -5,6 +5,12 @@ export declare const stringsVietnamese: {
5
5
  Address: {
6
6
  value: string;
7
7
  };
8
+ 'Address line 1': {
9
+ value: string;
10
+ };
11
+ 'Address line 2': {
12
+ value: string;
13
+ };
8
14
  Back: {
9
15
  value: string;
10
16
  };
@@ -14,12 +20,18 @@ export declare const stringsVietnamese: {
14
20
  'Cart subtotal': {
15
21
  value: string;
16
22
  };
23
+ City: {
24
+ value: string;
25
+ };
17
26
  Contact: {
18
27
  value: string;
19
28
  };
20
29
  'Continue to shipping': {
21
30
  value: string;
22
31
  };
32
+ Country: {
33
+ value: string;
34
+ };
23
35
  Customer: {
24
36
  value: string;
25
37
  };
@@ -59,6 +71,9 @@ export declare const stringsVietnamese: {
59
71
  'Know about duties and taxes before you buy. Shop with confidence!': {
60
72
  value: string;
61
73
  };
74
+ Name: {
75
+ value: string;
76
+ };
62
77
  'No shipping method selected': {
63
78
  value: string;
64
79
  };
@@ -98,6 +113,12 @@ export declare const stringsVietnamese: {
98
113
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
99
114
  value: string;
100
115
  };
116
+ 'Please resolve the following errors:': {
117
+ value: string;
118
+ };
119
+ 'Postal code': {
120
+ value: string;
121
+ };
101
122
  'Powered by': {
102
123
  value: string;
103
124
  };
@@ -140,6 +161,9 @@ export declare const stringsVietnamese: {
140
161
  Spend: {
141
162
  value: string;
142
163
  };
164
+ State: {
165
+ value: string;
166
+ };
143
167
  'Taxes will apply to all orders': {
144
168
  value: string;
145
169
  };
@@ -176,6 +200,9 @@ export declare const stringsVietnamese: {
176
200
  'duty free': {
177
201
  value: string;
178
202
  };
203
+ 'only supports Latin characters (A-Z, a-z)': {
204
+ value: string;
205
+ };
179
206
  'tax free': {
180
207
  value: string;
181
208
  };
@@ -1,5 +1,6 @@
1
1
  import type { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import type { ContactOption, Stripe } from '@stripe/stripe-js';
3
+ import { containsNonLatinChars } from "../../utils/containsNonLatinChars";
3
4
  export declare class ZonosAddress {
4
5
  /**
5
6
  * The type of address element to render
@@ -18,7 +19,12 @@ export declare class ZonosAddress {
18
19
  */
19
20
  invalidCharacters: EventEmitter<boolean>;
20
21
  stripe: Stripe | null;
21
- hasInvalidCharacters: boolean;
22
+ /**
23
+ * Flag to know if we already sent a error event when the address contains invalid characters.
24
+ * We should just send the error event once.
25
+ */
26
+ reportedInvalidCharacters: boolean;
27
+ invalidCharacterList: ReturnType<typeof containsNonLatinChars> | null;
22
28
  /**
23
29
  * Check if the address is dirty or not to scroll into view. When the component is mounted, if the data is filled with address line 1, it's considered dirty
24
30
  */
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
4
4
  localeTo?: string | undefined;
5
5
  storeId: number;
6
6
  }) => Promise<{
7
- countryCodes: string[];
7
+ countryCodes: string[] | null;
8
8
  countryCodesPageMessageLinks: {
9
9
  id: number;
10
10
  message: {
@@ -0,0 +1,4 @@
1
+ import type { LogLoadScriptRequestBody } from "../../../types/LogLoadScriptRequestBody";
2
+ type Params = Omit<LogLoadScriptRequestBody, 'href'>;
3
+ export declare const sendLoadScriptLog: (params: Params) => Promise<void>;
4
+ export {};
@@ -0,0 +1,11 @@
1
+ type LoadEventName = 'vercel' | 'jsdelivr';
2
+ export type LogLoadScriptRequestBody = {
3
+ cache: 'hit' | 'miss';
4
+ eventName: LoadEventName;
5
+ href: string;
6
+ loadTime: number;
7
+ metadata: Record<string, unknown>;
8
+ scriptLoadUrl: string;
9
+ storeId: number;
10
+ };
11
+ export {};
@@ -65,6 +65,17 @@ export declare const accountHolderType: {
65
65
  readonly Individual: "INDIVIDUAL";
66
66
  };
67
67
  export type AccountHolderType = (typeof accountHolderType)[keyof typeof accountHolderType];
68
+ export declare const accountingFeeType: {
69
+ readonly BugFix: "BUG_FIX";
70
+ readonly DutyTaxFee: "DUTY_TAX_FEE";
71
+ readonly General: "GENERAL";
72
+ readonly Item: "ITEM";
73
+ readonly LandedCostGuarantee: "LANDED_COST_GUARANTEE";
74
+ readonly MerchantProcessing: "MERCHANT_PROCESSING";
75
+ readonly Shipping: "SHIPPING";
76
+ readonly Transaction: "TRANSACTION";
77
+ };
78
+ export type AccountingFeeType = (typeof accountingFeeType)[keyof typeof accountingFeeType];
68
79
  export declare const addressMatchThreshold: {
69
80
  readonly ExactAdministrativeArea: "EXACT_ADMINISTRATIVE_AREA";
70
81
  readonly ExactCountry: "EXACT_COUNTRY";
@@ -82,11 +93,27 @@ export declare const addressResult: {
82
93
  readonly Valid: "VALID";
83
94
  };
84
95
  export type AddressResult = (typeof addressResult)[keyof typeof addressResult];
96
+ export declare const adjustmentRecordType: {
97
+ readonly ConnectAccountAdjustment: "CONNECT_ACCOUNT_ADJUSTMENT";
98
+ readonly CreditNote: "CREDIT_NOTE";
99
+ readonly InvoiceLineRecord: "INVOICE_LINE_RECORD";
100
+ };
101
+ export type AdjustmentRecordType = (typeof adjustmentRecordType)[keyof typeof adjustmentRecordType];
102
+ export declare const adjustmentType: {
103
+ readonly Charge: "CHARGE";
104
+ readonly Credit: "CREDIT";
105
+ };
106
+ export type AdjustmentType = (typeof adjustmentType)[keyof typeof adjustmentType];
85
107
  export declare const alcoholRecipientType: {
86
108
  readonly Consumer: "CONSUMER";
87
109
  readonly Licensee: "LICENSEE";
88
110
  };
89
111
  export type AlcoholRecipientType = (typeof alcoholRecipientType)[keyof typeof alcoholRecipientType];
112
+ export declare const allowedCharacterSets: {
113
+ readonly All: "ALL";
114
+ readonly Latin: "LATIN";
115
+ };
116
+ export type AllowedCharacterSets = (typeof allowedCharacterSets)[keyof typeof allowedCharacterSets];
90
117
  export type AmountRange = {
91
118
  max?: InputMaybe<Scalars['Decimal']['input']>;
92
119
  min?: InputMaybe<Scalars['Decimal']['input']>;
@@ -870,18 +897,9 @@ export declare const credentialProvider: {
870
897
  export type CredentialProvider = (typeof credentialProvider)[keyof typeof credentialProvider];
871
898
  export declare const creditBehaviorTypeCode: {
872
899
  readonly CreditAccount: "CREDIT_ACCOUNT";
873
- readonly CreditInvoice: "CREDIT_INVOICE";
874
900
  readonly RefundPayment: "REFUND_PAYMENT";
875
901
  };
876
902
  export type CreditBehaviorTypeCode = (typeof creditBehaviorTypeCode)[keyof typeof creditBehaviorTypeCode];
877
- export declare const creditNoteStatusCode: {
878
- readonly Failed: "FAILED";
879
- readonly Issued: "ISSUED";
880
- readonly Pending: "PENDING";
881
- readonly Processed: "PROCESSED";
882
- readonly Voided: "VOIDED";
883
- };
884
- export type CreditNoteStatusCode = (typeof creditNoteStatusCode)[keyof typeof creditNoteStatusCode];
885
903
  export declare const creditReasonTypeCode: {
886
904
  readonly Duplicate: "DUPLICATE";
887
905
  readonly Fraudulent: "FRAUDULENT";
@@ -1377,6 +1395,11 @@ export declare const inclusivePriceSettingStatus: {
1377
1395
  readonly Enabled: "ENABLED";
1378
1396
  };
1379
1397
  export type InclusivePriceSettingStatus = (typeof inclusivePriceSettingStatus)[keyof typeof inclusivePriceSettingStatus];
1398
+ export declare const inclusivePriceStatus: {
1399
+ readonly Active: "ACTIVE";
1400
+ readonly Inactive: "INACTIVE";
1401
+ };
1402
+ export type InclusivePriceStatus = (typeof inclusivePriceStatus)[keyof typeof inclusivePriceStatus];
1380
1403
  export declare const incotermCode: {
1381
1404
  readonly Cif: "CIF";
1382
1405
  readonly Custom: "CUSTOM";
@@ -1438,13 +1461,6 @@ export declare const invoiceLanguageCode: {
1438
1461
  readonly ZhTw: "ZH_TW";
1439
1462
  };
1440
1463
  export type InvoiceLanguageCode = (typeof invoiceLanguageCode)[keyof typeof invoiceLanguageCode];
1441
- export declare const invoiceLineRecordStatusCode: {
1442
- readonly Failed: "FAILED";
1443
- readonly Pending: "PENDING";
1444
- readonly Processed: "PROCESSED";
1445
- readonly Voided: "VOIDED";
1446
- };
1447
- export type InvoiceLineRecordStatusCode = (typeof invoiceLineRecordStatusCode)[keyof typeof invoiceLineRecordStatusCode];
1448
1464
  export declare const invoiceStatus: {
1449
1465
  readonly Received: "RECEIVED";
1450
1466
  readonly Reconciled: "RECONCILED";
@@ -1892,6 +1908,16 @@ export declare const pddpAmountType: {
1892
1908
  readonly SurchargeValue: "SURCHARGE_VALUE";
1893
1909
  };
1894
1910
  export type PddpAmountType = (typeof pddpAmountType)[keyof typeof pddpAmountType];
1911
+ export declare const pddpCountrySpecStatus: {
1912
+ readonly Active: "ACTIVE";
1913
+ readonly Disabled: "DISABLED";
1914
+ };
1915
+ export type PddpCountrySpecStatus = (typeof pddpCountrySpecStatus)[keyof typeof pddpCountrySpecStatus];
1916
+ export declare const pddpStatus: {
1917
+ readonly Active: "ACTIVE";
1918
+ readonly Disabled: "DISABLED";
1919
+ };
1920
+ export type PddpStatus = (typeof pddpStatus)[keyof typeof pddpStatus];
1895
1921
  export declare const pickupBuildingType: {
1896
1922
  readonly Apartment: "APARTMENT";
1897
1923
  readonly Building: "BUILDING";
@@ -1913,6 +1939,13 @@ export declare const pickupCategory: {
1913
1939
  readonly SameDayCity: "SAME_DAY_CITY";
1914
1940
  };
1915
1941
  export type PickupCategory = (typeof pickupCategory)[keyof typeof pickupCategory];
1942
+ export declare const processingStatusCode: {
1943
+ readonly Failed: "FAILED";
1944
+ readonly Pending: "PENDING";
1945
+ readonly Processed: "PROCESSED";
1946
+ readonly Voided: "VOIDED";
1947
+ };
1948
+ export type ProcessingStatusCode = (typeof processingStatusCode)[keyof typeof processingStatusCode];
1916
1949
  export declare const propertyType: {
1917
1950
  readonly Commercial: "COMMERCIAL";
1918
1951
  readonly Residental: "RESIDENTAL";
@@ -2109,6 +2142,11 @@ export declare const stripePriceBillingScheme: {
2109
2142
  readonly Tiered: "TIERED";
2110
2143
  };
2111
2144
  export type StripePriceBillingScheme = (typeof stripePriceBillingScheme)[keyof typeof stripePriceBillingScheme];
2145
+ export declare const stripePriceType: {
2146
+ readonly OneTime: "ONE_TIME";
2147
+ readonly Recurring: "RECURRING";
2148
+ };
2149
+ export type StripePriceType = (typeof stripePriceType)[keyof typeof stripePriceType];
2112
2150
  export declare const stripeSubscriptionStatus: {
2113
2151
  readonly Active: "ACTIVE";
2114
2152
  readonly Canceled: "CANCELED";