lancer-shared 1.2.287 → 1.2.289

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.
@@ -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;
@@ -2171,6 +2171,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2171
2171
  specializedProfiles: string[];
2172
2172
  }>, "many">;
2173
2173
  organizationId: z.ZodString;
2174
+ agencyId: z.ZodNullable<z.ZodString>;
2174
2175
  }, "strip", z.ZodTypeAny, {
2175
2176
  name: string;
2176
2177
  organizationId: string;
@@ -2179,6 +2180,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2179
2180
  name: string;
2180
2181
  specializedProfiles: string[];
2181
2182
  }[];
2183
+ agencyId: string | null;
2182
2184
  }, {
2183
2185
  name: string;
2184
2186
  organizationId: string;
@@ -2187,6 +2189,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2187
2189
  name: string;
2188
2190
  specializedProfiles: string[];
2189
2191
  }[];
2192
+ agencyId: string | null;
2190
2193
  }>, "many">>;
2191
2194
  instanceId: z.ZodNullable<z.ZodString>;
2192
2195
  createdAt: z.ZodNumber;
@@ -2219,6 +2222,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2219
2222
  name: string;
2220
2223
  specializedProfiles: string[];
2221
2224
  }[];
2225
+ agencyId: string | null;
2222
2226
  }[] | null;
2223
2227
  instanceId: string | null;
2224
2228
  createdAt: number;
@@ -2250,6 +2254,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2250
2254
  name: string;
2251
2255
  specializedProfiles: string[];
2252
2256
  }[];
2257
+ agencyId: string | null;
2253
2258
  }[] | null;
2254
2259
  instanceId: string | null;
2255
2260
  createdAt: number;
@@ -2640,6 +2645,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2640
2645
  name: string;
2641
2646
  specializedProfiles: string[];
2642
2647
  }[];
2648
+ agencyId: string | null;
2643
2649
  }[] | null;
2644
2650
  instanceId: string | null;
2645
2651
  createdAt: number;
@@ -3030,6 +3036,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3030
3036
  name: string;
3031
3037
  specializedProfiles: string[];
3032
3038
  }[];
3039
+ agencyId: string | null;
3033
3040
  }[] | null;
3034
3041
  instanceId: string | null;
3035
3042
  createdAt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.287",
3
+ "version": "1.2.289",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",