lancer-shared 1.2.326 → 1.2.327

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.
Files changed (41) hide show
  1. package/dist/bundle.cjs.js +105 -0
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +94 -1
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/constants/chat.d.ts +17 -1
  6. package/dist/constants/routes.d.ts +1 -0
  7. package/dist/schemas/account/bidder-account.d.ts +33 -33
  8. package/dist/schemas/account/scraper-account.d.ts +10 -10
  9. package/dist/schemas/agent/index.d.ts +208 -208
  10. package/dist/schemas/agent/proposal.d.ts +2 -2
  11. package/dist/schemas/bidder/bid.d.ts +1744 -1744
  12. package/dist/schemas/campaign/campaign-analytics.d.ts +250 -250
  13. package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
  14. package/dist/schemas/campaign/campaign.d.ts +69 -69
  15. package/dist/schemas/chat/index.d.ts +563 -68
  16. package/dist/schemas/dashboard/index.d.ts +18 -18
  17. package/dist/schemas/golden-dataset/sample.d.ts +4 -4
  18. package/dist/schemas/job/index.d.ts +70 -70
  19. package/dist/schemas/job/job-details.d.ts +14 -14
  20. package/dist/schemas/job/job-listing.d.ts +10 -10
  21. package/dist/schemas/job/nuxt.d.ts +6 -6
  22. package/dist/schemas/lead/index.d.ts +683 -683
  23. package/dist/schemas/lead/lead-status.d.ts +2 -2
  24. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +98 -98
  25. package/dist/schemas/logger/log-event.d.ts +40 -40
  26. package/dist/schemas/logger/scraper-events.d.ts +8 -8
  27. package/dist/schemas/notifications/index.d.ts +4 -4
  28. package/dist/schemas/organization/billing.d.ts +2 -2
  29. package/dist/schemas/organization/index.d.ts +34 -34
  30. package/dist/schemas/organization/onboarding.d.ts +2 -2
  31. package/dist/schemas/organization/organization-leads.d.ts +2 -2
  32. package/dist/schemas/organization/subscription.d.ts +6 -6
  33. package/dist/schemas/plan/index.d.ts +2 -2
  34. package/dist/schemas/proxy/proxy.d.ts +3 -3
  35. package/dist/schemas/scraper/scrape-payload.d.ts +262 -262
  36. package/dist/schemas/scraper/scrape-result.d.ts +86 -86
  37. package/dist/schemas/transaction/index.d.ts +4 -4
  38. package/dist/schemas/upwork-talent/index.d.ts +8 -8
  39. package/dist/schemas/usage/index.d.ts +2 -2
  40. package/dist/schemas/usage-event/index.d.ts +8 -8
  41. package/package.json +1 -1
@@ -1,3 +1,19 @@
1
- import { RoomType } from '../schemas/chat';
1
+ import { RoomCrmStatus, RoomType } from '../schemas/chat';
2
2
  export declare const ROOM_EXTENDED_TYPE_MAP: Record<RoomType, readonly string[]>;
3
3
  export declare const ROOM_TYPES_MATCHING_EMPTY_EXTENDED_TYPE: Set<RoomType>;
