@dakkitor/api-contracts 1.1.26 → 1.1.28
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 +4899 -597
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +487 -487
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +5657 -1430
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1188 -262
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -4
- package/dist/client-contacts/client-contacts.contract.d.ts +515 -515
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +3 -5
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +366 -366
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +4 -10
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/jobs/jobs.contract.d.ts +3517 -511
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +36 -17
- package/dist/lead-assignments/lead-assignments.contract.d.ts +272 -272
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +316 -316
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +100 -100
- package/dist/workers/workers.contract.d.ts +129 -75
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +20 -13
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -22,22 +22,22 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
22
22
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
23
23
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
|
|
25
|
+
id: string;
|
|
26
26
|
firstName: string;
|
|
27
|
+
lastName: string;
|
|
27
28
|
email: string;
|
|
28
|
-
phone: string;
|
|
29
29
|
createdAt: string;
|
|
30
|
-
id: string;
|
|
31
30
|
updatedAt: string;
|
|
31
|
+
phone: string;
|
|
32
32
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
id: string;
|
|
35
35
|
firstName: string;
|
|
36
|
+
lastName: string;
|
|
36
37
|
email: string;
|
|
37
|
-
phone: string;
|
|
38
38
|
createdAt: string | Date;
|
|
39
|
-
id: string;
|
|
40
39
|
updatedAt: string | Date;
|
|
40
|
+
phone: string;
|
|
41
41
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
export declare const CreateUserSchema: z.ZodObject<{
|
|
@@ -48,15 +48,15 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
|
48
48
|
password: z.ZodOptional<z.ZodString>;
|
|
49
49
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
lastName: string;
|
|
52
51
|
firstName: string;
|
|
52
|
+
lastName: string;
|
|
53
53
|
email: string;
|
|
54
54
|
phone: string;
|
|
55
55
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
56
56
|
password?: string | undefined;
|
|
57
57
|
}, {
|
|
58
|
-
lastName: string;
|
|
59
58
|
firstName: string;
|
|
59
|
+
lastName: string;
|
|
60
60
|
email: string;
|
|
61
61
|
phone: string;
|
|
62
62
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
@@ -70,15 +70,15 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
70
70
|
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
roles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
lastName?: string | undefined;
|
|
74
73
|
firstName?: string | undefined;
|
|
74
|
+
lastName?: string | undefined;
|
|
75
75
|
email?: string | undefined;
|
|
76
76
|
phone?: string | undefined;
|
|
77
77
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
78
78
|
password?: string | undefined;
|
|
79
79
|
}, {
|
|
80
|
-
lastName?: string | undefined;
|
|
81
80
|
firstName?: string | undefined;
|
|
81
|
+
lastName?: string | undefined;
|
|
82
82
|
email?: string | undefined;
|
|
83
83
|
phone?: string | undefined;
|
|
84
84
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
@@ -107,26 +107,26 @@ export declare const FilterUserSchema: z.ZodObject<{
|
|
|
107
107
|
limit: number;
|
|
108
108
|
page: number;
|
|
109
109
|
email?: string | undefined;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
sortBy?: "firstName" | "lastName" | "email" | "createdAt" | "phone" | undefined;
|
|
112
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
110
113
|
phone?: string | undefined;
|
|
111
114
|
roles?: {
|
|
112
115
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
113
116
|
requireAll?: boolean | undefined;
|
|
114
117
|
} | undefined;
|
|
115
|
-
name?: string | undefined;
|
|
116
|
-
sortBy?: "lastName" | "firstName" | "email" | "phone" | "createdAt" | undefined;
|
|
117
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
email?: string | undefined;
|
|
120
|
+
limit?: number | undefined;
|
|
121
|
+
page?: number | undefined;
|
|
122
|
+
name?: string | undefined;
|
|
123
|
+
sortBy?: "firstName" | "lastName" | "email" | "createdAt" | "phone" | undefined;
|
|
124
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
120
125
|
phone?: string | undefined;
|
|
121
126
|
roles?: {
|
|
122
127
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
123
128
|
requireAll?: boolean | undefined;
|
|
124
129
|
} | undefined;
|
|
125
|
-
limit?: number | undefined;
|
|
126
|
-
page?: number | undefined;
|
|
127
|
-
name?: string | undefined;
|
|
128
|
-
sortBy?: "lastName" | "firstName" | "email" | "phone" | "createdAt" | undefined;
|
|
129
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
export declare const ProfileSchema: z.ZodObject<{
|
|
132
132
|
id: z.ZodString;
|
|
@@ -136,17 +136,17 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
136
136
|
phone: z.ZodOptional<z.ZodString>;
|
|
137
137
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
email: string;
|
|
140
139
|
id: string;
|
|
141
|
-
|
|
140
|
+
email: string;
|
|
142
141
|
firstName?: string | undefined;
|
|
142
|
+
lastName?: string | undefined;
|
|
143
143
|
phone?: string | undefined;
|
|
144
144
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
145
145
|
}, {
|
|
146
|
-
email: string;
|
|
147
146
|
id: string;
|
|
148
|
-
|
|
147
|
+
email: string;
|
|
149
148
|
firstName?: string | undefined;
|
|
149
|
+
lastName?: string | undefined;
|
|
150
150
|
phone?: string | undefined;
|
|
151
151
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
152
152
|
}>;
|
|
@@ -155,26 +155,26 @@ export declare const UserAutocompleteResponseSchema: z.ZodObject<{
|
|
|
155
155
|
firstName: z.ZodString;
|
|
156
156
|
lastName: z.ZodString;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
lastName: string;
|
|
159
|
-
firstName: string;
|
|
160
158
|
id: string;
|
|
161
|
-
}, {
|
|
162
|
-
lastName: string;
|
|
163
159
|
firstName: string;
|
|
160
|
+
lastName: string;
|
|
161
|
+
}, {
|
|
164
162
|
id: string;
|
|
163
|
+
firstName: string;
|
|
164
|
+
lastName: string;
|
|
165
165
|
}>;
|
|
166
166
|
export declare const UserAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
167
167
|
id: z.ZodString;
|
|
168
168
|
firstName: z.ZodString;
|
|
169
169
|
lastName: z.ZodString;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
lastName: string;
|
|
172
|
-
firstName: string;
|
|
173
171
|
id: string;
|
|
174
|
-
}, {
|
|
175
|
-
lastName: string;
|
|
176
172
|
firstName: string;
|
|
173
|
+
lastName: string;
|
|
174
|
+
}, {
|
|
177
175
|
id: string;
|
|
176
|
+
firstName: string;
|
|
177
|
+
lastName: string;
|
|
178
178
|
}>, "many">;
|
|
179
179
|
export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
180
180
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -187,22 +187,22 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
187
187
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
188
188
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
|
-
|
|
190
|
+
id: string;
|
|
191
191
|
firstName: string;
|
|
192
|
+
lastName: string;
|
|
192
193
|
email: string;
|
|
193
|
-
phone: string;
|
|
194
194
|
createdAt: string;
|
|
195
|
-
id: string;
|
|
196
195
|
updatedAt: string;
|
|
196
|
+
phone: string;
|
|
197
197
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
198
198
|
}, {
|
|
199
|
-
|
|
199
|
+
id: string;
|
|
200
200
|
firstName: string;
|
|
201
|
+
lastName: string;
|
|
201
202
|
email: string;
|
|
202
|
-
phone: string;
|
|
203
203
|
createdAt: string | Date;
|
|
204
|
-
id: string;
|
|
205
204
|
updatedAt: string | Date;
|
|
205
|
+
phone: string;
|
|
206
206
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
207
207
|
}>, "many">;
|
|
208
208
|
totalCount: z.ZodNumber;
|
|
@@ -213,13 +213,13 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
limit: number;
|
|
215
215
|
items: {
|
|
216
|
-
|
|
216
|
+
id: string;
|
|
217
217
|
firstName: string;
|
|
218
|
+
lastName: string;
|
|
218
219
|
email: string;
|
|
219
|
-
phone: string;
|
|
220
220
|
createdAt: string;
|
|
221
|
-
id: string;
|
|
222
221
|
updatedAt: string;
|
|
222
|
+
phone: string;
|
|
223
223
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
224
224
|
}[];
|
|
225
225
|
totalCount: number;
|
|
@@ -229,13 +229,13 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
229
229
|
}, {
|
|
230
230
|
limit: number;
|
|
231
231
|
items: {
|
|
232
|
-
|
|
232
|
+
id: string;
|
|
233
233
|
firstName: string;
|
|
234
|
+
lastName: string;
|
|
234
235
|
email: string;
|
|
235
|
-
phone: string;
|
|
236
236
|
createdAt: string | Date;
|
|
237
|
-
id: string;
|
|
238
237
|
updatedAt: string | Date;
|
|
238
|
+
phone: string;
|
|
239
239
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
240
240
|
}[];
|
|
241
241
|
totalCount: number;
|
|
@@ -270,15 +270,15 @@ export declare const usersContract: {
|
|
|
270
270
|
password: z.ZodOptional<z.ZodString>;
|
|
271
271
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
lastName: string;
|
|
274
273
|
firstName: string;
|
|
274
|
+
lastName: string;
|
|
275
275
|
email: string;
|
|
276
276
|
phone: string;
|
|
277
277
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
278
278
|
password?: string | undefined;
|
|
279
279
|
}, {
|
|
280
|
-
lastName: string;
|
|
281
280
|
firstName: string;
|
|
281
|
+
lastName: string;
|
|
282
282
|
email: string;
|
|
283
283
|
phone: string;
|
|
284
284
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
@@ -396,22 +396,22 @@ export declare const usersContract: {
|
|
|
396
396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
|
|
399
|
+
id: string;
|
|
400
400
|
firstName: string;
|
|
401
|
+
lastName: string;
|
|
401
402
|
email: string;
|
|
402
|
-
phone: string;
|
|
403
403
|
createdAt: string;
|
|
404
|
-
id: string;
|
|
405
404
|
updatedAt: string;
|
|
405
|
+
phone: string;
|
|
406
406
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
407
407
|
}, {
|
|
408
|
-
|
|
408
|
+
id: string;
|
|
409
409
|
firstName: string;
|
|
410
|
+
lastName: string;
|
|
410
411
|
email: string;
|
|
411
|
-
phone: string;
|
|
412
412
|
createdAt: string | Date;
|
|
413
|
-
id: string;
|
|
414
413
|
updatedAt: string | Date;
|
|
414
|
+
phone: string;
|
|
415
415
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
416
416
|
}>;
|
|
417
417
|
409: z.ZodObject<{
|
|
@@ -442,9 +442,6 @@ export declare const usersContract: {
|
|
|
442
442
|
};
|
|
443
443
|
};
|
|
444
444
|
findAll: {
|
|
445
|
-
metadata: {
|
|
446
|
-
tags: string[];
|
|
447
|
-
};
|
|
448
445
|
query: z.ZodObject<{
|
|
449
446
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
450
447
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -468,27 +465,30 @@ export declare const usersContract: {
|
|
|
468
465
|
limit: number;
|
|
469
466
|
page: number;
|
|
470
467
|
email?: string | undefined;
|
|
468
|
+
name?: string | undefined;
|
|
469
|
+
sortBy?: "firstName" | "lastName" | "email" | "createdAt" | "phone" | undefined;
|
|
470
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
471
471
|
phone?: string | undefined;
|
|
472
472
|
roles?: {
|
|
473
473
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
474
474
|
requireAll?: boolean | undefined;
|
|
475
475
|
} | undefined;
|
|
476
|
-
name?: string | undefined;
|
|
477
|
-
sortBy?: "lastName" | "firstName" | "email" | "phone" | "createdAt" | undefined;
|
|
478
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
479
476
|
}, {
|
|
480
477
|
email?: string | undefined;
|
|
478
|
+
limit?: number | undefined;
|
|
479
|
+
page?: number | undefined;
|
|
480
|
+
name?: string | undefined;
|
|
481
|
+
sortBy?: "firstName" | "lastName" | "email" | "createdAt" | "phone" | undefined;
|
|
482
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
481
483
|
phone?: string | undefined;
|
|
482
484
|
roles?: {
|
|
483
485
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
484
486
|
requireAll?: boolean | undefined;
|
|
485
487
|
} | undefined;
|
|
486
|
-
limit?: number | undefined;
|
|
487
|
-
page?: number | undefined;
|
|
488
|
-
name?: string | undefined;
|
|
489
|
-
sortBy?: "lastName" | "firstName" | "email" | "phone" | "createdAt" | undefined;
|
|
490
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
491
488
|
}>;
|
|
489
|
+
metadata: {
|
|
490
|
+
tags: string[];
|
|
491
|
+
};
|
|
492
492
|
summary: "Get all users";
|
|
493
493
|
method: "GET";
|
|
494
494
|
path: "/v2/users";
|
|
@@ -604,22 +604,22 @@ export declare const usersContract: {
|
|
|
604
604
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
605
605
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
|
|
607
|
+
id: string;
|
|
608
608
|
firstName: string;
|
|
609
|
+
lastName: string;
|
|
609
610
|
email: string;
|
|
610
|
-
phone: string;
|
|
611
611
|
createdAt: string;
|
|
612
|
-
id: string;
|
|
613
612
|
updatedAt: string;
|
|
613
|
+
phone: string;
|
|
614
614
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
615
615
|
}, {
|
|
616
|
-
|
|
616
|
+
id: string;
|
|
617
617
|
firstName: string;
|
|
618
|
+
lastName: string;
|
|
618
619
|
email: string;
|
|
619
|
-
phone: string;
|
|
620
620
|
createdAt: string | Date;
|
|
621
|
-
id: string;
|
|
622
621
|
updatedAt: string | Date;
|
|
622
|
+
phone: string;
|
|
623
623
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
624
624
|
}>, "many">;
|
|
625
625
|
totalCount: z.ZodNumber;
|
|
@@ -630,13 +630,13 @@ export declare const usersContract: {
|
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
631
|
limit: number;
|
|
632
632
|
items: {
|
|
633
|
-
|
|
633
|
+
id: string;
|
|
634
634
|
firstName: string;
|
|
635
|
+
lastName: string;
|
|
635
636
|
email: string;
|
|
636
|
-
phone: string;
|
|
637
637
|
createdAt: string;
|
|
638
|
-
id: string;
|
|
639
638
|
updatedAt: string;
|
|
639
|
+
phone: string;
|
|
640
640
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
641
641
|
}[];
|
|
642
642
|
totalCount: number;
|
|
@@ -646,13 +646,13 @@ export declare const usersContract: {
|
|
|
646
646
|
}, {
|
|
647
647
|
limit: number;
|
|
648
648
|
items: {
|
|
649
|
-
|
|
649
|
+
id: string;
|
|
650
650
|
firstName: string;
|
|
651
|
+
lastName: string;
|
|
651
652
|
email: string;
|
|
652
|
-
phone: string;
|
|
653
653
|
createdAt: string | Date;
|
|
654
|
-
id: string;
|
|
655
654
|
updatedAt: string | Date;
|
|
655
|
+
phone: string;
|
|
656
656
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
657
657
|
}[];
|
|
658
658
|
totalCount: number;
|
|
@@ -663,19 +663,19 @@ export declare const usersContract: {
|
|
|
663
663
|
};
|
|
664
664
|
};
|
|
665
665
|
autocomplete: {
|
|
666
|
-
metadata: {
|
|
667
|
-
tags: string[];
|
|
668
|
-
};
|
|
669
666
|
query: z.ZodObject<{
|
|
670
667
|
query: z.ZodOptional<z.ZodString>;
|
|
671
668
|
id: z.ZodOptional<z.ZodString>;
|
|
672
669
|
}, "strip", z.ZodTypeAny, {
|
|
673
|
-
id?: string | undefined;
|
|
674
670
|
query?: string | undefined;
|
|
675
|
-
}, {
|
|
676
671
|
id?: string | undefined;
|
|
672
|
+
}, {
|
|
677
673
|
query?: string | undefined;
|
|
674
|
+
id?: string | undefined;
|
|
678
675
|
}>;
|
|
676
|
+
metadata: {
|
|
677
|
+
tags: string[];
|
|
678
|
+
};
|
|
679
679
|
summary: "Get users for autocomplete";
|
|
680
680
|
method: "GET";
|
|
681
681
|
path: "/v2/users/autocomplete";
|
|
@@ -785,13 +785,13 @@ export declare const usersContract: {
|
|
|
785
785
|
firstName: z.ZodString;
|
|
786
786
|
lastName: z.ZodString;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
lastName: string;
|
|
789
|
-
firstName: string;
|
|
790
788
|
id: string;
|
|
791
|
-
}, {
|
|
792
|
-
lastName: string;
|
|
793
789
|
firstName: string;
|
|
790
|
+
lastName: string;
|
|
791
|
+
}, {
|
|
794
792
|
id: string;
|
|
793
|
+
firstName: string;
|
|
794
|
+
lastName: string;
|
|
795
795
|
}>, "many">;
|
|
796
796
|
};
|
|
797
797
|
};
|
|
@@ -911,17 +911,17 @@ export declare const usersContract: {
|
|
|
911
911
|
phone: z.ZodOptional<z.ZodString>;
|
|
912
912
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
email: string;
|
|
915
914
|
id: string;
|
|
916
|
-
|
|
915
|
+
email: string;
|
|
917
916
|
firstName?: string | undefined;
|
|
917
|
+
lastName?: string | undefined;
|
|
918
918
|
phone?: string | undefined;
|
|
919
919
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
920
920
|
}, {
|
|
921
|
-
email: string;
|
|
922
921
|
id: string;
|
|
923
|
-
|
|
922
|
+
email: string;
|
|
924
923
|
firstName?: string | undefined;
|
|
924
|
+
lastName?: string | undefined;
|
|
925
925
|
phone?: string | undefined;
|
|
926
926
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
927
927
|
}>;
|
|
@@ -1052,22 +1052,22 @@ export declare const usersContract: {
|
|
|
1052
1052
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1053
1053
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1054
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
|
|
1055
|
+
id: string;
|
|
1056
1056
|
firstName: string;
|
|
1057
|
+
lastName: string;
|
|
1057
1058
|
email: string;
|
|
1058
|
-
phone: string;
|
|
1059
1059
|
createdAt: string;
|
|
1060
|
-
id: string;
|
|
1061
1060
|
updatedAt: string;
|
|
1061
|
+
phone: string;
|
|
1062
1062
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1063
1063
|
}, {
|
|
1064
|
-
|
|
1064
|
+
id: string;
|
|
1065
1065
|
firstName: string;
|
|
1066
|
+
lastName: string;
|
|
1066
1067
|
email: string;
|
|
1067
|
-
phone: string;
|
|
1068
1068
|
createdAt: string | Date;
|
|
1069
|
-
id: string;
|
|
1070
1069
|
updatedAt: string | Date;
|
|
1070
|
+
phone: string;
|
|
1071
1071
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1072
1072
|
}>;
|
|
1073
1073
|
404: z.ZodObject<{
|
|
@@ -1118,15 +1118,15 @@ export declare const usersContract: {
|
|
|
1118
1118
|
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1119
1119
|
roles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>>;
|
|
1120
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1121
|
-
lastName?: string | undefined;
|
|
1122
1121
|
firstName?: string | undefined;
|
|
1122
|
+
lastName?: string | undefined;
|
|
1123
1123
|
email?: string | undefined;
|
|
1124
1124
|
phone?: string | undefined;
|
|
1125
1125
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1126
1126
|
password?: string | undefined;
|
|
1127
1127
|
}, {
|
|
1128
|
-
lastName?: string | undefined;
|
|
1129
1128
|
firstName?: string | undefined;
|
|
1129
|
+
lastName?: string | undefined;
|
|
1130
1130
|
email?: string | undefined;
|
|
1131
1131
|
phone?: string | undefined;
|
|
1132
1132
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
@@ -1244,22 +1244,22 @@ export declare const usersContract: {
|
|
|
1244
1244
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1245
1245
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1246
1246
|
}, "strip", z.ZodTypeAny, {
|
|
1247
|
-
|
|
1247
|
+
id: string;
|
|
1248
1248
|
firstName: string;
|
|
1249
|
+
lastName: string;
|
|
1249
1250
|
email: string;
|
|
1250
|
-
phone: string;
|
|
1251
1251
|
createdAt: string;
|
|
1252
|
-
id: string;
|
|
1253
1252
|
updatedAt: string;
|
|
1253
|
+
phone: string;
|
|
1254
1254
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1255
1255
|
}, {
|
|
1256
|
-
|
|
1256
|
+
id: string;
|
|
1257
1257
|
firstName: string;
|
|
1258
|
+
lastName: string;
|
|
1258
1259
|
email: string;
|
|
1259
|
-
phone: string;
|
|
1260
1260
|
createdAt: string | Date;
|
|
1261
|
-
id: string;
|
|
1262
1261
|
updatedAt: string | Date;
|
|
1262
|
+
phone: string;
|
|
1263
1263
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1264
1264
|
}>;
|
|
1265
1265
|
404: z.ZodObject<{
|