@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,9 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const ClientStatusSchema: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3
|
-
declare const SortOrderSchema: z.ZodEnum<["ASC", "DESC"]>;
|
|
4
3
|
declare const ClientSortableFieldsSchema: z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>;
|
|
5
4
|
export type ClientStatus = z.infer<typeof ClientStatusSchema>;
|
|
6
|
-
export type SortOrder = z.infer<typeof SortOrderSchema>;
|
|
7
5
|
export type ClientSortableFields = z.infer<typeof ClientSortableFieldsSchema>;
|
|
8
6
|
export declare const ClientUserSchema: z.ZodObject<{
|
|
9
7
|
id: z.ZodString;
|
|
@@ -47,7 +45,6 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
47
45
|
}>;
|
|
48
46
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
49
47
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
50
|
-
version: z.ZodNumber;
|
|
51
48
|
agentClientLinks: z.ZodObject<{
|
|
52
49
|
agentId: z.ZodString;
|
|
53
50
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -56,41 +53,39 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
56
53
|
agentId: string;
|
|
57
54
|
}>;
|
|
58
55
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
60
|
-
createdAt: string;
|
|
61
|
-
updatedAt: string;
|
|
62
56
|
id: string;
|
|
57
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
63
58
|
name: string;
|
|
64
|
-
director: string;
|
|
65
59
|
crn: string;
|
|
66
60
|
govLink: string;
|
|
61
|
+
director: string;
|
|
67
62
|
lastUpdatedBy: {
|
|
68
63
|
id: string;
|
|
69
64
|
firstName: string;
|
|
70
65
|
lastName: string;
|
|
71
66
|
email: string;
|
|
72
67
|
};
|
|
73
|
-
|
|
68
|
+
createdAt: string;
|
|
69
|
+
updatedAt: string;
|
|
74
70
|
agentClientLinks: {
|
|
75
71
|
agentId: string;
|
|
76
72
|
};
|
|
77
73
|
blacklistReason?: string | null | undefined;
|
|
78
74
|
}, {
|
|
79
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
|
-
createdAt: string | Date;
|
|
81
|
-
updatedAt: string | Date;
|
|
82
75
|
id: string;
|
|
76
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
83
77
|
name: string;
|
|
84
|
-
director: string;
|
|
85
78
|
crn: string;
|
|
86
79
|
govLink: string;
|
|
80
|
+
director: string;
|
|
87
81
|
lastUpdatedBy: {
|
|
88
82
|
id: string;
|
|
89
83
|
firstName: string;
|
|
90
84
|
lastName: string;
|
|
91
85
|
email: string;
|
|
92
86
|
};
|
|
93
|
-
|
|
87
|
+
createdAt: string | Date;
|
|
88
|
+
updatedAt: string | Date;
|
|
94
89
|
agentClientLinks: {
|
|
95
90
|
agentId: string;
|
|
96
91
|
};
|
|
@@ -102,14 +97,18 @@ export declare const CreateClientSchema: z.ZodObject<{
|
|
|
102
97
|
director: z.ZodString;
|
|
103
98
|
}, "strip", z.ZodTypeAny, {
|
|
104
99
|
name: string;
|
|
105
|
-
director: string;
|
|
106
100
|
govLink: string;
|
|
101
|
+
director: string;
|
|
107
102
|
}, {
|
|
108
103
|
name: string;
|
|
109
|
-
director: string;
|
|
110
104
|
govLink: string;
|
|
105
|
+
director: string;
|
|
111
106
|
}>;
|
|
112
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Base schema for UpdateClient without refinements.
|
|
109
|
+
* Use this for form field introspection on the frontend.
|
|
110
|
+
*/
|
|
111
|
+
export declare const UpdateClientBaseSchema: z.ZodObject<{
|
|
113
112
|
name: z.ZodOptional<z.ZodString>;
|
|
114
113
|
govLink: z.ZodOptional<z.ZodString>;
|
|
115
114
|
director: z.ZodOptional<z.ZodString>;
|
|
@@ -118,31 +117,76 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
118
117
|
}, "strip", z.ZodTypeAny, {
|
|
119
118
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
120
119
|
name?: string | undefined;
|
|
121
|
-
director?: string | undefined;
|
|
122
120
|
govLink?: string | undefined;
|
|
121
|
+
director?: string | undefined;
|
|
123
122
|
blacklistReason?: string | null | undefined;
|
|
124
123
|
}, {
|
|
125
124
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
126
125
|
name?: string | undefined;
|
|
126
|
+
govLink?: string | undefined;
|
|
127
|
+
director?: string | undefined;
|
|
128
|
+
blacklistReason?: string | null | undefined;
|
|
129
|
+
}>;
|
|
130
|
+
/**
|
|
131
|
+
* Conditional validation rules for UpdateClient.
|
|
132
|
+
* Export these so the frontend can apply them based on context/abilities.
|
|
133
|
+
*/
|
|
134
|
+
export declare const UpdateClientRefinements: {
|
|
135
|
+
readonly blacklistReasonRequired: {
|
|
136
|
+
/** Fields that trigger this refinement */
|
|
137
|
+
readonly dependsOn: readonly ["status"];
|
|
138
|
+
/** Field that this refinement validates */
|
|
139
|
+
readonly validates: "blacklistReason";
|
|
140
|
+
/** Condition description for UI hints */
|
|
141
|
+
readonly condition: "status === \"BLACKLISTED\"";
|
|
142
|
+
/** Error message when validation fails */
|
|
143
|
+
readonly message: "blacklistReason is required when status is BLACKLISTED";
|
|
144
|
+
/** The actual refinement function */
|
|
145
|
+
readonly check: (data: {
|
|
146
|
+
status?: ClientStatus;
|
|
147
|
+
blacklistReason?: string | null;
|
|
148
|
+
}) => boolean;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Full UpdateClient schema with all refinements applied.
|
|
153
|
+
* Use this for API validation.
|
|
154
|
+
*/
|
|
155
|
+
export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
156
|
+
name: z.ZodOptional<z.ZodString>;
|
|
157
|
+
govLink: z.ZodOptional<z.ZodString>;
|
|
158
|
+
director: z.ZodOptional<z.ZodString>;
|
|
159
|
+
status: z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>;
|
|
160
|
+
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
163
|
+
name?: string | undefined;
|
|
164
|
+
govLink?: string | undefined;
|
|
127
165
|
director?: string | undefined;
|
|
166
|
+
blacklistReason?: string | null | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
169
|
+
name?: string | undefined;
|
|
128
170
|
govLink?: string | undefined;
|
|
171
|
+
director?: string | undefined;
|
|
129
172
|
blacklistReason?: string | null | undefined;
|
|
130
173
|
}>, {
|
|
131
174
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
132
175
|
name?: string | undefined;
|
|
133
|
-
director?: string | undefined;
|
|
134
176
|
govLink?: string | undefined;
|
|
177
|
+
director?: string | undefined;
|
|
135
178
|
blacklistReason?: string | null | undefined;
|
|
136
179
|
}, {
|
|
137
180
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
138
181
|
name?: string | undefined;
|
|
139
|
-
director?: string | undefined;
|
|
140
182
|
govLink?: string | undefined;
|
|
183
|
+
director?: string | undefined;
|
|
141
184
|
blacklistReason?: string | null | undefined;
|
|
142
185
|
}>;
|
|
143
186
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
144
187
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
145
188
|
page: z.ZodDefault<z.ZodNumber>;
|
|
189
|
+
} & {
|
|
146
190
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
147
191
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
|
|
148
192
|
director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -162,26 +206,26 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
162
206
|
limit: number;
|
|
163
207
|
page: number;
|
|
164
208
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
209
|
+
name?: string | null | undefined;
|
|
210
|
+
director?: string | null | undefined;
|
|
165
211
|
createdAt?: {
|
|
166
212
|
from?: string | null | undefined;
|
|
167
213
|
to?: string | null | undefined;
|
|
168
214
|
} | null | undefined;
|
|
169
|
-
sortBy?: "
|
|
215
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
170
216
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
171
|
-
name?: string | null | undefined;
|
|
172
|
-
director?: string | null | undefined;
|
|
173
217
|
}, {
|
|
174
218
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
175
|
-
|
|
219
|
+
name?: string | null | undefined;
|
|
220
|
+
director?: string | null | undefined;
|
|
176
221
|
createdAt?: {
|
|
177
222
|
from?: string | null | undefined;
|
|
178
223
|
to?: string | null | undefined;
|
|
179
224
|
} | null | undefined;
|
|
225
|
+
limit?: number | undefined;
|
|
180
226
|
page?: number | undefined;
|
|
181
|
-
sortBy?: "
|
|
227
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
182
228
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
183
|
-
name?: string | null | undefined;
|
|
184
|
-
director?: string | null | undefined;
|
|
185
229
|
}>;
|
|
186
230
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
187
231
|
id: z.ZodString;
|
|
@@ -193,17 +237,17 @@ export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
|
193
237
|
id: string;
|
|
194
238
|
name: string;
|
|
195
239
|
}>;
|
|
196
|
-
export declare const
|
|
197
|
-
|
|
198
|
-
|
|
240
|
+
export declare const ClientAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
name: z.ZodString;
|
|
199
243
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
id
|
|
201
|
-
|
|
244
|
+
id: string;
|
|
245
|
+
name: string;
|
|
202
246
|
}, {
|
|
203
|
-
id
|
|
204
|
-
|
|
205
|
-
}>;
|
|
206
|
-
export declare const
|
|
247
|
+
id: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}>, "many">;
|
|
250
|
+
export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
207
251
|
items: z.ZodArray<z.ZodObject<{
|
|
208
252
|
id: z.ZodString;
|
|
209
253
|
name: z.ZodString;
|
|
@@ -230,7 +274,6 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
230
274
|
}>;
|
|
231
275
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
232
276
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
233
|
-
version: z.ZodNumber;
|
|
234
277
|
agentClientLinks: z.ZodObject<{
|
|
235
278
|
agentId: z.ZodString;
|
|
236
279
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239,41 +282,39 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
239
282
|
agentId: string;
|
|
240
283
|
}>;
|
|
241
284
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
243
|
-
createdAt: string;
|
|
244
|
-
updatedAt: string;
|
|
245
285
|
id: string;
|
|
286
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
246
287
|
name: string;
|
|
247
|
-
director: string;
|
|
248
288
|
crn: string;
|
|
249
289
|
govLink: string;
|
|
290
|
+
director: string;
|
|
250
291
|
lastUpdatedBy: {
|
|
251
292
|
id: string;
|
|
252
293
|
firstName: string;
|
|
253
294
|
lastName: string;
|
|
254
295
|
email: string;
|
|
255
296
|
};
|
|
256
|
-
|
|
297
|
+
createdAt: string;
|
|
298
|
+
updatedAt: string;
|
|
257
299
|
agentClientLinks: {
|
|
258
300
|
agentId: string;
|
|
259
301
|
};
|
|
260
302
|
blacklistReason?: string | null | undefined;
|
|
261
303
|
}, {
|
|
262
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
263
|
-
createdAt: string | Date;
|
|
264
|
-
updatedAt: string | Date;
|
|
265
304
|
id: string;
|
|
305
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
266
306
|
name: string;
|
|
267
|
-
director: string;
|
|
268
307
|
crn: string;
|
|
269
308
|
govLink: string;
|
|
309
|
+
director: string;
|
|
270
310
|
lastUpdatedBy: {
|
|
271
311
|
id: string;
|
|
272
312
|
firstName: string;
|
|
273
313
|
lastName: string;
|
|
274
314
|
email: string;
|
|
275
315
|
};
|
|
276
|
-
|
|
316
|
+
createdAt: string | Date;
|
|
317
|
+
updatedAt: string | Date;
|
|
277
318
|
agentClientLinks: {
|
|
278
319
|
agentId: string;
|
|
279
320
|
};
|
|
@@ -285,67 +326,67 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
285
326
|
currentPage: z.ZodNumber;
|
|
286
327
|
totalPages: z.ZodNumber;
|
|
287
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
limit: number;
|
|
288
330
|
items: {
|
|
289
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
290
|
-
createdAt: string;
|
|
291
|
-
updatedAt: string;
|
|
292
331
|
id: string;
|
|
332
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
293
333
|
name: string;
|
|
294
|
-
director: string;
|
|
295
334
|
crn: string;
|
|
296
335
|
govLink: string;
|
|
336
|
+
director: string;
|
|
297
337
|
lastUpdatedBy: {
|
|
298
338
|
id: string;
|
|
299
339
|
firstName: string;
|
|
300
340
|
lastName: string;
|
|
301
341
|
email: string;
|
|
302
342
|
};
|
|
303
|
-
|
|
343
|
+
createdAt: string;
|
|
344
|
+
updatedAt: string;
|
|
304
345
|
agentClientLinks: {
|
|
305
346
|
agentId: string;
|
|
306
347
|
};
|
|
307
348
|
blacklistReason?: string | null | undefined;
|
|
308
349
|
}[];
|
|
309
350
|
totalCount: number;
|
|
310
|
-
limit: number;
|
|
311
351
|
skip: number;
|
|
312
352
|
currentPage: number;
|
|
313
353
|
totalPages: number;
|
|
314
354
|
}, {
|
|
355
|
+
limit: number;
|
|
315
356
|
items: {
|
|
316
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
317
|
-
createdAt: string | Date;
|
|
318
|
-
updatedAt: string | Date;
|
|
319
357
|
id: string;
|
|
358
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
320
359
|
name: string;
|
|
321
|
-
director: string;
|
|
322
360
|
crn: string;
|
|
323
361
|
govLink: string;
|
|
362
|
+
director: string;
|
|
324
363
|
lastUpdatedBy: {
|
|
325
364
|
id: string;
|
|
326
365
|
firstName: string;
|
|
327
366
|
lastName: string;
|
|
328
367
|
email: string;
|
|
329
368
|
};
|
|
330
|
-
|
|
369
|
+
createdAt: string | Date;
|
|
370
|
+
updatedAt: string | Date;
|
|
331
371
|
agentClientLinks: {
|
|
332
372
|
agentId: string;
|
|
333
373
|
};
|
|
334
374
|
blacklistReason?: string | null | undefined;
|
|
335
375
|
}[];
|
|
336
376
|
totalCount: number;
|
|
337
|
-
limit: number;
|
|
338
377
|
skip: number;
|
|
339
378
|
currentPage: number;
|
|
340
379
|
totalPages: number;
|
|
341
380
|
}>;
|
|
342
|
-
export type
|
|
343
|
-
export type
|
|
344
|
-
export type
|
|
345
|
-
export type
|
|
346
|
-
export type
|
|
347
|
-
export type
|
|
348
|
-
export type
|
|
381
|
+
export type Client = z.infer<typeof ClientSchema>;
|
|
382
|
+
export type CreateClient = z.infer<typeof CreateClientSchema>;
|
|
383
|
+
export type UpdateClientBase = z.infer<typeof UpdateClientBaseSchema>;
|
|
384
|
+
export type UpdateClient = z.infer<typeof UpdateClientSchema>;
|
|
385
|
+
export type FilterClient = z.infer<typeof FilterClientSchema>;
|
|
386
|
+
export type ClientUser = z.infer<typeof ClientUserSchema>;
|
|
387
|
+
export type ClientAutocompleteResponse = z.infer<typeof ClientAutocompleteResponseSchema>;
|
|
388
|
+
export type ClientAutocompleteArray = z.infer<typeof ClientAutocompleteArraySchema>;
|
|
389
|
+
export type PaginatedClientResponse = z.infer<typeof PaginatedClientResponseSchema>;
|
|
349
390
|
export declare const clientsContractRouter: {
|
|
350
391
|
create: {
|
|
351
392
|
metadata: {
|
|
@@ -362,12 +403,12 @@ export declare const clientsContractRouter: {
|
|
|
362
403
|
director: z.ZodString;
|
|
363
404
|
}, "strip", z.ZodTypeAny, {
|
|
364
405
|
name: string;
|
|
365
|
-
director: string;
|
|
366
406
|
govLink: string;
|
|
407
|
+
director: string;
|
|
367
408
|
}, {
|
|
368
409
|
name: string;
|
|
369
|
-
director: string;
|
|
370
410
|
govLink: string;
|
|
411
|
+
director: string;
|
|
371
412
|
}>;
|
|
372
413
|
path: "/v2/clients";
|
|
373
414
|
responses: {
|
|
@@ -380,19 +421,19 @@ export declare const clientsContractRouter: {
|
|
|
380
421
|
path: z.ZodString;
|
|
381
422
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
382
423
|
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
statusCode: number;
|
|
384
|
-
message: string;
|
|
385
424
|
code: string;
|
|
386
|
-
timestamp: string;
|
|
387
425
|
path: string;
|
|
426
|
+
message: string;
|
|
427
|
+
statusCode: number;
|
|
428
|
+
timestamp: string;
|
|
388
429
|
details?: unknown;
|
|
389
430
|
correlationId?: string | undefined;
|
|
390
431
|
}, {
|
|
391
|
-
statusCode: number;
|
|
392
|
-
message: string;
|
|
393
432
|
code: string;
|
|
394
|
-
timestamp: string;
|
|
395
433
|
path: string;
|
|
434
|
+
message: string;
|
|
435
|
+
statusCode: number;
|
|
436
|
+
timestamp: string;
|
|
396
437
|
details?: unknown;
|
|
397
438
|
correlationId?: string | undefined;
|
|
398
439
|
}>;
|
|
@@ -405,19 +446,19 @@ export declare const clientsContractRouter: {
|
|
|
405
446
|
path: z.ZodString;
|
|
406
447
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
407
448
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
statusCode: number;
|
|
409
|
-
message: string;
|
|
410
449
|
code: string;
|
|
411
|
-
timestamp: string;
|
|
412
450
|
path: string;
|
|
451
|
+
message: string;
|
|
452
|
+
statusCode: number;
|
|
453
|
+
timestamp: string;
|
|
413
454
|
details?: unknown;
|
|
414
455
|
correlationId?: string | undefined;
|
|
415
456
|
}, {
|
|
416
|
-
statusCode: number;
|
|
417
|
-
message: string;
|
|
418
457
|
code: string;
|
|
419
|
-
timestamp: string;
|
|
420
458
|
path: string;
|
|
459
|
+
message: string;
|
|
460
|
+
statusCode: number;
|
|
461
|
+
timestamp: string;
|
|
421
462
|
details?: unknown;
|
|
422
463
|
correlationId?: string | undefined;
|
|
423
464
|
}>;
|
|
@@ -430,19 +471,19 @@ export declare const clientsContractRouter: {
|
|
|
430
471
|
path: z.ZodString;
|
|
431
472
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
432
473
|
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
statusCode: number;
|
|
434
|
-
message: string;
|
|
435
474
|
code: string;
|
|
436
|
-
timestamp: string;
|
|
437
475
|
path: string;
|
|
476
|
+
message: string;
|
|
477
|
+
statusCode: number;
|
|
478
|
+
timestamp: string;
|
|
438
479
|
details?: unknown;
|
|
439
480
|
correlationId?: string | undefined;
|
|
440
481
|
}, {
|
|
441
|
-
statusCode: number;
|
|
442
|
-
message: string;
|
|
443
482
|
code: string;
|
|
444
|
-
timestamp: string;
|
|
445
483
|
path: string;
|
|
484
|
+
message: string;
|
|
485
|
+
statusCode: number;
|
|
486
|
+
timestamp: string;
|
|
446
487
|
details?: unknown;
|
|
447
488
|
correlationId?: string | undefined;
|
|
448
489
|
}>;
|
|
@@ -455,19 +496,19 @@ export declare const clientsContractRouter: {
|
|
|
455
496
|
path: z.ZodString;
|
|
456
497
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
457
498
|
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
statusCode: number;
|
|
459
|
-
message: string;
|
|
460
499
|
code: string;
|
|
461
|
-
timestamp: string;
|
|
462
500
|
path: string;
|
|
501
|
+
message: string;
|
|
502
|
+
statusCode: number;
|
|
503
|
+
timestamp: string;
|
|
463
504
|
details?: unknown;
|
|
464
505
|
correlationId?: string | undefined;
|
|
465
506
|
}, {
|
|
466
|
-
statusCode: number;
|
|
467
|
-
message: string;
|
|
468
507
|
code: string;
|
|
469
|
-
timestamp: string;
|
|
470
508
|
path: string;
|
|
509
|
+
message: string;
|
|
510
|
+
statusCode: number;
|
|
511
|
+
timestamp: string;
|
|
471
512
|
details?: unknown;
|
|
472
513
|
correlationId?: string | undefined;
|
|
473
514
|
}>;
|
|
@@ -497,7 +538,6 @@ export declare const clientsContractRouter: {
|
|
|
497
538
|
}>;
|
|
498
539
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
499
540
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
500
|
-
version: z.ZodNumber;
|
|
501
541
|
agentClientLinks: z.ZodObject<{
|
|
502
542
|
agentId: z.ZodString;
|
|
503
543
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -506,41 +546,39 @@ export declare const clientsContractRouter: {
|
|
|
506
546
|
agentId: string;
|
|
507
547
|
}>;
|
|
508
548
|
}, "strip", z.ZodTypeAny, {
|
|
509
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
510
|
-
createdAt: string;
|
|
511
|
-
updatedAt: string;
|
|
512
549
|
id: string;
|
|
550
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
513
551
|
name: string;
|
|
514
|
-
director: string;
|
|
515
552
|
crn: string;
|
|
516
553
|
govLink: string;
|
|
554
|
+
director: string;
|
|
517
555
|
lastUpdatedBy: {
|
|
518
556
|
id: string;
|
|
519
557
|
firstName: string;
|
|
520
558
|
lastName: string;
|
|
521
559
|
email: string;
|
|
522
560
|
};
|
|
523
|
-
|
|
561
|
+
createdAt: string;
|
|
562
|
+
updatedAt: string;
|
|
524
563
|
agentClientLinks: {
|
|
525
564
|
agentId: string;
|
|
526
565
|
};
|
|
527
566
|
blacklistReason?: string | null | undefined;
|
|
528
567
|
}, {
|
|
529
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
530
|
-
createdAt: string | Date;
|
|
531
|
-
updatedAt: string | Date;
|
|
532
568
|
id: string;
|
|
569
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
533
570
|
name: string;
|
|
534
|
-
director: string;
|
|
535
571
|
crn: string;
|
|
536
572
|
govLink: string;
|
|
573
|
+
director: string;
|
|
537
574
|
lastUpdatedBy: {
|
|
538
575
|
id: string;
|
|
539
576
|
firstName: string;
|
|
540
577
|
lastName: string;
|
|
541
578
|
email: string;
|
|
542
579
|
};
|
|
543
|
-
|
|
580
|
+
createdAt: string | Date;
|
|
581
|
+
updatedAt: string | Date;
|
|
544
582
|
agentClientLinks: {
|
|
545
583
|
agentId: string;
|
|
546
584
|
};
|
|
@@ -555,19 +593,19 @@ export declare const clientsContractRouter: {
|
|
|
555
593
|
path: z.ZodString;
|
|
556
594
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
557
595
|
}, "strip", z.ZodTypeAny, {
|
|
558
|
-
statusCode: number;
|
|
559
|
-
message: string;
|
|
560
596
|
code: string;
|
|
561
|
-
timestamp: string;
|
|
562
597
|
path: string;
|
|
598
|
+
message: string;
|
|
599
|
+
statusCode: number;
|
|
600
|
+
timestamp: string;
|
|
563
601
|
details?: unknown;
|
|
564
602
|
correlationId?: string | undefined;
|
|
565
603
|
}, {
|
|
566
|
-
statusCode: number;
|
|
567
|
-
message: string;
|
|
568
604
|
code: string;
|
|
569
|
-
timestamp: string;
|
|
570
605
|
path: string;
|
|
606
|
+
message: string;
|
|
607
|
+
statusCode: number;
|
|
608
|
+
timestamp: string;
|
|
571
609
|
details?: unknown;
|
|
572
610
|
correlationId?: string | undefined;
|
|
573
611
|
}>;
|
|
@@ -583,6 +621,7 @@ export declare const clientsContractRouter: {
|
|
|
583
621
|
query: z.ZodObject<{
|
|
584
622
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
585
623
|
page: z.ZodDefault<z.ZodNumber>;
|
|
624
|
+
} & {
|
|
586
625
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
587
626
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
|
|
588
627
|
director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -602,26 +641,26 @@ export declare const clientsContractRouter: {
|
|
|
602
641
|
limit: number;
|
|
603
642
|
page: number;
|
|
604
643
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
644
|
+
name?: string | null | undefined;
|
|
645
|
+
director?: string | null | undefined;
|
|
605
646
|
createdAt?: {
|
|
606
647
|
from?: string | null | undefined;
|
|
607
648
|
to?: string | null | undefined;
|
|
608
649
|
} | null | undefined;
|
|
609
|
-
sortBy?: "
|
|
650
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
610
651
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
611
|
-
name?: string | null | undefined;
|
|
612
|
-
director?: string | null | undefined;
|
|
613
652
|
}, {
|
|
614
653
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
615
|
-
|
|
654
|
+
name?: string | null | undefined;
|
|
655
|
+
director?: string | null | undefined;
|
|
616
656
|
createdAt?: {
|
|
617
657
|
from?: string | null | undefined;
|
|
618
658
|
to?: string | null | undefined;
|
|
619
659
|
} | null | undefined;
|
|
660
|
+
limit?: number | undefined;
|
|
620
661
|
page?: number | undefined;
|
|
621
|
-
sortBy?: "
|
|
662
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
622
663
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
623
|
-
name?: string | null | undefined;
|
|
624
|
-
director?: string | null | undefined;
|
|
625
664
|
}>;
|
|
626
665
|
summary: "Get all clients";
|
|
627
666
|
method: "GET";
|
|
@@ -636,19 +675,19 @@ export declare const clientsContractRouter: {
|
|
|
636
675
|
path: z.ZodString;
|
|
637
676
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
638
677
|
}, "strip", z.ZodTypeAny, {
|
|
639
|
-
statusCode: number;
|
|
640
|
-
message: string;
|
|
641
678
|
code: string;
|
|
642
|
-
timestamp: string;
|
|
643
679
|
path: string;
|
|
680
|
+
message: string;
|
|
681
|
+
statusCode: number;
|
|
682
|
+
timestamp: string;
|
|
644
683
|
details?: unknown;
|
|
645
684
|
correlationId?: string | undefined;
|
|
646
685
|
}, {
|
|
647
|
-
statusCode: number;
|
|
648
|
-
message: string;
|
|
649
686
|
code: string;
|
|
650
|
-
timestamp: string;
|
|
651
687
|
path: string;
|
|
688
|
+
message: string;
|
|
689
|
+
statusCode: number;
|
|
690
|
+
timestamp: string;
|
|
652
691
|
details?: unknown;
|
|
653
692
|
correlationId?: string | undefined;
|
|
654
693
|
}>;
|
|
@@ -661,19 +700,19 @@ export declare const clientsContractRouter: {
|
|
|
661
700
|
path: z.ZodString;
|
|
662
701
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
663
702
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
statusCode: number;
|
|
665
|
-
message: string;
|
|
666
703
|
code: string;
|
|
667
|
-
timestamp: string;
|
|
668
704
|
path: string;
|
|
705
|
+
message: string;
|
|
706
|
+
statusCode: number;
|
|
707
|
+
timestamp: string;
|
|
669
708
|
details?: unknown;
|
|
670
709
|
correlationId?: string | undefined;
|
|
671
710
|
}, {
|
|
672
|
-
statusCode: number;
|
|
673
|
-
message: string;
|
|
674
711
|
code: string;
|
|
675
|
-
timestamp: string;
|
|
676
712
|
path: string;
|
|
713
|
+
message: string;
|
|
714
|
+
statusCode: number;
|
|
715
|
+
timestamp: string;
|
|
677
716
|
details?: unknown;
|
|
678
717
|
correlationId?: string | undefined;
|
|
679
718
|
}>;
|
|
@@ -686,19 +725,19 @@ export declare const clientsContractRouter: {
|
|
|
686
725
|
path: z.ZodString;
|
|
687
726
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
688
727
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
statusCode: number;
|
|
690
|
-
message: string;
|
|
691
728
|
code: string;
|
|
692
|
-
timestamp: string;
|
|
693
729
|
path: string;
|
|
730
|
+
message: string;
|
|
731
|
+
statusCode: number;
|
|
732
|
+
timestamp: string;
|
|
694
733
|
details?: unknown;
|
|
695
734
|
correlationId?: string | undefined;
|
|
696
735
|
}, {
|
|
697
|
-
statusCode: number;
|
|
698
|
-
message: string;
|
|
699
736
|
code: string;
|
|
700
|
-
timestamp: string;
|
|
701
737
|
path: string;
|
|
738
|
+
message: string;
|
|
739
|
+
statusCode: number;
|
|
740
|
+
timestamp: string;
|
|
702
741
|
details?: unknown;
|
|
703
742
|
correlationId?: string | undefined;
|
|
704
743
|
}>;
|
|
@@ -711,19 +750,19 @@ export declare const clientsContractRouter: {
|
|
|
711
750
|
path: z.ZodString;
|
|
712
751
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
713
752
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
statusCode: number;
|
|
715
|
-
message: string;
|
|
716
753
|
code: string;
|
|
717
|
-
timestamp: string;
|
|
718
754
|
path: string;
|
|
755
|
+
message: string;
|
|
756
|
+
statusCode: number;
|
|
757
|
+
timestamp: string;
|
|
719
758
|
details?: unknown;
|
|
720
759
|
correlationId?: string | undefined;
|
|
721
760
|
}, {
|
|
722
|
-
statusCode: number;
|
|
723
|
-
message: string;
|
|
724
761
|
code: string;
|
|
725
|
-
timestamp: string;
|
|
726
762
|
path: string;
|
|
763
|
+
message: string;
|
|
764
|
+
statusCode: number;
|
|
765
|
+
timestamp: string;
|
|
727
766
|
details?: unknown;
|
|
728
767
|
correlationId?: string | undefined;
|
|
729
768
|
}>;
|
|
@@ -754,7 +793,6 @@ export declare const clientsContractRouter: {
|
|
|
754
793
|
}>;
|
|
755
794
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
756
795
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
757
|
-
version: z.ZodNumber;
|
|
758
796
|
agentClientLinks: z.ZodObject<{
|
|
759
797
|
agentId: z.ZodString;
|
|
760
798
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -763,41 +801,39 @@ export declare const clientsContractRouter: {
|
|
|
763
801
|
agentId: string;
|
|
764
802
|
}>;
|
|
765
803
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
767
|
-
createdAt: string;
|
|
768
|
-
updatedAt: string;
|
|
769
804
|
id: string;
|
|
805
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
770
806
|
name: string;
|
|
771
|
-
director: string;
|
|
772
807
|
crn: string;
|
|
773
808
|
govLink: string;
|
|
809
|
+
director: string;
|
|
774
810
|
lastUpdatedBy: {
|
|
775
811
|
id: string;
|
|
776
812
|
firstName: string;
|
|
777
813
|
lastName: string;
|
|
778
814
|
email: string;
|
|
779
815
|
};
|
|
780
|
-
|
|
816
|
+
createdAt: string;
|
|
817
|
+
updatedAt: string;
|
|
781
818
|
agentClientLinks: {
|
|
782
819
|
agentId: string;
|
|
783
820
|
};
|
|
784
821
|
blacklistReason?: string | null | undefined;
|
|
785
822
|
}, {
|
|
786
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
787
|
-
createdAt: string | Date;
|
|
788
|
-
updatedAt: string | Date;
|
|
789
823
|
id: string;
|
|
824
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
790
825
|
name: string;
|
|
791
|
-
director: string;
|
|
792
826
|
crn: string;
|
|
793
827
|
govLink: string;
|
|
828
|
+
director: string;
|
|
794
829
|
lastUpdatedBy: {
|
|
795
830
|
id: string;
|
|
796
831
|
firstName: string;
|
|
797
832
|
lastName: string;
|
|
798
833
|
email: string;
|
|
799
834
|
};
|
|
800
|
-
|
|
835
|
+
createdAt: string | Date;
|
|
836
|
+
updatedAt: string | Date;
|
|
801
837
|
agentClientLinks: {
|
|
802
838
|
agentId: string;
|
|
803
839
|
};
|
|
@@ -809,56 +845,54 @@ export declare const clientsContractRouter: {
|
|
|
809
845
|
currentPage: z.ZodNumber;
|
|
810
846
|
totalPages: z.ZodNumber;
|
|
811
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
+
limit: number;
|
|
812
849
|
items: {
|
|
813
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
814
|
-
createdAt: string;
|
|
815
|
-
updatedAt: string;
|
|
816
850
|
id: string;
|
|
851
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
817
852
|
name: string;
|
|
818
|
-
director: string;
|
|
819
853
|
crn: string;
|
|
820
854
|
govLink: string;
|
|
855
|
+
director: string;
|
|
821
856
|
lastUpdatedBy: {
|
|
822
857
|
id: string;
|
|
823
858
|
firstName: string;
|
|
824
859
|
lastName: string;
|
|
825
860
|
email: string;
|
|
826
861
|
};
|
|
827
|
-
|
|
862
|
+
createdAt: string;
|
|
863
|
+
updatedAt: string;
|
|
828
864
|
agentClientLinks: {
|
|
829
865
|
agentId: string;
|
|
830
866
|
};
|
|
831
867
|
blacklistReason?: string | null | undefined;
|
|
832
868
|
}[];
|
|
833
869
|
totalCount: number;
|
|
834
|
-
limit: number;
|
|
835
870
|
skip: number;
|
|
836
871
|
currentPage: number;
|
|
837
872
|
totalPages: number;
|
|
838
873
|
}, {
|
|
874
|
+
limit: number;
|
|
839
875
|
items: {
|
|
840
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
841
|
-
createdAt: string | Date;
|
|
842
|
-
updatedAt: string | Date;
|
|
843
876
|
id: string;
|
|
877
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
844
878
|
name: string;
|
|
845
|
-
director: string;
|
|
846
879
|
crn: string;
|
|
847
880
|
govLink: string;
|
|
881
|
+
director: string;
|
|
848
882
|
lastUpdatedBy: {
|
|
849
883
|
id: string;
|
|
850
884
|
firstName: string;
|
|
851
885
|
lastName: string;
|
|
852
886
|
email: string;
|
|
853
887
|
};
|
|
854
|
-
|
|
888
|
+
createdAt: string | Date;
|
|
889
|
+
updatedAt: string | Date;
|
|
855
890
|
agentClientLinks: {
|
|
856
891
|
agentId: string;
|
|
857
892
|
};
|
|
858
893
|
blacklistReason?: string | null | undefined;
|
|
859
894
|
}[];
|
|
860
895
|
totalCount: number;
|
|
861
|
-
limit: number;
|
|
862
896
|
skip: number;
|
|
863
897
|
currentPage: number;
|
|
864
898
|
totalPages: number;
|
|
@@ -895,19 +929,19 @@ export declare const clientsContractRouter: {
|
|
|
895
929
|
path: z.ZodString;
|
|
896
930
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
897
931
|
}, "strip", z.ZodTypeAny, {
|
|
898
|
-
statusCode: number;
|
|
899
|
-
message: string;
|
|
900
932
|
code: string;
|
|
901
|
-
timestamp: string;
|
|
902
933
|
path: string;
|
|
934
|
+
message: string;
|
|
935
|
+
statusCode: number;
|
|
936
|
+
timestamp: string;
|
|
903
937
|
details?: unknown;
|
|
904
938
|
correlationId?: string | undefined;
|
|
905
939
|
}, {
|
|
906
|
-
statusCode: number;
|
|
907
|
-
message: string;
|
|
908
940
|
code: string;
|
|
909
|
-
timestamp: string;
|
|
910
941
|
path: string;
|
|
942
|
+
message: string;
|
|
943
|
+
statusCode: number;
|
|
944
|
+
timestamp: string;
|
|
911
945
|
details?: unknown;
|
|
912
946
|
correlationId?: string | undefined;
|
|
913
947
|
}>;
|
|
@@ -920,19 +954,19 @@ export declare const clientsContractRouter: {
|
|
|
920
954
|
path: z.ZodString;
|
|
921
955
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
922
956
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
-
statusCode: number;
|
|
924
|
-
message: string;
|
|
925
957
|
code: string;
|
|
926
|
-
timestamp: string;
|
|
927
958
|
path: string;
|
|
959
|
+
message: string;
|
|
960
|
+
statusCode: number;
|
|
961
|
+
timestamp: string;
|
|
928
962
|
details?: unknown;
|
|
929
963
|
correlationId?: string | undefined;
|
|
930
964
|
}, {
|
|
931
|
-
statusCode: number;
|
|
932
|
-
message: string;
|
|
933
965
|
code: string;
|
|
934
|
-
timestamp: string;
|
|
935
966
|
path: string;
|
|
967
|
+
message: string;
|
|
968
|
+
statusCode: number;
|
|
969
|
+
timestamp: string;
|
|
936
970
|
details?: unknown;
|
|
937
971
|
correlationId?: string | undefined;
|
|
938
972
|
}>;
|
|
@@ -945,19 +979,19 @@ export declare const clientsContractRouter: {
|
|
|
945
979
|
path: z.ZodString;
|
|
946
980
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
947
981
|
}, "strip", z.ZodTypeAny, {
|
|
948
|
-
statusCode: number;
|
|
949
|
-
message: string;
|
|
950
982
|
code: string;
|
|
951
|
-
timestamp: string;
|
|
952
983
|
path: string;
|
|
984
|
+
message: string;
|
|
985
|
+
statusCode: number;
|
|
986
|
+
timestamp: string;
|
|
953
987
|
details?: unknown;
|
|
954
988
|
correlationId?: string | undefined;
|
|
955
989
|
}, {
|
|
956
|
-
statusCode: number;
|
|
957
|
-
message: string;
|
|
958
990
|
code: string;
|
|
959
|
-
timestamp: string;
|
|
960
991
|
path: string;
|
|
992
|
+
message: string;
|
|
993
|
+
statusCode: number;
|
|
994
|
+
timestamp: string;
|
|
961
995
|
details?: unknown;
|
|
962
996
|
correlationId?: string | undefined;
|
|
963
997
|
}>;
|
|
@@ -970,19 +1004,19 @@ export declare const clientsContractRouter: {
|
|
|
970
1004
|
path: z.ZodString;
|
|
971
1005
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
972
1006
|
}, "strip", z.ZodTypeAny, {
|
|
973
|
-
statusCode: number;
|
|
974
|
-
message: string;
|
|
975
1007
|
code: string;
|
|
976
|
-
timestamp: string;
|
|
977
1008
|
path: string;
|
|
1009
|
+
message: string;
|
|
1010
|
+
statusCode: number;
|
|
1011
|
+
timestamp: string;
|
|
978
1012
|
details?: unknown;
|
|
979
1013
|
correlationId?: string | undefined;
|
|
980
1014
|
}, {
|
|
981
|
-
statusCode: number;
|
|
982
|
-
message: string;
|
|
983
1015
|
code: string;
|
|
984
|
-
timestamp: string;
|
|
985
1016
|
path: string;
|
|
1017
|
+
message: string;
|
|
1018
|
+
statusCode: number;
|
|
1019
|
+
timestamp: string;
|
|
986
1020
|
details?: unknown;
|
|
987
1021
|
correlationId?: string | undefined;
|
|
988
1022
|
}>;
|
|
@@ -1025,19 +1059,19 @@ export declare const clientsContractRouter: {
|
|
|
1025
1059
|
path: z.ZodString;
|
|
1026
1060
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1027
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1028
|
-
statusCode: number;
|
|
1029
|
-
message: string;
|
|
1030
1062
|
code: string;
|
|
1031
|
-
timestamp: string;
|
|
1032
1063
|
path: string;
|
|
1064
|
+
message: string;
|
|
1065
|
+
statusCode: number;
|
|
1066
|
+
timestamp: string;
|
|
1033
1067
|
details?: unknown;
|
|
1034
1068
|
correlationId?: string | undefined;
|
|
1035
1069
|
}, {
|
|
1036
|
-
statusCode: number;
|
|
1037
|
-
message: string;
|
|
1038
1070
|
code: string;
|
|
1039
|
-
timestamp: string;
|
|
1040
1071
|
path: string;
|
|
1072
|
+
message: string;
|
|
1073
|
+
statusCode: number;
|
|
1074
|
+
timestamp: string;
|
|
1041
1075
|
details?: unknown;
|
|
1042
1076
|
correlationId?: string | undefined;
|
|
1043
1077
|
}>;
|
|
@@ -1050,19 +1084,19 @@ export declare const clientsContractRouter: {
|
|
|
1050
1084
|
path: z.ZodString;
|
|
1051
1085
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1052
1086
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
statusCode: number;
|
|
1054
|
-
message: string;
|
|
1055
1087
|
code: string;
|
|
1056
|
-
timestamp: string;
|
|
1057
1088
|
path: string;
|
|
1089
|
+
message: string;
|
|
1090
|
+
statusCode: number;
|
|
1091
|
+
timestamp: string;
|
|
1058
1092
|
details?: unknown;
|
|
1059
1093
|
correlationId?: string | undefined;
|
|
1060
1094
|
}, {
|
|
1061
|
-
statusCode: number;
|
|
1062
|
-
message: string;
|
|
1063
1095
|
code: string;
|
|
1064
|
-
timestamp: string;
|
|
1065
1096
|
path: string;
|
|
1097
|
+
message: string;
|
|
1098
|
+
statusCode: number;
|
|
1099
|
+
timestamp: string;
|
|
1066
1100
|
details?: unknown;
|
|
1067
1101
|
correlationId?: string | undefined;
|
|
1068
1102
|
}>;
|
|
@@ -1075,19 +1109,19 @@ export declare const clientsContractRouter: {
|
|
|
1075
1109
|
path: z.ZodString;
|
|
1076
1110
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1077
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1078
|
-
statusCode: number;
|
|
1079
|
-
message: string;
|
|
1080
1112
|
code: string;
|
|
1081
|
-
timestamp: string;
|
|
1082
1113
|
path: string;
|
|
1114
|
+
message: string;
|
|
1115
|
+
statusCode: number;
|
|
1116
|
+
timestamp: string;
|
|
1083
1117
|
details?: unknown;
|
|
1084
1118
|
correlationId?: string | undefined;
|
|
1085
1119
|
}, {
|
|
1086
|
-
statusCode: number;
|
|
1087
|
-
message: string;
|
|
1088
1120
|
code: string;
|
|
1089
|
-
timestamp: string;
|
|
1090
1121
|
path: string;
|
|
1122
|
+
message: string;
|
|
1123
|
+
statusCode: number;
|
|
1124
|
+
timestamp: string;
|
|
1091
1125
|
details?: unknown;
|
|
1092
1126
|
correlationId?: string | undefined;
|
|
1093
1127
|
}>;
|
|
@@ -1100,19 +1134,19 @@ export declare const clientsContractRouter: {
|
|
|
1100
1134
|
path: z.ZodString;
|
|
1101
1135
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1102
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
statusCode: number;
|
|
1104
|
-
message: string;
|
|
1105
1137
|
code: string;
|
|
1106
|
-
timestamp: string;
|
|
1107
1138
|
path: string;
|
|
1139
|
+
message: string;
|
|
1140
|
+
statusCode: number;
|
|
1141
|
+
timestamp: string;
|
|
1108
1142
|
details?: unknown;
|
|
1109
1143
|
correlationId?: string | undefined;
|
|
1110
1144
|
}, {
|
|
1111
|
-
statusCode: number;
|
|
1112
|
-
message: string;
|
|
1113
1145
|
code: string;
|
|
1114
|
-
timestamp: string;
|
|
1115
1146
|
path: string;
|
|
1147
|
+
message: string;
|
|
1148
|
+
statusCode: number;
|
|
1149
|
+
timestamp: string;
|
|
1116
1150
|
details?: unknown;
|
|
1117
1151
|
correlationId?: string | undefined;
|
|
1118
1152
|
}>;
|
|
@@ -1142,7 +1176,6 @@ export declare const clientsContractRouter: {
|
|
|
1142
1176
|
}>;
|
|
1143
1177
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1144
1178
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1145
|
-
version: z.ZodNumber;
|
|
1146
1179
|
agentClientLinks: z.ZodObject<{
|
|
1147
1180
|
agentId: z.ZodString;
|
|
1148
1181
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1151,41 +1184,39 @@ export declare const clientsContractRouter: {
|
|
|
1151
1184
|
agentId: string;
|
|
1152
1185
|
}>;
|
|
1153
1186
|
}, "strip", z.ZodTypeAny, {
|
|
1154
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1155
|
-
createdAt: string;
|
|
1156
|
-
updatedAt: string;
|
|
1157
1187
|
id: string;
|
|
1188
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1158
1189
|
name: string;
|
|
1159
|
-
director: string;
|
|
1160
1190
|
crn: string;
|
|
1161
1191
|
govLink: string;
|
|
1192
|
+
director: string;
|
|
1162
1193
|
lastUpdatedBy: {
|
|
1163
1194
|
id: string;
|
|
1164
1195
|
firstName: string;
|
|
1165
1196
|
lastName: string;
|
|
1166
1197
|
email: string;
|
|
1167
1198
|
};
|
|
1168
|
-
|
|
1199
|
+
createdAt: string;
|
|
1200
|
+
updatedAt: string;
|
|
1169
1201
|
agentClientLinks: {
|
|
1170
1202
|
agentId: string;
|
|
1171
1203
|
};
|
|
1172
1204
|
blacklistReason?: string | null | undefined;
|
|
1173
1205
|
}, {
|
|
1174
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1175
|
-
createdAt: string | Date;
|
|
1176
|
-
updatedAt: string | Date;
|
|
1177
1206
|
id: string;
|
|
1207
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1178
1208
|
name: string;
|
|
1179
|
-
director: string;
|
|
1180
1209
|
crn: string;
|
|
1181
1210
|
govLink: string;
|
|
1211
|
+
director: string;
|
|
1182
1212
|
lastUpdatedBy: {
|
|
1183
1213
|
id: string;
|
|
1184
1214
|
firstName: string;
|
|
1185
1215
|
lastName: string;
|
|
1186
1216
|
email: string;
|
|
1187
1217
|
};
|
|
1188
|
-
|
|
1218
|
+
createdAt: string | Date;
|
|
1219
|
+
updatedAt: string | Date;
|
|
1189
1220
|
agentClientLinks: {
|
|
1190
1221
|
agentId: string;
|
|
1191
1222
|
};
|
|
@@ -1200,19 +1231,19 @@ export declare const clientsContractRouter: {
|
|
|
1200
1231
|
path: z.ZodString;
|
|
1201
1232
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1202
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1203
|
-
statusCode: number;
|
|
1204
|
-
message: string;
|
|
1205
1234
|
code: string;
|
|
1206
|
-
timestamp: string;
|
|
1207
1235
|
path: string;
|
|
1236
|
+
message: string;
|
|
1237
|
+
statusCode: number;
|
|
1238
|
+
timestamp: string;
|
|
1208
1239
|
details?: unknown;
|
|
1209
1240
|
correlationId?: string | undefined;
|
|
1210
1241
|
}, {
|
|
1211
|
-
statusCode: number;
|
|
1212
|
-
message: string;
|
|
1213
1242
|
code: string;
|
|
1214
|
-
timestamp: string;
|
|
1215
1243
|
path: string;
|
|
1244
|
+
message: string;
|
|
1245
|
+
statusCode: number;
|
|
1246
|
+
timestamp: string;
|
|
1216
1247
|
details?: unknown;
|
|
1217
1248
|
correlationId?: string | undefined;
|
|
1218
1249
|
}>;
|
|
@@ -1243,26 +1274,26 @@ export declare const clientsContractRouter: {
|
|
|
1243
1274
|
}, "strip", z.ZodTypeAny, {
|
|
1244
1275
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1245
1276
|
name?: string | undefined;
|
|
1246
|
-
director?: string | undefined;
|
|
1247
1277
|
govLink?: string | undefined;
|
|
1278
|
+
director?: string | undefined;
|
|
1248
1279
|
blacklistReason?: string | null | undefined;
|
|
1249
1280
|
}, {
|
|
1250
1281
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1251
1282
|
name?: string | undefined;
|
|
1252
|
-
director?: string | undefined;
|
|
1253
1283
|
govLink?: string | undefined;
|
|
1284
|
+
director?: string | undefined;
|
|
1254
1285
|
blacklistReason?: string | null | undefined;
|
|
1255
1286
|
}>, {
|
|
1256
1287
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1257
1288
|
name?: string | undefined;
|
|
1258
|
-
director?: string | undefined;
|
|
1259
1289
|
govLink?: string | undefined;
|
|
1290
|
+
director?: string | undefined;
|
|
1260
1291
|
blacklistReason?: string | null | undefined;
|
|
1261
1292
|
}, {
|
|
1262
1293
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
1263
1294
|
name?: string | undefined;
|
|
1264
|
-
director?: string | undefined;
|
|
1265
1295
|
govLink?: string | undefined;
|
|
1296
|
+
director?: string | undefined;
|
|
1266
1297
|
blacklistReason?: string | null | undefined;
|
|
1267
1298
|
}>;
|
|
1268
1299
|
path: "/v2/clients/:id";
|
|
@@ -1276,19 +1307,19 @@ export declare const clientsContractRouter: {
|
|
|
1276
1307
|
path: z.ZodString;
|
|
1277
1308
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1278
1309
|
}, "strip", z.ZodTypeAny, {
|
|
1279
|
-
statusCode: number;
|
|
1280
|
-
message: string;
|
|
1281
1310
|
code: string;
|
|
1282
|
-
timestamp: string;
|
|
1283
1311
|
path: string;
|
|
1312
|
+
message: string;
|
|
1313
|
+
statusCode: number;
|
|
1314
|
+
timestamp: string;
|
|
1284
1315
|
details?: unknown;
|
|
1285
1316
|
correlationId?: string | undefined;
|
|
1286
1317
|
}, {
|
|
1287
|
-
statusCode: number;
|
|
1288
|
-
message: string;
|
|
1289
1318
|
code: string;
|
|
1290
|
-
timestamp: string;
|
|
1291
1319
|
path: string;
|
|
1320
|
+
message: string;
|
|
1321
|
+
statusCode: number;
|
|
1322
|
+
timestamp: string;
|
|
1292
1323
|
details?: unknown;
|
|
1293
1324
|
correlationId?: string | undefined;
|
|
1294
1325
|
}>;
|
|
@@ -1301,19 +1332,19 @@ export declare const clientsContractRouter: {
|
|
|
1301
1332
|
path: z.ZodString;
|
|
1302
1333
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1303
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1304
|
-
statusCode: number;
|
|
1305
|
-
message: string;
|
|
1306
1335
|
code: string;
|
|
1307
|
-
timestamp: string;
|
|
1308
1336
|
path: string;
|
|
1337
|
+
message: string;
|
|
1338
|
+
statusCode: number;
|
|
1339
|
+
timestamp: string;
|
|
1309
1340
|
details?: unknown;
|
|
1310
1341
|
correlationId?: string | undefined;
|
|
1311
1342
|
}, {
|
|
1312
|
-
statusCode: number;
|
|
1313
|
-
message: string;
|
|
1314
1343
|
code: string;
|
|
1315
|
-
timestamp: string;
|
|
1316
1344
|
path: string;
|
|
1345
|
+
message: string;
|
|
1346
|
+
statusCode: number;
|
|
1347
|
+
timestamp: string;
|
|
1317
1348
|
details?: unknown;
|
|
1318
1349
|
correlationId?: string | undefined;
|
|
1319
1350
|
}>;
|
|
@@ -1326,19 +1357,19 @@ export declare const clientsContractRouter: {
|
|
|
1326
1357
|
path: z.ZodString;
|
|
1327
1358
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1328
1359
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
statusCode: number;
|
|
1330
|
-
message: string;
|
|
1331
1360
|
code: string;
|
|
1332
|
-
timestamp: string;
|
|
1333
1361
|
path: string;
|
|
1362
|
+
message: string;
|
|
1363
|
+
statusCode: number;
|
|
1364
|
+
timestamp: string;
|
|
1334
1365
|
details?: unknown;
|
|
1335
1366
|
correlationId?: string | undefined;
|
|
1336
1367
|
}, {
|
|
1337
|
-
statusCode: number;
|
|
1338
|
-
message: string;
|
|
1339
1368
|
code: string;
|
|
1340
|
-
timestamp: string;
|
|
1341
1369
|
path: string;
|
|
1370
|
+
message: string;
|
|
1371
|
+
statusCode: number;
|
|
1372
|
+
timestamp: string;
|
|
1342
1373
|
details?: unknown;
|
|
1343
1374
|
correlationId?: string | undefined;
|
|
1344
1375
|
}>;
|
|
@@ -1351,19 +1382,19 @@ export declare const clientsContractRouter: {
|
|
|
1351
1382
|
path: z.ZodString;
|
|
1352
1383
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1353
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
-
statusCode: number;
|
|
1355
|
-
message: string;
|
|
1356
1385
|
code: string;
|
|
1357
|
-
timestamp: string;
|
|
1358
1386
|
path: string;
|
|
1387
|
+
message: string;
|
|
1388
|
+
statusCode: number;
|
|
1389
|
+
timestamp: string;
|
|
1359
1390
|
details?: unknown;
|
|
1360
1391
|
correlationId?: string | undefined;
|
|
1361
1392
|
}, {
|
|
1362
|
-
statusCode: number;
|
|
1363
|
-
message: string;
|
|
1364
1393
|
code: string;
|
|
1365
|
-
timestamp: string;
|
|
1366
1394
|
path: string;
|
|
1395
|
+
message: string;
|
|
1396
|
+
statusCode: number;
|
|
1397
|
+
timestamp: string;
|
|
1367
1398
|
details?: unknown;
|
|
1368
1399
|
correlationId?: string | undefined;
|
|
1369
1400
|
}>;
|
|
@@ -1393,7 +1424,6 @@ export declare const clientsContractRouter: {
|
|
|
1393
1424
|
}>;
|
|
1394
1425
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1395
1426
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1396
|
-
version: z.ZodNumber;
|
|
1397
1427
|
agentClientLinks: z.ZodObject<{
|
|
1398
1428
|
agentId: z.ZodString;
|
|
1399
1429
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1402,41 +1432,39 @@ export declare const clientsContractRouter: {
|
|
|
1402
1432
|
agentId: string;
|
|
1403
1433
|
}>;
|
|
1404
1434
|
}, "strip", z.ZodTypeAny, {
|
|
1405
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1406
|
-
createdAt: string;
|
|
1407
|
-
updatedAt: string;
|
|
1408
1435
|
id: string;
|
|
1436
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1409
1437
|
name: string;
|
|
1410
|
-
director: string;
|
|
1411
1438
|
crn: string;
|
|
1412
1439
|
govLink: string;
|
|
1440
|
+
director: string;
|
|
1413
1441
|
lastUpdatedBy: {
|
|
1414
1442
|
id: string;
|
|
1415
1443
|
firstName: string;
|
|
1416
1444
|
lastName: string;
|
|
1417
1445
|
email: string;
|
|
1418
1446
|
};
|
|
1419
|
-
|
|
1447
|
+
createdAt: string;
|
|
1448
|
+
updatedAt: string;
|
|
1420
1449
|
agentClientLinks: {
|
|
1421
1450
|
agentId: string;
|
|
1422
1451
|
};
|
|
1423
1452
|
blacklistReason?: string | null | undefined;
|
|
1424
1453
|
}, {
|
|
1425
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1426
|
-
createdAt: string | Date;
|
|
1427
|
-
updatedAt: string | Date;
|
|
1428
1454
|
id: string;
|
|
1455
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1429
1456
|
name: string;
|
|
1430
|
-
director: string;
|
|
1431
1457
|
crn: string;
|
|
1432
1458
|
govLink: string;
|
|
1459
|
+
director: string;
|
|
1433
1460
|
lastUpdatedBy: {
|
|
1434
1461
|
id: string;
|
|
1435
1462
|
firstName: string;
|
|
1436
1463
|
lastName: string;
|
|
1437
1464
|
email: string;
|
|
1438
1465
|
};
|
|
1439
|
-
|
|
1466
|
+
createdAt: string | Date;
|
|
1467
|
+
updatedAt: string | Date;
|
|
1440
1468
|
agentClientLinks: {
|
|
1441
1469
|
agentId: string;
|
|
1442
1470
|
};
|
|
@@ -1451,19 +1479,19 @@ export declare const clientsContractRouter: {
|
|
|
1451
1479
|
path: z.ZodString;
|
|
1452
1480
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1453
1481
|
}, "strip", z.ZodTypeAny, {
|
|
1454
|
-
statusCode: number;
|
|
1455
|
-
message: string;
|
|
1456
1482
|
code: string;
|
|
1457
|
-
timestamp: string;
|
|
1458
1483
|
path: string;
|
|
1484
|
+
message: string;
|
|
1485
|
+
statusCode: number;
|
|
1486
|
+
timestamp: string;
|
|
1459
1487
|
details?: unknown;
|
|
1460
1488
|
correlationId?: string | undefined;
|
|
1461
1489
|
}, {
|
|
1462
|
-
statusCode: number;
|
|
1463
|
-
message: string;
|
|
1464
1490
|
code: string;
|
|
1465
|
-
timestamp: string;
|
|
1466
1491
|
path: string;
|
|
1492
|
+
message: string;
|
|
1493
|
+
statusCode: number;
|
|
1494
|
+
timestamp: string;
|
|
1467
1495
|
details?: unknown;
|
|
1468
1496
|
correlationId?: string | undefined;
|
|
1469
1497
|
}>;
|
|
@@ -1476,19 +1504,19 @@ export declare const clientsContractRouter: {
|
|
|
1476
1504
|
path: z.ZodString;
|
|
1477
1505
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1478
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1479
|
-
statusCode: number;
|
|
1480
|
-
message: string;
|
|
1481
1507
|
code: string;
|
|
1482
|
-
timestamp: string;
|
|
1483
1508
|
path: string;
|
|
1509
|
+
message: string;
|
|
1510
|
+
statusCode: number;
|
|
1511
|
+
timestamp: string;
|
|
1484
1512
|
details?: unknown;
|
|
1485
1513
|
correlationId?: string | undefined;
|
|
1486
1514
|
}, {
|
|
1487
|
-
statusCode: number;
|
|
1488
|
-
message: string;
|
|
1489
1515
|
code: string;
|
|
1490
|
-
timestamp: string;
|
|
1491
1516
|
path: string;
|
|
1517
|
+
message: string;
|
|
1518
|
+
statusCode: number;
|
|
1519
|
+
timestamp: string;
|
|
1492
1520
|
details?: unknown;
|
|
1493
1521
|
correlationId?: string | undefined;
|
|
1494
1522
|
}>;
|
|
@@ -1522,19 +1550,19 @@ export declare const clientsContractRouter: {
|
|
|
1522
1550
|
path: z.ZodString;
|
|
1523
1551
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1524
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
statusCode: number;
|
|
1526
|
-
message: string;
|
|
1527
1553
|
code: string;
|
|
1528
|
-
timestamp: string;
|
|
1529
1554
|
path: string;
|
|
1555
|
+
message: string;
|
|
1556
|
+
statusCode: number;
|
|
1557
|
+
timestamp: string;
|
|
1530
1558
|
details?: unknown;
|
|
1531
1559
|
correlationId?: string | undefined;
|
|
1532
1560
|
}, {
|
|
1533
|
-
statusCode: number;
|
|
1534
|
-
message: string;
|
|
1535
1561
|
code: string;
|
|
1536
|
-
timestamp: string;
|
|
1537
1562
|
path: string;
|
|
1563
|
+
message: string;
|
|
1564
|
+
statusCode: number;
|
|
1565
|
+
timestamp: string;
|
|
1538
1566
|
details?: unknown;
|
|
1539
1567
|
correlationId?: string | undefined;
|
|
1540
1568
|
}>;
|
|
@@ -1547,19 +1575,19 @@ export declare const clientsContractRouter: {
|
|
|
1547
1575
|
path: z.ZodString;
|
|
1548
1576
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1549
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1550
|
-
statusCode: number;
|
|
1551
|
-
message: string;
|
|
1552
1578
|
code: string;
|
|
1553
|
-
timestamp: string;
|
|
1554
1579
|
path: string;
|
|
1580
|
+
message: string;
|
|
1581
|
+
statusCode: number;
|
|
1582
|
+
timestamp: string;
|
|
1555
1583
|
details?: unknown;
|
|
1556
1584
|
correlationId?: string | undefined;
|
|
1557
1585
|
}, {
|
|
1558
|
-
statusCode: number;
|
|
1559
|
-
message: string;
|
|
1560
1586
|
code: string;
|
|
1561
|
-
timestamp: string;
|
|
1562
1587
|
path: string;
|
|
1588
|
+
message: string;
|
|
1589
|
+
statusCode: number;
|
|
1590
|
+
timestamp: string;
|
|
1563
1591
|
details?: unknown;
|
|
1564
1592
|
correlationId?: string | undefined;
|
|
1565
1593
|
}>;
|
|
@@ -1572,19 +1600,19 @@ export declare const clientsContractRouter: {
|
|
|
1572
1600
|
path: z.ZodString;
|
|
1573
1601
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1574
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1575
|
-
statusCode: number;
|
|
1576
|
-
message: string;
|
|
1577
1603
|
code: string;
|
|
1578
|
-
timestamp: string;
|
|
1579
1604
|
path: string;
|
|
1605
|
+
message: string;
|
|
1606
|
+
statusCode: number;
|
|
1607
|
+
timestamp: string;
|
|
1580
1608
|
details?: unknown;
|
|
1581
1609
|
correlationId?: string | undefined;
|
|
1582
1610
|
}, {
|
|
1583
|
-
statusCode: number;
|
|
1584
|
-
message: string;
|
|
1585
1611
|
code: string;
|
|
1586
|
-
timestamp: string;
|
|
1587
1612
|
path: string;
|
|
1613
|
+
message: string;
|
|
1614
|
+
statusCode: number;
|
|
1615
|
+
timestamp: string;
|
|
1588
1616
|
details?: unknown;
|
|
1589
1617
|
correlationId?: string | undefined;
|
|
1590
1618
|
}>;
|
|
@@ -1597,19 +1625,19 @@ export declare const clientsContractRouter: {
|
|
|
1597
1625
|
path: z.ZodString;
|
|
1598
1626
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1599
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1600
|
-
statusCode: number;
|
|
1601
|
-
message: string;
|
|
1602
1628
|
code: string;
|
|
1603
|
-
timestamp: string;
|
|
1604
1629
|
path: string;
|
|
1630
|
+
message: string;
|
|
1631
|
+
statusCode: number;
|
|
1632
|
+
timestamp: string;
|
|
1605
1633
|
details?: unknown;
|
|
1606
1634
|
correlationId?: string | undefined;
|
|
1607
1635
|
}, {
|
|
1608
|
-
statusCode: number;
|
|
1609
|
-
message: string;
|
|
1610
1636
|
code: string;
|
|
1611
|
-
timestamp: string;
|
|
1612
1637
|
path: string;
|
|
1638
|
+
message: string;
|
|
1639
|
+
statusCode: number;
|
|
1640
|
+
timestamp: string;
|
|
1613
1641
|
details?: unknown;
|
|
1614
1642
|
correlationId?: string | undefined;
|
|
1615
1643
|
}>;
|
|
@@ -1623,19 +1651,19 @@ export declare const clientsContractRouter: {
|
|
|
1623
1651
|
path: z.ZodString;
|
|
1624
1652
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1625
1653
|
}, "strip", z.ZodTypeAny, {
|
|
1626
|
-
statusCode: number;
|
|
1627
|
-
message: string;
|
|
1628
1654
|
code: string;
|
|
1629
|
-
timestamp: string;
|
|
1630
1655
|
path: string;
|
|
1656
|
+
message: string;
|
|
1657
|
+
statusCode: number;
|
|
1658
|
+
timestamp: string;
|
|
1631
1659
|
details?: unknown;
|
|
1632
1660
|
correlationId?: string | undefined;
|
|
1633
1661
|
}, {
|
|
1634
|
-
statusCode: number;
|
|
1635
|
-
message: string;
|
|
1636
1662
|
code: string;
|
|
1637
|
-
timestamp: string;
|
|
1638
1663
|
path: string;
|
|
1664
|
+
message: string;
|
|
1665
|
+
statusCode: number;
|
|
1666
|
+
timestamp: string;
|
|
1639
1667
|
details?: unknown;
|
|
1640
1668
|
correlationId?: string | undefined;
|
|
1641
1669
|
}>;
|