lancer-shared 1.2.192 → 1.2.194
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 +354 -163
- package/dist/schemas/bidder/bid.d.ts +19 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +32 -0
- package/dist/schemas/campaign/campaign-search.d.ts +88 -0
- package/dist/schemas/campaign/campaign.d.ts +24 -0
- package/dist/schemas/campaign/index.d.ts +1 -0
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +10 -10
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/edges.d.ts +0 -8
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/index.d.ts +0 -3
- package/dist/schemas/campaign/sequence/node-types.d.ts +1 -1
- package/dist/schemas/campaign/sequence/rating-node.d.ts +18 -18
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +18 -18
- package/dist/schemas/job/job-filters.d.ts +3 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +12 -0
- package/package.json +1 -1
|
@@ -617,6 +617,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
617
617
|
boostingEnabled: z.ZodBoolean;
|
|
618
618
|
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
619
619
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
620
|
+
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
620
621
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
621
622
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
622
623
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -774,6 +775,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
774
775
|
boostingEnabled: boolean;
|
|
775
776
|
specialisedProfileOptions: string[];
|
|
776
777
|
maximumBoost: number | null;
|
|
778
|
+
minimumBoost: number | null;
|
|
777
779
|
boostDownToNthPlace: number | null;
|
|
778
780
|
connectsAbovePrevious: number | null;
|
|
779
781
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -931,6 +933,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
931
933
|
boostingEnabled: boolean;
|
|
932
934
|
specialisedProfileOptions: string[];
|
|
933
935
|
maximumBoost: number | null;
|
|
936
|
+
minimumBoost: number | null;
|
|
934
937
|
boostDownToNthPlace: number | null;
|
|
935
938
|
connectsAbovePrevious: number | null;
|
|
936
939
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -1559,6 +1562,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1559
1562
|
boostingEnabled: z.ZodBoolean;
|
|
1560
1563
|
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
1561
1564
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1565
|
+
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
1562
1566
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1563
1567
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1564
1568
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -1716,6 +1720,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1716
1720
|
boostingEnabled: boolean;
|
|
1717
1721
|
specialisedProfileOptions: string[];
|
|
1718
1722
|
maximumBoost: number | null;
|
|
1723
|
+
minimumBoost: number | null;
|
|
1719
1724
|
boostDownToNthPlace: number | null;
|
|
1720
1725
|
connectsAbovePrevious: number | null;
|
|
1721
1726
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -1873,6 +1878,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1873
1878
|
boostingEnabled: boolean;
|
|
1874
1879
|
specialisedProfileOptions: string[];
|
|
1875
1880
|
maximumBoost: number | null;
|
|
1881
|
+
minimumBoost: number | null;
|
|
1876
1882
|
boostDownToNthPlace: number | null;
|
|
1877
1883
|
connectsAbovePrevious: number | null;
|
|
1878
1884
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -2501,6 +2507,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2501
2507
|
boostingEnabled: z.ZodBoolean;
|
|
2502
2508
|
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
2503
2509
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2510
|
+
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
2504
2511
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
2505
2512
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
2506
2513
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -2662,6 +2669,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2662
2669
|
boostingEnabled: boolean;
|
|
2663
2670
|
specialisedProfileOptions: string[];
|
|
2664
2671
|
maximumBoost: number | null;
|
|
2672
|
+
minimumBoost: number | null;
|
|
2665
2673
|
boostDownToNthPlace: number | null;
|
|
2666
2674
|
connectsAbovePrevious: number | null;
|
|
2667
2675
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -2822,6 +2830,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2822
2830
|
boostingEnabled: boolean;
|
|
2823
2831
|
specialisedProfileOptions: string[];
|
|
2824
2832
|
maximumBoost: number | null;
|
|
2833
|
+
minimumBoost: number | null;
|
|
2825
2834
|
boostDownToNthPlace: number | null;
|
|
2826
2835
|
connectsAbovePrevious: number | null;
|
|
2827
2836
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -4951,6 +4960,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4951
4960
|
boostingEnabled: z.ZodBoolean;
|
|
4952
4961
|
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
4953
4962
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
4963
|
+
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
4954
4964
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
4955
4965
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
4956
4966
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -5112,6 +5122,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5112
5122
|
boostingEnabled: boolean;
|
|
5113
5123
|
specialisedProfileOptions: string[];
|
|
5114
5124
|
maximumBoost: number | null;
|
|
5125
|
+
minimumBoost: number | null;
|
|
5115
5126
|
boostDownToNthPlace: number | null;
|
|
5116
5127
|
connectsAbovePrevious: number | null;
|
|
5117
5128
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -5272,6 +5283,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5272
5283
|
boostingEnabled: boolean;
|
|
5273
5284
|
specialisedProfileOptions: string[];
|
|
5274
5285
|
maximumBoost: number | null;
|
|
5286
|
+
minimumBoost: number | null;
|
|
5275
5287
|
boostDownToNthPlace: number | null;
|
|
5276
5288
|
connectsAbovePrevious: number | null;
|
|
5277
5289
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -5575,6 +5587,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5575
5587
|
boostingEnabled: boolean;
|
|
5576
5588
|
specialisedProfileOptions: string[];
|
|
5577
5589
|
maximumBoost: number | null;
|
|
5590
|
+
minimumBoost: number | null;
|
|
5578
5591
|
boostDownToNthPlace: number | null;
|
|
5579
5592
|
connectsAbovePrevious: number | null;
|
|
5580
5593
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -5878,6 +5891,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5878
5891
|
boostingEnabled: boolean;
|
|
5879
5892
|
specialisedProfileOptions: string[];
|
|
5880
5893
|
maximumBoost: number | null;
|
|
5894
|
+
minimumBoost: number | null;
|
|
5881
5895
|
boostDownToNthPlace: number | null;
|
|
5882
5896
|
connectsAbovePrevious: number | null;
|
|
5883
5897
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -7117,6 +7131,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7117
7131
|
boostingEnabled: z.ZodBoolean;
|
|
7118
7132
|
specialisedProfileOptions: z.ZodArray<z.ZodString, "many">;
|
|
7119
7133
|
maximumBoost: z.ZodNullable<z.ZodNumber>;
|
|
7134
|
+
minimumBoost: z.ZodNullable<z.ZodNumber>;
|
|
7120
7135
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
7121
7136
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
7122
7137
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -7274,6 +7289,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7274
7289
|
boostingEnabled: boolean;
|
|
7275
7290
|
specialisedProfileOptions: string[];
|
|
7276
7291
|
maximumBoost: number | null;
|
|
7292
|
+
minimumBoost: number | null;
|
|
7277
7293
|
boostDownToNthPlace: number | null;
|
|
7278
7294
|
connectsAbovePrevious: number | null;
|
|
7279
7295
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -7431,6 +7447,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7431
7447
|
boostingEnabled: boolean;
|
|
7432
7448
|
specialisedProfileOptions: string[];
|
|
7433
7449
|
maximumBoost: number | null;
|
|
7450
|
+
minimumBoost: number | null;
|
|
7434
7451
|
boostDownToNthPlace: number | null;
|
|
7435
7452
|
connectsAbovePrevious: number | null;
|
|
7436
7453
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -7731,6 +7748,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7731
7748
|
boostingEnabled: boolean;
|
|
7732
7749
|
specialisedProfileOptions: string[];
|
|
7733
7750
|
maximumBoost: number | null;
|
|
7751
|
+
minimumBoost: number | null;
|
|
7734
7752
|
boostDownToNthPlace: number | null;
|
|
7735
7753
|
connectsAbovePrevious: number | null;
|
|
7736
7754
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -8031,6 +8049,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
8031
8049
|
boostingEnabled: boolean;
|
|
8032
8050
|
specialisedProfileOptions: string[];
|
|
8033
8051
|
maximumBoost: number | null;
|
|
8052
|
+
minimumBoost: number | null;
|
|
8034
8053
|
boostDownToNthPlace: number | null;
|
|
8035
8054
|
connectsAbovePrevious: number | null;
|
|
8036
8055
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -388,6 +388,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
388
388
|
includes: string | null;
|
|
389
389
|
excludes: string | null;
|
|
390
390
|
}>>;
|
|
391
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
391
392
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
392
393
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
393
394
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -509,6 +510,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
509
510
|
includes: string | null;
|
|
510
511
|
excludes: string | null;
|
|
511
512
|
} | null;
|
|
513
|
+
searchQuery: string | null;
|
|
512
514
|
isFeatured: "all" | "true" | "false" | null;
|
|
513
515
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
514
516
|
categories: {
|
|
@@ -560,6 +562,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
560
562
|
includes: string | null;
|
|
561
563
|
excludes: string | null;
|
|
562
564
|
} | null;
|
|
565
|
+
searchQuery: string | null;
|
|
563
566
|
isFeatured: "all" | "true" | "false" | null;
|
|
564
567
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
565
568
|
categories: {
|
|
@@ -612,6 +615,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
612
615
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
613
616
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
614
617
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
618
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
615
619
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
616
620
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
617
621
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -995,6 +999,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
995
999
|
includes: string | null;
|
|
996
1000
|
excludes: string | null;
|
|
997
1001
|
}>>;
|
|
1002
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
998
1003
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
999
1004
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
1000
1005
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -1116,6 +1121,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1116
1121
|
includes: string | null;
|
|
1117
1122
|
excludes: string | null;
|
|
1118
1123
|
} | null;
|
|
1124
|
+
searchQuery: string | null;
|
|
1119
1125
|
isFeatured: "all" | "true" | "false" | null;
|
|
1120
1126
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1121
1127
|
categories: {
|
|
@@ -1167,6 +1173,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1167
1173
|
includes: string | null;
|
|
1168
1174
|
excludes: string | null;
|
|
1169
1175
|
} | null;
|
|
1176
|
+
searchQuery: string | null;
|
|
1170
1177
|
isFeatured: "all" | "true" | "false" | null;
|
|
1171
1178
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1172
1179
|
categories: {
|
|
@@ -1219,6 +1226,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1219
1226
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
1220
1227
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
1221
1228
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1229
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1222
1230
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
1223
1231
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
1224
1232
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -1954,6 +1962,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1954
1962
|
includes: string | null;
|
|
1955
1963
|
excludes: string | null;
|
|
1956
1964
|
}>>;
|
|
1965
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
1957
1966
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
1958
1967
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
1959
1968
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -2075,6 +2084,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2075
2084
|
includes: string | null;
|
|
2076
2085
|
excludes: string | null;
|
|
2077
2086
|
} | null;
|
|
2087
|
+
searchQuery: string | null;
|
|
2078
2088
|
isFeatured: "all" | "true" | "false" | null;
|
|
2079
2089
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
2080
2090
|
categories: {
|
|
@@ -2126,6 +2136,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2126
2136
|
includes: string | null;
|
|
2127
2137
|
excludes: string | null;
|
|
2128
2138
|
} | null;
|
|
2139
|
+
searchQuery: string | null;
|
|
2129
2140
|
isFeatured: "all" | "true" | "false" | null;
|
|
2130
2141
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
2131
2142
|
categories: {
|
|
@@ -2178,6 +2189,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2178
2189
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
2179
2190
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
2180
2191
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2192
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
2181
2193
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
2182
2194
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
2183
2195
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -2913,6 +2925,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
2913
2925
|
includes: string | null;
|
|
2914
2926
|
excludes: string | null;
|
|
2915
2927
|
}>>;
|
|
2928
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
2916
2929
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
2917
2930
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
2918
2931
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -3034,6 +3047,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3034
3047
|
includes: string | null;
|
|
3035
3048
|
excludes: string | null;
|
|
3036
3049
|
} | null;
|
|
3050
|
+
searchQuery: string | null;
|
|
3037
3051
|
isFeatured: "all" | "true" | "false" | null;
|
|
3038
3052
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
3039
3053
|
categories: {
|
|
@@ -3085,6 +3099,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3085
3099
|
includes: string | null;
|
|
3086
3100
|
excludes: string | null;
|
|
3087
3101
|
} | null;
|
|
3102
|
+
searchQuery: string | null;
|
|
3088
3103
|
isFeatured: "all" | "true" | "false" | null;
|
|
3089
3104
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
3090
3105
|
categories: {
|
|
@@ -3137,6 +3152,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3137
3152
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
3138
3153
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
3139
3154
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3155
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
3140
3156
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
3141
3157
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
3142
3158
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -3869,6 +3885,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3869
3885
|
includes: string | null;
|
|
3870
3886
|
excludes: string | null;
|
|
3871
3887
|
}>>;
|
|
3888
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
3872
3889
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
3873
3890
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
3874
3891
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -3990,6 +4007,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
3990
4007
|
includes: string | null;
|
|
3991
4008
|
excludes: string | null;
|
|
3992
4009
|
} | null;
|
|
4010
|
+
searchQuery: string | null;
|
|
3993
4011
|
isFeatured: "all" | "true" | "false" | null;
|
|
3994
4012
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
3995
4013
|
categories: {
|
|
@@ -4041,6 +4059,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4041
4059
|
includes: string | null;
|
|
4042
4060
|
excludes: string | null;
|
|
4043
4061
|
} | null;
|
|
4062
|
+
searchQuery: string | null;
|
|
4044
4063
|
isFeatured: "all" | "true" | "false" | null;
|
|
4045
4064
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
4046
4065
|
categories: {
|
|
@@ -4093,6 +4112,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4093
4112
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
4094
4113
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
4095
4114
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4115
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4096
4116
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
4097
4117
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
4098
4118
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -4475,6 +4495,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4475
4495
|
includes: string | null;
|
|
4476
4496
|
excludes: string | null;
|
|
4477
4497
|
}>>;
|
|
4498
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
4478
4499
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
4479
4500
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
4480
4501
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -4596,6 +4617,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4596
4617
|
includes: string | null;
|
|
4597
4618
|
excludes: string | null;
|
|
4598
4619
|
} | null;
|
|
4620
|
+
searchQuery: string | null;
|
|
4599
4621
|
isFeatured: "all" | "true" | "false" | null;
|
|
4600
4622
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
4601
4623
|
categories: {
|
|
@@ -4647,6 +4669,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4647
4669
|
includes: string | null;
|
|
4648
4670
|
excludes: string | null;
|
|
4649
4671
|
} | null;
|
|
4672
|
+
searchQuery: string | null;
|
|
4650
4673
|
isFeatured: "all" | "true" | "false" | null;
|
|
4651
4674
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
4652
4675
|
categories: {
|
|
@@ -4699,6 +4722,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4699
4722
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
4700
4723
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
4701
4724
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4725
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4702
4726
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
4703
4727
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
4704
4728
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -5433,6 +5457,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5433
5457
|
includes: string | null;
|
|
5434
5458
|
excludes: string | null;
|
|
5435
5459
|
}>>;
|
|
5460
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
5436
5461
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
5437
5462
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
5438
5463
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -5554,6 +5579,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5554
5579
|
includes: string | null;
|
|
5555
5580
|
excludes: string | null;
|
|
5556
5581
|
} | null;
|
|
5582
|
+
searchQuery: string | null;
|
|
5557
5583
|
isFeatured: "all" | "true" | "false" | null;
|
|
5558
5584
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
5559
5585
|
categories: {
|
|
@@ -5605,6 +5631,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5605
5631
|
includes: string | null;
|
|
5606
5632
|
excludes: string | null;
|
|
5607
5633
|
} | null;
|
|
5634
|
+
searchQuery: string | null;
|
|
5608
5635
|
isFeatured: "all" | "true" | "false" | null;
|
|
5609
5636
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
5610
5637
|
categories: {
|
|
@@ -5657,6 +5684,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5657
5684
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
5658
5685
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
5659
5686
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5687
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
5660
5688
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
5661
5689
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
5662
5690
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -6391,6 +6419,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6391
6419
|
includes: string | null;
|
|
6392
6420
|
excludes: string | null;
|
|
6393
6421
|
}>>;
|
|
6422
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
6394
6423
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
6395
6424
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
6396
6425
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -6512,6 +6541,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6512
6541
|
includes: string | null;
|
|
6513
6542
|
excludes: string | null;
|
|
6514
6543
|
} | null;
|
|
6544
|
+
searchQuery: string | null;
|
|
6515
6545
|
isFeatured: "all" | "true" | "false" | null;
|
|
6516
6546
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
6517
6547
|
categories: {
|
|
@@ -6563,6 +6593,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6563
6593
|
includes: string | null;
|
|
6564
6594
|
excludes: string | null;
|
|
6565
6595
|
} | null;
|
|
6596
|
+
searchQuery: string | null;
|
|
6566
6597
|
isFeatured: "all" | "true" | "false" | null;
|
|
6567
6598
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
6568
6599
|
categories: {
|
|
@@ -6615,6 +6646,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6615
6646
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
6616
6647
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
6617
6648
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6649
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6618
6650
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
6619
6651
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
6620
6652
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SearchFieldsSchema: z.ZodObject<{
|
|
3
|
+
allWords: z.ZodDefault<z.ZodString>;
|
|
4
|
+
anyWords: z.ZodDefault<z.ZodString>;
|
|
5
|
+
noneWords: z.ZodDefault<z.ZodString>;
|
|
6
|
+
exactPhrase: z.ZodDefault<z.ZodString>;
|
|
7
|
+
titleSearch: z.ZodDefault<z.ZodString>;
|
|
8
|
+
skillsSearch: z.ZodDefault<z.ZodString>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
allWords: string;
|
|
11
|
+
anyWords: string;
|
|
12
|
+
noneWords: string;
|
|
13
|
+
exactPhrase: string;
|
|
14
|
+
titleSearch: string;
|
|
15
|
+
skillsSearch: string;
|
|
16
|
+
}, {
|
|
17
|
+
allWords?: string | undefined;
|
|
18
|
+
anyWords?: string | undefined;
|
|
19
|
+
noneWords?: string | undefined;
|
|
20
|
+
exactPhrase?: string | undefined;
|
|
21
|
+
titleSearch?: string | undefined;
|
|
22
|
+
skillsSearch?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export type SearchFields = z.infer<typeof SearchFieldsSchema>;
|
|
25
|
+
export declare class SearchQueryBuilder {
|
|
26
|
+
/**
|
|
27
|
+
* Build a search query from structured fields
|
|
28
|
+
* Properly handles quoted phrases in all fields
|
|
29
|
+
*/
|
|
30
|
+
static buildQuery(fields: SearchFields): string;
|
|
31
|
+
/**
|
|
32
|
+
* Get human-readable description of search criteria
|
|
33
|
+
*/
|
|
34
|
+
static describe(fields: SearchFields): string;
|
|
35
|
+
/**
|
|
36
|
+
* Validate search fields
|
|
37
|
+
*/
|
|
38
|
+
static validate(fields: unknown): {
|
|
39
|
+
valid: true;
|
|
40
|
+
data: SearchFields;
|
|
41
|
+
} | {
|
|
42
|
+
valid: false;
|
|
43
|
+
errors: string[];
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Test/demo method to show phrase handling
|
|
47
|
+
* Remove this in production
|
|
48
|
+
*/
|
|
49
|
+
static examples(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Parse a query string back into SearchFields structure
|
|
52
|
+
* Fixed to handle grouped NOT expressions correctly
|
|
53
|
+
*/
|
|
54
|
+
static parseQuery(query: string): SearchFields;
|
|
55
|
+
/**
|
|
56
|
+
* Extract terms from grouped field content, preserving quotes
|
|
57
|
+
*/
|
|
58
|
+
private static extractTermsFromGroup;
|
|
59
|
+
/**
|
|
60
|
+
* Extract terms from OR group, preserving quotes and removing OR separators
|
|
61
|
+
*/
|
|
62
|
+
private static extractTermsFromORGroup;
|
|
63
|
+
/**
|
|
64
|
+
* Extract terms from AND group, preserving quotes
|
|
65
|
+
*/
|
|
66
|
+
private static extractTermsFromANDGroup;
|
|
67
|
+
/**
|
|
68
|
+
* Split simple terms while preserving quoted phrases
|
|
69
|
+
*/
|
|
70
|
+
private static splitTermsWithQuotes;
|
|
71
|
+
/**
|
|
72
|
+
* Clean up AND/OR connectors while preserving quotes
|
|
73
|
+
*/
|
|
74
|
+
private static cleanupConnectors;
|
|
75
|
+
/**
|
|
76
|
+
* Test the roundtrip conversion (buildQuery -> parseQuery)
|
|
77
|
+
*/
|
|
78
|
+
static testRoundtrip(fields: SearchFields): {
|
|
79
|
+
original: SearchFields;
|
|
80
|
+
query: string;
|
|
81
|
+
parsed: SearchFields;
|
|
82
|
+
matches: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Simple term splitting that handles quoted phrases
|
|
86
|
+
*/
|
|
87
|
+
private static splitTerms;
|
|
88
|
+
}
|
|
@@ -77,6 +77,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
77
77
|
includes: string | null;
|
|
78
78
|
excludes: string | null;
|
|
79
79
|
}>>;
|
|
80
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
80
81
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
81
82
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
82
83
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -198,6 +199,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
198
199
|
includes: string | null;
|
|
199
200
|
excludes: string | null;
|
|
200
201
|
} | null;
|
|
202
|
+
searchQuery: string | null;
|
|
201
203
|
isFeatured: "all" | "true" | "false" | null;
|
|
202
204
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
203
205
|
categories: {
|
|
@@ -249,6 +251,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
249
251
|
includes: string | null;
|
|
250
252
|
excludes: string | null;
|
|
251
253
|
} | null;
|
|
254
|
+
searchQuery: string | null;
|
|
252
255
|
isFeatured: "all" | "true" | "false" | null;
|
|
253
256
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
254
257
|
categories: {
|
|
@@ -301,6 +304,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
301
304
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
302
305
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
303
306
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
307
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
304
308
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
305
309
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
306
310
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -418,6 +422,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
418
422
|
includes: string | null;
|
|
419
423
|
excludes: string | null;
|
|
420
424
|
} | null;
|
|
425
|
+
searchQuery: string | null;
|
|
421
426
|
isFeatured: "all" | "true" | "false" | null;
|
|
422
427
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
423
428
|
categories: {
|
|
@@ -470,6 +475,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
470
475
|
confirmedBillingAt: number | null;
|
|
471
476
|
boostingEnabled: boolean | null;
|
|
472
477
|
maximumBoost: number | null;
|
|
478
|
+
minBoost: number | null;
|
|
473
479
|
boostDownToNthPlace: number | null;
|
|
474
480
|
connectsAbovePrevious: number | null;
|
|
475
481
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -527,6 +533,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
527
533
|
includes: string | null;
|
|
528
534
|
excludes: string | null;
|
|
529
535
|
} | null;
|
|
536
|
+
searchQuery: string | null;
|
|
530
537
|
isFeatured: "all" | "true" | "false" | null;
|
|
531
538
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
532
539
|
categories: {
|
|
@@ -626,6 +633,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
626
633
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
627
634
|
boostingEnabled?: boolean | null | undefined;
|
|
628
635
|
maximumBoost?: number | null | undefined;
|
|
636
|
+
minBoost?: number | null | undefined;
|
|
629
637
|
boostingThreshold?: number | null | undefined;
|
|
630
638
|
biddingDelayInMinutes?: number | undefined;
|
|
631
639
|
}>;
|
|
@@ -662,6 +670,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
662
670
|
includes: string | null;
|
|
663
671
|
excludes: string | null;
|
|
664
672
|
}>>;
|
|
673
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
665
674
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
666
675
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
667
676
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -783,6 +792,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
783
792
|
includes: string | null;
|
|
784
793
|
excludes: string | null;
|
|
785
794
|
} | null;
|
|
795
|
+
searchQuery: string | null;
|
|
786
796
|
isFeatured: "all" | "true" | "false" | null;
|
|
787
797
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
788
798
|
categories: {
|
|
@@ -834,6 +844,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
834
844
|
includes: string | null;
|
|
835
845
|
excludes: string | null;
|
|
836
846
|
} | null;
|
|
847
|
+
searchQuery: string | null;
|
|
837
848
|
isFeatured: "all" | "true" | "false" | null;
|
|
838
849
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
839
850
|
categories: {
|
|
@@ -886,6 +897,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
886
897
|
confirmedBillingAt: z.ZodNullable<z.ZodNumber>;
|
|
887
898
|
boostingEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
888
899
|
maximumBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
900
|
+
minBoost: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
889
901
|
boostDownToNthPlace: z.ZodNullable<z.ZodNumber>;
|
|
890
902
|
connectsAbovePrevious: z.ZodNullable<z.ZodNumber>;
|
|
891
903
|
insufficeintBoostConnectsAction: z.ZodEnum<["skip", "bid_without_boost"]>;
|
|
@@ -1002,6 +1014,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1002
1014
|
includes: string | null;
|
|
1003
1015
|
excludes: string | null;
|
|
1004
1016
|
} | null;
|
|
1017
|
+
searchQuery: string | null;
|
|
1005
1018
|
isFeatured: "all" | "true" | "false" | null;
|
|
1006
1019
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1007
1020
|
categories: {
|
|
@@ -1052,6 +1065,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1052
1065
|
confirmedBillingAt: number | null;
|
|
1053
1066
|
boostingEnabled: boolean | null;
|
|
1054
1067
|
maximumBoost: number | null;
|
|
1068
|
+
minBoost: number | null;
|
|
1055
1069
|
boostDownToNthPlace: number | null;
|
|
1056
1070
|
connectsAbovePrevious: number | null;
|
|
1057
1071
|
insufficeintBoostConnectsAction: "skip" | "bid_without_boost";
|
|
@@ -1102,6 +1116,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1102
1116
|
includes: string | null;
|
|
1103
1117
|
excludes: string | null;
|
|
1104
1118
|
} | null;
|
|
1119
|
+
searchQuery: string | null;
|
|
1105
1120
|
isFeatured: "all" | "true" | "false" | null;
|
|
1106
1121
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1107
1122
|
categories: {
|
|
@@ -1193,6 +1208,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1193
1208
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1194
1209
|
boostingEnabled?: boolean | null | undefined;
|
|
1195
1210
|
maximumBoost?: number | null | undefined;
|
|
1211
|
+
minBoost?: number | null | undefined;
|
|
1196
1212
|
boostingThreshold?: number | null | undefined;
|
|
1197
1213
|
biddingDelayInMinutes?: number | undefined;
|
|
1198
1214
|
}>;
|
|
@@ -1211,6 +1227,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1211
1227
|
includes: string | null;
|
|
1212
1228
|
excludes: string | null;
|
|
1213
1229
|
}>>;
|
|
1230
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
1214
1231
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
1215
1232
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
1216
1233
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -1332,6 +1349,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1332
1349
|
includes: string | null;
|
|
1333
1350
|
excludes: string | null;
|
|
1334
1351
|
} | null;
|
|
1352
|
+
searchQuery: string | null;
|
|
1335
1353
|
isFeatured: "all" | "true" | "false" | null;
|
|
1336
1354
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1337
1355
|
categories: {
|
|
@@ -1383,6 +1401,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1383
1401
|
includes: string | null;
|
|
1384
1402
|
excludes: string | null;
|
|
1385
1403
|
} | null;
|
|
1404
|
+
searchQuery: string | null;
|
|
1386
1405
|
isFeatured: "all" | "true" | "false" | null;
|
|
1387
1406
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1388
1407
|
categories: {
|
|
@@ -1433,6 +1452,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1433
1452
|
confirmedBillingAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1434
1453
|
boostingEnabled: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
1435
1454
|
maximumBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1455
|
+
minBoost: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1436
1456
|
boostDownToNthPlace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1437
1457
|
connectsAbovePrevious: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1438
1458
|
insufficeintBoostConnectsAction: z.ZodOptional<z.ZodEnum<["skip", "bid_without_boost"]>>;
|
|
@@ -1550,6 +1570,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1550
1570
|
includes: string | null;
|
|
1551
1571
|
excludes: string | null;
|
|
1552
1572
|
} | null;
|
|
1573
|
+
searchQuery: string | null;
|
|
1553
1574
|
isFeatured: "all" | "true" | "false" | null;
|
|
1554
1575
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1555
1576
|
categories: {
|
|
@@ -1600,6 +1621,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1600
1621
|
confirmedBillingAt?: number | null | undefined;
|
|
1601
1622
|
boostingEnabled?: boolean | null | undefined;
|
|
1602
1623
|
maximumBoost?: number | null | undefined;
|
|
1624
|
+
minBoost?: number | null | undefined;
|
|
1603
1625
|
boostDownToNthPlace?: number | null | undefined;
|
|
1604
1626
|
connectsAbovePrevious?: number | null | undefined;
|
|
1605
1627
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|
|
@@ -1657,6 +1679,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1657
1679
|
includes: string | null;
|
|
1658
1680
|
excludes: string | null;
|
|
1659
1681
|
} | null;
|
|
1682
|
+
searchQuery: string | null;
|
|
1660
1683
|
isFeatured: "all" | "true" | "false" | null;
|
|
1661
1684
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1662
1685
|
categories: {
|
|
@@ -1707,6 +1730,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1707
1730
|
confirmedBillingAt?: number | null | undefined;
|
|
1708
1731
|
boostingEnabled?: boolean | null | undefined;
|
|
1709
1732
|
maximumBoost?: number | null | undefined;
|
|
1733
|
+
minBoost?: number | null | undefined;
|
|
1710
1734
|
boostDownToNthPlace?: number | null | undefined;
|
|
1711
1735
|
connectsAbovePrevious?: number | null | undefined;
|
|
1712
1736
|
insufficeintBoostConnectsAction?: "skip" | "bid_without_boost" | undefined;
|