lancer-shared 1.2.93 → 1.2.94
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 +7 -7
- package/dist/schemas/agent/index.d.ts +10 -15
- package/dist/schemas/campaign/campaign-analytics.d.ts +18 -27
- package/dist/schemas/campaign/campaign.d.ts +25 -28
- package/dist/schemas/scraper/scrape-payload.d.ts +21 -6
- package/package.json +1 -1
- package/dist/constants/account-status.d.ts +0 -3
- package/dist/constants/account-status.js +0 -17
- package/dist/constants/collections.d.ts +0 -13
- package/dist/constants/collections.js +0 -16
- package/dist/constants/common-questions.js +0 -60
- package/dist/constants/index.js +0 -40
- package/dist/constants/job-filter-options.js +0 -268
- package/dist/constants/job-status.js +0 -26
- package/dist/constants/mappings/countryMapping.js +0 -122
- package/dist/constants/mappings/regionMapping.js +0 -242
- package/dist/constants/organization.d.ts +0 -2
- package/dist/constants/proxies.d.ts +0 -4
- package/dist/constants/routes.js +0 -114
- package/dist/constants/upwork-accounts.js +0 -21
- package/dist/constants/upwork-filters.d.ts +0 -5
- package/dist/constants/upwork-filters.js +0 -75
- package/dist/index.js +0 -20
- package/dist/schemas/account/account-status.js +0 -11
- package/dist/schemas/account/bidder-account.js +0 -37
- package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
- package/dist/schemas/account/index.js +0 -19
- package/dist/schemas/account/manager-account.d.ts +0 -116
- package/dist/schemas/account/manager-account.js +0 -38
- package/dist/schemas/account/scraper-account.js +0 -37
- package/dist/schemas/ai/ai-config.d.ts +0 -36
- package/dist/schemas/ai/ai-config.js +0 -12
- package/dist/schemas/ai/index.d.ts +0 -3
- package/dist/schemas/ai/index.js +0 -19
- package/dist/schemas/ai/proposal.d.ts +0 -82
- package/dist/schemas/ai/proposal.js +0 -16
- package/dist/schemas/ai/suitability.d.ts +0 -37
- package/dist/schemas/ai/suitability.js +0 -17
- package/dist/schemas/ai-config/ai-config.d.ts +0 -39
- package/dist/schemas/ai-config/ai-config.js +0 -12
- package/dist/schemas/ai-config/index.d.ts +0 -1
- package/dist/schemas/ai-config/index.js +0 -17
- package/dist/schemas/bid/bid-result.js +0 -15
- package/dist/schemas/bid/bid-status.d.ts +0 -30
- package/dist/schemas/bid/bid-status.js +0 -15
- package/dist/schemas/bid/bid.js +0 -36
- package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
- package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
- package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
- package/dist/schemas/bid/index.js +0 -18
- package/dist/schemas/bidding/index.d.ts +0 -1
- package/dist/schemas/bidding/index.js +0 -17
- package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
- package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
- package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
- package/dist/schemas/bidding/proposal-dto.js +0 -18
- package/dist/schemas/campaign/campaign-ai-metrics.js +0 -9
- package/dist/schemas/campaign/campaign-analytics.js +0 -41
- package/dist/schemas/campaign/campaign-expenses.js +0 -9
- package/dist/schemas/campaign/campaign-insights.js +0 -31
- package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
- package/dist/schemas/campaign/campaign-integrations.js +0 -16
- package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
- package/dist/schemas/campaign/campaign-job-count.js +0 -6
- package/dist/schemas/campaign/campaign.js +0 -44
- package/dist/schemas/campaign/index.js +0 -23
- package/dist/schemas/chat-message/chat-message.d.ts +0 -31
- package/dist/schemas/chat-message/chat-message.js +0 -13
- package/dist/schemas/chat-message/index.d.ts +0 -1
- package/dist/schemas/chat-message/index.js +0 -17
- package/dist/schemas/config/agency-config.d.ts +0 -17
- package/dist/schemas/config/agency-config.js +0 -10
- package/dist/schemas/config/index.d.ts +0 -1
- package/dist/schemas/config/index.js +0 -17
- package/dist/schemas/index.js +0 -32
- package/dist/schemas/job/index.js +0 -19
- package/dist/schemas/job/job-details.d.ts +0 -335
- package/dist/schemas/job/job-details.js +0 -29
- package/dist/schemas/job/job-note.d.ts +0 -83
- package/dist/schemas/job/job-note.js +0 -30
- package/dist/schemas/job/job-pipeline.d.ts +0 -74
- package/dist/schemas/job/job-pipeline.js +0 -29
- package/dist/schemas/job/job-status.d.ts +0 -3
- package/dist/schemas/job/job-status.js +0 -27
- package/dist/schemas/job/job-suitability.d.ts +0 -12
- package/dist/schemas/job/job-suitability.js +0 -13
- package/dist/schemas/job/job.d.ts +0 -1160
- package/dist/schemas/job/job.js +0 -90
- package/dist/schemas/job/pipeline-job.d.ts +0 -608
- package/dist/schemas/job/pipeline-job.js +0 -43
- package/dist/schemas/job/upwork-job.d.ts +0 -334
- package/dist/schemas/job/upwork-job.js +0 -60
- package/dist/schemas/job-filters/index.d.ts +0 -1
- package/dist/schemas/job-filters/index.js +0 -17
- package/dist/schemas/job-filters/job-filters.d.ts +0 -241
- package/dist/schemas/job-filters/job-filters.js +0 -87
- package/dist/schemas/knowledge-object/index.d.ts +0 -1
- package/dist/schemas/knowledge-object/index.js +0 -17
- package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
- package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
- package/dist/schemas/lead/index.js +0 -19
- package/dist/schemas/lead/lead-note.d.ts +0 -83
- package/dist/schemas/lead/lead-note.js +0 -30
- package/dist/schemas/lead/lead-status.js +0 -26
- package/dist/schemas/lead/lead.d.ts +0 -1897
- package/dist/schemas/lead/lead.js +0 -143
- package/dist/schemas/lead/nuxt.d.ts +0 -1664
- package/dist/schemas/logger/index.js +0 -17
- package/dist/schemas/logger/log-event.js +0 -66
- package/dist/schemas/organization/index.js +0 -17
- package/dist/schemas/organization/organization.d.ts +0 -70
- package/dist/schemas/organization/organization.js +0 -19
- package/dist/schemas/proxy/index.js +0 -17
- package/dist/schemas/proxy/proxy.js +0 -23
- package/dist/schemas/saved-search/index.js +0 -12
- package/dist/schemas/scraper/index.js +0 -18
- package/dist/schemas/scraper/scrape-payload.js +0 -16
- package/dist/schemas/scraper/scrape-response.d.ts +0 -345
- package/dist/schemas/scraper/scrape-response.js +0 -9
- package/dist/schemas/scraper/scrape-result.js +0 -23
- package/dist/schemas/shared.js +0 -16
- package/dist/schemas/time-filter/index.js +0 -9
- package/dist/schemas/upwork-account/index.d.ts +0 -3
- package/dist/schemas/upwork-account/index.js +0 -19
- package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
- package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
- package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
- package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
- package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
- package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
- package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
- package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
- package/dist/schemas/user/index.js +0 -55
- package/dist/types/account/account-status.d.ts +0 -3
- package/dist/types/account/account-status.js +0 -2
- package/dist/types/account/bidder-account.d.ts +0 -7
- package/dist/types/account/bidder-account.js +0 -2
- package/dist/types/account/index.d.ts +0 -3
- package/dist/types/account/index.js +0 -19
- package/dist/types/account/manager-account.d.ts +0 -7
- package/dist/types/account/manager-account.js +0 -2
- package/dist/types/account/scraper-account.d.ts +0 -5
- package/dist/types/account/scraper-account.js +0 -2
- package/dist/types/ai/ai-config.d.ts +0 -6
- package/dist/types/ai/ai-config.js +0 -2
- package/dist/types/ai/index.d.ts +0 -3
- package/dist/types/ai/index.js +0 -19
- package/dist/types/ai/proposal.d.ts +0 -10
- package/dist/types/ai/proposal.js +0 -2
- package/dist/types/ai/suitability.d.ts +0 -6
- package/dist/types/ai/suitability.js +0 -2
- package/dist/types/ai-config/ai-config.d.ts +0 -6
- package/dist/types/ai-config/ai-config.js +0 -2
- package/dist/types/ai-config/index.d.ts +0 -1
- package/dist/types/ai-config/index.js +0 -17
- package/dist/types/bid/bid-result.d.ts +0 -5
- package/dist/types/bid/bid-result.js +0 -2
- package/dist/types/bid/bid-status.d.ts +0 -5
- package/dist/types/bid/bid-status.js +0 -2
- package/dist/types/bid/bid.d.ts +0 -9
- package/dist/types/bid/bid.js +0 -2
- package/dist/types/bid/index.d.ts +0 -2
- package/dist/types/bid/index.js +0 -18
- package/dist/types/bidding/index.d.ts +0 -1
- package/dist/types/bidding/index.js +0 -17
- package/dist/types/bidding/proposal-bidding-status.d.ts +0 -3
- package/dist/types/bidding/proposal-bidding-status.js +0 -2
- package/dist/types/bidding/proposal-dto.d.ts +0 -3
- package/dist/types/bidding/proposal-dto.js +0 -2
- package/dist/types/campaign/campaign-analytics.d.ts +0 -7
- package/dist/types/campaign/campaign-analytics.js +0 -2
- package/dist/types/campaign/campaign-expenses.d.ts +0 -3
- package/dist/types/campaign/campaign-expenses.js +0 -2
- package/dist/types/campaign/campaign-insights.js +0 -2
- package/dist/types/campaign/campaign-integrations.d.ts +0 -6
- package/dist/types/campaign/campaign-integrations.js +0 -2
- package/dist/types/campaign/campaign-job-count.d.ts +0 -4
- package/dist/types/campaign/campaign-job-count.js +0 -2
- package/dist/types/campaign/campaign.js +0 -2
- package/dist/types/campaign/index.js +0 -22
- package/dist/types/chat-message/chat-message.d.ts +0 -4
- package/dist/types/chat-message/chat-message.js +0 -2
- package/dist/types/chat-message/index.d.ts +0 -1
- package/dist/types/chat-message/index.js +0 -17
- package/dist/types/config/agency-config.d.ts +0 -4
- package/dist/types/config/agency-config.js +0 -2
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/config/index.js +0 -17
- package/dist/types/index.d.ts +0 -15
- package/dist/types/index.js +0 -29
- package/dist/types/job/index.d.ts +0 -48
- package/dist/types/job/index.js +0 -19
- package/dist/types/job/job-details.d.ts +0 -36
- package/dist/types/job/job-details.js +0 -2
- package/dist/types/job/job-note.d.ts +0 -10
- package/dist/types/job/job-note.js +0 -2
- package/dist/types/job/job-pipeline.d.ts +0 -4
- package/dist/types/job/job-pipeline.js +0 -2
- package/dist/types/job/job-status.d.ts +0 -5
- package/dist/types/job/job-status.js +0 -12
- package/dist/types/job/job-suitability.d.ts +0 -3
- package/dist/types/job/job-suitability.js +0 -2
- package/dist/types/job/job.d.ts +0 -36
- package/dist/types/job/job.js +0 -2
- package/dist/types/job/nuxt.d.ts +0 -4
- package/dist/types/job-filters/index.d.ts +0 -1
- package/dist/types/job-filters/index.js +0 -17
- package/dist/types/job-filters/job-filters.d.ts +0 -4
- package/dist/types/job-filters/job-filters.js +0 -2
- package/dist/types/knowledge-object/index.d.ts +0 -1
- package/dist/types/knowledge-object/index.js +0 -17
- package/dist/types/knowledge-object/knowledge-object.d.ts +0 -4
- package/dist/types/knowledge-object/knowledge-object.js +0 -2
- package/dist/types/logger/index.d.ts +0 -1
- package/dist/types/logger/index.js +0 -17
- package/dist/types/logger/log-event.js +0 -2
- package/dist/types/saved-search/index.d.ts +0 -6
- package/dist/types/saved-search/index.js +0 -2
- package/dist/types/scraper/index.d.ts +0 -2
- package/dist/types/scraper/index.js +0 -18
- package/dist/types/scraper/scrape-payload.d.ts +0 -10
- package/dist/types/scraper/scrape-payload.js +0 -2
- package/dist/types/scraper/scrape-response.d.ts +0 -4
- package/dist/types/scraper/scrape-response.js +0 -2
- package/dist/types/scraper/scrape-result.d.ts +0 -8
- package/dist/types/scraper/scrape-result.js +0 -2
- package/dist/types/shared.d.ts +0 -8
- package/dist/types/time-filter/index.d.ts +0 -3
- package/dist/types/time-filter/index.js +0 -2
- package/dist/types/transaction/index.d.ts +0 -4
- package/dist/types/upwork-account/index.d.ts +0 -3
- package/dist/types/upwork-account/index.js +0 -19
- package/dist/types/upwork-account/upwork-account-status.d.ts +0 -3
- package/dist/types/upwork-account/upwork-account-status.js +0 -2
- package/dist/types/upwork-account/upwork-business-manager-account.d.ts +0 -7
- package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
- package/dist/types/upwork-account/upwork-scraping-account.d.ts +0 -5
- package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
- package/dist/types/usage/index.d.ts +0 -6
- package/dist/types/user/index.d.ts +0 -15
- package/dist/types/user/index.js +0 -2
- package/dist/utils/index.js +0 -17
- package/dist/utils/try-catch.js +0 -25
package/dist/bundle.cjs.js
CHANGED
|
@@ -12444,10 +12444,10 @@ const bidConfigSchema = z.object({
|
|
|
12444
12444
|
specialisedProfile: z.string().nullable(),
|
|
12445
12445
|
});
|
|
12446
12446
|
const campaignStatusSchema = z.union([
|
|
12447
|
-
z.literal(
|
|
12448
|
-
z.literal(
|
|
12449
|
-
z.literal(
|
|
12450
|
-
z.literal(
|
|
12447
|
+
z.literal("active"),
|
|
12448
|
+
z.literal("draft"),
|
|
12449
|
+
z.literal("paused"),
|
|
12450
|
+
z.literal("error"),
|
|
12451
12451
|
]);
|
|
12452
12452
|
const campaignSchema = z.object({
|
|
12453
12453
|
id: z.string(),
|
|
@@ -12472,9 +12472,9 @@ const campaignSchema = z.object({
|
|
|
12472
12472
|
priority: z.number().nullable(),
|
|
12473
12473
|
});
|
|
12474
12474
|
const upworkAccountConnectStatusSchema = z.union([
|
|
12475
|
-
z.literal(
|
|
12476
|
-
z.literal(
|
|
12477
|
-
z.literal(
|
|
12475
|
+
z.literal("processing"),
|
|
12476
|
+
z.literal("connected"),
|
|
12477
|
+
z.literal("failed"),
|
|
12478
12478
|
]);
|
|
12479
12479
|
const upworkAccountConnectSchema = z.object({
|
|
12480
12480
|
status: upworkAccountConnectStatusSchema.nullable(),
|
|
@@ -329,9 +329,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
329
329
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
330
330
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
331
331
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
332
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
333
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
335
334
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
336
335
|
organizationId: string;
|
|
337
336
|
campaignId: string;
|
|
@@ -441,9 +440,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
441
440
|
boostingAmount: number | null;
|
|
442
441
|
biddingTaskScheduled: boolean | null;
|
|
443
442
|
scheduledBiddingTime: number | null;
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
rejectedFeedback: string | null;
|
|
443
|
+
biddingTaskId: string | null;
|
|
444
|
+
doNotApplyReason: string | null;
|
|
447
445
|
activity?: Partial<Record<"4h" | "24h", {
|
|
448
446
|
proposals: {
|
|
449
447
|
min: number | null;
|
|
@@ -575,9 +573,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
575
573
|
boostingAmount: number | null;
|
|
576
574
|
biddingTaskScheduled: boolean | null;
|
|
577
575
|
scheduledBiddingTime: number | null;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
rejectedFeedback: string | null;
|
|
576
|
+
biddingTaskId: string | null;
|
|
577
|
+
doNotApplyReason: string | null;
|
|
581
578
|
activity?: Partial<Record<"4h" | "24h", {
|
|
582
579
|
proposals: {
|
|
583
580
|
min: number | null;
|
|
@@ -725,9 +722,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
725
722
|
boostingAmount: number | null;
|
|
726
723
|
biddingTaskScheduled: boolean | null;
|
|
727
724
|
scheduledBiddingTime: number | null;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
rejectedFeedback: string | null;
|
|
725
|
+
biddingTaskId: string | null;
|
|
726
|
+
doNotApplyReason: string | null;
|
|
731
727
|
activity?: Partial<Record<"4h" | "24h", {
|
|
732
728
|
proposals: {
|
|
733
729
|
min: number | null;
|
|
@@ -869,9 +865,8 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
|
|
|
869
865
|
boostingAmount: number | null;
|
|
870
866
|
biddingTaskScheduled: boolean | null;
|
|
871
867
|
scheduledBiddingTime: number | null;
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
rejectedFeedback: string | null;
|
|
868
|
+
biddingTaskId: string | null;
|
|
869
|
+
doNotApplyReason: string | null;
|
|
875
870
|
activity?: Partial<Record<"4h" | "24h", {
|
|
876
871
|
proposals: {
|
|
877
872
|
min: number | null;
|
|
@@ -1419,9 +1419,8 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1419
1419
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
1420
1420
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
1421
1421
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1422
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
1423
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
1425
1424
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1426
1425
|
id: string | null;
|
|
1427
1426
|
title: string | null;
|
|
@@ -2256,9 +2255,8 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2256
2255
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
2257
2256
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
2258
2257
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2258
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
2259
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
2262
2260
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2263
2261
|
id: string | null;
|
|
2264
2262
|
title: string | null;
|
|
@@ -3091,9 +3089,8 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3091
3089
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
3092
3090
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
3093
3091
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3092
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
3093
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
3097
3094
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3098
3095
|
id: string | null;
|
|
3099
3096
|
title: string | null;
|
|
@@ -4408,9 +4405,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4408
4405
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
4409
4406
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
4410
4407
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
4408
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
4409
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
4414
4410
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
4415
4411
|
id: string | null;
|
|
4416
4412
|
title: string | null;
|
|
@@ -5244,9 +5240,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5244
5240
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
5245
5241
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
5246
5242
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5243
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
5244
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
5250
5245
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5251
5246
|
id: string | null;
|
|
5252
5247
|
title: string | null;
|
|
@@ -6078,9 +6073,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6078
6073
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
6079
6074
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6080
6075
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6076
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
6077
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
6084
6078
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6085
6079
|
id: string | null;
|
|
6086
6080
|
title: string | null;
|
|
@@ -6469,9 +6463,8 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
6469
6463
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
6470
6464
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6471
6465
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6466
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
6467
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
6475
6468
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6476
6469
|
id: string | null;
|
|
6477
6470
|
title: string | null;
|
|
@@ -6833,9 +6826,8 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
6833
6826
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
6834
6827
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
6835
6828
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6829
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
6830
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
6839
6831
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6840
6832
|
id: string | null;
|
|
6841
6833
|
title: string | null;
|
|
@@ -7195,9 +7187,8 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7195
7187
|
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
7196
7188
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
7197
7189
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7190
|
+
biddingTaskId: z.ZodNullable<z.ZodString>;
|
|
7191
|
+
doNotApplyReason: z.ZodNullable<z.ZodString>;
|
|
7201
7192
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7202
7193
|
id: string | null;
|
|
7203
7194
|
title: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { infer, z } from
|
|
2
|
-
import { JobFilters } from
|
|
3
|
-
import { CoverLetterTemplate } from
|
|
4
|
-
import { CampaignExpenses } from
|
|
1
|
+
import { infer, z } from "zod";
|
|
2
|
+
import { JobFilters } from "../job";
|
|
3
|
+
import { CoverLetterTemplate } from "../organization";
|
|
4
|
+
import { CampaignExpenses } from "./campaign-expenses";
|
|
5
5
|
export declare const bidConfigSchema: z.ZodObject<{
|
|
6
6
|
agencyName: z.ZodNullable<z.ZodString>;
|
|
7
7
|
bidderId: z.ZodNullable<z.ZodString>;
|
|
@@ -67,11 +67,11 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
67
67
|
projectDuration: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
68
68
|
experienceLevel: z.ZodNullable<z.ZodArray<z.ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
69
69
|
questions: z.ZodNullable<z.ZodObject<{
|
|
70
|
-
hasQuestions: z.
|
|
70
|
+
hasQuestions: z.ZodArray<z.ZodEnum<["all", "yes", "no"]>, "many">;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
hasQuestions: "all" | "yes" | "no";
|
|
72
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
73
73
|
}, {
|
|
74
|
-
hasQuestions
|
|
74
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
75
75
|
}>>;
|
|
76
76
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
77
77
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
@@ -169,7 +169,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
169
169
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
170
170
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
171
171
|
questions: {
|
|
172
|
-
hasQuestions: "all" | "yes" | "no";
|
|
172
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
173
173
|
} | null;
|
|
174
174
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
175
175
|
clientInfo: {
|
|
@@ -219,7 +219,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
219
219
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
220
220
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
221
221
|
questions: {
|
|
222
|
-
hasQuestions
|
|
222
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
223
223
|
} | null;
|
|
224
224
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
225
225
|
clientInfo: {
|
|
@@ -314,7 +314,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
314
314
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
315
315
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
316
316
|
questions: {
|
|
317
|
-
hasQuestions: "all" | "yes" | "no";
|
|
317
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
318
318
|
} | null;
|
|
319
319
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
320
320
|
clientInfo: {
|
|
@@ -391,7 +391,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
391
391
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
392
392
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
393
393
|
questions: {
|
|
394
|
-
hasQuestions
|
|
394
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
395
395
|
} | null;
|
|
396
396
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
397
397
|
clientInfo: {
|
|
@@ -506,11 +506,11 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
506
506
|
projectDuration: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
507
507
|
experienceLevel: z.ZodNullable<z.ZodArray<z.ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
508
508
|
questions: z.ZodNullable<z.ZodObject<{
|
|
509
|
-
hasQuestions: z.
|
|
509
|
+
hasQuestions: z.ZodArray<z.ZodEnum<["all", "yes", "no"]>, "many">;
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
|
-
hasQuestions: "all" | "yes" | "no";
|
|
511
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
512
512
|
}, {
|
|
513
|
-
hasQuestions
|
|
513
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
514
514
|
}>>;
|
|
515
515
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
516
516
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
@@ -608,7 +608,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
608
608
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
609
609
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
610
610
|
questions: {
|
|
611
|
-
hasQuestions: "all" | "yes" | "no";
|
|
611
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
612
612
|
} | null;
|
|
613
613
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
614
614
|
clientInfo: {
|
|
@@ -658,7 +658,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
658
658
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
659
659
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
660
660
|
questions: {
|
|
661
|
-
hasQuestions
|
|
661
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
662
662
|
} | null;
|
|
663
663
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
664
664
|
clientInfo: {
|
|
@@ -752,7 +752,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
752
752
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
753
753
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
754
754
|
questions: {
|
|
755
|
-
hasQuestions: "all" | "yes" | "no";
|
|
755
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
756
756
|
} | null;
|
|
757
757
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
758
758
|
clientInfo: {
|
|
@@ -820,7 +820,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
820
820
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
821
821
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
822
822
|
questions: {
|
|
823
|
-
hasQuestions
|
|
823
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
824
824
|
} | null;
|
|
825
825
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
826
826
|
clientInfo: {
|
|
@@ -915,11 +915,11 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
915
915
|
projectDuration: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 1 month", "1 to 3 months", "3 to 6 months", "More than 6 months", "Unspecified"]>, "many">>;
|
|
916
916
|
experienceLevel: z.ZodNullable<z.ZodArray<z.ZodEnum<["Entry level", "Intermediate", "Expert"]>, "many">>;
|
|
917
917
|
questions: z.ZodNullable<z.ZodObject<{
|
|
918
|
-
hasQuestions: z.
|
|
918
|
+
hasQuestions: z.ZodArray<z.ZodEnum<["all", "yes", "no"]>, "many">;
|
|
919
919
|
}, "strip", z.ZodTypeAny, {
|
|
920
|
-
hasQuestions: "all" | "yes" | "no";
|
|
920
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
921
921
|
}, {
|
|
922
|
-
hasQuestions
|
|
922
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
923
923
|
}>>;
|
|
924
924
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
925
925
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
@@ -1017,7 +1017,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1017
1017
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1018
1018
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1019
1019
|
questions: {
|
|
1020
|
-
hasQuestions: "all" | "yes" | "no";
|
|
1020
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1021
1021
|
} | null;
|
|
1022
1022
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1023
1023
|
clientInfo: {
|
|
@@ -1067,7 +1067,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1067
1067
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1068
1068
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1069
1069
|
questions: {
|
|
1070
|
-
hasQuestions
|
|
1070
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1071
1071
|
} | null;
|
|
1072
1072
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1073
1073
|
clientInfo: {
|
|
@@ -1160,7 +1160,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1160
1160
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1161
1161
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1162
1162
|
questions: {
|
|
1163
|
-
hasQuestions: "all" | "yes" | "no";
|
|
1163
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1164
1164
|
} | null;
|
|
1165
1165
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1166
1166
|
clientInfo: {
|
|
@@ -1235,7 +1235,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1235
1235
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
1236
1236
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1237
1237
|
questions: {
|
|
1238
|
-
hasQuestions
|
|
1238
|
+
hasQuestions: ("all" | "yes" | "no")[];
|
|
1239
1239
|
} | null;
|
|
1240
1240
|
engagementType: ("Unspecified" | "Less than 30 hrs/week" | "More than 30 hrs/week")[] | null;
|
|
1241
1241
|
clientInfo: {
|
|
@@ -1287,9 +1287,6 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1287
1287
|
priority?: number | null | undefined;
|
|
1288
1288
|
}>;
|
|
1289
1289
|
export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
1290
|
-
filters: JobFilters;
|
|
1291
|
-
expenses: CampaignExpenses;
|
|
1292
|
-
bidConfig: BidConfig | null;
|
|
1293
1290
|
coverLetterTemplate: CoverLetterTemplate | null;
|
|
1294
1291
|
}
|
|
1295
1292
|
export type CampaignStatus = z.infer<typeof campaignStatusSchema>;
|
|
@@ -419,6 +419,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
419
419
|
specialisedProfile: string | null;
|
|
420
420
|
}>>;
|
|
421
421
|
coverLetterTemplateId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
422
|
+
priority: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
422
423
|
}, "strip", import("zod").ZodTypeAny, {
|
|
423
424
|
id: string;
|
|
424
425
|
name: string;
|
|
@@ -494,6 +495,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
494
495
|
specialisedProfile: string | null;
|
|
495
496
|
} | null;
|
|
496
497
|
coverLetterTemplateId: string | null;
|
|
498
|
+
priority: number | null;
|
|
497
499
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
498
500
|
}, {
|
|
499
501
|
id: string;
|
|
@@ -567,6 +569,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
567
569
|
specialisedProfile: string | null;
|
|
568
570
|
} | null;
|
|
569
571
|
coverLetterTemplateId: string | null;
|
|
572
|
+
priority: number | null;
|
|
570
573
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
571
574
|
boostingEnabled?: boolean | null | undefined;
|
|
572
575
|
maximumBoost?: number | null | undefined;
|
|
@@ -1130,6 +1133,8 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1130
1133
|
}>>>;
|
|
1131
1134
|
}, {
|
|
1132
1135
|
jobId: import("zod").ZodString;
|
|
1136
|
+
campaignId: import("zod").ZodString;
|
|
1137
|
+
organizationId: import("zod").ZodString;
|
|
1133
1138
|
scrapedAt: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1134
1139
|
updatedAt: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1135
1140
|
suitabilityRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
@@ -1251,6 +1256,8 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1251
1256
|
} | null;
|
|
1252
1257
|
activityUpdates: 1 | 2 | 3 | null;
|
|
1253
1258
|
jobId: string;
|
|
1259
|
+
campaignId: string;
|
|
1260
|
+
organizationId: string;
|
|
1254
1261
|
scrapedAt: number | null;
|
|
1255
1262
|
suitabilityRating: number | null;
|
|
1256
1263
|
suitabilityReason: string | null;
|
|
@@ -1382,6 +1389,8 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1382
1389
|
} | null;
|
|
1383
1390
|
activityUpdates: 1 | 2 | 3 | null;
|
|
1384
1391
|
jobId: string;
|
|
1392
|
+
campaignId: string;
|
|
1393
|
+
organizationId: string;
|
|
1385
1394
|
scrapedAt: number | null;
|
|
1386
1395
|
suitabilityRating: number | null;
|
|
1387
1396
|
suitabilityReason: string | null;
|
|
@@ -1439,14 +1448,14 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1439
1448
|
organizationId: import("zod").ZodString;
|
|
1440
1449
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1441
1450
|
name: string;
|
|
1451
|
+
organizationId: string;
|
|
1442
1452
|
logoUrl: string | null;
|
|
1443
1453
|
contractors: string[];
|
|
1444
|
-
organizationId: string;
|
|
1445
1454
|
}, {
|
|
1446
1455
|
name: string;
|
|
1456
|
+
organizationId: string;
|
|
1447
1457
|
logoUrl: string | null;
|
|
1448
1458
|
contractors: string[];
|
|
1449
|
-
organizationId: string;
|
|
1450
1459
|
}>, "many">>;
|
|
1451
1460
|
createdAt: import("zod").ZodNumber;
|
|
1452
1461
|
updatedAt: import("zod").ZodNumber;
|
|
@@ -1466,9 +1475,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1466
1475
|
profilePhotoUrl: string | null;
|
|
1467
1476
|
agencies: {
|
|
1468
1477
|
name: string;
|
|
1478
|
+
organizationId: string;
|
|
1469
1479
|
logoUrl: string | null;
|
|
1470
1480
|
contractors: string[];
|
|
1471
|
-
organizationId: string;
|
|
1472
1481
|
}[] | null;
|
|
1473
1482
|
googleOauthTokens?: any;
|
|
1474
1483
|
}, {
|
|
@@ -1487,9 +1496,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1487
1496
|
profilePhotoUrl: string | null;
|
|
1488
1497
|
agencies: {
|
|
1489
1498
|
name: string;
|
|
1499
|
+
organizationId: string;
|
|
1490
1500
|
logoUrl: string | null;
|
|
1491
1501
|
contractors: string[];
|
|
1492
|
-
organizationId: string;
|
|
1493
1502
|
}[] | null;
|
|
1494
1503
|
googleOauthTokens?: any;
|
|
1495
1504
|
}>;
|
|
@@ -1571,6 +1580,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1571
1580
|
specialisedProfile: string | null;
|
|
1572
1581
|
} | null;
|
|
1573
1582
|
coverLetterTemplateId: string | null;
|
|
1583
|
+
priority: number | null;
|
|
1574
1584
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1575
1585
|
};
|
|
1576
1586
|
organization: {
|
|
@@ -1715,6 +1725,8 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1715
1725
|
} | null;
|
|
1716
1726
|
activityUpdates: 1 | 2 | 3 | null;
|
|
1717
1727
|
jobId: string;
|
|
1728
|
+
campaignId: string;
|
|
1729
|
+
organizationId: string;
|
|
1718
1730
|
scrapedAt: number | null;
|
|
1719
1731
|
suitabilityRating: number | null;
|
|
1720
1732
|
suitabilityReason: string | null;
|
|
@@ -1768,9 +1780,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1768
1780
|
profilePhotoUrl: string | null;
|
|
1769
1781
|
agencies: {
|
|
1770
1782
|
name: string;
|
|
1783
|
+
organizationId: string;
|
|
1771
1784
|
logoUrl: string | null;
|
|
1772
1785
|
contractors: string[];
|
|
1773
|
-
organizationId: string;
|
|
1774
1786
|
}[] | null;
|
|
1775
1787
|
googleOauthTokens?: any;
|
|
1776
1788
|
};
|
|
@@ -1849,6 +1861,7 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1849
1861
|
specialisedProfile: string | null;
|
|
1850
1862
|
} | null;
|
|
1851
1863
|
coverLetterTemplateId: string | null;
|
|
1864
|
+
priority: number | null;
|
|
1852
1865
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1853
1866
|
boostingEnabled?: boolean | null | undefined;
|
|
1854
1867
|
maximumBoost?: number | null | undefined;
|
|
@@ -1996,6 +2009,8 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
1996
2009
|
} | null;
|
|
1997
2010
|
activityUpdates: 1 | 2 | 3 | null;
|
|
1998
2011
|
jobId: string;
|
|
2012
|
+
campaignId: string;
|
|
2013
|
+
organizationId: string;
|
|
1999
2014
|
scrapedAt: number | null;
|
|
2000
2015
|
suitabilityRating: number | null;
|
|
2001
2016
|
suitabilityReason: string | null;
|
|
@@ -2049,9 +2064,9 @@ export declare const checkLeadStatusPayloadSchema: import("zod").ZodObject<{
|
|
|
2049
2064
|
profilePhotoUrl: string | null;
|
|
2050
2065
|
agencies: {
|
|
2051
2066
|
name: string;
|
|
2067
|
+
organizationId: string;
|
|
2052
2068
|
logoUrl: string | null;
|
|
2053
2069
|
contractors: string[];
|
|
2054
|
-
organizationId: string;
|
|
2055
2070
|
}[] | null;
|
|
2056
2071
|
googleOauthTokens?: any;
|
|
2057
2072
|
};
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.accountStatusDisplayMap = exports.accountStatusOrder = void 0;
|
|
4
|
-
exports.accountStatusOrder = [
|
|
5
|
-
'verification_required',
|
|
6
|
-
'shadow_banned',
|
|
7
|
-
'healthy',
|
|
8
|
-
'banned',
|
|
9
|
-
'suspended',
|
|
10
|
-
];
|
|
11
|
-
exports.accountStatusDisplayMap = {
|
|
12
|
-
verification_required: 'Verification Required',
|
|
13
|
-
shadow_banned: 'Shadow Banned',
|
|
14
|
-
healthy: 'Healthy',
|
|
15
|
-
banned: 'Banned',
|
|
16
|
-
suspended: 'Suspended',
|
|
17
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const COLLECTIONS: {
|
|
2
|
-
readonly USERS: "users";
|
|
3
|
-
readonly SETTINGS: "settings";
|
|
4
|
-
readonly CAMPAIGNS: "campaigns";
|
|
5
|
-
readonly LEADS: "leads";
|
|
6
|
-
readonly EVENTS: "events";
|
|
7
|
-
readonly SCRAPER_ACCOUNTS: "scrapers";
|
|
8
|
-
readonly BIDDER_ACCOUNTS: "bidders";
|
|
9
|
-
readonly CAMPAIGN_ACTIVITIES: (userId: string, campaignId: string) => string;
|
|
10
|
-
readonly ORGANIZATIONS: "organizations";
|
|
11
|
-
readonly PROXIES: "proxies";
|
|
12
|
-
readonly TRANSACTIONS: "transactions";
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COLLECTIONS = void 0;
|
|
4
|
-
// Base collection names
|
|
5
|
-
exports.COLLECTIONS = {
|
|
6
|
-
USERS: 'users',
|
|
7
|
-
SETTINGS: 'settings',
|
|
8
|
-
CAMPAIGNS: 'campaigns',
|
|
9
|
-
LEADS: 'leads',
|
|
10
|
-
EVENTS: 'events',
|
|
11
|
-
SCRAPER_ACCOUNTS: 'scrapers',
|
|
12
|
-
BIDDER_ACCOUNTS: 'bidders',
|
|
13
|
-
CAMPAIGN_ACTIVITIES: (userId, campaignId) => `users/${userId}/campaigns/${campaignId}/activities`,
|
|
14
|
-
ORGANIZATIONS: 'organizations',
|
|
15
|
-
PROXIES: 'proxies',
|
|
16
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonQuestions = void 0;
|
|
4
|
-
exports.commonQuestions = [
|
|
5
|
-
{
|
|
6
|
-
id: 'similar_experience',
|
|
7
|
-
question: 'Describe your recent experience with similar projects',
|
|
8
|
-
placeholder: 'ex: [Answer the question based on case studies, if not certain ask to discuss in DMs]',
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
id: 'profile_links',
|
|
12
|
-
question: 'Include a link to your GitHub profile and/or website',
|
|
13
|
-
placeholder: 'ex: [https://github.com/yourusername or https://yourwebsite.com]',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: 'frameworks',
|
|
17
|
-
question: 'What frameworks have you worked with?',
|
|
18
|
-
placeholder: 'ex: [NextJS, React, TailwindCSS, etc...]',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: 'testing_approach',
|
|
22
|
-
question: 'Describe your approach to testing and improving QA',
|
|
23
|
-
placeholder: 'ex: [We are using test-driven development, and we are using Jest for testing]',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'certifications',
|
|
27
|
-
question: 'Please list any certifications related to this project',
|
|
28
|
-
placeholder: 'ex: [Certification in React, Certification in NextJS, etc...]',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: 'similar_project',
|
|
32
|
-
question: 'What past project or job have you had that is most like this one and why?',
|
|
33
|
-
placeholder: "ex: [Describe a similar project and explain the key similarities... If you can't answer based on the case studies, ask to discuss in DMs]",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: 'project_fit',
|
|
37
|
-
question: 'Why do you think you are a good fit for this particular project?',
|
|
38
|
-
placeholder: 'ex: [Explain how your skills and experience match the project requirements...]',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 'job_questions',
|
|
42
|
-
question: 'Do you have any questions about the job description?',
|
|
43
|
-
placeholder: 'ex: [Ask for any clarifications needed about the role or requirements...]',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: 'project_questions',
|
|
47
|
-
question: 'What questions do you have about the project?',
|
|
48
|
-
placeholder: 'ex: [Ask about project scope, timeline, team structure...]',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 'project_suggestions',
|
|
52
|
-
question: 'Do you have suggestions to make this project run successfully?',
|
|
53
|
-
placeholder: 'ex: [Ask to discuss in DMs]',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: 'company_info',
|
|
57
|
-
question: 'What is your company website URL? . . . Company size?',
|
|
58
|
-
placeholder: 'ex: [https://company.com | Number of employees: ...]',
|
|
59
|
-
},
|
|
60
|
-
];
|