dub 0.57.2 → 0.58.0
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.
- package/README.md +4 -2
- package/bin/mcp-server.js +936 -382
- package/bin/mcp-server.js.map +20 -17
- package/dist/commonjs/funcs/embedTokensReferrals.d.ts +17 -0
- package/dist/commonjs/funcs/embedTokensReferrals.d.ts.map +1 -0
- package/dist/commonjs/funcs/{embedTokensCreate.js → embedTokensReferrals.js} +11 -10
- package/dist/commonjs/funcs/embedTokensReferrals.js.map +1 -0
- package/dist/commonjs/funcs/partnersUpdateSale.d.ts +17 -0
- package/dist/commonjs/funcs/partnersUpdateSale.d.ts.map +1 -0
- package/dist/commonjs/funcs/partnersUpdateSale.js +121 -0
- package/dist/commonjs/funcs/partnersUpdateSale.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +9 -0
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -0
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -0
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts +1 -0
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +7 -4
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/embedTokensReferrals.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/embedTokensReferrals.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{embedTokensCreate.js → embedTokensReferrals.js} +10 -9
- package/dist/commonjs/mcp-server/tools/embedTokensReferrals.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{embedTokensCreate.d.ts → partnersUpdateSale.d.ts} +3 -3
- package/dist/commonjs/mcp-server/tools/partnersUpdateSale.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/partnersUpdateSale.js +54 -0
- package/dist/commonjs/mcp-server/tools/partnersUpdateSale.js.map +1 -0
- package/dist/commonjs/mcp-server/tools.d.ts +1 -1
- package/dist/commonjs/mcp-server/tools.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools.js +4 -1
- package/dist/commonjs/mcp-server/tools.js.map +1 -1
- package/dist/commonjs/models/operations/createpartner.d.ts +3 -8
- package/dist/commonjs/models/operations/createpartner.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpartner.js +2 -4
- package/dist/commonjs/models/operations/createpartner.js.map +1 -1
- package/dist/commonjs/models/operations/createpartnerlink.d.ts +0 -5
- package/dist/commonjs/models/operations/createpartnerlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpartnerlink.js +0 -2
- package/dist/commonjs/models/operations/createpartnerlink.js.map +1 -1
- package/dist/commonjs/models/operations/createreferralsembedtoken.d.ts +1108 -0
- package/dist/commonjs/models/operations/createreferralsembedtoken.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createreferralsembedtoken.js +549 -0
- package/dist/commonjs/models/operations/createreferralsembedtoken.js.map +1 -0
- package/dist/commonjs/models/operations/getcustomers.d.ts +15 -15
- package/dist/commonjs/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomers.js +20 -18
- package/dist/commonjs/models/operations/getcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/updatepartnersale.d.ts +114 -0
- package/dist/commonjs/models/operations/updatepartnersale.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatepartnersale.js +125 -0
- package/dist/commonjs/models/operations/updatepartnersale.js.map +1 -0
- package/dist/commonjs/models/operations/upsertpartnerlink.d.ts +0 -5
- package/dist/commonjs/models/operations/upsertpartnerlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upsertpartnerlink.js +0 -2
- package/dist/commonjs/models/operations/upsertpartnerlink.js.map +1 -1
- package/dist/commonjs/sdk/embedtokens.d.ts +3 -3
- package/dist/commonjs/sdk/embedtokens.d.ts.map +1 -1
- package/dist/commonjs/sdk/embedtokens.js +5 -5
- package/dist/commonjs/sdk/embedtokens.js.map +1 -1
- package/dist/commonjs/sdk/partners.d.ts +7 -0
- package/dist/commonjs/sdk/partners.d.ts.map +1 -1
- package/dist/commonjs/sdk/partners.js +10 -0
- package/dist/commonjs/sdk/partners.js.map +1 -1
- package/dist/esm/funcs/embedTokensReferrals.d.ts +17 -0
- package/dist/esm/funcs/embedTokensReferrals.d.ts.map +1 -0
- package/dist/esm/funcs/{embedTokensCreate.js → embedTokensReferrals.js} +9 -8
- package/dist/esm/funcs/embedTokensReferrals.js.map +1 -0
- package/dist/esm/funcs/partnersUpdateSale.d.ts +17 -0
- package/dist/esm/funcs/partnersUpdateSale.d.ts.map +1 -0
- package/dist/esm/funcs/partnersUpdateSale.js +94 -0
- package/dist/esm/funcs/partnersUpdateSale.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +9 -0
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -0
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -0
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts +1 -0
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +7 -4
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/embedTokensReferrals.d.ts +8 -0
- package/dist/esm/mcp-server/tools/embedTokensReferrals.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/embedTokensReferrals.js +29 -0
- package/dist/esm/mcp-server/tools/embedTokensReferrals.js.map +1 -0
- package/dist/esm/mcp-server/tools/{embedTokensCreate.d.ts → partnersUpdateSale.d.ts} +3 -3
- package/dist/esm/mcp-server/tools/partnersUpdateSale.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/partnersUpdateSale.js +28 -0
- package/dist/esm/mcp-server/tools/partnersUpdateSale.js.map +1 -0
- package/dist/esm/mcp-server/tools.d.ts +1 -1
- package/dist/esm/mcp-server/tools.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools.js +4 -1
- package/dist/esm/mcp-server/tools.js.map +1 -1
- package/dist/esm/models/operations/createpartner.d.ts +3 -8
- package/dist/esm/models/operations/createpartner.d.ts.map +1 -1
- package/dist/esm/models/operations/createpartner.js +2 -4
- package/dist/esm/models/operations/createpartner.js.map +1 -1
- package/dist/esm/models/operations/createpartnerlink.d.ts +0 -5
- package/dist/esm/models/operations/createpartnerlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createpartnerlink.js +0 -2
- package/dist/esm/models/operations/createpartnerlink.js.map +1 -1
- package/dist/esm/models/operations/createreferralsembedtoken.d.ts +1108 -0
- package/dist/esm/models/operations/createreferralsembedtoken.d.ts.map +1 -0
- package/dist/esm/models/operations/createreferralsembedtoken.js +511 -0
- package/dist/esm/models/operations/createreferralsembedtoken.js.map +1 -0
- package/dist/esm/models/operations/getcustomers.d.ts +15 -15
- package/dist/esm/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomers.js +17 -15
- package/dist/esm/models/operations/getcustomers.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/updatepartnersale.d.ts +114 -0
- package/dist/esm/models/operations/updatepartnersale.d.ts.map +1 -0
- package/dist/esm/models/operations/updatepartnersale.js +95 -0
- package/dist/esm/models/operations/updatepartnersale.js.map +1 -0
- package/dist/esm/models/operations/upsertpartnerlink.d.ts +0 -5
- package/dist/esm/models/operations/upsertpartnerlink.d.ts.map +1 -1
- package/dist/esm/models/operations/upsertpartnerlink.js +0 -2
- package/dist/esm/models/operations/upsertpartnerlink.js.map +1 -1
- package/dist/esm/sdk/embedtokens.d.ts +3 -3
- package/dist/esm/sdk/embedtokens.d.ts.map +1 -1
- package/dist/esm/sdk/embedtokens.js +5 -5
- package/dist/esm/sdk/embedtokens.js.map +1 -1
- package/dist/esm/sdk/partners.d.ts +7 -0
- package/dist/esm/sdk/partners.d.ts.map +1 -1
- package/dist/esm/sdk/partners.js +10 -0
- package/dist/esm/sdk/partners.js.map +1 -1
- package/docs/sdks/embedtokens/README.md +8 -8
- package/docs/sdks/partners/README.md +82 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/embedTokensReferrals.ts +211 -0
- package/src/funcs/{embedTokensCreate.ts → partnersUpdateSale.ts} +13 -13
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +14 -4
- package/src/mcp-server/tools/{embedTokensCreate.ts → embedTokensReferrals.ts} +8 -7
- package/src/mcp-server/tools/partnersUpdateSale.ts +37 -0
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/operations/createpartner.ts +5 -12
- package/src/models/operations/createpartnerlink.ts +0 -7
- package/src/models/operations/createreferralsembedtoken.ts +915 -0
- package/src/models/operations/getcustomers.ts +38 -29
- package/src/models/operations/index.ts +2 -1
- package/src/models/operations/updatepartnersale.ts +200 -0
- package/src/models/operations/upsertpartnerlink.ts +0 -7
- package/src/sdk/embedtokens.ts +7 -7
- package/src/sdk/partners.ts +18 -0
- package/dist/commonjs/funcs/embedTokensCreate.d.ts +0 -17
- package/dist/commonjs/funcs/embedTokensCreate.d.ts.map +0 -1
- package/dist/commonjs/funcs/embedTokensCreate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/embedTokensCreate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/embedTokensCreate.js.map +0 -1
- package/dist/commonjs/models/operations/createembedtoken.d.ts +0 -63
- package/dist/commonjs/models/operations/createembedtoken.d.ts.map +0 -1
- package/dist/commonjs/models/operations/createembedtoken.js +0 -92
- package/dist/commonjs/models/operations/createembedtoken.js.map +0 -1
- package/dist/esm/funcs/embedTokensCreate.d.ts +0 -17
- package/dist/esm/funcs/embedTokensCreate.d.ts.map +0 -1
- package/dist/esm/funcs/embedTokensCreate.js.map +0 -1
- package/dist/esm/mcp-server/tools/embedTokensCreate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/embedTokensCreate.js +0 -28
- package/dist/esm/mcp-server/tools/embedTokensCreate.js.map +0 -1
- package/dist/esm/models/operations/createembedtoken.d.ts +0 -63
- package/dist/esm/models/operations/createembedtoken.d.ts.map +0 -1
- package/dist/esm/models/operations/createembedtoken.js +0 -62
- package/dist/esm/models/operations/createembedtoken.js.map +0 -1
- package/src/models/operations/createembedtoken.ts +0 -143
|
@@ -0,0 +1,1108 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Country where the partner is based.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CreateReferralsEmbedTokenCountry: {
|
|
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
|
+
* Country where the partner is based.
|
|
262
|
+
*/
|
|
263
|
+
export type CreateReferralsEmbedTokenCountry = ClosedEnum<typeof CreateReferralsEmbedTokenCountry>;
|
|
264
|
+
/**
|
|
265
|
+
* The unique IDs of the tags assigned to the short link.
|
|
266
|
+
*/
|
|
267
|
+
export type CreateReferralsEmbedTokenTagIds = string | Array<string>;
|
|
268
|
+
/**
|
|
269
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
270
|
+
*/
|
|
271
|
+
export type CreateReferralsEmbedTokenTagNames = string | Array<string>;
|
|
272
|
+
/**
|
|
273
|
+
* Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.
|
|
274
|
+
*/
|
|
275
|
+
export type CreateReferralsEmbedTokenLinkProps = {
|
|
276
|
+
/**
|
|
277
|
+
* The ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with 'ext_' when passed as a query parameter). This key is unique across your workspace.
|
|
278
|
+
*/
|
|
279
|
+
externalId?: string | null | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant.
|
|
282
|
+
*/
|
|
283
|
+
tenantId?: string | null | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided.
|
|
286
|
+
*/
|
|
287
|
+
prefix?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* Whether the short link is archived. Defaults to `false` if not provided.
|
|
290
|
+
*/
|
|
291
|
+
archived?: boolean | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* The unique IDs of the tags assigned to the short link.
|
|
294
|
+
*/
|
|
295
|
+
tagIds?: string | Array<string> | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* The unique name of the tags assigned to the short link (case insensitive).
|
|
298
|
+
*/
|
|
299
|
+
tagNames?: string | Array<string> | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* The unique ID existing folder to assign the short link to.
|
|
302
|
+
*/
|
|
303
|
+
folderId?: string | null | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* The comments for the short link.
|
|
306
|
+
*/
|
|
307
|
+
comments?: string | null | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* The date and time when the short link will expire at.
|
|
310
|
+
*/
|
|
311
|
+
expiresAt?: string | null | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* The URL to redirect to when the short link has expired.
|
|
314
|
+
*/
|
|
315
|
+
expiredUrl?: string | null | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* The password required to access the destination URL of the short link.
|
|
318
|
+
*/
|
|
319
|
+
password?: string | null | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* Whether the short link uses Custom Social Media Cards feature. Defaults to `false` if not provided.
|
|
322
|
+
*/
|
|
323
|
+
proxy?: boolean | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
|
326
|
+
*/
|
|
327
|
+
title?: string | null | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
|
330
|
+
*/
|
|
331
|
+
description?: string | null | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
|
334
|
+
*/
|
|
335
|
+
image?: string | null | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og
|
|
338
|
+
*/
|
|
339
|
+
video?: string | null | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* Whether the short link uses link cloaking. Defaults to `false` if not provided.
|
|
342
|
+
*/
|
|
343
|
+
rewrite?: boolean | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* The iOS destination URL for the short link for iOS device targeting.
|
|
346
|
+
*/
|
|
347
|
+
ios?: string | null | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* The Android destination URL for the short link for Android device targeting.
|
|
350
|
+
*/
|
|
351
|
+
android?: string | null | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex
|
|
354
|
+
*/
|
|
355
|
+
doIndex?: boolean | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL.
|
|
358
|
+
*/
|
|
359
|
+
utmSource?: string | null | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL.
|
|
362
|
+
*/
|
|
363
|
+
utmMedium?: string | null | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL.
|
|
366
|
+
*/
|
|
367
|
+
utmCampaign?: string | null | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL.
|
|
370
|
+
*/
|
|
371
|
+
utmTerm?: string | null | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL.
|
|
374
|
+
*/
|
|
375
|
+
utmContent?: string | null | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
|
378
|
+
*/
|
|
379
|
+
ref?: string | null | undefined;
|
|
380
|
+
};
|
|
381
|
+
export type Partner = {
|
|
382
|
+
/**
|
|
383
|
+
* Full legal name of the partner.
|
|
384
|
+
*/
|
|
385
|
+
name: string;
|
|
386
|
+
/**
|
|
387
|
+
* Email for the partner in your system. Partners will be able to claim their profile by signing up to Dub Partners with this email.
|
|
388
|
+
*/
|
|
389
|
+
email: string;
|
|
390
|
+
/**
|
|
391
|
+
* A unique username for the partner in your system (max 100 characters). This will be used to create a short link for the partner using your program's default domain. If not provided, Dub will try to generate a username from the partner's name or email.
|
|
392
|
+
*/
|
|
393
|
+
username?: string | null | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* Avatar image for the partner – if not provided, a default avatar will be used.
|
|
396
|
+
*/
|
|
397
|
+
image?: string | null | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* Country where the partner is based.
|
|
400
|
+
*/
|
|
401
|
+
country?: CreateReferralsEmbedTokenCountry | null | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* A brief description of the partner and their background.
|
|
404
|
+
*/
|
|
405
|
+
description?: string | null | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* The ID of the partner in your system.
|
|
408
|
+
*/
|
|
409
|
+
tenantId?: string | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.
|
|
412
|
+
*/
|
|
413
|
+
linkProps?: CreateReferralsEmbedTokenLinkProps | undefined;
|
|
414
|
+
};
|
|
415
|
+
export type CreateReferralsEmbedTokenRequestBody = {
|
|
416
|
+
programId: string;
|
|
417
|
+
partnerId?: string | undefined;
|
|
418
|
+
tenantId?: string | undefined;
|
|
419
|
+
partner?: Partner | undefined;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* The created public embed token.
|
|
423
|
+
*/
|
|
424
|
+
export type CreateReferralsEmbedTokenResponseBody = {
|
|
425
|
+
publicToken: string;
|
|
426
|
+
expires: string;
|
|
427
|
+
};
|
|
428
|
+
/** @internal */
|
|
429
|
+
export declare const CreateReferralsEmbedTokenCountry$inboundSchema: z.ZodNativeEnum<typeof CreateReferralsEmbedTokenCountry>;
|
|
430
|
+
/** @internal */
|
|
431
|
+
export declare const CreateReferralsEmbedTokenCountry$outboundSchema: z.ZodNativeEnum<typeof CreateReferralsEmbedTokenCountry>;
|
|
432
|
+
/**
|
|
433
|
+
* @internal
|
|
434
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
435
|
+
*/
|
|
436
|
+
export declare namespace CreateReferralsEmbedTokenCountry$ {
|
|
437
|
+
/** @deprecated use `CreateReferralsEmbedTokenCountry$inboundSchema` instead. */
|
|
438
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
439
|
+
readonly Af: "AF";
|
|
440
|
+
readonly Al: "AL";
|
|
441
|
+
readonly Dz: "DZ";
|
|
442
|
+
readonly As: "AS";
|
|
443
|
+
readonly Ad: "AD";
|
|
444
|
+
readonly Ao: "AO";
|
|
445
|
+
readonly Ai: "AI";
|
|
446
|
+
readonly Aq: "AQ";
|
|
447
|
+
readonly Ag: "AG";
|
|
448
|
+
readonly Ar: "AR";
|
|
449
|
+
readonly Am: "AM";
|
|
450
|
+
readonly Aw: "AW";
|
|
451
|
+
readonly Au: "AU";
|
|
452
|
+
readonly At: "AT";
|
|
453
|
+
readonly Az: "AZ";
|
|
454
|
+
readonly Bs: "BS";
|
|
455
|
+
readonly Bh: "BH";
|
|
456
|
+
readonly Bd: "BD";
|
|
457
|
+
readonly Bb: "BB";
|
|
458
|
+
readonly By: "BY";
|
|
459
|
+
readonly Be: "BE";
|
|
460
|
+
readonly Bz: "BZ";
|
|
461
|
+
readonly Bj: "BJ";
|
|
462
|
+
readonly Bm: "BM";
|
|
463
|
+
readonly Bt: "BT";
|
|
464
|
+
readonly Bo: "BO";
|
|
465
|
+
readonly Ba: "BA";
|
|
466
|
+
readonly Bw: "BW";
|
|
467
|
+
readonly Bv: "BV";
|
|
468
|
+
readonly Br: "BR";
|
|
469
|
+
readonly Io: "IO";
|
|
470
|
+
readonly Bn: "BN";
|
|
471
|
+
readonly Bg: "BG";
|
|
472
|
+
readonly Bf: "BF";
|
|
473
|
+
readonly Bi: "BI";
|
|
474
|
+
readonly Kh: "KH";
|
|
475
|
+
readonly Cm: "CM";
|
|
476
|
+
readonly Ca: "CA";
|
|
477
|
+
readonly Cv: "CV";
|
|
478
|
+
readonly Ky: "KY";
|
|
479
|
+
readonly Cf: "CF";
|
|
480
|
+
readonly Td: "TD";
|
|
481
|
+
readonly Cl: "CL";
|
|
482
|
+
readonly Cn: "CN";
|
|
483
|
+
readonly Cx: "CX";
|
|
484
|
+
readonly Cc: "CC";
|
|
485
|
+
readonly Co: "CO";
|
|
486
|
+
readonly Km: "KM";
|
|
487
|
+
readonly Cg: "CG";
|
|
488
|
+
readonly Cd: "CD";
|
|
489
|
+
readonly Ck: "CK";
|
|
490
|
+
readonly Cr: "CR";
|
|
491
|
+
readonly Ci: "CI";
|
|
492
|
+
readonly Hr: "HR";
|
|
493
|
+
readonly Cu: "CU";
|
|
494
|
+
readonly Cy: "CY";
|
|
495
|
+
readonly Cz: "CZ";
|
|
496
|
+
readonly Dk: "DK";
|
|
497
|
+
readonly Dj: "DJ";
|
|
498
|
+
readonly Dm: "DM";
|
|
499
|
+
readonly Do: "DO";
|
|
500
|
+
readonly Ec: "EC";
|
|
501
|
+
readonly Eg: "EG";
|
|
502
|
+
readonly Sv: "SV";
|
|
503
|
+
readonly Gq: "GQ";
|
|
504
|
+
readonly Er: "ER";
|
|
505
|
+
readonly Ee: "EE";
|
|
506
|
+
readonly Et: "ET";
|
|
507
|
+
readonly Fk: "FK";
|
|
508
|
+
readonly Fo: "FO";
|
|
509
|
+
readonly Fj: "FJ";
|
|
510
|
+
readonly Fi: "FI";
|
|
511
|
+
readonly Fr: "FR";
|
|
512
|
+
readonly Gf: "GF";
|
|
513
|
+
readonly Pf: "PF";
|
|
514
|
+
readonly Tf: "TF";
|
|
515
|
+
readonly Ga: "GA";
|
|
516
|
+
readonly Gm: "GM";
|
|
517
|
+
readonly Ge: "GE";
|
|
518
|
+
readonly De: "DE";
|
|
519
|
+
readonly Gh: "GH";
|
|
520
|
+
readonly Gi: "GI";
|
|
521
|
+
readonly Gr: "GR";
|
|
522
|
+
readonly Gl: "GL";
|
|
523
|
+
readonly Gd: "GD";
|
|
524
|
+
readonly Gp: "GP";
|
|
525
|
+
readonly Gu: "GU";
|
|
526
|
+
readonly Gt: "GT";
|
|
527
|
+
readonly Gn: "GN";
|
|
528
|
+
readonly Gw: "GW";
|
|
529
|
+
readonly Gy: "GY";
|
|
530
|
+
readonly Ht: "HT";
|
|
531
|
+
readonly Hm: "HM";
|
|
532
|
+
readonly Va: "VA";
|
|
533
|
+
readonly Hn: "HN";
|
|
534
|
+
readonly Hk: "HK";
|
|
535
|
+
readonly Hu: "HU";
|
|
536
|
+
readonly Is: "IS";
|
|
537
|
+
readonly In: "IN";
|
|
538
|
+
readonly Id: "ID";
|
|
539
|
+
readonly Ir: "IR";
|
|
540
|
+
readonly Iq: "IQ";
|
|
541
|
+
readonly Ie: "IE";
|
|
542
|
+
readonly Il: "IL";
|
|
543
|
+
readonly It: "IT";
|
|
544
|
+
readonly Jm: "JM";
|
|
545
|
+
readonly Jp: "JP";
|
|
546
|
+
readonly Jo: "JO";
|
|
547
|
+
readonly Kz: "KZ";
|
|
548
|
+
readonly Ke: "KE";
|
|
549
|
+
readonly Ki: "KI";
|
|
550
|
+
readonly Kp: "KP";
|
|
551
|
+
readonly Kr: "KR";
|
|
552
|
+
readonly Kw: "KW";
|
|
553
|
+
readonly Kg: "KG";
|
|
554
|
+
readonly La: "LA";
|
|
555
|
+
readonly Lv: "LV";
|
|
556
|
+
readonly Lb: "LB";
|
|
557
|
+
readonly Ls: "LS";
|
|
558
|
+
readonly Lr: "LR";
|
|
559
|
+
readonly Ly: "LY";
|
|
560
|
+
readonly Li: "LI";
|
|
561
|
+
readonly Lt: "LT";
|
|
562
|
+
readonly Lu: "LU";
|
|
563
|
+
readonly Mo: "MO";
|
|
564
|
+
readonly Mg: "MG";
|
|
565
|
+
readonly Mw: "MW";
|
|
566
|
+
readonly My: "MY";
|
|
567
|
+
readonly Mv: "MV";
|
|
568
|
+
readonly Ml: "ML";
|
|
569
|
+
readonly Mt: "MT";
|
|
570
|
+
readonly Mh: "MH";
|
|
571
|
+
readonly Mq: "MQ";
|
|
572
|
+
readonly Mr: "MR";
|
|
573
|
+
readonly Mu: "MU";
|
|
574
|
+
readonly Yt: "YT";
|
|
575
|
+
readonly Mx: "MX";
|
|
576
|
+
readonly Fm: "FM";
|
|
577
|
+
readonly Md: "MD";
|
|
578
|
+
readonly Mc: "MC";
|
|
579
|
+
readonly Mn: "MN";
|
|
580
|
+
readonly Ms: "MS";
|
|
581
|
+
readonly Ma: "MA";
|
|
582
|
+
readonly Mz: "MZ";
|
|
583
|
+
readonly Mm: "MM";
|
|
584
|
+
readonly Na: "NA";
|
|
585
|
+
readonly Nr: "NR";
|
|
586
|
+
readonly Np: "NP";
|
|
587
|
+
readonly Nl: "NL";
|
|
588
|
+
readonly Nc: "NC";
|
|
589
|
+
readonly Nz: "NZ";
|
|
590
|
+
readonly Ni: "NI";
|
|
591
|
+
readonly Ne: "NE";
|
|
592
|
+
readonly Ng: "NG";
|
|
593
|
+
readonly Nu: "NU";
|
|
594
|
+
readonly Nf: "NF";
|
|
595
|
+
readonly Mk: "MK";
|
|
596
|
+
readonly Mp: "MP";
|
|
597
|
+
readonly No: "NO";
|
|
598
|
+
readonly Om: "OM";
|
|
599
|
+
readonly Pk: "PK";
|
|
600
|
+
readonly Pw: "PW";
|
|
601
|
+
readonly Ps: "PS";
|
|
602
|
+
readonly Pa: "PA";
|
|
603
|
+
readonly Pg: "PG";
|
|
604
|
+
readonly Py: "PY";
|
|
605
|
+
readonly Pe: "PE";
|
|
606
|
+
readonly Ph: "PH";
|
|
607
|
+
readonly Pn: "PN";
|
|
608
|
+
readonly Pl: "PL";
|
|
609
|
+
readonly Pt: "PT";
|
|
610
|
+
readonly Pr: "PR";
|
|
611
|
+
readonly Qa: "QA";
|
|
612
|
+
readonly Re: "RE";
|
|
613
|
+
readonly Ro: "RO";
|
|
614
|
+
readonly Ru: "RU";
|
|
615
|
+
readonly Rw: "RW";
|
|
616
|
+
readonly Sh: "SH";
|
|
617
|
+
readonly Kn: "KN";
|
|
618
|
+
readonly Lc: "LC";
|
|
619
|
+
readonly Pm: "PM";
|
|
620
|
+
readonly Vc: "VC";
|
|
621
|
+
readonly Ws: "WS";
|
|
622
|
+
readonly Sm: "SM";
|
|
623
|
+
readonly St: "ST";
|
|
624
|
+
readonly Sa: "SA";
|
|
625
|
+
readonly Sn: "SN";
|
|
626
|
+
readonly Sc: "SC";
|
|
627
|
+
readonly Sl: "SL";
|
|
628
|
+
readonly Sg: "SG";
|
|
629
|
+
readonly Sk: "SK";
|
|
630
|
+
readonly Si: "SI";
|
|
631
|
+
readonly Sb: "SB";
|
|
632
|
+
readonly So: "SO";
|
|
633
|
+
readonly Za: "ZA";
|
|
634
|
+
readonly Gs: "GS";
|
|
635
|
+
readonly Es: "ES";
|
|
636
|
+
readonly Lk: "LK";
|
|
637
|
+
readonly Sd: "SD";
|
|
638
|
+
readonly Sr: "SR";
|
|
639
|
+
readonly Sj: "SJ";
|
|
640
|
+
readonly Sz: "SZ";
|
|
641
|
+
readonly Se: "SE";
|
|
642
|
+
readonly Ch: "CH";
|
|
643
|
+
readonly Sy: "SY";
|
|
644
|
+
readonly Tw: "TW";
|
|
645
|
+
readonly Tj: "TJ";
|
|
646
|
+
readonly Tz: "TZ";
|
|
647
|
+
readonly Th: "TH";
|
|
648
|
+
readonly Tl: "TL";
|
|
649
|
+
readonly Tg: "TG";
|
|
650
|
+
readonly Tk: "TK";
|
|
651
|
+
readonly To: "TO";
|
|
652
|
+
readonly Tt: "TT";
|
|
653
|
+
readonly Tn: "TN";
|
|
654
|
+
readonly Tr: "TR";
|
|
655
|
+
readonly Tm: "TM";
|
|
656
|
+
readonly Tc: "TC";
|
|
657
|
+
readonly Tv: "TV";
|
|
658
|
+
readonly Ug: "UG";
|
|
659
|
+
readonly Ua: "UA";
|
|
660
|
+
readonly Ae: "AE";
|
|
661
|
+
readonly Gb: "GB";
|
|
662
|
+
readonly Us: "US";
|
|
663
|
+
readonly Um: "UM";
|
|
664
|
+
readonly Uy: "UY";
|
|
665
|
+
readonly Uz: "UZ";
|
|
666
|
+
readonly Vu: "VU";
|
|
667
|
+
readonly Ve: "VE";
|
|
668
|
+
readonly Vn: "VN";
|
|
669
|
+
readonly Vg: "VG";
|
|
670
|
+
readonly Vi: "VI";
|
|
671
|
+
readonly Wf: "WF";
|
|
672
|
+
readonly Eh: "EH";
|
|
673
|
+
readonly Ye: "YE";
|
|
674
|
+
readonly Zm: "ZM";
|
|
675
|
+
readonly Zw: "ZW";
|
|
676
|
+
readonly Ax: "AX";
|
|
677
|
+
readonly Bq: "BQ";
|
|
678
|
+
readonly Cw: "CW";
|
|
679
|
+
readonly Gg: "GG";
|
|
680
|
+
readonly Im: "IM";
|
|
681
|
+
readonly Je: "JE";
|
|
682
|
+
readonly Me: "ME";
|
|
683
|
+
readonly Bl: "BL";
|
|
684
|
+
readonly Mf: "MF";
|
|
685
|
+
readonly Rs: "RS";
|
|
686
|
+
readonly Sx: "SX";
|
|
687
|
+
readonly Ss: "SS";
|
|
688
|
+
readonly Xk: "XK";
|
|
689
|
+
}>;
|
|
690
|
+
/** @deprecated use `CreateReferralsEmbedTokenCountry$outboundSchema` instead. */
|
|
691
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
692
|
+
readonly Af: "AF";
|
|
693
|
+
readonly Al: "AL";
|
|
694
|
+
readonly Dz: "DZ";
|
|
695
|
+
readonly As: "AS";
|
|
696
|
+
readonly Ad: "AD";
|
|
697
|
+
readonly Ao: "AO";
|
|
698
|
+
readonly Ai: "AI";
|
|
699
|
+
readonly Aq: "AQ";
|
|
700
|
+
readonly Ag: "AG";
|
|
701
|
+
readonly Ar: "AR";
|
|
702
|
+
readonly Am: "AM";
|
|
703
|
+
readonly Aw: "AW";
|
|
704
|
+
readonly Au: "AU";
|
|
705
|
+
readonly At: "AT";
|
|
706
|
+
readonly Az: "AZ";
|
|
707
|
+
readonly Bs: "BS";
|
|
708
|
+
readonly Bh: "BH";
|
|
709
|
+
readonly Bd: "BD";
|
|
710
|
+
readonly Bb: "BB";
|
|
711
|
+
readonly By: "BY";
|
|
712
|
+
readonly Be: "BE";
|
|
713
|
+
readonly Bz: "BZ";
|
|
714
|
+
readonly Bj: "BJ";
|
|
715
|
+
readonly Bm: "BM";
|
|
716
|
+
readonly Bt: "BT";
|
|
717
|
+
readonly Bo: "BO";
|
|
718
|
+
readonly Ba: "BA";
|
|
719
|
+
readonly Bw: "BW";
|
|
720
|
+
readonly Bv: "BV";
|
|
721
|
+
readonly Br: "BR";
|
|
722
|
+
readonly Io: "IO";
|
|
723
|
+
readonly Bn: "BN";
|
|
724
|
+
readonly Bg: "BG";
|
|
725
|
+
readonly Bf: "BF";
|
|
726
|
+
readonly Bi: "BI";
|
|
727
|
+
readonly Kh: "KH";
|
|
728
|
+
readonly Cm: "CM";
|
|
729
|
+
readonly Ca: "CA";
|
|
730
|
+
readonly Cv: "CV";
|
|
731
|
+
readonly Ky: "KY";
|
|
732
|
+
readonly Cf: "CF";
|
|
733
|
+
readonly Td: "TD";
|
|
734
|
+
readonly Cl: "CL";
|
|
735
|
+
readonly Cn: "CN";
|
|
736
|
+
readonly Cx: "CX";
|
|
737
|
+
readonly Cc: "CC";
|
|
738
|
+
readonly Co: "CO";
|
|
739
|
+
readonly Km: "KM";
|
|
740
|
+
readonly Cg: "CG";
|
|
741
|
+
readonly Cd: "CD";
|
|
742
|
+
readonly Ck: "CK";
|
|
743
|
+
readonly Cr: "CR";
|
|
744
|
+
readonly Ci: "CI";
|
|
745
|
+
readonly Hr: "HR";
|
|
746
|
+
readonly Cu: "CU";
|
|
747
|
+
readonly Cy: "CY";
|
|
748
|
+
readonly Cz: "CZ";
|
|
749
|
+
readonly Dk: "DK";
|
|
750
|
+
readonly Dj: "DJ";
|
|
751
|
+
readonly Dm: "DM";
|
|
752
|
+
readonly Do: "DO";
|
|
753
|
+
readonly Ec: "EC";
|
|
754
|
+
readonly Eg: "EG";
|
|
755
|
+
readonly Sv: "SV";
|
|
756
|
+
readonly Gq: "GQ";
|
|
757
|
+
readonly Er: "ER";
|
|
758
|
+
readonly Ee: "EE";
|
|
759
|
+
readonly Et: "ET";
|
|
760
|
+
readonly Fk: "FK";
|
|
761
|
+
readonly Fo: "FO";
|
|
762
|
+
readonly Fj: "FJ";
|
|
763
|
+
readonly Fi: "FI";
|
|
764
|
+
readonly Fr: "FR";
|
|
765
|
+
readonly Gf: "GF";
|
|
766
|
+
readonly Pf: "PF";
|
|
767
|
+
readonly Tf: "TF";
|
|
768
|
+
readonly Ga: "GA";
|
|
769
|
+
readonly Gm: "GM";
|
|
770
|
+
readonly Ge: "GE";
|
|
771
|
+
readonly De: "DE";
|
|
772
|
+
readonly Gh: "GH";
|
|
773
|
+
readonly Gi: "GI";
|
|
774
|
+
readonly Gr: "GR";
|
|
775
|
+
readonly Gl: "GL";
|
|
776
|
+
readonly Gd: "GD";
|
|
777
|
+
readonly Gp: "GP";
|
|
778
|
+
readonly Gu: "GU";
|
|
779
|
+
readonly Gt: "GT";
|
|
780
|
+
readonly Gn: "GN";
|
|
781
|
+
readonly Gw: "GW";
|
|
782
|
+
readonly Gy: "GY";
|
|
783
|
+
readonly Ht: "HT";
|
|
784
|
+
readonly Hm: "HM";
|
|
785
|
+
readonly Va: "VA";
|
|
786
|
+
readonly Hn: "HN";
|
|
787
|
+
readonly Hk: "HK";
|
|
788
|
+
readonly Hu: "HU";
|
|
789
|
+
readonly Is: "IS";
|
|
790
|
+
readonly In: "IN";
|
|
791
|
+
readonly Id: "ID";
|
|
792
|
+
readonly Ir: "IR";
|
|
793
|
+
readonly Iq: "IQ";
|
|
794
|
+
readonly Ie: "IE";
|
|
795
|
+
readonly Il: "IL";
|
|
796
|
+
readonly It: "IT";
|
|
797
|
+
readonly Jm: "JM";
|
|
798
|
+
readonly Jp: "JP";
|
|
799
|
+
readonly Jo: "JO";
|
|
800
|
+
readonly Kz: "KZ";
|
|
801
|
+
readonly Ke: "KE";
|
|
802
|
+
readonly Ki: "KI";
|
|
803
|
+
readonly Kp: "KP";
|
|
804
|
+
readonly Kr: "KR";
|
|
805
|
+
readonly Kw: "KW";
|
|
806
|
+
readonly Kg: "KG";
|
|
807
|
+
readonly La: "LA";
|
|
808
|
+
readonly Lv: "LV";
|
|
809
|
+
readonly Lb: "LB";
|
|
810
|
+
readonly Ls: "LS";
|
|
811
|
+
readonly Lr: "LR";
|
|
812
|
+
readonly Ly: "LY";
|
|
813
|
+
readonly Li: "LI";
|
|
814
|
+
readonly Lt: "LT";
|
|
815
|
+
readonly Lu: "LU";
|
|
816
|
+
readonly Mo: "MO";
|
|
817
|
+
readonly Mg: "MG";
|
|
818
|
+
readonly Mw: "MW";
|
|
819
|
+
readonly My: "MY";
|
|
820
|
+
readonly Mv: "MV";
|
|
821
|
+
readonly Ml: "ML";
|
|
822
|
+
readonly Mt: "MT";
|
|
823
|
+
readonly Mh: "MH";
|
|
824
|
+
readonly Mq: "MQ";
|
|
825
|
+
readonly Mr: "MR";
|
|
826
|
+
readonly Mu: "MU";
|
|
827
|
+
readonly Yt: "YT";
|
|
828
|
+
readonly Mx: "MX";
|
|
829
|
+
readonly Fm: "FM";
|
|
830
|
+
readonly Md: "MD";
|
|
831
|
+
readonly Mc: "MC";
|
|
832
|
+
readonly Mn: "MN";
|
|
833
|
+
readonly Ms: "MS";
|
|
834
|
+
readonly Ma: "MA";
|
|
835
|
+
readonly Mz: "MZ";
|
|
836
|
+
readonly Mm: "MM";
|
|
837
|
+
readonly Na: "NA";
|
|
838
|
+
readonly Nr: "NR";
|
|
839
|
+
readonly Np: "NP";
|
|
840
|
+
readonly Nl: "NL";
|
|
841
|
+
readonly Nc: "NC";
|
|
842
|
+
readonly Nz: "NZ";
|
|
843
|
+
readonly Ni: "NI";
|
|
844
|
+
readonly Ne: "NE";
|
|
845
|
+
readonly Ng: "NG";
|
|
846
|
+
readonly Nu: "NU";
|
|
847
|
+
readonly Nf: "NF";
|
|
848
|
+
readonly Mk: "MK";
|
|
849
|
+
readonly Mp: "MP";
|
|
850
|
+
readonly No: "NO";
|
|
851
|
+
readonly Om: "OM";
|
|
852
|
+
readonly Pk: "PK";
|
|
853
|
+
readonly Pw: "PW";
|
|
854
|
+
readonly Ps: "PS";
|
|
855
|
+
readonly Pa: "PA";
|
|
856
|
+
readonly Pg: "PG";
|
|
857
|
+
readonly Py: "PY";
|
|
858
|
+
readonly Pe: "PE";
|
|
859
|
+
readonly Ph: "PH";
|
|
860
|
+
readonly Pn: "PN";
|
|
861
|
+
readonly Pl: "PL";
|
|
862
|
+
readonly Pt: "PT";
|
|
863
|
+
readonly Pr: "PR";
|
|
864
|
+
readonly Qa: "QA";
|
|
865
|
+
readonly Re: "RE";
|
|
866
|
+
readonly Ro: "RO";
|
|
867
|
+
readonly Ru: "RU";
|
|
868
|
+
readonly Rw: "RW";
|
|
869
|
+
readonly Sh: "SH";
|
|
870
|
+
readonly Kn: "KN";
|
|
871
|
+
readonly Lc: "LC";
|
|
872
|
+
readonly Pm: "PM";
|
|
873
|
+
readonly Vc: "VC";
|
|
874
|
+
readonly Ws: "WS";
|
|
875
|
+
readonly Sm: "SM";
|
|
876
|
+
readonly St: "ST";
|
|
877
|
+
readonly Sa: "SA";
|
|
878
|
+
readonly Sn: "SN";
|
|
879
|
+
readonly Sc: "SC";
|
|
880
|
+
readonly Sl: "SL";
|
|
881
|
+
readonly Sg: "SG";
|
|
882
|
+
readonly Sk: "SK";
|
|
883
|
+
readonly Si: "SI";
|
|
884
|
+
readonly Sb: "SB";
|
|
885
|
+
readonly So: "SO";
|
|
886
|
+
readonly Za: "ZA";
|
|
887
|
+
readonly Gs: "GS";
|
|
888
|
+
readonly Es: "ES";
|
|
889
|
+
readonly Lk: "LK";
|
|
890
|
+
readonly Sd: "SD";
|
|
891
|
+
readonly Sr: "SR";
|
|
892
|
+
readonly Sj: "SJ";
|
|
893
|
+
readonly Sz: "SZ";
|
|
894
|
+
readonly Se: "SE";
|
|
895
|
+
readonly Ch: "CH";
|
|
896
|
+
readonly Sy: "SY";
|
|
897
|
+
readonly Tw: "TW";
|
|
898
|
+
readonly Tj: "TJ";
|
|
899
|
+
readonly Tz: "TZ";
|
|
900
|
+
readonly Th: "TH";
|
|
901
|
+
readonly Tl: "TL";
|
|
902
|
+
readonly Tg: "TG";
|
|
903
|
+
readonly Tk: "TK";
|
|
904
|
+
readonly To: "TO";
|
|
905
|
+
readonly Tt: "TT";
|
|
906
|
+
readonly Tn: "TN";
|
|
907
|
+
readonly Tr: "TR";
|
|
908
|
+
readonly Tm: "TM";
|
|
909
|
+
readonly Tc: "TC";
|
|
910
|
+
readonly Tv: "TV";
|
|
911
|
+
readonly Ug: "UG";
|
|
912
|
+
readonly Ua: "UA";
|
|
913
|
+
readonly Ae: "AE";
|
|
914
|
+
readonly Gb: "GB";
|
|
915
|
+
readonly Us: "US";
|
|
916
|
+
readonly Um: "UM";
|
|
917
|
+
readonly Uy: "UY";
|
|
918
|
+
readonly Uz: "UZ";
|
|
919
|
+
readonly Vu: "VU";
|
|
920
|
+
readonly Ve: "VE";
|
|
921
|
+
readonly Vn: "VN";
|
|
922
|
+
readonly Vg: "VG";
|
|
923
|
+
readonly Vi: "VI";
|
|
924
|
+
readonly Wf: "WF";
|
|
925
|
+
readonly Eh: "EH";
|
|
926
|
+
readonly Ye: "YE";
|
|
927
|
+
readonly Zm: "ZM";
|
|
928
|
+
readonly Zw: "ZW";
|
|
929
|
+
readonly Ax: "AX";
|
|
930
|
+
readonly Bq: "BQ";
|
|
931
|
+
readonly Cw: "CW";
|
|
932
|
+
readonly Gg: "GG";
|
|
933
|
+
readonly Im: "IM";
|
|
934
|
+
readonly Je: "JE";
|
|
935
|
+
readonly Me: "ME";
|
|
936
|
+
readonly Bl: "BL";
|
|
937
|
+
readonly Mf: "MF";
|
|
938
|
+
readonly Rs: "RS";
|
|
939
|
+
readonly Sx: "SX";
|
|
940
|
+
readonly Ss: "SS";
|
|
941
|
+
readonly Xk: "XK";
|
|
942
|
+
}>;
|
|
943
|
+
}
|
|
944
|
+
/** @internal */
|
|
945
|
+
export declare const CreateReferralsEmbedTokenTagIds$inboundSchema: z.ZodType<CreateReferralsEmbedTokenTagIds, z.ZodTypeDef, unknown>;
|
|
946
|
+
/** @internal */
|
|
947
|
+
export type CreateReferralsEmbedTokenTagIds$Outbound = string | Array<string>;
|
|
948
|
+
/** @internal */
|
|
949
|
+
export declare const CreateReferralsEmbedTokenTagIds$outboundSchema: z.ZodType<CreateReferralsEmbedTokenTagIds$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenTagIds>;
|
|
950
|
+
/**
|
|
951
|
+
* @internal
|
|
952
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
953
|
+
*/
|
|
954
|
+
export declare namespace CreateReferralsEmbedTokenTagIds$ {
|
|
955
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagIds$inboundSchema` instead. */
|
|
956
|
+
const inboundSchema: z.ZodType<CreateReferralsEmbedTokenTagIds, z.ZodTypeDef, unknown>;
|
|
957
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagIds$outboundSchema` instead. */
|
|
958
|
+
const outboundSchema: z.ZodType<CreateReferralsEmbedTokenTagIds$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenTagIds>;
|
|
959
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagIds$Outbound` instead. */
|
|
960
|
+
type Outbound = CreateReferralsEmbedTokenTagIds$Outbound;
|
|
961
|
+
}
|
|
962
|
+
export declare function createReferralsEmbedTokenTagIdsToJSON(createReferralsEmbedTokenTagIds: CreateReferralsEmbedTokenTagIds): string;
|
|
963
|
+
export declare function createReferralsEmbedTokenTagIdsFromJSON(jsonString: string): SafeParseResult<CreateReferralsEmbedTokenTagIds, SDKValidationError>;
|
|
964
|
+
/** @internal */
|
|
965
|
+
export declare const CreateReferralsEmbedTokenTagNames$inboundSchema: z.ZodType<CreateReferralsEmbedTokenTagNames, z.ZodTypeDef, unknown>;
|
|
966
|
+
/** @internal */
|
|
967
|
+
export type CreateReferralsEmbedTokenTagNames$Outbound = string | Array<string>;
|
|
968
|
+
/** @internal */
|
|
969
|
+
export declare const CreateReferralsEmbedTokenTagNames$outboundSchema: z.ZodType<CreateReferralsEmbedTokenTagNames$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenTagNames>;
|
|
970
|
+
/**
|
|
971
|
+
* @internal
|
|
972
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
973
|
+
*/
|
|
974
|
+
export declare namespace CreateReferralsEmbedTokenTagNames$ {
|
|
975
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagNames$inboundSchema` instead. */
|
|
976
|
+
const inboundSchema: z.ZodType<CreateReferralsEmbedTokenTagNames, z.ZodTypeDef, unknown>;
|
|
977
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagNames$outboundSchema` instead. */
|
|
978
|
+
const outboundSchema: z.ZodType<CreateReferralsEmbedTokenTagNames$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenTagNames>;
|
|
979
|
+
/** @deprecated use `CreateReferralsEmbedTokenTagNames$Outbound` instead. */
|
|
980
|
+
type Outbound = CreateReferralsEmbedTokenTagNames$Outbound;
|
|
981
|
+
}
|
|
982
|
+
export declare function createReferralsEmbedTokenTagNamesToJSON(createReferralsEmbedTokenTagNames: CreateReferralsEmbedTokenTagNames): string;
|
|
983
|
+
export declare function createReferralsEmbedTokenTagNamesFromJSON(jsonString: string): SafeParseResult<CreateReferralsEmbedTokenTagNames, SDKValidationError>;
|
|
984
|
+
/** @internal */
|
|
985
|
+
export declare const CreateReferralsEmbedTokenLinkProps$inboundSchema: z.ZodType<CreateReferralsEmbedTokenLinkProps, z.ZodTypeDef, unknown>;
|
|
986
|
+
/** @internal */
|
|
987
|
+
export type CreateReferralsEmbedTokenLinkProps$Outbound = {
|
|
988
|
+
externalId?: string | null | undefined;
|
|
989
|
+
tenantId?: string | null | undefined;
|
|
990
|
+
prefix?: string | undefined;
|
|
991
|
+
archived?: boolean | undefined;
|
|
992
|
+
tagIds?: string | Array<string> | undefined;
|
|
993
|
+
tagNames?: string | Array<string> | undefined;
|
|
994
|
+
folderId?: string | null | undefined;
|
|
995
|
+
comments?: string | null | undefined;
|
|
996
|
+
expiresAt?: string | null | undefined;
|
|
997
|
+
expiredUrl?: string | null | undefined;
|
|
998
|
+
password?: string | null | undefined;
|
|
999
|
+
proxy?: boolean | undefined;
|
|
1000
|
+
title?: string | null | undefined;
|
|
1001
|
+
description?: string | null | undefined;
|
|
1002
|
+
image?: string | null | undefined;
|
|
1003
|
+
video?: string | null | undefined;
|
|
1004
|
+
rewrite?: boolean | undefined;
|
|
1005
|
+
ios?: string | null | undefined;
|
|
1006
|
+
android?: string | null | undefined;
|
|
1007
|
+
doIndex?: boolean | undefined;
|
|
1008
|
+
utm_source?: string | null | undefined;
|
|
1009
|
+
utm_medium?: string | null | undefined;
|
|
1010
|
+
utm_campaign?: string | null | undefined;
|
|
1011
|
+
utm_term?: string | null | undefined;
|
|
1012
|
+
utm_content?: string | null | undefined;
|
|
1013
|
+
ref?: string | null | undefined;
|
|
1014
|
+
};
|
|
1015
|
+
/** @internal */
|
|
1016
|
+
export declare const CreateReferralsEmbedTokenLinkProps$outboundSchema: z.ZodType<CreateReferralsEmbedTokenLinkProps$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenLinkProps>;
|
|
1017
|
+
/**
|
|
1018
|
+
* @internal
|
|
1019
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1020
|
+
*/
|
|
1021
|
+
export declare namespace CreateReferralsEmbedTokenLinkProps$ {
|
|
1022
|
+
/** @deprecated use `CreateReferralsEmbedTokenLinkProps$inboundSchema` instead. */
|
|
1023
|
+
const inboundSchema: z.ZodType<CreateReferralsEmbedTokenLinkProps, z.ZodTypeDef, unknown>;
|
|
1024
|
+
/** @deprecated use `CreateReferralsEmbedTokenLinkProps$outboundSchema` instead. */
|
|
1025
|
+
const outboundSchema: z.ZodType<CreateReferralsEmbedTokenLinkProps$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenLinkProps>;
|
|
1026
|
+
/** @deprecated use `CreateReferralsEmbedTokenLinkProps$Outbound` instead. */
|
|
1027
|
+
type Outbound = CreateReferralsEmbedTokenLinkProps$Outbound;
|
|
1028
|
+
}
|
|
1029
|
+
export declare function createReferralsEmbedTokenLinkPropsToJSON(createReferralsEmbedTokenLinkProps: CreateReferralsEmbedTokenLinkProps): string;
|
|
1030
|
+
export declare function createReferralsEmbedTokenLinkPropsFromJSON(jsonString: string): SafeParseResult<CreateReferralsEmbedTokenLinkProps, SDKValidationError>;
|
|
1031
|
+
/** @internal */
|
|
1032
|
+
export declare const Partner$inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
|
|
1033
|
+
/** @internal */
|
|
1034
|
+
export type Partner$Outbound = {
|
|
1035
|
+
name: string;
|
|
1036
|
+
email: string;
|
|
1037
|
+
username?: string | null | undefined;
|
|
1038
|
+
image?: string | null | undefined;
|
|
1039
|
+
country?: string | null | undefined;
|
|
1040
|
+
description?: string | null | undefined;
|
|
1041
|
+
tenantId?: string | undefined;
|
|
1042
|
+
linkProps?: CreateReferralsEmbedTokenLinkProps$Outbound | undefined;
|
|
1043
|
+
};
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export declare const Partner$outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
|
|
1046
|
+
/**
|
|
1047
|
+
* @internal
|
|
1048
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare namespace Partner$ {
|
|
1051
|
+
/** @deprecated use `Partner$inboundSchema` instead. */
|
|
1052
|
+
const inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
|
|
1053
|
+
/** @deprecated use `Partner$outboundSchema` instead. */
|
|
1054
|
+
const outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
|
|
1055
|
+
/** @deprecated use `Partner$Outbound` instead. */
|
|
1056
|
+
type Outbound = Partner$Outbound;
|
|
1057
|
+
}
|
|
1058
|
+
export declare function partnerToJSON(partner: Partner): string;
|
|
1059
|
+
export declare function partnerFromJSON(jsonString: string): SafeParseResult<Partner, SDKValidationError>;
|
|
1060
|
+
/** @internal */
|
|
1061
|
+
export declare const CreateReferralsEmbedTokenRequestBody$inboundSchema: z.ZodType<CreateReferralsEmbedTokenRequestBody, z.ZodTypeDef, unknown>;
|
|
1062
|
+
/** @internal */
|
|
1063
|
+
export type CreateReferralsEmbedTokenRequestBody$Outbound = {
|
|
1064
|
+
programId: string;
|
|
1065
|
+
partnerId?: string | undefined;
|
|
1066
|
+
tenantId?: string | undefined;
|
|
1067
|
+
partner?: Partner$Outbound | undefined;
|
|
1068
|
+
};
|
|
1069
|
+
/** @internal */
|
|
1070
|
+
export declare const CreateReferralsEmbedTokenRequestBody$outboundSchema: z.ZodType<CreateReferralsEmbedTokenRequestBody$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenRequestBody>;
|
|
1071
|
+
/**
|
|
1072
|
+
* @internal
|
|
1073
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1074
|
+
*/
|
|
1075
|
+
export declare namespace CreateReferralsEmbedTokenRequestBody$ {
|
|
1076
|
+
/** @deprecated use `CreateReferralsEmbedTokenRequestBody$inboundSchema` instead. */
|
|
1077
|
+
const inboundSchema: z.ZodType<CreateReferralsEmbedTokenRequestBody, z.ZodTypeDef, unknown>;
|
|
1078
|
+
/** @deprecated use `CreateReferralsEmbedTokenRequestBody$outboundSchema` instead. */
|
|
1079
|
+
const outboundSchema: z.ZodType<CreateReferralsEmbedTokenRequestBody$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenRequestBody>;
|
|
1080
|
+
/** @deprecated use `CreateReferralsEmbedTokenRequestBody$Outbound` instead. */
|
|
1081
|
+
type Outbound = CreateReferralsEmbedTokenRequestBody$Outbound;
|
|
1082
|
+
}
|
|
1083
|
+
export declare function createReferralsEmbedTokenRequestBodyToJSON(createReferralsEmbedTokenRequestBody: CreateReferralsEmbedTokenRequestBody): string;
|
|
1084
|
+
export declare function createReferralsEmbedTokenRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateReferralsEmbedTokenRequestBody, SDKValidationError>;
|
|
1085
|
+
/** @internal */
|
|
1086
|
+
export declare const CreateReferralsEmbedTokenResponseBody$inboundSchema: z.ZodType<CreateReferralsEmbedTokenResponseBody, z.ZodTypeDef, unknown>;
|
|
1087
|
+
/** @internal */
|
|
1088
|
+
export type CreateReferralsEmbedTokenResponseBody$Outbound = {
|
|
1089
|
+
publicToken: string;
|
|
1090
|
+
expires: string;
|
|
1091
|
+
};
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
export declare const CreateReferralsEmbedTokenResponseBody$outboundSchema: z.ZodType<CreateReferralsEmbedTokenResponseBody$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenResponseBody>;
|
|
1094
|
+
/**
|
|
1095
|
+
* @internal
|
|
1096
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1097
|
+
*/
|
|
1098
|
+
export declare namespace CreateReferralsEmbedTokenResponseBody$ {
|
|
1099
|
+
/** @deprecated use `CreateReferralsEmbedTokenResponseBody$inboundSchema` instead. */
|
|
1100
|
+
const inboundSchema: z.ZodType<CreateReferralsEmbedTokenResponseBody, z.ZodTypeDef, unknown>;
|
|
1101
|
+
/** @deprecated use `CreateReferralsEmbedTokenResponseBody$outboundSchema` instead. */
|
|
1102
|
+
const outboundSchema: z.ZodType<CreateReferralsEmbedTokenResponseBody$Outbound, z.ZodTypeDef, CreateReferralsEmbedTokenResponseBody>;
|
|
1103
|
+
/** @deprecated use `CreateReferralsEmbedTokenResponseBody$Outbound` instead. */
|
|
1104
|
+
type Outbound = CreateReferralsEmbedTokenResponseBody$Outbound;
|
|
1105
|
+
}
|
|
1106
|
+
export declare function createReferralsEmbedTokenResponseBodyToJSON(createReferralsEmbedTokenResponseBody: CreateReferralsEmbedTokenResponseBody): string;
|
|
1107
|
+
export declare function createReferralsEmbedTokenResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateReferralsEmbedTokenResponseBody, SDKValidationError>;
|
|
1108
|
+
//# sourceMappingURL=createreferralsembedtoken.d.ts.map
|