dub 0.45.3 → 0.45.4
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/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/operations/bulkcreatelinks.d.ts +5 -0
- package/dist/commonjs/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/bulkcreatelinks.js +2 -0
- package/dist/commonjs/models/operations/bulkcreatelinks.js.map +1 -1
- package/dist/commonjs/models/operations/bulkupdatelinks.d.ts +5 -0
- package/dist/commonjs/models/operations/bulkupdatelinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/bulkupdatelinks.js +2 -0
- package/dist/commonjs/models/operations/bulkupdatelinks.js.map +1 -1
- package/dist/commonjs/models/operations/createlink.d.ts +5 -0
- package/dist/commonjs/models/operations/createlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createlink.js +2 -0
- package/dist/commonjs/models/operations/createlink.js.map +1 -1
- package/dist/commonjs/models/operations/updatelink.d.ts +5 -0
- package/dist/commonjs/models/operations/updatelink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatelink.js +2 -0
- package/dist/commonjs/models/operations/updatelink.js.map +1 -1
- package/dist/commonjs/models/operations/upsertlink.d.ts +5 -0
- package/dist/commonjs/models/operations/upsertlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upsertlink.js +2 -0
- package/dist/commonjs/models/operations/upsertlink.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/operations/bulkcreatelinks.d.ts +5 -0
- package/dist/esm/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/dist/esm/models/operations/bulkcreatelinks.js +2 -0
- package/dist/esm/models/operations/bulkcreatelinks.js.map +1 -1
- package/dist/esm/models/operations/bulkupdatelinks.d.ts +5 -0
- package/dist/esm/models/operations/bulkupdatelinks.d.ts.map +1 -1
- package/dist/esm/models/operations/bulkupdatelinks.js +2 -0
- package/dist/esm/models/operations/bulkupdatelinks.js.map +1 -1
- package/dist/esm/models/operations/createlink.d.ts +5 -0
- package/dist/esm/models/operations/createlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createlink.js +2 -0
- package/dist/esm/models/operations/createlink.js.map +1 -1
- package/dist/esm/models/operations/updatelink.d.ts +5 -0
- package/dist/esm/models/operations/updatelink.d.ts.map +1 -1
- package/dist/esm/models/operations/updatelink.js +2 -0
- package/dist/esm/models/operations/updatelink.js.map +1 -1
- package/dist/esm/models/operations/upsertlink.d.ts +5 -0
- package/dist/esm/models/operations/upsertlink.d.ts.map +1 -1
- package/dist/esm/models/operations/upsertlink.js +2 -0
- package/dist/esm/models/operations/upsertlink.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/bulkcreatelinks.ts +7 -0
- package/src/models/operations/bulkupdatelinks.ts +7 -0
- package/src/models/operations/createlink.ts +7 -0
- package/src/models/operations/updatelink.ts +7 -0
- package/src/models/operations/upsertlink.ts +7 -0
|
@@ -132,6 +132,10 @@ export type Data = {
|
|
|
132
132
|
* The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
|
133
133
|
*/
|
|
134
134
|
ref?: string | null | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of the program the short link is associated with.
|
|
137
|
+
*/
|
|
138
|
+
programId?: string | null | undefined;
|
|
135
139
|
/**
|
|
136
140
|
* An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
|
137
141
|
*/
|
|
@@ -276,6 +280,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
276
280
|
utm_term: z.nullable(z.string()).optional(),
|
|
277
281
|
utm_content: z.nullable(z.string()).optional(),
|
|
278
282
|
ref: z.nullable(z.string()).optional(),
|
|
283
|
+
programId: z.nullable(z.string()).optional(),
|
|
279
284
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
280
285
|
}).transform((v) => {
|
|
281
286
|
return remap$(v, {
|
|
@@ -316,6 +321,7 @@ export type Data$Outbound = {
|
|
|
316
321
|
utm_term?: string | null | undefined;
|
|
317
322
|
utm_content?: string | null | undefined;
|
|
318
323
|
ref?: string | null | undefined;
|
|
324
|
+
programId?: string | null | undefined;
|
|
319
325
|
webhookIds?: Array<string> | null | undefined;
|
|
320
326
|
};
|
|
321
327
|
|
|
@@ -349,6 +355,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
349
355
|
utmTerm: z.nullable(z.string()).optional(),
|
|
350
356
|
utmContent: z.nullable(z.string()).optional(),
|
|
351
357
|
ref: z.nullable(z.string()).optional(),
|
|
358
|
+
programId: z.nullable(z.string()).optional(),
|
|
352
359
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
353
360
|
}).transform((v) => {
|
|
354
361
|
return remap$(v, {
|
|
@@ -152,6 +152,10 @@ export type CreateLinkRequestBody = {
|
|
|
152
152
|
* The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
|
153
153
|
*/
|
|
154
154
|
ref?: string | null | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the program the short link is associated with.
|
|
157
|
+
*/
|
|
158
|
+
programId?: string | null | undefined;
|
|
155
159
|
/**
|
|
156
160
|
* An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
|
157
161
|
*/
|
|
@@ -281,6 +285,7 @@ export const CreateLinkRequestBody$inboundSchema: z.ZodType<
|
|
|
281
285
|
utm_term: z.nullable(z.string()).optional(),
|
|
282
286
|
utm_content: z.nullable(z.string()).optional(),
|
|
283
287
|
ref: z.nullable(z.string()).optional(),
|
|
288
|
+
programId: z.nullable(z.string()).optional(),
|
|
284
289
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
285
290
|
}).transform((v) => {
|
|
286
291
|
return remap$(v, {
|
|
@@ -326,6 +331,7 @@ export type CreateLinkRequestBody$Outbound = {
|
|
|
326
331
|
utm_term?: string | null | undefined;
|
|
327
332
|
utm_content?: string | null | undefined;
|
|
328
333
|
ref?: string | null | undefined;
|
|
334
|
+
programId?: string | null | undefined;
|
|
329
335
|
webhookIds?: Array<string> | null | undefined;
|
|
330
336
|
};
|
|
331
337
|
|
|
@@ -367,6 +373,7 @@ export const CreateLinkRequestBody$outboundSchema: z.ZodType<
|
|
|
367
373
|
utmTerm: z.nullable(z.string()).optional(),
|
|
368
374
|
utmContent: z.nullable(z.string()).optional(),
|
|
369
375
|
ref: z.nullable(z.string()).optional(),
|
|
376
|
+
programId: z.nullable(z.string()).optional(),
|
|
370
377
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
371
378
|
}).transform((v) => {
|
|
372
379
|
return remap$(v, {
|
|
@@ -152,6 +152,10 @@ export type UpdateLinkRequestBody = {
|
|
|
152
152
|
* The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
|
153
153
|
*/
|
|
154
154
|
ref?: string | null | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the program the short link is associated with.
|
|
157
|
+
*/
|
|
158
|
+
programId?: string | null | undefined;
|
|
155
159
|
/**
|
|
156
160
|
* An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
|
157
161
|
*/
|
|
@@ -300,6 +304,7 @@ export const UpdateLinkRequestBody$inboundSchema: z.ZodType<
|
|
|
300
304
|
utm_term: z.nullable(z.string()).optional(),
|
|
301
305
|
utm_content: z.nullable(z.string()).optional(),
|
|
302
306
|
ref: z.nullable(z.string()).optional(),
|
|
307
|
+
programId: z.nullable(z.string()).optional(),
|
|
303
308
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
304
309
|
}).transform((v) => {
|
|
305
310
|
return remap$(v, {
|
|
@@ -345,6 +350,7 @@ export type UpdateLinkRequestBody$Outbound = {
|
|
|
345
350
|
utm_term?: string | null | undefined;
|
|
346
351
|
utm_content?: string | null | undefined;
|
|
347
352
|
ref?: string | null | undefined;
|
|
353
|
+
programId?: string | null | undefined;
|
|
348
354
|
webhookIds?: Array<string> | null | undefined;
|
|
349
355
|
};
|
|
350
356
|
|
|
@@ -386,6 +392,7 @@ export const UpdateLinkRequestBody$outboundSchema: z.ZodType<
|
|
|
386
392
|
utmTerm: z.nullable(z.string()).optional(),
|
|
387
393
|
utmContent: z.nullable(z.string()).optional(),
|
|
388
394
|
ref: z.nullable(z.string()).optional(),
|
|
395
|
+
programId: z.nullable(z.string()).optional(),
|
|
389
396
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
390
397
|
}).transform((v) => {
|
|
391
398
|
return remap$(v, {
|
|
@@ -152,6 +152,10 @@ export type UpsertLinkRequestBody = {
|
|
|
152
152
|
* The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
|
|
153
153
|
*/
|
|
154
154
|
ref?: string | null | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the program the short link is associated with.
|
|
157
|
+
*/
|
|
158
|
+
programId?: string | null | undefined;
|
|
155
159
|
/**
|
|
156
160
|
* An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
|
|
157
161
|
*/
|
|
@@ -292,6 +296,7 @@ export const UpsertLinkRequestBody$inboundSchema: z.ZodType<
|
|
|
292
296
|
utm_term: z.nullable(z.string()).optional(),
|
|
293
297
|
utm_content: z.nullable(z.string()).optional(),
|
|
294
298
|
ref: z.nullable(z.string()).optional(),
|
|
299
|
+
programId: z.nullable(z.string()).optional(),
|
|
295
300
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
296
301
|
}).transform((v) => {
|
|
297
302
|
return remap$(v, {
|
|
@@ -337,6 +342,7 @@ export type UpsertLinkRequestBody$Outbound = {
|
|
|
337
342
|
utm_term?: string | null | undefined;
|
|
338
343
|
utm_content?: string | null | undefined;
|
|
339
344
|
ref?: string | null | undefined;
|
|
345
|
+
programId?: string | null | undefined;
|
|
340
346
|
webhookIds?: Array<string> | null | undefined;
|
|
341
347
|
};
|
|
342
348
|
|
|
@@ -378,6 +384,7 @@ export const UpsertLinkRequestBody$outboundSchema: z.ZodType<
|
|
|
378
384
|
utmTerm: z.nullable(z.string()).optional(),
|
|
379
385
|
utmContent: z.nullable(z.string()).optional(),
|
|
380
386
|
ref: z.nullable(z.string()).optional(),
|
|
387
|
+
programId: z.nullable(z.string()).optional(),
|
|
381
388
|
webhookIds: z.nullable(z.array(z.string())).optional(),
|
|
382
389
|
}).transform((v) => {
|
|
383
390
|
return remap$(v, {
|