4
+ export declare const ROOM_CRM_STATUS_ORDER: readonly RoomCrmStatus[];
5
+ export declare const ROOM_CRM_STATUS_LABELS: Record<RoomCrmStatus, string>;
6
+ export declare const DEFAULT_ROOM_CRM_STATUS: RoomCrmStatus;
7
+ export declare const ROOM_CRM_STATUS_IDS: {
8
+ readonly replied: 1;
9
+ readonly follow_up: 2;
10
+ readonly interested: 3;
11
+ readonly closed: 4;
12
+ readonly not_interested: 5;
13
+ };
14
+ export type RoomCrmStatusId = (typeof ROOM_CRM_STATUS_IDS)[RoomCrmStatus];
15
+ export declare const ROOM_CRM_STATUS_BY_ID: Record<RoomCrmStatusId, RoomCrmStatus>;
16
+ export declare const ROOM_CRM_KANBAN_STATUS_ORDER: readonly RoomCrmStatus[];
17
+ export declare const isRoomCrmStatus: (status: string) => status is "closed" | "replied" | "interested" | "follow_up" | "not_interested";
18
+ export declare const normalizeRoomCrmStatus: (status?: string | null) => RoomCrmStatus;
19
+ export declare const normalizeRoomCrmStatuses: (statuses?: string[]) => RoomCrmStatus[];
@@ -170,6 +170,7 @@ export declare const ROUTES: {
170
170
  readonly ROOMS_TAGS: (organizationId: string) => string;
171
171
  readonly ROOM_TAG: (organizationId: string, bidderAccountId: string, roomId: string) => string;
172
172
  readonly ROOM_NOTES: (organizationId: string, bidderAccountId: string, roomId: string) => string;
173
+ readonly ROOM_CRM_STATUS: (organizationId: string, bidderAccountId: string, roomId: string) => string;
173
174
  readonly CONNECT_ACCOUNT: (organizationId: string, bidderAccountId: string) => string;
174
175
  readonly ROOMS: (id: string, bidderAccountId: string) => string;
175
176
  readonly ROOM: (id: string, bidderAccountId: string, roomId: string) => string;
@@ -39,21 +39,21 @@ export declare const bidderAccountAgencySchema: z.ZodObject<{
39
39
  agencyId: z.ZodNullable<z.ZodString>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  name: string;
42
- organizationId: string;
43
42
  logoUrl: string | null;
44
43
  contractors: {
45
44
  name: string;
46
45
  specializedProfiles: string[];
47
46
  }[];
47
+ organizationId: string;
48
48
  agencyId: string | null;
49
49
  }, {
50
50
  name: string;
51
- organizationId: string;
52
51
  logoUrl: string | null;
53
52
  contractors: {
54
53
  name: string;
55
54
  specializedProfiles: string[];
56
55
  }[];
56
+ organizationId: string;
57
57
  agencyId: string | null;
58
58
  }>;
59
59
  export declare const bidderAccountSchema: z.ZodObject<{
@@ -89,21 +89,21 @@ export declare const bidderAccountSchema: z.ZodObject<{
89
89
  agencyId: z.ZodNullable<z.ZodString>;
90
90
  }, "strip", z.ZodTypeAny, {
91
91
  name: string;
92
- organizationId: string;
93
92
  logoUrl: string | null;
94
93
  contractors: {
95
94
  name: string;
96
95
  specializedProfiles: string[];
97
96
  }[];
97
+ organizationId: string;
98
98
  agencyId: string | null;
99
99
  }, {
100
100
  name: string;
101
- organizationId: string;
102
101
  logoUrl: string | null;
103
102
  contractors: {
104
103
  name: string;
105
104
  specializedProfiles: string[];
106
105
  }[];
106
+ organizationId: string;
107
107
  agencyId: string | null;
108
108
  }>, "many">>;
109
109
  specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -137,9 +137,6 @@ export declare const bidderAccountSchema: z.ZodObject<{
137
137
  email: string;
138
138
  status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
139
139
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
140
- createdAt: number;
141
- updatedAt: number;
142
- userId: string | null;
143
140
  password: string;
144
141
  provider: "user-provided" | "lancer-provided";
145
142
  isConnecting: boolean | null;
@@ -153,12 +150,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
153
150
  profilePhotoUrl: string | null;
154
151
  agencies: {
155
152
  name: string;
156
- organizationId: string;
157
153
  logoUrl: string | null;
158
154
  contractors: {
159
155
  name: string;
160
156
  specializedProfiles: string[];
161
157
  }[];
158
+ organizationId: string;
162
159
  agencyId: string | null;
163
160
  }[] | null;
164
161
  specialisedProfiles: string[] | null;
@@ -167,11 +164,14 @@ export declare const bidderAccountSchema: z.ZodObject<{
167
164
  imageUrl: string;
168
165
  }[] | null;
169
166
  instanceId: string | null;
167
+ createdAt: number;
168
+ updatedAt: number;
170
169
  errorMessage: string | null;
171
170
  connectedToChat: boolean | null;
172
171
  failedToRefreshRooms: boolean | null;
173
172
  failedToRefreshRoomsAttempts: number | null;
174
173
  roomsRefreshedAt: number | null;
174
+ userId: string | null;
175
175
  connectingToChatStartedAt: number | null;
176
176
  shouldRefetchAllRooms: boolean | null;
177
177
  googleOauthTokens?: any;
@@ -182,9 +182,6 @@ export declare const bidderAccountSchema: z.ZodObject<{
182
182
  email: string;
183
183
  status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
184
184
  region: "USOnly" | "UKOnly" | "Worldwide" | "All";
185
- createdAt: number;
186
- updatedAt: number;
187
- userId: string | null;
188
185
  password: string;
189
186
  provider: "user-provided" | "lancer-provided";
190
187
  isConnecting: boolean | null;
@@ -198,12 +195,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
198
195
  profilePhotoUrl: string | null;
199
196
  agencies: {
200
197
  name: string;
201
- organizationId: string;
202
198
  logoUrl: string | null;
203
199
  contractors: {
204
200
  name: string;
205
201
  specializedProfiles: string[];
206
202
  }[];
203
+ organizationId: string;
207
204
  agencyId: string | null;
208
205
  }[] | null;
209
206
  specialisedProfiles: string[] | null;
@@ -212,11 +209,14 @@ export declare const bidderAccountSchema: z.ZodObject<{
212
209
  imageUrl: string;
213
210
  }[] | null;
214
211
  instanceId: string | null;
212
+ createdAt: number;
213
+ updatedAt: number;
215
214
  errorMessage: string | null;
216
215
  connectedToChat: boolean | null;
217
216
  failedToRefreshRooms: boolean | null;
218
217
  failedToRefreshRoomsAttempts: number | null;
219
218
  roomsRefreshedAt: number | null;
219
+ userId: string | null;
220
220
  connectingToChatStartedAt: number | null;
221
221
  shouldRefetchAllRooms: boolean | null;
222
222
  googleOauthTokens?: any;
@@ -274,21 +274,21 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
274
274
  agencyId: z.ZodNullable<z.ZodString>;
275
275
  }, "strip", z.ZodTypeAny, {
276
276
  name: string;
277
- organizationId: string;
278
277
  logoUrl: string | null;
279
278
  contractors: {
280
279
  name: string;
281
280
  specializedProfiles: string[];
282
281
  }[];
282
+ organizationId: string;
283
283
  agencyId: string | null;
284
284
  }, {
285
285
  name: string;
286
- organizationId: string;
287
286
  logoUrl: string | null;
288
287
  contractors: {
289
288
  name: string;
290
289
  specializedProfiles: string[];
291
290
  }[];
291
+ organizationId: string;
292
292
  agencyId: string | null;
293
293
  }>, "many">>;
294
294
  specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -331,12 +331,12 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
331
331
  profilePhotoUrl: string | null;
332
332
  agencies: {
333
333
  name: string;
334
- organizationId: string;
335
334
  logoUrl: string | null;
336
335
  contractors: {
337
336
  name: string;
338
337
  specializedProfiles: string[];
339
338
  }[];
339
+ organizationId: string;
340
340
  agencyId: string | null;
341
341
  }[] | null;
342
342
  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;
@@ -353,12 +353,12 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
353
353
  profilePhotoUrl: string | null;
354
354
  agencies: {
355
355
  name: string;
356
- organizationId: string;
357
356
  logoUrl: string | null;
358
357
  contractors: {
359
358
  name: string;
360
359
  specializedProfiles: string[];
361
360
  }[];
361
+ organizationId: string;
362
362
  agencyId: string | null;
363
363
  }[] | null;
364
364
  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;
@@ -368,9 +368,6 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
368
368
  email: z.ZodOptional<z.ZodString>;
369
369
  status: z.ZodOptional<z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>>;
370
370
  region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
371
- createdAt: z.ZodOptional<z.ZodNumber>;
372
- updatedAt: z.ZodOptional<z.ZodNumber>;
373
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
371
  password: z.ZodOptional<z.ZodString>;
375
372
  provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
376
373
  isConnecting: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -400,21 +397,21 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
400
397
  agencyId: z.ZodNullable<z.ZodString>;
401
398
  }, "strip", z.ZodTypeAny, {
402
399
  name: string;
403
- organizationId: string;
404
400
  logoUrl: string | null;
405
401
  contractors: {
406
402
  name: string;
407
403
  specializedProfiles: string[];
408
404
  }[];
405
+ organizationId: string;
409
406
  agencyId: string | null;
410
407
  }, {
411
408
  name: string;
412
- organizationId: string;
413
409
  logoUrl: string | null;
414
410
  contractors: {
415
411
  name: string;
416
412
  specializedProfiles: string[];
417
413
  }[];
414
+ organizationId: string;
418
415
  agencyId: string | null;
419
416
  }>, "many">>>;
420
417
  specialisedProfiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
@@ -429,12 +426,15 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
429
426
  imageUrl: string;
430
427
  }>, "many">>>;
431
428
  instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
+ createdAt: z.ZodOptional<z.ZodNumber>;
430
+ updatedAt: z.ZodOptional<z.ZodNumber>;
432
431
  isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
433
432
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
433
  connectedToChat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
435
434
  failedToRefreshRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
436
435
  failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
436
  roomsRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
438
  connectingToChatStartedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
439
  shouldRefetchAllRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
440
440
  }, "strip", z.ZodTypeAny, {
@@ -442,9 +442,6 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
442
442
  email?: string | undefined;
443
443
  status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
444
444
  region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
445
- createdAt?: number | undefined;
446
- updatedAt?: number | undefined;
447
- userId?: string | null | undefined;
448
445
  password?: string | undefined;
449
446
  provider?: "user-provided" | "lancer-provided" | undefined;
450
447
  isConnecting?: boolean | null | undefined;
@@ -459,12 +456,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
459
456
  profilePhotoUrl?: string | null | undefined;
460
457
  agencies?: {
461
458
  name: string;
462
- organizationId: string;
463
459
  logoUrl: string | null;
464
460
  contractors: {
465
461
  name: string;
466
462
  specializedProfiles: string[];
467
463
  }[];
464
+ organizationId: string;
468
465
  agencyId: string | null;
469
466
  }[] | null | undefined;
470
467
  specialisedProfiles?: string[] | null | undefined;
@@ -473,12 +470,15 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
473
470
  imageUrl: string;
474
471
  }[] | null | undefined;
