@dakkitor/api-contracts 1.1.42 → 1.1.45
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/abilities/second-agent.abilities.json +7 -3
- package/dist/actives/actives.contract.d.ts +3257 -3105
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +484 -455
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +2837 -2689
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +316 -277
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.d.ts +148 -120
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +10 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1135 -1031
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +918 -826
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.d.ts +454 -350
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +1 -1
- package/package.json +6 -3
|
@@ -6,15 +6,15 @@ export declare const ClientContactUserSchema: z.ZodObject<{
|
|
|
6
6
|
lastName: z.ZodString;
|
|
7
7
|
email: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
email: string;
|
|
10
9
|
id: string;
|
|
11
10
|
firstName: string;
|
|
12
11
|
lastName: string;
|
|
13
|
-
}, {
|
|
14
12
|
email: string;
|
|
13
|
+
}, {
|
|
15
14
|
id: string;
|
|
16
15
|
firstName: string;
|
|
17
16
|
lastName: string;
|
|
17
|
+
email: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
@@ -22,8 +22,9 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
22
22
|
client: z.ZodObject<{
|
|
23
23
|
id: z.ZodString;
|
|
24
24
|
name: z.ZodString;
|
|
25
|
-
crn: z.ZodString
|
|
25
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
26
26
|
govLink: z.ZodString;
|
|
27
|
+
soleTrader: z.ZodBoolean;
|
|
27
28
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
28
29
|
director: z.ZodString;
|
|
29
30
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,15 +34,15 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
33
34
|
lastName: z.ZodString;
|
|
34
35
|
email: z.ZodString;
|
|
35
36
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
email: string;
|
|
37
37
|
id: string;
|
|
38
38
|
firstName: string;
|
|
39
39
|
lastName: string;
|
|
40
|
-
}, {
|
|
41
40
|
email: string;
|
|
41
|
+
}, {
|
|
42
42
|
id: string;
|
|
43
43
|
firstName: string;
|
|
44
44
|
lastName: string;
|
|
45
|
+
email: string;
|
|
45
46
|
}>>>;
|
|
46
47
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
47
48
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -53,39 +54,41 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
53
54
|
agentId: string;
|
|
54
55
|
}>>>;
|
|
55
56
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
name: string;
|
|
57
|
-
createdAt: string;
|
|
58
|
-
updatedAt: string;
|
|
59
57
|
id: string;
|
|
60
58
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
61
|
-
|
|
59
|
+
name: string;
|
|
60
|
+
crn: string | null;
|
|
62
61
|
govLink: string;
|
|
62
|
+
soleTrader: boolean;
|
|
63
63
|
director: string;
|
|
64
|
+
createdAt: string;
|
|
65
|
+
updatedAt: string;
|
|
64
66
|
blacklistReason?: string | null | undefined;
|
|
65
67
|
lastUpdatedBy?: {
|
|
66
|
-
email: string;
|
|
67
68
|
id: string;
|
|
68
69
|
firstName: string;
|
|
69
70
|
lastName: string;
|
|
71
|
+
email: string;
|
|
70
72
|
} | null | undefined;
|
|
71
73
|
agentClientLinks?: {
|
|
72
74
|
agentId: string;
|
|
73
75
|
} | null | undefined;
|
|
74
76
|
}, {
|
|
75
|
-
name: string;
|
|
76
|
-
createdAt: string | Date;
|
|
77
|
-
updatedAt: string | Date;
|
|
78
77
|
id: string;
|
|
79
78
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
|
-
|
|
79
|
+
name: string;
|
|
80
|
+
crn: string | null;
|
|
81
81
|
govLink: string;
|
|
82
|
+
soleTrader: boolean;
|
|
82
83
|
director: string;
|
|
84
|
+
createdAt: string | Date;
|
|
85
|
+
updatedAt: string | Date;
|
|
83
86
|
blacklistReason?: string | null | undefined;
|
|
84
87
|
lastUpdatedBy?: {
|
|
85
|
-
email: string;
|
|
86
88
|
id: string;
|
|
87
89
|
firstName: string;
|
|
88
90
|
lastName: string;
|
|
91
|
+
email: string;
|
|
89
92
|
} | null | undefined;
|
|
90
93
|
agentClientLinks?: {
|
|
91
94
|
agentId: string;
|
|
@@ -102,41 +105,42 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
102
105
|
lastName: z.ZodString;
|
|
103
106
|
email: z.ZodString;
|
|
104
107
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
email: string;
|
|
106
108
|
id: string;
|
|
107
109
|
firstName: string;
|
|
108
110
|
lastName: string;
|
|
109
|
-
}, {
|
|
110
111
|
email: string;
|
|
112
|
+
}, {
|
|
111
113
|
id: string;
|
|
112
114
|
firstName: string;
|
|
113
115
|
lastName: string;
|
|
116
|
+
email: string;
|
|
114
117
|
}>;
|
|
115
118
|
createdById: z.ZodString;
|
|
116
119
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
117
120
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
118
121
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
|
|
122
|
+
id: string;
|
|
120
123
|
email: string | null;
|
|
124
|
+
name: string;
|
|
121
125
|
createdAt: string;
|
|
122
126
|
updatedAt: string;
|
|
123
|
-
id: string;
|
|
124
127
|
clientId: string;
|
|
125
128
|
client: {
|
|
126
|
-
name: string;
|
|
127
|
-
createdAt: string;
|
|
128
|
-
updatedAt: string;
|
|
129
129
|
id: string;
|
|
130
130
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
131
|
-
|
|
131
|
+
name: string;
|
|
132
|
+
crn: string | null;
|
|
132
133
|
govLink: string;
|
|
134
|
+
soleTrader: boolean;
|
|
133
135
|
director: string;
|
|
136
|
+
createdAt: string;
|
|
137
|
+
updatedAt: string;
|
|
134
138
|
blacklistReason?: string | null | undefined;
|
|
135
139
|
lastUpdatedBy?: {
|
|
136
|
-
email: string;
|
|
137
140
|
id: string;
|
|
138
141
|
firstName: string;
|
|
139
142
|
lastName: string;
|
|
143
|
+
email: string;
|
|
140
144
|
} | null | undefined;
|
|
141
145
|
agentClientLinks?: {
|
|
142
146
|
agentId: string;
|
|
@@ -144,36 +148,37 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
144
148
|
};
|
|
145
149
|
phone: string;
|
|
146
150
|
createdBy: {
|
|
147
|
-
email: string;
|
|
148
151
|
id: string;
|
|
149
152
|
firstName: string;
|
|
150
153
|
lastName: string;
|
|
154
|
+
email: string;
|
|
151
155
|
};
|
|
152
156
|
createdById: string;
|
|
153
157
|
position?: string | undefined;
|
|
154
158
|
source?: string | undefined;
|
|
155
159
|
}, {
|
|
156
|
-
|
|
160
|
+
id: string;
|
|
157
161
|
email: string | null;
|
|
162
|
+
name: string;
|
|
158
163
|
createdAt: string | Date;
|
|
159
164
|
updatedAt: string | Date;
|
|
160
|
-
id: string;
|
|
161
165
|
clientId: string;
|
|
162
166
|
client: {
|
|
163
|
-
name: string;
|
|
164
|
-
createdAt: string | Date;
|
|
165
|
-
updatedAt: string | Date;
|
|
166
167
|
id: string;
|
|
167
168
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
168
|
-
|
|
169
|
+
name: string;
|
|
170
|
+
crn: string | null;
|
|
169
171
|
govLink: string;
|
|
172
|
+
soleTrader: boolean;
|
|
170
173
|
director: string;
|
|
174
|
+
createdAt: string | Date;
|
|
175
|
+
updatedAt: string | Date;
|
|
171
176
|
blacklistReason?: string | null | undefined;
|
|
172
177
|
lastUpdatedBy?: {
|
|
173
|
-
email: string;
|
|
174
178
|
id: string;
|
|
175
179
|
firstName: string;
|
|
176
180
|
lastName: string;
|
|
181
|
+
email: string;
|
|
177
182
|
} | null | undefined;
|
|
178
183
|
agentClientLinks?: {
|
|
179
184
|
agentId: string;
|
|
@@ -181,10 +186,10 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
181
186
|
};
|
|
182
187
|
phone: string;
|
|
183
188
|
createdBy: {
|
|
184
|
-
email: string;
|
|
185
189
|
id: string;
|
|
186
190
|
firstName: string;
|
|
187
191
|
lastName: string;
|
|
192
|
+
email: string;
|
|
188
193
|
};
|
|
189
194
|
createdById: string;
|
|
190
195
|
position?: string | undefined;
|
|
@@ -209,8 +214,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
209
214
|
id: string;
|
|
210
215
|
};
|
|
211
216
|
phone: string;
|
|
212
|
-
position?: string | undefined;
|
|
213
217
|
email?: string | undefined;
|
|
218
|
+
position?: string | undefined;
|
|
214
219
|
source?: string | undefined;
|
|
215
220
|
}, {
|
|
216
221
|
name: string;
|
|
@@ -218,8 +223,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
218
223
|
id: string;
|
|
219
224
|
};
|
|
220
225
|
phone: string;
|
|
221
|
-
position?: string | undefined;
|
|
222
226
|
email?: string | undefined;
|
|
227
|
+
position?: string | undefined;
|
|
223
228
|
source?: string | undefined;
|
|
224
229
|
}>;
|
|
225
230
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
@@ -238,14 +243,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
238
243
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
239
244
|
name: string;
|
|
240
245
|
phone: string;
|
|
241
|
-
position?: string | undefined;
|
|
242
246
|
email?: string | undefined;
|
|
247
|
+
position?: string | undefined;
|
|
243
248
|
source?: string | undefined;
|
|
244
249
|
}, {
|
|
245
250
|
name: string;
|
|
246
251
|
phone: string;
|
|
247
|
-
position?: string | undefined;
|
|
248
252
|
email?: string | undefined;
|
|
253
|
+
position?: string | undefined;
|
|
249
254
|
source?: string | undefined;
|
|
250
255
|
}>;
|
|
251
256
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
@@ -262,15 +267,15 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
262
267
|
email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
|
|
263
268
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
264
269
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
270
|
+
email?: string | undefined;
|
|
265
271
|
name?: string | undefined;
|
|
266
272
|
position?: string | undefined;
|
|
267
|
-
email?: string | undefined;
|
|
268
273
|
phone?: string | undefined;
|
|
269
274
|
source?: string | undefined;
|
|
270
275
|
}, {
|
|
276
|
+
email?: string | undefined;
|
|
271
277
|
name?: string | undefined;
|
|
272
278
|
position?: string | undefined;
|
|
273
|
-
email?: string | undefined;
|
|
274
279
|
phone?: string | undefined;
|
|
275
280
|
source?: string | undefined;
|
|
276
281
|
}>;
|
|
@@ -290,27 +295,27 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
290
295
|
}, "strip", z.ZodTypeAny, {
|
|
291
296
|
limit: number;
|
|
292
297
|
page: number;
|
|
293
|
-
sortBy: "
|
|
298
|
+
sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
|
|
294
299
|
sortOrder: "ASC" | "DESC";
|
|
300
|
+
email?: string | undefined;
|
|
295
301
|
name?: string | undefined;
|
|
296
302
|
position?: string | undefined;
|
|
297
|
-
email?: string | undefined;
|
|
298
303
|
clientId?: string | undefined;
|
|
299
304
|
phone?: string | undefined;
|
|
300
305
|
source?: string | undefined;
|
|
301
306
|
createdById?: string | undefined;
|
|
302
307
|
}, {
|
|
308
|
+
email?: string | undefined;
|
|
303
309
|
name?: string | undefined;
|
|
310
|
+
limit?: number | undefined;
|
|
311
|
+
page?: number | undefined;
|
|
312
|
+
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
313
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
304
314
|
position?: string | undefined;
|
|
305
|
-
email?: string | undefined;
|
|
306
315
|
clientId?: string | undefined;
|
|
307
316
|
phone?: string | undefined;
|
|
308
317
|
source?: string | undefined;
|
|
309
318
|
createdById?: string | undefined;
|
|
310
|
-
limit?: number | undefined;
|
|
311
|
-
page?: number | undefined;
|
|
312
|
-
sortBy?: "name" | "position" | "email" | "createdAt" | "updatedAt" | undefined;
|
|
313
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
319
|
}>;
|
|
315
320
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
316
321
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -319,8 +324,9 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
319
324
|
client: z.ZodObject<{
|
|
320
325
|
id: z.ZodString;
|
|
321
326
|
name: z.ZodString;
|
|
322
|
-
crn: z.ZodString
|
|
327
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
323
328
|
govLink: z.ZodString;
|
|
329
|
+
soleTrader: z.ZodBoolean;
|
|
324
330
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
325
331
|
director: z.ZodString;
|
|
326
332
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -330,15 +336,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
330
336
|
lastName: z.ZodString;
|
|
331
337
|
email: z.ZodString;
|
|
332
338
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
email: string;
|
|
334
339
|
id: string;
|
|
335
340
|
firstName: string;
|
|
336
341
|
lastName: string;
|
|
337
|
-
}, {
|
|
338
342
|
email: string;
|
|
343
|
+
}, {
|
|
339
344
|
id: string;
|
|
340
345
|
firstName: string;
|
|
341
346
|
lastName: string;
|
|
347
|
+
email: string;
|
|
342
348
|
}>>>;
|
|
343
349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
344
350
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -350,39 +356,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
350
356
|
agentId: string;
|
|
351
357
|
}>>>;
|
|
352
358
|
}, "strip", z.ZodTypeAny, {
|
|
353
|
-
name: string;
|
|
354
|
-
createdAt: string;
|
|
355
|
-
updatedAt: string;
|
|
356
359
|
id: string;
|
|
357
360
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
358
|
-
|
|
361
|
+
name: string;
|
|
362
|
+
crn: string | null;
|
|
359
363
|
govLink: string;
|
|
364
|
+
soleTrader: boolean;
|
|
360
365
|
director: string;
|
|
366
|
+
createdAt: string;
|
|
367
|
+
updatedAt: string;
|
|
361
368
|
blacklistReason?: string | null | undefined;
|
|
362
369
|
lastUpdatedBy?: {
|
|
363
|
-
email: string;
|
|
364
370
|
id: string;
|
|
365
371
|
firstName: string;
|
|
366
372
|
lastName: string;
|
|
373
|
+
email: string;
|
|
367
374
|
} | null | undefined;
|
|
368
375
|
agentClientLinks?: {
|
|
369
376
|
agentId: string;
|
|
370
377
|
} | null | undefined;
|
|
371
378
|
}, {
|
|
372
|
-
name: string;
|
|
373
|
-
createdAt: string | Date;
|
|
374
|
-
updatedAt: string | Date;
|
|
375
379
|
id: string;
|
|
376
380
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
377
|
-
|
|
381
|
+
name: string;
|
|
382
|
+
crn: string | null;
|
|
378
383
|
govLink: string;
|
|
384
|
+
soleTrader: boolean;
|
|
379
385
|
director: string;
|
|
386
|
+
createdAt: string | Date;
|
|
387
|
+
updatedAt: string | Date;
|
|
380
388
|
blacklistReason?: string | null | undefined;
|
|
381
389
|
lastUpdatedBy?: {
|
|
382
|
-
email: string;
|
|
383
390
|
id: string;
|
|
384
391
|
firstName: string;
|
|
385
392
|
lastName: string;
|
|
393
|
+
email: string;
|
|
386
394
|
} | null | undefined;
|
|
387
395
|
agentClientLinks?: {
|
|
388
396
|
agentId: string;
|
|
@@ -399,41 +407,42 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
399
407
|
lastName: z.ZodString;
|
|
400
408
|
email: z.ZodString;
|
|
401
409
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
email: string;
|
|
403
410
|
id: string;
|
|
404
411
|
firstName: string;
|
|
405
412
|
lastName: string;
|
|
406
|
-
}, {
|
|
407
413
|
email: string;
|
|
414
|
+
}, {
|
|
408
415
|
id: string;
|
|
409
416
|
firstName: string;
|
|
410
417
|
lastName: string;
|
|
418
|
+
email: string;
|
|
411
419
|
}>;
|
|
412
420
|
createdById: z.ZodString;
|
|
413
421
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
414
422
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
415
423
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
|
|
424
|
+
id: string;
|
|
417
425
|
email: string | null;
|
|
426
|
+
name: string;
|
|
418
427
|
createdAt: string;
|
|
419
428
|
updatedAt: string;
|
|
420
|
-
id: string;
|
|
421
429
|
clientId: string;
|
|
422
430
|
client: {
|
|
423
|
-
name: string;
|
|
424
|
-
createdAt: string;
|
|
425
|
-
updatedAt: string;
|
|
426
431
|
id: string;
|
|
427
432
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
428
|
-
|
|
433
|
+
name: string;
|
|
434
|
+
crn: string | null;
|
|
429
435
|
govLink: string;
|
|
436
|
+
soleTrader: boolean;
|
|
430
437
|
director: string;
|
|
438
|
+
createdAt: string;
|
|
439
|
+
updatedAt: string;
|
|
431
440
|
blacklistReason?: string | null | undefined;
|
|
432
441
|
lastUpdatedBy?: {
|
|
433
|
-
email: string;
|
|
434
442
|
id: string;
|
|
435
443
|
firstName: string;
|
|
436
444
|
lastName: string;
|
|
445
|
+
email: string;
|
|
437
446
|
} | null | undefined;
|
|
438
447
|
agentClientLinks?: {
|
|
439
448
|
agentId: string;
|
|
@@ -441,36 +450,37 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
441
450
|
};
|
|
442
451
|
phone: string;
|
|
443
452
|
createdBy: {
|
|
444
|
-
email: string;
|
|
445
453
|
id: string;
|
|
446
454
|
firstName: string;
|
|
447
455
|
lastName: string;
|
|
456
|
+
email: string;
|
|
448
457
|
};
|
|
449
458
|
createdById: string;
|
|
450
459
|
position?: string | undefined;
|
|
451
460
|
source?: string | undefined;
|
|
452
461
|
}, {
|
|
453
|
-
|
|
462
|
+
id: string;
|
|
454
463
|
email: string | null;
|
|
464
|
+
name: string;
|
|
455
465
|
createdAt: string | Date;
|
|
456
466
|
updatedAt: string | Date;
|
|
457
|
-
id: string;
|
|
458
467
|
clientId: string;
|
|
459
468
|
client: {
|
|
460
|
-
name: string;
|
|
461
|
-
createdAt: string | Date;
|
|
462
|
-
updatedAt: string | Date;
|
|
463
469
|
id: string;
|
|
464
470
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
465
|
-
|
|
471
|
+
name: string;
|
|
472
|
+
crn: string | null;
|
|
466
473
|
govLink: string;
|
|
474
|
+
soleTrader: boolean;
|
|
467
475
|
director: string;
|
|
476
|
+
createdAt: string | Date;
|
|
477
|
+
updatedAt: string | Date;
|
|
468
478
|
blacklistReason?: string | null | undefined;
|
|
469
479
|
lastUpdatedBy?: {
|
|
470
|
-
email: string;
|
|
471
480
|
id: string;
|
|
472
481
|
firstName: string;
|
|
473
482
|
lastName: string;
|
|
483
|
+
email: string;
|
|
474
484
|
} | null | undefined;
|
|
475
485
|
agentClientLinks?: {
|
|
476
486
|
agentId: string;
|
|
@@ -478,10 +488,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
478
488
|
};
|
|
479
489
|
phone: string;
|
|
480
490
|
createdBy: {
|
|
481
|
-
email: string;
|
|
482
491
|
id: string;
|
|
483
492
|
firstName: string;
|
|
484
493
|
lastName: string;
|
|
494
|
+
email: string;
|
|
485
495
|
};
|
|
486
496
|
createdById: string;
|
|
487
497
|
position?: string | undefined;
|
|
@@ -495,27 +505,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
495
505
|
}, "strip", z.ZodTypeAny, {
|
|
496
506
|
limit: number;
|
|
497
507
|
items: {
|
|
498
|
-
|
|
508
|
+
id: string;
|
|
499
509
|
email: string | null;
|
|
510
|
+
name: string;
|
|
500
511
|
createdAt: string;
|
|
501
512
|
updatedAt: string;
|
|
502
|
-
id: string;
|
|
503
513
|
clientId: string;
|
|
504
514
|
client: {
|
|
505
|
-
name: string;
|
|
506
|
-
createdAt: string;
|
|
507
|
-
updatedAt: string;
|
|
508
515
|
id: string;
|
|
509
516
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
510
|
-
|
|
517
|
+
name: string;
|
|
518
|
+
crn: string | null;
|
|
511
519
|
govLink: string;
|
|
520
|
+
soleTrader: boolean;
|
|
512
521
|
director: string;
|
|
522
|
+
createdAt: string;
|
|
523
|
+
updatedAt: string;
|
|
513
524
|
blacklistReason?: string | null | undefined;
|
|
514
525
|
lastUpdatedBy?: {
|
|
515
|
-
email: string;
|
|
516
526
|
id: string;
|
|
517
527
|
firstName: string;
|
|
518
528
|
lastName: string;
|
|
529
|
+
email: string;
|
|
519
530
|
} | null | undefined;
|
|
520
531
|
agentClientLinks?: {
|
|
521
532
|
agentId: string;
|
|
@@ -523,10 +534,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
523
534
|
};
|
|
524
535
|
phone: string;
|
|
525
536
|
createdBy: {
|
|
526
|
-
email: string;
|
|
527
537
|
id: string;
|
|
528
538
|
firstName: string;
|
|
529
539
|
lastName: string;
|
|
540
|
+
email: string;
|
|
530
541
|
};
|
|
531
542
|
createdById: string;
|
|
532
543
|
position?: string | undefined;
|
|
@@ -539,27 +550,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
539
550
|
}, {
|
|
540
551
|
limit: number;
|
|
541
552
|
items: {
|
|
542
|
-
|
|
553
|
+
id: string;
|
|
543
554
|
email: string | null;
|
|
555
|
+
name: string;
|
|
544
556
|
createdAt: string | Date;
|
|
545
557
|
updatedAt: string | Date;
|
|
546
|
-
id: string;
|
|
547
558
|
clientId: string;
|
|
548
559
|
client: {
|
|
549
|
-
name: string;
|
|
550
|
-
createdAt: string | Date;
|
|
551
|
-
updatedAt: string | Date;
|
|
552
560
|
id: string;
|
|
553
561
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
554
|
-
|
|
562
|
+
name: string;
|
|
563
|
+
crn: string | null;
|
|
555
564
|
govLink: string;
|
|
565
|
+
soleTrader: boolean;
|
|
556
566
|
director: string;
|
|
567
|
+
createdAt: string | Date;
|
|
568
|
+
updatedAt: string | Date;
|
|
557
569
|
blacklistReason?: string | null | undefined;
|
|
558
570
|
lastUpdatedBy?: {
|
|
559
|
-
email: string;
|
|
560
571
|
id: string;
|
|
561
572
|
firstName: string;
|
|
562
573
|
lastName: string;
|
|
574
|
+
email: string;
|
|
563
575
|
} | null | undefined;
|
|
564
576
|
agentClientLinks?: {
|
|
565
577
|
agentId: string;
|
|
@@ -567,10 +579,10 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
567
579
|
};
|
|
568
580
|
phone: string;
|
|
569
581
|
createdBy: {
|
|
570
|
-
email: string;
|
|
571
582
|
id: string;
|
|
572
583
|
firstName: string;
|
|
573
584
|
lastName: string;
|
|
585
|
+
email: string;
|
|
574
586
|
};
|
|
575
587
|
createdById: string;
|
|
576
588
|
position?: string | undefined;
|
|
@@ -615,8 +627,8 @@ export declare const clientContactsContractRouter: {
|
|
|
615
627
|
id: string;
|
|
616
628
|
};
|
|
617
629
|
phone: string;
|
|
618
|
-
position?: string | undefined;
|
|
619
630
|
email?: string | undefined;
|
|
631
|
+
position?: string | undefined;
|
|
620
632
|
source?: string | undefined;
|
|
621
633
|
}, {
|
|
622
634
|
name: string;
|
|
@@ -624,8 +636,8 @@ export declare const clientContactsContractRouter: {
|
|
|
624
636
|
id: string;
|
|
625
637
|
};
|
|
626
638
|
phone: string;
|
|
627
|
-
position?: string | undefined;
|
|
628
639
|
email?: string | undefined;
|
|
640
|
+
position?: string | undefined;
|
|
629
641
|
source?: string | undefined;
|
|
630
642
|
}>;
|
|
631
643
|
path: "/v2/client-contacts";
|
|
@@ -736,8 +748,9 @@ export declare const clientContactsContractRouter: {
|
|
|
736
748
|
client: z.ZodObject<{
|
|
737
749
|
id: z.ZodString;
|
|
738
750
|
name: z.ZodString;
|
|
739
|
-
crn: z.ZodString
|
|
751
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
740
752
|
govLink: z.ZodString;
|
|
753
|
+
soleTrader: z.ZodBoolean;
|
|
741
754
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
742
755
|
director: z.ZodString;
|
|
743
756
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -747,15 +760,15 @@ export declare const clientContactsContractRouter: {
|
|
|
747
760
|
lastName: z.ZodString;
|
|
748
761
|
email: z.ZodString;
|
|
749
762
|
}, "strip", z.ZodTypeAny, {
|
|
750
|
-
email: string;
|
|
751
763
|
id: string;
|
|
752
764
|
firstName: string;
|
|
753
765
|
lastName: string;
|
|
754
|
-
}, {
|
|
755
766
|
email: string;
|
|
767
|
+
}, {
|
|
756
768
|
id: string;
|
|
757
769
|
firstName: string;
|
|
758
770
|
lastName: string;
|
|
771
|
+
email: string;
|
|
759
772
|
}>>>;
|
|
760
773
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
761
774
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -767,39 +780,41 @@ export declare const clientContactsContractRouter: {
|
|
|
767
780
|
agentId: string;
|
|
768
781
|
}>>>;
|
|
769
782
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
name: string;
|
|
771
|
-
createdAt: string;
|
|
772
|
-
updatedAt: string;
|
|
773
783
|
id: string;
|
|
774
784
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
775
|
-
|
|
785
|
+
name: string;
|
|
786
|
+
crn: string | null;
|
|
776
787
|
govLink: string;
|
|
788
|
+
soleTrader: boolean;
|
|
777
789
|
director: string;
|
|
790
|
+
createdAt: string;
|
|
791
|
+
updatedAt: string;
|
|
778
792
|
blacklistReason?: string | null | undefined;
|
|
779
793
|
lastUpdatedBy?: {
|
|
780
|
-
email: string;
|
|
781
794
|
id: string;
|
|
782
795
|
firstName: string;
|
|
783
796
|
lastName: string;
|
|
797
|
+
email: string;
|
|
784
798
|
} | null | undefined;
|
|
785
799
|
agentClientLinks?: {
|
|
786
800
|
agentId: string;
|
|
787
801
|
} | null | undefined;
|
|
788
802
|
}, {
|
|
789
|
-
name: string;
|
|
790
|
-
createdAt: string | Date;
|
|
791
|
-
updatedAt: string | Date;
|
|
792
803
|
id: string;
|
|
793
804
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
794
|
-
|
|
805
|
+
name: string;
|
|
806
|
+
crn: string | null;
|
|
795
807
|
govLink: string;
|
|
808
|
+
soleTrader: boolean;
|
|
796
809
|
director: string;
|
|
810
|
+
createdAt: string | Date;
|
|
811
|
+
updatedAt: string | Date;
|
|
797
812
|
blacklistReason?: string | null | undefined;
|
|
798
813
|
lastUpdatedBy?: {
|
|
799
|
-
email: string;
|
|
800
814
|
id: string;
|
|
801
815
|
firstName: string;
|
|
802
816
|
lastName: string;
|
|
817
|
+
email: string;
|
|
803
818
|
} | null | undefined;
|
|
804
819
|
agentClientLinks?: {
|
|
805
820
|
agentId: string;
|
|
@@ -816,41 +831,42 @@ export declare const clientContactsContractRouter: {
|
|
|
816
831
|
lastName: z.ZodString;
|
|
817
832
|
email: z.ZodString;
|
|
818
833
|
}, "strip", z.ZodTypeAny, {
|
|
819
|
-
email: string;
|
|
820
834
|
id: string;
|
|
821
835
|
firstName: string;
|
|
822
836
|
lastName: string;
|
|
823
|
-
}, {
|
|
824
837
|
email: string;
|
|
838
|
+
}, {
|
|
825
839
|
id: string;
|
|
826
840
|
firstName: string;
|
|
827
841
|
lastName: string;
|
|
842
|
+
email: string;
|
|
828
843
|
}>;
|
|
829
844
|
createdById: z.ZodString;
|
|
830
845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
831
846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
832
847
|
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
|
|
848
|
+
id: string;
|
|
834
849
|
email: string | null;
|
|
850
|
+
name: string;
|
|
835
851
|
createdAt: string;
|
|
836
852
|
updatedAt: string;
|
|
837
|
-
id: string;
|
|
838
853
|
clientId: string;
|
|
839
854
|
client: {
|
|
840
|
-
name: string;
|
|
841
|
-
createdAt: string;
|
|
842
|
-
updatedAt: string;
|
|
843
855
|
id: string;
|
|
844
856
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
845
|
-
|
|
857
|
+
name: string;
|
|
858
|
+
crn: string | null;
|
|
846
859
|
govLink: string;
|
|
860
|
+
soleTrader: boolean;
|
|
847
861
|
director: string;
|
|
862
|
+
createdAt: string;
|
|
863
|
+
updatedAt: string;
|
|
848
864
|
blacklistReason?: string | null | undefined;
|
|
849
865
|
lastUpdatedBy?: {
|
|
850
|
-
email: string;
|
|
851
866
|
id: string;
|
|
852
867
|
firstName: string;
|
|
853
868
|
lastName: string;
|
|
869
|
+
email: string;
|
|
854
870
|
} | null | undefined;
|
|
855
871
|
agentClientLinks?: {
|
|
856
872
|
agentId: string;
|
|
@@ -858,36 +874,37 @@ export declare const clientContactsContractRouter: {
|
|
|
858
874
|
};
|
|
859
875
|
phone: string;
|
|
860
876
|
createdBy: {
|
|
861
|
-
email: string;
|
|
862
877
|
id: string;
|
|
863
878
|
firstName: string;
|
|
864
879
|
lastName: string;
|
|
880
|
+
email: string;
|
|
865
881
|
};
|
|
866
882
|
createdById: string;
|
|
867
883
|
position?: string | undefined;
|
|
868
884
|
source?: string | undefined;
|
|
869
885
|
}, {
|
|
870
|
-
|
|
886
|
+
id: string;
|
|
871
887
|
email: string | null;
|
|
888
|
+
name: string;
|
|
872
889
|
createdAt: string | Date;
|
|
873
890
|
updatedAt: string | Date;
|
|
874
|
-
id: string;
|
|
875
891
|
clientId: string;
|
|
876
892
|
client: {
|
|
877
|
-
name: string;
|
|
878
|
-
createdAt: string | Date;
|
|
879
|
-
updatedAt: string | Date;
|
|
880
893
|
id: string;
|
|
881
894
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
882
|
-
|
|
895
|
+
name: string;
|
|
896
|
+
crn: string | null;
|
|
883
897
|
govLink: string;
|
|
898
|
+
soleTrader: boolean;
|
|
884
899
|
director: string;
|
|
900
|
+
createdAt: string | Date;
|
|
901
|
+
updatedAt: string | Date;
|
|
885
902
|
blacklistReason?: string | null | undefined;
|
|
886
903
|
lastUpdatedBy?: {
|
|
887
|
-
email: string;
|
|
888
904
|
id: string;
|
|
889
905
|
firstName: string;
|
|
890
906
|
lastName: string;
|
|
907
|
+
email: string;
|
|
891
908
|
} | null | undefined;
|
|
892
909
|
agentClientLinks?: {
|
|
893
910
|
agentId: string;
|
|
@@ -895,10 +912,10 @@ export declare const clientContactsContractRouter: {
|
|
|
895
912
|
};
|
|
896
913
|
phone: string;
|
|
897
914
|
createdBy: {
|
|
898
|
-
email: string;
|
|
899
915
|
id: string;
|
|
900
916
|
firstName: string;
|
|
901
917
|
lastName: string;
|
|
918
|
+
email: string;
|
|
902
919
|
};
|
|
903
920
|
createdById: string;
|
|
904
921
|
position?: string | undefined;
|
|
@@ -960,14 +977,14 @@ export declare const clientContactsContractRouter: {
|
|
|
960
977
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
961
978
|
name: string;
|
|
962
979
|
phone: string;
|
|
963
|
-
position?: string | undefined;
|
|
964
980
|
email?: string | undefined;
|
|
981
|
+
position?: string | undefined;
|
|
965
982
|
source?: string | undefined;
|
|
966
983
|
}, {
|
|
967
984
|
name: string;
|
|
968
985
|
phone: string;
|
|
969
|
-
position?: string | undefined;
|
|
970
986
|
email?: string | undefined;
|
|
987
|
+
position?: string | undefined;
|
|
971
988
|
source?: string | undefined;
|
|
972
989
|
}>;
|
|
973
990
|
path: "/v2/client-contacts/client/:clientId";
|
|
@@ -1078,8 +1095,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1078
1095
|
client: z.ZodObject<{
|
|
1079
1096
|
id: z.ZodString;
|
|
1080
1097
|
name: z.ZodString;
|
|
1081
|
-
crn: z.ZodString
|
|
1098
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1082
1099
|
govLink: z.ZodString;
|
|
1100
|
+
soleTrader: z.ZodBoolean;
|
|
1083
1101
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1084
1102
|
director: z.ZodString;
|
|
1085
1103
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1089,15 +1107,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1089
1107
|
lastName: z.ZodString;
|
|
1090
1108
|
email: z.ZodString;
|
|
1091
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
email: string;
|
|
1093
1110
|
id: string;
|
|
1094
1111
|
firstName: string;
|
|
1095
1112
|
lastName: string;
|
|
1096
|
-
}, {
|
|
1097
1113
|
email: string;
|
|
1114
|
+
}, {
|
|
1098
1115
|
id: string;
|
|
1099
1116
|
firstName: string;
|
|
1100
1117
|
lastName: string;
|
|
1118
|
+
email: string;
|
|
1101
1119
|
}>>>;
|
|
1102
1120
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1103
1121
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1109,39 +1127,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1109
1127
|
agentId: string;
|
|
1110
1128
|
}>>>;
|
|
1111
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1112
|
-
name: string;
|
|
1113
|
-
createdAt: string;
|
|
1114
|
-
updatedAt: string;
|
|
1115
1130
|
id: string;
|
|
1116
1131
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1117
|
-
|
|
1132
|
+
name: string;
|
|
1133
|
+
crn: string | null;
|
|
1118
1134
|
govLink: string;
|
|
1135
|
+
soleTrader: boolean;
|
|
1119
1136
|
director: string;
|
|
1137
|
+
createdAt: string;
|
|
1138
|
+
updatedAt: string;
|
|
1120
1139
|
blacklistReason?: string | null | undefined;
|
|
1121
1140
|
lastUpdatedBy?: {
|
|
1122
|
-
email: string;
|
|
1123
1141
|
id: string;
|
|
1124
1142
|
firstName: string;
|
|
1125
1143
|
lastName: string;
|
|
1144
|
+
email: string;
|
|
1126
1145
|
} | null | undefined;
|
|
1127
1146
|
agentClientLinks?: {
|
|
1128
1147
|
agentId: string;
|
|
1129
1148
|
} | null | undefined;
|
|
1130
1149
|
}, {
|
|
1131
|
-
name: string;
|
|
1132
|
-
createdAt: string | Date;
|
|
1133
|
-
updatedAt: string | Date;
|
|
1134
1150
|
id: string;
|
|
1135
1151
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1136
|
-
|
|
1152
|
+
name: string;
|
|
1153
|
+
crn: string | null;
|
|
1137
1154
|
govLink: string;
|
|
1155
|
+
soleTrader: boolean;
|
|
1138
1156
|
director: string;
|
|
1157
|
+
createdAt: string | Date;
|
|
1158
|
+
updatedAt: string | Date;
|
|
1139
1159
|
blacklistReason?: string | null | undefined;
|
|
1140
1160
|
lastUpdatedBy?: {
|
|
1141
|
-
email: string;
|
|
1142
1161
|
id: string;
|
|
1143
1162
|
firstName: string;
|
|
1144
1163
|
lastName: string;
|
|
1164
|
+
email: string;
|
|
1145
1165
|
} | null | undefined;
|
|
1146
1166
|
agentClientLinks?: {
|
|
1147
1167
|
agentId: string;
|
|
@@ -1158,41 +1178,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1158
1178
|
lastName: z.ZodString;
|
|
1159
1179
|
email: z.ZodString;
|
|
1160
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
email: string;
|
|
1162
1181
|
id: string;
|
|
1163
1182
|
firstName: string;
|
|
1164
1183
|
lastName: string;
|
|
1165
|
-
}, {
|
|
1166
1184
|
email: string;
|
|
1185
|
+
}, {
|
|
1167
1186
|
id: string;
|
|
1168
1187
|
firstName: string;
|
|
1169
1188
|
lastName: string;
|
|
1189
|
+
email: string;
|
|
1170
1190
|
}>;
|
|
1171
1191
|
createdById: z.ZodString;
|
|
1172
1192
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1173
1193
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1174
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
|
|
1195
|
+
id: string;
|
|
1176
1196
|
email: string | null;
|
|
1197
|
+
name: string;
|
|
1177
1198
|
createdAt: string;
|
|
1178
1199
|
updatedAt: string;
|
|
1179
|
-
id: string;
|
|
1180
1200
|
clientId: string;
|
|
1181
1201
|
client: {
|
|
1182
|
-
name: string;
|
|
1183
|
-
createdAt: string;
|
|
1184
|
-
updatedAt: string;
|
|
1185
1202
|
id: string;
|
|
1186
1203
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1187
|
-
|
|
1204
|
+
name: string;
|
|
1205
|
+
crn: string | null;
|
|
1188
1206
|
govLink: string;
|
|
1207
|
+
soleTrader: boolean;
|
|
1189
1208
|
director: string;
|
|
1209
|
+
createdAt: string;
|
|
1210
|
+
updatedAt: string;
|
|
1190
1211
|
blacklistReason?: string | null | undefined;
|
|
1191
1212
|
lastUpdatedBy?: {
|
|
1192
|
-
email: string;
|
|
1193
1213
|
id: string;
|
|
1194
1214
|
firstName: string;
|
|
1195
1215
|
lastName: string;
|
|
1216
|
+
email: string;
|
|
1196
1217
|
} | null | undefined;
|
|
1197
1218
|
agentClientLinks?: {
|
|
1198
1219
|
agentId: string;
|
|
@@ -1200,36 +1221,37 @@ export declare const clientContactsContractRouter: {
|
|
|
1200
1221
|
};
|
|
1201
1222
|
phone: string;
|
|
1202
1223
|
createdBy: {
|
|
1203
|
-
email: string;
|
|
1204
1224
|
id: string;
|
|
1205
1225
|
firstName: string;
|
|
1206
1226
|
lastName: string;
|
|
1227
|
+
email: string;
|
|
1207
1228
|
};
|
|
1208
1229
|
createdById: string;
|
|
1209
1230
|
position?: string | undefined;
|
|
1210
1231
|
source?: string | undefined;
|
|
1211
1232
|
}, {
|
|
1212
|
-
|
|
1233
|
+
id: string;
|
|
1213
1234
|
email: string | null;
|
|
1235
|
+
name: string;
|
|
1214
1236
|
createdAt: string | Date;
|
|
1215
1237
|
updatedAt: string | Date;
|
|
1216
|
-
id: string;
|
|
1217
1238
|
clientId: string;
|
|
1218
1239
|
client: {
|
|
1219
|
-
name: string;
|
|
1220
|
-
createdAt: string | Date;
|
|
1221
|
-
updatedAt: string | Date;
|
|
1222
1240
|
id: string;
|
|
1223
1241
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1224
|
-
|
|
1242
|
+
name: string;
|
|
1243
|
+
crn: string | null;
|
|
1225
1244
|
govLink: string;
|
|
1245
|
+
soleTrader: boolean;
|
|
1226
1246
|
director: string;
|
|
1247
|
+
createdAt: string | Date;
|
|
1248
|
+
updatedAt: string | Date;
|
|
1227
1249
|
blacklistReason?: string | null | undefined;
|
|
1228
1250
|
lastUpdatedBy?: {
|
|
1229
|
-
email: string;
|
|
1230
1251
|
id: string;
|
|
1231
1252
|
firstName: string;
|
|
1232
1253
|
lastName: string;
|
|
1254
|
+
email: string;
|
|
1233
1255
|
} | null | undefined;
|
|
1234
1256
|
agentClientLinks?: {
|
|
1235
1257
|
agentId: string;
|
|
@@ -1237,10 +1259,10 @@ export declare const clientContactsContractRouter: {
|
|
|
1237
1259
|
};
|
|
1238
1260
|
phone: string;
|
|
1239
1261
|
createdBy: {
|
|
1240
|
-
email: string;
|
|
1241
1262
|
id: string;
|
|
1242
1263
|
firstName: string;
|
|
1243
1264
|
lastName: string;
|
|
1265
|
+
email: string;
|
|
1244
1266
|
};
|
|
1245
1267
|
createdById: string;
|
|
1246
1268
|
position?: string | undefined;
|
|
@@ -1293,27 +1315,27 @@ export declare const clientContactsContractRouter: {
|
|
|
1293
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1294
1316
|
limit: number;
|
|
1295
1317
|
page: number;
|
|
1296
|
-
sortBy: "
|
|
1318
|
+
sortBy: "email" | "name" | "createdAt" | "updatedAt" | "position";
|
|
1297
1319
|
sortOrder: "ASC" | "DESC";
|
|
1320
|
+
email?: string | undefined;
|
|
1298
1321
|
name?: string | undefined;
|
|
1299
1322
|
position?: string | undefined;
|
|
1300
|
-
email?: string | undefined;
|
|
1301
1323
|
clientId?: string | undefined;
|
|
1302
1324
|
phone?: string | undefined;
|
|
1303
1325
|
source?: string | undefined;
|
|
1304
1326
|
createdById?: string | undefined;
|
|
1305
1327
|
}, {
|
|
1328
|
+
email?: string | undefined;
|
|
1306
1329
|
name?: string | undefined;
|
|
1330
|
+
limit?: number | undefined;
|
|
1331
|
+
page?: number | undefined;
|
|
1332
|
+
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1333
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1307
1334
|
position?: string | undefined;
|
|
1308
|
-
email?: string | undefined;
|
|
1309
1335
|
clientId?: string | undefined;
|
|
1310
1336
|
phone?: string | undefined;
|
|
1311
1337
|
source?: string | undefined;
|
|
1312
1338
|
createdById?: string | undefined;
|
|
1313
|
-
limit?: number | undefined;
|
|
1314
|
-
page?: number | undefined;
|
|
1315
|
-
sortBy?: "name" | "position" | "email" | "createdAt" | "updatedAt" | undefined;
|
|
1316
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1317
1339
|
}>;
|
|
1318
1340
|
summary: "Get all client contacts";
|
|
1319
1341
|
method: "GET";
|
|
@@ -1426,8 +1448,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1426
1448
|
client: z.ZodObject<{
|
|
1427
1449
|
id: z.ZodString;
|
|
1428
1450
|
name: z.ZodString;
|
|
1429
|
-
crn: z.ZodString
|
|
1451
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1430
1452
|
govLink: z.ZodString;
|
|
1453
|
+
soleTrader: z.ZodBoolean;
|
|
1431
1454
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1432
1455
|
director: z.ZodString;
|
|
1433
1456
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1437,15 +1460,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1437
1460
|
lastName: z.ZodString;
|
|
1438
1461
|
email: z.ZodString;
|
|
1439
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1440
|
-
email: string;
|
|
1441
1463
|
id: string;
|
|
1442
1464
|
firstName: string;
|
|
1443
1465
|
lastName: string;
|
|
1444
|
-
}, {
|
|
1445
1466
|
email: string;
|
|
1467
|
+
}, {
|
|
1446
1468
|
id: string;
|
|
1447
1469
|
firstName: string;
|
|
1448
1470
|
lastName: string;
|
|
1471
|
+
email: string;
|
|
1449
1472
|
}>>>;
|
|
1450
1473
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1451
1474
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1457,39 +1480,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1457
1480
|
agentId: string;
|
|
1458
1481
|
}>>>;
|
|
1459
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1460
|
-
name: string;
|
|
1461
|
-
createdAt: string;
|
|
1462
|
-
updatedAt: string;
|
|
1463
1483
|
id: string;
|
|
1464
1484
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1465
|
-
|
|
1485
|
+
name: string;
|
|
1486
|
+
crn: string | null;
|
|
1466
1487
|
govLink: string;
|
|
1488
|
+
soleTrader: boolean;
|
|
1467
1489
|
director: string;
|
|
1490
|
+
createdAt: string;
|
|
1491
|
+
updatedAt: string;
|
|
1468
1492
|
blacklistReason?: string | null | undefined;
|
|
1469
1493
|
lastUpdatedBy?: {
|
|
1470
|
-
email: string;
|
|
1471
1494
|
id: string;
|
|
1472
1495
|
firstName: string;
|
|
1473
1496
|
lastName: string;
|
|
1497
|
+
email: string;
|
|
1474
1498
|
} | null | undefined;
|
|
1475
1499
|
agentClientLinks?: {
|
|
1476
1500
|
agentId: string;
|
|
1477
1501
|
} | null | undefined;
|
|
1478
1502
|
}, {
|
|
1479
|
-
name: string;
|
|
1480
|
-
createdAt: string | Date;
|
|
1481
|
-
updatedAt: string | Date;
|
|
1482
1503
|
id: string;
|
|
1483
1504
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1484
|
-
|
|
1505
|
+
name: string;
|
|
1506
|
+
crn: string | null;
|
|
1485
1507
|
govLink: string;
|
|
1508
|
+
soleTrader: boolean;
|
|
1486
1509
|
director: string;
|
|
1510
|
+
createdAt: string | Date;
|
|
1511
|
+
updatedAt: string | Date;
|
|
1487
1512
|
blacklistReason?: string | null | undefined;
|
|
1488
1513
|
lastUpdatedBy?: {
|
|
1489
|
-
email: string;
|
|
1490
1514
|
id: string;
|
|
1491
1515
|
firstName: string;
|
|
1492
1516
|
lastName: string;
|
|
1517
|
+
email: string;
|
|
1493
1518
|
} | null | undefined;
|
|
1494
1519
|
agentClientLinks?: {
|
|
1495
1520
|
agentId: string;
|
|
@@ -1506,41 +1531,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1506
1531
|
lastName: z.ZodString;
|
|
1507
1532
|
email: z.ZodString;
|
|
1508
1533
|
}, "strip", z.ZodTypeAny, {
|
|
1509
|
-
email: string;
|
|
1510
1534
|
id: string;
|
|
1511
1535
|
firstName: string;
|
|
1512
1536
|
lastName: string;
|
|
1513
|
-
}, {
|
|
1514
1537
|
email: string;
|
|
1538
|
+
}, {
|
|
1515
1539
|
id: string;
|
|
1516
1540
|
firstName: string;
|
|
1517
1541
|
lastName: string;
|
|
1542
|
+
email: string;
|
|
1518
1543
|
}>;
|
|
1519
1544
|
createdById: z.ZodString;
|
|
1520
1545
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1521
1546
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1522
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1523
|
-
|
|
1548
|
+
id: string;
|
|
1524
1549
|
email: string | null;
|
|
1550
|
+
name: string;
|
|
1525
1551
|
createdAt: string;
|
|
1526
1552
|
updatedAt: string;
|
|
1527
|
-
id: string;
|
|
1528
1553
|
clientId: string;
|
|
1529
1554
|
client: {
|
|
1530
|
-
name: string;
|
|
1531
|
-
createdAt: string;
|
|
1532
|
-
updatedAt: string;
|
|
1533
1555
|
id: string;
|
|
1534
1556
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1535
|
-
|
|
1557
|
+
name: string;
|
|
1558
|
+
crn: string | null;
|
|
1536
1559
|
govLink: string;
|
|
1560
|
+
soleTrader: boolean;
|
|
1537
1561
|
director: string;
|
|
1562
|
+
createdAt: string;
|
|
1563
|
+
updatedAt: string;
|
|
1538
1564
|
blacklistReason?: string | null | undefined;
|
|
1539
1565
|
lastUpdatedBy?: {
|
|
1540
|
-
email: string;
|
|
1541
1566
|
id: string;
|
|
1542
1567
|
firstName: string;
|
|
1543
1568
|
lastName: string;
|
|
1569
|
+
email: string;
|
|
1544
1570
|
} | null | undefined;
|
|
1545
1571
|
agentClientLinks?: {
|
|
1546
1572
|
agentId: string;
|
|
@@ -1548,36 +1574,37 @@ export declare const clientContactsContractRouter: {
|
|
|
1548
1574
|
};
|
|
1549
1575
|
phone: string;
|
|
1550
1576
|
createdBy: {
|
|
1551
|
-
email: string;
|
|
1552
1577
|
id: string;
|
|
1553
1578
|
firstName: string;
|
|
1554
1579
|
lastName: string;
|
|
1580
|
+
email: string;
|
|
1555
1581
|
};
|
|
1556
1582
|
createdById: string;
|
|
1557
1583
|
position?: string | undefined;
|
|
1558
1584
|
source?: string | undefined;
|
|
1559
1585
|
}, {
|
|
1560
|
-
|
|
1586
|
+
id: string;
|
|
1561
1587
|
email: string | null;
|
|
1588
|
+
name: string;
|
|
1562
1589
|
createdAt: string | Date;
|
|
1563
1590
|
updatedAt: string | Date;
|
|
1564
|
-
id: string;
|
|
1565
1591
|
clientId: string;
|
|
1566
1592
|
client: {
|
|
1567
|
-
name: string;
|
|
1568
|
-
createdAt: string | Date;
|
|
1569
|
-
updatedAt: string | Date;
|
|
1570
1593
|
id: string;
|
|
1571
1594
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1572
|
-
|
|
1595
|
+
name: string;
|
|
1596
|
+
crn: string | null;
|
|
1573
1597
|
govLink: string;
|
|
1598
|
+
soleTrader: boolean;
|
|
1574
1599
|
director: string;
|
|
1600
|
+
createdAt: string | Date;
|
|
1601
|
+
updatedAt: string | Date;
|
|
1575
1602
|
blacklistReason?: string | null | undefined;
|
|
1576
1603
|
lastUpdatedBy?: {
|
|
1577
|
-
email: string;
|
|
1578
1604
|
id: string;
|
|
1579
1605
|
firstName: string;
|
|
1580
1606
|
lastName: string;
|
|
1607
|
+
email: string;
|
|
1581
1608
|
} | null | undefined;
|
|
1582
1609
|
agentClientLinks?: {
|
|
1583
1610
|
agentId: string;
|
|
@@ -1585,10 +1612,10 @@ export declare const clientContactsContractRouter: {
|
|
|
1585
1612
|
};
|
|
1586
1613
|
phone: string;
|
|
1587
1614
|
createdBy: {
|
|
1588
|
-
email: string;
|
|
1589
1615
|
id: string;
|
|
1590
1616
|
firstName: string;
|
|
1591
1617
|
lastName: string;
|
|
1618
|
+
email: string;
|
|
1592
1619
|
};
|
|
1593
1620
|
createdById: string;
|
|
1594
1621
|
position?: string | undefined;
|
|
@@ -1602,27 +1629,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1602
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1603
1630
|
limit: number;
|
|
1604
1631
|
items: {
|
|
1605
|
-
|
|
1632
|
+
id: string;
|
|
1606
1633
|
email: string | null;
|
|
1634
|
+
name: string;
|
|
1607
1635
|
createdAt: string;
|
|
1608
1636
|
updatedAt: string;
|
|
1609
|
-
id: string;
|
|
1610
1637
|
clientId: string;
|
|
1611
1638
|
client: {
|
|
1612
|
-
name: string;
|
|
1613
|
-
createdAt: string;
|
|
1614
|
-
updatedAt: string;
|
|
1615
1639
|
id: string;
|
|
1616
1640
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1617
|
-
|
|
1641
|
+
name: string;
|
|
1642
|
+
crn: string | null;
|
|
1618
1643
|
govLink: string;
|
|
1644
|
+
soleTrader: boolean;
|
|
1619
1645
|
director: string;
|
|
1646
|
+
createdAt: string;
|
|
1647
|
+
updatedAt: string;
|
|
1620
1648
|
blacklistReason?: string | null | undefined;
|
|
1621
1649
|
lastUpdatedBy?: {
|
|
1622
|
-
email: string;
|
|
1623
1650
|
id: string;
|
|
1624
1651
|
firstName: string;
|
|
1625
1652
|
lastName: string;
|
|
1653
|
+
email: string;
|
|
1626
1654
|
} | null | undefined;
|
|
1627
1655
|
agentClientLinks?: {
|
|
1628
1656
|
agentId: string;
|
|
@@ -1630,10 +1658,10 @@ export declare const clientContactsContractRouter: {
|
|
|
1630
1658
|
};
|
|
1631
1659
|
phone: string;
|
|
1632
1660
|
createdBy: {
|
|
1633
|
-
email: string;
|
|
1634
1661
|
id: string;
|
|
1635
1662
|
firstName: string;
|
|
1636
1663
|
lastName: string;
|
|
1664
|
+
email: string;
|
|
1637
1665
|
};
|
|
1638
1666
|
createdById: string;
|
|
1639
1667
|
position?: string | undefined;
|
|
@@ -1646,27 +1674,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1646
1674
|
}, {
|
|
1647
1675
|
limit: number;
|
|
1648
1676
|
items: {
|
|
1649
|
-
|
|
1677
|
+
id: string;
|
|
1650
1678
|
email: string | null;
|
|
1679
|
+
name: string;
|
|
1651
1680
|
createdAt: string | Date;
|
|
1652
1681
|
updatedAt: string | Date;
|
|
1653
|
-
id: string;
|
|
1654
1682
|
clientId: string;
|
|
1655
1683
|
client: {
|
|
1656
|
-
name: string;
|
|
1657
|
-
createdAt: string | Date;
|
|
1658
|
-
updatedAt: string | Date;
|
|
1659
1684
|
id: string;
|
|
1660
1685
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1661
|
-
|
|
1686
|
+
name: string;
|
|
1687
|
+
crn: string | null;
|
|
1662
1688
|
govLink: string;
|
|
1689
|
+
soleTrader: boolean;
|
|
1663
1690
|
director: string;
|
|
1691
|
+
createdAt: string | Date;
|
|
1692
|
+
updatedAt: string | Date;
|
|
1664
1693
|
blacklistReason?: string | null | undefined;
|
|
1665
1694
|
lastUpdatedBy?: {
|
|
1666
|
-
email: string;
|
|
1667
1695
|
id: string;
|
|
1668
1696
|
firstName: string;
|
|
1669
1697
|
lastName: string;
|
|
1698
|
+
email: string;
|
|
1670
1699
|
} | null | undefined;
|
|
1671
1700
|
agentClientLinks?: {
|
|
1672
1701
|
agentId: string;
|
|
@@ -1674,10 +1703,10 @@ export declare const clientContactsContractRouter: {
|
|
|
1674
1703
|
};
|
|
1675
1704
|
phone: string;
|
|
1676
1705
|
createdBy: {
|
|
1677
|
-
email: string;
|
|
1678
1706
|
id: string;
|
|
1679
1707
|
firstName: string;
|
|
1680
1708
|
lastName: string;
|
|
1709
|
+
email: string;
|
|
1681
1710
|
};
|
|
1682
1711
|
createdById: string;
|
|
1683
1712
|
position?: string | undefined;
|
|
@@ -1811,8 +1840,9 @@ export declare const clientContactsContractRouter: {
|
|
|
1811
1840
|
client: z.ZodObject<{
|
|
1812
1841
|
id: z.ZodString;
|
|
1813
1842
|
name: z.ZodString;
|
|
1814
|
-
crn: z.ZodString
|
|
1843
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1815
1844
|
govLink: z.ZodString;
|
|
1845
|
+
soleTrader: z.ZodBoolean;
|
|
1816
1846
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1817
1847
|
director: z.ZodString;
|
|
1818
1848
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1822,15 +1852,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1822
1852
|
lastName: z.ZodString;
|
|
1823
1853
|
email: z.ZodString;
|
|
1824
1854
|
}, "strip", z.ZodTypeAny, {
|
|
1825
|
-
email: string;
|
|
1826
1855
|
id: string;
|
|
1827
1856
|
firstName: string;
|
|
1828
1857
|
lastName: string;
|
|
1829
|
-
}, {
|
|
1830
1858
|
email: string;
|
|
1859
|
+
}, {
|
|
1831
1860
|
id: string;
|
|
1832
1861
|
firstName: string;
|
|
1833
1862
|
lastName: string;
|
|
1863
|
+
email: string;
|
|
1834
1864
|
}>>>;
|
|
1835
1865
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1836
1866
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1842,39 +1872,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1842
1872
|
agentId: string;
|
|
1843
1873
|
}>>>;
|
|
1844
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1845
|
-
name: string;
|
|
1846
|
-
createdAt: string;
|
|
1847
|
-
updatedAt: string;
|
|
1848
1875
|
id: string;
|
|
1849
1876
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1850
|
-
|
|
1877
|
+
name: string;
|
|
1878
|
+
crn: string | null;
|
|
1851
1879
|
govLink: string;
|
|
1880
|
+
soleTrader: boolean;
|
|
1852
1881
|
director: string;
|
|
1882
|
+
createdAt: string;
|
|
1883
|
+
updatedAt: string;
|
|
1853
1884
|
blacklistReason?: string | null | undefined;
|
|
1854
1885
|
lastUpdatedBy?: {
|
|
1855
|
-
email: string;
|
|
1856
1886
|
id: string;
|
|
1857
1887
|
firstName: string;
|
|
1858
1888
|
lastName: string;
|
|
1889
|
+
email: string;
|
|
1859
1890
|
} | null | undefined;
|
|
1860
1891
|
agentClientLinks?: {
|
|
1861
1892
|
agentId: string;
|
|
1862
1893
|
} | null | undefined;
|
|
1863
1894
|
}, {
|
|
1864
|
-
name: string;
|
|
1865
|
-
createdAt: string | Date;
|
|
1866
|
-
updatedAt: string | Date;
|
|
1867
1895
|
id: string;
|
|
1868
1896
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1869
|
-
|
|
1897
|
+
name: string;
|
|
1898
|
+
crn: string | null;
|
|
1870
1899
|
govLink: string;
|
|
1900
|
+
soleTrader: boolean;
|
|
1871
1901
|
director: string;
|
|
1902
|
+
createdAt: string | Date;
|
|
1903
|
+
updatedAt: string | Date;
|
|
1872
1904
|
blacklistReason?: string | null | undefined;
|
|
1873
1905
|
lastUpdatedBy?: {
|
|
1874
|
-
email: string;
|
|
1875
1906
|
id: string;
|
|
1876
1907
|
firstName: string;
|
|
1877
1908
|
lastName: string;
|
|
1909
|
+
email: string;
|
|
1878
1910
|
} | null | undefined;
|
|
1879
1911
|
agentClientLinks?: {
|
|
1880
1912
|
agentId: string;
|
|
@@ -1891,41 +1923,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1891
1923
|
lastName: z.ZodString;
|
|
1892
1924
|
email: z.ZodString;
|
|
1893
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
email: string;
|
|
1895
1926
|
id: string;
|
|
1896
1927
|
firstName: string;
|
|
1897
1928
|
lastName: string;
|
|
1898
|
-
}, {
|
|
1899
1929
|
email: string;
|
|
1930
|
+
}, {
|
|
1900
1931
|
id: string;
|
|
1901
1932
|
firstName: string;
|
|
1902
1933
|
lastName: string;
|
|
1934
|
+
email: string;
|
|
1903
1935
|
}>;
|
|
1904
1936
|
createdById: z.ZodString;
|
|
1905
1937
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1906
1938
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1907
1939
|
}, "strip", z.ZodTypeAny, {
|
|
1908
|
-
|
|
1940
|
+
id: string;
|
|
1909
1941
|
email: string | null;
|
|
1942
|
+
name: string;
|
|
1910
1943
|
createdAt: string;
|
|
1911
1944
|
updatedAt: string;
|
|
1912
|
-
id: string;
|
|
1913
1945
|
clientId: string;
|
|
1914
1946
|
client: {
|
|
1915
|
-
name: string;
|
|
1916
|
-
createdAt: string;
|
|
1917
|
-
updatedAt: string;
|
|
1918
1947
|
id: string;
|
|
1919
1948
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1920
|
-
|
|
1949
|
+
name: string;
|
|
1950
|
+
crn: string | null;
|
|
1921
1951
|
govLink: string;
|
|
1952
|
+
soleTrader: boolean;
|
|
1922
1953
|
director: string;
|
|
1954
|
+
createdAt: string;
|
|
1955
|
+
updatedAt: string;
|
|
1923
1956
|
blacklistReason?: string | null | undefined;
|
|
1924
1957
|
lastUpdatedBy?: {
|
|
1925
|
-
email: string;
|
|
1926
1958
|
id: string;
|
|
1927
1959
|
firstName: string;
|
|
1928
1960
|
lastName: string;
|
|
1961
|
+
email: string;
|
|
1929
1962
|
} | null | undefined;
|
|
1930
1963
|
agentClientLinks?: {
|
|
1931
1964
|
agentId: string;
|
|
@@ -1933,36 +1966,37 @@ export declare const clientContactsContractRouter: {
|
|
|
1933
1966
|
};
|
|
1934
1967
|
phone: string;
|
|
1935
1968
|
createdBy: {
|
|
1936
|
-
email: string;
|
|
1937
1969
|
id: string;
|
|
1938
1970
|
firstName: string;
|
|
1939
1971
|
lastName: string;
|
|
1972
|
+
email: string;
|
|
1940
1973
|
};
|
|
1941
1974
|
createdById: string;
|
|
1942
1975
|
position?: string | undefined;
|
|
1943
1976
|
source?: string | undefined;
|
|
1944
1977
|
}, {
|
|
1945
|
-
|
|
1978
|
+
id: string;
|
|
1946
1979
|
email: string | null;
|
|
1980
|
+
name: string;
|
|
1947
1981
|
createdAt: string | Date;
|
|
1948
1982
|
updatedAt: string | Date;
|
|
1949
|
-
id: string;
|
|
1950
1983
|
clientId: string;
|
|
1951
1984
|
client: {
|
|
1952
|
-
name: string;
|
|
1953
|
-
createdAt: string | Date;
|
|
1954
|
-
updatedAt: string | Date;
|
|
1955
1985
|
id: string;
|
|
1956
1986
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1957
|
-
|
|
1987
|
+
name: string;
|
|
1988
|
+
crn: string | null;
|
|
1958
1989
|
govLink: string;
|
|
1990
|
+
soleTrader: boolean;
|
|
1959
1991
|
director: string;
|
|
1992
|
+
createdAt: string | Date;
|
|
1993
|
+
updatedAt: string | Date;
|
|
1960
1994
|
blacklistReason?: string | null | undefined;
|
|
1961
1995
|
lastUpdatedBy?: {
|
|
1962
|
-
email: string;
|
|
1963
1996
|
id: string;
|
|
1964
1997
|
firstName: string;
|
|
1965
1998
|
lastName: string;
|
|
1999
|
+
email: string;
|
|
1966
2000
|
} | null | undefined;
|
|
1967
2001
|
agentClientLinks?: {
|
|
1968
2002
|
agentId: string;
|
|
@@ -1970,10 +2004,10 @@ export declare const clientContactsContractRouter: {
|
|
|
1970
2004
|
};
|
|
1971
2005
|
phone: string;
|
|
1972
2006
|
createdBy: {
|
|
1973
|
-
email: string;
|
|
1974
2007
|
id: string;
|
|
1975
2008
|
firstName: string;
|
|
1976
2009
|
lastName: string;
|
|
2010
|
+
email: string;
|
|
1977
2011
|
};
|
|
1978
2012
|
createdById: string;
|
|
1979
2013
|
position?: string | undefined;
|
|
@@ -2033,15 +2067,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2033
2067
|
email: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
|
|
2034
2068
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2035
2069
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2070
|
+
email?: string | undefined;
|
|
2036
2071
|
name?: string | undefined;
|
|
2037
2072
|
position?: string | undefined;
|
|
2038
|
-
email?: string | undefined;
|
|
2039
2073
|
phone?: string | undefined;
|
|
2040
2074
|
source?: string | undefined;
|
|
2041
2075
|
}, {
|
|
2076
|
+
email?: string | undefined;
|
|
2042
2077
|
name?: string | undefined;
|
|
2043
2078
|
position?: string | undefined;
|
|
2044
|
-
email?: string | undefined;
|
|
2045
2079
|
phone?: string | undefined;
|
|
2046
2080
|
source?: string | undefined;
|
|
2047
2081
|
}>;
|
|
@@ -2153,8 +2187,9 @@ export declare const clientContactsContractRouter: {
|
|
|
2153
2187
|
client: z.ZodObject<{
|
|
2154
2188
|
id: z.ZodString;
|
|
2155
2189
|
name: z.ZodString;
|
|
2156
|
-
crn: z.ZodString
|
|
2190
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2157
2191
|
govLink: z.ZodString;
|
|
2192
|
+
soleTrader: z.ZodBoolean;
|
|
2158
2193
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2159
2194
|
director: z.ZodString;
|
|
2160
2195
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2164,15 +2199,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2164
2199
|
lastName: z.ZodString;
|
|
2165
2200
|
email: z.ZodString;
|
|
2166
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2167
|
-
email: string;
|
|
2168
2202
|
id: string;
|
|
2169
2203
|
firstName: string;
|
|
2170
2204
|
lastName: string;
|
|
2171
|
-
}, {
|
|
2172
2205
|
email: string;
|
|
2206
|
+
}, {
|
|
2173
2207
|
id: string;
|
|
2174
2208
|
firstName: string;
|
|
2175
2209
|
lastName: string;
|
|
2210
|
+
email: string;
|
|
2176
2211
|
}>>>;
|
|
2177
2212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2178
2213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2184,39 +2219,41 @@ export declare const clientContactsContractRouter: {
|
|
|
2184
2219
|
agentId: string;
|
|
2185
2220
|
}>>>;
|
|
2186
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2187
|
-
name: string;
|
|
2188
|
-
createdAt: string;
|
|
2189
|
-
updatedAt: string;
|
|
2190
2222
|
id: string;
|
|
2191
2223
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2192
|
-
|
|
2224
|
+
name: string;
|
|
2225
|
+
crn: string | null;
|
|
2193
2226
|
govLink: string;
|
|
2227
|
+
soleTrader: boolean;
|
|
2194
2228
|
director: string;
|
|
2229
|
+
createdAt: string;
|
|
2230
|
+
updatedAt: string;
|
|
2195
2231
|
blacklistReason?: string | null | undefined;
|
|
2196
2232
|
lastUpdatedBy?: {
|
|
2197
|
-
email: string;
|
|
2198
2233
|
id: string;
|
|
2199
2234
|
firstName: string;
|
|
2200
2235
|
lastName: string;
|
|
2236
|
+
email: string;
|
|
2201
2237
|
} | null | undefined;
|
|
2202
2238
|
agentClientLinks?: {
|
|
2203
2239
|
agentId: string;
|
|
2204
2240
|
} | null | undefined;
|
|
2205
2241
|
}, {
|
|
2206
|
-
name: string;
|
|
2207
|
-
createdAt: string | Date;
|
|
2208
|
-
updatedAt: string | Date;
|
|
2209
2242
|
id: string;
|
|
2210
2243
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2211
|
-
|
|
2244
|
+
name: string;
|
|
2245
|
+
crn: string | null;
|
|
2212
2246
|
govLink: string;
|
|
2247
|
+
soleTrader: boolean;
|
|
2213
2248
|
director: string;
|
|
2249
|
+
createdAt: string | Date;
|
|
2250
|
+
updatedAt: string | Date;
|
|
2214
2251
|
blacklistReason?: string | null | undefined;
|
|
2215
2252
|
lastUpdatedBy?: {
|
|
2216
|
-
email: string;
|
|
2217
2253
|
id: string;
|
|
2218
2254
|
firstName: string;
|
|
2219
2255
|
lastName: string;
|
|
2256
|
+
email: string;
|
|
2220
2257
|
} | null | undefined;
|
|
2221
2258
|
agentClientLinks?: {
|
|
2222
2259
|
agentId: string;
|
|
@@ -2233,41 +2270,42 @@ export declare const clientContactsContractRouter: {
|
|
|
2233
2270
|
lastName: z.ZodString;
|
|
2234
2271
|
email: z.ZodString;
|
|
2235
2272
|
}, "strip", z.ZodTypeAny, {
|
|
2236
|
-
email: string;
|
|
2237
2273
|
id: string;
|
|
2238
2274
|
firstName: string;
|
|
2239
2275
|
lastName: string;
|
|
2240
|
-
}, {
|
|
2241
2276
|
email: string;
|
|
2277
|
+
}, {
|
|
2242
2278
|
id: string;
|
|
2243
2279
|
firstName: string;
|
|
2244
2280
|
lastName: string;
|
|
2281
|
+
email: string;
|
|
2245
2282
|
}>;
|
|
2246
2283
|
createdById: z.ZodString;
|
|
2247
2284
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2248
2285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2249
2286
|
}, "strip", z.ZodTypeAny, {
|
|
2250
|
-
|
|
2287
|
+
id: string;
|
|
2251
2288
|
email: string | null;
|
|
2289
|
+
name: string;
|
|
2252
2290
|
createdAt: string;
|
|
2253
2291
|
updatedAt: string;
|
|
2254
|
-
id: string;
|
|
2255
2292
|
clientId: string;
|
|
2256
2293
|
client: {
|
|
2257
|
-
name: string;
|
|
2258
|
-
createdAt: string;
|
|
2259
|
-
updatedAt: string;
|
|
2260
2294
|
id: string;
|
|
2261
2295
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2262
|
-
|
|
2296
|
+
name: string;
|
|
2297
|
+
crn: string | null;
|
|
2263
2298
|
govLink: string;
|
|
2299
|
+
soleTrader: boolean;
|
|
2264
2300
|
director: string;
|
|
2301
|
+
createdAt: string;
|
|
2302
|
+
updatedAt: string;
|
|
2265
2303
|
blacklistReason?: string | null | undefined;
|
|
2266
2304
|
lastUpdatedBy?: {
|
|
2267
|
-
email: string;
|
|
2268
2305
|
id: string;
|
|
2269
2306
|
firstName: string;
|
|
2270
2307
|
lastName: string;
|
|
2308
|
+
email: string;
|
|
2271
2309
|
} | null | undefined;
|
|
2272
2310
|
agentClientLinks?: {
|
|
2273
2311
|
agentId: string;
|
|
@@ -2275,36 +2313,37 @@ export declare const clientContactsContractRouter: {
|
|
|
2275
2313
|
};
|
|
2276
2314
|
phone: string;
|
|
2277
2315
|
createdBy: {
|
|
2278
|
-
email: string;
|
|
2279
2316
|
id: string;
|
|
2280
2317
|
firstName: string;
|
|
2281
2318
|
lastName: string;
|
|
2319
|
+
email: string;
|
|
2282
2320
|
};
|
|
2283
2321
|
createdById: string;
|
|
2284
2322
|
position?: string | undefined;
|
|
2285
2323
|
source?: string | undefined;
|
|
2286
2324
|
}, {
|
|
2287
|
-
|
|
2325
|
+
id: string;
|
|
2288
2326
|
email: string | null;
|
|
2327
|
+
name: string;
|
|
2289
2328
|
createdAt: string | Date;
|
|
2290
2329
|
updatedAt: string | Date;
|
|
2291
|
-
id: string;
|
|
2292
2330
|
clientId: string;
|
|
2293
2331
|
client: {
|
|
2294
|
-
name: string;
|
|
2295
|
-
createdAt: string | Date;
|
|
2296
|
-
updatedAt: string | Date;
|
|
2297
2332
|
id: string;
|
|
2298
2333
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2299
|
-
|
|
2334
|
+
name: string;
|
|
2335
|
+
crn: string | null;
|
|
2300
2336
|
govLink: string;
|
|
2337
|
+
soleTrader: boolean;
|
|
2301
2338
|
director: string;
|
|
2339
|
+
createdAt: string | Date;
|
|
2340
|
+
updatedAt: string | Date;
|
|
2302
2341
|
blacklistReason?: string | null | undefined;
|
|
2303
2342
|
lastUpdatedBy?: {
|
|
2304
|
-
email: string;
|
|
2305
2343
|
id: string;
|
|
2306
2344
|
firstName: string;
|
|
2307
2345
|
lastName: string;
|
|
2346
|
+
email: string;
|
|
2308
2347
|
} | null | undefined;
|
|
2309
2348
|
agentClientLinks?: {
|
|
2310
2349
|
agentId: string;
|
|
@@ -2312,10 +2351,10 @@ export declare const clientContactsContractRouter: {
|
|
|
2312
2351
|
};
|
|
2313
2352
|
phone: string;
|
|
2314
2353
|
createdBy: {
|
|
2315
|
-
email: string;
|
|
2316
2354
|
id: string;
|
|
2317
2355
|
firstName: string;
|
|
2318
2356
|
lastName: string;
|
|
2357
|
+
email: string;
|
|
2319
2358
|
};
|
|
2320
2359
|
createdById: string;
|
|
2321
2360
|
position?: string | undefined;
|