lancer-shared 1.2.302 → 1.2.304

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 (60) hide show
  1. package/dist/bundle.cjs.js +4 -0
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +4 -0
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/schemas/account/bidder-account.d.ts +47 -40
  6. package/dist/schemas/account/scraper-account.d.ts +27 -27
  7. package/dist/schemas/agent/index.d.ts +273 -273
  8. package/dist/schemas/agent/proposal.d.ts +4 -4
  9. package/dist/schemas/bidder/bid.d.ts +2377 -2358
  10. package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
  11. package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
  12. package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
  13. package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
  14. package/dist/schemas/campaign/campaign.d.ts +575 -566
  15. package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
  16. package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
  17. package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
  18. package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
  19. package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
  20. package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
  21. package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
  22. package/dist/schemas/dashboard/index.d.ts +46 -46
  23. package/dist/schemas/golden-dataset/sample.d.ts +12 -12
  24. package/dist/schemas/infrastructure/index.d.ts +8 -8
  25. package/dist/schemas/invoice/index.d.ts +55 -55
  26. package/dist/schemas/job/index.d.ts +189 -189
  27. package/dist/schemas/job/job-api.d.ts +4 -4
  28. package/dist/schemas/job/job-details.d.ts +726 -726
  29. package/dist/schemas/job/job-filters.d.ts +55 -55
  30. package/dist/schemas/job/job-listing.d.ts +96 -96
  31. package/dist/schemas/job/nuxt.d.ts +130 -130
  32. package/dist/schemas/lead/index.d.ts +1040 -1040
  33. package/dist/schemas/lead/lead-status.d.ts +4 -4
  34. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
  35. package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
  36. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
  37. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  38. package/dist/schemas/logger/log-event.d.ts +103 -103
  39. package/dist/schemas/logger/scraper-events.d.ts +73 -73
  40. package/dist/schemas/notifications/index.d.ts +4 -4
  41. package/dist/schemas/organization/billing.d.ts +2 -2
  42. package/dist/schemas/organization/cover-letter.d.ts +4 -4
  43. package/dist/schemas/organization/index.d.ts +112 -112
  44. package/dist/schemas/organization/onboarding.d.ts +6 -6
  45. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  46. package/dist/schemas/organization/subscription.d.ts +12 -12
  47. package/dist/schemas/plan/index.d.ts +55 -55
  48. package/dist/schemas/proxy/proxy.d.ts +29 -29
  49. package/dist/schemas/saved-search/index.d.ts +4 -4
  50. package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
  51. package/dist/schemas/scraper/scrape-result.d.ts +174 -174
  52. package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
  53. package/dist/schemas/shared.d.ts +1 -1
  54. package/dist/schemas/talent/index.d.ts +750 -750
  55. package/dist/schemas/transaction/index.d.ts +20 -20
  56. package/dist/schemas/upwork-analytics/index.d.ts +22 -22
  57. package/dist/schemas/usage/index.d.ts +16 -16
  58. package/dist/schemas/usage-event/index.d.ts +11 -11
  59. package/dist/schemas/user/index.d.ts +4 -4
  60. package/package.json +2 -2
@@ -29,21 +29,21 @@ export declare const bidderAccountAgencySchema: z.ZodObject<{
29
29
  agencyId: z.ZodNullable<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  name: string;
32
- organizationId: string;
33
32
  logoUrl: string | null;
34
33
  contractors: {
35
34
  name: string;
36
35
  specializedProfiles: string[];
37
36
  }[];
37
+ organizationId: string;
38
38
  agencyId: string | null;
39
39
  }, {
40
40
  name: string;
41
- organizationId: string;
42
41
  logoUrl: string | null;
43
42
  contractors: {
44
43
  name: string;
45
44
  specializedProfiles: string[];
46
45
  }[];
46
+ organizationId: string;
47
47
  agencyId: string | null;
48
48
  }>;