475
472
  instanceId?: string | null | undefined;
473
+ createdAt?: number | undefined;
474
+ updatedAt?: number | undefined;
476
475
  isProtected?: boolean | undefined;
477
476
  errorMessage?: string | null | undefined;
478
477
  connectedToChat?: boolean | null | undefined;
479
478
  failedToRefreshRooms?: boolean | null | undefined;
480
479
  failedToRefreshRoomsAttempts?: number | null | undefined;
481
480
  roomsRefreshedAt?: number | null | undefined;
481
+ userId?: string | null | undefined;
482
482
  connectingToChatStartedAt?: number | null | undefined;
483
483
  shouldRefetchAllRooms?: boolean | null | undefined;
484
484
  }, {
@@ -486,9 +486,6 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
486
486
  email?: string | undefined;
487
487
  status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
488
488
  region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
489
- createdAt?: number | undefined;
490
- updatedAt?: number | undefined;
491
- userId?: string | null | undefined;
492
489
  password?: string | undefined;
493
490
  provider?: "user-provided" | "lancer-provided" | undefined;
494
491
  isConnecting?: boolean | null | undefined;
@@ -503,12 +500,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
503
500
  profilePhotoUrl?: string | null | undefined;
504
501
  agencies?: {
505
502
  name: string;
506
- organizationId: string;
507
503
  logoUrl: string | null;
508
504
  contractors: {
509
505
  name: string;
510
506
  specializedProfiles: string[];
511
507
  }[];
508
+ organizationId: string;
512
509
  agencyId: string | null;
513
510
  }[] | null | undefined;
514
511
  specialisedProfiles?: string[] | null | undefined;
@@ -517,12 +514,15 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
517
514
  imageUrl: string;
518
515
  }[] | null | undefined;
