@dakkitor/api-contracts 1.1.137 → 1.1.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +2 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +4 -1
- package/dist/abilities/bot.abilities.json +4 -0
- package/dist/abilities/cron-scheduler.abilities.json +10 -0
- package/dist/abilities/first-agent.abilities.json +16 -1
- package/dist/abilities/kpi.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +18 -1
- package/dist/abilities/team-leads.json +4 -0
- package/dist/actives/actives.contract.d.ts +14109 -7079
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +290 -2
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1431 -1017
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +31263 -60067
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +223 -8
- package/dist/call-history/call-history.contract.d.ts +814 -640
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +177 -177
- package/dist/clients/clients.contract.d.ts +92 -92
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2114 -1730
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1889 -1508
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +23 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +31 -1
- package/dist/companies/companies.contract.d.ts +28 -28
- package/dist/cron-executions/cron-executions.contract.d.ts +131 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +14 -0
- package/dist/curated-workers/curated-workers.contract.d.ts +762 -500
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +10 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +671 -147
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +140 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/jobs/jobs.contract.d.ts +5234 -2120
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +77 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +64 -64
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -562
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +254 -24
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.js +7 -1
- package/dist/leads/leads.contract.d.ts +228 -228
- package/dist/locations/locations.contract.d.ts +22 -22
- package/dist/offices/offices.contract.d.ts +794 -0
- package/dist/offices/offices.contract.d.ts.map +1 -0
- package/dist/offices/offices.contract.js +93 -0
- package/dist/own-research/own-research.contract.d.ts +854 -563
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/users/users.contract.d.ts +345 -245
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +7 -25
- package/dist/workers/workers.contract.d.ts +1723 -839
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +76 -2
- package/package.json +1 -1
|
@@ -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: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
59
59
|
name: string;
|
|
60
|
+
createdAt: string;
|
|
61
|
+
updatedAt: string;
|
|
60
62
|
crn: string | null;
|
|
61
63
|
govLink: string | null;
|
|
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;
|
|
@@ -75,14 +75,14 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
|
-
status: "
|
|
78
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
79
79
|
name: string;
|
|
80
|
+
createdAt: string | Date;
|
|
81
|
+
updatedAt: string | Date;
|
|
80
82
|
crn: string | null;
|
|
81
83
|
govLink: string | null;
|
|
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;
|
|
@@ -124,17 +124,16 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
124
124
|
name: string;
|
|
125
125
|
createdAt: string;
|
|
126
126
|
updatedAt: string;
|
|
127
|
-
clientId: string;
|
|
128
127
|
client: {
|
|
129
128
|
id: string;
|
|
130
|
-
status: "
|
|
129
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
131
130
|
name: string;
|
|
131
|
+
createdAt: string;
|
|
132
|
+
updatedAt: string;
|
|
132
133
|
crn: string | null;
|
|
133
134
|
govLink: string | null;
|
|
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;
|
|
@@ -146,6 +145,8 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
146
145
|
agentId: string;
|
|
147
146
|
} | null | undefined;
|
|
148
147
|
};
|
|
148
|
+
clientId: string;
|
|
149
|
+
createdById: string;
|
|
149
150
|
phone: string;
|
|
150
151
|
createdBy: {
|
|
151
152
|
id: string;
|
|
@@ -153,26 +154,24 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
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
161
|
email: string | null;
|
|
162
162
|
name: string;
|
|
163
163
|
createdAt: string | Date;
|
|
164
164
|
updatedAt: string | Date;
|
|
165
|
-
clientId: string;
|
|
166
165
|
client: {
|
|
167
166
|
id: string;
|
|
168
|
-
status: "
|
|
167
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
169
168
|
name: string;
|
|
169
|
+
createdAt: string | Date;
|
|
170
|
+
updatedAt: string | Date;
|
|
170
171
|
crn: string | null;
|
|
171
172
|
govLink: string | null;
|
|
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;
|
|
@@ -184,6 +183,8 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
184
183
|
agentId: string;
|
|
185
184
|
} | null | undefined;
|
|
186
185
|
};
|
|
186
|
+
clientId: string;
|
|
187
|
+
createdById: string;
|
|
187
188
|
phone: string;
|
|
188
189
|
createdBy: {
|
|
189
190
|
id: string;
|
|
@@ -191,9 +192,8 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
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<{
|
|
@@ -215,8 +215,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
215
215
|
};
|
|
216
216
|
phone: string;
|
|
217
217
|
email?: string | undefined;
|
|
218
|
-
position?: string | undefined;
|
|
219
218
|
source?: string | undefined;
|
|
219
|
+
position?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
name: string;
|
|
222
222
|
client: {
|
|
@@ -224,8 +224,8 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
224
224
|
};
|
|
225
225
|
phone: string;
|
|
226
226
|
email?: string | undefined;
|
|
227
|
-
position?: string | undefined;
|
|
228
227
|
source?: string | undefined;
|
|
228
|
+
position?: string | undefined;
|
|
229
229
|
}>;
|
|
230
230
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
231
231
|
client: z.ZodObject<{
|
|
@@ -244,14 +244,14 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
244
244
|
name: string;
|
|
245
245
|
phone: string;
|
|
246
246
|
email?: string | undefined;
|
|
247
|
-
position?: string | undefined;
|
|
248
247
|
source?: string | undefined;
|
|
248
|
+
position?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
name: string;
|
|
251
251
|
phone: string;
|
|
252
252
|
email?: string | undefined;
|
|
253
|
-
position?: string | undefined;
|
|
254
253
|
source?: string | undefined;
|
|
254
|
+
position?: string | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
257
257
|
client: z.ZodOptional<z.ZodObject<{
|
|
@@ -269,15 +269,15 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
269
269
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
270
270
|
email?: string | undefined;
|
|
271
271
|
name?: string | undefined;
|
|
272
|
+
source?: string | undefined;
|
|
272
273
|
position?: string | undefined;
|
|
273
274
|
phone?: string | undefined;
|
|
274
|
-
source?: string | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
email?: string | undefined;
|
|
277
277
|
name?: string | undefined;
|
|
278
|
+
source?: string | undefined;
|
|
278
279
|
position?: string | undefined;
|
|
279
280
|
phone?: string | undefined;
|
|
280
|
-
source?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
283
283
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -299,11 +299,11 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
299
299
|
sortOrder: "ASC" | "DESC";
|
|
300
300
|
email?: string | undefined;
|
|
301
301
|
name?: string | undefined;
|
|
302
|
-
position?: string | undefined;
|
|
303
|
-
clientId?: string | undefined;
|
|
304
|
-
phone?: string | undefined;
|
|
305
302
|
source?: string | undefined;
|
|
303
|
+
clientId?: string | undefined;
|
|
306
304
|
createdById?: string | undefined;
|
|
305
|
+
position?: string | undefined;
|
|
306
|
+
phone?: string | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
email?: string | undefined;
|
|
309
309
|
name?: string | undefined;
|
|
@@ -311,11 +311,11 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
311
311
|
page?: number | undefined;
|
|
312
312
|
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
313
313
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
|
-
position?: string | undefined;
|
|
315
|
-
clientId?: string | undefined;
|
|
316
|
-
phone?: string | undefined;
|
|
317
314
|
source?: string | undefined;
|
|
315
|
+
clientId?: string | undefined;
|
|
318
316
|
createdById?: string | undefined;
|
|
317
|
+
position?: string | undefined;
|
|
318
|
+
phone?: 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: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
361
361
|
name: string;
|
|
362
|
+
createdAt: string;
|
|
363
|
+
updatedAt: string;
|
|
362
364
|
crn: string | null;
|
|
363
365
|
govLink: string | null;
|
|
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;
|
|
@@ -377,14 +377,14 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
377
377
|
} | null | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
id: string;
|
|
380
|
-
status: "
|
|
380
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
381
381
|
name: string;
|
|
382
|
+
createdAt: string | Date;
|
|
383
|
+
updatedAt: string | Date;
|
|
382
384
|
crn: string | null;
|
|
383
385
|
govLink: string | null;
|
|
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;
|
|
@@ -426,17 +426,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
426
426
|
name: string;
|
|
427
427
|
createdAt: string;
|
|
428
428
|
updatedAt: string;
|
|
429
|
-
clientId: string;
|
|
430
429
|
client: {
|
|
431
430
|
id: string;
|
|
432
|
-
status: "
|
|
431
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
433
432
|
name: string;
|
|
433
|
+
createdAt: string;
|
|
434
|
+
updatedAt: string;
|
|
434
435
|
crn: string | null;
|
|
435
436
|
govLink: string | null;
|
|
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;
|
|
@@ -448,6 +447,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
448
447
|
agentId: string;
|
|
449
448
|
} | null | undefined;
|
|
450
449
|
};
|
|
450
|
+
clientId: string;
|
|
451
|
+
createdById: string;
|
|
451
452
|
phone: string;
|
|
452
453
|
createdBy: {
|
|
453
454
|
id: string;
|
|
@@ -455,26 +456,24 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
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
463
|
email: string | null;
|
|
464
464
|
name: string;
|
|
465
465
|
createdAt: string | Date;
|
|
466
466
|
updatedAt: string | Date;
|
|
467
|
-
clientId: string;
|
|
468
467
|
client: {
|
|
469
468
|
id: string;
|
|
470
|
-
status: "
|
|
469
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
471
470
|
name: string;
|
|
471
|
+
createdAt: string | Date;
|
|
472
|
+
updatedAt: string | Date;
|
|
472
473
|
crn: string | null;
|
|
473
474
|
govLink: string | null;
|
|
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;
|
|
@@ -486,6 +485,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
486
485
|
agentId: string;
|
|
487
486
|
} | null | undefined;
|
|
488
487
|
};
|
|
488
|
+
clientId: string;
|
|
489
|
+
createdById: string;
|
|
489
490
|
phone: string;
|
|
490
491
|
createdBy: {
|
|
491
492
|
id: string;
|
|
@@ -493,9 +494,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -510,17 +510,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
510
510
|
name: string;
|
|
511
511
|
createdAt: string;
|
|
512
512
|
updatedAt: string;
|
|
513
|
-
clientId: string;
|
|
514
513
|
client: {
|
|
515
514
|
id: string;
|
|
516
|
-
status: "
|
|
515
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
517
516
|
name: string;
|
|
517
|
+
createdAt: string;
|
|
518
|
+
updatedAt: string;
|
|
518
519
|
crn: string | null;
|
|
519
520
|
govLink: string | null;
|
|
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;
|
|
@@ -532,6 +531,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
532
531
|
agentId: string;
|
|
533
532
|
} | null | undefined;
|
|
534
533
|
};
|
|
534
|
+
clientId: string;
|
|
535
|
+
createdById: string;
|
|
535
536
|
phone: string;
|
|
536
537
|
createdBy: {
|
|
537
538
|
id: string;
|
|
@@ -539,9 +540,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -555,17 +555,16 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
555
555
|
name: string;
|
|
556
556
|
createdAt: string | Date;
|
|
557
557
|
updatedAt: string | Date;
|
|
558
|
-
clientId: string;
|
|
559
558
|
client: {
|
|
560
559
|
id: string;
|
|
561
|
-
status: "
|
|
560
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
562
561
|
name: string;
|
|
562
|
+
createdAt: string | Date;
|
|
563
|
+
updatedAt: string | Date;
|
|
563
564
|
crn: string | null;
|
|
564
565
|
govLink: string | null;
|
|
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;
|
|
@@ -577,6 +576,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
577
576
|
agentId: string;
|
|
578
577
|
} | null | undefined;
|
|
579
578
|
};
|
|
579
|
+
clientId: string;
|
|
580
|
+
createdById: string;
|
|
580
581
|
phone: string;
|
|
581
582
|
createdBy: {
|
|
582
583
|
id: string;
|
|
@@ -584,9 +585,8 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -628,8 +628,8 @@ export declare const clientContactsContractRouter: {
|
|
|
628
628
|
};
|
|
629
629
|
phone: string;
|
|
630
630
|
email?: string | undefined;
|
|
631
|
-
position?: string | undefined;
|
|
632
631
|
source?: string | undefined;
|
|
632
|
+
position?: string | undefined;
|
|
633
633
|
}, {
|
|
634
634
|
name: string;
|
|
635
635
|
client: {
|
|
@@ -637,8 +637,8 @@ export declare const clientContactsContractRouter: {
|
|
|
637
637
|
};
|
|
638
638
|
phone: string;
|
|
639
639
|
email?: string | undefined;
|
|
640
|
-
position?: string | undefined;
|
|
641
640
|
source?: string | undefined;
|
|
641
|
+
position?: 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: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
785
785
|
name: string;
|
|
786
|
+
createdAt: string;
|
|
787
|
+
updatedAt: string;
|
|
786
788
|
crn: string | null;
|
|
787
789
|
govLink: string | null;
|
|
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;
|
|
@@ -801,14 +801,14 @@ export declare const clientContactsContractRouter: {
|
|
|
801
801
|
} | null | undefined;
|
|
802
802
|
}, {
|
|
803
803
|
id: string;
|
|
804
|
-
status: "
|
|
804
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
805
805
|
name: string;
|
|
806
|
+
createdAt: string | Date;
|
|
807
|
+
updatedAt: string | Date;
|
|
806
808
|
crn: string | null;
|
|
807
809
|
govLink: string | null;
|
|
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;
|
|
@@ -850,17 +850,16 @@ export declare const clientContactsContractRouter: {
|
|
|
850
850
|
name: string;
|
|
851
851
|
createdAt: string;
|
|
852
852
|
updatedAt: string;
|
|
853
|
-
clientId: string;
|
|
854
853
|
client: {
|
|
855
854
|
id: string;
|
|
856
|
-
status: "
|
|
855
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
857
856
|
name: string;
|
|
857
|
+
createdAt: string;
|
|
858
|
+
updatedAt: string;
|
|
858
859
|
crn: string | null;
|
|
859
860
|
govLink: string | null;
|
|
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;
|
|
@@ -872,6 +871,8 @@ export declare const clientContactsContractRouter: {
|
|
|
872
871
|
agentId: string;
|
|
873
872
|
} | null | undefined;
|
|
874
873
|
};
|
|
874
|
+
clientId: string;
|
|
875
|
+
createdById: string;
|
|
875
876
|
phone: string;
|
|
876
877
|
createdBy: {
|
|
877
878
|
id: string;
|
|
@@ -879,26 +880,24 @@ export declare const clientContactsContractRouter: {
|
|
|
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
887
|
email: string | null;
|
|
888
888
|
name: string;
|
|
889
889
|
createdAt: string | Date;
|
|
890
890
|
updatedAt: string | Date;
|
|
891
|
-
clientId: string;
|
|
892
891
|
client: {
|
|
893
892
|
id: string;
|
|
894
|
-
status: "
|
|
893
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
895
894
|
name: string;
|
|
895
|
+
createdAt: string | Date;
|
|
896
|
+
updatedAt: string | Date;
|
|
896
897
|
crn: string | null;
|
|
897
898
|
govLink: string | null;
|
|
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;
|
|
@@ -910,6 +909,8 @@ export declare const clientContactsContractRouter: {
|
|
|
910
909
|
agentId: string;
|
|
911
910
|
} | null | undefined;
|
|
912
911
|
};
|
|
912
|
+
clientId: string;
|
|
913
|
+
createdById: string;
|
|
913
914
|
phone: string;
|
|
914
915
|
createdBy: {
|
|
915
916
|
id: string;
|
|
@@ -917,9 +918,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|
|
@@ -978,14 +978,14 @@ export declare const clientContactsContractRouter: {
|
|
|
978
978
|
name: string;
|
|
979
979
|
phone: string;
|
|
980
980
|
email?: string | undefined;
|
|
981
|
-
position?: string | undefined;
|
|
982
981
|
source?: string | undefined;
|
|
982
|
+
position?: string | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
name: string;
|
|
985
985
|
phone: string;
|
|
986
986
|
email?: string | undefined;
|
|
987
|
-
position?: string | undefined;
|
|
988
987
|
source?: string | undefined;
|
|
988
|
+
position?: 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: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1132
1132
|
name: string;
|
|
1133
|
+
createdAt: string;
|
|
1134
|
+
updatedAt: string;
|
|
1133
1135
|
crn: string | null;
|
|
1134
1136
|
govLink: string | null;
|
|
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;
|
|
@@ -1148,14 +1148,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1148
1148
|
} | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
1150
|
id: string;
|
|
1151
|
-
status: "
|
|
1151
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1152
1152
|
name: string;
|
|
1153
|
+
createdAt: string | Date;
|
|
1154
|
+
updatedAt: string | Date;
|
|
1153
1155
|
crn: string | null;
|
|
1154
1156
|
govLink: string | null;
|
|
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;
|
|
@@ -1197,17 +1197,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1197
1197
|
name: string;
|
|
1198
1198
|
createdAt: string;
|
|
1199
1199
|
updatedAt: string;
|
|
1200
|
-
clientId: string;
|
|
1201
1200
|
client: {
|
|
1202
1201
|
id: string;
|
|
1203
|
-
status: "
|
|
1202
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1204
1203
|
name: string;
|
|
1204
|
+
createdAt: string;
|
|
1205
|
+
updatedAt: string;
|
|
1205
1206
|
crn: string | null;
|
|
1206
1207
|
govLink: string | null;
|
|
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;
|
|
@@ -1219,6 +1218,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1219
1218
|
agentId: string;
|
|
1220
1219
|
} | null | undefined;
|
|
1221
1220
|
};
|
|
1221
|
+
clientId: string;
|
|
1222
|
+
createdById: string;
|
|
1222
1223
|
phone: string;
|
|
1223
1224
|
createdBy: {
|
|
1224
1225
|
id: string;
|
|
@@ -1226,26 +1227,24 @@ export declare const clientContactsContractRouter: {
|
|
|
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
1234
|
email: string | null;
|
|
1235
1235
|
name: string;
|
|
1236
1236
|
createdAt: string | Date;
|
|
1237
1237
|
updatedAt: string | Date;
|
|
1238
|
-
clientId: string;
|
|
1239
1238
|
client: {
|
|
1240
1239
|
id: string;
|
|
1241
|
-
status: "
|
|
1240
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1242
1241
|
name: string;
|
|
1242
|
+
createdAt: string | Date;
|
|
1243
|
+
updatedAt: string | Date;
|
|
1243
1244
|
crn: string | null;
|
|
1244
1245
|
govLink: string | null;
|
|
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;
|
|
@@ -1257,6 +1256,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1257
1256
|
agentId: string;
|
|
1258
1257
|
} | null | undefined;
|
|
1259
1258
|
};
|
|
1259
|
+
clientId: string;
|
|
1260
|
+
createdById: string;
|
|
1260
1261
|
phone: string;
|
|
1261
1262
|
createdBy: {
|
|
1262
1263
|
id: string;
|
|
@@ -1264,9 +1265,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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>;
|
|
@@ -1319,11 +1316,11 @@ export declare const clientContactsContractRouter: {
|
|
|
1319
1316
|
sortOrder: "ASC" | "DESC";
|
|
1320
1317
|
email?: string | undefined;
|
|
1321
1318
|
name?: string | undefined;
|
|
1322
|
-
position?: string | undefined;
|
|
1323
|
-
clientId?: string | undefined;
|
|
1324
|
-
phone?: string | undefined;
|
|
1325
1319
|
source?: string | undefined;
|
|
1320
|
+
clientId?: string | undefined;
|
|
1326
1321
|
createdById?: string | undefined;
|
|
1322
|
+
position?: string | undefined;
|
|
1323
|
+
phone?: string | undefined;
|
|
1327
1324
|
}, {
|
|
1328
1325
|
email?: string | undefined;
|
|
1329
1326
|
name?: string | undefined;
|
|
@@ -1331,12 +1328,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1331
1328
|
page?: number | undefined;
|
|
1332
1329
|
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1333
1330
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1334
|
-
position?: string | undefined;
|
|
1335
|
-
clientId?: string | undefined;
|
|
1336
|
-
phone?: string | undefined;
|
|
1337
1331
|
source?: string | undefined;
|
|
1332
|
+
clientId?: string | undefined;
|
|
1338
1333
|
createdById?: string | undefined;
|
|
1334
|
+
position?: string | undefined;
|
|
1335
|
+
phone?: 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";
|
|
@@ -1481,14 +1481,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1481
1481
|
}>>>;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
1483
|
id: string;
|
|
1484
|
-
status: "
|
|
1484
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1485
1485
|
name: string;
|
|
1486
|
+
createdAt: string;
|
|
1487
|
+
updatedAt: string;
|
|
1486
1488
|
crn: string | null;
|
|
1487
1489
|
govLink: string | null;
|
|
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;
|
|
@@ -1501,14 +1501,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
}, {
|
|
1503
1503
|
id: string;
|
|
1504
|
-
status: "
|
|
1504
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1505
1505
|
name: string;
|
|
1506
|
+
createdAt: string | Date;
|
|
1507
|
+
updatedAt: string | Date;
|
|
1506
1508
|
crn: string | null;
|
|
1507
1509
|
govLink: string | null;
|
|
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;
|
|
@@ -1550,17 +1550,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1550
1550
|
name: string;
|
|
1551
1551
|
createdAt: string;
|
|
1552
1552
|
updatedAt: string;
|
|
1553
|
-
clientId: string;
|
|
1554
1553
|
client: {
|
|
1555
1554
|
id: string;
|
|
1556
|
-
status: "
|
|
1555
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1557
1556
|
name: string;
|
|
1557
|
+
createdAt: string;
|
|
1558
|
+
updatedAt: string;
|
|
1558
1559
|
crn: string | null;
|
|
1559
1560
|
govLink: string | null;
|
|
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;
|
|
@@ -1572,6 +1571,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1572
1571
|
agentId: string;
|
|
1573
1572
|
} | null | undefined;
|
|
1574
1573
|
};
|
|
1574
|
+
clientId: string;
|
|
1575
|
+
createdById: string;
|
|
1575
1576
|
phone: string;
|
|
1576
1577
|
createdBy: {
|
|
1577
1578
|
id: string;
|
|
@@ -1579,26 +1580,24 @@ export declare const clientContactsContractRouter: {
|
|
|
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
1587
|
email: string | null;
|
|
1588
1588
|
name: string;
|
|
1589
1589
|
createdAt: string | Date;
|
|
1590
1590
|
updatedAt: string | Date;
|
|
1591
|
-
clientId: string;
|
|
1592
1591
|
client: {
|
|
1593
1592
|
id: string;
|
|
1594
|
-
status: "
|
|
1593
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1595
1594
|
name: string;
|
|
1595
|
+
createdAt: string | Date;
|
|
1596
|
+
updatedAt: string | Date;
|
|
1596
1597
|
crn: string | null;
|
|
1597
1598
|
govLink: string | null;
|
|
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;
|
|
@@ -1610,6 +1609,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1610
1609
|
agentId: string;
|
|
1611
1610
|
} | null | undefined;
|
|
1612
1611
|
};
|
|
1612
|
+
clientId: string;
|
|
1613
|
+
createdById: string;
|
|
1613
1614
|
phone: string;
|
|
1614
1615
|
createdBy: {
|
|
1615
1616
|
id: string;
|
|
@@ -1617,9 +1618,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|
|
@@ -1634,17 +1634,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1634
1634
|
name: string;
|
|
1635
1635
|
createdAt: string;
|
|
1636
1636
|
updatedAt: string;
|
|
1637
|
-
clientId: string;
|
|
1638
1637
|
client: {
|
|
1639
1638
|
id: string;
|
|
1640
|
-
status: "
|
|
1639
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1641
1640
|
name: string;
|
|
1641
|
+
createdAt: string;
|
|
1642
|
+
updatedAt: string;
|
|
1642
1643
|
crn: string | null;
|
|
1643
1644
|
govLink: string | null;
|
|
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;
|
|
@@ -1656,6 +1655,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1656
1655
|
agentId: string;
|
|
1657
1656
|
} | null | undefined;
|
|
1658
1657
|
};
|
|
1658
|
+
clientId: string;
|
|
1659
|
+
createdById: string;
|
|
1659
1660
|
phone: string;
|
|
1660
1661
|
createdBy: {
|
|
1661
1662
|
id: string;
|
|
@@ -1663,9 +1664,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|
|
@@ -1679,17 +1679,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1679
1679
|
name: string;
|
|
1680
1680
|
createdAt: string | Date;
|
|
1681
1681
|
updatedAt: string | Date;
|
|
1682
|
-
clientId: string;
|
|
1683
1682
|
client: {
|
|
1684
1683
|
id: string;
|
|
1685
|
-
status: "
|
|
1684
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1686
1685
|
name: string;
|
|
1686
|
+
createdAt: string | Date;
|
|
1687
|
+
updatedAt: string | Date;
|
|
1687
1688
|
crn: string | null;
|
|
1688
1689
|
govLink: string | null;
|
|
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;
|
|
@@ -1701,6 +1700,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1701
1700
|
agentId: string;
|
|
1702
1701
|
} | null | undefined;
|
|
1703
1702
|
};
|
|
1703
|
+
clientId: string;
|
|
1704
|
+
createdById: string;
|
|
1704
1705
|
phone: string;
|
|
1705
1706
|
createdBy: {
|
|
1706
1707
|
id: string;
|
|
@@ -1708,9 +1709,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|
|
@@ -1873,14 +1873,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1873
1873
|
}>>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1875
|
id: string;
|
|
1876
|
-
status: "
|
|
1876
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1877
1877
|
name: string;
|
|
1878
|
+
createdAt: string;
|
|
1879
|
+
updatedAt: string;
|
|
1878
1880
|
crn: string | null;
|
|
1879
1881
|
govLink: string | null;
|
|
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;
|
|
@@ -1893,14 +1893,14 @@ export declare const clientContactsContractRouter: {
|
|
|
1893
1893
|
} | null | undefined;
|
|
1894
1894
|
}, {
|
|
1895
1895
|
id: string;
|
|
1896
|
-
status: "
|
|
1896
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1897
1897
|
name: string;
|
|
1898
|
+
createdAt: string | Date;
|
|
1899
|
+
updatedAt: string | Date;
|
|
1898
1900
|
crn: string | null;
|
|
1899
1901
|
govLink: string | null;
|
|
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;
|
|
@@ -1942,17 +1942,16 @@ export declare const clientContactsContractRouter: {
|
|
|
1942
1942
|
name: string;
|
|
1943
1943
|
createdAt: string;
|
|
1944
1944
|
updatedAt: string;
|
|
1945
|
-
clientId: string;
|
|
1946
1945
|
client: {
|
|
1947
1946
|
id: string;
|
|
1948
|
-
status: "
|
|
1947
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1949
1948
|
name: string;
|
|
1949
|
+
createdAt: string;
|
|
1950
|
+
updatedAt: string;
|
|
1950
1951
|
crn: string | null;
|
|
1951
1952
|
govLink: string | null;
|
|
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;
|
|
@@ -1964,6 +1963,8 @@ export declare const clientContactsContractRouter: {
|
|
|
1964
1963
|
agentId: string;
|
|
1965
1964
|
} | null | undefined;
|
|
1966
1965
|
};
|
|
1966
|
+
clientId: string;
|
|
1967
|
+
createdById: string;
|
|
1967
1968
|
phone: string;
|
|
1968
1969
|
createdBy: {
|
|
1969
1970
|
id: string;
|
|
@@ -1971,26 +1972,24 @@ export declare const clientContactsContractRouter: {
|
|
|
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
1979
|
email: string | null;
|
|
1980
1980
|
name: string;
|
|
1981
1981
|
createdAt: string | Date;
|
|
1982
1982
|
updatedAt: string | Date;
|
|
1983
|
-
clientId: string;
|
|
1984
1983
|
client: {
|
|
1985
1984
|
id: string;
|
|
1986
|
-
status: "
|
|
1985
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1987
1986
|
name: string;
|
|
1987
|
+
createdAt: string | Date;
|
|
1988
|
+
updatedAt: string | Date;
|
|
1988
1989
|
crn: string | null;
|
|
1989
1990
|
govLink: string | null;
|
|
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;
|
|
@@ -2002,6 +2001,8 @@ export declare const clientContactsContractRouter: {
|
|
|
2002
2001
|
agentId: string;
|
|
2003
2002
|
} | null | undefined;
|
|
2004
2003
|
};
|
|
2004
|
+
clientId: string;
|
|
2005
|
+
createdById: string;
|
|
2005
2006
|
phone: string;
|
|
2006
2007
|
createdBy: {
|
|
2007
2008
|
id: string;
|
|
@@ -2009,9 +2010,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|
|
@@ -2069,15 +2069,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2069
2069
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2070
2070
|
email?: string | undefined;
|
|
2071
2071
|
name?: string | undefined;
|
|
2072
|
+
source?: string | undefined;
|
|
2072
2073
|
position?: string | undefined;
|
|
2073
2074
|
phone?: string | undefined;
|
|
2074
|
-
source?: string | undefined;
|
|
2075
2075
|
}, {
|
|
2076
2076
|
email?: string | undefined;
|
|
2077
2077
|
name?: string | undefined;
|
|
2078
|
+
source?: string | undefined;
|
|
2078
2079
|
position?: string | undefined;
|
|
2079
2080
|
phone?: 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: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2224
2224
|
name: string;
|
|
2225
|
+
createdAt: string;
|
|
2226
|
+
updatedAt: string;
|
|
2225
2227
|
crn: string | null;
|
|
2226
2228
|
govLink: string | null;
|
|
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;
|
|
@@ -2240,14 +2240,14 @@ export declare const clientContactsContractRouter: {
|
|
|
2240
2240
|
} | null | undefined;
|
|
2241
2241
|
}, {
|
|
2242
2242
|
id: string;
|
|
2243
|
-
status: "
|
|
2243
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2244
2244
|
name: string;
|
|
2245
|
+
createdAt: string | Date;
|
|
2246
|
+
updatedAt: string | Date;
|
|
2245
2247
|
crn: string | null;
|
|
2246
2248
|
govLink: string | null;
|
|
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;
|
|
@@ -2289,17 +2289,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2289
2289
|
name: string;
|
|
2290
2290
|
createdAt: string;
|
|
2291
2291
|
updatedAt: string;
|
|
2292
|
-
clientId: string;
|
|
2293
2292
|
client: {
|
|
2294
2293
|
id: string;
|
|
2295
|
-
status: "
|
|
2294
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2296
2295
|
name: string;
|
|
2296
|
+
createdAt: string;
|
|
2297
|
+
updatedAt: string;
|
|
2297
2298
|
crn: string | null;
|
|
2298
2299
|
govLink: string | null;
|
|
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;
|
|
@@ -2311,6 +2310,8 @@ export declare const clientContactsContractRouter: {
|
|
|
2311
2310
|
agentId: string;
|
|
2312
2311
|
} | null | undefined;
|
|
2313
2312
|
};
|
|
2313
|
+
clientId: string;
|
|
2314
|
+
createdById: string;
|
|
2314
2315
|
phone: string;
|
|
2315
2316
|
createdBy: {
|
|
2316
2317
|
id: string;
|
|
@@ -2318,26 +2319,24 @@ export declare const clientContactsContractRouter: {
|
|
|
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
2326
|
email: string | null;
|
|
2327
2327
|
name: string;
|
|
2328
2328
|
createdAt: string | Date;
|
|
2329
2329
|
updatedAt: string | Date;
|
|
2330
|
-
clientId: string;
|
|
2331
2330
|
client: {
|
|
2332
2331
|
id: string;
|
|
2333
|
-
status: "
|
|
2332
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2334
2333
|
name: string;
|
|
2334
|
+
createdAt: string | Date;
|
|
2335
|
+
updatedAt: string | Date;
|
|
2335
2336
|
crn: string | null;
|
|
2336
2337
|
govLink: string | null;
|
|
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;
|
|
@@ -2349,6 +2348,8 @@ export declare const clientContactsContractRouter: {
|
|
|
2349
2348
|
agentId: string;
|
|
2350
2349
|
} | null | undefined;
|
|
2351
2350
|
};
|
|
2351
|
+
clientId: string;
|
|
2352
|
+
createdById: string;
|
|
2352
2353
|
phone: string;
|
|
2353
2354
|
createdBy: {
|
|
2354
2355
|
id: string;
|
|
@@ -2356,9 +2357,8 @@ export declare const clientContactsContractRouter: {
|
|
|
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;
|