dub 0.64.4 → 0.64.6

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 (238) hide show
  1. package/bin/mcp-server.js +60 -9971
  2. package/bin/mcp-server.js.map +29 -31
  3. package/dist/commonjs/funcs/partnersAnalytics.js +1 -0
  4. package/dist/commonjs/funcs/partnersAnalytics.js.map +1 -1
  5. package/dist/commonjs/lib/config.d.ts +3 -3
  6. package/dist/commonjs/lib/config.js +3 -3
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/components/clickevent.d.ts +7 -529
  10. package/dist/commonjs/models/components/clickevent.d.ts.map +1 -1
  11. package/dist/commonjs/models/components/clickevent.js +3 -1034
  12. package/dist/commonjs/models/components/clickevent.js.map +1 -1
  13. package/dist/commonjs/models/components/index.d.ts +0 -2
  14. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  15. package/dist/commonjs/models/components/index.js +0 -2
  16. package/dist/commonjs/models/components/index.js.map +1 -1
  17. package/dist/commonjs/models/components/leadcreatedevent.d.ts +7 -529
  18. package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
  19. package/dist/commonjs/models/components/leadcreatedevent.js +3 -1034
  20. package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
  21. package/dist/commonjs/models/components/leadevent.d.ts +7 -529
  22. package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
  23. package/dist/commonjs/models/components/leadevent.js +3 -1034
  24. package/dist/commonjs/models/components/leadevent.js.map +1 -1
  25. package/dist/commonjs/models/components/linkclickedevent.d.ts +7 -529
  26. package/dist/commonjs/models/components/linkclickedevent.d.ts.map +1 -1
  27. package/dist/commonjs/models/components/linkclickedevent.js +3 -1034
  28. package/dist/commonjs/models/components/linkclickedevent.js.map +1 -1
  29. package/dist/commonjs/models/components/linkschema.d.ts +7 -529
  30. package/dist/commonjs/models/components/linkschema.d.ts.map +1 -1
  31. package/dist/commonjs/models/components/linkschema.js +3 -1036
  32. package/dist/commonjs/models/components/linkschema.js.map +1 -1
  33. package/dist/commonjs/models/components/linkwebhookevent.d.ts +7 -529
  34. package/dist/commonjs/models/components/linkwebhookevent.d.ts.map +1 -1
  35. package/dist/commonjs/models/components/linkwebhookevent.js +3 -1034
  36. package/dist/commonjs/models/components/linkwebhookevent.js.map +1 -1
  37. package/dist/commonjs/models/components/partnerenrolledevent.d.ts +6 -1
  38. package/dist/commonjs/models/components/partnerenrolledevent.d.ts.map +1 -1
  39. package/dist/commonjs/models/components/partnerenrolledevent.js +2 -0
  40. package/dist/commonjs/models/components/partnerenrolledevent.js.map +1 -1
  41. package/dist/commonjs/models/components/salecreatedevent.d.ts +7 -529
  42. package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/salecreatedevent.js +3 -1034
  44. package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
  45. package/dist/commonjs/models/components/saleevent.d.ts +7 -529
  46. package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
  47. package/dist/commonjs/models/components/saleevent.js +3 -1034
  48. package/dist/commonjs/models/components/saleevent.js.map +1 -1
  49. package/dist/commonjs/models/components/workspaceschema.d.ts +0 -5
  50. package/dist/commonjs/models/components/workspaceschema.d.ts.map +1 -1
  51. package/dist/commonjs/models/components/workspaceschema.js +0 -2
  52. package/dist/commonjs/models/components/workspaceschema.js.map +1 -1
  53. package/dist/commonjs/models/operations/bulkcreatelinks.d.ts +7 -3
  54. package/dist/commonjs/models/operations/bulkcreatelinks.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/bulkcreatelinks.js +2 -2
  56. package/dist/commonjs/models/operations/bulkcreatelinks.js.map +1 -1
  57. package/dist/commonjs/models/operations/bulkupdatelinks.d.ts +7 -4
  58. package/dist/commonjs/models/operations/bulkupdatelinks.d.ts.map +1 -1
  59. package/dist/commonjs/models/operations/bulkupdatelinks.js +2 -3
  60. package/dist/commonjs/models/operations/bulkupdatelinks.js.map +1 -1
  61. package/dist/commonjs/models/operations/createlink.d.ts +7 -4
  62. package/dist/commonjs/models/operations/createlink.d.ts.map +1 -1
  63. package/dist/commonjs/models/operations/createlink.js +2 -3
  64. package/dist/commonjs/models/operations/createlink.js.map +1 -1
  65. package/dist/commonjs/models/operations/createpartner.d.ts +8 -778
  66. package/dist/commonjs/models/operations/createpartner.d.ts.map +1 -1
  67. package/dist/commonjs/models/operations/createpartner.js +5 -274
  68. package/dist/commonjs/models/operations/createpartner.js.map +1 -1
  69. package/dist/commonjs/models/operations/createreferralsembedtoken.d.ts +2 -778
  70. package/dist/commonjs/models/operations/createreferralsembedtoken.d.ts.map +1 -1
  71. package/dist/commonjs/models/operations/createreferralsembedtoken.js +3 -275
  72. package/dist/commonjs/models/operations/createreferralsembedtoken.js.map +1 -1
  73. package/dist/commonjs/models/operations/listevents.d.ts +2 -2
  74. package/dist/commonjs/models/operations/listevents.d.ts.map +1 -1
  75. package/dist/commonjs/models/operations/listevents.js +2 -2
  76. package/dist/commonjs/models/operations/listevents.js.map +1 -1
  77. package/dist/commonjs/models/operations/listpartners.d.ts +10 -2
  78. package/dist/commonjs/models/operations/listpartners.d.ts.map +1 -1
  79. package/dist/commonjs/models/operations/listpartners.js +3 -0
  80. package/dist/commonjs/models/operations/listpartners.js.map +1 -1
  81. package/dist/commonjs/models/operations/retrieveanalytics.d.ts +2 -2
  82. package/dist/commonjs/models/operations/retrieveanalytics.d.ts.map +1 -1
  83. package/dist/commonjs/models/operations/retrieveanalytics.js +2 -2
  84. package/dist/commonjs/models/operations/retrieveanalytics.js.map +1 -1
  85. package/dist/commonjs/models/operations/retrievepartneranalytics.d.ts +5 -0
  86. package/dist/commonjs/models/operations/retrievepartneranalytics.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/retrievepartneranalytics.js +2 -0
  88. package/dist/commonjs/models/operations/retrievepartneranalytics.js.map +1 -1
  89. package/dist/commonjs/models/operations/updatelink.d.ts +7 -4
  90. package/dist/commonjs/models/operations/updatelink.d.ts.map +1 -1
  91. package/dist/commonjs/models/operations/updatelink.js +2 -3
  92. package/dist/commonjs/models/operations/updatelink.js.map +1 -1
  93. package/dist/commonjs/models/operations/upsertlink.d.ts +7 -4
  94. package/dist/commonjs/models/operations/upsertlink.d.ts.map +1 -1
  95. package/dist/commonjs/models/operations/upsertlink.js +2 -3
  96. package/dist/commonjs/models/operations/upsertlink.js.map +1 -1
  97. package/dist/esm/funcs/partnersAnalytics.js +1 -0
  98. package/dist/esm/funcs/partnersAnalytics.js.map +1 -1
  99. package/dist/esm/lib/config.d.ts +3 -3
  100. package/dist/esm/lib/config.js +3 -3
  101. package/dist/esm/mcp-server/mcp-server.js +1 -1
  102. package/dist/esm/mcp-server/server.js +1 -1
  103. package/dist/esm/models/components/clickevent.d.ts +7 -529
  104. package/dist/esm/models/components/clickevent.d.ts.map +1 -1
  105. package/dist/esm/models/components/clickevent.js +2 -1031
  106. package/dist/esm/models/components/clickevent.js.map +1 -1
  107. package/dist/esm/models/components/index.d.ts +0 -2
  108. package/dist/esm/models/components/index.d.ts.map +1 -1
  109. package/dist/esm/models/components/index.js +0 -2
  110. package/dist/esm/models/components/index.js.map +1 -1
  111. package/dist/esm/models/components/leadcreatedevent.d.ts +7 -529
  112. package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
  113. package/dist/esm/models/components/leadcreatedevent.js +2 -1031
  114. package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
  115. package/dist/esm/models/components/leadevent.d.ts +7 -529
  116. package/dist/esm/models/components/leadevent.d.ts.map +1 -1
  117. package/dist/esm/models/components/leadevent.js +2 -1031
  118. package/dist/esm/models/components/leadevent.js.map +1 -1
  119. package/dist/esm/models/components/linkclickedevent.d.ts +7 -529
  120. package/dist/esm/models/components/linkclickedevent.d.ts.map +1 -1
  121. package/dist/esm/models/components/linkclickedevent.js +2 -1031
  122. package/dist/esm/models/components/linkclickedevent.js.map +1 -1
  123. package/dist/esm/models/components/linkschema.d.ts +7 -529
  124. package/dist/esm/models/components/linkschema.d.ts.map +1 -1
  125. package/dist/esm/models/components/linkschema.js +2 -1033
  126. package/dist/esm/models/components/linkschema.js.map +1 -1
  127. package/dist/esm/models/components/linkwebhookevent.d.ts +7 -529
  128. package/dist/esm/models/components/linkwebhookevent.d.ts.map +1 -1
  129. package/dist/esm/models/components/linkwebhookevent.js +2 -1031
  130. package/dist/esm/models/components/linkwebhookevent.js.map +1 -1
  131. package/dist/esm/models/components/partnerenrolledevent.d.ts +6 -1
  132. package/dist/esm/models/components/partnerenrolledevent.d.ts.map +1 -1
  133. package/dist/esm/models/components/partnerenrolledevent.js +2 -0
  134. package/dist/esm/models/components/partnerenrolledevent.js.map +1 -1
  135. package/dist/esm/models/components/salecreatedevent.d.ts +7 -529
  136. package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
  137. package/dist/esm/models/components/salecreatedevent.js +2 -1031
  138. package/dist/esm/models/components/salecreatedevent.js.map +1 -1
  139. package/dist/esm/models/components/saleevent.d.ts +7 -529
  140. package/dist/esm/models/components/saleevent.d.ts.map +1 -1
  141. package/dist/esm/models/components/saleevent.js +2 -1031
  142. package/dist/esm/models/components/saleevent.js.map +1 -1
  143. package/dist/esm/models/components/workspaceschema.d.ts +0 -5
  144. package/dist/esm/models/components/workspaceschema.d.ts.map +1 -1
  145. package/dist/esm/models/components/workspaceschema.js +0 -2
  146. package/dist/esm/models/components/workspaceschema.js.map +1 -1
  147. package/dist/esm/models/operations/bulkcreatelinks.d.ts +7 -3
  148. package/dist/esm/models/operations/bulkcreatelinks.d.ts.map +1 -1
  149. package/dist/esm/models/operations/bulkcreatelinks.js +2 -2
  150. package/dist/esm/models/operations/bulkcreatelinks.js.map +1 -1
  151. package/dist/esm/models/operations/bulkupdatelinks.d.ts +7 -4
  152. package/dist/esm/models/operations/bulkupdatelinks.d.ts.map +1 -1
  153. package/dist/esm/models/operations/bulkupdatelinks.js +2 -3
  154. package/dist/esm/models/operations/bulkupdatelinks.js.map +1 -1
  155. package/dist/esm/models/operations/createlink.d.ts +7 -4
  156. package/dist/esm/models/operations/createlink.d.ts.map +1 -1
  157. package/dist/esm/models/operations/createlink.js +2 -3
  158. package/dist/esm/models/operations/createlink.js.map +1 -1
  159. package/dist/esm/models/operations/createpartner.d.ts +8 -778
  160. package/dist/esm/models/operations/createpartner.d.ts.map +1 -1
  161. package/dist/esm/models/operations/createpartner.js +4 -273
  162. package/dist/esm/models/operations/createpartner.js.map +1 -1
  163. package/dist/esm/models/operations/createreferralsembedtoken.d.ts +2 -778
  164. package/dist/esm/models/operations/createreferralsembedtoken.d.ts.map +1 -1
  165. package/dist/esm/models/operations/createreferralsembedtoken.js +2 -274
  166. package/dist/esm/models/operations/createreferralsembedtoken.js.map +1 -1
  167. package/dist/esm/models/operations/listevents.d.ts +2 -2
  168. package/dist/esm/models/operations/listevents.d.ts.map +1 -1
  169. package/dist/esm/models/operations/listevents.js +2 -2
  170. package/dist/esm/models/operations/listevents.js.map +1 -1
  171. package/dist/esm/models/operations/listpartners.d.ts +10 -2
  172. package/dist/esm/models/operations/listpartners.d.ts.map +1 -1
  173. package/dist/esm/models/operations/listpartners.js +3 -0
  174. package/dist/esm/models/operations/listpartners.js.map +1 -1
  175. package/dist/esm/models/operations/retrieveanalytics.d.ts +2 -2
  176. package/dist/esm/models/operations/retrieveanalytics.d.ts.map +1 -1
  177. package/dist/esm/models/operations/retrieveanalytics.js +2 -2
  178. package/dist/esm/models/operations/retrieveanalytics.js.map +1 -1
  179. package/dist/esm/models/operations/retrievepartneranalytics.d.ts +5 -0
  180. package/dist/esm/models/operations/retrievepartneranalytics.d.ts.map +1 -1
  181. package/dist/esm/models/operations/retrievepartneranalytics.js +2 -0
  182. package/dist/esm/models/operations/retrievepartneranalytics.js.map +1 -1
  183. package/dist/esm/models/operations/updatelink.d.ts +7 -4
  184. package/dist/esm/models/operations/updatelink.d.ts.map +1 -1
  185. package/dist/esm/models/operations/updatelink.js +2 -3
  186. package/dist/esm/models/operations/updatelink.js.map +1 -1
  187. package/dist/esm/models/operations/upsertlink.d.ts +7 -4
  188. package/dist/esm/models/operations/upsertlink.d.ts.map +1 -1
  189. package/dist/esm/models/operations/upsertlink.js +2 -3
  190. package/dist/esm/models/operations/upsertlink.js.map +1 -1
  191. package/examples/linksCreate.example.ts +1 -1
  192. package/examples/package-lock.json +1 -1
  193. package/jsr.json +1 -1
  194. package/package.json +1 -1
  195. package/src/funcs/partnersAnalytics.ts +1 -0
  196. package/src/lib/config.ts +3 -3
  197. package/src/mcp-server/mcp-server.ts +1 -1
  198. package/src/mcp-server/server.ts +1 -1
  199. package/src/models/components/clickevent.ts +5 -1564
  200. package/src/models/components/index.ts +0 -2
  201. package/src/models/components/leadcreatedevent.ts +5 -1568
  202. package/src/models/components/leadevent.ts +5 -1564
  203. package/src/models/components/linkclickedevent.ts +5 -1568
  204. package/src/models/components/linkschema.ts +5 -1558
  205. package/src/models/components/linkwebhookevent.ts +5 -1568
  206. package/src/models/components/partnerenrolledevent.ts +8 -1
  207. package/src/models/components/salecreatedevent.ts +5 -1568
  208. package/src/models/components/saleevent.ts +5 -1564
  209. package/src/models/components/workspaceschema.ts +0 -7
  210. package/src/models/operations/bulkcreatelinks.ts +5 -5
  211. package/src/models/operations/bulkupdatelinks.ts +5 -6
  212. package/src/models/operations/createlink.ts +5 -6
  213. package/src/models/operations/createpartner.ts +12 -284
  214. package/src/models/operations/createreferralsembedtoken.ts +4 -290
  215. package/src/models/operations/listevents.ts +4 -4
  216. package/src/models/operations/listpartners.ts +10 -2
  217. package/src/models/operations/retrieveanalytics.ts +4 -4
  218. package/src/models/operations/retrievepartneranalytics.ts +7 -0
  219. package/src/models/operations/updatelink.ts +5 -6
  220. package/src/models/operations/upsertlink.ts +5 -6
  221. package/dist/commonjs/models/components/countrycode.d.ts +0 -778
  222. package/dist/commonjs/models/components/countrycode.d.ts.map +0 -1
  223. package/dist/commonjs/models/components/countrycode.js +0 -312
  224. package/dist/commonjs/models/components/countrycode.js.map +0 -1
  225. package/dist/commonjs/models/components/linkgeotargeting.d.ts +0 -530
  226. package/dist/commonjs/models/components/linkgeotargeting.d.ts.map +0 -1
  227. package/dist/commonjs/models/components/linkgeotargeting.js +0 -1074
  228. package/dist/commonjs/models/components/linkgeotargeting.js.map +0 -1
  229. package/dist/esm/models/components/countrycode.d.ts +0 -778
  230. package/dist/esm/models/components/countrycode.d.ts.map +0 -1
  231. package/dist/esm/models/components/countrycode.js +0 -276
  232. package/dist/esm/models/components/countrycode.js.map +0 -1
  233. package/dist/esm/models/components/linkgeotargeting.d.ts +0 -530
  234. package/dist/esm/models/components/linkgeotargeting.d.ts.map +0 -1
  235. package/dist/esm/models/components/linkgeotargeting.js +0 -1036
  236. package/dist/esm/models/components/linkgeotargeting.js.map +0 -1
  237. package/src/models/components/countrycode.ts +0 -285
  238. package/src/models/components/linkgeotargeting.ts +0 -1572
