lancer-shared 1.0.91 → 1.0.93
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.
|
@@ -57,6 +57,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
57
57
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
58
58
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
59
59
|
isPaymentVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
60
|
+
isPhoneVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
60
61
|
enterpriseClient: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
61
62
|
clientLocationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
62
63
|
clientLocationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -72,6 +73,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
72
73
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
73
74
|
}, "strip", z.ZodTypeAny, {
|
|
74
75
|
isPaymentVerified: "false" | "all" | "true";
|
|
76
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
75
77
|
companySize: ("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)")[] | null;
|
|
76
78
|
enterpriseClient: "false" | "all" | "true";
|
|
77
79
|
clientLocationIncludes: string[] | null;
|
|
@@ -99,6 +101,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
99
101
|
memberSinceFrom: string | null;
|
|
100
102
|
memberSinceTo: string | null;
|
|
101
103
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
104
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
102
105
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
103
106
|
}>>;
|
|
104
107
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
@@ -107,18 +110,24 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
107
110
|
talentTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Agency", "Independent", "Unspecified"]>, "many">>;
|
|
108
111
|
englishLevels: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>, "many">>;
|
|
109
112
|
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
113
|
+
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
114
|
+
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
110
115
|
}, "strip", z.ZodTypeAny, {
|
|
111
116
|
includeRisingTalent: string | null;
|
|
112
117
|
locationIncludes: string[] | null;
|
|
113
118
|
locationExcludes: string[] | null;
|
|
114
119
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
115
120
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
121
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
122
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
116
123
|
}, {
|
|
117
124
|
includeRisingTalent: string | null;
|
|
118
125
|
locationIncludes: string[] | null;
|
|
119
126
|
locationExcludes: string[] | null;
|
|
120
127
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
121
128
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
129
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
130
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
122
131
|
}>>;
|
|
123
132
|
}, "strip", z.ZodTypeAny, {
|
|
124
133
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
@@ -128,6 +137,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
128
137
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
129
138
|
clientInfo: {
|
|
130
139
|
isPaymentVerified: "false" | "all" | "true";
|
|
140
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
131
141
|
companySize: ("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)")[] | null;
|
|
132
142
|
enterpriseClient: "false" | "all" | "true";
|
|
133
143
|
clientLocationIncludes: string[] | null;
|
|
@@ -148,6 +158,8 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
148
158
|
locationExcludes: string[] | null;
|
|
149
159
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
150
160
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
161
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
162
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
151
163
|
} | null;
|
|
152
164
|
isFeatured: "false" | "all" | "true";
|
|
153
165
|
keywords: {
|
|
@@ -187,6 +199,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
187
199
|
memberSinceFrom: string | null;
|
|
188
200
|
memberSinceTo: string | null;
|
|
189
201
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
202
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
190
203
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
191
204
|
} | null;
|
|
192
205
|
vendorQualifications: {
|
|
@@ -195,6 +208,8 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
195
208
|
locationExcludes: string[] | null;
|
|
196
209
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
197
210
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
211
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
212
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
198
213
|
} | null;
|
|
199
214
|
keywords: {
|
|
200
215
|
includes: string | null;
|
|
@@ -295,6 +310,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
295
310
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
296
311
|
clientInfo: {
|
|
297
312
|
isPaymentVerified: "false" | "all" | "true";
|
|
313
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
298
314
|
companySize: ("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)")[] | null;
|
|
299
315
|
enterpriseClient: "false" | "all" | "true";
|
|
300
316
|
clientLocationIncludes: string[] | null;
|
|
@@ -315,6 +331,8 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
315
331
|
locationExcludes: string[] | null;
|
|
316
332
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
317
333
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
334
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
335
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
318
336
|
} | null;
|
|
319
337
|
isFeatured: "false" | "all" | "true";
|
|
320
338
|
keywords: {
|
|
@@ -386,6 +404,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
386
404
|
memberSinceFrom: string | null;
|
|
387
405
|
memberSinceTo: string | null;
|
|
388
406
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
407
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
389
408
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
390
409
|
} | null;
|
|
391
410
|
vendorQualifications: {
|
|
@@ -394,6 +413,8 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
394
413
|
locationExcludes: string[] | null;
|
|
395
414
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
396
415
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
416
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
417
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
397
418
|
} | null;
|
|
398
419
|
keywords: {
|
|
399
420
|
includes: string | null;
|
|
@@ -497,6 +518,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
497
518
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
498
519
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
499
520
|
isPaymentVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
521
|
+
isPhoneVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
500
522
|
enterpriseClient: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
501
523
|
clientLocationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
502
524
|
clientLocationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -512,6 +534,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
512
534
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
513
535
|
}, "strip", z.ZodTypeAny, {
|
|
514
536
|
isPaymentVerified: "false" | "all" | "true";
|
|
537
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
515
538
|
companySize: ("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)")[] | null;
|
|
516
539
|
enterpriseClient: "false" | "all" | "true";
|
|
517
540
|
clientLocationIncludes: string[] | null;
|
|
@@ -539,6 +562,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
539
562
|
memberSinceFrom: string | null;
|
|
540
563
|
memberSinceTo: string | null;
|
|
541
564
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
565
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
542
566
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
543
567
|
}>>;
|
|
544
568
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
@@ -547,18 +571,24 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
547
571
|
talentTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Agency", "Independent", "Unspecified"]>, "many">>;
|
|
548
572
|
englishLevels: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>, "many">>;
|
|
549
573
|
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
574
|
+
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
575
|
+
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
550
576
|
}, "strip", z.ZodTypeAny, {
|
|
551
577
|
includeRisingTalent: string | null;
|
|
552
578
|
locationIncludes: string[] | null;
|
|
553
579
|
locationExcludes: string[] | null;
|
|
554
580
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
555
581
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
582
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
583
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
556
584
|
}, {
|
|
557
585
|
includeRisingTalent: string | null;
|
|
558
586
|
locationIncludes: string[] | null;
|
|
559
587
|
locationExcludes: string[] | null;
|
|
560
588
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
561
589
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
590
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
591
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
562
592
|
}>>;
|
|
563
593
|
}, "strip", z.ZodTypeAny, {
|
|
564
594
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
@@ -568,6 +598,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
568
598
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
569
599
|
clientInfo: {
|
|
570
600
|
isPaymentVerified: "false" | "all" | "true";
|
|
601
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
571
602
|
companySize: ("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)")[] | null;
|
|
572
603
|
enterpriseClient: "false" | "all" | "true";
|
|
573
604
|
clientLocationIncludes: string[] | null;
|
|
@@ -588,6 +619,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
588
619
|
locationExcludes: string[] | null;
|
|
589
620
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
590
621
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
622
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
623
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
591
624
|
} | null;
|
|
592
625
|
isFeatured: "false" | "all" | "true";
|
|
593
626
|
keywords: {
|
|
@@ -627,6 +660,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
627
660
|
memberSinceFrom: string | null;
|
|
628
661
|
memberSinceTo: string | null;
|
|
629
662
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
663
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
630
664
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
631
665
|
} | null;
|
|
632
666
|
vendorQualifications: {
|
|
@@ -635,6 +669,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
635
669
|
locationExcludes: string[] | null;
|
|
636
670
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
637
671
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
672
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
673
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
638
674
|
} | null;
|
|
639
675
|
keywords: {
|
|
640
676
|
includes: string | null;
|
|
@@ -732,6 +768,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
732
768
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
733
769
|
clientInfo: {
|
|
734
770
|
isPaymentVerified: "false" | "all" | "true";
|
|
771
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
735
772
|
companySize: ("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)")[] | null;
|
|
736
773
|
enterpriseClient: "false" | "all" | "true";
|
|
737
774
|
clientLocationIncludes: string[] | null;
|
|
@@ -752,6 +789,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
752
789
|
locationExcludes: string[] | null;
|
|
753
790
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
754
791
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
792
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
793
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
755
794
|
} | null;
|
|
756
795
|
isFeatured: "false" | "all" | "true";
|
|
757
796
|
keywords: {
|
|
@@ -820,6 +859,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
820
859
|
memberSinceFrom: string | null;
|
|
821
860
|
memberSinceTo: string | null;
|
|
822
861
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
862
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
823
863
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
824
864
|
} | null;
|
|
825
865
|
vendorQualifications: {
|
|
@@ -828,6 +868,8 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
828
868
|
locationExcludes: string[] | null;
|
|
829
869
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
830
870
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
871
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
872
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
831
873
|
} | null;
|
|
832
874
|
keywords: {
|
|
833
875
|
includes: string | null;
|
|
@@ -931,6 +973,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
931
973
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
932
974
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
933
975
|
isPaymentVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
976
|
+
isPhoneVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
934
977
|
enterpriseClient: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
935
978
|
clientLocationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
936
979
|
clientLocationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -946,6 +989,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
946
989
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
947
990
|
}, "strip", z.ZodTypeAny, {
|
|
948
991
|
isPaymentVerified: "false" | "all" | "true";
|
|
992
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
949
993
|
companySize: ("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)")[] | null;
|
|
950
994
|
enterpriseClient: "false" | "all" | "true";
|
|
951
995
|
clientLocationIncludes: string[] | null;
|
|
@@ -973,6 +1017,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
973
1017
|
memberSinceFrom: string | null;
|
|
974
1018
|
memberSinceTo: string | null;
|
|
975
1019
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
1020
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
976
1021
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
977
1022
|
}>>;
|
|
978
1023
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
@@ -981,18 +1026,24 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
981
1026
|
talentTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Agency", "Independent", "Unspecified"]>, "many">>;
|
|
982
1027
|
englishLevels: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>, "many">>;
|
|
983
1028
|
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
1030
|
+
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
984
1031
|
}, "strip", z.ZodTypeAny, {
|
|
985
1032
|
includeRisingTalent: string | null;
|
|
986
1033
|
locationIncludes: string[] | null;
|
|
987
1034
|
locationExcludes: string[] | null;
|
|
988
1035
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
989
1036
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1037
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1038
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
990
1039
|
}, {
|
|
991
1040
|
includeRisingTalent: string | null;
|
|
992
1041
|
locationIncludes: string[] | null;
|
|
993
1042
|
locationExcludes: string[] | null;
|
|
994
1043
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
995
1044
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1045
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1046
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
996
1047
|
}>>;
|
|
997
1048
|
}, "strip", z.ZodTypeAny, {
|
|
998
1049
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
@@ -1002,6 +1053,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1002
1053
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1003
1054
|
clientInfo: {
|
|
1004
1055
|
isPaymentVerified: "false" | "all" | "true";
|
|
1056
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
1005
1057
|
companySize: ("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)")[] | null;
|
|
1006
1058
|
enterpriseClient: "false" | "all" | "true";
|
|
1007
1059
|
clientLocationIncludes: string[] | null;
|
|
@@ -1022,6 +1074,8 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1022
1074
|
locationExcludes: string[] | null;
|
|
1023
1075
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
1024
1076
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1077
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1078
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1025
1079
|
} | null;
|
|
1026
1080
|
isFeatured: "false" | "all" | "true";
|
|
1027
1081
|
keywords: {
|
|
@@ -1061,6 +1115,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1061
1115
|
memberSinceFrom: string | null;
|
|
1062
1116
|
memberSinceTo: string | null;
|
|
1063
1117
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
1118
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
1064
1119
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
1065
1120
|
} | null;
|
|
1066
1121
|
vendorQualifications: {
|
|
@@ -1069,6 +1124,8 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1069
1124
|
locationExcludes: string[] | null;
|
|
1070
1125
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
1071
1126
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1127
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1128
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1072
1129
|
} | null;
|
|
1073
1130
|
keywords: {
|
|
1074
1131
|
includes: string | null;
|
|
@@ -1167,6 +1224,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1167
1224
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
1168
1225
|
clientInfo: {
|
|
1169
1226
|
isPaymentVerified: "false" | "all" | "true";
|
|
1227
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
1170
1228
|
companySize: ("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)")[] | null;
|
|
1171
1229
|
enterpriseClient: "false" | "all" | "true";
|
|
1172
1230
|
clientLocationIncludes: string[] | null;
|
|
@@ -1187,6 +1245,8 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1187
1245
|
locationExcludes: string[] | null;
|
|
1188
1246
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
1189
1247
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1248
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1249
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1190
1250
|
} | null;
|
|
1191
1251
|
isFeatured: "false" | "all" | "true";
|
|
1192
1252
|
keywords: {
|
|
@@ -1256,6 +1316,7 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1256
1316
|
memberSinceFrom: string | null;
|
|
1257
1317
|
memberSinceTo: string | null;
|
|
1258
1318
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
1319
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
1259
1320
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
1260
1321
|
} | null;
|
|
1261
1322
|
vendorQualifications: {
|
|
@@ -1264,6 +1325,8 @@ export declare const updateCampaignSchema: z.ZodObject<Omit<{
|
|
|
1264
1325
|
locationExcludes: string[] | null;
|
|
1265
1326
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
1266
1327
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
1328
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
1329
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
1267
1330
|
} | null;
|
|
1268
1331
|
keywords: {
|
|
1269
1332
|
includes: string | null;
|
|
@@ -10,6 +10,8 @@ export declare const talentTypeEnum: z.ZodEnum<["Agency", "Independent", "Unspec
|
|
|
10
10
|
export declare const englishLevelEnum: z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>;
|
|
11
11
|
export declare const experienceLevelEnum: z.ZodEnum<["Entry level", "Intermediate", "Expert"]>;
|
|
12
12
|
export declare const regionEnum: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
13
|
+
export declare const requiredEarningsEnum: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>;
|
|
14
|
+
export declare const requiredJSSEnum: z.ZodEnum<[">80%", ">90%", "100%", "RT"]>;
|
|
13
15
|
export declare const jobFiltersSchema: z.ZodObject<{
|
|
14
16
|
keywords: z.ZodNullable<z.ZodObject<{
|
|
15
17
|
includes: z.ZodNullable<z.ZodString>;
|
|
@@ -64,6 +66,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
64
66
|
engagementType: z.ZodNullable<z.ZodArray<z.ZodEnum<["Less than 30 hrs/week", "More than 30 hrs/week", "Unspecified"]>, "many">>;
|
|
65
67
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
66
68
|
isPaymentVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
69
|
+
isPhoneVerified: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
67
70
|
enterpriseClient: z.ZodDefault<z.ZodEnum<["all", "true", "false"]>>;
|
|
68
71
|
clientLocationIncludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
69
72
|
clientLocationExcludes: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -79,6 +82,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
79
82
|
memberSinceTo: z.ZodNullable<z.ZodString>;
|
|
80
83
|
}, "strip", z.ZodTypeAny, {
|
|
81
84
|
isPaymentVerified: "false" | "all" | "true";
|
|
85
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
82
86
|
companySize: ("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)")[] | null;
|
|
83
87
|
enterpriseClient: "false" | "all" | "true";
|
|
84
88
|
clientLocationIncludes: string[] | null;
|
|
@@ -106,6 +110,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
106
110
|
memberSinceFrom: string | null;
|
|
107
111
|
memberSinceTo: string | null;
|
|
108
112
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
113
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
109
114
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
110
115
|
}>>;
|
|
111
116
|
vendorQualifications: z.ZodNullable<z.ZodObject<{
|
|
@@ -114,18 +119,24 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
114
119
|
talentTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<["Agency", "Independent", "Unspecified"]>, "many">>;
|
|
115
120
|
englishLevels: z.ZodNullable<z.ZodArray<z.ZodEnum<["Fluent", "Conversational", "Native or Bilingual", "Unspecified"]>, "many">>;
|
|
116
121
|
includeRisingTalent: z.ZodNullable<z.ZodString>;
|
|
122
|
+
requiredEarnings: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<1000>, z.ZodLiteral<10000>]>>;
|
|
123
|
+
requiredJSS: z.ZodNullable<z.ZodArray<z.ZodEnum<[">80%", ">90%", "100%", "RT"]>, "many">>;
|
|
117
124
|
}, "strip", z.ZodTypeAny, {
|
|
118
125
|
includeRisingTalent: string | null;
|
|
119
126
|
locationIncludes: string[] | null;
|
|
120
127
|
locationExcludes: string[] | null;
|
|
121
128
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
122
129
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
130
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
131
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
123
132
|
}, {
|
|
124
133
|
includeRisingTalent: string | null;
|
|
125
134
|
locationIncludes: string[] | null;
|
|
126
135
|
locationExcludes: string[] | null;
|
|
127
136
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
128
137
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
138
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
139
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
129
140
|
}>>;
|
|
130
141
|
}, "strip", z.ZodTypeAny, {
|
|
131
142
|
projectDuration: ("Less than 1 month" | "1 to 3 months" | "3 to 6 months" | "More than 6 months" | "Unspecified")[] | null;
|
|
@@ -135,6 +146,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
135
146
|
experienceLevel: ("Entry level" | "Intermediate" | "Expert")[] | null;
|
|
136
147
|
clientInfo: {
|
|
137
148
|
isPaymentVerified: "false" | "all" | "true";
|
|
149
|
+
isPhoneVerified: "false" | "all" | "true";
|
|
138
150
|
companySize: ("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)")[] | null;
|
|
139
151
|
enterpriseClient: "false" | "all" | "true";
|
|
140
152
|
clientLocationIncludes: string[] | null;
|
|
@@ -155,6 +167,8 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
155
167
|
locationExcludes: string[] | null;
|
|
156
168
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
157
169
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
170
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
171
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
158
172
|
} | null;
|
|
159
173
|
isFeatured: "false" | "all" | "true";
|
|
160
174
|
keywords: {
|
|
@@ -194,6 +208,7 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
194
208
|
memberSinceFrom: string | null;
|
|
195
209
|
memberSinceTo: string | null;
|
|
196
210
|
isPaymentVerified?: "false" | "all" | "true" | undefined;
|
|
211
|
+
isPhoneVerified?: "false" | "all" | "true" | undefined;
|
|
197
212
|
enterpriseClient?: "false" | "all" | "true" | undefined;
|
|
198
213
|
} | null;
|
|
199
214
|
vendorQualifications: {
|
|
@@ -202,6 +217,8 @@ export declare const jobFiltersSchema: z.ZodObject<{
|
|
|
202
217
|
locationExcludes: string[] | null;
|
|
203
218
|
talentTypes: ("Agency" | "Independent" | "Unspecified")[] | null;
|
|
204
219
|
englishLevels: ("Unspecified" | "Fluent" | "Conversational" | "Native or Bilingual")[] | null;
|
|
220
|
+
requiredEarnings: 100 | 1000 | 10000 | null;
|
|
221
|
+
requiredJSS: (">80%" | ">90%" | "100%" | "RT")[] | null;
|
|
205
222
|
} | null;
|
|
206
223
|
keywords: {
|
|
207
224
|
includes: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jobFiltersSchema = exports.regionEnum = exports.experienceLevelEnum = exports.englishLevelEnum = exports.talentTypeEnum = exports.clientSizeEnum = exports.clientIndustryEnum = exports.categoryEnum = exports.paymentTypeEnum = exports.vendorTypeEnum = exports.engagementTypeEnum = exports.projectDurationEnum = void 0;
|
|
3
|
+
exports.jobFiltersSchema = exports.requiredJSSEnum = exports.requiredEarningsEnum = exports.regionEnum = exports.experienceLevelEnum = exports.englishLevelEnum = exports.talentTypeEnum = exports.clientSizeEnum = exports.clientIndustryEnum = exports.categoryEnum = exports.paymentTypeEnum = exports.vendorTypeEnum = exports.engagementTypeEnum = exports.projectDurationEnum = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const job_filter_options_1 = require("../../constants/job-filter-options");
|
|
6
6
|
// Enum definitions for fixed options
|
|
@@ -15,6 +15,12 @@ exports.talentTypeEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.TA
|
|
|
15
15
|
exports.englishLevelEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.ENGLISH_LEVELS);
|
|
16
16
|
exports.experienceLevelEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.EXPERIENCE_LEVELS);
|
|
17
17
|
exports.regionEnum = zod_1.z.enum(["all", "Worldwide", "UKOnly", "USOnly"]);
|
|
18
|
+
exports.requiredEarningsEnum = zod_1.z.union([
|
|
19
|
+
zod_1.z.literal(100),
|
|
20
|
+
zod_1.z.literal(1000),
|
|
21
|
+
zod_1.z.literal(10000),
|
|
22
|
+
]);
|
|
23
|
+
exports.requiredJSSEnum = zod_1.z.enum(job_filter_options_1.JOB_FILTER_OPTIONS.REQUIRED_JSS);
|
|
18
24
|
// Main job filters schema
|
|
19
25
|
exports.jobFiltersSchema = zod_1.z.object({
|
|
20
26
|
keywords: zod_1.z
|
|
@@ -51,6 +57,7 @@ exports.jobFiltersSchema = zod_1.z.object({
|
|
|
51
57
|
clientInfo: zod_1.z
|
|
52
58
|
.object({
|
|
53
59
|
isPaymentVerified: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
60
|
+
isPhoneVerified: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
54
61
|
enterpriseClient: zod_1.z.enum(["all", "true", "false"]).default("all"),
|
|
55
62
|
clientLocationIncludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
56
63
|
clientLocationExcludes: zod_1.z.array(zod_1.z.string()).nullable(),
|
|
@@ -73,6 +80,8 @@ exports.jobFiltersSchema = zod_1.z.object({
|
|
|
73
80
|
talentTypes: zod_1.z.array(exports.talentTypeEnum).nullable(),
|
|
74
81
|
englishLevels: zod_1.z.array(exports.englishLevelEnum).nullable(),
|
|
75
82
|
includeRisingTalent: zod_1.z.string().nullable(),
|
|
83
|
+
requiredEarnings: exports.requiredEarningsEnum.nullable(),
|
|
84
|
+
requiredJSS: zod_1.z.array(exports.requiredJSSEnum).nullable(),
|
|
76
85
|
})
|
|
77
86
|
.nullable(),
|
|
78
87
|
});
|