49
49
  export declare const bidderAccountSchema: z.ZodObject<{
@@ -57,6 +57,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
57
57
  googleOauthTokens: z.ZodNullable<z.ZodAny>;
58
58
  lastUsed: z.ZodNullable<z.ZodNumber>;
59
59
  multiLoginProfileId: z.ZodNullable<z.ZodString>;
60
+ gologinProfileId: z.ZodNullable<z.ZodString>;
60
61
  proxyId: z.ZodNullable<z.ZodString>;
61
62
  newProxyId: z.ZodNullable<z.ZodString>;
62
63
  profilePhotoUrl: z.ZodNullable<z.ZodString>;
@@ -78,21 +79,21 @@ export declare const bidderAccountSchema: z.ZodObject<{
78
79
  agencyId: z.ZodNullable<z.ZodString>;
79
80
  }, "strip", z.ZodTypeAny, {
80
81
  name: string;
81
- organizationId: string;
82
82
  logoUrl: string | null;
83
83
  contractors: {
84
84
  name: string;
85
85
  specializedProfiles: string[];
86
86
  }[];
87
+ organizationId: string;
87
88
  agencyId: string | null;
88
89
  }, {
89
90
  name: string;
90
- organizationId: string;
91
91
  logoUrl: string | null;
92
92
  contractors: {
93
93
  name: string;
94
94
  specializedProfiles: string[];
95
95
  }[];
96
+ organizationId: string;
96
97
  agencyId: string | null;
97
98
  }>, "many">>;
98
99
  specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -104,68 +105,70 @@ export declare const bidderAccountSchema: z.ZodObject<{
104
105
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
105
106
  errorMessage: z.ZodNullable<z.ZodString>;
106
107
  }, "strip", z.ZodTypeAny, {
107
- id: string;
108
108
  name: string | null;
109
+ status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
110
+ id: string;
111
+ provider: "user-provided" | "lancer-provided";
109
112
  email: string;
110
- status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
111
- region: "USOnly" | "UKOnly" | "Worldwide" | "All";
112
113
  password: string;
113
- provider: "user-provided" | "lancer-provided";
114
114
  isConnecting: boolean | null;
115
115
  securityQuestionAnswer: string | null;
116
116
  assignedOrganizations: string[];
117
117
  lastUsed: number | null;
118
118
  multiLoginProfileId: string | null;
119
+ gologinProfileId: string | null;
119
120
  proxyId: string | null;
120
121
  newProxyId: string | null;
121
122
  profilePhotoUrl: string | null;
122
123
  agencies: {
123
124
  name: string;
124
- organizationId: string;
125
125
  logoUrl: string | null;
126
126
  contractors: {
127
127
  name: string;
128
128
  specializedProfiles: string[];
129
129
  }[];
130
+ organizationId: string;
130
131
  agencyId: string | null;
131
132
  }[] | null;
132
133
  specialisedProfiles: string[] | null;
133
134
  instanceId: string | null;
134
135
  createdAt: number;
135
136
  updatedAt: number;
137
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
136
138
  errorMessage: string | null;
137
139
  googleOauthTokens?: any;
138
140
  isProtected?: boolean | undefined;
139
141
  }, {
140
- id: string;
141
142
  name: string | null;
143
+ status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
144
+ id: string;
145
+ provider: "user-provided" | "lancer-provided";
142
146
  email: string;
143
- status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
144
- region: "USOnly" | "UKOnly" | "Worldwide" | "All";
145
147
  password: string;
146
- provider: "user-provided" | "lancer-provided";
147
148
  isConnecting: boolean | null;
148
149
  securityQuestionAnswer: string | null;
149
150
  assignedOrganizations: string[];
150
151
  lastUsed: number | null;
151
152
  multiLoginProfileId: string | null;
153
+ gologinProfileId: string | null;
152
154
  proxyId: string | null;
153
155
  newProxyId: string | null;
154
156
  profilePhotoUrl: string | null;
155
157
  agencies: {
156
158
  name: string;
157
- organizationId: string;
158
159
  logoUrl: string | null;
159
160
  contractors: {
160
161
  name: string;
161
162
  specializedProfiles: string[];
162
163
  }[];
164
+ organizationId: string;
163
165
  agencyId: string | null;
164
166
  }[] | null;
165
167
  specialisedProfiles: string[] | null;
166
168
  instanceId: string | null;
167
169
  createdAt: number;
168
170
  updatedAt: number;
171
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
169
172
  errorMessage: string | null;
170
173
  googleOauthTokens?: any;
171
174
  isProtected?: boolean | undefined;
@@ -200,6 +203,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
200
203
  googleOauthTokens: z.ZodNullable<z.ZodAny>;
201
204
  lastUsed: z.ZodNullable<z.ZodNumber>;
202
205
  multiLoginProfileId: z.ZodNullable<z.ZodString>;
206
+ gologinProfileId: z.ZodNullable<z.ZodString>;
203
207
  proxyId: z.ZodNullable<z.ZodString>;
204
208
  newProxyId: z.ZodNullable<z.ZodString>;
205
209
  profilePhotoUrl: z.ZodNullable<z.ZodString>;
@@ -221,21 +225,21 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
221
225
  agencyId: z.ZodNullable<z.ZodString>;
222
226
  }, "strip", z.ZodTypeAny, {
223
227
  name: string;
224
- organizationId: string;
225
228
  logoUrl: string | null;
226
229
  contractors: {
227
230
  name: string;
228
231
  specializedProfiles: string[];
229
232
  }[];
233
+ organizationId: string;
230
234
  agencyId: string | null;
231
235
  }, {
232
236
  name: string;
233
- organizationId: string;
234
237
  logoUrl: string | null;
235
238
  contractors: {
236
239
  name: string;
237
240
  specializedProfiles: string[];
238
241
  }[];
242
+ organizationId: string;
239
243
  agencyId: string | null;
240
244
  }>, "many">>;
241
245
  specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
@@ -246,14 +250,13 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
246
250
  isProtected: z.ZodOptional<z.ZodBoolean>;
247
251
  status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
248
252
  errorMessage: z.ZodNullable<z.ZodString>;
249
- }, "name" | "email" | "region" | "password" | "provider" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies">, {
253
+ }, "name" | "provider" | "email" | "password" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies" | "region">, {
250
254
  proxyCountry: z.ZodNullable<z.ZodEnum<["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"]>>;