@@ -2,265 +2,6 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The partner's country of residence. Must be passed as a 2-letter ISO 3166-1 country code. Learn more: https://d.to/geo
7
- */
8
- export declare const Country: {
9
- readonly Af: "AF";
10
- readonly Al: "AL";
11
- readonly Dz: "DZ";
12
- readonly As: "AS";
13
- readonly Ad: "AD";
14
- readonly Ao: "AO";
15
- readonly Ai: "AI";
16
- readonly Aq: "AQ";
17
- readonly Ag: "AG";
18
- readonly Ar: "AR";
19
- readonly Am: "AM";
20
- readonly Aw: "AW";
21
- readonly Au: "AU";
22
- readonly At: "AT";
23
- readonly Az: "AZ";
24
- readonly Bs: "BS";
25
- readonly Bh: "BH";
26
- readonly Bd: "BD";
27
- readonly Bb: "BB";
28
- readonly By: "BY";
29
- readonly Be: "BE";
30
- readonly Bz: "BZ";
31
- readonly Bj: "BJ";
32
- readonly Bm: "BM";
33
- readonly Bt: "BT";
34
- readonly Bo: "BO";
35
- readonly Ba: "BA";
36
- readonly Bw: "BW";
37
- readonly Bv: "BV";
38
- readonly Br: "BR";
39
- readonly Io: "IO";
40
- readonly Bn: "BN";
41
- readonly Bg: "BG";
42
- readonly Bf: "BF";
43
- readonly Bi: "BI";
44
- readonly Kh: "KH";
45
- readonly Cm: "CM";
46
- readonly Ca: "CA";
47
- readonly Cv: "CV";
48
- readonly Ky: "KY";
49
- readonly Cf: "CF";
50
- readonly Td: "TD";
51
- readonly Cl: "CL";
52
- readonly Cn: "CN";
53
- readonly Cx: "CX";
54
- readonly Cc: "CC";
55
- readonly Co: "CO";
56
- readonly Km: "KM";
57
- readonly Cg: "CG";
58
- readonly Cd: "CD";
59
- readonly Ck: "CK";
60
- readonly Cr: "CR";
61
- readonly Ci: "CI";
62
- readonly Hr: "HR";
63
- readonly Cu: "CU";
64
- readonly Cy: "CY";
65
- readonly Cz: "CZ";
66
- readonly Dk: "DK";
67
- readonly Dj: "DJ";
68
- readonly Dm: "DM";
69
- readonly Do: "DO";
70
- readonly Ec: "EC";
71
- readonly Eg: "EG";
72
- readonly Sv: "SV";
73
- readonly Gq: "GQ";
74
- readonly Er: "ER";
75
- readonly Ee: "EE";
76
- readonly Et: "ET";
77
- readonly Fk: "FK";
78
- readonly Fo: "FO";
79
- readonly Fj: "FJ";
80
- readonly Fi: "FI";
81
- readonly Fr: "FR";
82
- readonly Gf: "GF";
83
- readonly Pf: "PF";
84
- readonly Tf: "TF";
85
- readonly Ga: "GA";
86
- readonly Gm: "GM";
87
- readonly Ge: "GE";
88
- readonly De: "DE";
89
- readonly Gh: "GH";
90
- readonly Gi: "GI";
91
- readonly Gr: "GR";
92
- readonly Gl: "GL";
93
- readonly Gd: "GD";
94
- readonly Gp: "GP";
95
- readonly Gu: "GU";
96
- readonly Gt: "GT";
97
- readonly Gn: "GN";
98
- readonly Gw: "GW";
99
- readonly Gy: "GY";
100
- readonly Ht: "HT";
101
- readonly Hm: "HM";
102
- readonly Va: "VA";
103
- readonly Hn: "HN";
104
- readonly Hk: "HK";
105
- readonly Hu: "HU";
106
- readonly Is: "IS";
107
- readonly In: "IN";
108
- readonly Id: "ID";
109
- readonly Ir: "IR";
110
- readonly Iq: "IQ";
111
- readonly Ie: "IE";
112
- readonly Il: "IL";
113
- readonly It: "IT";
114
- readonly Jm: "JM";
115
- readonly Jp: "JP";
116
- readonly Jo: "JO";
117
- readonly Kz: "KZ";
118
- readonly Ke: "KE";
119
- readonly Ki: "KI";
120
- readonly Kp: "KP";
121
- readonly Kr: "KR";
122
- readonly Kw: "KW";
123
- readonly Kg: "KG";
124
- readonly La: "LA";
125
- readonly Lv: "LV";
126
- readonly Lb: "LB";
127
- readonly Ls: "LS";
128
- readonly Lr: "LR";
129
- readonly Ly: "LY";
130
- readonly Li: "LI";
131
- readonly Lt: "LT";
132
- readonly Lu: "LU";
133
- readonly Mo: "MO";
134
- readonly Mg: "MG";
135
- readonly Mw: "MW";
136
- readonly My: "MY";
137
- readonly Mv: "MV";
138
- readonly Ml: "ML";
139
- readonly Mt: "MT";
140
- readonly Mh: "MH";
141
- readonly Mq: "MQ";
142
- readonly Mr: "MR";
143
- readonly Mu: "MU";
144
- readonly Yt: "YT";
145
- readonly Mx: "MX";
146
- readonly Fm: "FM";
147
- readonly Md: "MD";
148
- readonly Mc: "MC";
149
- readonly Mn: "MN";
150
- readonly Ms: "MS";
151
- readonly Ma: "MA";
152
- readonly Mz: "MZ";
153
- readonly Mm: "MM";
154
- readonly Na: "NA";
155
- readonly Nr: "NR";
156
- readonly Np: "NP";
157
- readonly Nl: "NL";
158
- readonly Nc: "NC";
159
- readonly Nz: "NZ";
160
- readonly Ni: "NI";
161
- readonly Ne: "NE";
162
- readonly Ng: "NG";
163
- readonly Nu: "NU";
164
- readonly Nf: "NF";
165
- readonly Mk: "MK";
166
- readonly Mp: "MP";
167
- readonly No: "NO";
168
- readonly Om: "OM";
169
- readonly Pk: "PK";
170
- readonly Pw: "PW";
171
- readonly Ps: "PS";
172
- readonly Pa: "PA";
173
- readonly Pg: "PG";
174
- readonly Py: "PY";
175
- readonly Pe: "PE";
176
- readonly Ph: "PH";
177
- readonly Pn: "PN";
178
- readonly Pl: "PL";
179
- readonly Pt: "PT";
180
- readonly Pr: "PR";
181
- readonly Qa: "QA";
182
- readonly Re: "RE";
183
- readonly Ro: "RO";
184
- readonly Ru: "RU";
185
- readonly Rw: "RW";
186
- readonly Sh: "SH";
187
- readonly Kn: "KN";
188
- readonly Lc: "LC";
189
- readonly Pm: "PM";
190
- readonly Vc: "VC";
191
- readonly Ws: "WS";
192
- readonly Sm: "SM";
193
- readonly St: "ST";
194
- readonly Sa: "SA";
195
- readonly Sn: "SN";
196
- readonly Sc: "SC";
197
- readonly Sl: "SL";
198
- readonly Sg: "SG";
199
- readonly Sk: "SK";
200
- readonly Si: "SI";
201
- readonly Sb: "SB";
202
- readonly So: "SO";
203
- readonly Za: "ZA";
204
- readonly Gs: "GS";
205
- readonly Es: "ES";
206
- readonly Lk: "LK";
207
- readonly Sd: "SD";
208
- readonly Sr: "SR";
209
- readonly Sj: "SJ";
210
- readonly Sz: "SZ";
211
- readonly Se: "SE";
212
- readonly Ch: "CH";
213
- readonly Sy: "SY";
214
- readonly Tw: "TW";
215
- readonly Tj: "TJ";
216
- readonly Tz: "TZ";
217
- readonly Th: "TH";
218
- readonly Tl: "TL";
219
- readonly Tg: "TG";
220
- readonly Tk: "TK";
221
- readonly To: "TO";
222
- readonly Tt: "TT";
223
- readonly Tn: "TN";
224
- readonly Tr: "TR";
225
- readonly Tm: "TM";
226
- readonly Tc: "TC";
227
- readonly Tv: "TV";
228
- readonly Ug: "UG";
229
- readonly Ua: "UA";
230
- readonly Ae: "AE";
231
- readonly Gb: "GB";
232
- readonly Us: "US";
233
- readonly Um: "UM";
234
- readonly Uy: "UY";
235
- readonly Uz: "UZ";
236
- readonly Vu: "VU";
237
- readonly Ve: "VE";
238
- readonly Vn: "VN";
239
- readonly Vg: "VG";
240
- readonly Vi: "VI";
241
- readonly Wf: "WF";
242
- readonly Eh: "EH";
243
- readonly Ye: "YE";
244
- readonly Zm: "ZM";
245
- readonly Zw: "ZW";
246
- readonly Ax: "AX";
247
- readonly Bq: "BQ";
248
- readonly Cw: "CW";
249
- readonly Gg: "GG";
250
- readonly Im: "IM";
251
- readonly Je: "JE";
252
- readonly Me: "ME";
253
- readonly Bl: "BL";
254
- readonly Mf: "MF";
255
- readonly Rs: "RS";
256
- readonly Sx: "SX";
257
- readonly Ss: "SS";
258
- readonly Xk: "XK";
259
- };
260
- /**
261
- * The partner's country of residence. Must be passed as a 2-letter ISO 3166-1 country code. Learn more: https://d.to/geo
262
- */
263
- export type Country = ClosedEnum<typeof Country>;
264
5
  /**
265
6
  * The unique IDs of the tags assigned to the short link.
266
7
  */
