@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,250 +5,250 @@ 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 CountryAlpha2Input = {
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
+ Cv: "CV",
59
+ Cw: "CW",
60
+ Cx: "CX",
88
61
  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
62
  Cz: "CZ",
63
+ De: "DE",
64
+ Dj: "DJ",
65
+ Dk: "DK",
66
+ Dm: "DM",
67
+ Do: "DO",
68
+ Dz: "DZ",
69
+ Ec: "EC",
70
+ Ee: "EE",
71
+ Eg: "EG",
72
+ Eh: "EH",
73
+ Er: "ER",
74
+ Es: "ES",
100
75
  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
- Th: "TH",
115
- Jm: "JM",
116
- Vn: "VN",
117
- Ch: "CH",
118
- Pl: "PL",
119
- Me: "ME",
120
- Fo: "FO",
76
+ Fi: "FI",
121
77
  Fj: "FJ",
122
- Ve: "VE",
123
- Gw: "GW",
124
- Ck: "CK",
125
- Dm: "DM",
126
- Gy: "GY",
127
- Dk: "DK",
128
- Pf: "PF",
129
- Sk: "SK",
130
- Rw: "RW",
131
- Bt: "BT",
132
- Ye: "YE",
133
- Ss: "SS",
134
- Lb: "LB",
135
78
  Fk: "FK",
79
+ Fm: "FM",
80
+ Fo: "FO",
81
+ Fr: "FR",
82
+ Ga: "GA",
83
+ Gb: "GB",
84
+ Gd: "GD",
85
+ Ge: "GE",
86
+ Gf: "GF",
87
+ Gg: "GG",
88
+ Gh: "GH",
89
+ Gi: "GI",
90
+ Gl: "GL",
91
+ Gm: "GM",
136
92
  Gn: "GN",
137
- Zm: "ZM",
138
- Mm: "MM",
139
- Eg: "EG",
140
- Je: "JE",
93
+ Gp: "GP",
94
+ Gq: "GQ",
95
+ Gr: "GR",
96
+ Gs: "GS",
97
+ Gt: "GT",
98
+ Gu: "GU",
99
+ Gw: "GW",
100
+ Gy: "GY",
101
+ Hk: "HK",
141
102
  Hm: "HM",
142
- Be: "BE",
143
- Ax: "AX",
144
- Sh: "SH",
145
- Tg: "TG",
146
- Mn: "MN",
147
- Bg: "BG",
103
+ Hn: "HN",
104
+ Hr: "HR",
105
+ Ht: "HT",
106
+ Hu: "HU",
107
+ Id: "ID",
108
+ Ie: "IE",
109
+ Il: "IL",
110
+ Im: "IM",
111
+ In: "IN",
112
+ Io: "IO",
113
+ Iq: "IQ",
114
+ Is: "IS",
148
115
  It: "IT",
149
- Gh: "GH",
150
- Gl: "GL",
151
- Nu: "NU",
152
- Om: "OM",
153
- Ua: "UA",
154
- Gi: "GI",
116
+ Je: "JE",
117
+ Jm: "JM",
118
+ Jo: "JO",
119
+ Jp: "JP",
155
120
  Ke: "KE",
156
- Nl: "NL",
157
- Fm: "FM",
158
- Bm: "BM",
159
- Gb: "GB",
160
- Rs: "RS",
161
- Tr: "TR",
162
- Mc: "MC",
163
- Ci: "CI",
164
- Tv: "TV",
121
+ Kg: "KG",
165
122
  Kh: "KH",
166
- Vg: "VG",
167
- Mw: "MW",
168
- Id: "ID",
169
- Np: "NP",
170
- Lv: "LV",
171
- Si: "SI",
172
- Cx: "CX",
173
- Ls: "LS",
174
- Ad: "AD",
175
- Ms: "MS",
176
- Bs: "BS",
177
- Hn: "HN",
123
+ Ki: "KI",
124
+ Km: "KM",
125
+ Kn: "KN",
126
+ Kr: "KR",
127
+ Kw: "KW",
128
+ Ky: "KY",
129
+ Kz: "KZ",
130
+ La: "LA",
131
+ Lb: "LB",
132
+ Lc: "LC",
178
133
  Li: "LI",
179
- Sv: "SV",
180
- Bw: "BW",
181
- Aw: "AW",
182
- Bq: "BQ",
183
- Uy: "UY",
184
- Az: "AZ",
185
- Ba: "BA",
134
+ Lk: "LK",
135
+ Lr: "LR",
136
+ Ls: "LS",
137
+ Lt: "LT",
138
+ Lu: "LU",
139
+ Lv: "LV",
186
140
  Ly: "LY",
141
+ Ma: "MA",
142
+ Mc: "MC",
143
+ Md: "MD",
144
+ Me: "ME",
145
+ Mf: "MF",
146
+ Mg: "MG",
147
+ Mh: "MH",
148
+ Mk: "MK",
187
149
  Ml: "ML",
150
+ Mm: "MM",
151
+ Mn: "MN",
152
+ Mo: "MO",
153
+ Mp: "MP",
154
+ Mq: "MQ",
155
+ Mr: "MR",
156
+ Ms: "MS",
157
+ Mt: "MT",
158
+ Mu: "MU",
159
+ Mv: "MV",
160
+ Mw: "MW",
161
+ Mx: "MX",
162
+ My: "MY",
163
+ Mz: "MZ",
164
+ Na: "NA",
165
+ Nc: "NC",
166
+ Ne: "NE",
188
167
  Nf: "NF",
189
- Sn: "SN",
190
- Mh: "MH",
191
- Us: "US",
168
+ Ng: "NG",
169
+ Ni: "NI",
170
+ Nl: "NL",
171
+ No: "NO",
172
+ Np: "NP",
173
+ Nr: "NR",
174
+ Nu: "NU",
175
+ Nz: "NZ",
176
+ Om: "OM",
177
+ Pa: "PA",
192
178
  Pe: "PE",
193
- Uz: "UZ",
194
- Kw: "KW",
195
- Td: "TD",
196
- Kz: "KZ",
179
+ Pf: "PF",
180
+ Pg: "PG",
181
+ Ph: "PH",
182
+ Pk: "PK",
183
+ Pl: "PL",
184
+ Pm: "PM",
185
+ Pn: "PN",
186
+ Pr: "PR",
187
+ Ps: "PS",
188
+ Pt: "PT",
189
+ Pw: "PW",
197
190
  Py: "PY",
198
- Dz: "DZ",
199
- Hr: "HR",
200
- Kr: "KR",
201
- Au: "AU",
202
- Tc: "TC",
203
- Mv: "MV",
204
- Mt: "MT",
205
- Nz: "NZ",
206
- Jp: "JP",
207
- Lt: "LT",
208
- Cm: "CM",
209
- Ag: "AG",
191
+ Qa: "QA",
192
+ Re: "RE",
210
193
  Ro: "RO",
211
- As: "AS",
212
- Md: "MD",
213
- Mg: "MG",
194
+ Rs: "RS",
195
+ Rw: "RW",
196
+ Sa: "SA",
197
+ Sb: "SB",
198
+ Sc: "SC",
199
+ Sd: "SD",
214
200
  Se: "SE",
215
- Cg: "CG",
216
- Cd: "CD",
217
- Pg: "PG",
218
- Wf: "WF",
219
- Gq: "GQ",
220
- Bj: "BJ",
221
- Gg: "GG",
222
- Mr: "MR",
223
- Is: "IS",
224
- Bi: "BI",
225
- Gm: "GM",
226
- Er: "ER",
227
- Ky: "KY",
228
- Gf: "GF",
229
- Ge: "GE",
201
+ Sg: "SG",
202
+ Sh: "SH",
203
+ Si: "SI",
230
204
  Sj: "SJ",
231
- Ao: "AO",
232
- Mk: "MK",
233
- St: "ST",
234
- Mo: "MO",
205
+ Sk: "SK",
206
+ Sl: "SL",
207
+ Sm: "SM",
208
+ Sn: "SN",
235
209
  So: "SO",
210
+ Sr: "SR",
211
+ Ss: "SS",
212
+ St: "ST",
213
+ Sv: "SV",
214
+ Sx: "SX",
236
215
  Sz: "SZ",
237
- Pm: "PM",
238
- Es: "ES",
216
+ Tc: "TC",
217
+ Td: "TD",
218
+ Tf: "TF",
219
+ Tg: "TG",
220
+ Th: "TH",
221
+ Tj: "TJ",
222
+ Tk: "TK",
239
223
  Tl: "TL",
240
- Bl: "BL",
241
- Ae: "AE",
242
- Cf: "CF",
243
- Dj: "DJ",
244
- Kg: "KG",
245
- Qa: "QA",
246
- Ht: "HT",
247
- No: "NO",
248
- Sg: "SG",
249
- Sb: "SB",
250
- Af: "AF",
251
- My: "MY",
224
+ Tm: "TM",
225
+ Tn: "TN",
226
+ To: "TO",
227
+ Tr: "TR",
228
+ Tt: "TT",
229
+ Tv: "TV",
230
+ Tw: "TW",
231
+ Tz: "TZ",
232
+ Ua: "UA",
233
+ Ug: "UG",
234
+ Um: "UM",
235
+ Us: "US",
236
+ Uy: "UY",
237
+ Uz: "UZ",
238
+ Va: "VA",
239
+ Vc: "VC",
240
+ Ve: "VE",
241
+ Vg: "VG",
242
+ Vi: "VI",
243
+ Vn: "VN",
244
+ Vu: "VU",
245
+ Wf: "WF",
246
+ Ws: "WS",
247
+ Ye: "YE",
248
+ Yt: "YT",
249
+ Za: "ZA",
250
+ Zm: "ZM",
251
+ Zw: "ZW",
252
252
  };