251
255
  }>, "strip", z.ZodTypeAny, {
252
256
  name: string | null;
257
+ provider: "user-provided" | "lancer-provided";
253
258
  email: string;
254
- region: "USOnly" | "UKOnly" | "Worldwide" | "All";
255
259
  password: string;
256
- provider: "user-provided" | "lancer-provided";
257
260
  securityQuestionAnswer: string | null;
258
261
  assignedOrganizations: string[];
259
262
  multiLoginProfileId: string | null;
@@ -261,21 +264,21 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
261
264
  profilePhotoUrl: string | null;
262
265
  agencies: {
263
266
  name: string;
264
- organizationId: string;
265
267
  logoUrl: string | null;
266
268
  contractors: {
267
269
  name: string;
268
270
  specializedProfiles: string[];
269
271
  }[];
272
+ organizationId: string;
270
273
  agencyId: string | null;
271
274
  }[] | null;
275
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
272
276
  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;
273
277
  }, {
274
278
  name: string | null;
279
+ provider: "user-provided" | "lancer-provided";
275
280
  email: string;
276
- region: "USOnly" | "UKOnly" | "Worldwide" | "All";
277
281
  password: string;
278
- provider: "user-provided" | "lancer-provided";
279
282
  securityQuestionAnswer: string | null;
280
283
  assignedOrganizations: string[];
281
284
  multiLoginProfileId: string | null;
@@ -283,29 +286,30 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
283
286
  profilePhotoUrl: string | null;
284
287
  agencies: {
285
288
  name: string;
286
- organizationId: string;
287
289
  logoUrl: string | null;
288
290
  contractors: {
289
291
  name: string;
290
292
  specializedProfiles: string[];
291
293
  }[];
294
+ organizationId: string;
292
295
  agencyId: string | null;
293
296
  }[] | null;
297
+ region: "Worldwide" | "USOnly" | "UKOnly" | "All";
294
298
  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;
295
299
  }>;
