dub 0.71.3 → 0.71.5
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 +2 -2
- package/dist/commonjs/funcs/analyticsRetrieve.js +0 -1
- package/dist/commonjs/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/commonjs/funcs/commissionsUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/commissionsUpdate.js +1 -1
- package/dist/commonjs/funcs/domainsList.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +0 -1
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/linksList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/components/analyticstoplinks.d.ts +10 -2
- package/dist/commonjs/models/components/analyticstoplinks.d.ts.map +1 -1
- package/dist/commonjs/models/components/analyticstoplinks.js +3 -1
- package/dist/commonjs/models/components/analyticstoplinks.js.map +1 -1
- package/dist/commonjs/models/components/linktagschema.d.ts +1 -0
- package/dist/commonjs/models/components/linktagschema.d.ts.map +1 -1
- package/dist/commonjs/models/components/linktagschema.js +1 -0
- package/dist/commonjs/models/components/linktagschema.js.map +1 -1
- package/dist/commonjs/models/components/linktagschemaoutput.d.ts +1 -0
- package/dist/commonjs/models/components/linktagschemaoutput.d.ts.map +1 -1
- package/dist/commonjs/models/components/linktagschemaoutput.js +1 -0
- package/dist/commonjs/models/components/linktagschemaoutput.js.map +1 -1
- package/dist/commonjs/models/components/partneranalyticstoplinks.d.ts +10 -2
- package/dist/commonjs/models/components/partneranalyticstoplinks.d.ts.map +1 -1
- package/dist/commonjs/models/components/partneranalyticstoplinks.js +3 -1
- package/dist/commonjs/models/components/partneranalyticstoplinks.js.map +1 -1
- package/dist/commonjs/models/operations/approvebountysubmission.d.ts +8 -0
- package/dist/commonjs/models/operations/approvebountysubmission.d.ts.map +1 -1
- package/dist/commonjs/models/operations/approvebountysubmission.js +2 -0
- package/dist/commonjs/models/operations/approvebountysubmission.js.map +1 -1
- package/dist/commonjs/models/operations/createtag.d.ts +4 -3
- package/dist/commonjs/models/operations/createtag.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createtag.js +2 -1
- package/dist/commonjs/models/operations/createtag.js.map +1 -1
- package/dist/commonjs/models/operations/listbountysubmissions.d.ts +9 -0
- package/dist/commonjs/models/operations/listbountysubmissions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbountysubmissions.js +3 -0
- package/dist/commonjs/models/operations/listbountysubmissions.js.map +1 -1
- package/dist/commonjs/models/operations/listevents.d.ts +58 -105
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevents.js +13 -45
- package/dist/commonjs/models/operations/listevents.js.map +1 -1
- package/dist/commonjs/models/operations/listpayouts.d.ts +10 -0
- package/dist/commonjs/models/operations/listpayouts.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayouts.js +11 -1
- package/dist/commonjs/models/operations/listpayouts.js.map +1 -1
- package/dist/commonjs/models/operations/rejectbountysubmission.d.ts +8 -0
- package/dist/commonjs/models/operations/rejectbountysubmission.d.ts.map +1 -1
- package/dist/commonjs/models/operations/rejectbountysubmission.js +2 -0
- package/dist/commonjs/models/operations/rejectbountysubmission.js.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts +58 -105
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js +13 -47
- package/dist/commonjs/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/commonjs/models/operations/retrievepartneranalytics.d.ts +1 -1
- package/dist/commonjs/models/operations/updatetag.d.ts +4 -3
- package/dist/commonjs/models/operations/updatetag.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatetag.js +2 -1
- package/dist/commonjs/models/operations/updatetag.js.map +1 -1
- package/dist/commonjs/sdk/commissions.d.ts +1 -1
- package/dist/commonjs/sdk/commissions.js +1 -1
- package/dist/esm/funcs/analyticsRetrieve.js +0 -1
- package/dist/esm/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/esm/funcs/commissionsUpdate.d.ts +1 -1
- package/dist/esm/funcs/commissionsUpdate.js +1 -1
- package/dist/esm/funcs/domainsList.js.map +1 -1
- package/dist/esm/funcs/eventsList.js +0 -1
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/linksList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/components/analyticstoplinks.d.ts +10 -2
- package/dist/esm/models/components/analyticstoplinks.d.ts.map +1 -1
- package/dist/esm/models/components/analyticstoplinks.js +3 -1
- package/dist/esm/models/components/analyticstoplinks.js.map +1 -1
- package/dist/esm/models/components/linktagschema.d.ts +1 -0
- package/dist/esm/models/components/linktagschema.d.ts.map +1 -1
- package/dist/esm/models/components/linktagschema.js +1 -0
- package/dist/esm/models/components/linktagschema.js.map +1 -1
- package/dist/esm/models/components/linktagschemaoutput.d.ts +1 -0
- package/dist/esm/models/components/linktagschemaoutput.d.ts.map +1 -1
- package/dist/esm/models/components/linktagschemaoutput.js +1 -0
- package/dist/esm/models/components/linktagschemaoutput.js.map +1 -1
- package/dist/esm/models/components/partneranalyticstoplinks.d.ts +10 -2
- package/dist/esm/models/components/partneranalyticstoplinks.d.ts.map +1 -1
- package/dist/esm/models/components/partneranalyticstoplinks.js +3 -1
- package/dist/esm/models/components/partneranalyticstoplinks.js.map +1 -1
- package/dist/esm/models/operations/approvebountysubmission.d.ts +8 -0
- package/dist/esm/models/operations/approvebountysubmission.d.ts.map +1 -1
- package/dist/esm/models/operations/approvebountysubmission.js +2 -0
- package/dist/esm/models/operations/approvebountysubmission.js.map +1 -1
- package/dist/esm/models/operations/createtag.d.ts +4 -3
- package/dist/esm/models/operations/createtag.d.ts.map +1 -1
- package/dist/esm/models/operations/createtag.js +2 -1
- package/dist/esm/models/operations/createtag.js.map +1 -1
- package/dist/esm/models/operations/listbountysubmissions.d.ts +9 -0
- package/dist/esm/models/operations/listbountysubmissions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbountysubmissions.js +3 -0
- package/dist/esm/models/operations/listbountysubmissions.js.map +1 -1
- package/dist/esm/models/operations/listevents.d.ts +58 -105
- package/dist/esm/models/operations/listevents.d.ts.map +1 -1
- package/dist/esm/models/operations/listevents.js +12 -43
- package/dist/esm/models/operations/listevents.js.map +1 -1
- package/dist/esm/models/operations/listpayouts.d.ts +10 -0
- package/dist/esm/models/operations/listpayouts.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayouts.js +10 -0
- package/dist/esm/models/operations/listpayouts.js.map +1 -1
- package/dist/esm/models/operations/rejectbountysubmission.d.ts +8 -0
- package/dist/esm/models/operations/rejectbountysubmission.d.ts.map +1 -1
- package/dist/esm/models/operations/rejectbountysubmission.js +2 -0
- package/dist/esm/models/operations/rejectbountysubmission.js.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.d.ts +58 -105
- package/dist/esm/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.js +12 -45
- package/dist/esm/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/esm/models/operations/retrievepartneranalytics.d.ts +1 -1
- package/dist/esm/models/operations/updatetag.d.ts +4 -3
- package/dist/esm/models/operations/updatetag.d.ts.map +1 -1
- package/dist/esm/models/operations/updatetag.js +2 -1
- package/dist/esm/models/operations/updatetag.js.map +1 -1
- package/dist/esm/sdk/commissions.d.ts +1 -1
- package/dist/esm/sdk/commissions.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/analyticsRetrieve.ts +0 -1
- package/src/funcs/commissionsUpdate.ts +1 -1
- package/src/funcs/domainsList.ts +1 -1
- package/src/funcs/eventsList.ts +0 -1
- package/src/funcs/linksList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/analyticstoplinks.ts +13 -3
- package/src/models/components/linktagschema.ts +1 -0
- package/src/models/components/linktagschemaoutput.ts +1 -0
- package/src/models/components/partneranalyticstoplinks.ts +13 -3
- package/src/models/operations/approvebountysubmission.ts +10 -0
- package/src/models/operations/createtag.ts +4 -3
- package/src/models/operations/listbountysubmissions.ts +11 -0
- package/src/models/operations/listevents.ts +70 -140
- package/src/models/operations/listpayouts.ts +15 -0
- package/src/models/operations/rejectbountysubmission.ts +10 -0
- package/src/models/operations/retrieveanalytics.ts +70 -140
- package/src/models/operations/retrievepartneranalytics.ts +1 -1
- package/src/models/operations/updatetag.ts +4 -3
- package/src/sdk/commissions.ts +1 -1
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -613
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -40
|
@@ -42,42 +42,6 @@ export const QueryParamInterval = {
|
|
|
42
42
|
*/
|
|
43
43
|
export type QueryParamInterval = ClosedEnum<typeof QueryParamInterval>;
|
|
44
44
|
|
|
45
|
-
/**
|
|
46
|
-
* The continent to retrieve analytics for.
|
|
47
|
-
*/
|
|
48
|
-
export const QueryParamContinent = {
|
|
49
|
-
Af: "AF",
|
|
50
|
-
An: "AN",
|
|
51
|
-
As: "AS",
|
|
52
|
-
Eu: "EU",
|
|
53
|
-
Na: "NA",
|
|
54
|
-
Oc: "OC",
|
|
55
|
-
Sa: "SA",
|
|
56
|
-
} as const;
|
|
57
|
-
/**
|
|
58
|
-
* The continent to retrieve analytics for.
|
|
59
|
-
*/
|
|
60
|
-
export type QueryParamContinent = ClosedEnum<typeof QueryParamContinent>;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* The trigger to retrieve analytics for. If undefined, returns all trigger types.
|
|
64
|
-
*/
|
|
65
|
-
export const QueryParamTrigger = {
|
|
66
|
-
Qr: "qr",
|
|
67
|
-
Link: "link",
|
|
68
|
-
Pageview: "pageview",
|
|
69
|
-
Deeplink: "deeplink",
|
|
70
|
-
} as const;
|
|
71
|
-
/**
|
|
72
|
-
* The trigger to retrieve analytics for. If undefined, returns all trigger types.
|
|
73
|
-
*/
|
|
74
|
-
export type QueryParamTrigger = ClosedEnum<typeof QueryParamTrigger>;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The tag IDs to retrieve analytics for.
|
|
78
|
-
*/
|
|
79
|
-
export type ListEventsQueryParamTagIds = string | Array<string>;
|
|
80
|
-
|
|
81
45
|
/**
|
|
82
46
|
* Filter sales by type: 'new' for first-time purchases, 'recurring' for repeat purchases. If undefined, returns both.
|
|
83
47
|
*/
|
|
@@ -135,7 +99,7 @@ export type ListEventsRequest = {
|
|
|
135
99
|
*/
|
|
136
100
|
event?: QueryParamEvent | undefined;
|
|
137
101
|
/**
|
|
138
|
-
* The domain to filter analytics for.
|
|
102
|
+
* The domain to filter analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `dub.co`, `dub.co,google.com`, `-spam.com`.
|
|
139
103
|
*/
|
|
140
104
|
domain?: string | undefined;
|
|
141
105
|
/**
|
|
@@ -143,7 +107,7 @@ export type ListEventsRequest = {
|
|
|
143
107
|
*/
|
|
144
108
|
key?: string | undefined;
|
|
145
109
|
/**
|
|
146
|
-
* The unique ID of the
|
|
110
|
+
* The unique ID of the link to retrieve analytics for.Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `link_123`, `link_123,link_456`, `-link_789`.
|
|
147
111
|
*/
|
|
148
112
|
linkId?: string | undefined;
|
|
149
113
|
/**
|
|
@@ -151,15 +115,23 @@ export type ListEventsRequest = {
|
|
|
151
115
|
*/
|
|
152
116
|
externalId?: string | undefined;
|
|
153
117
|
/**
|
|
154
|
-
* The ID of the tenant that created the link inside your system.
|
|
118
|
+
* The ID of the tenant that created the link inside your system. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `tenant_123`, `tenant_123,tenant_456`, `-tenant_789`.
|
|
155
119
|
*/
|
|
156
120
|
tenantId?: string | undefined;
|
|
157
121
|
/**
|
|
158
|
-
* The ID
|
|
122
|
+
* The tag ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `tag_123`, `tag_123,tag_456`, `-tag_789`.
|
|
159
123
|
*/
|
|
160
|
-
|
|
124
|
+
tagId?: string | undefined;
|
|
161
125
|
/**
|
|
162
|
-
* The ID
|
|
126
|
+
* The folder ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `folder_123`, `folder_123,folder_456`, `-folder_789`. If not provided, return analytics for all links.
|
|
127
|
+
*/
|
|
128
|
+
folderId?: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* The group ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `grp_123`, `grp_123,grp_456`, `-grp_789`.
|
|
131
|
+
*/
|
|
132
|
+
groupId?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the partner to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `pn_123`, `pn_123,pn_456`, `-pn_789`.
|
|
163
135
|
*/
|
|
164
136
|
partnerId?: string | undefined;
|
|
165
137
|
/**
|
|
@@ -183,61 +155,69 @@ export type ListEventsRequest = {
|
|
|
183
155
|
*/
|
|
184
156
|
timezone?: string | undefined;
|
|
185
157
|
/**
|
|
186
|
-
* The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code
|
|
158
|
+
* The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code (see https://d.to/geo). Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `US`, `US,BR,FR`, `-US`.
|
|
187
159
|
*/
|
|
188
160
|
country?: string | undefined;
|
|
189
161
|
/**
|
|
190
|
-
* The city to retrieve analytics for.
|
|
162
|
+
* The city to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `New York`, `New York,London`, `-New York`.
|
|
191
163
|
*/
|
|
192
164
|
city?: string | undefined;
|
|
193
165
|
/**
|
|
194
|
-
* The ISO 3166-2 region code to retrieve analytics for.
|
|
166
|
+
* The ISO 3166-2 region code to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `NY`, `NY,CA`, `-NY`.
|
|
195
167
|
*/
|
|
196
168
|
region?: string | undefined;
|
|
197
169
|
/**
|
|
198
|
-
* The continent to retrieve analytics for.
|
|
170
|
+
* The continent to retrieve analytics for. Valid values: AF, AN, AS, EU, NA, OC, SA. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `NA`, `NA,EU`, `-AS`.
|
|
199
171
|
*/
|
|
200
|
-
continent?:
|
|
172
|
+
continent?: string | undefined;
|
|
201
173
|
/**
|
|
202
|
-
* The device to retrieve analytics for.
|
|
174
|
+
* The device to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Desktop`, `Mobile,Tablet`, `-Mobile`.
|
|
203
175
|
*/
|
|
204
176
|
device?: string | undefined;
|
|
205
177
|
/**
|
|
206
|
-
* The browser to retrieve analytics for.
|
|
178
|
+
* The browser to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Chrome`, `Chrome,Firefox,Safari`, `-IE`.
|
|
207
179
|
*/
|
|
208
180
|
browser?: string | undefined;
|
|
209
181
|
/**
|
|
210
|
-
* The OS to retrieve analytics for.
|
|
182
|
+
* The OS to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Windows`, `Mac,Windows,Linux`, `-Windows`.
|
|
211
183
|
*/
|
|
212
184
|
os?: string | undefined;
|
|
213
185
|
/**
|
|
214
|
-
* The trigger to retrieve analytics for. If undefined, returns all trigger types.
|
|
186
|
+
* The trigger to retrieve analytics for. Valid values: qr, link, pageview. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `qr`, `qr,link`, `-qr`. If undefined, returns all trigger types.
|
|
215
187
|
*/
|
|
216
|
-
trigger?:
|
|
188
|
+
trigger?: string | undefined;
|
|
217
189
|
/**
|
|
218
|
-
* The referer hostname to retrieve analytics for.
|
|
190
|
+
* The referer hostname to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `google.com`, `google.com,twitter.com`, `-facebook.com`.
|
|
219
191
|
*/
|
|
220
192
|
referer?: string | undefined;
|
|
221
193
|
/**
|
|
222
|
-
* The full referer URL to retrieve analytics for.
|
|
194
|
+
* The full referer URL to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `https://google.com`, `https://google.com,https://twitter.com`, `-https://spam.com`.
|
|
223
195
|
*/
|
|
224
196
|
refererUrl?: string | undefined;
|
|
225
197
|
/**
|
|
226
|
-
* The URL to retrieve analytics for.
|
|
198
|
+
* The destination URL to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `https://example.com`, `https://example.com,https://other.com`, `-https://spam.com`.
|
|
227
199
|
*/
|
|
228
200
|
url?: string | undefined;
|
|
229
201
|
/**
|
|
230
|
-
* The
|
|
202
|
+
* The UTM source to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `google`, `google,twitter`, `-spam`.
|
|
231
203
|
*/
|
|
232
|
-
|
|
204
|
+
utmSource?: string | undefined;
|
|
233
205
|
/**
|
|
234
|
-
* The
|
|
206
|
+
* The UTM medium to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `cpc`, `cpc,social`, `-email`.
|
|
235
207
|
*/
|
|
236
|
-
|
|
208
|
+
utmMedium?: string | undefined;
|
|
237
209
|
/**
|
|
238
|
-
* The
|
|
210
|
+
* The UTM campaign to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `summer_sale`, `summer_sale,winter_sale`, `-old_campaign`.
|
|
239
211
|
*/
|
|
240
|
-
|
|
212
|
+
utmCampaign?: string | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* The UTM term to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`).
|
|
215
|
+
*/
|
|
216
|
+
utmTerm?: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* The UTM content to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`).
|
|
219
|
+
*/
|
|
220
|
+
utmContent?: string | undefined;
|
|
241
221
|
/**
|
|
242
222
|
* Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both.
|
|
243
223
|
*/
|
|
@@ -247,41 +227,21 @@ export type ListEventsRequest = {
|
|
|
247
227
|
*/
|
|
248
228
|
saleType?: QueryParamSaleType | undefined;
|
|
249
229
|
/**
|
|
250
|
-
* Search the events by a custom metadata value. Only available for lead and sale events.
|
|
230
|
+
* Search the events by a custom metadata value. Only available for lead and sale events. Examples: `metadata['key']:'value'`
|
|
251
231
|
*/
|
|
252
232
|
query?: string | undefined;
|
|
253
233
|
/**
|
|
254
|
-
* Deprecated:
|
|
255
|
-
*/
|
|
256
|
-
tagId?: string | undefined;
|
|
257
|
-
/**
|
|
258
|
-
* Deprecated: Use the `trigger` field instead. Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both.
|
|
259
|
-
*/
|
|
260
|
-
qr?: boolean | undefined;
|
|
261
|
-
/**
|
|
262
|
-
* The UTM source of the short link.
|
|
263
|
-
*/
|
|
264
|
-
utmSource?: string | null | undefined;
|
|
265
|
-
/**
|
|
266
|
-
* The UTM medium of the short link.
|
|
267
|
-
*/
|
|
268
|
-
utmMedium?: string | null | undefined;
|
|
269
|
-
/**
|
|
270
|
-
* The UTM campaign of the short link.
|
|
234
|
+
* Deprecated: This is automatically inferred from your workspace's defaultProgramId. The ID of the program to retrieve analytics for.
|
|
271
235
|
*/
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* The UTM term of the short link.
|
|
275
|
-
*/
|
|
276
|
-
utmTerm?: string | null | undefined;
|
|
236
|
+
programId?: string | undefined;
|
|
277
237
|
/**
|
|
278
|
-
* The
|
|
238
|
+
* Deprecated: Use `tagId` instead. The tag IDs to retrieve analytics for.
|
|
279
239
|
*/
|
|
280
|
-
|
|
240
|
+
tagIds?: string | undefined;
|
|
281
241
|
/**
|
|
282
|
-
*
|
|
242
|
+
* Deprecated: Use the `trigger` field instead. Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both.
|
|
283
243
|
*/
|
|
284
|
-
|
|
244
|
+
qr?: boolean | undefined;
|
|
285
245
|
page?: number | undefined;
|
|
286
246
|
limit?: number | undefined;
|
|
287
247
|
/**
|
|
@@ -1288,34 +1248,6 @@ export const QueryParamInterval$outboundSchema: z.ZodNativeEnum<
|
|
|
1288
1248
|
typeof QueryParamInterval
|
|
1289
1249
|
> = z.nativeEnum(QueryParamInterval);
|
|
1290
1250
|
|
|
1291
|
-
/** @internal */
|
|
1292
|
-
export const QueryParamContinent$outboundSchema: z.ZodNativeEnum<
|
|
1293
|
-
typeof QueryParamContinent
|
|
1294
|
-
> = z.nativeEnum(QueryParamContinent);
|
|
1295
|
-
|
|
1296
|
-
/** @internal */
|
|
1297
|
-
export const QueryParamTrigger$outboundSchema: z.ZodNativeEnum<
|
|
1298
|
-
typeof QueryParamTrigger
|
|
1299
|
-
> = z.nativeEnum(QueryParamTrigger);
|
|
1300
|
-
|
|
1301
|
-
/** @internal */
|
|
1302
|
-
export type ListEventsQueryParamTagIds$Outbound = string | Array<string>;
|
|
1303
|
-
|
|
1304
|
-
/** @internal */
|
|
1305
|
-
export const ListEventsQueryParamTagIds$outboundSchema: z.ZodType<
|
|
1306
|
-
ListEventsQueryParamTagIds$Outbound,
|
|
1307
|
-
z.ZodTypeDef,
|
|
1308
|
-
ListEventsQueryParamTagIds
|
|
1309
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
1310
|
-
|
|
1311
|
-
export function listEventsQueryParamTagIdsToJSON(
|
|
1312
|
-
listEventsQueryParamTagIds: ListEventsQueryParamTagIds,
|
|
1313
|
-
): string {
|
|
1314
|
-
return JSON.stringify(
|
|
1315
|
-
ListEventsQueryParamTagIds$outboundSchema.parse(listEventsQueryParamTagIds),
|
|
1316
|
-
);
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
1251
|
/** @internal */
|
|
1320
1252
|
export const QueryParamSaleType$outboundSchema: z.ZodNativeEnum<
|
|
1321
1253
|
typeof QueryParamSaleType
|
|
@@ -1344,7 +1276,9 @@ export type ListEventsRequest$Outbound = {
|
|
|
1344
1276
|
linkId?: string | undefined;
|
|
1345
1277
|
externalId?: string | undefined;
|
|
1346
1278
|
tenantId?: string | undefined;
|
|
1347
|
-
|
|
1279
|
+
tagId?: string | undefined;
|
|
1280
|
+
folderId?: string | undefined;
|
|
1281
|
+
groupId?: string | undefined;
|
|
1348
1282
|
partnerId?: string | undefined;
|
|
1349
1283
|
customerId?: string | undefined;
|
|
1350
1284
|
interval?: string | undefined;
|
|
@@ -1362,20 +1296,17 @@ export type ListEventsRequest$Outbound = {
|
|
|
1362
1296
|
referer?: string | undefined;
|
|
1363
1297
|
refererUrl?: string | undefined;
|
|
1364
1298
|
url?: string | undefined;
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1299
|
+
utm_source?: string | undefined;
|
|
1300
|
+
utm_medium?: string | undefined;
|
|
1301
|
+
utm_campaign?: string | undefined;
|
|
1302
|
+
utm_term?: string | undefined;
|
|
1303
|
+
utm_content?: string | undefined;
|
|
1368
1304
|
root?: boolean | undefined;
|
|
1369
1305
|
saleType?: string | undefined;
|
|
1370
1306
|
query?: string | undefined;
|
|
1371
|
-
|
|
1307
|
+
programId?: string | undefined;
|
|
1308
|
+
tagIds?: string | undefined;
|
|
1372
1309
|
qr?: boolean | undefined;
|
|
1373
|
-
utm_source?: string | null | undefined;
|
|
1374
|
-
utm_medium?: string | null | undefined;
|
|
1375
|
-
utm_campaign?: string | null | undefined;
|
|
1376
|
-
utm_term?: string | null | undefined;
|
|
1377
|
-
utm_content?: string | null | undefined;
|
|
1378
|
-
ref?: string | null | undefined;
|
|
1379
1310
|
page: number;
|
|
1380
1311
|
limit: number;
|
|
1381
1312
|
sortOrder: string;
|
|
@@ -1395,7 +1326,9 @@ export const ListEventsRequest$outboundSchema: z.ZodType<
|
|
|
1395
1326
|
linkId: z.string().optional(),
|
|
1396
1327
|
externalId: z.string().optional(),
|
|
1397
1328
|
tenantId: z.string().optional(),
|
|
1398
|
-
|
|
1329
|
+
tagId: z.string().optional(),
|
|
1330
|
+
folderId: z.string().optional(),
|
|
1331
|
+
groupId: z.string().optional(),
|
|
1399
1332
|
partnerId: z.string().optional(),
|
|
1400
1333
|
customerId: z.string().optional(),
|
|
1401
1334
|
interval: QueryParamInterval$outboundSchema.optional(),
|
|
@@ -1405,28 +1338,25 @@ export const ListEventsRequest$outboundSchema: z.ZodType<
|
|
|
1405
1338
|
country: z.string().optional(),
|
|
1406
1339
|
city: z.string().optional(),
|
|
1407
1340
|
region: z.string().optional(),
|
|
1408
|
-
continent:
|
|
1341
|
+
continent: z.string().optional(),
|
|
1409
1342
|
device: z.string().optional(),
|
|
1410
1343
|
browser: z.string().optional(),
|
|
1411
1344
|
os: z.string().optional(),
|
|
1412
|
-
trigger:
|
|
1345
|
+
trigger: z.string().optional(),
|
|
1413
1346
|
referer: z.string().optional(),
|
|
1414
1347
|
refererUrl: z.string().optional(),
|
|
1415
1348
|
url: z.string().optional(),
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1349
|
+
utmSource: z.string().optional(),
|
|
1350
|
+
utmMedium: z.string().optional(),
|
|
1351
|
+
utmCampaign: z.string().optional(),
|
|
1352
|
+
utmTerm: z.string().optional(),
|
|
1353
|
+
utmContent: z.string().optional(),
|
|
1419
1354
|
root: z.boolean().optional(),
|
|
1420
1355
|
saleType: QueryParamSaleType$outboundSchema.optional(),
|
|
1421
1356
|
query: z.string().optional(),
|
|
1422
|
-
|
|
1357
|
+
programId: z.string().optional(),
|
|
1358
|
+
tagIds: z.string().optional(),
|
|
1423
1359
|
qr: z.boolean().optional(),
|
|
1424
|
-
utmSource: z.nullable(z.string()).optional(),
|
|
1425
|
-
utmMedium: z.nullable(z.string()).optional(),
|
|
1426
|
-
utmCampaign: z.nullable(z.string()).optional(),
|
|
1427
|
-
utmTerm: z.nullable(z.string()).optional(),
|
|
1428
|
-
utmContent: z.nullable(z.string()).optional(),
|
|
1429
|
-
ref: z.nullable(z.string()).optional(),
|
|
1430
1360
|
page: z.number().default(1),
|
|
1431
1361
|
limit: z.number().default(100),
|
|
1432
1362
|
sortOrder: QueryParamSortOrder$outboundSchema.default("desc"),
|
|
@@ -108,6 +108,13 @@ export const ListPayoutsMode = {
|
|
|
108
108
|
} as const;
|
|
109
109
|
export type ListPayoutsMode = ClosedEnum<typeof ListPayoutsMode>;
|
|
110
110
|
|
|
111
|
+
export const Method = {
|
|
112
|
+
Connect: "connect",
|
|
113
|
+
Stablecoin: "stablecoin",
|
|
114
|
+
Paypal: "paypal",
|
|
115
|
+
} as const;
|
|
116
|
+
export type Method = ClosedEnum<typeof Method>;
|
|
117
|
+
|
|
111
118
|
export type ListPayoutsPartner = {
|
|
112
119
|
/**
|
|
113
120
|
* The partner's unique ID on Dub.
|
|
@@ -164,6 +171,8 @@ export type ListPayoutsResponseBody = {
|
|
|
164
171
|
paidAt: string | null;
|
|
165
172
|
failureReason?: string | null | undefined;
|
|
166
173
|
mode: ListPayoutsMode | null;
|
|
174
|
+
method: Method | null;
|
|
175
|
+
traceId?: string | null | undefined;
|
|
167
176
|
partner: ListPayoutsPartner;
|
|
168
177
|
user?: User | null | undefined;
|
|
169
178
|
};
|
|
@@ -229,6 +238,10 @@ export const ListPayoutsMode$inboundSchema: z.ZodNativeEnum<
|
|
|
229
238
|
typeof ListPayoutsMode
|
|
230
239
|
> = z.nativeEnum(ListPayoutsMode);
|
|
231
240
|
|
|
241
|
+
/** @internal */
|
|
242
|
+
export const Method$inboundSchema: z.ZodNativeEnum<typeof Method> = z
|
|
243
|
+
.nativeEnum(Method);
|
|
244
|
+
|
|
232
245
|
/** @internal */
|
|
233
246
|
export const ListPayoutsPartner$inboundSchema: z.ZodType<
|
|
234
247
|
ListPayoutsPartner,
|
|
@@ -293,6 +306,8 @@ export const ListPayoutsResponseBody$inboundSchema: z.ZodType<
|
|
|
293
306
|
paidAt: z.nullable(z.string()),
|
|
294
307
|
failureReason: z.nullable(z.string()).optional(),
|
|
295
308
|
mode: z.nullable(ListPayoutsMode$inboundSchema),
|
|
309
|
+
method: z.nullable(Method$inboundSchema),
|
|
310
|
+
traceId: z.nullable(z.string()).optional(),
|
|
296
311
|
partner: z.lazy(() => ListPayoutsPartner$inboundSchema),
|
|
297
312
|
user: z.nullable(z.lazy(() => User$inboundSchema)).optional(),
|
|
298
313
|
});
|
|
@@ -114,6 +114,14 @@ export type RejectBountySubmissionResponseBody = {
|
|
|
114
114
|
* The performance count of the submission
|
|
115
115
|
*/
|
|
116
116
|
performanceCount: number | null;
|
|
117
|
+
/**
|
|
118
|
+
* The social metric count (views or likes) for the social content
|
|
119
|
+
*/
|
|
120
|
+
socialMetricCount: number | null;
|
|
121
|
+
/**
|
|
122
|
+
* The date and time the submission's social metrics were last synced
|
|
123
|
+
*/
|
|
124
|
+
socialMetricsLastSyncedAt?: string | null | undefined;
|
|
117
125
|
/**
|
|
118
126
|
* The date and time the submission was created
|
|
119
127
|
*/
|
|
@@ -242,6 +250,8 @@ export const RejectBountySubmissionResponseBody$inboundSchema: z.ZodType<
|
|
|
242
250
|
),
|
|
243
251
|
status: RejectBountySubmissionStatus$inboundSchema,
|
|
244
252
|
performanceCount: z.nullable(z.number()),
|
|
253
|
+
socialMetricCount: z.nullable(z.number().int()),
|
|
254
|
+
socialMetricsLastSyncedAt: z.nullable(z.string()).optional(),
|
|
245
255
|
createdAt: z.string(),
|
|
246
256
|
completedAt: z.nullable(z.string()),
|
|
247
257
|
reviewedAt: z.nullable(z.string()),
|