lancer-shared 1.2.331 → 1.2.333
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 +4 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +4 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/campaign/campaign-analytics.d.ts +24 -0
- package/dist/schemas/campaign/campaign.d.ts +15 -0
- package/dist/schemas/job/job-filters.d.ts +5 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +7 -0
- package/package.json +1 -1
|
@@ -697,6 +697,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
697
697
|
excludes: string | null;
|
|
698
698
|
}>>;
|
|
699
699
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
700
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
700
701
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
701
702
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
702
703
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -887,6 +888,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
887
888
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
888
889
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
889
890
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
891
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
890
892
|
}, {
|
|
891
893
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
892
894
|
questions: {
|
|
@@ -946,6 +948,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
946
948
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
947
949
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
948
950
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
951
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
949
952
|
}>;
|
|
950
953
|
createdAt: z.ZodNumber;
|
|
951
954
|
updatedAt: z.ZodNumber;
|
|
@@ -1362,6 +1365,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1362
1365
|
excludes: string | null;
|
|
1363
1366
|
}>>;
|
|
1364
1367
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
1368
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
1365
1369
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
1366
1370
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
1367
1371
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -1552,6 +1556,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1552
1556
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1553
1557
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1554
1558
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1559
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1555
1560
|
}, {
|
|
1556
1561
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
1557
1562
|
questions: {
|
|
@@ -1611,6 +1616,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1611
1616
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1612
1617
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1613
1618
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1619
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1614
1620
|
}>;
|
|
1615
1621
|
createdAt: z.ZodNumber;
|
|
1616
1622
|
updatedAt: z.ZodNumber;
|
|
@@ -2458,6 +2464,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2458
2464
|
excludes: string | null;
|
|
2459
2465
|
}>>;
|
|
2460
2466
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
2467
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
2461
2468
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
2462
2469
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
2463
2470
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -2648,6 +2655,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2648
2655
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2649
2656
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2650
2657
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2658
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
2651
2659
|
}, {
|
|
2652
2660
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
2653
2661
|
questions: {
|
|
@@ -2707,6 +2715,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2707
2715
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2708
2716
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2709
2717
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2718
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
2710
2719
|
}>;
|
|
2711
2720
|
createdAt: z.ZodNumber;
|
|
2712
2721
|
updatedAt: z.ZodNumber;
|
|
@@ -3554,6 +3563,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3554
3563
|
excludes: string | null;
|
|
3555
3564
|
}>>;
|
|
3556
3565
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
3566
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
3557
3567
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
3558
3568
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
3559
3569
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -3744,6 +3754,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3744
3754
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
3745
3755
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3746
3756
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3757
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
3747
3758
|
}, {
|
|
3748
3759
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
3749
3760
|
questions: {
|
|
@@ -3803,6 +3814,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3803
3814
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
3804
3815
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3805
3816
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3817
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
3806
3818
|
}>;
|
|
3807
3819
|
createdAt: z.ZodNumber;
|
|
3808
3820
|
updatedAt: z.ZodNumber;
|
|
@@ -4647,6 +4659,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4647
4659
|
excludes: string | null;
|
|
4648
4660
|
}>>;
|
|
4649
4661
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
4662
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
4650
4663
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
4651
4664
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
4652
4665
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -4837,6 +4850,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4837
4850
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
4838
4851
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
4839
4852
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
4853
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
4840
4854
|
}, {
|
|
4841
4855
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
4842
4856
|
questions: {
|
|
@@ -4896,6 +4910,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4896
4910
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
4897
4911
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
4898
4912
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
4913
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
4899
4914
|
}>;
|
|
4900
4915
|
createdAt: z.ZodNumber;
|
|
4901
4916
|
updatedAt: z.ZodNumber;
|
|
@@ -5311,6 +5326,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5311
5326
|
excludes: string | null;
|
|
5312
5327
|
}>>;
|
|
5313
5328
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
5329
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
5314
5330
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
5315
5331
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
5316
5332
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -5501,6 +5517,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5501
5517
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
5502
5518
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
5503
5519
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
5520
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
5504
5521
|
}, {
|
|
5505
5522
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
5506
5523
|
questions: {
|
|
@@ -5560,6 +5577,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5560
5577
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
5561
5578
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
5562
5579
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
5580
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
5563
5581
|
}>;
|
|
5564
5582
|
createdAt: z.ZodNumber;
|
|
5565
5583
|
updatedAt: z.ZodNumber;
|
|
@@ -6406,6 +6424,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6406
6424
|
excludes: string | null;
|
|
6407
6425
|
}>>;
|
|
6408
6426
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
6427
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
6409
6428
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
6410
6429
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
6411
6430
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -6596,6 +6615,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6596
6615
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
6597
6616
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
6598
6617
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
6618
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
6599
6619
|
}, {
|
|
6600
6620
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
6601
6621
|
questions: {
|
|
@@ -6655,6 +6675,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6655
6675
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
6656
6676
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
6657
6677
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
6678
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
6658
6679
|
}>;
|
|
6659
6680
|
createdAt: z.ZodNumber;
|
|
6660
6681
|
updatedAt: z.ZodNumber;
|
|
@@ -7501,6 +7522,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7501
7522
|
excludes: string | null;
|
|
7502
7523
|
}>>;
|
|
7503
7524
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
7525
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
7504
7526
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
7505
7527
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
7506
7528
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -7691,6 +7713,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7691
7713
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
7692
7714
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
7693
7715
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
7716
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
7694
7717
|
}, {
|
|
7695
7718
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
7696
7719
|
questions: {
|
|
@@ -7750,6 +7773,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7750
7773
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
7751
7774
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
7752
7775
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
7776
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
7753
7777
|
}>;
|
|
7754
7778
|
createdAt: z.ZodNumber;
|
|
7755
7779
|
updatedAt: z.ZodNumber;
|
|
@@ -84,6 +84,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
84
84
|
excludes: string | null;
|
|
85
85
|
}>>;
|
|
86
86
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
87
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
87
88
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
88
89
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
89
90
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -274,6 +275,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
274
275
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
275
276
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
276
277
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
278
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
277
279
|
}, {
|
|
278
280
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
279
281
|
questions: {
|
|
@@ -333,6 +335,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
333
335
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
334
336
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
335
337
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
338
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
336
339
|
}>;
|
|
337
340
|
createdAt: z.ZodNumber;
|
|
338
341
|
updatedAt: z.ZodNumber;
|
|
@@ -549,6 +552,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
549
552
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
550
553
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
551
554
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
555
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
552
556
|
};
|
|
553
557
|
limits: {
|
|
554
558
|
enabled: boolean;
|
|
@@ -670,6 +674,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
670
674
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
671
675
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
672
676
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
677
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
673
678
|
};
|
|
674
679
|
limits: {
|
|
675
680
|
enabled: boolean;
|
|
@@ -747,6 +752,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
747
752
|
excludes: string | null;
|
|
748
753
|
}>>;
|
|
749
754
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
755
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
750
756
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
751
757
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
752
758
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -937,6 +943,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
937
943
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
938
944
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
939
945
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
946
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
940
947
|
}, {
|
|
941
948
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
942
949
|
questions: {
|
|
@@ -996,6 +1003,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
996
1003
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
997
1004
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
998
1005
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1006
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
999
1007
|
}>;
|
|
1000
1008
|
createdAt: z.ZodNumber;
|
|
1001
1009
|
updatedAt: z.ZodNumber;
|
|
@@ -1201,6 +1209,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1201
1209
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1202
1210
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1203
1211
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1212
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1204
1213
|
};
|
|
1205
1214
|
limits: {
|
|
1206
1215
|
enabled: boolean;
|
|
@@ -1311,6 +1320,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1311
1320
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1312
1321
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1313
1322
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1323
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1314
1324
|
};
|
|
1315
1325
|
limits: {
|
|
1316
1326
|
enabled: boolean;
|
|
@@ -1407,6 +1417,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1407
1417
|
excludes: string | null;
|
|
1408
1418
|
}>>;
|
|
1409
1419
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
1410
1421
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
1411
1422
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
1412
1423
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -1597,6 +1608,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1597
1608
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1598
1609
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1599
1610
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1611
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1600
1612
|
}, {
|
|
1601
1613
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
1602
1614
|
questions: {
|
|
@@ -1656,6 +1668,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1656
1668
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1657
1669
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1658
1670
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1671
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1659
1672
|
}>>;
|
|
1660
1673
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1661
1674
|
maxDailyProposalsSent: z.ZodNumber;
|
|
@@ -1831,6 +1844,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1831
1844
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1832
1845
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1833
1846
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1847
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1834
1848
|
} | undefined;
|
|
1835
1849
|
limits?: {
|
|
1836
1850
|
enabled: boolean;
|
|
@@ -1954,6 +1968,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1954
1968
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1955
1969
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1956
1970
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1971
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1957
1972
|
} | undefined;
|
|
1958
1973
|
limits?: {
|
|
1959
1974
|
enabled: boolean;
|
|
@@ -16,6 +16,7 @@ export declare const requiredJSSEnum: z.ZodEnum<[">80%", ">90%", "100%", "RT"]>;
|
|
|
16
16
|
export declare const isPaymentVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
17
17
|
export declare const isPhoneVerifiedEnum: z.ZodEnum<["all", "true", "false"]>;
|
|
18
18
|
export declare const hasQuestionsEnum: z.ZodEnum<["all", "yes", "no"]>;
|
|
19
|
+
export declare const searchQueryModeEnum: z.ZodEnum<["builder", "custom"]>;
|
|
19
20
|
export declare const jobFiltersSchema: z.ZodObject<{
|
|
20
21
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
21
22
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -28,6 +29,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
28
29
|
excludes: string | null;
|
|
29
30
|
}>>;
|
|
30
31
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
32
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
31
33
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
32
34
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
33
35
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -218,6 +220,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
218
220
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
219
221
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
220
222
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
223
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
221
224
|
}, {
|
|
222
225
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
223
226
|
questions: {
|
|
@@ -277,6 +280,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
277
280
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
278
281
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
279
282
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
283
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
280
284
|
}>;
|
|
281
285
|
export interface JobFilters extends z.infer<typeof jobFiltersSchema> {
|
|
282
286
|
}
|
|
@@ -286,6 +290,7 @@ export type IsPaymentVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
|
286
290
|
export type IsPhoneVerified = z.infer<typeof isPaymentVerifiedEnum>;
|
|
287
291
|
export type HasQuestions = z.infer<typeof hasQuestionsEnum>;
|
|
288
292
|
export type JobCategory = z.infer<typeof categoryEnum>;
|
|
293
|
+
export type SearchQueryMode = z.infer<typeof searchQueryModeEnum>;
|
|
289
294
|
export interface Counts {
|
|
290
295
|
experienceLevel: Record<ExperienceLevel, number>;
|
|
291
296
|
paymentType: Record<PaymentType, number>;
|
|
@@ -432,6 +432,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
432
432
|
excludes: string | null;
|
|
433
433
|
}>>;
|
|
434
434
|
searchQuery: z.ZodNullable<z.ZodString>;
|
|
435
|
+
searchQueryMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["builder", "custom"]>>>;
|
|
435
436
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
436
437
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["Worldwide", "USOnly", "UKOnly", "All"]>, "many">>;
|
|
437
438
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -622,6 +623,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
622
623
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
623
624
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
624
625
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
626
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
625
627
|
}, {
|
|
626
628
|
regions: ("USOnly" | "UKOnly" | "Worldwide" | "All")[] | null;
|
|
627
629
|
questions: {
|
|
@@ -681,6 +683,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
681
683
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
682
684
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
683
685
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
686
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
684
687
|
}>;
|
|
685
688
|
createdAt: z.ZodNumber;
|
|
686
689
|
updatedAt: z.ZodNumber;
|
|
@@ -897,6 +900,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
897
900
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
898
901
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
899
902
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
903
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
900
904
|
};
|
|
901
905
|
limits: {
|
|
902
906
|
enabled: boolean;
|
|
@@ -1018,6 +1022,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1018
1022
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
1019
1023
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1020
1024
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
1025
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
1021
1026
|
};
|
|
1022
1027
|
limits: {
|
|
1023
1028
|
enabled: boolean;
|
|
@@ -2643,6 +2648,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2643
2648
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
2644
2649
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2645
2650
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
2651
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
2646
2652
|
};
|
|
2647
2653
|
limits: {
|
|
2648
2654
|
enabled: boolean;
|
|
@@ -3046,6 +3052,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3046
3052
|
includeClientsWithLessThanXPostedJobs: number | null;
|
|
3047
3053
|
totalSpentIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3048
3054
|
averageHourlyRateIncludeClientsWithLessThanXPostedJobs: number | null;
|
|
3055
|
+
searchQueryMode?: "custom" | "builder" | null | undefined;
|
|
3049
3056
|
};
|
|
3050
3057
|
limits: {
|
|
3051
3058
|
enabled: boolean;
|