296
300
  export declare const updateBidderAccountSchema: z.ZodObject<{
297
301
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
- email: z.ZodOptional<z.ZodString>;
299
302
  status: z.ZodOptional<z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>>;
300
- region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
301
- password: z.ZodOptional<z.ZodString>;
302
303
  provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
304
+ email: z.ZodOptional<z.ZodString>;
305
+ password: z.ZodOptional<z.ZodString>;
303
306
  isConnecting: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
304
307
  securityQuestionAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
308
  assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
306
309
  googleOauthTokens: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
307
310
  lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
308
311
  multiLoginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ gologinProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
313
  proxyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
314
  newProxyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
315
  profilePhotoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -326,91 +330,94 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
326
330
  agencyId: z.ZodNullable<z.ZodString>;
327
331
  }, "strip", z.ZodTypeAny, {
328
332
  name: string;
329
- organizationId: string;
330
333
  logoUrl: string | null;
331
334
  contractors: {
332
335
  name: string;
333
336
  specializedProfiles: string[];
334
337
  }[];
338
+ organizationId: string;
335
339
  agencyId: string | null;
336
340
  }, {
337
341
  name: string;
338
- organizationId: string;
339
342
  logoUrl: string | null;
340
343
  contractors: {
341
344
  name: string;
342
345
  specializedProfiles: string[];
343
346
  }[];
347
+ organizationId: string;
344
348
  agencyId: string | null;
345
349
  }>, "many">>>;
346
350
  specialisedProfiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
347
351
  instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
352
  createdAt: z.ZodOptional<z.ZodNumber>;
349
353
  updatedAt: z.ZodOptional<z.ZodNumber>;
354
+ region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
350
355
  isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
351
356
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
357
  }, "strip", z.ZodTypeAny, {
353
358
  name?: string | null | undefined;
359
+ status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
360
+ provider?: "user-provided" | "lancer-provided" | undefined;
354
361
  email?: string | undefined;
355
- status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
356
- region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
357
362
  password?: string | undefined;
358
- provider?: "user-provided" | "lancer-provided" | undefined;
359
363
  isConnecting?: boolean | null | undefined;
360
364
  securityQuestionAnswer?: string | null | undefined;
361
365
  assignedOrganizations?: string[] | undefined;
362
366
  googleOauthTokens?: any;
363
367
  lastUsed?: number | null | undefined;
364
368
  multiLoginProfileId?: string | null | undefined;
369
+ gologinProfileId?: string | null | undefined;
365
370
  proxyId?: string | null | undefined;
366
371
  newProxyId?: string | null | undefined;
367
372
  profilePhotoUrl?: string | null | undefined;
368
373
  agencies?: {
369
374
  name: string;
370
- organizationId: string;
371
375
  logoUrl: string | null;
372
376
  contractors: {
373
377
  name: string;
374
378
  specializedProfiles: string[];
375
379
  }[];
380
+ organizationId: string;
376
381
  agencyId: string | null;
377
382
  }[] | null | undefined;
378
383
  specialisedProfiles?: string[] | null | undefined;
379
384
  instanceId?: string | null | undefined;
380
385
  createdAt?: number | undefined;
381
386
  updatedAt?: number | undefined;
387
+ region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
382
388
  isProtected?: boolean | undefined;
383
389
  errorMessage?: string | null | undefined;
384
390
  }, {
385
391
  name?: string | null | undefined;
392
+ status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
393
+ provider?: "user-provided" | "lancer-provided" | undefined;
386
394
  email?: string | undefined;
387
- status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
388
- region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
389
395
  password?: string | undefined;
390
- provider?: "user-provided" | "lancer-provided" | undefined;
391
396
  isConnecting?: boolean | null | undefined;
392
397
  securityQuestionAnswer?: string | null | undefined;
393
398
  assignedOrganizations?: string[] | undefined;
394
399
  googleOauthTokens?: any;
395
400
  lastUsed?: number | null | undefined;
396
401
  multiLoginProfileId?: string | null | undefined;
402
+ gologinProfileId?: string | null | undefined;
397
403
  proxyId?: string | null | undefined;
398
404
  newProxyId?: string | null | undefined;
399
405
  profilePhotoUrl?: string | null | undefined;
400
406
  agencies?: {
401
407
  name: string;
402
- organizationId: string;
403
408
  logoUrl: string | null;
404
409
  contractors: {
405
410
  name: string;
406
411
  specializedProfiles: string[];
407
412
  }[];
413
+ organizationId: string;
408
414
  agencyId: string | null;
409
415
  }[] | null | undefined;
410
416
  specialisedProfiles?: string[] | null | undefined;
411
417
  instanceId?: string | null | undefined;
412
418
  createdAt?: number | undefined;
413
419
  updatedAt?: number | undefined;
420
+ region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
414
421
  isProtected?: boolean | undefined;
415
422
  errorMessage?: string | null | undefined;
416
423
  }>;
