lancer-shared 1.2.301 → 1.2.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +1 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/account/bidder-account.d.ts +40 -40
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +273 -273
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2358 -2358
- package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
- 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 +566 -566
- 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/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 +189 -189
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +726 -726
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +96 -96
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1040 -1040
- 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 +272 -272
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +103 -103
- package/dist/schemas/logger/scraper-events.d.ts +73 -73
- 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 +112 -112
- 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 +876 -876
- package/dist/schemas/scraper/scrape-result.d.ts +174 -174
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/talent/index.d.ts +750 -750
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/usage/index.d.ts +16 -16
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -84,15 +84,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
84
84
|
highlighted: z.ZodBoolean;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
uid: string;
|
|
87
|
-
prefLabel: string;
|
|
88
87
|
parentSkillUid: string | null;
|
|
88
|
+
prefLabel: string;
|
|
89
89
|
prettyName: string;
|
|
90
90
|
highlighted: boolean;
|
|
91
91
|
freeText?: any;
|
|
92
92
|
}, {
|
|
93
93
|
uid: string;
|
|
94
|
-
prefLabel: string;
|
|
95
94
|
parentSkillUid: string | null;
|
|
95
|
+
prefLabel: string;
|
|
96
96
|
prettyName: string;
|
|
97
97
|
highlighted: boolean;
|
|
98
98
|
freeText?: any;
|
|
@@ -101,11 +101,11 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
101
101
|
min: z.ZodNumber;
|
|
102
102
|
max: z.ZodNumber;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
max: number;
|
|
105
104
|
min: number;
|
|
106
|
-
}, {
|
|
107
105
|
max: number;
|
|
106
|
+
}, {
|
|
108
107
|
min: number;
|
|
108
|
+
max: number;
|
|
109
109
|
}>;
|
|
110
110
|
weeklyBudget: z.ZodObject<{
|
|
111
111
|
amount: z.ZodNumber;
|
|
@@ -117,18 +117,18 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
117
117
|
isSTSVectorSearchResult: z.ZodBoolean;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
type: number;
|
|
120
|
-
title: string;
|
|
121
|
-
description: string;
|
|
122
|
-
amount: {
|
|
123
|
-
amount: number;
|
|
124
|
-
};
|
|
125
120
|
uid: string;
|
|
126
121
|
ciphertext: string;
|
|
122
|
+
title: string;
|
|
123
|
+
description: string;
|
|
127
124
|
createdOn: string;
|
|
128
|
-
durationLabel: string | null;
|
|
129
125
|
publishedOn: string;
|
|
130
126
|
renewedOn: string | null;
|
|
127
|
+
durationLabel: string | null;
|
|
131
128
|
engagement: string | null;
|
|
129
|
+
amount: {
|
|
130
|
+
amount: number;
|
|
131
|
+
};
|
|
132
132
|
connectPrice: number | null;
|
|
133
133
|
client: {
|
|
134
134
|
location: {
|
|
@@ -149,15 +149,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
149
149
|
premium: boolean;
|
|
150
150
|
attrs: {
|
|
151
151
|
uid: string;
|
|
152
|
-
prefLabel: string;
|
|
153
152
|
parentSkillUid: string | null;
|
|
153
|
+
prefLabel: string;
|
|
154
154
|
prettyName: string;
|
|
155
155
|
highlighted: boolean;
|
|
156
156
|
freeText?: any;
|
|
157
157
|
}[];
|
|
158
158
|
hourlyBudget: {
|
|
159
|
-
max: number;
|
|
160
159
|
min: number;
|
|
160
|
+
max: number;
|
|
161
161
|
};
|
|
162
162
|
weeklyBudget: {
|
|
163
163
|
amount: number;
|
|
@@ -168,18 +168,18 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
168
168
|
clientRelation?: any;
|
|
169
169
|
}, {
|
|
170
170
|
type: number;
|
|
171
|
-
title: string;
|
|
172
|
-
description: string;
|
|
173
|
-
amount: {
|
|
174
|
-
amount: number;
|
|
175
|
-
};
|
|
176
171
|
uid: string;
|
|
177
172
|
ciphertext: string;
|
|
173
|
+
title: string;
|
|
174
|
+
description: string;
|
|
178
175
|
createdOn: string;
|
|
179
|
-
durationLabel: string | null;
|
|
180
176
|
publishedOn: string;
|
|
181
177
|
renewedOn: string | null;
|
|
178
|
+
durationLabel: string | null;
|
|
182
179
|
engagement: string | null;
|
|
180
|
+
amount: {
|
|
181
|
+
amount: number;
|
|
182
|
+
};
|
|
183
183
|
connectPrice: number | null;
|
|
184
184
|
client: {
|
|
185
185
|
location: {
|
|
@@ -200,15 +200,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
200
200
|
premium: boolean;
|
|
201
201
|
attrs: {
|
|
202
202
|
uid: string;
|
|
203
|
-
prefLabel: string;
|
|
204
203
|
parentSkillUid: string | null;
|
|
204
|
+
prefLabel: string;
|
|
205
205
|
prettyName: string;
|
|
206
206
|
highlighted: boolean;
|
|
207
207
|
freeText?: any;
|
|
208
208
|
}[];
|
|
209
209
|
hourlyBudget: {
|
|
210
|
-
max: number;
|
|
211
210
|
min: number;
|
|
211
|
+
max: number;
|
|
212
212
|
};
|
|
213
213
|
weeklyBudget: {
|
|
214
214
|
amount: number;
|
|
@@ -221,18 +221,18 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
listing: {
|
|
223
223
|
type: number;
|
|
224
|
-
title: string;
|
|
225
|
-
description: string;
|
|
226
|
-
amount: {
|
|
227
|
-
amount: number;
|
|
228
|
-
};
|
|
229
224
|
uid: string;
|
|
230
225
|
ciphertext: string;
|
|
226
|
+
title: string;
|
|
227
|
+
description: string;
|
|
231
228
|
createdOn: string;
|
|
232
|
-
durationLabel: string | null;
|
|
233
229
|
publishedOn: string;
|
|
234
230
|
renewedOn: string | null;
|
|
231
|
+
durationLabel: string | null;
|
|
235
232
|
engagement: string | null;
|
|
233
|
+
amount: {
|
|
234
|
+
amount: number;
|
|
235
|
+
};
|
|
236
236
|
connectPrice: number | null;
|
|
237
237
|
client: {
|
|
238
238
|
location: {
|
|
@@ -253,15 +253,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
253
253
|
premium: boolean;
|
|
254
254
|
attrs: {
|
|
255
255
|
uid: string;
|
|
256
|
-
prefLabel: string;
|
|
257
256
|
parentSkillUid: string | null;
|
|
257
|
+
prefLabel: string;
|
|
258
258
|
prettyName: string;
|
|
259
259
|
highlighted: boolean;
|
|
260
260
|
freeText?: any;
|
|
261
261
|
}[];
|
|
262
262
|
hourlyBudget: {
|
|
263
|
-
max: number;
|
|
264
263
|
min: number;
|
|
264
|
+
max: number;
|
|
265
265
|
};
|
|
266
266
|
weeklyBudget: {
|
|
267
267
|
amount: number;
|
|
@@ -274,18 +274,18 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
274
274
|
}, {
|
|
275
275
|
listing: {
|
|
276
276
|
type: number;
|
|
277
|
-
title: string;
|
|
278
|
-
description: string;
|
|
279
|
-
amount: {
|
|
280
|
-
amount: number;
|
|
281
|
-
};
|
|
282
277
|
uid: string;
|
|
283
278
|
ciphertext: string;
|
|
279
|
+
title: string;
|
|
280
|
+
description: string;
|
|
284
281
|
createdOn: string;
|
|
285
|
-
durationLabel: string | null;
|
|
286
282
|
publishedOn: string;
|
|
287
283
|
renewedOn: string | null;
|
|
284
|
+
durationLabel: string | null;
|
|
288
285
|
engagement: string | null;
|
|
286
|
+
amount: {
|
|
287
|
+
amount: number;
|
|
288
|
+
};
|
|
289
289
|
connectPrice: number | null;
|
|
290
290
|
client: {
|
|
291
291
|
location: {
|
|
@@ -306,15 +306,15 @@ export declare const scrapeJobPayloadSchema: z.ZodObject<{
|
|
|
306
306
|
premium: boolean;
|
|
307
307
|
attrs: {
|
|
308
308
|
uid: string;
|
|
309
|
-
prefLabel: string;
|
|
310
309
|
parentSkillUid: string | null;
|
|
310
|
+
prefLabel: string;
|
|
311
311
|
prettyName: string;
|
|
312
312
|
highlighted: boolean;
|
|
313
313
|
freeText?: any;
|
|
314
314
|
}[];
|
|
315
315
|
hourlyBudget: {
|
|
316
|
-
max: number;
|
|
317
316
|
min: number;
|
|
317
|
+
max: number;
|
|
318
318
|
};
|
|
319
319
|
weeklyBudget: {
|
|
320
320
|
amount: number;
|
|
@@ -335,38 +335,38 @@ export declare const processFeedPayloadSchema: z.ZodObject<{
|
|
|
335
335
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
336
336
|
region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
uid: string | null;
|
|
338
339
|
title: string | null;
|
|
340
|
+
jobUrl: string | null;
|
|
339
341
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
340
342
|
datetime: string | null;
|
|
341
|
-
uid: string | null;
|
|
342
|
-
jobUrl: string | null;
|
|
343
343
|
isFeatured: boolean | null;
|
|
344
344
|
}, {
|
|
345
|
+
uid: string | null;
|
|
345
346
|
title: string | null;
|
|
347
|
+
jobUrl: string | null;
|
|
346
348
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
347
349
|
datetime: string | null;
|
|
348
|
-
uid: string | null;
|
|
349
|
-
jobUrl: string | null;
|
|
350
350
|
isFeatured: boolean | null;
|
|
351
351
|
}>, "many">;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
354
354
|
listings: {
|
|
355
|
+
uid: string | null;
|
|
355
356
|
title: string | null;
|
|
357
|
+
jobUrl: string | null;
|
|
356
358
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
357
359
|
datetime: string | null;
|
|
358
|
-
uid: string | null;
|
|
359
|
-
jobUrl: string | null;
|
|
360
360
|
isFeatured: boolean | null;
|
|
361
361
|
}[];
|
|
362
362
|
}, {
|
|
363
363
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
364
364
|
listings: {
|
|
365
|
+
uid: string | null;
|
|
365
366
|
title: string | null;
|
|
367
|
+
jobUrl: string | null;
|
|
366
368
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
367
369
|
datetime: string | null;
|
|
368
|
-
uid: string | null;
|
|
369
|
-
jobUrl: string | null;
|
|
370
370
|
isFeatured: boolean | null;
|
|
371
371
|
}[];
|
|
372
372
|
}>;
|
|
@@ -379,38 +379,38 @@ export declare const scrapeJobActivityPayloadSchema: z.ZodObject<{
|
|
|
379
379
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
380
380
|
region: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">, z.ZodLiteral<"All">]>>;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
uid: string | null;
|
|
382
383
|
title: string | null;
|
|
384
|
+
jobUrl: string | null;
|
|
383
385
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
384
386
|
datetime: string | null;
|
|
385
|
-
uid: string | null;
|
|
386
|
-
jobUrl: string | null;
|
|
387
387
|
isFeatured: boolean | null;
|
|
388
388
|
}, {
|
|
389
|
+
uid: string | null;
|
|
389
390
|
title: string | null;
|
|
391
|
+
jobUrl: string | null;
|
|
390
392
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
391
393
|
datetime: string | null;
|
|
392
|
-
uid: string | null;
|
|
393
|
-
jobUrl: string | null;
|
|
394
394
|
isFeatured: boolean | null;
|
|
395
395
|
}>;
|
|
396
396
|
offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
listing: {
|
|
399
|
+
uid: string | null;
|
|
399
400
|
title: string | null;
|
|
401
|
+
jobUrl: string | null;
|
|
400
402
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
401
403
|
datetime: string | null;
|
|
402
|
-
uid: string | null;
|
|
403
|
-
jobUrl: string | null;
|
|
404
404
|
isFeatured: boolean | null;
|
|
405
405
|
};
|
|
406
406
|
offsetHour: 4 | 24;
|
|
407
407
|
}, {
|
|
408
408
|
listing: {
|
|
409
|
+
uid: string | null;
|
|
409
410
|
title: string | null;
|
|
411
|
+
jobUrl: string | null;
|
|
410
412
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
411
413
|
datetime: string | null;
|
|
412
|
-
uid: string | null;
|
|
413
|
-
jobUrl: string | null;
|
|
414
414
|
isFeatured: boolean | null;
|
|
415
415
|
};
|
|
416
416
|
offsetHour: 4 | 24;
|
|
@@ -494,10 +494,9 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
494
494
|
memberSinceFrom: z.ZodNullable<z.ZodString>;
|
|
495
495
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
496
496
|
}, "strip", z.ZodTypeAny, {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
enterpriseClient: "false" | "all" | "true";
|
|
497
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
498
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
499
|
+
enterpriseClient: "all" | "true" | "false";
|
|
501
500
|
clientLocationIncludes: string[] | null;
|
|
502
501
|
clientLocationExcludes: string[] | null;
|
|
503
502
|
minReviewScore: number | null;
|
|
@@ -507,6 +506,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
507
506
|
minHireRate: number | null;
|
|
508
507
|
maxHireRate: number | null;
|
|
509
508
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
509
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
510
510
|
minJobsPosted: number | null;
|
|
511
511
|
minAvgHourlyRate: number | null;
|
|
512
512
|
maxAvgHourlyRate: number | null;
|
|
@@ -514,7 +514,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
514
514
|
memberSinceFrom: string | null;
|
|
515
515
|
memberSinceTo: string | null;
|
|
516
516
|
}, {
|
|
517
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
518
517
|
clientLocationIncludes: string[] | null;
|
|
519
518
|
clientLocationExcludes: string[] | null;
|
|
520
519
|
minReviewScore: number | null;
|
|
@@ -524,15 +523,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
524
523
|
minHireRate: number | null;
|
|
525
524
|
maxHireRate: number | null;
|
|
526
525
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
526
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
527
527
|
minJobsPosted: number | null;
|
|
528
528
|
minAvgHourlyRate: number | null;
|
|
529
529
|
maxAvgHourlyRate: number | null;
|
|
530
530
|
minNumReviews: number | null;
|
|
531
531
|
memberSinceFrom: string | null;
|
|
532
532
|
memberSinceTo: string | null;
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
enterpriseClient?: "
|
|
533
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
534
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
535
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
536
536
|
}>>;
|
|
537
537
|
includeClientsWithZeroReviews: z.ZodNullable<z.ZodBoolean>;
|
|
538
538
|
includeClientsWithLessThanXPostedJobs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -547,34 +547,51 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
547
547
|
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
548
548
|
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
549
549
|
}, "strip", z.ZodTypeAny, {
|
|
550
|
-
includeRisingTalent: string | null;
|
|
551
550
|
locationIncludes: string[] | null;
|
|
552
551
|
locationExcludes: string[] | null;
|
|
553
552
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
554
553
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
554
|
+
includeRisingTalent: string | null;
|
|
555
555
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
556
556
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
557
557
|
}, {
|
|
558
|
-
includeRisingTalent: string | null;
|
|
559
558
|
locationIncludes: string[] | null;
|
|
560
559
|
locationExcludes: string[] | null;
|
|
561
560
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
562
561
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
562
|
+
includeRisingTalent: string | null;
|
|
563
563
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
564
564
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
565
565
|
}>>;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
568
|
+
keywords: {
|
|
569
|
+
includes: string | null;
|
|
570
|
+
excludes: string | null;
|
|
571
|
+
} | null;
|
|
572
|
+
searchQuery: string | null;
|
|
567
573
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
568
|
-
|
|
569
|
-
|
|
574
|
+
categories: {
|
|
575
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
576
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
577
|
+
} | null;
|
|
578
|
+
payment: {
|
|
579
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
580
|
+
minFixedPrice: number | null;
|
|
581
|
+
maxFixedPrice: number | null;
|
|
582
|
+
minHourlyRate: number | null;
|
|
583
|
+
maxHourlyRate: number | null;
|
|
570
584
|
} | null;
|
|
571
585
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
572
586
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
587
|
+
questions: {
|
|
588
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
589
|
+
} | null;
|
|
590
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
573
591
|
clientInfo: {
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
enterpriseClient: "false" | "all" | "true";
|
|
592
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
593
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
594
|
+
enterpriseClient: "all" | "true" | "false";
|
|
578
595
|
clientLocationIncludes: string[] | null;
|
|
579
596
|
clientLocationExcludes: string[] | null;
|
|
580
597
|
minReviewScore: number | null;
|
|
@@ -584,6 +601,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
584
601
|
minHireRate: number | null;
|
|
585
602
|
maxHireRate: number | null;
|
|
586
603
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
604
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
587
605
|
minJobsPosted: number | null;
|
|
588
606
|
minAvgHourlyRate: number | null;
|
|
589
607
|
maxAvgHourlyRate: number | null;
|
|
@@ -591,21 +609,27 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
591
609
|
memberSinceFrom: string | null;
|
|
592
610
|
memberSinceTo: string | null;
|
|
593
611
|
} | null;
|
|
612
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
613
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
614
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
615
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
594
616
|
vendorQualifications: {
|
|
595
|
-
includeRisingTalent: string | null;
|
|
596
617
|
locationIncludes: string[] | null;
|
|
597
618
|
locationExcludes: string[] | null;
|
|
598
619
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
599
620
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
621
|
+
includeRisingTalent: string | null;
|
|
600
622
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
601
623
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
602
624
|
} | null;
|
|
603
|
-
|
|
625
|
+
}, {
|
|
626
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
604
627
|
keywords: {
|
|
605
628
|
includes: string | null;
|
|
606
629
|
excludes: string | null;
|
|
607
630
|
} | null;
|
|
608
631
|
searchQuery: string | null;
|
|
632
|
+
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
609
633
|
categories: {
|
|
610
634
|
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
611
635
|
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
@@ -617,20 +641,13 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
617
641
|
minHourlyRate: number | null;
|
|
618
642
|
maxHourlyRate: number | null;
|
|
619
643
|
} | null;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
623
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
624
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
625
|
-
}, {
|
|
626
|
-
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
644
|
+
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
645
|
+
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
627
646
|
questions: {
|
|
628
647
|
hasQuestions: ("all" | "yes" | "no")[];
|
|
629
648
|
} | null;
|
|
630
|
-
|
|
631
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
649
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
632
650
|
clientInfo: {
|
|
633
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
634
651
|
clientLocationIncludes: string[] | null;
|
|
635
652
|
clientLocationExcludes: string[] | null;
|
|
636
653
|
minReviewScore: number | null;
|
|
@@ -640,47 +657,30 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
640
657
|
minHireRate: number | null;
|
|
641
658
|
maxHireRate: number | null;
|
|
642
659
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
660
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
643
661
|
minJobsPosted: number | null;
|
|
644
662
|
minAvgHourlyRate: number | null;
|
|
645
663
|
maxAvgHourlyRate: number | null;
|
|
646
664
|
minNumReviews: number | null;
|
|
647
665
|
memberSinceFrom: string | null;
|
|
648
666
|
memberSinceTo: string | null;
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
enterpriseClient?: "
|
|
667
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
668
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
669
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
652
670
|
} | null;
|
|
671
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
672
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
673
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
674
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
653
675
|
vendorQualifications: {
|
|
654
|
-
includeRisingTalent: string | null;
|
|
655
676
|
locationIncludes: string[] | null;
|
|
656
677
|
locationExcludes: string[] | null;
|
|
657
678
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
658
679
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
680
|
+
includeRisingTalent: string | null;
|
|
659
681
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
660
682
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
661
683
|
} | null;
|
|
662
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
663
|
-
keywords: {
|
|
664
|
-
includes: string | null;
|
|
665
|
-
excludes: string | null;
|
|
666
|
-
} | null;
|
|
667
|
-
searchQuery: string | null;
|
|
668
|
-
categories: {
|
|
669
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
670
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
671
|
-
} | null;
|
|
672
|
-
payment: {
|
|
673
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
674
|
-
minFixedPrice: number | null;
|
|
675
|
-
maxFixedPrice: number | null;
|
|
676
|
-
minHourlyRate: number | null;
|
|
677
|
-
maxHourlyRate: number | null;
|
|
678
|
-
} | null;
|
|
679
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
680
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
681
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
682
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
683
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
684
684
|
}>;
|
|
685
685
|
createdAt: z.ZodNumber;
|
|
686
686
|
updatedAt: z.ZodNumber;
|
|
@@ -707,12 +707,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
707
707
|
boosted: z.ZodDefault<z.ZodNumber>;
|
|
708
708
|
}, "strip", z.ZodTypeAny, {
|
|
709
709
|
biddingAmount: number;
|
|
710
|
-
boosted: number;
|
|
711
710
|
boostingAmount: number;
|
|
711
|
+
boosted: number;
|
|
712
712
|
}, {
|
|
713
713
|
biddingAmount?: number | undefined;
|
|
714
|
-
boosted?: number | undefined;
|
|
715
714
|
boostingAmount?: number | undefined;
|
|
715
|
+
boosted?: number | undefined;
|
|
716
716
|
}>;
|
|
717
717
|
notificationsEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
718
718
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">, z.ZodLiteral<"error">, z.ZodLiteral<"archived">]>>;
|
|
@@ -723,16 +723,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
723
723
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
724
724
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
|
-
contractorName: string | null;
|
|
727
726
|
agencyName: string | null;
|
|
728
|
-
specialisedProfile: string | null;
|
|
729
727
|
bidderId: string | null;
|
|
728
|
+
contractorName: string | null;
|
|
729
|
+
specialisedProfile: string | null;
|
|
730
730
|
bidAs: "agency" | "freelancer" | null;
|
|
731
731
|
}, {
|
|
732
|
-
contractorName: string | null;
|
|
733
732
|
agencyName: string | null;
|
|
734
|
-
specialisedProfile: string | null;
|
|
735
733
|
bidderId: string | null;
|
|
734
|
+
contractorName: string | null;
|
|
735
|
+
specialisedProfile: string | null;
|
|
736
736
|
bidAs: "agency" | "freelancer" | null;
|
|
737
737
|
}>>;
|
|
738
738
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
@@ -746,18 +746,18 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
746
746
|
instructions: z.ZodString;
|
|
747
747
|
status: z.ZodEnum<["active", "archived"]>;
|
|
748
748
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
status: "active" | "archived";
|
|
750
|
+
description: string | null;
|
|
749
751
|
id: string;
|
|
750
752
|
name: string;
|
|
751
753
|
template: string;
|
|
752
|
-
description: string | null;
|
|
753
|
-
status: "active" | "archived";
|
|
754
754
|
instructions: string;
|
|
755
755
|
}, {
|
|
756
|
+
status: "active" | "archived";
|
|
757
|
+
description: string | null;
|
|
756
758
|
id: string;
|
|
757
759
|
name: string;
|
|
758
760
|
template: string;
|
|
759
|
-
description: string | null;
|
|
760
|
-
status: "active" | "archived";
|
|
761
761
|
instructions: string;
|
|
762
762
|
}>>;
|
|
763
763
|
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
@@ -767,12 +767,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
767
767
|
enabled: z.ZodBoolean;
|
|
768
768
|
windowAnchorAt: z.ZodNullable<z.ZodNumber>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
enabled: boolean;
|
|
771
770
|
maxDailyProposalsSent: number;
|
|
771
|
+
enabled: boolean;
|
|
772
772
|
windowAnchorAt: number | null;
|
|
773
773
|
}, {
|
|
774
|
-
enabled: boolean;
|
|
775
774
|
maxDailyProposalsSent: number;
|
|
775
|
+
enabled: boolean;
|
|
776
776
|
windowAnchorAt: number | null;
|
|
777
777
|
}>;
|
|
778
778
|
workTime: z.ZodObject<{
|
|
@@ -790,16 +790,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
790
790
|
}>, "many">;
|
|
791
791
|
timezone: z.ZodNullable<z.ZodString>;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
793
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
794
793
|
enabled: boolean;
|
|
794
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
795
795
|
timeBlocks: {
|
|
796
796
|
fromHour: number;
|
|
797
797
|
toHour: number;
|
|
798
798
|
}[];
|
|
799
799
|
timezone: string | null;
|
|
800
800
|
}, {
|
|
801
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
802
801
|
enabled: boolean;
|
|
802
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
803
803
|
timeBlocks: {
|
|
804
804
|
fromHour: number;
|
|
805
805
|
toHour: number;
|
|
@@ -808,42 +808,36 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
808
808
|
}>;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
810
|
id: string;
|
|
811
|
-
priority: number | null;
|
|
812
811
|
name: string;
|
|
813
|
-
createdAt: number;
|
|
814
|
-
updatedAt: number;
|
|
815
|
-
coverLetterTemplateId: string | null;
|
|
816
|
-
biddingDelayInMinutes: number;
|
|
817
|
-
bidWithWarning: "bid" | "skip";
|
|
818
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
819
|
-
biddingHourlyRatePercentage: number | null;
|
|
820
|
-
biddingFixedHourlyRate: number | null;
|
|
821
|
-
boostingEnabled: boolean | null;
|
|
822
|
-
boostDownToNthPlace: number | null;
|
|
823
|
-
connectsAbovePrevious: number | null;
|
|
824
|
-
maximumBoost: number | null;
|
|
825
|
-
minBoost: number | null;
|
|
826
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
827
|
-
alreadyHiredAction: "bid" | "skip";
|
|
828
|
-
bidConfig: {
|
|
829
|
-
contractorName: string | null;
|
|
830
|
-
agencyName: string | null;
|
|
831
|
-
specialisedProfile: string | null;
|
|
832
|
-
bidderId: string | null;
|
|
833
|
-
bidAs: "agency" | "freelancer" | null;
|
|
834
|
-
} | null;
|
|
835
812
|
filters: {
|
|
813
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
814
|
+
keywords: {
|
|
815
|
+
includes: string | null;
|
|
816
|
+
excludes: string | null;
|
|
817
|
+
} | null;
|
|
818
|
+
searchQuery: string | null;
|
|
836
819
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
837
|
-
|
|
838
|
-
|
|
820
|
+
categories: {
|
|
821
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
822
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
823
|
+
} | null;
|
|
824
|
+
payment: {
|
|
825
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
826
|
+
minFixedPrice: number | null;
|
|
827
|
+
maxFixedPrice: number | null;
|
|
828
|
+
minHourlyRate: number | null;
|
|
829
|
+
maxHourlyRate: number | null;
|
|
839
830
|
} | null;
|
|
840
831
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
841
832
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
833
|
+
questions: {
|
|
834
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
835
|
+
} | null;
|
|
836
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
842
837
|
clientInfo: {
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
enterpriseClient: "false" | "all" | "true";
|
|
838
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
839
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
840
|
+
enterpriseClient: "all" | "true" | "false";
|
|
847
841
|
clientLocationIncludes: string[] | null;
|
|
848
842
|
clientLocationExcludes: string[] | null;
|
|
849
843
|
minReviewScore: number | null;
|
|
@@ -853,6 +847,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
853
847
|
minHireRate: number | null;
|
|
854
848
|
maxHireRate: number | null;
|
|
855
849
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
850
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
856
851
|
minJobsPosted: number | null;
|
|
857
852
|
minAvgHourlyRate: number | null;
|
|
858
853
|
maxAvgHourlyRate: number | null;
|
|
@@ -860,106 +855,109 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
860
855
|
memberSinceFrom: string | null;
|
|
861
856
|
memberSinceTo: string | null;
|
|
862
857
|
} | null;
|
|
858
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
859
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
860
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
861
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
863
862
|
vendorQualifications: {
|
|
864
|
-
includeRisingTalent: string | null;
|
|
865
863
|
locationIncludes: string[] | null;
|
|
866
864
|
locationExcludes: string[] | null;
|
|
867
865
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
868
866
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
867
|
+
includeRisingTalent: string | null;
|
|
869
868
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
870
869
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
871
870
|
} | null;
|
|
872
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
873
|
-
keywords: {
|
|
874
|
-
includes: string | null;
|
|
875
|
-
excludes: string | null;
|
|
876
|
-
} | null;
|
|
877
|
-
searchQuery: string | null;
|
|
878
|
-
categories: {
|
|
879
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
880
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
881
|
-
} | null;
|
|
882
|
-
payment: {
|
|
883
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
884
|
-
minFixedPrice: number | null;
|
|
885
|
-
maxFixedPrice: number | null;
|
|
886
|
-
minHourlyRate: number | null;
|
|
887
|
-
maxHourlyRate: number | null;
|
|
888
|
-
} | null;
|
|
889
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
890
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
891
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
892
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
893
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
894
871
|
};
|
|
872
|
+
createdAt: number;
|
|
873
|
+
updatedAt: number;
|
|
895
874
|
archivedAt: number | null;
|
|
896
875
|
confirmedBillingAt: number | null;
|
|
876
|
+
boostingEnabled: boolean | null;
|
|
877
|
+
maximumBoost: number | null;
|
|
878
|
+
minBoost: number | null;
|
|
879
|
+
boostDownToNthPlace: number | null;
|
|
880
|
+
connectsAbovePrevious: number | null;
|
|
881
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
897
882
|
monthlyBudget: number | null;
|
|
898
883
|
boostingThreshold: number | null;
|
|
899
|
-
|
|
884
|
+
biddingDelayInMinutes: number;
|
|
885
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
886
|
+
biddingFixedHourlyRate: number | null;
|
|
887
|
+
alreadyHiredAction: "skip" | "bid";
|
|
888
|
+
biddingHourlyRatePercentage: number | null;
|
|
889
|
+
bidWithWarning: "skip" | "bid";
|
|
890
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
900
891
|
expenses: {
|
|
901
892
|
biddingAmount: number;
|
|
902
|
-
boosted: number;
|
|
903
893
|
boostingAmount: number;
|
|
894
|
+
boosted: number;
|
|
904
895
|
};
|
|
905
896
|
notificationsEnabled: boolean | null;
|
|
897
|
+
bidConfig: {
|
|
898
|
+
agencyName: string | null;
|
|
899
|
+
bidderId: string | null;
|
|
900
|
+
contractorName: string | null;
|
|
901
|
+
specialisedProfile: string | null;
|
|
902
|
+
bidAs: "agency" | "freelancer" | null;
|
|
903
|
+
} | null;
|
|
904
|
+
coverLetterTemplateId: string | null;
|
|
906
905
|
coverLetterTemplatesIds: string[] | null;
|
|
906
|
+
priority: number | null;
|
|
907
907
|
coverLetterTemplate: {
|
|
908
|
+
status: "active" | "archived";
|
|
909
|
+
description: string | null;
|
|
908
910
|
id: string;
|
|
909
911
|
name: string;
|
|
910
912
|
template: string;
|
|
911
|
-
description: string | null;
|
|
912
|
-
status: "active" | "archived";
|
|
913
913
|
instructions: string;
|
|
914
914
|
} | null;
|
|
915
915
|
organizationProfileId: string | null;
|
|
916
916
|
lastSyncedProposalsAt: number | null;
|
|
917
917
|
limits: {
|
|
918
|
-
enabled: boolean;
|
|
919
918
|
maxDailyProposalsSent: number;
|
|
919
|
+
enabled: boolean;
|
|
920
920
|
windowAnchorAt: number | null;
|
|
921
921
|
};
|
|
922
922
|
workTime: {
|
|
923
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
924
923
|
enabled: boolean;
|
|
924
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
925
925
|
timeBlocks: {
|
|
926
926
|
fromHour: number;
|
|
927
927
|
toHour: number;
|
|
928
928
|
}[];
|
|
929
929
|
timezone: string | null;
|
|
930
930
|
};
|
|
931
|
-
status?: "
|
|
931
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
932
932
|
}, {
|
|
933
933
|
id: string;
|
|
934
|
-
priority: number | null;
|
|
935
934
|
name: string;
|
|
936
|
-
createdAt: number;
|
|
937
|
-
updatedAt: number;
|
|
938
|
-
coverLetterTemplateId: string | null;
|
|
939
|
-
bidWithWarning: "bid" | "skip";
|
|
940
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
941
|
-
biddingHourlyRatePercentage: number | null;
|
|
942
|
-
biddingFixedHourlyRate: number | null;
|
|
943
|
-
boostDownToNthPlace: number | null;
|
|
944
|
-
connectsAbovePrevious: number | null;
|
|
945
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
946
|
-
alreadyHiredAction: "bid" | "skip";
|
|
947
|
-
bidConfig: {
|
|
948
|
-
contractorName: string | null;
|
|
949
|
-
agencyName: string | null;
|
|
950
|
-
specialisedProfile: string | null;
|
|
951
|
-
bidderId: string | null;
|
|
952
|
-
bidAs: "agency" | "freelancer" | null;
|
|
953
|
-
} | null;
|
|
954
935
|
filters: {
|
|
936
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
937
|
+
keywords: {
|
|
938
|
+
includes: string | null;
|
|
939
|
+
excludes: string | null;
|
|
940
|
+
} | null;
|
|
941
|
+
searchQuery: string | null;
|
|
955
942
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
956
|
-
|
|
957
|
-
|
|
943
|
+
categories: {
|
|
944
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
945
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
946
|
+
} | null;
|
|
947
|
+
payment: {
|
|
948
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
949
|
+
minFixedPrice: number | null;
|
|
950
|
+
maxFixedPrice: number | null;
|
|
951
|
+
minHourlyRate: number | null;
|
|
952
|
+
maxHourlyRate: number | null;
|
|
958
953
|
} | null;
|
|
959
954
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
960
955
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
956
|
+
questions: {
|
|
957
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
958
|
+
} | null;
|
|
959
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
961
960
|
clientInfo: {
|
|
962
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
963
961
|
clientLocationIncludes: string[] | null;
|
|
964
962
|
clientLocationExcludes: string[] | null;
|
|
965
963
|
minReviewScore: number | null;
|
|
@@ -969,89 +967,91 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
969
967
|
minHireRate: number | null;
|
|
970
968
|
maxHireRate: number | null;
|
|
971
969
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
970
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
972
971
|
minJobsPosted: number | null;
|
|
973
972
|
minAvgHourlyRate: number | null;
|
|
974
973
|
maxAvgHourlyRate: number | null;
|
|
975
974
|
minNumReviews: number | null;
|
|
976
975
|
memberSinceFrom: string | null;
|
|
977
976
|
memberSinceTo: string | null;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
enterpriseClient?: "
|
|
977
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
978
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
979
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
981
980
|
} | null;
|
|
981
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
982
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
983
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
984
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
982
985
|
vendorQualifications: {
|
|
983
|
-
includeRisingTalent: string | null;
|
|
984
986
|
locationIncludes: string[] | null;
|
|
985
987
|
locationExcludes: string[] | null;
|
|
986
988
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
987
989
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
990
|
+
includeRisingTalent: string | null;
|
|
988
991
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
989
992
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
990
993
|
} | null;
|
|
991
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
992
|
-
keywords: {
|
|
993
|
-
includes: string | null;
|
|
994
|
-
excludes: string | null;
|
|
995
|
-
} | null;
|
|
996
|
-
searchQuery: string | null;
|
|
997
|
-
categories: {
|
|
998
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
999
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
1000
|
-
} | null;
|
|
1001
|
-
payment: {
|
|
1002
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
1003
|
-
minFixedPrice: number | null;
|
|
1004
|
-
maxFixedPrice: number | null;
|
|
1005
|
-
minHourlyRate: number | null;
|
|
1006
|
-
maxHourlyRate: number | null;
|
|
1007
|
-
} | null;
|
|
1008
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1009
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
1010
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1011
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1012
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1013
994
|
};
|
|
995
|
+
createdAt: number;
|
|
996
|
+
updatedAt: number;
|
|
1014
997
|
archivedAt: number | null;
|
|
1015
998
|
confirmedBillingAt: number | null;
|
|
999
|
+
boostDownToNthPlace: number | null;
|
|
1000
|
+
connectsAbovePrevious: number | null;
|
|
1001
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1016
1002
|
monthlyBudget: number | null;
|
|
1017
|
-
|
|
1003
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1004
|
+
biddingFixedHourlyRate: number | null;
|
|
1005
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1006
|
+
biddingHourlyRatePercentage: number | null;
|
|
1007
|
+
bidWithWarning: "skip" | "bid";
|
|
1008
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
1018
1009
|
expenses: {
|
|
1019
1010
|
biddingAmount?: number | undefined;
|
|
1020
|
-
boosted?: number | undefined;
|
|
1021
1011
|
boostingAmount?: number | undefined;
|
|
1012
|
+
boosted?: number | undefined;
|
|
1022
1013
|
};
|
|
1023
1014
|
notificationsEnabled: boolean | null;
|
|
1015
|
+
bidConfig: {
|
|
1016
|
+
agencyName: string | null;
|
|
1017
|
+
bidderId: string | null;
|
|
1018
|
+
contractorName: string | null;
|
|
1019
|
+
specialisedProfile: string | null;
|
|
1020
|
+
bidAs: "agency" | "freelancer" | null;
|
|
1021
|
+
} | null;
|
|
1022
|
+
coverLetterTemplateId: string | null;
|
|
1024
1023
|
coverLetterTemplatesIds: string[] | null;
|
|
1024
|
+
priority: number | null;
|
|
1025
1025
|
coverLetterTemplate: {
|
|
1026
|
+
status: "active" | "archived";
|
|
1027
|
+
description: string | null;
|
|
1026
1028
|
id: string;
|
|
1027
1029
|
name: string;
|
|
1028
1030
|
template: string;
|
|
1029
|
-
description: string | null;
|
|
1030
|
-
status: "active" | "archived";
|
|
1031
1031
|
instructions: string;
|
|
1032
1032
|
} | null;
|
|
1033
1033
|
organizationProfileId: string | null;
|
|
1034
1034
|
lastSyncedProposalsAt: number | null;
|
|
1035
1035
|
limits: {
|
|
1036
|
-
enabled: boolean;
|
|
1037
1036
|
maxDailyProposalsSent: number;
|
|
1037
|
+
enabled: boolean;
|
|
1038
1038
|
windowAnchorAt: number | null;
|
|
1039
1039
|
};
|
|
1040
1040
|
workTime: {
|
|
1041
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1042
1041
|
enabled: boolean;
|
|
1042
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
1043
1043
|
timeBlocks: {
|
|
1044
1044
|
fromHour: number;
|
|
1045
1045
|
toHour: number;
|
|
1046
1046
|
}[];
|
|
1047
1047
|
timezone: string | null;
|
|
1048
1048
|
};
|
|
1049
|
-
status?: "
|
|
1050
|
-
biddingDelayInMinutes?: number | undefined;
|
|
1049
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
1051
1050
|
boostingEnabled?: boolean | null | undefined;
|
|
1052
1051
|
maximumBoost?: number | null | undefined;
|
|
1053
1052
|
minBoost?: number | null | undefined;
|
|
1054
1053
|
boostingThreshold?: number | null | undefined;
|
|
1054
|
+
biddingDelayInMinutes?: number | undefined;
|
|
1055
1055
|
}>;
|
|
1056
1056
|
organization: z.ZodObject<{
|
|
1057
1057
|
id: z.ZodString;
|
|
@@ -1128,7 +1128,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1128
1128
|
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
1129
1129
|
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
1130
1130
|
}, "strip", z.ZodTypeAny, {
|
|
1131
|
-
source: "manual" | "stripe";
|
|
1132
1131
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
1133
1132
|
planId: string;
|
|
1134
1133
|
pendingPlanId: string | null;
|
|
@@ -1147,13 +1146,13 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1147
1146
|
hosted_invoice_url: string | null;
|
|
1148
1147
|
};
|
|
1149
1148
|
};
|
|
1149
|
+
source: "stripe" | "manual";
|
|
1150
1150
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1151
1151
|
trialEndsAt: number | null;
|
|
1152
1152
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
1153
1153
|
hasUsBidderAccess: boolean | null;
|
|
1154
1154
|
usBidderSubscriptionItemId: string | null;
|
|
1155
1155
|
}, {
|
|
1156
|
-
source: "manual" | "stripe";
|
|
1157
1156
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
1158
1157
|
planId: string;
|
|
1159
1158
|
pendingPlanId: string | null;
|
|
@@ -1172,6 +1171,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1172
1171
|
hosted_invoice_url: string | null;
|
|
1173
1172
|
};
|
|
1174
1173
|
};
|
|
1174
|
+
source: "stripe" | "manual";
|
|
1175
1175
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1176
1176
|
trialEndsAt: number | null;
|
|
1177
1177
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
@@ -1242,35 +1242,35 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1242
1242
|
error: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
}, "strip", z.ZodTypeAny, {
|
|
1244
1244
|
status: string;
|
|
1245
|
-
error?: string | undefined;
|
|
1246
|
-
currency?: string | undefined;
|
|
1247
1245
|
amount?: number | undefined;
|
|
1246
|
+
error?: string | undefined;
|
|
1248
1247
|
paidAt?: number | undefined;
|
|
1248
|
+
currency?: string | undefined;
|
|
1249
1249
|
paymentIntentId?: string | undefined;
|
|
1250
1250
|
}, {
|
|
1251
1251
|
status: string;
|
|
1252
|
-
error?: string | undefined;
|
|
1253
|
-
currency?: string | undefined;
|
|
1254
1252
|
amount?: number | undefined;
|
|
1253
|
+
error?: string | undefined;
|
|
1255
1254
|
paidAt?: number | undefined;
|
|
1255
|
+
currency?: string | undefined;
|
|
1256
1256
|
paymentIntentId?: string | undefined;
|
|
1257
1257
|
}>>;
|
|
1258
1258
|
}, "strip", z.ZodTypeAny, {
|
|
1259
1259
|
usBidderAccountPayment?: {
|
|
1260
1260
|
status: string;
|
|
1261
|
-
error?: string | undefined;
|
|
1262
|
-
currency?: string | undefined;
|
|
1263
1261
|
amount?: number | undefined;
|
|
1262
|
+
error?: string | undefined;
|
|
1264
1263
|
paidAt?: number | undefined;
|
|
1264
|
+
currency?: string | undefined;
|
|
1265
1265
|
paymentIntentId?: string | undefined;
|
|
1266
1266
|
} | undefined;
|
|
1267
1267
|
}, {
|
|
1268
1268
|
usBidderAccountPayment?: {
|
|
1269
1269
|
status: string;
|
|
1270
|
-
error?: string | undefined;
|
|
1271
|
-
currency?: string | undefined;
|
|
1272
1270
|
amount?: number | undefined;
|
|
1271
|
+
error?: string | undefined;
|
|
1273
1272
|
paidAt?: number | undefined;
|
|
1273
|
+
currency?: string | undefined;
|
|
1274
1274
|
paymentIntentId?: string | undefined;
|
|
1275
1275
|
} | undefined;
|
|
1276
1276
|
}>>;
|
|
@@ -1280,18 +1280,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
1281
|
type: "agency" | "freelancer";
|
|
1282
1282
|
id: string;
|
|
1283
|
-
active: boolean;
|
|
1284
1283
|
name: string;
|
|
1285
|
-
billing: {
|
|
1286
|
-
stripe: {
|
|
1287
|
-
customer: {
|
|
1288
|
-
id: string | null;
|
|
1289
|
-
};
|
|
1290
|
-
};
|
|
1291
|
-
savedCard: boolean;
|
|
1292
|
-
} | null;
|
|
1293
1284
|
createdAt: number;
|
|
1294
1285
|
updatedAt: number;
|
|
1286
|
+
active: boolean;
|
|
1295
1287
|
limits: {
|
|
1296
1288
|
monthlyCredits: number;
|
|
1297
1289
|
usedCredits: number;
|
|
@@ -1299,7 +1291,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1299
1291
|
};
|
|
1300
1292
|
associatedBidders: string[] | null;
|
|
1301
1293
|
subscription: {
|
|
1302
|
-
source: "manual" | "stripe";
|
|
1303
1294
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
1304
1295
|
planId: string;
|
|
1305
1296
|
pendingPlanId: string | null;
|
|
@@ -1318,12 +1309,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1318
1309
|
hosted_invoice_url: string | null;
|
|
1319
1310
|
};
|
|
1320
1311
|
};
|
|
1312
|
+
source: "stripe" | "manual";
|
|
1321
1313
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1322
1314
|
trialEndsAt: number | null;
|
|
1323
1315
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
1324
1316
|
hasUsBidderAccess: boolean | null;
|
|
1325
1317
|
usBidderSubscriptionItemId: string | null;
|
|
1326
1318
|
} | null;
|
|
1319
|
+
billing: {
|
|
1320
|
+
stripe: {
|
|
1321
|
+
customer: {
|
|
1322
|
+
id: string | null;
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
savedCard: boolean;
|
|
1326
|
+
} | null;
|
|
1327
1327
|
lastBidTime: number | null;
|
|
1328
1328
|
nextScheduledBidTime: number | null;
|
|
1329
1329
|
openRouterApiKey: string | null;
|
|
@@ -1334,28 +1334,20 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1334
1334
|
usBidderAccountSubscription?: {
|
|
1335
1335
|
usBidderAccountPayment?: {
|
|
1336
1336
|
status: string;
|
|
1337
|
-
error?: string | undefined;
|
|
1338
|
-
currency?: string | undefined;
|
|
1339
1337
|
amount?: number | undefined;
|
|
1338
|
+
error?: string | undefined;
|
|
1340
1339
|
paidAt?: number | undefined;
|
|
1340
|
+
currency?: string | undefined;
|
|
1341
1341
|
paymentIntentId?: string | undefined;
|
|
1342
1342
|
} | undefined;
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
}, {
|
|
1345
1345
|
type: "agency" | "freelancer";
|
|
1346
1346
|
id: string;
|
|
1347
|
-
active: boolean;
|
|
1348
1347
|
name: string;
|
|
1349
|
-
billing: {
|
|
1350
|
-
stripe: {
|
|
1351
|
-
customer: {
|
|
1352
|
-
id: string | null;
|
|
1353
|
-
};
|
|
1354
|
-
};
|
|
1355
|
-
savedCard: boolean;
|
|
1356
|
-
} | null;
|
|
1357
1348
|
createdAt: number;
|
|
1358
1349
|
updatedAt: number;
|
|
1350
|
+
active: boolean;
|
|
1359
1351
|
limits: {
|
|
1360
1352
|
monthlyCredits: number;
|
|
1361
1353
|
usedCredits: number;
|
|
@@ -1363,7 +1355,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1363
1355
|
};
|
|
1364
1356
|
associatedBidders: string[] | null;
|
|
1365
1357
|
subscription: {
|
|
1366
|
-
source: "manual" | "stripe";
|
|
1367
1358
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
1368
1359
|
planId: string;
|
|
1369
1360
|
pendingPlanId: string | null;
|
|
@@ -1382,12 +1373,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1382
1373
|
hosted_invoice_url: string | null;
|
|
1383
1374
|
};
|
|
1384
1375
|
};
|
|
1376
|
+
source: "stripe" | "manual";
|
|
1385
1377
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1386
1378
|
trialEndsAt: number | null;
|
|
1387
1379
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
1388
1380
|
hasUsBidderAccess: boolean | null;
|
|
1389
1381
|
usBidderSubscriptionItemId: string | null;
|
|
1390
1382
|
} | null;
|
|
1383
|
+
billing: {
|
|
1384
|
+
stripe: {
|
|
1385
|
+
customer: {
|
|
1386
|
+
id: string | null;
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
savedCard: boolean;
|
|
1390
|
+
} | null;
|
|
1391
1391
|
lastBidTime: number | null;
|
|
1392
1392
|
nextScheduledBidTime: number | null;
|
|
1393
1393
|
openRouterApiKey: string | null;
|
|
@@ -1398,10 +1398,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1398
1398
|
usBidderAccountSubscription?: {
|
|
1399
1399
|
usBidderAccountPayment?: {
|
|
1400
1400
|
status: string;
|
|
1401
|
-
error?: string | undefined;
|
|
1402
|
-
currency?: string | undefined;
|
|
1403
1401
|
amount?: number | undefined;
|
|
1402
|
+
error?: string | undefined;
|
|
1404
1403
|
paidAt?: number | undefined;
|
|
1404
|
+
currency?: string | undefined;
|
|
1405
1405
|
paymentIntentId?: string | undefined;
|
|
1406
1406
|
} | undefined;
|
|
1407
1407
|
} | undefined;
|
|
@@ -1435,33 +1435,33 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1435
1435
|
min: z.ZodNullable<z.ZodNumber>;
|
|
1436
1436
|
max: z.ZodNullable<z.ZodNumber>;
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
|
-
max: number | null;
|
|
1439
1438
|
min: number | null;
|
|
1440
|
-
}, {
|
|
1441
1439
|
max: number | null;
|
|
1440
|
+
}, {
|
|
1442
1441
|
min: number | null;
|
|
1442
|
+
max: number | null;
|
|
1443
1443
|
}>>;
|
|
1444
1444
|
paymentType: z.ZodNullable<z.ZodString>;
|
|
1445
1445
|
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
1446
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
+
paymentType: string | null;
|
|
1448
|
+
experienceLevel: string | null;
|
|
1447
1449
|
hours: string | null;
|
|
1448
1450
|
duration: string | null;
|
|
1449
1451
|
hourlyRate: {
|
|
1450
|
-
max: number | null;
|
|
1451
1452
|
min: number | null;
|
|
1453
|
+
max: number | null;
|
|
1452
1454
|
} | null;
|
|
1453
|
-
experienceLevel: string | null;
|
|
1454
|
-
paymentType: string | null;
|
|
1455
1455
|
fixedPrice: number | null;
|
|
1456
1456
|
}, {
|
|
1457
|
+
paymentType: string | null;
|
|
1458
|
+
experienceLevel: string | null;
|
|
1457
1459
|
hours: string | null;
|
|
1458
1460
|
duration: string | null;
|
|
1459
1461
|
hourlyRate: {
|
|
1460
|
-
max: number | null;
|
|
1461
1462
|
min: number | null;
|
|
1463
|
+
max: number | null;
|
|
1462
1464
|
} | null;
|
|
1463
|
-
experienceLevel: string | null;
|
|
1464
|
-
paymentType: string | null;
|
|
1465
1465
|
fixedPrice: number | null;
|
|
1466
1466
|
}>>;
|
|
1467
1467
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
@@ -1485,40 +1485,40 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1485
1485
|
companyId: z.ZodNullable<z.ZodString>;
|
|
1486
1486
|
}, "strip", z.ZodTypeAny, {
|
|
1487
1487
|
country: string | null;
|
|
1488
|
+
isPaymentVerified: boolean | null;
|
|
1489
|
+
totalSpent: number | null;
|
|
1488
1490
|
region: string | null;
|
|
1489
|
-
openJobs: number | null;
|
|
1490
1491
|
isPhoneVerified: boolean | null;
|
|
1491
|
-
|
|
1492
|
+
enterpriseClient: boolean | null;
|
|
1493
|
+
companySize: string | null;
|
|
1492
1494
|
numberOfReviews: number | null;
|
|
1493
1495
|
rating: number | null;
|
|
1494
1496
|
jobsPosted: number | null;
|
|
1495
|
-
totalSpent: number | null;
|
|
1496
1497
|
numberOfHires: number | null;
|
|
1497
1498
|
activeEngagements: number | null;
|
|
1499
|
+
openJobs: number | null;
|
|
1498
1500
|
hireRate: number | null;
|
|
1499
1501
|
memberSince: string | null;
|
|
1500
1502
|
companyIndustry: string | null;
|
|
1501
|
-
companySize: string | null;
|
|
1502
|
-
enterpriseClient: boolean | null;
|
|
1503
1503
|
avgHourlyRatePaid: number | null;
|
|
1504
1504
|
companyId: string | null;
|
|
1505
1505
|
}, {
|
|
1506
1506
|
country: string | null;
|
|
1507
|
+
isPaymentVerified: boolean | null;
|
|
1508
|
+
totalSpent: number | null;
|
|
1507
1509
|
region: string | null;
|
|
1508
|
-
openJobs: number | null;
|
|
1509
1510
|
isPhoneVerified: boolean | null;
|
|
1510
|
-
|
|
1511
|
+
enterpriseClient: boolean | null;
|
|
1512
|
+
companySize: string | null;
|
|
1511
1513
|
numberOfReviews: number | null;
|
|
1512
1514
|
rating: number | null;
|
|
1513
1515
|
jobsPosted: number | null;
|
|
1514
|
-
totalSpent: number | null;
|
|
1515
1516
|
numberOfHires: number | null;
|
|
1516
1517
|
activeEngagements: number | null;
|
|
1518
|
+
openJobs: number | null;
|
|
1517
1519
|
hireRate: number | null;
|
|
1518
1520
|
memberSince: string | null;
|
|
1519
1521
|
companyIndustry: string | null;
|
|
1520
|
-
companySize: string | null;
|
|
1521
|
-
enterpriseClient: boolean | null;
|
|
1522
1522
|
avgHourlyRatePaid: number | null;
|
|
1523
1523
|
companyId: string | null;
|
|
1524
1524
|
}>>;
|
|
@@ -1531,18 +1531,18 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1531
1531
|
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
1532
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1533
1533
|
location: string | null;
|
|
1534
|
-
|
|
1534
|
+
includeRisingTalent: string | null;
|
|
1535
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
1535
1536
|
englishLevel: string | null;
|
|
1536
1537
|
minimumEarnings: number | null;
|
|
1537
1538
|
jobSuccessScore: string | null;
|
|
1538
|
-
includeRisingTalent: string | null;
|
|
1539
1539
|
}, {
|
|
1540
1540
|
location: string | null;
|
|
1541
|
-
|
|
1541
|
+
includeRisingTalent: string | null;
|
|
1542
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
1542
1543
|
englishLevel: string | null;
|
|
1543
1544
|
minimumEarnings: number | null;
|
|
1544
1545
|
jobSuccessScore: string | null;
|
|
1545
|
-
includeRisingTalent: string | null;
|
|
1546
1546
|
}>>;
|
|
1547
1547
|
processed: z.ZodNullable<z.ZodBoolean>;
|
|
1548
1548
|
isFeatured: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -1560,10 +1560,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1560
1560
|
numHours: z.ZodNullable<z.ZodNumber>;
|
|
1561
1561
|
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
1562
1562
|
}, "strip", z.ZodTypeAny, {
|
|
1563
|
+
paymentType: string | null;
|
|
1563
1564
|
hourlyRate: number | null;
|
|
1565
|
+
fixedPrice: number | null;
|
|
1564
1566
|
jobTitle: string | null;
|
|
1565
|
-
paymentType: string | null;
|
|
1566
|
-
fixedPrice: number | null;
|
|
1567
1567
|
freelancerName: string | null;
|
|
1568
1568
|
freelancerRating: number | null;
|
|
1569
1569
|
freelancerFeedback: string | null;
|
|
@@ -1573,10 +1573,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1573
1573
|
numHours: number | null;
|
|
1574
1574
|
totalBilled: number | null;
|
|
1575
1575
|
}, {
|
|
1576
|
-
hourlyRate: number | null;
|
|
1577
|
-
jobTitle: string | null;
|
|
1578
1576
|
paymentType: string | null;
|
|
1577
|
+
hourlyRate: number | null;
|
|
1579
1578
|
fixedPrice: number | null;
|
|
1579
|
+
jobTitle: string | null;
|
|
1580
1580
|
freelancerName: string | null;
|
|
1581
1581
|
freelancerRating: number | null;
|
|
1582
1582
|
freelancerFeedback: string | null;
|
|
@@ -1593,23 +1593,23 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1593
1593
|
low: z.ZodNullable<z.ZodNumber>;
|
|
1594
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1595
1595
|
high: number | null;
|
|
1596
|
-
low: number | null;
|
|
1597
1596
|
avg: number | null;
|
|
1597
|
+
low: number | null;
|
|
1598
1598
|
}, {
|
|
1599
1599
|
high: number | null;
|
|
1600
|
-
low: number | null;
|
|
1601
1600
|
avg: number | null;
|
|
1601
|
+
low: number | null;
|
|
1602
1602
|
}>>;
|
|
1603
1603
|
jobActivity: z.ZodNullable<z.ZodObject<{
|
|
1604
1604
|
proposals: z.ZodObject<{
|
|
1605
1605
|
min: z.ZodNullable<z.ZodNumber>;
|
|
1606
1606
|
max: z.ZodNullable<z.ZodNumber>;
|
|
1607
1607
|
}, "strip", z.ZodTypeAny, {
|
|
1608
|
-
max: number | null;
|
|
1609
1608
|
min: number | null;
|
|
1610
|
-
}, {
|
|
1611
1609
|
max: number | null;
|
|
1610
|
+
}, {
|
|
1612
1611
|
min: number | null;
|
|
1612
|
+
max: number | null;
|
|
1613
1613
|
}>;
|
|
1614
1614
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
1615
1615
|
lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1619,29 +1619,29 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1619
1619
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1620
1620
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
|
-
unansweredInvites: number | null;
|
|
1623
1622
|
updatedAt: number | null;
|
|
1624
1623
|
proposals: {
|
|
1625
|
-
max: number | null;
|
|
1626
1624
|
min: number | null;
|
|
1625
|
+
max: number | null;
|
|
1627
1626
|
};
|
|
1628
1627
|
lastViewedByClient: string | null;
|
|
1629
1628
|
lastViewedByClientTimestamp: number | null;
|
|
1630
1629
|
hires: number | null;
|
|
1631
1630
|
interviewing: number | null;
|
|
1632
1631
|
invitesSent: number | null;
|
|
1633
|
-
}, {
|
|
1634
1632
|
unansweredInvites: number | null;
|
|
1633
|
+
}, {
|
|
1635
1634
|
updatedAt: number | null;
|
|
1636
1635
|
proposals: {
|
|
1637
|
-
max: number | null;
|
|
1638
1636
|
min: number | null;
|
|
1637
|
+
max: number | null;
|
|
1639
1638
|
};
|
|
1640
1639
|
lastViewedByClient: string | null;
|
|
1641
1640
|
lastViewedByClientTimestamp: number | null;
|
|
1642
1641
|
hires: number | null;
|
|
1643
1642
|
interviewing: number | null;
|
|
1644
1643
|
invitesSent: number | null;
|
|
1644
|
+
unansweredInvites: number | null;
|
|
1645
1645
|
}>>;
|
|
1646
1646
|
occupation: z.ZodNullable<z.ZodString>;
|
|
1647
1647
|
activityUpdates: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
@@ -1650,11 +1650,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1650
1650
|
min: z.ZodNullable<z.ZodNumber>;
|
|
1651
1651
|
max: z.ZodNullable<z.ZodNumber>;
|
|
1652
1652
|
}, "strip", z.ZodTypeAny, {
|
|
1653
|
-
max: number | null;
|
|
1654
1653
|
min: number | null;
|
|
1655
|
-
}, {
|
|
1656
1654
|
max: number | null;
|
|
1655
|
+
}, {
|
|
1657
1656
|
min: number | null;
|
|
1657
|
+
max: number | null;
|
|
1658
1658
|
}>;
|
|
1659
1659
|
lastViewedByClient: z.ZodNullable<z.ZodString>;
|
|
1660
1660
|
lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1664,29 +1664,29 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1664
1664
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
1665
1665
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1666
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1667
|
-
unansweredInvites: number | null;
|
|
1668
1667
|
updatedAt: number | null;
|
|
1669
1668
|
proposals: {
|
|
1670
|
-
max: number | null;
|
|
1671
1669
|
min: number | null;
|
|
1670
|
+
max: number | null;
|
|
1672
1671
|
};
|
|
1673
1672
|
lastViewedByClient: string | null;
|
|
1674
1673
|
lastViewedByClientTimestamp: number | null;
|
|
1675
1674
|
hires: number | null;
|
|
1676
1675
|
interviewing: number | null;
|
|
1677
1676
|
invitesSent: number | null;
|
|
1678
|
-
}, {
|
|
1679
1677
|
unansweredInvites: number | null;
|
|
1678
|
+
}, {
|
|
1680
1679
|
updatedAt: number | null;
|
|
1681
1680
|
proposals: {
|
|
1682
|
-
max: number | null;
|
|
1683
1681
|
min: number | null;
|
|
1682
|
+
max: number | null;
|
|
1684
1683
|
};
|
|
1685
1684
|
lastViewedByClient: string | null;
|
|
1686
1685
|
lastViewedByClientTimestamp: number | null;
|
|
1687
1686
|
hires: number | null;
|
|
1688
1687
|
interviewing: number | null;
|
|
1689
1688
|
invitesSent: number | null;
|
|
1689
|
+
unansweredInvites: number | null;
|
|
1690
1690
|
}>>>>;
|
|
1691
1691
|
activityDelta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1692
1692
|
proposals: z.ZodNumber;
|
|
@@ -1695,17 +1695,17 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1695
1695
|
invitesSent: z.ZodNumber;
|
|
1696
1696
|
unansweredInvites: z.ZodNumber;
|
|
1697
1697
|
}, "strip", z.ZodTypeAny, {
|
|
1698
|
-
unansweredInvites: number;
|
|
1699
1698
|
proposals: number;
|
|
1700
1699
|
hires: number;
|
|
1701
1700
|
interviewing: number;
|
|
1702
1701
|
invitesSent: number;
|
|
1703
|
-
}, {
|
|
1704
1702
|
unansweredInvites: number;
|
|
1703
|
+
}, {
|
|
1705
1704
|
proposals: number;
|
|
1706
1705
|
hires: number;
|
|
1707
1706
|
interviewing: number;
|
|
1708
1707
|
invitesSent: number;
|
|
1708
|
+
unansweredInvites: number;
|
|
1709
1709
|
}>>>;
|
|
1710
1710
|
}, {
|
|
1711
1711
|
jobId: z.ZodString;
|
|
@@ -1721,11 +1721,11 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1721
1721
|
question: z.ZodString;
|
|
1722
1722
|
answer: z.ZodString;
|
|
1723
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1724
|
-
answer: string;
|
|
1725
1724
|
question: string;
|
|
1726
|
-
}, {
|
|
1727
1725
|
answer: string;
|
|
1726
|
+
}, {
|
|
1728
1727
|
question: string;
|
|
1728
|
+
answer: string;
|
|
1729
1729
|
}>, "many">>;
|
|
1730
1730
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1731
1731
|
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>>;
|
|
@@ -1766,127 +1766,124 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1766
1766
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
1767
1767
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1768
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1769
|
-
contractorName: string | null;
|
|
1770
1769
|
agencyName: string | null;
|
|
1770
|
+
contractorName: string | null;
|
|
1771
1771
|
specialisedProfile: string | null;
|
|
1772
1772
|
}, {
|
|
1773
|
-
contractorName: string | null;
|
|
1774
1773
|
agencyName: string | null;
|
|
1774
|
+
contractorName: string | null;
|
|
1775
1775
|
specialisedProfile: string | null;
|
|
1776
1776
|
}>;
|
|
1777
1777
|
}, "strip", z.ZodTypeAny, {
|
|
1778
|
-
biddingDelayInMinutes: number | null;
|
|
1779
|
-
appliedFromQueue: boolean | null;
|
|
1780
|
-
bidWithWarning: "bid" | "skip";
|
|
1781
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1782
|
-
biddingHourlyRatePercentage: number | null;
|
|
1783
|
-
biddingFixedHourlyRate: number | null;
|
|
1784
1778
|
boostingEnabled: boolean | null;
|
|
1785
|
-
boostDownToNthPlace: number | null;
|
|
1786
|
-
connectsAbovePrevious: number | null;
|
|
1787
1779
|
maximumBoost: number | null;
|
|
1788
1780
|
minBoost: number | null;
|
|
1781
|
+
boostDownToNthPlace: number | null;
|
|
1782
|
+
connectsAbovePrevious: number | null;
|
|
1789
1783
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1790
|
-
|
|
1784
|
+
biddingDelayInMinutes: number | null;
|
|
1785
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1786
|
+
biddingFixedHourlyRate: number | null;
|
|
1787
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1788
|
+
biddingHourlyRatePercentage: number | null;
|
|
1789
|
+
bidWithWarning: "skip" | "bid";
|
|
1791
1790
|
bidConfig: {
|
|
1792
|
-
contractorName: string | null;
|
|
1793
1791
|
agencyName: string | null;
|
|
1792
|
+
contractorName: string | null;
|
|
1794
1793
|
specialisedProfile: string | null;
|
|
1795
1794
|
};
|
|
1796
|
-
}, {
|
|
1797
|
-
biddingDelayInMinutes: number | null;
|
|
1798
1795
|
appliedFromQueue: boolean | null;
|
|
1799
|
-
|
|
1800
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1801
|
-
biddingHourlyRatePercentage: number | null;
|
|
1802
|
-
biddingFixedHourlyRate: number | null;
|
|
1796
|
+
}, {
|
|
1803
1797
|
boostingEnabled: boolean | null;
|
|
1804
|
-
boostDownToNthPlace: number | null;
|
|
1805
|
-
connectsAbovePrevious: number | null;
|
|
1806
1798
|
maximumBoost: number | null;
|
|
1807
1799
|
minBoost: number | null;
|
|
1800
|
+
boostDownToNthPlace: number | null;
|
|
1801
|
+
connectsAbovePrevious: number | null;
|
|
1808
1802
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1809
|
-
|
|
1803
|
+
biddingDelayInMinutes: number | null;
|
|
1804
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1805
|
+
biddingFixedHourlyRate: number | null;
|
|
1806
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1807
|
+
biddingHourlyRatePercentage: number | null;
|
|
1808
|
+
bidWithWarning: "skip" | "bid";
|
|
1810
1809
|
bidConfig: {
|
|
1811
|
-
contractorName: string | null;
|
|
1812
1810
|
agencyName: string | null;
|
|
1811
|
+
contractorName: string | null;
|
|
1813
1812
|
specialisedProfile: string | null;
|
|
1814
1813
|
};
|
|
1814
|
+
appliedFromQueue: boolean | null;
|
|
1815
1815
|
}>>;
|
|
1816
1816
|
statusSynced: z.ZodNullable<z.ZodBoolean>;
|
|
1817
1817
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
1818
|
-
|
|
1818
|
+
uid: string | null;
|
|
1819
1819
|
title: string | null;
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
duration: string | null;
|
|
1823
|
-
hourlyRate: {
|
|
1824
|
-
max: number | null;
|
|
1825
|
-
min: number | null;
|
|
1826
|
-
} | null;
|
|
1827
|
-
experienceLevel: string | null;
|
|
1828
|
-
paymentType: string | null;
|
|
1829
|
-
fixedPrice: number | null;
|
|
1830
|
-
} | null;
|
|
1820
|
+
category: string | null;
|
|
1821
|
+
jobUrl: string | null;
|
|
1831
1822
|
description: string | null;
|
|
1832
1823
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1833
1824
|
datetime: number | null;
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
category: string | null;
|
|
1837
|
-
uid: string | null;
|
|
1838
|
-
questions: string[] | null;
|
|
1839
|
-
occupation: string | null;
|
|
1840
|
-
createdAt: number | null;
|
|
1841
|
-
updatedAt: number | null;
|
|
1842
|
-
questionAnswerPairs: {
|
|
1843
|
-
answer: string;
|
|
1844
|
-
question: string;
|
|
1845
|
-
}[] | null;
|
|
1846
|
-
coverLetterTemplateId: string | null;
|
|
1847
|
-
jobId: string;
|
|
1848
|
-
skills: {
|
|
1849
|
-
name: string;
|
|
1850
|
-
}[] | null;
|
|
1851
|
-
descriptionLength: number | null;
|
|
1852
|
-
connectsRequired: number | null;
|
|
1853
|
-
projectType: string | null;
|
|
1825
|
+
isFeatured: boolean | null;
|
|
1826
|
+
id: string | null;
|
|
1854
1827
|
projectDuration: string | null;
|
|
1855
|
-
|
|
1828
|
+
questions: string[] | null;
|
|
1856
1829
|
clientInfo: {
|
|
1857
1830
|
country: string | null;
|
|
1831
|
+
isPaymentVerified: boolean | null;
|
|
1832
|
+
totalSpent: number | null;
|
|
1858
1833
|
region: string | null;
|
|
1859
|
-
openJobs: number | null;
|
|
1860
1834
|
isPhoneVerified: boolean | null;
|
|
1861
|
-
|
|
1835
|
+
enterpriseClient: boolean | null;
|
|
1836
|
+
companySize: string | null;
|
|
1862
1837
|
numberOfReviews: number | null;
|
|
1863
1838
|
rating: number | null;
|
|
1864
1839
|
jobsPosted: number | null;
|
|
1865
|
-
totalSpent: number | null;
|
|
1866
1840
|
numberOfHires: number | null;
|
|
1867
1841
|
activeEngagements: number | null;
|
|
1842
|
+
openJobs: number | null;
|
|
1868
1843
|
hireRate: number | null;
|
|
1869
1844
|
memberSince: string | null;
|
|
1870
1845
|
companyIndustry: string | null;
|
|
1871
|
-
companySize: string | null;
|
|
1872
|
-
enterpriseClient: boolean | null;
|
|
1873
1846
|
avgHourlyRatePaid: number | null;
|
|
1874
1847
|
companyId: string | null;
|
|
1875
1848
|
} | null;
|
|
1876
1849
|
vendorQualifications: {
|
|
1877
1850
|
location: string | null;
|
|
1878
|
-
|
|
1851
|
+
includeRisingTalent: string | null;
|
|
1852
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
1879
1853
|
englishLevel: string | null;
|
|
1880
1854
|
minimumEarnings: number | null;
|
|
1881
1855
|
jobSuccessScore: string | null;
|
|
1882
|
-
includeRisingTalent: string | null;
|
|
1883
1856
|
} | null;
|
|
1884
|
-
|
|
1857
|
+
createdAt: number | null;
|
|
1858
|
+
updatedAt: number | null;
|
|
1859
|
+
biddingDelayInMinutes: number | null;
|
|
1860
|
+
biddingAmount: number | null;
|
|
1861
|
+
boostingAmount: number | null;
|
|
1862
|
+
boosted: boolean | null;
|
|
1863
|
+
specialisedProfile: string | null;
|
|
1864
|
+
coverLetterTemplateId: string | null;
|
|
1865
|
+
skills: {
|
|
1866
|
+
name: string;
|
|
1867
|
+
}[] | null;
|
|
1868
|
+
descriptionLength: number | null;
|
|
1869
|
+
connectsRequired: number | null;
|
|
1870
|
+
projectType: string | null;
|
|
1871
|
+
metadata: {
|
|
1872
|
+
paymentType: string | null;
|
|
1873
|
+
experienceLevel: string | null;
|
|
1874
|
+
hours: string | null;
|
|
1875
|
+
duration: string | null;
|
|
1876
|
+
hourlyRate: {
|
|
1877
|
+
min: number | null;
|
|
1878
|
+
max: number | null;
|
|
1879
|
+
} | null;
|
|
1880
|
+
fixedPrice: number | null;
|
|
1881
|
+
} | null;
|
|
1885
1882
|
clientReviews: {
|
|
1886
|
-
hourlyRate: number | null;
|
|
1887
|
-
jobTitle: string | null;
|
|
1888
1883
|
paymentType: string | null;
|
|
1884
|
+
hourlyRate: number | null;
|
|
1889
1885
|
fixedPrice: number | null;
|
|
1886
|
+
jobTitle: string | null;
|
|
1890
1887
|
freelancerName: string | null;
|
|
1891
1888
|
freelancerRating: number | null;
|
|
1892
1889
|
freelancerFeedback: string | null;
|
|
@@ -1898,39 +1895,42 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1898
1895
|
}[] | null;
|
|
1899
1896
|
bidRange: {
|
|
1900
1897
|
high: number | null;
|
|
1901
|
-
low: number | null;
|
|
1902
1898
|
avg: number | null;
|
|
1899
|
+
low: number | null;
|
|
1903
1900
|
} | null;
|
|
1904
1901
|
jobActivity: {
|
|
1905
|
-
unansweredInvites: number | null;
|
|
1906
1902
|
updatedAt: number | null;
|
|
1907
1903
|
proposals: {
|
|
1908
|
-
max: number | null;
|
|
1909
1904
|
min: number | null;
|
|
1905
|
+
max: number | null;
|
|
1910
1906
|
};
|
|
1911
1907
|
lastViewedByClient: string | null;
|
|
1912
1908
|
lastViewedByClientTimestamp: number | null;
|
|
1913
1909
|
hires: number | null;
|
|
1914
1910
|
interviewing: number | null;
|
|
1915
1911
|
invitesSent: number | null;
|
|
1912
|
+
unansweredInvites: number | null;
|
|
1916
1913
|
} | null;
|
|
1917
|
-
|
|
1914
|
+
occupation: string | null;
|
|
1915
|
+
activityUpdates: 1 | 2 | 3 | null;
|
|
1916
|
+
jobId: string;
|
|
1917
|
+
campaignId: string;
|
|
1918
|
+
organizationId: string;
|
|
1918
1919
|
scrapedAt: number | null;
|
|
1919
1920
|
suitabilityRating: number | null;
|
|
1920
1921
|
suitabilityReason: string | null;
|
|
1921
1922
|
proposal: string | null;
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1923
|
+
questionAnswerPairs: {
|
|
1924
|
+
question: string;
|
|
1925
|
+
answer: string;
|
|
1926
|
+
}[] | null;
|
|
1927
|
+
agentStatus: "biddingFailed" | "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "jobArchived" | null;
|
|
1928
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won" | null;
|
|
1927
1929
|
boostedForPlace: number | null;
|
|
1928
|
-
specialisedProfile: string | null;
|
|
1929
1930
|
biddedAt: number | null;
|
|
1930
1931
|
biddingTaskScheduled: boolean | null;
|
|
1931
1932
|
scheduledBiddingTime: number | null;
|
|
1932
1933
|
inQueue: boolean | null;
|
|
1933
|
-
biddingDelayInMinutes: number | null;
|
|
1934
1934
|
checkFeedbackStatusCreatedAt: number | null;
|
|
1935
1935
|
biddingScheduledAt: number | null;
|
|
1936
1936
|
feedbackCheckTaskId: string | null;
|
|
@@ -1938,121 +1938,118 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1938
1938
|
rejectedFeedback: string | null;
|
|
1939
1939
|
applicationId: string | null;
|
|
1940
1940
|
leadBiddingConfig: {
|
|
1941
|
-
biddingDelayInMinutes: number | null;
|
|
1942
|
-
appliedFromQueue: boolean | null;
|
|
1943
|
-
bidWithWarning: "bid" | "skip";
|
|
1944
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1945
|
-
biddingHourlyRatePercentage: number | null;
|
|
1946
|
-
biddingFixedHourlyRate: number | null;
|
|
1947
1941
|
boostingEnabled: boolean | null;
|
|
1948
|
-
boostDownToNthPlace: number | null;
|
|
1949
|
-
connectsAbovePrevious: number | null;
|
|
1950
1942
|
maximumBoost: number | null;
|
|
1951
1943
|
minBoost: number | null;
|
|
1944
|
+
boostDownToNthPlace: number | null;
|
|
1945
|
+
connectsAbovePrevious: number | null;
|
|
1952
1946
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
1953
|
-
|
|
1947
|
+
biddingDelayInMinutes: number | null;
|
|
1948
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
1949
|
+
biddingFixedHourlyRate: number | null;
|
|
1950
|
+
alreadyHiredAction: "skip" | "bid";
|
|
1951
|
+
biddingHourlyRatePercentage: number | null;
|
|
1952
|
+
bidWithWarning: "skip" | "bid";
|
|
1954
1953
|
bidConfig: {
|
|
1955
|
-
contractorName: string | null;
|
|
1956
1954
|
agencyName: string | null;
|
|
1955
|
+
contractorName: string | null;
|
|
1957
1956
|
specialisedProfile: string | null;
|
|
1958
1957
|
};
|
|
1958
|
+
appliedFromQueue: boolean | null;
|
|
1959
1959
|
} | null;
|
|
1960
1960
|
statusSynced: boolean | null;
|
|
1961
|
-
proposalId?: string | undefined;
|
|
1962
|
-
wonAmount?: number | undefined;
|
|
1963
1961
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1964
|
-
unansweredInvites: number | null;
|
|
1965
1962
|
updatedAt: number | null;
|
|
1966
1963
|
proposals: {
|
|
1967
|
-
max: number | null;
|
|
1968
1964
|
min: number | null;
|
|
1965
|
+
max: number | null;
|
|
1969
1966
|
};
|
|
1970
1967
|
lastViewedByClient: string | null;
|
|
1971
1968
|
lastViewedByClientTimestamp: number | null;
|
|
1972
1969
|
hires: number | null;
|
|
1973
1970
|
interviewing: number | null;
|
|
1974
1971
|
invitesSent: number | null;
|
|
1972
|
+
unansweredInvites: number | null;
|
|
1975
1973
|
}>> | null | undefined;
|
|
1976
1974
|
activityDelta?: {
|
|
1977
|
-
unansweredInvites: number;
|
|
1978
1975
|
proposals: number;
|
|
1979
1976
|
hires: number;
|
|
1980
1977
|
interviewing: number;
|
|
1981
1978
|
invitesSent: number;
|
|
1979
|
+
unansweredInvites: number;
|
|
1982
1980
|
} | null | undefined;
|
|
1981
|
+
proposalId?: string | undefined;
|
|
1982
|
+
wonAmount?: number | undefined;
|
|
1983
1983
|
}, {
|
|
1984
|
-
|
|
1984
|
+
uid: string | null;
|
|
1985
1985
|
title: string | null;
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
duration: string | null;
|
|
1989
|
-
hourlyRate: {
|
|
1990
|
-
max: number | null;
|
|
1991
|
-
min: number | null;
|
|
1992
|
-
} | null;
|
|
1993
|
-
experienceLevel: string | null;
|
|
1994
|
-
paymentType: string | null;
|
|
1995
|
-
fixedPrice: number | null;
|
|
1996
|
-
} | null;
|
|
1986
|
+
category: string | null;
|
|
1987
|
+
jobUrl: string | null;
|
|
1997
1988
|
description: string | null;
|
|
1998
1989
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1999
1990
|
datetime: number | null;
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
category: string | null;
|
|
2003
|
-
uid: string | null;
|
|
2004
|
-
questions: string[] | null;
|
|
2005
|
-
occupation: string | null;
|
|
2006
|
-
createdAt: number | null;
|
|
2007
|
-
updatedAt: number | null;
|
|
2008
|
-
questionAnswerPairs: {
|
|
2009
|
-
answer: string;
|
|
2010
|
-
question: string;
|
|
2011
|
-
}[] | null;
|
|
2012
|
-
coverLetterTemplateId: string | null;
|
|
2013
|
-
jobId: string;
|
|
2014
|
-
skills: {
|
|
2015
|
-
name: string;
|
|
2016
|
-
}[] | null;
|
|
2017
|
-
descriptionLength: number | null;
|
|
2018
|
-
connectsRequired: number | null;
|
|
2019
|
-
projectType: string | null;
|
|
1991
|
+
isFeatured: boolean | null;
|
|
1992
|
+
id: string | null;
|
|
2020
1993
|
projectDuration: string | null;
|
|
2021
|
-
|
|
1994
|
+
questions: string[] | null;
|
|
2022
1995
|
clientInfo: {
|
|
2023
1996
|
country: string | null;
|
|
1997
|
+
isPaymentVerified: boolean | null;
|
|
1998
|
+
totalSpent: number | null;
|
|
2024
1999
|
region: string | null;
|
|
2025
|
-
openJobs: number | null;
|
|
2026
2000
|
isPhoneVerified: boolean | null;
|
|
2027
|
-
|
|
2001
|
+
enterpriseClient: boolean | null;
|
|
2002
|
+
companySize: string | null;
|
|
2028
2003
|
numberOfReviews: number | null;
|
|
2029
2004
|
rating: number | null;
|
|
2030
2005
|
jobsPosted: number | null;
|
|
2031
|
-
totalSpent: number | null;
|
|
2032
2006
|
numberOfHires: number | null;
|
|
2033
2007
|
activeEngagements: number | null;
|
|
2008
|
+
openJobs: number | null;
|
|
2034
2009
|
hireRate: number | null;
|
|
2035
2010
|
memberSince: string | null;
|
|
2036
2011
|
companyIndustry: string | null;
|
|
2037
|
-
companySize: string | null;
|
|
2038
|
-
enterpriseClient: boolean | null;
|
|
2039
2012
|
avgHourlyRatePaid: number | null;
|
|
2040
2013
|
companyId: string | null;
|
|
2041
2014
|
} | null;
|
|
2042
2015
|
vendorQualifications: {
|
|
2043
2016
|
location: string | null;
|
|
2044
|
-
|
|
2017
|
+
includeRisingTalent: string | null;
|
|
2018
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
2045
2019
|
englishLevel: string | null;
|
|
2046
2020
|
minimumEarnings: number | null;
|
|
2047
2021
|
jobSuccessScore: string | null;
|
|
2048
|
-
includeRisingTalent: string | null;
|
|
2049
2022
|
} | null;
|
|
2050
|
-
|
|
2023
|
+
createdAt: number | null;
|
|
2024
|
+
updatedAt: number | null;
|
|
2025
|
+
biddingDelayInMinutes: number | null;
|
|
2026
|
+
biddingAmount: number | null;
|
|
2027
|
+
boostingAmount: number | null;
|
|
2028
|
+
boosted: boolean | null;
|
|
2029
|
+
specialisedProfile: string | null;
|
|
2030
|
+
coverLetterTemplateId: string | null;
|
|
2031
|
+
skills: {
|
|
2032
|
+
name: string;
|
|
2033
|
+
}[] | null;
|
|
2034
|
+
descriptionLength: number | null;
|
|
2035
|
+
connectsRequired: number | null;
|
|
2036
|
+
projectType: string | null;
|
|
2037
|
+
metadata: {
|
|
2038
|
+
paymentType: string | null;
|
|
2039
|
+
experienceLevel: string | null;
|
|
2040
|
+
hours: string | null;
|
|
2041
|
+
duration: string | null;
|
|
2042
|
+
hourlyRate: {
|
|
2043
|
+
min: number | null;
|
|
2044
|
+
max: number | null;
|
|
2045
|
+
} | null;
|
|
2046
|
+
fixedPrice: number | null;
|
|
2047
|
+
} | null;
|
|
2051
2048
|
clientReviews: {
|
|
2052
|
-
hourlyRate: number | null;
|
|
2053
|
-
jobTitle: string | null;
|
|
2054
2049
|
paymentType: string | null;
|
|
2050
|
+
hourlyRate: number | null;
|
|
2055
2051
|
fixedPrice: number | null;
|
|
2052
|
+
jobTitle: string | null;
|
|
2056
2053
|
freelancerName: string | null;
|
|
2057
2054
|
freelancerRating: number | null;
|
|
2058
2055
|
freelancerFeedback: string | null;
|
|
@@ -2064,39 +2061,42 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2064
2061
|
}[] | null;
|
|
2065
2062
|
bidRange: {
|
|
2066
2063
|
high: number | null;
|
|
2067
|
-
low: number | null;
|
|
2068
2064
|
avg: number | null;
|
|
2065
|
+
low: number | null;
|
|
2069
2066
|
} | null;
|
|
2070
2067
|
jobActivity: {
|
|
2071
|
-
unansweredInvites: number | null;
|
|
2072
2068
|
updatedAt: number | null;
|
|
2073
2069
|
proposals: {
|
|
2074
|
-
max: number | null;
|
|
2075
2070
|
min: number | null;
|
|
2071
|
+
max: number | null;
|
|
2076
2072
|
};
|
|
2077
2073
|
lastViewedByClient: string | null;
|
|
2078
2074
|
lastViewedByClientTimestamp: number | null;
|
|
2079
2075
|
hires: number | null;
|
|
2080
2076
|
interviewing: number | null;
|
|
2081
2077
|
invitesSent: number | null;
|
|
2078
|
+
unansweredInvites: number | null;
|
|
2082
2079
|
} | null;
|
|
2083
|
-
|
|
2080
|
+
occupation: string | null;
|
|
2081
|
+
activityUpdates: 1 | 2 | 3 | null;
|
|
2082
|
+
jobId: string;
|
|
2083
|
+
campaignId: string;
|
|
2084
|
+
organizationId: string;
|
|
2084
2085
|
scrapedAt: number | null;
|
|
2085
2086
|
suitabilityRating: number | null;
|
|
2086
2087
|
suitabilityReason: string | null;
|
|
2087
2088
|
proposal: string | null;
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2089
|
+
questionAnswerPairs: {
|
|
2090
|
+
question: string;
|
|
2091
|
+
answer: string;
|
|
2092
|
+
}[] | null;
|
|
2093
|
+
agentStatus: "biddingFailed" | "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "jobArchived" | null;
|
|
2094
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won" | null;
|
|
2093
2095
|
boostedForPlace: number | null;
|
|
2094
|
-
specialisedProfile: string | null;
|
|
2095
2096
|
biddedAt: number | null;
|
|
2096
2097
|
biddingTaskScheduled: boolean | null;
|
|
2097
2098
|
scheduledBiddingTime: number | null;
|
|
2098
2099
|
inQueue: boolean | null;
|
|
2099
|
-
biddingDelayInMinutes: number | null;
|
|
2100
2100
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2101
2101
|
biddingScheduledAt: number | null;
|
|
2102
2102
|
feedbackCheckTaskId: string | null;
|
|
@@ -2104,48 +2104,48 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2104
2104
|
rejectedFeedback: string | null;
|
|
2105
2105
|
applicationId: string | null;
|
|
2106
2106
|
leadBiddingConfig: {
|
|
2107
|
-
biddingDelayInMinutes: number | null;
|
|
2108
|
-
appliedFromQueue: boolean | null;
|
|
2109
|
-
bidWithWarning: "bid" | "skip";
|
|
2110
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2111
|
-
biddingHourlyRatePercentage: number | null;
|
|
2112
|
-
biddingFixedHourlyRate: number | null;
|
|
2113
2107
|
boostingEnabled: boolean | null;
|
|
2114
|
-
boostDownToNthPlace: number | null;
|
|
2115
|
-
connectsAbovePrevious: number | null;
|
|
2116
2108
|
maximumBoost: number | null;
|
|
2117
2109
|
minBoost: number | null;
|
|
2110
|
+
boostDownToNthPlace: number | null;
|
|
2111
|
+
connectsAbovePrevious: number | null;
|
|
2118
2112
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2119
|
-
|
|
2113
|
+
biddingDelayInMinutes: number | null;
|
|
2114
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2115
|
+
biddingFixedHourlyRate: number | null;
|
|
2116
|
+
alreadyHiredAction: "skip" | "bid";
|
|
2117
|
+
biddingHourlyRatePercentage: number | null;
|
|
2118
|
+
bidWithWarning: "skip" | "bid";
|
|
2120
2119
|
bidConfig: {
|
|
2121
|
-
contractorName: string | null;
|
|
2122
2120
|
agencyName: string | null;
|
|
2121
|
+
contractorName: string | null;
|
|
2123
2122
|
specialisedProfile: string | null;
|
|
2124
2123
|
};
|
|
2124
|
+
appliedFromQueue: boolean | null;
|
|
2125
2125
|
} | null;
|
|
2126
2126
|
statusSynced: boolean | null;
|
|
2127
|
-
proposalId?: string | undefined;
|
|
2128
|
-
wonAmount?: number | undefined;
|
|
2129
2127
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2130
|
-
unansweredInvites: number | null;
|
|
2131
2128
|
updatedAt: number | null;
|
|
2132
2129
|
proposals: {
|
|
2133
|
-
max: number | null;
|
|
2134
2130
|
min: number | null;
|
|
2131
|
+
max: number | null;
|
|
2135
2132
|
};
|
|
2136
2133
|
lastViewedByClient: string | null;
|
|
2137
2134
|
lastViewedByClientTimestamp: number | null;
|
|
2138
2135
|
hires: number | null;
|
|
2139
2136
|
interviewing: number | null;
|
|
2140
2137
|
invitesSent: number | null;
|
|
2138
|
+
unansweredInvites: number | null;
|
|
2141
2139
|
}>> | null | undefined;
|
|
2142
2140
|
activityDelta?: {
|
|
2143
|
-
unansweredInvites: number;
|
|
2144
2141
|
proposals: number;
|
|
2145
2142
|
hires: number;
|
|
2146
2143
|
interviewing: number;
|
|
2147
2144
|
invitesSent: number;
|
|
2145
|
+
unansweredInvites: number;
|
|
2148
2146
|
} | null | undefined;
|
|
2147
|
+
proposalId?: string | undefined;
|
|
2148
|
+
wonAmount?: number | undefined;
|
|
2149
2149
|
}>;
|
|
2150
2150
|
bidder: z.ZodObject<{
|
|
2151
2151
|
id: z.ZodString;
|
|
@@ -2205,13 +2205,15 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2205
2205
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
2206
2206
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
2207
2207
|
}, "strip", z.ZodTypeAny, {
|
|
2208
|
+
status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
|
|
2209
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2208
2210
|
id: string;
|
|
2209
2211
|
name: string | null;
|
|
2212
|
+
createdAt: number;
|
|
2213
|
+
updatedAt: number;
|
|
2214
|
+
provider: "user-provided" | "lancer-provided";
|
|
2210
2215
|
email: string;
|
|
2211
|
-
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2212
|
-
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2213
2216
|
password: string;
|
|
2214
|
-
provider: "user-provided" | "lancer-provided";
|
|
2215
2217
|
isConnecting: boolean | null;
|
|
2216
2218
|
securityQuestionAnswer: string | null;
|
|
2217
2219
|
assignedOrganizations: string[];
|
|
@@ -2232,19 +2234,19 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2232
2234
|
}[] | null;
|
|
2233
2235
|
specialisedProfiles: string[] | null;
|
|
2234
2236
|
instanceId: string | null;
|
|
2235
|
-
createdAt: number;
|
|
2236
|
-
updatedAt: number;
|
|
2237
2237
|
errorMessage: string | null;
|
|
2238
2238
|
googleOauthTokens?: any;
|
|
2239
2239
|
isProtected?: boolean | undefined;
|
|
2240
2240
|
}, {
|
|
2241
|
+
status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
|
|
2242
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2241
2243
|
id: string;
|
|
2242
2244
|
name: string | null;
|
|
2245
|
+
createdAt: number;
|
|
2246
|
+
updatedAt: number;
|
|
2247
|
+
provider: "user-provided" | "lancer-provided";
|
|
2243
2248
|
email: string;
|
|
2244
|
-
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2245
|
-
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2246
2249
|
password: string;
|
|
2247
|
-
provider: "user-provided" | "lancer-provided";
|
|
2248
2250
|
isConnecting: boolean | null;
|
|
2249
2251
|
securityQuestionAnswer: string | null;
|
|
2250
2252
|
assignedOrganizations: string[];
|
|
@@ -2265,29 +2267,144 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2265
2267
|
}[] | null;
|
|
2266
2268
|
specialisedProfiles: string[] | null;
|
|
2267
2269
|
instanceId: string | null;
|
|
2268
|
-
createdAt: number;
|
|
2269
|
-
updatedAt: number;
|
|
2270
2270
|
errorMessage: string | null;
|
|
2271
2271
|
googleOauthTokens?: any;
|
|
2272
2272
|
isProtected?: boolean | undefined;
|
|
2273
2273
|
}>;
|
|
2274
2274
|
firstExecutionTime: z.ZodNumber;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
|
+
userId: string;
|
|
2277
|
+
campaign: {
|
|
2278
|
+
id: string;
|
|
2279
|
+
name: string;
|
|
2280
|
+
filters: {
|
|
2281
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
2282
|
+
keywords: {
|
|
2283
|
+
includes: string | null;
|
|
2284
|
+
excludes: string | null;
|
|
2285
|
+
} | null;
|
|
2286
|
+
searchQuery: string | null;
|
|
2287
|
+
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
2288
|
+
categories: {
|
|
2289
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2290
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2291
|
+
} | null;
|
|
2292
|
+
payment: {
|
|
2293
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
2294
|
+
minFixedPrice: number | null;
|
|
2295
|
+
maxFixedPrice: number | null;
|
|
2296
|
+
minHourlyRate: number | null;
|
|
2297
|
+
maxHourlyRate: number | null;
|
|
2298
|
+
} | null;
|
|
2299
|
+
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
2300
|
+
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
2301
|
+
questions: {
|
|
2302
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
2303
|
+
} | null;
|
|
2304
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
2305
|
+
clientInfo: {
|
|
2306
|
+
isPaymentVerified: "all" | "true" | "false";
|
|
2307
|
+
isPhoneVerified: "all" | "true" | "false";
|
|
2308
|
+
enterpriseClient: "all" | "true" | "false";
|
|
2309
|
+
clientLocationIncludes: string[] | null;
|
|
2310
|
+
clientLocationExcludes: string[] | null;
|
|
2311
|
+
minReviewScore: number | null;
|
|
2312
|
+
maxReviewScore: number | null;
|
|
2313
|
+
minTotalSpent: number | null;
|
|
2314
|
+
maxTotalSpent: number | null;
|
|
2315
|
+
minHireRate: number | null;
|
|
2316
|
+
maxHireRate: number | null;
|
|
2317
|
+
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
2318
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
2319
|
+
minJobsPosted: number | null;
|
|
2320
|
+
minAvgHourlyRate: number | null;
|
|
2321
|
+
maxAvgHourlyRate: number | null;
|
|
2322
|
+
minNumReviews: number | null;
|
|
2323
|
+
memberSinceFrom: string | null;
|
|
2324
|
+
memberSinceTo: string | null;
|
|
2325
|
+
} | null;
|
|
2326
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2327
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2328
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2329
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2330
|
+
vendorQualifications: {
|
|
2331
|
+
locationIncludes: string[] | null;
|
|
2332
|
+
locationExcludes: string[] | null;
|
|
2333
|
+
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
2334
|
+
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
2335
|
+
includeRisingTalent: string | null;
|
|
2336
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
2337
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2338
|
+
} | null;
|
|
2339
|
+
};
|
|
2340
|
+
createdAt: number;
|
|
2341
|
+
updatedAt: number;
|
|
2342
|
+
archivedAt: number | null;
|
|
2343
|
+
confirmedBillingAt: number | null;
|
|
2344
|
+
boostingEnabled: boolean | null;
|
|
2345
|
+
maximumBoost: number | null;
|
|
2346
|
+
minBoost: number | null;
|
|
2347
|
+
boostDownToNthPlace: number | null;
|
|
2348
|
+
connectsAbovePrevious: number | null;
|
|
2349
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2350
|
+
monthlyBudget: number | null;
|
|
2351
|
+
boostingThreshold: number | null;
|
|
2352
|
+
biddingDelayInMinutes: number;
|
|
2353
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2354
|
+
biddingFixedHourlyRate: number | null;
|
|
2355
|
+
alreadyHiredAction: "skip" | "bid";
|
|
2356
|
+
biddingHourlyRatePercentage: number | null;
|
|
2357
|
+
bidWithWarning: "skip" | "bid";
|
|
2358
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
2359
|
+
expenses: {
|
|
2360
|
+
biddingAmount: number;
|
|
2361
|
+
boostingAmount: number;
|
|
2362
|
+
boosted: number;
|
|
2363
|
+
};
|
|
2364
|
+
notificationsEnabled: boolean | null;
|
|
2365
|
+
bidConfig: {
|
|
2366
|
+
agencyName: string | null;
|
|
2367
|
+
bidderId: string | null;
|
|
2368
|
+
contractorName: string | null;
|
|
2369
|
+
specialisedProfile: string | null;
|
|
2370
|
+
bidAs: "agency" | "freelancer" | null;
|
|
2371
|
+
} | null;
|
|
2372
|
+
coverLetterTemplateId: string | null;
|
|
2373
|
+
coverLetterTemplatesIds: string[] | null;
|
|
2374
|
+
priority: number | null;
|
|
2375
|
+
coverLetterTemplate: {
|
|
2376
|
+
status: "active" | "archived";
|
|
2377
|
+
description: string | null;
|
|
2378
|
+
id: string;
|
|
2379
|
+
name: string;
|
|
2380
|
+
template: string;
|
|
2381
|
+
instructions: string;
|
|
2382
|
+
} | null;
|
|
2383
|
+
organizationProfileId: string | null;
|
|
2384
|
+
lastSyncedProposalsAt: number | null;
|
|
2385
|
+
limits: {
|
|
2386
|
+
maxDailyProposalsSent: number;
|
|
2387
|
+
enabled: boolean;
|
|
2388
|
+
windowAnchorAt: number | null;
|
|
2389
|
+
};
|
|
2390
|
+
workTime: {
|
|
2391
|
+
enabled: boolean;
|
|
2392
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
2393
|
+
timeBlocks: {
|
|
2394
|
+
fromHour: number;
|
|
2395
|
+
toHour: number;
|
|
2396
|
+
}[];
|
|
2397
|
+
timezone: string | null;
|
|
2398
|
+
};
|
|
2399
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
2400
|
+
};
|
|
2276
2401
|
organization: {
|
|
2277
2402
|
type: "agency" | "freelancer";
|
|
2278
2403
|
id: string;
|
|
2279
|
-
active: boolean;
|
|
2280
2404
|
name: string;
|
|
2281
|
-
billing: {
|
|
2282
|
-
stripe: {
|
|
2283
|
-
customer: {
|
|
2284
|
-
id: string | null;
|
|
2285
|
-
};
|
|
2286
|
-
};
|
|
2287
|
-
savedCard: boolean;
|
|
2288
|
-
} | null;
|
|
2289
2405
|
createdAt: number;
|
|
2290
2406
|
updatedAt: number;
|
|
2407
|
+
active: boolean;
|
|
2291
2408
|
limits: {
|
|
2292
2409
|
monthlyCredits: number;
|
|
2293
2410
|
usedCredits: number;
|
|
@@ -2295,7 +2412,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2295
2412
|
};
|
|
2296
2413
|
associatedBidders: string[] | null;
|
|
2297
2414
|
subscription: {
|
|
2298
|
-
source: "manual" | "stripe";
|
|
2299
2415
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
2300
2416
|
planId: string;
|
|
2301
2417
|
pendingPlanId: string | null;
|
|
@@ -2314,12 +2430,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2314
2430
|
hosted_invoice_url: string | null;
|
|
2315
2431
|
};
|
|
2316
2432
|
};
|
|
2433
|
+
source: "stripe" | "manual";
|
|
2317
2434
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
2318
2435
|
trialEndsAt: number | null;
|
|
2319
2436
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
2320
2437
|
hasUsBidderAccess: boolean | null;
|
|
2321
2438
|
usBidderSubscriptionItemId: string | null;
|
|
2322
2439
|
} | null;
|
|
2440
|
+
billing: {
|
|
2441
|
+
stripe: {
|
|
2442
|
+
customer: {
|
|
2443
|
+
id: string | null;
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
savedCard: boolean;
|
|
2447
|
+
} | null;
|
|
2323
2448
|
lastBidTime: number | null;
|
|
2324
2449
|
nextScheduledBidTime: number | null;
|
|
2325
2450
|
openRouterApiKey: string | null;
|
|
@@ -2330,88 +2455,84 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2330
2455
|
usBidderAccountSubscription?: {
|
|
2331
2456
|
usBidderAccountPayment?: {
|
|
2332
2457
|
status: string;
|
|
2333
|
-
error?: string | undefined;
|
|
2334
|
-
currency?: string | undefined;
|
|
2335
2458
|
amount?: number | undefined;
|
|
2459
|
+
error?: string | undefined;
|
|
2336
2460
|
paidAt?: number | undefined;
|
|
2461
|
+
currency?: string | undefined;
|
|
2337
2462
|
paymentIntentId?: string | undefined;
|
|
2338
2463
|
} | undefined;
|
|
2339
2464
|
} | undefined;
|
|
2340
2465
|
};
|
|
2341
|
-
userId: string;
|
|
2342
2466
|
lead: {
|
|
2343
|
-
|
|
2467
|
+
uid: string | null;
|
|
2344
2468
|
title: string | null;
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
duration: string | null;
|
|
2348
|
-
hourlyRate: {
|
|
2349
|
-
max: number | null;
|
|
2350
|
-
min: number | null;
|
|
2351
|
-
} | null;
|
|
2352
|
-
experienceLevel: string | null;
|
|
2353
|
-
paymentType: string | null;
|
|
2354
|
-
fixedPrice: number | null;
|
|
2355
|
-
} | null;
|
|
2469
|
+
category: string | null;
|
|
2470
|
+
jobUrl: string | null;
|
|
2356
2471
|
description: string | null;
|
|
2357
2472
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
2358
2473
|
datetime: number | null;
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
uid: string | null;
|
|
2474
|
+
isFeatured: boolean | null;
|
|
2475
|
+
id: string | null;
|
|
2476
|
+
projectDuration: string | null;
|
|
2363
2477
|
questions: string[] | null;
|
|
2364
|
-
occupation: string | null;
|
|
2365
|
-
createdAt: number | null;
|
|
2366
|
-
updatedAt: number | null;
|
|
2367
|
-
questionAnswerPairs: {
|
|
2368
|
-
answer: string;
|
|
2369
|
-
question: string;
|
|
2370
|
-
}[] | null;
|
|
2371
|
-
coverLetterTemplateId: string | null;
|
|
2372
|
-
jobId: string;
|
|
2373
|
-
skills: {
|
|
2374
|
-
name: string;
|
|
2375
|
-
}[] | null;
|
|
2376
|
-
descriptionLength: number | null;
|
|
2377
|
-
connectsRequired: number | null;
|
|
2378
|
-
projectType: string | null;
|
|
2379
|
-
projectDuration: string | null;
|
|
2380
|
-
jobUrl: string | null;
|
|
2381
2478
|
clientInfo: {
|
|
2382
2479
|
country: string | null;
|
|
2480
|
+
isPaymentVerified: boolean | null;
|
|
2481
|
+
totalSpent: number | null;
|
|
2383
2482
|
region: string | null;
|
|
2384
|
-
openJobs: number | null;
|
|
2385
2483
|
isPhoneVerified: boolean | null;
|
|
2386
|
-
|
|
2484
|
+
enterpriseClient: boolean | null;
|
|
2485
|
+
companySize: string | null;
|
|
2387
2486
|
numberOfReviews: number | null;
|
|
2388
2487
|
rating: number | null;
|
|
2389
2488
|
jobsPosted: number | null;
|
|
2390
|
-
totalSpent: number | null;
|
|
2391
2489
|
numberOfHires: number | null;
|
|
2392
2490
|
activeEngagements: number | null;
|
|
2491
|
+
openJobs: number | null;
|
|
2393
2492
|
hireRate: number | null;
|
|
2394
2493
|
memberSince: string | null;
|
|
2395
2494
|
companyIndustry: string | null;
|
|
2396
|
-
companySize: string | null;
|
|
2397
|
-
enterpriseClient: boolean | null;
|
|
2398
2495
|
avgHourlyRatePaid: number | null;
|
|
2399
2496
|
companyId: string | null;
|
|
2400
2497
|
} | null;
|
|
2401
2498
|
vendorQualifications: {
|
|
2402
2499
|
location: string | null;
|
|
2403
|
-
|
|
2500
|
+
includeRisingTalent: string | null;
|
|
2501
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
2404
2502
|
englishLevel: string | null;
|
|
2405
2503
|
minimumEarnings: number | null;
|
|
2406
2504
|
jobSuccessScore: string | null;
|
|
2407
|
-
includeRisingTalent: string | null;
|
|
2408
2505
|
} | null;
|
|
2409
|
-
|
|
2506
|
+
createdAt: number | null;
|
|
2507
|
+
updatedAt: number | null;
|
|
2508
|
+
biddingDelayInMinutes: number | null;
|
|
2509
|
+
biddingAmount: number | null;
|
|
2510
|
+
boostingAmount: number | null;
|
|
2511
|
+
boosted: boolean | null;
|
|
2512
|
+
specialisedProfile: string | null;
|
|
2513
|
+
coverLetterTemplateId: string | null;
|
|
2514
|
+
skills: {
|
|
2515
|
+
name: string;
|
|
2516
|
+
}[] | null;
|
|
2517
|
+
descriptionLength: number | null;
|
|
2518
|
+
connectsRequired: number | null;
|
|
2519
|
+
projectType: string | null;
|
|
2520
|
+
metadata: {
|
|
2521
|
+
paymentType: string | null;
|
|
2522
|
+
experienceLevel: string | null;
|
|
2523
|
+
hours: string | null;
|
|
2524
|
+
duration: string | null;
|
|
2525
|
+
hourlyRate: {
|
|
2526
|
+
min: number | null;
|
|
2527
|
+
max: number | null;
|
|
2528
|
+
} | null;
|
|
2529
|
+
fixedPrice: number | null;
|
|
2530
|
+
} | null;
|
|
2410
2531
|
clientReviews: {
|
|
2411
|
-
hourlyRate: number | null;
|
|
2412
|
-
jobTitle: string | null;
|
|
2413
2532
|
paymentType: string | null;
|
|
2533
|
+
hourlyRate: number | null;
|
|
2414
2534
|
fixedPrice: number | null;
|
|
2535
|
+
jobTitle: string | null;
|
|
2415
2536
|
freelancerName: string | null;
|
|
2416
2537
|
freelancerRating: number | null;
|
|
2417
2538
|
freelancerFeedback: string | null;
|
|
@@ -2423,39 +2544,42 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2423
2544
|
}[] | null;
|
|
2424
2545
|
bidRange: {
|
|
2425
2546
|
high: number | null;
|
|
2426
|
-
low: number | null;
|
|
2427
2547
|
avg: number | null;
|
|
2548
|
+
low: number | null;
|
|
2428
2549
|
} | null;
|
|
2429
2550
|
jobActivity: {
|
|
2430
|
-
unansweredInvites: number | null;
|
|
2431
2551
|
updatedAt: number | null;
|
|
2432
2552
|
proposals: {
|
|
2433
|
-
max: number | null;
|
|
2434
2553
|
min: number | null;
|
|
2554
|
+
max: number | null;
|
|
2435
2555
|
};
|
|
2436
2556
|
lastViewedByClient: string | null;
|
|
2437
2557
|
lastViewedByClientTimestamp: number | null;
|
|
2438
2558
|
hires: number | null;
|
|
2439
2559
|
interviewing: number | null;
|
|
2440
2560
|
invitesSent: number | null;
|
|
2561
|
+
unansweredInvites: number | null;
|
|
2441
2562
|
} | null;
|
|
2442
|
-
|
|
2563
|
+
occupation: string | null;
|
|
2564
|
+
activityUpdates: 1 | 2 | 3 | null;
|
|
2565
|
+
jobId: string;
|
|
2566
|
+
campaignId: string;
|
|
2567
|
+
organizationId: string;
|
|
2443
2568
|
scrapedAt: number | null;
|
|
2444
2569
|
suitabilityRating: number | null;
|
|
2445
2570
|
suitabilityReason: string | null;
|
|
2446
2571
|
proposal: string | null;
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2572
|
+
questionAnswerPairs: {
|
|
2573
|
+
question: string;
|
|
2574
|
+
answer: string;
|
|
2575
|
+
}[] | null;
|
|
2576
|
+
agentStatus: "biddingFailed" | "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "jobArchived" | null;
|
|
2577
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won" | null;
|
|
2452
2578
|
boostedForPlace: number | null;
|
|
2453
|
-
specialisedProfile: string | null;
|
|
2454
2579
|
biddedAt: number | null;
|
|
2455
2580
|
biddingTaskScheduled: boolean | null;
|
|
2456
2581
|
scheduledBiddingTime: number | null;
|
|
2457
2582
|
inQueue: boolean | null;
|
|
2458
|
-
biddingDelayInMinutes: number | null;
|
|
2459
2583
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2460
2584
|
biddingScheduledAt: number | null;
|
|
2461
2585
|
feedbackCheckTaskId: string | null;
|
|
@@ -2463,87 +2587,115 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2463
2587
|
rejectedFeedback: string | null;
|
|
2464
2588
|
applicationId: string | null;
|
|
2465
2589
|
leadBiddingConfig: {
|
|
2466
|
-
biddingDelayInMinutes: number | null;
|
|
2467
|
-
appliedFromQueue: boolean | null;
|
|
2468
|
-
bidWithWarning: "bid" | "skip";
|
|
2469
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2470
|
-
biddingHourlyRatePercentage: number | null;
|
|
2471
|
-
biddingFixedHourlyRate: number | null;
|
|
2472
2590
|
boostingEnabled: boolean | null;
|
|
2473
|
-
boostDownToNthPlace: number | null;
|
|
2474
|
-
connectsAbovePrevious: number | null;
|
|
2475
2591
|
maximumBoost: number | null;
|
|
2476
2592
|
minBoost: number | null;
|
|
2593
|
+
boostDownToNthPlace: number | null;
|
|
2594
|
+
connectsAbovePrevious: number | null;
|
|
2477
2595
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2478
|
-
|
|
2596
|
+
biddingDelayInMinutes: number | null;
|
|
2597
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2598
|
+
biddingFixedHourlyRate: number | null;
|
|
2599
|
+
alreadyHiredAction: "skip" | "bid";
|
|
2600
|
+
biddingHourlyRatePercentage: number | null;
|
|
2601
|
+
bidWithWarning: "skip" | "bid";
|
|
2479
2602
|
bidConfig: {
|
|
2480
|
-
contractorName: string | null;
|
|
2481
2603
|
agencyName: string | null;
|
|
2604
|
+
contractorName: string | null;
|
|
2482
2605
|
specialisedProfile: string | null;
|
|
2483
2606
|
};
|
|
2607
|
+
appliedFromQueue: boolean | null;
|
|
2484
2608
|
} | null;
|
|
2485
2609
|
statusSynced: boolean | null;
|
|
2486
|
-
proposalId?: string | undefined;
|
|
2487
|
-
wonAmount?: number | undefined;
|
|
2488
2610
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2489
|
-
unansweredInvites: number | null;
|
|
2490
2611
|
updatedAt: number | null;
|
|
2491
2612
|
proposals: {
|
|
2492
|
-
max: number | null;
|
|
2493
2613
|
min: number | null;
|
|
2614
|
+
max: number | null;
|
|
2494
2615
|
};
|
|
2495
2616
|
lastViewedByClient: string | null;
|
|
2496
2617
|
lastViewedByClientTimestamp: number | null;
|
|
2497
2618
|
hires: number | null;
|
|
2498
2619
|
interviewing: number | null;
|
|
2499
2620
|
invitesSent: number | null;
|
|
2621
|
+
unansweredInvites: number | null;
|
|
2500
2622
|
}>> | null | undefined;
|
|
2501
2623
|
activityDelta?: {
|
|
2502
|
-
unansweredInvites: number;
|
|
2503
2624
|
proposals: number;
|
|
2504
2625
|
hires: number;
|
|
2505
2626
|
interviewing: number;
|
|
2506
2627
|
invitesSent: number;
|
|
2628
|
+
unansweredInvites: number;
|
|
2507
2629
|
} | null | undefined;
|
|
2630
|
+
proposalId?: string | undefined;
|
|
2631
|
+
wonAmount?: number | undefined;
|
|
2508
2632
|
};
|
|
2509
|
-
|
|
2633
|
+
bidder: {
|
|
2634
|
+
status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
|
|
2635
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2510
2636
|
id: string;
|
|
2511
|
-
|
|
2512
|
-
name: string;
|
|
2637
|
+
name: string | null;
|
|
2513
2638
|
createdAt: number;
|
|
2514
2639
|
updatedAt: number;
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2640
|
+
provider: "user-provided" | "lancer-provided";
|
|
2641
|
+
email: string;
|
|
2642
|
+
password: string;
|
|
2643
|
+
isConnecting: boolean | null;
|
|
2644
|
+
securityQuestionAnswer: string | null;
|
|
2645
|
+
assignedOrganizations: string[];
|
|
2646
|
+
lastUsed: number | null;
|
|
2647
|
+
multiLoginProfileId: string | null;
|
|
2648
|
+
proxyId: string | null;
|
|
2649
|
+
newProxyId: string | null;
|
|
2650
|
+
profilePhotoUrl: string | null;
|
|
2651
|
+
agencies: {
|
|
2652
|
+
name: string;
|
|
2653
|
+
organizationId: string;
|
|
2654
|
+
logoUrl: string | null;
|
|
2655
|
+
contractors: {
|
|
2656
|
+
name: string;
|
|
2657
|
+
specializedProfiles: string[];
|
|
2658
|
+
}[];
|
|
2659
|
+
agencyId: string | null;
|
|
2660
|
+
}[] | null;
|
|
2661
|
+
specialisedProfiles: string[] | null;
|
|
2662
|
+
instanceId: string | null;
|
|
2663
|
+
errorMessage: string | null;
|
|
2664
|
+
googleOauthTokens?: any;
|
|
2665
|
+
isProtected?: boolean | undefined;
|
|
2666
|
+
};
|
|
2667
|
+
firstExecutionTime: number;
|
|
2668
|
+
}, {
|
|
2669
|
+
userId: string;
|
|
2670
|
+
campaign: {
|
|
2671
|
+
id: string;
|
|
2672
|
+
name: string;
|
|
2535
2673
|
filters: {
|
|
2674
|
+
isFeatured: "all" | "true" | "false" | null;
|
|
2675
|
+
keywords: {
|
|
2676
|
+
includes: string | null;
|
|
2677
|
+
excludes: string | null;
|
|
2678
|
+
} | null;
|
|
2679
|
+
searchQuery: string | null;
|
|
2536
2680
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
2537
|
-
|
|
2538
|
-
|
|
2681
|
+
categories: {
|
|
2682
|
+
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2683
|
+
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2684
|
+
} | null;
|
|
2685
|
+
payment: {
|
|
2686
|
+
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
2687
|
+
minFixedPrice: number | null;
|
|
2688
|
+
maxFixedPrice: number | null;
|
|
2689
|
+
minHourlyRate: number | null;
|
|
2690
|
+
maxHourlyRate: number | null;
|
|
2539
2691
|
} | null;
|
|
2540
2692
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
2541
2693
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
2694
|
+
questions: {
|
|
2695
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
2696
|
+
} | null;
|
|
2697
|
+
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
2542
2698
|
clientInfo: {
|
|
2543
|
-
isPhoneVerified: "false" | "all" | "true";
|
|
2544
|
-
isPaymentVerified: "false" | "all" | "true";
|
|
2545
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
2546
|
-
enterpriseClient: "false" | "all" | "true";
|
|
2547
2699
|
clientLocationIncludes: string[] | null;
|
|
2548
2700
|
clientLocationExcludes: string[] | null;
|
|
2549
2701
|
minReviewScore: number | null;
|
|
@@ -2553,134 +2705,99 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2553
2705
|
minHireRate: number | null;
|
|
2554
2706
|
maxHireRate: number | null;
|
|
2555
2707
|
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
2708
|
+
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
2556
2709
|
minJobsPosted: number | null;
|
|
2557
2710
|
minAvgHourlyRate: number | null;
|
|
2558
2711
|
maxAvgHourlyRate: number | null;
|
|
2559
2712
|
minNumReviews: number | null;
|
|
2560
2713
|
memberSinceFrom: string | null;
|
|
2561
2714
|
memberSinceTo: string | null;
|
|
2715
|
+
isPaymentVerified?: "all" | "true" | "false" | undefined;
|
|
2716
|
+
isPhoneVerified?: "all" | "true" | "false" | undefined;
|
|
2717
|
+
enterpriseClient?: "all" | "true" | "false" | undefined;
|
|
2562
2718
|
} | null;
|
|
2719
|
+
includeClientsWithZeroReviews: boolean | null;
|
|
2720
|
+
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2721
|
+
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2722
|
+
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2563
2723
|
vendorQualifications: {
|
|
2564
|
-
includeRisingTalent: string | null;
|
|
2565
2724
|
locationIncludes: string[] | null;
|
|
2566
2725
|
locationExcludes: string[] | null;
|
|
2567
2726
|
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
2568
2727
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
2728
|
+
includeRisingTalent: string | null;
|
|
2569
2729
|
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
2570
2730
|
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2571
2731
|
} | null;
|
|
2572
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
2573
|
-
keywords: {
|
|
2574
|
-
includes: string | null;
|
|
2575
|
-
excludes: string | null;
|
|
2576
|
-
} | null;
|
|
2577
|
-
searchQuery: string | null;
|
|
2578
|
-
categories: {
|
|
2579
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2580
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2581
|
-
} | null;
|
|
2582
|
-
payment: {
|
|
2583
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
2584
|
-
minFixedPrice: number | null;
|
|
2585
|
-
maxFixedPrice: number | null;
|
|
2586
|
-
minHourlyRate: number | null;
|
|
2587
|
-
maxHourlyRate: number | null;
|
|
2588
|
-
} | null;
|
|
2589
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
2590
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
2591
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2592
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2593
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2594
2732
|
};
|
|
2733
|
+
createdAt: number;
|
|
2734
|
+
updatedAt: number;
|
|
2595
2735
|
archivedAt: number | null;
|
|
2596
2736
|
confirmedBillingAt: number | null;
|
|
2737
|
+
boostDownToNthPlace: number | null;
|
|
2738
|
+
connectsAbovePrevious: number | null;
|
|
2739
|
+
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2597
2740
|
monthlyBudget: number | null;
|
|
2598
|
-
|
|
2599
|
-
|
|
2741
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2742
|
+
biddingFixedHourlyRate: number | null;
|
|
2743
|
+
alreadyHiredAction: "skip" | "bid";
|
|
2744
|
+
biddingHourlyRatePercentage: number | null;
|
|
2745
|
+
bidWithWarning: "skip" | "bid";
|
|
2746
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
2600
2747
|
expenses: {
|
|
2601
|
-
biddingAmount
|
|
2602
|
-
|
|
2603
|
-
|
|
2748
|
+
biddingAmount?: number | undefined;
|
|
2749
|
+
boostingAmount?: number | undefined;
|
|
2750
|
+
boosted?: number | undefined;
|
|
2604
2751
|
};
|
|
2605
2752
|
notificationsEnabled: boolean | null;
|
|
2753
|
+
bidConfig: {
|
|
2754
|
+
agencyName: string | null;
|
|
2755
|
+
bidderId: string | null;
|
|
2756
|
+
contractorName: string | null;
|
|
2757
|
+
specialisedProfile: string | null;
|
|
2758
|
+
bidAs: "agency" | "freelancer" | null;
|
|
2759
|
+
} | null;
|
|
2760
|
+
coverLetterTemplateId: string | null;
|
|
2606
2761
|
coverLetterTemplatesIds: string[] | null;
|
|
2762
|
+
priority: number | null;
|
|
2607
2763
|
coverLetterTemplate: {
|
|
2764
|
+
status: "active" | "archived";
|
|
2765
|
+
description: string | null;
|
|
2608
2766
|
id: string;
|
|
2609
2767
|
name: string;
|
|
2610
2768
|
template: string;
|
|
2611
|
-
description: string | null;
|
|
2612
|
-
status: "active" | "archived";
|
|
2613
2769
|
instructions: string;
|
|
2614
2770
|
} | null;
|
|
2615
2771
|
organizationProfileId: string | null;
|
|
2616
2772
|
lastSyncedProposalsAt: number | null;
|
|
2617
2773
|
limits: {
|
|
2618
|
-
enabled: boolean;
|
|
2619
2774
|
maxDailyProposalsSent: number;
|
|
2775
|
+
enabled: boolean;
|
|
2620
2776
|
windowAnchorAt: number | null;
|
|
2621
2777
|
};
|
|
2622
2778
|
workTime: {
|
|
2623
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
2624
2779
|
enabled: boolean;
|
|
2780
|
+
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
2625
2781
|
timeBlocks: {
|
|
2626
2782
|
fromHour: number;
|
|
2627
2783
|
toHour: number;
|
|
2628
2784
|
}[];
|
|
2629
2785
|
timezone: string | null;
|
|
2630
2786
|
};
|
|
2631
|
-
status?: "
|
|
2787
|
+
status?: "active" | "draft" | "paused" | "error" | "archived" | undefined;
|
|
2788
|
+
boostingEnabled?: boolean | null | undefined;
|
|
2789
|
+
maximumBoost?: number | null | undefined;
|
|
2790
|
+
minBoost?: number | null | undefined;
|
|
2791
|
+
boostingThreshold?: number | null | undefined;
|
|
2792
|
+
biddingDelayInMinutes?: number | undefined;
|
|
2632
2793
|
};
|
|
2633
|
-
|
|
2794
|
+
organization: {
|
|
2795
|
+
type: "agency" | "freelancer";
|
|
2634
2796
|
id: string;
|
|
2635
|
-
name: string | null;
|
|
2636
|
-
email: string;
|
|
2637
|
-
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
2638
|
-
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
2639
|
-
password: string;
|
|
2640
|
-
provider: "user-provided" | "lancer-provided";
|
|
2641
|
-
isConnecting: boolean | null;
|
|
2642
|
-
securityQuestionAnswer: string | null;
|
|
2643
|
-
assignedOrganizations: string[];
|
|
2644
|
-
lastUsed: number | null;
|
|
2645
|
-
multiLoginProfileId: string | null;
|
|
2646
|
-
proxyId: string | null;
|
|
2647
|
-
newProxyId: string | null;
|
|
2648
|
-
profilePhotoUrl: string | null;
|
|
2649
|
-
agencies: {
|
|
2650
|
-
name: string;
|
|
2651
|
-
organizationId: string;
|
|
2652
|
-
logoUrl: string | null;
|
|
2653
|
-
contractors: {
|
|
2654
|
-
name: string;
|
|
2655
|
-
specializedProfiles: string[];
|
|
2656
|
-
}[];
|
|
2657
|
-
agencyId: string | null;
|
|
2658
|
-
}[] | null;
|
|
2659
|
-
specialisedProfiles: string[] | null;
|
|
2660
|
-
instanceId: string | null;
|
|
2661
|
-
createdAt: number;
|
|
2662
|
-
updatedAt: number;
|
|
2663
|
-
errorMessage: string | null;
|
|
2664
|
-
googleOauthTokens?: any;
|
|
2665
|
-
isProtected?: boolean | undefined;
|
|
2666
|
-
};
|
|
2667
|
-
firstExecutionTime: number;
|
|
2668
|
-
}, {
|
|
2669
|
-
organization: {
|
|
2670
|
-
type: "agency" | "freelancer";
|
|
2671
|
-
id: string;
|
|
2672
|
-
active: boolean;
|
|
2673
2797
|
name: string;
|
|
2674
|
-
billing: {
|
|
2675
|
-
stripe: {
|
|
2676
|
-
customer: {
|
|
2677
|
-
id: string | null;
|
|
2678
|
-
};
|
|
2679
|
-
};
|
|
2680
|
-
savedCard: boolean;
|
|
2681
|
-
} | null;
|
|
2682
2798
|
createdAt: number;
|
|
2683
2799
|
updatedAt: number;
|
|
2800
|
+
active: boolean;
|
|
2684
2801
|
limits: {
|
|
2685
2802
|
monthlyCredits: number;
|
|
2686
2803
|
usedCredits: number;
|
|
@@ -2688,7 +2805,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2688
2805
|
};
|
|
2689
2806
|
associatedBidders: string[] | null;
|
|
2690
2807
|
subscription: {
|
|
2691
|
-
source: "manual" | "stripe";
|
|
2692
2808
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
2693
2809
|
planId: string;
|
|
2694
2810
|
pendingPlanId: string | null;
|
|
@@ -2707,12 +2823,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2707
2823
|
hosted_invoice_url: string | null;
|
|
2708
2824
|
};
|
|
2709
2825
|
};
|
|
2826
|
+
source: "stripe" | "manual";
|
|
2710
2827
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
2711
2828
|
trialEndsAt: number | null;
|
|
2712
2829
|
billingInterval: "monthly" | "quarterly" | "yearly" | null;
|
|
2713
2830
|
hasUsBidderAccess: boolean | null;
|
|
2714
2831
|
usBidderSubscriptionItemId: string | null;
|
|
2715
2832
|
} | null;
|
|
2833
|
+
billing: {
|
|
2834
|
+
stripe: {
|
|
2835
|
+
customer: {
|
|
2836
|
+
id: string | null;
|
|
2837
|
+
};
|
|
2838
|
+
};
|
|
2839
|
+
savedCard: boolean;
|
|
2840
|
+
} | null;
|
|
2716
2841
|
lastBidTime: number | null;
|
|
2717
2842
|
nextScheduledBidTime: number | null;
|
|
2718
2843
|
openRouterApiKey: string | null;
|
|
@@ -2723,88 +2848,84 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2723
2848
|
usBidderAccountSubscription?: {
|
|
2724
2849
|
usBidderAccountPayment?: {
|
|
2725
2850
|
status: string;
|
|
2726
|
-
error?: string | undefined;
|
|
2727
|
-
currency?: string | undefined;
|
|
2728
2851
|
amount?: number | undefined;
|
|
2852
|
+
error?: string | undefined;
|
|
2729
2853
|
paidAt?: number | undefined;
|
|
2854
|
+
currency?: string | undefined;
|
|
2730
2855
|
paymentIntentId?: string | undefined;
|
|
2731
2856
|
} | undefined;
|
|
2732
2857
|
} | undefined;
|
|
2733
2858
|
};
|
|
2734
|
-
userId: string;
|
|
2735
2859
|
lead: {
|
|
2736
|
-
|
|
2860
|
+
uid: string | null;
|
|
2737
2861
|
title: string | null;
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
duration: string | null;
|
|
2741
|
-
hourlyRate: {
|
|
2742
|
-
max: number | null;
|
|
2743
|
-
min: number | null;
|
|
2744
|
-
} | null;
|
|
2745
|
-
experienceLevel: string | null;
|
|
2746
|
-
paymentType: string | null;
|
|
2747
|
-
fixedPrice: number | null;
|
|
2748
|
-
} | null;
|
|
2862
|
+
category: string | null;
|
|
2863
|
+
jobUrl: string | null;
|
|
2749
2864
|
description: string | null;
|
|
2750
2865
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
2751
2866
|
datetime: number | null;
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
category: string | null;
|
|
2755
|
-
uid: string | null;
|
|
2756
|
-
questions: string[] | null;
|
|
2757
|
-
occupation: string | null;
|
|
2758
|
-
createdAt: number | null;
|
|
2759
|
-
updatedAt: number | null;
|
|
2760
|
-
questionAnswerPairs: {
|
|
2761
|
-
answer: string;
|
|
2762
|
-
question: string;
|
|
2763
|
-
}[] | null;
|
|
2764
|
-
coverLetterTemplateId: string | null;
|
|
2765
|
-
jobId: string;
|
|
2766
|
-
skills: {
|
|
2767
|
-
name: string;
|
|
2768
|
-
}[] | null;
|
|
2769
|
-
descriptionLength: number | null;
|
|
2770
|
-
connectsRequired: number | null;
|
|
2771
|
-
projectType: string | null;
|
|
2867
|
+
isFeatured: boolean | null;
|
|
2868
|
+
id: string | null;
|
|
2772
2869
|
projectDuration: string | null;
|
|
2773
|
-
|
|
2870
|
+
questions: string[] | null;
|
|
2774
2871
|
clientInfo: {
|
|
2775
2872
|
country: string | null;
|
|
2873
|
+
isPaymentVerified: boolean | null;
|
|
2874
|
+
totalSpent: number | null;
|
|
2776
2875
|
region: string | null;
|
|
2777
|
-
openJobs: number | null;
|
|
2778
2876
|
isPhoneVerified: boolean | null;
|
|
2779
|
-
|
|
2877
|
+
enterpriseClient: boolean | null;
|
|
2878
|
+
companySize: string | null;
|
|
2780
2879
|
numberOfReviews: number | null;
|
|
2781
2880
|
rating: number | null;
|
|
2782
2881
|
jobsPosted: number | null;
|
|
2783
|
-
totalSpent: number | null;
|
|
2784
2882
|
numberOfHires: number | null;
|
|
2785
2883
|
activeEngagements: number | null;
|
|
2884
|
+
openJobs: number | null;
|
|
2786
2885
|
hireRate: number | null;
|
|
2787
2886
|
memberSince: string | null;
|
|
2788
2887
|
companyIndustry: string | null;
|
|
2789
|
-
companySize: string | null;
|
|
2790
|
-
enterpriseClient: boolean | null;
|
|
2791
2888
|
avgHourlyRatePaid: number | null;
|
|
2792
2889
|
companyId: string | null;
|
|
2793
2890
|
} | null;
|
|
2794
2891
|
vendorQualifications: {
|
|
2795
2892
|
location: string | null;
|
|
2796
|
-
|
|
2893
|
+
includeRisingTalent: string | null;
|
|
2894
|
+
talentType: "Independent" | "Agency" | "unspecified" | null;
|
|
2797
2895
|
englishLevel: string | null;
|
|
2798
2896
|
minimumEarnings: number | null;
|
|
2799
2897
|
jobSuccessScore: string | null;
|
|
2800
|
-
includeRisingTalent: string | null;
|
|
2801
2898
|
} | null;
|
|
2802
|
-
|
|
2899
|
+
createdAt: number | null;
|
|
2900
|
+
updatedAt: number | null;
|
|
2901
|
+
biddingDelayInMinutes: number | null;
|
|
2902
|
+
biddingAmount: number | null;
|
|
2903
|
+
boostingAmount: number | null;
|
|
2904
|
+
boosted: boolean | null;
|
|
2905
|
+
specialisedProfile: string | null;
|
|
2906
|
+
coverLetterTemplateId: string | null;
|
|
2907
|
+
skills: {
|
|
2908
|
+
name: string;
|
|
2909
|
+
}[] | null;
|
|
2910
|
+
descriptionLength: number | null;
|
|
2911
|
+
connectsRequired: number | null;
|
|
2912
|
+
projectType: string | null;
|
|
2913
|
+
metadata: {
|
|
2914
|
+
paymentType: string | null;
|
|
2915
|
+
experienceLevel: string | null;
|
|
2916
|
+
hours: string | null;
|
|
2917
|
+
duration: string | null;
|
|
2918
|
+
hourlyRate: {
|
|
2919
|
+
min: number | null;
|
|
2920
|
+
max: number | null;
|
|
2921
|
+
} | null;
|
|
2922
|
+
fixedPrice: number | null;
|
|
2923
|
+
} | null;
|
|
2803
2924
|
clientReviews: {
|
|
2804
|
-
hourlyRate: number | null;
|
|
2805
|
-
jobTitle: string | null;
|
|
2806
2925
|
paymentType: string | null;
|
|
2926
|
+
hourlyRate: number | null;
|
|
2807
2927
|
fixedPrice: number | null;
|
|
2928
|
+
jobTitle: string | null;
|
|
2808
2929
|
freelancerName: string | null;
|
|
2809
2930
|
freelancerRating: number | null;
|
|
2810
2931
|
freelancerFeedback: string | null;
|
|
@@ -2816,39 +2937,42 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2816
2937
|
}[] | null;
|
|
2817
2938
|
bidRange: {
|
|
2818
2939
|
high: number | null;
|
|
2819
|
-
low: number | null;
|
|
2820
2940
|
avg: number | null;
|
|
2941
|
+
low: number | null;
|
|
2821
2942
|
} | null;
|
|
2822
2943
|
jobActivity: {
|
|
2823
|
-
unansweredInvites: number | null;
|
|
2824
2944
|
updatedAt: number | null;
|
|
2825
2945
|
proposals: {
|
|
2826
|
-
max: number | null;
|
|
2827
2946
|
min: number | null;
|
|
2947
|
+
max: number | null;
|
|
2828
2948
|
};
|
|
2829
2949
|
lastViewedByClient: string | null;
|
|
2830
2950
|
lastViewedByClientTimestamp: number | null;
|
|
2831
2951
|
hires: number | null;
|
|
2832
2952
|
interviewing: number | null;
|
|
2833
2953
|
invitesSent: number | null;
|
|
2954
|
+
unansweredInvites: number | null;
|
|
2834
2955
|
} | null;
|
|
2835
|
-
|
|
2956
|
+
occupation: string | null;
|
|
2957
|
+
activityUpdates: 1 | 2 | 3 | null;
|
|
2958
|
+
jobId: string;
|
|
2959
|
+
campaignId: string;
|
|
2960
|
+
organizationId: string;
|
|
2836
2961
|
scrapedAt: number | null;
|
|
2837
2962
|
suitabilityRating: number | null;
|
|
2838
2963
|
suitabilityReason: string | null;
|
|
2839
2964
|
proposal: string | null;
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2965
|
+
questionAnswerPairs: {
|
|
2966
|
+
question: string;
|
|
2967
|
+
answer: string;
|
|
2968
|
+
}[] | null;
|
|
2969
|
+
agentStatus: "biddingFailed" | "suitabilityComplete" | "proposalComplete" | "biddingComplete" | "suitabilityPending" | "suitabilityProcessing" | "suitabilityFailed" | "proposalProcessing" | "proposalFailed" | "biddingProcessing" | "jobArchived" | null;
|
|
2970
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won" | null;
|
|
2845
2971
|
boostedForPlace: number | null;
|
|
2846
|
-
specialisedProfile: string | null;
|
|
2847
2972
|
biddedAt: number | null;
|
|
2848
2973
|
biddingTaskScheduled: boolean | null;
|
|
2849
2974
|
scheduledBiddingTime: number | null;
|
|
2850
2975
|
inQueue: boolean | null;
|
|
2851
|
-
biddingDelayInMinutes: number | null;
|
|
2852
2976
|
checkFeedbackStatusCreatedAt: number | null;
|
|
2853
2977
|
biddingScheduledAt: number | null;
|
|
2854
2978
|
feedbackCheckTaskId: string | null;
|
|
@@ -2856,181 +2980,59 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2856
2980
|
rejectedFeedback: string | null;
|
|
2857
2981
|
applicationId: string | null;
|
|
2858
2982
|
leadBiddingConfig: {
|
|
2859
|
-
biddingDelayInMinutes: number | null;
|
|
2860
|
-
appliedFromQueue: boolean | null;
|
|
2861
|
-
bidWithWarning: "bid" | "skip";
|
|
2862
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2863
|
-
biddingHourlyRatePercentage: number | null;
|
|
2864
|
-
biddingFixedHourlyRate: number | null;
|
|
2865
2983
|
boostingEnabled: boolean | null;
|
|
2866
|
-
boostDownToNthPlace: number | null;
|
|
2867
|
-
connectsAbovePrevious: number | null;
|
|
2868
2984
|
maximumBoost: number | null;
|
|
2869
2985
|
minBoost: number | null;
|
|
2986
|
+
boostDownToNthPlace: number | null;
|
|
2987
|
+
connectsAbovePrevious: number | null;
|
|
2870
2988
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2871
|
-
|
|
2989
|
+
biddingDelayInMinutes: number | null;
|
|
2990
|
+
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2991
|
+
biddingFixedHourlyRate: number | null;
|
|
2992
|
+
alreadyHiredAction: "skip" | "bid";
|
|
2993
|
+
biddingHourlyRatePercentage: number | null;
|
|
2994
|
+
bidWithWarning: "skip" | "bid";
|
|
2872
2995
|
bidConfig: {
|
|
2873
|
-
contractorName: string | null;
|
|
2874
2996
|
agencyName: string | null;
|
|
2997
|
+
contractorName: string | null;
|
|
2875
2998
|
specialisedProfile: string | null;
|
|
2876
2999
|
};
|
|
3000
|
+
appliedFromQueue: boolean | null;
|
|
2877
3001
|
} | null;
|
|
2878
3002
|
statusSynced: boolean | null;
|
|
2879
|
-
proposalId?: string | undefined;
|
|
2880
|
-
wonAmount?: number | undefined;
|
|
2881
3003
|
activity?: Partial<Record<"4h" | "24h", {
|
|
2882
|
-
unansweredInvites: number | null;
|
|
2883
3004
|
updatedAt: number | null;
|
|
2884
3005
|
proposals: {
|
|
2885
|
-
max: number | null;
|
|
2886
3006
|
min: number | null;
|
|
3007
|
+
max: number | null;
|
|
2887
3008
|
};
|
|
2888
3009
|
lastViewedByClient: string | null;
|
|
2889
3010
|
lastViewedByClientTimestamp: number | null;
|
|
2890
3011
|
hires: number | null;
|
|
2891
3012
|
interviewing: number | null;
|
|
2892
3013
|
invitesSent: number | null;
|
|
3014
|
+
unansweredInvites: number | null;
|
|
2893
3015
|
}>> | null | undefined;
|
|
2894
3016
|
activityDelta?: {
|
|
2895
|
-
unansweredInvites: number;
|
|
2896
3017
|
proposals: number;
|
|
2897
3018
|
hires: number;
|
|
2898
3019
|
interviewing: number;
|
|
2899
3020
|
invitesSent: number;
|
|
3021
|
+
unansweredInvites: number;
|
|
2900
3022
|
} | null | undefined;
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
id: string;
|
|
2904
|
-
priority: number | null;
|
|
2905
|
-
name: string;
|
|
2906
|
-
createdAt: number;
|
|
2907
|
-
updatedAt: number;
|
|
2908
|
-
coverLetterTemplateId: string | null;
|
|
2909
|
-
bidWithWarning: "bid" | "skip";
|
|
2910
|
-
biddingHourlyRateStrategy: "match_job_budget" | "match_profile_rate" | "fixed_rate" | "smart_bidding";
|
|
2911
|
-
biddingHourlyRatePercentage: number | null;
|
|
2912
|
-
biddingFixedHourlyRate: number | null;
|
|
2913
|
-
boostDownToNthPlace: number | null;
|
|
2914
|
-
connectsAbovePrevious: number | null;
|
|
2915
|
-
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
2916
|
-
alreadyHiredAction: "bid" | "skip";
|
|
2917
|
-
bidConfig: {
|
|
2918
|
-
contractorName: string | null;
|
|
2919
|
-
agencyName: string | null;
|
|
2920
|
-
specialisedProfile: string | null;
|
|
2921
|
-
bidderId: string | null;
|
|
2922
|
-
bidAs: "agency" | "freelancer" | null;
|
|
2923
|
-
} | null;
|
|
2924
|
-
filters: {
|
|
2925
|
-
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
2926
|
-
questions: {
|
|
2927
|
-
hasQuestions: ("all" | "yes" | "no")[];
|
|
2928
|
-
} | null;
|
|
2929
|
-
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
2930
|
-
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
2931
|
-
clientInfo: {
|
|
2932
|
-
companySize: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[] | null;
|
|
2933
|
-
clientLocationIncludes: string[] | null;
|
|
2934
|
-
clientLocationExcludes: string[] | null;
|
|
2935
|
-
minReviewScore: number | null;
|
|
2936
|
-
maxReviewScore: number | null;
|
|
2937
|
-
minTotalSpent: number | null;
|
|
2938
|
-
maxTotalSpent: number | null;
|
|
2939
|
-
minHireRate: number | null;
|
|
2940
|
-
maxHireRate: number | null;
|
|
2941
|
-
clientIndustry: ("Engineering & Architecture" | "Legal" | "Sales & Marketing" | "Aerospace" | "Agriculture & Forestry" | "Art & Design" | "Automotive" | "Aviation" | "Education" | "Energy & Utilities" | "Fashion & Beauty" | "Finance & Accounting" | "Food & Beverage" | "Government & Public Sector" | "Health & Fitness" | "HR & Business Services" | "Manufacturing & Construction" | "Media & Entertainment" | "Military & Defense" | "Mining" | "Real Estate" | "Retail & Consumer Goods" | "Science & Medicine" | "Sports & Recreation" | "Supply Chain & Logistics" | "Tech & IT" | "Transportation & Warehousing" | "Travel & Hospitality")[] | null;
|
|
2942
|
-
minJobsPosted: number | null;
|
|
2943
|
-
minAvgHourlyRate: number | null;
|
|
2944
|
-
maxAvgHourlyRate: number | null;
|
|
2945
|
-
minNumReviews: number | null;
|
|
2946
|
-
memberSinceFrom: string | null;
|
|
2947
|
-
memberSinceTo: string | null;
|
|
2948
|
-
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
2949
|
-
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
2950
|
-
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
2951
|
-
} | null;
|
|
2952
|
-
vendorQualifications: {
|
|
2953
|
-
includeRisingTalent: string | null;
|
|
2954
|
-
locationIncludes: string[] | null;
|
|
2955
|
-
locationExcludes: string[] | null;
|
|
2956
|
-
talentTypes: ("Unspecified" | "Independent" | "Agency")[] | null;
|
|
2957
|
-
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
2958
|
-
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
2959
|
-
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
2960
|
-
} | null;
|
|
2961
|
-
isFeatured: "false" | "all" | "true" | null;
|
|
2962
|
-
keywords: {
|
|
2963
|
-
includes: string | null;
|
|
2964
|
-
excludes: string | null;
|
|
2965
|
-
} | null;
|
|
2966
|
-
searchQuery: string | null;
|
|
2967
|
-
categories: {
|
|
2968
|
-
includes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2969
|
-
excludes: ("Accounting & Bookkeeping" | "Financial Planning" | "Management Consulting & Analysis" | "Other - Accounting & Consulting" | "Personal & Professional Coaching" | "Recruiting & Human Resources" | "Data Entry & Transcription Services" | "Market Research & Product Reviews" | "Project Management" | "Virtual Assistance" | "Community Management & Tagging" | "Customer Service & Tech Support" | "AI & Machine Learning" | "Data Analysis & Testing" | "Data Extraction/ETL" | "Data Mining & Management" | "Art & Illustration" | "Audio & Music Production" | "Branding & Logo Design" | "Graphic, Editorial & Presentation Design" | "NFT, AR/VR & Game Art" | "Performing Arts" | "Photography" | "Product Design" | "Video & Animation" | "3D Modeling & CAD" | "Building & Landscape Architecture" | "Chemical Engineering" | "Civil & Structural Engineering" | "Contract Manufacturing" | "Electrical & Electronic Engineering" | "Energy & Mechanical Engineering" | "Database Management & Administration" | "DevOps & Solution Architecture" | "ERP/CRM Software" | "Information Security & Compliance" | "Network & System Administration" | "Corporate & Contract Law" | "Finance & Tax Law" | "International & Immigration Law" | "Public Law" | "Digital Marketing" | "Lead Generation & Telemarketing" | "Marketing, PR & Brand Strategy" | "Language Tutoring & Interpretation" | "Translation & Localization Services" | "AI Apps & Integration" | "Blockchain, NFT & Cryptocurrency" | "Desktop Application Development" | "Ecommerce Development" | "Game Design & Development" | "Mobile Development" | "Other - Software Development" | "Product Management & Scrum" | "QA Testing" | "Scripts & Utilities" | "Web & Mobile Design" | "Web Development" | "Content Writing" | "Editing & Proofreading Services" | "Professional & Business Writing" | "Sales & Marketing Copywriting" | "Interior & Trade Show Design" | "Physical Sciences")[] | null;
|
|
2970
|
-
} | null;
|
|
2971
|
-
payment: {
|
|
2972
|
-
paymentType: ("Unspecified" | "Hourly" | "Fixed-price")[] | null;
|
|
2973
|
-
minFixedPrice: number | null;
|
|
2974
|
-
maxFixedPrice: number | null;
|
|
2975
|
-
minHourlyRate: number | null;
|
|
2976
|
-
maxHourlyRate: number | null;
|
|
2977
|
-
} | null;
|
|
2978
|
-
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
2979
|
-
includeClientsWithZeroReviews: boolean | null;
|
|
2980
|
-
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2981
|
-
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2982
|
-
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2983
|
-
};
|
|
2984
|
-
archivedAt: number | null;
|
|
2985
|
-
confirmedBillingAt: number | null;
|
|
2986
|
-
monthlyBudget: number | null;
|
|
2987
|
-
leadCounts: Partial<Record<"rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won", number>> | null;
|
|
2988
|
-
expenses: {
|
|
2989
|
-
biddingAmount?: number | undefined;
|
|
2990
|
-
boosted?: number | undefined;
|
|
2991
|
-
boostingAmount?: number | undefined;
|
|
2992
|
-
};
|
|
2993
|
-
notificationsEnabled: boolean | null;
|
|
2994
|
-
coverLetterTemplatesIds: string[] | null;
|
|
2995
|
-
coverLetterTemplate: {
|
|
2996
|
-
id: string;
|
|
2997
|
-
name: string;
|
|
2998
|
-
template: string;
|
|
2999
|
-
description: string | null;
|
|
3000
|
-
status: "active" | "archived";
|
|
3001
|
-
instructions: string;
|
|
3002
|
-
} | null;
|
|
3003
|
-
organizationProfileId: string | null;
|
|
3004
|
-
lastSyncedProposalsAt: number | null;
|
|
3005
|
-
limits: {
|
|
3006
|
-
enabled: boolean;
|
|
3007
|
-
maxDailyProposalsSent: number;
|
|
3008
|
-
windowAnchorAt: number | null;
|
|
3009
|
-
};
|
|
3010
|
-
workTime: {
|
|
3011
|
-
days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
|
|
3012
|
-
enabled: boolean;
|
|
3013
|
-
timeBlocks: {
|
|
3014
|
-
fromHour: number;
|
|
3015
|
-
toHour: number;
|
|
3016
|
-
}[];
|
|
3017
|
-
timezone: string | null;
|
|
3018
|
-
};
|
|
3019
|
-
status?: "error" | "active" | "paused" | "draft" | "archived" | undefined;
|
|
3020
|
-
biddingDelayInMinutes?: number | undefined;
|
|
3021
|
-
boostingEnabled?: boolean | null | undefined;
|
|
3022
|
-
maximumBoost?: number | null | undefined;
|
|
3023
|
-
minBoost?: number | null | undefined;
|
|
3024
|
-
boostingThreshold?: number | null | undefined;
|
|
3023
|
+
proposalId?: string | undefined;
|
|
3024
|
+
wonAmount?: number | undefined;
|
|
3025
3025
|
};
|
|
3026
3026
|
bidder: {
|
|
3027
|
+
status: "draft" | "connected" | "failed_to_connect" | "connecting" | "reconnecting";
|
|
3028
|
+
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
3027
3029
|
id: string;
|
|
3028
3030
|
name: string | null;
|
|
3031
|
+
createdAt: number;
|
|
3032
|
+
updatedAt: number;
|
|
3033
|
+
provider: "user-provided" | "lancer-provided";
|
|
3029
3034
|
email: string;
|
|
3030
|
-
status: "connected" | "connecting" | "failed_to_connect" | "draft" | "reconnecting";
|
|
3031
|
-
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
3032
3035
|
password: string;
|
|
3033
|
-
provider: "user-provided" | "lancer-provided";
|
|
3034
3036
|
isConnecting: boolean | null;
|
|
3035
3037
|
securityQuestionAnswer: string | null;
|
|
3036
3038
|
assignedOrganizations: string[];
|
|
@@ -3051,8 +3053,6 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3051
3053
|
}[] | null;
|
|
3052
3054
|
specialisedProfiles: string[] | null;
|
|
3053
3055
|
instanceId: string | null;
|
|
3054
|
-
createdAt: number;
|
|
3055
|
-
updatedAt: number;
|
|
3056
3056
|
errorMessage: string | null;
|
|
3057
3057
|
googleOauthTokens?: any;
|
|
3058
3058
|
isProtected?: boolean | undefined;
|