@polar-sh/sdk 0.35.1 → 0.35.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 (225) hide show
  1. package/README.md +25 -23
  2. package/bin/mcp-server.js +806 -635
  3. package/bin/mcp-server.js.map +15 -11
  4. package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.d.ts +2 -2
  5. package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.js +2 -2
  7. package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.js.map +1 -1
  8. package/dist/commonjs/funcs/customerPortalCustomersConfirmPaymentMethod.d.ts +23 -0
  9. package/dist/commonjs/funcs/customerPortalCustomersConfirmPaymentMethod.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/customerPortalCustomersConfirmPaymentMethod.js +126 -0
  11. package/dist/commonjs/funcs/customerPortalCustomersConfirmPaymentMethod.js.map +1 -0
  12. package/dist/commonjs/funcs/customersGetBalance.d.ts +22 -0
  13. package/dist/commonjs/funcs/customersGetBalance.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/customersGetBalance.js +127 -0
  15. package/dist/commonjs/funcs/customersGetBalance.js.map +1 -0
  16. package/dist/commonjs/funcs/metersQuantities.js +1 -0
  17. package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
  18. package/dist/commonjs/lib/config.d.ts +3 -3
  19. package/dist/commonjs/lib/config.js +3 -3
  20. package/dist/commonjs/lib/config.js.map +1 -1
  21. package/dist/commonjs/lib/url.js +1 -1
  22. package/dist/commonjs/lib/url.js.map +1 -1
  23. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  24. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  25. package/dist/commonjs/mcp-server/server.js +3 -1
  26. package/dist/commonjs/mcp-server/server.js.map +1 -1
  27. package/dist/commonjs/mcp-server/tools/customersGetBalance.d.ts +7 -0
  28. package/dist/commonjs/mcp-server/tools/customersGetBalance.d.ts.map +1 -0
  29. package/dist/commonjs/mcp-server/tools/customersGetBalance.js +34 -0
  30. package/dist/commonjs/mcp-server/tools/customersGetBalance.js.map +1 -0
  31. package/dist/commonjs/models/components/address.d.ts +664 -664
  32. package/dist/commonjs/models/components/address.js +221 -221
  33. package/dist/commonjs/models/components/addressinput.d.ts +650 -650
  34. package/dist/commonjs/models/components/addressinput.js +216 -216
  35. package/dist/commonjs/models/components/aggregationfunction.d.ts +40 -0
  36. package/dist/commonjs/models/components/aggregationfunction.d.ts.map +1 -0
  37. package/dist/commonjs/models/components/aggregationfunction.js +64 -0
  38. package/dist/commonjs/models/components/aggregationfunction.js.map +1 -0
  39. package/dist/commonjs/models/components/customerbalance.d.ts +40 -0
  40. package/dist/commonjs/models/components/customerbalance.d.ts.map +1 -0
  41. package/dist/commonjs/models/components/customerbalance.js +71 -0
  42. package/dist/commonjs/models/components/customerbalance.js.map +1 -0
  43. package/dist/commonjs/models/components/customerorder.d.ts +5 -0
  44. package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/customerorder.js +4 -0
  46. package/dist/commonjs/models/components/customerorder.js.map +1 -1
  47. package/dist/commonjs/models/components/customerpaymentmethodconfirm.d.ts +31 -0
  48. package/dist/commonjs/models/components/customerpaymentmethodconfirm.d.ts.map +1 -0
  49. package/dist/commonjs/models/components/customerpaymentmethodconfirm.js +82 -0
  50. package/dist/commonjs/models/components/customerpaymentmethodconfirm.js.map +1 -0
  51. package/dist/commonjs/models/components/customerpaymentmethodcreaterequiresactionresponse.d.ts +31 -0
  52. package/dist/commonjs/models/components/customerpaymentmethodcreaterequiresactionresponse.d.ts.map +1 -0
  53. package/dist/commonjs/models/components/customerpaymentmethodcreaterequiresactionresponse.js +80 -0
  54. package/dist/commonjs/models/components/customerpaymentmethodcreaterequiresactionresponse.js.map +1 -0
  55. package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.d.ts +35 -0
  56. package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.d.ts.map +1 -0
  57. package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.js +81 -0
  58. package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.js.map +1 -0
  59. package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.d.ts +32 -0
  60. package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.d.ts.map +1 -0
  61. package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.js +81 -0
  62. package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.js.map +1 -0
  63. package/dist/commonjs/models/components/customerstatesubscription.d.ts +38 -2
  64. package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
  65. package/dist/commonjs/models/components/customerstatesubscription.js +30 -3
  66. package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
  67. package/dist/commonjs/models/components/customersubscription.d.ts +5 -0
  68. package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/customersubscription.js +4 -0
  70. package/dist/commonjs/models/components/customersubscription.js.map +1 -1
  71. package/dist/commonjs/models/components/order.d.ts +5 -0
  72. package/dist/commonjs/models/components/order.d.ts.map +1 -1
  73. package/dist/commonjs/models/components/order.js +4 -0
  74. package/dist/commonjs/models/components/order.js.map +1 -1
  75. package/dist/commonjs/models/errors/customernotready.d.ts +39 -0
  76. package/dist/commonjs/models/errors/customernotready.d.ts.map +1 -0
  77. package/dist/commonjs/models/errors/customernotready.js +88 -0
  78. package/dist/commonjs/models/errors/customernotready.js.map +1 -0
  79. package/dist/commonjs/models/operations/customerportalcustomersconfirmpaymentmethod.d.ts +29 -0
  80. package/dist/commonjs/models/operations/customerportalcustomersconfirmpaymentmethod.d.ts.map +1 -0
  81. package/dist/commonjs/models/operations/customerportalcustomersconfirmpaymentmethod.js +78 -0
  82. package/dist/commonjs/models/operations/customerportalcustomersconfirmpaymentmethod.js.map +1 -0
  83. package/dist/commonjs/models/operations/customersgetbalance.d.ts +32 -0
  84. package/dist/commonjs/models/operations/customersgetbalance.d.ts.map +1 -0
  85. package/dist/commonjs/models/operations/customersgetbalance.js +69 -0
  86. package/dist/commonjs/models/operations/customersgetbalance.js.map +1 -0
  87. package/dist/commonjs/models/operations/metersquantities.d.ts +6 -0
  88. package/dist/commonjs/models/operations/metersquantities.d.ts.map +1 -1
  89. package/dist/commonjs/models/operations/metersquantities.js +7 -0
  90. package/dist/commonjs/models/operations/metersquantities.js.map +1 -1
  91. package/dist/commonjs/sdk/customers.d.ts +11 -0
  92. package/dist/commonjs/sdk/customers.d.ts.map +1 -1
  93. package/dist/commonjs/sdk/customers.js +12 -0
  94. package/dist/commonjs/sdk/customers.js.map +1 -1
  95. package/dist/commonjs/sdk/polarcustomers.d.ts +13 -2
  96. package/dist/commonjs/sdk/polarcustomers.d.ts.map +1 -1
  97. package/dist/commonjs/sdk/polarcustomers.js +12 -0
  98. package/dist/commonjs/sdk/polarcustomers.js.map +1 -1
  99. package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.d.ts +2 -2
  100. package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.d.ts.map +1 -1
  101. package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.js +2 -2
  102. package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.js.map +1 -1
  103. package/dist/esm/funcs/customerPortalCustomersConfirmPaymentMethod.d.ts +23 -0
  104. package/dist/esm/funcs/customerPortalCustomersConfirmPaymentMethod.d.ts.map +1 -0
  105. package/dist/esm/funcs/customerPortalCustomersConfirmPaymentMethod.js +90 -0
  106. package/dist/esm/funcs/customerPortalCustomersConfirmPaymentMethod.js.map +1 -0
  107. package/dist/esm/funcs/customersGetBalance.d.ts +22 -0
  108. package/dist/esm/funcs/customersGetBalance.d.ts.map +1 -0
  109. package/dist/esm/funcs/customersGetBalance.js +91 -0
  110. package/dist/esm/funcs/customersGetBalance.js.map +1 -0
  111. package/dist/esm/funcs/metersQuantities.js +1 -0
  112. package/dist/esm/funcs/metersQuantities.js.map +1 -1
  113. package/dist/esm/lib/config.d.ts +3 -3
  114. package/dist/esm/lib/config.js +3 -3
  115. package/dist/esm/lib/config.js.map +1 -1
  116. package/dist/esm/lib/url.js +1 -1
  117. package/dist/esm/lib/url.js.map +1 -1
  118. package/dist/esm/mcp-server/mcp-server.js +1 -1
  119. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  120. package/dist/esm/mcp-server/server.js +3 -1
  121. package/dist/esm/mcp-server/server.js.map +1 -1
  122. package/dist/esm/mcp-server/tools/customersGetBalance.d.ts +7 -0
  123. package/dist/esm/mcp-server/tools/customersGetBalance.d.ts.map +1 -0
  124. package/dist/esm/mcp-server/tools/customersGetBalance.js +31 -0
  125. package/dist/esm/mcp-server/tools/customersGetBalance.js.map +1 -0
  126. package/dist/esm/models/components/address.d.ts +664 -664
  127. package/dist/esm/models/components/address.js +221 -221
  128. package/dist/esm/models/components/addressinput.d.ts +650 -650
  129. package/dist/esm/models/components/addressinput.js +216 -216
  130. package/dist/esm/models/components/aggregationfunction.d.ts +40 -0
  131. package/dist/esm/models/components/aggregationfunction.d.ts.map +1 -0
  132. package/dist/esm/models/components/aggregationfunction.js +28 -0
  133. package/dist/esm/models/components/aggregationfunction.js.map +1 -0
  134. package/dist/esm/models/components/customerbalance.d.ts +40 -0
  135. package/dist/esm/models/components/customerbalance.d.ts.map +1 -0
  136. package/dist/esm/models/components/customerbalance.js +33 -0
  137. package/dist/esm/models/components/customerbalance.js.map +1 -0
  138. package/dist/esm/models/components/customerorder.d.ts +5 -0
  139. package/dist/esm/models/components/customerorder.d.ts.map +1 -1
  140. package/dist/esm/models/components/customerorder.js +4 -0
  141. package/dist/esm/models/components/customerorder.js.map +1 -1
  142. package/dist/esm/models/components/customerpaymentmethodconfirm.d.ts +31 -0
  143. package/dist/esm/models/components/customerpaymentmethodconfirm.d.ts.map +1 -0
  144. package/dist/esm/models/components/customerpaymentmethodconfirm.js +44 -0
  145. package/dist/esm/models/components/customerpaymentmethodconfirm.js.map +1 -0
  146. package/dist/esm/models/components/customerpaymentmethodcreaterequiresactionresponse.d.ts +31 -0
  147. package/dist/esm/models/components/customerpaymentmethodcreaterequiresactionresponse.d.ts.map +1 -0
  148. package/dist/esm/models/components/customerpaymentmethodcreaterequiresactionresponse.js +42 -0
  149. package/dist/esm/models/components/customerpaymentmethodcreaterequiresactionresponse.js.map +1 -0
  150. package/dist/esm/models/components/customerpaymentmethodcreateresponse.d.ts +35 -0
  151. package/dist/esm/models/components/customerpaymentmethodcreateresponse.d.ts.map +1 -0
  152. package/dist/esm/models/components/customerpaymentmethodcreateresponse.js +43 -0
  153. package/dist/esm/models/components/customerpaymentmethodcreateresponse.js.map +1 -0
  154. package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.d.ts +32 -0
  155. package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.d.ts.map +1 -0
  156. package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.js +43 -0
  157. package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.js.map +1 -0
  158. package/dist/esm/models/components/customerstatesubscription.d.ts +38 -2
  159. package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
  160. package/dist/esm/models/components/customerstatesubscription.js +29 -2
  161. package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
  162. package/dist/esm/models/components/customersubscription.d.ts +5 -0
  163. package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
  164. package/dist/esm/models/components/customersubscription.js +4 -0
  165. package/dist/esm/models/components/customersubscription.js.map +1 -1
  166. package/dist/esm/models/components/order.d.ts +5 -0
  167. package/dist/esm/models/components/order.d.ts.map +1 -1
  168. package/dist/esm/models/components/order.js +4 -0
  169. package/dist/esm/models/components/order.js.map +1 -1
  170. package/dist/esm/models/errors/customernotready.d.ts +39 -0
  171. package/dist/esm/models/errors/customernotready.d.ts.map +1 -0
  172. package/dist/esm/models/errors/customernotready.js +51 -0
  173. package/dist/esm/models/errors/customernotready.js.map +1 -0
  174. package/dist/esm/models/operations/customerportalcustomersconfirmpaymentmethod.d.ts +29 -0
  175. package/dist/esm/models/operations/customerportalcustomersconfirmpaymentmethod.d.ts.map +1 -0
  176. package/dist/esm/models/operations/customerportalcustomersconfirmpaymentmethod.js +40 -0
  177. package/dist/esm/models/operations/customerportalcustomersconfirmpaymentmethod.js.map +1 -0
  178. package/dist/esm/models/operations/customersgetbalance.d.ts +32 -0
  179. package/dist/esm/models/operations/customersgetbalance.d.ts.map +1 -0
  180. package/dist/esm/models/operations/customersgetbalance.js +31 -0
  181. package/dist/esm/models/operations/customersgetbalance.js.map +1 -0
  182. package/dist/esm/models/operations/metersquantities.d.ts +6 -0
  183. package/dist/esm/models/operations/metersquantities.d.ts.map +1 -1
  184. package/dist/esm/models/operations/metersquantities.js +7 -0
  185. package/dist/esm/models/operations/metersquantities.js.map +1 -1
  186. package/dist/esm/sdk/customers.d.ts +11 -0
  187. package/dist/esm/sdk/customers.d.ts.map +1 -1
  188. package/dist/esm/sdk/customers.js +12 -0
  189. package/dist/esm/sdk/customers.js.map +1 -1
  190. package/dist/esm/sdk/polarcustomers.d.ts +13 -2
  191. package/dist/esm/sdk/polarcustomers.d.ts.map +1 -1
  192. package/dist/esm/sdk/polarcustomers.js +12 -0
  193. package/dist/esm/sdk/polarcustomers.js.map +1 -1
  194. package/docs/sdks/customers/README.md +78 -0
  195. package/docs/sdks/polarcustomers/README.md +82 -1
  196. package/examples/package-lock.json +1 -1
  197. package/jsr.json +1 -1
  198. package/package.json +1 -1
  199. package/src/funcs/customerPortalCustomersAddPaymentMethod.ts +8 -8
  200. package/src/funcs/customerPortalCustomersConfirmPaymentMethod.ts +201 -0
  201. package/src/funcs/customersGetBalance.ts +195 -0
  202. package/src/funcs/metersQuantities.ts +1 -0
  203. package/src/lib/config.ts +3 -3
  204. package/src/lib/url.ts +1 -1
  205. package/src/mcp-server/mcp-server.ts +1 -1
  206. package/src/mcp-server/server.ts +3 -1
  207. package/src/mcp-server/tools/customersGetBalance.ts +40 -0
  208. package/src/models/components/address.ts +221 -221
  209. package/src/models/components/addressinput.ts +216 -216
  210. package/src/models/components/aggregationfunction.ts +37 -0
  211. package/src/models/components/customerbalance.ts +77 -0
  212. package/src/models/components/customerorder.ts +9 -0
  213. package/src/models/components/customerpaymentmethodconfirm.ts +83 -0
  214. package/src/models/components/customerpaymentmethodcreaterequiresactionresponse.ts +93 -0
  215. package/src/models/components/customerpaymentmethodcreateresponse.ts +107 -0
  216. package/src/models/components/customerpaymentmethodcreatesucceededresponse.ts +98 -0
  217. package/src/models/components/customerstatesubscription.ts +56 -4
  218. package/src/models/components/customersubscription.ts +9 -0
  219. package/src/models/components/order.ts +9 -0
  220. package/src/models/errors/customernotready.ts +85 -0
  221. package/src/models/operations/customerportalcustomersconfirmpaymentmethod.ts +89 -0
  222. package/src/models/operations/customersgetbalance.ts +69 -0
  223. package/src/models/operations/metersquantities.ts +16 -0
  224. package/src/sdk/customers.ts +22 -0
  225. package/src/sdk/polarcustomers.ts +26 -2