253
253
  /** @internal */
254
254
  export const CountryAlpha2Input$inboundSchema = z.nativeEnum(CountryAlpha2Input);
@@ -0,0 +1,40 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const AggregationFunction: {
4
+ readonly Count: "count";
5
+ readonly Sum: "sum";
6
+ readonly Max: "max";
7
+ readonly Min: "min";
8
+ readonly Avg: "avg";
9
+ readonly Unique: "unique";
10
+ };
11
+ export type AggregationFunction = ClosedEnum<typeof AggregationFunction>;
12
+ /** @internal */
13
+ export declare const AggregationFunction$inboundSchema: z.ZodNativeEnum<typeof AggregationFunction>;
14
+ /** @internal */
15
+ export declare const AggregationFunction$outboundSchema: z.ZodNativeEnum<typeof AggregationFunction>;
16
+ /**
17
+ * @internal
18
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
19
+ */
20
+ export declare namespace AggregationFunction$ {
21
+ /** @deprecated use `AggregationFunction$inboundSchema` instead. */
22
+ const inboundSchema: z.ZodNativeEnum<{
23
+ readonly Count: "count";
24
+ readonly Sum: "sum";
25
+ readonly Max: "max";
26
+ readonly Min: "min";
27
+ readonly Avg: "avg";
28
+ readonly Unique: "unique";
29
+ }>;
30
+ /** @deprecated use `AggregationFunction$outboundSchema` instead. */
31
+ const outboundSchema: z.ZodNativeEnum<{
32
+ readonly Count: "count";
33
+ readonly Sum: "sum";
34
+ readonly Max: "max";
35
+ readonly Min: "min";
36
+ readonly Avg: "avg";
37
+ readonly Unique: "unique";
38
+ }>;
39
+ }
40
+ //# sourceMappingURL=aggregationfunction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregationfunction.d.ts","sourceRoot":"","sources":["../../../../src/models/components/aggregationfunction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,mBAAmB;;;;;;;CAOtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,mBAAmB,CACS,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC;AAEtC;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa;;;;;;;MAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc;;;;;;;MAAqC,CAAC;CAClE"}
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ export const AggregationFunction = {
6
+ Count: "count",
7
+ Sum: "sum",
8
+ Max: "max",
9
+ Min: "min",
10
+ Avg: "avg",
11
+ Unique: "unique",
12
+ };
13
+ /** @internal */
14
+ export const AggregationFunction$inboundSchema = z.nativeEnum(AggregationFunction);
15
+ /** @internal */
16
+ export const AggregationFunction$outboundSchema = AggregationFunction$inboundSchema;
17
+ /**
18
+ * @internal
19
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
+ */
21
+ export var AggregationFunction$;
22
+ (function (AggregationFunction$) {
23
+ /** @deprecated use `AggregationFunction$inboundSchema` instead. */
24
+ AggregationFunction$.inboundSchema = AggregationFunction$inboundSchema;
25
+ /** @deprecated use `AggregationFunction$outboundSchema` instead. */
26
+ AggregationFunction$.outboundSchema = AggregationFunction$outboundSchema;
27
+ })(AggregationFunction$ || (AggregationFunction$ = {}));
28
+ //# sourceMappingURL=aggregationfunction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregationfunction.js","sourceRoot":"","sources":["../../../../src/models/components/aggregationfunction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;AAEtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,iCAAiC,CAAC;AAEtC;;;GAGG;AACH,MAAM,KAAW,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,iCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,kCAAkC,CAAC;AACnE,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC"}
@@ -0,0 +1,40 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ /**
5
+ * Customer balance information.
6
+ */
7
+ export type CustomerBalance = {
8
+ /**
9
+ * Customer balance in cents. Positive values represent credit (customer is owed money), negative values represent debit (customer owes money).
10
+ */
11
+ balance: number;
12
+ /**
13
+ * The currency code (ISO 4217) for the balance amount.
14
+ */
15
+ currency: string;
16
+ };
17
+ /** @internal */
18
+ export declare const CustomerBalance$inboundSchema: z.ZodType<CustomerBalance, z.ZodTypeDef, unknown>;
19
+ /** @internal */
20
+ export type CustomerBalance$Outbound = {
21
+ balance: number;
22
+ currency: string;
23
+ };
24
+ /** @internal */
25
+ export declare const CustomerBalance$outboundSchema: z.ZodType<CustomerBalance$Outbound, z.ZodTypeDef, CustomerBalance>;
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export declare namespace CustomerBalance$ {
31
+ /** @deprecated use `CustomerBalance$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<CustomerBalance, z.ZodTypeDef, unknown>;
33
+ /** @deprecated use `CustomerBalance$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<CustomerBalance$Outbound, z.ZodTypeDef, CustomerBalance>;
35
+ /** @deprecated use `CustomerBalance$Outbound` instead. */
36
+ type Outbound = CustomerBalance$Outbound;
37
+ }
38
+ export declare function customerBalanceToJSON(customerBalance: CustomerBalance): string;
39
+ export declare function customerBalanceFromJSON(jsonString: string): SafeParseResult<CustomerBalance, SDKValidationError>;
40
+ //# sourceMappingURL=customerbalance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerbalance.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customerbalance.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAIf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ import { safeParse } from "../../lib/schemas.js";
6
+ /** @internal */
7
+ export const CustomerBalance$inboundSchema = z.object({
8
+ balance: z.number().int(),
9
+ currency: z.string(),
10
+ });
11
+ /** @internal */
12
+ export const CustomerBalance$outboundSchema = z.object({
13
+ balance: z.number().int(),
14
+ currency: z.string(),
15
+ });
16
+ /**
17
+ * @internal
18
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
19
+ */
20
+ export var CustomerBalance$;
21
+ (function (CustomerBalance$) {
22
+ /** @deprecated use `CustomerBalance$inboundSchema` instead. */
23
+ CustomerBalance$.inboundSchema = CustomerBalance$inboundSchema;
24
+ /** @deprecated use `CustomerBalance$outboundSchema` instead. */
25
+ CustomerBalance$.outboundSchema = CustomerBalance$outboundSchema;
26
+ })(CustomerBalance$ || (CustomerBalance$ = {}));
27
+ export function customerBalanceToJSON(customerBalance) {
28
+ return JSON.stringify(CustomerBalance$outboundSchema.parse(customerBalance));
29
+ }
30
+ export function customerBalanceFromJSON(jsonString) {
31
+ return safeParse(jsonString, (x) => CustomerBalance$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerBalance' from JSON`);
32
+ }
33
+ //# sourceMappingURL=customerbalance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerbalance.js","sourceRoot":"","sources":["../../../../src/models/components/customerbalance.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAkBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,6BAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,8BAA8B,CAAC;AAG/D,CAAC,EAPgB,gBAAgB,KAAhB,gBAAgB,QAOhC;AAED,MAAM,UAAU,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -64,6 +64,10 @@ export type CustomerOrder = {
64
64
  */
65
65
  billingName: string | null;
66
66
  billingAddress: Address | null;
67
+ /**
68
+ * The invoice number associated with this order.
69
+ */
70
+ invoiceNumber: string;
67
71
  /**
68
72
  * Whether an invoice has been generated for this order.
69
73
  */
@@ -109,6 +113,7 @@ export type CustomerOrder$Outbound = {
109
113
  billing_reason: string;
110
114
  billing_name: string | null;
111
115
  billing_address: Address$Outbound | null;
116
+ invoice_number: string;
112
117
  is_invoice_generated: boolean;
113
118
  customer_id: string;
114
119
  product_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"customerorder.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customerorder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;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,EACZ,aAAa,CAuDb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
1
+ {"version":3,"file":"customerorder.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customerorder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,OAAO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