@dakkitor/api-contracts 1.1.125 → 1.1.127
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/second-agent.abilities.json +4 -10
- package/dist/actives/actives.contract.d.ts +4114 -4056
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +538 -538
- package/dist/bookings/bookings.contract.d.ts +15340 -15116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +183 -183
- package/dist/client-contacts/client-contacts.contract.d.ts +502 -502
- package/dist/clients/clients.contract.d.ts +172 -172
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1558 -1558
- package/dist/collaborations/collaborations.contract.d.ts +1316 -1316
- package/dist/common/common-schemas.d.ts +8 -8
- package/dist/companies/companies.contract.d.ts +12 -12
- package/dist/cron-executions/cron-executions.contract.d.ts +6 -6
- package/dist/curated-workers/curated-workers.contract.d.ts +450 -450
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +4 -2
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +60 -60
- package/dist/dashboards/dashboard.contract.d.ts +34 -34
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +3327 -3135
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +198 -148
- package/dist/lead-assignments/lead-assignments.contract.d.ts +66 -66
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +53 -53
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +161 -161
- package/dist/locations/locations.contract.d.ts +21 -21
- package/dist/postcodes/postcodes.contract.d.ts +18 -18
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/users/users.contract.d.ts +36 -36
- package/dist/workers/workers.contract.d.ts +651 -651
- 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,44 +54,44 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
54
54
|
agentId: string;
|
|
55
55
|
}>>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
id: string;
|
|
57
58
|
name: string;
|
|
59
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
64
|
-
director: string;
|
|
65
64
|
soleTrader: boolean;
|
|
65
|
+
director: string;
|
|
66
66
|
blacklistReason?: string | null | undefined;
|
|
67
|
-
agentClientLinks?: {
|
|
68
|
-
agentId: string;
|
|
69
|
-
} | null | undefined;
|
|
70
67
|
lastUpdatedBy?: {
|
|
71
|
-
email: string;
|
|
72
68
|
id: string;
|
|
73
69
|
firstName: string;
|
|
74
70
|
lastName: string;
|
|
71
|
+
email: string;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
agentClientLinks?: {
|
|
74
|
+
agentId: string;
|
|
75
75
|
} | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
id: string;
|
|
77
78
|
name: string;
|
|
79
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
84
|
-
director: string;
|
|
85
84
|
soleTrader: boolean;
|
|
85
|
+
director: string;
|
|
86
86
|
blacklistReason?: string | null | undefined;
|
|
87
|
-
agentClientLinks?: {
|
|
88
|
-
agentId: string;
|
|
89
|
-
} | null | undefined;
|
|
90
87
|
lastUpdatedBy?: {
|
|
91
|
-
email: string;
|
|
92
88
|
id: string;
|
|
93
89
|
firstName: string;
|
|
94
90
|
lastName: string;
|
|
91
|
+
email: string;
|
|
92
|
+
} | null | undefined;
|
|
93
|
+
agentClientLinks?: {
|
|
94
|
+
agentId: string;
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
122
123
|
name: string;
|
|
123
|
-
email: string | null;
|
|
124
|
-
phone: string;
|
|
125
124
|
createdAt: string;
|
|
126
125
|
updatedAt: string;
|
|
127
|
-
|
|
128
|
-
email: string;
|
|
129
|
-
id: string;
|
|
130
|
-
firstName: string;
|
|
131
|
-
lastName: string;
|
|
132
|
-
};
|
|
133
|
-
id: string;
|
|
134
|
-
createdById: string;
|
|
135
|
-
clientId: string;
|
|
126
|
+
email: string | null;
|
|
136
127
|
client: {
|
|
128
|
+
id: string;
|
|
137
129
|
name: string;
|
|
130
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
138
131
|
createdAt: string;
|
|
139
132
|
updatedAt: string;
|
|
140
|
-
id: string;
|
|
141
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
142
133
|
crn: string | null;
|
|
143
134
|
govLink: string;
|
|
144
|
-
director: string;
|
|
145
135
|
soleTrader: boolean;
|
|
136
|
+
director: string;
|
|
146
137
|
blacklistReason?: string | null | undefined;
|
|
147
|
-
agentClientLinks?: {
|
|
148
|
-
agentId: string;
|
|
149
|
-
} | null | undefined;
|
|
150
138
|
lastUpdatedBy?: {
|
|
151
|
-
email: string;
|
|
152
139
|
id: string;
|
|
153
140
|
firstName: string;
|
|
154
141
|
lastName: string;
|
|
142
|
+
email: string;
|
|
143
|
+
} | null | undefined;
|
|
144
|
+
agentClientLinks?: {
|
|
145
|
+
agentId: string;
|
|
155
146
|
} | null | undefined;
|
|
156
147
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}, {
|
|
160
|
-
name: string;
|
|
161
|
-
email: string | null;
|
|
148
|
+
clientId: string;
|
|
149
|
+
createdById: string;
|
|
162
150
|
phone: string;
|
|
163
|
-
createdAt: string | Date;
|
|
164
|
-
updatedAt: string | Date;
|
|
165
151
|
createdBy: {
|
|
166
|
-
email: string;
|
|
167
152
|
id: string;
|
|
168
153
|
firstName: string;
|
|
169
154
|
lastName: string;
|
|
155
|
+
email: string;
|
|
170
156
|
};
|
|
157
|
+
source?: string | undefined;
|
|
158
|
+
position?: string | undefined;
|
|
159
|
+
}, {
|
|
171
160
|
id: string;
|
|
172
|
-
|
|
173
|
-
|
|
161
|
+
name: string;
|
|
162
|
+
createdAt: string | Date;
|
|
163
|
+
updatedAt: string | Date;
|
|
164
|
+
email: string | null;
|
|
174
165
|
client: {
|
|
166
|
+
id: string;
|
|
175
167
|
name: string;
|
|
168
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
176
169
|
createdAt: string | Date;
|
|
177
170
|
updatedAt: string | Date;
|
|
178
|
-
id: string;
|
|
179
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
180
171
|
crn: string | null;
|
|
181
172
|
govLink: string;
|
|
182
|
-
director: string;
|
|
183
173
|
soleTrader: boolean;
|
|
174
|
+
director: string;
|
|
184
175
|
blacklistReason?: string | null | undefined;
|
|
185
|
-
agentClientLinks?: {
|
|
186
|
-
agentId: string;
|
|
187
|
-
} | null | undefined;
|
|
188
176
|
lastUpdatedBy?: {
|
|
189
|
-
email: string;
|
|
190
177
|
id: string;
|
|
191
178
|
firstName: string;
|
|
192
179
|
lastName: string;
|
|
180
|
+
email: string;
|
|
181
|
+
} | null | undefined;
|
|
182
|
+
agentClientLinks?: {
|
|
183
|
+
agentId: string;
|
|
193
184
|
} | null | undefined;
|
|
194
185
|
};
|
|
195
|
-
|
|
186
|
+
clientId: string;
|
|
187
|
+
createdById: string;
|
|
188
|
+
phone: string;
|
|
189
|
+
createdBy: {
|
|
190
|
+
id: string;
|
|
191
|
+
firstName: string;
|
|
192
|
+
lastName: string;
|
|
193
|
+
email: string;
|
|
194
|
+
};
|
|
196
195
|
source?: string | undefined;
|
|
196
|
+
position?: string | undefined;
|
|
197
197
|
}>;
|
|
198
198
|
export declare const CreateClientContactSchema: z.ZodObject<{
|
|
199
199
|
client: z.ZodObject<{
|
|
@@ -210,22 +210,22 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
210
210
|
source: z.ZodOptional<z.ZodString>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
name: string;
|
|
213
|
-
phone: string;
|
|
214
213
|
client: {
|
|
215
214
|
id: string;
|
|
216
215
|
};
|
|
216
|
+
phone: string;
|
|
217
|
+
source?: string | undefined;
|
|
217
218
|
email?: string | undefined;
|
|
218
219
|
position?: string | undefined;
|
|
219
|
-
source?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
name: string;
|
|
222
|
-
phone: string;
|
|
223
222
|
client: {
|
|
224
223
|
id: string;
|
|
225
224
|
};
|
|
225
|
+
phone: string;
|
|
226
|
+
source?: string | undefined;
|
|
226
227
|
email?: string | undefined;
|
|
227
228
|
position?: string | undefined;
|
|
228
|
-
source?: string | undefined;
|
|
229
229
|
}>;
|
|
230
230
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
231
231
|
client: z.ZodObject<{
|
|
@@ -243,15 +243,15 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
243
243
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
244
244
|
name: string;
|
|
245
245
|
phone: string;
|
|
246
|
+
source?: string | undefined;
|
|
246
247
|
email?: string | undefined;
|
|
247
248
|
position?: string | undefined;
|
|
248
|
-
source?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
name: string;
|
|
251
251
|
phone: string;
|
|
252
|
+
source?: string | undefined;
|
|
252
253
|
email?: string | undefined;
|
|
253
254
|
position?: string | undefined;
|
|
254
|
-
source?: string | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
257
257
|
client: z.ZodOptional<z.ZodObject<{
|
|
@@ -268,16 +268,16 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
268
268
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
269
269
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
270
270
|
name?: string | undefined;
|
|
271
|
+
source?: string | undefined;
|
|
271
272
|
email?: string | undefined;
|
|
272
|
-
phone?: string | undefined;
|
|
273
273
|
position?: string | undefined;
|
|
274
|
-
|
|
274
|
+
phone?: string | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
name?: string | undefined;
|
|
277
|
+
source?: string | undefined;
|
|
277
278
|
email?: string | undefined;
|
|
278
|
-
phone?: string | undefined;
|
|
279
279
|
position?: string | undefined;
|
|
280
|
-
|
|
280
|
+
phone?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
283
283
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -293,29 +293,29 @@ export declare const FilterClientContactSchema: z.ZodObject<{
|
|
|
293
293
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
294
294
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
297
|
-
sortOrder: "ASC" | "DESC";
|
|
298
|
-
page: number;
|
|
299
296
|
limit: number;
|
|
297
|
+
page: number;
|
|
298
|
+
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
299
|
+
sortOrder: "ASC" | "DESC";
|
|
300
300
|
name?: string | undefined;
|
|
301
|
+
source?: string | undefined;
|
|
301
302
|
email?: string | undefined;
|
|
302
|
-
phone?: string | undefined;
|
|
303
|
-
createdById?: string | undefined;
|
|
304
303
|
clientId?: string | undefined;
|
|
304
|
+
createdById?: string | undefined;
|
|
305
305
|
position?: string | undefined;
|
|
306
|
-
|
|
306
|
+
phone?: string | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
name?: string | undefined;
|
|
309
|
-
email?: string | undefined;
|
|
310
|
-
phone?: string | undefined;
|
|
311
|
-
sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
312
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
313
|
-
page?: number | undefined;
|
|
314
309
|
limit?: number | undefined;
|
|
315
|
-
|
|
310
|
+
page?: number | undefined;
|
|
311
|
+
source?: string | undefined;
|
|
312
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
313
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
314
|
+
email?: string | undefined;
|
|
316
315
|
clientId?: string | undefined;
|
|
316
|
+
createdById?: string | undefined;
|
|
317
317
|
position?: string | undefined;
|
|
318
|
-
|
|
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,44 +356,44 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
356
356
|
agentId: string;
|
|
357
357
|
}>>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
id: string;
|
|
359
360
|
name: string;
|
|
361
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
366
|
-
director: string;
|
|
367
366
|
soleTrader: boolean;
|
|
367
|
+
director: string;
|
|
368
368
|
blacklistReason?: string | null | undefined;
|
|
369
|
-
agentClientLinks?: {
|
|
370
|
-
agentId: string;
|
|
371
|
-
} | null | undefined;
|
|
372
369
|
lastUpdatedBy?: {
|
|
373
|
-
email: string;
|
|
374
370
|
id: string;
|
|
375
371
|
firstName: string;
|
|
376
372
|
lastName: string;
|
|
373
|
+
email: string;
|
|
374
|
+
} | null | undefined;
|
|
375
|
+
agentClientLinks?: {
|
|
376
|
+
agentId: string;
|
|
377
377
|
} | null | undefined;
|
|
378
378
|
}, {
|
|
379
|
+
id: string;
|
|
379
380
|
name: string;
|
|
381
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
386
|
-
director: string;
|
|
387
386
|
soleTrader: boolean;
|
|
387
|
+
director: string;
|
|
388
388
|
blacklistReason?: string | null | undefined;
|
|
389
|
-
agentClientLinks?: {
|
|
390
|
-
agentId: string;
|
|
391
|
-
} | null | undefined;
|
|
392
389
|
lastUpdatedBy?: {
|
|
393
|
-
email: string;
|
|
394
390
|
id: string;
|
|
395
391
|
firstName: string;
|
|
396
392
|
lastName: string;
|
|
393
|
+
email: string;
|
|
394
|
+
} | null | undefined;
|
|
395
|
+
agentClientLinks?: {
|
|
396
|
+
agentId: string;
|
|
397
397
|
} | null | undefined;
|
|
398
398
|
}>;
|
|
399
399
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
424
425
|
name: string;
|
|
425
|
-
email: string | null;
|
|
426
|
-
phone: string;
|
|
427
426
|
createdAt: string;
|
|
428
427
|
updatedAt: string;
|
|
429
|
-
|
|
430
|
-
email: string;
|
|
431
|
-
id: string;
|
|
432
|
-
firstName: string;
|
|
433
|
-
lastName: string;
|
|
434
|
-
};
|
|
435
|
-
id: string;
|
|
436
|
-
createdById: string;
|
|
437
|
-
clientId: string;
|
|
428
|
+
email: string | null;
|
|
438
429
|
client: {
|
|
430
|
+
id: string;
|
|
439
431
|
name: string;
|
|
432
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
440
433
|
createdAt: string;
|
|
441
434
|
updatedAt: string;
|
|
442
|
-
id: string;
|
|
443
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
444
435
|
crn: string | null;
|
|
445
436
|
govLink: string;
|
|
446
|
-
director: string;
|
|
447
437
|
soleTrader: boolean;
|
|
438
|
+
director: string;
|
|
448
439
|
blacklistReason?: string | null | undefined;
|
|
449
|
-
agentClientLinks?: {
|
|
450
|
-
agentId: string;
|
|
451
|
-
} | null | undefined;
|
|
452
440
|
lastUpdatedBy?: {
|
|
453
|
-
email: string;
|
|
454
441
|
id: string;
|
|
455
442
|
firstName: string;
|
|
456
443
|
lastName: string;
|
|
444
|
+
email: string;
|
|
445
|
+
} | null | undefined;
|
|
446
|
+
agentClientLinks?: {
|
|
447
|
+
agentId: string;
|
|
457
448
|
} | null | undefined;
|
|
458
449
|
};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}, {
|
|
462
|
-
name: string;
|
|
463
|
-
email: string | null;
|
|
450
|
+
clientId: string;
|
|
451
|
+
createdById: string;
|
|
464
452
|
phone: string;
|
|
465
|
-
createdAt: string | Date;
|
|
466
|
-
updatedAt: string | Date;
|
|
467
453
|
createdBy: {
|
|
468
|
-
email: string;
|
|
469
454
|
id: string;
|
|
470
455
|
firstName: string;
|
|
471
456
|
lastName: string;
|
|
457
|
+
email: string;
|
|
472
458
|
};
|
|
459
|
+
source?: string | undefined;
|
|
460
|
+
position?: string | undefined;
|
|
461
|
+
}, {
|
|
473
462
|
id: string;
|
|
474
|
-
|
|
475
|
-
|
|
463
|
+
name: string;
|
|
464
|
+
createdAt: string | Date;
|
|
465
|
+
updatedAt: string | Date;
|
|
466
|
+
email: string | null;
|
|
476
467
|
client: {
|
|
468
|
+
id: string;
|
|
477
469
|
name: string;
|
|
470
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
478
471
|
createdAt: string | Date;
|
|
479
472
|
updatedAt: string | Date;
|
|
480
|
-
id: string;
|
|
481
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
482
473
|
crn: string | null;
|
|
483
474
|
govLink: string;
|
|
484
|
-
director: string;
|
|
485
475
|
soleTrader: boolean;
|
|
476
|
+
director: string;
|
|
486
477
|
blacklistReason?: string | null | undefined;
|
|
487
|
-
agentClientLinks?: {
|
|
488
|
-
agentId: string;
|
|
489
|
-
} | null | undefined;
|
|
490
478
|
lastUpdatedBy?: {
|
|
491
|
-
email: string;
|
|
492
479
|
id: string;
|
|
493
480
|
firstName: string;
|
|
494
481
|
lastName: string;
|
|
482
|
+
email: string;
|
|
483
|
+
} | null | undefined;
|
|
484
|
+
agentClientLinks?: {
|
|
485
|
+
agentId: string;
|
|
495
486
|
} | null | undefined;
|
|
496
487
|
};
|
|
497
|
-
|
|
488
|
+
clientId: string;
|
|
489
|
+
createdById: string;
|
|
490
|
+
phone: string;
|
|
491
|
+
createdBy: {
|
|
492
|
+
id: string;
|
|
493
|
+
firstName: string;
|
|
494
|
+
lastName: string;
|
|
495
|
+
email: string;
|
|
496
|
+
};
|
|
498
497
|
source?: string | undefined;
|
|
498
|
+
position?: string | 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
|
+
id: string;
|
|
508
509
|
name: string;
|
|
509
|
-
email: string | null;
|
|
510
|
-
phone: string;
|
|
511
510
|
createdAt: string;
|
|
512
511
|
updatedAt: string;
|
|
513
|
-
|
|
514
|
-
email: string;
|
|
515
|
-
id: string;
|
|
516
|
-
firstName: string;
|
|
517
|
-
lastName: string;
|
|
518
|
-
};
|
|
519
|
-
id: string;
|
|
520
|
-
createdById: string;
|
|
521
|
-
clientId: string;
|
|
512
|
+
email: string | null;
|
|
522
513
|
client: {
|
|
514
|
+
id: string;
|
|
523
515
|
name: string;
|
|
516
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
524
517
|
createdAt: string;
|
|
525
518
|
updatedAt: string;
|
|
526
|
-
id: string;
|
|
527
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
528
519
|
crn: string | null;
|
|
529
520
|
govLink: string;
|
|
530
|
-
director: string;
|
|
531
521
|
soleTrader: boolean;
|
|
522
|
+
director: string;
|
|
532
523
|
blacklistReason?: string | null | undefined;
|
|
533
|
-
agentClientLinks?: {
|
|
534
|
-
agentId: string;
|
|
535
|
-
} | null | undefined;
|
|
536
524
|
lastUpdatedBy?: {
|
|
537
|
-
email: string;
|
|
538
525
|
id: string;
|
|
539
526
|
firstName: string;
|
|
540
527
|
lastName: string;
|
|
528
|
+
email: string;
|
|
529
|
+
} | null | undefined;
|
|
530
|
+
agentClientLinks?: {
|
|
531
|
+
agentId: string;
|
|
541
532
|
} | null | undefined;
|
|
542
533
|
};
|
|
543
|
-
|
|
534
|
+
clientId: string;
|
|
535
|
+
createdById: string;
|
|
536
|
+
phone: string;
|
|
537
|
+
createdBy: {
|
|
538
|
+
id: string;
|
|
539
|
+
firstName: string;
|
|
540
|
+
lastName: string;
|
|
541
|
+
email: string;
|
|
542
|
+
};
|
|
544
543
|
source?: string | undefined;
|
|
544
|
+
position?: string | 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
|
+
id: string;
|
|
553
554
|
name: string;
|
|
554
|
-
email: string | null;
|
|
555
|
-
phone: string;
|
|
556
555
|
createdAt: string | Date;
|
|
557
556
|
updatedAt: string | Date;
|
|
558
|
-
|
|
559
|
-
email: string;
|
|
560
|
-
id: string;
|
|
561
|
-
firstName: string;
|
|
562
|
-
lastName: string;
|
|
563
|
-
};
|
|
564
|
-
id: string;
|
|
565
|
-
createdById: string;
|
|
566
|
-
clientId: string;
|
|
557
|
+
email: string | null;
|
|
567
558
|
client: {
|
|
559
|
+
id: string;
|
|
568
560
|
name: string;
|
|
561
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
569
562
|
createdAt: string | Date;
|
|
570
563
|
updatedAt: string | Date;
|
|
571
|
-
id: string;
|
|
572
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
573
564
|
crn: string | null;
|
|
574
565
|
govLink: string;
|
|
575
|
-
director: string;
|
|
576
566
|
soleTrader: boolean;
|
|
567
|
+
director: string;
|
|
577
568
|
blacklistReason?: string | null | undefined;
|
|
578
|
-
agentClientLinks?: {
|
|
579
|
-
agentId: string;
|
|
580
|
-
} | null | undefined;
|
|
581
569
|
lastUpdatedBy?: {
|
|
582
|
-
email: string;
|
|
583
570
|
id: string;
|
|
584
571
|
firstName: string;
|
|
585
572
|
lastName: string;
|
|
573
|
+
email: string;
|
|
574
|
+
} | null | undefined;
|
|
575
|
+
agentClientLinks?: {
|
|
576
|
+
agentId: string;
|
|
586
577
|
} | null | undefined;
|
|
587
578
|
};
|
|
588
|
-
|
|
579
|
+
clientId: string;
|
|
580
|
+
createdById: string;
|
|
581
|
+
phone: string;
|
|
582
|
+
createdBy: {
|
|
583
|
+
id: string;
|
|
584
|
+
firstName: string;
|
|
585
|
+
lastName: string;
|
|
586
|
+
email: string;
|
|
587
|
+
};
|
|
589
588
|
source?: string | undefined;
|
|
589
|
+
position?: string | undefined;
|
|
590
590
|
}[];
|
|
591
591
|
totalCount: number;
|
|
592
592
|
skip: number;
|
|
@@ -623,22 +623,22 @@ export declare const clientContactsContractRouter: {
|
|
|
623
623
|
source: z.ZodOptional<z.ZodString>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
name: string;
|
|
626
|
-
phone: string;
|
|
627
626
|
client: {
|
|
628
627
|
id: string;
|
|
629
628
|
};
|
|
629
|
+
phone: string;
|
|
630
|
+
source?: string | undefined;
|
|
630
631
|
email?: string | undefined;
|
|
631
632
|
position?: string | undefined;
|
|
632
|
-
source?: string | undefined;
|
|
633
633
|
}, {
|
|
634
634
|
name: string;
|
|
635
|
-
phone: string;
|
|
636
635
|
client: {
|
|
637
636
|
id: string;
|
|
638
637
|
};
|
|
638
|
+
phone: string;
|
|
639
|
+
source?: string | undefined;
|
|
639
640
|
email?: string | undefined;
|
|
640
641
|
position?: string | undefined;
|
|
641
|
-
source?: string | undefined;
|
|
642
642
|
}>;
|
|
643
643
|
path: "/v2/client-contacts";
|
|
644
644
|
responses: {
|
|
@@ -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,44 +780,44 @@ export declare const clientContactsContractRouter: {
|
|
|
780
780
|
agentId: string;
|
|
781
781
|
}>>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
id: string;
|
|
783
784
|
name: string;
|
|
785
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
790
|
-
director: string;
|
|
791
790
|
soleTrader: boolean;
|
|
791
|
+
director: string;
|
|
792
792
|
blacklistReason?: string | null | undefined;
|
|
793
|
-
agentClientLinks?: {
|
|
794
|
-
agentId: string;
|
|
795
|
-
} | null | undefined;
|
|
796
793
|
lastUpdatedBy?: {
|
|
797
|
-
email: string;
|
|
798
794
|
id: string;
|
|
799
795
|
firstName: string;
|
|
800
796
|
lastName: string;
|
|
797
|
+
email: string;
|
|
798
|
+
} | null | undefined;
|
|
799
|
+
agentClientLinks?: {
|
|
800
|
+
agentId: string;
|
|
801
801
|
} | null | undefined;
|
|
802
802
|
}, {
|
|
803
|
+
id: string;
|
|
803
804
|
name: string;
|
|
805
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
810
|
-
director: string;
|
|
811
810
|
soleTrader: boolean;
|
|
811
|
+
director: string;
|
|
812
812
|
blacklistReason?: string | null | undefined;
|
|
813
|
-
agentClientLinks?: {
|
|
814
|
-
agentId: string;
|
|
815
|
-
} | null | undefined;
|
|
816
813
|
lastUpdatedBy?: {
|
|
817
|
-
email: string;
|
|
818
814
|
id: string;
|
|
819
815
|
firstName: string;
|
|
820
816
|
lastName: string;
|
|
817
|
+
email: string;
|
|
818
|
+
} | null | undefined;
|
|
819
|
+
agentClientLinks?: {
|
|
820
|
+
agentId: string;
|
|
821
821
|
} | null | undefined;
|
|
822
822
|
}>;
|
|
823
823
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
848
849
|
name: string;
|
|
849
|
-
email: string | null;
|
|
850
|
-
phone: string;
|
|
851
850
|
createdAt: string;
|
|
852
851
|
updatedAt: string;
|
|
853
|
-
|
|
854
|
-
email: string;
|
|
855
|
-
id: string;
|
|
856
|
-
firstName: string;
|
|
857
|
-
lastName: string;
|
|
858
|
-
};
|
|
859
|
-
id: string;
|
|
860
|
-
createdById: string;
|
|
861
|
-
clientId: string;
|
|
852
|
+
email: string | null;
|
|
862
853
|
client: {
|
|
854
|
+
id: string;
|
|
863
855
|
name: string;
|
|
856
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
864
857
|
createdAt: string;
|
|
865
858
|
updatedAt: string;
|
|
866
|
-
id: string;
|
|
867
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
868
859
|
crn: string | null;
|
|
869
860
|
govLink: string;
|
|
870
|
-
director: string;
|
|
871
861
|
soleTrader: boolean;
|
|
862
|
+
director: string;
|
|
872
863
|
blacklistReason?: string | null | undefined;
|
|
873
|
-
agentClientLinks?: {
|
|
874
|
-
agentId: string;
|
|
875
|
-
} | null | undefined;
|
|
876
864
|
lastUpdatedBy?: {
|
|
877
|
-
email: string;
|
|
878
865
|
id: string;
|
|
879
866
|
firstName: string;
|
|
880
867
|
lastName: string;
|
|
868
|
+
email: string;
|
|
869
|
+
} | null | undefined;
|
|
870
|
+
agentClientLinks?: {
|
|
871
|
+
agentId: string;
|
|
881
872
|
} | null | undefined;
|
|
882
873
|
};
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
}, {
|
|
886
|
-
name: string;
|
|
887
|
-
email: string | null;
|
|
874
|
+
clientId: string;
|
|
875
|
+
createdById: string;
|
|
888
876
|
phone: string;
|
|
889
|
-
createdAt: string | Date;
|
|
890
|
-
updatedAt: string | Date;
|
|
891
877
|
createdBy: {
|
|
892
|
-
email: string;
|
|
893
878
|
id: string;
|
|
894
879
|
firstName: string;
|
|
895
880
|
lastName: string;
|
|
881
|
+
email: string;
|
|
896
882
|
};
|
|
883
|
+
source?: string | undefined;
|
|
884
|
+
position?: string | undefined;
|
|
885
|
+
}, {
|
|
897
886
|
id: string;
|
|
898
|
-
|
|
899
|
-
|
|
887
|
+
name: string;
|
|
888
|
+
createdAt: string | Date;
|
|
889
|
+
updatedAt: string | Date;
|
|
890
|
+
email: string | null;
|
|
900
891
|
client: {
|
|
892
|
+
id: string;
|
|
901
893
|
name: string;
|
|
894
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
902
895
|
createdAt: string | Date;
|
|
903
896
|
updatedAt: string | Date;
|
|
904
|
-
id: string;
|
|
905
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
906
897
|
crn: string | null;
|
|
907
898
|
govLink: string;
|
|
908
|
-
director: string;
|
|
909
899
|
soleTrader: boolean;
|
|
900
|
+
director: string;
|
|
910
901
|
blacklistReason?: string | null | undefined;
|
|
911
|
-
agentClientLinks?: {
|
|
912
|
-
agentId: string;
|
|
913
|
-
} | null | undefined;
|
|
914
902
|
lastUpdatedBy?: {
|
|
915
|
-
email: string;
|
|
916
903
|
id: string;
|
|
917
904
|
firstName: string;
|
|
918
905
|
lastName: string;
|
|
906
|
+
email: string;
|
|
919
907
|
} | null | undefined;
|
|
908
|
+
agentClientLinks?: {
|
|
909
|
+
agentId: string;
|
|
910
|
+
} | null | undefined;
|
|
911
|
+
};
|
|
912
|
+
clientId: string;
|
|
913
|
+
createdById: string;
|
|
914
|
+
phone: string;
|
|
915
|
+
createdBy: {
|
|
916
|
+
id: string;
|
|
917
|
+
firstName: string;
|
|
918
|
+
lastName: string;
|
|
919
|
+
email: string;
|
|
920
920
|
};
|
|
921
|
-
position?: string | undefined;
|
|
922
921
|
source?: string | undefined;
|
|
922
|
+
position?: string | undefined;
|
|
923
923
|
}>;
|
|
924
924
|
409: z.ZodObject<{
|
|
925
925
|
statusCode: z.ZodNumber;
|
|
@@ -977,15 +977,15 @@ export declare const clientContactsContractRouter: {
|
|
|
977
977
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
978
978
|
name: string;
|
|
979
979
|
phone: string;
|
|
980
|
+
source?: string | undefined;
|
|
980
981
|
email?: string | undefined;
|
|
981
982
|
position?: string | undefined;
|
|
982
|
-
source?: string | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
name: string;
|
|
985
985
|
phone: string;
|
|
986
|
+
source?: string | undefined;
|
|
986
987
|
email?: string | undefined;
|
|
987
988
|
position?: string | undefined;
|
|
988
|
-
source?: string | undefined;
|
|
989
989
|
}>;
|
|
990
990
|
path: "/v2/client-contacts/client/:clientId";
|
|
991
991
|
responses: {
|
|
@@ -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,44 +1127,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1127
1127
|
agentId: string;
|
|
1128
1128
|
}>>>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
id: string;
|
|
1130
1131
|
name: string;
|
|
1132
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1137
|
-
director: string;
|
|
1138
1137
|
soleTrader: boolean;
|
|
1138
|
+
director: string;
|
|
1139
1139
|
blacklistReason?: string | null | undefined;
|
|
1140
|
-
agentClientLinks?: {
|
|
1141
|
-
agentId: string;
|
|
1142
|
-
} | null | undefined;
|
|
1143
1140
|
lastUpdatedBy?: {
|
|
1144
|
-
email: string;
|
|
1145
1141
|
id: string;
|
|
1146
1142
|
firstName: string;
|
|
1147
1143
|
lastName: string;
|
|
1144
|
+
email: string;
|
|
1145
|
+
} | null | undefined;
|
|
1146
|
+
agentClientLinks?: {
|
|
1147
|
+
agentId: string;
|
|
1148
1148
|
} | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
|
+
id: string;
|
|
1150
1151
|
name: string;
|
|
1152
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1157
|
-
director: string;
|
|
1158
1157
|
soleTrader: boolean;
|
|
1158
|
+
director: string;
|
|
1159
1159
|
blacklistReason?: string | null | undefined;
|
|
1160
|
-
agentClientLinks?: {
|
|
1161
|
-
agentId: string;
|
|
1162
|
-
} | null | undefined;
|
|
1163
1160
|
lastUpdatedBy?: {
|
|
1164
|
-
email: string;
|
|
1165
1161
|
id: string;
|
|
1166
1162
|
firstName: string;
|
|
1167
1163
|
lastName: string;
|
|
1164
|
+
email: string;
|
|
1165
|
+
} | null | undefined;
|
|
1166
|
+
agentClientLinks?: {
|
|
1167
|
+
agentId: string;
|
|
1168
1168
|
} | null | undefined;
|
|
1169
1169
|
}>;
|
|
1170
1170
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
1195
1196
|
name: string;
|
|
1196
|
-
email: string | null;
|
|
1197
|
-
phone: string;
|
|
1198
1197
|
createdAt: string;
|
|
1199
1198
|
updatedAt: string;
|
|
1200
|
-
|
|
1201
|
-
email: string;
|
|
1202
|
-
id: string;
|
|
1203
|
-
firstName: string;
|
|
1204
|
-
lastName: string;
|
|
1205
|
-
};
|
|
1206
|
-
id: string;
|
|
1207
|
-
createdById: string;
|
|
1208
|
-
clientId: string;
|
|
1199
|
+
email: string | null;
|
|
1209
1200
|
client: {
|
|
1201
|
+
id: string;
|
|
1210
1202
|
name: string;
|
|
1203
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1211
1204
|
createdAt: string;
|
|
1212
1205
|
updatedAt: string;
|
|
1213
|
-
id: string;
|
|
1214
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1215
1206
|
crn: string | null;
|
|
1216
1207
|
govLink: string;
|
|
1217
|
-
director: string;
|
|
1218
1208
|
soleTrader: boolean;
|
|
1209
|
+
director: string;
|
|
1219
1210
|
blacklistReason?: string | null | undefined;
|
|
1220
|
-
agentClientLinks?: {
|
|
1221
|
-
agentId: string;
|
|
1222
|
-
} | null | undefined;
|
|
1223
1211
|
lastUpdatedBy?: {
|
|
1224
|
-
email: string;
|
|
1225
1212
|
id: string;
|
|
1226
1213
|
firstName: string;
|
|
1227
1214
|
lastName: string;
|
|
1215
|
+
email: string;
|
|
1216
|
+
} | null | undefined;
|
|
1217
|
+
agentClientLinks?: {
|
|
1218
|
+
agentId: string;
|
|
1228
1219
|
} | null | undefined;
|
|
1229
1220
|
};
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
}, {
|
|
1233
|
-
name: string;
|
|
1234
|
-
email: string | null;
|
|
1221
|
+
clientId: string;
|
|
1222
|
+
createdById: string;
|
|
1235
1223
|
phone: string;
|
|
1236
|
-
createdAt: string | Date;
|
|
1237
|
-
updatedAt: string | Date;
|
|
1238
1224
|
createdBy: {
|
|
1239
|
-
email: string;
|
|
1240
1225
|
id: string;
|
|
1241
1226
|
firstName: string;
|
|
1242
1227
|
lastName: string;
|
|
1228
|
+
email: string;
|
|
1243
1229
|
};
|
|
1230
|
+
source?: string | undefined;
|
|
1231
|
+
position?: string | undefined;
|
|
1232
|
+
}, {
|
|
1244
1233
|
id: string;
|
|
1245
|
-
|
|
1246
|
-
|
|
1234
|
+
name: string;
|
|
1235
|
+
createdAt: string | Date;
|
|
1236
|
+
updatedAt: string | Date;
|
|
1237
|
+
email: string | null;
|
|
1247
1238
|
client: {
|
|
1239
|
+
id: string;
|
|
1248
1240
|
name: string;
|
|
1241
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1249
1242
|
createdAt: string | Date;
|
|
1250
1243
|
updatedAt: string | Date;
|
|
1251
|
-
id: string;
|
|
1252
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1253
1244
|
crn: string | null;
|
|
1254
1245
|
govLink: string;
|
|
1255
|
-
director: string;
|
|
1256
1246
|
soleTrader: boolean;
|
|
1247
|
+
director: string;
|
|
1257
1248
|
blacklistReason?: string | null | undefined;
|
|
1258
|
-
agentClientLinks?: {
|
|
1259
|
-
agentId: string;
|
|
1260
|
-
} | null | undefined;
|
|
1261
1249
|
lastUpdatedBy?: {
|
|
1262
|
-
email: string;
|
|
1263
1250
|
id: string;
|
|
1264
1251
|
firstName: string;
|
|
1265
1252
|
lastName: string;
|
|
1253
|
+
email: string;
|
|
1254
|
+
} | null | undefined;
|
|
1255
|
+
agentClientLinks?: {
|
|
1256
|
+
agentId: string;
|
|
1266
1257
|
} | null | undefined;
|
|
1267
1258
|
};
|
|
1268
|
-
|
|
1259
|
+
clientId: string;
|
|
1260
|
+
createdById: string;
|
|
1261
|
+
phone: string;
|
|
1262
|
+
createdBy: {
|
|
1263
|
+
id: string;
|
|
1264
|
+
firstName: string;
|
|
1265
|
+
lastName: string;
|
|
1266
|
+
email: string;
|
|
1267
|
+
};
|
|
1269
1268
|
source?: string | undefined;
|
|
1269
|
+
position?: string | undefined;
|
|
1270
1270
|
}>;
|
|
1271
1271
|
409: z.ZodObject<{
|
|
1272
1272
|
statusCode: z.ZodNumber;
|
|
@@ -1313,29 +1313,29 @@ export declare const clientContactsContractRouter: {
|
|
|
1313
1313
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
1314
1314
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
1315
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1316
|
-
sortBy: "name" | "email" | "createdAt" | "updatedAt" | "position";
|
|
1317
|
-
sortOrder: "ASC" | "DESC";
|
|
1318
|
-
page: number;
|
|
1319
1316
|
limit: number;
|
|
1317
|
+
page: number;
|
|
1318
|
+
sortBy: "name" | "createdAt" | "updatedAt" | "email" | "position";
|
|
1319
|
+
sortOrder: "ASC" | "DESC";
|
|
1320
1320
|
name?: string | undefined;
|
|
1321
|
+
source?: string | undefined;
|
|
1321
1322
|
email?: string | undefined;
|
|
1322
|
-
phone?: string | undefined;
|
|
1323
|
-
createdById?: string | undefined;
|
|
1324
1323
|
clientId?: string | undefined;
|
|
1324
|
+
createdById?: string | undefined;
|
|
1325
1325
|
position?: string | undefined;
|
|
1326
|
-
|
|
1326
|
+
phone?: string | undefined;
|
|
1327
1327
|
}, {
|
|
1328
1328
|
name?: string | undefined;
|
|
1329
|
-
email?: string | undefined;
|
|
1330
|
-
phone?: string | undefined;
|
|
1331
|
-
sortBy?: "name" | "email" | "createdAt" | "updatedAt" | "position" | undefined;
|
|
1332
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1333
|
-
page?: number | undefined;
|
|
1334
1329
|
limit?: number | undefined;
|
|
1335
|
-
|
|
1330
|
+
page?: number | undefined;
|
|
1331
|
+
source?: string | undefined;
|
|
1332
|
+
sortBy?: "name" | "createdAt" | "updatedAt" | "email" | "position" | undefined;
|
|
1333
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1334
|
+
email?: string | undefined;
|
|
1336
1335
|
clientId?: string | undefined;
|
|
1336
|
+
createdById?: string | undefined;
|
|
1337
1337
|
position?: string | undefined;
|
|
1338
|
-
|
|
1338
|
+
phone?: string | undefined;
|
|
1339
1339
|
}>;
|
|
1340
1340
|
summary: "Get all client contacts";
|
|
1341
1341
|
method: "GET";
|
|
@@ -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,44 +1480,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1480
1480
|
agentId: string;
|
|
1481
1481
|
}>>>;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
+
id: string;
|
|
1483
1484
|
name: string;
|
|
1485
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1490
|
-
director: string;
|
|
1491
1490
|
soleTrader: boolean;
|
|
1491
|
+
director: string;
|
|
1492
1492
|
blacklistReason?: string | null | undefined;
|
|
1493
|
-
agentClientLinks?: {
|
|
1494
|
-
agentId: string;
|
|
1495
|
-
} | null | undefined;
|
|
1496
1493
|
lastUpdatedBy?: {
|
|
1497
|
-
email: string;
|
|
1498
1494
|
id: string;
|
|
1499
1495
|
firstName: string;
|
|
1500
1496
|
lastName: string;
|
|
1497
|
+
email: string;
|
|
1498
|
+
} | null | undefined;
|
|
1499
|
+
agentClientLinks?: {
|
|
1500
|
+
agentId: string;
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
}, {
|
|
1503
|
+
id: string;
|
|
1503
1504
|
name: string;
|
|
1505
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1510
|
-
director: string;
|
|
1511
1510
|
soleTrader: boolean;
|
|
1511
|
+
director: string;
|
|
1512
1512
|
blacklistReason?: string | null | undefined;
|
|
1513
|
-
agentClientLinks?: {
|
|
1514
|
-
agentId: string;
|
|
1515
|
-
} | null | undefined;
|
|
1516
1513
|
lastUpdatedBy?: {
|
|
1517
|
-
email: string;
|
|
1518
1514
|
id: string;
|
|
1519
1515
|
firstName: string;
|
|
1520
1516
|
lastName: string;
|
|
1517
|
+
email: string;
|
|
1518
|
+
} | null | undefined;
|
|
1519
|
+
agentClientLinks?: {
|
|
1520
|
+
agentId: string;
|
|
1521
1521
|
} | null | undefined;
|
|
1522
1522
|
}>;
|
|
1523
1523
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
1548
1549
|
name: string;
|
|
1549
|
-
email: string | null;
|
|
1550
|
-
phone: string;
|
|
1551
1550
|
createdAt: string;
|
|
1552
1551
|
updatedAt: string;
|
|
1553
|
-
|
|
1554
|
-
email: string;
|
|
1555
|
-
id: string;
|
|
1556
|
-
firstName: string;
|
|
1557
|
-
lastName: string;
|
|
1558
|
-
};
|
|
1559
|
-
id: string;
|
|
1560
|
-
createdById: string;
|
|
1561
|
-
clientId: string;
|
|
1552
|
+
email: string | null;
|
|
1562
1553
|
client: {
|
|
1554
|
+
id: string;
|
|
1563
1555
|
name: string;
|
|
1556
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1564
1557
|
createdAt: string;
|
|
1565
1558
|
updatedAt: string;
|
|
1566
|
-
id: string;
|
|
1567
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1568
1559
|
crn: string | null;
|
|
1569
1560
|
govLink: string;
|
|
1570
|
-
director: string;
|
|
1571
1561
|
soleTrader: boolean;
|
|
1562
|
+
director: string;
|
|
1572
1563
|
blacklistReason?: string | null | undefined;
|
|
1573
|
-
agentClientLinks?: {
|
|
1574
|
-
agentId: string;
|
|
1575
|
-
} | null | undefined;
|
|
1576
1564
|
lastUpdatedBy?: {
|
|
1577
|
-
email: string;
|
|
1578
1565
|
id: string;
|
|
1579
1566
|
firstName: string;
|
|
1580
1567
|
lastName: string;
|
|
1568
|
+
email: string;
|
|
1569
|
+
} | null | undefined;
|
|
1570
|
+
agentClientLinks?: {
|
|
1571
|
+
agentId: string;
|
|
1581
1572
|
} | null | undefined;
|
|
1582
1573
|
};
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
}, {
|
|
1586
|
-
name: string;
|
|
1587
|
-
email: string | null;
|
|
1574
|
+
clientId: string;
|
|
1575
|
+
createdById: string;
|
|
1588
1576
|
phone: string;
|
|
1589
|
-
createdAt: string | Date;
|
|
1590
|
-
updatedAt: string | Date;
|
|
1591
1577
|
createdBy: {
|
|
1592
|
-
email: string;
|
|
1593
1578
|
id: string;
|
|
1594
1579
|
firstName: string;
|
|
1595
1580
|
lastName: string;
|
|
1581
|
+
email: string;
|
|
1596
1582
|
};
|
|
1583
|
+
source?: string | undefined;
|
|
1584
|
+
position?: string | undefined;
|
|
1585
|
+
}, {
|
|
1597
1586
|
id: string;
|
|
1598
|
-
|
|
1599
|
-
|
|
1587
|
+
name: string;
|
|
1588
|
+
createdAt: string | Date;
|
|
1589
|
+
updatedAt: string | Date;
|
|
1590
|
+
email: string | null;
|
|
1600
1591
|
client: {
|
|
1592
|
+
id: string;
|
|
1601
1593
|
name: string;
|
|
1594
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1602
1595
|
createdAt: string | Date;
|
|
1603
1596
|
updatedAt: string | Date;
|
|
1604
|
-
id: string;
|
|
1605
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1606
1597
|
crn: string | null;
|
|
1607
1598
|
govLink: string;
|
|
1608
|
-
director: string;
|
|
1609
1599
|
soleTrader: boolean;
|
|
1600
|
+
director: string;
|
|
1610
1601
|
blacklistReason?: string | null | undefined;
|
|
1611
|
-
agentClientLinks?: {
|
|
1612
|
-
agentId: string;
|
|
1613
|
-
} | null | undefined;
|
|
1614
1602
|
lastUpdatedBy?: {
|
|
1615
|
-
email: string;
|
|
1616
1603
|
id: string;
|
|
1617
1604
|
firstName: string;
|
|
1618
1605
|
lastName: string;
|
|
1606
|
+
email: string;
|
|
1607
|
+
} | null | undefined;
|
|
1608
|
+
agentClientLinks?: {
|
|
1609
|
+
agentId: string;
|
|
1619
1610
|
} | null | undefined;
|
|
1620
1611
|
};
|
|
1621
|
-
|
|
1612
|
+
clientId: string;
|
|
1613
|
+
createdById: string;
|
|
1614
|
+
phone: string;
|
|
1615
|
+
createdBy: {
|
|
1616
|
+
id: string;
|
|
1617
|
+
firstName: string;
|
|
1618
|
+
lastName: string;
|
|
1619
|
+
email: string;
|
|
1620
|
+
};
|
|
1622
1621
|
source?: string | undefined;
|
|
1622
|
+
position?: string | 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
|
+
id: string;
|
|
1632
1633
|
name: string;
|
|
1633
|
-
email: string | null;
|
|
1634
|
-
phone: string;
|
|
1635
1634
|
createdAt: string;
|
|
1636
1635
|
updatedAt: string;
|
|
1637
|
-
|
|
1638
|
-
email: string;
|
|
1639
|
-
id: string;
|
|
1640
|
-
firstName: string;
|
|
1641
|
-
lastName: string;
|
|
1642
|
-
};
|
|
1643
|
-
id: string;
|
|
1644
|
-
createdById: string;
|
|
1645
|
-
clientId: string;
|
|
1636
|
+
email: string | null;
|
|
1646
1637
|
client: {
|
|
1638
|
+
id: string;
|
|
1647
1639
|
name: string;
|
|
1640
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1648
1641
|
createdAt: string;
|
|
1649
1642
|
updatedAt: string;
|
|
1650
|
-
id: string;
|
|
1651
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1652
1643
|
crn: string | null;
|
|
1653
1644
|
govLink: string;
|
|
1654
|
-
director: string;
|
|
1655
1645
|
soleTrader: boolean;
|
|
1646
|
+
director: string;
|
|
1656
1647
|
blacklistReason?: string | null | undefined;
|
|
1657
|
-
agentClientLinks?: {
|
|
1658
|
-
agentId: string;
|
|
1659
|
-
} | null | undefined;
|
|
1660
1648
|
lastUpdatedBy?: {
|
|
1661
|
-
email: string;
|
|
1662
1649
|
id: string;
|
|
1663
1650
|
firstName: string;
|
|
1664
1651
|
lastName: string;
|
|
1652
|
+
email: string;
|
|
1653
|
+
} | null | undefined;
|
|
1654
|
+
agentClientLinks?: {
|
|
1655
|
+
agentId: string;
|
|
1665
1656
|
} | null | undefined;
|
|
1666
1657
|
};
|
|
1667
|
-
|
|
1658
|
+
clientId: string;
|
|
1659
|
+
createdById: string;
|
|
1660
|
+
phone: string;
|
|
1661
|
+
createdBy: {
|
|
1662
|
+
id: string;
|
|
1663
|
+
firstName: string;
|
|
1664
|
+
lastName: string;
|
|
1665
|
+
email: string;
|
|
1666
|
+
};
|
|
1668
1667
|
source?: string | undefined;
|
|
1668
|
+
position?: string | 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
|
+
id: string;
|
|
1677
1678
|
name: string;
|
|
1678
|
-
email: string | null;
|
|
1679
|
-
phone: string;
|
|
1680
1679
|
createdAt: string | Date;
|
|
1681
1680
|
updatedAt: string | Date;
|
|
1682
|
-
|
|
1683
|
-
email: string;
|
|
1684
|
-
id: string;
|
|
1685
|
-
firstName: string;
|
|
1686
|
-
lastName: string;
|
|
1687
|
-
};
|
|
1688
|
-
id: string;
|
|
1689
|
-
createdById: string;
|
|
1690
|
-
clientId: string;
|
|
1681
|
+
email: string | null;
|
|
1691
1682
|
client: {
|
|
1683
|
+
id: string;
|
|
1692
1684
|
name: string;
|
|
1685
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1693
1686
|
createdAt: string | Date;
|
|
1694
1687
|
updatedAt: string | Date;
|
|
1695
|
-
id: string;
|
|
1696
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1697
1688
|
crn: string | null;
|
|
1698
1689
|
govLink: string;
|
|
1699
|
-
director: string;
|
|
1700
1690
|
soleTrader: boolean;
|
|
1691
|
+
director: string;
|
|
1701
1692
|
blacklistReason?: string | null | undefined;
|
|
1702
|
-
agentClientLinks?: {
|
|
1703
|
-
agentId: string;
|
|
1704
|
-
} | null | undefined;
|
|
1705
1693
|
lastUpdatedBy?: {
|
|
1706
|
-
email: string;
|
|
1707
1694
|
id: string;
|
|
1708
1695
|
firstName: string;
|
|
1709
1696
|
lastName: string;
|
|
1697
|
+
email: string;
|
|
1698
|
+
} | null | undefined;
|
|
1699
|
+
agentClientLinks?: {
|
|
1700
|
+
agentId: string;
|
|
1710
1701
|
} | null | undefined;
|
|
1711
1702
|
};
|
|
1712
|
-
|
|
1703
|
+
clientId: string;
|
|
1704
|
+
createdById: string;
|
|
1705
|
+
phone: string;
|
|
1706
|
+
createdBy: {
|
|
1707
|
+
id: string;
|
|
1708
|
+
firstName: string;
|
|
1709
|
+
lastName: string;
|
|
1710
|
+
email: string;
|
|
1711
|
+
};
|
|
1713
1712
|
source?: string | undefined;
|
|
1713
|
+
position?: string | 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,44 +1872,44 @@ export declare const clientContactsContractRouter: {
|
|
|
1872
1872
|
agentId: string;
|
|
1873
1873
|
}>>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
id: string;
|
|
1875
1876
|
name: string;
|
|
1877
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1882
|
-
director: string;
|
|
1883
1882
|
soleTrader: boolean;
|
|
1883
|
+
director: string;
|
|
1884
1884
|
blacklistReason?: string | null | undefined;
|
|
1885
|
-
agentClientLinks?: {
|
|
1886
|
-
agentId: string;
|
|
1887
|
-
} | null | undefined;
|
|
1888
1885
|
lastUpdatedBy?: {
|
|
1889
|
-
email: string;
|
|
1890
1886
|
id: string;
|
|
1891
1887
|
firstName: string;
|
|
1892
1888
|
lastName: string;
|
|
1889
|
+
email: string;
|
|
1890
|
+
} | null | undefined;
|
|
1891
|
+
agentClientLinks?: {
|
|
1892
|
+
agentId: string;
|
|
1893
1893
|
} | null | undefined;
|
|
1894
1894
|
}, {
|
|
1895
|
+
id: string;
|
|
1895
1896
|
name: string;
|
|
1897
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
1902
|
-
director: string;
|
|
1903
1902
|
soleTrader: boolean;
|
|
1903
|
+
director: string;
|
|
1904
1904
|
blacklistReason?: string | null | undefined;
|
|
1905
|
-
agentClientLinks?: {
|
|
1906
|
-
agentId: string;
|
|
1907
|
-
} | null | undefined;
|
|
1908
1905
|
lastUpdatedBy?: {
|
|
1909
|
-
email: string;
|
|
1910
1906
|
id: string;
|
|
1911
1907
|
firstName: string;
|
|
1912
1908
|
lastName: string;
|
|
1909
|
+
email: string;
|
|
1910
|
+
} | null | undefined;
|
|
1911
|
+
agentClientLinks?: {
|
|
1912
|
+
agentId: string;
|
|
1913
1913
|
} | null | undefined;
|
|
1914
1914
|
}>;
|
|
1915
1915
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
1940
1941
|
name: string;
|
|
1941
|
-
email: string | null;
|
|
1942
|
-
phone: string;
|
|
1943
1942
|
createdAt: string;
|
|
1944
1943
|
updatedAt: string;
|
|
1945
|
-
|
|
1946
|
-
email: string;
|
|
1947
|
-
id: string;
|
|
1948
|
-
firstName: string;
|
|
1949
|
-
lastName: string;
|
|
1950
|
-
};
|
|
1951
|
-
id: string;
|
|
1952
|
-
createdById: string;
|
|
1953
|
-
clientId: string;
|
|
1944
|
+
email: string | null;
|
|
1954
1945
|
client: {
|
|
1946
|
+
id: string;
|
|
1955
1947
|
name: string;
|
|
1948
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1956
1949
|
createdAt: string;
|
|
1957
1950
|
updatedAt: string;
|
|
1958
|
-
id: string;
|
|
1959
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1960
1951
|
crn: string | null;
|
|
1961
1952
|
govLink: string;
|
|
1962
|
-
director: string;
|
|
1963
1953
|
soleTrader: boolean;
|
|
1954
|
+
director: string;
|
|
1964
1955
|
blacklistReason?: string | null | undefined;
|
|
1965
|
-
agentClientLinks?: {
|
|
1966
|
-
agentId: string;
|
|
1967
|
-
} | null | undefined;
|
|
1968
1956
|
lastUpdatedBy?: {
|
|
1969
|
-
email: string;
|
|
1970
1957
|
id: string;
|
|
1971
1958
|
firstName: string;
|
|
1972
1959
|
lastName: string;
|
|
1960
|
+
email: string;
|
|
1961
|
+
} | null | undefined;
|
|
1962
|
+
agentClientLinks?: {
|
|
1963
|
+
agentId: string;
|
|
1973
1964
|
} | null | undefined;
|
|
1974
1965
|
};
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
}, {
|
|
1978
|
-
name: string;
|
|
1979
|
-
email: string | null;
|
|
1966
|
+
clientId: string;
|
|
1967
|
+
createdById: string;
|
|
1980
1968
|
phone: string;
|
|
1981
|
-
createdAt: string | Date;
|
|
1982
|
-
updatedAt: string | Date;
|
|
1983
1969
|
createdBy: {
|
|
1984
|
-
email: string;
|
|
1985
1970
|
id: string;
|
|
1986
1971
|
firstName: string;
|
|
1987
1972
|
lastName: string;
|
|
1973
|
+
email: string;
|
|
1988
1974
|
};
|
|
1975
|
+
source?: string | undefined;
|
|
1976
|
+
position?: string | undefined;
|
|
1977
|
+
}, {
|
|
1989
1978
|
id: string;
|
|
1990
|
-
|
|
1991
|
-
|
|
1979
|
+
name: string;
|
|
1980
|
+
createdAt: string | Date;
|
|
1981
|
+
updatedAt: string | Date;
|
|
1982
|
+
email: string | null;
|
|
1992
1983
|
client: {
|
|
1984
|
+
id: string;
|
|
1993
1985
|
name: string;
|
|
1986
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
1994
1987
|
createdAt: string | Date;
|
|
1995
1988
|
updatedAt: string | Date;
|
|
1996
|
-
id: string;
|
|
1997
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1998
1989
|
crn: string | null;
|
|
1999
1990
|
govLink: string;
|
|
2000
|
-
director: string;
|
|
2001
1991
|
soleTrader: boolean;
|
|
1992
|
+
director: string;
|
|
2002
1993
|
blacklistReason?: string | null | undefined;
|
|
2003
|
-
agentClientLinks?: {
|
|
2004
|
-
agentId: string;
|
|
2005
|
-
} | null | undefined;
|
|
2006
1994
|
lastUpdatedBy?: {
|
|
2007
|
-
email: string;
|
|
2008
1995
|
id: string;
|
|
2009
1996
|
firstName: string;
|
|
2010
1997
|
lastName: string;
|
|
1998
|
+
email: string;
|
|
1999
|
+
} | null | undefined;
|
|
2000
|
+
agentClientLinks?: {
|
|
2001
|
+
agentId: string;
|
|
2011
2002
|
} | null | undefined;
|
|
2012
2003
|
};
|
|
2013
|
-
|
|
2004
|
+
clientId: string;
|
|
2005
|
+
createdById: string;
|
|
2006
|
+
phone: string;
|
|
2007
|
+
createdBy: {
|
|
2008
|
+
id: string;
|
|
2009
|
+
firstName: string;
|
|
2010
|
+
lastName: string;
|
|
2011
|
+
email: string;
|
|
2012
|
+
};
|
|
2014
2013
|
source?: string | undefined;
|
|
2014
|
+
position?: string | undefined;
|
|
2015
2015
|
}>;
|
|
2016
2016
|
404: z.ZodObject<{
|
|
2017
2017
|
statusCode: z.ZodNumber;
|
|
@@ -2068,16 +2068,16 @@ export declare const clientContactsContractRouter: {
|
|
|
2068
2068
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2069
2069
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2070
2070
|
name?: string | undefined;
|
|
2071
|
+
source?: string | undefined;
|
|
2071
2072
|
email?: string | undefined;
|
|
2072
|
-
phone?: string | undefined;
|
|
2073
2073
|
position?: string | undefined;
|
|
2074
|
-
|
|
2074
|
+
phone?: string | undefined;
|
|
2075
2075
|
}, {
|
|
2076
2076
|
name?: string | undefined;
|
|
2077
|
+
source?: string | undefined;
|
|
2077
2078
|
email?: string | undefined;
|
|
2078
|
-
phone?: string | undefined;
|
|
2079
2079
|
position?: string | undefined;
|
|
2080
|
-
|
|
2080
|
+
phone?: 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,44 +2219,44 @@ export declare const clientContactsContractRouter: {
|
|
|
2219
2219
|
agentId: string;
|
|
2220
2220
|
}>>>;
|
|
2221
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2222
|
+
id: string;
|
|
2222
2223
|
name: string;
|
|
2224
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
2229
|
-
director: string;
|
|
2230
2229
|
soleTrader: boolean;
|
|
2230
|
+
director: string;
|
|
2231
2231
|
blacklistReason?: string | null | undefined;
|
|
2232
|
-
agentClientLinks?: {
|
|
2233
|
-
agentId: string;
|
|
2234
|
-
} | null | undefined;
|
|
2235
2232
|
lastUpdatedBy?: {
|
|
2236
|
-
email: string;
|
|
2237
2233
|
id: string;
|
|
2238
2234
|
firstName: string;
|
|
2239
2235
|
lastName: string;
|
|
2236
|
+
email: string;
|
|
2237
|
+
} | null | undefined;
|
|
2238
|
+
agentClientLinks?: {
|
|
2239
|
+
agentId: string;
|
|
2240
2240
|
} | null | undefined;
|
|
2241
2241
|
}, {
|
|
2242
|
+
id: string;
|
|
2242
2243
|
name: string;
|
|
2244
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
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;
|
|
2249
|
-
director: string;
|
|
2250
2249
|
soleTrader: boolean;
|
|
2250
|
+
director: string;
|
|
2251
2251
|
blacklistReason?: string | null | undefined;
|
|
2252
|
-
agentClientLinks?: {
|
|
2253
|
-
agentId: string;
|
|
2254
|
-
} | null | undefined;
|
|
2255
2252
|
lastUpdatedBy?: {
|
|
2256
|
-
email: string;
|
|
2257
2253
|
id: string;
|
|
2258
2254
|
firstName: string;
|
|
2259
2255
|
lastName: string;
|
|
2256
|
+
email: string;
|
|
2257
|
+
} | null | undefined;
|
|
2258
|
+
agentClientLinks?: {
|
|
2259
|
+
agentId: string;
|
|
2260
2260
|
} | null | undefined;
|
|
2261
2261
|
}>;
|
|
2262
2262
|
name: z.ZodString;
|
|
@@ -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
|
+
id: string;
|
|
2287
2288
|
name: string;
|
|
2288
|
-
email: string | null;
|
|
2289
|
-
phone: string;
|
|
2290
2289
|
createdAt: string;
|
|
2291
2290
|
updatedAt: string;
|
|
2292
|
-
|
|
2293
|
-
email: string;
|
|
2294
|
-
id: string;
|
|
2295
|
-
firstName: string;
|
|
2296
|
-
lastName: string;
|
|
2297
|
-
};
|
|
2298
|
-
id: string;
|
|
2299
|
-
createdById: string;
|
|
2300
|
-
clientId: string;
|
|
2291
|
+
email: string | null;
|
|
2301
2292
|
client: {
|
|
2293
|
+
id: string;
|
|
2302
2294
|
name: string;
|
|
2295
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2303
2296
|
createdAt: string;
|
|
2304
2297
|
updatedAt: string;
|
|
2305
|
-
id: string;
|
|
2306
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2307
2298
|
crn: string | null;
|
|
2308
2299
|
govLink: string;
|
|
2309
|
-
director: string;
|
|
2310
2300
|
soleTrader: boolean;
|
|
2301
|
+
director: string;
|
|
2311
2302
|
blacklistReason?: string | null | undefined;
|
|
2312
|
-
agentClientLinks?: {
|
|
2313
|
-
agentId: string;
|
|
2314
|
-
} | null | undefined;
|
|
2315
2303
|
lastUpdatedBy?: {
|
|
2316
|
-
email: string;
|
|
2317
2304
|
id: string;
|
|
2318
2305
|
firstName: string;
|
|
2319
2306
|
lastName: string;
|
|
2307
|
+
email: string;
|
|
2308
|
+
} | null | undefined;
|
|
2309
|
+
agentClientLinks?: {
|
|
2310
|
+
agentId: string;
|
|
2320
2311
|
} | null | undefined;
|
|
2321
2312
|
};
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
}, {
|
|
2325
|
-
name: string;
|
|
2326
|
-
email: string | null;
|
|
2313
|
+
clientId: string;
|
|
2314
|
+
createdById: string;
|
|
2327
2315
|
phone: string;
|
|
2328
|
-
createdAt: string | Date;
|
|
2329
|
-
updatedAt: string | Date;
|
|
2330
2316
|
createdBy: {
|
|
2331
|
-
email: string;
|
|
2332
2317
|
id: string;
|
|
2333
2318
|
firstName: string;
|
|
2334
2319
|
lastName: string;
|
|
2320
|
+
email: string;
|
|
2335
2321
|
};
|
|
2322
|
+
source?: string | undefined;
|
|
2323
|
+
position?: string | undefined;
|
|
2324
|
+
}, {
|
|
2336
2325
|
id: string;
|
|
2337
|
-
|
|
2338
|
-
|
|
2326
|
+
name: string;
|
|
2327
|
+
createdAt: string | Date;
|
|
2328
|
+
updatedAt: string | Date;
|
|
2329
|
+
email: string | null;
|
|
2339
2330
|
client: {
|
|
2331
|
+
id: string;
|
|
2340
2332
|
name: string;
|
|
2333
|
+
status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
|
|
2341
2334
|
createdAt: string | Date;
|
|
2342
2335
|
updatedAt: string | Date;
|
|
2343
|
-
id: string;
|
|
2344
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2345
2336
|
crn: string | null;
|
|
2346
2337
|
govLink: string;
|
|
2347
|
-
director: string;
|
|
2348
2338
|
soleTrader: boolean;
|
|
2339
|
+
director: string;
|
|
2349
2340
|
blacklistReason?: string | null | undefined;
|
|
2350
|
-
agentClientLinks?: {
|
|
2351
|
-
agentId: string;
|
|
2352
|
-
} | null | undefined;
|
|
2353
2341
|
lastUpdatedBy?: {
|
|
2354
|
-
email: string;
|
|
2355
2342
|
id: string;
|
|
2356
2343
|
firstName: string;
|
|
2357
2344
|
lastName: string;
|
|
2345
|
+
email: string;
|
|
2346
|
+
} | null | undefined;
|
|
2347
|
+
agentClientLinks?: {
|
|
2348
|
+
agentId: string;
|
|
2358
2349
|
} | null | undefined;
|
|
2359
2350
|
};
|
|
2360
|
-
|
|
2351
|
+
clientId: string;
|
|
2352
|
+
createdById: string;
|
|
2353
|
+
phone: string;
|
|
2354
|
+
createdBy: {
|
|
2355
|
+
id: string;
|
|
2356
|
+
firstName: string;
|
|
2357
|
+
lastName: string;
|
|
2358
|
+
email: string;
|
|
2359
|
+
};
|
|
2361
2360
|
source?: string | undefined;
|
|
2361
|
+
position?: string | undefined;
|
|
2362
2362
|
}>;
|
|
2363
2363
|
404: z.ZodObject<{
|
|
2364
2364
|
statusCode: z.ZodNumber;
|