lancer-shared 1.2.288 → 1.2.290
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/bundle.cjs.js +2 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +2 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +23 -0
- package/dist/schemas/logger/log-event.d.ts +5 -0
- package/dist/schemas/plan/index.d.ts +77 -162
- package/dist/schemas/scraper/scrape-payload.d.ts +7 -0
- package/package.json +1 -1
|
@@ -67,6 +67,7 @@ export declare const ROUTES: {
|
|
|
67
67
|
readonly BY_PROVIDER: (provider: string) => string;
|
|
68
68
|
readonly BY_PROVIDER_AND_ID: (provider: string, id: string) => string;
|
|
69
69
|
readonly REFRESH_PROXY: (bidderId: string) => string;
|
|
70
|
+
readonly AGENCIES: "admin/bidder-accounts/agencies";
|
|
70
71
|
};
|
|
71
72
|
readonly SCRAPER_ACCOUNTS: {
|
|
72
73
|
readonly BASE: "admin/scraper-accounts";
|
|
@@ -26,6 +26,7 @@ export declare const bidderAccountAgencySchema: z.ZodObject<{
|
|
|
26
26
|
specializedProfiles: string[];
|
|
27
27
|
}>, "many">;
|
|
28
28
|
organizationId: z.ZodString;
|
|
29
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
29
30
|
}, "strip", z.ZodTypeAny, {
|
|
30
31
|
name: string;
|
|
31
32
|
organizationId: string;
|
|
@@ -34,6 +35,7 @@ export declare const bidderAccountAgencySchema: z.ZodObject<{
|
|
|
34
35
|
name: string;
|
|
35
36
|
specializedProfiles: string[];
|
|
36
37
|
}[];
|
|
38
|
+
agencyId: string | null;
|
|
37
39
|
}, {
|
|
38
40
|
name: string;
|
|
39
41
|
organizationId: string;
|
|
@@ -42,6 +44,7 @@ export declare const bidderAccountAgencySchema: z.ZodObject<{
|
|
|
42
44
|
name: string;
|
|
43
45
|
specializedProfiles: string[];
|
|
44
46
|
}[];
|
|
47
|
+
agencyId: string | null;
|
|
45
48
|
}>;
|
|
46
49
|
export declare const bidderAccountSchema: z.ZodObject<{
|
|
47
50
|
id: z.ZodString;
|
|
@@ -72,6 +75,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
72
75
|
specializedProfiles: string[];
|
|
73
76
|
}>, "many">;
|
|
74
77
|
organizationId: z.ZodString;
|
|
78
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
75
79
|
}, "strip", z.ZodTypeAny, {
|
|
76
80
|
name: string;
|
|
77
81
|
organizationId: string;
|
|
@@ -80,6 +84,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
80
84
|
name: string;
|
|
81
85
|
specializedProfiles: string[];
|
|
82
86
|
}[];
|
|
87
|
+
agencyId: string | null;
|
|
83
88
|
}, {
|
|
84
89
|
name: string;
|
|
85
90
|
organizationId: string;
|
|
@@ -88,6 +93,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
88
93
|
name: string;
|
|
89
94
|
specializedProfiles: string[];
|
|
90
95
|
}[];
|
|
96
|
+
agencyId: string | null;
|
|
91
97
|
}>, "many">>;
|
|
92
98
|
instanceId: z.ZodNullable<z.ZodString>;
|
|
93
99
|
createdAt: z.ZodNumber;
|
|
@@ -120,6 +126,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
120
126
|
name: string;
|
|
121
127
|
specializedProfiles: string[];
|
|
122
128
|
}[];
|
|
129
|
+
agencyId: string | null;
|
|
123
130
|
}[] | null;
|
|
124
131
|
instanceId: string | null;
|
|
125
132
|
createdAt: number;
|
|
@@ -151,6 +158,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
151
158
|
name: string;
|
|
152
159
|
specializedProfiles: string[];
|
|
153
160
|
}[];
|
|
161
|
+
agencyId: string | null;
|
|
154
162
|
}[] | null;
|
|
155
163
|
instanceId: string | null;
|
|
156
164
|
createdAt: number;
|
|
@@ -204,6 +212,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
204
212
|
specializedProfiles: string[];
|
|
205
213
|
}>, "many">;
|
|
206
214
|
organizationId: z.ZodString;
|
|
215
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
207
216
|
}, "strip", z.ZodTypeAny, {
|
|
208
217
|
name: string;
|
|
209
218
|
organizationId: string;
|
|
@@ -212,6 +221,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
212
221
|
name: string;
|
|
213
222
|
specializedProfiles: string[];
|
|
214
223
|
}[];
|
|
224
|
+
agencyId: string | null;
|
|
215
225
|
}, {
|
|
216
226
|
name: string;
|
|
217
227
|
organizationId: string;
|
|
@@ -220,6 +230,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
220
230
|
name: string;
|
|
221
231
|
specializedProfiles: string[];
|
|
222
232
|
}[];
|
|
233
|
+
agencyId: string | null;
|
|
223
234
|
}>, "many">>;
|
|
224
235
|
instanceId: z.ZodNullable<z.ZodString>;
|
|
225
236
|
createdAt: z.ZodNumber;
|
|
@@ -249,6 +260,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
249
260
|
name: string;
|
|
250
261
|
specializedProfiles: string[];
|
|
251
262
|
}[];
|
|
263
|
+
agencyId: string | null;
|
|
252
264
|
}[] | null;
|
|
253
265
|
proxyCountry: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW" | null;
|
|
254
266
|
}, {
|
|
@@ -270,6 +282,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
270
282
|
name: string;
|
|
271
283
|
specializedProfiles: string[];
|
|
272
284
|
}[];
|
|
285
|
+
agencyId: string | null;
|
|
273
286
|
}[] | null;
|
|
274
287
|
proxyCountry: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW" | null;
|
|
275
288
|
}>;
|
|
@@ -303,6 +316,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
303
316
|
specializedProfiles: string[];
|
|
304
317
|
}>, "many">;
|
|
305
318
|
organizationId: z.ZodString;
|
|
319
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
306
320
|
}, "strip", z.ZodTypeAny, {
|
|
307
321
|
name: string;
|
|
308
322
|
organizationId: string;
|
|
@@ -311,6 +325,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
311
325
|
name: string;
|
|
312
326
|
specializedProfiles: string[];
|
|
313
327
|
}[];
|
|
328
|
+
agencyId: string | null;
|
|
314
329
|
}, {
|
|
315
330
|
name: string;
|
|
316
331
|
organizationId: string;
|
|
@@ -319,6 +334,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
319
334
|
name: string;
|
|
320
335
|
specializedProfiles: string[];
|
|
321
336
|
}[];
|
|
337
|
+
agencyId: string | null;
|
|
322
338
|
}>, "many">>>;
|
|
323
339
|
instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
340
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -349,6 +365,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
349
365
|
name: string;
|
|
350
366
|
specializedProfiles: string[];
|
|
351
367
|
}[];
|
|
368
|
+
agencyId: string | null;
|
|
352
369
|
}[] | null | undefined;
|
|
353
370
|
instanceId?: string | null | undefined;
|
|
354
371
|
createdAt?: number | undefined;
|
|
@@ -379,6 +396,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
379
396
|
name: string;
|
|
380
397
|
specializedProfiles: string[];
|
|
381
398
|
}[];
|
|
399
|
+
agencyId: string | null;
|
|
382
400
|
}[] | null | undefined;
|
|
383
401
|
instanceId?: string | null | undefined;
|
|
384
402
|
createdAt?: number | undefined;
|
|
@@ -413,6 +431,7 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
413
431
|
specializedProfiles: string[];
|
|
414
432
|
}>, "many">;
|
|
415
433
|
organizationId: z.ZodString;
|
|
434
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
416
435
|
}, "strip", z.ZodTypeAny, {
|
|
417
436
|
name: string;
|
|
418
437
|
organizationId: string;
|
|
@@ -421,6 +440,7 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
421
440
|
name: string;
|
|
422
441
|
specializedProfiles: string[];
|
|
423
442
|
}[];
|
|
443
|
+
agencyId: string | null;
|
|
424
444
|
}, {
|
|
425
445
|
name: string;
|
|
426
446
|
organizationId: string;
|
|
@@ -429,6 +449,7 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
429
449
|
name: string;
|
|
430
450
|
specializedProfiles: string[];
|
|
431
451
|
}[];
|
|
452
|
+
agencyId: string | null;
|
|
432
453
|
}>, "many">>;
|
|
433
454
|
}, "strip", z.ZodTypeAny, {
|
|
434
455
|
agencies: {
|
|
@@ -439,6 +460,7 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
439
460
|
name: string;
|
|
440
461
|
specializedProfiles: string[];
|
|
441
462
|
}[];
|
|
463
|
+
agencyId: string | null;
|
|
442
464
|
}[] | null;
|
|
443
465
|
accountName: string | null;
|
|
444
466
|
accountPhotoUrl: string | null;
|
|
@@ -451,6 +473,7 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
451
473
|
name: string;
|
|
452
474
|
specializedProfiles: string[];
|
|
453
475
|
}[];
|
|
476
|
+
agencyId: string | null;
|
|
454
477
|
}[] | null;
|
|
455
478
|
accountName: string | null;
|
|
456
479
|
accountPhotoUrl: string | null;
|
|
@@ -200,6 +200,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
200
200
|
specializedProfiles: string[];
|
|
201
201
|
}>, "many">;
|
|
202
202
|
organizationId: z.ZodString;
|
|
203
|
+
agencyId: z.ZodNullable<z.ZodString>;
|
|
203
204
|
}, "strip", z.ZodTypeAny, {
|
|
204
205
|
name: string;
|
|
205
206
|
organizationId: string;
|
|
@@ -208,6 +209,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
208
209
|
name: string;
|
|
209
210
|
specializedProfiles: string[];
|
|
210
211
|
}[];
|
|
212
|
+
agencyId: string | null;
|
|
211
213
|
}, {
|
|
212
214
|
name: string;
|
|
213
215
|
organizationId: string;
|
|
@@ -216,6 +218,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
216
218
|
name: string;
|
|
217
219
|
specializedProfiles: string[];
|
|
218
220
|
}[];
|
|
221
|
+
agencyId: string | null;
|
|
219
222
|
}>, "many">;
|
|
220
223
|
}, "strip", z.ZodTypeAny, {
|
|
221
224
|
agencies: {
|
|
@@ -226,6 +229,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
226
229
|
name: string;
|
|
227
230
|
specializedProfiles: string[];
|
|
228
231
|
}[];
|
|
232
|
+
agencyId: string | null;
|
|
229
233
|
}[];
|
|
230
234
|
bidderAccountId: string;
|
|
231
235
|
accountName: string;
|
|
@@ -239,6 +243,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
239
243
|
name: string;
|
|
240
244
|
specializedProfiles: string[];
|
|
241
245
|
}[];
|
|
246
|
+
agencyId: string | null;
|
|
242
247
|
}[];
|
|
243
248
|
bidderAccountId: string;
|
|
244
249
|
accountName: string;
|