lancer-shared 1.2.193 → 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 +352 -163
- 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 +15 -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
|
@@ -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: {
|
|
@@ -419,6 +422,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
419
422
|
includes: string | null;
|
|
420
423
|
excludes: string | null;
|
|
421
424
|
} | null;
|
|
425
|
+
searchQuery: string | null;
|
|
422
426
|
isFeatured: "all" | "true" | "false" | null;
|
|
423
427
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
424
428
|
categories: {
|
|
@@ -529,6 +533,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
529
533
|
includes: string | null;
|
|
530
534
|
excludes: string | null;
|
|
531
535
|
} | null;
|
|
536
|
+
searchQuery: string | null;
|
|
532
537
|
isFeatured: "all" | "true" | "false" | null;
|
|
533
538
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
534
539
|
categories: {
|
|
@@ -665,6 +670,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
665
670
|
includes: string | null;
|
|
666
671
|
excludes: string | null;
|
|
667
672
|
}>>;
|
|
673
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
668
674
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
669
675
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
670
676
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -786,6 +792,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
786
792
|
includes: string | null;
|
|
787
793
|
excludes: string | null;
|
|
788
794
|
} | null;
|
|
795
|
+
searchQuery: string | null;
|
|
789
796
|
isFeatured: "all" | "true" | "false" | null;
|
|
790
797
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
791
798
|
categories: {
|
|
@@ -837,6 +844,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
837
844
|
includes: string | null;
|
|
838
845
|
excludes: string | null;
|
|
839
846
|
} | null;
|
|
847
|
+
searchQuery: string | null;
|
|
840
848
|
isFeatured: "all" | "true" | "false" | null;
|
|
841
849
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
842
850
|
categories: {
|
|
@@ -1006,6 +1014,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1006
1014
|
includes: string | null;
|
|
1007
1015
|
excludes: string | null;
|
|
1008
1016
|
} | null;
|
|
1017
|
+
searchQuery: string | null;
|
|
1009
1018
|
isFeatured: "all" | "true" | "false" | null;
|
|
1010
1019
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1011
1020
|
categories: {
|
|
@@ -1107,6 +1116,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
1107
1116
|
includes: string | null;
|
|
1108
1117
|
excludes: string | null;
|
|
1109
1118
|
} | null;
|
|
1119
|
+
searchQuery: string | null;
|
|
1110
1120
|
isFeatured: "all" | "true" | "false" | null;
|
|
1111
1121
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1112
1122
|
categories: {
|
|
@@ -1217,6 +1227,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1217
1227
|
includes: string | null;
|
|
1218
1228
|
excludes: string | null;
|
|
1219
1229
|
}>>;
|
|
1230
|
+
searchQuery: z.ZodNullable<z.ZodString>;
|
|
1220
1231
|
isFeatured: z.ZodNullable<z.ZodEnum<["all", "true", "false"]>>;
|
|
1221
1232
|
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>, "many">>;
|
|
1222
1233
|
categories: z.ZodNullable<z.ZodObject<{
|
|
@@ -1338,6 +1349,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1338
1349
|
includes: string | null;
|
|
1339
1350
|
excludes: string | null;
|
|
1340
1351
|
} | null;
|
|
1352
|
+
searchQuery: string | null;
|
|
1341
1353
|
isFeatured: "all" | "true" | "false" | null;
|
|
1342
1354
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1343
1355
|
categories: {
|
|
@@ -1389,6 +1401,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1389
1401
|
includes: string | null;
|
|
1390
1402
|
excludes: string | null;
|
|
1391
1403
|
} | null;
|
|
1404
|
+
searchQuery: string | null;
|
|
1392
1405
|
isFeatured: "all" | "true" | "false" | null;
|
|
1393
1406
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1394
1407
|
categories: {
|
|
@@ -1557,6 +1570,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1557
1570
|
includes: string | null;
|
|
1558
1571
|
excludes: string | null;
|
|
1559
1572
|
} | null;
|
|
1573
|
+
searchQuery: string | null;
|
|
1560
1574
|
isFeatured: "all" | "true" | "false" | null;
|
|
1561
1575
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1562
1576
|
categories: {
|
|
@@ -1665,6 +1679,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1665
1679
|
includes: string | null;
|
|
1666
1680
|
excludes: string | null;
|
|
1667
1681
|
} | null;
|
|
1682
|
+
searchQuery: string | null;
|
|
1668
1683
|
isFeatured: "all" | "true" | "false" | null;
|
|
1669
1684
|
regions: ("all" | "Worldwide" | "UKOnly" | "USOnly")[] | null;
|
|
1670
1685
|
categories: {
|
|
@@ -4,35 +4,35 @@ import { NodeType } from './node-types';
|
|
|
4
4
|
export type ClientSize = z.infer<typeof clientSizeEnum>;
|
|
5
5
|
export declare const createClientSizeFormSchema: (existingSizes: ClientSize[]) => z.ZodEffects<z.ZodObject<{
|
|
6
6
|
sizes: z.ZodArray<z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>, "many">;
|
|
7
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"
|
|
7
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
10
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
10
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
11
11
|
}, {
|
|
12
12
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
13
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
13
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
14
14
|
}>, {
|
|
15
15
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
16
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
16
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
17
17
|
}, {
|
|
18
18
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
19
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
19
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
20
20
|
}>;
|
|
21
21
|
export declare const addFromClientSizeNodeFormSchema: z.ZodEffects<z.ZodObject<{
|
|
22
22
|
sizes: z.ZodArray<z.ZodEnum<["Individual client", "Small company (2-9 people)", "Mid-sized company (10-99 people)", "Large company (100-1,000 people)", "Large company (1,000+ people)", "Unspecified"]>, "many">;
|
|
23
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"
|
|
23
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
26
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
26
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
27
27
|
}, {
|
|
28
28
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
29
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
29
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
30
30
|
}>, {
|
|
31
31
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
32
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
32
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
33
33
|
}, {
|
|
34
34
|
sizes: ("Unspecified" | "Individual client" | "Small company (2-9 people)" | "Mid-sized company (10-99 people)" | "Large company (100-1,000 people)" | "Large company (1,000+ people)")[];
|
|
35
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
35
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
36
36
|
}>;
|
|
37
37
|
export type AddFromClientSizeNodeFormData = z.infer<typeof addFromClientSizeNodeFormSchema>;
|
|
38
38
|
export interface ClientSizeNodeData {
|
|
@@ -7,76 +7,76 @@ export declare const createClientSpentFormSchema: (existingRanges: {
|
|
|
7
7
|
}[]) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8
8
|
from: z.ZodNumber;
|
|
9
9
|
to: z.ZodNumber;
|
|
10
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"
|
|
10
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
from: number;
|
|
13
13
|
to: number;
|
|
14
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
14
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
15
15
|
}, {
|
|
16
16
|
from: number;
|
|
17
17
|
to: number;
|
|
18
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
18
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
19
19
|
}>, {
|
|
20
20
|
from: number;
|
|
21
21
|
to: number;
|
|
22
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
22
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
23
23
|
}, {
|
|
24
24
|
from: number;
|
|
25
25
|
to: number;
|
|
26
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
26
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
27
27
|
}>, {
|
|
28
28
|
from: number;
|
|
29
29
|
to: number;
|
|
30
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
30
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
31
31
|
}, {
|
|
32
32
|
from: number;
|
|
33
33
|
to: number;
|
|
34
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
34
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
35
35
|
}>, {
|
|
36
36
|
from: number;
|
|
37
37
|
to: number;
|
|
38
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
38
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
39
39
|
}, {
|
|
40
40
|
from: number;
|
|
41
41
|
to: number;
|
|
42
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
42
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
43
43
|
}>;
|
|
44
44
|
export declare const addFromClientSpentNodeFormSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
45
45
|
from: z.ZodNumber;
|
|
46
46
|
to: z.ZodNumber;
|
|
47
|
-
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"
|
|
47
|
+
action: z.ZodEnum<["clientAvgHourlyRateNode", "bidNode", "suitabilityNode", "clientHireRateNode", "clientSizeNode", "boostNode", "clientSpentNode", "clientRatingNode"]>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
from: number;
|
|
50
50
|
to: number;
|
|
51
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
51
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
52
52
|
}, {
|
|
53
53
|
from: number;
|
|
54
54
|
to: number;
|
|
55
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
55
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
56
56
|
}>, {
|
|
57
57
|
from: number;
|
|
58
58
|
to: number;
|
|
59
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
59
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
60
60
|
}, {
|
|
61
61
|
from: number;
|
|
62
62
|
to: number;
|
|
63
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
63
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
64
64
|
}>, {
|
|
65
65
|
from: number;
|
|
66
66
|
to: number;
|
|
67
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
67
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
68
68
|
}, {
|
|
69
69
|
from: number;
|
|
70
70
|
to: number;
|
|
71
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
71
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
72
72
|
}>, {
|
|
73
73
|
from: number;
|
|
74
74
|
to: number;
|
|
75
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
75
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
76
76
|
}, {
|
|
77
77
|
from: number;
|
|
78
78
|
to: number;
|
|
79
|
-
action: "clientAvgHourlyRateNode" | "bidNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode"
|
|
79
|
+
action: "clientAvgHourlyRateNode" | "bidNode" | "suitabilityNode" | "clientHireRateNode" | "clientSizeNode" | "boostNode" | "clientSpentNode" | "clientRatingNode";
|
|
80
80
|
}>;
|
|
81
81
|
export type AddFromClientSpentNodeFormData = z.infer<typeof addFromClientSpentNodeFormSchema>;
|
|
82
82
|
export interface ClientSpentNodeData {
|
|
@@ -22,11 +22,3 @@ export interface ClientRatingEdgeData {
|
|
|
22
22
|
from: number;
|
|
23
23
|
to: number;
|
|
24
24
|
}
|
|
25
|
-
export interface StartEdgeData {
|
|
26
|
-
}
|
|
27
|
-
export interface BudgetEdgeData {
|
|
28
|
-
hourlyRateMin: number;
|
|
29
|
-
hourlyRateMax: number;
|
|
30
|
-
fixedBudgetMin: number;
|
|
31
|
-
fixedBudgetMax: number;
|
|
32
|
-
}
|