@dakkitor/api-contracts 1.9.1 → 1.9.3
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/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +31 -1
- package/dist/abilities/abilities.contract.spec.js +52 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +32 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +7200 -6919
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
- package/dist/auth/auth.contract.d.ts +85 -85
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +10542 -10116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +315 -140
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +9230 -4114
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +362 -16
- package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
- package/dist/collaborations/collaborations.contract.d.ts +538 -538
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
- package/dist/curated-worker-leads/contact-history.spec.js +86 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +5586 -3381
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
- package/dist/leads/leads.contract.d.ts +210 -210
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +512 -40
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/own-research/own-research.contract.d.ts +196 -130
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
- package/dist/users/users.contract.d.ts +236 -236
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
- package/dist/workers/workers.contract.d.ts +2620 -2420
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -207,13 +207,13 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
207
207
|
firstName: string;
|
|
208
208
|
}[] | undefined;
|
|
209
209
|
} | null | undefined;
|
|
210
|
+
deletedAt?: string | null | undefined;
|
|
210
211
|
canImpersonateUsers?: {
|
|
211
212
|
id: string;
|
|
212
213
|
lastName: string;
|
|
213
214
|
firstName: string;
|
|
214
215
|
}[] | undefined;
|
|
215
216
|
dialpadUserId?: string | null | undefined;
|
|
216
|
-
deletedAt?: string | null | undefined;
|
|
217
217
|
}, {
|
|
218
218
|
email: string;
|
|
219
219
|
createdAt: string | Date;
|
|
@@ -239,13 +239,13 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
239
239
|
description?: string | null | undefined;
|
|
240
240
|
isPrimary?: boolean | undefined;
|
|
241
241
|
}[] | undefined;
|
|
242
|
+
deletedAt?: string | Date | null | undefined;
|
|
242
243
|
canImpersonateUsers?: {
|
|
243
244
|
id: string;
|
|
244
245
|
lastName: string;
|
|
245
246
|
firstName: string;
|
|
246
247
|
}[] | undefined;
|
|
247
248
|
dialpadUserId?: string | null | undefined;
|
|
248
|
-
deletedAt?: string | Date | null | undefined;
|
|
249
249
|
}>>>;
|
|
250
250
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
251
251
|
userId: z.ZodString;
|
|
@@ -257,12 +257,6 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
257
257
|
id: string;
|
|
258
258
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
259
259
|
userId: string;
|
|
260
|
-
company?: {
|
|
261
|
-
name: string;
|
|
262
|
-
createdAt: string;
|
|
263
|
-
updatedAt: string;
|
|
264
|
-
id: string;
|
|
265
|
-
} | null | undefined;
|
|
266
260
|
user?: {
|
|
267
261
|
email: string;
|
|
268
262
|
createdAt: string;
|
|
@@ -288,13 +282,19 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
288
282
|
firstName: string;
|
|
289
283
|
}[] | undefined;
|
|
290
284
|
} | null | undefined;
|
|
285
|
+
deletedAt?: string | null | undefined;
|
|
291
286
|
canImpersonateUsers?: {
|
|
292
287
|
id: string;
|
|
293
288
|
lastName: string;
|
|
294
289
|
firstName: string;
|
|
295
290
|
}[] | undefined;
|
|
296
291
|
dialpadUserId?: string | null | undefined;
|
|
297
|
-
|
|
292
|
+
} | null | undefined;
|
|
293
|
+
company?: {
|
|
294
|
+
name: string;
|
|
295
|
+
createdAt: string;
|
|
296
|
+
updatedAt: string;
|
|
297
|
+
id: string;
|
|
298
298
|
} | null | undefined;
|
|
299
299
|
client?: {
|
|
300
300
|
name: string;
|
|
@@ -323,12 +323,6 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
323
323
|
id: string;
|
|
324
324
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
325
325
|
userId: string;
|
|
326
|
-
company?: {
|
|
327
|
-
name: string;
|
|
328
|
-
createdAt: string | Date;
|
|
329
|
-
updatedAt: string | Date;
|
|
330
|
-
id: string;
|
|
331
|
-
} | null | undefined;
|
|
332
326
|
user?: {
|
|
333
327
|
email: string;
|
|
334
328
|
createdAt: string | Date;
|
|
@@ -354,13 +348,19 @@ export declare const BaseCollaborationSchema: z.ZodObject<{
|
|
|
354
348
|
description?: string | null | undefined;
|
|
355
349
|
isPrimary?: boolean | undefined;
|
|
356
350
|
}[] | undefined;
|
|
351
|
+
deletedAt?: string | Date | null | undefined;
|
|
357
352
|
canImpersonateUsers?: {
|
|
358
353
|
id: string;
|
|
359
354
|
lastName: string;
|
|
360
355
|
firstName: string;
|
|
361
356
|
}[] | undefined;
|
|
362
357
|
dialpadUserId?: string | null | undefined;
|
|
363
|
-
|
|
358
|
+
} | null | undefined;
|
|
359
|
+
company?: {
|
|
360
|
+
name: string;
|
|
361
|
+
createdAt: string | Date;
|
|
362
|
+
updatedAt: string | Date;
|
|
363
|
+
id: string;
|
|
364
364
|
} | null | undefined;
|
|
365
365
|
client?: {
|
|
366
366
|
name: string;
|
|
@@ -579,13 +579,13 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
579
579
|
firstName: string;
|
|
580
580
|
}[] | undefined;
|
|
581
581
|
} | null | undefined;
|
|
582
|
+
deletedAt?: string | null | undefined;
|
|
582
583
|
canImpersonateUsers?: {
|
|
583
584
|
id: string;
|
|
584
585
|
lastName: string;
|
|
585
586
|
firstName: string;
|
|
586
587
|
}[] | undefined;
|
|
587
588
|
dialpadUserId?: string | null | undefined;
|
|
588
|
-
deletedAt?: string | null | undefined;
|
|
589
589
|
}, {
|
|
590
590
|
email: string;
|
|
591
591
|
createdAt: string | Date;
|
|
@@ -611,13 +611,13 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
611
611
|
description?: string | null | undefined;
|
|
612
612
|
isPrimary?: boolean | undefined;
|
|
613
613
|
}[] | undefined;
|
|
614
|
+
deletedAt?: string | Date | null | undefined;
|
|
614
615
|
canImpersonateUsers?: {
|
|
615
616
|
id: string;
|
|
616
617
|
lastName: string;
|
|
617
618
|
firstName: string;
|
|
618
619
|
}[] | undefined;
|
|
619
620
|
dialpadUserId?: string | null | undefined;
|
|
620
|
-
deletedAt?: string | Date | null | undefined;
|
|
621
621
|
}>>>;
|
|
622
622
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
623
623
|
userId: z.ZodString;
|
|
@@ -816,13 +816,13 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
816
816
|
firstName: string;
|
|
817
817
|
}[] | undefined;
|
|
818
818
|
} | null | undefined;
|
|
819
|
+
deletedAt?: string | null | undefined;
|
|
819
820
|
canImpersonateUsers?: {
|
|
820
821
|
id: string;
|
|
821
822
|
lastName: string;
|
|
822
823
|
firstName: string;
|
|
823
824
|
}[] | undefined;
|
|
824
825
|
dialpadUserId?: string | null | undefined;
|
|
825
|
-
deletedAt?: string | null | undefined;
|
|
826
826
|
}, {
|
|
827
827
|
email: string;
|
|
828
828
|
createdAt: string | Date;
|
|
@@ -848,13 +848,13 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
848
848
|
description?: string | null | undefined;
|
|
849
849
|
isPrimary?: boolean | undefined;
|
|
850
850
|
}[] | undefined;
|
|
851
|
+
deletedAt?: string | Date | null | undefined;
|
|
851
852
|
canImpersonateUsers?: {
|
|
852
853
|
id: string;
|
|
853
854
|
lastName: string;
|
|
854
855
|
firstName: string;
|
|
855
856
|
}[] | undefined;
|
|
856
857
|
dialpadUserId?: string | null | undefined;
|
|
857
|
-
deletedAt?: string | Date | null | undefined;
|
|
858
858
|
}>>>;
|
|
859
859
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
860
860
|
userId: z.ZodString;
|
|
@@ -866,12 +866,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
866
866
|
id: string;
|
|
867
867
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
868
868
|
userId: string;
|
|
869
|
-
company?: {
|
|
870
|
-
name: string;
|
|
871
|
-
createdAt: string;
|
|
872
|
-
updatedAt: string;
|
|
873
|
-
id: string;
|
|
874
|
-
} | null | undefined;
|
|
875
869
|
user?: {
|
|
876
870
|
email: string;
|
|
877
871
|
createdAt: string;
|
|
@@ -897,13 +891,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
897
891
|
firstName: string;
|
|
898
892
|
}[] | undefined;
|
|
899
893
|
} | null | undefined;
|
|
894
|
+
deletedAt?: string | null | undefined;
|
|
900
895
|
canImpersonateUsers?: {
|
|
901
896
|
id: string;
|
|
902
897
|
lastName: string;
|
|
903
898
|
firstName: string;
|
|
904
899
|
}[] | undefined;
|
|
905
900
|
dialpadUserId?: string | null | undefined;
|
|
906
|
-
|
|
901
|
+
} | null | undefined;
|
|
902
|
+
company?: {
|
|
903
|
+
name: string;
|
|
904
|
+
createdAt: string;
|
|
905
|
+
updatedAt: string;
|
|
906
|
+
id: string;
|
|
907
907
|
} | null | undefined;
|
|
908
908
|
client?: {
|
|
909
909
|
name: string;
|
|
@@ -932,12 +932,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
932
932
|
id: string;
|
|
933
933
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
934
934
|
userId: string;
|
|
935
|
-
company?: {
|
|
936
|
-
name: string;
|
|
937
|
-
createdAt: string | Date;
|
|
938
|
-
updatedAt: string | Date;
|
|
939
|
-
id: string;
|
|
940
|
-
} | null | undefined;
|
|
941
935
|
user?: {
|
|
942
936
|
email: string;
|
|
943
937
|
createdAt: string | Date;
|
|
@@ -963,13 +957,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
963
957
|
description?: string | null | undefined;
|
|
964
958
|
isPrimary?: boolean | undefined;
|
|
965
959
|
}[] | undefined;
|
|
960
|
+
deletedAt?: string | Date | null | undefined;
|
|
966
961
|
canImpersonateUsers?: {
|
|
967
962
|
id: string;
|
|
968
963
|
lastName: string;
|
|
969
964
|
firstName: string;
|
|
970
965
|
}[] | undefined;
|
|
971
966
|
dialpadUserId?: string | null | undefined;
|
|
972
|
-
|
|
967
|
+
} | null | undefined;
|
|
968
|
+
company?: {
|
|
969
|
+
name: string;
|
|
970
|
+
createdAt: string | Date;
|
|
971
|
+
updatedAt: string | Date;
|
|
972
|
+
id: string;
|
|
973
973
|
} | null | undefined;
|
|
974
974
|
client?: {
|
|
975
975
|
name: string;
|
|
@@ -999,12 +999,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
999
999
|
id: string;
|
|
1000
1000
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
1001
1001
|
userId: string;
|
|
1002
|
-
company?: {
|
|
1003
|
-
name: string;
|
|
1004
|
-
createdAt: string;
|
|
1005
|
-
updatedAt: string;
|
|
1006
|
-
id: string;
|
|
1007
|
-
} | null | undefined;
|
|
1008
1002
|
user?: {
|
|
1009
1003
|
email: string;
|
|
1010
1004
|
createdAt: string;
|
|
@@ -1030,13 +1024,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1030
1024
|
firstName: string;
|
|
1031
1025
|
}[] | undefined;
|
|
1032
1026
|
} | null | undefined;
|
|
1027
|
+
deletedAt?: string | null | undefined;
|
|
1033
1028
|
canImpersonateUsers?: {
|
|
1034
1029
|
id: string;
|
|
1035
1030
|
lastName: string;
|
|
1036
1031
|
firstName: string;
|
|
1037
1032
|
}[] | undefined;
|
|
1038
1033
|
dialpadUserId?: string | null | undefined;
|
|
1039
|
-
|
|
1034
|
+
} | null | undefined;
|
|
1035
|
+
company?: {
|
|
1036
|
+
name: string;
|
|
1037
|
+
createdAt: string;
|
|
1038
|
+
updatedAt: string;
|
|
1039
|
+
id: string;
|
|
1040
1040
|
} | null | undefined;
|
|
1041
1041
|
client?: {
|
|
1042
1042
|
name: string;
|
|
@@ -1065,12 +1065,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1065
1065
|
id: string;
|
|
1066
1066
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
1067
1067
|
userId: string;
|
|
1068
|
-
company?: {
|
|
1069
|
-
name: string;
|
|
1070
|
-
createdAt: string;
|
|
1071
|
-
updatedAt: string;
|
|
1072
|
-
id: string;
|
|
1073
|
-
} | null | undefined;
|
|
1074
1068
|
user?: {
|
|
1075
1069
|
email: string;
|
|
1076
1070
|
createdAt: string;
|
|
@@ -1096,13 +1090,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1096
1090
|
firstName: string;
|
|
1097
1091
|
}[] | undefined;
|
|
1098
1092
|
} | null | undefined;
|
|
1093
|
+
deletedAt?: string | null | undefined;
|
|
1099
1094
|
canImpersonateUsers?: {
|
|
1100
1095
|
id: string;
|
|
1101
1096
|
lastName: string;
|
|
1102
1097
|
firstName: string;
|
|
1103
1098
|
}[] | undefined;
|
|
1104
1099
|
dialpadUserId?: string | null | undefined;
|
|
1105
|
-
|
|
1100
|
+
} | null | undefined;
|
|
1101
|
+
company?: {
|
|
1102
|
+
name: string;
|
|
1103
|
+
createdAt: string;
|
|
1104
|
+
updatedAt: string;
|
|
1105
|
+
id: string;
|
|
1106
1106
|
} | null | undefined;
|
|
1107
1107
|
client?: {
|
|
1108
1108
|
name: string;
|
|
@@ -1132,12 +1132,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1132
1132
|
id: string;
|
|
1133
1133
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
1134
1134
|
userId: string;
|
|
1135
|
-
company?: {
|
|
1136
|
-
name: string;
|
|
1137
|
-
createdAt: string | Date;
|
|
1138
|
-
updatedAt: string | Date;
|
|
1139
|
-
id: string;
|
|
1140
|
-
} | null | undefined;
|
|
1141
1135
|
user?: {
|
|
1142
1136
|
email: string;
|
|
1143
1137
|
createdAt: string | Date;
|
|
@@ -1163,13 +1157,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1163
1157
|
description?: string | null | undefined;
|
|
1164
1158
|
isPrimary?: boolean | undefined;
|
|
1165
1159
|
}[] | undefined;
|
|
1160
|
+
deletedAt?: string | Date | null | undefined;
|
|
1166
1161
|
canImpersonateUsers?: {
|
|
1167
1162
|
id: string;
|
|
1168
1163
|
lastName: string;
|
|
1169
1164
|
firstName: string;
|
|
1170
1165
|
}[] | undefined;
|
|
1171
1166
|
dialpadUserId?: string | null | undefined;
|
|
1172
|
-
|
|
1167
|
+
} | null | undefined;
|
|
1168
|
+
company?: {
|
|
1169
|
+
name: string;
|
|
1170
|
+
createdAt: string | Date;
|
|
1171
|
+
updatedAt: string | Date;
|
|
1172
|
+
id: string;
|
|
1173
1173
|
} | null | undefined;
|
|
1174
1174
|
client?: {
|
|
1175
1175
|
name: string;
|
|
@@ -1198,12 +1198,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
1200
1200
|
userId: string;
|
|
1201
|
-
company?: {
|
|
1202
|
-
name: string;
|
|
1203
|
-
createdAt: string | Date;
|
|
1204
|
-
updatedAt: string | Date;
|
|
1205
|
-
id: string;
|
|
1206
|
-
} | null | undefined;
|
|
1207
1201
|
user?: {
|
|
1208
1202
|
email: string;
|
|
1209
1203
|
createdAt: string | Date;
|
|
@@ -1229,13 +1223,19 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
1229
1223
|
description?: string | null | undefined;
|
|
1230
1224
|
isPrimary?: boolean | undefined;
|
|
1231
1225
|
}[] | undefined;
|
|
1226
|
+
deletedAt?: string | Date | null | undefined;
|
|
1232
1227
|
canImpersonateUsers?: {
|
|
1233
1228
|
id: string;
|
|
1234
1229
|
lastName: string;
|
|
1235
1230
|
firstName: string;
|
|
1236
1231
|
}[] | undefined;
|
|
1237
1232
|
dialpadUserId?: string | null | undefined;
|
|
1238
|
-
|
|
1233
|
+
} | null | undefined;
|
|
1234
|
+
company?: {
|
|
1235
|
+
name: string;
|
|
1236
|
+
createdAt: string | Date;
|
|
1237
|
+
updatedAt: string | Date;
|
|
1238
|
+
id: string;
|
|
1239
1239
|
} | null | undefined;
|
|
1240
1240
|
client?: {
|
|
1241
1241
|
name: string;
|
|
@@ -1332,18 +1332,18 @@ export declare const UpdateCollaborationSchema: z.ZodObject<{
|
|
|
1332
1332
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>>;
|
|
1333
1333
|
}, "strip", z.ZodTypeAny, {
|
|
1334
1334
|
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT" | undefined;
|
|
1335
|
-
|
|
1335
|
+
user?: {
|
|
1336
1336
|
id: string;
|
|
1337
1337
|
} | undefined;
|
|
1338
|
-
|
|
1338
|
+
company?: {
|
|
1339
1339
|
id: string;
|
|
1340
1340
|
} | undefined;
|
|
1341
1341
|
}, {
|
|
1342
1342
|
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT" | undefined;
|
|
1343
|
-
|
|
1343
|
+
user?: {
|
|
1344
1344
|
id: string;
|
|
1345
1345
|
} | undefined;
|
|
1346
|
-
|
|
1346
|
+
company?: {
|
|
1347
1347
|
id: string;
|
|
1348
1348
|
} | undefined;
|
|
1349
1349
|
}>;
|
|
@@ -1472,26 +1472,26 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
1472
1472
|
isFuzzy: z.ZodOptional<z.ZodBoolean>;
|
|
1473
1473
|
}, "strip", z.ZodTypeAny, {
|
|
1474
1474
|
id: string;
|
|
1475
|
-
company: {
|
|
1476
|
-
name: string;
|
|
1477
|
-
};
|
|
1478
1475
|
user: {
|
|
1479
1476
|
lastName: string;
|
|
1480
1477
|
firstName: string;
|
|
1481
1478
|
};
|
|
1479
|
+
company: {
|
|
1480
|
+
name: string;
|
|
1481
|
+
};
|
|
1482
1482
|
client: {
|
|
1483
1483
|
name: string;
|
|
1484
1484
|
};
|
|
1485
1485
|
isFuzzy?: boolean | undefined;
|
|
1486
1486
|
}, {
|
|
1487
1487
|
id: string;
|
|
1488
|
-
company: {
|
|
1489
|
-
name: string;
|
|
1490
|
-
};
|
|
1491
1488
|
user: {
|
|
1492
1489
|
lastName: string;
|
|
1493
1490
|
firstName: string;
|
|
1494
1491
|
};
|
|
1492
|
+
company: {
|
|
1493
|
+
name: string;
|
|
1494
|
+
};
|
|
1495
1495
|
client: {
|
|
1496
1496
|
name: string;
|
|
1497
1497
|
};
|
|
@@ -1526,26 +1526,26 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
1526
1526
|
isFuzzy: z.ZodOptional<z.ZodBoolean>;
|
|
1527
1527
|
}, "strip", z.ZodTypeAny, {
|
|
1528
1528
|
id: string;
|
|
1529
|
-
company: {
|
|
1530
|
-
name: string;
|
|
1531
|
-
};
|
|
1532
1529
|
user: {
|
|
1533
1530
|
lastName: string;
|
|
1534
1531
|
firstName: string;
|
|
1535
1532
|
};
|
|
1533
|
+
company: {
|
|
1534
|
+
name: string;
|
|
1535
|
+
};
|
|
1536
1536
|
client: {
|
|
1537
1537
|
name: string;
|
|
1538
1538
|
};
|
|
1539
1539
|
isFuzzy?: boolean | undefined;
|
|
1540
1540
|
}, {
|
|
1541
1541
|
id: string;
|
|
1542
|
-
company: {
|
|
1543
|
-
name: string;
|
|
1544
|
-
};
|
|
1545
1542
|
user: {
|
|
1546
1543
|
lastName: string;
|
|
1547
1544
|
firstName: string;
|
|
1548
1545
|
};
|
|
1546
|
+
company: {
|
|
1547
|
+
name: string;
|
|
1548
|
+
};
|
|
1549
1549
|
client: {
|
|
1550
1550
|
name: string;
|
|
1551
1551
|
};
|
|
@@ -1758,13 +1758,13 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1758
1758
|
firstName: string;
|
|
1759
1759
|
}[] | undefined;
|
|
1760
1760
|
} | null | undefined;
|
|
1761
|
+
deletedAt?: string | null | undefined;
|
|
1761
1762
|
canImpersonateUsers?: {
|
|
1762
1763
|
id: string;
|
|
1763
1764
|
lastName: string;
|
|
1764
1765
|
firstName: string;
|
|
1765
1766
|
}[] | undefined;
|
|
1766
1767
|
dialpadUserId?: string | null | undefined;
|
|
1767
|
-
deletedAt?: string | null | undefined;
|
|
1768
1768
|
}, {
|
|
1769
1769
|
email: string;
|
|
1770
1770
|
createdAt: string | Date;
|
|
@@ -1790,13 +1790,13 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1790
1790
|
description?: string | null | undefined;
|
|
1791
1791
|
isPrimary?: boolean | undefined;
|
|
1792
1792
|
}[] | undefined;
|
|
1793
|
+
deletedAt?: string | Date | null | undefined;
|
|
1793
1794
|
canImpersonateUsers?: {
|
|
1794
1795
|
id: string;
|
|
1795
1796
|
lastName: string;
|
|
1796
1797
|
firstName: string;
|
|
1797
1798
|
}[] | undefined;
|
|
1798
1799
|
dialpadUserId?: string | null | undefined;
|
|
1799
|
-
deletedAt?: string | Date | null | undefined;
|
|
1800
1800
|
}>>>;
|
|
1801
1801
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
1802
1802
|
userId: z.ZodString;
|
|
@@ -1995,13 +1995,13 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1995
1995
|
firstName: string;
|
|
1996
1996
|
}[] | undefined;
|
|
1997
1997
|
} | null | undefined;
|
|
1998
|
+
deletedAt?: string | null | undefined;
|
|
1998
1999
|
canImpersonateUsers?: {
|
|
1999
2000
|
id: string;
|
|
2000
2001
|
lastName: string;
|
|
2001
2002
|
firstName: string;
|
|
2002
2003
|
}[] | undefined;
|
|
2003
2004
|
dialpadUserId?: string | null | undefined;
|
|
2004
|
-
deletedAt?: string | null | undefined;
|
|
2005
2005
|
}, {
|
|
2006
2006
|
email: string;
|
|
2007
2007
|
createdAt: string | Date;
|
|
@@ -2027,13 +2027,13 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2027
2027
|
description?: string | null | undefined;
|
|
2028
2028
|
isPrimary?: boolean | undefined;
|
|
2029
2029
|
}[] | undefined;
|
|
2030
|
+
deletedAt?: string | Date | null | undefined;
|
|
2030
2031
|
canImpersonateUsers?: {
|
|
2031
2032
|
id: string;
|
|
2032
2033
|
lastName: string;
|
|
2033
2034
|
firstName: string;
|
|
2034
2035
|
}[] | undefined;
|
|
2035
2036
|
dialpadUserId?: string | null | undefined;
|
|
2036
|
-
deletedAt?: string | Date | null | undefined;
|
|
2037
2037
|
}>>>;
|
|
2038
2038
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
2039
2039
|
userId: z.ZodString;
|
|
@@ -2045,12 +2045,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2045
2045
|
id: string;
|
|
2046
2046
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2047
2047
|
userId: string;
|
|
2048
|
-
company?: {
|
|
2049
|
-
name: string;
|
|
2050
|
-
createdAt: string;
|
|
2051
|
-
updatedAt: string;
|
|
2052
|
-
id: string;
|
|
2053
|
-
} | null | undefined;
|
|
2054
2048
|
user?: {
|
|
2055
2049
|
email: string;
|
|
2056
2050
|
createdAt: string;
|
|
@@ -2076,13 +2070,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2076
2070
|
firstName: string;
|
|
2077
2071
|
}[] | undefined;
|
|
2078
2072
|
} | null | undefined;
|
|
2073
|
+
deletedAt?: string | null | undefined;
|
|
2079
2074
|
canImpersonateUsers?: {
|
|
2080
2075
|
id: string;
|
|
2081
2076
|
lastName: string;
|
|
2082
2077
|
firstName: string;
|
|
2083
2078
|
}[] | undefined;
|
|
2084
2079
|
dialpadUserId?: string | null | undefined;
|
|
2085
|
-
|
|
2080
|
+
} | null | undefined;
|
|
2081
|
+
company?: {
|
|
2082
|
+
name: string;
|
|
2083
|
+
createdAt: string;
|
|
2084
|
+
updatedAt: string;
|
|
2085
|
+
id: string;
|
|
2086
2086
|
} | null | undefined;
|
|
2087
2087
|
client?: {
|
|
2088
2088
|
name: string;
|
|
@@ -2111,12 +2111,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2111
2111
|
id: string;
|
|
2112
2112
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2113
2113
|
userId: string;
|
|
2114
|
-
company?: {
|
|
2115
|
-
name: string;
|
|
2116
|
-
createdAt: string | Date;
|
|
2117
|
-
updatedAt: string | Date;
|
|
2118
|
-
id: string;
|
|
2119
|
-
} | null | undefined;
|
|
2120
2114
|
user?: {
|
|
2121
2115
|
email: string;
|
|
2122
2116
|
createdAt: string | Date;
|
|
@@ -2142,13 +2136,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2142
2136
|
description?: string | null | undefined;
|
|
2143
2137
|
isPrimary?: boolean | undefined;
|
|
2144
2138
|
}[] | undefined;
|
|
2139
|
+
deletedAt?: string | Date | null | undefined;
|
|
2145
2140
|
canImpersonateUsers?: {
|
|
2146
2141
|
id: string;
|
|
2147
2142
|
lastName: string;
|
|
2148
2143
|
firstName: string;
|
|
2149
2144
|
}[] | undefined;
|
|
2150
2145
|
dialpadUserId?: string | null | undefined;
|
|
2151
|
-
|
|
2146
|
+
} | null | undefined;
|
|
2147
|
+
company?: {
|
|
2148
|
+
name: string;
|
|
2149
|
+
createdAt: string | Date;
|
|
2150
|
+
updatedAt: string | Date;
|
|
2151
|
+
id: string;
|
|
2152
2152
|
} | null | undefined;
|
|
2153
2153
|
client?: {
|
|
2154
2154
|
name: string;
|
|
@@ -2178,12 +2178,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2178
2178
|
id: string;
|
|
2179
2179
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2180
2180
|
userId: string;
|
|
2181
|
-
company?: {
|
|
2182
|
-
name: string;
|
|
2183
|
-
createdAt: string;
|
|
2184
|
-
updatedAt: string;
|
|
2185
|
-
id: string;
|
|
2186
|
-
} | null | undefined;
|
|
2187
2181
|
user?: {
|
|
2188
2182
|
email: string;
|
|
2189
2183
|
createdAt: string;
|
|
@@ -2209,13 +2203,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2209
2203
|
firstName: string;
|
|
2210
2204
|
}[] | undefined;
|
|
2211
2205
|
} | null | undefined;
|
|
2206
|
+
deletedAt?: string | null | undefined;
|
|
2212
2207
|
canImpersonateUsers?: {
|
|
2213
2208
|
id: string;
|
|
2214
2209
|
lastName: string;
|
|
2215
2210
|
firstName: string;
|
|
2216
2211
|
}[] | undefined;
|
|
2217
2212
|
dialpadUserId?: string | null | undefined;
|
|
2218
|
-
|
|
2213
|
+
} | null | undefined;
|
|
2214
|
+
company?: {
|
|
2215
|
+
name: string;
|
|
2216
|
+
createdAt: string;
|
|
2217
|
+
updatedAt: string;
|
|
2218
|
+
id: string;
|
|
2219
2219
|
} | null | undefined;
|
|
2220
2220
|
client?: {
|
|
2221
2221
|
name: string;
|
|
@@ -2244,12 +2244,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2244
2244
|
id: string;
|
|
2245
2245
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2246
2246
|
userId: string;
|
|
2247
|
-
company?: {
|
|
2248
|
-
name: string;
|
|
2249
|
-
createdAt: string;
|
|
2250
|
-
updatedAt: string;
|
|
2251
|
-
id: string;
|
|
2252
|
-
} | null | undefined;
|
|
2253
2247
|
user?: {
|
|
2254
2248
|
email: string;
|
|
2255
2249
|
createdAt: string;
|
|
@@ -2275,13 +2269,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2275
2269
|
firstName: string;
|
|
2276
2270
|
}[] | undefined;
|
|
2277
2271
|
} | null | undefined;
|
|
2272
|
+
deletedAt?: string | null | undefined;
|
|
2278
2273
|
canImpersonateUsers?: {
|
|
2279
2274
|
id: string;
|
|
2280
2275
|
lastName: string;
|
|
2281
2276
|
firstName: string;
|
|
2282
2277
|
}[] | undefined;
|
|
2283
2278
|
dialpadUserId?: string | null | undefined;
|
|
2284
|
-
|
|
2279
|
+
} | null | undefined;
|
|
2280
|
+
company?: {
|
|
2281
|
+
name: string;
|
|
2282
|
+
createdAt: string;
|
|
2283
|
+
updatedAt: string;
|
|
2284
|
+
id: string;
|
|
2285
2285
|
} | null | undefined;
|
|
2286
2286
|
client?: {
|
|
2287
2287
|
name: string;
|
|
@@ -2311,12 +2311,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2311
2311
|
id: string;
|
|
2312
2312
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2313
2313
|
userId: string;
|
|
2314
|
-
company?: {
|
|
2315
|
-
name: string;
|
|
2316
|
-
createdAt: string | Date;
|
|
2317
|
-
updatedAt: string | Date;
|
|
2318
|
-
id: string;
|
|
2319
|
-
} | null | undefined;
|
|
2320
2314
|
user?: {
|
|
2321
2315
|
email: string;
|
|
2322
2316
|
createdAt: string | Date;
|
|
@@ -2342,13 +2336,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2342
2336
|
description?: string | null | undefined;
|
|
2343
2337
|
isPrimary?: boolean | undefined;
|
|
2344
2338
|
}[] | undefined;
|
|
2339
|
+
deletedAt?: string | Date | null | undefined;
|
|
2345
2340
|
canImpersonateUsers?: {
|
|
2346
2341
|
id: string;
|
|
2347
2342
|
lastName: string;
|
|
2348
2343
|
firstName: string;
|
|
2349
2344
|
}[] | undefined;
|
|
2350
2345
|
dialpadUserId?: string | null | undefined;
|
|
2351
|
-
|
|
2346
|
+
} | null | undefined;
|
|
2347
|
+
company?: {
|
|
2348
|
+
name: string;
|
|
2349
|
+
createdAt: string | Date;
|
|
2350
|
+
updatedAt: string | Date;
|
|
2351
|
+
id: string;
|
|
2352
2352
|
} | null | undefined;
|
|
2353
2353
|
client?: {
|
|
2354
2354
|
name: string;
|
|
@@ -2377,12 +2377,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2377
2377
|
id: string;
|
|
2378
2378
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2379
2379
|
userId: string;
|
|
2380
|
-
company?: {
|
|
2381
|
-
name: string;
|
|
2382
|
-
createdAt: string | Date;
|
|
2383
|
-
updatedAt: string | Date;
|
|
2384
|
-
id: string;
|
|
2385
|
-
} | null | undefined;
|
|
2386
2380
|
user?: {
|
|
2387
2381
|
email: string;
|
|
2388
2382
|
createdAt: string | Date;
|
|
@@ -2408,13 +2402,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2408
2402
|
description?: string | null | undefined;
|
|
2409
2403
|
isPrimary?: boolean | undefined;
|
|
2410
2404
|
}[] | undefined;
|
|
2405
|
+
deletedAt?: string | Date | null | undefined;
|
|
2411
2406
|
canImpersonateUsers?: {
|
|
2412
2407
|
id: string;
|
|
2413
2408
|
lastName: string;
|
|
2414
2409
|
firstName: string;
|
|
2415
2410
|
}[] | undefined;
|
|
2416
2411
|
dialpadUserId?: string | null | undefined;
|
|
2417
|
-
|
|
2412
|
+
} | null | undefined;
|
|
2413
|
+
company?: {
|
|
2414
|
+
name: string;
|
|
2415
|
+
createdAt: string | Date;
|
|
2416
|
+
updatedAt: string | Date;
|
|
2417
|
+
id: string;
|
|
2418
2418
|
} | null | undefined;
|
|
2419
2419
|
client?: {
|
|
2420
2420
|
name: string;
|
|
@@ -2452,12 +2452,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2452
2452
|
id: string;
|
|
2453
2453
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2454
2454
|
userId: string;
|
|
2455
|
-
company?: {
|
|
2456
|
-
name: string;
|
|
2457
|
-
createdAt: string;
|
|
2458
|
-
updatedAt: string;
|
|
2459
|
-
id: string;
|
|
2460
|
-
} | null | undefined;
|
|
2461
2455
|
user?: {
|
|
2462
2456
|
email: string;
|
|
2463
2457
|
createdAt: string;
|
|
@@ -2483,13 +2477,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2483
2477
|
firstName: string;
|
|
2484
2478
|
}[] | undefined;
|
|
2485
2479
|
} | null | undefined;
|
|
2480
|
+
deletedAt?: string | null | undefined;
|
|
2486
2481
|
canImpersonateUsers?: {
|
|
2487
2482
|
id: string;
|
|
2488
2483
|
lastName: string;
|
|
2489
2484
|
firstName: string;
|
|
2490
2485
|
}[] | undefined;
|
|
2491
2486
|
dialpadUserId?: string | null | undefined;
|
|
2492
|
-
|
|
2487
|
+
} | null | undefined;
|
|
2488
|
+
company?: {
|
|
2489
|
+
name: string;
|
|
2490
|
+
createdAt: string;
|
|
2491
|
+
updatedAt: string;
|
|
2492
|
+
id: string;
|
|
2493
2493
|
} | null | undefined;
|
|
2494
2494
|
client?: {
|
|
2495
2495
|
name: string;
|
|
@@ -2518,12 +2518,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2518
2518
|
id: string;
|
|
2519
2519
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2520
2520
|
userId: string;
|
|
2521
|
-
company?: {
|
|
2522
|
-
name: string;
|
|
2523
|
-
createdAt: string;
|
|
2524
|
-
updatedAt: string;
|
|
2525
|
-
id: string;
|
|
2526
|
-
} | null | undefined;
|
|
2527
2521
|
user?: {
|
|
2528
2522
|
email: string;
|
|
2529
2523
|
createdAt: string;
|
|
@@ -2549,13 +2543,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2549
2543
|
firstName: string;
|
|
2550
2544
|
}[] | undefined;
|
|
2551
2545
|
} | null | undefined;
|
|
2546
|
+
deletedAt?: string | null | undefined;
|
|
2552
2547
|
canImpersonateUsers?: {
|
|
2553
2548
|
id: string;
|
|
2554
2549
|
lastName: string;
|
|
2555
2550
|
firstName: string;
|
|
2556
2551
|
}[] | undefined;
|
|
2557
2552
|
dialpadUserId?: string | null | undefined;
|
|
2558
|
-
|
|
2553
|
+
} | null | undefined;
|
|
2554
|
+
company?: {
|
|
2555
|
+
name: string;
|
|
2556
|
+
createdAt: string;
|
|
2557
|
+
updatedAt: string;
|
|
2558
|
+
id: string;
|
|
2559
2559
|
} | null | undefined;
|
|
2560
2560
|
client?: {
|
|
2561
2561
|
name: string;
|
|
@@ -2592,12 +2592,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2592
2592
|
id: string;
|
|
2593
2593
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2594
2594
|
userId: string;
|
|
2595
|
-
company?: {
|
|
2596
|
-
name: string;
|
|
2597
|
-
createdAt: string | Date;
|
|
2598
|
-
updatedAt: string | Date;
|
|
2599
|
-
id: string;
|
|
2600
|
-
} | null | undefined;
|
|
2601
2595
|
user?: {
|
|
2602
2596
|
email: string;
|
|
2603
2597
|
createdAt: string | Date;
|
|
@@ -2623,13 +2617,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2623
2617
|
description?: string | null | undefined;
|
|
2624
2618
|
isPrimary?: boolean | undefined;
|
|
2625
2619
|
}[] | undefined;
|
|
2620
|
+
deletedAt?: string | Date | null | undefined;
|
|
2626
2621
|
canImpersonateUsers?: {
|
|
2627
2622
|
id: string;
|
|
2628
2623
|
lastName: string;
|
|
2629
2624
|
firstName: string;
|
|
2630
2625
|
}[] | undefined;
|
|
2631
2626
|
dialpadUserId?: string | null | undefined;
|
|
2632
|
-
|
|
2627
|
+
} | null | undefined;
|
|
2628
|
+
company?: {
|
|
2629
|
+
name: string;
|
|
2630
|
+
createdAt: string | Date;
|
|
2631
|
+
updatedAt: string | Date;
|
|
2632
|
+
id: string;
|
|
2633
2633
|
} | null | undefined;
|
|
2634
2634
|
client?: {
|
|
2635
2635
|
name: string;
|
|
@@ -2658,12 +2658,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2658
2658
|
id: string;
|
|
2659
2659
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
2660
2660
|
userId: string;
|
|
2661
|
-
company?: {
|
|
2662
|
-
name: string;
|
|
2663
|
-
createdAt: string | Date;
|
|
2664
|
-
updatedAt: string | Date;
|
|
2665
|
-
id: string;
|
|
2666
|
-
} | null | undefined;
|
|
2667
2661
|
user?: {
|
|
2668
2662
|
email: string;
|
|
2669
2663
|
createdAt: string | Date;
|
|
@@ -2689,13 +2683,19 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
2689
2683
|
description?: string | null | undefined;
|
|
2690
2684
|
isPrimary?: boolean | undefined;
|
|
2691
2685
|
}[] | undefined;
|
|
2686
|
+
deletedAt?: string | Date | null | undefined;
|
|
2692
2687
|
canImpersonateUsers?: {
|
|
2693
2688
|
id: string;
|
|
2694
2689
|
lastName: string;
|
|
2695
2690
|
firstName: string;
|
|
2696
2691
|
}[] | undefined;
|
|
2697
2692
|
dialpadUserId?: string | null | undefined;
|
|
2698
|
-
|
|
2693
|
+
} | null | undefined;
|
|
2694
|
+
company?: {
|
|
2695
|
+
name: string;
|
|
2696
|
+
createdAt: string | Date;
|
|
2697
|
+
updatedAt: string | Date;
|
|
2698
|
+
id: string;
|
|
2699
2699
|
} | null | undefined;
|
|
2700
2700
|
client?: {
|
|
2701
2701
|
name: string;
|
|
@@ -2792,7 +2792,7 @@ export declare const collaborationsContractRouter: {
|
|
|
2792
2792
|
}>;
|
|
2793
2793
|
path: "/v2/collaborations";
|
|
2794
2794
|
responses: {
|
|
2795
|
-
|
|
2795
|
+
401: z.ZodObject<{
|
|
2796
2796
|
statusCode: z.ZodNumber;
|
|
2797
2797
|
message: z.ZodString;
|
|
2798
2798
|
code: z.ZodString;
|
|
@@ -2801,23 +2801,23 @@ export declare const collaborationsContractRouter: {
|
|
|
2801
2801
|
path: z.ZodString;
|
|
2802
2802
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2803
2803
|
}, "strip", z.ZodTypeAny, {
|
|
2804
|
-
message: string;
|
|
2805
2804
|
code: string;
|
|
2806
2805
|
path: string;
|
|
2806
|
+
message: string;
|
|
2807
2807
|
statusCode: number;
|
|
2808
2808
|
timestamp: string;
|
|
2809
2809
|
details?: unknown;
|
|
2810
2810
|
correlationId?: string | undefined;
|
|
2811
2811
|
}, {
|
|
2812
|
-
message: string;
|
|
2813
2812
|
code: string;
|
|
2814
2813
|
path: string;
|
|
2814
|
+
message: string;
|
|
2815
2815
|
statusCode: number;
|
|
2816
2816
|
timestamp: string;
|
|
2817
2817
|
details?: unknown;
|
|
2818
2818
|
correlationId?: string | undefined;
|
|
2819
2819
|
}>;
|
|
2820
|
-
|
|
2820
|
+
400: z.ZodObject<{
|
|
2821
2821
|
statusCode: z.ZodNumber;
|
|
2822
2822
|
message: z.ZodString;
|
|
2823
2823
|
code: z.ZodString;
|
|
@@ -2826,23 +2826,23 @@ export declare const collaborationsContractRouter: {
|
|
|
2826
2826
|
path: z.ZodString;
|
|
2827
2827
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2828
2828
|
}, "strip", z.ZodTypeAny, {
|
|
2829
|
-
message: string;
|
|
2830
2829
|
code: string;
|
|
2831
2830
|
path: string;
|
|
2831
|
+
message: string;
|
|
2832
2832
|
statusCode: number;
|
|
2833
2833
|
timestamp: string;
|
|
2834
2834
|
details?: unknown;
|
|
2835
2835
|
correlationId?: string | undefined;
|
|
2836
2836
|
}, {
|
|
2837
|
-
message: string;
|
|
2838
2837
|
code: string;
|
|
2839
2838
|
path: string;
|
|
2839
|
+
message: string;
|
|
2840
2840
|
statusCode: number;
|
|
2841
2841
|
timestamp: string;
|
|
2842
2842
|
details?: unknown;
|
|
2843
2843
|
correlationId?: string | undefined;
|
|
2844
2844
|
}>;
|
|
2845
|
-
|
|
2845
|
+
403: z.ZodObject<{
|
|
2846
2846
|
statusCode: z.ZodNumber;
|
|
2847
2847
|
message: z.ZodString;
|
|
2848
2848
|
code: z.ZodString;
|
|
@@ -2851,17 +2851,17 @@ export declare const collaborationsContractRouter: {
|
|
|
2851
2851
|
path: z.ZodString;
|
|
2852
2852
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2853
2853
|
}, "strip", z.ZodTypeAny, {
|
|
2854
|
-
message: string;
|
|
2855
2854
|
code: string;
|
|
2856
2855
|
path: string;
|
|
2856
|
+
message: string;
|
|
2857
2857
|
statusCode: number;
|
|
2858
2858
|
timestamp: string;
|
|
2859
2859
|
details?: unknown;
|
|
2860
2860
|
correlationId?: string | undefined;
|
|
2861
2861
|
}, {
|
|
2862
|
-
message: string;
|
|
2863
2862
|
code: string;
|
|
2864
2863
|
path: string;
|
|
2864
|
+
message: string;
|
|
2865
2865
|
statusCode: number;
|
|
2866
2866
|
timestamp: string;
|
|
2867
2867
|
details?: unknown;
|
|
@@ -2876,17 +2876,17 @@ export declare const collaborationsContractRouter: {
|
|
|
2876
2876
|
path: z.ZodString;
|
|
2877
2877
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2878
2878
|
}, "strip", z.ZodTypeAny, {
|
|
2879
|
-
message: string;
|
|
2880
2879
|
code: string;
|
|
2881
2880
|
path: string;
|
|
2881
|
+
message: string;
|
|
2882
2882
|
statusCode: number;
|
|
2883
2883
|
timestamp: string;
|
|
2884
2884
|
details?: unknown;
|
|
2885
2885
|
correlationId?: string | undefined;
|
|
2886
2886
|
}, {
|
|
2887
|
-
message: string;
|
|
2888
2887
|
code: string;
|
|
2889
2888
|
path: string;
|
|
2889
|
+
message: string;
|
|
2890
2890
|
statusCode: number;
|
|
2891
2891
|
timestamp: string;
|
|
2892
2892
|
details?: unknown;
|
|
@@ -3084,13 +3084,13 @@ export declare const collaborationsContractRouter: {
|
|
|
3084
3084
|
firstName: string;
|
|
3085
3085
|
}[] | undefined;
|
|
3086
3086
|
} | null | undefined;
|
|
3087
|
+
deletedAt?: string | null | undefined;
|
|
3087
3088
|
canImpersonateUsers?: {
|
|
3088
3089
|
id: string;
|
|
3089
3090
|
lastName: string;
|
|
3090
3091
|
firstName: string;
|
|
3091
3092
|
}[] | undefined;
|
|
3092
3093
|
dialpadUserId?: string | null | undefined;
|
|
3093
|
-
deletedAt?: string | null | undefined;
|
|
3094
3094
|
}, {
|
|
3095
3095
|
email: string;
|
|
3096
3096
|
createdAt: string | Date;
|
|
@@ -3116,13 +3116,13 @@ export declare const collaborationsContractRouter: {
|
|
|
3116
3116
|
description?: string | null | undefined;
|
|
3117
3117
|
isPrimary?: boolean | undefined;
|
|
3118
3118
|
}[] | undefined;
|
|
3119
|
+
deletedAt?: string | Date | null | undefined;
|
|
3119
3120
|
canImpersonateUsers?: {
|
|
3120
3121
|
id: string;
|
|
3121
3122
|
lastName: string;
|
|
3122
3123
|
firstName: string;
|
|
3123
3124
|
}[] | undefined;
|
|
3124
3125
|
dialpadUserId?: string | null | undefined;
|
|
3125
|
-
deletedAt?: string | Date | null | undefined;
|
|
3126
3126
|
}>>>;
|
|
3127
3127
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
3128
3128
|
userId: z.ZodString;
|
|
@@ -3321,13 +3321,13 @@ export declare const collaborationsContractRouter: {
|
|
|
3321
3321
|
firstName: string;
|
|
3322
3322
|
}[] | undefined;
|
|
3323
3323
|
} | null | undefined;
|
|
3324
|
+
deletedAt?: string | null | undefined;
|
|
3324
3325
|
canImpersonateUsers?: {
|
|
3325
3326
|
id: string;
|
|
3326
3327
|
lastName: string;
|
|
3327
3328
|
firstName: string;
|
|
3328
3329
|
}[] | undefined;
|
|
3329
3330
|
dialpadUserId?: string | null | undefined;
|
|
3330
|
-
deletedAt?: string | null | undefined;
|
|
3331
3331
|
}, {
|
|
3332
3332
|
email: string;
|
|
3333
3333
|
createdAt: string | Date;
|
|
@@ -3353,13 +3353,13 @@ export declare const collaborationsContractRouter: {
|
|
|
3353
3353
|
description?: string | null | undefined;
|
|
3354
3354
|
isPrimary?: boolean | undefined;
|
|
3355
3355
|
}[] | undefined;
|
|
3356
|
+
deletedAt?: string | Date | null | undefined;
|
|
3356
3357
|
canImpersonateUsers?: {
|
|
3357
3358
|
id: string;
|
|
3358
3359
|
lastName: string;
|
|
3359
3360
|
firstName: string;
|
|
3360
3361
|
}[] | undefined;
|
|
3361
3362
|
dialpadUserId?: string | null | undefined;
|
|
3362
|
-
deletedAt?: string | Date | null | undefined;
|
|
3363
3363
|
}>>>;
|
|
3364
3364
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
3365
3365
|
userId: z.ZodString;
|
|
@@ -3371,12 +3371,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3371
3371
|
id: string;
|
|
3372
3372
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3373
3373
|
userId: string;
|
|
3374
|
-
company?: {
|
|
3375
|
-
name: string;
|
|
3376
|
-
createdAt: string;
|
|
3377
|
-
updatedAt: string;
|
|
3378
|
-
id: string;
|
|
3379
|
-
} | null | undefined;
|
|
3380
3374
|
user?: {
|
|
3381
3375
|
email: string;
|
|
3382
3376
|
createdAt: string;
|
|
@@ -3402,13 +3396,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3402
3396
|
firstName: string;
|
|
3403
3397
|
}[] | undefined;
|
|
3404
3398
|
} | null | undefined;
|
|
3399
|
+
deletedAt?: string | null | undefined;
|
|
3405
3400
|
canImpersonateUsers?: {
|
|
3406
3401
|
id: string;
|
|
3407
3402
|
lastName: string;
|
|
3408
3403
|
firstName: string;
|
|
3409
3404
|
}[] | undefined;
|
|
3410
3405
|
dialpadUserId?: string | null | undefined;
|
|
3411
|
-
|
|
3406
|
+
} | null | undefined;
|
|
3407
|
+
company?: {
|
|
3408
|
+
name: string;
|
|
3409
|
+
createdAt: string;
|
|
3410
|
+
updatedAt: string;
|
|
3411
|
+
id: string;
|
|
3412
3412
|
} | null | undefined;
|
|
3413
3413
|
client?: {
|
|
3414
3414
|
name: string;
|
|
@@ -3437,12 +3437,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3437
3437
|
id: string;
|
|
3438
3438
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3439
3439
|
userId: string;
|
|
3440
|
-
company?: {
|
|
3441
|
-
name: string;
|
|
3442
|
-
createdAt: string | Date;
|
|
3443
|
-
updatedAt: string | Date;
|
|
3444
|
-
id: string;
|
|
3445
|
-
} | null | undefined;
|
|
3446
3440
|
user?: {
|
|
3447
3441
|
email: string;
|
|
3448
3442
|
createdAt: string | Date;
|
|
@@ -3468,13 +3462,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3468
3462
|
description?: string | null | undefined;
|
|
3469
3463
|
isPrimary?: boolean | undefined;
|
|
3470
3464
|
}[] | undefined;
|
|
3465
|
+
deletedAt?: string | Date | null | undefined;
|
|
3471
3466
|
canImpersonateUsers?: {
|
|
3472
3467
|
id: string;
|
|
3473
3468
|
lastName: string;
|
|
3474
3469
|
firstName: string;
|
|
3475
3470
|
}[] | undefined;
|
|
3476
3471
|
dialpadUserId?: string | null | undefined;
|
|
3477
|
-
|
|
3472
|
+
} | null | undefined;
|
|
3473
|
+
company?: {
|
|
3474
|
+
name: string;
|
|
3475
|
+
createdAt: string | Date;
|
|
3476
|
+
updatedAt: string | Date;
|
|
3477
|
+
id: string;
|
|
3478
3478
|
} | null | undefined;
|
|
3479
3479
|
client?: {
|
|
3480
3480
|
name: string;
|
|
@@ -3504,12 +3504,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3504
3504
|
id: string;
|
|
3505
3505
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3506
3506
|
userId: string;
|
|
3507
|
-
company?: {
|
|
3508
|
-
name: string;
|
|
3509
|
-
createdAt: string;
|
|
3510
|
-
updatedAt: string;
|
|
3511
|
-
id: string;
|
|
3512
|
-
} | null | undefined;
|
|
3513
3507
|
user?: {
|
|
3514
3508
|
email: string;
|
|
3515
3509
|
createdAt: string;
|
|
@@ -3535,13 +3529,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3535
3529
|
firstName: string;
|
|
3536
3530
|
}[] | undefined;
|
|
3537
3531
|
} | null | undefined;
|
|
3532
|
+
deletedAt?: string | null | undefined;
|
|
3538
3533
|
canImpersonateUsers?: {
|
|
3539
3534
|
id: string;
|
|
3540
3535
|
lastName: string;
|
|
3541
3536
|
firstName: string;
|
|
3542
3537
|
}[] | undefined;
|
|
3543
3538
|
dialpadUserId?: string | null | undefined;
|
|
3544
|
-
|
|
3539
|
+
} | null | undefined;
|
|
3540
|
+
company?: {
|
|
3541
|
+
name: string;
|
|
3542
|
+
createdAt: string;
|
|
3543
|
+
updatedAt: string;
|
|
3544
|
+
id: string;
|
|
3545
3545
|
} | null | undefined;
|
|
3546
3546
|
client?: {
|
|
3547
3547
|
name: string;
|
|
@@ -3570,12 +3570,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3570
3570
|
id: string;
|
|
3571
3571
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3572
3572
|
userId: string;
|
|
3573
|
-
company?: {
|
|
3574
|
-
name: string;
|
|
3575
|
-
createdAt: string;
|
|
3576
|
-
updatedAt: string;
|
|
3577
|
-
id: string;
|
|
3578
|
-
} | null | undefined;
|
|
3579
3573
|
user?: {
|
|
3580
3574
|
email: string;
|
|
3581
3575
|
createdAt: string;
|
|
@@ -3601,13 +3595,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3601
3595
|
firstName: string;
|
|
3602
3596
|
}[] | undefined;
|
|
3603
3597
|
} | null | undefined;
|
|
3598
|
+
deletedAt?: string | null | undefined;
|
|
3604
3599
|
canImpersonateUsers?: {
|
|
3605
3600
|
id: string;
|
|
3606
3601
|
lastName: string;
|
|
3607
3602
|
firstName: string;
|
|
3608
3603
|
}[] | undefined;
|
|
3609
3604
|
dialpadUserId?: string | null | undefined;
|
|
3610
|
-
|
|
3605
|
+
} | null | undefined;
|
|
3606
|
+
company?: {
|
|
3607
|
+
name: string;
|
|
3608
|
+
createdAt: string;
|
|
3609
|
+
updatedAt: string;
|
|
3610
|
+
id: string;
|
|
3611
3611
|
} | null | undefined;
|
|
3612
3612
|
client?: {
|
|
3613
3613
|
name: string;
|
|
@@ -3637,12 +3637,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3637
3637
|
id: string;
|
|
3638
3638
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3639
3639
|
userId: string;
|
|
3640
|
-
company?: {
|
|
3641
|
-
name: string;
|
|
3642
|
-
createdAt: string | Date;
|
|
3643
|
-
updatedAt: string | Date;
|
|
3644
|
-
id: string;
|
|
3645
|
-
} | null | undefined;
|
|
3646
3640
|
user?: {
|
|
3647
3641
|
email: string;
|
|
3648
3642
|
createdAt: string | Date;
|
|
@@ -3668,13 +3662,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3668
3662
|
description?: string | null | undefined;
|
|
3669
3663
|
isPrimary?: boolean | undefined;
|
|
3670
3664
|
}[] | undefined;
|
|
3665
|
+
deletedAt?: string | Date | null | undefined;
|
|
3671
3666
|
canImpersonateUsers?: {
|
|
3672
3667
|
id: string;
|
|
3673
3668
|
lastName: string;
|
|
3674
3669
|
firstName: string;
|
|
3675
3670
|
}[] | undefined;
|
|
3676
3671
|
dialpadUserId?: string | null | undefined;
|
|
3677
|
-
|
|
3672
|
+
} | null | undefined;
|
|
3673
|
+
company?: {
|
|
3674
|
+
name: string;
|
|
3675
|
+
createdAt: string | Date;
|
|
3676
|
+
updatedAt: string | Date;
|
|
3677
|
+
id: string;
|
|
3678
3678
|
} | null | undefined;
|
|
3679
3679
|
client?: {
|
|
3680
3680
|
name: string;
|
|
@@ -3703,12 +3703,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3703
3703
|
id: string;
|
|
3704
3704
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
3705
3705
|
userId: string;
|
|
3706
|
-
company?: {
|
|
3707
|
-
name: string;
|
|
3708
|
-
createdAt: string | Date;
|
|
3709
|
-
updatedAt: string | Date;
|
|
3710
|
-
id: string;
|
|
3711
|
-
} | null | undefined;
|
|
3712
3706
|
user?: {
|
|
3713
3707
|
email: string;
|
|
3714
3708
|
createdAt: string | Date;
|
|
@@ -3734,13 +3728,19 @@ export declare const collaborationsContractRouter: {
|
|
|
3734
3728
|
description?: string | null | undefined;
|
|
3735
3729
|
isPrimary?: boolean | undefined;
|
|
3736
3730
|
}[] | undefined;
|
|
3731
|
+
deletedAt?: string | Date | null | undefined;
|
|
3737
3732
|
canImpersonateUsers?: {
|
|
3738
3733
|
id: string;
|
|
3739
3734
|
lastName: string;
|
|
3740
3735
|
firstName: string;
|
|
3741
3736
|
}[] | undefined;
|
|
3742
3737
|
dialpadUserId?: string | null | undefined;
|
|
3743
|
-
|
|
3738
|
+
} | null | undefined;
|
|
3739
|
+
company?: {
|
|
3740
|
+
name: string;
|
|
3741
|
+
createdAt: string | Date;
|
|
3742
|
+
updatedAt: string | Date;
|
|
3743
|
+
id: string;
|
|
3744
3744
|
} | null | undefined;
|
|
3745
3745
|
client?: {
|
|
3746
3746
|
name: string;
|
|
@@ -3774,17 +3774,17 @@ export declare const collaborationsContractRouter: {
|
|
|
3774
3774
|
path: z.ZodString;
|
|
3775
3775
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3776
3776
|
}, "strip", z.ZodTypeAny, {
|
|
3777
|
-
message: string;
|
|
3778
3777
|
code: string;
|
|
3779
3778
|
path: string;
|
|
3779
|
+
message: string;
|
|
3780
3780
|
statusCode: number;
|
|
3781
3781
|
timestamp: string;
|
|
3782
3782
|
details?: unknown;
|
|
3783
3783
|
correlationId?: string | undefined;
|
|
3784
3784
|
}, {
|
|
3785
|
-
message: string;
|
|
3786
3785
|
code: string;
|
|
3787
3786
|
path: string;
|
|
3787
|
+
message: string;
|
|
3788
3788
|
statusCode: number;
|
|
3789
3789
|
timestamp: string;
|
|
3790
3790
|
details?: unknown;
|
|
@@ -3793,12 +3793,6 @@ export declare const collaborationsContractRouter: {
|
|
|
3793
3793
|
};
|
|
3794
3794
|
};
|
|
3795
3795
|
findAll: {
|
|
3796
|
-
metadata: {
|
|
3797
|
-
tags: string[];
|
|
3798
|
-
openApi: {
|
|
3799
|
-
operationId: string;
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
3796
|
query: z.ZodObject<{
|
|
3803
3797
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
3804
3798
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3840,11 +3834,17 @@ export declare const collaborationsContractRouter: {
|
|
|
3840
3834
|
companyId?: string | null | undefined;
|
|
3841
3835
|
clientId?: string | null | undefined;
|
|
3842
3836
|
}>;
|
|
3837
|
+
metadata: {
|
|
3838
|
+
tags: string[];
|
|
3839
|
+
openApi: {
|
|
3840
|
+
operationId: string;
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
3843
|
summary: "Get all collaborations";
|
|
3844
3844
|
method: "GET";
|
|
3845
3845
|
path: "/v2/collaborations";
|
|
3846
3846
|
responses: {
|
|
3847
|
-
|
|
3847
|
+
401: z.ZodObject<{
|
|
3848
3848
|
statusCode: z.ZodNumber;
|
|
3849
3849
|
message: z.ZodString;
|
|
3850
3850
|
code: z.ZodString;
|
|
@@ -3853,23 +3853,23 @@ export declare const collaborationsContractRouter: {
|
|
|
3853
3853
|
path: z.ZodString;
|
|
3854
3854
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3855
3855
|
}, "strip", z.ZodTypeAny, {
|
|
3856
|
-
message: string;
|
|
3857
3856
|
code: string;
|
|
3858
3857
|
path: string;
|
|
3858
|
+
message: string;
|
|
3859
3859
|
statusCode: number;
|
|
3860
3860
|
timestamp: string;
|
|
3861
3861
|
details?: unknown;
|
|
3862
3862
|
correlationId?: string | undefined;
|
|
3863
3863
|
}, {
|
|
3864
|
-
message: string;
|
|
3865
3864
|
code: string;
|
|
3866
3865
|
path: string;
|
|
3866
|
+
message: string;
|
|
3867
3867
|
statusCode: number;
|
|
3868
3868
|
timestamp: string;
|
|
3869
3869
|
details?: unknown;
|
|
3870
3870
|
correlationId?: string | undefined;
|
|
3871
3871
|
}>;
|
|
3872
|
-
|
|
3872
|
+
400: z.ZodObject<{
|
|
3873
3873
|
statusCode: z.ZodNumber;
|
|
3874
3874
|
message: z.ZodString;
|
|
3875
3875
|
code: z.ZodString;
|
|
@@ -3878,23 +3878,23 @@ export declare const collaborationsContractRouter: {
|
|
|
3878
3878
|
path: z.ZodString;
|
|
3879
3879
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3880
3880
|
}, "strip", z.ZodTypeAny, {
|
|
3881
|
-
message: string;
|
|
3882
3881
|
code: string;
|
|
3883
3882
|
path: string;
|
|
3883
|
+
message: string;
|
|
3884
3884
|
statusCode: number;
|
|
3885
3885
|
timestamp: string;
|
|
3886
3886
|
details?: unknown;
|
|
3887
3887
|
correlationId?: string | undefined;
|
|
3888
3888
|
}, {
|
|
3889
|
-
message: string;
|
|
3890
3889
|
code: string;
|
|
3891
3890
|
path: string;
|
|
3891
|
+
message: string;
|
|
3892
3892
|
statusCode: number;
|
|
3893
3893
|
timestamp: string;
|
|
3894
3894
|
details?: unknown;
|
|
3895
3895
|
correlationId?: string | undefined;
|
|
3896
3896
|
}>;
|
|
3897
|
-
|
|
3897
|
+
403: z.ZodObject<{
|
|
3898
3898
|
statusCode: z.ZodNumber;
|
|
3899
3899
|
message: z.ZodString;
|
|
3900
3900
|
code: z.ZodString;
|
|
@@ -3903,17 +3903,17 @@ export declare const collaborationsContractRouter: {
|
|
|
3903
3903
|
path: z.ZodString;
|
|
3904
3904
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3905
3905
|
}, "strip", z.ZodTypeAny, {
|
|
3906
|
-
message: string;
|
|
3907
3906
|
code: string;
|
|
3908
3907
|
path: string;
|
|
3908
|
+
message: string;
|
|
3909
3909
|
statusCode: number;
|
|
3910
3910
|
timestamp: string;
|
|
3911
3911
|
details?: unknown;
|
|
3912
3912
|
correlationId?: string | undefined;
|
|
3913
3913
|
}, {
|
|
3914
|
-
message: string;
|
|
3915
3914
|
code: string;
|
|
3916
3915
|
path: string;
|
|
3916
|
+
message: string;
|
|
3917
3917
|
statusCode: number;
|
|
3918
3918
|
timestamp: string;
|
|
3919
3919
|
details?: unknown;
|
|
@@ -3928,17 +3928,17 @@ export declare const collaborationsContractRouter: {
|
|
|
3928
3928
|
path: z.ZodString;
|
|
3929
3929
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3930
3930
|
}, "strip", z.ZodTypeAny, {
|
|
3931
|
-
message: string;
|
|
3932
3931
|
code: string;
|
|
3933
3932
|
path: string;
|
|
3933
|
+
message: string;
|
|
3934
3934
|
statusCode: number;
|
|
3935
3935
|
timestamp: string;
|
|
3936
3936
|
details?: unknown;
|
|
3937
3937
|
correlationId?: string | undefined;
|
|
3938
3938
|
}, {
|
|
3939
|
-
message: string;
|
|
3940
3939
|
code: string;
|
|
3941
3940
|
path: string;
|
|
3941
|
+
message: string;
|
|
3942
3942
|
statusCode: number;
|
|
3943
3943
|
timestamp: string;
|
|
3944
3944
|
details?: unknown;
|
|
@@ -4137,13 +4137,13 @@ export declare const collaborationsContractRouter: {
|
|
|
4137
4137
|
firstName: string;
|
|
4138
4138
|
}[] | undefined;
|
|
4139
4139
|
} | null | undefined;
|
|
4140
|
+
deletedAt?: string | null | undefined;
|
|
4140
4141
|
canImpersonateUsers?: {
|
|
4141
4142
|
id: string;
|
|
4142
4143
|
lastName: string;
|
|
4143
4144
|
firstName: string;
|
|
4144
4145
|
}[] | undefined;
|
|
4145
4146
|
dialpadUserId?: string | null | undefined;
|
|
4146
|
-
deletedAt?: string | null | undefined;
|
|
4147
4147
|
}, {
|
|
4148
4148
|
email: string;
|
|
4149
4149
|
createdAt: string | Date;
|
|
@@ -4169,13 +4169,13 @@ export declare const collaborationsContractRouter: {
|
|
|
4169
4169
|
description?: string | null | undefined;
|
|
4170
4170
|
isPrimary?: boolean | undefined;
|
|
4171
4171
|
}[] | undefined;
|
|
4172
|
+
deletedAt?: string | Date | null | undefined;
|
|
4172
4173
|
canImpersonateUsers?: {
|
|
4173
4174
|
id: string;
|
|
4174
4175
|
lastName: string;
|
|
4175
4176
|
firstName: string;
|
|
4176
4177
|
}[] | undefined;
|
|
4177
4178
|
dialpadUserId?: string | null | undefined;
|
|
4178
|
-
deletedAt?: string | Date | null | undefined;
|
|
4179
4179
|
}>>>;
|
|
4180
4180
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
4181
4181
|
userId: z.ZodString;
|
|
@@ -4374,13 +4374,13 @@ export declare const collaborationsContractRouter: {
|
|
|
4374
4374
|
firstName: string;
|
|
4375
4375
|
}[] | undefined;
|
|
4376
4376
|
} | null | undefined;
|
|
4377
|
+
deletedAt?: string | null | undefined;
|
|
4377
4378
|
canImpersonateUsers?: {
|
|
4378
4379
|
id: string;
|
|
4379
4380
|
lastName: string;
|
|
4380
4381
|
firstName: string;
|
|
4381
4382
|
}[] | undefined;
|
|
4382
4383
|
dialpadUserId?: string | null | undefined;
|
|
4383
|
-
deletedAt?: string | null | undefined;
|
|
4384
4384
|
}, {
|
|
4385
4385
|
email: string;
|
|
4386
4386
|
createdAt: string | Date;
|
|
@@ -4406,13 +4406,13 @@ export declare const collaborationsContractRouter: {
|
|
|
4406
4406
|
description?: string | null | undefined;
|
|
4407
4407
|
isPrimary?: boolean | undefined;
|
|
4408
4408
|
}[] | undefined;
|
|
4409
|
+
deletedAt?: string | Date | null | undefined;
|
|
4409
4410
|
canImpersonateUsers?: {
|
|
4410
4411
|
id: string;
|
|
4411
4412
|
lastName: string;
|
|
4412
4413
|
firstName: string;
|
|
4413
4414
|
}[] | undefined;
|
|
4414
4415
|
dialpadUserId?: string | null | undefined;
|
|
4415
|
-
deletedAt?: string | Date | null | undefined;
|
|
4416
4416
|
}>>>;
|
|
4417
4417
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
4418
4418
|
userId: z.ZodString;
|
|
@@ -4424,12 +4424,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4424
4424
|
id: string;
|
|
4425
4425
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4426
4426
|
userId: string;
|
|
4427
|
-
company?: {
|
|
4428
|
-
name: string;
|
|
4429
|
-
createdAt: string;
|
|
4430
|
-
updatedAt: string;
|
|
4431
|
-
id: string;
|
|
4432
|
-
} | null | undefined;
|
|
4433
4427
|
user?: {
|
|
4434
4428
|
email: string;
|
|
4435
4429
|
createdAt: string;
|
|
@@ -4455,13 +4449,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4455
4449
|
firstName: string;
|
|
4456
4450
|
}[] | undefined;
|
|
4457
4451
|
} | null | undefined;
|
|
4452
|
+
deletedAt?: string | null | undefined;
|
|
4458
4453
|
canImpersonateUsers?: {
|
|
4459
4454
|
id: string;
|
|
4460
4455
|
lastName: string;
|
|
4461
4456
|
firstName: string;
|
|
4462
4457
|
}[] | undefined;
|
|
4463
4458
|
dialpadUserId?: string | null | undefined;
|
|
4464
|
-
|
|
4459
|
+
} | null | undefined;
|
|
4460
|
+
company?: {
|
|
4461
|
+
name: string;
|
|
4462
|
+
createdAt: string;
|
|
4463
|
+
updatedAt: string;
|
|
4464
|
+
id: string;
|
|
4465
4465
|
} | null | undefined;
|
|
4466
4466
|
client?: {
|
|
4467
4467
|
name: string;
|
|
@@ -4490,12 +4490,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4490
4490
|
id: string;
|
|
4491
4491
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4492
4492
|
userId: string;
|
|
4493
|
-
company?: {
|
|
4494
|
-
name: string;
|
|
4495
|
-
createdAt: string | Date;
|
|
4496
|
-
updatedAt: string | Date;
|
|
4497
|
-
id: string;
|
|
4498
|
-
} | null | undefined;
|
|
4499
4493
|
user?: {
|
|
4500
4494
|
email: string;
|
|
4501
4495
|
createdAt: string | Date;
|
|
@@ -4521,13 +4515,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4521
4515
|
description?: string | null | undefined;
|
|
4522
4516
|
isPrimary?: boolean | undefined;
|
|
4523
4517
|
}[] | undefined;
|
|
4518
|
+
deletedAt?: string | Date | null | undefined;
|
|
4524
4519
|
canImpersonateUsers?: {
|
|
4525
4520
|
id: string;
|
|
4526
4521
|
lastName: string;
|
|
4527
4522
|
firstName: string;
|
|
4528
4523
|
}[] | undefined;
|
|
4529
4524
|
dialpadUserId?: string | null | undefined;
|
|
4530
|
-
|
|
4525
|
+
} | null | undefined;
|
|
4526
|
+
company?: {
|
|
4527
|
+
name: string;
|
|
4528
|
+
createdAt: string | Date;
|
|
4529
|
+
updatedAt: string | Date;
|
|
4530
|
+
id: string;
|
|
4531
4531
|
} | null | undefined;
|
|
4532
4532
|
client?: {
|
|
4533
4533
|
name: string;
|
|
@@ -4557,12 +4557,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4557
4557
|
id: string;
|
|
4558
4558
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4559
4559
|
userId: string;
|
|
4560
|
-
company?: {
|
|
4561
|
-
name: string;
|
|
4562
|
-
createdAt: string;
|
|
4563
|
-
updatedAt: string;
|
|
4564
|
-
id: string;
|
|
4565
|
-
} | null | undefined;
|
|
4566
4560
|
user?: {
|
|
4567
4561
|
email: string;
|
|
4568
4562
|
createdAt: string;
|
|
@@ -4588,13 +4582,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4588
4582
|
firstName: string;
|
|
4589
4583
|
}[] | undefined;
|
|
4590
4584
|
} | null | undefined;
|
|
4585
|
+
deletedAt?: string | null | undefined;
|
|
4591
4586
|
canImpersonateUsers?: {
|
|
4592
4587
|
id: string;
|
|
4593
4588
|
lastName: string;
|
|
4594
4589
|
firstName: string;
|
|
4595
4590
|
}[] | undefined;
|
|
4596
4591
|
dialpadUserId?: string | null | undefined;
|
|
4597
|
-
|
|
4592
|
+
} | null | undefined;
|
|
4593
|
+
company?: {
|
|
4594
|
+
name: string;
|
|
4595
|
+
createdAt: string;
|
|
4596
|
+
updatedAt: string;
|
|
4597
|
+
id: string;
|
|
4598
4598
|
} | null | undefined;
|
|
4599
4599
|
client?: {
|
|
4600
4600
|
name: string;
|
|
@@ -4623,12 +4623,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4623
4623
|
id: string;
|
|
4624
4624
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4625
4625
|
userId: string;
|
|
4626
|
-
company?: {
|
|
4627
|
-
name: string;
|
|
4628
|
-
createdAt: string;
|
|
4629
|
-
updatedAt: string;
|
|
4630
|
-
id: string;
|
|
4631
|
-
} | null | undefined;
|
|
4632
4626
|
user?: {
|
|
4633
4627
|
email: string;
|
|
4634
4628
|
createdAt: string;
|
|
@@ -4654,13 +4648,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4654
4648
|
firstName: string;
|
|
4655
4649
|
}[] | undefined;
|
|
4656
4650
|
} | null | undefined;
|
|
4651
|
+
deletedAt?: string | null | undefined;
|
|
4657
4652
|
canImpersonateUsers?: {
|
|
4658
4653
|
id: string;
|
|
4659
4654
|
lastName: string;
|
|
4660
4655
|
firstName: string;
|
|
4661
4656
|
}[] | undefined;
|
|
4662
4657
|
dialpadUserId?: string | null | undefined;
|
|
4663
|
-
|
|
4658
|
+
} | null | undefined;
|
|
4659
|
+
company?: {
|
|
4660
|
+
name: string;
|
|
4661
|
+
createdAt: string;
|
|
4662
|
+
updatedAt: string;
|
|
4663
|
+
id: string;
|
|
4664
4664
|
} | null | undefined;
|
|
4665
4665
|
client?: {
|
|
4666
4666
|
name: string;
|
|
@@ -4690,12 +4690,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4690
4690
|
id: string;
|
|
4691
4691
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4692
4692
|
userId: string;
|
|
4693
|
-
company?: {
|
|
4694
|
-
name: string;
|
|
4695
|
-
createdAt: string | Date;
|
|
4696
|
-
updatedAt: string | Date;
|
|
4697
|
-
id: string;
|
|
4698
|
-
} | null | undefined;
|
|
4699
4693
|
user?: {
|
|
4700
4694
|
email: string;
|
|
4701
4695
|
createdAt: string | Date;
|
|
@@ -4721,13 +4715,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4721
4715
|
description?: string | null | undefined;
|
|
4722
4716
|
isPrimary?: boolean | undefined;
|
|
4723
4717
|
}[] | undefined;
|
|
4718
|
+
deletedAt?: string | Date | null | undefined;
|
|
4724
4719
|
canImpersonateUsers?: {
|
|
4725
4720
|
id: string;
|
|
4726
4721
|
lastName: string;
|
|
4727
4722
|
firstName: string;
|
|
4728
4723
|
}[] | undefined;
|
|
4729
4724
|
dialpadUserId?: string | null | undefined;
|
|
4730
|
-
|
|
4725
|
+
} | null | undefined;
|
|
4726
|
+
company?: {
|
|
4727
|
+
name: string;
|
|
4728
|
+
createdAt: string | Date;
|
|
4729
|
+
updatedAt: string | Date;
|
|
4730
|
+
id: string;
|
|
4731
4731
|
} | null | undefined;
|
|
4732
4732
|
client?: {
|
|
4733
4733
|
name: string;
|
|
@@ -4756,12 +4756,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4756
4756
|
id: string;
|
|
4757
4757
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4758
4758
|
userId: string;
|
|
4759
|
-
company?: {
|
|
4760
|
-
name: string;
|
|
4761
|
-
createdAt: string | Date;
|
|
4762
|
-
updatedAt: string | Date;
|
|
4763
|
-
id: string;
|
|
4764
|
-
} | null | undefined;
|
|
4765
4759
|
user?: {
|
|
4766
4760
|
email: string;
|
|
4767
4761
|
createdAt: string | Date;
|
|
@@ -4787,13 +4781,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4787
4781
|
description?: string | null | undefined;
|
|
4788
4782
|
isPrimary?: boolean | undefined;
|
|
4789
4783
|
}[] | undefined;
|
|
4784
|
+
deletedAt?: string | Date | null | undefined;
|
|
4790
4785
|
canImpersonateUsers?: {
|
|
4791
4786
|
id: string;
|
|
4792
4787
|
lastName: string;
|
|
4793
4788
|
firstName: string;
|
|
4794
4789
|
}[] | undefined;
|
|
4795
4790
|
dialpadUserId?: string | null | undefined;
|
|
4796
|
-
|
|
4791
|
+
} | null | undefined;
|
|
4792
|
+
company?: {
|
|
4793
|
+
name: string;
|
|
4794
|
+
createdAt: string | Date;
|
|
4795
|
+
updatedAt: string | Date;
|
|
4796
|
+
id: string;
|
|
4797
4797
|
} | null | undefined;
|
|
4798
4798
|
client?: {
|
|
4799
4799
|
name: string;
|
|
@@ -4831,12 +4831,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4831
4831
|
id: string;
|
|
4832
4832
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4833
4833
|
userId: string;
|
|
4834
|
-
company?: {
|
|
4835
|
-
name: string;
|
|
4836
|
-
createdAt: string;
|
|
4837
|
-
updatedAt: string;
|
|
4838
|
-
id: string;
|
|
4839
|
-
} | null | undefined;
|
|
4840
4834
|
user?: {
|
|
4841
4835
|
email: string;
|
|
4842
4836
|
createdAt: string;
|
|
@@ -4862,13 +4856,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4862
4856
|
firstName: string;
|
|
4863
4857
|
}[] | undefined;
|
|
4864
4858
|
} | null | undefined;
|
|
4859
|
+
deletedAt?: string | null | undefined;
|
|
4865
4860
|
canImpersonateUsers?: {
|
|
4866
4861
|
id: string;
|
|
4867
4862
|
lastName: string;
|
|
4868
4863
|
firstName: string;
|
|
4869
4864
|
}[] | undefined;
|
|
4870
4865
|
dialpadUserId?: string | null | undefined;
|
|
4871
|
-
|
|
4866
|
+
} | null | undefined;
|
|
4867
|
+
company?: {
|
|
4868
|
+
name: string;
|
|
4869
|
+
createdAt: string;
|
|
4870
|
+
updatedAt: string;
|
|
4871
|
+
id: string;
|
|
4872
4872
|
} | null | undefined;
|
|
4873
4873
|
client?: {
|
|
4874
4874
|
name: string;
|
|
@@ -4897,12 +4897,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4897
4897
|
id: string;
|
|
4898
4898
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4899
4899
|
userId: string;
|
|
4900
|
-
company?: {
|
|
4901
|
-
name: string;
|
|
4902
|
-
createdAt: string;
|
|
4903
|
-
updatedAt: string;
|
|
4904
|
-
id: string;
|
|
4905
|
-
} | null | undefined;
|
|
4906
4900
|
user?: {
|
|
4907
4901
|
email: string;
|
|
4908
4902
|
createdAt: string;
|
|
@@ -4928,13 +4922,19 @@ export declare const collaborationsContractRouter: {
|
|
|
4928
4922
|
firstName: string;
|
|
4929
4923
|
}[] | undefined;
|
|
4930
4924
|
} | null | undefined;
|
|
4925
|
+
deletedAt?: string | null | undefined;
|
|
4931
4926
|
canImpersonateUsers?: {
|
|
4932
4927
|
id: string;
|
|
4933
4928
|
lastName: string;
|
|
4934
4929
|
firstName: string;
|
|
4935
4930
|
}[] | undefined;
|
|
4936
4931
|
dialpadUserId?: string | null | undefined;
|
|
4937
|
-
|
|
4932
|
+
} | null | undefined;
|
|
4933
|
+
company?: {
|
|
4934
|
+
name: string;
|
|
4935
|
+
createdAt: string;
|
|
4936
|
+
updatedAt: string;
|
|
4937
|
+
id: string;
|
|
4938
4938
|
} | null | undefined;
|
|
4939
4939
|
client?: {
|
|
4940
4940
|
name: string;
|
|
@@ -4971,12 +4971,6 @@ export declare const collaborationsContractRouter: {
|
|
|
4971
4971
|
id: string;
|
|
4972
4972
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
4973
4973
|
userId: string;
|
|
4974
|
-
company?: {
|
|
4975
|
-
name: string;
|
|
4976
|
-
createdAt: string | Date;
|
|
4977
|
-
updatedAt: string | Date;
|
|
4978
|
-
id: string;
|
|
4979
|
-
} | null | undefined;
|
|
4980
4974
|
user?: {
|
|
4981
4975
|
email: string;
|
|
4982
4976
|
createdAt: string | Date;
|
|
@@ -5002,13 +4996,19 @@ export declare const collaborationsContractRouter: {
|
|
|
5002
4996
|
description?: string | null | undefined;
|
|
5003
4997
|
isPrimary?: boolean | undefined;
|
|
5004
4998
|
}[] | undefined;
|
|
4999
|
+
deletedAt?: string | Date | null | undefined;
|
|
5005
5000
|
canImpersonateUsers?: {
|
|
5006
5001
|
id: string;
|
|
5007
5002
|
lastName: string;
|
|
5008
5003
|
firstName: string;
|
|
5009
5004
|
}[] | undefined;
|
|
5010
5005
|
dialpadUserId?: string | null | undefined;
|
|
5011
|
-
|
|
5006
|
+
} | null | undefined;
|
|
5007
|
+
company?: {
|
|
5008
|
+
name: string;
|
|
5009
|
+
createdAt: string | Date;
|
|
5010
|
+
updatedAt: string | Date;
|
|
5011
|
+
id: string;
|
|
5012
5012
|
} | null | undefined;
|
|
5013
5013
|
client?: {
|
|
5014
5014
|
name: string;
|
|
@@ -5037,12 +5037,6 @@ export declare const collaborationsContractRouter: {
|
|
|
5037
5037
|
id: string;
|
|
5038
5038
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
5039
5039
|
userId: string;
|
|
5040
|
-
company?: {
|
|
5041
|
-
name: string;
|
|
5042
|
-
createdAt: string | Date;
|
|
5043
|
-
updatedAt: string | Date;
|
|
5044
|
-
id: string;
|
|
5045
|
-
} | null | undefined;
|
|
5046
5040
|
user?: {
|
|
5047
5041
|
email: string;
|
|
5048
5042
|
createdAt: string | Date;
|
|
@@ -5068,13 +5062,19 @@ export declare const collaborationsContractRouter: {
|
|
|
5068
5062
|
description?: string | null | undefined;
|
|
5069
5063
|
isPrimary?: boolean | undefined;
|
|
5070
5064
|
}[] | undefined;
|
|
5065
|
+
deletedAt?: string | Date | null | undefined;
|
|
5071
5066
|
canImpersonateUsers?: {
|
|
5072
5067
|
id: string;
|
|
5073
5068
|
lastName: string;
|
|
5074
5069
|
firstName: string;
|
|
5075
5070
|
}[] | undefined;
|
|
5076
5071
|
dialpadUserId?: string | null | undefined;
|
|
5077
|
-
|
|
5072
|
+
} | null | undefined;
|
|
5073
|
+
company?: {
|
|
5074
|
+
name: string;
|
|
5075
|
+
createdAt: string | Date;
|
|
5076
|
+
updatedAt: string | Date;
|
|
5077
|
+
id: string;
|
|
5078
5078
|
} | null | undefined;
|
|
5079
5079
|
client?: {
|
|
5080
5080
|
name: string;
|
|
@@ -5107,12 +5107,6 @@ export declare const collaborationsContractRouter: {
|
|
|
5107
5107
|
};
|
|
5108
5108
|
};
|
|
5109
5109
|
autocomplete: {
|
|
5110
|
-
metadata: {
|
|
5111
|
-
tags: string[];
|
|
5112
|
-
openApi: {
|
|
5113
|
-
operationId: string;
|
|
5114
|
-
};
|
|
5115
|
-
};
|
|
5116
5110
|
query: z.ZodObject<{
|
|
5117
5111
|
query: z.ZodOptional<z.ZodString>;
|
|
5118
5112
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -5127,11 +5121,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5127
5121
|
query?: string | undefined;
|
|
5128
5122
|
clientId?: string | undefined;
|
|
5129
5123
|
}>;
|
|
5124
|
+
metadata: {
|
|
5125
|
+
tags: string[];
|
|
5126
|
+
openApi: {
|
|
5127
|
+
operationId: string;
|
|
5128
|
+
};
|
|
5129
|
+
};
|
|
5130
5130
|
summary: "Get collaborations for autocomplete";
|
|
5131
5131
|
method: "GET";
|
|
5132
5132
|
path: "/v2/collaborations/autocomplete";
|
|
5133
5133
|
responses: {
|
|
5134
|
-
|
|
5134
|
+
401: z.ZodObject<{
|
|
5135
5135
|
statusCode: z.ZodNumber;
|
|
5136
5136
|
message: z.ZodString;
|
|
5137
5137
|
code: z.ZodString;
|
|
@@ -5140,23 +5140,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5140
5140
|
path: z.ZodString;
|
|
5141
5141
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5142
5142
|
}, "strip", z.ZodTypeAny, {
|
|
5143
|
-
message: string;
|
|
5144
5143
|
code: string;
|
|
5145
5144
|
path: string;
|
|
5145
|
+
message: string;
|
|
5146
5146
|
statusCode: number;
|
|
5147
5147
|
timestamp: string;
|
|
5148
5148
|
details?: unknown;
|
|
5149
5149
|
correlationId?: string | undefined;
|
|
5150
5150
|
}, {
|
|
5151
|
-
message: string;
|
|
5152
5151
|
code: string;
|
|
5153
5152
|
path: string;
|
|
5153
|
+
message: string;
|
|
5154
5154
|
statusCode: number;
|
|
5155
5155
|
timestamp: string;
|
|
5156
5156
|
details?: unknown;
|
|
5157
5157
|
correlationId?: string | undefined;
|
|
5158
5158
|
}>;
|
|
5159
|
-
|
|
5159
|
+
400: z.ZodObject<{
|
|
5160
5160
|
statusCode: z.ZodNumber;
|
|
5161
5161
|
message: z.ZodString;
|
|
5162
5162
|
code: z.ZodString;
|
|
@@ -5165,23 +5165,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5165
5165
|
path: z.ZodString;
|
|
5166
5166
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5167
5167
|
}, "strip", z.ZodTypeAny, {
|
|
5168
|
-
message: string;
|
|
5169
5168
|
code: string;
|
|
5170
5169
|
path: string;
|
|
5170
|
+
message: string;
|
|
5171
5171
|
statusCode: number;
|
|
5172
5172
|
timestamp: string;
|
|
5173
5173
|
details?: unknown;
|
|
5174
5174
|
correlationId?: string | undefined;
|
|
5175
5175
|
}, {
|
|
5176
|
-
message: string;
|
|
5177
5176
|
code: string;
|
|
5178
5177
|
path: string;
|
|
5178
|
+
message: string;
|
|
5179
5179
|
statusCode: number;
|
|
5180
5180
|
timestamp: string;
|
|
5181
5181
|
details?: unknown;
|
|
5182
5182
|
correlationId?: string | undefined;
|
|
5183
5183
|
}>;
|
|
5184
|
-
|
|
5184
|
+
403: z.ZodObject<{
|
|
5185
5185
|
statusCode: z.ZodNumber;
|
|
5186
5186
|
message: z.ZodString;
|
|
5187
5187
|
code: z.ZodString;
|
|
@@ -5190,17 +5190,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5190
5190
|
path: z.ZodString;
|
|
5191
5191
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5192
5192
|
}, "strip", z.ZodTypeAny, {
|
|
5193
|
-
message: string;
|
|
5194
5193
|
code: string;
|
|
5195
5194
|
path: string;
|
|
5195
|
+
message: string;
|
|
5196
5196
|
statusCode: number;
|
|
5197
5197
|
timestamp: string;
|
|
5198
5198
|
details?: unknown;
|
|
5199
5199
|
correlationId?: string | undefined;
|
|
5200
5200
|
}, {
|
|
5201
|
-
message: string;
|
|
5202
5201
|
code: string;
|
|
5203
5202
|
path: string;
|
|
5203
|
+
message: string;
|
|
5204
5204
|
statusCode: number;
|
|
5205
5205
|
timestamp: string;
|
|
5206
5206
|
details?: unknown;
|
|
@@ -5215,17 +5215,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5215
5215
|
path: z.ZodString;
|
|
5216
5216
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5217
5217
|
}, "strip", z.ZodTypeAny, {
|
|
5218
|
-
message: string;
|
|
5219
5218
|
code: string;
|
|
5220
5219
|
path: string;
|
|
5220
|
+
message: string;
|
|
5221
5221
|
statusCode: number;
|
|
5222
5222
|
timestamp: string;
|
|
5223
5223
|
details?: unknown;
|
|
5224
5224
|
correlationId?: string | undefined;
|
|
5225
5225
|
}, {
|
|
5226
|
-
message: string;
|
|
5227
5226
|
code: string;
|
|
5228
5227
|
path: string;
|
|
5228
|
+
message: string;
|
|
5229
5229
|
statusCode: number;
|
|
5230
5230
|
timestamp: string;
|
|
5231
5231
|
details?: unknown;
|
|
@@ -5260,26 +5260,26 @@ export declare const collaborationsContractRouter: {
|
|
|
5260
5260
|
isFuzzy: z.ZodOptional<z.ZodBoolean>;
|
|
5261
5261
|
}, "strip", z.ZodTypeAny, {
|
|
5262
5262
|
id: string;
|
|
5263
|
-
company: {
|
|
5264
|
-
name: string;
|
|
5265
|
-
};
|
|
5266
5263
|
user: {
|
|
5267
5264
|
lastName: string;
|
|
5268
5265
|
firstName: string;
|
|
5269
5266
|
};
|
|
5267
|
+
company: {
|
|
5268
|
+
name: string;
|
|
5269
|
+
};
|
|
5270
5270
|
client: {
|
|
5271
5271
|
name: string;
|
|
5272
5272
|
};
|
|
5273
5273
|
isFuzzy?: boolean | undefined;
|
|
5274
5274
|
}, {
|
|
5275
5275
|
id: string;
|
|
5276
|
-
company: {
|
|
5277
|
-
name: string;
|
|
5278
|
-
};
|
|
5279
5276
|
user: {
|
|
5280
5277
|
lastName: string;
|
|
5281
5278
|
firstName: string;
|
|
5282
5279
|
};
|
|
5280
|
+
company: {
|
|
5281
|
+
name: string;
|
|
5282
|
+
};
|
|
5283
5283
|
client: {
|
|
5284
5284
|
name: string;
|
|
5285
5285
|
};
|
|
@@ -5298,7 +5298,7 @@ export declare const collaborationsContractRouter: {
|
|
|
5298
5298
|
method: "GET";
|
|
5299
5299
|
path: "/v2/collaborations/recent";
|
|
5300
5300
|
responses: {
|
|
5301
|
-
|
|
5301
|
+
401: z.ZodObject<{
|
|
5302
5302
|
statusCode: z.ZodNumber;
|
|
5303
5303
|
message: z.ZodString;
|
|
5304
5304
|
code: z.ZodString;
|
|
@@ -5307,23 +5307,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5307
5307
|
path: z.ZodString;
|
|
5308
5308
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5309
5309
|
}, "strip", z.ZodTypeAny, {
|
|
5310
|
-
message: string;
|
|
5311
5310
|
code: string;
|
|
5312
5311
|
path: string;
|
|
5312
|
+
message: string;
|
|
5313
5313
|
statusCode: number;
|
|
5314
5314
|
timestamp: string;
|
|
5315
5315
|
details?: unknown;
|
|
5316
5316
|
correlationId?: string | undefined;
|
|
5317
5317
|
}, {
|
|
5318
|
-
message: string;
|
|
5319
5318
|
code: string;
|
|
5320
5319
|
path: string;
|
|
5320
|
+
message: string;
|
|
5321
5321
|
statusCode: number;
|
|
5322
5322
|
timestamp: string;
|
|
5323
5323
|
details?: unknown;
|
|
5324
5324
|
correlationId?: string | undefined;
|
|
5325
5325
|
}>;
|
|
5326
|
-
|
|
5326
|
+
400: z.ZodObject<{
|
|
5327
5327
|
statusCode: z.ZodNumber;
|
|
5328
5328
|
message: z.ZodString;
|
|
5329
5329
|
code: z.ZodString;
|
|
@@ -5332,23 +5332,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5332
5332
|
path: z.ZodString;
|
|
5333
5333
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5334
5334
|
}, "strip", z.ZodTypeAny, {
|
|
5335
|
-
message: string;
|
|
5336
5335
|
code: string;
|
|
5337
5336
|
path: string;
|
|
5337
|
+
message: string;
|
|
5338
5338
|
statusCode: number;
|
|
5339
5339
|
timestamp: string;
|
|
5340
5340
|
details?: unknown;
|
|
5341
5341
|
correlationId?: string | undefined;
|
|
5342
5342
|
}, {
|
|
5343
|
-
message: string;
|
|
5344
5343
|
code: string;
|
|
5345
5344
|
path: string;
|
|
5345
|
+
message: string;
|
|
5346
5346
|
statusCode: number;
|
|
5347
5347
|
timestamp: string;
|
|
5348
5348
|
details?: unknown;
|
|
5349
5349
|
correlationId?: string | undefined;
|
|
5350
5350
|
}>;
|
|
5351
|
-
|
|
5351
|
+
403: z.ZodObject<{
|
|
5352
5352
|
statusCode: z.ZodNumber;
|
|
5353
5353
|
message: z.ZodString;
|
|
5354
5354
|
code: z.ZodString;
|
|
@@ -5357,17 +5357,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5357
5357
|
path: z.ZodString;
|
|
5358
5358
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5359
5359
|
}, "strip", z.ZodTypeAny, {
|
|
5360
|
-
message: string;
|
|
5361
5360
|
code: string;
|
|
5362
5361
|
path: string;
|
|
5362
|
+
message: string;
|
|
5363
5363
|
statusCode: number;
|
|
5364
5364
|
timestamp: string;
|
|
5365
5365
|
details?: unknown;
|
|
5366
5366
|
correlationId?: string | undefined;
|
|
5367
5367
|
}, {
|
|
5368
|
-
message: string;
|
|
5369
5368
|
code: string;
|
|
5370
5369
|
path: string;
|
|
5370
|
+
message: string;
|
|
5371
5371
|
statusCode: number;
|
|
5372
5372
|
timestamp: string;
|
|
5373
5373
|
details?: unknown;
|
|
@@ -5382,17 +5382,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5382
5382
|
path: z.ZodString;
|
|
5383
5383
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5384
5384
|
}, "strip", z.ZodTypeAny, {
|
|
5385
|
-
message: string;
|
|
5386
5385
|
code: string;
|
|
5387
5386
|
path: string;
|
|
5387
|
+
message: string;
|
|
5388
5388
|
statusCode: number;
|
|
5389
5389
|
timestamp: string;
|
|
5390
5390
|
details?: unknown;
|
|
5391
5391
|
correlationId?: string | undefined;
|
|
5392
5392
|
}, {
|
|
5393
|
-
message: string;
|
|
5394
5393
|
code: string;
|
|
5395
5394
|
path: string;
|
|
5395
|
+
message: string;
|
|
5396
5396
|
statusCode: number;
|
|
5397
5397
|
timestamp: string;
|
|
5398
5398
|
details?: unknown;
|
|
@@ -5427,26 +5427,26 @@ export declare const collaborationsContractRouter: {
|
|
|
5427
5427
|
isFuzzy: z.ZodOptional<z.ZodBoolean>;
|
|
5428
5428
|
}, "strip", z.ZodTypeAny, {
|
|
5429
5429
|
id: string;
|
|
5430
|
-
company: {
|
|
5431
|
-
name: string;
|
|
5432
|
-
};
|
|
5433
5430
|
user: {
|
|
5434
5431
|
lastName: string;
|
|
5435
5432
|
firstName: string;
|
|
5436
5433
|
};
|
|
5434
|
+
company: {
|
|
5435
|
+
name: string;
|
|
5436
|
+
};
|
|
5437
5437
|
client: {
|
|
5438
5438
|
name: string;
|
|
5439
5439
|
};
|
|
5440
5440
|
isFuzzy?: boolean | undefined;
|
|
5441
5441
|
}, {
|
|
5442
5442
|
id: string;
|
|
5443
|
-
company: {
|
|
5444
|
-
name: string;
|
|
5445
|
-
};
|
|
5446
5443
|
user: {
|
|
5447
5444
|
lastName: string;
|
|
5448
5445
|
firstName: string;
|
|
5449
5446
|
};
|
|
5447
|
+
company: {
|
|
5448
|
+
name: string;
|
|
5449
|
+
};
|
|
5450
5450
|
client: {
|
|
5451
5451
|
name: string;
|
|
5452
5452
|
};
|
|
@@ -5472,7 +5472,7 @@ export declare const collaborationsContractRouter: {
|
|
|
5472
5472
|
method: "GET";
|
|
5473
5473
|
path: "/v2/collaborations/:id";
|
|
5474
5474
|
responses: {
|
|
5475
|
-
|
|
5475
|
+
401: z.ZodObject<{
|
|
5476
5476
|
statusCode: z.ZodNumber;
|
|
5477
5477
|
message: z.ZodString;
|
|
5478
5478
|
code: z.ZodString;
|
|
@@ -5481,23 +5481,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5481
5481
|
path: z.ZodString;
|
|
5482
5482
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5483
5483
|
}, "strip", z.ZodTypeAny, {
|
|
5484
|
-
message: string;
|
|
5485
5484
|
code: string;
|
|
5486
5485
|
path: string;
|
|
5486
|
+
message: string;
|
|
5487
5487
|
statusCode: number;
|
|
5488
5488
|
timestamp: string;
|
|
5489
5489
|
details?: unknown;
|
|
5490
5490
|
correlationId?: string | undefined;
|
|
5491
5491
|
}, {
|
|
5492
|
-
message: string;
|
|
5493
5492
|
code: string;
|
|
5494
5493
|
path: string;
|
|
5494
|
+
message: string;
|
|
5495
5495
|
statusCode: number;
|
|
5496
5496
|
timestamp: string;
|
|
5497
5497
|
details?: unknown;
|
|
5498
5498
|
correlationId?: string | undefined;
|
|
5499
5499
|
}>;
|
|
5500
|
-
|
|
5500
|
+
400: z.ZodObject<{
|
|
5501
5501
|
statusCode: z.ZodNumber;
|
|
5502
5502
|
message: z.ZodString;
|
|
5503
5503
|
code: z.ZodString;
|
|
@@ -5506,23 +5506,23 @@ export declare const collaborationsContractRouter: {
|
|
|
5506
5506
|
path: z.ZodString;
|
|
5507
5507
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5508
5508
|
}, "strip", z.ZodTypeAny, {
|
|
5509
|
-
message: string;
|
|
5510
5509
|
code: string;
|
|
5511
5510
|
path: string;
|
|
5511
|
+
message: string;
|
|
5512
5512
|
statusCode: number;
|
|
5513
5513
|
timestamp: string;
|
|
5514
5514
|
details?: unknown;
|
|
5515
5515
|
correlationId?: string | undefined;
|
|
5516
5516
|
}, {
|
|
5517
|
-
message: string;
|
|
5518
5517
|
code: string;
|
|
5519
5518
|
path: string;
|
|
5519
|
+
message: string;
|
|
5520
5520
|
statusCode: number;
|
|
5521
5521
|
timestamp: string;
|
|
5522
5522
|
details?: unknown;
|
|
5523
5523
|
correlationId?: string | undefined;
|
|
5524
5524
|
}>;
|
|
5525
|
-
|
|
5525
|
+
403: z.ZodObject<{
|
|
5526
5526
|
statusCode: z.ZodNumber;
|
|
5527
5527
|
message: z.ZodString;
|
|
5528
5528
|
code: z.ZodString;
|
|
@@ -5531,17 +5531,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5531
5531
|
path: z.ZodString;
|
|
5532
5532
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5533
5533
|
}, "strip", z.ZodTypeAny, {
|
|
5534
|
-
message: string;
|
|
5535
5534
|
code: string;
|
|
5536
5535
|
path: string;
|
|
5536
|
+
message: string;
|
|
5537
5537
|
statusCode: number;
|
|
5538
5538
|
timestamp: string;
|
|
5539
5539
|
details?: unknown;
|
|
5540
5540
|
correlationId?: string | undefined;
|
|
5541
5541
|
}, {
|
|
5542
|
-
message: string;
|
|
5543
5542
|
code: string;
|
|
5544
5543
|
path: string;
|
|
5544
|
+
message: string;
|
|
5545
5545
|
statusCode: number;
|
|
5546
5546
|
timestamp: string;
|
|
5547
5547
|
details?: unknown;
|
|
@@ -5556,17 +5556,17 @@ export declare const collaborationsContractRouter: {
|
|
|
5556
5556
|
path: z.ZodString;
|
|
5557
5557
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
5558
5558
|
}, "strip", z.ZodTypeAny, {
|
|
5559
|
-
message: string;
|
|
5560
5559
|
code: string;
|
|
5561
5560
|
path: string;
|
|
5561
|
+
message: string;
|
|
5562
5562
|
statusCode: number;
|
|
5563
5563
|
timestamp: string;
|
|
5564
5564
|
details?: unknown;
|
|
5565
5565
|
correlationId?: string | undefined;
|
|
5566
5566
|
}, {
|
|
5567
|
-
message: string;
|
|
5568
5567
|
code: string;
|
|
5569
5568
|
path: string;
|
|
5569
|
+
message: string;
|
|
5570
5570
|
statusCode: number;
|
|
5571
5571
|
timestamp: string;
|
|
5572
5572
|
details?: unknown;
|
|
@@ -5764,13 +5764,13 @@ export declare const collaborationsContractRouter: {
|
|
|
5764
5764
|
firstName: string;
|
|
5765
5765
|
}[] | undefined;
|
|
5766
5766
|
} | null | undefined;
|
|
5767
|
+
deletedAt?: string | null | undefined;
|
|
5767
5768
|
canImpersonateUsers?: {
|
|
5768
5769
|
id: string;
|
|
5769
5770
|
lastName: string;
|
|
5770
5771
|
firstName: string;
|
|
5771
5772
|
}[] | undefined;
|
|
5772
5773
|
dialpadUserId?: string | null | undefined;
|
|
5773
|
-
deletedAt?: string | null | undefined;
|
|
5774
5774
|
}, {
|
|
5775
5775
|
email: string;
|
|
5776
5776
|
createdAt: string | Date;
|
|
@@ -5796,13 +5796,13 @@ export declare const collaborationsContractRouter: {
|
|
|
5796
5796
|
description?: string | null | undefined;
|
|
5797
5797
|
isPrimary?: boolean | undefined;
|
|
5798
5798
|
}[] | undefined;
|
|
5799
|
+
deletedAt?: string | Date | null | undefined;
|
|
5799
5800
|
canImpersonateUsers?: {
|
|
5800
5801
|
id: string;
|
|
5801
5802
|
lastName: string;
|
|
5802
5803
|
firstName: string;
|
|
5803
5804
|
}[] | undefined;
|
|
5804
5805
|
dialpadUserId?: string | null | undefined;
|
|
5805
|
-
deletedAt?: string | Date | null | undefined;
|
|
5806
5806
|
}>>>;
|
|
5807
5807
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
5808
5808
|
userId: z.ZodString;
|
|
@@ -6001,13 +6001,13 @@ export declare const collaborationsContractRouter: {
|
|
|
6001
6001
|
firstName: string;
|
|
6002
6002
|
}[] | undefined;
|
|
6003
6003
|
} | null | undefined;
|
|
6004
|
+
deletedAt?: string | null | undefined;
|
|
6004
6005
|
canImpersonateUsers?: {
|
|
6005
6006
|
id: string;
|
|
6006
6007
|
lastName: string;
|
|
6007
6008
|
firstName: string;
|
|
6008
6009
|
}[] | undefined;
|
|
6009
6010
|
dialpadUserId?: string | null | undefined;
|
|
6010
|
-
deletedAt?: string | null | undefined;
|
|
6011
6011
|
}, {
|
|
6012
6012
|
email: string;
|
|
6013
6013
|
createdAt: string | Date;
|
|
@@ -6033,13 +6033,13 @@ export declare const collaborationsContractRouter: {
|
|
|
6033
6033
|
description?: string | null | undefined;
|
|
6034
6034
|
isPrimary?: boolean | undefined;
|
|
6035
6035
|
}[] | undefined;
|
|
6036
|
+
deletedAt?: string | Date | null | undefined;
|
|
6036
6037
|
canImpersonateUsers?: {
|
|
6037
6038
|
id: string;
|
|
6038
6039
|
lastName: string;
|
|
6039
6040
|
firstName: string;
|
|
6040
6041
|
}[] | undefined;
|
|
6041
6042
|
dialpadUserId?: string | null | undefined;
|
|
6042
|
-
deletedAt?: string | Date | null | undefined;
|
|
6043
6043
|
}>>>;
|
|
6044
6044
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
6045
6045
|
userId: z.ZodString;
|
|
@@ -6051,12 +6051,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6051
6051
|
id: string;
|
|
6052
6052
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6053
6053
|
userId: string;
|
|
6054
|
-
company?: {
|
|
6055
|
-
name: string;
|
|
6056
|
-
createdAt: string;
|
|
6057
|
-
updatedAt: string;
|
|
6058
|
-
id: string;
|
|
6059
|
-
} | null | undefined;
|
|
6060
6054
|
user?: {
|
|
6061
6055
|
email: string;
|
|
6062
6056
|
createdAt: string;
|
|
@@ -6082,13 +6076,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6082
6076
|
firstName: string;
|
|
6083
6077
|
}[] | undefined;
|
|
6084
6078
|
} | null | undefined;
|
|
6079
|
+
deletedAt?: string | null | undefined;
|
|
6085
6080
|
canImpersonateUsers?: {
|
|
6086
6081
|
id: string;
|
|
6087
6082
|
lastName: string;
|
|
6088
6083
|
firstName: string;
|
|
6089
6084
|
}[] | undefined;
|
|
6090
6085
|
dialpadUserId?: string | null | undefined;
|
|
6091
|
-
|
|
6086
|
+
} | null | undefined;
|
|
6087
|
+
company?: {
|
|
6088
|
+
name: string;
|
|
6089
|
+
createdAt: string;
|
|
6090
|
+
updatedAt: string;
|
|
6091
|
+
id: string;
|
|
6092
6092
|
} | null | undefined;
|
|
6093
6093
|
client?: {
|
|
6094
6094
|
name: string;
|
|
@@ -6117,12 +6117,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6117
6117
|
id: string;
|
|
6118
6118
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6119
6119
|
userId: string;
|
|
6120
|
-
company?: {
|
|
6121
|
-
name: string;
|
|
6122
|
-
createdAt: string | Date;
|
|
6123
|
-
updatedAt: string | Date;
|
|
6124
|
-
id: string;
|
|
6125
|
-
} | null | undefined;
|
|
6126
6120
|
user?: {
|
|
6127
6121
|
email: string;
|
|
6128
6122
|
createdAt: string | Date;
|
|
@@ -6148,13 +6142,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6148
6142
|
description?: string | null | undefined;
|
|
6149
6143
|
isPrimary?: boolean | undefined;
|
|
6150
6144
|
}[] | undefined;
|
|
6145
|
+
deletedAt?: string | Date | null | undefined;
|
|
6151
6146
|
canImpersonateUsers?: {
|
|
6152
6147
|
id: string;
|
|
6153
6148
|
lastName: string;
|
|
6154
6149
|
firstName: string;
|
|
6155
6150
|
}[] | undefined;
|
|
6156
6151
|
dialpadUserId?: string | null | undefined;
|
|
6157
|
-
|
|
6152
|
+
} | null | undefined;
|
|
6153
|
+
company?: {
|
|
6154
|
+
name: string;
|
|
6155
|
+
createdAt: string | Date;
|
|
6156
|
+
updatedAt: string | Date;
|
|
6157
|
+
id: string;
|
|
6158
6158
|
} | null | undefined;
|
|
6159
6159
|
client?: {
|
|
6160
6160
|
name: string;
|
|
@@ -6184,12 +6184,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6184
6184
|
id: string;
|
|
6185
6185
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6186
6186
|
userId: string;
|
|
6187
|
-
company?: {
|
|
6188
|
-
name: string;
|
|
6189
|
-
createdAt: string;
|
|
6190
|
-
updatedAt: string;
|
|
6191
|
-
id: string;
|
|
6192
|
-
} | null | undefined;
|
|
6193
6187
|
user?: {
|
|
6194
6188
|
email: string;
|
|
6195
6189
|
createdAt: string;
|
|
@@ -6215,13 +6209,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6215
6209
|
firstName: string;
|
|
6216
6210
|
}[] | undefined;
|
|
6217
6211
|
} | null | undefined;
|
|
6212
|
+
deletedAt?: string | null | undefined;
|
|
6218
6213
|
canImpersonateUsers?: {
|
|
6219
6214
|
id: string;
|
|
6220
6215
|
lastName: string;
|
|
6221
6216
|
firstName: string;
|
|
6222
6217
|
}[] | undefined;
|
|
6223
6218
|
dialpadUserId?: string | null | undefined;
|
|
6224
|
-
|
|
6219
|
+
} | null | undefined;
|
|
6220
|
+
company?: {
|
|
6221
|
+
name: string;
|
|
6222
|
+
createdAt: string;
|
|
6223
|
+
updatedAt: string;
|
|
6224
|
+
id: string;
|
|
6225
6225
|
} | null | undefined;
|
|
6226
6226
|
client?: {
|
|
6227
6227
|
name: string;
|
|
@@ -6250,12 +6250,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6250
6250
|
id: string;
|
|
6251
6251
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6252
6252
|
userId: string;
|
|
6253
|
-
company?: {
|
|
6254
|
-
name: string;
|
|
6255
|
-
createdAt: string;
|
|
6256
|
-
updatedAt: string;
|
|
6257
|
-
id: string;
|
|
6258
|
-
} | null | undefined;
|
|
6259
6253
|
user?: {
|
|
6260
6254
|
email: string;
|
|
6261
6255
|
createdAt: string;
|
|
@@ -6281,13 +6275,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6281
6275
|
firstName: string;
|
|
6282
6276
|
}[] | undefined;
|
|
6283
6277
|
} | null | undefined;
|
|
6278
|
+
deletedAt?: string | null | undefined;
|
|
6284
6279
|
canImpersonateUsers?: {
|
|
6285
6280
|
id: string;
|
|
6286
6281
|
lastName: string;
|
|
6287
6282
|
firstName: string;
|
|
6288
6283
|
}[] | undefined;
|
|
6289
6284
|
dialpadUserId?: string | null | undefined;
|
|
6290
|
-
|
|
6285
|
+
} | null | undefined;
|
|
6286
|
+
company?: {
|
|
6287
|
+
name: string;
|
|
6288
|
+
createdAt: string;
|
|
6289
|
+
updatedAt: string;
|
|
6290
|
+
id: string;
|
|
6291
6291
|
} | null | undefined;
|
|
6292
6292
|
client?: {
|
|
6293
6293
|
name: string;
|
|
@@ -6317,12 +6317,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6317
6317
|
id: string;
|
|
6318
6318
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6319
6319
|
userId: string;
|
|
6320
|
-
company?: {
|
|
6321
|
-
name: string;
|
|
6322
|
-
createdAt: string | Date;
|
|
6323
|
-
updatedAt: string | Date;
|
|
6324
|
-
id: string;
|
|
6325
|
-
} | null | undefined;
|
|
6326
6320
|
user?: {
|
|
6327
6321
|
email: string;
|
|
6328
6322
|
createdAt: string | Date;
|
|
@@ -6348,13 +6342,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6348
6342
|
description?: string | null | undefined;
|
|
6349
6343
|
isPrimary?: boolean | undefined;
|
|
6350
6344
|
}[] | undefined;
|
|
6345
|
+
deletedAt?: string | Date | null | undefined;
|
|
6351
6346
|
canImpersonateUsers?: {
|
|
6352
6347
|
id: string;
|
|
6353
6348
|
lastName: string;
|
|
6354
6349
|
firstName: string;
|
|
6355
6350
|
}[] | undefined;
|
|
6356
6351
|
dialpadUserId?: string | null | undefined;
|
|
6357
|
-
|
|
6352
|
+
} | null | undefined;
|
|
6353
|
+
company?: {
|
|
6354
|
+
name: string;
|
|
6355
|
+
createdAt: string | Date;
|
|
6356
|
+
updatedAt: string | Date;
|
|
6357
|
+
id: string;
|
|
6358
6358
|
} | null | undefined;
|
|
6359
6359
|
client?: {
|
|
6360
6360
|
name: string;
|
|
@@ -6383,12 +6383,6 @@ export declare const collaborationsContractRouter: {
|
|
|
6383
6383
|
id: string;
|
|
6384
6384
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
6385
6385
|
userId: string;
|
|
6386
|
-
company?: {
|
|
6387
|
-
name: string;
|
|
6388
|
-
createdAt: string | Date;
|
|
6389
|
-
updatedAt: string | Date;
|
|
6390
|
-
id: string;
|
|
6391
|
-
} | null | undefined;
|
|
6392
6386
|
user?: {
|
|
6393
6387
|
email: string;
|
|
6394
6388
|
createdAt: string | Date;
|
|
@@ -6414,13 +6408,19 @@ export declare const collaborationsContractRouter: {
|
|
|
6414
6408
|
description?: string | null | undefined;
|
|
6415
6409
|
isPrimary?: boolean | undefined;
|
|
6416
6410
|
}[] | undefined;
|
|
6411
|
+
deletedAt?: string | Date | null | undefined;
|
|
6417
6412
|
canImpersonateUsers?: {
|
|
6418
6413
|
id: string;
|
|
6419
6414
|
lastName: string;
|
|
6420
6415
|
firstName: string;
|
|
6421
6416
|
}[] | undefined;
|
|
6422
6417
|
dialpadUserId?: string | null | undefined;
|
|
6423
|
-
|
|
6418
|
+
} | null | undefined;
|
|
6419
|
+
company?: {
|
|
6420
|
+
name: string;
|
|
6421
|
+
createdAt: string | Date;
|
|
6422
|
+
updatedAt: string | Date;
|
|
6423
|
+
id: string;
|
|
6424
6424
|
} | null | undefined;
|
|
6425
6425
|
client?: {
|
|
6426
6426
|
name: string;
|
|
@@ -6454,17 +6454,17 @@ export declare const collaborationsContractRouter: {
|
|
|
6454
6454
|
path: z.ZodString;
|
|
6455
6455
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
6456
6456
|
}, "strip", z.ZodTypeAny, {
|
|
6457
|
-
message: string;
|
|
6458
6457
|
code: string;
|
|
6459
6458
|
path: string;
|
|
6459
|
+
message: string;
|
|
6460
6460
|
statusCode: number;
|
|
6461
6461
|
timestamp: string;
|
|
6462
6462
|
details?: unknown;
|
|
6463
6463
|
correlationId?: string | undefined;
|
|
6464
6464
|
}, {
|
|
6465
|
-
message: string;
|
|
6466
6465
|
code: string;
|
|
6467
6466
|
path: string;
|
|
6467
|
+
message: string;
|
|
6468
6468
|
statusCode: number;
|
|
6469
6469
|
timestamp: string;
|
|
6470
6470
|
details?: unknown;
|
|
@@ -6506,24 +6506,24 @@ export declare const collaborationsContractRouter: {
|
|
|
6506
6506
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>>;
|
|
6507
6507
|
}, "strip", z.ZodTypeAny, {
|
|
6508
6508
|
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT" | undefined;
|
|
6509
|
-
|
|
6509
|
+
user?: {
|
|
6510
6510
|
id: string;
|
|
6511
6511
|
} | undefined;
|
|
6512
|
-
|
|
6512
|
+
company?: {
|
|
6513
6513
|
id: string;
|
|
6514
6514
|
} | undefined;
|
|
6515
6515
|
}, {
|
|
6516
6516
|
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT" | undefined;
|
|
6517
|
-
|
|
6517
|
+
user?: {
|
|
6518
6518
|
id: string;
|
|
6519
6519
|
} | undefined;
|
|
6520
|
-
|
|
6520
|
+
company?: {
|
|
6521
6521
|
id: string;
|
|
6522
6522
|
} | undefined;
|
|
6523
6523
|
}>;
|
|
6524
6524
|
path: "/v2/collaborations/:id";
|
|
6525
6525
|
responses: {
|
|
6526
|
-
|
|
6526
|
+
401: z.ZodObject<{
|
|
6527
6527
|
statusCode: z.ZodNumber;
|
|
6528
6528
|
message: z.ZodString;
|
|
6529
6529
|
code: z.ZodString;
|
|
@@ -6532,23 +6532,23 @@ export declare const collaborationsContractRouter: {
|
|
|
6532
6532
|
path: z.ZodString;
|
|
6533
6533
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
6534
6534
|
}, "strip", z.ZodTypeAny, {
|
|
6535
|
-
message: string;
|
|
6536
6535
|
code: string;
|
|
6537
6536
|
path: string;
|
|
6537
|
+
message: string;
|
|
6538
6538
|
statusCode: number;
|
|
6539
6539
|
timestamp: string;
|
|
6540
6540
|
details?: unknown;
|
|
6541
6541
|
correlationId?: string | undefined;
|
|
6542
6542
|
}, {
|
|
6543
|
-
message: string;
|
|
6544
6543
|
code: string;
|
|
6545
6544
|
path: string;
|
|
6545
|
+
message: string;
|
|
6546
6546
|
statusCode: number;
|
|
6547
6547
|
timestamp: string;
|
|
6548
6548
|
details?: unknown;
|
|
6549
6549
|
correlationId?: string | undefined;
|
|
6550
6550
|
}>;
|
|
6551
|
-
|
|
6551
|
+
400: z.ZodObject<{
|
|
6552
6552
|
statusCode: z.ZodNumber;
|
|
6553
6553
|
message: z.ZodString;
|
|
6554
6554
|
code: z.ZodString;
|
|
@@ -6557,23 +6557,23 @@ export declare const collaborationsContractRouter: {
|
|
|
6557
6557
|
path: z.ZodString;
|
|
6558
6558
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
6559
6559
|
}, "strip", z.ZodTypeAny, {
|
|
6560
|
-
message: string;
|
|
6561
6560
|
code: string;
|
|
6562
6561
|
path: string;
|
|
6562
|
+
message: string;
|
|
6563
6563
|
statusCode: number;
|
|
6564
6564
|
timestamp: string;
|
|
6565
6565
|
details?: unknown;
|
|
6566
6566
|
correlationId?: string | undefined;
|
|
6567
6567
|
}, {
|
|
6568
|
-
message: string;
|
|
6569
6568
|
code: string;
|
|
6570
6569
|
path: string;
|
|
6570
|
+
message: string;
|
|
6571
6571
|
statusCode: number;
|
|
6572
6572
|
timestamp: string;
|
|
6573
6573
|
details?: unknown;
|
|
6574
6574
|
correlationId?: string | undefined;
|
|
6575
6575
|
}>;
|
|
6576
|
-
|
|
6576
|
+
403: z.ZodObject<{
|
|
6577
6577
|
statusCode: z.ZodNumber;
|
|
6578
6578
|
message: z.ZodString;
|
|
6579
6579
|
code: z.ZodString;
|
|
@@ -6582,17 +6582,17 @@ export declare const collaborationsContractRouter: {
|
|
|
6582
6582
|
path: z.ZodString;
|
|
6583
6583
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
6584
6584
|
}, "strip", z.ZodTypeAny, {
|
|
6585
|
-
message: string;
|
|
6586
6585
|
code: string;
|
|
6587
6586
|
path: string;
|
|
6587
|
+
message: string;
|
|
6588
6588
|
statusCode: number;
|
|
6589
6589
|
timestamp: string;
|
|
6590
6590
|
details?: unknown;
|
|
6591
6591
|
correlationId?: string | undefined;
|
|
6592
6592
|
}, {
|
|
6593
|
-
message: string;
|
|
6594
6593
|
code: string;
|
|
6595
6594
|
path: string;
|
|
6595
|
+
message: string;
|
|
6596
6596
|
statusCode: number;
|
|
6597
6597
|
timestamp: string;
|
|
6598
6598
|
details?: unknown;
|
|
@@ -6607,17 +6607,17 @@ export declare const collaborationsContractRouter: {
|
|
|
6607
6607
|
path: z.ZodString;
|
|
6608
6608
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
6609
6609
|
}, "strip", z.ZodTypeAny, {
|
|
6610
|
-
message: string;
|
|
6611
6610
|
code: string;
|
|
6612
6611
|
path: string;
|
|
6612
|
+
message: string;
|
|
6613
6613
|
statusCode: number;
|
|
6614
6614
|
timestamp: string;
|
|
6615
6615
|
details?: unknown;
|
|
6616
6616
|
correlationId?: string | undefined;
|
|
6617
6617
|
}, {
|
|
6618
|
-
message: string;
|
|
6619
6618
|
code: string;
|
|
6620
6619
|
path: string;
|
|
6620
|
+
message: string;
|
|
6621
6621
|
statusCode: number;
|
|
6622
6622
|
timestamp: string;
|
|
6623
6623
|
details?: unknown;
|
|
@@ -6815,13 +6815,13 @@ export declare const collaborationsContractRouter: {
|
|
|
6815
6815
|
firstName: string;
|
|
6816
6816
|
}[] | undefined;
|
|
6817
6817
|
} | null | undefined;
|
|
6818
|
+
deletedAt?: string | null | undefined;
|
|
6818
6819
|
canImpersonateUsers?: {
|
|
6819
6820
|
id: string;
|
|
6820
6821
|
lastName: string;
|
|
6821
6822
|
firstName: string;
|
|
6822
6823
|
}[] | undefined;
|
|
6823
6824
|
dialpadUserId?: string | null | undefined;
|
|
6824
|
-
deletedAt?: string | null | undefined;
|
|
6825
6825
|
}, {
|
|
6826
6826
|
email: string;
|
|
6827
6827
|
createdAt: string | Date;
|
|
@@ -6847,13 +6847,13 @@ export declare const collaborationsContractRouter: {
|
|
|
6847
6847
|
description?: string | null | undefined;
|
|
6848
6848
|
isPrimary?: boolean | undefined;
|
|
6849
6849
|
}[] | undefined;
|
|
6850
|
+
deletedAt?: string | Date | null | undefined;
|
|
6850
6851
|
canImpersonateUsers?: {
|
|
6851
6852
|
id: string;
|
|
6852
6853
|
lastName: string;
|
|
6853
6854
|
firstName: string;
|
|
6854
6855
|
}[] | undefined;
|
|
6855
6856
|
dialpadUserId?: string | null | undefined;
|
|
6856
|
-
deletedAt?: string | Date | null | undefined;
|
|
6857
6857
|
}>>>;
|
|
6858
6858
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
6859
6859
|
userId: z.ZodString;
|
|
@@ -7052,13 +7052,13 @@ export declare const collaborationsContractRouter: {
|
|
|
7052
7052
|
firstName: string;
|
|
7053
7053
|
}[] | undefined;
|
|
7054
7054
|
} | null | undefined;
|
|
7055
|
+
deletedAt?: string | null | undefined;
|
|
7055
7056
|
canImpersonateUsers?: {
|
|
7056
7057
|
id: string;
|
|
7057
7058
|
lastName: string;
|
|
7058
7059
|
firstName: string;
|
|
7059
7060
|
}[] | undefined;
|
|
7060
7061
|
dialpadUserId?: string | null | undefined;
|
|
7061
|
-
deletedAt?: string | null | undefined;
|
|
7062
7062
|
}, {
|
|
7063
7063
|
email: string;
|
|
7064
7064
|
createdAt: string | Date;
|
|
@@ -7084,13 +7084,13 @@ export declare const collaborationsContractRouter: {
|
|
|
7084
7084
|
description?: string | null | undefined;
|
|
7085
7085
|
isPrimary?: boolean | undefined;
|
|
7086
7086
|
}[] | undefined;
|
|
7087
|
+
deletedAt?: string | Date | null | undefined;
|
|
7087
7088
|
canImpersonateUsers?: {
|
|
7088
7089
|
id: string;
|
|
7089
7090
|
lastName: string;
|
|
7090
7091
|
firstName: string;
|
|
7091
7092
|
}[] | undefined;
|
|
7092
7093
|
dialpadUserId?: string | null | undefined;
|
|
7093
|
-
deletedAt?: string | Date | null | undefined;
|
|
7094
7094
|
}>>>;
|
|
7095
7095
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
7096
7096
|
userId: z.ZodString;
|
|
@@ -7102,12 +7102,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7102
7102
|
id: string;
|
|
7103
7103
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7104
7104
|
userId: string;
|
|
7105
|
-
company?: {
|
|
7106
|
-
name: string;
|
|
7107
|
-
createdAt: string;
|
|
7108
|
-
updatedAt: string;
|
|
7109
|
-
id: string;
|
|
7110
|
-
} | null | undefined;
|
|
7111
7105
|
user?: {
|
|
7112
7106
|
email: string;
|
|
7113
7107
|
createdAt: string;
|
|
@@ -7133,13 +7127,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7133
7127
|
firstName: string;
|
|
7134
7128
|
}[] | undefined;
|
|
7135
7129
|
} | null | undefined;
|
|
7130
|
+
deletedAt?: string | null | undefined;
|
|
7136
7131
|
canImpersonateUsers?: {
|
|
7137
7132
|
id: string;
|
|
7138
7133
|
lastName: string;
|
|
7139
7134
|
firstName: string;
|
|
7140
7135
|
}[] | undefined;
|
|
7141
7136
|
dialpadUserId?: string | null | undefined;
|
|
7142
|
-
|
|
7137
|
+
} | null | undefined;
|
|
7138
|
+
company?: {
|
|
7139
|
+
name: string;
|
|
7140
|
+
createdAt: string;
|
|
7141
|
+
updatedAt: string;
|
|
7142
|
+
id: string;
|
|
7143
7143
|
} | null | undefined;
|
|
7144
7144
|
client?: {
|
|
7145
7145
|
name: string;
|
|
@@ -7168,12 +7168,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7168
7168
|
id: string;
|
|
7169
7169
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7170
7170
|
userId: string;
|
|
7171
|
-
company?: {
|
|
7172
|
-
name: string;
|
|
7173
|
-
createdAt: string | Date;
|
|
7174
|
-
updatedAt: string | Date;
|
|
7175
|
-
id: string;
|
|
7176
|
-
} | null | undefined;
|
|
7177
7171
|
user?: {
|
|
7178
7172
|
email: string;
|
|
7179
7173
|
createdAt: string | Date;
|
|
@@ -7199,13 +7193,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7199
7193
|
description?: string | null | undefined;
|
|
7200
7194
|
isPrimary?: boolean | undefined;
|
|
7201
7195
|
}[] | undefined;
|
|
7196
|
+
deletedAt?: string | Date | null | undefined;
|
|
7202
7197
|
canImpersonateUsers?: {
|
|
7203
7198
|
id: string;
|
|
7204
7199
|
lastName: string;
|
|
7205
7200
|
firstName: string;
|
|
7206
7201
|
}[] | undefined;
|
|
7207
7202
|
dialpadUserId?: string | null | undefined;
|
|
7208
|
-
|
|
7203
|
+
} | null | undefined;
|
|
7204
|
+
company?: {
|
|
7205
|
+
name: string;
|
|
7206
|
+
createdAt: string | Date;
|
|
7207
|
+
updatedAt: string | Date;
|
|
7208
|
+
id: string;
|
|
7209
7209
|
} | null | undefined;
|
|
7210
7210
|
client?: {
|
|
7211
7211
|
name: string;
|
|
@@ -7235,12 +7235,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7235
7235
|
id: string;
|
|
7236
7236
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7237
7237
|
userId: string;
|
|
7238
|
-
company?: {
|
|
7239
|
-
name: string;
|
|
7240
|
-
createdAt: string;
|
|
7241
|
-
updatedAt: string;
|
|
7242
|
-
id: string;
|
|
7243
|
-
} | null | undefined;
|
|
7244
7238
|
user?: {
|
|
7245
7239
|
email: string;
|
|
7246
7240
|
createdAt: string;
|
|
@@ -7266,13 +7260,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7266
7260
|
firstName: string;
|
|
7267
7261
|
}[] | undefined;
|
|
7268
7262
|
} | null | undefined;
|
|
7263
|
+
deletedAt?: string | null | undefined;
|
|
7269
7264
|
canImpersonateUsers?: {
|
|
7270
7265
|
id: string;
|
|
7271
7266
|
lastName: string;
|
|
7272
7267
|
firstName: string;
|
|
7273
7268
|
}[] | undefined;
|
|
7274
7269
|
dialpadUserId?: string | null | undefined;
|
|
7275
|
-
|
|
7270
|
+
} | null | undefined;
|
|
7271
|
+
company?: {
|
|
7272
|
+
name: string;
|
|
7273
|
+
createdAt: string;
|
|
7274
|
+
updatedAt: string;
|
|
7275
|
+
id: string;
|
|
7276
7276
|
} | null | undefined;
|
|
7277
7277
|
client?: {
|
|
7278
7278
|
name: string;
|
|
@@ -7301,12 +7301,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7301
7301
|
id: string;
|
|
7302
7302
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7303
7303
|
userId: string;
|
|
7304
|
-
company?: {
|
|
7305
|
-
name: string;
|
|
7306
|
-
createdAt: string;
|
|
7307
|
-
updatedAt: string;
|
|
7308
|
-
id: string;
|
|
7309
|
-
} | null | undefined;
|
|
7310
7304
|
user?: {
|
|
7311
7305
|
email: string;
|
|
7312
7306
|
createdAt: string;
|
|
@@ -7332,13 +7326,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7332
7326
|
firstName: string;
|
|
7333
7327
|
}[] | undefined;
|
|
7334
7328
|
} | null | undefined;
|
|
7329
|
+
deletedAt?: string | null | undefined;
|
|
7335
7330
|
canImpersonateUsers?: {
|
|
7336
7331
|
id: string;
|
|
7337
7332
|
lastName: string;
|
|
7338
7333
|
firstName: string;
|
|
7339
7334
|
}[] | undefined;
|
|
7340
7335
|
dialpadUserId?: string | null | undefined;
|
|
7341
|
-
|
|
7336
|
+
} | null | undefined;
|
|
7337
|
+
company?: {
|
|
7338
|
+
name: string;
|
|
7339
|
+
createdAt: string;
|
|
7340
|
+
updatedAt: string;
|
|
7341
|
+
id: string;
|
|
7342
7342
|
} | null | undefined;
|
|
7343
7343
|
client?: {
|
|
7344
7344
|
name: string;
|
|
@@ -7368,12 +7368,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7368
7368
|
id: string;
|
|
7369
7369
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7370
7370
|
userId: string;
|
|
7371
|
-
company?: {
|
|
7372
|
-
name: string;
|
|
7373
|
-
createdAt: string | Date;
|
|
7374
|
-
updatedAt: string | Date;
|
|
7375
|
-
id: string;
|
|
7376
|
-
} | null | undefined;
|
|
7377
7371
|
user?: {
|
|
7378
7372
|
email: string;
|
|
7379
7373
|
createdAt: string | Date;
|
|
@@ -7399,13 +7393,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7399
7393
|
description?: string | null | undefined;
|
|
7400
7394
|
isPrimary?: boolean | undefined;
|
|
7401
7395
|
}[] | undefined;
|
|
7396
|
+
deletedAt?: string | Date | null | undefined;
|
|
7402
7397
|
canImpersonateUsers?: {
|
|
7403
7398
|
id: string;
|
|
7404
7399
|
lastName: string;
|
|
7405
7400
|
firstName: string;
|
|
7406
7401
|
}[] | undefined;
|
|
7407
7402
|
dialpadUserId?: string | null | undefined;
|
|
7408
|
-
|
|
7403
|
+
} | null | undefined;
|
|
7404
|
+
company?: {
|
|
7405
|
+
name: string;
|
|
7406
|
+
createdAt: string | Date;
|
|
7407
|
+
updatedAt: string | Date;
|
|
7408
|
+
id: string;
|
|
7409
7409
|
} | null | undefined;
|
|
7410
7410
|
client?: {
|
|
7411
7411
|
name: string;
|
|
@@ -7434,12 +7434,6 @@ export declare const collaborationsContractRouter: {
|
|
|
7434
7434
|
id: string;
|
|
7435
7435
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
7436
7436
|
userId: string;
|
|
7437
|
-
company?: {
|
|
7438
|
-
name: string;
|
|
7439
|
-
createdAt: string | Date;
|
|
7440
|
-
updatedAt: string | Date;
|
|
7441
|
-
id: string;
|
|
7442
|
-
} | null | undefined;
|
|
7443
7437
|
user?: {
|
|
7444
7438
|
email: string;
|
|
7445
7439
|
createdAt: string | Date;
|
|
@@ -7465,13 +7459,19 @@ export declare const collaborationsContractRouter: {
|
|
|
7465
7459
|
description?: string | null | undefined;
|
|
7466
7460
|
isPrimary?: boolean | undefined;
|
|
7467
7461
|
}[] | undefined;
|
|
7462
|
+
deletedAt?: string | Date | null | undefined;
|
|
7468
7463
|
canImpersonateUsers?: {
|
|
7469
7464
|
id: string;
|
|
7470
7465
|
lastName: string;
|
|
7471
7466
|
firstName: string;
|
|
7472
7467
|
}[] | undefined;
|
|
7473
7468
|
dialpadUserId?: string | null | undefined;
|
|
7474
|
-
|
|
7469
|
+
} | null | undefined;
|
|
7470
|
+
company?: {
|
|
7471
|
+
name: string;
|
|
7472
|
+
createdAt: string | Date;
|
|
7473
|
+
updatedAt: string | Date;
|
|
7474
|
+
id: string;
|
|
7475
7475
|
} | null | undefined;
|
|
7476
7476
|
client?: {
|
|
7477
7477
|
name: string;
|
|
@@ -7505,17 +7505,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7505
7505
|
path: z.ZodString;
|
|
7506
7506
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7507
7507
|
}, "strip", z.ZodTypeAny, {
|
|
7508
|
-
message: string;
|
|
7509
7508
|
code: string;
|
|
7510
7509
|
path: string;
|
|
7510
|
+
message: string;
|
|
7511
7511
|
statusCode: number;
|
|
7512
7512
|
timestamp: string;
|
|
7513
7513
|
details?: unknown;
|
|
7514
7514
|
correlationId?: string | undefined;
|
|
7515
7515
|
}, {
|
|
7516
|
-
message: string;
|
|
7517
7516
|
code: string;
|
|
7518
7517
|
path: string;
|
|
7518
|
+
message: string;
|
|
7519
7519
|
statusCode: number;
|
|
7520
7520
|
timestamp: string;
|
|
7521
7521
|
details?: unknown;
|
|
@@ -7530,17 +7530,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7530
7530
|
path: z.ZodString;
|
|
7531
7531
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7532
7532
|
}, "strip", z.ZodTypeAny, {
|
|
7533
|
-
message: string;
|
|
7534
7533
|
code: string;
|
|
7535
7534
|
path: string;
|
|
7535
|
+
message: string;
|
|
7536
7536
|
statusCode: number;
|
|
7537
7537
|
timestamp: string;
|
|
7538
7538
|
details?: unknown;
|
|
7539
7539
|
correlationId?: string | undefined;
|
|
7540
7540
|
}, {
|
|
7541
|
-
message: string;
|
|
7542
7541
|
code: string;
|
|
7543
7542
|
path: string;
|
|
7543
|
+
message: string;
|
|
7544
7544
|
statusCode: number;
|
|
7545
7545
|
timestamp: string;
|
|
7546
7546
|
details?: unknown;
|
|
@@ -7567,7 +7567,7 @@ export declare const collaborationsContractRouter: {
|
|
|
7567
7567
|
body: typeof import("@ts-rest/core").ContractNoBody;
|
|
7568
7568
|
path: "/v2/collaborations/:id";
|
|
7569
7569
|
responses: {
|
|
7570
|
-
|
|
7570
|
+
401: z.ZodObject<{
|
|
7571
7571
|
statusCode: z.ZodNumber;
|
|
7572
7572
|
message: z.ZodString;
|
|
7573
7573
|
code: z.ZodString;
|
|
@@ -7576,23 +7576,23 @@ export declare const collaborationsContractRouter: {
|
|
|
7576
7576
|
path: z.ZodString;
|
|
7577
7577
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7578
7578
|
}, "strip", z.ZodTypeAny, {
|
|
7579
|
-
message: string;
|
|
7580
7579
|
code: string;
|
|
7581
7580
|
path: string;
|
|
7581
|
+
message: string;
|
|
7582
7582
|
statusCode: number;
|
|
7583
7583
|
timestamp: string;
|
|
7584
7584
|
details?: unknown;
|
|
7585
7585
|
correlationId?: string | undefined;
|
|
7586
7586
|
}, {
|
|
7587
|
-
message: string;
|
|
7588
7587
|
code: string;
|
|
7589
7588
|
path: string;
|
|
7589
|
+
message: string;
|
|
7590
7590
|
statusCode: number;
|
|
7591
7591
|
timestamp: string;
|
|
7592
7592
|
details?: unknown;
|
|
7593
7593
|
correlationId?: string | undefined;
|
|
7594
7594
|
}>;
|
|
7595
|
-
|
|
7595
|
+
400: z.ZodObject<{
|
|
7596
7596
|
statusCode: z.ZodNumber;
|
|
7597
7597
|
message: z.ZodString;
|
|
7598
7598
|
code: z.ZodString;
|
|
@@ -7601,23 +7601,23 @@ export declare const collaborationsContractRouter: {
|
|
|
7601
7601
|
path: z.ZodString;
|
|
7602
7602
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7603
7603
|
}, "strip", z.ZodTypeAny, {
|
|
7604
|
-
message: string;
|
|
7605
7604
|
code: string;
|
|
7606
7605
|
path: string;
|
|
7606
|
+
message: string;
|
|
7607
7607
|
statusCode: number;
|
|
7608
7608
|
timestamp: string;
|
|
7609
7609
|
details?: unknown;
|
|
7610
7610
|
correlationId?: string | undefined;
|
|
7611
7611
|
}, {
|
|
7612
|
-
message: string;
|
|
7613
7612
|
code: string;
|
|
7614
7613
|
path: string;
|
|
7614
|
+
message: string;
|
|
7615
7615
|
statusCode: number;
|
|
7616
7616
|
timestamp: string;
|
|
7617
7617
|
details?: unknown;
|
|
7618
7618
|
correlationId?: string | undefined;
|
|
7619
7619
|
}>;
|
|
7620
|
-
|
|
7620
|
+
403: z.ZodObject<{
|
|
7621
7621
|
statusCode: z.ZodNumber;
|
|
7622
7622
|
message: z.ZodString;
|
|
7623
7623
|
code: z.ZodString;
|
|
@@ -7626,17 +7626,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7626
7626
|
path: z.ZodString;
|
|
7627
7627
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7628
7628
|
}, "strip", z.ZodTypeAny, {
|
|
7629
|
-
message: string;
|
|
7630
7629
|
code: string;
|
|
7631
7630
|
path: string;
|
|
7631
|
+
message: string;
|
|
7632
7632
|
statusCode: number;
|
|
7633
7633
|
timestamp: string;
|
|
7634
7634
|
details?: unknown;
|
|
7635
7635
|
correlationId?: string | undefined;
|
|
7636
7636
|
}, {
|
|
7637
|
-
message: string;
|
|
7638
7637
|
code: string;
|
|
7639
7638
|
path: string;
|
|
7639
|
+
message: string;
|
|
7640
7640
|
statusCode: number;
|
|
7641
7641
|
timestamp: string;
|
|
7642
7642
|
details?: unknown;
|
|
@@ -7651,17 +7651,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7651
7651
|
path: z.ZodString;
|
|
7652
7652
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7653
7653
|
}, "strip", z.ZodTypeAny, {
|
|
7654
|
-
message: string;
|
|
7655
7654
|
code: string;
|
|
7656
7655
|
path: string;
|
|
7656
|
+
message: string;
|
|
7657
7657
|
statusCode: number;
|
|
7658
7658
|
timestamp: string;
|
|
7659
7659
|
details?: unknown;
|
|
7660
7660
|
correlationId?: string | undefined;
|
|
7661
7661
|
}, {
|
|
7662
|
-
message: string;
|
|
7663
7662
|
code: string;
|
|
7664
7663
|
path: string;
|
|
7664
|
+
message: string;
|
|
7665
7665
|
statusCode: number;
|
|
7666
7666
|
timestamp: string;
|
|
7667
7667
|
details?: unknown;
|
|
@@ -7677,17 +7677,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7677
7677
|
path: z.ZodString;
|
|
7678
7678
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7679
7679
|
}, "strip", z.ZodTypeAny, {
|
|
7680
|
-
message: string;
|
|
7681
7680
|
code: string;
|
|
7682
7681
|
path: string;
|
|
7682
|
+
message: string;
|
|
7683
7683
|
statusCode: number;
|
|
7684
7684
|
timestamp: string;
|
|
7685
7685
|
details?: unknown;
|
|
7686
7686
|
correlationId?: string | undefined;
|
|
7687
7687
|
}, {
|
|
7688
|
-
message: string;
|
|
7689
7688
|
code: string;
|
|
7690
7689
|
path: string;
|
|
7690
|
+
message: string;
|
|
7691
7691
|
statusCode: number;
|
|
7692
7692
|
timestamp: string;
|
|
7693
7693
|
details?: unknown;
|
|
@@ -7752,7 +7752,7 @@ export declare const collaborationsContractRouter: {
|
|
|
7752
7752
|
}>;
|
|
7753
7753
|
path: "/v2/collaborations";
|
|
7754
7754
|
responses: {
|
|
7755
|
-
|
|
7755
|
+
401: z.ZodObject<{
|
|
7756
7756
|
statusCode: z.ZodNumber;
|
|
7757
7757
|
message: z.ZodString;
|
|
7758
7758
|
code: z.ZodString;
|
|
@@ -7761,23 +7761,23 @@ export declare const collaborationsContractRouter: {
|
|
|
7761
7761
|
path: z.ZodString;
|
|
7762
7762
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7763
7763
|
}, "strip", z.ZodTypeAny, {
|
|
7764
|
-
message: string;
|
|
7765
7764
|
code: string;
|
|
7766
7765
|
path: string;
|
|
7766
|
+
message: string;
|
|
7767
7767
|
statusCode: number;
|
|
7768
7768
|
timestamp: string;
|
|
7769
7769
|
details?: unknown;
|
|
7770
7770
|
correlationId?: string | undefined;
|
|
7771
7771
|
}, {
|
|
7772
|
-
message: string;
|
|
7773
7772
|
code: string;
|
|
7774
7773
|
path: string;
|
|
7774
|
+
message: string;
|
|
7775
7775
|
statusCode: number;
|
|
7776
7776
|
timestamp: string;
|
|
7777
7777
|
details?: unknown;
|
|
7778
7778
|
correlationId?: string | undefined;
|
|
7779
7779
|
}>;
|
|
7780
|
-
|
|
7780
|
+
400: z.ZodObject<{
|
|
7781
7781
|
statusCode: z.ZodNumber;
|
|
7782
7782
|
message: z.ZodString;
|
|
7783
7783
|
code: z.ZodString;
|
|
@@ -7786,23 +7786,23 @@ export declare const collaborationsContractRouter: {
|
|
|
7786
7786
|
path: z.ZodString;
|
|
7787
7787
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7788
7788
|
}, "strip", z.ZodTypeAny, {
|
|
7789
|
-
message: string;
|
|
7790
7789
|
code: string;
|
|
7791
7790
|
path: string;
|
|
7791
|
+
message: string;
|
|
7792
7792
|
statusCode: number;
|
|
7793
7793
|
timestamp: string;
|
|
7794
7794
|
details?: unknown;
|
|
7795
7795
|
correlationId?: string | undefined;
|
|
7796
7796
|
}, {
|
|
7797
|
-
message: string;
|
|
7798
7797
|
code: string;
|
|
7799
7798
|
path: string;
|
|
7799
|
+
message: string;
|
|
7800
7800
|
statusCode: number;
|
|
7801
7801
|
timestamp: string;
|
|
7802
7802
|
details?: unknown;
|
|
7803
7803
|
correlationId?: string | undefined;
|
|
7804
7804
|
}>;
|
|
7805
|
-
|
|
7805
|
+
403: z.ZodObject<{
|
|
7806
7806
|
statusCode: z.ZodNumber;
|
|
7807
7807
|
message: z.ZodString;
|
|
7808
7808
|
code: z.ZodString;
|
|
@@ -7811,17 +7811,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7811
7811
|
path: z.ZodString;
|
|
7812
7812
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7813
7813
|
}, "strip", z.ZodTypeAny, {
|
|
7814
|
-
message: string;
|
|
7815
7814
|
code: string;
|
|
7816
7815
|
path: string;
|
|
7816
|
+
message: string;
|
|
7817
7817
|
statusCode: number;
|
|
7818
7818
|
timestamp: string;
|
|
7819
7819
|
details?: unknown;
|
|
7820
7820
|
correlationId?: string | undefined;
|
|
7821
7821
|
}, {
|
|
7822
|
-
message: string;
|
|
7823
7822
|
code: string;
|
|
7824
7823
|
path: string;
|
|
7824
|
+
message: string;
|
|
7825
7825
|
statusCode: number;
|
|
7826
7826
|
timestamp: string;
|
|
7827
7827
|
details?: unknown;
|
|
@@ -7836,17 +7836,17 @@ export declare const collaborationsContractRouter: {
|
|
|
7836
7836
|
path: z.ZodString;
|
|
7837
7837
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
7838
7838
|
}, "strip", z.ZodTypeAny, {
|
|
7839
|
-
message: string;
|
|
7840
7839
|
code: string;
|
|
7841
7840
|
path: string;
|
|
7841
|
+
message: string;
|
|
7842
7842
|
statusCode: number;
|
|
7843
7843
|
timestamp: string;
|
|
7844
7844
|
details?: unknown;
|
|
7845
7845
|
correlationId?: string | undefined;
|
|
7846
7846
|
}, {
|
|
7847
|
-
message: string;
|
|
7848
7847
|
code: string;
|
|
7849
7848
|
path: string;
|
|
7849
|
+
message: string;
|
|
7850
7850
|
statusCode: number;
|
|
7851
7851
|
timestamp: string;
|
|
7852
7852
|
details?: unknown;
|
|
@@ -8044,13 +8044,13 @@ export declare const collaborationsContractRouter: {
|
|
|
8044
8044
|
firstName: string;
|
|
8045
8045
|
}[] | undefined;
|
|
8046
8046
|
} | null | undefined;
|
|
8047
|
+
deletedAt?: string | null | undefined;
|
|
8047
8048
|
canImpersonateUsers?: {
|
|
8048
8049
|
id: string;
|
|
8049
8050
|
lastName: string;
|
|
8050
8051
|
firstName: string;
|
|
8051
8052
|
}[] | undefined;
|
|
8052
8053
|
dialpadUserId?: string | null | undefined;
|
|
8053
|
-
deletedAt?: string | null | undefined;
|
|
8054
8054
|
}, {
|
|
8055
8055
|
email: string;
|
|
8056
8056
|
createdAt: string | Date;
|
|
@@ -8076,13 +8076,13 @@ export declare const collaborationsContractRouter: {
|
|
|
8076
8076
|
description?: string | null | undefined;
|
|
8077
8077
|
isPrimary?: boolean | undefined;
|
|
8078
8078
|
}[] | undefined;
|
|
8079
|
+
deletedAt?: string | Date | null | undefined;
|
|
8079
8080
|
canImpersonateUsers?: {
|
|
8080
8081
|
id: string;
|
|
8081
8082
|
lastName: string;
|
|
8082
8083
|
firstName: string;
|
|
8083
8084
|
}[] | undefined;
|
|
8084
8085
|
dialpadUserId?: string | null | undefined;
|
|
8085
|
-
deletedAt?: string | Date | null | undefined;
|
|
8086
8086
|
}>>>;
|
|
8087
8087
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
8088
8088
|
userId: z.ZodString;
|
|
@@ -8281,13 +8281,13 @@ export declare const collaborationsContractRouter: {
|
|
|
8281
8281
|
firstName: string;
|
|
8282
8282
|
}[] | undefined;
|
|
8283
8283
|
} | null | undefined;
|
|
8284
|
+
deletedAt?: string | null | undefined;
|
|
8284
8285
|
canImpersonateUsers?: {
|
|
8285
8286
|
id: string;
|
|
8286
8287
|
lastName: string;
|
|
8287
8288
|
firstName: string;
|
|
8288
8289
|
}[] | undefined;
|
|
8289
8290
|
dialpadUserId?: string | null | undefined;
|
|
8290
|
-
deletedAt?: string | null | undefined;
|
|
8291
8291
|
}, {
|
|
8292
8292
|
email: string;
|
|
8293
8293
|
createdAt: string | Date;
|
|
@@ -8313,13 +8313,13 @@ export declare const collaborationsContractRouter: {
|
|
|
8313
8313
|
description?: string | null | undefined;
|
|
8314
8314
|
isPrimary?: boolean | undefined;
|
|
8315
8315
|
}[] | undefined;
|
|
8316
|
+
deletedAt?: string | Date | null | undefined;
|
|
8316
8317
|
canImpersonateUsers?: {
|
|
8317
8318
|
id: string;
|
|
8318
8319
|
lastName: string;
|
|
8319
8320
|
firstName: string;
|
|
8320
8321
|
}[] | undefined;
|
|
8321
8322
|
dialpadUserId?: string | null | undefined;
|
|
8322
|
-
deletedAt?: string | Date | null | undefined;
|
|
8323
8323
|
}>>>;
|
|
8324
8324
|
status: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>;
|
|
8325
8325
|
userId: z.ZodString;
|
|
@@ -8331,12 +8331,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8331
8331
|
id: string;
|
|
8332
8332
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8333
8333
|
userId: string;
|
|
8334
|
-
company?: {
|
|
8335
|
-
name: string;
|
|
8336
|
-
createdAt: string;
|
|
8337
|
-
updatedAt: string;
|
|
8338
|
-
id: string;
|
|
8339
|
-
} | null | undefined;
|
|
8340
8334
|
user?: {
|
|
8341
8335
|
email: string;
|
|
8342
8336
|
createdAt: string;
|
|
@@ -8362,13 +8356,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8362
8356
|
firstName: string;
|
|
8363
8357
|
}[] | undefined;
|
|
8364
8358
|
} | null | undefined;
|
|
8359
|
+
deletedAt?: string | null | undefined;
|
|
8365
8360
|
canImpersonateUsers?: {
|
|
8366
8361
|
id: string;
|
|
8367
8362
|
lastName: string;
|
|
8368
8363
|
firstName: string;
|
|
8369
8364
|
}[] | undefined;
|
|
8370
8365
|
dialpadUserId?: string | null | undefined;
|
|
8371
|
-
|
|
8366
|
+
} | null | undefined;
|
|
8367
|
+
company?: {
|
|
8368
|
+
name: string;
|
|
8369
|
+
createdAt: string;
|
|
8370
|
+
updatedAt: string;
|
|
8371
|
+
id: string;
|
|
8372
8372
|
} | null | undefined;
|
|
8373
8373
|
client?: {
|
|
8374
8374
|
name: string;
|
|
@@ -8397,12 +8397,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8397
8397
|
id: string;
|
|
8398
8398
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8399
8399
|
userId: string;
|
|
8400
|
-
company?: {
|
|
8401
|
-
name: string;
|
|
8402
|
-
createdAt: string | Date;
|
|
8403
|
-
updatedAt: string | Date;
|
|
8404
|
-
id: string;
|
|
8405
|
-
} | null | undefined;
|
|
8406
8400
|
user?: {
|
|
8407
8401
|
email: string;
|
|
8408
8402
|
createdAt: string | Date;
|
|
@@ -8428,13 +8422,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8428
8422
|
description?: string | null | undefined;
|
|
8429
8423
|
isPrimary?: boolean | undefined;
|
|
8430
8424
|
}[] | undefined;
|
|
8425
|
+
deletedAt?: string | Date | null | undefined;
|
|
8431
8426
|
canImpersonateUsers?: {
|
|
8432
8427
|
id: string;
|
|
8433
8428
|
lastName: string;
|
|
8434
8429
|
firstName: string;
|
|
8435
8430
|
}[] | undefined;
|
|
8436
8431
|
dialpadUserId?: string | null | undefined;
|
|
8437
|
-
|
|
8432
|
+
} | null | undefined;
|
|
8433
|
+
company?: {
|
|
8434
|
+
name: string;
|
|
8435
|
+
createdAt: string | Date;
|
|
8436
|
+
updatedAt: string | Date;
|
|
8437
|
+
id: string;
|
|
8438
8438
|
} | null | undefined;
|
|
8439
8439
|
client?: {
|
|
8440
8440
|
name: string;
|
|
@@ -8464,12 +8464,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8464
8464
|
id: string;
|
|
8465
8465
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8466
8466
|
userId: string;
|
|
8467
|
-
company?: {
|
|
8468
|
-
name: string;
|
|
8469
|
-
createdAt: string;
|
|
8470
|
-
updatedAt: string;
|
|
8471
|
-
id: string;
|
|
8472
|
-
} | null | undefined;
|
|
8473
8467
|
user?: {
|
|
8474
8468
|
email: string;
|
|
8475
8469
|
createdAt: string;
|
|
@@ -8495,13 +8489,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8495
8489
|
firstName: string;
|
|
8496
8490
|
}[] | undefined;
|
|
8497
8491
|
} | null | undefined;
|
|
8492
|
+
deletedAt?: string | null | undefined;
|
|
8498
8493
|
canImpersonateUsers?: {
|
|
8499
8494
|
id: string;
|
|
8500
8495
|
lastName: string;
|
|
8501
8496
|
firstName: string;
|
|
8502
8497
|
}[] | undefined;
|
|
8503
8498
|
dialpadUserId?: string | null | undefined;
|
|
8504
|
-
|
|
8499
|
+
} | null | undefined;
|
|
8500
|
+
company?: {
|
|
8501
|
+
name: string;
|
|
8502
|
+
createdAt: string;
|
|
8503
|
+
updatedAt: string;
|
|
8504
|
+
id: string;
|
|
8505
8505
|
} | null | undefined;
|
|
8506
8506
|
client?: {
|
|
8507
8507
|
name: string;
|
|
@@ -8530,12 +8530,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8530
8530
|
id: string;
|
|
8531
8531
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8532
8532
|
userId: string;
|
|
8533
|
-
company?: {
|
|
8534
|
-
name: string;
|
|
8535
|
-
createdAt: string;
|
|
8536
|
-
updatedAt: string;
|
|
8537
|
-
id: string;
|
|
8538
|
-
} | null | undefined;
|
|
8539
8533
|
user?: {
|
|
8540
8534
|
email: string;
|
|
8541
8535
|
createdAt: string;
|
|
@@ -8561,13 +8555,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8561
8555
|
firstName: string;
|
|
8562
8556
|
}[] | undefined;
|
|
8563
8557
|
} | null | undefined;
|
|
8558
|
+
deletedAt?: string | null | undefined;
|
|
8564
8559
|
canImpersonateUsers?: {
|
|
8565
8560
|
id: string;
|
|
8566
8561
|
lastName: string;
|
|
8567
8562
|
firstName: string;
|
|
8568
8563
|
}[] | undefined;
|
|
8569
8564
|
dialpadUserId?: string | null | undefined;
|
|
8570
|
-
|
|
8565
|
+
} | null | undefined;
|
|
8566
|
+
company?: {
|
|
8567
|
+
name: string;
|
|
8568
|
+
createdAt: string;
|
|
8569
|
+
updatedAt: string;
|
|
8570
|
+
id: string;
|
|
8571
8571
|
} | null | undefined;
|
|
8572
8572
|
client?: {
|
|
8573
8573
|
name: string;
|
|
@@ -8597,12 +8597,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8597
8597
|
id: string;
|
|
8598
8598
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8599
8599
|
userId: string;
|
|
8600
|
-
company?: {
|
|
8601
|
-
name: string;
|
|
8602
|
-
createdAt: string | Date;
|
|
8603
|
-
updatedAt: string | Date;
|
|
8604
|
-
id: string;
|
|
8605
|
-
} | null | undefined;
|
|
8606
8600
|
user?: {
|
|
8607
8601
|
email: string;
|
|
8608
8602
|
createdAt: string | Date;
|
|
@@ -8628,13 +8622,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8628
8622
|
description?: string | null | undefined;
|
|
8629
8623
|
isPrimary?: boolean | undefined;
|
|
8630
8624
|
}[] | undefined;
|
|
8625
|
+
deletedAt?: string | Date | null | undefined;
|
|
8631
8626
|
canImpersonateUsers?: {
|
|
8632
8627
|
id: string;
|
|
8633
8628
|
lastName: string;
|
|
8634
8629
|
firstName: string;
|
|
8635
8630
|
}[] | undefined;
|
|
8636
8631
|
dialpadUserId?: string | null | undefined;
|
|
8637
|
-
|
|
8632
|
+
} | null | undefined;
|
|
8633
|
+
company?: {
|
|
8634
|
+
name: string;
|
|
8635
|
+
createdAt: string | Date;
|
|
8636
|
+
updatedAt: string | Date;
|
|
8637
|
+
id: string;
|
|
8638
8638
|
} | null | undefined;
|
|
8639
8639
|
client?: {
|
|
8640
8640
|
name: string;
|
|
@@ -8663,12 +8663,6 @@ export declare const collaborationsContractRouter: {
|
|
|
8663
8663
|
id: string;
|
|
8664
8664
|
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT";
|
|
8665
8665
|
userId: string;
|
|
8666
|
-
company?: {
|
|
8667
|
-
name: string;
|
|
8668
|
-
createdAt: string | Date;
|
|
8669
|
-
updatedAt: string | Date;
|
|
8670
|
-
id: string;
|
|
8671
|
-
} | null | undefined;
|
|
8672
8666
|
user?: {
|
|
8673
8667
|
email: string;
|
|
8674
8668
|
createdAt: string | Date;
|
|
@@ -8694,13 +8688,19 @@ export declare const collaborationsContractRouter: {
|
|
|
8694
8688
|
description?: string | null | undefined;
|
|
8695
8689
|
isPrimary?: boolean | undefined;
|
|
8696
8690
|
}[] | undefined;
|
|
8691
|
+
deletedAt?: string | Date | null | undefined;
|
|
8697
8692
|
canImpersonateUsers?: {
|
|
8698
8693
|
id: string;
|
|
8699
8694
|
lastName: string;
|
|
8700
8695
|
firstName: string;
|
|
8701
8696
|
}[] | undefined;
|
|
8702
8697
|
dialpadUserId?: string | null | undefined;
|
|
8703
|
-
|
|
8698
|
+
} | null | undefined;
|
|
8699
|
+
company?: {
|
|
8700
|
+
name: string;
|
|
8701
|
+
createdAt: string | Date;
|
|
8702
|
+
updatedAt: string | Date;
|
|
8703
|
+
id: string;
|
|
8704
8704
|
} | null | undefined;
|
|
8705
8705
|
client?: {
|
|
8706
8706
|
name: string;
|
|
@@ -8734,17 +8734,17 @@ export declare const collaborationsContractRouter: {
|
|
|
8734
8734
|
path: z.ZodString;
|
|
8735
8735
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
8736
8736
|
}, "strip", z.ZodTypeAny, {
|
|
8737
|
-
message: string;
|
|
8738
8737
|
code: string;
|
|
8739
8738
|
path: string;
|
|
8739
|
+
message: string;
|
|
8740
8740
|
statusCode: number;
|
|
8741
8741
|
timestamp: string;
|
|
8742
8742
|
details?: unknown;
|
|
8743
8743
|
correlationId?: string | undefined;
|
|
8744
8744
|
}, {
|
|
8745
|
-
message: string;
|
|
8746
8745
|
code: string;
|
|
8747
8746
|
path: string;
|
|
8747
|
+
message: string;
|
|
8748
8748
|
statusCode: number;
|
|
8749
8749
|
timestamp: string;
|
|
8750
8750
|
details?: unknown;
|