dub 0.46.7 → 0.46.9

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 (334) hide show
  1. package/README.md +0 -2
  2. package/RUNTIMES.md +27 -1
  3. package/dist/commonjs/funcs/analyticsRetrieve.js +29 -29
  4. package/dist/commonjs/funcs/analyticsRetrieve.js.map +1 -1
  5. package/dist/commonjs/funcs/customersCreate.js +4 -4
  6. package/dist/commonjs/funcs/customersCreate.js.map +1 -1
  7. package/dist/commonjs/funcs/customersDelete.js +4 -4
  8. package/dist/commonjs/funcs/customersDelete.js.map +1 -1
  9. package/dist/commonjs/funcs/customersGet.js +4 -4
  10. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  11. package/dist/commonjs/funcs/customersList.js +4 -4
  12. package/dist/commonjs/funcs/customersList.js.map +1 -1
  13. package/dist/commonjs/funcs/customersUpdate.js +4 -4
  14. package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
  15. package/dist/commonjs/funcs/domainsCreate.js +4 -4
  16. package/dist/commonjs/funcs/domainsCreate.js.map +1 -1
  17. package/dist/commonjs/funcs/domainsDelete.js +4 -4
  18. package/dist/commonjs/funcs/domainsDelete.js.map +1 -1
  19. package/dist/commonjs/funcs/domainsList.js +10 -10
  20. package/dist/commonjs/funcs/domainsList.js.map +1 -1
  21. package/dist/commonjs/funcs/domainsUpdate.js +4 -4
  22. package/dist/commonjs/funcs/domainsUpdate.js.map +1 -1
  23. package/dist/commonjs/funcs/embedTokensCreate.js +4 -4
  24. package/dist/commonjs/funcs/embedTokensCreate.js.map +1 -1
  25. package/dist/commonjs/funcs/eventsList.js +32 -32
  26. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  27. package/dist/commonjs/funcs/linksCount.js +13 -13
  28. package/dist/commonjs/funcs/linksCount.js.map +1 -1
  29. package/dist/commonjs/funcs/linksCreate.js +4 -4
  30. package/dist/commonjs/funcs/linksCreate.js.map +1 -1
  31. package/dist/commonjs/funcs/linksCreateMany.js +4 -4
  32. package/dist/commonjs/funcs/linksCreateMany.js.map +1 -1
  33. package/dist/commonjs/funcs/linksDelete.js +4 -4
  34. package/dist/commonjs/funcs/linksDelete.js.map +1 -1
  35. package/dist/commonjs/funcs/linksDeleteMany.js +4 -4
  36. package/dist/commonjs/funcs/linksDeleteMany.js.map +1 -1
  37. package/dist/commonjs/funcs/linksGet.js +8 -8
  38. package/dist/commonjs/funcs/linksGet.js.map +1 -1
  39. package/dist/commonjs/funcs/linksList.js +17 -17
  40. package/dist/commonjs/funcs/linksList.js.map +1 -1
  41. package/dist/commonjs/funcs/linksUpdate.js +4 -4
  42. package/dist/commonjs/funcs/linksUpdate.js.map +1 -1
  43. package/dist/commonjs/funcs/linksUpdateMany.js +4 -4
  44. package/dist/commonjs/funcs/linksUpdateMany.js.map +1 -1
  45. package/dist/commonjs/funcs/linksUpsert.js +4 -4
  46. package/dist/commonjs/funcs/linksUpsert.js.map +1 -1
  47. package/dist/commonjs/funcs/metatagsGet.js +4 -4
  48. package/dist/commonjs/funcs/metatagsGet.js.map +1 -1
  49. package/dist/commonjs/funcs/qrCodesGet.js +4 -4
  50. package/dist/commonjs/funcs/qrCodesGet.js.map +1 -1
  51. package/dist/commonjs/funcs/tagsCreate.js +4 -4
  52. package/dist/commonjs/funcs/tagsCreate.js.map +1 -1
  53. package/dist/commonjs/funcs/tagsDelete.js +4 -4
  54. package/dist/commonjs/funcs/tagsDelete.js.map +1 -1
  55. package/dist/commonjs/funcs/tagsList.js +4 -4
  56. package/dist/commonjs/funcs/tagsList.js.map +1 -1
  57. package/dist/commonjs/funcs/tagsUpdate.js +4 -4
  58. package/dist/commonjs/funcs/tagsUpdate.js.map +1 -1
  59. package/dist/commonjs/funcs/trackLead.js +4 -4
  60. package/dist/commonjs/funcs/trackLead.js.map +1 -1
  61. package/dist/commonjs/funcs/trackSale.js +4 -4
  62. package/dist/commonjs/funcs/trackSale.js.map +1 -1
  63. package/dist/commonjs/funcs/workspacesGet.js +4 -4
  64. package/dist/commonjs/funcs/workspacesGet.js.map +1 -1
  65. package/dist/commonjs/funcs/workspacesUpdate.js +4 -4
  66. package/dist/commonjs/funcs/workspacesUpdate.js.map +1 -1
  67. package/dist/commonjs/hooks/auth.js +1 -2
  68. package/dist/commonjs/hooks/auth.js.map +1 -1
  69. package/dist/commonjs/hooks/base-url.js +1 -2
  70. package/dist/commonjs/hooks/base-url.js.map +1 -1
  71. package/dist/commonjs/lib/config.d.ts +3 -3
  72. package/dist/commonjs/lib/config.js +4 -5
  73. package/dist/commonjs/lib/config.js.map +1 -1
  74. package/dist/commonjs/lib/encodings.js +18 -19
  75. package/dist/commonjs/lib/encodings.js.map +1 -1
  76. package/dist/commonjs/lib/http.js +1 -2
  77. package/dist/commonjs/lib/http.js.map +1 -1
  78. package/dist/commonjs/lib/matchers.js +5 -6
  79. package/dist/commonjs/lib/matchers.js.map +1 -1
  80. package/dist/commonjs/lib/primitives.js +1 -1
  81. package/dist/commonjs/lib/primitives.js.map +1 -1
  82. package/dist/commonjs/lib/retries.js +3 -4
  83. package/dist/commonjs/lib/retries.js.map +1 -1
  84. package/dist/commonjs/lib/sdks.js +15 -16
  85. package/dist/commonjs/lib/sdks.js.map +1 -1
  86. package/dist/commonjs/lib/security.js +2 -2
  87. package/dist/commonjs/lib/security.js.map +1 -1
  88. package/dist/commonjs/lib/url.js +1 -1
  89. package/dist/commonjs/lib/url.js.map +1 -1
  90. package/dist/commonjs/models/components/leadcreatedevent.d.ts +177 -0
  91. package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
  92. package/dist/commonjs/models/components/leadcreatedevent.js +161 -1
  93. package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
  94. package/dist/commonjs/models/components/leadevent.d.ts +177 -0
  95. package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
  96. package/dist/commonjs/models/components/leadevent.js +158 -1
  97. package/dist/commonjs/models/components/leadevent.js.map +1 -1
  98. package/dist/commonjs/models/components/salecreatedevent.d.ts +177 -0
  99. package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
  100. package/dist/commonjs/models/components/salecreatedevent.js +161 -1
  101. package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
  102. package/dist/commonjs/models/components/saleevent.d.ts +177 -0
  103. package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
  104. package/dist/commonjs/models/components/saleevent.js +159 -1
  105. package/dist/commonjs/models/components/saleevent.js.map +1 -1
  106. package/dist/commonjs/models/errors/badrequest.js +1 -2
  107. package/dist/commonjs/models/errors/badrequest.js.map +1 -1
  108. package/dist/commonjs/models/errors/conflict.js +1 -2
  109. package/dist/commonjs/models/errors/conflict.js.map +1 -1
  110. package/dist/commonjs/models/errors/forbidden.js +1 -2
  111. package/dist/commonjs/models/errors/forbidden.js.map +1 -1
  112. package/dist/commonjs/models/errors/httpclienterrors.js +2 -2
  113. package/dist/commonjs/models/errors/httpclienterrors.js.map +1 -1
  114. package/dist/commonjs/models/errors/internalservererror.js +1 -2
  115. package/dist/commonjs/models/errors/internalservererror.js.map +1 -1
  116. package/dist/commonjs/models/errors/inviteexpired.js +1 -2
  117. package/dist/commonjs/models/errors/inviteexpired.js.map +1 -1
  118. package/dist/commonjs/models/errors/notfound.js +1 -2
  119. package/dist/commonjs/models/errors/notfound.js.map +1 -1
  120. package/dist/commonjs/models/errors/ratelimitexceeded.js +1 -2
  121. package/dist/commonjs/models/errors/ratelimitexceeded.js.map +1 -1
  122. package/dist/commonjs/models/errors/unauthorized.js +1 -2
  123. package/dist/commonjs/models/errors/unauthorized.js.map +1 -1
  124. package/dist/commonjs/models/errors/unprocessableentity.js +1 -2
  125. package/dist/commonjs/models/errors/unprocessableentity.js.map +1 -1
  126. package/dist/commonjs/models/operations/createcustomer.d.ts +178 -0
  127. package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
  128. package/dist/commonjs/models/operations/createcustomer.js +158 -1
  129. package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
  130. package/dist/commonjs/models/operations/getcustomer.d.ts +178 -0
  131. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  132. package/dist/commonjs/models/operations/getcustomer.js +158 -1
  133. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  134. package/dist/commonjs/models/operations/getcustomers.d.ts +178 -0
  135. package/dist/commonjs/models/operations/getcustomers.d.ts.map +1 -1
  136. package/dist/commonjs/models/operations/getcustomers.js +155 -1
  137. package/dist/commonjs/models/operations/getcustomers.js.map +1 -1
  138. package/dist/commonjs/models/operations/index.d.ts +0 -1
  139. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  140. package/dist/commonjs/models/operations/index.js +0 -1
  141. package/dist/commonjs/models/operations/index.js.map +1 -1
  142. package/dist/commonjs/models/operations/updatecustomer.d.ts +178 -0
  143. package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
  144. package/dist/commonjs/models/operations/updatecustomer.js +158 -1
  145. package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
  146. package/dist/commonjs/sdk/sdk.js +11 -22
  147. package/dist/commonjs/sdk/sdk.js.map +1 -1
  148. package/dist/commonjs/sdk/track.d.ts +0 -9
  149. package/dist/commonjs/sdk/track.d.ts.map +1 -1
  150. package/dist/commonjs/sdk/track.js +0 -12
  151. package/dist/commonjs/sdk/track.js.map +1 -1
  152. package/dist/esm/funcs/analyticsRetrieve.js +29 -29
  153. package/dist/esm/funcs/analyticsRetrieve.js.map +1 -1
  154. package/dist/esm/funcs/customersCreate.js +4 -4
  155. package/dist/esm/funcs/customersCreate.js.map +1 -1
  156. package/dist/esm/funcs/customersDelete.js +4 -4
  157. package/dist/esm/funcs/customersDelete.js.map +1 -1
  158. package/dist/esm/funcs/customersGet.js +4 -4
  159. package/dist/esm/funcs/customersGet.js.map +1 -1
  160. package/dist/esm/funcs/customersList.js +4 -4
  161. package/dist/esm/funcs/customersList.js.map +1 -1
  162. package/dist/esm/funcs/customersUpdate.js +4 -4
  163. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  164. package/dist/esm/funcs/domainsCreate.js +4 -4
  165. package/dist/esm/funcs/domainsCreate.js.map +1 -1
  166. package/dist/esm/funcs/domainsDelete.js +4 -4
  167. package/dist/esm/funcs/domainsDelete.js.map +1 -1
  168. package/dist/esm/funcs/domainsList.js +10 -10
  169. package/dist/esm/funcs/domainsList.js.map +1 -1
  170. package/dist/esm/funcs/domainsUpdate.js +4 -4
  171. package/dist/esm/funcs/domainsUpdate.js.map +1 -1
  172. package/dist/esm/funcs/embedTokensCreate.js +4 -4
  173. package/dist/esm/funcs/embedTokensCreate.js.map +1 -1
  174. package/dist/esm/funcs/eventsList.js +32 -32
  175. package/dist/esm/funcs/eventsList.js.map +1 -1
  176. package/dist/esm/funcs/linksCount.js +13 -13
  177. package/dist/esm/funcs/linksCount.js.map +1 -1
  178. package/dist/esm/funcs/linksCreate.js +4 -4
  179. package/dist/esm/funcs/linksCreate.js.map +1 -1
  180. package/dist/esm/funcs/linksCreateMany.js +4 -4
  181. package/dist/esm/funcs/linksCreateMany.js.map +1 -1
  182. package/dist/esm/funcs/linksDelete.js +4 -4
  183. package/dist/esm/funcs/linksDelete.js.map +1 -1
  184. package/dist/esm/funcs/linksDeleteMany.js +4 -4
  185. package/dist/esm/funcs/linksDeleteMany.js.map +1 -1
  186. package/dist/esm/funcs/linksGet.js +8 -8
  187. package/dist/esm/funcs/linksGet.js.map +1 -1
  188. package/dist/esm/funcs/linksList.js +17 -17
  189. package/dist/esm/funcs/linksList.js.map +1 -1
  190. package/dist/esm/funcs/linksUpdate.js +4 -4
  191. package/dist/esm/funcs/linksUpdate.js.map +1 -1
  192. package/dist/esm/funcs/linksUpdateMany.js +4 -4
  193. package/dist/esm/funcs/linksUpdateMany.js.map +1 -1
  194. package/dist/esm/funcs/linksUpsert.js +4 -4
  195. package/dist/esm/funcs/linksUpsert.js.map +1 -1
  196. package/dist/esm/funcs/metatagsGet.js +4 -4
  197. package/dist/esm/funcs/metatagsGet.js.map +1 -1
  198. package/dist/esm/funcs/qrCodesGet.js +4 -4
  199. package/dist/esm/funcs/qrCodesGet.js.map +1 -1
  200. package/dist/esm/funcs/tagsCreate.js +4 -4
  201. package/dist/esm/funcs/tagsCreate.js.map +1 -1
  202. package/dist/esm/funcs/tagsDelete.js +4 -4
  203. package/dist/esm/funcs/tagsDelete.js.map +1 -1
  204. package/dist/esm/funcs/tagsList.js +4 -4
  205. package/dist/esm/funcs/tagsList.js.map +1 -1
  206. package/dist/esm/funcs/tagsUpdate.js +4 -4
  207. package/dist/esm/funcs/tagsUpdate.js.map +1 -1
  208. package/dist/esm/funcs/trackLead.js +4 -4
  209. package/dist/esm/funcs/trackLead.js.map +1 -1
  210. package/dist/esm/funcs/trackSale.js +4 -4
  211. package/dist/esm/funcs/trackSale.js.map +1 -1
  212. package/dist/esm/funcs/workspacesGet.js +4 -4
  213. package/dist/esm/funcs/workspacesGet.js.map +1 -1
  214. package/dist/esm/funcs/workspacesUpdate.js +4 -4
  215. package/dist/esm/funcs/workspacesUpdate.js.map +1 -1
  216. package/dist/esm/hooks/auth.js +1 -2
  217. package/dist/esm/hooks/auth.js.map +1 -1
  218. package/dist/esm/hooks/base-url.js +1 -2
  219. package/dist/esm/hooks/base-url.js.map +1 -1
  220. package/dist/esm/lib/config.d.ts +3 -3
  221. package/dist/esm/lib/config.js +4 -5
  222. package/dist/esm/lib/config.js.map +1 -1
  223. package/dist/esm/lib/encodings.js +18 -19
  224. package/dist/esm/lib/encodings.js.map +1 -1
  225. package/dist/esm/lib/http.js +1 -2
  226. package/dist/esm/lib/http.js.map +1 -1
  227. package/dist/esm/lib/matchers.js +5 -6
  228. package/dist/esm/lib/matchers.js.map +1 -1
  229. package/dist/esm/lib/primitives.js +1 -1
  230. package/dist/esm/lib/primitives.js.map +1 -1
  231. package/dist/esm/lib/retries.js +3 -4
  232. package/dist/esm/lib/retries.js.map +1 -1
  233. package/dist/esm/lib/sdks.js +15 -16
  234. package/dist/esm/lib/sdks.js.map +1 -1
  235. package/dist/esm/lib/security.js +2 -2
  236. package/dist/esm/lib/security.js.map +1 -1
  237. package/dist/esm/lib/url.js +1 -1
  238. package/dist/esm/lib/url.js.map +1 -1
  239. package/dist/esm/models/components/leadcreatedevent.d.ts +177 -0
  240. package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
  241. package/dist/esm/models/components/leadcreatedevent.js +153 -0
  242. package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
  243. package/dist/esm/models/components/leadevent.d.ts +177 -0
  244. package/dist/esm/models/components/leadevent.d.ts.map +1 -1
  245. package/dist/esm/models/components/leadevent.js +150 -0
  246. package/dist/esm/models/components/leadevent.js.map +1 -1
  247. package/dist/esm/models/components/salecreatedevent.d.ts +177 -0
  248. package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
  249. package/dist/esm/models/components/salecreatedevent.js +153 -0
  250. package/dist/esm/models/components/salecreatedevent.js.map +1 -1
  251. package/dist/esm/models/components/saleevent.d.ts +177 -0
  252. package/dist/esm/models/components/saleevent.d.ts.map +1 -1
  253. package/dist/esm/models/components/saleevent.js +151 -0
  254. package/dist/esm/models/components/saleevent.js.map +1 -1
  255. package/dist/esm/models/errors/badrequest.js +1 -2
  256. package/dist/esm/models/errors/badrequest.js.map +1 -1
  257. package/dist/esm/models/errors/conflict.js +1 -2
  258. package/dist/esm/models/errors/conflict.js.map +1 -1
  259. package/dist/esm/models/errors/forbidden.js +1 -2
  260. package/dist/esm/models/errors/forbidden.js.map +1 -1
  261. package/dist/esm/models/errors/httpclienterrors.js +2 -2
  262. package/dist/esm/models/errors/httpclienterrors.js.map +1 -1
  263. package/dist/esm/models/errors/internalservererror.js +1 -2
  264. package/dist/esm/models/errors/internalservererror.js.map +1 -1
  265. package/dist/esm/models/errors/inviteexpired.js +1 -2
  266. package/dist/esm/models/errors/inviteexpired.js.map +1 -1
  267. package/dist/esm/models/errors/notfound.js +1 -2
  268. package/dist/esm/models/errors/notfound.js.map +1 -1
  269. package/dist/esm/models/errors/ratelimitexceeded.js +1 -2
  270. package/dist/esm/models/errors/ratelimitexceeded.js.map +1 -1
  271. package/dist/esm/models/errors/unauthorized.js +1 -2
  272. package/dist/esm/models/errors/unauthorized.js.map +1 -1
  273. package/dist/esm/models/errors/unprocessableentity.js +1 -2
  274. package/dist/esm/models/errors/unprocessableentity.js.map +1 -1
  275. package/dist/esm/models/operations/createcustomer.d.ts +178 -0
  276. package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
  277. package/dist/esm/models/operations/createcustomer.js +151 -0
  278. package/dist/esm/models/operations/createcustomer.js.map +1 -1
  279. package/dist/esm/models/operations/getcustomer.d.ts +178 -0
  280. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  281. package/dist/esm/models/operations/getcustomer.js +151 -0
  282. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  283. package/dist/esm/models/operations/getcustomers.d.ts +178 -0
  284. package/dist/esm/models/operations/getcustomers.d.ts.map +1 -1
  285. package/dist/esm/models/operations/getcustomers.js +148 -0
  286. package/dist/esm/models/operations/getcustomers.js.map +1 -1
  287. package/dist/esm/models/operations/index.d.ts +0 -1
  288. package/dist/esm/models/operations/index.d.ts.map +1 -1
  289. package/dist/esm/models/operations/index.js +0 -1
  290. package/dist/esm/models/operations/index.js.map +1 -1
  291. package/dist/esm/models/operations/updatecustomer.d.ts +178 -0
  292. package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
  293. package/dist/esm/models/operations/updatecustomer.js +151 -0
  294. package/dist/esm/models/operations/updatecustomer.js.map +1 -1
  295. package/dist/esm/sdk/sdk.js +11 -22
  296. package/dist/esm/sdk/sdk.js.map +1 -1
  297. package/dist/esm/sdk/track.d.ts +0 -9
  298. package/dist/esm/sdk/track.d.ts.map +1 -1
  299. package/dist/esm/sdk/track.js +0 -12
  300. package/dist/esm/sdk/track.js.map +1 -1
  301. package/docs/sdks/track/README.md +0 -84
  302. package/package.json +1 -1
  303. package/src/funcs/domainsList.ts +2 -2
  304. package/src/funcs/linksList.ts +2 -2
  305. package/src/lib/config.ts +3 -3
  306. package/src/lib/security.ts +1 -1
  307. package/src/models/components/leadcreatedevent.ts +322 -0
  308. package/src/models/components/leadevent.ts +302 -0
  309. package/src/models/components/salecreatedevent.ts +322 -0
  310. package/src/models/components/saleevent.ts +318 -0
  311. package/src/models/operations/createcustomer.ts +319 -0
  312. package/src/models/operations/getcustomer.ts +317 -0
  313. package/src/models/operations/getcustomers.ts +293 -0
  314. package/src/models/operations/index.ts +0 -1
  315. package/src/models/operations/updatecustomer.ts +319 -0
  316. package/src/sdk/track.ts +0 -20
  317. package/dist/commonjs/funcs/trackCustomer.d.ts +0 -18
  318. package/dist/commonjs/funcs/trackCustomer.d.ts.map +0 -1
  319. package/dist/commonjs/funcs/trackCustomer.js +0 -117
  320. package/dist/commonjs/funcs/trackCustomer.js.map +0 -1
  321. package/dist/commonjs/models/operations/trackcustomer.d.ts +0 -81
  322. package/dist/commonjs/models/operations/trackcustomer.d.ts.map +0 -1
  323. package/dist/commonjs/models/operations/trackcustomer.js +0 -98
  324. package/dist/commonjs/models/operations/trackcustomer.js.map +0 -1
  325. package/dist/esm/funcs/trackCustomer.d.ts +0 -18
  326. package/dist/esm/funcs/trackCustomer.d.ts.map +0 -1
  327. package/dist/esm/funcs/trackCustomer.js +0 -90
  328. package/dist/esm/funcs/trackCustomer.js.map +0 -1
  329. package/dist/esm/models/operations/trackcustomer.d.ts +0 -81
  330. package/dist/esm/models/operations/trackcustomer.d.ts.map +0 -1
  331. package/dist/esm/models/operations/trackcustomer.js +0 -68
  332. package/dist/esm/models/operations/trackcustomer.js.map +0 -1
  333. package/src/funcs/trackCustomer.ts +0 -175
  334. package/src/models/operations/trackcustomer.ts +0 -163
