@dakkitor/api-contracts 1.1.10 → 1.1.12
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 +59 -60
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +16 -19
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1909 -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 +371 -280
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +25 -33
- 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 +375 -426
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +24 -13
- package/dist/clients/clients.contract.d.ts +317 -289
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +44 -29
- 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 +100 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +268 -1
- package/dist/common/error-schemas.d.ts +7 -7
- package/dist/common/error-schemas.d.ts.map +1 -1
- package/dist/common/openapi-metadata.d.ts +6 -0
- package/dist/common/openapi-metadata.d.ts.map +1 -1
- 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 +27393 -3342
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +63 -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 +162 -152
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +16 -28
- 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
|
@@ -45,7 +45,6 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
47
47
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
|
-
version: z.ZodNumber;
|
|
49
48
|
agentClientLinks: z.ZodObject<{
|
|
50
49
|
agentId: z.ZodString;
|
|
51
50
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,40 +54,38 @@ export declare const ClientSchema: z.ZodObject<{
|
|
|
55
54
|
}>;
|
|
56
55
|
}, "strip", z.ZodTypeAny, {
|
|
57
56
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
58
|
-
createdAt: string;
|
|
59
|
-
updatedAt: string;
|
|
60
57
|
id: string;
|
|
61
58
|
name: string;
|
|
62
|
-
director: string;
|
|
63
59
|
crn: string;
|
|
64
60
|
govLink: string;
|
|
61
|
+
director: string;
|
|
65
62
|
lastUpdatedBy: {
|
|
66
63
|
id: string;
|
|
67
64
|
firstName: string;
|
|
68
65
|
lastName: string;
|
|
69
66
|
email: string;
|
|
70
67
|
};
|
|
71
|
-
|
|
68
|
+
createdAt: string;
|
|
69
|
+
updatedAt: string;
|
|
72
70
|
agentClientLinks: {
|
|
73
71
|
agentId: string;
|
|
74
72
|
};
|
|
75
73
|
blacklistReason?: string | null | undefined;
|
|
76
74
|
}, {
|
|
77
75
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
78
|
-
createdAt: string | Date;
|
|
79
|
-
updatedAt: string | Date;
|
|
80
76
|
id: string;
|
|
81
77
|
name: string;
|
|
82
|
-
director: string;
|
|
83
78
|
crn: string;
|
|
84
79
|
govLink: string;
|
|
80
|
+
director: string;
|
|
85
81
|
lastUpdatedBy: {
|
|
86
82
|
id: string;
|
|
87
83
|
firstName: string;
|
|
88
84
|
lastName: string;
|
|
89
85
|
email: string;
|
|
90
86
|
};
|
|
91
|
-
|
|
87
|
+
createdAt: string | Date;
|
|
88
|
+
updatedAt: string | Date;
|
|
92
89
|
agentClientLinks: {
|
|
93
90
|
agentId: string;
|
|
94
91
|
};
|
|
@@ -100,14 +97,18 @@ export declare const CreateClientSchema: z.ZodObject<{
|
|
|
100
97
|
director: z.ZodString;
|
|
101
98
|
}, "strip", z.ZodTypeAny, {
|
|
102
99
|
name: string;
|
|
103
|
-
director: string;
|
|
104
100
|
govLink: string;
|
|
101
|
+
director: string;
|
|
105
102
|
}, {
|
|
106
103
|
name: string;
|
|
107
|
-
director: string;
|
|
108
104
|
govLink: string;
|
|
105
|
+
director: string;
|
|
109
106
|
}>;
|
|
110
|
-
|
|
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<{
|
|
111
112
|
name: z.ZodOptional<z.ZodString>;
|
|
112
113
|
govLink: z.ZodOptional<z.ZodString>;
|
|
113
114
|
director: z.ZodOptional<z.ZodString>;
|
|
@@ -116,26 +117,70 @@ export declare const UpdateClientSchema: z.ZodEffects<z.ZodObject<{
|
|
|
116
117
|
}, "strip", z.ZodTypeAny, {
|
|
117
118
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
118
119
|
name?: string | undefined;
|
|
119
|
-
director?: string | undefined;
|
|
120
120
|
govLink?: string | undefined;
|
|
121
|
+
director?: string | undefined;
|
|
121
122
|
blacklistReason?: string | null | undefined;
|
|
122
123
|
}, {
|
|
123
124
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
124
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;
|
|
125
165
|
director?: string | undefined;
|
|
166
|
+
blacklistReason?: string | null | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
169
|
+
name?: string | undefined;
|
|
126
170
|
govLink?: string | undefined;
|
|
171
|
+
director?: string | undefined;
|
|
127
172
|
blacklistReason?: string | null | undefined;
|
|
128
173
|
}>, {
|
|
129
174
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
130
175
|
name?: string | undefined;
|
|
131
|
-
director?: string | undefined;
|
|
132
176
|
govLink?: string | undefined;
|
|
177
|
+
director?: string | undefined;
|
|
133
178
|
blacklistReason?: string | null | undefined;
|
|
134
179
|
}, {
|
|
135
180
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | undefined;
|
|
136
181
|
name?: string | undefined;
|
|
137
|
-
director?: string | undefined;
|
|
138
182
|
govLink?: string | undefined;
|
|
183
|
+
director?: string | undefined;
|
|
139
184
|
blacklistReason?: string | null | undefined;
|
|
140
185
|
}>;
|
|
141
186
|
export declare const FilterClientSchema: z.ZodObject<{
|
|
@@ -161,26 +206,26 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
161
206
|
limit: number;
|
|
162
207
|
page: number;
|
|
163
208
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
209
|
+
name?: string | null | undefined;
|
|
210
|
+
director?: string | null | undefined;
|
|
164
211
|
createdAt?: {
|
|
165
212
|
from?: string | null | undefined;
|
|
166
213
|
to?: string | null | undefined;
|
|
167
214
|
} | null | undefined;
|
|
168
|
-
sortBy?: "
|
|
215
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
169
216
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
170
|
-
name?: string | null | undefined;
|
|
171
|
-
director?: string | null | undefined;
|
|
172
217
|
}, {
|
|
173
218
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
174
|
-
|
|
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;
|
|
180
|
-
|
|
225
|
+
limit?: number | undefined;
|
|
226
|
+
page?: number | undefined;
|
|
227
|
+
sortBy?: "name" | "director" | "createdAt" | "updatedAt" | null | undefined;
|
|
181
228
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
182
|
-
name?: string | null | undefined;
|
|
183
|
-
director?: string | null | undefined;
|
|
184
229
|
}>;
|
|
185
230
|
export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
186
231
|
id: z.ZodString;
|
|
@@ -192,17 +237,17 @@ export declare const ClientAutocompleteResponseSchema: z.ZodObject<{
|
|
|
192
237
|
id: string;
|
|
193
238
|
name: string;
|
|
194
239
|
}>;
|
|
195
|
-
export declare const
|
|
196
|
-
|
|
197
|
-
|
|
240
|
+
export declare const ClientAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
name: z.ZodString;
|
|
198
243
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
id
|
|
200
|
-
|
|
244
|
+
id: string;
|
|
245
|
+
name: string;
|
|
201
246
|
}, {
|
|
202
|
-
id
|
|
203
|
-
|
|
204
|
-
}>;
|
|
205
|
-
export declare const
|
|
247
|
+
id: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}>, "many">;
|
|
250
|
+
export declare const PaginatedClientResponseSchema: z.ZodObject<{
|
|
206
251
|
items: z.ZodArray<z.ZodObject<{
|
|
207
252
|
id: z.ZodString;
|
|
208
253
|
name: z.ZodString;
|
|
@@ -229,7 +274,6 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
229
274
|
}>;
|
|
230
275
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
231
276
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
232
|
-
version: z.ZodNumber;
|
|
233
277
|
agentClientLinks: z.ZodObject<{
|
|
234
278
|
agentId: z.ZodString;
|
|
235
279
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239,40 +283,38 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
239
283
|
}>;
|
|
240
284
|
}, "strip", z.ZodTypeAny, {
|
|
241
285
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
242
|
-
createdAt: string;
|
|
243
|
-
updatedAt: string;
|
|
244
286
|
id: string;
|
|
245
287
|
name: string;
|
|
246
|
-
director: string;
|
|
247
288
|
crn: string;
|
|
248
289
|
govLink: string;
|
|
290
|
+
director: string;
|
|
249
291
|
lastUpdatedBy: {
|
|
250
292
|
id: string;
|
|
251
293
|
firstName: string;
|
|
252
294
|
lastName: string;
|
|
253
295
|
email: string;
|
|
254
296
|
};
|
|
255
|
-
|
|
297
|
+
createdAt: string;
|
|
298
|
+
updatedAt: string;
|
|
256
299
|
agentClientLinks: {
|
|
257
300
|
agentId: string;
|
|
258
301
|
};
|
|
259
302
|
blacklistReason?: string | null | undefined;
|
|
260
303
|
}, {
|
|
261
304
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
262
|
-
createdAt: string | Date;
|
|
263
|
-
updatedAt: string | Date;
|
|
264
305
|
id: string;
|
|
265
306
|
name: string;
|
|
266
|
-
director: string;
|
|
267
307
|
crn: string;
|
|
268
308
|
govLink: string;
|
|
309
|
+
director: string;
|
|
269
310
|
lastUpdatedBy: {
|
|
270
311
|
id: string;
|
|
271
312
|
firstName: string;
|
|
272
313
|
lastName: string;
|
|
273
314
|
email: string;
|
|
274
315
|
};
|
|
275
|
-
|
|
316
|
+
createdAt: string | Date;
|
|
317
|
+
updatedAt: string | Date;
|
|
276
318
|
agentClientLinks: {
|
|
277
319
|
agentId: string;
|
|
278
320
|
};
|
|
@@ -284,67 +326,67 @@ export declare const PaginatedResponseSchema: z.ZodObject<{
|
|
|
284
326
|
currentPage: z.ZodNumber;
|
|
285
327
|
totalPages: z.ZodNumber;
|
|
286
328
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
limit: number;
|
|
288
329
|
items: {
|
|
289
330
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
290
|
-
createdAt: string;
|
|
291
|
-
updatedAt: string;
|
|
292
331
|
id: string;
|
|
293
332
|
name: string;
|
|
294
|
-
director: string;
|
|
295
333
|
crn: string;
|
|
296
334
|
govLink: string;
|
|
335
|
+
director: string;
|
|
297
336
|
lastUpdatedBy: {
|
|
298
337
|
id: string;
|
|
299
338
|
firstName: string;
|
|
300
339
|
lastName: string;
|
|
301
340
|
email: string;
|
|
302
341
|
};
|
|
303
|
-
|
|
342
|
+
createdAt: string;
|
|
343
|
+
updatedAt: string;
|
|
304
344
|
agentClientLinks: {
|
|
305
345
|
agentId: string;
|
|
306
346
|
};
|
|
307
347
|
blacklistReason?: string | null | undefined;
|
|
308
348
|
}[];
|
|
309
349
|
totalCount: number;
|
|
350
|
+
limit: number;
|
|
310
351
|
skip: number;
|
|
311
352
|
currentPage: number;
|
|
312
353
|
totalPages: number;
|
|
313
354
|
}, {
|
|
314
|
-
limit: number;
|
|
315
355
|
items: {
|
|
316
356
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
317
|
-
createdAt: string | Date;
|
|
318
|
-
updatedAt: string | Date;
|
|
319
357
|
id: string;
|
|
320
358
|
name: string;
|
|
321
|
-
director: string;
|
|
322
359
|
crn: string;
|
|
323
360
|
govLink: string;
|
|
361
|
+
director: string;
|
|
324
362
|
lastUpdatedBy: {
|
|
325
363
|
id: string;
|
|
326
364
|
firstName: string;
|
|
327
365
|
lastName: string;
|
|
328
366
|
email: string;
|
|
329
367
|
};
|
|
330
|
-
|
|
368
|
+
createdAt: string | Date;
|
|
369
|
+
updatedAt: string | Date;
|
|
331
370
|
agentClientLinks: {
|
|
332
371
|
agentId: string;
|
|
333
372
|
};
|
|
334
373
|
blacklistReason?: string | null | undefined;
|
|
335
374
|
}[];
|
|
336
375
|
totalCount: number;
|
|
376
|
+
limit: number;
|
|
337
377
|
skip: number;
|
|
338
378
|
currentPage: number;
|
|
339
379
|
totalPages: number;
|
|
340
380
|
}>;
|
|
341
381
|
export type Client = z.infer<typeof ClientSchema>;
|
|
342
382
|
export type CreateClient = z.infer<typeof CreateClientSchema>;
|
|
383
|
+
export type UpdateClientBase = z.infer<typeof UpdateClientBaseSchema>;
|
|
343
384
|
export type UpdateClient = z.infer<typeof UpdateClientSchema>;
|
|
344
385
|
export type FilterClient = z.infer<typeof FilterClientSchema>;
|
|
386
|
+
export type ClientUser = z.infer<typeof ClientUserSchema>;
|
|
345
387
|
export type ClientAutocompleteResponse = z.infer<typeof ClientAutocompleteResponseSchema>;
|
|
346
|
-
export type
|
|
347
|
-
export type
|
|
388
|
+
export type ClientAutocompleteArray = z.infer<typeof ClientAutocompleteArraySchema>;
|
|
389
|
+
export type PaginatedClientResponse = z.infer<typeof PaginatedClientResponseSchema>;
|
|
348
390
|
export declare const clientsContractRouter: {
|
|
349
391
|
create: {
|
|
350
392
|
metadata: {
|
|
@@ -361,12 +403,12 @@ export declare const clientsContractRouter: {
|
|
|
361
403
|
director: z.ZodString;
|
|
362
404
|
}, "strip", z.ZodTypeAny, {
|
|
363
405
|
name: string;
|
|
364
|
-
director: string;
|
|
365
406
|
govLink: string;
|
|
407
|
+
director: string;
|
|
366
408
|
}, {
|
|
367
409
|
name: string;
|
|
368
|
-
director: string;
|
|
369
410
|
govLink: string;
|
|
411
|
+
director: string;
|
|
370
412
|
}>;
|
|
371
413
|
path: "/v2/clients";
|
|
372
414
|
responses: {
|
|
@@ -379,19 +421,19 @@ export declare const clientsContractRouter: {
|
|
|
379
421
|
path: z.ZodString;
|
|
380
422
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
381
423
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
-
code: string;
|
|
383
|
-
path: string;
|
|
384
|
-
message: string;
|
|
385
424
|
statusCode: number;
|
|
425
|
+
message: string;
|
|
426
|
+
code: string;
|
|
386
427
|
timestamp: string;
|
|
428
|
+
path: string;
|
|
387
429
|
details?: unknown;
|
|
388
430
|
correlationId?: string | undefined;
|
|
389
431
|
}, {
|
|
390
|
-
code: string;
|
|
391
|
-
path: string;
|
|
392
|
-
message: string;
|
|
393
432
|
statusCode: number;
|
|
433
|
+
message: string;
|
|
434
|
+
code: string;
|
|
394
435
|
timestamp: string;
|
|
436
|
+
path: string;
|
|
395
437
|
details?: unknown;
|
|
396
438
|
correlationId?: string | undefined;
|
|
397
439
|
}>;
|
|
@@ -404,19 +446,19 @@ export declare const clientsContractRouter: {
|
|
|
404
446
|
path: z.ZodString;
|
|
405
447
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
406
448
|
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
code: string;
|
|
408
|
-
path: string;
|
|
409
|
-
message: string;
|
|
410
449
|
statusCode: number;
|
|
450
|
+
message: string;
|
|
451
|
+
code: string;
|
|
411
452
|
timestamp: string;
|
|
453
|
+
path: string;
|
|
412
454
|
details?: unknown;
|
|
413
455
|
correlationId?: string | undefined;
|
|
414
456
|
}, {
|
|
415
|
-
code: string;
|
|
416
|
-
path: string;
|
|
417
|
-
message: string;
|
|
418
457
|
statusCode: number;
|
|
458
|
+
message: string;
|
|
459
|
+
code: string;
|
|
419
460
|
timestamp: string;
|
|
461
|
+
path: string;
|
|
420
462
|
details?: unknown;
|
|
421
463
|
correlationId?: string | undefined;
|
|
422
464
|
}>;
|
|
@@ -429,19 +471,19 @@ export declare const clientsContractRouter: {
|
|
|
429
471
|
path: z.ZodString;
|
|
430
472
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
431
473
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
code: string;
|
|
433
|
-
path: string;
|
|
434
|
-
message: string;
|
|
435
474
|
statusCode: number;
|
|
475
|
+
message: string;
|
|
476
|
+
code: string;
|
|
436
477
|
timestamp: string;
|
|
478
|
+
path: string;
|
|
437
479
|
details?: unknown;
|
|
438
480
|
correlationId?: string | undefined;
|
|
439
481
|
}, {
|
|
440
|
-
code: string;
|
|
441
|
-
path: string;
|
|
442
|
-
message: string;
|
|
443
482
|
statusCode: number;
|
|
483
|
+
message: string;
|
|
484
|
+
code: string;
|
|
444
485
|
timestamp: string;
|
|
486
|
+
path: string;
|
|
445
487
|
details?: unknown;
|
|
446
488
|
correlationId?: string | undefined;
|
|
447
489
|
}>;
|
|
@@ -454,19 +496,19 @@ export declare const clientsContractRouter: {
|
|
|
454
496
|
path: z.ZodString;
|
|
455
497
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
456
498
|
}, "strip", z.ZodTypeAny, {
|
|
457
|
-
code: string;
|
|
458
|
-
path: string;
|
|
459
|
-
message: string;
|
|
460
499
|
statusCode: number;
|
|
500
|
+
message: string;
|
|
501
|
+
code: string;
|
|
461
502
|
timestamp: string;
|
|
503
|
+
path: string;
|
|
462
504
|
details?: unknown;
|
|
463
505
|
correlationId?: string | undefined;
|
|
464
506
|
}, {
|
|
465
|
-
code: string;
|
|
466
|
-
path: string;
|
|
467
|
-
message: string;
|
|
468
507
|
statusCode: number;
|
|
508
|
+
message: string;
|
|
509
|
+
code: string;
|
|
469
510
|
timestamp: string;
|
|
511
|
+
path: string;
|
|
470
512
|
details?: unknown;
|
|
471
513
|
correlationId?: string | undefined;
|
|
472
514
|
}>;
|
|
@@ -496,7 +538,6 @@ export declare const clientsContractRouter: {
|
|
|
496
538
|
}>;
|
|
497
539
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
498
540
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
499
|
-
version: z.ZodNumber;
|
|
500
541
|
agentClientLinks: z.ZodObject<{
|
|
501
542
|
agentId: z.ZodString;
|
|
502
543
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -506,40 +547,38 @@ export declare const clientsContractRouter: {
|
|
|
506
547
|
}>;
|
|
507
548
|
}, "strip", z.ZodTypeAny, {
|
|
508
549
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
509
|
-
createdAt: string;
|
|
510
|
-
updatedAt: string;
|
|
511
550
|
id: string;
|
|
512
551
|
name: string;
|
|
513
|
-
director: string;
|
|
514
552
|
crn: string;
|
|
515
553
|
govLink: string;
|
|
554
|
+
director: string;
|
|
516
555
|
lastUpdatedBy: {
|
|
517
556
|
id: string;
|
|
518
557
|
firstName: string;
|
|
519
558
|
lastName: string;
|
|
520
559
|
email: string;
|
|
521
560
|
};
|
|
522
|
-
|
|
561
|
+
createdAt: string;
|
|
562
|
+
updatedAt: string;
|
|
523
563
|
agentClientLinks: {
|
|
524
564
|
agentId: string;
|
|
525
565
|
};
|
|
526
566
|
blacklistReason?: string | null | undefined;
|
|
527
567
|
}, {
|
|
528
568
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
529
|
-
createdAt: string | Date;
|
|
530
|
-
updatedAt: string | Date;
|
|
531
569
|
id: string;
|
|
532
570
|
name: string;
|
|
533
|
-
director: string;
|
|
534
571
|
crn: string;
|
|
535
572
|
govLink: string;
|
|
573
|
+
director: string;
|
|
536
574
|
lastUpdatedBy: {
|
|
537
575
|
id: string;
|
|
538
576
|
firstName: string;
|
|
539
577
|
lastName: string;
|
|
540
578
|
email: string;
|
|
541
579
|
};
|
|
542
|
-
|
|
580
|
+
createdAt: string | Date;
|
|
581
|
+
updatedAt: string | Date;
|
|
543
582
|
agentClientLinks: {
|
|
544
583
|
agentId: string;
|
|
545
584
|
};
|
|
@@ -554,19 +593,19 @@ export declare const clientsContractRouter: {
|
|
|
554
593
|
path: z.ZodString;
|
|
555
594
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
556
595
|
}, "strip", z.ZodTypeAny, {
|
|
557
|
-
code: string;
|
|
558
|
-
path: string;
|
|
559
|
-
message: string;
|
|
560
596
|
statusCode: number;
|
|
597
|
+
message: string;
|
|
598
|
+
code: string;
|
|
561
599
|
timestamp: string;
|
|
600
|
+
path: string;
|
|
562
601
|
details?: unknown;
|
|
563
602
|
correlationId?: string | undefined;
|
|
564
603
|
}, {
|
|
565
|
-
code: string;
|
|
566
|
-
path: string;
|
|
567
|
-
message: string;
|
|
568
604
|
statusCode: number;
|
|
605
|
+
message: string;
|
|
606
|
+
code: string;
|
|
569
607
|
timestamp: string;
|
|
608
|
+
path: string;
|
|
570
609
|
details?: unknown;
|
|
571
610
|
correlationId?: string | undefined;
|
|
572
611
|
}>;
|
|
@@ -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
|
-
|
|
616
|
-
|
|
654
|
+
name?: string | null | undefined;
|
|
655
|
+
director?: string | null | undefined;
|
|
617
656
|
createdAt?: {
|
|
618
657
|
from?: string | null | undefined;
|
|
619
658
|
to?: string | null | undefined;
|
|
620
659
|
} | null | undefined;
|
|
621
|
-
|
|
660
|
+
limit?: number | undefined;
|
|
661
|
+
page?: number | undefined;
|
|
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
|
-
code: string;
|
|
640
|
-
path: string;
|
|
641
|
-
message: string;
|
|
642
678
|
statusCode: number;
|
|
679
|
+
message: string;
|
|
680
|
+
code: string;
|
|
643
681
|
timestamp: string;
|
|
682
|
+
path: string;
|
|
644
683
|
details?: unknown;
|
|
645
684
|
correlationId?: string | undefined;
|
|
646
685
|
}, {
|
|
647
|
-
code: string;
|
|
648
|
-
path: string;
|
|
649
|
-
message: string;
|
|
650
686
|
statusCode: number;
|
|
687
|
+
message: string;
|
|
688
|
+
code: string;
|
|
651
689
|
timestamp: string;
|
|
690
|
+
path: 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
|
-
code: string;
|
|
665
|
-
path: string;
|
|
666
|
-
message: string;
|
|
667
703
|
statusCode: number;
|
|
704
|
+
message: string;
|
|
705
|
+
code: string;
|
|
668
706
|
timestamp: string;
|
|
707
|
+
path: string;
|
|
669
708
|
details?: unknown;
|
|
670
709
|
correlationId?: string | undefined;
|
|
671
710
|
}, {
|
|
672
|
-
code: string;
|
|
673
|
-
path: string;
|
|
674
|
-
message: string;
|
|
675
711
|
statusCode: number;
|
|
712
|
+
message: string;
|
|
713
|
+
code: string;
|
|
676
714
|
timestamp: string;
|
|
715
|
+
path: 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
|
-
code: string;
|
|
690
|
-
path: string;
|
|
691
|
-
message: string;
|
|
692
728
|
statusCode: number;
|
|
729
|
+
message: string;
|
|
730
|
+
code: string;
|
|
693
731
|
timestamp: string;
|
|
732
|
+
path: string;
|
|
694
733
|
details?: unknown;
|
|
695
734
|
correlationId?: string | undefined;
|
|
696
735
|
}, {
|
|
697
|
-
code: string;
|
|
698
|
-
path: string;
|
|
699
|
-
message: string;
|
|
700
736
|
statusCode: number;
|
|
737
|
+
message: string;
|
|
738
|
+
code: string;
|
|
701
739
|
timestamp: string;
|
|
740
|
+
path: 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
|
-
code: string;
|
|
715
|
-
path: string;
|
|
716
|
-
message: string;
|
|
717
753
|
statusCode: number;
|
|
754
|
+
message: string;
|
|
755
|
+
code: string;
|
|
718
756
|
timestamp: string;
|
|
757
|
+
path: string;
|
|
719
758
|
details?: unknown;
|
|
720
759
|
correlationId?: string | undefined;
|
|
721
760
|
}, {
|
|
722
|
-
code: string;
|
|
723
|
-
path: string;
|
|
724
|
-
message: string;
|
|
725
761
|
statusCode: number;
|
|
762
|
+
message: string;
|
|
763
|
+
code: string;
|
|
726
764
|
timestamp: string;
|
|
765
|
+
path: 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, {
|
|
@@ -764,40 +802,38 @@ export declare const clientsContractRouter: {
|
|
|
764
802
|
}>;
|
|
765
803
|
}, "strip", z.ZodTypeAny, {
|
|
766
804
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
767
|
-
createdAt: string;
|
|
768
|
-
updatedAt: string;
|
|
769
805
|
id: string;
|
|
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
823
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
787
|
-
createdAt: string | Date;
|
|
788
|
-
updatedAt: string | Date;
|
|
789
824
|
id: string;
|
|
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, {
|
|
812
|
-
limit: number;
|
|
813
848
|
items: {
|
|
814
849
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
815
|
-
createdAt: string;
|
|
816
|
-
updatedAt: string;
|
|
817
850
|
id: string;
|
|
818
851
|
name: string;
|
|
819
|
-
director: string;
|
|
820
852
|
crn: string;
|
|
821
853
|
govLink: string;
|
|
854
|
+
director: string;
|
|
822
855
|
lastUpdatedBy: {
|
|
823
856
|
id: string;
|
|
824
857
|
firstName: string;
|
|
825
858
|
lastName: string;
|
|
826
859
|
email: string;
|
|
827
860
|
};
|
|
828
|
-
|
|
861
|
+
createdAt: string;
|
|
862
|
+
updatedAt: string;
|
|
829
863
|
agentClientLinks: {
|
|
830
864
|
agentId: string;
|
|
831
865
|
};
|
|
832
866
|
blacklistReason?: string | null | undefined;
|
|
833
867
|
}[];
|
|
834
868
|
totalCount: number;
|
|
869
|
+
limit: number;
|
|
835
870
|
skip: number;
|
|
836
871
|
currentPage: number;
|
|
837
872
|
totalPages: number;
|
|
838
873
|
}, {
|
|
839
|
-
limit: number;
|
|
840
874
|
items: {
|
|
841
875
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
842
|
-
createdAt: string | Date;
|
|
843
|
-
updatedAt: string | Date;
|
|
844
876
|
id: string;
|
|
845
877
|
name: string;
|
|
846
|
-
director: string;
|
|
847
878
|
crn: string;
|
|
848
879
|
govLink: string;
|
|
880
|
+
director: string;
|
|
849
881
|
lastUpdatedBy: {
|
|
850
882
|
id: string;
|
|
851
883
|
firstName: string;
|
|
852
884
|
lastName: string;
|
|
853
885
|
email: string;
|
|
854
886
|
};
|
|
855
|
-
|
|
887
|
+
createdAt: string | Date;
|
|
888
|
+
updatedAt: string | Date;
|
|
856
889
|
agentClientLinks: {
|
|
857
890
|
agentId: string;
|
|
858
891
|
};
|
|
859
892
|
blacklistReason?: string | null | undefined;
|
|
860
893
|
}[];
|
|
861
894
|
totalCount: number;
|
|
895
|
+
limit: number;
|
|
862
896
|
skip: number;
|
|
863
897
|
currentPage: number;
|
|
864
898
|
totalPages: number;
|
|
@@ -876,11 +910,11 @@ export declare const clientsContractRouter: {
|
|
|
876
910
|
query: z.ZodOptional<z.ZodString>;
|
|
877
911
|
id: z.ZodOptional<z.ZodString>;
|
|
878
912
|
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
id?: string | undefined;
|
|
880
913
|
query?: string | undefined;
|
|
881
|
-
}, {
|
|
882
914
|
id?: string | undefined;
|
|
915
|
+
}, {
|
|
883
916
|
query?: string | undefined;
|
|
917
|
+
id?: string | undefined;
|
|
884
918
|
}>;
|
|
885
919
|
summary: "Get clients for autocomplete";
|
|
886
920
|
method: "GET";
|
|
@@ -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
|
-
code: string;
|
|
899
|
-
path: string;
|
|
900
|
-
message: string;
|
|
901
932
|
statusCode: number;
|
|
933
|
+
message: string;
|
|
934
|
+
code: string;
|
|
902
935
|
timestamp: string;
|
|
936
|
+
path: string;
|
|
903
937
|
details?: unknown;
|
|
904
938
|
correlationId?: string | undefined;
|
|
905
939
|
}, {
|
|
906
|
-
code: string;
|
|
907
|
-
path: string;
|
|
908
|
-
message: string;
|
|
909
940
|
statusCode: number;
|
|
941
|
+
message: string;
|
|
942
|
+
code: string;
|
|
910
943
|
timestamp: string;
|
|
944
|
+
path: 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
|
-
code: string;
|
|
924
|
-
path: string;
|
|
925
|
-
message: string;
|
|
926
957
|
statusCode: number;
|
|
958
|
+
message: string;
|
|
959
|
+
code: string;
|
|
927
960
|
timestamp: string;
|
|
961
|
+
path: string;
|
|
928
962
|
details?: unknown;
|
|
929
963
|
correlationId?: string | undefined;
|
|
930
964
|
}, {
|
|
931
|
-
code: string;
|
|
932
|
-
path: string;
|
|
933
|
-
message: string;
|
|
934
965
|
statusCode: number;
|
|
966
|
+
message: string;
|
|
967
|
+
code: string;
|
|
935
968
|
timestamp: string;
|
|
969
|
+
path: 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
|
-
code: string;
|
|
949
|
-
path: string;
|
|
950
|
-
message: string;
|
|
951
982
|
statusCode: number;
|
|
983
|
+
message: string;
|
|
984
|
+
code: string;
|
|
952
985
|
timestamp: string;
|
|
986
|
+
path: string;
|
|
953
987
|
details?: unknown;
|
|
954
988
|
correlationId?: string | undefined;
|
|
955
989
|
}, {
|
|
956
|
-
code: string;
|
|
957
|
-
path: string;
|
|
958
|
-
message: string;
|
|
959
990
|
statusCode: number;
|
|
991
|
+
message: string;
|
|
992
|
+
code: string;
|
|
960
993
|
timestamp: string;
|
|
994
|
+
path: 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
|
-
code: string;
|
|
974
|
-
path: string;
|
|
975
|
-
message: string;
|
|
976
1007
|
statusCode: number;
|
|
1008
|
+
message: string;
|
|
1009
|
+
code: string;
|
|
977
1010
|
timestamp: string;
|
|
1011
|
+
path: string;
|
|
978
1012
|
details?: unknown;
|
|
979
1013
|
correlationId?: string | undefined;
|
|
980
1014
|
}, {
|
|
981
|
-
code: string;
|
|
982
|
-
path: string;
|
|
983
|
-
message: string;
|
|
984
1015
|
statusCode: number;
|
|
1016
|
+
message: string;
|
|
1017
|
+
code: string;
|
|
985
1018
|
timestamp: string;
|
|
1019
|
+
path: 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
|
-
code: string;
|
|
1029
|
-
path: string;
|
|
1030
|
-
message: string;
|
|
1031
1062
|
statusCode: number;
|
|
1063
|
+
message: string;
|
|
1064
|
+
code: string;
|
|
1032
1065
|
timestamp: string;
|
|
1066
|
+
path: string;
|
|
1033
1067
|
details?: unknown;
|
|
1034
1068
|
correlationId?: string | undefined;
|
|
1035
1069
|
}, {
|
|
1036
|
-
code: string;
|
|
1037
|
-
path: string;
|
|
1038
|
-
message: string;
|
|
1039
1070
|
statusCode: number;
|
|
1071
|
+
message: string;
|
|
1072
|
+
code: string;
|
|
1040
1073
|
timestamp: string;
|
|
1074
|
+
path: 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
|
-
code: string;
|
|
1054
|
-
path: string;
|
|
1055
|
-
message: string;
|
|
1056
1087
|
statusCode: number;
|
|
1088
|
+
message: string;
|
|
1089
|
+
code: string;
|
|
1057
1090
|
timestamp: string;
|
|
1091
|
+
path: string;
|
|
1058
1092
|
details?: unknown;
|
|
1059
1093
|
correlationId?: string | undefined;
|
|
1060
1094
|
}, {
|
|
1061
|
-
code: string;
|
|
1062
|
-
path: string;
|
|
1063
|
-
message: string;
|
|
1064
1095
|
statusCode: number;
|
|
1096
|
+
message: string;
|
|
1097
|
+
code: string;
|
|
1065
1098
|
timestamp: string;
|
|
1099
|
+
path: 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
|
-
code: string;
|
|
1079
|
-
path: string;
|
|
1080
|
-
message: string;
|
|
1081
1112
|
statusCode: number;
|
|
1113
|
+
message: string;
|
|
1114
|
+
code: string;
|
|
1082
1115
|
timestamp: string;
|
|
1116
|
+
path: string;
|
|
1083
1117
|
details?: unknown;
|
|
1084
1118
|
correlationId?: string | undefined;
|
|
1085
1119
|
}, {
|
|
1086
|
-
code: string;
|
|
1087
|
-
path: string;
|
|
1088
|
-
message: string;
|
|
1089
1120
|
statusCode: number;
|
|
1121
|
+
message: string;
|
|
1122
|
+
code: string;
|
|
1090
1123
|
timestamp: string;
|
|
1124
|
+
path: 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
|
-
code: string;
|
|
1104
|
-
path: string;
|
|
1105
|
-
message: string;
|
|
1106
1137
|
statusCode: number;
|
|
1138
|
+
message: string;
|
|
1139
|
+
code: string;
|
|
1107
1140
|
timestamp: string;
|
|
1141
|
+
path: string;
|
|
1108
1142
|
details?: unknown;
|
|
1109
1143
|
correlationId?: string | undefined;
|
|
1110
1144
|
}, {
|
|
1111
|
-
code: string;
|
|
1112
|
-
path: string;
|
|
1113
|
-
message: string;
|
|
1114
1145
|
statusCode: number;
|
|
1146
|
+
message: string;
|
|
1147
|
+
code: string;
|
|
1115
1148
|
timestamp: string;
|
|
1149
|
+
path: 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, {
|
|
@@ -1152,40 +1185,38 @@ export declare const clientsContractRouter: {
|
|
|
1152
1185
|
}>;
|
|
1153
1186
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1187
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1155
|
-
createdAt: string;
|
|
1156
|
-
updatedAt: string;
|
|
1157
1188
|
id: string;
|
|
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
1206
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1175
|
-
createdAt: string | Date;
|
|
1176
|
-
updatedAt: string | Date;
|
|
1177
1207
|
id: string;
|
|
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
|
-
code: string;
|
|
1204
|
-
path: string;
|
|
1205
|
-
message: string;
|
|
1206
1234
|
statusCode: number;
|
|
1235
|
+
message: string;
|
|
1236
|
+
code: string;
|
|
1207
1237
|
timestamp: string;
|
|
1238
|
+
path: string;
|
|
1208
1239
|
details?: unknown;
|
|
1209
1240
|
correlationId?: string | undefined;
|
|
1210
1241
|
}, {
|
|
1211
|
-
code: string;
|
|
1212
|
-
path: string;
|
|
1213
|
-
message: string;
|
|
1214
1242
|
statusCode: number;
|
|
1243
|
+
message: string;
|
|
1244
|
+
code: string;
|
|
1215
1245
|
timestamp: string;
|
|
1246
|
+
path: 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
|
-
code: string;
|
|
1280
|
-
path: string;
|
|
1281
|
-
message: string;
|
|
1282
1310
|
statusCode: number;
|
|
1311
|
+
message: string;
|
|
1312
|
+
code: string;
|
|
1283
1313
|
timestamp: string;
|
|
1314
|
+
path: string;
|
|
1284
1315
|
details?: unknown;
|
|
1285
1316
|
correlationId?: string | undefined;
|
|
1286
1317
|
}, {
|
|
1287
|
-
code: string;
|
|
1288
|
-
path: string;
|
|
1289
|
-
message: string;
|
|
1290
1318
|
statusCode: number;
|
|
1319
|
+
message: string;
|
|
1320
|
+
code: string;
|
|
1291
1321
|
timestamp: string;
|
|
1322
|
+
path: 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
|
-
code: string;
|
|
1305
|
-
path: string;
|
|
1306
|
-
message: string;
|
|
1307
1335
|
statusCode: number;
|
|
1336
|
+
message: string;
|
|
1337
|
+
code: string;
|
|
1308
1338
|
timestamp: string;
|
|
1339
|
+
path: string;
|
|
1309
1340
|
details?: unknown;
|
|
1310
1341
|
correlationId?: string | undefined;
|
|
1311
1342
|
}, {
|
|
1312
|
-
code: string;
|
|
1313
|
-
path: string;
|
|
1314
|
-
message: string;
|
|
1315
1343
|
statusCode: number;
|
|
1344
|
+
message: string;
|
|
1345
|
+
code: string;
|
|
1316
1346
|
timestamp: string;
|
|
1347
|
+
path: 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
|
-
code: string;
|
|
1330
|
-
path: string;
|
|
1331
|
-
message: string;
|
|
1332
1360
|
statusCode: number;
|
|
1361
|
+
message: string;
|
|
1362
|
+
code: string;
|
|
1333
1363
|
timestamp: string;
|
|
1364
|
+
path: string;
|
|
1334
1365
|
details?: unknown;
|
|
1335
1366
|
correlationId?: string | undefined;
|
|
1336
1367
|
}, {
|
|
1337
|
-
code: string;
|
|
1338
|
-
path: string;
|
|
1339
|
-
message: string;
|
|
1340
1368
|
statusCode: number;
|
|
1369
|
+
message: string;
|
|
1370
|
+
code: string;
|
|
1341
1371
|
timestamp: string;
|
|
1372
|
+
path: 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
|
-
code: string;
|
|
1355
|
-
path: string;
|
|
1356
|
-
message: string;
|
|
1357
1385
|
statusCode: number;
|
|
1386
|
+
message: string;
|
|
1387
|
+
code: string;
|
|
1358
1388
|
timestamp: string;
|
|
1389
|
+
path: string;
|
|
1359
1390
|
details?: unknown;
|
|
1360
1391
|
correlationId?: string | undefined;
|
|
1361
1392
|
}, {
|
|
1362
|
-
code: string;
|
|
1363
|
-
path: string;
|
|
1364
|
-
message: string;
|
|
1365
1393
|
statusCode: number;
|
|
1394
|
+
message: string;
|
|
1395
|
+
code: string;
|
|
1366
1396
|
timestamp: string;
|
|
1397
|
+
path: 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, {
|
|
@@ -1403,40 +1433,38 @@ export declare const clientsContractRouter: {
|
|
|
1403
1433
|
}>;
|
|
1404
1434
|
}, "strip", z.ZodTypeAny, {
|
|
1405
1435
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1406
|
-
createdAt: string;
|
|
1407
|
-
updatedAt: string;
|
|
1408
1436
|
id: string;
|
|
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
1454
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1426
|
-
createdAt: string | Date;
|
|
1427
|
-
updatedAt: string | Date;
|
|
1428
1455
|
id: string;
|
|
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
|
-
code: string;
|
|
1455
|
-
path: string;
|
|
1456
|
-
message: string;
|
|
1457
1482
|
statusCode: number;
|
|
1483
|
+
message: string;
|
|
1484
|
+
code: string;
|
|
1458
1485
|
timestamp: string;
|
|
1486
|
+
path: string;
|
|
1459
1487
|
details?: unknown;
|
|
1460
1488
|
correlationId?: string | undefined;
|
|
1461
1489
|
}, {
|
|
1462
|
-
code: string;
|
|
1463
|
-
path: string;
|
|
1464
|
-
message: string;
|
|
1465
1490
|
statusCode: number;
|
|
1491
|
+
message: string;
|
|
1492
|
+
code: string;
|
|
1466
1493
|
timestamp: string;
|
|
1494
|
+
path: 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
|
-
code: string;
|
|
1480
|
-
path: string;
|
|
1481
|
-
message: string;
|
|
1482
1507
|
statusCode: number;
|
|
1508
|
+
message: string;
|
|
1509
|
+
code: string;
|
|
1483
1510
|
timestamp: string;
|
|
1511
|
+
path: string;
|
|
1484
1512
|
details?: unknown;
|
|
1485
1513
|
correlationId?: string | undefined;
|
|
1486
1514
|
}, {
|
|
1487
|
-
code: string;
|
|
1488
|
-
path: string;
|
|
1489
|
-
message: string;
|
|
1490
1515
|
statusCode: number;
|
|
1516
|
+
message: string;
|
|
1517
|
+
code: string;
|
|
1491
1518
|
timestamp: string;
|
|
1519
|
+
path: 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
|
-
code: string;
|
|
1526
|
-
path: string;
|
|
1527
|
-
message: string;
|
|
1528
1553
|
statusCode: number;
|
|
1554
|
+
message: string;
|
|
1555
|
+
code: string;
|
|
1529
1556
|
timestamp: string;
|
|
1557
|
+
path: string;
|
|
1530
1558
|
details?: unknown;
|
|
1531
1559
|
correlationId?: string | undefined;
|
|
1532
1560
|
}, {
|
|
1533
|
-
code: string;
|
|
1534
|
-
path: string;
|
|
1535
|
-
message: string;
|
|
1536
1561
|
statusCode: number;
|
|
1562
|
+
message: string;
|
|
1563
|
+
code: string;
|
|
1537
1564
|
timestamp: string;
|
|
1565
|
+
path: 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
|
-
code: string;
|
|
1551
|
-
path: string;
|
|
1552
|
-
message: string;
|
|
1553
1578
|
statusCode: number;
|
|
1579
|
+
message: string;
|
|
1580
|
+
code: string;
|
|
1554
1581
|
timestamp: string;
|
|
1582
|
+
path: string;
|
|
1555
1583
|
details?: unknown;
|
|
1556
1584
|
correlationId?: string | undefined;
|
|
1557
1585
|
}, {
|
|
1558
|
-
code: string;
|
|
1559
|
-
path: string;
|
|
1560
|
-
message: string;
|
|
1561
1586
|
statusCode: number;
|
|
1587
|
+
message: string;
|
|
1588
|
+
code: string;
|
|
1562
1589
|
timestamp: string;
|
|
1590
|
+
path: 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
|
-
code: string;
|
|
1576
|
-
path: string;
|
|
1577
|
-
message: string;
|
|
1578
1603
|
statusCode: number;
|
|
1604
|
+
message: string;
|
|
1605
|
+
code: string;
|
|
1579
1606
|
timestamp: string;
|
|
1607
|
+
path: string;
|
|
1580
1608
|
details?: unknown;
|
|
1581
1609
|
correlationId?: string | undefined;
|
|
1582
1610
|
}, {
|
|
1583
|
-
code: string;
|
|
1584
|
-
path: string;
|
|
1585
|
-
message: string;
|
|
1586
1611
|
statusCode: number;
|
|
1612
|
+
message: string;
|
|
1613
|
+
code: string;
|
|
1587
1614
|
timestamp: string;
|
|
1615
|
+
path: 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
|
-
code: string;
|
|
1601
|
-
path: string;
|
|
1602
|
-
message: string;
|
|
1603
1628
|
statusCode: number;
|
|
1629
|
+
message: string;
|
|
1630
|
+
code: string;
|
|
1604
1631
|
timestamp: string;
|
|
1632
|
+
path: string;
|
|
1605
1633
|
details?: unknown;
|
|
1606
1634
|
correlationId?: string | undefined;
|
|
1607
1635
|
}, {
|
|
1608
|
-
code: string;
|
|
1609
|
-
path: string;
|
|
1610
|
-
message: string;
|
|
1611
1636
|
statusCode: number;
|
|
1637
|
+
message: string;
|
|
1638
|
+
code: string;
|
|
1612
1639
|
timestamp: string;
|
|
1640
|
+
path: 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
|
-
code: string;
|
|
1627
|
-
path: string;
|
|
1628
|
-
message: string;
|
|
1629
1654
|
statusCode: number;
|
|
1655
|
+
message: string;
|
|
1656
|
+
code: string;
|
|
1630
1657
|
timestamp: string;
|
|
1658
|
+
path: string;
|
|
1631
1659
|
details?: unknown;
|
|
1632
1660
|
correlationId?: string | undefined;
|
|
1633
1661
|
}, {
|
|
1634
|
-
code: string;
|
|
1635
|
-
path: string;
|
|
1636
|
-
message: string;
|
|
1637
1662
|
statusCode: number;
|
|
1663
|
+
message: string;
|
|
1664
|
+
code: string;
|
|
1638
1665
|
timestamp: string;
|
|
1666
|
+
path: string;
|
|
1639
1667
|
details?: unknown;
|
|
1640
1668
|
correlationId?: string | undefined;
|
|
1641
1669
|
}>;
|