@dakkitor/api-contracts 1.1.109 → 1.1.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +3059 -3059
- package/dist/agent-client-links/agent-client-links.contract.d.ts +74 -74
- package/dist/bookings/bookings.contract.d.ts +11037 -11037
- package/dist/call-history/call-history.contract.d.ts +294 -294
- package/dist/client-contacts/client-contacts.contract.d.ts +186 -186
- package/dist/clients/clients.contract.d.ts +99 -99
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +5 -5
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +440 -440
- package/dist/collaborations/collaborations.contract.d.ts +328 -328
- package/dist/companies/companies.contract.d.ts +22 -22
- package/dist/curated-workers/curated-workers.contract.d.ts +76 -76
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +224 -150
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +124 -101
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +907 -907
- package/dist/lead-assignments/lead-assignments.contract.d.ts +160 -160
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +34 -34
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +136 -136
- package/dist/postcodes/postcodes.contract.d.ts +18 -18
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/users/users.contract.d.ts +6 -6
- package/dist/workers/workers.contract.d.ts +288 -288
- package/package.json +41 -41
- package/dist/abilities/interconnection.json +0 -370
- package/dist/abilities/second-agent.abilities copy.json +0 -370
|
@@ -55,14 +55,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
id: string;
|
|
58
|
-
status: "
|
|
58
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
59
|
+
name: string;
|
|
60
|
+
director: string;
|
|
59
61
|
createdAt: string;
|
|
60
62
|
updatedAt: string;
|
|
61
|
-
name: string;
|
|
62
63
|
crn: string | null;
|
|
63
64
|
govLink: string;
|
|
64
65
|
soleTrader: boolean;
|
|
65
|
-
director: string;
|
|
66
66
|
blacklistReason?: string | null | undefined;
|
|
67
67
|
lastUpdatedBy?: {
|
|
68
68
|
id: string;
|
|
@@ -75,14 +75,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
|
-
status: "
|
|
78
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
79
|
+
name: string;
|
|
80
|
+
director: string;
|
|
79
81
|
createdAt: string | Date;
|
|
80
82
|
updatedAt: string | Date;
|
|
81
|
-
name: string;
|
|
82
83
|
crn: string | null;
|
|
83
84
|
govLink: string;
|
|
84
85
|
soleTrader: boolean;
|
|
85
|
-
director: string;
|
|
86
86
|
blacklistReason?: string | null | undefined;
|
|
87
87
|
lastUpdatedBy?: {
|
|
88
88
|
id: string;
|
|
@@ -120,20 +120,21 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
120
120
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
id: string;
|
|
123
|
+
name: string;
|
|
123
124
|
createdAt: string;
|
|
124
125
|
updatedAt: string;
|
|
125
|
-
name: string;
|
|
126
126
|
email: string | null;
|
|
127
|
+
phone: string;
|
|
127
128
|
client: {
|
|
128
129
|
id: string;
|
|
129
|
-
status: "
|
|
130
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
131
|
+
name: string;
|
|
132
|
+
director: string;
|
|
130
133
|
createdAt: string;
|
|
131
134
|
updatedAt: string;
|
|
132
|
-
name: string;
|
|
133
135
|
crn: string | null;
|
|
134
136
|
govLink: string;
|
|
135
137
|
soleTrader: boolean;
|
|
136
|
-
director: string;
|
|
137
138
|
blacklistReason?: string | null | undefined;
|
|
138
139
|
lastUpdatedBy?: {
|
|
139
140
|
id: string;
|
|
@@ -147,31 +148,31 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
147
148
|
};
|
|
148
149
|
clientId: string;
|
|
149
150
|
createdById: string;
|
|
150
|
-
phone: string;
|
|
151
151
|
createdBy: {
|
|
152
152
|
id: string;
|
|
153
153
|
firstName: string;
|
|
154
154
|
lastName: string;
|
|
155
155
|
email: string;
|
|
156
156
|
};
|
|
157
|
-
source?: string | undefined;
|
|
158
157
|
position?: string | undefined;
|
|
158
|
+
source?: string | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
id: string;
|
|
161
|
+
name: string;
|
|
161
162
|
createdAt: string | Date;
|
|
162
163
|
updatedAt: string | Date;
|
|
163
|
-
name: string;
|
|
164
164
|
email: string | null;
|
|
165
|
+
phone: string;
|
|
165
166
|
client: {
|
|
166
167
|
id: string;
|
|
167
|
-
status: "
|
|
168
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
169
|
+
name: string;
|
|
170
|
+
director: string;
|
|
168
171
|
createdAt: string | Date;
|
|
169
172
|
updatedAt: string | Date;
|
|
170
|
-
name: string;
|
|
171
173
|
crn: string | null;
|
|
172
174
|
govLink: string;
|
|
173
175
|
soleTrader: boolean;
|
|
174
|
-
director: string;
|
|
175
176
|
blacklistReason?: string | null | undefined;
|
|
176
177
|
lastUpdatedBy?: {
|
|
177
178
|
id: string;
|
|
@@ -185,15 +186,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
185
186
|
};
|
|
186
187
|
clientId: string;
|
|
187
188
|
createdById: string;
|
|
188
|
-
phone: string;
|
|
189
189
|
createdBy: {
|
|
190
190
|
id: string;
|
|
191
191
|
firstName: string;
|
|
192
192
|
lastName: string;
|
|
193
193
|
email: string;
|
|
194
194
|
};
|
|
195
|
-
source?: string | undefined;
|
|
196
195
|
position?: string | undefined;
|
|
196
|
+
source?: string | undefined;
|
|
197
197
|
}>;
|
|
198
198
|
export declare const CreateClientContactSchema: z.ZodObject<{
|
|
199
199
|
client: z.ZodObject<{
|
|
@@ -210,22 +210,22 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
210
210
|
source: z.ZodOptional<z.ZodString>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
name: string;
|
|
213
|
+
phone: string;
|
|
213
214
|
client: {
|
|
214
215
|
id: string;
|
|
215
216
|
};
|
|
216
|
-
phone: string;
|
|
217
|
-
source?: string | undefined;
|
|
218
217
|
email?: string | undefined;
|
|
219
218
|
position?: string | undefined;
|
|
219
|
+
source?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
name: string;
|
|
222
|
+
phone: string;
|
|
222
223
|
client: {
|
|
223
224
|
id: string;
|
|
224
225
|
};
|
|
225
|
-
phone: string;
|
|
226
|
-
source?: string | undefined;
|
|
227
226
|
email?: string | undefined;
|
|
228
227
|
position?: string | undefined;
|
|
228
|
+
source?: string | undefined;
|
|
229
229
|
}>;
|
|
230
230
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
231
231
|
client: z.ZodObject<{
|
|
@@ -243,15 +243,15 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
243
243
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
244
244
|
name: string;
|
|
245
245
|
phone: string;
|
|
246
|
-
source?: string | undefined;
|
|
247
246
|
email?: string | undefined;
|
|
248
247
|
position?: string | undefined;
|
|
248
|
+
source?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
name: string;
|
|
251
251
|
phone: string;
|
|
252
|
-
source?: string | undefined;
|
|
253
252
|
email?: string | undefined;
|
|
254
253
|
position?: string | undefined;
|
|
254
|
+
source?: string | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
257
257
|
client: z.ZodOptional<z.ZodObject<{
|
|
@@ -268,16 +268,16 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
268
268
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
269
269
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
270
270
|
name?: string | undefined;
|
|
271
|
-
source?: string | undefined;
|
|
272
271
|
email?: string | undefined;
|
|
273
|
-
position?: string | undefined;
|
|
274
272
|
phone?: string | undefined;
|
|
273
|
+
position?: string | undefined;
|
|
274
|
+
source?: string | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
name?: string | undefined;
|
|
277
|
-
source?: string | undefined;
|
|
278
277
|
email?: string | undefined;
|
|
279
|
-
position?: string | undefined;
|
|
280
278
|
phone?: string | undefined;
|
|
279
|
+
position?: string | undefined;
|
|
280
|
+
source?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
283
283
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -295,27 +295,27 @@ 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
300
|
name?: string | undefined;
|
|
301
|
-
source?: string | undefined;
|
|
302
301
|
email?: string | undefined;
|
|
302
|
+
phone?: string | undefined;
|
|
303
303
|
clientId?: string | undefined;
|
|
304
304
|
createdById?: string | undefined;
|
|
305
305
|
position?: string | undefined;
|
|
306
|
-
|
|
306
|
+
source?: string | undefined;
|
|
307
307
|
}, {
|
|
308
|
+
name?: string | undefined;
|
|
309
|
+
email?: string | undefined;
|
|
308
310
|
limit?: number | undefined;
|
|
309
311
|
page?: number | undefined;
|
|
310
|
-
|
|
311
|
-
source?: string | undefined;
|
|
312
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "email" | "position" | undefined;
|
|
312
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
313
313
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
|
-
|
|
314
|
+
phone?: string | undefined;
|
|
315
315
|
clientId?: string | undefined;
|
|
316
316
|
createdById?: string | undefined;
|
|
317
317
|
position?: string | undefined;
|
|
318
|
-
|
|
318
|
+
source?: string | undefined;
|
|
319
319
|
}>;
|
|
320
320
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
321
321
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -357,14 +357,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
357
357
|
}>>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
359
|
id: string;
|
|
360
|
-
status: "
|
|
360
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
361
|
+
name: string;
|
|
362
|
+
director: string;
|
|
361
363
|
createdAt: string;
|
|
362
364
|
updatedAt: string;
|
|
363
|
-
name: string;
|
|
364
365
|
crn: string | null;
|
|
365
366
|
govLink: string;
|
|
366
367
|
soleTrader: boolean;
|
|
367
|
-
director: string;
|
|
368
368
|
blacklistReason?: string | null | undefined;
|
|
369
369
|
lastUpdatedBy?: {
|
|
370
370
|
id: string;
|
|
@@ -377,14 +377,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
377
377
|
} | null | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
id: string;
|
|
380
|
-
status: "
|
|
380
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
381
|
+
name: string;
|
|
382
|
+
director: string;
|
|
381
383
|
createdAt: string | Date;
|
|
382
384
|
updatedAt: string | Date;
|
|
383
|
-
name: string;
|
|
384
385
|
crn: string | null;
|
|
385
386
|
govLink: string;
|
|
386
387
|
soleTrader: boolean;
|
|
387
|
-
director: string;
|
|
388
388
|
blacklistReason?: string | null | undefined;
|
|
389
389
|
lastUpdatedBy?: {
|
|
390
390
|
id: string;
|
|
@@ -422,20 +422,21 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
422
422
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
424
|
id: string;
|
|
425
|
+
name: string;
|
|
425
426
|
createdAt: string;
|
|
426
427
|
updatedAt: string;
|
|
427
|
-
name: string;
|
|
428
428
|
email: string | null;
|
|
429
|
+
phone: string;
|
|
429
430
|
client: {
|
|
430
431
|
id: string;
|
|
431
|
-
status: "
|
|
432
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
433
|
+
name: string;
|
|
434
|
+
director: string;
|
|
432
435
|
createdAt: string;
|
|
433
436
|
updatedAt: string;
|
|
434
|
-
name: string;
|
|
435
437
|
crn: string | null;
|
|
436
438
|
govLink: string;
|
|
437
439
|
soleTrader: boolean;
|
|
438
|
-
director: string;
|
|
439
440
|
blacklistReason?: string | null | undefined;
|
|
440
441
|
lastUpdatedBy?: {
|
|
441
442
|
id: string;
|
|
@@ -449,31 +450,31 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
449
450
|
};
|
|
450
451
|
clientId: string;
|
|
451
452
|
createdById: string;
|
|
452
|
-
phone: string;
|
|
453
453
|
createdBy: {
|
|
454
454
|
id: string;
|
|
455
455
|
firstName: string;
|
|
456
456
|
lastName: string;
|
|
457
457
|
email: string;
|
|
458
458
|
};
|
|
459
|
-
source?: string | undefined;
|
|
460
459
|
position?: string | undefined;
|
|
460
|
+
source?: string | undefined;
|
|
461
461
|
}, {
|
|
462
462
|
id: string;
|
|
463
|
+
name: string;
|
|
463
464
|
createdAt: string | Date;
|
|
464
465
|
updatedAt: string | Date;
|
|
465
|
-
name: string;
|
|
466
466
|
email: string | null;
|
|
467
|
+
phone: string;
|
|
467
468
|
client: {
|
|
468
469
|
id: string;
|
|
469
|
-
status: "
|
|
470
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
471
|
+
name: string;
|
|
472
|
+
director: string;
|
|
470
473
|
createdAt: string | Date;
|
|
471
474
|
updatedAt: string | Date;
|
|
472
|
-
name: string;
|
|
473
475
|
crn: string | null;
|
|
474
476
|
govLink: string;
|
|
475
477
|
soleTrader: boolean;
|
|
476
|
-
director: string;
|
|
477
478
|
blacklistReason?: string | null | undefined;
|
|
478
479
|
lastUpdatedBy?: {
|
|
479
480
|
id: string;
|
|
@@ -487,15 +488,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
487
488
|
};
|
|
488
489
|
clientId: string;
|
|
489
490
|
createdById: string;
|
|
490
|
-
phone: string;
|
|
491
491
|
createdBy: {
|
|
492
492
|
id: string;
|
|
493
493
|
firstName: string;
|
|
494
494
|
lastName: string;
|
|
495
495
|
email: string;
|
|
496
496
|
};
|
|
497
|
-
source?: string | undefined;
|
|
498
497
|
position?: string | undefined;
|
|
498
|
+
source?: string | undefined;
|
|
499
499
|
}>, "many">;
|
|
500
500
|
totalCount: z.ZodNumber;
|
|
501
501
|
limit: z.ZodNumber;
|
|
@@ -506,20 +506,21 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
506
506
|
limit: number;
|
|
507
507
|
items: {
|
|
508
508
|
id: string;
|
|
509
|
+
name: string;
|
|
509
510
|
createdAt: string;
|
|
510
511
|
updatedAt: string;
|
|
511
|
-
name: string;
|
|
512
512
|
email: string | null;
|
|
513
|
+
phone: string;
|
|
513
514
|
client: {
|
|
514
515
|
id: string;
|
|
515
|
-
status: "
|
|
516
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
517
|
+
name: string;
|
|
518
|
+
director: string;
|
|
516
519
|
createdAt: string;
|
|
517
520
|
updatedAt: string;
|
|
518
|
-
name: string;
|
|
519
521
|
crn: string | null;
|
|
520
522
|
govLink: string;
|
|
521
523
|
soleTrader: boolean;
|
|
522
|
-
director: string;
|
|
523
524
|
blacklistReason?: string | null | undefined;
|
|
524
525
|
lastUpdatedBy?: {
|
|
525
526
|
id: string;
|
|
@@ -533,15 +534,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
533
534
|
};
|
|
534
535
|
clientId: string;
|
|
535
536
|
createdById: string;
|
|
536
|
-
phone: string;
|
|
537
537
|
createdBy: {
|
|
538
538
|
id: string;
|
|
539
539
|
firstName: string;
|
|
540
540
|
lastName: string;
|
|
541
541
|
email: string;
|
|
542
542
|
};
|
|
543
|
-
source?: string | undefined;
|
|
544
543
|
position?: string | undefined;
|
|
544
|
+
source?: string | undefined;
|
|
545
545
|
}[];
|
|
546
546
|
totalCount: number;
|
|
547
547
|
skip: number;
|
|
@@ -551,20 +551,21 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
551
551
|
limit: number;
|
|
552
552
|
items: {
|
|
553
553
|
id: string;
|
|
554
|
+
name: string;
|
|
554
555
|
createdAt: string | Date;
|
|
555
556
|
updatedAt: string | Date;
|
|
556
|
-
name: string;
|
|
557
557
|
email: string | null;
|
|
558
|
+
phone: string;
|
|
558
559
|
client: {
|
|
559
560
|
id: string;
|
|
560
|
-
status: "
|
|
561
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
562
|
+
name: string;
|
|
563
|
+
director: string;
|
|
561
564
|
createdAt: string | Date;
|
|
562
565
|
updatedAt: string | Date;
|
|
563
|
-
name: string;
|
|
564
566
|
crn: string | null;
|
|
565
567
|
govLink: string;
|
|
566
568
|
soleTrader: boolean;
|
|
567
|
-
director: string;
|
|
568
569
|
blacklistReason?: string | null | undefined;
|
|
569
570
|
lastUpdatedBy?: {
|
|
570
571
|
id: string;
|
|
@@ -578,15 +579,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
578
579
|
};
|
|
579
580
|
clientId: string;
|
|
580
581
|
createdById: string;
|
|
581
|
-
phone: string;
|
|
582
582
|
createdBy: {
|
|
583
583
|
id: string;
|
|
584
584
|
firstName: string;
|
|
585
585
|
lastName: string;
|
|
586
586
|
email: string;
|
|
587
587
|
};
|
|
588
|
-
source?: string | undefined;
|
|
589
588
|
position?: string | undefined;
|
|
589
|
+
source?: string | undefined;
|
|
590
590
|
}[];
|
|
591
591
|
totalCount: number;
|
|
592
592
|
skip: number;
|
|
@@ -623,22 +623,22 @@ export declare const clientContactsContractRouter: {
|
|
|
623
623
|
source: z.ZodOptional<z.ZodString>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
name: string;
|
|
626
|
+
phone: string;
|
|
626
627
|
client: {
|
|
627
628
|
id: string;
|
|
628
629
|
};
|
|
629
|
-
phone: string;
|
|
630
|
-
source?: string | undefined;
|
|
631
630
|
email?: string | undefined;
|
|
632
631
|
position?: string | undefined;
|
|
632
|
+
source?: string | undefined;
|
|
633
633
|
}, {
|
|
634
634
|
name: string;
|
|
635
|
+
phone: string;
|
|
635
636
|
client: {
|
|
636
637
|
id: string;
|
|
637
638
|
};
|
|
638
|
-
phone: string;
|
|
639
|
-
source?: string | undefined;
|
|
640
639
|
email?: string | undefined;
|
|
641
640
|
position?: string | undefined;
|
|
641
|
+
source?: string | undefined;
|
|
642
642
|
}>;
|
|
643
643
|
path: "/v2/client-contacts";
|
|
644
644
|
responses: {
|
|
@@ -781,14 +781,14 @@ export declare const clientContactsContractRouter: {
|
|
|
781
781
|
}>>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
783
|
id: string;
|
|
784
|
-
status: "
|
|
784
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
785
|
+
name: string;
|
|
786
|
+
director: string;
|
|
785
787
|
createdAt: string;
|
|
786
788
|
updatedAt: string;
|
|
787
|
-
name: string;
|
|
788
789
|
crn: string | null;
|
|
789
790
|
govLink: string;
|
|
790
791
|
soleTrader: boolean;
|
|
791
|
-
director: string;
|
|
792
792
|
blacklistReason?: string | null | undefined;
|
|
793
793
|
lastUpdatedBy?: {
|
|
794
794
|
id: string;
|
|
@@ -801,14 +801,14 @@ export declare const clientContactsContractRouter: {
|
|
|
801
801
|
} | null | undefined;
|
|
802
802
|
}, {
|
|
803
803
|
id: string;
|
|
804
|
-
status: "
|
|
804
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
805
|
+
name: string;
|
|
806
|
+
director: string;
|
|
805
807
|
createdAt: string | Date;
|
|
806
808
|
updatedAt: string | Date;
|
|
807
|
-
name: string;
|
|
808
809
|
crn: string | null;
|
|
809
810
|
govLink: string;
|
|
810
811
|
soleTrader: boolean;
|
|
811
|
-
director: string;
|
|
812
812
|
blacklistReason?: string | null | undefined;
|
|
813
813
|
lastUpdatedBy?: {
|
|
814
814
|
id: string;
|
|
@@ -846,20 +846,21 @@ export declare const clientContactsContractRouter: {
|
|
|
846
846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
848
|
id: string;
|
|
849
|
+
name: string;
|
|
849
850
|
createdAt: string;
|
|
850
851
|
updatedAt: string;
|
|
851
|
-
name: string;
|
|
852
852
|
email: string | null;
|
|
853
|
+
phone: string;
|
|
853
854
|
client: {
|
|
854
855
|
id: string;
|
|
855
|
-
status: "
|
|
856
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
857
|
+
name: string;
|
|
858
|
+
director: string;
|
|
856
859
|
createdAt: string;
|
|
857
860
|
updatedAt: string;
|
|
858
|
-
name: string;
|
|
859
861
|
crn: string | null;
|
|
860
862
|
govLink: string;
|
|
861
863
|
soleTrader: boolean;
|
|
862
|
-
director: string;
|
|
863
864
|
blacklistReason?: string | null | undefined;
|
|
864
865
|
lastUpdatedBy?: {
|
|
865
866
|
id: string;
|
|
@@ -873,31 +874,31 @@ export declare const clientContactsContractRouter: {
|
|
|
873
874
|
};
|
|
874
875
|
clientId: string;
|
|
875
876
|
createdById: string;
|
|
876
|
-
phone: string;
|
|
877
877
|
createdBy: {
|
|
878
878
|
id: string;
|
|
879
879
|
firstName: string;
|
|
880
880
|
lastName: string;
|
|
881
881
|
email: string;
|
|
882
882
|
};
|
|
883
|
-
source?: string | undefined;
|
|
884
883
|
position?: string | undefined;
|
|
884
|
+
source?: string | undefined;
|
|
885
885
|
}, {
|
|
886
886
|
id: string;
|
|
887
|
+
name: string;
|
|
887
888
|
createdAt: string | Date;
|
|
888
889
|
updatedAt: string | Date;
|
|
889
|
-
name: string;
|
|
890
890
|
email: string | null;
|
|
891
|
+
phone: string;
|
|
891
892
|
client: {
|
|
892
893
|
id: string;
|
|
893
|
-
status: "
|
|
894
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
895
|
+
name: string;
|
|
896
|
+
director: string;
|
|
894
897
|
createdAt: string | Date;
|
|
895
898
|
updatedAt: string | Date;
|
|
896
|
-
name: string;
|
|
897
899
|
crn: string | null;
|
|
898
900
|
govLink: string;
|
|
899
901
|
soleTrader: boolean;
|
|
900
|
-
director: string;
|
|
901
902
|
blacklistReason?: string | null | undefined;
|
|
902
903
|
lastUpdatedBy?: {
|
|
903
904
|
id: string;
|
|
@@ -911,15 +912,14 @@ export declare const clientContactsContractRouter: {
|
|
|
911
912
|
};
|
|
912
913
|
clientId: string;
|
|
913
914
|
createdById: string;
|
|
914
|
-
phone: string;
|
|
915
915
|
createdBy: {
|
|
916
916
|
id: string;
|
|
917
917
|
firstName: string;
|
|
918
918
|
lastName: string;
|
|
919
919
|
email: string;
|
|
920
920
|
};
|
|
921
|
-
source?: string | undefined;
|
|
922
921
|
position?: string | undefined;
|
|
922
|
+
source?: string | undefined;
|
|
923
923
|
}>;
|
|
924
924
|
409: z.ZodObject<{
|
|
925
925
|
statusCode: z.ZodNumber;
|
|
@@ -977,15 +977,15 @@ export declare const clientContactsContractRouter: {
|
|
|
977
977
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
978
978
|
name: string;
|
|
979
979
|
phone: string;
|
|
980
|
-
source?: string | undefined;
|
|
981
980
|
email?: string | undefined;
|
|
982
981
|
position?: string | undefined;
|
|
982
|
+
source?: string | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
name: string;
|
|
985
985
|
phone: string;
|
|
986
|
-
source?: string | undefined;
|
|
987
986
|
email?: string | undefined;
|
|
988
987
|
position?: string | undefined;
|
|
988
|
+
source?: string | undefined;
|
|
989
989
|
}>;
|
|
990
990
|
path: "/v2/client-contacts/client/:clientId";
|
|
991
991
|
responses: {
|
|
@@ -1128,14 +1128,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1128
1128
|
}>>>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
1130
|
id: string;
|
|
1131
|
-
status: "
|
|
1131
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1132
|
+
name: string;
|
|
1133
|
+
director: string;
|
|
1132
1134
|
createdAt: string;
|
|
1133
1135
|
updatedAt: string;
|
|
1134
|
-
name: string;
|
|
1135
1136
|
crn: string | null;
|
|
1136
1137
|
govLink: string;
|
|
1137
1138
|
soleTrader: boolean;
|
|
1138
|
-
director: string;
|
|
1139
1139
|
blacklistReason?: string | null | undefined;
|
|
1140
1140
|
lastUpdatedBy?: {
|
|
1141
1141
|
id: string;
|
|
@@ -1148,14 +1148,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1148
1148
|
} | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
1150
|
id: string;
|
|
1151
|
-
status: "
|
|
1151
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1152
|
+
name: string;
|
|
1153
|
+
director: string;
|
|
1152
1154
|
createdAt: string | Date;
|
|
1153
1155
|
updatedAt: string | Date;
|
|
1154
|
-
name: string;
|
|
1155
1156
|
crn: string | null;
|
|
1156
1157
|
govLink: string;
|
|
1157
1158
|
soleTrader: boolean;
|
|
1158
|
-
director: string;
|
|
1159
1159
|
blacklistReason?: string | null | undefined;
|
|
1160
1160
|
lastUpdatedBy?: {
|
|
1161
1161
|
id: string;
|
|
@@ -1193,20 +1193,21 @@ export declare const clientContactsContractRouter: {
|
|
|
1193
1193
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
1195
|
id: string;
|
|
1196
|
+
name: string;
|
|
1196
1197
|
createdAt: string;
|
|
1197
1198
|
updatedAt: string;
|
|
1198
|
-
name: string;
|
|
1199
1199
|
email: string | null;
|
|
1200
|
+
phone: string;
|
|
1200
1201
|
client: {
|
|
1201
1202
|
id: string;
|
|
1202
|
-
status: "
|
|
1203
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1204
|
+
name: string;
|
|
1205
|
+
director: string;
|
|
1203
1206
|
createdAt: string;
|
|
1204
1207
|
updatedAt: string;
|
|
1205
|
-
name: string;
|
|
1206
1208
|
crn: string | null;
|
|
1207
1209
|
govLink: string;
|
|
1208
1210
|
soleTrader: boolean;
|
|
1209
|
-
director: string;
|
|
1210
1211
|
blacklistReason?: string | null | undefined;
|
|
1211
1212
|
lastUpdatedBy?: {
|
|
1212
1213
|
id: string;
|
|
@@ -1220,31 +1221,31 @@ export declare const clientContactsContractRouter: {
|
|
|
1220
1221
|
};
|
|
1221
1222
|
clientId: string;
|
|
1222
1223
|
createdById: string;
|
|
1223
|
-
phone: string;
|
|
1224
1224
|
createdBy: {
|
|
1225
1225
|
id: string;
|
|
1226
1226
|
firstName: string;
|
|
1227
1227
|
lastName: string;
|
|
1228
1228
|
email: string;
|
|
1229
1229
|
};
|
|
1230
|
-
source?: string | undefined;
|
|
1231
1230
|
position?: string | undefined;
|
|
1231
|
+
source?: string | undefined;
|
|
1232
1232
|
}, {
|
|
1233
1233
|
id: string;
|
|
1234
|
+
name: string;
|
|
1234
1235
|
createdAt: string | Date;
|
|
1235
1236
|
updatedAt: string | Date;
|
|
1236
|
-
name: string;
|
|
1237
1237
|
email: string | null;
|
|
1238
|
+
phone: string;
|
|
1238
1239
|
client: {
|
|
1239
1240
|
id: string;
|
|
1240
|
-
status: "
|
|
1241
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1242
|
+
name: string;
|
|
1243
|
+
director: string;
|
|
1241
1244
|
createdAt: string | Date;
|
|
1242
1245
|
updatedAt: string | Date;
|
|
1243
|
-
name: string;
|
|
1244
1246
|
crn: string | null;
|
|
1245
1247
|
govLink: string;
|
|
1246
1248
|
soleTrader: boolean;
|
|
1247
|
-
director: string;
|
|
1248
1249
|
blacklistReason?: string | null | undefined;
|
|
1249
1250
|
lastUpdatedBy?: {
|
|
1250
1251
|
id: string;
|
|
@@ -1258,15 +1259,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1258
1259
|
};
|
|
1259
1260
|
clientId: string;
|
|
1260
1261
|
createdById: string;
|
|
1261
|
-
phone: string;
|
|
1262
1262
|
createdBy: {
|
|
1263
1263
|
id: string;
|
|
1264
1264
|
firstName: string;
|
|
1265
1265
|
lastName: string;
|
|
1266
1266
|
email: string;
|
|
1267
1267
|
};
|
|
1268
|
-
source?: string | undefined;
|
|
1269
1268
|
position?: string | undefined;
|
|
1269
|
+
source?: string | undefined;
|
|
1270
1270
|
}>;
|
|
1271
1271
|
409: z.ZodObject<{
|
|
1272
1272
|
statusCode: z.ZodNumber;
|
|
@@ -1312,27 +1312,27 @@ export declare const clientContactsContractRouter: {
|
|
|
1312
1312
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1313
|
limit: number;
|
|
1314
1314
|
page: number;
|
|
1315
|
-
sortBy: "
|
|
1315
|
+
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
1316
1316
|
sortOrder: "ASC" | "DESC";
|
|
1317
1317
|
name?: string | undefined;
|
|
1318
|
-
source?: string | undefined;
|
|
1319
1318
|
email?: string | undefined;
|
|
1319
|
+
phone?: string | undefined;
|
|
1320
1320
|
clientId?: string | undefined;
|
|
1321
1321
|
createdById?: string | undefined;
|
|
1322
1322
|
position?: string | undefined;
|
|
1323
|
-
|
|
1323
|
+
source?: string | undefined;
|
|
1324
1324
|
}, {
|
|
1325
|
+
name?: string | undefined;
|
|
1326
|
+
email?: string | undefined;
|
|
1325
1327
|
limit?: number | undefined;
|
|
1326
1328
|
page?: number | undefined;
|
|
1327
|
-
|
|
1328
|
-
source?: string | undefined;
|
|
1329
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "email" | "position" | undefined;
|
|
1329
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
1330
1330
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1331
|
-
|
|
1331
|
+
phone?: string | undefined;
|
|
1332
1332
|
clientId?: string | undefined;
|
|
1333
1333
|
createdById?: string | undefined;
|
|
1334
1334
|
position?: string | undefined;
|
|
1335
|
-
|
|
1335
|
+
source?: string | undefined;
|
|
1336
1336
|
}>;
|
|
1337
1337
|
metadata: {
|
|
1338
1338
|
tags: string[];
|
|
@@ -1481,14 +1481,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1481
1481
|
}>>>;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
1483
|
id: string;
|
|
1484
|
-
status: "
|
|
1484
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1485
|
+
name: string;
|
|
1486
|
+
director: string;
|
|
1485
1487
|
createdAt: string;
|
|
1486
1488
|
updatedAt: string;
|
|
1487
|
-
name: string;
|
|
1488
1489
|
crn: string | null;
|
|
1489
1490
|
govLink: string;
|
|
1490
1491
|
soleTrader: boolean;
|
|
1491
|
-
director: string;
|
|
1492
1492
|
blacklistReason?: string | null | undefined;
|
|
1493
1493
|
lastUpdatedBy?: {
|
|
1494
1494
|
id: string;
|
|
@@ -1501,14 +1501,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
}, {
|
|
1503
1503
|
id: string;
|
|
1504
|
-
status: "
|
|
1504
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1505
|
+
name: string;
|
|
1506
|
+
director: string;
|
|
1505
1507
|
createdAt: string | Date;
|
|
1506
1508
|
updatedAt: string | Date;
|
|
1507
|
-
name: string;
|
|
1508
1509
|
crn: string | null;
|
|
1509
1510
|
govLink: string;
|
|
1510
1511
|
soleTrader: boolean;
|
|
1511
|
-
director: string;
|
|
1512
1512
|
blacklistReason?: string | null | undefined;
|
|
1513
1513
|
lastUpdatedBy?: {
|
|
1514
1514
|
id: string;
|
|
@@ -1546,20 +1546,21 @@ export declare const clientContactsContractRouter: {
|
|
|
1546
1546
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
1548
|
id: string;
|
|
1549
|
+
name: string;
|
|
1549
1550
|
createdAt: string;
|
|
1550
1551
|
updatedAt: string;
|
|
1551
|
-
name: string;
|
|
1552
1552
|
email: string | null;
|
|
1553
|
+
phone: string;
|
|
1553
1554
|
client: {
|
|
1554
1555
|
id: string;
|
|
1555
|
-
status: "
|
|
1556
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1557
|
+
name: string;
|
|
1558
|
+
director: string;
|
|
1556
1559
|
createdAt: string;
|
|
1557
1560
|
updatedAt: string;
|
|
1558
|
-
name: string;
|
|
1559
1561
|
crn: string | null;
|
|
1560
1562
|
govLink: string;
|
|
1561
1563
|
soleTrader: boolean;
|
|
1562
|
-
director: string;
|
|
1563
1564
|
blacklistReason?: string | null | undefined;
|
|
1564
1565
|
lastUpdatedBy?: {
|
|
1565
1566
|
id: string;
|
|
@@ -1573,31 +1574,31 @@ export declare const clientContactsContractRouter: {
|
|
|
1573
1574
|
};
|
|
1574
1575
|
clientId: string;
|
|
1575
1576
|
createdById: string;
|
|
1576
|
-
phone: string;
|
|
1577
1577
|
createdBy: {
|
|
1578
1578
|
id: string;
|
|
1579
1579
|
firstName: string;
|
|
1580
1580
|
lastName: string;
|
|
1581
1581
|
email: string;
|
|
1582
1582
|
};
|
|
1583
|
-
source?: string | undefined;
|
|
1584
1583
|
position?: string | undefined;
|
|
1584
|
+
source?: string | undefined;
|
|
1585
1585
|
}, {
|
|
1586
1586
|
id: string;
|
|
1587
|
+
name: string;
|
|
1587
1588
|
createdAt: string | Date;
|
|
1588
1589
|
updatedAt: string | Date;
|
|
1589
|
-
name: string;
|
|
1590
1590
|
email: string | null;
|
|
1591
|
+
phone: string;
|
|
1591
1592
|
client: {
|
|
1592
1593
|
id: string;
|
|
1593
|
-
status: "
|
|
1594
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1595
|
+
name: string;
|
|
1596
|
+
director: string;
|
|
1594
1597
|
createdAt: string | Date;
|
|
1595
1598
|
updatedAt: string | Date;
|
|
1596
|
-
name: string;
|
|
1597
1599
|
crn: string | null;
|
|
1598
1600
|
govLink: string;
|
|
1599
1601
|
soleTrader: boolean;
|
|
1600
|
-
director: string;
|
|
1601
1602
|
blacklistReason?: string | null | undefined;
|
|
1602
1603
|
lastUpdatedBy?: {
|
|
1603
1604
|
id: string;
|
|
@@ -1611,15 +1612,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1611
1612
|
};
|
|
1612
1613
|
clientId: string;
|
|
1613
1614
|
createdById: string;
|
|
1614
|
-
phone: string;
|
|
1615
1615
|
createdBy: {
|
|
1616
1616
|
id: string;
|
|
1617
1617
|
firstName: string;
|
|
1618
1618
|
lastName: string;
|
|
1619
1619
|
email: string;
|
|
1620
1620
|
};
|
|
1621
|
-
source?: string | undefined;
|
|
1622
1621
|
position?: string | undefined;
|
|
1622
|
+
source?: string | undefined;
|
|
1623
1623
|
}>, "many">;
|
|
1624
1624
|
totalCount: z.ZodNumber;
|
|
1625
1625
|
limit: z.ZodNumber;
|
|
@@ -1630,20 +1630,21 @@ export declare const clientContactsContractRouter: {
|
|
|
1630
1630
|
limit: number;
|
|
1631
1631
|
items: {
|
|
1632
1632
|
id: string;
|
|
1633
|
+
name: string;
|
|
1633
1634
|
createdAt: string;
|
|
1634
1635
|
updatedAt: string;
|
|
1635
|
-
name: string;
|
|
1636
1636
|
email: string | null;
|
|
1637
|
+
phone: string;
|
|
1637
1638
|
client: {
|
|
1638
1639
|
id: string;
|
|
1639
|
-
status: "
|
|
1640
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1641
|
+
name: string;
|
|
1642
|
+
director: string;
|
|
1640
1643
|
createdAt: string;
|
|
1641
1644
|
updatedAt: string;
|
|
1642
|
-
name: string;
|
|
1643
1645
|
crn: string | null;
|
|
1644
1646
|
govLink: string;
|
|
1645
1647
|
soleTrader: boolean;
|
|
1646
|
-
director: string;
|
|
1647
1648
|
blacklistReason?: string | null | undefined;
|
|
1648
1649
|
lastUpdatedBy?: {
|
|
1649
1650
|
id: string;
|
|
@@ -1657,15 +1658,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1657
1658
|
};
|
|
1658
1659
|
clientId: string;
|
|
1659
1660
|
createdById: string;
|
|
1660
|
-
phone: string;
|
|
1661
1661
|
createdBy: {
|
|
1662
1662
|
id: string;
|
|
1663
1663
|
firstName: string;
|
|
1664
1664
|
lastName: string;
|
|
1665
1665
|
email: string;
|
|
1666
1666
|
};
|
|
1667
|
-
source?: string | undefined;
|
|
1668
1667
|
position?: string | undefined;
|
|
1668
|
+
source?: string | undefined;
|
|
1669
1669
|
}[];
|
|
1670
1670
|
totalCount: number;
|
|
1671
1671
|
skip: number;
|
|
@@ -1675,20 +1675,21 @@ export declare const clientContactsContractRouter: {
|
|
|
1675
1675
|
limit: number;
|
|
1676
1676
|
items: {
|
|
1677
1677
|
id: string;
|
|
1678
|
+
name: string;
|
|
1678
1679
|
createdAt: string | Date;
|
|
1679
1680
|
updatedAt: string | Date;
|
|
1680
|
-
name: string;
|
|
1681
1681
|
email: string | null;
|
|
1682
|
+
phone: string;
|
|
1682
1683
|
client: {
|
|
1683
1684
|
id: string;
|
|
1684
|
-
status: "
|
|
1685
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1686
|
+
name: string;
|
|
1687
|
+
director: string;
|
|
1685
1688
|
createdAt: string | Date;
|
|
1686
1689
|
updatedAt: string | Date;
|
|
1687
|
-
name: string;
|
|
1688
1690
|
crn: string | null;
|
|
1689
1691
|
govLink: string;
|
|
1690
1692
|
soleTrader: boolean;
|
|
1691
|
-
director: string;
|
|
1692
1693
|
blacklistReason?: string | null | undefined;
|
|
1693
1694
|
lastUpdatedBy?: {
|
|
1694
1695
|
id: string;
|
|
@@ -1702,15 +1703,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1702
1703
|
};
|
|
1703
1704
|
clientId: string;
|
|
1704
1705
|
createdById: string;
|
|
1705
|
-
phone: string;
|
|
1706
1706
|
createdBy: {
|
|
1707
1707
|
id: string;
|
|
1708
1708
|
firstName: string;
|
|
1709
1709
|
lastName: string;
|
|
1710
1710
|
email: string;
|
|
1711
1711
|
};
|
|
1712
|
-
source?: string | undefined;
|
|
1713
1712
|
position?: string | undefined;
|
|
1713
|
+
source?: string | undefined;
|
|
1714
1714
|
}[];
|
|
1715
1715
|
totalCount: number;
|
|
1716
1716
|
skip: number;
|
|
@@ -1873,14 +1873,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1873
1873
|
}>>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1875
|
id: string;
|
|
1876
|
-
status: "
|
|
1876
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1877
|
+
name: string;
|
|
1878
|
+
director: string;
|
|
1877
1879
|
createdAt: string;
|
|
1878
1880
|
updatedAt: string;
|
|
1879
|
-
name: string;
|
|
1880
1881
|
crn: string | null;
|
|
1881
1882
|
govLink: string;
|
|
1882
1883
|
soleTrader: boolean;
|
|
1883
|
-
director: string;
|
|
1884
1884
|
blacklistReason?: string | null | undefined;
|
|
1885
1885
|
lastUpdatedBy?: {
|
|
1886
1886
|
id: string;
|
|
@@ -1893,14 +1893,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1893
1893
|
} | null | undefined;
|
|
1894
1894
|
}, {
|
|
1895
1895
|
id: string;
|
|
1896
|
-
status: "
|
|
1896
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1897
|
+
name: string;
|
|
1898
|
+
director: string;
|
|
1897
1899
|
createdAt: string | Date;
|
|
1898
1900
|
updatedAt: string | Date;
|
|
1899
|
-
name: string;
|
|
1900
1901
|
crn: string | null;
|
|
1901
1902
|
govLink: string;
|
|
1902
1903
|
soleTrader: boolean;
|
|
1903
|
-
director: string;
|
|
1904
1904
|
blacklistReason?: string | null | undefined;
|
|
1905
1905
|
lastUpdatedBy?: {
|
|
1906
1906
|
id: string;
|
|
@@ -1938,20 +1938,21 @@ export declare const clientContactsContractRouter: {
|
|
|
1938
1938
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1939
1939
|
}, "strip", z.ZodTypeAny, {
|
|
1940
1940
|
id: string;
|
|
1941
|
+
name: string;
|
|
1941
1942
|
createdAt: string;
|
|
1942
1943
|
updatedAt: string;
|
|
1943
|
-
name: string;
|
|
1944
1944
|
email: string | null;
|
|
1945
|
+
phone: string;
|
|
1945
1946
|
client: {
|
|
1946
1947
|
id: string;
|
|
1947
|
-
status: "
|
|
1948
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1949
|
+
name: string;
|
|
1950
|
+
director: string;
|
|
1948
1951
|
createdAt: string;
|
|
1949
1952
|
updatedAt: string;
|
|
1950
|
-
name: string;
|
|
1951
1953
|
crn: string | null;
|
|
1952
1954
|
govLink: string;
|
|
1953
1955
|
soleTrader: boolean;
|
|
1954
|
-
director: string;
|
|
1955
1956
|
blacklistReason?: string | null | undefined;
|
|
1956
1957
|
lastUpdatedBy?: {
|
|
1957
1958
|
id: string;
|
|
@@ -1965,31 +1966,31 @@ export declare const clientContactsContractRouter: {
|
|
|
1965
1966
|
};
|
|
1966
1967
|
clientId: string;
|
|
1967
1968
|
createdById: string;
|
|
1968
|
-
phone: string;
|
|
1969
1969
|
createdBy: {
|
|
1970
1970
|
id: string;
|
|
1971
1971
|
firstName: string;
|
|
1972
1972
|
lastName: string;
|
|
1973
1973
|
email: string;
|
|
1974
1974
|
};
|
|
1975
|
-
source?: string | undefined;
|
|
1976
1975
|
position?: string | undefined;
|
|
1976
|
+
source?: string | undefined;
|
|
1977
1977
|
}, {
|
|
1978
1978
|
id: string;
|
|
1979
|
+
name: string;
|
|
1979
1980
|
createdAt: string | Date;
|
|
1980
1981
|
updatedAt: string | Date;
|
|
1981
|
-
name: string;
|
|
1982
1982
|
email: string | null;
|
|
1983
|
+
phone: string;
|
|
1983
1984
|
client: {
|
|
1984
1985
|
id: string;
|
|
1985
|
-
status: "
|
|
1986
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1987
|
+
name: string;
|
|
1988
|
+
director: string;
|
|
1986
1989
|
createdAt: string | Date;
|
|
1987
1990
|
updatedAt: string | Date;
|
|
1988
|
-
name: string;
|
|
1989
1991
|
crn: string | null;
|
|
1990
1992
|
govLink: string;
|
|
1991
1993
|
soleTrader: boolean;
|
|
1992
|
-
director: string;
|
|
1993
1994
|
blacklistReason?: string | null | undefined;
|
|
1994
1995
|
lastUpdatedBy?: {
|
|
1995
1996
|
id: string;
|
|
@@ -2003,15 +2004,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2003
2004
|
};
|
|
2004
2005
|
clientId: string;
|
|
2005
2006
|
createdById: string;
|
|
2006
|
-
phone: string;
|
|
2007
2007
|
createdBy: {
|
|
2008
2008
|
id: string;
|
|
2009
2009
|
firstName: string;
|
|
2010
2010
|
lastName: string;
|
|
2011
2011
|
email: string;
|
|
2012
2012
|
};
|
|
2013
|
-
source?: string | undefined;
|
|
2014
2013
|
position?: string | undefined;
|
|
2014
|
+
source?: string | undefined;
|
|
2015
2015
|
}>;
|
|
2016
2016
|
404: z.ZodObject<{
|
|
2017
2017
|
statusCode: z.ZodNumber;
|
|
@@ -2068,16 +2068,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2068
2068
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2069
2069
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2070
2070
|
name?: string | undefined;
|
|
2071
|
-
source?: string | undefined;
|
|
2072
2071
|
email?: string | undefined;
|
|
2073
|
-
position?: string | undefined;
|
|
2074
2072
|
phone?: string | undefined;
|
|
2073
|
+
position?: string | undefined;
|
|
2074
|
+
source?: string | undefined;
|
|
2075
2075
|
}, {
|
|
2076
2076
|
name?: string | undefined;
|
|
2077
|
-
source?: string | undefined;
|
|
2078
2077
|
email?: string | undefined;
|
|
2079
|
-
position?: string | undefined;
|
|
2080
2078
|
phone?: string | undefined;
|
|
2079
|
+
position?: string | undefined;
|
|
2080
|
+
source?: string | undefined;
|
|
2081
2081
|
}>;
|
|
2082
2082
|
path: "/v2/client-contacts/:contactId";
|
|
2083
2083
|
responses: {
|
|
@@ -2220,14 +2220,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2220
2220
|
}>>>;
|
|
2221
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2222
2222
|
id: string;
|
|
2223
|
-
status: "
|
|
2223
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2224
|
+
name: string;
|
|
2225
|
+
director: string;
|
|
2224
2226
|
createdAt: string;
|
|
2225
2227
|
updatedAt: string;
|
|
2226
|
-
name: string;
|
|
2227
2228
|
crn: string | null;
|
|
2228
2229
|
govLink: string;
|
|
2229
2230
|
soleTrader: boolean;
|
|
2230
|
-
director: string;
|
|
2231
2231
|
blacklistReason?: string | null | undefined;
|
|
2232
2232
|
lastUpdatedBy?: {
|
|
2233
2233
|
id: string;
|
|
@@ -2240,14 +2240,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2240
2240
|
} | null | undefined;
|
|
2241
2241
|
}, {
|
|
2242
2242
|
id: string;
|
|
2243
|
-
status: "
|
|
2243
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2244
|
+
name: string;
|
|
2245
|
+
director: string;
|
|
2244
2246
|
createdAt: string | Date;
|
|
2245
2247
|
updatedAt: string | Date;
|
|
2246
|
-
name: string;
|
|
2247
2248
|
crn: string | null;
|
|
2248
2249
|
govLink: string;
|
|
2249
2250
|
soleTrader: boolean;
|
|
2250
|
-
director: string;
|
|
2251
2251
|
blacklistReason?: string | null | undefined;
|
|
2252
2252
|
lastUpdatedBy?: {
|
|
2253
2253
|
id: string;
|
|
@@ -2285,20 +2285,21 @@ export declare const clientContactsContractRouter: {
|
|
|
2285
2285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2286
2286
|
}, "strip", z.ZodTypeAny, {
|
|
2287
2287
|
id: string;
|
|
2288
|
+
name: string;
|
|
2288
2289
|
createdAt: string;
|
|
2289
2290
|
updatedAt: string;
|
|
2290
|
-
name: string;
|
|
2291
2291
|
email: string | null;
|
|
2292
|
+
phone: string;
|
|
2292
2293
|
client: {
|
|
2293
2294
|
id: string;
|
|
2294
|
-
status: "
|
|
2295
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2296
|
+
name: string;
|
|
2297
|
+
director: string;
|
|
2295
2298
|
createdAt: string;
|
|
2296
2299
|
updatedAt: string;
|
|
2297
|
-
name: string;
|
|
2298
2300
|
crn: string | null;
|
|
2299
2301
|
govLink: string;
|
|
2300
2302
|
soleTrader: boolean;
|
|
2301
|
-
director: string;
|
|
2302
2303
|
blacklistReason?: string | null | undefined;
|
|
2303
2304
|
lastUpdatedBy?: {
|
|
2304
2305
|
id: string;
|
|
@@ -2312,31 +2313,31 @@ export declare const clientContactsContractRouter: {
|
|
|
2312
2313
|
};
|
|
2313
2314
|
clientId: string;
|
|
2314
2315
|
createdById: string;
|
|
2315
|
-
phone: string;
|
|
2316
2316
|
createdBy: {
|
|
2317
2317
|
id: string;
|
|
2318
2318
|
firstName: string;
|
|
2319
2319
|
lastName: string;
|
|
2320
2320
|
email: string;
|
|
2321
2321
|
};
|
|
2322
|
-
source?: string | undefined;
|
|
2323
2322
|
position?: string | undefined;
|
|
2323
|
+
source?: string | undefined;
|
|
2324
2324
|
}, {
|
|
2325
2325
|
id: string;
|
|
2326
|
+
name: string;
|
|
2326
2327
|
createdAt: string | Date;
|
|
2327
2328
|
updatedAt: string | Date;
|
|
2328
|
-
name: string;
|
|
2329
2329
|
email: string | null;
|
|
2330
|
+
phone: string;
|
|
2330
2331
|
client: {
|
|
2331
2332
|
id: string;
|
|
2332
|
-
status: "
|
|
2333
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2334
|
+
name: string;
|
|
2335
|
+
director: string;
|
|
2333
2336
|
createdAt: string | Date;
|
|
2334
2337
|
updatedAt: string | Date;
|
|
2335
|
-
name: string;
|
|
2336
2338
|
crn: string | null;
|
|
2337
2339
|
govLink: string;
|
|
2338
2340
|
soleTrader: boolean;
|
|
2339
|
-
director: string;
|
|
2340
2341
|
blacklistReason?: string | null | undefined;
|
|
2341
2342
|
lastUpdatedBy?: {
|
|
2342
2343
|
id: string;
|
|
@@ -2350,15 +2351,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2350
2351
|
};
|
|
2351
2352
|
clientId: string;
|
|
2352
2353
|
createdById: string;
|
|
2353
|
-
phone: string;
|
|
2354
2354
|
createdBy: {
|
|
2355
2355
|
id: string;
|
|
2356
2356
|
firstName: string;
|
|
2357
2357
|
lastName: string;
|
|
2358
2358
|
email: string;
|
|
2359
2359
|
};
|
|
2360
|
-
source?: string | undefined;
|
|
2361
2360
|
position?: string | undefined;
|
|
2361
|
+
source?: string | undefined;
|
|
2362
2362
|
}>;
|
|
2363
2363
|
404: z.ZodObject<{
|
|
2364
2364
|
statusCode: z.ZodNumber;
|