@@ -1 +1 @@
1
- {"version":3,"file":"getcustomer.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,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G,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IACnD,OAAO,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAcvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
@@ -26,9 +26,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.getCustomerResponseBodyFromJSON = exports.getCustomerResponseBodyToJSON = exports.GetCustomerResponseBody$ = exports.GetCustomerResponseBody$outboundSchema = exports.GetCustomerResponseBody$inboundSchema = exports.getCustomerRequestFromJSON = exports.getCustomerRequestToJSON = exports.GetCustomerRequest$ = exports.GetCustomerRequest$outboundSchema = exports.GetCustomerRequest$inboundSchema = void 0;
29
+ exports.getCustomerResponseBodyFromJSON = exports.getCustomerResponseBodyToJSON = exports.GetCustomerResponseBody$ = exports.GetCustomerResponseBody$outboundSchema = exports.GetCustomerResponseBody$inboundSchema = exports.getCustomerDiscountFromJSON = exports.getCustomerDiscountToJSON = exports.GetCustomerDiscount$ = exports.GetCustomerDiscount$outboundSchema = exports.GetCustomerDiscount$inboundSchema = exports.GetCustomerInterval$ = exports.GetCustomerInterval$outboundSchema = exports.GetCustomerInterval$inboundSchema = exports.GetCustomerType$ = exports.GetCustomerType$outboundSchema = exports.GetCustomerType$inboundSchema = exports.getCustomerPartnerFromJSON = exports.getCustomerPartnerToJSON = exports.GetCustomerPartner$ = exports.GetCustomerPartner$outboundSchema = exports.GetCustomerPartner$inboundSchema = exports.getCustomerLinkFromJSON = exports.getCustomerLinkToJSON = exports.GetCustomerLink$ = exports.GetCustomerLink$outboundSchema = exports.GetCustomerLink$inboundSchema = exports.getCustomerRequestFromJSON = exports.getCustomerRequestToJSON = exports.GetCustomerRequest$ = exports.GetCustomerRequest$outboundSchema = exports.GetCustomerRequest$inboundSchema = exports.GetCustomerInterval = exports.GetCustomerType = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
+ exports.GetCustomerType = {
33
+ Percentage: "percentage",
34
+ Flat: "flat",
35
+ };
36
+ exports.GetCustomerInterval = {
37
+ Month: "month",
38
+ Year: "year",
39
+ };
32
40
  /** @internal */
33
41
  exports.GetCustomerRequest$inboundSchema = z.object({
34
42
  id: z.string(),
@@ -57,13 +65,156 @@ function getCustomerRequestFromJSON(jsonString) {
57
65
  }
58
66
  exports.getCustomerRequestFromJSON = getCustomerRequestFromJSON;
59
67
  /** @internal */
68
+ exports.GetCustomerLink$inboundSchema = z.object({
69
+ id: z.string(),
70
+ domain: z.string(),
71
+ key: z.string(),
72
+ shortLink: z.string(),
73
+ programId: z.nullable(z.string()),
74
+ });
75
+ /** @internal */
76
+ exports.GetCustomerLink$outboundSchema = z.object({
77
+ id: z.string(),
78
+ domain: z.string(),
79
+ key: z.string(),
80
+ shortLink: z.string(),
81
+ programId: z.nullable(z.string()),
82
+ });
83
+ /**
84
+ * @internal
85
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
86
+ */
87
+ var GetCustomerLink$;
88
+ (function (GetCustomerLink$) {
89
+ /** @deprecated use `GetCustomerLink$inboundSchema` instead. */
90
+ GetCustomerLink$.inboundSchema = exports.GetCustomerLink$inboundSchema;
91
+ /** @deprecated use `GetCustomerLink$outboundSchema` instead. */
92
+ GetCustomerLink$.outboundSchema = exports.GetCustomerLink$outboundSchema;
93
+ })(GetCustomerLink$ || (exports.GetCustomerLink$ = GetCustomerLink$ = {}));
94
+ function getCustomerLinkToJSON(getCustomerLink) {
95
+ return JSON.stringify(exports.GetCustomerLink$outboundSchema.parse(getCustomerLink));
96
+ }
97
+ exports.getCustomerLinkToJSON = getCustomerLinkToJSON;
98
+ function getCustomerLinkFromJSON(jsonString) {
99
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCustomerLink$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCustomerLink' from JSON`);
100
+ }
101
+ exports.getCustomerLinkFromJSON = getCustomerLinkFromJSON;
102
+ /** @internal */
103
+ exports.GetCustomerPartner$inboundSchema = z.object({
104
+ id: z.string(),
105
+ name: z.string(),
106
+ email: z.string(),
107
+ image: z.nullable(z.string()).optional(),
108
+ });
109
+ /** @internal */
110
+ exports.GetCustomerPartner$outboundSchema = z.object({
111
+ id: z.string(),
112
+ name: z.string(),
113
+ email: z.string(),
114
+ image: z.nullable(z.string()).optional(),
115
+ });
116
+ /**
117
+ * @internal
118
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
119
+ */
120
+ var GetCustomerPartner$;
121
+ (function (GetCustomerPartner$) {
122
+ /** @deprecated use `GetCustomerPartner$inboundSchema` instead. */
123
+ GetCustomerPartner$.inboundSchema = exports.GetCustomerPartner$inboundSchema;
124
+ /** @deprecated use `GetCustomerPartner$outboundSchema` instead. */
125
+ GetCustomerPartner$.outboundSchema = exports.GetCustomerPartner$outboundSchema;
126
+ })(GetCustomerPartner$ || (exports.GetCustomerPartner$ = GetCustomerPartner$ = {}));
127
+ function getCustomerPartnerToJSON(getCustomerPartner) {
128
+ return JSON.stringify(exports.GetCustomerPartner$outboundSchema.parse(getCustomerPartner));
129
+ }
130
+ exports.getCustomerPartnerToJSON = getCustomerPartnerToJSON;
131
+ function getCustomerPartnerFromJSON(jsonString) {
132
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCustomerPartner$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCustomerPartner' from JSON`);
133
+ }
134
+ exports.getCustomerPartnerFromJSON = getCustomerPartnerFromJSON;
135
+ /** @internal */
136
+ exports.GetCustomerType$inboundSchema = z.nativeEnum(exports.GetCustomerType);
137
+ /** @internal */
138
+ exports.GetCustomerType$outboundSchema = exports.GetCustomerType$inboundSchema;
139
+ /**
140
+ * @internal
141
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
142
+ */
143
+ var GetCustomerType$;
144
+ (function (GetCustomerType$) {
145
+ /** @deprecated use `GetCustomerType$inboundSchema` instead. */
146
+ GetCustomerType$.inboundSchema = exports.GetCustomerType$inboundSchema;
147
+ /** @deprecated use `GetCustomerType$outboundSchema` instead. */
148
+ GetCustomerType$.outboundSchema = exports.GetCustomerType$outboundSchema;
149
+ })(GetCustomerType$ || (exports.GetCustomerType$ = GetCustomerType$ = {}));
150
+ /** @internal */
151
+ exports.GetCustomerInterval$inboundSchema = z.nativeEnum(exports.GetCustomerInterval);
152
+ /** @internal */
153
+ exports.GetCustomerInterval$outboundSchema = exports.GetCustomerInterval$inboundSchema;
154
+ /**
155
+ * @internal
156
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
157
+ */
158
+ var GetCustomerInterval$;
159
+ (function (GetCustomerInterval$) {
160
+ /** @deprecated use `GetCustomerInterval$inboundSchema` instead. */
161
+ GetCustomerInterval$.inboundSchema = exports.GetCustomerInterval$inboundSchema;
162
+ /** @deprecated use `GetCustomerInterval$outboundSchema` instead. */
163
+ GetCustomerInterval$.outboundSchema = exports.GetCustomerInterval$outboundSchema;
164
+ })(GetCustomerInterval$ || (exports.GetCustomerInterval$ = GetCustomerInterval$ = {}));
165
+ /** @internal */
166
+ exports.GetCustomerDiscount$inboundSchema = z.object({
167
+ id: z.string(),
168
+ couponId: z.nullable(z.string()),
169
+ couponTestId: z.nullable(z.string()),
170
+ amount: z.number(),
171
+ type: exports.GetCustomerType$inboundSchema,
172
+ duration: z.nullable(z.number()),
173
+ interval: z.nullable(exports.GetCustomerInterval$inboundSchema),
174
+ });
175
+ /** @internal */
176
+ exports.GetCustomerDiscount$outboundSchema = z.object({
177
+ id: z.string(),
178
+ couponId: z.nullable(z.string()),
179
+ couponTestId: z.nullable(z.string()),
180
+ amount: z.number(),
181
+ type: exports.GetCustomerType$outboundSchema,
182
+ duration: z.nullable(z.number()),
183
+ interval: z.nullable(exports.GetCustomerInterval$outboundSchema),
184
+ });
185
+ /**
186
+ * @internal
187
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
188
+ */
189
+ var GetCustomerDiscount$;
190
+ (function (GetCustomerDiscount$) {
191
+ /** @deprecated use `GetCustomerDiscount$inboundSchema` instead. */
192
+ GetCustomerDiscount$.inboundSchema = exports.GetCustomerDiscount$inboundSchema;
193
+ /** @deprecated use `GetCustomerDiscount$outboundSchema` instead. */
194
+ GetCustomerDiscount$.outboundSchema = exports.GetCustomerDiscount$outboundSchema;
195
+ })(GetCustomerDiscount$ || (exports.GetCustomerDiscount$ = GetCustomerDiscount$ = {}));
196
+ function getCustomerDiscountToJSON(getCustomerDiscount) {
197
+ return JSON.stringify(exports.GetCustomerDiscount$outboundSchema.parse(getCustomerDiscount));
198
+ }
199
+ exports.getCustomerDiscountToJSON = getCustomerDiscountToJSON;
200
+ function getCustomerDiscountFromJSON(jsonString) {
201
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCustomerDiscount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCustomerDiscount' from JSON`);
202
+ }
203
+ exports.getCustomerDiscountFromJSON = getCustomerDiscountFromJSON;
204
+ /** @internal */
60
205
  exports.GetCustomerResponseBody$inboundSchema = z.object({
61
206
  id: z.string(),
62
207
  externalId: z.string(),
63
208
  name: z.string(),
64
209
  email: z.nullable(z.string()).optional(),
65
210
  avatar: z.nullable(z.string()).optional(),
211
+ country: z.nullable(z.string()).optional(),
66
212
  createdAt: z.string(),
213
+ link: z.nullable(z.lazy(() => exports.GetCustomerLink$inboundSchema)).optional(),
214
+ partner: z.nullable(z.lazy(() => exports.GetCustomerPartner$inboundSchema))
215
+ .optional(),
216
+ discount: z.nullable(z.lazy(() => exports.GetCustomerDiscount$inboundSchema))
217
+ .optional(),
67
218
  });
68
219
  /** @internal */
69
220
  exports.GetCustomerResponseBody$outboundSchema = z.object({
@@ -72,7 +223,13 @@ exports.GetCustomerResponseBody$outboundSchema = z.object({
72
223
  name: z.string(),
73
224
  email: z.nullable(z.string()).optional(),
74
225
  avatar: z.nullable(z.string()).optional(),
226
+ country: z.nullable(z.string()).optional(),
75
227
  createdAt: z.string(),
228
+ link: z.nullable(z.lazy(() => exports.GetCustomerLink$outboundSchema)).optional(),
229
+ partner: z.nullable(z.lazy(() => exports.GetCustomerPartner$outboundSchema))
230
+ .optional(),
231
+ discount: z.nullable(z.lazy(() => exports.GetCustomerDiscount$outboundSchema))
232
+ .optional(),
76
233
  });
77
234
  /**
78
235
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"getcustomer.js","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAyCjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,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IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAND,sEAMC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AARD,0EAQC"}
@@ -1,6 +1,54 @@
1
1
  import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../../types/fp.js";
3
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type Link = {
6
+ /**
7
+ * The unique ID of the short link.
8
+ */
9
+ id: string;
10
+ /**
11
+ * The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
12
+ */
13
+ domain: string;
14
+ /**
15
+ * The short link slug. If not provided, a random 7-character slug will be generated.
16
+ */
17
+ key: string;
18
+ /**
19
+ * The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
20
+ */
21
+ shortLink: string;
22
+ /**
23
+ * The ID of the program the short link is associated with.
24
+ */
25
+ programId: string | null;
26
+ };
27
+ export type Partner = {
28
+ id: string;
29
+ name: string;
30
+ email: string;
31
+ image?: string | null | undefined;
32
+ };
33
+ export declare const Type: {
34
+ readonly Percentage: "percentage";
35
+ readonly Flat: "flat";
36
+ };
37
+ export type Type = ClosedEnum<typeof Type>;
38
+ export declare const GetCustomersInterval: {
39
+ readonly Month: "month";
40
+ readonly Year: "year";
41
+ };
42
+ export type GetCustomersInterval = ClosedEnum<typeof GetCustomersInterval>;
43
+ export type Discount = {
44
+ id: string;
45
+ couponId: string | null;
46
+ couponTestId: string | null;
47
+ amount: number;
48
+ type: Type;
49
+ duration: number | null;
50
+ interval: GetCustomersInterval | null;
51
+ };
4
52
  export type ResponseBody = {
5
53
  /**
6
54
  * The unique identifier of the customer in Dub.
@@ -22,12 +70,138 @@ export type ResponseBody = {
22
70
  * Avatar URL of the customer.
23
71
  */
24
72
  avatar?: string | null | undefined;
73
+ /**
74
+ * Country of the customer.
75
+ */
76
+ country?: string | null | undefined;
25
77
  /**
26
78
  * The date the customer was created.
27
79
  */
28
80
  createdAt: string;
81
+ link?: Link | null | undefined;
82
+ partner?: Partner | null | undefined;
83
+ discount?: Discount | null | undefined;
84
+ };
85
+ /** @internal */
86
+ export declare const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown>;
87
+ /** @internal */
88
+ export type Link$Outbound = {
89
+ id: string;
90
+ domain: string;
91
+ key: string;
92
+ shortLink: string;
93
+ programId: string | null;
94
+ };
95
+ /** @internal */
96
+ export declare const Link$outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link>;
97
+ /**
98
+ * @internal
99
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
100
+ */
101
+ export declare namespace Link$ {
102
+ /** @deprecated use `Link$inboundSchema` instead. */
103
+ const inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown>;
104
+ /** @deprecated use `Link$outboundSchema` instead. */
105
+ const outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link>;
106
+ /** @deprecated use `Link$Outbound` instead. */
107
+ type Outbound = Link$Outbound;
108
+ }
109
+ export declare function linkToJSON(link: Link): string;
110
+ export declare function linkFromJSON(jsonString: string): SafeParseResult<Link, SDKValidationError>;
111
+ /** @internal */
112
+ export declare const Partner$inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
113
+ /** @internal */
114
+ export type Partner$Outbound = {
115
+ id: string;
116
+ name: string;
117
+ email: string;
118
+ image?: string | null | undefined;
29
119
  };
30
120
  /** @internal */
121
+ export declare const Partner$outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ export declare namespace Partner$ {
127
+ /** @deprecated use `Partner$inboundSchema` instead. */
128
+ const inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
129
+ /** @deprecated use `Partner$outboundSchema` instead. */
130
+ const outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
131
+ /** @deprecated use `Partner$Outbound` instead. */
132
+ type Outbound = Partner$Outbound;
133
+ }
134
+ export declare function partnerToJSON(partner: Partner): string;
135
+ export declare function partnerFromJSON(jsonString: string): SafeParseResult<Partner, SDKValidationError>;
136
+ /** @internal */
137
+ export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
138
+ /** @internal */
139
+ export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
140
+ /**
141
+ * @internal
142
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
143
+ */
144
+ export declare namespace Type$ {
145
+ /** @deprecated use `Type$inboundSchema` instead. */
146
+ const inboundSchema: z.ZodNativeEnum<{
147
+ readonly Percentage: "percentage";
148
+ readonly Flat: "flat";
149
+ }>;
150
+ /** @deprecated use `Type$outboundSchema` instead. */
151
+ const outboundSchema: z.ZodNativeEnum<{
152
+ readonly Percentage: "percentage";
153
+ readonly Flat: "flat";
154
+ }>;
155
+ }
156
+ /** @internal */
157
+ export declare const GetCustomersInterval$inboundSchema: z.ZodNativeEnum<typeof GetCustomersInterval>;
158
+ /** @internal */
159
+ export declare const GetCustomersInterval$outboundSchema: z.ZodNativeEnum<typeof GetCustomersInterval>;
160
+ /**
161
+ * @internal
162
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
163
+ */
164
+ export declare namespace GetCustomersInterval$ {
165
+ /** @deprecated use `GetCustomersInterval$inboundSchema` instead. */
166
+ const inboundSchema: z.ZodNativeEnum<{
167
+ readonly Month: "month";
168
+ readonly Year: "year";
169
+ }>;
170
+ /** @deprecated use `GetCustomersInterval$outboundSchema` instead. */
171
+ const outboundSchema: z.ZodNativeEnum<{
172
+ readonly Month: "month";
173
+ readonly Year: "year";
174
+ }>;
175
+ }
176
+ /** @internal */
177
+ export declare const Discount$inboundSchema: z.ZodType<Discount, z.ZodTypeDef, unknown>;
178
+ /** @internal */
179
+ export type Discount$Outbound = {
180
+ id: string;
181
+ couponId: string | null;
182
+ couponTestId: string | null;
183
+ amount: number;
184
+ type: string;
185
+ duration: number | null;
186
+ interval: string | null;
187
+ };
188
+ /** @internal */
189
+ export declare const Discount$outboundSchema: z.ZodType<Discount$Outbound, z.ZodTypeDef, Discount>;
190
+ /**
191
+ * @internal
192
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
193
+ */
194
+ export declare namespace Discount$ {
195
+ /** @deprecated use `Discount$inboundSchema` instead. */
196
+ const inboundSchema: z.ZodType<Discount, z.ZodTypeDef, unknown>;
197
+ /** @deprecated use `Discount$outboundSchema` instead. */
198
+ const outboundSchema: z.ZodType<Discount$Outbound, z.ZodTypeDef, Discount>;
199
+ /** @deprecated use `Discount$Outbound` instead. */
200
+ type Outbound = Discount$Outbound;
201
+ }
202
+ export declare function discountToJSON(discount: Discount): string;
203
+ export declare function discountFromJSON(jsonString: string): SafeParseResult<Discount, SDKValidationError>;
204
+ /** @internal */
31
205
  export declare const ResponseBody$inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
32
206
  /** @internal */
33
207
  export type ResponseBody$Outbound = {
@@ -36,7 +210,11 @@ export type ResponseBody$Outbound = {
36
210
  name: string;
37
211
  email?: string | null | undefined;
38
212
  avatar?: string | null | undefined;
213
+ country?: string | null | undefined;
39
214
  createdAt: string;
215
+ link?: Link$Outbound | null | undefined;
216
+ partner?: Partner$Outbound | null | undefined;
217
+ discount?: Discount$Outbound | null | undefined;
40
218
  };
41
219
  /** @internal */
42
220
  export declare const ResponseBody$outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
@@ -1 +1 @@
1
- {"version":3,"file":"getcustomers.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomers.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,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAQZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
1
+ {"version":3,"file":"getcustomers.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX,MAA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AC9C,QAAQ,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAYZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
@@ -26,9 +26,155 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.responseBodyFromJSON = exports.responseBodyToJSON = exports.ResponseBody$ = exports.ResponseBody$outboundSchema = exports.ResponseBody$inboundSchema = void 0;
29
+ exports.responseBodyFromJSON = exports.responseBodyToJSON = exports.ResponseBody$ = exports.ResponseBody$outboundSchema = exports.ResponseBody$inboundSchema = exports.discountFromJSON = exports.discountToJSON = exports.Discount$ = exports.Discount$outboundSchema = exports.Discount$inboundSchema = exports.GetCustomersInterval$ = exports.GetCustomersInterval$outboundSchema = exports.GetCustomersInterval$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.partnerFromJSON = exports.partnerToJSON = exports.Partner$ = exports.Partner$outboundSchema = exports.Partner$inboundSchema = exports.linkFromJSON = exports.linkToJSON = exports.Link$ = exports.Link$outboundSchema = exports.Link$inboundSchema = exports.GetCustomersInterval = exports.Type = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
+ exports.Type = {
33
+ Percentage: "percentage",
34
+ Flat: "flat",
35
+ };
36
+ exports.GetCustomersInterval = {
37
+ Month: "month",
38
+ Year: "year",
39
+ };
40
+ /** @internal */
41
+ exports.Link$inboundSchema = z
42
+ .object({
43
+ id: z.string(),
44
+ domain: z.string(),
45
+ key: z.string(),
46
+ shortLink: z.string(),
47
+ programId: z.nullable(z.string()),
48
+ });
49
+ /** @internal */
50
+ exports.Link$outboundSchema = z.object({
51
+ id: z.string(),
52
+ domain: z.string(),
53
+ key: z.string(),
54
+ shortLink: z.string(),
55
+ programId: z.nullable(z.string()),
56
+ });
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ var Link$;
62
+ (function (Link$) {
63
+ /** @deprecated use `Link$inboundSchema` instead. */
64
+ Link$.inboundSchema = exports.Link$inboundSchema;
65
+ /** @deprecated use `Link$outboundSchema` instead. */
66
+ Link$.outboundSchema = exports.Link$outboundSchema;
67
+ })(Link$ || (exports.Link$ = Link$ = {}));
68
+ function linkToJSON(link) {
69
+ return JSON.stringify(exports.Link$outboundSchema.parse(link));
70
+ }
71
+ exports.linkToJSON = linkToJSON;
72
+ function linkFromJSON(jsonString) {
73
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Link$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Link' from JSON`);
74
+ }
75
+ exports.linkFromJSON = linkFromJSON;
76
+ /** @internal */
77
+ exports.Partner$inboundSchema = z.object({
78
+ id: z.string(),
79
+ name: z.string(),
80
+ email: z.string(),
81
+ image: z.nullable(z.string()).optional(),
82
+ });
83
+ /** @internal */
84
+ exports.Partner$outboundSchema = z.object({
85
+ id: z.string(),
86
+ name: z.string(),
87
+ email: z.string(),
88
+ image: z.nullable(z.string()).optional(),
89
+ });
90
+ /**
91
+ * @internal
92
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
93
+ */
94
+ var Partner$;
95
+ (function (Partner$) {
96
+ /** @deprecated use `Partner$inboundSchema` instead. */
97
+ Partner$.inboundSchema = exports.Partner$inboundSchema;
98
+ /** @deprecated use `Partner$outboundSchema` instead. */
99
+ Partner$.outboundSchema = exports.Partner$outboundSchema;
100
+ })(Partner$ || (exports.Partner$ = Partner$ = {}));
101
+ function partnerToJSON(partner) {
102
+ return JSON.stringify(exports.Partner$outboundSchema.parse(partner));
103
+ }
104
+ exports.partnerToJSON = partnerToJSON;
105
+ function partnerFromJSON(jsonString) {
106
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Partner$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Partner' from JSON`);
107
+ }
108
+ exports.partnerFromJSON = partnerFromJSON;
109
+ /** @internal */
110
+ exports.Type$inboundSchema = z.nativeEnum(exports.Type);
111
+ /** @internal */
112
+ exports.Type$outboundSchema = exports.Type$inboundSchema;
113
+ /**
114
+ * @internal
115
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
116
+ */
117
+ var Type$;
118
+ (function (Type$) {
119
+ /** @deprecated use `Type$inboundSchema` instead. */
120
+ Type$.inboundSchema = exports.Type$inboundSchema;
121
+ /** @deprecated use `Type$outboundSchema` instead. */
122
+ Type$.outboundSchema = exports.Type$outboundSchema;
123
+ })(Type$ || (exports.Type$ = Type$ = {}));
124
+ /** @internal */
125
+ exports.GetCustomersInterval$inboundSchema = z.nativeEnum(exports.GetCustomersInterval);
126
+ /** @internal */
127
+ exports.GetCustomersInterval$outboundSchema = exports.GetCustomersInterval$inboundSchema;
128
+ /**
129
+ * @internal
130
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
131
+ */
132
+ var GetCustomersInterval$;
133
+ (function (GetCustomersInterval$) {
134
+ /** @deprecated use `GetCustomersInterval$inboundSchema` instead. */
135
+ GetCustomersInterval$.inboundSchema = exports.GetCustomersInterval$inboundSchema;
136
+ /** @deprecated use `GetCustomersInterval$outboundSchema` instead. */
137
+ GetCustomersInterval$.outboundSchema = exports.GetCustomersInterval$outboundSchema;
138
+ })(GetCustomersInterval$ || (exports.GetCustomersInterval$ = GetCustomersInterval$ = {}));
139
+ /** @internal */
140
+ exports.Discount$inboundSchema = z.object({
141
+ id: z.string(),
142
+ couponId: z.nullable(z.string()),
143
+ couponTestId: z.nullable(z.string()),
144
+ amount: z.number(),
145
+ type: exports.Type$inboundSchema,
146
+ duration: z.nullable(z.number()),
147
+ interval: z.nullable(exports.GetCustomersInterval$inboundSchema),
148
+ });
149
+ /** @internal */
150
+ exports.Discount$outboundSchema = z.object({
151
+ id: z.string(),
152
+ couponId: z.nullable(z.string()),
153
+ couponTestId: z.nullable(z.string()),
154
+ amount: z.number(),
155
+ type: exports.Type$outboundSchema,
156
+ duration: z.nullable(z.number()),
157
+ interval: z.nullable(exports.GetCustomersInterval$outboundSchema),
158
+ });
159
+ /**
160
+ * @internal
161
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
162
+ */
163
+ var Discount$;
164
+ (function (Discount$) {
165
+ /** @deprecated use `Discount$inboundSchema` instead. */
166
+ Discount$.inboundSchema = exports.Discount$inboundSchema;
167
+ /** @deprecated use `Discount$outboundSchema` instead. */
168
+ Discount$.outboundSchema = exports.Discount$outboundSchema;
169
+ })(Discount$ || (exports.Discount$ = Discount$ = {}));
170
+ function discountToJSON(discount) {
171
+ return JSON.stringify(exports.Discount$outboundSchema.parse(discount));
172
+ }
173
+ exports.discountToJSON = discountToJSON;
174
+ function discountFromJSON(jsonString) {
175
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Discount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Discount' from JSON`);
176
+ }
177
+ exports.discountFromJSON = discountFromJSON;
32
178
  /** @internal */
33
179
  exports.ResponseBody$inboundSchema = z.object({
34
180
  id: z.string(),
@@ -36,7 +182,11 @@ exports.ResponseBody$inboundSchema = z.object({
36
182
  name: z.string(),
37
183
  email: z.nullable(z.string()).optional(),
38
184
  avatar: z.nullable(z.string()).optional(),
185
+ country: z.nullable(z.string()).optional(),
39
186
  createdAt: z.string(),
187
+ link: z.nullable(z.lazy(() => exports.Link$inboundSchema)).optional(),
188
+ partner: z.nullable(z.lazy(() => exports.Partner$inboundSchema)).optional(),
189
+ discount: z.nullable(z.lazy(() => exports.Discount$inboundSchema)).optional(),
40
190
  });
41
191
  /** @internal */
42
192
  exports.ResponseBody$outboundSchema = z.object({
@@ -45,7 +195,11 @@ exports.ResponseBody$outboundSchema = z.object({
45
195
  name: z.string(),
46
196
  email: z.nullable(z.string()).optional(),
47
197
  avatar: z.nullable(z.string()).optional(),
198
+ country: z.nullable(z.string()).optional(),
48
199
  createdAt: z.string(),
200
+ link: z.nullable(z.lazy(() => exports.Link$outboundSchema)).optional(),
201
+ partner: z.nullable(z.lazy(() => exports.Partner$outboundSchema)).optional(),
202
+ discount: z.nullable(z.lazy(() => exports.Discount$outboundSchema)).optional(),
49
203
  });
50
204
  /**
51
205
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"getcustomers.js","sourceRoot":"","sources":["../../../../src/models/operations/getcustomers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AA+BjD,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAA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