@dakkitor/api-contracts 1.1.146 → 1.1.148
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/first-agent.abilities.json +39 -0
- package/dist/abilities/second-agent.abilities.json +36 -0
- package/dist/abilities/team-leads.json +30 -0
- package/dist/actives/actives.contract.d.ts +8207 -7871
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +973 -973
- package/dist/auth/auth.contract.d.ts +12 -12
- package/dist/bookings/bookings.contract.d.ts +12034 -11506
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +620 -620
- package/dist/client-contacts/client-contacts.contract.d.ts +277 -277
- package/dist/clients/clients.contract.d.ts +173 -173
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1868 -1868
- package/dist/collaborations/collaborations.contract.d.ts +1548 -1548
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +10 -8
- package/dist/companies/companies.contract.d.ts +26 -26
- package/dist/crews/crews.contract.d.ts +2549 -0
- package/dist/crews/crews.contract.d.ts.map +1 -0
- package/dist/crews/crews.contract.js +203 -0
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +517 -517
- package/dist/dashboards/dashboard-widgets.contract.d.ts +122 -122
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/jobs/jobs.contract.d.ts +4309 -4309
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +26 -26
- package/dist/lead-assignments/lead-assignments.contract.d.ts +498 -498
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +131 -131
- package/dist/leads/leads.contract.d.ts +184 -184
- package/dist/locations/locations.contract.d.ts +28 -28
- package/dist/own-research/own-research.contract.d.ts +728 -728
- package/dist/users/users.contract.d.ts +154 -154
- package/dist/workers/workers.contract.d.ts +6476 -4566
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +217 -65
- package/package.json +1 -1
|
@@ -6,15 +6,15 @@ export declare const ClientContactUserSchema: z.ZodObject<{
|
|
|
6
6
|
lastName: z.ZodString;
|
|
7
7
|
email: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
email: string;
|
|
10
9
|
id: string;
|
|
11
10
|
firstName: string;
|
|
12
11
|
lastName: string;
|
|
13
|
-
}, {
|
|
14
12
|
email: string;
|
|
13
|
+
}, {
|
|
15
14
|
id: string;
|
|
16
15
|
firstName: string;
|
|
17
16
|
lastName: string;
|
|
17
|
+
email: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
@@ -34,15 +34,15 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
34
34
|
lastName: z.ZodString;
|
|
35
35
|
email: z.ZodString;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
email: string;
|
|
38
37
|
id: string;
|
|
39
38
|
firstName: string;
|
|
40
39
|
lastName: string;
|
|
41
|
-
}, {
|
|
42
40
|
email: string;
|
|
41
|
+
}, {
|
|
43
42
|
id: string;
|
|
44
43
|
firstName: string;
|
|
45
44
|
lastName: string;
|
|
45
|
+
email: string;
|
|
46
46
|
}>>>;
|
|
47
47
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
48
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -54,41 +54,41 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
54
54
|
agentId: string;
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
id: string;
|
|
58
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
57
59
|
name: string;
|
|
58
60
|
createdAt: string;
|
|
59
61
|
updatedAt: string;
|
|
60
|
-
id: string;
|
|
61
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
62
62
|
crn: string | null;
|
|
63
63
|
govLink: string | null;
|
|
64
64
|
soleTrader: boolean;
|
|
65
65
|
director: string;
|
|
66
66
|
blacklistReason?: string | null | undefined;
|
|
67
67
|
lastUpdatedBy?: {
|
|
68
|
-
email: string;
|
|
69
68
|
id: string;
|
|
70
69
|
firstName: string;
|
|
71
70
|
lastName: string;
|
|
71
|
+
email: string;
|
|
72
72
|
} | null | undefined;
|
|
73
73
|
agentClientLinks?: {
|
|
74
74
|
agentId: string;
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
id: string;
|
|
78
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
77
79
|
name: string;
|
|
78
80
|
createdAt: string | Date;
|
|
79
81
|
updatedAt: string | Date;
|
|
80
|
-
id: string;
|
|
81
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
82
82
|
crn: string | null;
|
|
83
83
|
govLink: string | null;
|
|
84
84
|
soleTrader: boolean;
|
|
85
85
|
director: string;
|
|
86
86
|
blacklistReason?: string | null | undefined;
|
|
87
87
|
lastUpdatedBy?: {
|
|
88
|
-
email: string;
|
|
89
88
|
id: string;
|
|
90
89
|
firstName: string;
|
|
91
90
|
lastName: string;
|
|
91
|
+
email: string;
|
|
92
92
|
} | null | undefined;
|
|
93
93
|
agentClientLinks?: {
|
|
94
94
|
agentId: string;
|
|
@@ -105,95 +105,95 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
105
105
|
lastName: z.ZodString;
|
|
106
106
|
email: z.ZodString;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
email: string;
|
|
109
108
|
id: string;
|
|
110
109
|
firstName: string;
|
|
111
110
|
lastName: string;
|
|
112
|
-
}, {
|
|
113
111
|
email: string;
|
|
112
|
+
}, {
|
|
114
113
|
id: string;
|
|
115
114
|
firstName: string;
|
|
116
115
|
lastName: string;
|
|
116
|
+
email: string;
|
|
117
117
|
}>;
|
|
118
118
|
createdById: z.ZodString;
|
|
119
119
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
120
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
|
|
122
|
+
id: string;
|
|
123
123
|
email: string | null;
|
|
124
|
+
name: string;
|
|
124
125
|
createdAt: string;
|
|
125
126
|
updatedAt: string;
|
|
126
|
-
id: string;
|
|
127
|
-
clientId: string;
|
|
128
127
|
client: {
|
|
128
|
+
id: string;
|
|
129
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
129
130
|
name: string;
|
|
130
131
|
createdAt: string;
|
|
131
132
|
updatedAt: string;
|
|
132
|
-
id: string;
|
|
133
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
134
133
|
crn: string | null;
|
|
135
134
|
govLink: string | null;
|
|
136
135
|
soleTrader: boolean;
|
|
137
136
|
director: string;
|
|
138
137
|
blacklistReason?: string | null | undefined;
|
|
139
138
|
lastUpdatedBy?: {
|
|
140
|
-
email: string;
|
|
141
139
|
id: string;
|
|
142
140
|
firstName: string;
|
|
143
141
|
lastName: string;
|
|
142
|
+
email: string;
|
|
144
143
|
} | null | undefined;
|
|
145
144
|
agentClientLinks?: {
|
|
146
145
|
agentId: string;
|
|
147
146
|
} | null | undefined;
|
|
148
147
|
};
|
|
148
|
+
clientId: string;
|
|
149
|
+
createdById: string;
|
|
149
150
|
phone: string;
|
|
150
151
|
createdBy: {
|
|
151
|
-
email: string;
|
|
152
152
|
id: string;
|
|
153
153
|
firstName: string;
|
|
154
154
|
lastName: string;
|
|
155
|
+
email: string;
|
|
155
156
|
};
|
|
156
|
-
createdById: string;
|
|
157
|
-
position?: string | null | undefined;
|
|
158
157
|
source?: string | null | undefined;
|
|
158
|
+
position?: string | null | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
|
|
160
|
+
id: string;
|
|
161
161
|
email: string | null;
|
|
162
|
+
name: string;
|
|
162
163
|
createdAt: string | Date;
|
|
163
164
|
updatedAt: string | Date;
|
|
164
|
-
id: string;
|
|
165
|
-
clientId: string;
|
|
166
165
|
client: {
|
|
166
|
+
id: string;
|
|
167
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
167
168
|
name: string;
|
|
168
169
|
createdAt: string | Date;
|
|
169
170
|
updatedAt: string | Date;
|
|
170
|
-
id: string;
|
|
171
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
172
171
|
crn: string | null;
|
|
173
172
|
govLink: string | null;
|
|
174
173
|
soleTrader: boolean;
|
|
175
174
|
director: string;
|
|
176
175
|
blacklistReason?: string | null | undefined;
|
|
177
176
|
lastUpdatedBy?: {
|
|
178
|
-
email: string;
|
|
179
177
|
id: string;
|
|
180
178
|
firstName: string;
|
|
181
179
|
lastName: string;
|
|
180
|
+
email: string;
|
|
182
181
|
} | null | undefined;
|
|
183
182
|
agentClientLinks?: {
|
|
184
183
|
agentId: string;
|
|
185
184
|
} | null | undefined;
|
|
186
185
|
};
|
|
186
|
+
clientId: string;
|
|
187
|
+
createdById: string;
|
|
187
188
|
phone: string;
|
|
188
189
|
createdBy: {
|
|
189
|
-
email: string;
|
|
190
190
|
id: string;
|
|
191
191
|
firstName: string;
|
|
192
192
|
lastName: string;
|
|
193
|
+
email: string;
|
|
193
194
|
};
|
|
194
|
-
createdById: string;
|
|
195
|
-
position?: string | null | undefined;
|
|
196
195
|
source?: string | null | undefined;
|
|
196
|
+
position?: string | null | 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
|
-
position?: string | undefined;
|
|
218
217
|
email?: string | undefined;
|
|
219
218
|
source?: string | undefined;
|
|
219
|
+
position?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
name: string;
|
|
222
222
|
client: {
|
|
223
223
|
id: string;
|
|
224
224
|
};
|
|
225
225
|
phone: string;
|
|
226
|
-
position?: string | undefined;
|
|
227
226
|
email?: 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<{
|
|
@@ -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
|
-
position?: string | undefined;
|
|
247
246
|
email?: string | undefined;
|
|
248
247
|
source?: string | undefined;
|
|
248
|
+
position?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
name: string;
|
|
251
251
|
phone: string;
|
|
252
|
-
position?: string | undefined;
|
|
253
252
|
email?: 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<{
|
|
@@ -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;
|
|
270
271
|
name?: string | undefined;
|
|
272
|
+
source?: string | undefined;
|
|
271
273
|
position?: string | undefined;
|
|
272
|
-
email?: string | undefined;
|
|
273
274
|
phone?: string | undefined;
|
|
274
|
-
source?: string | undefined;
|
|
275
275
|
}, {
|
|
276
|
+
email?: string | undefined;
|
|
276
277
|
name?: string | undefined;
|
|
278
|
+
source?: string | undefined;
|
|
277
279
|
position?: string | undefined;
|
|
278
|
-
email?: 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>;
|
|
@@ -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: "email" | "name" | "createdAt" | "updatedAt" | "position";
|
|
299
299
|
sortOrder: "ASC" | "DESC";
|
|
300
|
-
name?: string | undefined;
|
|
301
|
-
position?: string | undefined;
|
|
302
300
|
email?: string | undefined;
|
|
303
|
-
|
|
304
|
-
phone?: string | undefined;
|
|
301
|
+
name?: string | undefined;
|
|
305
302
|
source?: string | undefined;
|
|
303
|
+
clientId?: string | undefined;
|
|
306
304
|
createdById?: string | undefined;
|
|
307
|
-
}, {
|
|
308
|
-
name?: string | undefined;
|
|
309
305
|
position?: string | undefined;
|
|
310
|
-
email?: string | undefined;
|
|
311
|
-
clientId?: string | undefined;
|
|
312
306
|
phone?: string | undefined;
|
|
313
|
-
|
|
314
|
-
|
|
307
|
+
}, {
|
|
308
|
+
email?: string | undefined;
|
|
309
|
+
name?: string | undefined;
|
|
315
310
|
limit?: number | undefined;
|
|
316
311
|
page?: number | undefined;
|
|
317
|
-
sortBy?: "
|
|
312
|
+
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
318
313
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
|
+
source?: string | undefined;
|
|
315
|
+
clientId?: string | undefined;
|
|
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<{
|
|
@@ -336,15 +336,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
336
336
|
lastName: z.ZodString;
|
|
337
337
|
email: z.ZodString;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
email: string;
|
|
340
339
|
id: string;
|
|
341
340
|
firstName: string;
|
|
342
341
|
lastName: string;
|
|
343
|
-
}, {
|
|
344
342
|
email: string;
|
|
343
|
+
}, {
|
|
345
344
|
id: string;
|
|
346
345
|
firstName: string;
|
|
347
346
|
lastName: string;
|
|
347
|
+
email: string;
|
|
348
348
|
}>>>;
|
|
349
349
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
350
350
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -356,41 +356,41 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
356
356
|
agentId: string;
|
|
357
357
|
}>>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
id: string;
|
|
360
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
359
361
|
name: string;
|
|
360
362
|
createdAt: string;
|
|
361
363
|
updatedAt: string;
|
|
362
|
-
id: string;
|
|
363
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
364
364
|
crn: string | null;
|
|
365
365
|
govLink: string | null;
|
|
366
366
|
soleTrader: boolean;
|
|
367
367
|
director: string;
|
|
368
368
|
blacklistReason?: string | null | undefined;
|
|
369
369
|
lastUpdatedBy?: {
|
|
370
|
-
email: string;
|
|
371
370
|
id: string;
|
|
372
371
|
firstName: string;
|
|
373
372
|
lastName: string;
|
|
373
|
+
email: string;
|
|
374
374
|
} | null | undefined;
|
|
375
375
|
agentClientLinks?: {
|
|
376
376
|
agentId: string;
|
|
377
377
|
} | null | undefined;
|
|
378
378
|
}, {
|
|
379
|
+
id: string;
|
|
380
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
379
381
|
name: string;
|
|
380
382
|
createdAt: string | Date;
|
|
381
383
|
updatedAt: string | Date;
|
|
382
|
-
id: string;
|
|
383
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
384
384
|
crn: string | null;
|
|
385
385
|
govLink: string | null;
|
|
386
386
|
soleTrader: boolean;
|
|
387
387
|
director: string;
|
|
388
388
|
blacklistReason?: string | null | undefined;
|
|
389
389
|
lastUpdatedBy?: {
|
|
390
|
-
email: string;
|
|
391
390
|
id: string;
|
|
392
391
|
firstName: string;
|
|
393
392
|
lastName: string;
|
|
393
|
+
email: string;
|
|
394
394
|
} | null | undefined;
|
|
395
395
|
agentClientLinks?: {
|
|
396
396
|
agentId: string;
|
|
@@ -407,95 +407,95 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
407
407
|
lastName: z.ZodString;
|
|
408
408
|
email: z.ZodString;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
email: string;
|
|
411
410
|
id: string;
|
|
412
411
|
firstName: string;
|
|
413
412
|
lastName: string;
|
|
414
|
-
}, {
|
|
415
413
|
email: string;
|
|
414
|
+
}, {
|
|
416
415
|
id: string;
|
|
417
416
|
firstName: string;
|
|
418
417
|
lastName: string;
|
|
418
|
+
email: string;
|
|
419
419
|
}>;
|
|
420
420
|
createdById: z.ZodString;
|
|
421
421
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
422
422
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
423
423
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
|
|
424
|
+
id: string;
|
|
425
425
|
email: string | null;
|
|
426
|
+
name: string;
|
|
426
427
|
createdAt: string;
|
|
427
428
|
updatedAt: string;
|
|
428
|
-
id: string;
|
|
429
|
-
clientId: string;
|
|
430
429
|
client: {
|
|
430
|
+
id: string;
|
|
431
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
431
432
|
name: string;
|
|
432
433
|
createdAt: string;
|
|
433
434
|
updatedAt: string;
|
|
434
|
-
id: string;
|
|
435
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
436
435
|
crn: string | null;
|
|
437
436
|
govLink: string | null;
|
|
438
437
|
soleTrader: boolean;
|
|
439
438
|
director: string;
|
|
440
439
|
blacklistReason?: string | null | undefined;
|
|
441
440
|
lastUpdatedBy?: {
|
|
442
|
-
email: string;
|
|
443
441
|
id: string;
|
|
444
442
|
firstName: string;
|
|
445
443
|
lastName: string;
|
|
444
|
+
email: string;
|
|
446
445
|
} | null | undefined;
|
|
447
446
|
agentClientLinks?: {
|
|
448
447
|
agentId: string;
|
|
449
448
|
} | null | undefined;
|
|
450
449
|
};
|
|
450
|
+
clientId: string;
|
|
451
|
+
createdById: string;
|
|
451
452
|
phone: string;
|
|
452
453
|
createdBy: {
|
|
453
|
-
email: string;
|
|
454
454
|
id: string;
|
|
455
455
|
firstName: string;
|
|
456
456
|
lastName: string;
|
|
457
|
+
email: string;
|
|
457
458
|
};
|
|
458
|
-
createdById: string;
|
|
459
|
-
position?: string | null | undefined;
|
|
460
459
|
source?: string | null | undefined;
|
|
460
|
+
position?: string | null | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
|
|
462
|
+
id: string;
|
|
463
463
|
email: string | null;
|
|
464
|
+
name: string;
|
|
464
465
|
createdAt: string | Date;
|
|
465
466
|
updatedAt: string | Date;
|
|
466
|
-
id: string;
|
|
467
|
-
clientId: string;
|
|
468
467
|
client: {
|
|
468
|
+
id: string;
|
|
469
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
469
470
|
name: string;
|
|
470
471
|
createdAt: string | Date;
|
|
471
472
|
updatedAt: string | Date;
|
|
472
|
-
id: string;
|
|
473
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
474
473
|
crn: string | null;
|
|
475
474
|
govLink: string | null;
|
|
476
475
|
soleTrader: boolean;
|
|
477
476
|
director: string;
|
|
478
477
|
blacklistReason?: string | null | undefined;
|
|
479
478
|
lastUpdatedBy?: {
|
|
480
|
-
email: string;
|
|
481
479
|
id: string;
|
|
482
480
|
firstName: string;
|
|
483
481
|
lastName: string;
|
|
482
|
+
email: string;
|
|
484
483
|
} | null | undefined;
|
|
485
484
|
agentClientLinks?: {
|
|
486
485
|
agentId: string;
|
|
487
486
|
} | null | undefined;
|
|
488
487
|
};
|
|
488
|
+
clientId: string;
|
|
489
|
+
createdById: string;
|
|
489
490
|
phone: string;
|
|
490
491
|
createdBy: {
|
|
491
|
-
email: string;
|
|
492
492
|
id: string;
|
|
493
493
|
firstName: string;
|
|
494
494
|
lastName: string;
|
|
495
|
+
email: string;
|
|
495
496
|
};
|
|
496
|
-
createdById: string;
|
|
497
|
-
position?: string | null | undefined;
|
|
498
497
|
source?: string | null | undefined;
|
|
498
|
+
position?: string | null | undefined;
|
|
499
499
|
}>, "many">;
|
|
500
500
|
totalCount: z.ZodNumber;
|
|
501
501
|
limit: z.ZodNumber;
|
|
@@ -505,43 +505,43 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
506
|
limit: number;
|
|
507
507
|
items: {
|
|
508
|
-
|
|
508
|
+
id: string;
|
|
509
509
|
email: string | null;
|
|
510
|
+
name: string;
|
|
510
511
|
createdAt: string;
|
|
511
512
|
updatedAt: string;
|
|
512
|
-
id: string;
|
|
513
|
-
clientId: string;
|
|
514
513
|
client: {
|
|
514
|
+
id: string;
|
|
515
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
515
516
|
name: string;
|
|
516
517
|
createdAt: string;
|
|
517
518
|
updatedAt: string;
|
|
518
|
-
id: string;
|
|
519
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
520
519
|
crn: string | null;
|
|
521
520
|
govLink: string | null;
|
|
522
521
|
soleTrader: boolean;
|
|
523
522
|
director: string;
|
|
524
523
|
blacklistReason?: string | null | undefined;
|
|
525
524
|
lastUpdatedBy?: {
|
|
526
|
-
email: string;
|
|
527
525
|
id: string;
|
|
528
526
|
firstName: string;
|
|
529
527
|
lastName: string;
|
|
528
|
+
email: string;
|
|
530
529
|
} | null | undefined;
|
|
531
530
|
agentClientLinks?: {
|
|
532
531
|
agentId: string;
|
|
533
532
|
} | null | undefined;
|
|
534
533
|
};
|
|
534
|
+
clientId: string;
|
|
535
|
+
createdById: string;
|
|
535
536
|
phone: string;
|
|
536
537
|
createdBy: {
|
|
537
|
-
email: string;
|
|
538
538
|
id: string;
|
|
539
539
|
firstName: string;
|
|
540
540
|
lastName: string;
|
|
541
|
+
email: string;
|
|
541
542
|
};
|
|
542
|
-
createdById: string;
|
|
543
|
-
position?: string | null | undefined;
|
|
544
543
|
source?: string | null | undefined;
|
|
544
|
+
position?: string | null | undefined;
|
|
545
545
|
}[];
|
|
546
546
|
totalCount: number;
|
|
547
547
|
skip: number;
|
|
@@ -550,43 +550,43 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
550
550
|
}, {
|
|
551
551
|
limit: number;
|
|
552
552
|
items: {
|
|
553
|
-
|
|
553
|
+
id: string;
|
|
554
554
|
email: string | null;
|
|
555
|
+
name: string;
|
|
555
556
|
createdAt: string | Date;
|
|
556
557
|
updatedAt: string | Date;
|
|
557
|
-
id: string;
|
|
558
|
-
clientId: string;
|
|
559
558
|
client: {
|
|
559
|
+
id: string;
|
|
560
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
560
561
|
name: string;
|
|
561
562
|
createdAt: string | Date;
|
|
562
563
|
updatedAt: string | Date;
|
|
563
|
-
id: string;
|
|
564
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
565
564
|
crn: string | null;
|
|
566
565
|
govLink: string | null;
|
|
567
566
|
soleTrader: boolean;
|
|
568
567
|
director: string;
|
|
569
568
|
blacklistReason?: string | null | undefined;
|
|
570
569
|
lastUpdatedBy?: {
|
|
571
|
-
email: string;
|
|
572
570
|
id: string;
|
|
573
571
|
firstName: string;
|
|
574
572
|
lastName: string;
|
|
573
|
+
email: string;
|
|
575
574
|
} | null | undefined;
|
|
576
575
|
agentClientLinks?: {
|
|
577
576
|
agentId: string;
|
|
578
577
|
} | null | undefined;
|
|
579
578
|
};
|
|
579
|
+
clientId: string;
|
|
580
|
+
createdById: string;
|
|
580
581
|
phone: string;
|
|
581
582
|
createdBy: {
|
|
582
|
-
email: string;
|
|
583
583
|
id: string;
|
|
584
584
|
firstName: string;
|
|
585
585
|
lastName: string;
|
|
586
|
+
email: string;
|
|
586
587
|
};
|
|
587
|
-
createdById: string;
|
|
588
|
-
position?: string | null | undefined;
|
|
589
588
|
source?: string | null | undefined;
|
|
589
|
+
position?: string | null | 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
|
-
position?: string | undefined;
|
|
631
630
|
email?: string | undefined;
|
|
632
631
|
source?: string | undefined;
|
|
632
|
+
position?: string | undefined;
|
|
633
633
|
}, {
|
|
634
634
|
name: string;
|
|
635
635
|
client: {
|
|
636
636
|
id: string;
|
|
637
637
|
};
|
|
638
638
|
phone: string;
|
|
639
|
-
position?: string | undefined;
|
|
640
639
|
email?: string | undefined;
|
|
641
640
|
source?: string | undefined;
|
|
641
|
+
position?: string | undefined;
|
|
642
642
|
}>;
|
|
643
643
|
path: "/v2/client-contacts";
|
|
644
644
|
responses: {
|
|
@@ -760,15 +760,15 @@ export declare const clientContactsContractRouter: {
|
|
|
760
760
|
lastName: z.ZodString;
|
|
761
761
|
email: z.ZodString;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
email: string;
|
|
764
763
|
id: string;
|
|
765
764
|
firstName: string;
|
|
766
765
|
lastName: string;
|
|
767
|
-
}, {
|
|
768
766
|
email: string;
|
|
767
|
+
}, {
|
|
769
768
|
id: string;
|
|
770
769
|
firstName: string;
|
|
771
770
|
lastName: string;
|
|
771
|
+
email: string;
|
|
772
772
|
}>>>;
|
|
773
773
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
774
774
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -780,41 +780,41 @@ export declare const clientContactsContractRouter: {
|
|
|
780
780
|
agentId: string;
|
|
781
781
|
}>>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
id: string;
|
|
784
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
783
785
|
name: string;
|
|
784
786
|
createdAt: string;
|
|
785
787
|
updatedAt: string;
|
|
786
|
-
id: string;
|
|
787
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
788
788
|
crn: string | null;
|
|
789
789
|
govLink: string | null;
|
|
790
790
|
soleTrader: boolean;
|
|
791
791
|
director: string;
|
|
792
792
|
blacklistReason?: string | null | undefined;
|
|
793
793
|
lastUpdatedBy?: {
|
|
794
|
-
email: string;
|
|
795
794
|
id: string;
|
|
796
795
|
firstName: string;
|
|
797
796
|
lastName: string;
|
|
797
|
+
email: string;
|
|
798
798
|
} | null | undefined;
|
|
799
799
|
agentClientLinks?: {
|
|
800
800
|
agentId: string;
|
|
801
801
|
} | null | undefined;
|
|
802
802
|
}, {
|
|
803
|
+
id: string;
|
|
804
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
803
805
|
name: string;
|
|
804
806
|
createdAt: string | Date;
|
|
805
807
|
updatedAt: string | Date;
|
|
806
|
-
id: string;
|
|
807
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
808
808
|
crn: string | null;
|
|
809
809
|
govLink: string | null;
|
|
810
810
|
soleTrader: boolean;
|
|
811
811
|
director: string;
|
|
812
812
|
blacklistReason?: string | null | undefined;
|
|
813
813
|
lastUpdatedBy?: {
|
|
814
|
-
email: string;
|
|
815
814
|
id: string;
|
|
816
815
|
firstName: string;
|
|
817
816
|
lastName: string;
|
|
817
|
+
email: string;
|
|
818
818
|
} | null | undefined;
|
|
819
819
|
agentClientLinks?: {
|
|
820
820
|
agentId: string;
|
|
@@ -831,95 +831,95 @@ export declare const clientContactsContractRouter: {
|
|
|
831
831
|
lastName: z.ZodString;
|
|
832
832
|
email: z.ZodString;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
email: string;
|
|
835
834
|
id: string;
|
|
836
835
|
firstName: string;
|
|
837
836
|
lastName: string;
|
|
838
|
-
}, {
|
|
839
837
|
email: string;
|
|
838
|
+
}, {
|
|
840
839
|
id: string;
|
|
841
840
|
firstName: string;
|
|
842
841
|
lastName: string;
|
|
842
|
+
email: string;
|
|
843
843
|
}>;
|
|
844
844
|
createdById: z.ZodString;
|
|
845
845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
846
846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
|
|
848
|
+
id: string;
|
|
849
849
|
email: string | null;
|
|
850
|
+
name: string;
|
|
850
851
|
createdAt: string;
|
|
851
852
|
updatedAt: string;
|
|
852
|
-
id: string;
|
|
853
|
-
clientId: string;
|
|
854
853
|
client: {
|
|
854
|
+
id: string;
|
|
855
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
855
856
|
name: string;
|
|
856
857
|
createdAt: string;
|
|
857
858
|
updatedAt: string;
|
|
858
|
-
id: string;
|
|
859
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
860
859
|
crn: string | null;
|
|
861
860
|
govLink: string | null;
|
|
862
861
|
soleTrader: boolean;
|
|
863
862
|
director: string;
|
|
864
863
|
blacklistReason?: string | null | undefined;
|
|
865
864
|
lastUpdatedBy?: {
|
|
866
|
-
email: string;
|
|
867
865
|
id: string;
|
|
868
866
|
firstName: string;
|
|
869
867
|
lastName: string;
|
|
868
|
+
email: string;
|
|
870
869
|
} | null | undefined;
|
|
871
870
|
agentClientLinks?: {
|
|
872
871
|
agentId: string;
|
|
873
872
|
} | null | undefined;
|
|
874
873
|
};
|
|
874
|
+
clientId: string;
|
|
875
|
+
createdById: string;
|
|
875
876
|
phone: string;
|
|
876
877
|
createdBy: {
|
|
877
|
-
email: string;
|
|
878
878
|
id: string;
|
|
879
879
|
firstName: string;
|
|
880
880
|
lastName: string;
|
|
881
|
+
email: string;
|
|
881
882
|
};
|
|
882
|
-
createdById: string;
|
|
883
|
-
position?: string | null | undefined;
|
|
884
883
|
source?: string | null | undefined;
|
|
884
|
+
position?: string | null | undefined;
|
|
885
885
|
}, {
|
|
886
|
-
|
|
886
|
+
id: string;
|
|
887
887
|
email: string | null;
|
|
888
|
+
name: string;
|
|
888
889
|
createdAt: string | Date;
|
|
889
890
|
updatedAt: string | Date;
|
|
890
|
-
id: string;
|
|
891
|
-
clientId: string;
|
|
892
891
|
client: {
|
|
892
|
+
id: string;
|
|
893
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
893
894
|
name: string;
|
|
894
895
|
createdAt: string | Date;
|
|
895
896
|
updatedAt: string | Date;
|
|
896
|
-
id: string;
|
|
897
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
898
897
|
crn: string | null;
|
|
899
898
|
govLink: string | null;
|
|
900
899
|
soleTrader: boolean;
|
|
901
900
|
director: string;
|
|
902
901
|
blacklistReason?: string | null | undefined;
|
|
903
902
|
lastUpdatedBy?: {
|
|
904
|
-
email: string;
|
|
905
903
|
id: string;
|
|
906
904
|
firstName: string;
|
|
907
905
|
lastName: string;
|
|
906
|
+
email: string;
|
|
908
907
|
} | null | undefined;
|
|
909
908
|
agentClientLinks?: {
|
|
910
909
|
agentId: string;
|
|
911
910
|
} | null | undefined;
|
|
912
911
|
};
|
|
912
|
+
clientId: string;
|
|
913
|
+
createdById: string;
|
|
913
914
|
phone: string;
|
|
914
915
|
createdBy: {
|
|
915
|
-
email: string;
|
|
916
916
|
id: string;
|
|
917
917
|
firstName: string;
|
|
918
918
|
lastName: string;
|
|
919
|
+
email: string;
|
|
919
920
|
};
|
|
920
|
-
createdById: string;
|
|
921
|
-
position?: string | null | undefined;
|
|
922
921
|
source?: string | null | undefined;
|
|
922
|
+
position?: string | null | 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
|
-
position?: string | undefined;
|
|
981
980
|
email?: string | undefined;
|
|
982
981
|
source?: string | undefined;
|
|
982
|
+
position?: string | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
name: string;
|
|
985
985
|
phone: string;
|
|
986
|
-
position?: string | undefined;
|
|
987
986
|
email?: string | undefined;
|
|
988
987
|
source?: string | undefined;
|
|
988
|
+
position?: string | undefined;
|
|
989
989
|
}>;
|
|
990
990
|
path: "/v2/client-contacts/client/:clientId";
|
|
991
991
|
responses: {
|
|
@@ -1107,15 +1107,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1107
1107
|
lastName: z.ZodString;
|
|
1108
1108
|
email: z.ZodString;
|
|
1109
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1110
|
-
email: string;
|
|
1111
1110
|
id: string;
|
|
1112
1111
|
firstName: string;
|
|
1113
1112
|
lastName: string;
|
|
1114
|
-
}, {
|
|
1115
1113
|
email: string;
|
|
1114
|
+
}, {
|
|
1116
1115
|
id: string;
|
|
1117
1116
|
firstName: string;
|
|
1118
1117
|
lastName: string;
|
|
1118
|
+
email: string;
|
|
1119
1119
|
}>>>;
|
|
1120
1120
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1121
1121
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1127,41 +1127,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1127
1127
|
agentId: string;
|
|
1128
1128
|
}>>>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
id: string;
|
|
1131
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1130
1132
|
name: string;
|
|
1131
1133
|
createdAt: string;
|
|
1132
1134
|
updatedAt: string;
|
|
1133
|
-
id: string;
|
|
1134
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1135
1135
|
crn: string | null;
|
|
1136
1136
|
govLink: string | null;
|
|
1137
1137
|
soleTrader: boolean;
|
|
1138
1138
|
director: string;
|
|
1139
1139
|
blacklistReason?: string | null | undefined;
|
|
1140
1140
|
lastUpdatedBy?: {
|
|
1141
|
-
email: string;
|
|
1142
1141
|
id: string;
|
|
1143
1142
|
firstName: string;
|
|
1144
1143
|
lastName: string;
|
|
1144
|
+
email: string;
|
|
1145
1145
|
} | null | undefined;
|
|
1146
1146
|
agentClientLinks?: {
|
|
1147
1147
|
agentId: string;
|
|
1148
1148
|
} | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
|
+
id: string;
|
|
1151
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1150
1152
|
name: string;
|
|
1151
1153
|
createdAt: string | Date;
|
|
1152
1154
|
updatedAt: string | Date;
|
|
1153
|
-
id: string;
|
|
1154
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1155
1155
|
crn: string | null;
|
|
1156
1156
|
govLink: string | null;
|
|
1157
1157
|
soleTrader: boolean;
|
|
1158
1158
|
director: string;
|
|
1159
1159
|
blacklistReason?: string | null | undefined;
|
|
1160
1160
|
lastUpdatedBy?: {
|
|
1161
|
-
email: string;
|
|
1162
1161
|
id: string;
|
|
1163
1162
|
firstName: string;
|
|
1164
1163
|
lastName: string;
|
|
1164
|
+
email: string;
|
|
1165
1165
|
} | null | undefined;
|
|
1166
1166
|
agentClientLinks?: {
|
|
1167
1167
|
agentId: string;
|
|
@@ -1178,95 +1178,95 @@ export declare const clientContactsContractRouter: {
|
|
|
1178
1178
|
lastName: z.ZodString;
|
|
1179
1179
|
email: z.ZodString;
|
|
1180
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1181
|
-
email: string;
|
|
1182
1181
|
id: string;
|
|
1183
1182
|
firstName: string;
|
|
1184
1183
|
lastName: string;
|
|
1185
|
-
}, {
|
|
1186
1184
|
email: string;
|
|
1185
|
+
}, {
|
|
1187
1186
|
id: string;
|
|
1188
1187
|
firstName: string;
|
|
1189
1188
|
lastName: string;
|
|
1189
|
+
email: string;
|
|
1190
1190
|
}>;
|
|
1191
1191
|
createdById: z.ZodString;
|
|
1192
1192
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1193
1193
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
|
|
1195
|
+
id: string;
|
|
1196
1196
|
email: string | null;
|
|
1197
|
+
name: string;
|
|
1197
1198
|
createdAt: string;
|
|
1198
1199
|
updatedAt: string;
|
|
1199
|
-
id: string;
|
|
1200
|
-
clientId: string;
|
|
1201
1200
|
client: {
|
|
1201
|
+
id: string;
|
|
1202
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1202
1203
|
name: string;
|
|
1203
1204
|
createdAt: string;
|
|
1204
1205
|
updatedAt: string;
|
|
1205
|
-
id: string;
|
|
1206
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1207
1206
|
crn: string | null;
|
|
1208
1207
|
govLink: string | null;
|
|
1209
1208
|
soleTrader: boolean;
|
|
1210
1209
|
director: string;
|
|
1211
1210
|
blacklistReason?: string | null | undefined;
|
|
1212
1211
|
lastUpdatedBy?: {
|
|
1213
|
-
email: string;
|
|
1214
1212
|
id: string;
|
|
1215
1213
|
firstName: string;
|
|
1216
1214
|
lastName: string;
|
|
1215
|
+
email: string;
|
|
1217
1216
|
} | null | undefined;
|
|
1218
1217
|
agentClientLinks?: {
|
|
1219
1218
|
agentId: string;
|
|
1220
1219
|
} | null | undefined;
|
|
1221
1220
|
};
|
|
1221
|
+
clientId: string;
|
|
1222
|
+
createdById: string;
|
|
1222
1223
|
phone: string;
|
|
1223
1224
|
createdBy: {
|
|
1224
|
-
email: string;
|
|
1225
1225
|
id: string;
|
|
1226
1226
|
firstName: string;
|
|
1227
1227
|
lastName: string;
|
|
1228
|
+
email: string;
|
|
1228
1229
|
};
|
|
1229
|
-
createdById: string;
|
|
1230
|
-
position?: string | null | undefined;
|
|
1231
1230
|
source?: string | null | undefined;
|
|
1231
|
+
position?: string | null | undefined;
|
|
1232
1232
|
}, {
|
|
1233
|
-
|
|
1233
|
+
id: string;
|
|
1234
1234
|
email: string | null;
|
|
1235
|
+
name: string;
|
|
1235
1236
|
createdAt: string | Date;
|
|
1236
1237
|
updatedAt: string | Date;
|
|
1237
|
-
id: string;
|
|
1238
|
-
clientId: string;
|
|
1239
1238
|
client: {
|
|
1239
|
+
id: string;
|
|
1240
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1240
1241
|
name: string;
|
|
1241
1242
|
createdAt: string | Date;
|
|
1242
1243
|
updatedAt: string | Date;
|
|
1243
|
-
id: string;
|
|
1244
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1245
1244
|
crn: string | null;
|
|
1246
1245
|
govLink: string | null;
|
|
1247
1246
|
soleTrader: boolean;
|
|
1248
1247
|
director: string;
|
|
1249
1248
|
blacklistReason?: string | null | undefined;
|
|
1250
1249
|
lastUpdatedBy?: {
|
|
1251
|
-
email: string;
|
|
1252
1250
|
id: string;
|
|
1253
1251
|
firstName: string;
|
|
1254
1252
|
lastName: string;
|
|
1253
|
+
email: string;
|
|
1255
1254
|
} | null | undefined;
|
|
1256
1255
|
agentClientLinks?: {
|
|
1257
1256
|
agentId: string;
|
|
1258
1257
|
} | null | undefined;
|
|
1259
1258
|
};
|
|
1259
|
+
clientId: string;
|
|
1260
|
+
createdById: string;
|
|
1260
1261
|
phone: string;
|
|
1261
1262
|
createdBy: {
|
|
1262
|
-
email: string;
|
|
1263
1263
|
id: string;
|
|
1264
1264
|
firstName: string;
|
|
1265
1265
|
lastName: string;
|
|
1266
|
+
email: string;
|
|
1266
1267
|
};
|
|
1267
|
-
createdById: string;
|
|
1268
|
-
position?: string | null | undefined;
|
|
1269
1268
|
source?: string | null | undefined;
|
|
1269
|
+
position?: string | null | 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: "email" | "name" | "createdAt" | "updatedAt" | "position";
|
|
1319
1316
|
sortOrder: "ASC" | "DESC";
|
|
1320
|
-
name?: string | undefined;
|
|
1321
|
-
position?: string | undefined;
|
|
1322
1317
|
email?: string | undefined;
|
|
1323
|
-
|
|
1324
|
-
phone?: string | undefined;
|
|
1318
|
+
name?: string | undefined;
|
|
1325
1319
|
source?: string | undefined;
|
|
1320
|
+
clientId?: string | undefined;
|
|
1326
1321
|
createdById?: string | undefined;
|
|
1327
|
-
}, {
|
|
1328
|
-
name?: string | undefined;
|
|
1329
1322
|
position?: string | undefined;
|
|
1330
|
-
email?: string | undefined;
|
|
1331
|
-
clientId?: string | undefined;
|
|
1332
1323
|
phone?: string | undefined;
|
|
1333
|
-
|
|
1334
|
-
|
|
1324
|
+
}, {
|
|
1325
|
+
email?: string | undefined;
|
|
1326
|
+
name?: string | undefined;
|
|
1335
1327
|
limit?: number | undefined;
|
|
1336
1328
|
page?: number | undefined;
|
|
1337
|
-
sortBy?: "
|
|
1329
|
+
sortBy?: "email" | "name" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1338
1330
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1331
|
+
source?: string | undefined;
|
|
1332
|
+
clientId?: string | undefined;
|
|
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";
|
|
@@ -1460,15 +1460,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1460
1460
|
lastName: z.ZodString;
|
|
1461
1461
|
email: z.ZodString;
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
|
-
email: string;
|
|
1464
1463
|
id: string;
|
|
1465
1464
|
firstName: string;
|
|
1466
1465
|
lastName: string;
|
|
1467
|
-
}, {
|
|
1468
1466
|
email: string;
|
|
1467
|
+
}, {
|
|
1469
1468
|
id: string;
|
|
1470
1469
|
firstName: string;
|
|
1471
1470
|
lastName: string;
|
|
1471
|
+
email: string;
|
|
1472
1472
|
}>>>;
|
|
1473
1473
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1474
1474
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1480,41 +1480,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1480
1480
|
agentId: string;
|
|
1481
1481
|
}>>>;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
+
id: string;
|
|
1484
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1483
1485
|
name: string;
|
|
1484
1486
|
createdAt: string;
|
|
1485
1487
|
updatedAt: string;
|
|
1486
|
-
id: string;
|
|
1487
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1488
1488
|
crn: string | null;
|
|
1489
1489
|
govLink: string | null;
|
|
1490
1490
|
soleTrader: boolean;
|
|
1491
1491
|
director: string;
|
|
1492
1492
|
blacklistReason?: string | null | undefined;
|
|
1493
1493
|
lastUpdatedBy?: {
|
|
1494
|
-
email: string;
|
|
1495
1494
|
id: string;
|
|
1496
1495
|
firstName: string;
|
|
1497
1496
|
lastName: string;
|
|
1497
|
+
email: string;
|
|
1498
1498
|
} | null | undefined;
|
|
1499
1499
|
agentClientLinks?: {
|
|
1500
1500
|
agentId: string;
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
}, {
|
|
1503
|
+
id: string;
|
|
1504
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1503
1505
|
name: string;
|
|
1504
1506
|
createdAt: string | Date;
|
|
1505
1507
|
updatedAt: string | Date;
|
|
1506
|
-
id: string;
|
|
1507
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1508
1508
|
crn: string | null;
|
|
1509
1509
|
govLink: string | null;
|
|
1510
1510
|
soleTrader: boolean;
|
|
1511
1511
|
director: string;
|
|
1512
1512
|
blacklistReason?: string | null | undefined;
|
|
1513
1513
|
lastUpdatedBy?: {
|
|
1514
|
-
email: string;
|
|
1515
1514
|
id: string;
|
|
1516
1515
|
firstName: string;
|
|
1517
1516
|
lastName: string;
|
|
1517
|
+
email: string;
|
|
1518
1518
|
} | null | undefined;
|
|
1519
1519
|
agentClientLinks?: {
|
|
1520
1520
|
agentId: string;
|
|
@@ -1531,95 +1531,95 @@ export declare const clientContactsContractRouter: {
|
|
|
1531
1531
|
lastName: z.ZodString;
|
|
1532
1532
|
email: z.ZodString;
|
|
1533
1533
|
}, "strip", z.ZodTypeAny, {
|
|
1534
|
-
email: string;
|
|
1535
1534
|
id: string;
|
|
1536
1535
|
firstName: string;
|
|
1537
1536
|
lastName: string;
|
|
1538
|
-
}, {
|
|
1539
1537
|
email: string;
|
|
1538
|
+
}, {
|
|
1540
1539
|
id: string;
|
|
1541
1540
|
firstName: string;
|
|
1542
1541
|
lastName: string;
|
|
1542
|
+
email: string;
|
|
1543
1543
|
}>;
|
|
1544
1544
|
createdById: z.ZodString;
|
|
1545
1545
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1546
1546
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
|
-
|
|
1548
|
+
id: string;
|
|
1549
1549
|
email: string | null;
|
|
1550
|
+
name: string;
|
|
1550
1551
|
createdAt: string;
|
|
1551
1552
|
updatedAt: string;
|
|
1552
|
-
id: string;
|
|
1553
|
-
clientId: string;
|
|
1554
1553
|
client: {
|
|
1554
|
+
id: string;
|
|
1555
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1555
1556
|
name: string;
|
|
1556
1557
|
createdAt: string;
|
|
1557
1558
|
updatedAt: string;
|
|
1558
|
-
id: string;
|
|
1559
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1560
1559
|
crn: string | null;
|
|
1561
1560
|
govLink: string | null;
|
|
1562
1561
|
soleTrader: boolean;
|
|
1563
1562
|
director: string;
|
|
1564
1563
|
blacklistReason?: string | null | undefined;
|
|
1565
1564
|
lastUpdatedBy?: {
|
|
1566
|
-
email: string;
|
|
1567
1565
|
id: string;
|
|
1568
1566
|
firstName: string;
|
|
1569
1567
|
lastName: string;
|
|
1568
|
+
email: string;
|
|
1570
1569
|
} | null | undefined;
|
|
1571
1570
|
agentClientLinks?: {
|
|
1572
1571
|
agentId: string;
|
|
1573
1572
|
} | null | undefined;
|
|
1574
1573
|
};
|
|
1574
|
+
clientId: string;
|
|
1575
|
+
createdById: string;
|
|
1575
1576
|
phone: string;
|
|
1576
1577
|
createdBy: {
|
|
1577
|
-
email: string;
|
|
1578
1578
|
id: string;
|
|
1579
1579
|
firstName: string;
|
|
1580
1580
|
lastName: string;
|
|
1581
|
+
email: string;
|
|
1581
1582
|
};
|
|
1582
|
-
createdById: string;
|
|
1583
|
-
position?: string | null | undefined;
|
|
1584
1583
|
source?: string | null | undefined;
|
|
1584
|
+
position?: string | null | undefined;
|
|
1585
1585
|
}, {
|
|
1586
|
-
|
|
1586
|
+
id: string;
|
|
1587
1587
|
email: string | null;
|
|
1588
|
+
name: string;
|
|
1588
1589
|
createdAt: string | Date;
|
|
1589
1590
|
updatedAt: string | Date;
|
|
1590
|
-
id: string;
|
|
1591
|
-
clientId: string;
|
|
1592
1591
|
client: {
|
|
1592
|
+
id: string;
|
|
1593
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1593
1594
|
name: string;
|
|
1594
1595
|
createdAt: string | Date;
|
|
1595
1596
|
updatedAt: string | Date;
|
|
1596
|
-
id: string;
|
|
1597
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1598
1597
|
crn: string | null;
|
|
1599
1598
|
govLink: string | null;
|
|
1600
1599
|
soleTrader: boolean;
|
|
1601
1600
|
director: string;
|
|
1602
1601
|
blacklistReason?: string | null | undefined;
|
|
1603
1602
|
lastUpdatedBy?: {
|
|
1604
|
-
email: string;
|
|
1605
1603
|
id: string;
|
|
1606
1604
|
firstName: string;
|
|
1607
1605
|
lastName: string;
|
|
1606
|
+
email: string;
|
|
1608
1607
|
} | null | undefined;
|
|
1609
1608
|
agentClientLinks?: {
|
|
1610
1609
|
agentId: string;
|
|
1611
1610
|
} | null | undefined;
|
|
1612
1611
|
};
|
|
1612
|
+
clientId: string;
|
|
1613
|
+
createdById: string;
|
|
1613
1614
|
phone: string;
|
|
1614
1615
|
createdBy: {
|
|
1615
|
-
email: string;
|
|
1616
1616
|
id: string;
|
|
1617
1617
|
firstName: string;
|
|
1618
1618
|
lastName: string;
|
|
1619
|
+
email: string;
|
|
1619
1620
|
};
|
|
1620
|
-
createdById: string;
|
|
1621
|
-
position?: string | null | undefined;
|
|
1622
1621
|
source?: string | null | undefined;
|
|
1622
|
+
position?: string | null | undefined;
|
|
1623
1623
|
}>, "many">;
|
|
1624
1624
|
totalCount: z.ZodNumber;
|
|
1625
1625
|
limit: z.ZodNumber;
|
|
@@ -1629,43 +1629,43 @@ export declare const clientContactsContractRouter: {
|
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
limit: number;
|
|
1631
1631
|
items: {
|
|
1632
|
-
|
|
1632
|
+
id: string;
|
|
1633
1633
|
email: string | null;
|
|
1634
|
+
name: string;
|
|
1634
1635
|
createdAt: string;
|
|
1635
1636
|
updatedAt: string;
|
|
1636
|
-
id: string;
|
|
1637
|
-
clientId: string;
|
|
1638
1637
|
client: {
|
|
1638
|
+
id: string;
|
|
1639
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1639
1640
|
name: string;
|
|
1640
1641
|
createdAt: string;
|
|
1641
1642
|
updatedAt: string;
|
|
1642
|
-
id: string;
|
|
1643
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1644
1643
|
crn: string | null;
|
|
1645
1644
|
govLink: string | null;
|
|
1646
1645
|
soleTrader: boolean;
|
|
1647
1646
|
director: string;
|
|
1648
1647
|
blacklistReason?: string | null | undefined;
|
|
1649
1648
|
lastUpdatedBy?: {
|
|
1650
|
-
email: string;
|
|
1651
1649
|
id: string;
|
|
1652
1650
|
firstName: string;
|
|
1653
1651
|
lastName: string;
|
|
1652
|
+
email: string;
|
|
1654
1653
|
} | null | undefined;
|
|
1655
1654
|
agentClientLinks?: {
|
|
1656
1655
|
agentId: string;
|
|
1657
1656
|
} | null | undefined;
|
|
1658
1657
|
};
|
|
1658
|
+
clientId: string;
|
|
1659
|
+
createdById: string;
|
|
1659
1660
|
phone: string;
|
|
1660
1661
|
createdBy: {
|
|
1661
|
-
email: string;
|
|
1662
1662
|
id: string;
|
|
1663
1663
|
firstName: string;
|
|
1664
1664
|
lastName: string;
|
|
1665
|
+
email: string;
|
|
1665
1666
|
};
|
|
1666
|
-
createdById: string;
|
|
1667
|
-
position?: string | null | undefined;
|
|
1668
1667
|
source?: string | null | undefined;
|
|
1668
|
+
position?: string | null | undefined;
|
|
1669
1669
|
}[];
|
|
1670
1670
|
totalCount: number;
|
|
1671
1671
|
skip: number;
|
|
@@ -1674,43 +1674,43 @@ export declare const clientContactsContractRouter: {
|
|
|
1674
1674
|
}, {
|
|
1675
1675
|
limit: number;
|
|
1676
1676
|
items: {
|
|
1677
|
-
|
|
1677
|
+
id: string;
|
|
1678
1678
|
email: string | null;
|
|
1679
|
+
name: string;
|
|
1679
1680
|
createdAt: string | Date;
|
|
1680
1681
|
updatedAt: string | Date;
|
|
1681
|
-
id: string;
|
|
1682
|
-
clientId: string;
|
|
1683
1682
|
client: {
|
|
1683
|
+
id: string;
|
|
1684
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1684
1685
|
name: string;
|
|
1685
1686
|
createdAt: string | Date;
|
|
1686
1687
|
updatedAt: string | Date;
|
|
1687
|
-
id: string;
|
|
1688
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1689
1688
|
crn: string | null;
|
|
1690
1689
|
govLink: string | null;
|
|
1691
1690
|
soleTrader: boolean;
|
|
1692
1691
|
director: string;
|
|
1693
1692
|
blacklistReason?: string | null | undefined;
|
|
1694
1693
|
lastUpdatedBy?: {
|
|
1695
|
-
email: string;
|
|
1696
1694
|
id: string;
|
|
1697
1695
|
firstName: string;
|
|
1698
1696
|
lastName: string;
|
|
1697
|
+
email: string;
|
|
1699
1698
|
} | null | undefined;
|
|
1700
1699
|
agentClientLinks?: {
|
|
1701
1700
|
agentId: string;
|
|
1702
1701
|
} | null | undefined;
|
|
1703
1702
|
};
|
|
1703
|
+
clientId: string;
|
|
1704
|
+
createdById: string;
|
|
1704
1705
|
phone: string;
|
|
1705
1706
|
createdBy: {
|
|
1706
|
-
email: string;
|
|
1707
1707
|
id: string;
|
|
1708
1708
|
firstName: string;
|
|
1709
1709
|
lastName: string;
|
|
1710
|
+
email: string;
|
|
1710
1711
|
};
|
|
1711
|
-
createdById: string;
|
|
1712
|
-
position?: string | null | undefined;
|
|
1713
1712
|
source?: string | null | undefined;
|
|
1713
|
+
position?: string | null | undefined;
|
|
1714
1714
|
}[];
|
|
1715
1715
|
totalCount: number;
|
|
1716
1716
|
skip: number;
|
|
@@ -1852,15 +1852,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1852
1852
|
lastName: z.ZodString;
|
|
1853
1853
|
email: z.ZodString;
|
|
1854
1854
|
}, "strip", z.ZodTypeAny, {
|
|
1855
|
-
email: string;
|
|
1856
1855
|
id: string;
|
|
1857
1856
|
firstName: string;
|
|
1858
1857
|
lastName: string;
|
|
1859
|
-
}, {
|
|
1860
1858
|
email: string;
|
|
1859
|
+
}, {
|
|
1861
1860
|
id: string;
|
|
1862
1861
|
firstName: string;
|
|
1863
1862
|
lastName: string;
|
|
1863
|
+
email: string;
|
|
1864
1864
|
}>>>;
|
|
1865
1865
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1866
1866
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1872,41 +1872,41 @@ export declare const clientContactsContractRouter: {
|
|
|
1872
1872
|
agentId: string;
|
|
1873
1873
|
}>>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
id: string;
|
|
1876
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1875
1877
|
name: string;
|
|
1876
1878
|
createdAt: string;
|
|
1877
1879
|
updatedAt: string;
|
|
1878
|
-
id: string;
|
|
1879
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1880
1880
|
crn: string | null;
|
|
1881
1881
|
govLink: string | null;
|
|
1882
1882
|
soleTrader: boolean;
|
|
1883
1883
|
director: string;
|
|
1884
1884
|
blacklistReason?: string | null | undefined;
|
|
1885
1885
|
lastUpdatedBy?: {
|
|
1886
|
-
email: string;
|
|
1887
1886
|
id: string;
|
|
1888
1887
|
firstName: string;
|
|
1889
1888
|
lastName: string;
|
|
1889
|
+
email: string;
|
|
1890
1890
|
} | null | undefined;
|
|
1891
1891
|
agentClientLinks?: {
|
|
1892
1892
|
agentId: string;
|
|
1893
1893
|
} | null | undefined;
|
|
1894
1894
|
}, {
|
|
1895
|
+
id: string;
|
|
1896
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1895
1897
|
name: string;
|
|
1896
1898
|
createdAt: string | Date;
|
|
1897
1899
|
updatedAt: string | Date;
|
|
1898
|
-
id: string;
|
|
1899
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1900
1900
|
crn: string | null;
|
|
1901
1901
|
govLink: string | null;
|
|
1902
1902
|
soleTrader: boolean;
|
|
1903
1903
|
director: string;
|
|
1904
1904
|
blacklistReason?: string | null | undefined;
|
|
1905
1905
|
lastUpdatedBy?: {
|
|
1906
|
-
email: string;
|
|
1907
1906
|
id: string;
|
|
1908
1907
|
firstName: string;
|
|
1909
1908
|
lastName: string;
|
|
1909
|
+
email: string;
|
|
1910
1910
|
} | null | undefined;
|
|
1911
1911
|
agentClientLinks?: {
|
|
1912
1912
|
agentId: string;
|
|
@@ -1923,95 +1923,95 @@ export declare const clientContactsContractRouter: {
|
|
|
1923
1923
|
lastName: z.ZodString;
|
|
1924
1924
|
email: z.ZodString;
|
|
1925
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1926
|
-
email: string;
|
|
1927
1926
|
id: string;
|
|
1928
1927
|
firstName: string;
|
|
1929
1928
|
lastName: string;
|
|
1930
|
-
}, {
|
|
1931
1929
|
email: string;
|
|
1930
|
+
}, {
|
|
1932
1931
|
id: string;
|
|
1933
1932
|
firstName: string;
|
|
1934
1933
|
lastName: string;
|
|
1934
|
+
email: string;
|
|
1935
1935
|
}>;
|
|
1936
1936
|
createdById: z.ZodString;
|
|
1937
1937
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1938
1938
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1939
1939
|
}, "strip", z.ZodTypeAny, {
|
|
1940
|
-
|
|
1940
|
+
id: string;
|
|
1941
1941
|
email: string | null;
|
|
1942
|
+
name: string;
|
|
1942
1943
|
createdAt: string;
|
|
1943
1944
|
updatedAt: string;
|
|
1944
|
-
id: string;
|
|
1945
|
-
clientId: string;
|
|
1946
1945
|
client: {
|
|
1946
|
+
id: string;
|
|
1947
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1947
1948
|
name: string;
|
|
1948
1949
|
createdAt: string;
|
|
1949
1950
|
updatedAt: string;
|
|
1950
|
-
id: string;
|
|
1951
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1952
1951
|
crn: string | null;
|
|
1953
1952
|
govLink: string | null;
|
|
1954
1953
|
soleTrader: boolean;
|
|
1955
1954
|
director: string;
|
|
1956
1955
|
blacklistReason?: string | null | undefined;
|
|
1957
1956
|
lastUpdatedBy?: {
|
|
1958
|
-
email: string;
|
|
1959
1957
|
id: string;
|
|
1960
1958
|
firstName: string;
|
|
1961
1959
|
lastName: string;
|
|
1960
|
+
email: string;
|
|
1962
1961
|
} | null | undefined;
|
|
1963
1962
|
agentClientLinks?: {
|
|
1964
1963
|
agentId: string;
|
|
1965
1964
|
} | null | undefined;
|
|
1966
1965
|
};
|
|
1966
|
+
clientId: string;
|
|
1967
|
+
createdById: string;
|
|
1967
1968
|
phone: string;
|
|
1968
1969
|
createdBy: {
|
|
1969
|
-
email: string;
|
|
1970
1970
|
id: string;
|
|
1971
1971
|
firstName: string;
|
|
1972
1972
|
lastName: string;
|
|
1973
|
+
email: string;
|
|
1973
1974
|
};
|
|
1974
|
-
createdById: string;
|
|
1975
|
-
position?: string | null | undefined;
|
|
1976
1975
|
source?: string | null | undefined;
|
|
1976
|
+
position?: string | null | undefined;
|
|
1977
1977
|
}, {
|
|
1978
|
-
|
|
1978
|
+
id: string;
|
|
1979
1979
|
email: string | null;
|
|
1980
|
+
name: string;
|
|
1980
1981
|
createdAt: string | Date;
|
|
1981
1982
|
updatedAt: string | Date;
|
|
1982
|
-
id: string;
|
|
1983
|
-
clientId: string;
|
|
1984
1983
|
client: {
|
|
1984
|
+
id: string;
|
|
1985
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1985
1986
|
name: string;
|
|
1986
1987
|
createdAt: string | Date;
|
|
1987
1988
|
updatedAt: string | Date;
|
|
1988
|
-
id: string;
|
|
1989
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1990
1989
|
crn: string | null;
|
|
1991
1990
|
govLink: string | null;
|
|
1992
1991
|
soleTrader: boolean;
|
|
1993
1992
|
director: string;
|
|
1994
1993
|
blacklistReason?: string | null | undefined;
|
|
1995
1994
|
lastUpdatedBy?: {
|
|
1996
|
-
email: string;
|
|
1997
1995
|
id: string;
|
|
1998
1996
|
firstName: string;
|
|
1999
1997
|
lastName: string;
|
|
1998
|
+
email: string;
|
|
2000
1999
|
} | null | undefined;
|
|
2001
2000
|
agentClientLinks?: {
|
|
2002
2001
|
agentId: string;
|
|
2003
2002
|
} | null | undefined;
|
|
2004
2003
|
};
|
|
2004
|
+
clientId: string;
|
|
2005
|
+
createdById: string;
|
|
2005
2006
|
phone: string;
|
|
2006
2007
|
createdBy: {
|
|
2007
|
-
email: string;
|
|
2008
2008
|
id: string;
|
|
2009
2009
|
firstName: string;
|
|
2010
2010
|
lastName: string;
|
|
2011
|
+
email: string;
|
|
2011
2012
|
};
|
|
2012
|
-
createdById: string;
|
|
2013
|
-
position?: string | null | undefined;
|
|
2014
2013
|
source?: string | null | undefined;
|
|
2014
|
+
position?: string | null | 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;
|
|
2070
2071
|
name?: string | undefined;
|
|
2072
|
+
source?: string | undefined;
|
|
2071
2073
|
position?: string | undefined;
|
|
2072
|
-
email?: string | undefined;
|
|
2073
2074
|
phone?: string | undefined;
|
|
2074
|
-
source?: string | undefined;
|
|
2075
2075
|
}, {
|
|
2076
|
+
email?: string | undefined;
|
|
2076
2077
|
name?: string | undefined;
|
|
2078
|
+
source?: string | undefined;
|
|
2077
2079
|
position?: string | undefined;
|
|
2078
|
-
email?: string | undefined;
|
|
2079
2080
|
phone?: string | undefined;
|
|
2080
|
-
source?: string | undefined;
|
|
2081
2081
|
}>;
|
|
2082
2082
|
path: "/v2/client-contacts/:contactId";
|
|
2083
2083
|
responses: {
|
|
@@ -2199,15 +2199,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2199
2199
|
lastName: z.ZodString;
|
|
2200
2200
|
email: z.ZodString;
|
|
2201
2201
|
}, "strip", z.ZodTypeAny, {
|
|
2202
|
-
email: string;
|
|
2203
2202
|
id: string;
|
|
2204
2203
|
firstName: string;
|
|
2205
2204
|
lastName: string;
|
|
2206
|
-
}, {
|
|
2207
2205
|
email: string;
|
|
2206
|
+
}, {
|
|
2208
2207
|
id: string;
|
|
2209
2208
|
firstName: string;
|
|
2210
2209
|
lastName: string;
|
|
2210
|
+
email: string;
|
|
2211
2211
|
}>>>;
|
|
2212
2212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2213
2213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2219,41 +2219,41 @@ export declare const clientContactsContractRouter: {
|
|
|
2219
2219
|
agentId: string;
|
|
2220
2220
|
}>>>;
|
|
2221
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2222
|
+
id: string;
|
|
2223
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2222
2224
|
name: string;
|
|
2223
2225
|
createdAt: string;
|
|
2224
2226
|
updatedAt: string;
|
|
2225
|
-
id: string;
|
|
2226
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2227
2227
|
crn: string | null;
|
|
2228
2228
|
govLink: string | null;
|
|
2229
2229
|
soleTrader: boolean;
|
|
2230
2230
|
director: string;
|
|
2231
2231
|
blacklistReason?: string | null | undefined;
|
|
2232
2232
|
lastUpdatedBy?: {
|
|
2233
|
-
email: string;
|
|
2234
2233
|
id: string;
|
|
2235
2234
|
firstName: string;
|
|
2236
2235
|
lastName: string;
|
|
2236
|
+
email: string;
|
|
2237
2237
|
} | null | undefined;
|
|
2238
2238
|
agentClientLinks?: {
|
|
2239
2239
|
agentId: string;
|
|
2240
2240
|
} | null | undefined;
|
|
2241
2241
|
}, {
|
|
2242
|
+
id: string;
|
|
2243
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2242
2244
|
name: string;
|
|
2243
2245
|
createdAt: string | Date;
|
|
2244
2246
|
updatedAt: string | Date;
|
|
2245
|
-
id: string;
|
|
2246
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2247
2247
|
crn: string | null;
|
|
2248
2248
|
govLink: string | null;
|
|
2249
2249
|
soleTrader: boolean;
|
|
2250
2250
|
director: string;
|
|
2251
2251
|
blacklistReason?: string | null | undefined;
|
|
2252
2252
|
lastUpdatedBy?: {
|
|
2253
|
-
email: string;
|
|
2254
2253
|
id: string;
|
|
2255
2254
|
firstName: string;
|
|
2256
2255
|
lastName: string;
|
|
2256
|
+
email: string;
|
|
2257
2257
|
} | null | undefined;
|
|
2258
2258
|
agentClientLinks?: {
|
|
2259
2259
|
agentId: string;
|
|
@@ -2270,95 +2270,95 @@ export declare const clientContactsContractRouter: {
|
|
|
2270
2270
|
lastName: z.ZodString;
|
|
2271
2271
|
email: z.ZodString;
|
|
2272
2272
|
}, "strip", z.ZodTypeAny, {
|
|
2273
|
-
email: string;
|
|
2274
2273
|
id: string;
|
|
2275
2274
|
firstName: string;
|
|
2276
2275
|
lastName: string;
|
|
2277
|
-
}, {
|
|
2278
2276
|
email: string;
|
|
2277
|
+
}, {
|
|
2279
2278
|
id: string;
|
|
2280
2279
|
firstName: string;
|
|
2281
2280
|
lastName: string;
|
|
2281
|
+
email: string;
|
|
2282
2282
|
}>;
|
|
2283
2283
|
createdById: z.ZodString;
|
|
2284
2284
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2285
2285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2286
2286
|
}, "strip", z.ZodTypeAny, {
|
|
2287
|
-
|
|
2287
|
+
id: string;
|
|
2288
2288
|
email: string | null;
|
|
2289
|
+
name: string;
|
|
2289
2290
|
createdAt: string;
|
|
2290
2291
|
updatedAt: string;
|
|
2291
|
-
id: string;
|
|
2292
|
-
clientId: string;
|
|
2293
2292
|
client: {
|
|
2293
|
+
id: string;
|
|
2294
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2294
2295
|
name: string;
|
|
2295
2296
|
createdAt: string;
|
|
2296
2297
|
updatedAt: string;
|
|
2297
|
-
id: string;
|
|
2298
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2299
2298
|
crn: string | null;
|
|
2300
2299
|
govLink: string | null;
|
|
2301
2300
|
soleTrader: boolean;
|
|
2302
2301
|
director: string;
|
|
2303
2302
|
blacklistReason?: string | null | undefined;
|
|
2304
2303
|
lastUpdatedBy?: {
|
|
2305
|
-
email: string;
|
|
2306
2304
|
id: string;
|
|
2307
2305
|
firstName: string;
|
|
2308
2306
|
lastName: string;
|
|
2307
|
+
email: string;
|
|
2309
2308
|
} | null | undefined;
|
|
2310
2309
|
agentClientLinks?: {
|
|
2311
2310
|
agentId: string;
|
|
2312
2311
|
} | null | undefined;
|
|
2313
2312
|
};
|
|
2313
|
+
clientId: string;
|
|
2314
|
+
createdById: string;
|
|
2314
2315
|
phone: string;
|
|
2315
2316
|
createdBy: {
|
|
2316
|
-
email: string;
|
|
2317
2317
|
id: string;
|
|
2318
2318
|
firstName: string;
|
|
2319
2319
|
lastName: string;
|
|
2320
|
+
email: string;
|
|
2320
2321
|
};
|
|
2321
|
-
createdById: string;
|
|
2322
|
-
position?: string | null | undefined;
|
|
2323
2322
|
source?: string | null | undefined;
|
|
2323
|
+
position?: string | null | undefined;
|
|
2324
2324
|
}, {
|
|
2325
|
-
|
|
2325
|
+
id: string;
|
|
2326
2326
|
email: string | null;
|
|
2327
|
+
name: string;
|
|
2327
2328
|
createdAt: string | Date;
|
|
2328
2329
|
updatedAt: string | Date;
|
|
2329
|
-
id: string;
|
|
2330
|
-
clientId: string;
|
|
2331
2330
|
client: {
|
|
2331
|
+
id: string;
|
|
2332
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2332
2333
|
name: string;
|
|
2333
2334
|
createdAt: string | Date;
|
|
2334
2335
|
updatedAt: string | Date;
|
|
2335
|
-
id: string;
|
|
2336
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2337
2336
|
crn: string | null;
|
|
2338
2337
|
govLink: string | null;
|
|
2339
2338
|
soleTrader: boolean;
|
|
2340
2339
|
director: string;
|
|
2341
2340
|
blacklistReason?: string | null | undefined;
|
|
2342
2341
|
lastUpdatedBy?: {
|
|
2343
|
-
email: string;
|
|
2344
2342
|
id: string;
|
|
2345
2343
|
firstName: string;
|
|
2346
2344
|
lastName: string;
|
|
2345
|
+
email: string;
|
|
2347
2346
|
} | null | undefined;
|
|
2348
2347
|
agentClientLinks?: {
|
|
2349
2348
|
agentId: string;
|
|
2350
2349
|
} | null | undefined;
|
|
2351
2350
|
};
|
|
2351
|
+
clientId: string;
|
|
2352
|
+
createdById: string;
|
|
2352
2353
|
phone: string;
|
|
2353
2354
|
createdBy: {
|
|
2354
|
-
email: string;
|
|
2355
2355
|
id: string;
|
|
2356
2356
|
firstName: string;
|
|
2357
2357
|
lastName: string;
|
|
2358
|
+
email: string;
|
|
2358
2359
|
};
|
|
2359
|
-
createdById: string;
|
|
2360
|
-
position?: string | null | undefined;
|
|
2361
2360
|
source?: string | null | undefined;
|
|
2361
|
+
position?: string | null | undefined;
|
|
2362
2362
|
}>;
|
|
2363
2363
|
404: z.ZodObject<{
|
|
2364
2364
|
statusCode: z.ZodNumber;
|