lancer-shared 1.2.258 → 1.2.259
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/agent/index.d.ts +5 -0
- package/dist/schemas/bidder/bid.d.ts +49 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +9 -0
- package/dist/schemas/lead/index.d.ts +20 -12
- package/dist/schemas/scraper/scrape-payload.d.ts +5 -0
- package/package.json +1 -1
|
@@ -433,6 +433,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
433
433
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
434
434
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
435
435
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
436
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
436
437
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
437
438
|
id: string | null;
|
|
438
439
|
title: string | null;
|
|
@@ -571,6 +572,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
571
572
|
} | null | undefined;
|
|
572
573
|
proposalId?: string | undefined;
|
|
573
574
|
wonAmount?: number | undefined;
|
|
575
|
+
campaignName?: string | undefined;
|
|
574
576
|
}, {
|
|
575
577
|
id: string | null;
|
|
576
578
|
title: string | null;
|
|
@@ -709,6 +711,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
709
711
|
} | null | undefined;
|
|
710
712
|
proposalId?: string | undefined;
|
|
711
713
|
wonAmount?: number | undefined;
|
|
714
|
+
campaignName?: string | undefined;
|
|
712
715
|
}>;
|
|
713
716
|
isOverallHighestPriorityCampaign: z.ZodOptional<z.ZodBoolean>;
|
|
714
717
|
applyToLeads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -863,6 +866,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
863
866
|
} | null | undefined;
|
|
864
867
|
proposalId?: string | undefined;
|
|
865
868
|
wonAmount?: number | undefined;
|
|
869
|
+
campaignName?: string | undefined;
|
|
866
870
|
};
|
|
867
871
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
868
872
|
applyToLeads?: {
|
|
@@ -1011,6 +1015,7 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1011
1015
|
} | null | undefined;
|
|
1012
1016
|
proposalId?: string | undefined;
|
|
1013
1017
|
wonAmount?: number | undefined;
|
|
1018
|
+
campaignName?: string | undefined;
|
|
1014
1019
|
};
|
|
1015
1020
|
isOverallHighestPriorityCampaign?: boolean | undefined;
|
|
1016
1021
|
applyToLeads?: {
|
|
@@ -335,6 +335,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
335
335
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
336
336
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
337
337
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
338
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
338
339
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
339
340
|
id: string | null;
|
|
340
341
|
title: string | null;
|
|
@@ -473,6 +474,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
473
474
|
} | null | undefined;
|
|
474
475
|
proposalId?: string | undefined;
|
|
475
476
|
wonAmount?: number | undefined;
|
|
477
|
+
campaignName?: string | undefined;
|
|
476
478
|
}, {
|
|
477
479
|
id: string | null;
|
|
478
480
|
title: string | null;
|
|
@@ -611,6 +613,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
611
613
|
} | null | undefined;
|
|
612
614
|
proposalId?: string | undefined;
|
|
613
615
|
wonAmount?: number | undefined;
|
|
616
|
+
campaignName?: string | undefined;
|
|
614
617
|
}>;
|
|
615
618
|
coverLetter: z.ZodString;
|
|
616
619
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -783,6 +786,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
783
786
|
} | null | undefined;
|
|
784
787
|
proposalId?: string | undefined;
|
|
785
788
|
wonAmount?: number | undefined;
|
|
789
|
+
campaignName?: string | undefined;
|
|
786
790
|
};
|
|
787
791
|
boostingEnabled: boolean;
|
|
788
792
|
maximumBoost: number | null;
|
|
@@ -944,6 +948,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
944
948
|
} | null | undefined;
|
|
945
949
|
proposalId?: string | undefined;
|
|
946
950
|
wonAmount?: number | undefined;
|
|
951
|
+
campaignName?: string | undefined;
|
|
947
952
|
};
|
|
948
953
|
boostingEnabled: boolean;
|
|
949
954
|
maximumBoost: number | null;
|
|
@@ -1295,6 +1300,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1295
1300
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1296
1301
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1297
1302
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1303
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
1298
1304
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
1299
1305
|
id: string | null;
|
|
1300
1306
|
title: string | null;
|
|
@@ -1433,6 +1439,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1433
1439
|
} | null | undefined;
|
|
1434
1440
|
proposalId?: string | undefined;
|
|
1435
1441
|
wonAmount?: number | undefined;
|
|
1442
|
+
campaignName?: string | undefined;
|
|
1436
1443
|
}, {
|
|
1437
1444
|
id: string | null;
|
|
1438
1445
|
title: string | null;
|
|
@@ -1571,6 +1578,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1571
1578
|
} | null | undefined;
|
|
1572
1579
|
proposalId?: string | undefined;
|
|
1573
1580
|
wonAmount?: number | undefined;
|
|
1581
|
+
campaignName?: string | undefined;
|
|
1574
1582
|
}>;
|
|
1575
1583
|
coverLetter: z.ZodString;
|
|
1576
1584
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1743,6 +1751,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1743
1751
|
} | null | undefined;
|
|
1744
1752
|
proposalId?: string | undefined;
|
|
1745
1753
|
wonAmount?: number | undefined;
|
|
1754
|
+
campaignName?: string | undefined;
|
|
1746
1755
|
};
|
|
1747
1756
|
boostingEnabled: boolean;
|
|
1748
1757
|
maximumBoost: number | null;
|
|
@@ -1904,6 +1913,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1904
1913
|
} | null | undefined;
|
|
1905
1914
|
proposalId?: string | undefined;
|
|
1906
1915
|
wonAmount?: number | undefined;
|
|
1916
|
+
campaignName?: string | undefined;
|
|
1907
1917
|
};
|
|
1908
1918
|
boostingEnabled: boolean;
|
|
1909
1919
|
maximumBoost: number | null;
|
|
@@ -2255,6 +2265,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2255
2265
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2256
2266
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2257
2267
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2268
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
2258
2269
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
2259
2270
|
id: string | null;
|
|
2260
2271
|
title: string | null;
|
|
@@ -2393,6 +2404,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2393
2404
|
} | null | undefined;
|
|
2394
2405
|
proposalId?: string | undefined;
|
|
2395
2406
|
wonAmount?: number | undefined;
|
|
2407
|
+
campaignName?: string | undefined;
|
|
2396
2408
|
}, {
|
|
2397
2409
|
id: string | null;
|
|
2398
2410
|
title: string | null;
|
|
@@ -2531,6 +2543,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2531
2543
|
} | null | undefined;
|
|
2532
2544
|
proposalId?: string | undefined;
|
|
2533
2545
|
wonAmount?: number | undefined;
|
|
2546
|
+
campaignName?: string | undefined;
|
|
2534
2547
|
}>;
|
|
2535
2548
|
coverLetter: z.ZodString;
|
|
2536
2549
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2709,6 +2722,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2709
2722
|
} | null | undefined;
|
|
2710
2723
|
proposalId?: string | undefined;
|
|
2711
2724
|
wonAmount?: number | undefined;
|
|
2725
|
+
campaignName?: string | undefined;
|
|
2712
2726
|
};
|
|
2713
2727
|
boostingEnabled: boolean;
|
|
2714
2728
|
maximumBoost: number | null;
|
|
@@ -2873,6 +2887,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2873
2887
|
} | null | undefined;
|
|
2874
2888
|
proposalId?: string | undefined;
|
|
2875
2889
|
wonAmount?: number | undefined;
|
|
2890
|
+
campaignName?: string | undefined;
|
|
2876
2891
|
};
|
|
2877
2892
|
boostingEnabled: boolean;
|
|
2878
2893
|
maximumBoost: number | null;
|
|
@@ -3225,6 +3240,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3225
3240
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3226
3241
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3227
3242
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3243
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
3228
3244
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
3229
3245
|
id: string | null;
|
|
3230
3246
|
title: string | null;
|
|
@@ -3363,6 +3379,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3363
3379
|
} | null | undefined;
|
|
3364
3380
|
proposalId?: string | undefined;
|
|
3365
3381
|
wonAmount?: number | undefined;
|
|
3382
|
+
campaignName?: string | undefined;
|
|
3366
3383
|
}, {
|
|
3367
3384
|
id: string | null;
|
|
3368
3385
|
title: string | null;
|
|
@@ -3501,6 +3518,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3501
3518
|
} | null | undefined;
|
|
3502
3519
|
proposalId?: string | undefined;
|
|
3503
3520
|
wonAmount?: number | undefined;
|
|
3521
|
+
campaignName?: string | undefined;
|
|
3504
3522
|
}>;
|
|
3505
3523
|
jobUrl: z.ZodString;
|
|
3506
3524
|
username: z.ZodString;
|
|
@@ -3649,6 +3667,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3649
3667
|
} | null | undefined;
|
|
3650
3668
|
proposalId?: string | undefined;
|
|
3651
3669
|
wonAmount?: number | undefined;
|
|
3670
|
+
campaignName?: string | undefined;
|
|
3652
3671
|
};
|
|
3653
3672
|
}, {
|
|
3654
3673
|
username: string;
|
|
@@ -3794,6 +3813,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3794
3813
|
} | null | undefined;
|
|
3795
3814
|
proposalId?: string | undefined;
|
|
3796
3815
|
wonAmount?: number | undefined;
|
|
3816
|
+
campaignName?: string | undefined;
|
|
3797
3817
|
};
|
|
3798
3818
|
}>;
|
|
3799
3819
|
export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -4131,6 +4151,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4131
4151
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
4132
4152
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
4133
4153
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
4154
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
4134
4155
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
4135
4156
|
id: string | null;
|
|
4136
4157
|
title: string | null;
|
|
@@ -4269,6 +4290,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4269
4290
|
} | null | undefined;
|
|
4270
4291
|
proposalId?: string | undefined;
|
|
4271
4292
|
wonAmount?: number | undefined;
|
|
4293
|
+
campaignName?: string | undefined;
|
|
4272
4294
|
}, {
|
|
4273
4295
|
id: string | null;
|
|
4274
4296
|
title: string | null;
|
|
@@ -4407,6 +4429,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4407
4429
|
} | null | undefined;
|
|
4408
4430
|
proposalId?: string | undefined;
|
|
4409
4431
|
wonAmount?: number | undefined;
|
|
4432
|
+
campaignName?: string | undefined;
|
|
4410
4433
|
}>;
|
|
4411
4434
|
jobUrl: z.ZodString;
|
|
4412
4435
|
username: z.ZodString;
|
|
@@ -4747,6 +4770,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4747
4770
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
4748
4771
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
4749
4772
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
4773
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
4750
4774
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
4751
4775
|
id: string | null;
|
|
4752
4776
|
title: string | null;
|
|
@@ -4885,6 +4909,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4885
4909
|
} | null | undefined;
|
|
4886
4910
|
proposalId?: string | undefined;
|
|
4887
4911
|
wonAmount?: number | undefined;
|
|
4912
|
+
campaignName?: string | undefined;
|
|
4888
4913
|
}, {
|
|
4889
4914
|
id: string | null;
|
|
4890
4915
|
title: string | null;
|
|
@@ -5023,6 +5048,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5023
5048
|
} | null | undefined;
|
|
5024
5049
|
proposalId?: string | undefined;
|
|
5025
5050
|
wonAmount?: number | undefined;
|
|
5051
|
+
campaignName?: string | undefined;
|
|
5026
5052
|
}>;
|
|
5027
5053
|
coverLetter: z.ZodString;
|
|
5028
5054
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -5201,6 +5227,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5201
5227
|
} | null | undefined;
|
|
5202
5228
|
proposalId?: string | undefined;
|
|
5203
5229
|
wonAmount?: number | undefined;
|
|
5230
|
+
campaignName?: string | undefined;
|
|
5204
5231
|
};
|
|
5205
5232
|
boostingEnabled: boolean;
|
|
5206
5233
|
maximumBoost: number | null;
|
|
@@ -5365,6 +5392,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5365
5392
|
} | null | undefined;
|
|
5366
5393
|
proposalId?: string | undefined;
|
|
5367
5394
|
wonAmount?: number | undefined;
|
|
5395
|
+
campaignName?: string | undefined;
|
|
5368
5396
|
};
|
|
5369
5397
|
boostingEnabled: boolean;
|
|
5370
5398
|
maximumBoost: number | null;
|
|
@@ -5526,6 +5554,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5526
5554
|
} | null | undefined;
|
|
5527
5555
|
proposalId?: string | undefined;
|
|
5528
5556
|
wonAmount?: number | undefined;
|
|
5557
|
+
campaignName?: string | undefined;
|
|
5529
5558
|
};
|
|
5530
5559
|
proposalData: {
|
|
5531
5560
|
campaignId: string;
|
|
@@ -5675,6 +5704,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5675
5704
|
} | null | undefined;
|
|
5676
5705
|
proposalId?: string | undefined;
|
|
5677
5706
|
wonAmount?: number | undefined;
|
|
5707
|
+
campaignName?: string | undefined;
|
|
5678
5708
|
};
|
|
5679
5709
|
boostingEnabled: boolean;
|
|
5680
5710
|
maximumBoost: number | null;
|
|
@@ -5836,6 +5866,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5836
5866
|
} | null | undefined;
|
|
5837
5867
|
proposalId?: string | undefined;
|
|
5838
5868
|
wonAmount?: number | undefined;
|
|
5869
|
+
campaignName?: string | undefined;
|
|
5839
5870
|
};
|
|
5840
5871
|
proposalData: {
|
|
5841
5872
|
campaignId: string;
|
|
@@ -5985,6 +6016,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5985
6016
|
} | null | undefined;
|
|
5986
6017
|
proposalId?: string | undefined;
|
|
5987
6018
|
wonAmount?: number | undefined;
|
|
6019
|
+
campaignName?: string | undefined;
|
|
5988
6020
|
};
|
|
5989
6021
|
boostingEnabled: boolean;
|
|
5990
6022
|
maximumBoost: number | null;
|
|
@@ -6338,6 +6370,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6338
6370
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6339
6371
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6340
6372
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6373
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
6341
6374
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
6342
6375
|
id: string | null;
|
|
6343
6376
|
title: string | null;
|
|
@@ -6476,6 +6509,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6476
6509
|
} | null | undefined;
|
|
6477
6510
|
proposalId?: string | undefined;
|
|
6478
6511
|
wonAmount?: number | undefined;
|
|
6512
|
+
campaignName?: string | undefined;
|
|
6479
6513
|
}, {
|
|
6480
6514
|
id: string | null;
|
|
6481
6515
|
title: string | null;
|
|
@@ -6614,6 +6648,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6614
6648
|
} | null | undefined;
|
|
6615
6649
|
proposalId?: string | undefined;
|
|
6616
6650
|
wonAmount?: number | undefined;
|
|
6651
|
+
campaignName?: string | undefined;
|
|
6617
6652
|
}>;
|
|
6618
6653
|
jobUrl: z.ZodString;
|
|
6619
6654
|
username: z.ZodString;
|
|
@@ -6954,6 +6989,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6954
6989
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6955
6990
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6956
6991
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6992
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
6957
6993
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
6958
6994
|
id: string | null;
|
|
6959
6995
|
title: string | null;
|
|
@@ -7092,6 +7128,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7092
7128
|
} | null | undefined;
|
|
7093
7129
|
proposalId?: string | undefined;
|
|
7094
7130
|
wonAmount?: number | undefined;
|
|
7131
|
+
campaignName?: string | undefined;
|
|
7095
7132
|
}, {
|
|
7096
7133
|
id: string | null;
|
|
7097
7134
|
title: string | null;
|
|
@@ -7230,6 +7267,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7230
7267
|
} | null | undefined;
|
|
7231
7268
|
proposalId?: string | undefined;
|
|
7232
7269
|
wonAmount?: number | undefined;
|
|
7270
|
+
campaignName?: string | undefined;
|
|
7233
7271
|
}>;
|
|
7234
7272
|
coverLetter: z.ZodString;
|
|
7235
7273
|
questionAnswerPairs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -7402,6 +7440,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7402
7440
|
} | null | undefined;
|
|
7403
7441
|
proposalId?: string | undefined;
|
|
7404
7442
|
wonAmount?: number | undefined;
|
|
7443
|
+
campaignName?: string | undefined;
|
|
7405
7444
|
};
|
|
7406
7445
|
boostingEnabled: boolean;
|
|
7407
7446
|
maximumBoost: number | null;
|
|
@@ -7563,6 +7602,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7563
7602
|
} | null | undefined;
|
|
7564
7603
|
proposalId?: string | undefined;
|
|
7565
7604
|
wonAmount?: number | undefined;
|
|
7605
|
+
campaignName?: string | undefined;
|
|
7566
7606
|
};
|
|
7567
7607
|
boostingEnabled: boolean;
|
|
7568
7608
|
maximumBoost: number | null;
|
|
@@ -7723,6 +7763,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7723
7763
|
} | null | undefined;
|
|
7724
7764
|
proposalId?: string | undefined;
|
|
7725
7765
|
wonAmount?: number | undefined;
|
|
7766
|
+
campaignName?: string | undefined;
|
|
7726
7767
|
};
|
|
7727
7768
|
proposalData: {
|
|
7728
7769
|
campaignId: string;
|
|
@@ -7870,6 +7911,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7870
7911
|
} | null | undefined;
|
|
7871
7912
|
proposalId?: string | undefined;
|
|
7872
7913
|
wonAmount?: number | undefined;
|
|
7914
|
+
campaignName?: string | undefined;
|
|
7873
7915
|
};
|
|
7874
7916
|
boostingEnabled: boolean;
|
|
7875
7917
|
maximumBoost: number | null;
|
|
@@ -8030,6 +8072,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
8030
8072
|
} | null | undefined;
|
|
8031
8073
|
proposalId?: string | undefined;
|
|
8032
8074
|
wonAmount?: number | undefined;
|
|
8075
|
+
campaignName?: string | undefined;
|
|
8033
8076
|
};
|
|
8034
8077
|
proposalData: {
|
|
8035
8078
|
campaignId: string;
|
|
@@ -8177,6 +8220,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
8177
8220
|
} | null | undefined;
|
|
8178
8221
|
proposalId?: string | undefined;
|
|
8179
8222
|
wonAmount?: number | undefined;
|
|
8223
|
+
campaignName?: string | undefined;
|
|
8180
8224
|
};
|
|
8181
8225
|
boostingEnabled: boolean;
|
|
8182
8226
|
maximumBoost: number | null;
|
|
@@ -8530,6 +8574,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
8530
8574
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8531
8575
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8532
8576
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8577
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
8533
8578
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
8534
8579
|
id: string | null;
|
|
8535
8580
|
title: string | null;
|
|
@@ -8668,6 +8713,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
8668
8713
|
} | null | undefined;
|
|
8669
8714
|
proposalId?: string | undefined;
|
|
8670
8715
|
wonAmount?: number | undefined;
|
|
8716
|
+
campaignName?: string | undefined;
|
|
8671
8717
|
}, {
|
|
8672
8718
|
id: string | null;
|
|
8673
8719
|
title: string | null;
|
|
@@ -8806,6 +8852,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
8806
8852
|
} | null | undefined;
|
|
8807
8853
|
proposalId?: string | undefined;
|
|
8808
8854
|
wonAmount?: number | undefined;
|
|
8855
|
+
campaignName?: string | undefined;
|
|
8809
8856
|
}>;
|
|
8810
8857
|
}, "strip", z.ZodTypeAny, {
|
|
8811
8858
|
campaignId: string;
|
|
@@ -8949,6 +8996,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
8949
8996
|
} | null | undefined;
|
|
8950
8997
|
proposalId?: string | undefined;
|
|
8951
8998
|
wonAmount?: number | undefined;
|
|
8999
|
+
campaignName?: string | undefined;
|
|
8952
9000
|
};
|
|
8953
9001
|
}, {
|
|
8954
9002
|
campaignId: string;
|
|
@@ -9092,6 +9140,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
9092
9140
|
} | null | undefined;
|
|
9093
9141
|
proposalId?: string | undefined;
|
|
9094
9142
|
wonAmount?: number | undefined;
|
|
9143
|
+
campaignName?: string | undefined;
|
|
9095
9144
|
};
|
|
9096
9145
|
}>;
|
|
9097
9146
|
export declare const getBiddingProcessingEventFromAnotherCampaignsPayloadSchema: z.ZodObject<{
|
|
@@ -1736,6 +1736,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1736
1736
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
1737
1737
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
1738
1738
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
1739
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
1739
1740
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
1740
1741
|
id: string | null;
|
|
1741
1742
|
title: string | null;
|
|
@@ -2732,6 +2733,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2732
2733
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2733
2734
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2734
2735
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2736
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
2735
2737
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
2736
2738
|
id: string | null;
|
|
2737
2739
|
title: string | null;
|
|
@@ -3726,6 +3728,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3726
3728
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3727
3729
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3728
3730
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3731
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
3729
3732
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
3730
3733
|
id: string | null;
|
|
3731
3734
|
title: string | null;
|
|
@@ -5357,6 +5360,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5357
5360
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
5358
5361
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
5359
5362
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
5363
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
5360
5364
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
5361
5365
|
id: string | null;
|
|
5362
5366
|
title: string | null;
|
|
@@ -6352,6 +6356,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6352
6356
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
6353
6357
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
6354
6358
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
6359
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
6355
6360
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
6356
6361
|
id: string | null;
|
|
6357
6362
|
title: string | null;
|
|
@@ -7345,6 +7350,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7345
7350
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7346
7351
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7347
7352
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7353
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
7348
7354
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7349
7355
|
id: string | null;
|
|
7350
7356
|
title: string | null;
|
|
@@ -7740,6 +7746,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
7740
7746
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
7741
7747
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
7742
7748
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
7749
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
7743
7750
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
7744
7751
|
id: string | null;
|
|
7745
7752
|
title: string | null;
|
|
@@ -8108,6 +8115,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8108
8115
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8109
8116
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8110
8117
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8118
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
8111
8119
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8112
8120
|
id: string | null;
|
|
8113
8121
|
title: string | null;
|
|
@@ -8474,6 +8482,7 @@ export declare const campaignActivityCreateSchema: z.ZodDiscriminatedUnion<"type
|
|
|
8474
8482
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
8475
8483
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
8476
8484
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
8485
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
8477
8486
|
}>, "processed">, "id" | "title" | "datetime" | "jobUrl">, "strip", z.ZodTypeAny, {
|
|
8478
8487
|
id: string | null;
|
|
8479
8488
|
title: string | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { ClientInfo, JobFilters, JobMetadata, JobSkill, VendorQualifications } from '../job';
|
|
2
|
+
import { JobFilters } from '../job';
|
|
4
3
|
export declare const questionAnswerPairSchema: z.ZodObject<{
|
|
5
4
|
question: z.ZodString;
|
|
6
5
|
answer: z.ZodString;
|
|
@@ -343,6 +342,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
343
342
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
344
343
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
345
344
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
345
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
346
346
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
347
347
|
id: string | null;
|
|
348
348
|
title: string | null;
|
|
@@ -481,6 +481,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
481
481
|
} | null | undefined;
|
|
482
482
|
proposalId?: string | undefined;
|
|
483
483
|
wonAmount?: number | undefined;
|
|
484
|
+
campaignName?: string | undefined;
|
|
484
485
|
}, {
|
|
485
486
|
id: string | null;
|
|
486
487
|
title: string | null;
|
|
@@ -619,6 +620,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
619
620
|
} | null | undefined;
|
|
620
621
|
proposalId?: string | undefined;
|
|
621
622
|
wonAmount?: number | undefined;
|
|
623
|
+
campaignName?: string | undefined;
|
|
622
624
|
}>;
|
|
623
625
|
export declare const leadResponseSchema: z.ZodObject<{
|
|
624
626
|
leads: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
@@ -953,6 +955,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
953
955
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
954
956
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
955
957
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
958
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
956
959
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
957
960
|
id: string | null;
|
|
958
961
|
title: string | null;
|
|
@@ -1091,6 +1094,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1091
1094
|
} | null | undefined;
|
|
1092
1095
|
proposalId?: string | undefined;
|
|
1093
1096
|
wonAmount?: number | undefined;
|
|
1097
|
+
campaignName?: string | undefined;
|
|
1094
1098
|
}, {
|
|
1095
1099
|
id: string | null;
|
|
1096
1100
|
title: string | null;
|
|
@@ -1229,6 +1233,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1229
1233
|
} | null | undefined;
|
|
1230
1234
|
proposalId?: string | undefined;
|
|
1231
1235
|
wonAmount?: number | undefined;
|
|
1236
|
+
campaignName?: string | undefined;
|
|
1232
1237
|
}>, "many">;
|
|
1233
1238
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1234
1239
|
hasMore: z.ZodBoolean;
|
|
@@ -1372,6 +1377,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1372
1377
|
} | null | undefined;
|
|
1373
1378
|
proposalId?: string | undefined;
|
|
1374
1379
|
wonAmount?: number | undefined;
|
|
1380
|
+
campaignName?: string | undefined;
|
|
1375
1381
|
}[];
|
|
1376
1382
|
nextCursor: string | null;
|
|
1377
1383
|
hasMore: boolean;
|
|
@@ -1515,6 +1521,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1515
1521
|
} | null | undefined;
|
|
1516
1522
|
proposalId?: string | undefined;
|
|
1517
1523
|
wonAmount?: number | undefined;
|
|
1524
|
+
campaignName?: string | undefined;
|
|
1518
1525
|
}[];
|
|
1519
1526
|
nextCursor: string | null;
|
|
1520
1527
|
hasMore: boolean;
|
|
@@ -2389,6 +2396,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2389
2396
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
2390
2397
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
2391
2398
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
2399
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
2392
2400
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
2393
2401
|
id: string | null;
|
|
2394
2402
|
title: string | null;
|
|
@@ -2527,6 +2535,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2527
2535
|
} | null | undefined;
|
|
2528
2536
|
proposalId?: string | undefined;
|
|
2529
2537
|
wonAmount?: number | undefined;
|
|
2538
|
+
campaignName?: string | undefined;
|
|
2530
2539
|
}, {
|
|
2531
2540
|
id: string | null;
|
|
2532
2541
|
title: string | null;
|
|
@@ -2665,6 +2674,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2665
2674
|
} | null | undefined;
|
|
2666
2675
|
proposalId?: string | undefined;
|
|
2667
2676
|
wonAmount?: number | undefined;
|
|
2677
|
+
campaignName?: string | undefined;
|
|
2668
2678
|
}>]>, "many">;
|
|
2669
2679
|
lastMonthTotal: z.ZodOptional<z.ZodNumber>;
|
|
2670
2680
|
lastMonthTotalWithEmptyFilters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2919,6 +2929,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2919
2929
|
} | null | undefined;
|
|
2920
2930
|
proposalId?: string | undefined;
|
|
2921
2931
|
wonAmount?: number | undefined;
|
|
2932
|
+
campaignName?: string | undefined;
|
|
2922
2933
|
})[];
|
|
2923
2934
|
total: number;
|
|
2924
2935
|
error?: string | undefined;
|
|
@@ -3174,6 +3185,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3174
3185
|
} | null | undefined;
|
|
3175
3186
|
proposalId?: string | undefined;
|
|
3176
3187
|
wonAmount?: number | undefined;
|
|
3188
|
+
campaignName?: string | undefined;
|
|
3177
3189
|
})[];
|
|
3178
3190
|
total: number;
|
|
3179
3191
|
error?: string | undefined;
|
|
@@ -3530,6 +3542,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3530
3542
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
3531
3543
|
rejectedFeedback: z.ZodNullable<z.ZodString>;
|
|
3532
3544
|
applicationId: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
campaignName: z.ZodOptional<z.ZodString>;
|
|
3533
3546
|
}>, "processed">, "strip", z.ZodTypeAny, {
|
|
3534
3547
|
id: string | null;
|
|
3535
3548
|
title: string | null;
|
|
@@ -3668,6 +3681,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3668
3681
|
} | null | undefined;
|
|
3669
3682
|
proposalId?: string | undefined;
|
|
3670
3683
|
wonAmount?: number | undefined;
|
|
3684
|
+
campaignName?: string | undefined;
|
|
3671
3685
|
}, {
|
|
3672
3686
|
id: string | null;
|
|
3673
3687
|
title: string | null;
|
|
@@ -3806,6 +3820,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3806
3820
|
} | null | undefined;
|
|
3807
3821
|
proposalId?: string | undefined;
|
|
3808
3822
|
wonAmount?: number | undefined;
|
|
3823
|
+
campaignName?: string | undefined;
|
|
3809
3824
|
}>, "many">;
|
|
3810
3825
|
pagination: z.ZodObject<{
|
|
3811
3826
|
hasMore: z.ZodBoolean;
|
|
@@ -3959,6 +3974,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
3959
3974
|
} | null | undefined;
|
|
3960
3975
|
proposalId?: string | undefined;
|
|
3961
3976
|
wonAmount?: number | undefined;
|
|
3977
|
+
campaignName?: string | undefined;
|
|
3962
3978
|
}[];
|
|
3963
3979
|
pagination: {
|
|
3964
3980
|
nextCursor: string | null;
|
|
@@ -4104,6 +4120,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4104
4120
|
} | null | undefined;
|
|
4105
4121
|
proposalId?: string | undefined;
|
|
4106
4122
|
wonAmount?: number | undefined;
|
|
4123
|
+
campaignName?: string | undefined;
|
|
4107
4124
|
}[];
|
|
4108
4125
|
pagination: {
|
|
4109
4126
|
nextCursor: string | null;
|
|
@@ -4123,16 +4140,7 @@ export declare const generateLeadCountsRequestSchema: z.ZodObject<{
|
|
|
4123
4140
|
}>;
|
|
4124
4141
|
export interface QuestionAnswerPair extends z.infer<typeof questionAnswerPairSchema> {
|
|
4125
4142
|
}
|
|
4126
|
-
export
|
|
4127
|
-
clientInfo: ClientInfo | null;
|
|
4128
|
-
metadata: JobMetadata | null;
|
|
4129
|
-
skills: JobSkill[] | null;
|
|
4130
|
-
vendorQualifications: VendorQualifications | null;
|
|
4131
|
-
questionAnswerPairs: QuestionAnswerPair[] | null;
|
|
4132
|
-
agentStatus: LeadAgentStatus | null;
|
|
4133
|
-
leadStatus: LeadStatus | null;
|
|
4134
|
-
campaignName: string | null;
|
|
4135
|
-
}
|
|
4143
|
+
export type Lead = z.infer<typeof leadSchema>;
|
|
4136
4144
|
export type LeadResponse = z.infer<typeof leadResponseSchema>;
|
|
4137
4145
|
export type FindLeadsRequest = z.infer<typeof findLeadsRequestSchema>;
|
|
4138
4146
|
export type FindLeadsResponse = z.infer<typeof findLeadsResponseSchema>;
|