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