519
516
  instanceId?: string | null | undefined;
517
+ createdAt?: number | undefined;
518
+ updatedAt?: number | undefined;
520
519
  isProtected?: boolean | undefined;
521
520
  errorMessage?: string | null | undefined;
522
521
  connectedToChat?: boolean | null | undefined;
523
522
  failedToRefreshRooms?: boolean | null | undefined;
524
523
  failedToRefreshRoomsAttempts?: number | null | undefined;
525
524
  roomsRefreshedAt?: number | null | undefined;
525
+ userId?: string | null | undefined;
526
526
  connectingToChatStartedAt?: number | null | undefined;
527
527
  shouldRefetchAllRooms?: boolean | null | undefined;
528
528
  }>;
@@ -556,32 +556,32 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
556
556
  agencyId: z.ZodNullable<z.ZodString>;
557
557
  }, "strip", z.ZodTypeAny, {
558
558
  name: string;
559
- organizationId: string;
560
559
  logoUrl: string | null;
561
560
  contractors: {
562
561
  name: string;
563
562
  specializedProfiles: string[];
564
563
  }[];
564
+ organizationId: string;
565
565
  agencyId: string | null;
566
566
  }, {
567
567
  name: string;
568
- organizationId: string;
569
568
  logoUrl: string | null;
570
569
  contractors: {
571
570
  name: string;
572
571
  specializedProfiles: string[];
573
572
  }[];
573
+ organizationId: string;
574
574
  agencyId: string | null;
575
575
  }>, "many">>;
