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