lancer-shared 1.2.317 → 1.2.319
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/schemas/account/bidder-account.d.ts +49 -49
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +290 -290
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2946 -2946
- package/dist/schemas/campaign/campaign-analytics.d.ts +1419 -1419
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +579 -579
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/chat/index.d.ts +28 -28
- package/dist/schemas/dashboard/index.d.ts +46 -46
- package/dist/schemas/golden-dataset/sample.d.ts +12 -12
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +55 -55
- package/dist/schemas/job/index.d.ts +205 -205
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +713 -713
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +114 -114
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1303 -1303
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
- package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +346 -346
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +120 -120
- package/dist/schemas/logger/scraper-events.d.ts +81 -81
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/cover-letter.d.ts +4 -4
- package/dist/schemas/organization/index.d.ts +120 -120
- package/dist/schemas/organization/onboarding.d.ts +6 -6
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +12 -12
- package/dist/schemas/plan/index.d.ts +55 -55
- package/dist/schemas/proxy/proxy.d.ts +29 -29
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +966 -961
- package/dist/schemas/scraper/scrape-result.d.ts +228 -228
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/upwork-talent/index.d.ts +74 -74
- package/dist/schemas/usage/index.d.ts +17 -17
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -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;
|
|
42
43
|
logoUrl: string | null;
|
|
43
44
|
contractors: {
|
|
44
45
|
name: string;
|
|
45
46
|
specializedProfiles: string[];
|
|
46
47
|
}[];
|
|
47
|
-
organizationId: string;
|
|
48
48
|
agencyId: string | null;
|
|
49
49
|
}, {
|
|
50
50
|
name: string;
|
|
51
|
+
organizationId: string;
|
|
51
52
|
logoUrl: string | null;
|
|
52
53
|
contractors: {
|
|
53
54
|
name: string;
|
|
54
55
|
specializedProfiles: string[];
|
|
55
56
|
}[];
|
|
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;
|
|
92
93
|
logoUrl: string | null;
|
|
93
94
|
contractors: {
|
|
94
95
|
name: string;
|
|
95
96
|
specializedProfiles: string[];
|
|
96
97
|
}[];
|
|
97
|
-
organizationId: string;
|
|
98
98
|
agencyId: string | null;
|
|
99
99
|
}, {
|
|
100
100
|
name: string;
|
|
101
|
+
organizationId: string;
|
|
101
102
|
logoUrl: string | null;
|
|
102
103
|
contractors: {
|
|
103
104
|
name: string;
|
|
104
105
|
specializedProfiles: string[];
|
|
105
106
|
}[];
|
|
106
|
-
organizationId: string;
|
|
107
107
|
agencyId: string | null;
|
|
108
108
|
}>, "many">>;
|
|
109
109
|
specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -131,12 +131,14 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
131
131
|
userId: z.ZodNullable<z.ZodString>;
|
|
132
132
|
connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
name: string | null;
|
|
135
|
-
status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
|
|
136
134
|
id: string;
|
|
137
|
-
|
|
135
|
+
name: string | null;
|
|
138
136
|
email: string;
|
|
137
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
138
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
139
|
+
userId: string | null;
|
|
139
140
|
password: string;
|
|
141
|
+
provider: "user-provided" | "lancer-provided";
|
|
140
142
|
isConnecting: boolean | null;
|
|
141
143
|
securityQuestionAnswer: string | null;
|
|
142
144
|
assignedOrganizations: string[];
|
|
@@ -148,12 +150,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
148
150
|
profilePhotoUrl: string | null;
|
|
149
151
|
agencies: {
|
|
150
152
|
name: string;
|
|
153
|
+
organizationId: string;
|
|
151
154
|
logoUrl: string | null;
|
|
152
155
|
contractors: {
|
|
153
156
|
name: string;
|
|
154
157
|
specializedProfiles: string[];
|
|
155
158
|
}[];
|
|
156
|
-
organizationId: string;
|
|
157
159
|
agencyId: string | null;
|
|
158
160
|
}[] | null;
|
|
159
161
|
specialisedProfiles: string[] | null;
|
|
@@ -164,23 +166,23 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
164
166
|
instanceId: string | null;
|
|
165
167
|
createdAt: number;
|
|
166
168
|
updatedAt: number;
|
|
167
|
-
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
168
169
|
errorMessage: string | null;
|
|
169
170
|
connectedToChat: boolean | null;
|
|
170
171
|
failedToRefreshRooms: boolean | null;
|
|
171
172
|
failedToRefreshRoomsAttempts: number | null;
|
|
172
173
|
roomsRefreshedAt: number | null;
|
|
173
|
-
userId: string | null;
|
|
174
174
|
connectingToChatStartedAt: number | null;
|
|
175
175
|
googleOauthTokens?: any;
|
|
176
176
|
isProtected?: boolean | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
name: string | null;
|
|
179
|
-
status: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting";
|
|
180
178
|
id: string;
|
|
181
|
-
|
|
179
|
+
name: string | null;
|
|
182
180
|
email: string;
|
|
181
|
+
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
182
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
183
|
+
userId: string | null;
|
|
183
184
|
password: string;
|
|
185
|
+
provider: "user-provided" | "lancer-provided";
|
|
184
186
|
isConnecting: boolean | null;
|
|
185
187
|
securityQuestionAnswer: string | null;
|
|
186
188
|
assignedOrganizations: string[];
|
|
@@ -192,12 +194,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
192
194
|
profilePhotoUrl: string | null;
|
|
193
195
|
agencies: {
|
|
194
196
|
name: string;
|
|
197
|
+
organizationId: string;
|
|
195
198
|
logoUrl: string | null;
|
|
196
199
|
contractors: {
|
|
197
200
|
name: string;
|
|
198
201
|
specializedProfiles: string[];
|
|
199
202
|
}[];
|
|
200
|
-
organizationId: string;
|
|
201
203
|
agencyId: string | null;
|
|
202
204
|
}[] | null;
|
|
203
205
|
specialisedProfiles: string[] | null;
|
|
@@ -208,13 +210,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
208
210
|
instanceId: string | null;
|
|
209
211
|
createdAt: number;
|
|
210
212
|
updatedAt: number;
|
|
211
|
-
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
212
213
|
errorMessage: string | null;
|
|
213
214
|
connectedToChat: boolean | null;
|
|
214
215
|
failedToRefreshRooms: boolean | null;
|
|
215
216
|
failedToRefreshRoomsAttempts: number | null;
|
|
216
217
|
roomsRefreshedAt: number | null;
|
|
217
|
-
userId: string | null;
|
|
218
218
|
connectingToChatStartedAt: number | null;
|
|
219
219
|
googleOauthTokens?: any;
|
|
220
220
|
isProtected?: boolean | undefined;
|
|
@@ -271,21 +271,21 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
271
271
|
agencyId: z.ZodNullable<z.ZodString>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
name: string;
|
|
274
|
+
organizationId: string;
|
|
274
275
|
logoUrl: string | null;
|
|
275
276
|
contractors: {
|
|
276
277
|
name: string;
|
|
277
278
|
specializedProfiles: string[];
|
|
278
279
|
}[];
|
|
279
|
-
organizationId: string;
|
|
280
280
|
agencyId: string | null;
|
|
281
281
|
}, {
|
|
282
282
|
name: string;
|
|
283
|
+
organizationId: string;
|
|
283
284
|
logoUrl: string | null;
|
|
284
285
|
contractors: {
|
|
285
286
|
name: string;
|
|
286
287
|
specializedProfiles: string[];
|
|
287
288
|
}[];
|
|
288
|
-
organizationId: string;
|
|
289
289
|
agencyId: string | null;
|
|
290
290
|
}>, "many">>;
|
|
291
291
|
specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -312,13 +312,14 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
312
312
|
roomsRefreshedAt: z.ZodNullable<z.ZodNumber>;
|
|
313
313
|
userId: z.ZodNullable<z.ZodString>;
|
|
314
314
|
connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
315
|
-
}, "name" | "
|
|
315
|
+
}, "name" | "email" | "region" | "password" | "provider" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies">, {
|
|
316
316
|
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"]>>;
|
|
317
317
|
}>, "strip", z.ZodTypeAny, {
|
|
318
318
|
name: string | null;
|
|
319
|
-
provider: "user-provided" | "lancer-provided";
|
|
320
319
|
email: string;
|
|
320
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
321
321
|
password: string;
|
|
322
|
+
provider: "user-provided" | "lancer-provided";
|
|
322
323
|
securityQuestionAnswer: string | null;
|
|
323
324
|
assignedOrganizations: string[];
|
|
324
325
|
multiLoginProfileId: string | null;
|
|
@@ -326,21 +327,21 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
326
327
|
profilePhotoUrl: string | null;
|
|
327
328
|
agencies: {
|
|
328
329
|
name: string;
|
|
330
|
+
organizationId: string;
|
|
329
331
|
logoUrl: string | null;
|
|
330
332
|
contractors: {
|
|
331
333
|
name: string;
|
|
332
334
|
specializedProfiles: string[];
|
|
333
335
|
}[];
|
|
334
|
-
organizationId: string;
|
|
335
336
|
agencyId: string | null;
|
|
336
337
|
}[] | null;
|
|
337
|
-
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
338
338
|
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;
|
|
339
339
|
}, {
|
|
340
340
|
name: string | null;
|
|
341
|
-
provider: "user-provided" | "lancer-provided";
|
|
342
341
|
email: string;
|
|
342
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
343
343
|
password: string;
|
|
344
|
+
provider: "user-provided" | "lancer-provided";
|
|
344
345
|
securityQuestionAnswer: string | null;
|
|
345
346
|
assignedOrganizations: string[];
|
|
346
347
|
multiLoginProfileId: string | null;
|
|
@@ -348,23 +349,24 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
348
349
|
profilePhotoUrl: string | null;
|
|
349
350
|
agencies: {
|
|
350
351
|
name: string;
|
|
352
|
+
organizationId: string;
|
|
351
353
|
logoUrl: string | null;
|
|
352
354
|
contractors: {
|
|
353
355
|
name: string;
|
|
354
356
|
specializedProfiles: string[];
|
|
355
357
|
}[];
|
|
356
|
-
organizationId: string;
|
|
357
358
|
agencyId: string | null;
|
|
358
359
|
}[] | null;
|
|
359
|
-
region: "Worldwide" | "USOnly" | "UKOnly" | "All";
|
|
360
360
|
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;
|
|
361
361
|
}>;
|
|
362
362
|
export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
363
363
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
-
status: z.ZodOptional<z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>>;
|
|
365
|
-
provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
|
|
366
364
|
email: z.ZodOptional<z.ZodString>;
|
|
365
|
+
status: z.ZodOptional<z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>>;
|
|
366
|
+
region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
|
|
367
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
367
368
|
password: z.ZodOptional<z.ZodString>;
|
|
369
|
+
provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
|
|
368
370
|
isConnecting: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
369
371
|
securityQuestionAnswer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
372
|
assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -392,21 +394,21 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
392
394
|
agencyId: z.ZodNullable<z.ZodString>;
|
|
393
395
|
}, "strip", z.ZodTypeAny, {
|
|
394
396
|
name: string;
|
|
397
|
+
organizationId: string;
|
|
395
398
|
logoUrl: string | null;
|
|
396
399
|
contractors: {
|
|
397
400
|
name: string;
|
|
398
401
|
specializedProfiles: string[];
|
|
399
402
|
}[];
|
|
400
|
-
organizationId: string;
|
|
401
403
|
agencyId: string | null;
|
|
402
404
|
}, {
|
|
403
405
|
name: string;
|
|
406
|
+
organizationId: string;
|
|
404
407
|
logoUrl: string | null;
|
|
405
408
|
contractors: {
|
|
406
409
|
name: string;
|
|
407
410
|
specializedProfiles: string[];
|
|
408
411
|
}[];
|
|
409
|
-
organizationId: string;
|
|
410
412
|
agencyId: string | null;
|
|
411
413
|
}>, "many">>>;
|
|
412
414
|
specialisedProfiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -423,21 +425,21 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
423
425
|
instanceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
426
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
425
427
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
426
|
-
region: z.ZodOptional<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>>;
|
|
427
428
|
isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
428
429
|
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
429
430
|
connectedToChat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
430
431
|
failedToRefreshRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
431
432
|
failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
432
433
|
roomsRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
433
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
434
|
connectingToChatStartedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
435
435
|
}, "strip", z.ZodTypeAny, {
|
|
436
436
|
name?: string | null | undefined;
|
|
437
|
-
status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
|
|
438
|
-
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
439
437
|
email?: string | undefined;
|
|
438
|
+
status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
|
|
439
|
+
region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
|
|
440
|
+
userId?: string | null | undefined;
|
|
440
441
|
password?: string | undefined;
|
|
442
|
+
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
441
443
|
isConnecting?: boolean | null | undefined;
|
|
442
444
|
securityQuestionAnswer?: string | null | undefined;
|
|
443
445
|
assignedOrganizations?: string[] | undefined;
|
|
@@ -450,12 +452,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
450
452
|
profilePhotoUrl?: string | null | undefined;
|
|
451
453
|
agencies?: {
|
|
452
454
|
name: string;
|
|
455
|
+
organizationId: string;
|
|
453
456
|
logoUrl: string | null;
|
|
454
457
|
contractors: {
|
|
455
458
|
name: string;
|
|
456
459
|
specializedProfiles: string[];
|
|
457
460
|
}[];
|
|
458
|
-
organizationId: string;
|
|
459
461
|
agencyId: string | null;
|
|
460
462
|
}[] | null | undefined;
|
|
461
463
|
specialisedProfiles?: string[] | null | undefined;
|
|
@@ -466,21 +468,21 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
466
468
|
instanceId?: string | null | undefined;
|
|
467
469
|
createdAt?: number | undefined;
|
|
468
470
|
updatedAt?: number | undefined;
|
|
469
|
-
region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
|
|
470
471
|
isProtected?: boolean | undefined;
|
|
471
472
|
errorMessage?: string | null | undefined;
|
|
472
473
|
connectedToChat?: boolean | null | undefined;
|
|
473
474
|
failedToRefreshRooms?: boolean | null | undefined;
|
|
474
475
|
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
475
476
|
roomsRefreshedAt?: number | null | undefined;
|
|
476
|
-
userId?: string | null | undefined;
|
|
477
477
|
connectingToChatStartedAt?: number | null | undefined;
|
|
478
478
|
}, {
|
|
479
479
|
name?: string | null | undefined;
|
|
480
|
-
status?: "connected" | "failed_to_connect" | "connecting" | "draft" | "reconnecting" | undefined;
|
|
481
|
-
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
482
480
|
email?: string | undefined;
|
|
481
|
+
status?: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting" | undefined;
|
|
482
|
+
region?: "USOnly" | "UKOnly" | "Worldwide" | "All" | undefined;
|
|
483
|
+
userId?: string | null | undefined;
|
|
483
484
|
password?: string | undefined;
|
|
485
|
+
provider?: "user-provided" | "lancer-provided" | undefined;
|
|
484
486
|
isConnecting?: boolean | null | undefined;
|
|
485
487
|
securityQuestionAnswer?: string | null | undefined;
|
|
486
488
|
assignedOrganizations?: string[] | undefined;
|
|
@@ -493,12 +495,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
493
495
|
profilePhotoUrl?: string | null | undefined;
|
|
494
496
|
agencies?: {
|
|
495
497
|
name: string;
|
|
498
|
+
organizationId: string;
|
|
496
499
|
logoUrl: string | null;
|
|
497
500
|
contractors: {
|
|
498
501
|
name: string;
|
|
499
502
|
specializedProfiles: string[];
|
|
500
503
|
}[];
|
|
501
|
-
organizationId: string;
|
|
502
504
|
agencyId: string | null;
|
|
503
505
|
}[] | null | undefined;
|
|
504
506
|
specialisedProfiles?: string[] | null | undefined;
|
|
@@ -509,14 +511,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
509
511
|
instanceId?: string | null | undefined;
|
|
510
512
|
createdAt?: number | undefined;
|
|
511
513
|
updatedAt?: number | undefined;
|
|
512
|
-
region?: "Worldwide" | "USOnly" | "UKOnly" | "All" | undefined;
|
|
513
514
|
isProtected?: boolean | undefined;
|
|
514
515
|
errorMessage?: string | null | undefined;
|
|
515
516
|
connectedToChat?: boolean | null | undefined;
|
|
516
517
|
failedToRefreshRooms?: boolean | null | undefined;
|
|
517
518
|
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
518
519
|
roomsRefreshedAt?: number | null | undefined;
|
|
519
|
-
userId?: string | null | undefined;
|
|
520
520
|
connectingToChatStartedAt?: number | null | undefined;
|
|
521
521
|
}>;
|
|
522
522
|
export declare const verifyBidderAccountCredentialsSchema: z.ZodObject<{
|
|
@@ -549,32 +549,32 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
549
549
|
agencyId: z.ZodNullable<z.ZodString>;
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
551
|
name: string;
|
|
552
|
+
organizationId: string;
|
|
552
553
|
logoUrl: string | null;
|
|
553
554
|
contractors: {
|
|
554
555
|
name: string;
|
|
555
556
|
specializedProfiles: string[];
|
|
556
557
|
}[];
|
|
557
|
-
organizationId: string;
|
|
558
558
|
agencyId: string | null;
|
|
559
559
|
}, {
|
|
560
560
|
name: string;
|
|
561
|
+
organizationId: string;
|
|
561
562
|
logoUrl: string | null;
|
|
562
563
|
contractors: {
|
|
563
564
|
name: string;
|
|
564
565
|
specializedProfiles: string[];
|
|
565
566
|
}[];
|
|
566
|
-
organizationId: string;
|
|
567
567
|
agencyId: string | null;
|
|
568
568
|
}>, "many">>;
|
|
569
569
|
}, "strip", z.ZodTypeAny, {
|
|
570
570
|
agencies: {
|
|
571
571
|
name: string;
|
|
572
|
+
organizationId: string;
|
|
572
573
|
logoUrl: string | null;
|
|
573
574
|
contractors: {
|
|
574
575
|
name: string;
|
|
575
576
|
specializedProfiles: string[];
|
|
576
577
|
}[];
|
|
577
|
-
organizationId: string;
|
|
578
578
|
agencyId: string | null;
|
|
579
579
|
}[] | null;
|
|
580
580
|
accountName: string | null;
|
|
@@ -582,12 +582,12 @@ export declare const verifyBidderAccountCredentialsResponseSchema: z.ZodObject<{
|
|
|
582
582
|
}, {
|
|
583
583
|
agencies: {
|
|
584
584
|
name: string;
|
|
585
|
+
organizationId: string;
|
|
585
586
|
logoUrl: string | null;
|
|
586
587
|
contractors: {
|
|
587
588
|
name: string;
|
|
588
589
|
specializedProfiles: string[];
|
|
589
590
|
}[];
|
|
590
|
-
organizationId: string;
|
|
591
591
|
agencyId: string | null;
|
|
592
592
|
}[] | null;
|
|
593
593
|
accountName: string | null;
|
|
@@ -694,23 +694,23 @@ export declare const upworkOrganizationSchema: z.ZodObject<{
|
|
|
694
694
|
monetizedTitle: z.ZodString;
|
|
695
695
|
portrait100: z.ZodOptional<z.ZodString>;
|
|
696
696
|
}, "strip", z.ZodTypeAny, {
|
|
697
|
+
link: string;
|
|
697
698
|
type: "freelancer" | "agency" | "client";
|
|
698
699
|
id: string;
|
|
699
700
|
label: string;
|
|
700
|
-
photo_url: string;
|
|
701
701
|
uid: string;
|
|
702
|
-
|
|
702
|
+
photo_url: string;
|
|
703
703
|
type_title: string;
|
|
704
704
|
is_active: boolean;
|
|
705
705
|
monetizedTitle: string;
|
|
706
706
|
portrait100?: string | undefined;
|
|
707
707
|
}, {
|
|
708
|
+
link: string;
|
|
708
709
|
type: "freelancer" | "agency" | "client";
|
|
709
710
|
id: string;
|
|
710
711
|
label: string;
|
|
711
|
-
photo_url: string;
|
|
712
712
|
uid: string;
|
|
713
|
-
|
|
713
|
+
photo_url: string;
|
|
714
714
|
type_title: string;
|
|
715
715
|
is_active: boolean;
|
|
716
716
|
monetizedTitle: string;
|
|
@@ -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";
|
|
20
21
|
id: string;
|
|
21
|
-
isActive: boolean;
|
|
22
|
-
region: "Worldwide" | "UKOnly" | "USOnly";
|
|
23
22
|
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;
|
|
28
27
|
proxyId: string | null;
|
|
29
|
-
type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
|
|
30
28
|
createdAt: number;
|
|
31
29
|
updatedAt: number;
|
|
30
|
+
isActive: boolean;
|
|
31
|
+
multiloginProfileId: string | null;
|
|
32
32
|
isProtected?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
|
+
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
34
35
|
id: string;
|
|
35
|
-
isActive: boolean;
|
|
36
|
-
region: "Worldwide" | "UKOnly" | "USOnly";
|
|
37
36
|
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;
|
|
42
41
|
proxyId: string | null;
|
|
43
|
-
type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
|
|
44
42
|
createdAt: number;
|
|
45
43
|
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
|
-
}, "
|
|
62
|
+
}, "type" | "email" | "region" | "password" | "securityQuestionAnswer" | "isActive">, {
|
|
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
|
-
|
|
67
|
-
region: "Worldwide" | "UKOnly" | "USOnly";
|
|
66
|
+
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
68
67
|
email: string;
|
|
68
|
+
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
69
69
|
password: string;
|
|
70
70
|
securityQuestionAnswer: string | null;
|
|
71
|
-
|
|
71
|
+
isActive: boolean;
|
|
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
|
-
|
|
76
|
-
region: "Worldwide" | "UKOnly" | "USOnly";
|
|
75
|
+
type: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated";
|
|
77
76
|
email: string;
|
|
77
|
+
region: "USOnly" | "UKOnly" | "Worldwide";
|
|
78
78
|
password: string;
|
|
79
79
|
securityQuestionAnswer: string | null;
|
|
80
|
-
|
|
80
|
+
isActive: boolean;
|
|
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
|
-
|
|
86
|
-
region: z.ZodOptional<z.ZodEnum<["Worldwide", "UKOnly", "USOnly"]>>;
|
|
85
|
+
type: z.ZodOptional<z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>>;
|
|
87
86
|
email: z.ZodOptional<z.ZodString>;
|
|
87
|
+
region: z.ZodOptional<z.ZodEnum<["Worldwide", "UKOnly", "USOnly"]>>;
|
|
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>>;
|
|
92
91
|
proxyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
-
type: z.ZodOptional<z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>>;
|
|
94
92
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
95
93
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
96
94
|
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
|
-
|
|
99
|
-
region?: "Worldwide" | "UKOnly" | "USOnly" | undefined;
|
|
98
|
+
type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
|
|
100
99
|
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;
|
|
105
104
|
proxyId?: string | null | undefined;
|
|
106
|
-
type?: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated" | undefined;
|
|
107
105
|
createdAt?: number | undefined;
|
|
108
106
|
updatedAt?: number | undefined;
|
|
109
107
|
isProtected?: boolean | undefined;
|
|
110
|
-
}, {
|
|
111
108
|
isActive?: boolean | undefined;
|
|
112
|
-
|
|
109
|
+
multiloginProfileId?: string | null | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
type?: "status" | "profile" | "job" | "feed" | "activity" | "unauthenticated" | undefined;
|
|
113
112
|
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;
|
|
118
117
|
proxyId?: string | null | undefined;
|
|
119
|
-
type?: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated" | undefined;
|
|
120
118
|
createdAt?: number | undefined;
|
|
121
119
|
updatedAt?: number | undefined;
|
|
122
120
|
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> {
|