@dakkitor/api-contracts 1.1.4 → 1.1.5
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/client-contacts/client-contacts.contract.d.ts +187 -187
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +12 -6
- package/dist/clients/clients.contract.d.ts +153 -93
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +67 -19
- package/dist/common/api-responses.d.ts +105 -0
- package/dist/common/api-responses.d.ts.map +1 -0
- package/dist/common/api-responses.js +107 -0
- package/dist/common/error-schemas.d.ts.map +1 -1
- package/dist/common/error-schemas.js +6 -2
- package/dist/common/openapi-metadata.d.ts +65 -0
- package/dist/common/openapi-metadata.d.ts.map +1 -0
- package/dist/common/openapi-metadata.js +155 -0
- package/dist/index.d.ts +212 -181
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/package.json +7 -5
|
@@ -54,19 +54,19 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
54
54
|
}>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
57
|
-
id: string;
|
|
58
57
|
name: string;
|
|
58
|
+
director: string;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
61
|
+
id: string;
|
|
59
62
|
crn: string;
|
|
60
63
|
govLink: string;
|
|
61
|
-
director: string;
|
|
62
64
|
lastUpdatedBy: {
|
|
63
65
|
id: string;
|
|
64
66
|
firstName: string;
|
|
65
67
|
lastName: string;
|
|
66
68
|
email: string;
|
|
67
69
|
};
|
|
68
|
-
createdAt: string;
|
|
69
|
-
updatedAt: string;
|
|
70
70
|
version: number;
|
|
71
71
|
agentClientLinks: {
|
|
72
72
|
agentId: string;
|
|
@@ -74,19 +74,19 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
74
74
|
blacklistReason?: string | null | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
77
|
-
id: string;
|
|
78
77
|
name: string;
|
|
78
|
+
director: string;
|
|
79
|
+
createdAt: string;
|
|
80
|
+
updatedAt: string;
|
|
81
|
+
id: string;
|
|
79
82
|
crn: string;
|
|
80
83
|
govLink: string;
|
|
81
|
-
director: string;
|
|
82
84
|
lastUpdatedBy: {
|
|
83
85
|
id: string;
|
|
84
86
|
firstName: string;
|
|
85
87
|
lastName: string;
|
|
86
88
|
email: string;
|
|
87
89
|
};
|
|
88
|
-
createdAt: string;
|
|
89
|
-
updatedAt: string;
|
|
90
90
|
version: number;
|
|
91
91
|
agentClientLinks: {
|
|
92
92
|
agentId: string;
|
|
@@ -118,28 +118,28 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
118
118
|
updatedAt: z.ZodString;
|
|
119
119
|
version: z.ZodNumber;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
id: string;
|
|
122
|
-
email: string;
|
|
123
121
|
name: string;
|
|
124
122
|
createdAt: string;
|
|
125
123
|
updatedAt: string;
|
|
124
|
+
id: string;
|
|
125
|
+
email: string;
|
|
126
126
|
version: number;
|
|
127
127
|
clientId: string;
|
|
128
128
|
client: {
|
|
129
129
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
130
|
-
id: string;
|
|
131
130
|
name: string;
|
|
131
|
+
director: string;
|
|
132
|
+
createdAt: string;
|
|
133
|
+
updatedAt: string;
|
|
134
|
+
id: string;
|
|
132
135
|
crn: string;
|
|
133
136
|
govLink: string;
|
|
134
|
-
director: string;
|
|
135
137
|
lastUpdatedBy: {
|
|
136
138
|
id: string;
|
|
137
139
|
firstName: string;
|
|
138
140
|
lastName: string;
|
|
139
141
|
email: string;
|
|
140
142
|
};
|
|
141
|
-
createdAt: string;
|
|
142
|
-
updatedAt: string;
|
|
143
143
|
version: number;
|
|
144
144
|
agentClientLinks: {
|
|
145
145
|
agentId: string;
|
|
@@ -156,28 +156,28 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
156
156
|
position?: string | undefined;
|
|
157
157
|
source?: string | undefined;
|
|
158
158
|
}, {
|
|
159
|
-
id: string;
|
|
160
|
-
email: string;
|
|
161
159
|
name: string;
|
|
162
160
|
createdAt: string;
|
|
163
161
|
updatedAt: string;
|
|
162
|
+
id: string;
|
|
163
|
+
email: string;
|
|
164
164
|
version: number;
|
|
165
165
|
clientId: string;
|
|
166
166
|
client: {
|
|
167
167
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
168
|
-
id: string;
|
|
169
168
|
name: string;
|
|
169
|
+
director: string;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
updatedAt: string;
|
|
172
|
+
id: string;
|
|
170
173
|
crn: string;
|
|
171
174
|
govLink: string;
|
|
172
|
-
director: string;
|
|
173
175
|
lastUpdatedBy: {
|
|
174
176
|
id: string;
|
|
175
177
|
firstName: string;
|
|
176
178
|
lastName: string;
|
|
177
179
|
email: string;
|
|
178
180
|
};
|
|
179
|
-
createdAt: string;
|
|
180
|
-
updatedAt: string;
|
|
181
181
|
version: number;
|
|
182
182
|
agentClientLinks: {
|
|
183
183
|
agentId: string;
|
|
@@ -208,8 +208,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
208
208
|
email: z.ZodString;
|
|
209
209
|
source: z.ZodOptional<z.ZodString>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
email: string;
|
|
212
211
|
name: string;
|
|
212
|
+
email: string;
|
|
213
213
|
client: {
|
|
214
214
|
id: string;
|
|
215
215
|
};
|
|
@@ -217,8 +217,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
217
217
|
position?: string | undefined;
|
|
218
218
|
source?: string | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
email: string;
|
|
221
220
|
name: string;
|
|
221
|
+
email: string;
|
|
222
222
|
client: {
|
|
223
223
|
id: string;
|
|
224
224
|
};
|
|
@@ -240,14 +240,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
240
240
|
email: z.ZodString;
|
|
241
241
|
source: z.ZodOptional<z.ZodString>;
|
|
242
242
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
243
|
-
email: string;
|
|
244
243
|
name: string;
|
|
244
|
+
email: string;
|
|
245
245
|
phone: string;
|
|
246
246
|
position?: string | undefined;
|
|
247
247
|
source?: string | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
email: string;
|
|
250
249
|
name: string;
|
|
250
|
+
email: string;
|
|
251
251
|
phone: string;
|
|
252
252
|
position?: string | undefined;
|
|
253
253
|
source?: string | undefined;
|
|
@@ -269,15 +269,15 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
269
269
|
version: z.ZodNumber;
|
|
270
270
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
271
271
|
version: number;
|
|
272
|
-
email?: string | undefined;
|
|
273
272
|
name?: string | undefined;
|
|
273
|
+
email?: string | undefined;
|
|
274
274
|
position?: string | undefined;
|
|
275
275
|
phone?: string | undefined;
|
|
276
276
|
source?: string | undefined;
|
|
277
277
|
}, {
|
|
278
278
|
version: number;
|
|
279
|
-
email?: string | undefined;
|
|
280
279
|
name?: string | undefined;
|
|
280
|
+
email?: string | undefined;
|
|
281
281
|
position?: string | undefined;
|
|
282
282
|
phone?: string | undefined;
|
|
283
283
|
source?: string | undefined;
|
|
@@ -295,23 +295,23 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
296
|
limit: number;
|
|
297
297
|
page: number;
|
|
298
|
-
sortBy: "
|
|
298
|
+
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
299
299
|
sortOrder: "ASC" | "DESC";
|
|
300
|
-
email?: string | undefined;
|
|
301
300
|
name?: string | undefined;
|
|
301
|
+
email?: string | undefined;
|
|
302
302
|
clientId?: string | undefined;
|
|
303
303
|
phone?: string | undefined;
|
|
304
304
|
createdById?: string | undefined;
|
|
305
305
|
}, {
|
|
306
306
|
limit?: number | undefined;
|
|
307
|
-
email?: string | undefined;
|
|
308
307
|
name?: string | undefined;
|
|
308
|
+
email?: string | undefined;
|
|
309
309
|
page?: number | undefined;
|
|
310
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
311
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
310
312
|
clientId?: string | undefined;
|
|
311
313
|
phone?: string | undefined;
|
|
312
314
|
createdById?: string | undefined;
|
|
313
|
-
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
314
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
315
315
|
}>;
|
|
316
316
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
317
317
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -353,19 +353,19 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
353
353
|
}>;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
355
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
356
|
-
id: string;
|
|
357
356
|
name: string;
|
|
357
|
+
director: string;
|
|
358
|
+
createdAt: string;
|
|
359
|
+
updatedAt: string;
|
|
360
|
+
id: string;
|
|
358
361
|
crn: string;
|
|
359
362
|
govLink: string;
|
|
360
|
-
director: string;
|
|
361
363
|
lastUpdatedBy: {
|
|
362
364
|
id: string;
|
|
363
365
|
firstName: string;
|
|
364
366
|
lastName: string;
|
|
365
367
|
email: string;
|
|
366
368
|
};
|
|
367
|
-
createdAt: string;
|
|
368
|
-
updatedAt: string;
|
|
369
369
|
version: number;
|
|
370
370
|
agentClientLinks: {
|
|
371
371
|
agentId: string;
|
|
@@ -373,19 +373,19 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
373
373
|
blacklistReason?: string | null | undefined;
|
|
374
374
|
}, {
|
|
375
375
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
376
|
-
id: string;
|
|
377
376
|
name: string;
|
|
377
|
+
director: string;
|
|
378
|
+
createdAt: string;
|
|
379
|
+
updatedAt: string;
|
|
380
|
+
id: string;
|
|
378
381
|
crn: string;
|
|
379
382
|
govLink: string;
|
|
380
|
-
director: string;
|
|
381
383
|
lastUpdatedBy: {
|
|
382
384
|
id: string;
|
|
383
385
|
firstName: string;
|
|
384
386
|
lastName: string;
|
|
385
387
|
email: string;
|
|
386
388
|
};
|
|
387
|
-
createdAt: string;
|
|
388
|
-
updatedAt: string;
|
|
389
389
|
version: number;
|
|
390
390
|
agentClientLinks: {
|
|
391
391
|
agentId: string;
|
|
@@ -417,28 +417,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
417
417
|
updatedAt: z.ZodString;
|
|
418
418
|
version: z.ZodNumber;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
-
id: string;
|
|
421
|
-
email: string;
|
|
422
420
|
name: string;
|
|
423
421
|
createdAt: string;
|
|
424
422
|
updatedAt: string;
|
|
423
|
+
id: string;
|
|
424
|
+
email: string;
|
|
425
425
|
version: number;
|
|
426
426
|
clientId: string;
|
|
427
427
|
client: {
|
|
428
428
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
429
|
-
id: string;
|
|
430
429
|
name: string;
|
|
430
|
+
director: string;
|
|
431
|
+
createdAt: string;
|
|
432
|
+
updatedAt: string;
|
|
433
|
+
id: string;
|
|
431
434
|
crn: string;
|
|
432
435
|
govLink: string;
|
|
433
|
-
director: string;
|
|
434
436
|
lastUpdatedBy: {
|
|
435
437
|
id: string;
|
|
436
438
|
firstName: string;
|
|
437
439
|
lastName: string;
|
|
438
440
|
email: string;
|
|
439
441
|
};
|
|
440
|
-
createdAt: string;
|
|
441
|
-
updatedAt: string;
|
|
442
442
|
version: number;
|
|
443
443
|
agentClientLinks: {
|
|
444
444
|
agentId: string;
|
|
@@ -455,28 +455,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
455
455
|
position?: string | undefined;
|
|
456
456
|
source?: string | undefined;
|
|
457
457
|
}, {
|
|
458
|
-
id: string;
|
|
459
|
-
email: string;
|
|
460
458
|
name: string;
|
|
461
459
|
createdAt: string;
|
|
462
460
|
updatedAt: string;
|
|
461
|
+
id: string;
|
|
462
|
+
email: string;
|
|
463
463
|
version: number;
|
|
464
464
|
clientId: string;
|
|
465
465
|
client: {
|
|
466
466
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
467
|
-
id: string;
|
|
468
467
|
name: string;
|
|
468
|
+
director: string;
|
|
469
|
+
createdAt: string;
|
|
470
|
+
updatedAt: string;
|
|
471
|
+
id: string;
|
|
469
472
|
crn: string;
|
|
470
473
|
govLink: string;
|
|
471
|
-
director: string;
|
|
472
474
|
lastUpdatedBy: {
|
|
473
475
|
id: string;
|
|
474
476
|
firstName: string;
|
|
475
477
|
lastName: string;
|
|
476
478
|
email: string;
|
|
477
479
|
};
|
|
478
|
-
createdAt: string;
|
|
479
|
-
updatedAt: string;
|
|
480
480
|
version: number;
|
|
481
481
|
agentClientLinks: {
|
|
482
482
|
agentId: string;
|
|
@@ -500,28 +500,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
500
500
|
totalPages: z.ZodNumber;
|
|
501
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
items: {
|
|
503
|
-
id: string;
|
|
504
|
-
email: string;
|
|
505
503
|
name: string;
|
|
506
504
|
createdAt: string;
|
|
507
505
|
updatedAt: string;
|
|
506
|
+
id: string;
|
|
507
|
+
email: string;
|
|
508
508
|
version: number;
|
|
509
509
|
clientId: string;
|
|
510
510
|
client: {
|
|
511
511
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
512
|
-
id: string;
|
|
513
512
|
name: string;
|
|
513
|
+
director: string;
|
|
514
|
+
createdAt: string;
|
|
515
|
+
updatedAt: string;
|
|
516
|
+
id: string;
|
|
514
517
|
crn: string;
|
|
515
518
|
govLink: string;
|
|
516
|
-
director: string;
|
|
517
519
|
lastUpdatedBy: {
|
|
518
520
|
id: string;
|
|
519
521
|
firstName: string;
|
|
520
522
|
lastName: string;
|
|
521
523
|
email: string;
|
|
522
524
|
};
|
|
523
|
-
createdAt: string;
|
|
524
|
-
updatedAt: string;
|
|
525
525
|
version: number;
|
|
526
526
|
agentClientLinks: {
|
|
527
527
|
agentId: string;
|
|
@@ -545,28 +545,28 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
545
545
|
totalPages: number;
|
|
546
546
|
}, {
|
|
547
547
|
items: {
|
|
548
|
-
id: string;
|
|
549
|
-
email: string;
|
|
550
548
|
name: string;
|
|
551
549
|
createdAt: string;
|
|
552
550
|
updatedAt: string;
|
|
551
|
+
id: string;
|
|
552
|
+
email: string;
|
|
553
553
|
version: number;
|
|
554
554
|
clientId: string;
|
|
555
555
|
client: {
|
|
556
556
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
557
|
-
id: string;
|
|
558
557
|
name: string;
|
|
558
|
+
director: string;
|
|
559
|
+
createdAt: string;
|
|
560
|
+
updatedAt: string;
|
|
561
|
+
id: string;
|
|
559
562
|
crn: string;
|
|
560
563
|
govLink: string;
|
|
561
|
-
director: string;
|
|
562
564
|
lastUpdatedBy: {
|
|
563
565
|
id: string;
|
|
564
566
|
firstName: string;
|
|
565
567
|
lastName: string;
|
|
566
568
|
email: string;
|
|
567
569
|
};
|
|
568
|
-
createdAt: string;
|
|
569
|
-
updatedAt: string;
|
|
570
570
|
version: number;
|
|
571
571
|
agentClientLinks: {
|
|
572
572
|
agentId: string;
|
|
@@ -613,8 +613,8 @@ export declare const clientContactsContractRouter: {
|
|
|
613
613
|
email: z.ZodString;
|
|
614
614
|
source: z.ZodOptional<z.ZodString>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
email: string;
|
|
617
616
|
name: string;
|
|
617
|
+
email: string;
|
|
618
618
|
client: {
|
|
619
619
|
id: string;
|
|
620
620
|
};
|
|
@@ -622,8 +622,8 @@ export declare const clientContactsContractRouter: {
|
|
|
622
622
|
position?: string | undefined;
|
|
623
623
|
source?: string | undefined;
|
|
624
624
|
}, {
|
|
625
|
-
email: string;
|
|
626
625
|
name: string;
|
|
626
|
+
email: string;
|
|
627
627
|
client: {
|
|
628
628
|
id: string;
|
|
629
629
|
};
|
|
@@ -772,19 +772,19 @@ export declare const clientContactsContractRouter: {
|
|
|
772
772
|
}>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
774
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
775
|
-
id: string;
|
|
776
775
|
name: string;
|
|
776
|
+
director: string;
|
|
777
|
+
createdAt: string;
|
|
778
|
+
updatedAt: string;
|
|
779
|
+
id: string;
|
|
777
780
|
crn: string;
|
|
778
781
|
govLink: string;
|
|
779
|
-
director: string;
|
|
780
782
|
lastUpdatedBy: {
|
|
781
783
|
id: string;
|
|
782
784
|
firstName: string;
|
|
783
785
|
lastName: string;
|
|
784
786
|
email: string;
|
|
785
787
|
};
|
|
786
|
-
createdAt: string;
|
|
787
|
-
updatedAt: string;
|
|
788
788
|
version: number;
|
|
789
789
|
agentClientLinks: {
|
|
790
790
|
agentId: string;
|
|
@@ -792,19 +792,19 @@ export declare const clientContactsContractRouter: {
|
|
|
792
792
|
blacklistReason?: string | null | undefined;
|
|
793
793
|
}, {
|
|
794
794
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
795
|
-
id: string;
|
|
796
795
|
name: string;
|
|
796
|
+
director: string;
|
|
797
|
+
createdAt: string;
|
|
798
|
+
updatedAt: string;
|
|
799
|
+
id: string;
|
|
797
800
|
crn: string;
|
|
798
801
|
govLink: string;
|
|
799
|
-
director: string;
|
|
800
802
|
lastUpdatedBy: {
|
|
801
803
|
id: string;
|
|
802
804
|
firstName: string;
|
|
803
805
|
lastName: string;
|
|
804
806
|
email: string;
|
|
805
807
|
};
|
|
806
|
-
createdAt: string;
|
|
807
|
-
updatedAt: string;
|
|
808
808
|
version: number;
|
|
809
809
|
agentClientLinks: {
|
|
810
810
|
agentId: string;
|
|
@@ -836,28 +836,28 @@ export declare const clientContactsContractRouter: {
|
|
|
836
836
|
updatedAt: z.ZodString;
|
|
837
837
|
version: z.ZodNumber;
|
|
838
838
|
}, "strip", z.ZodTypeAny, {
|
|
839
|
-
id: string;
|
|
840
|
-
email: string;
|
|
841
839
|
name: string;
|
|
842
840
|
createdAt: string;
|
|
843
841
|
updatedAt: string;
|
|
842
|
+
id: string;
|
|
843
|
+
email: string;
|
|
844
844
|
version: number;
|
|
845
845
|
clientId: string;
|
|
846
846
|
client: {
|
|
847
847
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
848
|
-
id: string;
|
|
849
848
|
name: string;
|
|
849
|
+
director: string;
|
|
850
|
+
createdAt: string;
|
|
851
|
+
updatedAt: string;
|
|
852
|
+
id: string;
|
|
850
853
|
crn: string;
|
|
851
854
|
govLink: string;
|
|
852
|
-
director: string;
|
|
853
855
|
lastUpdatedBy: {
|
|
854
856
|
id: string;
|
|
855
857
|
firstName: string;
|
|
856
858
|
lastName: string;
|
|
857
859
|
email: string;
|
|
858
860
|
};
|
|
859
|
-
createdAt: string;
|
|
860
|
-
updatedAt: string;
|
|
861
861
|
version: number;
|
|
862
862
|
agentClientLinks: {
|
|
863
863
|
agentId: string;
|
|
@@ -874,28 +874,28 @@ export declare const clientContactsContractRouter: {
|
|
|
874
874
|
position?: string | undefined;
|
|
875
875
|
source?: string | undefined;
|
|
876
876
|
}, {
|
|
877
|
-
id: string;
|
|
878
|
-
email: string;
|
|
879
877
|
name: string;
|
|
880
878
|
createdAt: string;
|
|
881
879
|
updatedAt: string;
|
|
880
|
+
id: string;
|
|
881
|
+
email: string;
|
|
882
882
|
version: number;
|
|
883
883
|
clientId: string;
|
|
884
884
|
client: {
|
|
885
885
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
886
|
-
id: string;
|
|
887
886
|
name: string;
|
|
887
|
+
director: string;
|
|
888
|
+
createdAt: string;
|
|
889
|
+
updatedAt: string;
|
|
890
|
+
id: string;
|
|
888
891
|
crn: string;
|
|
889
892
|
govLink: string;
|
|
890
|
-
director: string;
|
|
891
893
|
lastUpdatedBy: {
|
|
892
894
|
id: string;
|
|
893
895
|
firstName: string;
|
|
894
896
|
lastName: string;
|
|
895
897
|
email: string;
|
|
896
898
|
};
|
|
897
|
-
createdAt: string;
|
|
898
|
-
updatedAt: string;
|
|
899
899
|
version: number;
|
|
900
900
|
agentClientLinks: {
|
|
901
901
|
agentId: string;
|
|
@@ -963,14 +963,14 @@ export declare const clientContactsContractRouter: {
|
|
|
963
963
|
email: z.ZodString;
|
|
964
964
|
source: z.ZodOptional<z.ZodString>;
|
|
965
965
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
966
|
-
email: string;
|
|
967
966
|
name: string;
|
|
967
|
+
email: string;
|
|
968
968
|
phone: string;
|
|
969
969
|
position?: string | undefined;
|
|
970
970
|
source?: string | undefined;
|
|
971
971
|
}, {
|
|
972
|
-
email: string;
|
|
973
972
|
name: string;
|
|
973
|
+
email: string;
|
|
974
974
|
phone: string;
|
|
975
975
|
position?: string | undefined;
|
|
976
976
|
source?: string | undefined;
|
|
@@ -1116,19 +1116,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1116
1116
|
}>;
|
|
1117
1117
|
}, "strip", z.ZodTypeAny, {
|
|
1118
1118
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1119
|
-
id: string;
|
|
1120
1119
|
name: string;
|
|
1120
|
+
director: string;
|
|
1121
|
+
createdAt: string;
|
|
1122
|
+
updatedAt: string;
|
|
1123
|
+
id: string;
|
|
1121
1124
|
crn: string;
|
|
1122
1125
|
govLink: string;
|
|
1123
|
-
director: string;
|
|
1124
1126
|
lastUpdatedBy: {
|
|
1125
1127
|
id: string;
|
|
1126
1128
|
firstName: string;
|
|
1127
1129
|
lastName: string;
|
|
1128
1130
|
email: string;
|
|
1129
1131
|
};
|
|
1130
|
-
createdAt: string;
|
|
1131
|
-
updatedAt: string;
|
|
1132
1132
|
version: number;
|
|
1133
1133
|
agentClientLinks: {
|
|
1134
1134
|
agentId: string;
|
|
@@ -1136,19 +1136,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1136
1136
|
blacklistReason?: string | null | undefined;
|
|
1137
1137
|
}, {
|
|
1138
1138
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1139
|
-
id: string;
|
|
1140
1139
|
name: string;
|
|
1140
|
+
director: string;
|
|
1141
|
+
createdAt: string;
|
|
1142
|
+
updatedAt: string;
|
|
1143
|
+
id: string;
|
|
1141
1144
|
crn: string;
|
|
1142
1145
|
govLink: string;
|
|
1143
|
-
director: string;
|
|
1144
1146
|
lastUpdatedBy: {
|
|
1145
1147
|
id: string;
|
|
1146
1148
|
firstName: string;
|
|
1147
1149
|
lastName: string;
|
|
1148
1150
|
email: string;
|
|
1149
1151
|
};
|
|
1150
|
-
createdAt: string;
|
|
1151
|
-
updatedAt: string;
|
|
1152
1152
|
version: number;
|
|
1153
1153
|
agentClientLinks: {
|
|
1154
1154
|
agentId: string;
|
|
@@ -1180,28 +1180,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1180
1180
|
updatedAt: z.ZodString;
|
|
1181
1181
|
version: z.ZodNumber;
|
|
1182
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1183
|
-
id: string;
|
|
1184
|
-
email: string;
|
|
1185
1183
|
name: string;
|
|
1186
1184
|
createdAt: string;
|
|
1187
1185
|
updatedAt: string;
|
|
1186
|
+
id: string;
|
|
1187
|
+
email: string;
|
|
1188
1188
|
version: number;
|
|
1189
1189
|
clientId: string;
|
|
1190
1190
|
client: {
|
|
1191
1191
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1192
|
-
id: string;
|
|
1193
1192
|
name: string;
|
|
1193
|
+
director: string;
|
|
1194
|
+
createdAt: string;
|
|
1195
|
+
updatedAt: string;
|
|
1196
|
+
id: string;
|
|
1194
1197
|
crn: string;
|
|
1195
1198
|
govLink: string;
|
|
1196
|
-
director: string;
|
|
1197
1199
|
lastUpdatedBy: {
|
|
1198
1200
|
id: string;
|
|
1199
1201
|
firstName: string;
|
|
1200
1202
|
lastName: string;
|
|
1201
1203
|
email: string;
|
|
1202
1204
|
};
|
|
1203
|
-
createdAt: string;
|
|
1204
|
-
updatedAt: string;
|
|
1205
1205
|
version: number;
|
|
1206
1206
|
agentClientLinks: {
|
|
1207
1207
|
agentId: string;
|
|
@@ -1218,28 +1218,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1218
1218
|
position?: string | undefined;
|
|
1219
1219
|
source?: string | undefined;
|
|
1220
1220
|
}, {
|
|
1221
|
-
id: string;
|
|
1222
|
-
email: string;
|
|
1223
1221
|
name: string;
|
|
1224
1222
|
createdAt: string;
|
|
1225
1223
|
updatedAt: string;
|
|
1224
|
+
id: string;
|
|
1225
|
+
email: string;
|
|
1226
1226
|
version: number;
|
|
1227
1227
|
clientId: string;
|
|
1228
1228
|
client: {
|
|
1229
1229
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1230
|
-
id: string;
|
|
1231
1230
|
name: string;
|
|
1231
|
+
director: string;
|
|
1232
|
+
createdAt: string;
|
|
1233
|
+
updatedAt: string;
|
|
1234
|
+
id: string;
|
|
1232
1235
|
crn: string;
|
|
1233
1236
|
govLink: string;
|
|
1234
|
-
director: string;
|
|
1235
1237
|
lastUpdatedBy: {
|
|
1236
1238
|
id: string;
|
|
1237
1239
|
firstName: string;
|
|
1238
1240
|
lastName: string;
|
|
1239
1241
|
email: string;
|
|
1240
1242
|
};
|
|
1241
|
-
createdAt: string;
|
|
1242
|
-
updatedAt: string;
|
|
1243
1243
|
version: number;
|
|
1244
1244
|
agentClientLinks: {
|
|
1245
1245
|
agentId: string;
|
|
@@ -1297,23 +1297,23 @@ export declare const clientContactsContractRouter: {
|
|
|
1297
1297
|
}, "strip", z.ZodTypeAny, {
|
|
1298
1298
|
limit: number;
|
|
1299
1299
|
page: number;
|
|
1300
|
-
sortBy: "
|
|
1300
|
+
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
1301
1301
|
sortOrder: "ASC" | "DESC";
|
|
1302
|
-
email?: string | undefined;
|
|
1303
1302
|
name?: string | undefined;
|
|
1303
|
+
email?: string | undefined;
|
|
1304
1304
|
clientId?: string | undefined;
|
|
1305
1305
|
phone?: string | undefined;
|
|
1306
1306
|
createdById?: string | undefined;
|
|
1307
1307
|
}, {
|
|
1308
1308
|
limit?: number | undefined;
|
|
1309
|
-
email?: string | undefined;
|
|
1310
1309
|
name?: string | undefined;
|
|
1310
|
+
email?: string | undefined;
|
|
1311
1311
|
page?: number | undefined;
|
|
1312
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
1313
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1312
1314
|
clientId?: string | undefined;
|
|
1313
1315
|
phone?: string | undefined;
|
|
1314
1316
|
createdById?: string | undefined;
|
|
1315
|
-
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1316
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1317
1317
|
}>;
|
|
1318
1318
|
summary: "Get all client contacts";
|
|
1319
1319
|
method: "GET";
|
|
@@ -1459,19 +1459,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1459
1459
|
}>;
|
|
1460
1460
|
}, "strip", z.ZodTypeAny, {
|
|
1461
1461
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1462
|
-
id: string;
|
|
1463
1462
|
name: string;
|
|
1463
|
+
director: string;
|
|
1464
|
+
createdAt: string;
|
|
1465
|
+
updatedAt: string;
|
|
1466
|
+
id: string;
|
|
1464
1467
|
crn: string;
|
|
1465
1468
|
govLink: string;
|
|
1466
|
-
director: string;
|
|
1467
1469
|
lastUpdatedBy: {
|
|
1468
1470
|
id: string;
|
|
1469
1471
|
firstName: string;
|
|
1470
1472
|
lastName: string;
|
|
1471
1473
|
email: string;
|
|
1472
1474
|
};
|
|
1473
|
-
createdAt: string;
|
|
1474
|
-
updatedAt: string;
|
|
1475
1475
|
version: number;
|
|
1476
1476
|
agentClientLinks: {
|
|
1477
1477
|
agentId: string;
|
|
@@ -1479,19 +1479,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1479
1479
|
blacklistReason?: string | null | undefined;
|
|
1480
1480
|
}, {
|
|
1481
1481
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1482
|
-
id: string;
|
|
1483
1482
|
name: string;
|
|
1483
|
+
director: string;
|
|
1484
|
+
createdAt: string;
|
|
1485
|
+
updatedAt: string;
|
|
1486
|
+
id: string;
|
|
1484
1487
|
crn: string;
|
|
1485
1488
|
govLink: string;
|
|
1486
|
-
director: string;
|
|
1487
1489
|
lastUpdatedBy: {
|
|
1488
1490
|
id: string;
|
|
1489
1491
|
firstName: string;
|
|
1490
1492
|
lastName: string;
|
|
1491
1493
|
email: string;
|
|
1492
1494
|
};
|
|
1493
|
-
createdAt: string;
|
|
1494
|
-
updatedAt: string;
|
|
1495
1495
|
version: number;
|
|
1496
1496
|
agentClientLinks: {
|
|
1497
1497
|
agentId: string;
|
|
@@ -1523,28 +1523,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1523
1523
|
updatedAt: z.ZodString;
|
|
1524
1524
|
version: z.ZodNumber;
|
|
1525
1525
|
}, "strip", z.ZodTypeAny, {
|
|
1526
|
-
id: string;
|
|
1527
|
-
email: string;
|
|
1528
1526
|
name: string;
|
|
1529
1527
|
createdAt: string;
|
|
1530
1528
|
updatedAt: string;
|
|
1529
|
+
id: string;
|
|
1530
|
+
email: string;
|
|
1531
1531
|
version: number;
|
|
1532
1532
|
clientId: string;
|
|
1533
1533
|
client: {
|
|
1534
1534
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1535
|
-
id: string;
|
|
1536
1535
|
name: string;
|
|
1536
|
+
director: string;
|
|
1537
|
+
createdAt: string;
|
|
1538
|
+
updatedAt: string;
|
|
1539
|
+
id: string;
|
|
1537
1540
|
crn: string;
|
|
1538
1541
|
govLink: string;
|
|
1539
|
-
director: string;
|
|
1540
1542
|
lastUpdatedBy: {
|
|
1541
1543
|
id: string;
|
|
1542
1544
|
firstName: string;
|
|
1543
1545
|
lastName: string;
|
|
1544
1546
|
email: string;
|
|
1545
1547
|
};
|
|
1546
|
-
createdAt: string;
|
|
1547
|
-
updatedAt: string;
|
|
1548
1548
|
version: number;
|
|
1549
1549
|
agentClientLinks: {
|
|
1550
1550
|
agentId: string;
|
|
@@ -1561,28 +1561,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1561
1561
|
position?: string | undefined;
|
|
1562
1562
|
source?: string | undefined;
|
|
1563
1563
|
}, {
|
|
1564
|
-
id: string;
|
|
1565
|
-
email: string;
|
|
1566
1564
|
name: string;
|
|
1567
1565
|
createdAt: string;
|
|
1568
1566
|
updatedAt: string;
|
|
1567
|
+
id: string;
|
|
1568
|
+
email: string;
|
|
1569
1569
|
version: number;
|
|
1570
1570
|
clientId: string;
|
|
1571
1571
|
client: {
|
|
1572
1572
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1573
|
-
id: string;
|
|
1574
1573
|
name: string;
|
|
1574
|
+
director: string;
|
|
1575
|
+
createdAt: string;
|
|
1576
|
+
updatedAt: string;
|
|
1577
|
+
id: string;
|
|
1575
1578
|
crn: string;
|
|
1576
1579
|
govLink: string;
|
|
1577
|
-
director: string;
|
|
1578
1580
|
lastUpdatedBy: {
|
|
1579
1581
|
id: string;
|
|
1580
1582
|
firstName: string;
|
|
1581
1583
|
lastName: string;
|
|
1582
1584
|
email: string;
|
|
1583
1585
|
};
|
|
1584
|
-
createdAt: string;
|
|
1585
|
-
updatedAt: string;
|
|
1586
1586
|
version: number;
|
|
1587
1587
|
agentClientLinks: {
|
|
1588
1588
|
agentId: string;
|
|
@@ -1606,28 +1606,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1606
1606
|
totalPages: z.ZodNumber;
|
|
1607
1607
|
}, "strip", z.ZodTypeAny, {
|
|
1608
1608
|
items: {
|
|
1609
|
-
id: string;
|
|
1610
|
-
email: string;
|
|
1611
1609
|
name: string;
|
|
1612
1610
|
createdAt: string;
|
|
1613
1611
|
updatedAt: string;
|
|
1612
|
+
id: string;
|
|
1613
|
+
email: string;
|
|
1614
1614
|
version: number;
|
|
1615
1615
|
clientId: string;
|
|
1616
1616
|
client: {
|
|
1617
1617
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1618
|
-
id: string;
|
|
1619
1618
|
name: string;
|
|
1619
|
+
director: string;
|
|
1620
|
+
createdAt: string;
|
|
1621
|
+
updatedAt: string;
|
|
1622
|
+
id: string;
|
|
1620
1623
|
crn: string;
|
|
1621
1624
|
govLink: string;
|
|
1622
|
-
director: string;
|
|
1623
1625
|
lastUpdatedBy: {
|
|
1624
1626
|
id: string;
|
|
1625
1627
|
firstName: string;
|
|
1626
1628
|
lastName: string;
|
|
1627
1629
|
email: string;
|
|
1628
1630
|
};
|
|
1629
|
-
createdAt: string;
|
|
1630
|
-
updatedAt: string;
|
|
1631
1631
|
version: number;
|
|
1632
1632
|
agentClientLinks: {
|
|
1633
1633
|
agentId: string;
|
|
@@ -1651,28 +1651,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1651
1651
|
totalPages: number;
|
|
1652
1652
|
}, {
|
|
1653
1653
|
items: {
|
|
1654
|
-
id: string;
|
|
1655
|
-
email: string;
|
|
1656
1654
|
name: string;
|
|
1657
1655
|
createdAt: string;
|
|
1658
1656
|
updatedAt: string;
|
|
1657
|
+
id: string;
|
|
1658
|
+
email: string;
|
|
1659
1659
|
version: number;
|
|
1660
1660
|
clientId: string;
|
|
1661
1661
|
client: {
|
|
1662
1662
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1663
|
-
id: string;
|
|
1664
1663
|
name: string;
|
|
1664
|
+
director: string;
|
|
1665
|
+
createdAt: string;
|
|
1666
|
+
updatedAt: string;
|
|
1667
|
+
id: string;
|
|
1665
1668
|
crn: string;
|
|
1666
1669
|
govLink: string;
|
|
1667
|
-
director: string;
|
|
1668
1670
|
lastUpdatedBy: {
|
|
1669
1671
|
id: string;
|
|
1670
1672
|
firstName: string;
|
|
1671
1673
|
lastName: string;
|
|
1672
1674
|
email: string;
|
|
1673
1675
|
};
|
|
1674
|
-
createdAt: string;
|
|
1675
|
-
updatedAt: string;
|
|
1676
1676
|
version: number;
|
|
1677
1677
|
agentClientLinks: {
|
|
1678
1678
|
agentId: string;
|
|
@@ -1848,19 +1848,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1848
1848
|
}>;
|
|
1849
1849
|
}, "strip", z.ZodTypeAny, {
|
|
1850
1850
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1851
|
-
id: string;
|
|
1852
1851
|
name: string;
|
|
1852
|
+
director: string;
|
|
1853
|
+
createdAt: string;
|
|
1854
|
+
updatedAt: string;
|
|
1855
|
+
id: string;
|
|
1853
1856
|
crn: string;
|
|
1854
1857
|
govLink: string;
|
|
1855
|
-
director: string;
|
|
1856
1858
|
lastUpdatedBy: {
|
|
1857
1859
|
id: string;
|
|
1858
1860
|
firstName: string;
|
|
1859
1861
|
lastName: string;
|
|
1860
1862
|
email: string;
|
|
1861
1863
|
};
|
|
1862
|
-
createdAt: string;
|
|
1863
|
-
updatedAt: string;
|
|
1864
1864
|
version: number;
|
|
1865
1865
|
agentClientLinks: {
|
|
1866
1866
|
agentId: string;
|
|
@@ -1868,19 +1868,19 @@ export declare const clientContactsContractRouter: {
|
|
|
1868
1868
|
blacklistReason?: string | null | undefined;
|
|
1869
1869
|
}, {
|
|
1870
1870
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1871
|
-
id: string;
|
|
1872
1871
|
name: string;
|
|
1872
|
+
director: string;
|
|
1873
|
+
createdAt: string;
|
|
1874
|
+
updatedAt: string;
|
|
1875
|
+
id: string;
|
|
1873
1876
|
crn: string;
|
|
1874
1877
|
govLink: string;
|
|
1875
|
-
director: string;
|
|
1876
1878
|
lastUpdatedBy: {
|
|
1877
1879
|
id: string;
|
|
1878
1880
|
firstName: string;
|
|
1879
1881
|
lastName: string;
|
|
1880
1882
|
email: string;
|
|
1881
1883
|
};
|
|
1882
|
-
createdAt: string;
|
|
1883
|
-
updatedAt: string;
|
|
1884
1884
|
version: number;
|
|
1885
1885
|
agentClientLinks: {
|
|
1886
1886
|
agentId: string;
|
|
@@ -1912,28 +1912,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1912
1912
|
updatedAt: z.ZodString;
|
|
1913
1913
|
version: z.ZodNumber;
|
|
1914
1914
|
}, "strip", z.ZodTypeAny, {
|
|
1915
|
-
id: string;
|
|
1916
|
-
email: string;
|
|
1917
1915
|
name: string;
|
|
1918
1916
|
createdAt: string;
|
|
1919
1917
|
updatedAt: string;
|
|
1918
|
+
id: string;
|
|
1919
|
+
email: string;
|
|
1920
1920
|
version: number;
|
|
1921
1921
|
clientId: string;
|
|
1922
1922
|
client: {
|
|
1923
1923
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1924
|
-
id: string;
|
|
1925
1924
|
name: string;
|
|
1925
|
+
director: string;
|
|
1926
|
+
createdAt: string;
|
|
1927
|
+
updatedAt: string;
|
|
1928
|
+
id: string;
|
|
1926
1929
|
crn: string;
|
|
1927
1930
|
govLink: string;
|
|
1928
|
-
director: string;
|
|
1929
1931
|
lastUpdatedBy: {
|
|
1930
1932
|
id: string;
|
|
1931
1933
|
firstName: string;
|
|
1932
1934
|
lastName: string;
|
|
1933
1935
|
email: string;
|
|
1934
1936
|
};
|
|
1935
|
-
createdAt: string;
|
|
1936
|
-
updatedAt: string;
|
|
1937
1937
|
version: number;
|
|
1938
1938
|
agentClientLinks: {
|
|
1939
1939
|
agentId: string;
|
|
@@ -1950,28 +1950,28 @@ export declare const clientContactsContractRouter: {
|
|
|
1950
1950
|
position?: string | undefined;
|
|
1951
1951
|
source?: string | undefined;
|
|
1952
1952
|
}, {
|
|
1953
|
-
id: string;
|
|
1954
|
-
email: string;
|
|
1955
1953
|
name: string;
|
|
1956
1954
|
createdAt: string;
|
|
1957
1955
|
updatedAt: string;
|
|
1956
|
+
id: string;
|
|
1957
|
+
email: string;
|
|
1958
1958
|
version: number;
|
|
1959
1959
|
clientId: string;
|
|
1960
1960
|
client: {
|
|
1961
1961
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1962
|
-
id: string;
|
|
1963
1962
|
name: string;
|
|
1963
|
+
director: string;
|
|
1964
|
+
createdAt: string;
|
|
1965
|
+
updatedAt: string;
|
|
1966
|
+
id: string;
|
|
1964
1967
|
crn: string;
|
|
1965
1968
|
govLink: string;
|
|
1966
|
-
director: string;
|
|
1967
1969
|
lastUpdatedBy: {
|
|
1968
1970
|
id: string;
|
|
1969
1971
|
firstName: string;
|
|
1970
1972
|
lastName: string;
|
|
1971
1973
|
email: string;
|
|
1972
1974
|
};
|
|
1973
|
-
createdAt: string;
|
|
1974
|
-
updatedAt: string;
|
|
1975
1975
|
version: number;
|
|
1976
1976
|
agentClientLinks: {
|
|
1977
1977
|
agentId: string;
|
|
@@ -2042,15 +2042,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2042
2042
|
version: z.ZodNumber;
|
|
2043
2043
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2044
2044
|
version: number;
|
|
2045
|
-
email?: string | undefined;
|
|
2046
2045
|
name?: string | undefined;
|
|
2046
|
+
email?: string | undefined;
|
|
2047
2047
|
position?: string | undefined;
|
|
2048
2048
|
phone?: string | undefined;
|
|
2049
2049
|
source?: string | undefined;
|
|
2050
2050
|
}, {
|
|
2051
2051
|
version: number;
|
|
2052
|
-
email?: string | undefined;
|
|
2053
2052
|
name?: string | undefined;
|
|
2053
|
+
email?: string | undefined;
|
|
2054
2054
|
position?: string | undefined;
|
|
2055
2055
|
phone?: string | undefined;
|
|
2056
2056
|
source?: string | undefined;
|
|
@@ -2196,19 +2196,19 @@ export declare const clientContactsContractRouter: {
|
|
|
2196
2196
|
}>;
|
|
2197
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2198
2198
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2199
|
-
id: string;
|
|
2200
2199
|
name: string;
|
|
2200
|
+
director: string;
|
|
2201
|
+
createdAt: string;
|
|
2202
|
+
updatedAt: string;
|
|
2203
|
+
id: string;
|
|
2201
2204
|
crn: string;
|
|
2202
2205
|
govLink: string;
|
|
2203
|
-
director: string;
|
|
2204
2206
|
lastUpdatedBy: {
|
|
2205
2207
|
id: string;
|
|
2206
2208
|
firstName: string;
|
|
2207
2209
|
lastName: string;
|
|
2208
2210
|
email: string;
|
|
2209
2211
|
};
|
|
2210
|
-
createdAt: string;
|
|
2211
|
-
updatedAt: string;
|
|
2212
2212
|
version: number;
|
|
2213
2213
|
agentClientLinks: {
|
|
2214
2214
|
agentId: string;
|
|
@@ -2216,19 +2216,19 @@ export declare const clientContactsContractRouter: {
|
|
|
2216
2216
|
blacklistReason?: string | null | undefined;
|
|
2217
2217
|
}, {
|
|
2218
2218
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2219
|
-
id: string;
|
|
2220
2219
|
name: string;
|
|
2220
|
+
director: string;
|
|
2221
|
+
createdAt: string;
|
|
2222
|
+
updatedAt: string;
|
|
2223
|
+
id: string;
|
|
2221
2224
|
crn: string;
|
|
2222
2225
|
govLink: string;
|
|
2223
|
-
director: string;
|
|
2224
2226
|
lastUpdatedBy: {
|
|
2225
2227
|
id: string;
|
|
2226
2228
|
firstName: string;
|
|
2227
2229
|
lastName: string;
|
|
2228
2230
|
email: string;
|
|
2229
2231
|
};
|
|
2230
|
-
createdAt: string;
|
|
2231
|
-
updatedAt: string;
|
|
2232
2232
|
version: number;
|
|
2233
2233
|
agentClientLinks: {
|
|
2234
2234
|
agentId: string;
|
|
@@ -2260,28 +2260,28 @@ export declare const clientContactsContractRouter: {
|
|
|
2260
2260
|
updatedAt: z.ZodString;
|
|
2261
2261
|
version: z.ZodNumber;
|
|
2262
2262
|
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
id: string;
|
|
2264
|
-
email: string;
|
|
2265
2263
|
name: string;
|
|
2266
2264
|
createdAt: string;
|
|
2267
2265
|
updatedAt: string;
|
|
2266
|
+
id: string;
|
|
2267
|
+
email: string;
|
|
2268
2268
|
version: number;
|
|
2269
2269
|
clientId: string;
|
|
2270
2270
|
client: {
|
|
2271
2271
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2272
|
-
id: string;
|
|
2273
2272
|
name: string;
|
|
2273
|
+
director: string;
|
|
2274
|
+
createdAt: string;
|
|
2275
|
+
updatedAt: string;
|
|
2276
|
+
id: string;
|
|
2274
2277
|
crn: string;
|
|
2275
2278
|
govLink: string;
|
|
2276
|
-
director: string;
|
|
2277
2279
|
lastUpdatedBy: {
|
|
2278
2280
|
id: string;
|
|
2279
2281
|
firstName: string;
|
|
2280
2282
|
lastName: string;
|
|
2281
2283
|
email: string;
|
|
2282
2284
|
};
|
|
2283
|
-
createdAt: string;
|
|
2284
|
-
updatedAt: string;
|
|
2285
2285
|
version: number;
|
|
2286
2286
|
agentClientLinks: {
|
|
2287
2287
|
agentId: string;
|
|
@@ -2298,28 +2298,28 @@ export declare const clientContactsContractRouter: {
|
|
|
2298
2298
|
position?: string | undefined;
|
|
2299
2299
|
source?: string | undefined;
|
|
2300
2300
|
}, {
|
|
2301
|
-
id: string;
|
|
2302
|
-
email: string;
|
|
2303
2301
|
name: string;
|
|
2304
2302
|
createdAt: string;
|
|
2305
2303
|
updatedAt: string;
|
|
2304
|
+
id: string;
|
|
2305
|
+
email: string;
|
|
2306
2306
|
version: number;
|
|
2307
2307
|
clientId: string;
|
|
2308
2308
|
client: {
|
|
2309
2309
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2310
|
-
id: string;
|
|
2311
2310
|
name: string;
|
|
2311
|
+
director: string;
|
|
2312
|
+
createdAt: string;
|
|
2313
|
+
updatedAt: string;
|
|
2314
|
+
id: string;
|
|
2312
2315
|
crn: string;
|
|
2313
2316
|
govLink: string;
|
|
2314
|
-
director: string;
|
|
2315
2317
|
lastUpdatedBy: {
|
|
2316
2318
|
id: string;
|
|
2317
2319
|
firstName: string;
|
|
2318
2320
|
lastName: string;
|
|
2319
2321
|
email: string;
|
|
2320
2322
|
};
|
|
2321
|
-
createdAt: string;
|
|
2322
|
-
updatedAt: string;
|
|
2323
2323
|
version: number;
|
|
2324
2324
|
agentClientLinks: {
|
|
2325
2325
|
agentId: string;
|
|
@@ -2501,7 +2501,7 @@ export declare const clientContactsContractRouter: {
|
|
|
2501
2501
|
details?: unknown;
|
|
2502
2502
|
correlationId?: string | undefined;
|
|
2503
2503
|
}>;
|
|
2504
|
-
204:
|
|
2504
|
+
204: z.ZodUndefined;
|
|
2505
2505
|
404: z.ZodObject<{
|
|
2506
2506
|
statusCode: z.ZodNumber;
|
|
2507
2507
|
message: z.ZodString;
|