@dakkitor/api-contracts 1.1.106 → 1.1.107
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/actives/actives.contract.d.ts +7410 -5890
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +472 -82
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +115 -15
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +27469 -21549
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +404 -114
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +904 -264
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +866 -231
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.d.ts +5066 -3966
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +434 -114
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +196 -36
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +56 -56
- package/dist/users/users.contract.d.ts +475 -51
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +45 -8
- package/dist/workers/workers.contract.d.ts +344 -114
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-client-links.contract.d.ts","sourceRoot":"","sources":["../../contracts/agent-client-links/agent-client-links.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDpC,CAAC"}
|
|
@@ -93,15 +93,35 @@ export declare const authContract: {
|
|
|
93
93
|
email: z.ZodString;
|
|
94
94
|
firstName: z.ZodOptional<z.ZodString>;
|
|
95
95
|
lastName: z.ZodOptional<z.ZodString>;
|
|
96
|
-
|
|
96
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
97
|
+
id: z.ZodString;
|
|
98
|
+
phoneNumber: z.ZodString;
|
|
99
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
id: string;
|
|
103
|
+
phoneNumber: string;
|
|
104
|
+
isPrimary: boolean;
|
|
105
|
+
description?: string | null | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
id: string;
|
|
108
|
+
phoneNumber: string;
|
|
109
|
+
description?: string | null | undefined;
|
|
110
|
+
isPrimary?: boolean | undefined;
|
|
111
|
+
}>, "many">>>;
|
|
97
112
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
98
113
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
99
114
|
}, "strip", z.ZodTypeAny, {
|
|
100
115
|
email: string;
|
|
101
116
|
id: string;
|
|
117
|
+
phoneNumbers: {
|
|
118
|
+
id: string;
|
|
119
|
+
phoneNumber: string;
|
|
120
|
+
isPrimary: boolean;
|
|
121
|
+
description?: string | null | undefined;
|
|
122
|
+
}[];
|
|
102
123
|
lastName?: string | undefined;
|
|
103
124
|
firstName?: string | undefined;
|
|
104
|
-
phone?: string | undefined;
|
|
105
125
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
106
126
|
impersonatedBy?: string | undefined;
|
|
107
127
|
}, {
|
|
@@ -109,7 +129,12 @@ export declare const authContract: {
|
|
|
109
129
|
id: string;
|
|
110
130
|
lastName?: string | undefined;
|
|
111
131
|
firstName?: string | undefined;
|
|
112
|
-
|
|
132
|
+
phoneNumbers?: {
|
|
133
|
+
id: string;
|
|
134
|
+
phoneNumber: string;
|
|
135
|
+
description?: string | null | undefined;
|
|
136
|
+
isPrimary?: boolean | undefined;
|
|
137
|
+
}[] | undefined;
|
|
113
138
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
114
139
|
impersonatedBy?: string | undefined;
|
|
115
140
|
}>;
|
|
@@ -141,12 +166,12 @@ export declare const authContract: {
|
|
|
141
166
|
};
|
|
142
167
|
};
|
|
143
168
|
refresh: {
|
|
169
|
+
description: "Refreshes the access token and returns the current user profile. If impersonating, returns the impersonated user profile with impersonatedBy field.";
|
|
144
170
|
metadata: {
|
|
145
171
|
tags: string[];
|
|
146
172
|
isPublic: boolean;
|
|
147
173
|
};
|
|
148
174
|
summary: "Refresh access token";
|
|
149
|
-
description: "Refreshes the access token and returns the current user profile. If impersonating, returns the impersonated user profile with impersonatedBy field.";
|
|
150
175
|
method: "GET";
|
|
151
176
|
path: "/v2/auth/refresh";
|
|
152
177
|
responses: {
|
|
@@ -205,15 +230,35 @@ export declare const authContract: {
|
|
|
205
230
|
email: z.ZodString;
|
|
206
231
|
firstName: z.ZodOptional<z.ZodString>;
|
|
207
232
|
lastName: z.ZodOptional<z.ZodString>;
|
|
208
|
-
|
|
233
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
234
|
+
id: z.ZodString;
|
|
235
|
+
phoneNumber: z.ZodString;
|
|
236
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
id: string;
|
|
240
|
+
phoneNumber: string;
|
|
241
|
+
isPrimary: boolean;
|
|
242
|
+
description?: string | null | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
id: string;
|
|
245
|
+
phoneNumber: string;
|
|
246
|
+
description?: string | null | undefined;
|
|
247
|
+
isPrimary?: boolean | undefined;
|
|
248
|
+
}>, "many">>>;
|
|
209
249
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
210
250
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
211
251
|
}, "strip", z.ZodTypeAny, {
|
|
212
252
|
email: string;
|
|
213
253
|
id: string;
|
|
254
|
+
phoneNumbers: {
|
|
255
|
+
id: string;
|
|
256
|
+
phoneNumber: string;
|
|
257
|
+
isPrimary: boolean;
|
|
258
|
+
description?: string | null | undefined;
|
|
259
|
+
}[];
|
|
214
260
|
lastName?: string | undefined;
|
|
215
261
|
firstName?: string | undefined;
|
|
216
|
-
phone?: string | undefined;
|
|
217
262
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
218
263
|
impersonatedBy?: string | undefined;
|
|
219
264
|
}, {
|
|
@@ -221,7 +266,12 @@ export declare const authContract: {
|
|
|
221
266
|
id: string;
|
|
222
267
|
lastName?: string | undefined;
|
|
223
268
|
firstName?: string | undefined;
|
|
224
|
-
|
|
269
|
+
phoneNumbers?: {
|
|
270
|
+
id: string;
|
|
271
|
+
phoneNumber: string;
|
|
272
|
+
description?: string | null | undefined;
|
|
273
|
+
isPrimary?: boolean | undefined;
|
|
274
|
+
}[] | undefined;
|
|
225
275
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
226
276
|
impersonatedBy?: string | undefined;
|
|
227
277
|
}>;
|
|
@@ -439,11 +489,11 @@ export declare const authContract: {
|
|
|
439
489
|
};
|
|
440
490
|
};
|
|
441
491
|
impersonate: {
|
|
492
|
+
description: "Allows an admin to impersonate another user. Returns the target user profile with impersonatedBy field. Tokens are set via HTTP-only cookies.";
|
|
442
493
|
metadata: {
|
|
443
494
|
tags: string[];
|
|
444
495
|
};
|
|
445
496
|
summary: "Impersonate another user (admin only)";
|
|
446
|
-
description: "Allows an admin to impersonate another user. Returns the target user profile with impersonatedBy field. Tokens are set via HTTP-only cookies.";
|
|
447
497
|
method: "POST";
|
|
448
498
|
body: z.ZodObject<{
|
|
449
499
|
targetUserId: z.ZodString;
|
|
@@ -484,15 +534,35 @@ export declare const authContract: {
|
|
|
484
534
|
email: z.ZodString;
|
|
485
535
|
firstName: z.ZodOptional<z.ZodString>;
|
|
486
536
|
lastName: z.ZodOptional<z.ZodString>;
|
|
487
|
-
|
|
537
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
+
id: z.ZodString;
|
|
539
|
+
phoneNumber: z.ZodString;
|
|
540
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
541
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
id: string;
|
|
544
|
+
phoneNumber: string;
|
|
545
|
+
isPrimary: boolean;
|
|
546
|
+
description?: string | null | undefined;
|
|
547
|
+
}, {
|
|
548
|
+
id: string;
|
|
549
|
+
phoneNumber: string;
|
|
550
|
+
description?: string | null | undefined;
|
|
551
|
+
isPrimary?: boolean | undefined;
|
|
552
|
+
}>, "many">>>;
|
|
488
553
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
489
554
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
490
555
|
}, "strip", z.ZodTypeAny, {
|
|
491
556
|
email: string;
|
|
492
557
|
id: string;
|
|
558
|
+
phoneNumbers: {
|
|
559
|
+
id: string;
|
|
560
|
+
phoneNumber: string;
|
|
561
|
+
isPrimary: boolean;
|
|
562
|
+
description?: string | null | undefined;
|
|
563
|
+
}[];
|
|
493
564
|
lastName?: string | undefined;
|
|
494
565
|
firstName?: string | undefined;
|
|
495
|
-
phone?: string | undefined;
|
|
496
566
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
497
567
|
impersonatedBy?: string | undefined;
|
|
498
568
|
}, {
|
|
@@ -500,7 +570,12 @@ export declare const authContract: {
|
|
|
500
570
|
id: string;
|
|
501
571
|
lastName?: string | undefined;
|
|
502
572
|
firstName?: string | undefined;
|
|
503
|
-
|
|
573
|
+
phoneNumbers?: {
|
|
574
|
+
id: string;
|
|
575
|
+
phoneNumber: string;
|
|
576
|
+
description?: string | null | undefined;
|
|
577
|
+
isPrimary?: boolean | undefined;
|
|
578
|
+
}[] | undefined;
|
|
504
579
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
505
580
|
impersonatedBy?: string | undefined;
|
|
506
581
|
}>;
|
|
@@ -607,11 +682,11 @@ export declare const authContract: {
|
|
|
607
682
|
};
|
|
608
683
|
};
|
|
609
684
|
stopImpersonation: {
|
|
685
|
+
description: "Stops the current impersonation session and returns the admin user profile. Tokens are set via HTTP-only cookies.";
|
|
610
686
|
metadata: {
|
|
611
687
|
tags: string[];
|
|
612
688
|
};
|
|
613
689
|
summary: "Stop impersonating and return to admin session";
|
|
614
|
-
description: "Stops the current impersonation session and returns the admin user profile. Tokens are set via HTTP-only cookies.";
|
|
615
690
|
method: "POST";
|
|
616
691
|
body: typeof import("@ts-rest/core").ContractNoBody;
|
|
617
692
|
path: "/v2/auth/stop-impersonation";
|
|
@@ -671,15 +746,35 @@ export declare const authContract: {
|
|
|
671
746
|
email: z.ZodString;
|
|
672
747
|
firstName: z.ZodOptional<z.ZodString>;
|
|
673
748
|
lastName: z.ZodOptional<z.ZodString>;
|
|
674
|
-
|
|
749
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
750
|
+
id: z.ZodString;
|
|
751
|
+
phoneNumber: z.ZodString;
|
|
752
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
753
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
754
|
+
}, "strip", z.ZodTypeAny, {
|
|
755
|
+
id: string;
|
|
756
|
+
phoneNumber: string;
|
|
757
|
+
isPrimary: boolean;
|
|
758
|
+
description?: string | null | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
id: string;
|
|
761
|
+
phoneNumber: string;
|
|
762
|
+
description?: string | null | undefined;
|
|
763
|
+
isPrimary?: boolean | undefined;
|
|
764
|
+
}>, "many">>>;
|
|
675
765
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
676
766
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
677
767
|
}, "strip", z.ZodTypeAny, {
|
|
678
768
|
email: string;
|
|
679
769
|
id: string;
|
|
770
|
+
phoneNumbers: {
|
|
771
|
+
id: string;
|
|
772
|
+
phoneNumber: string;
|
|
773
|
+
isPrimary: boolean;
|
|
774
|
+
description?: string | null | undefined;
|
|
775
|
+
}[];
|
|
680
776
|
lastName?: string | undefined;
|
|
681
777
|
firstName?: string | undefined;
|
|
682
|
-
phone?: string | undefined;
|
|
683
778
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
684
779
|
impersonatedBy?: string | undefined;
|
|
685
780
|
}, {
|
|
@@ -687,7 +782,12 @@ export declare const authContract: {
|
|
|
687
782
|
id: string;
|
|
688
783
|
lastName?: string | undefined;
|
|
689
784
|
firstName?: string | undefined;
|
|
690
|
-
|
|
785
|
+
phoneNumbers?: {
|
|
786
|
+
id: string;
|
|
787
|
+
phoneNumber: string;
|
|
788
|
+
description?: string | null | undefined;
|
|
789
|
+
isPrimary?: boolean | undefined;
|
|
790
|
+
}[] | undefined;
|
|
691
791
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
692
792
|
impersonatedBy?: string | undefined;
|
|
693
793
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.contract.d.ts","sourceRoot":"","sources":["../../contracts/auth/auth.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAAiB;;;;;;EAIM,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D,eAAO,MAAM,WAAW;;;;;;;;;EAKM,CAAC;AAE/B,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"auth.contract.d.ts","sourceRoot":"","sources":["../../contracts/auth/auth.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAA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