@dakkitor/api-contracts 1.1.9 → 1.1.11
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 +263 -263
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +9 -17
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1905 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -0
- package/dist/agent-client-links/agent-client-links.contract.js +127 -0
- package/dist/auth/auth.contract.d.ts +319 -0
- package/dist/auth/auth.contract.d.ts.map +1 -0
- package/dist/auth/auth.contract.js +63 -0
- package/dist/bookings/bookings.contract.d.ts +2183 -0
- package/dist/bookings/bookings.contract.d.ts.map +1 -0
- package/dist/bookings/bookings.contract.js +278 -0
- package/dist/call-history/call-history.contract.d.ts +1164 -0
- package/dist/call-history/call-history.contract.d.ts.map +1 -0
- package/dist/call-history/call-history.contract.js +254 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +421 -472
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +26 -15
- package/dist/clients/clients.contract.d.ts +336 -308
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +49 -52
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3013 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +247 -0
- package/dist/collaborations/collaborations.contract.d.ts +2229 -0
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -0
- package/dist/collaborations/collaborations.contract.js +284 -0
- package/dist/common/common-schemas.d.ts +120 -0
- package/dist/common/common-schemas.d.ts.map +1 -0
- package/dist/common/common-schemas.js +296 -0
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/common/openapi-metadata.d.ts +6 -0
- package/dist/common/openapi-metadata.d.ts.map +1 -1
- package/dist/common/pagination-query.schema.d.ts +17 -0
- package/dist/common/pagination-query.schema.d.ts.map +1 -0
- package/dist/common/pagination-query.schema.js +15 -0
- package/dist/common/pagination.schema.d.ts +2 -2
- package/dist/companies/companies.contract.d.ts +1108 -0
- package/dist/companies/companies.contract.d.ts.map +1 -0
- package/dist/companies/companies.contract.js +164 -0
- package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.js +271 -0
- package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
- package/dist/curated-workers/curated-workers.contract.js +444 -0
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
- package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
- package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
- package/dist/files/files.contract.d.ts +1258 -0
- package/dist/files/files.contract.d.ts.map +1 -0
- package/dist/files/files.contract.js +205 -0
- package/dist/health/health.contract.d.ts +161 -0
- package/dist/health/health.contract.d.ts.map +1 -0
- package/dist/health/health.contract.js +52 -0
- package/dist/index.d.ts +28596 -3088
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -0
- package/dist/jobs/jobs.contract.d.ts +2303 -0
- package/dist/jobs/jobs.contract.d.ts.map +1 -0
- package/dist/jobs/jobs.contract.js +295 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.js +187 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
- package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
- package/dist/leads/leads.contract.d.ts +1690 -0
- package/dist/leads/leads.contract.d.ts.map +1 -0
- package/dist/leads/leads.contract.js +328 -0
- package/dist/locations/locations.contract.d.ts +974 -0
- package/dist/locations/locations.contract.d.ts.map +1 -0
- package/dist/locations/locations.contract.js +154 -0
- package/dist/postcodes/postcodes.contract.d.ts +370 -0
- package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
- package/dist/postcodes/postcodes.contract.js +90 -0
- package/dist/qualifications/qualifications.contract.d.ts +1489 -0
- package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
- package/dist/qualifications/qualifications.contract.js +215 -0
- package/dist/trades/trades.contract.d.ts +799 -0
- package/dist/trades/trades.contract.d.ts.map +1 -0
- package/dist/trades/trades.contract.js +112 -0
- package/dist/users/users.contract.d.ts +315 -299
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +13 -29
- package/dist/workers/workers.contract.d.ts +3376 -0
- package/dist/workers/workers.contract.d.ts.map +1 -0
- package/dist/workers/workers.contract.js +363 -0
- package/package.json +4 -3
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { AutocompleteQuerySchema } from '../common/common-schemas';
|
|
2
3
|
export declare const RolesFilterSchema: z.ZodObject<{
|
|
3
4
|
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
4
5
|
requireAll: z.ZodOptional<z.ZodBoolean>;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
values?: ("
|
|
7
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
7
8
|
requireAll?: boolean | undefined;
|
|
8
9
|
}, {
|
|
9
|
-
values?: ("
|
|
10
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
10
11
|
requireAll?: boolean | undefined;
|
|
11
12
|
}>;
|
|
12
13
|
export declare const UserSchema: z.ZodObject<{
|
|
@@ -19,23 +20,23 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
19
20
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
20
21
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
createdAt: string;
|
|
23
|
-
updatedAt: string;
|
|
24
23
|
id: string;
|
|
25
24
|
firstName: string;
|
|
26
25
|
lastName: string;
|
|
27
26
|
email: string;
|
|
28
27
|
phone: string;
|
|
29
|
-
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
30
31
|
}, {
|
|
31
|
-
createdAt: string | Date;
|
|
32
|
-
updatedAt: string | Date;
|
|
33
32
|
id: string;
|
|
34
33
|
firstName: string;
|
|
35
34
|
lastName: string;
|
|
36
35
|
email: string;
|
|
37
36
|
phone: string;
|
|
38
|
-
|
|
37
|
+
createdAt: string | Date;
|
|
38
|
+
updatedAt: string | Date;
|
|
39
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
39
40
|
}>;
|
|
40
41
|
export declare const CreateUserSchema: z.ZodObject<{
|
|
41
42
|
firstName: z.ZodString;
|
|
@@ -49,14 +50,14 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
|
49
50
|
lastName: string;
|
|
50
51
|
email: string;
|
|
51
52
|
phone: string;
|
|
52
|
-
roles?: ("
|
|
53
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
53
54
|
password?: string | undefined;
|
|
54
55
|
}, {
|
|
55
56
|
firstName: string;
|
|
56
57
|
lastName: string;
|
|
57
58
|
email: string;
|
|
58
59
|
phone: string;
|
|
59
|
-
roles?: ("
|
|
60
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
60
61
|
password?: string | undefined;
|
|
61
62
|
}>;
|
|
62
63
|
export declare const UpdateUserSchema: z.ZodObject<{
|
|
@@ -71,19 +72,20 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
71
72
|
lastName?: string | undefined;
|
|
72
73
|
email?: string | undefined;
|
|
73
74
|
phone?: string | undefined;
|
|
74
|
-
roles?: ("
|
|
75
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
75
76
|
password?: string | undefined;
|
|
76
77
|
}, {
|
|
77
78
|
firstName?: string | undefined;
|
|
78
79
|
lastName?: string | undefined;
|
|
79
80
|
email?: string | undefined;
|
|
80
81
|
phone?: string | undefined;
|
|
81
|
-
roles?: ("
|
|
82
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
82
83
|
password?: string | undefined;
|
|
83
84
|
}>;
|
|
84
85
|
export declare const FilterUserSchema: z.ZodObject<{
|
|
85
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
86
86
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
87
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
88
|
+
} & {
|
|
87
89
|
name: z.ZodOptional<z.ZodString>;
|
|
88
90
|
email: z.ZodOptional<z.ZodString>;
|
|
89
91
|
phone: z.ZodOptional<z.ZodString>;
|
|
@@ -91,10 +93,10 @@ export declare const FilterUserSchema: z.ZodObject<{
|
|
|
91
93
|
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
92
94
|
requireAll: z.ZodOptional<z.ZodBoolean>;
|
|
93
95
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
values?: ("
|
|
96
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
95
97
|
requireAll?: boolean | undefined;
|
|
96
98
|
}, {
|
|
97
|
-
values?: ("
|
|
99
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
98
100
|
requireAll?: boolean | undefined;
|
|
99
101
|
}>>;
|
|
100
102
|
sortBy: z.ZodOptional<z.ZodEnum<["lastName", "firstName", "email", "phone", "createdAt"]>>;
|
|
@@ -102,27 +104,27 @@ export declare const FilterUserSchema: z.ZodObject<{
|
|
|
102
104
|
}, "strip", z.ZodTypeAny, {
|
|
103
105
|
limit: number;
|
|
104
106
|
page: number;
|
|
105
|
-
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
106
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
107
|
-
name?: string | undefined;
|
|
108
107
|
email?: string | undefined;
|
|
109
108
|
phone?: string | undefined;
|
|
110
109
|
roles?: {
|
|
111
|
-
values?: ("
|
|
110
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
112
111
|
requireAll?: boolean | undefined;
|
|
113
112
|
} | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
limit?: number | undefined;
|
|
116
|
-
page?: number | undefined;
|
|
117
|
-
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
118
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
119
113
|
name?: string | undefined;
|
|
114
|
+
sortBy?: "firstName" | "lastName" | "email" | "phone" | "createdAt" | undefined;
|
|
115
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
116
|
+
}, {
|
|
120
117
|
email?: string | undefined;
|
|
121
118
|
phone?: string | undefined;
|
|
122
119
|
roles?: {
|
|
123
|
-
values?: ("
|
|
120
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
124
121
|
requireAll?: boolean | undefined;
|
|
125
122
|
} | undefined;
|
|
123
|
+
limit?: number | undefined;
|
|
124
|
+
page?: number | undefined;
|
|
125
|
+
name?: string | undefined;
|
|
126
|
+
sortBy?: "firstName" | "lastName" | "email" | "phone" | "createdAt" | undefined;
|
|
127
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
126
128
|
}>;
|
|
127
129
|
export declare const ProfileSchema: z.ZodObject<{
|
|
128
130
|
id: z.ZodString;
|
|
@@ -137,14 +139,14 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
137
139
|
firstName?: string | undefined;
|
|
138
140
|
lastName?: string | undefined;
|
|
139
141
|
phone?: string | undefined;
|
|
140
|
-
roles?: ("
|
|
142
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
141
143
|
}, {
|
|
142
144
|
id: string;
|
|
143
145
|
email: string;
|
|
144
146
|
firstName?: string | undefined;
|
|
145
147
|
lastName?: string | undefined;
|
|
146
148
|
phone?: string | undefined;
|
|
147
|
-
roles?: ("
|
|
149
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
148
150
|
}>;
|
|
149
151
|
export declare const UserAutocompleteResponseSchema: z.ZodObject<{
|
|
150
152
|
id: z.ZodString;
|
|
@@ -159,16 +161,19 @@ export declare const UserAutocompleteResponseSchema: z.ZodObject<{
|
|
|
159
161
|
firstName: string;
|
|
160
162
|
lastName: string;
|
|
161
163
|
}>;
|
|
162
|
-
export declare const
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
export declare const UserAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
firstName: z.ZodString;
|
|
167
|
+
lastName: z.ZodString;
|
|
165
168
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
id
|
|
167
|
-
|
|
169
|
+
id: string;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
168
172
|
}, {
|
|
169
|
-
id
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
id: string;
|
|
174
|
+
firstName: string;
|
|
175
|
+
lastName: string;
|
|
176
|
+
}>, "many">;
|
|
172
177
|
export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
173
178
|
items: z.ZodArray<z.ZodObject<{
|
|
174
179
|
id: z.ZodString;
|
|
@@ -180,23 +185,23 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
180
185
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
181
186
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
182
187
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
createdAt: string;
|
|
184
|
-
updatedAt: string;
|
|
185
188
|
id: string;
|
|
186
189
|
firstName: string;
|
|
187
190
|
lastName: string;
|
|
188
191
|
email: string;
|
|
189
192
|
phone: string;
|
|
190
|
-
|
|
193
|
+
createdAt: string;
|
|
194
|
+
updatedAt: string;
|
|
195
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
191
196
|
}, {
|
|
192
|
-
createdAt: string | Date;
|
|
193
|
-
updatedAt: string | Date;
|
|
194
197
|
id: string;
|
|
195
198
|
firstName: string;
|
|
196
199
|
lastName: string;
|
|
197
200
|
email: string;
|
|
198
201
|
phone: string;
|
|
199
|
-
|
|
202
|
+
createdAt: string | Date;
|
|
203
|
+
updatedAt: string | Date;
|
|
204
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
200
205
|
}>, "many">;
|
|
201
206
|
totalCount: z.ZodNumber;
|
|
202
207
|
limit: z.ZodNumber;
|
|
@@ -204,38 +209,48 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
204
209
|
currentPage: z.ZodNumber;
|
|
205
210
|
totalPages: z.ZodNumber;
|
|
206
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
limit: number;
|
|
207
213
|
items: {
|
|
208
|
-
createdAt: string;
|
|
209
|
-
updatedAt: string;
|
|
210
214
|
id: string;
|
|
211
215
|
firstName: string;
|
|
212
216
|
lastName: string;
|
|
213
217
|
email: string;
|
|
214
218
|
phone: string;
|
|
215
|
-
|
|
219
|
+
createdAt: string;
|
|
220
|
+
updatedAt: string;
|
|
221
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
216
222
|
}[];
|
|
217
223
|
totalCount: number;
|
|
218
|
-
limit: number;
|
|
219
224
|
skip: number;
|
|
220
225
|
currentPage: number;
|
|
221
226
|
totalPages: number;
|
|
222
227
|
}, {
|
|
228
|
+
limit: number;
|
|
223
229
|
items: {
|
|
224
|
-
createdAt: string | Date;
|
|
225
|
-
updatedAt: string | Date;
|
|
226
230
|
id: string;
|
|
227
231
|
firstName: string;
|
|
228
232
|
lastName: string;
|
|
229
233
|
email: string;
|
|
230
234
|
phone: string;
|
|
231
|
-
|
|
235
|
+
createdAt: string | Date;
|
|
236
|
+
updatedAt: string | Date;
|
|
237
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
232
238
|
}[];
|
|
233
239
|
totalCount: number;
|
|
234
|
-
limit: number;
|
|
235
240
|
skip: number;
|
|
236
241
|
currentPage: number;
|
|
237
242
|
totalPages: number;
|
|
238
243
|
}>;
|
|
244
|
+
export type User = z.infer<typeof UserSchema>;
|
|
245
|
+
export type CreateUser = z.infer<typeof CreateUserSchema>;
|
|
246
|
+
export type UpdateUser = z.infer<typeof UpdateUserSchema>;
|
|
247
|
+
export type RolesFilter = z.infer<typeof RolesFilterSchema>;
|
|
248
|
+
export type FilterUser = z.infer<typeof FilterUserSchema>;
|
|
249
|
+
export type Profile = z.infer<typeof ProfileSchema>;
|
|
250
|
+
export type UserAutocompleteResponse = z.infer<typeof UserAutocompleteResponseSchema>;
|
|
251
|
+
export type UserAutocompleteArray = z.infer<typeof UserAutocompleteArraySchema>;
|
|
252
|
+
export type UserAutocompleteQuery = z.infer<typeof AutocompleteQuerySchema>;
|
|
253
|
+
export type PaginatedUserResponse = z.infer<typeof PaginatedUserResponseSchema>;
|
|
239
254
|
export declare const usersContract: {
|
|
240
255
|
create: {
|
|
241
256
|
metadata: {
|
|
@@ -255,14 +270,14 @@ export declare const usersContract: {
|
|
|
255
270
|
lastName: string;
|
|
256
271
|
email: string;
|
|
257
272
|
phone: string;
|
|
258
|
-
roles?: ("
|
|
273
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
259
274
|
password?: string | undefined;
|
|
260
275
|
}, {
|
|
261
276
|
firstName: string;
|
|
262
277
|
lastName: string;
|
|
263
278
|
email: string;
|
|
264
279
|
phone: string;
|
|
265
|
-
roles?: ("
|
|
280
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
266
281
|
password?: string | undefined;
|
|
267
282
|
}>;
|
|
268
283
|
path: "/v2/users";
|
|
@@ -276,19 +291,19 @@ export declare const usersContract: {
|
|
|
276
291
|
path: z.ZodString;
|
|
277
292
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
278
293
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
statusCode: number;
|
|
280
|
-
message: string;
|
|
281
294
|
code: string;
|
|
282
|
-
timestamp: string;
|
|
283
295
|
path: string;
|
|
296
|
+
message: string;
|
|
297
|
+
statusCode: number;
|
|
298
|
+
timestamp: string;
|
|
284
299
|
details?: unknown;
|
|
285
300
|
correlationId?: string | undefined;
|
|
286
301
|
}, {
|
|
287
|
-
statusCode: number;
|
|
288
|
-
message: string;
|
|
289
302
|
code: string;
|
|
290
|
-
timestamp: string;
|
|
291
303
|
path: string;
|
|
304
|
+
message: string;
|
|
305
|
+
statusCode: number;
|
|
306
|
+
timestamp: string;
|
|
292
307
|
details?: unknown;
|
|
293
308
|
correlationId?: string | undefined;
|
|
294
309
|
}>;
|
|
@@ -301,19 +316,19 @@ export declare const usersContract: {
|
|
|
301
316
|
path: z.ZodString;
|
|
302
317
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
303
318
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
statusCode: number;
|
|
305
|
-
message: string;
|
|
306
319
|
code: string;
|
|
307
|
-
timestamp: string;
|
|
308
320
|
path: string;
|
|
321
|
+
message: string;
|
|
322
|
+
statusCode: number;
|
|
323
|
+
timestamp: string;
|
|
309
324
|
details?: unknown;
|
|
310
325
|
correlationId?: string | undefined;
|
|
311
326
|
}, {
|
|
312
|
-
statusCode: number;
|
|
313
|
-
message: string;
|
|
314
327
|
code: string;
|
|
315
|
-
timestamp: string;
|
|
316
328
|
path: string;
|
|
329
|
+
message: string;
|
|
330
|
+
statusCode: number;
|
|
331
|
+
timestamp: string;
|
|
317
332
|
details?: unknown;
|
|
318
333
|
correlationId?: string | undefined;
|
|
319
334
|
}>;
|
|
@@ -326,19 +341,19 @@ export declare const usersContract: {
|
|
|
326
341
|
path: z.ZodString;
|
|
327
342
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
328
343
|
}, "strip", z.ZodTypeAny, {
|
|
329
|
-
statusCode: number;
|
|
330
|
-
message: string;
|
|
331
344
|
code: string;
|
|
332
|
-
timestamp: string;
|
|
333
345
|
path: string;
|
|
346
|
+
message: string;
|
|
347
|
+
statusCode: number;
|
|
348
|
+
timestamp: string;
|
|
334
349
|
details?: unknown;
|
|
335
350
|
correlationId?: string | undefined;
|
|
336
351
|
}, {
|
|
337
|
-
statusCode: number;
|
|
338
|
-
message: string;
|
|
339
352
|
code: string;
|
|
340
|
-
timestamp: string;
|
|
341
353
|
path: string;
|
|
354
|
+
message: string;
|
|
355
|
+
statusCode: number;
|
|
356
|
+
timestamp: string;
|
|
342
357
|
details?: unknown;
|
|
343
358
|
correlationId?: string | undefined;
|
|
344
359
|
}>;
|
|
@@ -351,19 +366,19 @@ export declare const usersContract: {
|
|
|
351
366
|
path: z.ZodString;
|
|
352
367
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
353
368
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
statusCode: number;
|
|
355
|
-
message: string;
|
|
356
369
|
code: string;
|
|
357
|
-
timestamp: string;
|
|
358
370
|
path: string;
|
|
371
|
+
message: string;
|
|
372
|
+
statusCode: number;
|
|
373
|
+
timestamp: string;
|
|
359
374
|
details?: unknown;
|
|
360
375
|
correlationId?: string | undefined;
|
|
361
376
|
}, {
|
|
362
|
-
statusCode: number;
|
|
363
|
-
message: string;
|
|
364
377
|
code: string;
|
|
365
|
-
timestamp: string;
|
|
366
378
|
path: string;
|
|
379
|
+
message: string;
|
|
380
|
+
statusCode: number;
|
|
381
|
+
timestamp: string;
|
|
367
382
|
details?: unknown;
|
|
368
383
|
correlationId?: string | undefined;
|
|
369
384
|
}>;
|
|
@@ -377,23 +392,23 @@ export declare const usersContract: {
|
|
|
377
392
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
378
393
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
379
394
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
-
createdAt: string;
|
|
381
|
-
updatedAt: string;
|
|
382
395
|
id: string;
|
|
383
396
|
firstName: string;
|
|
384
397
|
lastName: string;
|
|
385
398
|
email: string;
|
|
386
399
|
phone: string;
|
|
387
|
-
|
|
400
|
+
createdAt: string;
|
|
401
|
+
updatedAt: string;
|
|
402
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
388
403
|
}, {
|
|
389
|
-
createdAt: string | Date;
|
|
390
|
-
updatedAt: string | Date;
|
|
391
404
|
id: string;
|
|
392
405
|
firstName: string;
|
|
393
406
|
lastName: string;
|
|
394
407
|
email: string;
|
|
395
408
|
phone: string;
|
|
396
|
-
|
|
409
|
+
createdAt: string | Date;
|
|
410
|
+
updatedAt: string | Date;
|
|
411
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
397
412
|
}>;
|
|
398
413
|
409: z.ZodObject<{
|
|
399
414
|
statusCode: z.ZodNumber;
|
|
@@ -404,19 +419,19 @@ export declare const usersContract: {
|
|
|
404
419
|
path: z.ZodString;
|
|
405
420
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
406
421
|
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
statusCode: number;
|
|
408
|
-
message: string;
|
|
409
422
|
code: string;
|
|
410
|
-
timestamp: string;
|
|
411
423
|
path: string;
|
|
424
|
+
message: string;
|
|
425
|
+
statusCode: number;
|
|
426
|
+
timestamp: string;
|
|
412
427
|
details?: unknown;
|
|
413
428
|
correlationId?: string | undefined;
|
|
414
429
|
}, {
|
|
415
|
-
statusCode: number;
|
|
416
|
-
message: string;
|
|
417
430
|
code: string;
|
|
418
|
-
timestamp: string;
|
|
419
431
|
path: string;
|
|
432
|
+
message: string;
|
|
433
|
+
statusCode: number;
|
|
434
|
+
timestamp: string;
|
|
420
435
|
details?: unknown;
|
|
421
436
|
correlationId?: string | undefined;
|
|
422
437
|
}>;
|
|
@@ -427,8 +442,9 @@ export declare const usersContract: {
|
|
|
427
442
|
tags: string[];
|
|
428
443
|
};
|
|
429
444
|
query: z.ZodObject<{
|
|
430
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
431
445
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
446
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
447
|
+
} & {
|
|
432
448
|
name: z.ZodOptional<z.ZodString>;
|
|
433
449
|
email: z.ZodOptional<z.ZodString>;
|
|
434
450
|
phone: z.ZodOptional<z.ZodString>;
|
|
@@ -436,10 +452,10 @@ export declare const usersContract: {
|
|
|
436
452
|
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
|
|
437
453
|
requireAll: z.ZodOptional<z.ZodBoolean>;
|
|
438
454
|
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
values?: ("
|
|
455
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
440
456
|
requireAll?: boolean | undefined;
|
|
441
457
|
}, {
|
|
442
|
-
values?: ("
|
|
458
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
443
459
|
requireAll?: boolean | undefined;
|
|
444
460
|
}>>;
|
|
445
461
|
sortBy: z.ZodOptional<z.ZodEnum<["lastName", "firstName", "email", "phone", "createdAt"]>>;
|
|
@@ -447,27 +463,27 @@ export declare const usersContract: {
|
|
|
447
463
|
}, "strip", z.ZodTypeAny, {
|
|
448
464
|
limit: number;
|
|
449
465
|
page: number;
|
|
450
|
-
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
451
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
452
|
-
name?: string | undefined;
|
|
453
466
|
email?: string | undefined;
|
|
454
467
|
phone?: string | undefined;
|
|
455
468
|
roles?: {
|
|
456
|
-
values?: ("
|
|
469
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
457
470
|
requireAll?: boolean | undefined;
|
|
458
471
|
} | undefined;
|
|
459
|
-
}, {
|
|
460
|
-
limit?: number | undefined;
|
|
461
|
-
page?: number | undefined;
|
|
462
|
-
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
463
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
464
472
|
name?: string | undefined;
|
|
473
|
+
sortBy?: "firstName" | "lastName" | "email" | "phone" | "createdAt" | undefined;
|
|
474
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
475
|
+
}, {
|
|
465
476
|
email?: string | undefined;
|
|
466
477
|
phone?: string | undefined;
|
|
467
478
|
roles?: {
|
|
468
|
-
values?: ("
|
|
479
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
469
480
|
requireAll?: boolean | undefined;
|
|
470
481
|
} | undefined;
|
|
482
|
+
limit?: number | undefined;
|
|
483
|
+
page?: number | undefined;
|
|
484
|
+
name?: string | undefined;
|
|
485
|
+
sortBy?: "firstName" | "lastName" | "email" | "phone" | "createdAt" | undefined;
|
|
486
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
471
487
|
}>;
|
|
472
488
|
summary: "Get all users";
|
|
473
489
|
method: "GET";
|
|
@@ -482,19 +498,19 @@ export declare const usersContract: {
|
|
|
482
498
|
path: z.ZodString;
|
|
483
499
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
484
500
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
statusCode: number;
|
|
486
|
-
message: string;
|
|
487
501
|
code: string;
|
|
488
|
-
timestamp: string;
|
|
489
502
|
path: string;
|
|
503
|
+
message: string;
|
|
504
|
+
statusCode: number;
|
|
505
|
+
timestamp: string;
|
|
490
506
|
details?: unknown;
|
|
491
507
|
correlationId?: string | undefined;
|
|
492
508
|
}, {
|
|
493
|
-
statusCode: number;
|
|
494
|
-
message: string;
|
|
495
509
|
code: string;
|
|
496
|
-
timestamp: string;
|
|
497
510
|
path: string;
|
|
511
|
+
message: string;
|
|
512
|
+
statusCode: number;
|
|
513
|
+
timestamp: string;
|
|
498
514
|
details?: unknown;
|
|
499
515
|
correlationId?: string | undefined;
|
|
500
516
|
}>;
|
|
@@ -507,19 +523,19 @@ export declare const usersContract: {
|
|
|
507
523
|
path: z.ZodString;
|
|
508
524
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
509
525
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
statusCode: number;
|
|
511
|
-
message: string;
|
|
512
526
|
code: string;
|
|
513
|
-
timestamp: string;
|
|
514
527
|
path: string;
|
|
528
|
+
message: string;
|
|
529
|
+
statusCode: number;
|
|
530
|
+
timestamp: string;
|
|
515
531
|
details?: unknown;
|
|
516
532
|
correlationId?: string | undefined;
|
|
517
533
|
}, {
|
|
518
|
-
statusCode: number;
|
|
519
|
-
message: string;
|
|
520
534
|
code: string;
|
|
521
|
-
timestamp: string;
|
|
522
535
|
path: string;
|
|
536
|
+
message: string;
|
|
537
|
+
statusCode: number;
|
|
538
|
+
timestamp: string;
|
|
523
539
|
details?: unknown;
|
|
524
540
|
correlationId?: string | undefined;
|
|
525
541
|
}>;
|
|
@@ -532,19 +548,19 @@ export declare const usersContract: {
|
|
|
532
548
|
path: z.ZodString;
|
|
533
549
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
534
550
|
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
statusCode: number;
|
|
536
|
-
message: string;
|
|
537
551
|
code: string;
|
|
538
|
-
timestamp: string;
|
|
539
552
|
path: string;
|
|
553
|
+
message: string;
|
|
554
|
+
statusCode: number;
|
|
555
|
+
timestamp: string;
|
|
540
556
|
details?: unknown;
|
|
541
557
|
correlationId?: string | undefined;
|
|
542
558
|
}, {
|
|
543
|
-
statusCode: number;
|
|
544
|
-
message: string;
|
|
545
559
|
code: string;
|
|
546
|
-
timestamp: string;
|
|
547
560
|
path: string;
|
|
561
|
+
message: string;
|
|
562
|
+
statusCode: number;
|
|
563
|
+
timestamp: string;
|
|
548
564
|
details?: unknown;
|
|
549
565
|
correlationId?: string | undefined;
|
|
550
566
|
}>;
|
|
@@ -557,19 +573,19 @@ export declare const usersContract: {
|
|
|
557
573
|
path: z.ZodString;
|
|
558
574
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
559
575
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
statusCode: number;
|
|
561
|
-
message: string;
|
|
562
576
|
code: string;
|
|
563
|
-
timestamp: string;
|
|
564
577
|
path: string;
|
|
578
|
+
message: string;
|
|
579
|
+
statusCode: number;
|
|
580
|
+
timestamp: string;
|
|
565
581
|
details?: unknown;
|
|
566
582
|
correlationId?: string | undefined;
|
|
567
583
|
}, {
|
|
568
|
-
statusCode: number;
|
|
569
|
-
message: string;
|
|
570
584
|
code: string;
|
|
571
|
-
timestamp: string;
|
|
572
585
|
path: string;
|
|
586
|
+
message: string;
|
|
587
|
+
statusCode: number;
|
|
588
|
+
timestamp: string;
|
|
573
589
|
details?: unknown;
|
|
574
590
|
correlationId?: string | undefined;
|
|
575
591
|
}>;
|
|
@@ -584,23 +600,23 @@ export declare const usersContract: {
|
|
|
584
600
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
585
601
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
586
602
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
createdAt: string;
|
|
588
|
-
updatedAt: string;
|
|
589
603
|
id: string;
|
|
590
604
|
firstName: string;
|
|
591
605
|
lastName: string;
|
|
592
606
|
email: string;
|
|
593
607
|
phone: string;
|
|
594
|
-
|
|
608
|
+
createdAt: string;
|
|
609
|
+
updatedAt: string;
|
|
610
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
595
611
|
}, {
|
|
596
|
-
createdAt: string | Date;
|
|
597
|
-
updatedAt: string | Date;
|
|
598
612
|
id: string;
|
|
599
613
|
firstName: string;
|
|
600
614
|
lastName: string;
|
|
601
615
|
email: string;
|
|
602
616
|
phone: string;
|
|
603
|
-
|
|
617
|
+
createdAt: string | Date;
|
|
618
|
+
updatedAt: string | Date;
|
|
619
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
604
620
|
}>, "many">;
|
|
605
621
|
totalCount: z.ZodNumber;
|
|
606
622
|
limit: z.ZodNumber;
|
|
@@ -608,34 +624,34 @@ export declare const usersContract: {
|
|
|
608
624
|
currentPage: z.ZodNumber;
|
|
609
625
|
totalPages: z.ZodNumber;
|
|
610
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
limit: number;
|
|
611
628
|
items: {
|
|
612
|
-
createdAt: string;
|
|
613
|
-
updatedAt: string;
|
|
614
629
|
id: string;
|
|
615
630
|
firstName: string;
|
|
616
631
|
lastName: string;
|
|
617
632
|
email: string;
|
|
618
633
|
phone: string;
|
|
619
|
-
|
|
634
|
+
createdAt: string;
|
|
635
|
+
updatedAt: string;
|
|
636
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
620
637
|
}[];
|
|
621
638
|
totalCount: number;
|
|
622
|
-
limit: number;
|
|
623
639
|
skip: number;
|
|
624
640
|
currentPage: number;
|
|
625
641
|
totalPages: number;
|
|
626
642
|
}, {
|
|
643
|
+
limit: number;
|
|
627
644
|
items: {
|
|
628
|
-
createdAt: string | Date;
|
|
629
|
-
updatedAt: string | Date;
|
|
630
645
|
id: string;
|
|
631
646
|
firstName: string;
|
|
632
647
|
lastName: string;
|
|
633
648
|
email: string;
|
|
634
649
|
phone: string;
|
|
635
|
-
|
|
650
|
+
createdAt: string | Date;
|
|
651
|
+
updatedAt: string | Date;
|
|
652
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
636
653
|
}[];
|
|
637
654
|
totalCount: number;
|
|
638
|
-
limit: number;
|
|
639
655
|
skip: number;
|
|
640
656
|
currentPage: number;
|
|
641
657
|
totalPages: number;
|
|
@@ -669,19 +685,19 @@ export declare const usersContract: {
|
|
|
669
685
|
path: z.ZodString;
|
|
670
686
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
671
687
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
statusCode: number;
|
|
673
|
-
message: string;
|
|
674
688
|
code: string;
|
|
675
|
-
timestamp: string;
|
|
676
689
|
path: string;
|
|
690
|
+
message: string;
|
|
691
|
+
statusCode: number;
|
|
692
|
+
timestamp: string;
|
|
677
693
|
details?: unknown;
|
|
678
694
|
correlationId?: string | undefined;
|
|
679
695
|
}, {
|
|
680
|
-
statusCode: number;
|
|
681
|
-
message: string;
|
|
682
696
|
code: string;
|
|
683
|
-
timestamp: string;
|
|
684
697
|
path: string;
|
|
698
|
+
message: string;
|
|
699
|
+
statusCode: number;
|
|
700
|
+
timestamp: string;
|
|
685
701
|
details?: unknown;
|
|
686
702
|
correlationId?: string | undefined;
|
|
687
703
|
}>;
|
|
@@ -694,19 +710,19 @@ export declare const usersContract: {
|
|
|
694
710
|
path: z.ZodString;
|
|
695
711
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
696
712
|
}, "strip", z.ZodTypeAny, {
|
|
697
|
-
statusCode: number;
|
|
698
|
-
message: string;
|
|
699
713
|
code: string;
|
|
700
|
-
timestamp: string;
|
|
701
714
|
path: string;
|
|
715
|
+
message: string;
|
|
716
|
+
statusCode: number;
|
|
717
|
+
timestamp: string;
|
|
702
718
|
details?: unknown;
|
|
703
719
|
correlationId?: string | undefined;
|
|
704
720
|
}, {
|
|
705
|
-
statusCode: number;
|
|
706
|
-
message: string;
|
|
707
721
|
code: string;
|
|
708
|
-
timestamp: string;
|
|
709
722
|
path: string;
|
|
723
|
+
message: string;
|
|
724
|
+
statusCode: number;
|
|
725
|
+
timestamp: string;
|
|
710
726
|
details?: unknown;
|
|
711
727
|
correlationId?: string | undefined;
|
|
712
728
|
}>;
|
|
@@ -719,19 +735,19 @@ export declare const usersContract: {
|
|
|
719
735
|
path: z.ZodString;
|
|
720
736
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
721
737
|
}, "strip", z.ZodTypeAny, {
|
|
722
|
-
statusCode: number;
|
|
723
|
-
message: string;
|
|
724
738
|
code: string;
|
|
725
|
-
timestamp: string;
|
|
726
739
|
path: string;
|
|
740
|
+
message: string;
|
|
741
|
+
statusCode: number;
|
|
742
|
+
timestamp: string;
|
|
727
743
|
details?: unknown;
|
|
728
744
|
correlationId?: string | undefined;
|
|
729
745
|
}, {
|
|
730
|
-
statusCode: number;
|
|
731
|
-
message: string;
|
|
732
746
|
code: string;
|
|
733
|
-
timestamp: string;
|
|
734
747
|
path: string;
|
|
748
|
+
message: string;
|
|
749
|
+
statusCode: number;
|
|
750
|
+
timestamp: string;
|
|
735
751
|
details?: unknown;
|
|
736
752
|
correlationId?: string | undefined;
|
|
737
753
|
}>;
|
|
@@ -744,19 +760,19 @@ export declare const usersContract: {
|
|
|
744
760
|
path: z.ZodString;
|
|
745
761
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
746
762
|
}, "strip", z.ZodTypeAny, {
|
|
747
|
-
statusCode: number;
|
|
748
|
-
message: string;
|
|
749
763
|
code: string;
|
|
750
|
-
timestamp: string;
|
|
751
764
|
path: string;
|
|
765
|
+
message: string;
|
|
766
|
+
statusCode: number;
|
|
767
|
+
timestamp: string;
|
|
752
768
|
details?: unknown;
|
|
753
769
|
correlationId?: string | undefined;
|
|
754
770
|
}, {
|
|
755
|
-
statusCode: number;
|
|
756
|
-
message: string;
|
|
757
771
|
code: string;
|
|
758
|
-
timestamp: string;
|
|
759
772
|
path: string;
|
|
773
|
+
message: string;
|
|
774
|
+
statusCode: number;
|
|
775
|
+
timestamp: string;
|
|
760
776
|
details?: unknown;
|
|
761
777
|
correlationId?: string | undefined;
|
|
762
778
|
}>;
|
|
@@ -792,19 +808,19 @@ export declare const usersContract: {
|
|
|
792
808
|
path: z.ZodString;
|
|
793
809
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
794
810
|
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
statusCode: number;
|
|
796
|
-
message: string;
|
|
797
811
|
code: string;
|
|
798
|
-
timestamp: string;
|
|
799
812
|
path: string;
|
|
813
|
+
message: string;
|
|
814
|
+
statusCode: number;
|
|
815
|
+
timestamp: string;
|
|
800
816
|
details?: unknown;
|
|
801
817
|
correlationId?: string | undefined;
|
|
802
818
|
}, {
|
|
803
|
-
statusCode: number;
|
|
804
|
-
message: string;
|
|
805
819
|
code: string;
|
|
806
|
-
timestamp: string;
|
|
807
820
|
path: string;
|
|
821
|
+
message: string;
|
|
822
|
+
statusCode: number;
|
|
823
|
+
timestamp: string;
|
|
808
824
|
details?: unknown;
|
|
809
825
|
correlationId?: string | undefined;
|
|
810
826
|
}>;
|
|
@@ -817,19 +833,19 @@ export declare const usersContract: {
|
|
|
817
833
|
path: z.ZodString;
|
|
818
834
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
819
835
|
}, "strip", z.ZodTypeAny, {
|
|
820
|
-
statusCode: number;
|
|
821
|
-
message: string;
|
|
822
836
|
code: string;
|
|
823
|
-
timestamp: string;
|
|
824
837
|
path: string;
|
|
838
|
+
message: string;
|
|
839
|
+
statusCode: number;
|
|
840
|
+
timestamp: string;
|
|
825
841
|
details?: unknown;
|
|
826
842
|
correlationId?: string | undefined;
|
|
827
843
|
}, {
|
|
828
|
-
statusCode: number;
|
|
829
|
-
message: string;
|
|
830
844
|
code: string;
|
|
831
|
-
timestamp: string;
|
|
832
845
|
path: string;
|
|
846
|
+
message: string;
|
|
847
|
+
statusCode: number;
|
|
848
|
+
timestamp: string;
|
|
833
849
|
details?: unknown;
|
|
834
850
|
correlationId?: string | undefined;
|
|
835
851
|
}>;
|
|
@@ -842,19 +858,19 @@ export declare const usersContract: {
|
|
|
842
858
|
path: z.ZodString;
|
|
843
859
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
844
860
|
}, "strip", z.ZodTypeAny, {
|
|
845
|
-
statusCode: number;
|
|
846
|
-
message: string;
|
|
847
861
|
code: string;
|
|
848
|
-
timestamp: string;
|
|
849
862
|
path: string;
|
|
863
|
+
message: string;
|
|
864
|
+
statusCode: number;
|
|
865
|
+
timestamp: string;
|
|
850
866
|
details?: unknown;
|
|
851
867
|
correlationId?: string | undefined;
|
|
852
868
|
}, {
|
|
853
|
-
statusCode: number;
|
|
854
|
-
message: string;
|
|
855
869
|
code: string;
|
|
856
|
-
timestamp: string;
|
|
857
870
|
path: string;
|
|
871
|
+
message: string;
|
|
872
|
+
statusCode: number;
|
|
873
|
+
timestamp: string;
|
|
858
874
|
details?: unknown;
|
|
859
875
|
correlationId?: string | undefined;
|
|
860
876
|
}>;
|
|
@@ -867,19 +883,19 @@ export declare const usersContract: {
|
|
|
867
883
|
path: z.ZodString;
|
|
868
884
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
869
885
|
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
statusCode: number;
|
|
871
|
-
message: string;
|
|
872
886
|
code: string;
|
|
873
|
-
timestamp: string;
|
|
874
887
|
path: string;
|
|
888
|
+
message: string;
|
|
889
|
+
statusCode: number;
|
|
890
|
+
timestamp: string;
|
|
875
891
|
details?: unknown;
|
|
876
892
|
correlationId?: string | undefined;
|
|
877
893
|
}, {
|
|
878
|
-
statusCode: number;
|
|
879
|
-
message: string;
|
|
880
894
|
code: string;
|
|
881
|
-
timestamp: string;
|
|
882
895
|
path: string;
|
|
896
|
+
message: string;
|
|
897
|
+
statusCode: number;
|
|
898
|
+
timestamp: string;
|
|
883
899
|
details?: unknown;
|
|
884
900
|
correlationId?: string | undefined;
|
|
885
901
|
}>;
|
|
@@ -896,14 +912,14 @@ export declare const usersContract: {
|
|
|
896
912
|
firstName?: string | undefined;
|
|
897
913
|
lastName?: string | undefined;
|
|
898
914
|
phone?: string | undefined;
|
|
899
|
-
roles?: ("
|
|
915
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
900
916
|
}, {
|
|
901
917
|
id: string;
|
|
902
918
|
email: string;
|
|
903
919
|
firstName?: string | undefined;
|
|
904
920
|
lastName?: string | undefined;
|
|
905
921
|
phone?: string | undefined;
|
|
906
|
-
roles?: ("
|
|
922
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
907
923
|
}>;
|
|
908
924
|
};
|
|
909
925
|
};
|
|
@@ -931,19 +947,19 @@ export declare const usersContract: {
|
|
|
931
947
|
path: z.ZodString;
|
|
932
948
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
933
949
|
}, "strip", z.ZodTypeAny, {
|
|
934
|
-
statusCode: number;
|
|
935
|
-
message: string;
|
|
936
950
|
code: string;
|
|
937
|
-
timestamp: string;
|
|
938
951
|
path: string;
|
|
952
|
+
message: string;
|
|
953
|
+
statusCode: number;
|
|
954
|
+
timestamp: string;
|
|
939
955
|
details?: unknown;
|
|
940
956
|
correlationId?: string | undefined;
|
|
941
957
|
}, {
|
|
942
|
-
statusCode: number;
|
|
943
|
-
message: string;
|
|
944
958
|
code: string;
|
|
945
|
-
timestamp: string;
|
|
946
959
|
path: string;
|
|
960
|
+
message: string;
|
|
961
|
+
statusCode: number;
|
|
962
|
+
timestamp: string;
|
|
947
963
|
details?: unknown;
|
|
948
964
|
correlationId?: string | undefined;
|
|
949
965
|
}>;
|
|
@@ -956,19 +972,19 @@ export declare const usersContract: {
|
|
|
956
972
|
path: z.ZodString;
|
|
957
973
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
958
974
|
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
statusCode: number;
|
|
960
|
-
message: string;
|
|
961
975
|
code: string;
|
|
962
|
-
timestamp: string;
|
|
963
976
|
path: string;
|
|
977
|
+
message: string;
|
|
978
|
+
statusCode: number;
|
|
979
|
+
timestamp: string;
|
|
964
980
|
details?: unknown;
|
|
965
981
|
correlationId?: string | undefined;
|
|
966
982
|
}, {
|
|
967
|
-
statusCode: number;
|
|
968
|
-
message: string;
|
|
969
983
|
code: string;
|
|
970
|
-
timestamp: string;
|
|
971
984
|
path: string;
|
|
985
|
+
message: string;
|
|
986
|
+
statusCode: number;
|
|
987
|
+
timestamp: string;
|
|
972
988
|
details?: unknown;
|
|
973
989
|
correlationId?: string | undefined;
|
|
974
990
|
}>;
|
|
@@ -981,19 +997,19 @@ export declare const usersContract: {
|
|
|
981
997
|
path: z.ZodString;
|
|
982
998
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
983
999
|
}, "strip", z.ZodTypeAny, {
|
|
984
|
-
statusCode: number;
|
|
985
|
-
message: string;
|
|
986
1000
|
code: string;
|
|
987
|
-
timestamp: string;
|
|
988
1001
|
path: string;
|
|
1002
|
+
message: string;
|
|
1003
|
+
statusCode: number;
|
|
1004
|
+
timestamp: string;
|
|
989
1005
|
details?: unknown;
|
|
990
1006
|
correlationId?: string | undefined;
|
|
991
1007
|
}, {
|
|
992
|
-
statusCode: number;
|
|
993
|
-
message: string;
|
|
994
1008
|
code: string;
|
|
995
|
-
timestamp: string;
|
|
996
1009
|
path: string;
|
|
1010
|
+
message: string;
|
|
1011
|
+
statusCode: number;
|
|
1012
|
+
timestamp: string;
|
|
997
1013
|
details?: unknown;
|
|
998
1014
|
correlationId?: string | undefined;
|
|
999
1015
|
}>;
|
|
@@ -1006,19 +1022,19 @@ export declare const usersContract: {
|
|
|
1006
1022
|
path: z.ZodString;
|
|
1007
1023
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1008
1024
|
}, "strip", z.ZodTypeAny, {
|
|
1009
|
-
statusCode: number;
|
|
1010
|
-
message: string;
|
|
1011
1025
|
code: string;
|
|
1012
|
-
timestamp: string;
|
|
1013
1026
|
path: string;
|
|
1027
|
+
message: string;
|
|
1028
|
+
statusCode: number;
|
|
1029
|
+
timestamp: string;
|
|
1014
1030
|
details?: unknown;
|
|
1015
1031
|
correlationId?: string | undefined;
|
|
1016
1032
|
}, {
|
|
1017
|
-
statusCode: number;
|
|
1018
|
-
message: string;
|
|
1019
1033
|
code: string;
|
|
1020
|
-
timestamp: string;
|
|
1021
1034
|
path: string;
|
|
1035
|
+
message: string;
|
|
1036
|
+
statusCode: number;
|
|
1037
|
+
timestamp: string;
|
|
1022
1038
|
details?: unknown;
|
|
1023
1039
|
correlationId?: string | undefined;
|
|
1024
1040
|
}>;
|
|
@@ -1032,23 +1048,23 @@ export declare const usersContract: {
|
|
|
1032
1048
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1033
1049
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1034
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1035
|
-
createdAt: string;
|
|
1036
|
-
updatedAt: string;
|
|
1037
1051
|
id: string;
|
|
1038
1052
|
firstName: string;
|
|
1039
1053
|
lastName: string;
|
|
1040
1054
|
email: string;
|
|
1041
1055
|
phone: string;
|
|
1042
|
-
|
|
1056
|
+
createdAt: string;
|
|
1057
|
+
updatedAt: string;
|
|
1058
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1043
1059
|
}, {
|
|
1044
|
-
createdAt: string | Date;
|
|
1045
|
-
updatedAt: string | Date;
|
|
1046
1060
|
id: string;
|
|
1047
1061
|
firstName: string;
|
|
1048
1062
|
lastName: string;
|
|
1049
1063
|
email: string;
|
|
1050
1064
|
phone: string;
|
|
1051
|
-
|
|
1065
|
+
createdAt: string | Date;
|
|
1066
|
+
updatedAt: string | Date;
|
|
1067
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1052
1068
|
}>;
|
|
1053
1069
|
404: z.ZodObject<{
|
|
1054
1070
|
statusCode: z.ZodNumber;
|
|
@@ -1059,19 +1075,19 @@ export declare const usersContract: {
|
|
|
1059
1075
|
path: z.ZodString;
|
|
1060
1076
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1061
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
statusCode: number;
|
|
1063
|
-
message: string;
|
|
1064
1078
|
code: string;
|
|
1065
|
-
timestamp: string;
|
|
1066
1079
|
path: string;
|
|
1080
|
+
message: string;
|
|
1081
|
+
statusCode: number;
|
|
1082
|
+
timestamp: string;
|
|
1067
1083
|
details?: unknown;
|
|
1068
1084
|
correlationId?: string | undefined;
|
|
1069
1085
|
}, {
|
|
1070
|
-
statusCode: number;
|
|
1071
|
-
message: string;
|
|
1072
1086
|
code: string;
|
|
1073
|
-
timestamp: string;
|
|
1074
1087
|
path: string;
|
|
1088
|
+
message: string;
|
|
1089
|
+
statusCode: number;
|
|
1090
|
+
timestamp: string;
|
|
1075
1091
|
details?: unknown;
|
|
1076
1092
|
correlationId?: string | undefined;
|
|
1077
1093
|
}>;
|
|
@@ -1102,14 +1118,14 @@ export declare const usersContract: {
|
|
|
1102
1118
|
lastName?: string | undefined;
|
|
1103
1119
|
email?: string | undefined;
|
|
1104
1120
|
phone?: string | undefined;
|
|
1105
|
-
roles?: ("
|
|
1121
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1106
1122
|
password?: string | undefined;
|
|
1107
1123
|
}, {
|
|
1108
1124
|
firstName?: string | undefined;
|
|
1109
1125
|
lastName?: string | undefined;
|
|
1110
1126
|
email?: string | undefined;
|
|
1111
1127
|
phone?: string | undefined;
|
|
1112
|
-
roles?: ("
|
|
1128
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1113
1129
|
password?: string | undefined;
|
|
1114
1130
|
}>;
|
|
1115
1131
|
path: "/v2/users/:id";
|
|
@@ -1123,19 +1139,19 @@ export declare const usersContract: {
|
|
|
1123
1139
|
path: z.ZodString;
|
|
1124
1140
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1125
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
statusCode: number;
|
|
1127
|
-
message: string;
|
|
1128
1142
|
code: string;
|
|
1129
|
-
timestamp: string;
|
|
1130
1143
|
path: string;
|
|
1144
|
+
message: string;
|
|
1145
|
+
statusCode: number;
|
|
1146
|
+
timestamp: string;
|
|
1131
1147
|
details?: unknown;
|
|
1132
1148
|
correlationId?: string | undefined;
|
|
1133
1149
|
}, {
|
|
1134
|
-
statusCode: number;
|
|
1135
|
-
message: string;
|
|
1136
1150
|
code: string;
|
|
1137
|
-
timestamp: string;
|
|
1138
1151
|
path: string;
|
|
1152
|
+
message: string;
|
|
1153
|
+
statusCode: number;
|
|
1154
|
+
timestamp: string;
|
|
1139
1155
|
details?: unknown;
|
|
1140
1156
|
correlationId?: string | undefined;
|
|
1141
1157
|
}>;
|
|
@@ -1148,19 +1164,19 @@ export declare const usersContract: {
|
|
|
1148
1164
|
path: z.ZodString;
|
|
1149
1165
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1150
1166
|
}, "strip", z.ZodTypeAny, {
|
|
1151
|
-
statusCode: number;
|
|
1152
|
-
message: string;
|
|
1153
1167
|
code: string;
|
|
1154
|
-
timestamp: string;
|
|
1155
1168
|
path: string;
|
|
1169
|
+
message: string;
|
|
1170
|
+
statusCode: number;
|
|
1171
|
+
timestamp: string;
|
|
1156
1172
|
details?: unknown;
|
|
1157
1173
|
correlationId?: string | undefined;
|
|
1158
1174
|
}, {
|
|
1159
|
-
statusCode: number;
|
|
1160
|
-
message: string;
|
|
1161
1175
|
code: string;
|
|
1162
|
-
timestamp: string;
|
|
1163
1176
|
path: string;
|
|
1177
|
+
message: string;
|
|
1178
|
+
statusCode: number;
|
|
1179
|
+
timestamp: string;
|
|
1164
1180
|
details?: unknown;
|
|
1165
1181
|
correlationId?: string | undefined;
|
|
1166
1182
|
}>;
|
|
@@ -1173,19 +1189,19 @@ export declare const usersContract: {
|
|
|
1173
1189
|
path: z.ZodString;
|
|
1174
1190
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1175
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1176
|
-
statusCode: number;
|
|
1177
|
-
message: string;
|
|
1178
1192
|
code: string;
|
|
1179
|
-
timestamp: string;
|
|
1180
1193
|
path: string;
|
|
1194
|
+
message: string;
|
|
1195
|
+
statusCode: number;
|
|
1196
|
+
timestamp: string;
|
|
1181
1197
|
details?: unknown;
|
|
1182
1198
|
correlationId?: string | undefined;
|
|
1183
1199
|
}, {
|
|
1184
|
-
statusCode: number;
|
|
1185
|
-
message: string;
|
|
1186
1200
|
code: string;
|
|
1187
|
-
timestamp: string;
|
|
1188
1201
|
path: string;
|
|
1202
|
+
message: string;
|
|
1203
|
+
statusCode: number;
|
|
1204
|
+
timestamp: string;
|
|
1189
1205
|
details?: unknown;
|
|
1190
1206
|
correlationId?: string | undefined;
|
|
1191
1207
|
}>;
|
|
@@ -1198,19 +1214,19 @@ export declare const usersContract: {
|
|
|
1198
1214
|
path: z.ZodString;
|
|
1199
1215
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1200
1216
|
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
statusCode: number;
|
|
1202
|
-
message: string;
|
|
1203
1217
|
code: string;
|
|
1204
|
-
timestamp: string;
|
|
1205
1218
|
path: string;
|
|
1219
|
+
message: string;
|
|
1220
|
+
statusCode: number;
|
|
1221
|
+
timestamp: string;
|
|
1206
1222
|
details?: unknown;
|
|
1207
1223
|
correlationId?: string | undefined;
|
|
1208
1224
|
}, {
|
|
1209
|
-
statusCode: number;
|
|
1210
|
-
message: string;
|
|
1211
1225
|
code: string;
|
|
1212
|
-
timestamp: string;
|
|
1213
1226
|
path: string;
|
|
1227
|
+
message: string;
|
|
1228
|
+
statusCode: number;
|
|
1229
|
+
timestamp: string;
|
|
1214
1230
|
details?: unknown;
|
|
1215
1231
|
correlationId?: string | undefined;
|
|
1216
1232
|
}>;
|
|
@@ -1224,23 +1240,23 @@ export declare const usersContract: {
|
|
|
1224
1240
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1225
1241
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1226
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1227
|
-
createdAt: string;
|
|
1228
|
-
updatedAt: string;
|
|
1229
1243
|
id: string;
|
|
1230
1244
|
firstName: string;
|
|
1231
1245
|
lastName: string;
|
|
1232
1246
|
email: string;
|
|
1233
1247
|
phone: string;
|
|
1234
|
-
|
|
1248
|
+
createdAt: string;
|
|
1249
|
+
updatedAt: string;
|
|
1250
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1235
1251
|
}, {
|
|
1236
|
-
createdAt: string | Date;
|
|
1237
|
-
updatedAt: string | Date;
|
|
1238
1252
|
id: string;
|
|
1239
1253
|
firstName: string;
|
|
1240
1254
|
lastName: string;
|
|
1241
1255
|
email: string;
|
|
1242
1256
|
phone: string;
|
|
1243
|
-
|
|
1257
|
+
createdAt: string | Date;
|
|
1258
|
+
updatedAt: string | Date;
|
|
1259
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
|
|
1244
1260
|
}>;
|
|
1245
1261
|
404: z.ZodObject<{
|
|
1246
1262
|
statusCode: z.ZodNumber;
|
|
@@ -1251,19 +1267,19 @@ export declare const usersContract: {
|
|
|
1251
1267
|
path: z.ZodString;
|
|
1252
1268
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1253
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
statusCode: number;
|
|
1255
|
-
message: string;
|
|
1256
1270
|
code: string;
|
|
1257
|
-
timestamp: string;
|
|
1258
1271
|
path: string;
|
|
1272
|
+
message: string;
|
|
1273
|
+
statusCode: number;
|
|
1274
|
+
timestamp: string;
|
|
1259
1275
|
details?: unknown;
|
|
1260
1276
|
correlationId?: string | undefined;
|
|
1261
1277
|
}, {
|
|
1262
|
-
statusCode: number;
|
|
1263
|
-
message: string;
|
|
1264
1278
|
code: string;
|
|
1265
|
-
timestamp: string;
|
|
1266
1279
|
path: string;
|
|
1280
|
+
message: string;
|
|
1281
|
+
statusCode: number;
|
|
1282
|
+
timestamp: string;
|
|
1267
1283
|
details?: unknown;
|
|
1268
1284
|
correlationId?: string | undefined;
|
|
1269
1285
|
}>;
|
|
@@ -1276,19 +1292,19 @@ export declare const usersContract: {
|
|
|
1276
1292
|
path: z.ZodString;
|
|
1277
1293
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1278
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1279
|
-
statusCode: number;
|
|
1280
|
-
message: string;
|
|
1281
1295
|
code: string;
|
|
1282
|
-
timestamp: string;
|
|
1283
1296
|
path: string;
|
|
1297
|
+
message: string;
|
|
1298
|
+
statusCode: number;
|
|
1299
|
+
timestamp: string;
|
|
1284
1300
|
details?: unknown;
|
|
1285
1301
|
correlationId?: string | undefined;
|
|
1286
1302
|
}, {
|
|
1287
|
-
statusCode: number;
|
|
1288
|
-
message: string;
|
|
1289
1303
|
code: string;
|
|
1290
|
-
timestamp: string;
|
|
1291
1304
|
path: string;
|
|
1305
|
+
message: string;
|
|
1306
|
+
statusCode: number;
|
|
1307
|
+
timestamp: string;
|
|
1292
1308
|
details?: unknown;
|
|
1293
1309
|
correlationId?: string | undefined;
|
|
1294
1310
|
}>;
|
|
@@ -1307,7 +1323,7 @@ export declare const usersContract: {
|
|
|
1307
1323
|
}>;
|
|
1308
1324
|
summary: "Delete a user by ID";
|
|
1309
1325
|
method: "DELETE";
|
|
1310
|
-
body:
|
|
1326
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1311
1327
|
path: "/v2/users/:id";
|
|
1312
1328
|
responses: {
|
|
1313
1329
|
400: z.ZodObject<{
|
|
@@ -1319,19 +1335,19 @@ export declare const usersContract: {
|
|
|
1319
1335
|
path: z.ZodString;
|
|
1320
1336
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1321
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1322
|
-
statusCode: number;
|
|
1323
|
-
message: string;
|
|
1324
1338
|
code: string;
|
|
1325
|
-
timestamp: string;
|
|
1326
1339
|
path: string;
|
|
1340
|
+
message: string;
|
|
1341
|
+
statusCode: number;
|
|
1342
|
+
timestamp: string;
|
|
1327
1343
|
details?: unknown;
|
|
1328
1344
|
correlationId?: string | undefined;
|
|
1329
1345
|
}, {
|
|
1330
|
-
statusCode: number;
|
|
1331
|
-
message: string;
|
|
1332
1346
|
code: string;
|
|
1333
|
-
timestamp: string;
|
|
1334
1347
|
path: string;
|
|
1348
|
+
message: string;
|
|
1349
|
+
statusCode: number;
|
|
1350
|
+
timestamp: string;
|
|
1335
1351
|
details?: unknown;
|
|
1336
1352
|
correlationId?: string | undefined;
|
|
1337
1353
|
}>;
|
|
@@ -1344,19 +1360,19 @@ export declare const usersContract: {
|
|
|
1344
1360
|
path: z.ZodString;
|
|
1345
1361
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1346
1362
|
}, "strip", z.ZodTypeAny, {
|
|
1347
|
-
statusCode: number;
|
|
1348
|
-
message: string;
|
|
1349
1363
|
code: string;
|
|
1350
|
-
timestamp: string;
|
|
1351
1364
|
path: string;
|
|
1365
|
+
message: string;
|
|
1366
|
+
statusCode: number;
|
|
1367
|
+
timestamp: string;
|
|
1352
1368
|
details?: unknown;
|
|
1353
1369
|
correlationId?: string | undefined;
|
|
1354
1370
|
}, {
|
|
1355
|
-
statusCode: number;
|
|
1356
|
-
message: string;
|
|
1357
1371
|
code: string;
|
|
1358
|
-
timestamp: string;
|
|
1359
1372
|
path: string;
|
|
1373
|
+
message: string;
|
|
1374
|
+
statusCode: number;
|
|
1375
|
+
timestamp: string;
|
|
1360
1376
|
details?: unknown;
|
|
1361
1377
|
correlationId?: string | undefined;
|
|
1362
1378
|
}>;
|
|
@@ -1369,19 +1385,19 @@ export declare const usersContract: {
|
|
|
1369
1385
|
path: z.ZodString;
|
|
1370
1386
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1371
1387
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
statusCode: number;
|
|
1373
|
-
message: string;
|
|
1374
1388
|
code: string;
|
|
1375
|
-
timestamp: string;
|
|
1376
1389
|
path: string;
|
|
1390
|
+
message: string;
|
|
1391
|
+
statusCode: number;
|
|
1392
|
+
timestamp: string;
|
|
1377
1393
|
details?: unknown;
|
|
1378
1394
|
correlationId?: string | undefined;
|
|
1379
1395
|
}, {
|
|
1380
|
-
statusCode: number;
|
|
1381
|
-
message: string;
|
|
1382
1396
|
code: string;
|
|
1383
|
-
timestamp: string;
|
|
1384
1397
|
path: string;
|
|
1398
|
+
message: string;
|
|
1399
|
+
statusCode: number;
|
|
1400
|
+
timestamp: string;
|
|
1385
1401
|
details?: unknown;
|
|
1386
1402
|
correlationId?: string | undefined;
|
|
1387
1403
|
}>;
|
|
@@ -1394,19 +1410,19 @@ export declare const usersContract: {
|
|
|
1394
1410
|
path: z.ZodString;
|
|
1395
1411
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1396
1412
|
}, "strip", z.ZodTypeAny, {
|
|
1397
|
-
statusCode: number;
|
|
1398
|
-
message: string;
|
|
1399
1413
|
code: string;
|
|
1400
|
-
timestamp: string;
|
|
1401
1414
|
path: string;
|
|
1415
|
+
message: string;
|
|
1416
|
+
statusCode: number;
|
|
1417
|
+
timestamp: string;
|
|
1402
1418
|
details?: unknown;
|
|
1403
1419
|
correlationId?: string | undefined;
|
|
1404
1420
|
}, {
|
|
1405
|
-
statusCode: number;
|
|
1406
|
-
message: string;
|
|
1407
1421
|
code: string;
|
|
1408
|
-
timestamp: string;
|
|
1409
1422
|
path: string;
|
|
1423
|
+
message: string;
|
|
1424
|
+
statusCode: number;
|
|
1425
|
+
timestamp: string;
|
|
1410
1426
|
details?: unknown;
|
|
1411
1427
|
correlationId?: string | undefined;
|
|
1412
1428
|
}>;
|
|
@@ -1420,19 +1436,19 @@ export declare const usersContract: {
|
|
|
1420
1436
|
path: z.ZodString;
|
|
1421
1437
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1422
1438
|
}, "strip", z.ZodTypeAny, {
|
|
1423
|
-
statusCode: number;
|
|
1424
|
-
message: string;
|
|
1425
1439
|
code: string;
|
|
1426
|
-
timestamp: string;
|
|
1427
1440
|
path: string;
|
|
1441
|
+
message: string;
|
|
1442
|
+
statusCode: number;
|
|
1443
|
+
timestamp: string;
|
|
1428
1444
|
details?: unknown;
|
|
1429
1445
|
correlationId?: string | undefined;
|
|
1430
1446
|
}, {
|
|
1431
|
-
statusCode: number;
|
|
1432
|
-
message: string;
|
|
1433
1447
|
code: string;
|
|
1434
|
-
timestamp: string;
|
|
1435
1448
|
path: string;
|
|
1449
|
+
message: string;
|
|
1450
|
+
statusCode: number;
|
|
1451
|
+
timestamp: string;
|
|
1436
1452
|
details?: unknown;
|
|
1437
1453
|
correlationId?: string | undefined;
|
|
1438
1454
|
}>;
|