576
576
  }, "strip", z.ZodTypeAny, {
577
577
  agencies: {
578
578
  name: string;
579
- organizationId: string;
580
579
  logoUrl: string | null;
581
580
  contractors: {
582
581
  name: string;
583
582
  specializedProfiles: string[];
584
583
  }[];
584
+ organizationId: string;
585
585
  agencyId: string | null;
586
586
  }[] | null;
587
587
  accountName: string | null;
@@ -589,12 +589,12 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
589
589
  }, {
590
590
  agencies: {
591
591
  name: string;
592
- organizationId: string;
593
592
  logoUrl: string | null;
594
593
  contractors: {
595
594
  name: string;
596
595
  specializedProfiles: string[];
597
596
  }[];
597
+ organizationId: string;
598
598
  agencyId: string | null;
599
599
  }[] | null;
600
600
  accountName: string | null;
@@ -21,12 +21,12 @@ export declare const scraperAccountSchema: z.ZodObject<{
21
21
  id: string;
22
22
  email: string;
23
23
  region: "USOnly" | "UKOnly" | "Worldwide";
24
- createdAt: number;
25
- updatedAt: number;
26
24
  password: string;
27
25
  securityQuestionAnswer: string | null;
28
26
  lastUsed: number | null;
29
27
  proxyId: string | null;
28
+ createdAt: number;
29
+ updatedAt: number;
30
30
  isActive: boolean;
31
31
  multiloginProfileId: string | null;
32
32
  isProtected?: boolean | undefined;
@@ -35,12 +35,12 @@ export declare const scraperAccountSchema: z.ZodObject<{
35
35
  id: string;
36
36
  email: string;
37
37
  region: "USOnly" | "UKOnly" | "Worldwide";
38
- createdAt: number;
39
- updatedAt: number;
40
38
  password: string;
41
39
  securityQuestionAnswer: string | null;
42
40
  lastUsed: number | null;
43
41
  proxyId: string | null;
42
+ createdAt: number;
43
+ updatedAt: number;
44
44
  isActive: boolean;
45
45
  multiloginProfileId: string | null;
46
46
  isProtected?: boolean | undefined;
@@ -85,12 +85,12 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
85
85
  type: z.ZodOptional<z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>>;
86
86
  email: z.ZodOptional<z.ZodString>;
87
87
  region: z.ZodOptional<z.ZodEnum<["Worldwide", "UKOnly", "USOnly"]>>;
88
- createdAt: z.ZodOptional<z.ZodNumber>;
89
- updatedAt: z.ZodOptional<z.ZodNumber>;
90
88
  password: z.ZodOptional<z.ZodString>;
91
89
  securityQuestionAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
90
  lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
93
91
  proxyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ createdAt: z.ZodOptional<z.ZodNumber>;
93
+ updatedAt: z.ZodOptional<z.ZodNumber>;
94
94
  isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
95
95
  isActive: z.ZodOptional<z.ZodBoolean>;
96
96
  multiloginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -98,12 +98,12 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
98
98
  type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
99
99
  email?: string | undefined;
100
100
  region?: "USOnly" | "UKOnly" | "Worldwide" | undefined;
101
- createdAt?: number | undefined;
102
- updatedAt?: number | undefined;
103
101
  password?: string | undefined;
104
102
  securityQuestionAnswer?: string | null | undefined;
105
103
  lastUsed?: number | null | undefined;
106
104
  proxyId?: string | null | undefined;
105
+ createdAt?: number | undefined;
106
+ updatedAt?: number | undefined;
107
107
  isProtected?: boolean | undefined;
108
108
  isActive?: boolean | undefined;
109
109
  multiloginProfileId?: string | null | undefined;
@@ -111,12 +111,12 @@ export declare const updateScraperAccountSchema: z.ZodObject<{
111
111
  type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
112
112
  email?: string | undefined;
113
113
  region?: "USOnly" | "UKOnly" | "Worldwide" | undefined;
114
- createdAt?: number | undefined;
115
- updatedAt?: number | undefined;
116
114
  password?: string | undefined;
117
115
  securityQuestionAnswer?: string | null | undefined;
118
116
  lastUsed?: number | null | undefined;
119
117
  proxyId?: string | null | undefined;
118
+ createdAt?: number | undefined;
119
+ updatedAt?: number | undefined;
120
120
  isProtected?: boolean | undefined;
121
121
  isActive?: boolean | undefined;
122
122
  multiloginProfileId?: string | null | undefined;