@@ -5,255 +5,255 @@ import * as z from "zod";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  export const CountryAlpha2 = {
8
- Am: "AM",
9
- Na: "NA",
10
- Sx: "SX",
11
- Gp: "GP",
12
- Mq: "MQ",
13
- Pk: "PK",
14
- Ne: "NE",
15
- Tj: "TJ",
16
- Ws: "WS",
8
+ Ad: "AD",
9
+ Ae: "AE",
10
+ Af: "AF",
11
+ Ag: "AG",
12
+ Ai: "AI",
17
13
  Al: "AL",
18
- Gs: "GS",
19
- Sr: "SR",
20
- Hu: "HU",
21
- Bv: "BV",
22
- Il: "IL",
23
- Vc: "VC",
24
- La: "LA",
25
- Cl: "CL",
26
- Ee: "EE",
27
- Fi: "FI",
28
- Pt: "PT",
29
- Lc: "LC",
30
- By: "BY",
31
- Co: "CO",
32
- Tt: "TT",
33
- Mf: "MF",
34
- De: "DE",
35
- Iq: "IQ",
14
+ Am: "AM",
15
+ Ao: "AO",
16
+ Aq: "AQ",
17
+ Ar: "AR",
18
+ As: "AS",
36
19
  At: "AT",
37
- Km: "KM",
38
- Ni: "NI",
39
- Sc: "SC",
40
- Sd: "SD",
41
- Cn: "CN",
42
- Ng: "NG",
43
- Br: "BR",
44
- Ph: "PH",
45
- Tm: "TM",
46
- Va: "VA",
47
- Ga: "GA",
20
+ Au: "AU",
21
+ Aw: "AW",
22
+ Ax: "AX",
23
+ Az: "AZ",
24
+ Ba: "BA",
48
25
  Bb: "BB",
49
- Gt: "GT",
50
- Ps: "PS",
51
- Gd: "GD",
52
- Tn: "TN",
53
- Zw: "ZW",
54
- Ca: "CA",
55
- Tz: "TZ",
56
- Eh: "EH",
57
- Pn: "PN",
58
- Cw: "CW",
59
- Lu: "LU",
60
- Ug: "UG",
61
- In: "IN",
62
- Pa: "PA",
63
- Hk: "HK",
64
- Pr: "PR",
65
- Ki: "KI",
66
- Aq: "AQ",
26
+ Bd: "BD",
27
+ Be: "BE",
28
+ Bf: "BF",
29
+ Bg: "BG",
30
+ Bh: "BH",
31
+ Bi: "BI",
32
+ Bj: "BJ",
33
+ Bl: "BL",
34
+ Bm: "BM",
35
+ Bn: "BN",
36
+ Bo: "BO",
37
+ Bq: "BQ",
38
+ Br: "BR",
39
+ Bs: "BS",
40
+ Bt: "BT",
41
+ Bv: "BV",
42
+ Bw: "BW",
43
+ By: "BY",
67
44
  Bz: "BZ",
68
- Fr: "FR",
69
- Yt: "YT",
70
- Ie: "IE",
71
- Um: "UM",
72
- Gu: "GU",
73
- Jo: "JO",
45
+ Ca: "CA",
74
46
  Cc: "CC",
75
- Vi: "VI",
76
- Nc: "NC",
77
- Do: "DO",
47
+ Cd: "CD",
48
+ Cf: "CF",
49
+ Cg: "CG",
50
+ Ch: "CH",
51
+ Ci: "CI",
52
+ Ck: "CK",
53
+ Cl: "CL",
54
+ Cm: "CM",
55
+ Cn: "CN",
56
+ Co: "CO",
78
57
  Cr: "CR",
79
- Ar: "AR",
80
- Ai: "AI",
81
- Bf: "BF",
82
- Ec: "EC",
83
- Im: "IM",
84
- Za: "ZA",
85
- Tf: "TF",
86
- Bd: "BD",
87
- Mx: "MX",
58
+ Cu: "CU",
59
+ Cv: "CV",
60
+ Cw: "CW",
61
+ Cx: "CX",
88
62
  Cy: "CY",
89
- Vu: "VU",
90
- Mp: "MP",
91
- Mz: "MZ",
92
- Mu: "MU",
93
- Lk: "LK",
94
- Bo: "BO",
95
- Sa: "SA",
96
- Bn: "BN",
97
- Sl: "SL",
98
- Lr: "LR",
99
63
  Cz: "CZ",
64
+ De: "DE",
65
+ Dj: "DJ",
66
+ Dk: "DK",
67
+ Dm: "DM",
68
+ Do: "DO",
69
+ Dz: "DZ",
70
+ Ec: "EC",
71
+ Ee: "EE",
72
+ Eg: "EG",
73
+ Eh: "EH",
74
+ Er: "ER",
75
+ Es: "ES",
100
76
  Et: "ET",
101
- Re: "RE",
102
- Tk: "TK",
103
- Io: "IO",
104
- Sm: "SM",
105
- Pw: "PW",
106
- Kn: "KN",
107
- Cv: "CV",
108
- To: "TO",
109
- Tw: "TW",
110
- Nr: "NR",
111
- Ma: "MA",
112
- Gr: "GR",
113
- Bh: "BH",
114
- Kp: "KP",
115
- Th: "TH",
116
- Jm: "JM",
117
- Vn: "VN",
118
- Ch: "CH",
119
- Pl: "PL",
120
- Me: "ME",
121
- Fo: "FO",
77
+ Fi: "FI",
122
78
  Fj: "FJ",
123
- Ve: "VE",
124
- Gw: "GW",
125
- Ck: "CK",
126
- Dm: "DM",
127
- Gy: "GY",
128
- Dk: "DK",
129
- Pf: "PF",
130
- Sk: "SK",
131
- Rw: "RW",
132
- Bt: "BT",
133
- Ye: "YE",
134
- Ss: "SS",
135
- Lb: "LB",
136
79
  Fk: "FK",
80
+ Fm: "FM",
81
+ Fo: "FO",
82
+ Fr: "FR",
83
+ Ga: "GA",
84
+ Gb: "GB",
85
+ Gd: "GD",
86
+ Ge: "GE",
87
+ Gf: "GF",
88
+ Gg: "GG",
89
+ Gh: "GH",
90
+ Gi: "GI",
91
+ Gl: "GL",
92
+ Gm: "GM",
137
93
  Gn: "GN",
138
- Zm: "ZM",
139
- Mm: "MM",
140
- Eg: "EG",
141
- Je: "JE",
94
+ Gp: "GP",
95
+ Gq: "GQ",
96
+ Gr: "GR",
97
+ Gs: "GS",
98
+ Gt: "GT",
99
+ Gu: "GU",
100
+ Gw: "GW",
101
+ Gy: "GY",
102
+ Hk: "HK",
142
103
  Hm: "HM",
143
- Be: "BE",
144
- Ax: "AX",
145
- Sh: "SH",
146
- Cu: "CU",
147
- Tg: "TG",
148
- Mn: "MN",
149
- Bg: "BG",
104
+ Hn: "HN",
105
+ Hr: "HR",
106
+ Ht: "HT",
107
+ Hu: "HU",
108
+ Id: "ID",
109
+ Ie: "IE",
110
+ Il: "IL",
111
+ Im: "IM",
112
+ In: "IN",
113
+ Io: "IO",
114
+ Iq: "IQ",
115
+ Ir: "IR",
116
+ Is: "IS",
150
117
  It: "IT",
151
- Gh: "GH",
152
- Gl: "GL",
153
- Nu: "NU",
154
- Om: "OM",
155
- Ua: "UA",
156
- Gi: "GI",
118
+ Je: "JE",
119
+ Jm: "JM",
120
+ Jo: "JO",
121
+ Jp: "JP",
157
122
  Ke: "KE",
158
- Nl: "NL",
159
- Fm: "FM",
160
- Bm: "BM",
161
- Gb: "GB",
162
- Rs: "RS",
163
- Tr: "TR",
164
- Mc: "MC",
165
- Ci: "CI",
166
- Tv: "TV",
123
+ Kg: "KG",
167
124
  Kh: "KH",
168
- Vg: "VG",
169
- Mw: "MW",
170
- Id: "ID",
171
- Np: "NP",
172
- Ru: "RU",
173
- Lv: "LV",
174
- Si: "SI",
175
- Cx: "CX",
176
- Ls: "LS",
177
- Ad: "AD",
178
- Ms: "MS",
179
- Bs: "BS",
180
- Hn: "HN",
125
+ Ki: "KI",
126
+ Km: "KM",
127
+ Kn: "KN",
128
+ Kp: "KP",
129
+ Kr: "KR",
130
+ Kw: "KW",
131
+ Ky: "KY",
132
+ Kz: "KZ",
133
+ La: "LA",
134
+ Lb: "LB",
135
+ Lc: "LC",
181
136
  Li: "LI",
182
- Sv: "SV",
183
- Bw: "BW",
184
- Aw: "AW",
185
- Bq: "BQ",
186
- Uy: "UY",
187
- Az: "AZ",
188
- Ba: "BA",
137
+ Lk: "LK",
138
+ Lr: "LR",
139
+ Ls: "LS",
140
+ Lt: "LT",
141
+ Lu: "LU",
142
+ Lv: "LV",
189
143
  Ly: "LY",
144
+ Ma: "MA",
145
+ Mc: "MC",
146
+ Md: "MD",
147
+ Me: "ME",
148
+ Mf: "MF",
149
+ Mg: "MG",
150
+ Mh: "MH",
151
+ Mk: "MK",
190
152
  Ml: "ML",
153
+ Mm: "MM",
154
+ Mn: "MN",
155
+ Mo: "MO",
156
+ Mp: "MP",
157
+ Mq: "MQ",
158
+ Mr: "MR",
159
+ Ms: "MS",
160
+ Mt: "MT",
161
+ Mu: "MU",
162
+ Mv: "MV",
163
+ Mw: "MW",
164
+ Mx: "MX",
165
+ My: "MY",
166
+ Mz: "MZ",
167
+ Na: "NA",
168
+ Nc: "NC",
169
+ Ne: "NE",
191
170
  Nf: "NF",
192
- Sn: "SN",
193
- Mh: "MH",
194
- Us: "US",
171
+ Ng: "NG",
172
+ Ni: "NI",
173
+ Nl: "NL",
174
+ No: "NO",
175
+ Np: "NP",
176
+ Nr: "NR",
177
+ Nu: "NU",
178
+ Nz: "NZ",
179
+ Om: "OM",
180
+ Pa: "PA",
195
181
  Pe: "PE",
196
- Uz: "UZ",
197
- Kw: "KW",
198
- Td: "TD",
199
- Kz: "KZ",
182
+ Pf: "PF",
183
+ Pg: "PG",
184
+ Ph: "PH",
185
+ Pk: "PK",
186
+ Pl: "PL",
187
+ Pm: "PM",
188
+ Pn: "PN",
189
+ Pr: "PR",
190
+ Ps: "PS",
191
+ Pt: "PT",
192
+ Pw: "PW",
200
193
  Py: "PY",
201
- Sy: "SY",
202
- Dz: "DZ",
203
- Hr: "HR",
204
- Kr: "KR",
205
- Au: "AU",
206
- Tc: "TC",
207
- Mv: "MV",
208
- Mt: "MT",
209
- Nz: "NZ",
210
- Jp: "JP",
211
- Lt: "LT",
212
- Cm: "CM",
213
- Ag: "AG",
194
+ Qa: "QA",
195
+ Re: "RE",
214
196
  Ro: "RO",
215
- As: "AS",
216
- Md: "MD",
217
- Mg: "MG",
197
+ Rs: "RS",
198
+ Ru: "RU",
199
+ Rw: "RW",
200
+ Sa: "SA",
201
+ Sb: "SB",
202
+ Sc: "SC",
203
+ Sd: "SD",
218
204
  Se: "SE",
219
- Cg: "CG",
220
- Ir: "IR",
221
- Cd: "CD",
222
- Pg: "PG",
223
- Wf: "WF",
224
- Gq: "GQ",
225
- Bj: "BJ",
226
- Gg: "GG",
227
- Mr: "MR",
228
- Is: "IS",
229
- Bi: "BI",
230
- Gm: "GM",
231
- Er: "ER",
232
- Ky: "KY",
233
- Gf: "GF",
234
- Ge: "GE",
205
+ Sg: "SG",
206
+ Sh: "SH",
207
+ Si: "SI",
235
208
  Sj: "SJ",
236
- Ao: "AO",
237
- Mk: "MK",
238
- St: "ST",
239
- Mo: "MO",
209
+ Sk: "SK",
210
+ Sl: "SL",
211
+ Sm: "SM",
212
+ Sn: "SN",
240
213
  So: "SO",
214
+ Sr: "SR",
215
+ Ss: "SS",
216
+ St: "ST",
217
+ Sv: "SV",
218
+ Sx: "SX",
219
+ Sy: "SY",
241
220
  Sz: "SZ",
242
- Pm: "PM",
243
- Es: "ES",
221
+ Tc: "TC",
222
+ Td: "TD",
223
+ Tf: "TF",
224
+ Tg: "TG",
225
+ Th: "TH",
226
+ Tj: "TJ",
227
+ Tk: "TK",
244
228
  Tl: "TL",
245
- Bl: "BL",
246
- Ae: "AE",
247
- Cf: "CF",
248
- Dj: "DJ",
249
- Kg: "KG",
250
- Qa: "QA",
251
- Ht: "HT",
252
- No: "NO",
253
- Sg: "SG",
254
- Sb: "SB",
255
- Af: "AF",
256
- My: "MY",
229
+ Tm: "TM",
230
+ Tn: "TN",
231
+ To: "TO",
232
+ Tr: "TR",
233
+ Tt: "TT",
234
+ Tv: "TV",
235
+ Tw: "TW",
236
+ Tz: "TZ",
237
+ Ua: "UA",
238
+ Ug: "UG",
239
+ Um: "UM",
240
+ Us: "US",
241
+ Uy: "UY",
242
+ Uz: "UZ",
243
+ Va: "VA",
244
+ Vc: "VC",
245
+ Ve: "VE",
246
+ Vg: "VG",
247
+ Vi: "VI",
248
+ Vn: "VN",
249
+ Vu: "VU",
250
+ Wf: "WF",
251
+ Ws: "WS",
252
+ Ye: "YE",
253
+ Yt: "YT",
254
+ Za: "ZA",
255
+ Zm: "ZM",
256
+ Zw: "ZW",
257
257
  };
258
258
  /** @internal */
259
259
  export const CountryAlpha2$inboundSchema = z.nativeEnum(CountryAlpha2);