@@ -444,32 +451,32 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
444
451
  agencyId: z.ZodNullable<z.ZodString>;
445
452
  }, "strip", z.ZodTypeAny, {
446
453
  name: string;
447
- organizationId: string;
448
454
  logoUrl: string | null;
449
455
  contractors: {
450
456
  name: string;
451
457
  specializedProfiles: string[];
452
458
  }[];
459
+ organizationId: string;
453
460
  agencyId: string | null;
454
461
  }, {
455
462
  name: string;
456
- organizationId: string;
457
463
  logoUrl: string | null;
458
464
  contractors: {
459
465
  name: string;
460
466
  specializedProfiles: string[];
461
467
  }[];
468
+ organizationId: string;
462
469
  agencyId: string | null;
463
470
  }>, "many">>;
464
471
  }, "strip", z.ZodTypeAny, {
465
472
  agencies: {
466
473
  name: string;
467
- organizationId: string;
468
474
  logoUrl: string | null;
469
475
  contractors: {
470
476
  name: string;
471
477
  specializedProfiles: string[];
472
478
  }[];
479
+ organizationId: string;
473
480
  agencyId: string | null;
474
481
  }[] | null;
475
482
  accountName: string | null;
@@ -477,12 +484,12 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
477
484
  }, {
478
485
  agencies: {
479
486
  name: string;
480
- organizationId: string;
481
487
  logoUrl: string | null;
482
488
  contractors: {
483
489
  name: string;
484
490
  specializedProfiles: string[];
485
491
  }[];
492
+ organizationId: string;
486
493
  agencyId: string | null;
487
494
  }[] | null;
488
495
  accountName: string | null;
@@ -17,32 +17,32 @@ export declare const scraperAccountSchema: z.ZodObject<{
17
17
  updatedAt: z.ZodNumber;
18
18
  isProtected: z.ZodOptional<z.ZodBoolean>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
21
20
  id: string;
21
+ isActive: boolean;
22
+ region: "Worldwide" | "UKOnly" | "USOnly";
22
23
  email: string;
23
- region: "USOnly" | "UKOnly" | "Worldwide";
24
24
  password: string;
25
25
  securityQuestionAnswer: string | null;
26
26
  lastUsed: number | null;
27
+ multiloginProfileId: string | null;
27
28
  proxyId: string | null;
29
+ type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
28
30
  createdAt: number;
29
31
  updatedAt: number;
30
- isActive: boolean;
31
- multiloginProfileId: string | null;
32
32
  isProtected?: boolean | undefined;
33
33
  }, {
34
- type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
35
34
  id: string;
35
+ isActive: boolean;
36
+ region: "Worldwide" | "UKOnly" | "USOnly";
36
37
  email: string;
37
- region: "USOnly" | "UKOnly" | "Worldwide";
38
38
  password: string;
39
39
  securityQuestionAnswer: string | null;
40
40
  lastUsed: number | null;
41
+ multiloginProfileId: string | null;
41
42
  proxyId: string | null;
43
+ type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
42
44
  createdAt: number;
43
45
  updatedAt: number;
44
- isActive: boolean;
45
- multiloginProfileId: string | null;
46
46
  isProtected?: boolean | undefined;
47
47
  }>;
48
48
  export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
@@ -59,67 +59,67 @@ export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extend
59
59
  createdAt: z.ZodNumber;
60
60
  updatedAt: z.ZodNumber;
61
61
  isProtected: z.ZodOptional<z.ZodBoolean>;
62
- }, "type" | "email" | "region" | "password" | "securityQuestionAnswer" | "isActive">, {
62
+ }, "isActive" | "region" | "email" | "password" | "securityQuestionAnswer" | "type">, {
63
63
  proxyCountry: z.ZodOptional<z.ZodEnum<["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"]>>;
64
64
  rotatingProxy: z.ZodOptional<z.ZodBoolean>;
65
65
  }>, "strip", z.ZodTypeAny, {
66
- type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
66
+ isActive: boolean;
67
+ region: "Worldwide" | "UKOnly" | "USOnly";
67
68
  email: string;
68
- region: "USOnly" | "UKOnly" | "Worldwide";
69
69
  password: string;
70
70
  securityQuestionAnswer: string | null;
71
- isActive: boolean;
71
+ type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
72
72
  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" | undefined;
73
73
  rotatingProxy?: boolean | undefined;
74
74
  }, {
75
- type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
75
+ isActive: boolean;
76
+ region: "Worldwide" | "UKOnly" | "USOnly";
76
77
  email: string;
77
- region: "USOnly" | "UKOnly" | "Worldwide";
78
78
  password: string;
79
79
  securityQuestionAnswer: string | null;
80
- isActive: boolean;
80
+ type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
81
81
  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" | undefined;
82
82
  rotatingProxy?: boolean | undefined;
83
83
  }>;
