@shopify/ui-extensions 2023.4.2 → 2023.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/README.md +1 -1
  2. package/build/cjs/surfaces/admin/components/ResourceItem/ResourceItem.js +14 -0
  3. package/build/cjs/surfaces/admin/components/ResourceList/ResourceList.js +15 -0
  4. package/build/cjs/surfaces/admin/components/Thumbnail/Thumbnail.js +12 -0
  5. package/build/cjs/surfaces/admin.js +6 -0
  6. package/build/cjs/surfaces/checkout/extension.js +7 -28
  7. package/build/cjs/surfaces/checkout.js +0 -1
  8. package/build/esm/surfaces/admin/components/ResourceItem/ResourceItem.mjs +10 -0
  9. package/build/esm/surfaces/admin/components/ResourceList/ResourceList.mjs +11 -0
  10. package/build/esm/surfaces/admin/components/Thumbnail/Thumbnail.mjs +8 -0
  11. package/build/esm/surfaces/admin.mjs +3 -0
  12. package/build/esm/surfaces/checkout/extension.mjs +7 -27
  13. package/build/esm/surfaces/checkout.mjs +1 -1
  14. package/build/esnext/surfaces/admin/components/ResourceItem/ResourceItem.esnext +10 -0
  15. package/build/esnext/surfaces/admin/components/ResourceList/ResourceList.esnext +11 -0
  16. package/build/esnext/surfaces/admin/components/Thumbnail/Thumbnail.esnext +8 -0
  17. package/build/esnext/surfaces/admin.esnext +3 -0
  18. package/build/esnext/surfaces/checkout/extension.esnext +7 -27
  19. package/build/esnext/surfaces/checkout.esnext +1 -1
  20. package/build/ts/api.d.ts +0 -15
  21. package/build/ts/api.d.ts.map +1 -1
  22. package/build/ts/extension.d.ts +0 -3
  23. package/build/ts/extension.d.ts.map +1 -1
  24. package/build/ts/surfaces/admin/api/action/action.d.ts +5 -2
  25. package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
  26. package/build/ts/surfaces/admin/api/block/block.d.ts +10 -0
  27. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -0
  28. package/build/ts/surfaces/admin/api/block/block.doc.d.ts +4 -0
  29. package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +1 -0
  30. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +45 -0
  31. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -0
  32. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +46 -0
  33. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -0
  34. package/build/ts/surfaces/admin/api/shared.d.ts +9 -0
  35. package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -0
  36. package/build/ts/surfaces/admin/api/standard/standard.d.ts +18 -2
  37. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  38. package/build/ts/surfaces/admin/api.d.ts +4 -1
  39. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  40. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  41. package/build/ts/surfaces/admin/components/Form/Form.d.ts +0 -10
  42. package/build/ts/surfaces/admin/components/Form/Form.d.ts.map +1 -1
  43. package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts.map +1 -1
  44. package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
  45. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +17 -0
  46. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +1 -0
  47. package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts +26 -0
  48. package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts.map +1 -0
  49. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  50. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts +19 -0
  51. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts.map +1 -0
  52. package/build/ts/surfaces/admin/components.d.ts +6 -0
  53. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  54. package/build/ts/surfaces/admin/extension-targets.d.ts +10 -4
  55. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  56. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +9 -0
  57. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -0
  58. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +67 -1
  59. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  60. package/build/ts/surfaces/checkout/api/{payment-method/render.d.ts → payment/payment-option-item.d.ts} +2 -2
  61. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -0
  62. package/build/ts/surfaces/checkout/api/pickup/{pickup-points.d.ts → pickup-location-list.d.ts} +3 -3
  63. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -0
  64. package/build/ts/surfaces/checkout/api/pickup/{pickup-locations.d.ts → pickup-point-list.d.ts} +3 -3
  65. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -0
  66. package/build/ts/surfaces/checkout/api/redeemable/{render.d.ts → redeemable.d.ts} +2 -2
  67. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -0
  68. package/build/ts/surfaces/checkout/api/shared.d.ts +91 -1
  69. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  70. package/build/ts/surfaces/checkout/api/shipping/{shipping-method-details.d.ts → shipping-option-item.d.ts} +4 -4
  71. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -0
  72. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +171 -171
  73. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  74. package/build/ts/surfaces/checkout/api.d.ts +9 -9
  75. package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
  76. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +1 -1
  77. package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +1 -1
  78. package/build/ts/surfaces/checkout/components/shared.d.ts +11 -2
  79. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  80. package/build/ts/surfaces/checkout/extension.d.ts +7 -28
  81. package/build/ts/surfaces/checkout/extension.d.ts.map +1 -1
  82. package/build/ts/surfaces/checkout/globals.d.ts +2 -2
  83. package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
  84. package/build/ts/surfaces/checkout/targets.d.ts +411 -0
  85. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -0
  86. package/build/ts/surfaces/checkout.d.ts +1 -1
  87. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  88. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +9 -0
  89. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -0
  90. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +1212 -0
  91. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -0
  92. package/build/ts/surfaces/customer-account/api/shared.d.ts +126 -0
  93. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -0
  94. package/build/ts/surfaces/customer-account/api.d.ts +4 -0
  95. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -0
  96. package/build/ts/surfaces/customer-account/extension.d.ts +16 -0
  97. package/build/ts/surfaces/customer-account/extension.d.ts.map +1 -0
  98. package/build/ts/surfaces/customer-account/globals.d.ts +11 -0
  99. package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -0
  100. package/build/ts/surfaces/customer-account/targets.d.ts +78 -0
  101. package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -0
  102. package/build/ts/surfaces/customer-account.d.ts +8 -0
  103. package/build/ts/surfaces/customer-account.d.ts.map +1 -0
  104. package/build/ts/utilities/registration.d.ts +5 -5
  105. package/build/ts/utilities/registration.d.ts.map +1 -1
  106. package/build/tsconfig.tsbuildinfo +1 -1
  107. package/package.json +17 -8
  108. package/src/api.ts +0 -18
  109. package/src/extension.ts +0 -4
  110. package/src/surfaces/admin/api/action/action.ts +6 -4
  111. package/src/surfaces/admin/api/block/block.doc.ts +20 -0
  112. package/src/surfaces/admin/api/block/block.ts +11 -0
  113. package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +49 -0
  114. package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +50 -0
  115. package/src/surfaces/admin/api/shared.ts +6 -0
  116. package/src/surfaces/admin/api/standard/standard.ts +20 -8
  117. package/src/surfaces/admin/api.ts +4 -1
  118. package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +1 -7
  119. package/src/surfaces/admin/components/Form/Form.doc.ts +0 -5
  120. package/src/surfaces/admin/components/Form/Form.ts +0 -12
  121. package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +0 -7
  122. package/src/surfaces/admin/components/ResourceItem/ResourceItem.ts +19 -0
  123. package/src/surfaces/admin/components/ResourceItem/examples/basic-ResourceItem.example.ts +22 -0
  124. package/src/surfaces/admin/components/ResourceList/ResourceList.ts +30 -0
  125. package/src/surfaces/admin/components/ResourceList/examples/basic-ResourceList.example.ts +29 -0
  126. package/src/surfaces/admin/components/Select/Select.doc.ts +1 -7
  127. package/src/surfaces/admin/components/Thumbnail/Thumbnail.ts +31 -0
  128. package/src/surfaces/admin/components/Thumbnail/examples/basic-Thumbnail.example.ts +13 -0
  129. package/src/surfaces/admin/components.ts +6 -0
  130. package/src/surfaces/admin/extension-targets.ts +38 -3
  131. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +10 -0
  132. package/src/surfaces/checkout/api/checkout/checkout.ts +83 -1
  133. package/src/surfaces/checkout/api/{payment-method/render.ts → payment/payment-option-item.ts} +1 -1
  134. package/src/surfaces/checkout/api/pickup/{pickup-points.ts → pickup-location-list.ts} +2 -2
  135. package/src/surfaces/checkout/api/pickup/{pickup-locations.ts → pickup-point-list.ts} +2 -2
  136. package/src/surfaces/checkout/api/redeemable/{render.ts → redeemable.ts} +1 -1
  137. package/src/surfaces/checkout/api/shared.ts +103 -0
  138. package/src/surfaces/checkout/api/shipping/{shipping-method-details.ts → shipping-option-item.ts} +3 -3
  139. package/src/surfaces/checkout/api/standard/README.md +12 -10
  140. package/src/surfaces/checkout/api/standard/standard.ts +180 -187
  141. package/src/surfaces/checkout/api.ts +18 -10
  142. package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +1 -1
  143. package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +1 -1
  144. package/src/surfaces/checkout/components/BlockLayout/examples/basic-blocklayout.example.ts +1 -1
  145. package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +1 -1
  146. package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +1 -1
  147. package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +1 -1
  148. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +1 -1
  149. package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +1 -1
  150. package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +1 -1
  151. package/src/surfaces/checkout/components/DateField/examples/basic-datefield.example.ts +1 -1
  152. package/src/surfaces/checkout/components/DatePicker/examples/basic-datepicker.example.ts +1 -1
  153. package/src/surfaces/checkout/components/Disclosure/examples/basic-disclosure.example.ts +1 -1
  154. package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +1 -1
  155. package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +1 -1
  156. package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +1 -1
  157. package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +1 -1
  158. package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +1 -1
  159. package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +1 -1
  160. package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +1 -1
  161. package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -1
  162. package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +1 -1
  163. package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlinelayout.example.ts +1 -1
  164. package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +1 -1
  165. package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +1 -1
  166. package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +1 -1
  167. package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +1 -1
  168. package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +1 -1
  169. package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.ts +1 -1
  170. package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +1 -1
  171. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +1 -1
  172. package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.ts +1 -1
  173. package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +1 -1
  174. package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +1 -1
  175. package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +1 -1
  176. package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +1 -1
  177. package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +1 -1
  178. package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +1 -1
  179. package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +1 -1
  180. package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +1 -1
  181. package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +1 -1
  182. package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +1 -1
  183. package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +1 -1
  184. package/src/surfaces/checkout/components/TextField/TextField.ts +1 -1
  185. package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +1 -1
  186. package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +1 -1
  187. package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +1 -1
  188. package/src/surfaces/checkout/components/shared.ts +22 -5
  189. package/src/surfaces/checkout/extension.ts +10 -56
  190. package/src/surfaces/checkout/globals.ts +7 -4
  191. package/src/surfaces/checkout/style/examples/style.example.ts +1 -1
  192. package/src/surfaces/checkout/style/examples/style.example.tsx +8 -2
  193. package/src/surfaces/checkout/targets.ts +701 -0
  194. package/src/surfaces/checkout.ts +1 -1
  195. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +10 -0
  196. package/src/surfaces/customer-account/api/order-status/order-status.ts +1414 -0
  197. package/src/surfaces/customer-account/api/shared.ts +953 -0
  198. package/src/surfaces/customer-account/api.ts +66 -0
  199. package/src/surfaces/customer-account/extension.ts +21 -0
  200. package/src/surfaces/customer-account/globals.ts +18 -0
  201. package/src/surfaces/customer-account/targets.ts +116 -0
  202. package/src/surfaces/customer-account.ts +8 -0
  203. package/src/utilities/registration.ts +13 -12
  204. package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts +0 -9
  205. package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts.map +0 -1
  206. package/build/ts/surfaces/checkout/api/payment-method/render.d.ts.map +0 -1
  207. package/build/ts/surfaces/checkout/api/pickup/pickup-locations.d.ts.map +0 -1
  208. package/build/ts/surfaces/checkout/api/pickup/pickup-points.d.ts.map +0 -1
  209. package/build/ts/surfaces/checkout/api/redeemable/render.d.ts.map +0 -1
  210. package/build/ts/surfaces/checkout/api/shipping/shipping-method-details.d.ts.map +0 -1
  211. package/build/ts/surfaces/checkout/extension-points.d.ts +0 -220
  212. package/build/ts/surfaces/checkout/extension-points.d.ts.map +0 -1
  213. package/src/surfaces/checkout/api/cart-line/cart-line-details.ts +0 -10
  214. package/src/surfaces/checkout/components/Banner/README.md +0 -14
  215. package/src/surfaces/checkout/components/BlockLayout/README.md +0 -101
  216. package/src/surfaces/checkout/components/BlockSpacer/README.md +0 -14
  217. package/src/surfaces/checkout/components/BlockStack/README.md +0 -77
  218. package/src/surfaces/checkout/components/Button/README.md +0 -22
  219. package/src/surfaces/checkout/components/Checkbox/README.md +0 -18
  220. package/src/surfaces/checkout/components/Choice/README.md +0 -14
  221. package/src/surfaces/checkout/components/ChoiceList/README.md +0 -14
  222. package/src/surfaces/checkout/components/Divider/README.md +0 -13
  223. package/src/surfaces/checkout/components/Form/README.md +0 -21
  224. package/src/surfaces/checkout/components/Grid/README.md +0 -105
  225. package/src/surfaces/checkout/components/GridItem/README.md +0 -72
  226. package/src/surfaces/checkout/components/Heading/README.md +0 -19
  227. package/src/surfaces/checkout/components/HeadingGroup/README.md +0 -7
  228. package/src/surfaces/checkout/components/Icon/README.md +0 -15
  229. package/src/surfaces/checkout/components/Image/README.md +0 -53
  230. package/src/surfaces/checkout/components/InlineLayout/README.md +0 -103
  231. package/src/surfaces/checkout/components/InlineSpacer/README.md +0 -14
  232. package/src/surfaces/checkout/components/InlineStack/README.md +0 -87
  233. package/src/surfaces/checkout/components/Link/README.md +0 -18
  234. package/src/surfaces/checkout/components/List/README.md +0 -19
  235. package/src/surfaces/checkout/components/ListItem/README.md +0 -5
  236. package/src/surfaces/checkout/components/PhoneField/README.md +0 -49
  237. package/src/surfaces/checkout/components/Pressable/README.md +0 -74
  238. package/src/surfaces/checkout/components/ScrollView/README.md +0 -62
  239. package/src/surfaces/checkout/components/Select/README.md +0 -41
  240. package/src/surfaces/checkout/components/SkeletonImage/README.md +0 -13
  241. package/src/surfaces/checkout/components/SkeletonText/README.md +0 -13
  242. package/src/surfaces/checkout/components/SkeletonTextBlock/README.md +0 -13
  243. package/src/surfaces/checkout/components/Spinner/README.md +0 -14
  244. package/src/surfaces/checkout/components/Stepper/README.md +0 -28
  245. package/src/surfaces/checkout/components/Tag/README.md +0 -14
  246. package/src/surfaces/checkout/components/Text/README.md +0 -17
  247. package/src/surfaces/checkout/components/TextBlock/README.md +0 -15
  248. package/src/surfaces/checkout/components/TextField/README.md +0 -49
  249. package/src/surfaces/checkout/components/Tooltip/README.md +0 -8
  250. package/src/surfaces/checkout/components/View/README.md +0 -97
  251. package/src/surfaces/checkout/extension-points.ts +0 -369