@@ -420,9 +161,9 @@ export type CreatePartnerRequestBody = {
420
161
  */
421
162
  tenantId?: string | undefined;
422
163
  /**
423
- * The partner's country of residence. Must be passed as a 2-letter ISO 3166-1 country code. Learn more: https://d.to/geo
164
+ * The partner's country of residence. Must be passed as a 2-letter ISO 3166-1 country code. See https://d.to/geo for more information.
424
165
  */
425
- country?: Country | null | undefined;
166
+ country?: string | null | undefined;
426
167
  /**
427
168
  * A brief description of the partner and their background. Max 5,000 characters.
428
169
  */
@@ -591,7 +332,11 @@ export type CreatePartnerResponseBody = {
591
332
  */
592
333
  leads?: number | undefined;
593
334
  /**
594
- * The total number of sales generated by the partner's links. Defaults to 0 if `includeExpandedFields` is false.
335
+ * The total number of leads that converted to paying customers. Defaults to 0 if `includeExpandedFields` is false.
336
+ */
337
+ conversions?: number | undefined;
338
+ /**
339
+ * The total number of sales generated by the partner's links (includes recurring sales). Defaults to 0 if `includeExpandedFields` is false.
595
340
  */
596
341
  sales?: number | undefined;
597
342
  /**
@@ -637,522 +382,6 @@ export type CreatePartnerResponseBody = {
637
382
  tiktokVerifiedAt?: string | null | undefined;
638
383
  };
639
384
  /** @internal */
640
- export declare const Country$inboundSchema: z.ZodNativeEnum<typeof Country>;
641
- /** @internal */
642
- export declare const Country$outboundSchema: z.ZodNativeEnum<typeof Country>;
643
- /**
644
- * @internal
645
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
646
- */
647
- export declare namespace Country$ {
648
- /** @deprecated use `Country$inboundSchema` instead. */
649
- const inboundSchema: z.ZodNativeEnum<{
650
- readonly Af: "AF";
651
- readonly Al: "AL";
652
- readonly Dz: "DZ";
653
- readonly As: "AS";
654
- readonly Ad: "AD";
655
- readonly Ao: "AO";
656
- readonly Ai: "AI";
657
- readonly Aq: "AQ";
658
- readonly Ag: "AG";
659
- readonly Ar: "AR";
660
- readonly Am: "AM";
661
- readonly Aw: "AW";
662
- readonly Au: "AU";
663
- readonly At: "AT";
664
- readonly Az: "AZ";
665
- readonly Bs: "BS";
666
- readonly Bh: "BH";
667
- readonly Bd: "BD";
668
- readonly Bb: "BB";
669
- readonly By: "BY";
670
- readonly Be: "BE";
671
- readonly Bz: "BZ";
672
- readonly Bj: "BJ";
673
- readonly Bm: "BM";
674
- readonly Bt: "BT";
675
- readonly Bo: "BO";
676
- readonly Ba: "BA";
677
- readonly Bw: "BW";
678
- readonly Bv: "BV";
679
- readonly Br: "BR";
680
- readonly Io: "IO";
681
- readonly Bn: "BN";
682
- readonly Bg: "BG";
683
- readonly Bf: "BF";
684
- readonly Bi: "BI";
685
- readonly Kh: "KH";
686
- readonly Cm: "CM";
687
- readonly Ca: "CA";
688
- readonly Cv: "CV";
689
- readonly Ky: "KY";
690
- readonly Cf: "CF";
691
- readonly Td: "TD";
692
- readonly Cl: "CL";
693
- readonly Cn: "CN";
694
- readonly Cx: "CX";
695
- readonly Cc: "CC";
696
- readonly Co: "CO";
697
- readonly Km: "KM";
698
- readonly Cg: "CG";
699
- readonly Cd: "CD";
700
- readonly Ck: "CK";
701
- readonly Cr: "CR";
702
- readonly Ci: "CI";
703
- readonly Hr: "HR";
704
- readonly Cu: "CU";
705
- readonly Cy: "CY";
706
- readonly Cz: "CZ";
707
- readonly Dk: "DK";
708
- readonly Dj: "DJ";
709
- readonly Dm: "DM";
710
- readonly Do: "DO";
711
- readonly Ec: "EC";
712
- readonly Eg: "EG";
713
- readonly Sv: "SV";
714
- readonly Gq: "GQ";
715
- readonly Er: "ER";
716
- readonly Ee: "EE";
717
- readonly Et: "ET";
718
- readonly Fk: "FK";
719
- readonly Fo: "FO";
720
- readonly Fj: "FJ";
721
- readonly Fi: "FI";
722
- readonly Fr: "FR";
723
- readonly Gf: "GF";
724
- readonly Pf: "PF";
725
- readonly Tf: "TF";
726
- readonly Ga: "GA";
727
- readonly Gm: "GM";
728
- readonly Ge: "GE";
729
- readonly De: "DE";
730
- readonly Gh: "GH";
731
- readonly Gi: "GI";
732
- readonly Gr: "GR";
733
- readonly Gl: "GL";
734
- readonly Gd: "GD";
735
- readonly Gp: "GP";
736
- readonly Gu: "GU";
737
- readonly Gt: "GT";
738
- readonly Gn: "GN";
739
- readonly Gw: "GW";
740
- readonly Gy: "GY";
741
- readonly Ht: "HT";
742
- readonly Hm: "HM";
743
- readonly Va: "VA";
744
- readonly Hn: "HN";
745
- readonly Hk: "HK";
746
- readonly Hu: "HU";
747
- readonly Is: "IS";
748
- readonly In: "IN";
749
- readonly Id: "ID";
750
- readonly Ir: "IR";
751
- readonly Iq: "IQ";
752
- readonly Ie: "IE";
753
- readonly Il: "IL";
754
- readonly It: "IT";
755
- readonly Jm: "JM";
756
- readonly Jp: "JP";
757
- readonly Jo: "JO";
758
- readonly Kz: "KZ";
759
- readonly Ke: "KE";
760
- readonly Ki: "KI";
761
- readonly Kp: "KP";
762
- readonly Kr: "KR";
763
- readonly Kw: "KW";
764
- readonly Kg: "KG";
765
- readonly La: "LA";
766
- readonly Lv: "LV";
767
- readonly Lb: "LB";
768
- readonly Ls: "LS";
769
- readonly Lr: "LR";
770
- readonly Ly: "LY";
771
- readonly Li: "LI";
772
- readonly Lt: "LT";
773
- readonly Lu: "LU";
774
- readonly Mo: "MO";
775
- readonly Mg: "MG";
776
- readonly Mw: "MW";
777
- readonly My: "MY";
778
- readonly Mv: "MV";
779
- readonly Ml: "ML";
780
- readonly Mt: "MT";
781
- readonly Mh: "MH";
782
- readonly Mq: "MQ";
783
- readonly Mr: "MR";
784
- readonly Mu: "MU";
785
- readonly Yt: "YT";
786
- readonly Mx: "MX";
787
- readonly Fm: "FM";
788
- readonly Md: "MD";
789
- readonly Mc: "MC";
790
- readonly Mn: "MN";
791
- readonly Ms: "MS";
792
- readonly Ma: "MA";
793
- readonly Mz: "MZ";
794
- readonly Mm: "MM";
795
- readonly Na: "NA";
796
- readonly Nr: "NR";
797
- readonly Np: "NP";
798
- readonly Nl: "NL";
799
- readonly Nc: "NC";
800
- readonly Nz: "NZ";
801
- readonly Ni: "NI";
802
- readonly Ne: "NE";
803
- readonly Ng: "NG";
804
- readonly Nu: "NU";
805
- readonly Nf: "NF";
806
- readonly Mk: "MK";
807
- readonly Mp: "MP";
808
- readonly No: "NO";
809
- readonly Om: "OM";
810
- readonly Pk: "PK";
811
- readonly Pw: "PW";
812
- readonly Ps: "PS";
813
- readonly Pa: "PA";
814
- readonly Pg: "PG";
815
- readonly Py: "PY";
816
- readonly Pe: "PE";
817
- readonly Ph: "PH";
818
- readonly Pn: "PN";
819
- readonly Pl: "PL";
820
- readonly Pt: "PT";
821
- readonly Pr: "PR";
822
- readonly Qa: "QA";
823
- readonly Re: "RE";
824
- readonly Ro: "RO";
825
- readonly Ru: "RU";
826
- readonly Rw: "RW";
827
- readonly Sh: "SH";
828
- readonly Kn: "KN";
829
- readonly Lc: "LC";
830
- readonly Pm: "PM";
831
- readonly Vc: "VC";
832
- readonly Ws: "WS";
833
- readonly Sm: "SM";
834
- readonly St: "ST";
835
- readonly Sa: "SA";
836
- readonly Sn: "SN";
837
- readonly Sc: "SC";
838
- readonly Sl: "SL";
839
- readonly Sg: "SG";
840
- readonly Sk: "SK";
841
- readonly Si: "SI";
842
- readonly Sb: "SB";
843
- readonly So: "SO";
844
- readonly Za: "ZA";
845
- readonly Gs: "GS";
846
- readonly Es: "ES";
847
- readonly Lk: "LK";
848
- readonly Sd: "SD";
849
- readonly Sr: "SR";
850
- readonly Sj: "SJ";
851
- readonly Sz: "SZ";
852
- readonly Se: "SE";
853
- readonly Ch: "CH";
854
- readonly Sy: "SY";
855
- readonly Tw: "TW";
856
- readonly Tj: "TJ";
857
- readonly Tz: "TZ";
858
- readonly Th: "TH";
859
- readonly Tl: "TL";
860
- readonly Tg: "TG";
861
- readonly Tk: "TK";
862
- readonly To: "TO";
863
- readonly Tt: "TT";
864
- readonly Tn: "TN";
865
- readonly Tr: "TR";
866
- readonly Tm: "TM";
867
- readonly Tc: "TC";
868
- readonly Tv: "TV";
869
- readonly Ug: "UG";
870
- readonly Ua: "UA";
871
- readonly Ae: "AE";
872
- readonly Gb: "GB";
873
- readonly Us: "US";
874
- readonly Um: "UM";
875
- readonly Uy: "UY";
876
- readonly Uz: "UZ";
877
- readonly Vu: "VU";
878
- readonly Ve: "VE";
879
- readonly Vn: "VN";
880
- readonly Vg: "VG";
881
- readonly Vi: "VI";
882
- readonly Wf: "WF";
883
- readonly Eh: "EH";
884
- readonly Ye: "YE";
885
- readonly Zm: "ZM";
886
- readonly Zw: "ZW";
887
- readonly Ax: "AX";
888
- readonly Bq: "BQ";
889
- readonly Cw: "CW";
890
- readonly Gg: "GG";
891
- readonly Im: "IM";
892
- readonly Je: "JE";
893
- readonly Me: "ME";
894
- readonly Bl: "BL";
895
- readonly Mf: "MF";
896
- readonly Rs: "RS";
897
- readonly Sx: "SX";
898
- readonly Ss: "SS";
899
- readonly Xk: "XK";
900
- }>;
901
- /** @deprecated use `Country$outboundSchema` instead. */
902
- const outboundSchema: z.ZodNativeEnum<{
903
- readonly Af: "AF";
904
- readonly Al: "AL";
905
- readonly Dz: "DZ";
906
- readonly As: "AS";
907
- readonly Ad: "AD";
908
- readonly Ao: "AO";
909
- readonly Ai: "AI";
910
- readonly Aq: "AQ";
911
- readonly Ag: "AG";
912
- readonly Ar: "AR";
913
- readonly Am: "AM";
914
- readonly Aw: "AW";
915
- readonly Au: "AU";
916
- readonly At: "AT";
917
- readonly Az: "AZ";
918
- readonly Bs: "BS";
919
- readonly Bh: "BH";
920
- readonly Bd: "BD";
921
- readonly Bb: "BB";
922
- readonly By: "BY";
923
- readonly Be: "BE";
924
- readonly Bz: "BZ";
925
- readonly Bj: "BJ";
926
- readonly Bm: "BM";
927
- readonly Bt: "BT";
928
- readonly Bo: "BO";
929
- readonly Ba: "BA";
930
- readonly Bw: "BW";
931
- readonly Bv: "BV";
932
- readonly Br: "BR";
933
- readonly Io: "IO";
934
- readonly Bn: "BN";
935
- readonly Bg: "BG";
936
- readonly Bf: "BF";
937
- readonly Bi: "BI";
938
- readonly Kh: "KH";
939
- readonly Cm: "CM";
940
- readonly Ca: "CA";
941
- readonly Cv: "CV";
942
- readonly Ky: "KY";
943
- readonly Cf: "CF";
944
- readonly Td: "TD";
945
- readonly Cl: "CL";
946
- readonly Cn: "CN";
947
- readonly Cx: "CX";
948
- readonly Cc: "CC";
949
- readonly Co: "CO";
950
- readonly Km: "KM";
951
- readonly Cg: "CG";
952
- readonly Cd: "CD";
953
- readonly Ck: "CK";
954
- readonly Cr: "CR";
955
- readonly Ci: "CI";
956
- readonly Hr: "HR";
957
- readonly Cu: "CU";
958
- readonly Cy: "CY";
959
- readonly Cz: "CZ";
960
- readonly Dk: "DK";
961
- readonly Dj: "DJ";
962
- readonly Dm: "DM";
963
- readonly Do: "DO";
964
- readonly Ec: "EC";
965
- readonly Eg: "EG";
966
- readonly Sv: "SV";
967
- readonly Gq: "GQ";
968
- readonly Er: "ER";
969
- readonly Ee: "EE";
970
- readonly Et: "ET";
971
- readonly Fk: "FK";
972
- readonly Fo: "FO";
973
- readonly Fj: "FJ";
974
- readonly Fi: "FI";
975
- readonly Fr: "FR";
976
- readonly Gf: "GF";
977
- readonly Pf: "PF";
978
- readonly Tf: "TF";
979
- readonly Ga: "GA";
980
- readonly Gm: "GM";
981
- readonly Ge: "GE";
982
- readonly De: "DE";
983
- readonly Gh: "GH";
984
- readonly Gi: "GI";
985
- readonly Gr: "GR";
986
- readonly Gl: "GL";
987
- readonly Gd: "GD";
988
- readonly Gp: "GP";
989
- readonly Gu: "GU";
990
- readonly Gt: "GT";
991
- readonly Gn: "GN";
992
- readonly Gw: "GW";
993
- readonly Gy: "GY";
994
- readonly Ht: "HT";
995
- readonly Hm: "HM";
996
- readonly Va: "VA";
997
- readonly Hn: "HN";
998
- readonly Hk: "HK";
999
- readonly Hu: "HU";
1000
- readonly Is: "IS";
1001
- readonly In: "IN";
1002
- readonly Id: "ID";
1003
- readonly Ir: "IR";
1004
- readonly Iq: "IQ";
1005
- readonly Ie: "IE";
1006
- readonly Il: "IL";
1007
- readonly It: "IT";
1008
- readonly Jm: "JM";
1009
- readonly Jp: "JP";
1010
- readonly Jo: "JO";
1011
- readonly Kz: "KZ";
1012
- readonly Ke: "KE";
1013
- readonly Ki: "KI";
1014
- readonly Kp: "KP";
1015
- readonly Kr: "KR";
1016
- readonly Kw: "KW";
1017
- readonly Kg: "KG";
1018
- readonly La: "LA";
1019
- readonly Lv: "LV";
1020
- readonly Lb: "LB";
1021
- readonly Ls: "LS";
1022
- readonly Lr: "LR";
1023
- readonly Ly: "LY";
1024
- readonly Li: "LI";
1025
- readonly Lt: "LT";
1026
- readonly Lu: "LU";
1027
- readonly Mo: "MO";
1028
- readonly Mg: "MG";
1029
- readonly Mw: "MW";
1030
- readonly My: "MY";
1031
- readonly Mv: "MV";
1032
- readonly Ml: "ML";
1033
- readonly Mt: "MT";
1034
- readonly Mh: "MH";
1035
- readonly Mq: "MQ";
1036
- readonly Mr: "MR";
1037
- readonly Mu: "MU";
1038
- readonly Yt: "YT";
1039
- readonly Mx: "MX";
1040
- readonly Fm: "FM";
1041
- readonly Md: "MD";
1042
- readonly Mc: "MC";
1043
- readonly Mn: "MN";
1044
- readonly Ms: "MS";
1045
- readonly Ma: "MA";
1046
- readonly Mz: "MZ";
1047
- readonly Mm: "MM";
1048
- readonly Na: "NA";
1049
- readonly Nr: "NR";
1050
- readonly Np: "NP";
1051
- readonly Nl: "NL";
1052
- readonly Nc: "NC";
1053
- readonly Nz: "NZ";
1054
- readonly Ni: "NI";
1055
- readonly Ne: "NE";
1056
- readonly Ng: "NG";
1057
- readonly Nu: "NU";
1058
- readonly Nf: "NF";
1059
- readonly Mk: "MK";
1060
- readonly Mp: "MP";
1061
- readonly No: "NO";
1062
- readonly Om: "OM";
1063
- readonly Pk: "PK";
1064
- readonly Pw: "PW";
1065
- readonly Ps: "PS";
1066
- readonly Pa: "PA";
1067
- readonly Pg: "PG";
1068
- readonly Py: "PY";
1069
- readonly Pe: "PE";
1070
- readonly Ph: "PH";
1071
- readonly Pn: "PN";
1072
- readonly Pl: "PL";
1073
- readonly Pt: "PT";
1074
- readonly Pr: "PR";
1075
- readonly Qa: "QA";
1076
- readonly Re: "RE";
1077
- readonly Ro: "RO";
1078
- readonly Ru: "RU";
1079
- readonly Rw: "RW";
1080
- readonly Sh: "SH";
1081
- readonly Kn: "KN";
1082
- readonly Lc: "LC";
1083
- readonly Pm: "PM";
1084
- readonly Vc: "VC";
1085
- readonly Ws: "WS";
1086
- readonly Sm: "SM";
1087
- readonly St: "ST";
1088
- readonly Sa: "SA";
1089
- readonly Sn: "SN";
1090
- readonly Sc: "SC";
1091
- readonly Sl: "SL";
1092
- readonly Sg: "SG";
1093
- readonly Sk: "SK";
1094
- readonly Si: "SI";
1095
- readonly Sb: "SB";
1096
- readonly So: "SO";
1097
- readonly Za: "ZA";
1098
- readonly Gs: "GS";
1099
- readonly Es: "ES";
1100
- readonly Lk: "LK";
1101
- readonly Sd: "SD";
1102
- readonly Sr: "SR";
1103
- readonly Sj: "SJ";
1104
- readonly Sz: "SZ";
1105
- readonly Se: "SE";
1106
- readonly Ch: "CH";
1107
- readonly Sy: "SY";
1108
- readonly Tw: "TW";
1109
- readonly Tj: "TJ";
1110
- readonly Tz: "TZ";
1111
- readonly Th: "TH";
1112
- readonly Tl: "TL";
1113
- readonly Tg: "TG";
1114
- readonly Tk: "TK";
1115
- readonly To: "TO";
1116
- readonly Tt: "TT";
1117
- readonly Tn: "TN";
1118
- readonly Tr: "TR";
1119
- readonly Tm: "TM";
1120
- readonly Tc: "TC";
1121
- readonly Tv: "TV";
1122
- readonly Ug: "UG";
1123
- readonly Ua: "UA";
1124
- readonly Ae: "AE";
1125
- readonly Gb: "GB";
1126
- readonly Us: "US";
1127
- readonly Um: "UM";
1128
- readonly Uy: "UY";
1129
- readonly Uz: "UZ";
1130
- readonly Vu: "VU";
1131
- readonly Ve: "VE";
1132
- readonly Vn: "VN";
1133
- readonly Vg: "VG";
1134
- readonly Vi: "VI";
1135
- readonly Wf: "WF";
1136
- readonly Eh: "EH";
1137
- readonly Ye: "YE";
1138
- readonly Zm: "ZM";
1139
- readonly Zw: "ZW";
1140
- readonly Ax: "AX";
1141
- readonly Bq: "BQ";
1142
- readonly Cw: "CW";
1143
- readonly Gg: "GG";
1144
- readonly Im: "IM";
1145
- readonly Je: "JE";
1146
- readonly Me: "ME";
1147
- readonly Bl: "BL";
1148
- readonly Mf: "MF";
1149
- readonly Rs: "RS";
1150
- readonly Sx: "SX";
1151
- readonly Ss: "SS";
1152
- readonly Xk: "XK";
1153
- }>;
1154
- }
1155
- /** @internal */
1156
385
  export declare const CreatePartnerTagIds$inboundSchema: z.ZodType<CreatePartnerTagIds, z.ZodTypeDef, unknown>;
1157
386
  /** @internal */
1158
387
  export type CreatePartnerTagIds$Outbound = string | Array<string>;
@@ -1412,6 +641,7 @@ export type CreatePartnerResponseBody$Outbound = {
1412
641
  bannedReason?: string | null | undefined;
1413
642
  clicks: number;
1414
643
  leads: number;
644
+ conversions: number;
1415
645
  sales: number;
1416
646
  saleAmount: number;
1417
647
  netRevenue: number;