lancer-shared 1.2.346 → 1.2.348
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 +1810 -1775
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1799 -1769
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/chat.d.ts +12 -18
- package/dist/constants/routes.d.ts +20 -10
- package/dist/schemas/chat/index.d.ts +651 -21
- package/package.json +1 -1
|
@@ -13,13 +13,31 @@ export declare const roomNoteSchema: z.ZodObject<{
|
|
|
13
13
|
note: string | null;
|
|
14
14
|
}>;
|
|
15
15
|
export type RoomNote = z.infer<typeof roomNoteSchema>;
|
|
16
|
-
export declare const roomCrmStatusEnum: z.ZodEnum<["new", "follow_up", "qualified", "won", "archived"]>;
|
|
17
|
-
export type RoomCrmStatus =
|
|
16
|
+
export declare const roomCrmStatusEnum: z.ZodEnum<["new", "follow_up", "qualified", "meeting_arranged", "proposal_sent", "won", "lost", "archived"]>;
|
|
17
|
+
export type RoomCrmStatus = string;
|
|
18
18
|
export declare const roomCrmArchivedReasonEnum: z.ZodEnum<["completed", "not_fit", "lost", "no_response", "other"]>;
|
|
19
19
|
export type RoomCrmArchivedReason = z.infer<typeof roomCrmArchivedReasonEnum>;
|
|
20
|
+
export declare const pipelineColumnSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
label: z.ZodString;
|
|
23
|
+
color: z.ZodString;
|
|
24
|
+
position: z.ZodNumber;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
id: string;
|
|
27
|
+
color: string;
|
|
28
|
+
position: number;
|
|
29
|
+
label: string;
|
|
30
|
+
}, {
|
|
31
|
+
id: string;
|
|
32
|
+
color: string;
|
|
33
|
+
position: number;
|
|
34
|
+
label: string;
|
|
35
|
+
}>;
|
|
36
|
+
export type PipelineColumn = z.infer<typeof pipelineColumnSchema>;
|
|
20
37
|
export declare const roomJobClientHistorySchema: z.ZodObject<{
|
|
21
38
|
jobUrl: z.ZodNullable<z.ZodString>;
|
|
22
39
|
title: z.ZodNullable<z.ZodString>;
|
|
40
|
+
campaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
41
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
24
42
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
25
43
|
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -101,6 +119,7 @@ export declare const roomJobClientHistorySchema: z.ZodObject<{
|
|
|
101
119
|
avgHourlyRatePaid: number | null;
|
|
102
120
|
companyId: string | null;
|
|
103
121
|
} | null;
|
|
122
|
+
campaignId?: string | null | undefined;
|
|
104
123
|
}, {
|
|
105
124
|
title: string | null;
|
|
106
125
|
jobUrl: string | null;
|
|
@@ -124,6 +143,7 @@ export declare const roomJobClientHistorySchema: z.ZodObject<{
|
|
|
124
143
|
avgHourlyRatePaid: number | null;
|
|
125
144
|
companyId: string | null;
|
|
126
145
|
} | null;
|
|
146
|
+
campaignId?: string | null | undefined;
|
|
127
147
|
}>;
|
|
128
148
|
export type RoomJobClientHistory = z.infer<typeof roomJobClientHistorySchema>;
|
|
129
149
|
export declare const roomSchema: z.ZodObject<{
|
|
@@ -198,12 +218,14 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
198
218
|
updatedAt: number;
|
|
199
219
|
note: string | null;
|
|
200
220
|
}>>;
|
|
201
|
-
crmStatus: z.ZodOptional<z.
|
|
221
|
+
crmStatus: z.ZodOptional<z.ZodString>;
|
|
202
222
|
crmStatusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
203
223
|
crmArchivedReason: z.ZodNullable<z.ZodOptional<z.ZodEnum<["completed", "not_fit", "lost", "no_response", "other"]>>>;
|
|
224
|
+
dealValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
225
|
jobClientHistory: z.ZodOptional<z.ZodObject<{
|
|
205
226
|
jobUrl: z.ZodNullable<z.ZodString>;
|
|
206
227
|
title: z.ZodNullable<z.ZodString>;
|
|
228
|
+
campaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
229
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
208
230
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
209
231
|
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -285,6 +307,7 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
285
307
|
avgHourlyRatePaid: number | null;
|
|
286
308
|
companyId: string | null;
|
|
287
309
|
} | null;
|
|
310
|
+
campaignId?: string | null | undefined;
|
|
288
311
|
}, {
|
|
289
312
|
title: string | null;
|
|
290
313
|
jobUrl: string | null;
|
|
@@ -308,6 +331,7 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
308
331
|
avgHourlyRatePaid: number | null;
|
|
309
332
|
companyId: string | null;
|
|
310
333
|
} | null;
|
|
334
|
+
campaignId?: string | null | undefined;
|
|
311
335
|
}>>;
|
|
312
336
|
}, "strip", z.ZodTypeAny, {
|
|
313
337
|
id: string;
|
|
@@ -345,9 +369,10 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
345
369
|
updatedAt: number;
|
|
346
370
|
note: string | null;
|
|
347
371
|
} | undefined;
|
|
348
|
-
crmStatus?:
|
|
372
|
+
crmStatus?: string | undefined;
|
|
349
373
|
crmStatusUpdatedAt?: number | undefined;
|
|
350
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
374
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
375
|
+
dealValue?: number | null | undefined;
|
|
351
376
|
jobClientHistory?: {
|
|
352
377
|
title: string | null;
|
|
353
378
|
jobUrl: string | null;
|
|
@@ -371,6 +396,7 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
371
396
|
avgHourlyRatePaid: number | null;
|
|
372
397
|
companyId: string | null;
|
|
373
398
|
} | null;
|
|
399
|
+
campaignId?: string | null | undefined;
|
|
374
400
|
} | undefined;
|
|
375
401
|
}, {
|
|
376
402
|
id: string;
|
|
@@ -408,9 +434,10 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
408
434
|
updatedAt: number;
|
|
409
435
|
note: string | null;
|
|
410
436
|
} | undefined;
|
|
411
|
-
crmStatus?:
|
|
437
|
+
crmStatus?: string | undefined;
|
|
412
438
|
crmStatusUpdatedAt?: number | undefined;
|
|
413
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
439
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
440
|
+
dealValue?: number | null | undefined;
|
|
414
441
|
jobClientHistory?: {
|
|
415
442
|
title: string | null;
|
|
416
443
|
jobUrl: string | null;
|
|
@@ -434,6 +461,7 @@ export declare const roomSchema: z.ZodObject<{
|
|
|
434
461
|
avgHourlyRatePaid: number | null;
|
|
435
462
|
companyId: string | null;
|
|
436
463
|
} | null;
|
|
464
|
+
campaignId?: string | null | undefined;
|
|
437
465
|
} | undefined;
|
|
438
466
|
}>;
|
|
439
467
|
export type Room = z.infer<typeof roomSchema>;
|
|
@@ -556,12 +584,14 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
556
584
|
updatedAt: number;
|
|
557
585
|
note: string | null;
|
|
558
586
|
}>>;
|
|
559
|
-
crmStatus: z.ZodOptional<z.
|
|
587
|
+
crmStatus: z.ZodOptional<z.ZodString>;
|
|
560
588
|
crmStatusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
561
589
|
crmArchivedReason: z.ZodNullable<z.ZodOptional<z.ZodEnum<["completed", "not_fit", "lost", "no_response", "other"]>>>;
|
|
590
|
+
dealValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
562
591
|
jobClientHistory: z.ZodOptional<z.ZodObject<{
|
|
563
592
|
jobUrl: z.ZodNullable<z.ZodString>;
|
|
564
593
|
title: z.ZodNullable<z.ZodString>;
|
|
594
|
+
campaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
595
|
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
566
596
|
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
567
597
|
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -643,6 +673,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
643
673
|
avgHourlyRatePaid: number | null;
|
|
644
674
|
companyId: string | null;
|
|
645
675
|
} | null;
|
|
676
|
+
campaignId?: string | null | undefined;
|
|
646
677
|
}, {
|
|
647
678
|
title: string | null;
|
|
648
679
|
jobUrl: string | null;
|
|
@@ -666,6 +697,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
666
697
|
avgHourlyRatePaid: number | null;
|
|
667
698
|
companyId: string | null;
|
|
668
699
|
} | null;
|
|
700
|
+
campaignId?: string | null | undefined;
|
|
669
701
|
}>>;
|
|
670
702
|
}, "strip", z.ZodTypeAny, {
|
|
671
703
|
id: string;
|
|
@@ -703,9 +735,10 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
703
735
|
updatedAt: number;
|
|
704
736
|
note: string | null;
|
|
705
737
|
} | undefined;
|
|
706
|
-
crmStatus?:
|
|
738
|
+
crmStatus?: string | undefined;
|
|
707
739
|
crmStatusUpdatedAt?: number | undefined;
|
|
708
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
740
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
741
|
+
dealValue?: number | null | undefined;
|
|
709
742
|
jobClientHistory?: {
|
|
710
743
|
title: string | null;
|
|
711
744
|
jobUrl: string | null;
|
|
@@ -729,6 +762,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
729
762
|
avgHourlyRatePaid: number | null;
|
|
730
763
|
companyId: string | null;
|
|
731
764
|
} | null;
|
|
765
|
+
campaignId?: string | null | undefined;
|
|
732
766
|
} | undefined;
|
|
733
767
|
}, {
|
|
734
768
|
id: string;
|
|
@@ -766,9 +800,10 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
766
800
|
updatedAt: number;
|
|
767
801
|
note: string | null;
|
|
768
802
|
} | undefined;
|
|
769
|
-
crmStatus?:
|
|
803
|
+
crmStatus?: string | undefined;
|
|
770
804
|
crmStatusUpdatedAt?: number | undefined;
|
|
771
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
805
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
806
|
+
dealValue?: number | null | undefined;
|
|
772
807
|
jobClientHistory?: {
|
|
773
808
|
title: string | null;
|
|
774
809
|
jobUrl: string | null;
|
|
@@ -792,6 +827,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
792
827
|
avgHourlyRatePaid: number | null;
|
|
793
828
|
companyId: string | null;
|
|
794
829
|
} | null;
|
|
830
|
+
campaignId?: string | null | undefined;
|
|
795
831
|
} | undefined;
|
|
796
832
|
}>, "many">;
|
|
797
833
|
pagination: z.ZodObject<{
|
|
@@ -847,9 +883,10 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
847
883
|
updatedAt: number;
|
|
848
884
|
note: string | null;
|
|
849
885
|
} | undefined;
|
|
850
|
-
crmStatus?:
|
|
886
|
+
crmStatus?: string | undefined;
|
|
851
887
|
crmStatusUpdatedAt?: number | undefined;
|
|
852
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
888
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
889
|
+
dealValue?: number | null | undefined;
|
|
853
890
|
jobClientHistory?: {
|
|
854
891
|
title: string | null;
|
|
855
892
|
jobUrl: string | null;
|
|
@@ -873,6 +910,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
873
910
|
avgHourlyRatePaid: number | null;
|
|
874
911
|
companyId: string | null;
|
|
875
912
|
} | null;
|
|
913
|
+
campaignId?: string | null | undefined;
|
|
876
914
|
} | undefined;
|
|
877
915
|
}[];
|
|
878
916
|
pagination: {
|
|
@@ -918,9 +956,10 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
918
956
|
updatedAt: number;
|
|
919
957
|
note: string | null;
|
|
920
958
|
} | undefined;
|
|
921
|
-
crmStatus?:
|
|
959
|
+
crmStatus?: string | undefined;
|
|
922
960
|
crmStatusUpdatedAt?: number | undefined;
|
|
923
|
-
crmArchivedReason?: "completed" | "other" | "
|
|
961
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
962
|
+
dealValue?: number | null | undefined;
|
|
924
963
|
jobClientHistory?: {
|
|
925
964
|
title: string | null;
|
|
926
965
|
jobUrl: string | null;
|
|
@@ -944,6 +983,7 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
944
983
|
avgHourlyRatePaid: number | null;
|
|
945
984
|
companyId: string | null;
|
|
946
985
|
} | null;
|
|
986
|
+
campaignId?: string | null | undefined;
|
|
947
987
|
} | undefined;
|
|
948
988
|
}[];
|
|
949
989
|
pagination: {
|
|
@@ -954,6 +994,495 @@ export declare const getRoomsResponseSchema: z.ZodObject<{
|
|
|
954
994
|
};
|
|
955
995
|
}>;
|
|
956
996
|
export type GetRoomsResponse = z.infer<typeof getRoomsResponseSchema>;
|
|
997
|
+
export declare const getPipelineListRoomsResponseSchema: z.ZodObject<{
|
|
998
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
999
|
+
id: z.ZodString;
|
|
1000
|
+
roomId: z.ZodString;
|
|
1001
|
+
roomName: z.ZodString;
|
|
1002
|
+
topic: z.ZodString;
|
|
1003
|
+
organizationUid: z.ZodString;
|
|
1004
|
+
organizationType: z.ZodString;
|
|
1005
|
+
recentTimestamp: z.ZodNumber;
|
|
1006
|
+
organizationName: z.ZodString;
|
|
1007
|
+
context: z.ZodObject<{
|
|
1008
|
+
freelancerId: z.ZodString;
|
|
1009
|
+
freelancerOrgId: z.ZodString;
|
|
1010
|
+
freelancerName: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
currentStatus: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
associatedAgencyOrgId: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
}, "strip", z.ZodTypeAny, {
|
|
1017
|
+
freelancerId: string;
|
|
1018
|
+
freelancerOrgId: string;
|
|
1019
|
+
jobTitle?: string | undefined;
|
|
1020
|
+
freelancerName?: string | undefined;
|
|
1021
|
+
clientId?: string | undefined;
|
|
1022
|
+
clientName?: string | undefined;
|
|
1023
|
+
currentStatus?: string | undefined;
|
|
1024
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1025
|
+
}, {
|
|
1026
|
+
freelancerId: string;
|
|
1027
|
+
freelancerOrgId: string;
|
|
1028
|
+
jobTitle?: string | undefined;
|
|
1029
|
+
freelancerName?: string | undefined;
|
|
1030
|
+
clientId?: string | undefined;
|
|
1031
|
+
clientName?: string | undefined;
|
|
1032
|
+
currentStatus?: string | undefined;
|
|
1033
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1034
|
+
}>;
|
|
1035
|
+
numUnread: z.ZodNumber;
|
|
1036
|
+
latestStory: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
message: z.ZodString;
|
|
1038
|
+
created: z.ZodNumber;
|
|
1039
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
|
+
message: string;
|
|
1043
|
+
created: number;
|
|
1044
|
+
messageId?: string | undefined;
|
|
1045
|
+
senderName?: string | undefined;
|
|
1046
|
+
}, {
|
|
1047
|
+
message: string;
|
|
1048
|
+
created: number;
|
|
1049
|
+
messageId?: string | undefined;
|
|
1050
|
+
senderName?: string | undefined;
|
|
1051
|
+
}>>;
|
|
1052
|
+
lastChecked: z.ZodOptional<z.ZodNumber>;
|
|
1053
|
+
hasNewMessages: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1055
|
+
lastFetchedAt: z.ZodOptional<z.ZodNumber>;
|
|
1056
|
+
roomTypeExtended: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
roomNote: z.ZodOptional<z.ZodObject<{
|
|
1058
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
createdAt: z.ZodNumber;
|
|
1060
|
+
updatedAt: z.ZodNumber;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
createdAt: number;
|
|
1063
|
+
updatedAt: number;
|
|
1064
|
+
note: string | null;
|
|
1065
|
+
}, {
|
|
1066
|
+
createdAt: number;
|
|
1067
|
+
updatedAt: number;
|
|
1068
|
+
note: string | null;
|
|
1069
|
+
}>>;
|
|
1070
|
+
crmStatus: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
crmStatusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1072
|
+
crmArchivedReason: z.ZodNullable<z.ZodOptional<z.ZodEnum<["completed", "not_fit", "lost", "no_response", "other"]>>>;
|
|
1073
|
+
dealValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1074
|
+
jobClientHistory: z.ZodOptional<z.ZodObject<{
|
|
1075
|
+
jobUrl: z.ZodNullable<z.ZodString>;
|
|
1076
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1077
|
+
campaignId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1078
|
+
clientInfo: z.ZodNullable<z.ZodObject<{
|
|
1079
|
+
isPaymentVerified: z.ZodNullable<z.ZodBoolean>;
|
|
1080
|
+
isPhoneVerified: z.ZodNullable<z.ZodBoolean>;
|
|
1081
|
+
numberOfReviews: z.ZodNullable<z.ZodNumber>;
|
|
1082
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
1083
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1084
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1085
|
+
jobsPosted: z.ZodNullable<z.ZodNumber>;
|
|
1086
|
+
totalSpent: z.ZodNullable<z.ZodNumber>;
|
|
1087
|
+
numberOfHires: z.ZodNullable<z.ZodNumber>;
|
|
1088
|
+
activeEngagements: z.ZodNullable<z.ZodNumber>;
|
|
1089
|
+
openJobs: z.ZodNullable<z.ZodNumber>;
|
|
1090
|
+
hireRate: z.ZodNullable<z.ZodNumber>;
|
|
1091
|
+
memberSince: z.ZodNullable<z.ZodString>;
|
|
1092
|
+
companyIndustry: z.ZodNullable<z.ZodString>;
|
|
1093
|
+
companySize: z.ZodNullable<z.ZodString>;
|
|
1094
|
+
enterpriseClient: z.ZodNullable<z.ZodBoolean>;
|
|
1095
|
+
avgHourlyRatePaid: z.ZodNullable<z.ZodNumber>;
|
|
1096
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
1097
|
+
}, "strip", z.ZodTypeAny, {
|
|
1098
|
+
country: string | null;
|
|
1099
|
+
region: string | null;
|
|
1100
|
+
openJobs: number | null;
|
|
1101
|
+
isPhoneVerified: boolean | null;
|
|
1102
|
+
isPaymentVerified: boolean | null;
|
|
1103
|
+
numberOfReviews: number | null;
|
|
1104
|
+
rating: number | null;
|
|
1105
|
+
jobsPosted: number | null;
|
|
1106
|
+
totalSpent: number | null;
|
|
1107
|
+
numberOfHires: number | null;
|
|
1108
|
+
activeEngagements: number | null;
|
|
1109
|
+
hireRate: number | null;
|
|
1110
|
+
memberSince: string | null;
|
|
1111
|
+
companyIndustry: string | null;
|
|
1112
|
+
companySize: string | null;
|
|
1113
|
+
enterpriseClient: boolean | null;
|
|
1114
|
+
avgHourlyRatePaid: number | null;
|
|
1115
|
+
companyId: string | null;
|
|
1116
|
+
}, {
|
|
1117
|
+
country: string | null;
|
|
1118
|
+
region: string | null;
|
|
1119
|
+
openJobs: number | null;
|
|
1120
|
+
isPhoneVerified: boolean | null;
|
|
1121
|
+
isPaymentVerified: boolean | null;
|
|
1122
|
+
numberOfReviews: number | null;
|
|
1123
|
+
rating: number | null;
|
|
1124
|
+
jobsPosted: number | null;
|
|
1125
|
+
totalSpent: number | null;
|
|
1126
|
+
numberOfHires: number | null;
|
|
1127
|
+
activeEngagements: number | null;
|
|
1128
|
+
hireRate: number | null;
|
|
1129
|
+
memberSince: string | null;
|
|
1130
|
+
companyIndustry: string | null;
|
|
1131
|
+
companySize: string | null;
|
|
1132
|
+
enterpriseClient: boolean | null;
|
|
1133
|
+
avgHourlyRatePaid: number | null;
|
|
1134
|
+
companyId: string | null;
|
|
1135
|
+
}>>;
|
|
1136
|
+
}, "strip", z.ZodTypeAny, {
|
|
1137
|
+
title: string | null;
|
|
1138
|
+
jobUrl: string | null;
|
|
1139
|
+
clientInfo: {
|
|
1140
|
+
country: string | null;
|
|
1141
|
+
region: string | null;
|
|
1142
|
+
openJobs: number | null;
|
|
1143
|
+
isPhoneVerified: boolean | null;
|
|
1144
|
+
isPaymentVerified: boolean | null;
|
|
1145
|
+
numberOfReviews: number | null;
|
|
1146
|
+
rating: number | null;
|
|
1147
|
+
jobsPosted: number | null;
|
|
1148
|
+
totalSpent: number | null;
|
|
1149
|
+
numberOfHires: number | null;
|
|
1150
|
+
activeEngagements: number | null;
|
|
1151
|
+
hireRate: number | null;
|
|
1152
|
+
memberSince: string | null;
|
|
1153
|
+
companyIndustry: string | null;
|
|
1154
|
+
companySize: string | null;
|
|
1155
|
+
enterpriseClient: boolean | null;
|
|
1156
|
+
avgHourlyRatePaid: number | null;
|
|
1157
|
+
companyId: string | null;
|
|
1158
|
+
} | null;
|
|
1159
|
+
campaignId?: string | null | undefined;
|
|
1160
|
+
}, {
|
|
1161
|
+
title: string | null;
|
|
1162
|
+
jobUrl: string | null;
|
|
1163
|
+
clientInfo: {
|
|
1164
|
+
country: string | null;
|
|
1165
|
+
region: string | null;
|
|
1166
|
+
openJobs: number | null;
|
|
1167
|
+
isPhoneVerified: boolean | null;
|
|
1168
|
+
isPaymentVerified: boolean | null;
|
|
1169
|
+
numberOfReviews: number | null;
|
|
1170
|
+
rating: number | null;
|
|
1171
|
+
jobsPosted: number | null;
|
|
1172
|
+
totalSpent: number | null;
|
|
1173
|
+
numberOfHires: number | null;
|
|
1174
|
+
activeEngagements: number | null;
|
|
1175
|
+
hireRate: number | null;
|
|
1176
|
+
memberSince: string | null;
|
|
1177
|
+
companyIndustry: string | null;
|
|
1178
|
+
companySize: string | null;
|
|
1179
|
+
enterpriseClient: boolean | null;
|
|
1180
|
+
avgHourlyRatePaid: number | null;
|
|
1181
|
+
companyId: string | null;
|
|
1182
|
+
} | null;
|
|
1183
|
+
campaignId?: string | null | undefined;
|
|
1184
|
+
}>>;
|
|
1185
|
+
}, {
|
|
1186
|
+
bidderAccountId: z.ZodString;
|
|
1187
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1188
|
+
id: string;
|
|
1189
|
+
context: {
|
|
1190
|
+
freelancerId: string;
|
|
1191
|
+
freelancerOrgId: string;
|
|
1192
|
+
jobTitle?: string | undefined;
|
|
1193
|
+
freelancerName?: string | undefined;
|
|
1194
|
+
clientId?: string | undefined;
|
|
1195
|
+
clientName?: string | undefined;
|
|
1196
|
+
currentStatus?: string | undefined;
|
|
1197
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1198
|
+
};
|
|
1199
|
+
bidderAccountId: string;
|
|
1200
|
+
organizationName: string;
|
|
1201
|
+
organizationType: string;
|
|
1202
|
+
roomId: string;
|
|
1203
|
+
roomName: string;
|
|
1204
|
+
topic: string;
|
|
1205
|
+
organizationUid: string;
|
|
1206
|
+
recentTimestamp: number;
|
|
1207
|
+
numUnread: number;
|
|
1208
|
+
updatedAt?: number | undefined;
|
|
1209
|
+
latestStory?: {
|
|
1210
|
+
message: string;
|
|
1211
|
+
created: number;
|
|
1212
|
+
messageId?: string | undefined;
|
|
1213
|
+
senderName?: string | undefined;
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
lastChecked?: number | undefined;
|
|
1216
|
+
hasNewMessages?: boolean | undefined;
|
|
1217
|
+
lastFetchedAt?: number | undefined;
|
|
1218
|
+
roomTypeExtended?: string | undefined;
|
|
1219
|
+
roomNote?: {
|
|
1220
|
+
createdAt: number;
|
|
1221
|
+
updatedAt: number;
|
|
1222
|
+
note: string | null;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
crmStatus?: string | undefined;
|
|
1225
|
+
crmStatusUpdatedAt?: number | undefined;
|
|
1226
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
1227
|
+
dealValue?: number | null | undefined;
|
|
1228
|
+
jobClientHistory?: {
|
|
1229
|
+
title: string | null;
|
|
1230
|
+
jobUrl: string | null;
|
|
1231
|
+
clientInfo: {
|
|
1232
|
+
country: string | null;
|
|
1233
|
+
region: string | null;
|
|
1234
|
+
openJobs: number | null;
|
|
1235
|
+
isPhoneVerified: boolean | null;
|
|
1236
|
+
isPaymentVerified: boolean | null;
|
|
1237
|
+
numberOfReviews: number | null;
|
|
1238
|
+
rating: number | null;
|
|
1239
|
+
jobsPosted: number | null;
|
|
1240
|
+
totalSpent: number | null;
|
|
1241
|
+
numberOfHires: number | null;
|
|
1242
|
+
activeEngagements: number | null;
|
|
1243
|
+
hireRate: number | null;
|
|
1244
|
+
memberSince: string | null;
|
|
1245
|
+
companyIndustry: string | null;
|
|
1246
|
+
companySize: string | null;
|
|
1247
|
+
enterpriseClient: boolean | null;
|
|
1248
|
+
avgHourlyRatePaid: number | null;
|
|
1249
|
+
companyId: string | null;
|
|
1250
|
+
} | null;
|
|
1251
|
+
campaignId?: string | null | undefined;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
}, {
|
|
1254
|
+
id: string;
|
|
1255
|
+
context: {
|
|
1256
|
+
freelancerId: string;
|
|
1257
|
+
freelancerOrgId: string;
|
|
1258
|
+
jobTitle?: string | undefined;
|
|
1259
|
+
freelancerName?: string | undefined;
|
|
1260
|
+
clientId?: string | undefined;
|
|
1261
|
+
clientName?: string | undefined;
|
|
1262
|
+
currentStatus?: string | undefined;
|
|
1263
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1264
|
+
};
|
|
1265
|
+
bidderAccountId: string;
|
|
1266
|
+
organizationName: string;
|
|
1267
|
+
organizationType: string;
|
|
1268
|
+
roomId: string;
|
|
1269
|
+
roomName: string;
|
|
1270
|
+
topic: string;
|
|
1271
|
+
organizationUid: string;
|
|
1272
|
+
recentTimestamp: number;
|
|
1273
|
+
numUnread: number;
|
|
1274
|
+
updatedAt?: number | undefined;
|
|
1275
|
+
latestStory?: {
|
|
1276
|
+
message: string;
|
|
1277
|
+
created: number;
|
|
1278
|
+
messageId?: string | undefined;
|
|
1279
|
+
senderName?: string | undefined;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
lastChecked?: number | undefined;
|
|
1282
|
+
hasNewMessages?: boolean | undefined;
|
|
1283
|
+
lastFetchedAt?: number | undefined;
|
|
1284
|
+
roomTypeExtended?: string | undefined;
|
|
1285
|
+
roomNote?: {
|
|
1286
|
+
createdAt: number;
|
|
1287
|
+
updatedAt: number;
|
|
1288
|
+
note: string | null;
|
|
1289
|
+
} | undefined;
|
|
1290
|
+
crmStatus?: string | undefined;
|
|
1291
|
+
crmStatusUpdatedAt?: number | undefined;
|
|
1292
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
1293
|
+
dealValue?: number | null | undefined;
|
|
1294
|
+
jobClientHistory?: {
|
|
1295
|
+
title: string | null;
|
|
1296
|
+
jobUrl: string | null;
|
|
1297
|
+
clientInfo: {
|
|
1298
|
+
country: string | null;
|
|
1299
|
+
region: string | null;
|
|
1300
|
+
openJobs: number | null;
|
|
1301
|
+
isPhoneVerified: boolean | null;
|
|
1302
|
+
isPaymentVerified: boolean | null;
|
|
1303
|
+
numberOfReviews: number | null;
|
|
1304
|
+
rating: number | null;
|
|
1305
|
+
jobsPosted: number | null;
|
|
1306
|
+
totalSpent: number | null;
|
|
1307
|
+
numberOfHires: number | null;
|
|
1308
|
+
activeEngagements: number | null;
|
|
1309
|
+
hireRate: number | null;
|
|
1310
|
+
memberSince: string | null;
|
|
1311
|
+
companyIndustry: string | null;
|
|
1312
|
+
companySize: string | null;
|
|
1313
|
+
enterpriseClient: boolean | null;
|
|
1314
|
+
avgHourlyRatePaid: number | null;
|
|
1315
|
+
companyId: string | null;
|
|
1316
|
+
} | null;
|
|
1317
|
+
campaignId?: string | null | undefined;
|
|
1318
|
+
} | undefined;
|
|
1319
|
+
}>, "many">;
|
|
1320
|
+
pagination: z.ZodObject<{
|
|
1321
|
+
hasMore: z.ZodBoolean;
|
|
1322
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1323
|
+
limit: z.ZodNumber;
|
|
1324
|
+
total: z.ZodNumber;
|
|
1325
|
+
}, "strip", z.ZodTypeAny, {
|
|
1326
|
+
total: number;
|
|
1327
|
+
nextCursor: string | null;
|
|
1328
|
+
hasMore: boolean;
|
|
1329
|
+
limit: number;
|
|
1330
|
+
}, {
|
|
1331
|
+
total: number;
|
|
1332
|
+
nextCursor: string | null;
|
|
1333
|
+
hasMore: boolean;
|
|
1334
|
+
limit: number;
|
|
1335
|
+
}>;
|
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
|
1337
|
+
data: {
|
|
1338
|
+
id: string;
|
|
1339
|
+
context: {
|
|
1340
|
+
freelancerId: string;
|
|
1341
|
+
freelancerOrgId: string;
|
|
1342
|
+
jobTitle?: string | undefined;
|
|
1343
|
+
freelancerName?: string | undefined;
|
|
1344
|
+
clientId?: string | undefined;
|
|
1345
|
+
clientName?: string | undefined;
|
|
1346
|
+
currentStatus?: string | undefined;
|
|
1347
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1348
|
+
};
|
|
1349
|
+
bidderAccountId: string;
|
|
1350
|
+
organizationName: string;
|
|
1351
|
+
organizationType: string;
|
|
1352
|
+
roomId: string;
|
|
1353
|
+
roomName: string;
|
|
1354
|
+
topic: string;
|
|
1355
|
+
organizationUid: string;
|
|
1356
|
+
recentTimestamp: number;
|
|
1357
|
+
numUnread: number;
|
|
1358
|
+
updatedAt?: number | undefined;
|
|
1359
|
+
latestStory?: {
|
|
1360
|
+
message: string;
|
|
1361
|
+
created: number;
|
|
1362
|
+
messageId?: string | undefined;
|
|
1363
|
+
senderName?: string | undefined;
|
|
1364
|
+
} | undefined;
|
|
1365
|
+
lastChecked?: number | undefined;
|
|
1366
|
+
hasNewMessages?: boolean | undefined;
|
|
1367
|
+
lastFetchedAt?: number | undefined;
|
|
1368
|
+
roomTypeExtended?: string | undefined;
|
|
1369
|
+
roomNote?: {
|
|
1370
|
+
createdAt: number;
|
|
1371
|
+
updatedAt: number;
|
|
1372
|
+
note: string | null;
|
|
1373
|
+
} | undefined;
|
|
1374
|
+
crmStatus?: string | undefined;
|
|
1375
|
+
crmStatusUpdatedAt?: number | undefined;
|
|
1376
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
1377
|
+
dealValue?: number | null | undefined;
|
|
1378
|
+
jobClientHistory?: {
|
|
1379
|
+
title: string | null;
|
|
1380
|
+
jobUrl: string | null;
|
|
1381
|
+
clientInfo: {
|
|
1382
|
+
country: string | null;
|
|
1383
|
+
region: string | null;
|
|
1384
|
+
openJobs: number | null;
|
|
1385
|
+
isPhoneVerified: boolean | null;
|
|
1386
|
+
isPaymentVerified: boolean | null;
|
|
1387
|
+
numberOfReviews: number | null;
|
|
1388
|
+
rating: number | null;
|
|
1389
|
+
jobsPosted: number | null;
|
|
1390
|
+
totalSpent: number | null;
|
|
1391
|
+
numberOfHires: number | null;
|
|
1392
|
+
activeEngagements: number | null;
|
|
1393
|
+
hireRate: number | null;
|
|
1394
|
+
memberSince: string | null;
|
|
1395
|
+
companyIndustry: string | null;
|
|
1396
|
+
companySize: string | null;
|
|
1397
|
+
enterpriseClient: boolean | null;
|
|
1398
|
+
avgHourlyRatePaid: number | null;
|
|
1399
|
+
companyId: string | null;
|
|
1400
|
+
} | null;
|
|
1401
|
+
campaignId?: string | null | undefined;
|
|
1402
|
+
} | undefined;
|
|
1403
|
+
}[];
|
|
1404
|
+
pagination: {
|
|
1405
|
+
total: number;
|
|
1406
|
+
nextCursor: string | null;
|
|
1407
|
+
hasMore: boolean;
|
|
1408
|
+
limit: number;
|
|
1409
|
+
};
|
|
1410
|
+
}, {
|
|
1411
|
+
data: {
|
|
1412
|
+
id: string;
|
|
1413
|
+
context: {
|
|
1414
|
+
freelancerId: string;
|
|
1415
|
+
freelancerOrgId: string;
|
|
1416
|
+
jobTitle?: string | undefined;
|
|
1417
|
+
freelancerName?: string | undefined;
|
|
1418
|
+
clientId?: string | undefined;
|
|
1419
|
+
clientName?: string | undefined;
|
|
1420
|
+
currentStatus?: string | undefined;
|
|
1421
|
+
associatedAgencyOrgId?: string | undefined;
|
|
1422
|
+
};
|
|
1423
|
+
bidderAccountId: string;
|
|
1424
|
+
organizationName: string;
|
|
1425
|
+
organizationType: string;
|
|
1426
|
+
roomId: string;
|
|
1427
|
+
roomName: string;
|
|
1428
|
+
topic: string;
|
|
1429
|
+
organizationUid: string;
|
|
1430
|
+
recentTimestamp: number;
|
|
1431
|
+
numUnread: number;
|
|
1432
|
+
updatedAt?: number | undefined;
|
|
1433
|
+
latestStory?: {
|
|
1434
|
+
message: string;
|
|
1435
|
+
created: number;
|
|
1436
|
+
messageId?: string | undefined;
|
|
1437
|
+
senderName?: string | undefined;
|
|
1438
|
+
} | undefined;
|
|
1439
|
+
lastChecked?: number | undefined;
|
|
1440
|
+
hasNewMessages?: boolean | undefined;
|
|
1441
|
+
lastFetchedAt?: number | undefined;
|
|
1442
|
+
roomTypeExtended?: string | undefined;
|
|
1443
|
+
roomNote?: {
|
|
1444
|
+
createdAt: number;
|
|
1445
|
+
updatedAt: number;
|
|
1446
|
+
note: string | null;
|
|
1447
|
+
} | undefined;
|
|
1448
|
+
crmStatus?: string | undefined;
|
|
1449
|
+
crmStatusUpdatedAt?: number | undefined;
|
|
1450
|
+
crmArchivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | null | undefined;
|
|
1451
|
+
dealValue?: number | null | undefined;
|
|
1452
|
+
jobClientHistory?: {
|
|
1453
|
+
title: string | null;
|
|
1454
|
+
jobUrl: string | null;
|
|
1455
|
+
clientInfo: {
|
|
1456
|
+
country: string | null;
|
|
1457
|
+
region: string | null;
|
|
1458
|
+
openJobs: number | null;
|
|
1459
|
+
isPhoneVerified: boolean | null;
|
|
1460
|
+
isPaymentVerified: boolean | null;
|
|
1461
|
+
numberOfReviews: number | null;
|
|
1462
|
+
rating: number | null;
|
|
1463
|
+
jobsPosted: number | null;
|
|
1464
|
+
totalSpent: number | null;
|
|
1465
|
+
numberOfHires: number | null;
|
|
1466
|
+
activeEngagements: number | null;
|
|
1467
|
+
hireRate: number | null;
|
|
1468
|
+
memberSince: string | null;
|
|
1469
|
+
companyIndustry: string | null;
|
|
1470
|
+
companySize: string | null;
|
|
1471
|
+
enterpriseClient: boolean | null;
|
|
1472
|
+
avgHourlyRatePaid: number | null;
|
|
1473
|
+
companyId: string | null;
|
|
1474
|
+
} | null;
|
|
1475
|
+
campaignId?: string | null | undefined;
|
|
1476
|
+
} | undefined;
|
|
1477
|
+
}[];
|
|
1478
|
+
pagination: {
|
|
1479
|
+
total: number;
|
|
1480
|
+
nextCursor: string | null;
|
|
1481
|
+
hasMore: boolean;
|
|
1482
|
+
limit: number;
|
|
1483
|
+
};
|
|
1484
|
+
}>;
|
|
1485
|
+
export type GetPipelineListRoomsResponse = z.infer<typeof getPipelineListRoomsResponseSchema>;
|
|
957
1486
|
export declare const roomTagSchema: z.ZodObject<{
|
|
958
1487
|
id: z.ZodString;
|
|
959
1488
|
name: z.ZodString;
|
|
@@ -1002,16 +1531,117 @@ export declare const updateRoomNotesRequestBodySchema: z.ZodObject<{
|
|
|
1002
1531
|
}>;
|
|
1003
1532
|
export type UpdateRoomNotesRequestBody = z.infer<typeof updateRoomNotesRequestBodySchema>;
|
|
1004
1533
|
export declare const updateRoomCrmStatusRequestBodySchema: z.ZodObject<{
|
|
1005
|
-
status: z.
|
|
1534
|
+
status: z.ZodString;
|
|
1006
1535
|
archivedReason: z.ZodOptional<z.ZodEnum<["completed", "not_fit", "lost", "no_response", "other"]>>;
|
|
1007
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1008
|
-
status:
|
|
1009
|
-
archivedReason?: "completed" | "other" | "
|
|
1537
|
+
status: string;
|
|
1538
|
+
archivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | undefined;
|
|
1010
1539
|
}, {
|
|
1011
|
-
status:
|
|
1012
|
-
archivedReason?: "completed" | "other" | "
|
|
1540
|
+
status: string;
|
|
1541
|
+
archivedReason?: "completed" | "other" | "lost" | "not_fit" | "no_response" | undefined;
|
|
1013
1542
|
}>;
|
|
1014
1543
|
export type UpdateRoomCrmStatusRequestBody = z.infer<typeof updateRoomCrmStatusRequestBodySchema>;
|
|
1544
|
+
export declare const updateRoomDealValueRequestBodySchema: z.ZodObject<{
|
|
1545
|
+
dealValue: z.ZodNullable<z.ZodNumber>;
|
|
1546
|
+
}, "strip", z.ZodTypeAny, {
|
|
1547
|
+
dealValue: number | null;
|
|
1548
|
+
}, {
|
|
1549
|
+
dealValue: number | null;
|
|
1550
|
+
}>;
|
|
1551
|
+
export type UpdateRoomDealValueRequestBody = z.infer<typeof updateRoomDealValueRequestBodySchema>;
|
|
1552
|
+
export declare const roomTaskSchema: z.ZodObject<{
|
|
1553
|
+
id: z.ZodString;
|
|
1554
|
+
roomId: z.ZodString;
|
|
1555
|
+
title: z.ZodString;
|
|
1556
|
+
completed: z.ZodBoolean;
|
|
1557
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1558
|
+
createdAt: z.ZodNumber;
|
|
1559
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1561
|
+
organizationId: z.ZodString;
|
|
1562
|
+
bidderAccountId: z.ZodString;
|
|
1563
|
+
}, "strip", z.ZodTypeAny, {
|
|
1564
|
+
id: string;
|
|
1565
|
+
title: string;
|
|
1566
|
+
completed: boolean;
|
|
1567
|
+
organizationId: string;
|
|
1568
|
+
createdAt: number;
|
|
1569
|
+
bidderAccountId: string;
|
|
1570
|
+
roomId: string;
|
|
1571
|
+
updatedAt?: number | undefined;
|
|
1572
|
+
dueDate?: number | null | undefined;
|
|
1573
|
+
completedAt?: number | null | undefined;
|
|
1574
|
+
}, {
|
|
1575
|
+
id: string;
|
|
1576
|
+
title: string;
|
|
1577
|
+
completed: boolean;
|
|
1578
|
+
organizationId: string;
|
|
1579
|
+
createdAt: number;
|
|
1580
|
+
bidderAccountId: string;
|
|
1581
|
+
roomId: string;
|
|
1582
|
+
updatedAt?: number | undefined;
|
|
1583
|
+
dueDate?: number | null | undefined;
|
|
1584
|
+
completedAt?: number | null | undefined;
|
|
1585
|
+
}>;
|
|
1586
|
+
export type RoomTask = z.infer<typeof roomTaskSchema>;
|
|
1587
|
+
export declare const createRoomTaskRequestBodySchema: z.ZodObject<{
|
|
1588
|
+
title: z.ZodString;
|
|
1589
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1590
|
+
}, "strip", z.ZodTypeAny, {
|
|
1591
|
+
title: string;
|
|
1592
|
+
dueDate?: number | null | undefined;
|
|
1593
|
+
}, {
|
|
1594
|
+
title: string;
|
|
1595
|
+
dueDate?: number | null | undefined;
|
|
1596
|
+
}>;
|
|
1597
|
+
export type CreateRoomTaskRequestBody = z.infer<typeof createRoomTaskRequestBodySchema>;
|
|
1598
|
+
export declare const updateRoomTaskRequestBodySchema: z.ZodObject<{
|
|
1599
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1602
|
+
}, "strip", z.ZodTypeAny, {
|
|
1603
|
+
title?: string | undefined;
|
|
1604
|
+
completed?: boolean | undefined;
|
|
1605
|
+
dueDate?: number | null | undefined;
|
|
1606
|
+
}, {
|
|
1607
|
+
title?: string | undefined;
|
|
1608
|
+
completed?: boolean | undefined;
|
|
1609
|
+
dueDate?: number | null | undefined;
|
|
1610
|
+
}>;
|
|
1611
|
+
export type UpdateRoomTaskRequestBody = z.infer<typeof updateRoomTaskRequestBodySchema>;
|
|
1612
|
+
export declare const updatePipelineColumnsRequestBodySchema: z.ZodObject<{
|
|
1613
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1614
|
+
id: z.ZodString;
|
|
1615
|
+
label: z.ZodString;
|
|
1616
|
+
color: z.ZodString;
|
|
1617
|
+
position: z.ZodNumber;
|
|
1618
|
+
}, "strip", z.ZodTypeAny, {
|
|
1619
|
+
id: string;
|
|
1620
|
+
color: string;
|
|
1621
|
+
position: number;
|
|
1622
|
+
label: string;
|
|
1623
|
+
}, {
|
|
1624
|
+
id: string;
|
|
1625
|
+
color: string;
|
|
1626
|
+
position: number;
|
|
1627
|
+
label: string;
|
|
1628
|
+
}>, "many">;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
|
+
columns: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
color: string;
|
|
1633
|
+
position: number;
|
|
1634
|
+
label: string;
|
|
1635
|
+
}[];
|
|
1636
|
+
}, {
|
|
1637
|
+
columns: {
|
|
1638
|
+
id: string;
|
|
1639
|
+
color: string;
|
|
1640
|
+
position: number;
|
|
1641
|
+
label: string;
|
|
1642
|
+
}[];
|
|
1643
|
+
}>;
|
|
1644
|
+
export type UpdatePipelineColumnsRequestBody = z.infer<typeof updatePipelineColumnsRequestBodySchema>;
|
|
1015
1645
|
export declare const sendMessageRequestSchema: z.ZodObject<{
|
|
1016
1646
|
message: z.ZodString;
|
|
1017
1647
|
file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
|