84
84
  export declare const updateScraperAccountSchema: z.ZodObject<{
85
- type: z.ZodOptional<z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>>;
86
- email: z.ZodOptional<z.ZodString>;
85
+ isActive: z.ZodOptional<z.ZodBoolean>;
87
86
  region: z.ZodOptional<z.ZodEnum<["Worldwide", "UKOnly", "USOnly"]>>;
87
+ email: z.ZodOptional<z.ZodString>;
88
88
  password: z.ZodOptional<z.ZodString>;
89
89
  securityQuestionAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
90
  lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
91
+ multiloginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
92
  proxyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ type: z.ZodOptional<z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>>;
92
94
  createdAt: z.ZodOptional<z.ZodNumber>;
93
95
  updatedAt: z.ZodOptional<z.ZodNumber>;
94
96
  isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
95
- isActive: z.ZodOptional<z.ZodBoolean>;
96
- multiloginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
97
  }, "strip", z.ZodTypeAny, {
98
- type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
98
+ isActive?: boolean | undefined;
99
+ region?: "Worldwide" | "UKOnly" | "USOnly" | undefined;
99
100
  email?: string | undefined;
100
- region?: "USOnly" | "UKOnly" | "Worldwide" | undefined;
101
101
  password?: string | undefined;
102
102
  securityQuestionAnswer?: string | null | undefined;
103
103
  lastUsed?: number | null | undefined;
104
+ multiloginProfileId?: string | null | undefined;
104
105
  proxyId?: string | null | undefined;
106
+ type?: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated" | undefined;
105
107
  createdAt?: number | undefined;
106
108
  updatedAt?: number | undefined;
107
109
  isProtected?: boolean | undefined;
108
- isActive?: boolean | undefined;
109
- multiloginProfileId?: string | null | undefined;
110
110
  }, {
111
- type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
111
+ isActive?: boolean | undefined;
112
+ region?: "Worldwide" | "UKOnly" | "USOnly" | undefined;
112
113
  email?: string | undefined;
113
- region?: "USOnly" | "UKOnly" | "Worldwide" | undefined;
114
114
  password?: string | undefined;
115
115
  securityQuestionAnswer?: string | null | undefined;
116
116
  lastUsed?: number | null | undefined;
117
+ multiloginProfileId?: string | null | undefined;
117
118
  proxyId?: string | null | undefined;
119
+ type?: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated" | undefined;
118
120
  createdAt?: number | undefined;
119
121
  updatedAt?: number | undefined;
120
122
  isProtected?: boolean | undefined;
121
- isActive?: boolean | undefined;
122
- multiloginProfileId?: string | null | undefined;
123
123
  }>;
124
124
  export type ScraperAccountType = z.infer<typeof scraperAccountTypeEnum>;
125
125
  export interface ScraperAccount extends z.infer<typeof scraperAccountSchema> {