@@ -0,0 +1,953 @@
1
+ export type ValueOrPromise<T> = T extends PromiseLike<any> ? T : T | Promise<T>;
2
+
3
+ export type CurrencyCode =
4
+ | 'AED'
5
+ | 'AFN'
6
+ | 'ALL'
7
+ | 'AMD'
8
+ | 'ANG'
9
+ | 'AOA'
10
+ | 'ARS'
11
+ | 'AUD'
12
+ | 'AWG'
13
+ | 'AZN'
14
+ | 'BAM'
15
+ | 'BBD'
16
+ | 'BDT'
17
+ | 'BGN'
18
+ | 'BHD'
19
+ | 'BIF'
20
+ | 'BMD'
21
+ | 'BND'
22
+ | 'BOB'
23
+ | 'BOV'
24
+ | 'BRL'
25
+ | 'BSD'
26
+ | 'BTN'
27
+ | 'BWP'
28
+ | 'BYN'
29
+ | 'BZD'
30
+ | 'CAD'
31
+ | 'CDF'
32
+ | 'CHE'
33
+ | 'CHF'
34
+ | 'CHW'
35
+ | 'CLF'
36
+ | 'CLP'
37
+ | 'CNY'
38
+ | 'COP'
39
+ | 'COU'
40
+ | 'CRC'
41
+ | 'CUC'
42
+ | 'CUP'
43
+ | 'CVE'
44
+ | 'CZK'
45
+ | 'DJF'
46
+ | 'DKK'
47
+ | 'DOP'
48
+ | 'DZD'
49
+ | 'EGP'
50
+ | 'ERN'
51
+ | 'ETB'
52
+ | 'EUR'
53
+ | 'FJD'
54
+ | 'FKP'
55
+ | 'GBP'
56
+ | 'GEL'
57
+ | 'GHS'
58
+ | 'GIP'
59
+ | 'GMD'
60
+ | 'GNF'
61
+ | 'GTQ'
62
+ | 'GYD'
63
+ | 'HKD'
64
+ | 'HNL'
65
+ | 'HRK'
66
+ | 'HTG'
67
+ | 'HUF'
68
+ | 'IDR'
69
+ | 'ILS'
70
+ | 'INR'
71
+ | 'IQD'
72
+ | 'IRR'
73
+ | 'ISK'
74
+ | 'JMD'
75
+ | 'JOD'
76
+ | 'JPY'
77
+ | 'KES'
78
+ | 'KGS'
79
+ | 'KHR'
80
+ | 'KMF'
81
+ | 'KPW'
82
+ | 'KRW'
83
+ | 'KWD'
84
+ | 'KYD'
85
+ | 'KZT'
86
+ | 'LAK'
87
+ | 'LBP'
88
+ | 'LKR'
89
+ | 'LRD'
90
+ | 'LSL'
91
+ | 'LYD'
92
+ | 'MAD'
93
+ | 'MDL'
94
+ | 'MGA'
95
+ | 'MKD'
96
+ | 'MMK'
97
+ | 'MNT'
98
+ | 'MOP'
99
+ | 'MRU'
100
+ | 'MUR'
101
+ | 'MVR'
102
+ | 'MWK'
103
+ | 'MXN'
104
+ | 'MXV'
105
+ | 'MYR'
106
+ | 'MZN'
107
+ | 'NAD'
108
+ | 'NGN'
109
+ | 'NIO'
110
+ | 'NOK'
111
+ | 'NPR'
112
+ | 'NZD'
113
+ | 'OMR'
114
+ | 'PAB'
115
+ | 'PEN'
116
+ | 'PGK'
117
+ | 'PHP'
118
+ | 'PKR'
119
+ | 'PLN'
120
+ | 'PYG'
121
+ | 'QAR'
122
+ | 'RON'
123
+ | 'RSD'
124
+ | 'RUB'
125
+ | 'RWF'
126
+ | 'SAR'
127
+ | 'SBD'
128
+ | 'SCR'
129
+ | 'SDG'
130
+ | 'SEK'
131
+ | 'SGD'
132
+ | 'SHP'
133
+ | 'SLL'
134
+ | 'SOS'
135
+ | 'SRD'
136
+ | 'SSP'
137
+ | 'STN'
138
+ | 'SVC'
139
+ | 'SYP'
140
+ | 'SZL'
141
+ | 'THB'
142
+ | 'TJS'
143
+ | 'TMT'
144
+ | 'TND'
145
+ | 'TOP'
146
+ | 'TRY'
147
+ | 'TTD'
148
+ | 'TWD'
149
+ | 'TZS'
150
+ | 'UAH'
151
+ | 'UGX'
152
+ | 'USD'
153
+ | 'USN'
154
+ | 'UYI'
155
+ | 'UYU'
156
+ | 'UYW'
157
+ | 'UZS'
158
+ | 'VES'
159
+ | 'VND'
160
+ | 'VUV'
161
+ | 'WST'
162
+ | 'XAF'
163
+ | 'XAG'
164
+ | 'XAU'
165
+ | 'XBA'
166
+ | 'XBB'
167
+ | 'XBC'
168
+ | 'XBD'
169
+ | 'XCD'
170
+ | 'XDR'
171
+ | 'XOF'
172
+ | 'XPD'
173
+ | 'XPF'
174
+ | 'XPT'
175
+ | 'XSU'
176
+ | 'XTS'
177
+ | 'XUA'
178
+ | 'XXX'
179
+ | 'YER'
180
+ | 'ZAR'
181
+ | 'ZMW'
182
+ | 'ZWL';
183
+
184
+ // To update these type values, see https://github.com/Shopify/checkout-web/pull/8984
185
+ export type Timezone =
186
+ | 'Africa/Abidjan'
187
+ | 'Africa/Algiers'
188
+ | 'Africa/Bissau'
189
+ | 'Africa/Cairo'
190
+ | 'Africa/Casablanca'
191
+ | 'Africa/Ceuta'
192
+ | 'Africa/El_Aaiun'
193
+ | 'Africa/Johannesburg'
194
+ | 'Africa/Juba'
195
+ | 'Africa/Khartoum'
196
+ | 'Africa/Lagos'
197
+ | 'Africa/Maputo'
198
+ | 'Africa/Monrovia'
199
+ | 'Africa/Nairobi'
200
+ | 'Africa/Ndjamena'
201
+ | 'Africa/Sao_Tome'
202
+ | 'Africa/Tripoli'
203
+ | 'Africa/Tunis'
204
+ | 'Africa/Windhoek'
205
+ | 'America/Adak'
206
+ | 'America/Anchorage'
207
+ | 'America/Araguaina'
208
+ | 'America/Argentina/Buenos_Aires'
209
+ | 'America/Argentina/Catamarca'
210
+ | 'America/Argentina/Cordoba'
211
+ | 'America/Argentina/Jujuy'
212
+ | 'America/Argentina/La_Rioja'
213
+ | 'America/Argentina/Mendoza'
214
+ | 'America/Argentina/Rio_Gallegos'
215
+ | 'America/Argentina/Salta'
216
+ | 'America/Argentina/San_Juan'
217
+ | 'America/Argentina/San_Luis'
218
+ | 'America/Argentina/Tucuman'
219
+ | 'America/Argentina/Ushuaia'
220
+ | 'America/Asuncion'
221
+ | 'America/Bahia'
222
+ | 'America/Bahia_Banderas'
223
+ | 'America/Barbados'
224
+ | 'America/Belem'
225
+ | 'America/Belize'
226
+ | 'America/Boa_Vista'
227
+ | 'America/Bogota'
228
+ | 'America/Boise'
229
+ | 'America/Cambridge_Bay'
230
+ | 'America/Campo_Grande'
231
+ | 'America/Cancun'
232
+ | 'America/Caracas'
233
+ | 'America/Cayenne'
234
+ | 'America/Chicago'
235
+ | 'America/Chihuahua'
236
+ | 'America/Costa_Rica'
237
+ | 'America/Cuiaba'
238
+ | 'America/Danmarkshavn'
239
+ | 'America/Dawson'
240
+ | 'America/Dawson_Creek'
241
+ | 'America/Denver'
242
+ | 'America/Detroit'
243
+ | 'America/Edmonton'
244
+ | 'America/Eirunepe'
245
+ | 'America/El_Salvador'
246
+ | 'America/Fort_Nelson'
247
+ | 'America/Fortaleza'
248
+ | 'America/Glace_Bay'
249
+ | 'America/Goose_Bay'
250
+ | 'America/Grand_Turk'
251
+ | 'America/Guatemala'
252
+ | 'America/Guayaquil'
253
+ | 'America/Guyana'
254
+ | 'America/Halifax'
255
+ | 'America/Havana'
256
+ | 'America/Hermosillo'
257
+ | 'America/Indiana/Indianapolis'
258
+ | 'America/Indiana/Knox'
259
+ | 'America/Indiana/Marengo'
260
+ | 'America/Indiana/Petersburg'
261
+ | 'America/Indiana/Tell_City'
262
+ | 'America/Indiana/Vevay'
263
+ | 'America/Indiana/Vincennes'
264
+ | 'America/Indiana/Winamac'
265
+ | 'America/Inuvik'
266
+ | 'America/Iqaluit'
267
+ | 'America/Jamaica'
268
+ | 'America/Juneau'
269
+ | 'America/Kentucky/Louisville'
270
+ | 'America/Kentucky/Monticello'
271
+ | 'America/La_Paz'
272
+ | 'America/Lima'
273
+ | 'America/Los_Angeles'
274
+ | 'America/Maceio'
275
+ | 'America/Managua'
276
+ | 'America/Manaus'
277
+ | 'America/Martinique'
278
+ | 'America/Matamoros'
279
+ | 'America/Mazatlan'
280
+ | 'America/Menominee'
281
+ | 'America/Merida'
282
+ | 'America/Metlakatla'
283
+ | 'America/Mexico_City'
284
+ | 'America/Miquelon'
285
+ | 'America/Moncton'
286
+ | 'America/Monterrey'
287
+ | 'America/Montevideo'
288
+ | 'America/New_York'
289
+ | 'America/Nipigon'
290
+ | 'America/Nome'
291
+ | 'America/Noronha'
292
+ | 'America/North_Dakota/Beulah'
293
+ | 'America/North_Dakota/Center'
294
+ | 'America/North_Dakota/New_Salem'
295
+ | 'America/Nuuk'
296
+ | 'America/Ojinaga'
297
+ | 'America/Panama'
298
+ | 'America/Pangnirtung'
299
+ | 'America/Paramaribo'
300
+ | 'America/Phoenix'
301
+ | 'America/Port-au-Prince'
302
+ | 'America/Porto_Velho'
303
+ | 'America/Puerto_Rico'
304
+ | 'America/Punta_Arenas'
305
+ | 'America/Rainy_River'
306
+ | 'America/Rankin_Inlet'
307
+ | 'America/Recife'
308
+ | 'America/Regina'
309
+ | 'America/Resolute'
310
+ | 'America/Rio_Branco'
311
+ | 'America/Santarem'
312
+ | 'America/Santiago'
313
+ | 'America/Santo_Domingo'
314
+ | 'America/Sao_Paulo'
315
+ | 'America/Scoresbysund'
316
+ | 'America/Sitka'
317
+ | 'America/St_Johns'
318
+ | 'America/Swift_Current'
319
+ | 'America/Tegucigalpa'
320
+ | 'America/Thule'
321
+ | 'America/Thunder_Bay'
322
+ | 'America/Tijuana'
323
+ | 'America/Toronto'
324
+ | 'America/Vancouver'
325
+ | 'America/Whitehorse'
326
+ | 'America/Winnipeg'
327
+ | 'America/Yakutat'
328
+ | 'America/Yellowknife'
329
+ | 'Antarctica/Casey'
330
+ | 'Antarctica/Davis'
331
+ | 'Antarctica/Macquarie'
332
+ | 'Antarctica/Mawson'
333
+ | 'Antarctica/Palmer'
334
+ | 'Antarctica/Rothera'
335
+ | 'Antarctica/Troll'
336
+ | 'Antarctica/Vostok'
337
+ | 'Asia/Almaty'
338
+ | 'Asia/Amman'
339
+ | 'Asia/Anadyr'
340
+ | 'Asia/Aqtau'
341
+ | 'Asia/Aqtobe'
342
+ | 'Asia/Ashgabat'
343
+ | 'Asia/Atyrau'
344
+ | 'Asia/Baghdad'
345
+ | 'Asia/Baku'
346
+ | 'Asia/Bangkok'
347
+ | 'Asia/Barnaul'
348
+ | 'Asia/Beirut'
349
+ | 'Asia/Bishkek'
350
+ | 'Asia/Brunei'
351
+ | 'Asia/Chita'
352
+ | 'Asia/Choibalsan'
353
+ | 'Asia/Colombo'
354
+ | 'Asia/Damascus'
355
+ | 'Asia/Dhaka'
356
+ | 'Asia/Dili'
357
+ | 'Asia/Dubai'
358
+ | 'Asia/Dushanbe'
359
+ | 'Asia/Famagusta'
360
+ | 'Asia/Gaza'
361
+ | 'Asia/Hebron'
362
+ | 'Asia/Ho_Chi_Minh'
363
+ | 'Asia/Hong_Kong'
364
+ | 'Asia/Hovd'
365
+ | 'Asia/Irkutsk'
366
+ | 'Asia/Jakarta'
367
+ | 'Asia/Jayapura'
368
+ | 'Asia/Jerusalem'
369
+ | 'Asia/Kabul'
370
+ | 'Asia/Kamchatka'
371
+ | 'Asia/Karachi'
372
+ | 'Asia/Kathmandu'
373
+ | 'Asia/Khandyga'
374
+ | 'Asia/Kolkata'
375
+ | 'Asia/Krasnoyarsk'
376
+ | 'Asia/Kuala_Lumpur'
377
+ | 'Asia/Kuching'
378
+ | 'Asia/Macau'
379
+ | 'Asia/Magadan'
380
+ | 'Asia/Makassar'
381
+ | 'Asia/Manila'
382
+ | 'Asia/Nicosia'
383
+ | 'Asia/Novokuznetsk'
384
+ | 'Asia/Novosibirsk'
385
+ | 'Asia/Omsk'
386
+ | 'Asia/Oral'
387
+ | 'Asia/Pontianak'
388
+ | 'Asia/Pyongyang'
389
+ | 'Asia/Qatar'
390
+ | 'Asia/Qostanay'
391
+ | 'Asia/Qyzylorda'
392
+ | 'Asia/Riyadh'
393
+ | 'Asia/Sakhalin'
394
+ | 'Asia/Samarkand'
395
+ | 'Asia/Seoul'
396
+ | 'Asia/Shanghai'
397
+ | 'Asia/Singapore'
398
+ | 'Asia/Srednekolymsk'
399
+ | 'Asia/Taipei'
400
+ | 'Asia/Tashkent'
401
+ | 'Asia/Tbilisi'
402
+ | 'Asia/Tehran'
403
+ | 'Asia/Thimphu'
404
+ | 'Asia/Tokyo'
405
+ | 'Asia/Tomsk'
406
+ | 'Asia/Ulaanbaatar'
407
+ | 'Asia/Urumqi'
408
+ | 'Asia/Ust-Nera'
409
+ | 'Asia/Vladivostok'
410
+ | 'Asia/Yakutsk'
411
+ | 'Asia/Yangon'
412
+ | 'Asia/Yekaterinburg'
413
+ | 'Asia/Yerevan'
414
+ | 'Atlantic/Azores'
415
+ | 'Atlantic/Bermuda'
416
+ | 'Atlantic/Canary'
417
+ | 'Atlantic/Cape_Verde'
418
+ | 'Atlantic/Faroe'
419
+ | 'Atlantic/Madeira'
420
+ | 'Atlantic/Reykjavik'
421
+ | 'Atlantic/South_Georgia'
422
+ | 'Atlantic/Stanley'
423
+ | 'Australia/Adelaide'
424
+ | 'Australia/Brisbane'
425
+ | 'Australia/Broken_Hill'
426
+ | 'Australia/Darwin'
427
+ | 'Australia/Eucla'
428
+ | 'Australia/Hobart'
429
+ | 'Australia/Lindeman'
430
+ | 'Australia/Lord_Howe'
431
+ | 'Australia/Melbourne'
432
+ | 'Australia/Perth'
433
+ | 'Australia/Sydney'
434
+ | 'CET'
435
+ | 'CST6CDT'
436
+ | 'EET'
437
+ | 'EST'
438
+ | 'EST5EDT'
439
+ | 'Etc/GMT'
440
+ | 'Etc/GMT-1'
441
+ | 'Etc/GMT-10'
442
+ | 'Etc/GMT-11'
443
+ | 'Etc/GMT-12'
444
+ | 'Etc/GMT-13'
445
+ | 'Etc/GMT-14'
446
+ | 'Etc/GMT-2'
447
+ | 'Etc/GMT-3'
448
+ | 'Etc/GMT-4'
449
+ | 'Etc/GMT-5'
450
+ | 'Etc/GMT-6'
451
+ | 'Etc/GMT-7'
452
+ | 'Etc/GMT-8'
453
+ | 'Etc/GMT-9'
454
+ | 'Etc/GMT+1'
455
+ | 'Etc/GMT+10'
456
+ | 'Etc/GMT+11'
457
+ | 'Etc/GMT+12'
458
+ | 'Etc/GMT+2'
459
+ | 'Etc/GMT+3'
460
+ | 'Etc/GMT+4'
461
+ | 'Etc/GMT+5'
462
+ | 'Etc/GMT+6'
463
+ | 'Etc/GMT+7'
464
+ | 'Etc/GMT+8'
465
+ | 'Etc/GMT+9'
466
+ | 'Etc/UTC'
467
+ | 'Europe/Amsterdam'
468
+ | 'Europe/Andorra'
469
+ | 'Europe/Astrakhan'
470
+ | 'Europe/Athens'
471
+ | 'Europe/Belgrade'
472
+ | 'Europe/Berlin'
473
+ | 'Europe/Brussels'
474
+ | 'Europe/Bucharest'
475
+ | 'Europe/Budapest'
476
+ | 'Europe/Chisinau'
477
+ | 'Europe/Copenhagen'
478
+ | 'Europe/Dublin'
479
+ | 'Europe/Gibraltar'
480
+ | 'Europe/Helsinki'
481
+ | 'Europe/Istanbul'
482
+ | 'Europe/Kaliningrad'
483
+ | 'Europe/Kiev'
484
+ | 'Europe/Kirov'
485
+ | 'Europe/Lisbon'
486
+ | 'Europe/London'
487
+ | 'Europe/Luxembourg'
488
+ | 'Europe/Madrid'
489
+ | 'Europe/Malta'
490
+ | 'Europe/Minsk'
491
+ | 'Europe/Monaco'
492
+ | 'Europe/Moscow'
493
+ | 'Europe/Oslo'
494
+ | 'Europe/Paris'
495
+ | 'Europe/Prague'
496
+ | 'Europe/Riga'
497
+ | 'Europe/Rome'
498
+ | 'Europe/Samara'
499
+ | 'Europe/Saratov'
500
+ | 'Europe/Simferopol'
501
+ | 'Europe/Sofia'
502
+ | 'Europe/Stockholm'
503
+ | 'Europe/Tallinn'
504
+ | 'Europe/Tirane'
505
+ | 'Europe/Ulyanovsk'
506
+ | 'Europe/Uzhgorod'
507
+ | 'Europe/Vienna'
508
+ | 'Europe/Vilnius'
509
+ | 'Europe/Volgograd'
510
+ | 'Europe/Warsaw'
511
+ | 'Europe/Zaporozhye'
512
+ | 'Europe/Zurich'
513
+ | 'HST'
514
+ | 'Indian/Chagos'
515
+ | 'Indian/Christmas'
516
+ | 'Indian/Cocos'
517
+ | 'Indian/Kerguelen'
518
+ | 'Indian/Mahe'
519
+ | 'Indian/Maldives'
520
+ | 'Indian/Mauritius'
521
+ | 'Indian/Reunion'
522
+ | 'MET'
523
+ | 'MST'
524
+ | 'MST7MDT'
525
+ | 'Pacific/Apia'
526
+ | 'Pacific/Auckland'
527
+ | 'Pacific/Bougainville'
528
+ | 'Pacific/Chatham'
529
+ | 'Pacific/Chuuk'
530
+ | 'Pacific/Easter'
531
+ | 'Pacific/Efate'
532
+ | 'Pacific/Fakaofo'
533
+ | 'Pacific/Fiji'
534
+ | 'Pacific/Funafuti'
535
+ | 'Pacific/Galapagos'
536
+ | 'Pacific/Gambier'
537
+ | 'Pacific/Guadalcanal'
538
+ | 'Pacific/Guam'
539
+ | 'Pacific/Honolulu'
540
+ | 'Pacific/Kanton'
541
+ | 'Pacific/Kiritimati'
542
+ | 'Pacific/Kosrae'
543
+ | 'Pacific/Kwajalein'
544
+ | 'Pacific/Majuro'
545
+ | 'Pacific/Marquesas'
546
+ | 'Pacific/Nauru'
547
+ | 'Pacific/Niue'
548
+ | 'Pacific/Norfolk'
549
+ | 'Pacific/Noumea'
550
+ | 'Pacific/Pago_Pago'
551
+ | 'Pacific/Palau'
552
+ | 'Pacific/Pitcairn'
553
+ | 'Pacific/Pohnpei'
554
+ | 'Pacific/Port_Moresby'
555
+ | 'Pacific/Rarotonga'
556
+ | 'Pacific/Tahiti'
557
+ | 'Pacific/Tarawa'
558
+ | 'Pacific/Tongatapu'
559
+ | 'Pacific/Wake'
560
+ | 'Pacific/Wallis'
561
+ | 'PST8PDT'
562
+ | 'WET';
563
+
564
+ export type CountryCode =
565
+ | 'AC'
566
+ | 'AD'
567
+ | 'AE'
568
+ | 'AF'
569
+ | 'AG'
570
+ | 'AI'
571
+ | 'AL'
572
+ | 'AM'
573
+ | 'AN'
574
+ | 'AO'
575
+ | 'AR'
576
+ | 'AT'
577
+ | 'AU'
578
+ | 'AW'
579
+ | 'AX'
580
+ | 'AZ'
581
+ | 'BA'
582
+ | 'BB'
583
+ | 'BD'
584
+ | 'BE'
585
+ | 'BF'
586
+ | 'BG'
587
+ | 'BH'
588
+ | 'BI'
589
+ | 'BJ'
590
+ | 'BL'
591
+ | 'BM'
592
+ | 'BN'
593
+ | 'BO'
594
+ | 'BQ'
595
+ | 'BR'
596
+ | 'BS'
597
+ | 'BT'
598
+ | 'BV'
599
+ | 'BW'
600
+ | 'BY'
601
+ | 'BZ'
602
+ | 'CA'
603
+ | 'CC'
604
+ | 'CD'
605
+ | 'CF'
606
+ | 'CG'
607
+ | 'CH'
608
+ | 'CI'
609
+ | 'CK'
610
+ | 'CL'
611
+ | 'CM'
612
+ | 'CN'
613
+ | 'CO'
614
+ | 'CR'
615
+ | 'CU'
616
+ | 'CV'
617
+ | 'CW'
618
+ | 'CX'
619
+ | 'CY'
620
+ | 'CZ'
621
+ | 'DE'
622
+ | 'DJ'
623
+ | 'DK'
624
+ | 'DM'
625
+ | 'DO'
626
+ | 'DZ'
627
+ | 'EC'
628
+ | 'EE'
629
+ | 'EG'
630
+ | 'EH'
631
+ | 'ER'
632
+ | 'ES'
633
+ | 'ET'
634
+ | 'FI'
635
+ | 'FJ'
636
+ | 'FK'
637
+ | 'FO'
638
+ | 'FR'
639
+ | 'GA'
640
+ | 'GB'
641
+ | 'GD'
642
+ | 'GE'
643
+ | 'GF'
644
+ | 'GG'
645
+ | 'GH'
646
+ | 'GI'
647
+ | 'GL'
648
+ | 'GM'
649
+ | 'GN'
650
+ | 'GP'
651
+ | 'GQ'
652
+ | 'GR'
653
+ | 'GS'
654
+ | 'GT'
655
+ | 'GW'
656
+ | 'GY'
657
+ | 'HK'
658
+ | 'HM'
659
+ | 'HN'
660
+ | 'HR'
661
+ | 'HT'
662
+ | 'HU'
663
+ | 'ID'
664
+ | 'IE'
665
+ | 'IL'
666
+ | 'IM'
667
+ | 'IN'
668
+ | 'IO'
669
+ | 'IQ'
670
+ | 'IR'
671
+ | 'IS'
672
+ | 'IT'
673
+ | 'JE'
674
+ | 'JM'
675
+ | 'JO'
676
+ | 'JP'
677
+ | 'KE'
678
+ | 'KG'
679
+ | 'KH'
680
+ | 'KI'
681
+ | 'KM'
682
+ | 'KN'
683
+ | 'KP'
684
+ | 'KR'
685
+ | 'KW'
686
+ | 'KY'
687
+ | 'KZ'
688
+ | 'LA'
689
+ | 'LB'
690
+ | 'LC'
691
+ | 'LI'
692
+ | 'LK'
693
+ | 'LR'
694
+ | 'LS'
695
+ | 'LT'
696
+ | 'LU'
697
+ | 'LV'
698
+ | 'LY'
699
+ | 'MA'
700
+ | 'MC'
701
+ | 'MD'
702
+ | 'ME'
703
+ | 'MF'
704
+ | 'MG'
705
+ | 'MK'
706
+ | 'ML'
707
+ | 'MM'
708
+ | 'MN'
709
+ | 'MO'
710
+ | 'MQ'
711
+ | 'MR'
712
+ | 'MS'
713
+ | 'MT'
714
+ | 'MU'
715
+ | 'MV'
716
+ | 'MW'
717
+ | 'MX'
718
+ | 'MY'
719
+ | 'MZ'
720
+ | 'NA'
721
+ | 'NC'
722
+ | 'NE'
723
+ | 'NF'
724
+ | 'NG'
725
+ | 'NI'
726
+ | 'NL'
727
+ | 'NO'
728
+ | 'NP'
729
+ | 'NR'
730
+ | 'NU'
731
+ | 'NZ'
732
+ | 'OM'
733
+ | 'PA'
734
+ | 'PE'
735
+ | 'PF'
736
+ | 'PG'
737
+ | 'PH'
738
+ | 'PK'
739
+ | 'PL'
740
+ | 'PM'
741
+ | 'PN'
742
+ | 'PS'
743
+ | 'PT'
744
+ | 'PY'
745
+ | 'QA'
746
+ | 'RE'
747
+ | 'RO'
748
+ | 'RS'
749
+ | 'RU'
750
+ | 'RW'
751
+ | 'SA'
752
+ | 'SB'
753
+ | 'SC'
754
+ | 'SD'
755
+ | 'SE'
756
+ | 'SG'
757
+ | 'SH'
758
+ | 'SI'
759
+ | 'SJ'
760
+ | 'SK'
761
+ | 'SL'
762
+ | 'SM'
763
+ | 'SN'
764
+ | 'SO'
765
+ | 'SR'
766
+ | 'SS'
767
+ | 'ST'
768
+ | 'SV'
769
+ | 'SX'
770
+ | 'SY'
771
+ | 'SZ'
772
+ | 'TA'
773
+ | 'TC'
774
+ | 'TD'
775
+ | 'TF'
776
+ | 'TG'
777
+ | 'TH'
778
+ | 'TJ'
779
+ | 'TK'
780
+ | 'TL'
781
+ | 'TM'
782
+ | 'TN'
783
+ | 'TO'
784
+ | 'TR'
785
+ | 'TT'
786
+ | 'TV'
787
+ | 'TW'
788
+ | 'TZ'
789
+ | 'UA'
790
+ | 'UG'
791
+ | 'UM'
792
+ | 'US'
793
+ | 'UY'
794
+ | 'UZ'
795
+ | 'VA'
796
+ | 'VC'
797
+ | 'VE'
798
+ | 'VG'
799
+ | 'VN'
800
+ | 'VU'
801
+ | 'WF'
802
+ | 'WS'
803
+ | 'XK'
804
+ | 'YE'
805
+ | 'YT'
806
+ | 'ZA'
807
+ | 'ZM'
808
+ | 'ZW'
809
+ | 'ZZ';
810
+
811
+ /**
812
+ * Union of supported storefront API versions
813
+ */
814
+ export type StorefrontApiVersion =
815
+ | '2022-04'
816
+ | '2022-07'
817
+ | '2022-10'
818
+ | '2023-01'
819
+ | '2023-04'
820
+ | '2023-07'
821
+ | 'unstable';
822
+
823
+ /**
824
+ * GraphQL error returned by the Shopify Storefront APIs.
825
+ */
826
+ export interface GraphQLError {
827
+ message: string;
828
+ extensions: {
829
+ requestId: string;
830
+ code: string;
831
+ };
832
+ }
833
+
834
+ export interface SellingPlan {
835
+ /**
836
+ * A globally-unique identifier.
837
+ * @example 'gid://shopify/SellingPlan/1'
838
+ */
839
+ id: string;
840
+ }
841
+
842
+ export interface Attribute {
843
+ /**
844
+ * The key for the attribute.
845
+ */
846
+ key: string;
847
+
848
+ /**
849
+ * The value for the attribute.
850
+ */
851
+ value: string;
852
+ }
853
+
854
+ export interface MailingAddress {
855
+ /**
856
+ * The buyer's full name.
857
+ *
858
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
859
+ *
860
+ * @example 'John Doe'
861
+ */
862
+ name?: string;
863
+
864
+ /**
865
+ * The buyer's first name.
866
+ *
867
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
868
+ *
869
+ * @example 'John'
870
+ */
871
+ firstName?: string;
872
+
873
+ /**
874
+ * The buyer's last name.
875
+ *
876
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
877
+ *
878
+ * @example 'Doe'
879
+ */
880
+ lastName?: string;
881
+
882
+ /**
883
+ * The buyer's company name.
884
+ *
885
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
886
+ *
887
+ * @example 'Shopify'
888
+ */
889
+ company?: string;
890
+
891
+ /**
892
+ * The first line of the buyer's address, including street name and number.
893
+ *
894
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
895
+ *
896
+ * @example '151 O'Connor Street'
897
+ */
898
+ address1?: string;
899
+
900
+ /**
901
+ * The second line of the buyer's address, like apartment number, suite, etc.
902
+ *
903
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
904
+ *
905
+ * @example 'Ground floor'
906
+ */
907
+ address2?: string;
908
+
909
+ /**
910
+ * The buyer's city.
911
+ *
912
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
913
+ *
914
+ * @example 'Ottawa'
915
+ */
916
+ city?: string;
917
+
918
+ /**
919
+ * The buyer's postal or ZIP code.
920
+ *
921
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
922
+ *
923
+ * @example 'K2P 2L8'
924
+ */
925
+ zip?: string;
926
+
927
+ /**
928
+ * The ISO 3166 Alpha-2 format for the buyer's country. Refer to https://www.iso.org/iso-3166-country-codes.html.
929
+ *
930
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
931
+ *
932
+ * @example 'CA' for Canada.
933
+ */
934
+ countryCode?: CountryCode;
935
+
936
+ /**
937
+ * The buyer's province code, such as state, province, prefecture, or region.
938
+ *
939
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
940
+ *
941
+ * @example 'ON' for Ontario.
942
+ */
943
+ provinceCode?: string;
944
+
945
+ /**
946
+ * The buyer's phone number.
947
+ *
948
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
949
+ *
950
+ * @example '+1 613 111 2222'.
951
+ */
952
+ phone?: string;
953
+ }