lancer-shared 1.2.304 → 1.2.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +1 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +158 -90
- package/package.json +1 -1
|
@@ -38,6 +38,46 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
38
38
|
campaignId: string;
|
|
39
39
|
leadId: string;
|
|
40
40
|
}>, "many">>;
|
|
41
|
+
clientReviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42
|
+
jobTitle: z.ZodNullable<z.ZodString>;
|
|
43
|
+
freelancerName: z.ZodNullable<z.ZodString>;
|
|
44
|
+
freelancerRating: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
freelancerFeedback: z.ZodNullable<z.ZodString>;
|
|
46
|
+
clientFeedback: z.ZodNullable<z.ZodString>;
|
|
47
|
+
clientFeedbackRating: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
dateRange: z.ZodNullable<z.ZodString>;
|
|
49
|
+
paymentType: z.ZodNullable<z.ZodString>;
|
|
50
|
+
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
hourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
numHours: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
jobTitle: string | null;
|
|
56
|
+
freelancerName: string | null;
|
|
57
|
+
freelancerRating: number | null;
|
|
58
|
+
freelancerFeedback: string | null;
|
|
59
|
+
clientFeedback: string | null;
|
|
60
|
+
clientFeedbackRating: number | null;
|
|
61
|
+
dateRange: string | null;
|
|
62
|
+
paymentType: string | null;
|
|
63
|
+
fixedPrice: number | null;
|
|
64
|
+
hourlyRate: number | null;
|
|
65
|
+
numHours: number | null;
|
|
66
|
+
totalBilled: number | null;
|
|
67
|
+
}, {
|
|
68
|
+
jobTitle: string | null;
|
|
69
|
+
freelancerName: string | null;
|
|
70
|
+
freelancerRating: number | null;
|
|
71
|
+
freelancerFeedback: string | null;
|
|
72
|
+
clientFeedback: string | null;
|
|
73
|
+
clientFeedbackRating: number | null;
|
|
74
|
+
dateRange: string | null;
|
|
75
|
+
paymentType: string | null;
|
|
76
|
+
fixedPrice: number | null;
|
|
77
|
+
hourlyRate: number | null;
|
|
78
|
+
numHours: number | null;
|
|
79
|
+
totalBilled: number | null;
|
|
80
|
+
}>, "many">>;
|
|
41
81
|
}, "strip", z.ZodTypeAny, {
|
|
42
82
|
userId: string | null;
|
|
43
83
|
organizationId: string;
|
|
@@ -56,6 +96,20 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
56
96
|
campaignId: string;
|
|
57
97
|
leadId: string;
|
|
58
98
|
}[] | undefined;
|
|
99
|
+
clientReviews?: {
|
|
100
|
+
jobTitle: string | null;
|
|
101
|
+
freelancerName: string | null;
|
|
102
|
+
freelancerRating: number | null;
|
|
103
|
+
freelancerFeedback: string | null;
|
|
104
|
+
clientFeedback: string | null;
|
|
105
|
+
clientFeedbackRating: number | null;
|
|
106
|
+
dateRange: string | null;
|
|
107
|
+
paymentType: string | null;
|
|
108
|
+
fixedPrice: number | null;
|
|
109
|
+
hourlyRate: number | null;
|
|
110
|
+
numHours: number | null;
|
|
111
|
+
totalBilled: number | null;
|
|
112
|
+
}[] | undefined;
|
|
59
113
|
}, {
|
|
60
114
|
userId: string | null;
|
|
61
115
|
organizationId: string;
|
|
@@ -74,6 +128,20 @@ export declare const agentGenerateProposalRequestSchema: z.ZodObject<{
|
|
|
74
128
|
campaignId: string;
|
|
75
129
|
leadId: string;
|
|
76
130
|
}[] | undefined;
|
|
131
|
+
clientReviews?: {
|
|
132
|
+
jobTitle: string | null;
|
|
133
|
+
freelancerName: string | null;
|
|
134
|
+
freelancerRating: number | null;
|
|
135
|
+
freelancerFeedback: string | null;
|
|
136
|
+
clientFeedback: string | null;
|
|
137
|
+
clientFeedbackRating: number | null;
|
|
138
|
+
dateRange: string | null;
|
|
139
|
+
paymentType: string | null;
|
|
140
|
+
fixedPrice: number | null;
|
|
141
|
+
hourlyRate: number | null;
|
|
142
|
+
numHours: number | null;
|
|
143
|
+
totalBilled: number | null;
|
|
144
|
+
}[] | undefined;
|
|
77
145
|
}>;
|
|
78
146
|
export declare const agentGenerateProposalResponseSchema: z.ZodObject<{
|
|
79
147
|
coverLetter: z.ZodString;
|
|
@@ -142,25 +210,25 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
142
210
|
paymentType: z.ZodNullable<z.ZodString>;
|
|
143
211
|
fixedPrice: z.ZodNullable<z.ZodNumber>;
|
|
144
212
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
experienceLevel: string | null;
|
|
213
|
+
paymentType: string | null;
|
|
214
|
+
fixedPrice: number | null;
|
|
148
215
|
hourlyRate: {
|
|
149
216
|
min: number | null;
|
|
150
217
|
max: number | null;
|
|
151
218
|
} | null;
|
|
152
|
-
paymentType: string | null;
|
|
153
|
-
fixedPrice: number | null;
|
|
154
|
-
}, {
|
|
155
219
|
hours: string | null;
|
|
156
220
|
duration: string | null;
|
|
157
221
|
experienceLevel: string | null;
|
|
222
|
+
}, {
|
|
223
|
+
paymentType: string | null;
|
|
224
|
+
fixedPrice: number | null;
|
|
158
225
|
hourlyRate: {
|
|
159
226
|
min: number | null;
|
|
160
227
|
max: number | null;
|
|
161
228
|
} | null;
|
|
162
|
-
|
|
163
|
-
|
|
229
|
+
hours: string | null;
|
|
230
|
+
duration: string | null;
|
|
231
|
+
experienceLevel: string | null;
|
|
164
232
|
}>>;
|
|
165
233
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
166
234
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -258,9 +326,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
258
326
|
numHours: z.ZodNullable<z.ZodNumber>;
|
|
259
327
|
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
260
328
|
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
hourlyRate: number | null;
|
|
262
|
-
paymentType: string | null;
|
|
263
|
-
fixedPrice: number | null;
|
|
264
329
|
jobTitle: string | null;
|
|
265
330
|
freelancerName: string | null;
|
|
266
331
|
freelancerRating: number | null;
|
|
@@ -268,12 +333,12 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
268
333
|
clientFeedback: string | null;
|
|
269
334
|
clientFeedbackRating: number | null;
|
|
270
335
|
dateRange: string | null;
|
|
336
|
+
paymentType: string | null;
|
|
337
|
+
fixedPrice: number | null;
|
|
338
|
+
hourlyRate: number | null;
|
|
271
339
|
numHours: number | null;
|
|
272
340
|
totalBilled: number | null;
|
|
273
341
|
}, {
|
|
274
|
-
hourlyRate: number | null;
|
|
275
|
-
paymentType: string | null;
|
|
276
|
-
fixedPrice: number | null;
|
|
277
342
|
jobTitle: string | null;
|
|
278
343
|
freelancerName: string | null;
|
|
279
344
|
freelancerRating: number | null;
|
|
@@ -281,6 +346,9 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
281
346
|
clientFeedback: string | null;
|
|
282
347
|
clientFeedbackRating: number | null;
|
|
283
348
|
dateRange: string | null;
|
|
349
|
+
paymentType: string | null;
|
|
350
|
+
fixedPrice: number | null;
|
|
351
|
+
hourlyRate: number | null;
|
|
284
352
|
numHours: number | null;
|
|
285
353
|
totalBilled: number | null;
|
|
286
354
|
}>, "many">>;
|
|
@@ -520,6 +588,20 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
520
588
|
title: string | null;
|
|
521
589
|
description: string | null;
|
|
522
590
|
questions: string[] | null;
|
|
591
|
+
clientReviews: {
|
|
592
|
+
jobTitle: string | null;
|
|
593
|
+
freelancerName: string | null;
|
|
594
|
+
freelancerRating: number | null;
|
|
595
|
+
freelancerFeedback: string | null;
|
|
596
|
+
clientFeedback: string | null;
|
|
597
|
+
clientFeedbackRating: number | null;
|
|
598
|
+
dateRange: string | null;
|
|
599
|
+
paymentType: string | null;
|
|
600
|
+
fixedPrice: number | null;
|
|
601
|
+
hourlyRate: number | null;
|
|
602
|
+
numHours: number | null;
|
|
603
|
+
totalBilled: number | null;
|
|
604
|
+
}[] | null;
|
|
523
605
|
questionAnswerPairs: {
|
|
524
606
|
question: string;
|
|
525
607
|
answer: string;
|
|
@@ -538,15 +620,15 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
538
620
|
projectDuration: string | null;
|
|
539
621
|
jobUrl: string | null;
|
|
540
622
|
metadata: {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
experienceLevel: string | null;
|
|
623
|
+
paymentType: string | null;
|
|
624
|
+
fixedPrice: number | null;
|
|
544
625
|
hourlyRate: {
|
|
545
626
|
min: number | null;
|
|
546
627
|
max: number | null;
|
|
547
628
|
} | null;
|
|
548
|
-
|
|
549
|
-
|
|
629
|
+
hours: string | null;
|
|
630
|
+
duration: string | null;
|
|
631
|
+
experienceLevel: string | null;
|
|
550
632
|
} | null;
|
|
551
633
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
552
634
|
clientInfo: {
|
|
@@ -578,20 +660,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
578
660
|
includeRisingTalent: string | null;
|
|
579
661
|
} | null;
|
|
580
662
|
isFeatured: boolean | null;
|
|
581
|
-
clientReviews: {
|
|
582
|
-
hourlyRate: number | null;
|
|
583
|
-
paymentType: string | null;
|
|
584
|
-
fixedPrice: number | null;
|
|
585
|
-
jobTitle: string | null;
|
|
586
|
-
freelancerName: string | null;
|
|
587
|
-
freelancerRating: number | null;
|
|
588
|
-
freelancerFeedback: string | null;
|
|
589
|
-
clientFeedback: string | null;
|
|
590
|
-
clientFeedbackRating: number | null;
|
|
591
|
-
dateRange: string | null;
|
|
592
|
-
numHours: number | null;
|
|
593
|
-
totalBilled: number | null;
|
|
594
|
-
}[] | null;
|
|
595
663
|
bidRange: {
|
|
596
664
|
high: number | null;
|
|
597
665
|
avg: number | null;
|
|
@@ -686,6 +754,20 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
686
754
|
title: string | null;
|
|
687
755
|
description: string | null;
|
|
688
756
|
questions: string[] | null;
|
|
757
|
+
clientReviews: {
|
|
758
|
+
jobTitle: string | null;
|
|
759
|
+
freelancerName: string | null;
|
|
760
|
+
freelancerRating: number | null;
|
|
761
|
+
freelancerFeedback: string | null;
|
|
762
|
+
clientFeedback: string | null;
|
|
763
|
+
clientFeedbackRating: number | null;
|
|
764
|
+
dateRange: string | null;
|
|
765
|
+
paymentType: string | null;
|
|
766
|
+
fixedPrice: number | null;
|
|
767
|
+
hourlyRate: number | null;
|
|
768
|
+
numHours: number | null;
|
|
769
|
+
totalBilled: number | null;
|
|
770
|
+
}[] | null;
|
|
689
771
|
questionAnswerPairs: {
|
|
690
772
|
question: string;
|
|
691
773
|
answer: string;
|
|
@@ -704,15 +786,15 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
704
786
|
projectDuration: string | null;
|
|
705
787
|
jobUrl: string | null;
|
|
706
788
|
metadata: {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
experienceLevel: string | null;
|
|
789
|
+
paymentType: string | null;
|
|
790
|
+
fixedPrice: number | null;
|
|
710
791
|
hourlyRate: {
|
|
711
792
|
min: number | null;
|
|
712
793
|
max: number | null;
|
|
713
794
|
} | null;
|
|
714
|
-
|
|
715
|
-
|
|
795
|
+
hours: string | null;
|
|
796
|
+
duration: string | null;
|
|
797
|
+
experienceLevel: string | null;
|
|
716
798
|
} | null;
|
|
717
799
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
718
800
|
clientInfo: {
|
|
@@ -744,20 +826,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
744
826
|
includeRisingTalent: string | null;
|
|
745
827
|
} | null;
|
|
746
828
|
isFeatured: boolean | null;
|
|
747
|
-
clientReviews: {
|
|
748
|
-
hourlyRate: number | null;
|
|
749
|
-
paymentType: string | null;
|
|
750
|
-
fixedPrice: number | null;
|
|
751
|
-
jobTitle: string | null;
|
|
752
|
-
freelancerName: string | null;
|
|
753
|
-
freelancerRating: number | null;
|
|
754
|
-
freelancerFeedback: string | null;
|
|
755
|
-
clientFeedback: string | null;
|
|
756
|
-
clientFeedbackRating: number | null;
|
|
757
|
-
dateRange: string | null;
|
|
758
|
-
numHours: number | null;
|
|
759
|
-
totalBilled: number | null;
|
|
760
|
-
}[] | null;
|
|
761
829
|
bidRange: {
|
|
762
830
|
high: number | null;
|
|
763
831
|
avg: number | null;
|
|
@@ -868,6 +936,20 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
868
936
|
title: string | null;
|
|
869
937
|
description: string | null;
|
|
870
938
|
questions: string[] | null;
|
|
939
|
+
clientReviews: {
|
|
940
|
+
jobTitle: string | null;
|
|
941
|
+
freelancerName: string | null;
|
|
942
|
+
freelancerRating: number | null;
|
|
943
|
+
freelancerFeedback: string | null;
|
|
944
|
+
clientFeedback: string | null;
|
|
945
|
+
clientFeedbackRating: number | null;
|
|
946
|
+
dateRange: string | null;
|
|
947
|
+
paymentType: string | null;
|
|
948
|
+
fixedPrice: number | null;
|
|
949
|
+
hourlyRate: number | null;
|
|
950
|
+
numHours: number | null;
|
|
951
|
+
totalBilled: number | null;
|
|
952
|
+
}[] | null;
|
|
871
953
|
questionAnswerPairs: {
|
|
872
954
|
question: string;
|
|
873
955
|
answer: string;
|
|
@@ -886,15 +968,15 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
886
968
|
projectDuration: string | null;
|
|
887
969
|
jobUrl: string | null;
|
|
888
970
|
metadata: {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
experienceLevel: string | null;
|
|
971
|
+
paymentType: string | null;
|
|
972
|
+
fixedPrice: number | null;
|
|
892
973
|
hourlyRate: {
|
|
893
974
|
min: number | null;
|
|
894
975
|
max: number | null;
|
|
895
976
|
} | null;
|
|
896
|
-
|
|
897
|
-
|
|
977
|
+
hours: string | null;
|
|
978
|
+
duration: string | null;
|
|
979
|
+
experienceLevel: string | null;
|
|
898
980
|
} | null;
|
|
899
981
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
900
982
|
clientInfo: {
|
|
@@ -926,20 +1008,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
926
1008
|
includeRisingTalent: string | null;
|
|
927
1009
|
} | null;
|
|
928
1010
|
isFeatured: boolean | null;
|
|
929
|
-
clientReviews: {
|
|
930
|
-
hourlyRate: number | null;
|
|
931
|
-
paymentType: string | null;
|
|
932
|
-
fixedPrice: number | null;
|
|
933
|
-
jobTitle: string | null;
|
|
934
|
-
freelancerName: string | null;
|
|
935
|
-
freelancerRating: number | null;
|
|
936
|
-
freelancerFeedback: string | null;
|
|
937
|
-
clientFeedback: string | null;
|
|
938
|
-
clientFeedbackRating: number | null;
|
|
939
|
-
dateRange: string | null;
|
|
940
|
-
numHours: number | null;
|
|
941
|
-
totalBilled: number | null;
|
|
942
|
-
}[] | null;
|
|
943
1011
|
bidRange: {
|
|
944
1012
|
high: number | null;
|
|
945
1013
|
avg: number | null;
|
|
@@ -1044,6 +1112,20 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1044
1112
|
title: string | null;
|
|
1045
1113
|
description: string | null;
|
|
1046
1114
|
questions: string[] | null;
|
|
1115
|
+
clientReviews: {
|
|
1116
|
+
jobTitle: string | null;
|
|
1117
|
+
freelancerName: string | null;
|
|
1118
|
+
freelancerRating: number | null;
|
|
1119
|
+
freelancerFeedback: string | null;
|
|
1120
|
+
clientFeedback: string | null;
|
|
1121
|
+
clientFeedbackRating: number | null;
|
|
1122
|
+
dateRange: string | null;
|
|
1123
|
+
paymentType: string | null;
|
|
1124
|
+
fixedPrice: number | null;
|
|
1125
|
+
hourlyRate: number | null;
|
|
1126
|
+
numHours: number | null;
|
|
1127
|
+
totalBilled: number | null;
|
|
1128
|
+
}[] | null;
|
|
1047
1129
|
questionAnswerPairs: {
|
|
1048
1130
|
question: string;
|
|
1049
1131
|
answer: string;
|
|
@@ -1062,15 +1144,15 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1062
1144
|
projectDuration: string | null;
|
|
1063
1145
|
jobUrl: string | null;
|
|
1064
1146
|
metadata: {
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
experienceLevel: string | null;
|
|
1147
|
+
paymentType: string | null;
|
|
1148
|
+
fixedPrice: number | null;
|
|
1068
1149
|
hourlyRate: {
|
|
1069
1150
|
min: number | null;
|
|
1070
1151
|
max: number | null;
|
|
1071
1152
|
} | null;
|
|
1072
|
-
|
|
1073
|
-
|
|
1153
|
+
hours: string | null;
|
|
1154
|
+
duration: string | null;
|
|
1155
|
+
experienceLevel: string | null;
|
|
1074
1156
|
} | null;
|
|
1075
1157
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1076
1158
|
clientInfo: {
|
|
@@ -1102,20 +1184,6 @@ export declare const agentCalculateSuitabilityRequestSchema: z.ZodObject<{
|
|
|
1102
1184
|
includeRisingTalent: string | null;
|
|
1103
1185
|
} | null;
|
|
1104
1186
|
isFeatured: boolean | null;
|
|
1105
|
-
clientReviews: {
|
|
1106
|
-
hourlyRate: number | null;
|
|
1107
|
-
paymentType: string | null;
|
|
1108
|
-
fixedPrice: number | null;
|
|
1109
|
-
jobTitle: string | null;
|
|
1110
|
-
freelancerName: string | null;
|
|
1111
|
-
freelancerRating: number | null;
|
|
1112
|
-
freelancerFeedback: string | null;
|
|
1113
|
-
clientFeedback: string | null;
|
|
1114
|
-
clientFeedbackRating: number | null;
|
|
1115
|
-
dateRange: string | null;
|
|
1116
|
-
numHours: number | null;
|
|
1117
|
-
totalBilled: number | null;
|
|
1118
|
-
}[] | null;
|
|
1119
1187
|
bidRange: {
|
|
1120
1188
|
high: number | null;
|
|
1121
1189
|
avg: number | null;
|