@dakkitor/api-contracts 1.1.28 → 1.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +24 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -0
- package/dist/abilities/abilities.contract.js +24 -0
- package/dist/abilities/admin.abilities.json +22 -0
- package/dist/abilities/first-agent.abilities.json +573 -0
- package/dist/abilities/second-agent.abilities.json +311 -0
- package/dist/actives/actives.contract.d.ts +1856 -1914
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +419 -419
- package/dist/auth/auth.contract.d.ts +4 -4
- package/dist/bookings/bookings.contract.d.ts +1481 -1534
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +2 -14
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +8 -24
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -319
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.js +2 -2
- package/dist/curated-workers/curated-workers.contract.d.ts +8 -8
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +2 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/jobs/jobs.contract.d.ts +629 -629
- package/dist/jobs/jobs.contract.js +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +6 -6
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +63 -63
- package/dist/leads/leads.contract.d.ts +9 -9
- package/dist/users/users.contract.d.ts +108 -108
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +130 -205
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +2 -8
- 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;
|
|
9
10
|
id: string;
|
|
10
11
|
firstName: string;
|
|
11
12
|
lastName: string;
|
|
12
|
-
email: string;
|
|
13
13
|
}, {
|
|
14
|
+
email: string;
|
|
14
15
|
id: string;
|
|
15
16
|
firstName: string;
|
|
16
17
|
lastName: string;
|
|
17
|
-
email: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const ClientContactSchema: z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
@@ -33,15 +33,15 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
33
33
|
lastName: z.ZodString;
|
|
34
34
|
email: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
email: string;
|
|
36
37
|
id: string;
|
|
37
38
|
firstName: string;
|
|
38
39
|
lastName: string;
|
|
39
|
-
email: string;
|
|
40
40
|
}, {
|
|
41
|
+
email: string;
|
|
41
42
|
id: string;
|
|
42
43
|
firstName: string;
|
|
43
44
|
lastName: string;
|
|
44
|
-
email: string;
|
|
45
45
|
}>>>;
|
|
46
46
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
47
47
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -53,39 +53,39 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
53
53
|
agentId: string;
|
|
54
54
|
}>>>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
|
|
57
|
-
id: string;
|
|
56
|
+
name: string;
|
|
58
57
|
createdAt: string;
|
|
59
58
|
updatedAt: string;
|
|
60
|
-
|
|
59
|
+
id: string;
|
|
60
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
61
61
|
crn: string;
|
|
62
62
|
govLink: string;
|
|
63
63
|
director: string;
|
|
64
64
|
blacklistReason?: string | null | undefined;
|
|
65
65
|
lastUpdatedBy?: {
|
|
66
|
+
email: string;
|
|
66
67
|
id: string;
|
|
67
68
|
firstName: string;
|
|
68
69
|
lastName: string;
|
|
69
|
-
email: string;
|
|
70
70
|
} | null | undefined;
|
|
71
71
|
agentClientLinks?: {
|
|
72
72
|
agentId: string;
|
|
73
73
|
} | null | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
|
|
76
|
-
id: string;
|
|
75
|
+
name: string;
|
|
77
76
|
createdAt: string | Date;
|
|
78
77
|
updatedAt: string | Date;
|
|
79
|
-
|
|
78
|
+
id: string;
|
|
79
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
80
|
crn: string;
|
|
81
81
|
govLink: string;
|
|
82
82
|
director: string;
|
|
83
83
|
blacklistReason?: string | null | undefined;
|
|
84
84
|
lastUpdatedBy?: {
|
|
85
|
+
email: string;
|
|
85
86
|
id: string;
|
|
86
87
|
firstName: string;
|
|
87
88
|
lastName: string;
|
|
88
|
-
email: string;
|
|
89
89
|
} | null | undefined;
|
|
90
90
|
agentClientLinks?: {
|
|
91
91
|
agentId: string;
|
|
@@ -102,90 +102,93 @@ export declare const ClientContactSchema: z.ZodObject<{
|
|
|
102
102
|
lastName: z.ZodString;
|
|
103
103
|
email: z.ZodString;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
email: string;
|
|
105
106
|
id: string;
|
|
106
107
|
firstName: string;
|
|
107
108
|
lastName: string;
|
|
108
|
-
email: string;
|
|
109
109
|
}, {
|
|
110
|
+
email: string;
|
|
110
111
|
id: string;
|
|
111
112
|
firstName: string;
|
|
112
113
|
lastName: string;
|
|
113
|
-
email: string;
|
|
114
114
|
}>;
|
|
115
|
+
createdById: z.ZodString;
|
|
115
116
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
116
117
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
117
118
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
|
|
119
|
+
name: string;
|
|
119
120
|
email: string;
|
|
120
121
|
createdAt: string;
|
|
121
122
|
updatedAt: string;
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
id: string;
|
|
124
|
+
clientId: string;
|
|
124
125
|
client: {
|
|
125
|
-
|
|
126
|
-
id: string;
|
|
126
|
+
name: string;
|
|
127
127
|
createdAt: string;
|
|
128
128
|
updatedAt: string;
|
|
129
|
-
|
|
129
|
+
id: string;
|
|
130
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
130
131
|
crn: string;
|
|
131
132
|
govLink: string;
|
|
132
133
|
director: string;
|
|
133
134
|
blacklistReason?: string | null | undefined;
|
|
134
135
|
lastUpdatedBy?: {
|
|
136
|
+
email: string;
|
|
135
137
|
id: string;
|
|
136
138
|
firstName: string;
|
|
137
139
|
lastName: string;
|
|
138
|
-
email: string;
|
|
139
140
|
} | null | undefined;
|
|
140
141
|
agentClientLinks?: {
|
|
141
142
|
agentId: string;
|
|
142
143
|
} | null | undefined;
|
|
143
144
|
};
|
|
144
|
-
|
|
145
|
+
phone: string;
|
|
145
146
|
createdBy: {
|
|
147
|
+
email: string;
|
|
146
148
|
id: string;
|
|
147
149
|
firstName: string;
|
|
148
150
|
lastName: string;
|
|
149
|
-
email: string;
|
|
150
151
|
};
|
|
151
|
-
|
|
152
|
+
createdById: string;
|
|
152
153
|
position?: string | undefined;
|
|
154
|
+
source?: string | undefined;
|
|
153
155
|
}, {
|
|
154
|
-
|
|
156
|
+
name: string;
|
|
155
157
|
email: string;
|
|
156
158
|
createdAt: string | Date;
|
|
157
159
|
updatedAt: string | Date;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
+
id: string;
|
|
161
|
+
clientId: string;
|
|
160
162
|
client: {
|
|
161
|
-
|
|
162
|
-
id: string;
|
|
163
|
+
name: string;
|
|
163
164
|
createdAt: string | Date;
|
|
164
165
|
updatedAt: string | Date;
|
|
165
|
-
|
|
166
|
+
id: string;
|
|
167
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
166
168
|
crn: string;
|
|
167
169
|
govLink: string;
|
|
168
170
|
director: string;
|
|
169
171
|
blacklistReason?: string | null | undefined;
|
|
170
172
|
lastUpdatedBy?: {
|
|
173
|
+
email: string;
|
|
171
174
|
id: string;
|
|
172
175
|
firstName: string;
|
|
173
176
|
lastName: string;
|
|
174
|
-
email: string;
|
|
175
177
|
} | null | undefined;
|
|
176
178
|
agentClientLinks?: {
|
|
177
179
|
agentId: string;
|
|
178
180
|
} | null | undefined;
|
|
179
181
|
};
|
|
180
|
-
|
|
182
|
+
phone: string;
|
|
181
183
|
createdBy: {
|
|
184
|
+
email: string;
|
|
182
185
|
id: string;
|
|
183
186
|
firstName: string;
|
|
184
187
|
lastName: string;
|
|
185
|
-
email: string;
|
|
186
188
|
};
|
|
187
|
-
|
|
189
|
+
createdById: string;
|
|
188
190
|
position?: string | undefined;
|
|
191
|
+
source?: string | undefined;
|
|
189
192
|
}>;
|
|
190
193
|
export declare const CreateClientContactSchema: z.ZodObject<{
|
|
191
194
|
client: z.ZodObject<{
|
|
@@ -201,23 +204,23 @@ export declare const CreateClientContactSchema: z.ZodObject<{
|
|
|
201
204
|
email: z.ZodString;
|
|
202
205
|
source: z.ZodOptional<z.ZodString>;
|
|
203
206
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
email: string;
|
|
205
207
|
name: string;
|
|
206
|
-
|
|
208
|
+
email: string;
|
|
207
209
|
client: {
|
|
208
210
|
id: string;
|
|
209
211
|
};
|
|
210
|
-
|
|
212
|
+
phone: string;
|
|
211
213
|
position?: string | undefined;
|
|
214
|
+
source?: string | undefined;
|
|
212
215
|
}, {
|
|
213
|
-
email: string;
|
|
214
216
|
name: string;
|
|
215
|
-
|
|
217
|
+
email: string;
|
|
216
218
|
client: {
|
|
217
219
|
id: string;
|
|
218
220
|
};
|
|
219
|
-
|
|
221
|
+
phone: string;
|
|
220
222
|
position?: string | undefined;
|
|
223
|
+
source?: string | undefined;
|
|
221
224
|
}>;
|
|
222
225
|
export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
223
226
|
client: z.ZodObject<{
|
|
@@ -233,17 +236,17 @@ export declare const CreateClientContactBodySchema: z.ZodObject<Omit<{
|
|
|
233
236
|
email: z.ZodString;
|
|
234
237
|
source: z.ZodOptional<z.ZodString>;
|
|
235
238
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
236
|
-
email: string;
|
|
237
239
|
name: string;
|
|
240
|
+
email: string;
|
|
238
241
|
phone: string;
|
|
239
|
-
source?: string | undefined;
|
|
240
242
|
position?: string | undefined;
|
|
243
|
+
source?: string | undefined;
|
|
241
244
|
}, {
|
|
242
|
-
email: string;
|
|
243
245
|
name: string;
|
|
246
|
+
email: string;
|
|
244
247
|
phone: string;
|
|
245
|
-
source?: string | undefined;
|
|
246
248
|
position?: string | undefined;
|
|
249
|
+
source?: string | undefined;
|
|
247
250
|
}>;
|
|
248
251
|
export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
249
252
|
client: z.ZodOptional<z.ZodObject<{
|
|
@@ -259,49 +262,55 @@ export declare const UpdateClientContactSchema: z.ZodObject<Omit<{
|
|
|
259
262
|
email: z.ZodOptional<z.ZodString>;
|
|
260
263
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
261
264
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
262
|
-
email?: string | undefined;
|
|
263
265
|
name?: string | undefined;
|
|
264
|
-
source?: string | undefined;
|
|
265
|
-
phone?: string | undefined;
|
|
266
266
|
position?: string | undefined;
|
|
267
|
-
}, {
|
|
268
267
|
email?: string | undefined;
|
|
269
|
-
name?: string | undefined;
|
|
270
|
-
source?: string | undefined;
|
|
271
268
|
phone?: string | undefined;
|
|
269
|
+
source?: string | undefined;
|
|
270
|
+
}, {
|
|
271
|
+
name?: string | undefined;
|
|
272
272
|
position?: string | undefined;
|
|
273
|
+
email?: string | undefined;
|
|
274
|
+
phone?: string | undefined;
|
|
275
|
+
source?: string | undefined;
|
|
273
276
|
}>;
|
|
274
277
|
export declare const FilterClientContactSchema: z.ZodObject<{
|
|
275
278
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
276
279
|
page: z.ZodDefault<z.ZodNumber>;
|
|
277
280
|
} & {
|
|
281
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
278
282
|
name: z.ZodOptional<z.ZodString>;
|
|
279
283
|
email: z.ZodOptional<z.ZodString>;
|
|
280
284
|
phone: z.ZodOptional<z.ZodString>;
|
|
281
|
-
|
|
285
|
+
position: z.ZodOptional<z.ZodString>;
|
|
286
|
+
source: z.ZodOptional<z.ZodString>;
|
|
282
287
|
createdById: z.ZodOptional<z.ZodString>;
|
|
283
288
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
284
289
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
285
290
|
}, "strip", z.ZodTypeAny, {
|
|
286
291
|
limit: number;
|
|
287
292
|
page: number;
|
|
288
|
-
sortBy: "
|
|
293
|
+
sortBy: "name" | "position" | "email" | "createdAt" | "updatedAt";
|
|
289
294
|
sortOrder: "ASC" | "DESC";
|
|
290
|
-
email?: string | undefined;
|
|
291
295
|
name?: string | undefined;
|
|
292
|
-
|
|
296
|
+
position?: string | undefined;
|
|
297
|
+
email?: string | undefined;
|
|
293
298
|
clientId?: string | undefined;
|
|
299
|
+
phone?: string | undefined;
|
|
300
|
+
source?: string | undefined;
|
|
294
301
|
createdById?: string | undefined;
|
|
295
302
|
}, {
|
|
303
|
+
name?: string | undefined;
|
|
304
|
+
position?: string | undefined;
|
|
296
305
|
email?: string | undefined;
|
|
306
|
+
clientId?: string | undefined;
|
|
307
|
+
phone?: string | undefined;
|
|
308
|
+
source?: string | undefined;
|
|
309
|
+
createdById?: string | undefined;
|
|
297
310
|
limit?: number | undefined;
|
|
298
311
|
page?: number | undefined;
|
|
299
|
-
|
|
300
|
-
sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
|
|
312
|
+
sortBy?: "name" | "position" | "email" | "createdAt" | "updatedAt" | undefined;
|
|
301
313
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
302
|
-
phone?: string | undefined;
|
|
303
|
-
clientId?: string | undefined;
|
|
304
|
-
createdById?: string | undefined;
|
|
305
314
|
}>;
|
|
306
315
|
export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
307
316
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -321,15 +330,15 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
321
330
|
lastName: z.ZodString;
|
|
322
331
|
email: z.ZodString;
|
|
323
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
email: string;
|
|
324
334
|
id: string;
|
|
325
335
|
firstName: string;
|
|
326
336
|
lastName: string;
|
|
327
|
-
email: string;
|
|
328
337
|
}, {
|
|
338
|
+
email: string;
|
|
329
339
|
id: string;
|
|
330
340
|
firstName: string;
|
|
331
341
|
lastName: string;
|
|
332
|
-
email: string;
|
|
333
342
|
}>>>;
|
|
334
343
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
335
344
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -341,39 +350,39 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
341
350
|
agentId: string;
|
|
342
351
|
}>>>;
|
|
343
352
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
|
|
345
|
-
id: string;
|
|
353
|
+
name: string;
|
|
346
354
|
createdAt: string;
|
|
347
355
|
updatedAt: string;
|
|
348
|
-
|
|
356
|
+
id: string;
|
|
357
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
349
358
|
crn: string;
|
|
350
359
|
govLink: string;
|
|
351
360
|
director: string;
|
|
352
361
|
blacklistReason?: string | null | undefined;
|
|
353
362
|
lastUpdatedBy?: {
|
|
363
|
+
email: string;
|
|
354
364
|
id: string;
|
|
355
365
|
firstName: string;
|
|
356
366
|
lastName: string;
|
|
357
|
-
email: string;
|
|
358
367
|
} | null | undefined;
|
|
359
368
|
agentClientLinks?: {
|
|
360
369
|
agentId: string;
|
|
361
370
|
} | null | undefined;
|
|
362
371
|
}, {
|
|
363
|
-
|
|
364
|
-
id: string;
|
|
372
|
+
name: string;
|
|
365
373
|
createdAt: string | Date;
|
|
366
374
|
updatedAt: string | Date;
|
|
367
|
-
|
|
375
|
+
id: string;
|
|
376
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
368
377
|
crn: string;
|
|
369
378
|
govLink: string;
|
|
370
379
|
director: string;
|
|
371
380
|
blacklistReason?: string | null | undefined;
|
|
372
381
|
lastUpdatedBy?: {
|
|
382
|
+
email: string;
|
|
373
383
|
id: string;
|
|
374
384
|
firstName: string;
|
|
375
385
|
lastName: string;
|
|
376
|
-
email: string;
|
|
377
386
|
} | null | undefined;
|
|
378
387
|
agentClientLinks?: {
|
|
379
388
|
agentId: string;
|
|
@@ -390,90 +399,93 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
390
399
|
lastName: z.ZodString;
|
|
391
400
|
email: z.ZodString;
|
|
392
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
email: string;
|
|
393
403
|
id: string;
|
|
394
404
|
firstName: string;
|
|
395
405
|
lastName: string;
|
|
396
|
-
email: string;
|
|
397
406
|
}, {
|
|
407
|
+
email: string;
|
|
398
408
|
id: string;
|
|
399
409
|
firstName: string;
|
|
400
410
|
lastName: string;
|
|
401
|
-
email: string;
|
|
402
411
|
}>;
|
|
412
|
+
createdById: z.ZodString;
|
|
403
413
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
404
414
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
405
415
|
}, "strip", z.ZodTypeAny, {
|
|
406
|
-
|
|
416
|
+
name: string;
|
|
407
417
|
email: string;
|
|
408
418
|
createdAt: string;
|
|
409
419
|
updatedAt: string;
|
|
410
|
-
|
|
411
|
-
|
|
420
|
+
id: string;
|
|
421
|
+
clientId: string;
|
|
412
422
|
client: {
|
|
413
|
-
|
|
414
|
-
id: string;
|
|
423
|
+
name: string;
|
|
415
424
|
createdAt: string;
|
|
416
425
|
updatedAt: string;
|
|
417
|
-
|
|
426
|
+
id: string;
|
|
427
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
418
428
|
crn: string;
|
|
419
429
|
govLink: string;
|
|
420
430
|
director: string;
|
|
421
431
|
blacklistReason?: string | null | undefined;
|
|
422
432
|
lastUpdatedBy?: {
|
|
433
|
+
email: string;
|
|
423
434
|
id: string;
|
|
424
435
|
firstName: string;
|
|
425
436
|
lastName: string;
|
|
426
|
-
email: string;
|
|
427
437
|
} | null | undefined;
|
|
428
438
|
agentClientLinks?: {
|
|
429
439
|
agentId: string;
|
|
430
440
|
} | null | undefined;
|
|
431
441
|
};
|
|
432
|
-
|
|
442
|
+
phone: string;
|
|
433
443
|
createdBy: {
|
|
444
|
+
email: string;
|
|
434
445
|
id: string;
|
|
435
446
|
firstName: string;
|
|
436
447
|
lastName: string;
|
|
437
|
-
email: string;
|
|
438
448
|
};
|
|
439
|
-
|
|
449
|
+
createdById: string;
|
|
440
450
|
position?: string | undefined;
|
|
451
|
+
source?: string | undefined;
|
|
441
452
|
}, {
|
|
442
|
-
|
|
453
|
+
name: string;
|
|
443
454
|
email: string;
|
|
444
455
|
createdAt: string | Date;
|
|
445
456
|
updatedAt: string | Date;
|
|
446
|
-
|
|
447
|
-
|
|
457
|
+
id: string;
|
|
458
|
+
clientId: string;
|
|
448
459
|
client: {
|
|
449
|
-
|
|
450
|
-
id: string;
|
|
460
|
+
name: string;
|
|
451
461
|
createdAt: string | Date;
|
|
452
462
|
updatedAt: string | Date;
|
|
453
|
-
|
|
463
|
+
id: string;
|
|
464
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
454
465
|
crn: string;
|
|
455
466
|
govLink: string;
|
|
456
467
|
director: string;
|
|
457
468
|
blacklistReason?: string | null | undefined;
|
|
458
469
|
lastUpdatedBy?: {
|
|
470
|
+
email: string;
|
|
459
471
|
id: string;
|
|
460
472
|
firstName: string;
|
|
461
473
|
lastName: string;
|
|
462
|
-
email: string;
|
|
463
474
|
} | null | undefined;
|
|
464
475
|
agentClientLinks?: {
|
|
465
476
|
agentId: string;
|
|
466
477
|
} | null | undefined;
|
|
467
478
|
};
|
|
468
|
-
|
|
479
|
+
phone: string;
|
|
469
480
|
createdBy: {
|
|
481
|
+
email: string;
|
|
470
482
|
id: string;
|
|
471
483
|
firstName: string;
|
|
472
484
|
lastName: string;
|
|
473
|
-
email: string;
|
|
474
485
|
};
|
|
475
|
-
|
|
486
|
+
createdById: string;
|
|
476
487
|
position?: string | undefined;
|
|
488
|
+
source?: string | undefined;
|
|
477
489
|
}>, "many">;
|
|
478
490
|
totalCount: z.ZodNumber;
|
|
479
491
|
limit: z.ZodNumber;
|
|
@@ -483,41 +495,42 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
483
495
|
}, "strip", z.ZodTypeAny, {
|
|
484
496
|
limit: number;
|
|
485
497
|
items: {
|
|
486
|
-
|
|
498
|
+
name: string;
|
|
487
499
|
email: string;
|
|
488
500
|
createdAt: string;
|
|
489
501
|
updatedAt: string;
|
|
490
|
-
|
|
491
|
-
|
|
502
|
+
id: string;
|
|
503
|
+
clientId: string;
|
|
492
504
|
client: {
|
|
493
|
-
|
|
494
|
-
id: string;
|
|
505
|
+
name: string;
|
|
495
506
|
createdAt: string;
|
|
496
507
|
updatedAt: string;
|
|
497
|
-
|
|
508
|
+
id: string;
|
|
509
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
498
510
|
crn: string;
|
|
499
511
|
govLink: string;
|
|
500
512
|
director: string;
|
|
501
513
|
blacklistReason?: string | null | undefined;
|
|
502
514
|
lastUpdatedBy?: {
|
|
515
|
+
email: string;
|
|
503
516
|
id: string;
|
|
504
517
|
firstName: string;
|
|
505
518
|
lastName: string;
|
|
506
|
-
email: string;
|
|
507
519
|
} | null | undefined;
|
|
508
520
|
agentClientLinks?: {
|
|
509
521
|
agentId: string;
|
|
510
522
|
} | null | undefined;
|
|
511
523
|
};
|
|
512
|
-
|
|
524
|
+
phone: string;
|
|
513
525
|
createdBy: {
|
|
526
|
+
email: string;
|
|
514
527
|
id: string;
|
|
515
528
|
firstName: string;
|
|
516
529
|
lastName: string;
|
|
517
|
-
email: string;
|
|
518
530
|
};
|
|
519
|
-
|
|
531
|
+
createdById: string;
|
|
520
532
|
position?: string | undefined;
|
|
533
|
+
source?: string | undefined;
|
|
521
534
|
}[];
|
|
522
535
|
totalCount: number;
|
|
523
536
|
skip: number;
|
|
@@ -526,41 +539,42 @@ export declare const ClientContactPaginatedResponseSchema: z.ZodObject<{
|
|
|
526
539
|
}, {
|
|
527
540
|
limit: number;
|
|
528
541
|
items: {
|
|
529
|
-
|
|
542
|
+
name: string;
|
|
530
543
|
email: string;
|
|
531
544
|
createdAt: string | Date;
|
|
532
545
|
updatedAt: string | Date;
|
|
533
|
-
|
|
534
|
-
|
|
546
|
+
id: string;
|
|
547
|
+
clientId: string;
|
|
535
548
|
client: {
|
|
536
|
-
|
|
537
|
-
id: string;
|
|
549
|
+
name: string;
|
|
538
550
|
createdAt: string | Date;
|
|
539
551
|
updatedAt: string | Date;
|
|
540
|
-
|
|
552
|
+
id: string;
|
|
553
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
541
554
|
crn: string;
|
|
542
555
|
govLink: string;
|
|
543
556
|
director: string;
|
|
544
557
|
blacklistReason?: string | null | undefined;
|
|
545
558
|
lastUpdatedBy?: {
|
|
559
|
+
email: string;
|
|
546
560
|
id: string;
|
|
547
561
|
firstName: string;
|
|
548
562
|
lastName: string;
|
|
549
|
-
email: string;
|
|
550
563
|
} | null | undefined;
|
|
551
564
|
agentClientLinks?: {
|
|
552
565
|
agentId: string;
|
|
553
566
|
} | null | undefined;
|
|
554
567
|
};
|
|
555
|
-
|
|
568
|
+
phone: string;
|
|
556
569
|
createdBy: {
|
|
570
|
+
email: string;
|
|
557
571
|
id: string;
|
|
558
572
|
firstName: string;
|
|
559
573
|
lastName: string;
|
|
560
|
-
email: string;
|
|
561
574
|
};
|
|
562
|
-
|
|
575
|
+
createdById: string;
|
|
563
576
|
position?: string | undefined;
|
|
577
|
+
source?: string | undefined;
|
|
564
578
|
}[];
|
|
565
579
|
totalCount: number;
|
|
566
580
|
skip: number;
|
|
@@ -596,23 +610,23 @@ export declare const clientContactsContractRouter: {
|
|
|
596
610
|
email: z.ZodString;
|
|
597
611
|
source: z.ZodOptional<z.ZodString>;
|
|
598
612
|
}, "strip", z.ZodTypeAny, {
|
|
599
|
-
email: string;
|
|
600
613
|
name: string;
|
|
601
|
-
|
|
614
|
+
email: string;
|
|
602
615
|
client: {
|
|
603
616
|
id: string;
|
|
604
617
|
};
|
|
605
|
-
|
|
618
|
+
phone: string;
|
|
606
619
|
position?: string | undefined;
|
|
620
|
+
source?: string | undefined;
|
|
607
621
|
}, {
|
|
608
|
-
email: string;
|
|
609
622
|
name: string;
|
|
610
|
-
|
|
623
|
+
email: string;
|
|
611
624
|
client: {
|
|
612
625
|
id: string;
|
|
613
626
|
};
|
|
614
|
-
|
|
627
|
+
phone: string;
|
|
615
628
|
position?: string | undefined;
|
|
629
|
+
source?: string | undefined;
|
|
616
630
|
}>;
|
|
617
631
|
path: "/v2/client-contacts";
|
|
618
632
|
responses: {
|
|
@@ -733,15 +747,15 @@ export declare const clientContactsContractRouter: {
|
|
|
733
747
|
lastName: z.ZodString;
|
|
734
748
|
email: z.ZodString;
|
|
735
749
|
}, "strip", z.ZodTypeAny, {
|
|
750
|
+
email: string;
|
|
736
751
|
id: string;
|
|
737
752
|
firstName: string;
|
|
738
753
|
lastName: string;
|
|
739
|
-
email: string;
|
|
740
754
|
}, {
|
|
755
|
+
email: string;
|
|
741
756
|
id: string;
|
|
742
757
|
firstName: string;
|
|
743
758
|
lastName: string;
|
|
744
|
-
email: string;
|
|
745
759
|
}>>>;
|
|
746
760
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
747
761
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -753,39 +767,39 @@ export declare const clientContactsContractRouter: {
|
|
|
753
767
|
agentId: string;
|
|
754
768
|
}>>>;
|
|
755
769
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
|
|
757
|
-
id: string;
|
|
770
|
+
name: string;
|
|
758
771
|
createdAt: string;
|
|
759
772
|
updatedAt: string;
|
|
760
|
-
|
|
773
|
+
id: string;
|
|
774
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
761
775
|
crn: string;
|
|
762
776
|
govLink: string;
|
|
763
777
|
director: string;
|
|
764
778
|
blacklistReason?: string | null | undefined;
|
|
765
779
|
lastUpdatedBy?: {
|
|
780
|
+
email: string;
|
|
766
781
|
id: string;
|
|
767
782
|
firstName: string;
|
|
768
783
|
lastName: string;
|
|
769
|
-
email: string;
|
|
770
784
|
} | null | undefined;
|
|
771
785
|
agentClientLinks?: {
|
|
772
786
|
agentId: string;
|
|
773
787
|
} | null | undefined;
|
|
774
788
|
}, {
|
|
775
|
-
|
|
776
|
-
id: string;
|
|
789
|
+
name: string;
|
|
777
790
|
createdAt: string | Date;
|
|
778
791
|
updatedAt: string | Date;
|
|
779
|
-
|
|
792
|
+
id: string;
|
|
793
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
780
794
|
crn: string;
|
|
781
795
|
govLink: string;
|
|
782
796
|
director: string;
|
|
783
797
|
blacklistReason?: string | null | undefined;
|
|
784
798
|
lastUpdatedBy?: {
|
|
799
|
+
email: string;
|
|
785
800
|
id: string;
|
|
786
801
|
firstName: string;
|
|
787
802
|
lastName: string;
|
|
788
|
-
email: string;
|
|
789
803
|
} | null | undefined;
|
|
790
804
|
agentClientLinks?: {
|
|
791
805
|
agentId: string;
|
|
@@ -802,90 +816,93 @@ export declare const clientContactsContractRouter: {
|
|
|
802
816
|
lastName: z.ZodString;
|
|
803
817
|
email: z.ZodString;
|
|
804
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
email: string;
|
|
805
820
|
id: string;
|
|
806
821
|
firstName: string;
|
|
807
822
|
lastName: string;
|
|
808
|
-
email: string;
|
|
809
823
|
}, {
|
|
824
|
+
email: string;
|
|
810
825
|
id: string;
|
|
811
826
|
firstName: string;
|
|
812
827
|
lastName: string;
|
|
813
|
-
email: string;
|
|
814
828
|
}>;
|
|
829
|
+
createdById: z.ZodString;
|
|
815
830
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
816
831
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
817
832
|
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
|
|
833
|
+
name: string;
|
|
819
834
|
email: string;
|
|
820
835
|
createdAt: string;
|
|
821
836
|
updatedAt: string;
|
|
822
|
-
|
|
823
|
-
|
|
837
|
+
id: string;
|
|
838
|
+
clientId: string;
|
|
824
839
|
client: {
|
|
825
|
-
|
|
826
|
-
id: string;
|
|
840
|
+
name: string;
|
|
827
841
|
createdAt: string;
|
|
828
842
|
updatedAt: string;
|
|
829
|
-
|
|
843
|
+
id: string;
|
|
844
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
830
845
|
crn: string;
|
|
831
846
|
govLink: string;
|
|
832
847
|
director: string;
|
|
833
848
|
blacklistReason?: string | null | undefined;
|
|
834
849
|
lastUpdatedBy?: {
|
|
850
|
+
email: string;
|
|
835
851
|
id: string;
|
|
836
852
|
firstName: string;
|
|
837
853
|
lastName: string;
|
|
838
|
-
email: string;
|
|
839
854
|
} | null | undefined;
|
|
840
855
|
agentClientLinks?: {
|
|
841
856
|
agentId: string;
|
|
842
857
|
} | null | undefined;
|
|
843
858
|
};
|
|
844
|
-
|
|
859
|
+
phone: string;
|
|
845
860
|
createdBy: {
|
|
861
|
+
email: string;
|
|
846
862
|
id: string;
|
|
847
863
|
firstName: string;
|
|
848
864
|
lastName: string;
|
|
849
|
-
email: string;
|
|
850
865
|
};
|
|
851
|
-
|
|
866
|
+
createdById: string;
|
|
852
867
|
position?: string | undefined;
|
|
868
|
+
source?: string | undefined;
|
|
853
869
|
}, {
|
|
854
|
-
|
|
870
|
+
name: string;
|
|
855
871
|
email: string;
|
|
856
872
|
createdAt: string | Date;
|
|
857
873
|
updatedAt: string | Date;
|
|
858
|
-
|
|
859
|
-
|
|
874
|
+
id: string;
|
|
875
|
+
clientId: string;
|
|
860
876
|
client: {
|
|
861
|
-
|
|
862
|
-
id: string;
|
|
877
|
+
name: string;
|
|
863
878
|
createdAt: string | Date;
|
|
864
879
|
updatedAt: string | Date;
|
|
865
|
-
|
|
880
|
+
id: string;
|
|
881
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
866
882
|
crn: string;
|
|
867
883
|
govLink: string;
|
|
868
884
|
director: string;
|
|
869
885
|
blacklistReason?: string | null | undefined;
|
|
870
886
|
lastUpdatedBy?: {
|
|
887
|
+
email: string;
|
|
871
888
|
id: string;
|
|
872
889
|
firstName: string;
|
|
873
890
|
lastName: string;
|
|
874
|
-
email: string;
|
|
875
891
|
} | null | undefined;
|
|
876
892
|
agentClientLinks?: {
|
|
877
893
|
agentId: string;
|
|
878
894
|
} | null | undefined;
|
|
879
895
|
};
|
|
880
|
-
|
|
896
|
+
phone: string;
|
|
881
897
|
createdBy: {
|
|
898
|
+
email: string;
|
|
882
899
|
id: string;
|
|
883
900
|
firstName: string;
|
|
884
901
|
lastName: string;
|
|
885
|
-
email: string;
|
|
886
902
|
};
|
|
887
|
-
|
|
903
|
+
createdById: string;
|
|
888
904
|
position?: string | undefined;
|
|
905
|
+
source?: string | undefined;
|
|
889
906
|
}>;
|
|
890
907
|
409: z.ZodObject<{
|
|
891
908
|
statusCode: z.ZodNumber;
|
|
@@ -941,17 +958,17 @@ export declare const clientContactsContractRouter: {
|
|
|
941
958
|
email: z.ZodString;
|
|
942
959
|
source: z.ZodOptional<z.ZodString>;
|
|
943
960
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
944
|
-
email: string;
|
|
945
961
|
name: string;
|
|
962
|
+
email: string;
|
|
946
963
|
phone: string;
|
|
947
|
-
source?: string | undefined;
|
|
948
964
|
position?: string | undefined;
|
|
965
|
+
source?: string | undefined;
|
|
949
966
|
}, {
|
|
950
|
-
email: string;
|
|
951
967
|
name: string;
|
|
968
|
+
email: string;
|
|
952
969
|
phone: string;
|
|
953
|
-
source?: string | undefined;
|
|
954
970
|
position?: string | undefined;
|
|
971
|
+
source?: string | undefined;
|
|
955
972
|
}>;
|
|
956
973
|
path: "/v2/client-contacts/client/:clientId";
|
|
957
974
|
responses: {
|
|
@@ -1072,15 +1089,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1072
1089
|
lastName: z.ZodString;
|
|
1073
1090
|
email: z.ZodString;
|
|
1074
1091
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
+
email: string;
|
|
1075
1093
|
id: string;
|
|
1076
1094
|
firstName: string;
|
|
1077
1095
|
lastName: string;
|
|
1078
|
-
email: string;
|
|
1079
1096
|
}, {
|
|
1097
|
+
email: string;
|
|
1080
1098
|
id: string;
|
|
1081
1099
|
firstName: string;
|
|
1082
1100
|
lastName: string;
|
|
1083
|
-
email: string;
|
|
1084
1101
|
}>>>;
|
|
1085
1102
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1086
1103
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1092,39 +1109,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1092
1109
|
agentId: string;
|
|
1093
1110
|
}>>>;
|
|
1094
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1095
|
-
|
|
1096
|
-
id: string;
|
|
1112
|
+
name: string;
|
|
1097
1113
|
createdAt: string;
|
|
1098
1114
|
updatedAt: string;
|
|
1099
|
-
|
|
1115
|
+
id: string;
|
|
1116
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1100
1117
|
crn: string;
|
|
1101
1118
|
govLink: string;
|
|
1102
1119
|
director: string;
|
|
1103
1120
|
blacklistReason?: string | null | undefined;
|
|
1104
1121
|
lastUpdatedBy?: {
|
|
1122
|
+
email: string;
|
|
1105
1123
|
id: string;
|
|
1106
1124
|
firstName: string;
|
|
1107
1125
|
lastName: string;
|
|
1108
|
-
email: string;
|
|
1109
1126
|
} | null | undefined;
|
|
1110
1127
|
agentClientLinks?: {
|
|
1111
1128
|
agentId: string;
|
|
1112
1129
|
} | null | undefined;
|
|
1113
1130
|
}, {
|
|
1114
|
-
|
|
1115
|
-
id: string;
|
|
1131
|
+
name: string;
|
|
1116
1132
|
createdAt: string | Date;
|
|
1117
1133
|
updatedAt: string | Date;
|
|
1118
|
-
|
|
1134
|
+
id: string;
|
|
1135
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1119
1136
|
crn: string;
|
|
1120
1137
|
govLink: string;
|
|
1121
1138
|
director: string;
|
|
1122
1139
|
blacklistReason?: string | null | undefined;
|
|
1123
1140
|
lastUpdatedBy?: {
|
|
1141
|
+
email: string;
|
|
1124
1142
|
id: string;
|
|
1125
1143
|
firstName: string;
|
|
1126
1144
|
lastName: string;
|
|
1127
|
-
email: string;
|
|
1128
1145
|
} | null | undefined;
|
|
1129
1146
|
agentClientLinks?: {
|
|
1130
1147
|
agentId: string;
|
|
@@ -1141,90 +1158,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1141
1158
|
lastName: z.ZodString;
|
|
1142
1159
|
email: z.ZodString;
|
|
1143
1160
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
+
email: string;
|
|
1144
1162
|
id: string;
|
|
1145
1163
|
firstName: string;
|
|
1146
1164
|
lastName: string;
|
|
1147
|
-
email: string;
|
|
1148
1165
|
}, {
|
|
1166
|
+
email: string;
|
|
1149
1167
|
id: string;
|
|
1150
1168
|
firstName: string;
|
|
1151
1169
|
lastName: string;
|
|
1152
|
-
email: string;
|
|
1153
1170
|
}>;
|
|
1171
|
+
createdById: z.ZodString;
|
|
1154
1172
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1155
1173
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1156
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1157
|
-
|
|
1175
|
+
name: string;
|
|
1158
1176
|
email: string;
|
|
1159
1177
|
createdAt: string;
|
|
1160
1178
|
updatedAt: string;
|
|
1161
|
-
|
|
1162
|
-
|
|
1179
|
+
id: string;
|
|
1180
|
+
clientId: string;
|
|
1163
1181
|
client: {
|
|
1164
|
-
|
|
1165
|
-
id: string;
|
|
1182
|
+
name: string;
|
|
1166
1183
|
createdAt: string;
|
|
1167
1184
|
updatedAt: string;
|
|
1168
|
-
|
|
1185
|
+
id: string;
|
|
1186
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1169
1187
|
crn: string;
|
|
1170
1188
|
govLink: string;
|
|
1171
1189
|
director: string;
|
|
1172
1190
|
blacklistReason?: string | null | undefined;
|
|
1173
1191
|
lastUpdatedBy?: {
|
|
1192
|
+
email: string;
|
|
1174
1193
|
id: string;
|
|
1175
1194
|
firstName: string;
|
|
1176
1195
|
lastName: string;
|
|
1177
|
-
email: string;
|
|
1178
1196
|
} | null | undefined;
|
|
1179
1197
|
agentClientLinks?: {
|
|
1180
1198
|
agentId: string;
|
|
1181
1199
|
} | null | undefined;
|
|
1182
1200
|
};
|
|
1183
|
-
|
|
1201
|
+
phone: string;
|
|
1184
1202
|
createdBy: {
|
|
1203
|
+
email: string;
|
|
1185
1204
|
id: string;
|
|
1186
1205
|
firstName: string;
|
|
1187
1206
|
lastName: string;
|
|
1188
|
-
email: string;
|
|
1189
1207
|
};
|
|
1190
|
-
|
|
1208
|
+
createdById: string;
|
|
1191
1209
|
position?: string | undefined;
|
|
1210
|
+
source?: string | undefined;
|
|
1192
1211
|
}, {
|
|
1193
|
-
|
|
1212
|
+
name: string;
|
|
1194
1213
|
email: string;
|
|
1195
1214
|
createdAt: string | Date;
|
|
1196
1215
|
updatedAt: string | Date;
|
|
1197
|
-
|
|
1198
|
-
|
|
1216
|
+
id: string;
|
|
1217
|
+
clientId: string;
|
|
1199
1218
|
client: {
|
|
1200
|
-
|
|
1201
|
-
id: string;
|
|
1219
|
+
name: string;
|
|
1202
1220
|
createdAt: string | Date;
|
|
1203
1221
|
updatedAt: string | Date;
|
|
1204
|
-
|
|
1222
|
+
id: string;
|
|
1223
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1205
1224
|
crn: string;
|
|
1206
1225
|
govLink: string;
|
|
1207
1226
|
director: string;
|
|
1208
1227
|
blacklistReason?: string | null | undefined;
|
|
1209
1228
|
lastUpdatedBy?: {
|
|
1229
|
+
email: string;
|
|
1210
1230
|
id: string;
|
|
1211
1231
|
firstName: string;
|
|
1212
1232
|
lastName: string;
|
|
1213
|
-
email: string;
|
|
1214
1233
|
} | null | undefined;
|
|
1215
1234
|
agentClientLinks?: {
|
|
1216
1235
|
agentId: string;
|
|
1217
1236
|
} | null | undefined;
|
|
1218
1237
|
};
|
|
1219
|
-
|
|
1238
|
+
phone: string;
|
|
1220
1239
|
createdBy: {
|
|
1240
|
+
email: string;
|
|
1221
1241
|
id: string;
|
|
1222
1242
|
firstName: string;
|
|
1223
1243
|
lastName: string;
|
|
1224
|
-
email: string;
|
|
1225
1244
|
};
|
|
1226
|
-
|
|
1245
|
+
createdById: string;
|
|
1227
1246
|
position?: string | undefined;
|
|
1247
|
+
source?: string | undefined;
|
|
1228
1248
|
}>;
|
|
1229
1249
|
409: z.ZodObject<{
|
|
1230
1250
|
statusCode: z.ZodNumber;
|
|
@@ -1254,41 +1274,47 @@ export declare const clientContactsContractRouter: {
|
|
|
1254
1274
|
};
|
|
1255
1275
|
};
|
|
1256
1276
|
findAll: {
|
|
1277
|
+
metadata: {
|
|
1278
|
+
tags: string[];
|
|
1279
|
+
};
|
|
1257
1280
|
query: z.ZodObject<{
|
|
1258
1281
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1259
1282
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1260
1283
|
} & {
|
|
1284
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1261
1285
|
name: z.ZodOptional<z.ZodString>;
|
|
1262
1286
|
email: z.ZodOptional<z.ZodString>;
|
|
1263
1287
|
phone: z.ZodOptional<z.ZodString>;
|
|
1264
|
-
|
|
1288
|
+
position: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1265
1290
|
createdById: z.ZodOptional<z.ZodString>;
|
|
1266
1291
|
sortBy: z.ZodDefault<z.ZodEnum<["name", "position", "email", "createdAt", "updatedAt"]>>;
|
|
1267
1292
|
sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
|
|
1268
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1269
1294
|
limit: number;
|
|
1270
1295
|
page: number;
|
|
1271
|
-
sortBy: "
|
|
1296
|
+
sortBy: "name" | "position" | "email" | "createdAt" | "updatedAt";
|
|
1272
1297
|
sortOrder: "ASC" | "DESC";
|
|
1273
|
-
email?: string | undefined;
|
|
1274
1298
|
name?: string | undefined;
|
|
1275
|
-
|
|
1299
|
+
position?: string | undefined;
|
|
1300
|
+
email?: string | undefined;
|
|
1276
1301
|
clientId?: string | undefined;
|
|
1302
|
+
phone?: string | undefined;
|
|
1303
|
+
source?: string | undefined;
|
|
1277
1304
|
createdById?: string | undefined;
|
|
1278
1305
|
}, {
|
|
1306
|
+
name?: string | undefined;
|
|
1307
|
+
position?: string | undefined;
|
|
1279
1308
|
email?: string | undefined;
|
|
1309
|
+
clientId?: string | undefined;
|
|
1310
|
+
phone?: string | undefined;
|
|
1311
|
+
source?: string | undefined;
|
|
1312
|
+
createdById?: string | undefined;
|
|
1280
1313
|
limit?: number | undefined;
|
|
1281
1314
|
page?: number | undefined;
|
|
1282
|
-
|
|
1283
|
-
sortBy?: "email" | "createdAt" | "updatedAt" | "name" | "position" | undefined;
|
|
1315
|
+
sortBy?: "name" | "position" | "email" | "createdAt" | "updatedAt" | undefined;
|
|
1284
1316
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1285
|
-
phone?: string | undefined;
|
|
1286
|
-
clientId?: string | undefined;
|
|
1287
|
-
createdById?: string | undefined;
|
|
1288
1317
|
}>;
|
|
1289
|
-
metadata: {
|
|
1290
|
-
tags: string[];
|
|
1291
|
-
};
|
|
1292
1318
|
summary: "Get all client contacts";
|
|
1293
1319
|
method: "GET";
|
|
1294
1320
|
path: "/v2/client-contacts";
|
|
@@ -1411,15 +1437,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1411
1437
|
lastName: z.ZodString;
|
|
1412
1438
|
email: z.ZodString;
|
|
1413
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1440
|
+
email: string;
|
|
1414
1441
|
id: string;
|
|
1415
1442
|
firstName: string;
|
|
1416
1443
|
lastName: string;
|
|
1417
|
-
email: string;
|
|
1418
1444
|
}, {
|
|
1445
|
+
email: string;
|
|
1419
1446
|
id: string;
|
|
1420
1447
|
firstName: string;
|
|
1421
1448
|
lastName: string;
|
|
1422
|
-
email: string;
|
|
1423
1449
|
}>>>;
|
|
1424
1450
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1425
1451
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1431,39 +1457,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1431
1457
|
agentId: string;
|
|
1432
1458
|
}>>>;
|
|
1433
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1434
|
-
|
|
1435
|
-
id: string;
|
|
1460
|
+
name: string;
|
|
1436
1461
|
createdAt: string;
|
|
1437
1462
|
updatedAt: string;
|
|
1438
|
-
|
|
1463
|
+
id: string;
|
|
1464
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1439
1465
|
crn: string;
|
|
1440
1466
|
govLink: string;
|
|
1441
1467
|
director: string;
|
|
1442
1468
|
blacklistReason?: string | null | undefined;
|
|
1443
1469
|
lastUpdatedBy?: {
|
|
1470
|
+
email: string;
|
|
1444
1471
|
id: string;
|
|
1445
1472
|
firstName: string;
|
|
1446
1473
|
lastName: string;
|
|
1447
|
-
email: string;
|
|
1448
1474
|
} | null | undefined;
|
|
1449
1475
|
agentClientLinks?: {
|
|
1450
1476
|
agentId: string;
|
|
1451
1477
|
} | null | undefined;
|
|
1452
1478
|
}, {
|
|
1453
|
-
|
|
1454
|
-
id: string;
|
|
1479
|
+
name: string;
|
|
1455
1480
|
createdAt: string | Date;
|
|
1456
1481
|
updatedAt: string | Date;
|
|
1457
|
-
|
|
1482
|
+
id: string;
|
|
1483
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1458
1484
|
crn: string;
|
|
1459
1485
|
govLink: string;
|
|
1460
1486
|
director: string;
|
|
1461
1487
|
blacklistReason?: string | null | undefined;
|
|
1462
1488
|
lastUpdatedBy?: {
|
|
1489
|
+
email: string;
|
|
1463
1490
|
id: string;
|
|
1464
1491
|
firstName: string;
|
|
1465
1492
|
lastName: string;
|
|
1466
|
-
email: string;
|
|
1467
1493
|
} | null | undefined;
|
|
1468
1494
|
agentClientLinks?: {
|
|
1469
1495
|
agentId: string;
|
|
@@ -1480,90 +1506,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1480
1506
|
lastName: z.ZodString;
|
|
1481
1507
|
email: z.ZodString;
|
|
1482
1508
|
}, "strip", z.ZodTypeAny, {
|
|
1509
|
+
email: string;
|
|
1483
1510
|
id: string;
|
|
1484
1511
|
firstName: string;
|
|
1485
1512
|
lastName: string;
|
|
1486
|
-
email: string;
|
|
1487
1513
|
}, {
|
|
1514
|
+
email: string;
|
|
1488
1515
|
id: string;
|
|
1489
1516
|
firstName: string;
|
|
1490
1517
|
lastName: string;
|
|
1491
|
-
email: string;
|
|
1492
1518
|
}>;
|
|
1519
|
+
createdById: z.ZodString;
|
|
1493
1520
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1494
1521
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1495
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
|
|
1523
|
+
name: string;
|
|
1497
1524
|
email: string;
|
|
1498
1525
|
createdAt: string;
|
|
1499
1526
|
updatedAt: string;
|
|
1500
|
-
|
|
1501
|
-
|
|
1527
|
+
id: string;
|
|
1528
|
+
clientId: string;
|
|
1502
1529
|
client: {
|
|
1503
|
-
|
|
1504
|
-
id: string;
|
|
1530
|
+
name: string;
|
|
1505
1531
|
createdAt: string;
|
|
1506
1532
|
updatedAt: string;
|
|
1507
|
-
|
|
1533
|
+
id: string;
|
|
1534
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1508
1535
|
crn: string;
|
|
1509
1536
|
govLink: string;
|
|
1510
1537
|
director: string;
|
|
1511
1538
|
blacklistReason?: string | null | undefined;
|
|
1512
1539
|
lastUpdatedBy?: {
|
|
1540
|
+
email: string;
|
|
1513
1541
|
id: string;
|
|
1514
1542
|
firstName: string;
|
|
1515
1543
|
lastName: string;
|
|
1516
|
-
email: string;
|
|
1517
1544
|
} | null | undefined;
|
|
1518
1545
|
agentClientLinks?: {
|
|
1519
1546
|
agentId: string;
|
|
1520
1547
|
} | null | undefined;
|
|
1521
1548
|
};
|
|
1522
|
-
|
|
1549
|
+
phone: string;
|
|
1523
1550
|
createdBy: {
|
|
1551
|
+
email: string;
|
|
1524
1552
|
id: string;
|
|
1525
1553
|
firstName: string;
|
|
1526
1554
|
lastName: string;
|
|
1527
|
-
email: string;
|
|
1528
1555
|
};
|
|
1529
|
-
|
|
1556
|
+
createdById: string;
|
|
1530
1557
|
position?: string | undefined;
|
|
1558
|
+
source?: string | undefined;
|
|
1531
1559
|
}, {
|
|
1532
|
-
|
|
1560
|
+
name: string;
|
|
1533
1561
|
email: string;
|
|
1534
1562
|
createdAt: string | Date;
|
|
1535
1563
|
updatedAt: string | Date;
|
|
1536
|
-
|
|
1537
|
-
|
|
1564
|
+
id: string;
|
|
1565
|
+
clientId: string;
|
|
1538
1566
|
client: {
|
|
1539
|
-
|
|
1540
|
-
id: string;
|
|
1567
|
+
name: string;
|
|
1541
1568
|
createdAt: string | Date;
|
|
1542
1569
|
updatedAt: string | Date;
|
|
1543
|
-
|
|
1570
|
+
id: string;
|
|
1571
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1544
1572
|
crn: string;
|
|
1545
1573
|
govLink: string;
|
|
1546
1574
|
director: string;
|
|
1547
1575
|
blacklistReason?: string | null | undefined;
|
|
1548
1576
|
lastUpdatedBy?: {
|
|
1577
|
+
email: string;
|
|
1549
1578
|
id: string;
|
|
1550
1579
|
firstName: string;
|
|
1551
1580
|
lastName: string;
|
|
1552
|
-
email: string;
|
|
1553
1581
|
} | null | undefined;
|
|
1554
1582
|
agentClientLinks?: {
|
|
1555
1583
|
agentId: string;
|
|
1556
1584
|
} | null | undefined;
|
|
1557
1585
|
};
|
|
1558
|
-
|
|
1586
|
+
phone: string;
|
|
1559
1587
|
createdBy: {
|
|
1588
|
+
email: string;
|
|
1560
1589
|
id: string;
|
|
1561
1590
|
firstName: string;
|
|
1562
1591
|
lastName: string;
|
|
1563
|
-
email: string;
|
|
1564
1592
|
};
|
|
1565
|
-
|
|
1593
|
+
createdById: string;
|
|
1566
1594
|
position?: string | undefined;
|
|
1595
|
+
source?: string | undefined;
|
|
1567
1596
|
}>, "many">;
|
|
1568
1597
|
totalCount: z.ZodNumber;
|
|
1569
1598
|
limit: z.ZodNumber;
|
|
@@ -1573,41 +1602,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1573
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1574
1603
|
limit: number;
|
|
1575
1604
|
items: {
|
|
1576
|
-
|
|
1605
|
+
name: string;
|
|
1577
1606
|
email: string;
|
|
1578
1607
|
createdAt: string;
|
|
1579
1608
|
updatedAt: string;
|
|
1580
|
-
|
|
1581
|
-
|
|
1609
|
+
id: string;
|
|
1610
|
+
clientId: string;
|
|
1582
1611
|
client: {
|
|
1583
|
-
|
|
1584
|
-
id: string;
|
|
1612
|
+
name: string;
|
|
1585
1613
|
createdAt: string;
|
|
1586
1614
|
updatedAt: string;
|
|
1587
|
-
|
|
1615
|
+
id: string;
|
|
1616
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1588
1617
|
crn: string;
|
|
1589
1618
|
govLink: string;
|
|
1590
1619
|
director: string;
|
|
1591
1620
|
blacklistReason?: string | null | undefined;
|
|
1592
1621
|
lastUpdatedBy?: {
|
|
1622
|
+
email: string;
|
|
1593
1623
|
id: string;
|
|
1594
1624
|
firstName: string;
|
|
1595
1625
|
lastName: string;
|
|
1596
|
-
email: string;
|
|
1597
1626
|
} | null | undefined;
|
|
1598
1627
|
agentClientLinks?: {
|
|
1599
1628
|
agentId: string;
|
|
1600
1629
|
} | null | undefined;
|
|
1601
1630
|
};
|
|
1602
|
-
|
|
1631
|
+
phone: string;
|
|
1603
1632
|
createdBy: {
|
|
1633
|
+
email: string;
|
|
1604
1634
|
id: string;
|
|
1605
1635
|
firstName: string;
|
|
1606
1636
|
lastName: string;
|
|
1607
|
-
email: string;
|
|
1608
1637
|
};
|
|
1609
|
-
|
|
1638
|
+
createdById: string;
|
|
1610
1639
|
position?: string | undefined;
|
|
1640
|
+
source?: string | undefined;
|
|
1611
1641
|
}[];
|
|
1612
1642
|
totalCount: number;
|
|
1613
1643
|
skip: number;
|
|
@@ -1616,41 +1646,42 @@ export declare const clientContactsContractRouter: {
|
|
|
1616
1646
|
}, {
|
|
1617
1647
|
limit: number;
|
|
1618
1648
|
items: {
|
|
1619
|
-
|
|
1649
|
+
name: string;
|
|
1620
1650
|
email: string;
|
|
1621
1651
|
createdAt: string | Date;
|
|
1622
1652
|
updatedAt: string | Date;
|
|
1623
|
-
|
|
1624
|
-
|
|
1653
|
+
id: string;
|
|
1654
|
+
clientId: string;
|
|
1625
1655
|
client: {
|
|
1626
|
-
|
|
1627
|
-
id: string;
|
|
1656
|
+
name: string;
|
|
1628
1657
|
createdAt: string | Date;
|
|
1629
1658
|
updatedAt: string | Date;
|
|
1630
|
-
|
|
1659
|
+
id: string;
|
|
1660
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1631
1661
|
crn: string;
|
|
1632
1662
|
govLink: string;
|
|
1633
1663
|
director: string;
|
|
1634
1664
|
blacklistReason?: string | null | undefined;
|
|
1635
1665
|
lastUpdatedBy?: {
|
|
1666
|
+
email: string;
|
|
1636
1667
|
id: string;
|
|
1637
1668
|
firstName: string;
|
|
1638
1669
|
lastName: string;
|
|
1639
|
-
email: string;
|
|
1640
1670
|
} | null | undefined;
|
|
1641
1671
|
agentClientLinks?: {
|
|
1642
1672
|
agentId: string;
|
|
1643
1673
|
} | null | undefined;
|
|
1644
1674
|
};
|
|
1645
|
-
|
|
1675
|
+
phone: string;
|
|
1646
1676
|
createdBy: {
|
|
1677
|
+
email: string;
|
|
1647
1678
|
id: string;
|
|
1648
1679
|
firstName: string;
|
|
1649
1680
|
lastName: string;
|
|
1650
|
-
email: string;
|
|
1651
1681
|
};
|
|
1652
|
-
|
|
1682
|
+
createdById: string;
|
|
1653
1683
|
position?: string | undefined;
|
|
1684
|
+
source?: string | undefined;
|
|
1654
1685
|
}[];
|
|
1655
1686
|
totalCount: number;
|
|
1656
1687
|
skip: number;
|
|
@@ -1791,15 +1822,15 @@ export declare const clientContactsContractRouter: {
|
|
|
1791
1822
|
lastName: z.ZodString;
|
|
1792
1823
|
email: z.ZodString;
|
|
1793
1824
|
}, "strip", z.ZodTypeAny, {
|
|
1825
|
+
email: string;
|
|
1794
1826
|
id: string;
|
|
1795
1827
|
firstName: string;
|
|
1796
1828
|
lastName: string;
|
|
1797
|
-
email: string;
|
|
1798
1829
|
}, {
|
|
1830
|
+
email: string;
|
|
1799
1831
|
id: string;
|
|
1800
1832
|
firstName: string;
|
|
1801
1833
|
lastName: string;
|
|
1802
|
-
email: string;
|
|
1803
1834
|
}>>>;
|
|
1804
1835
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1805
1836
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1811,39 +1842,39 @@ export declare const clientContactsContractRouter: {
|
|
|
1811
1842
|
agentId: string;
|
|
1812
1843
|
}>>>;
|
|
1813
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1814
|
-
|
|
1815
|
-
id: string;
|
|
1845
|
+
name: string;
|
|
1816
1846
|
createdAt: string;
|
|
1817
1847
|
updatedAt: string;
|
|
1818
|
-
|
|
1848
|
+
id: string;
|
|
1849
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1819
1850
|
crn: string;
|
|
1820
1851
|
govLink: string;
|
|
1821
1852
|
director: string;
|
|
1822
1853
|
blacklistReason?: string | null | undefined;
|
|
1823
1854
|
lastUpdatedBy?: {
|
|
1855
|
+
email: string;
|
|
1824
1856
|
id: string;
|
|
1825
1857
|
firstName: string;
|
|
1826
1858
|
lastName: string;
|
|
1827
|
-
email: string;
|
|
1828
1859
|
} | null | undefined;
|
|
1829
1860
|
agentClientLinks?: {
|
|
1830
1861
|
agentId: string;
|
|
1831
1862
|
} | null | undefined;
|
|
1832
1863
|
}, {
|
|
1833
|
-
|
|
1834
|
-
id: string;
|
|
1864
|
+
name: string;
|
|
1835
1865
|
createdAt: string | Date;
|
|
1836
1866
|
updatedAt: string | Date;
|
|
1837
|
-
|
|
1867
|
+
id: string;
|
|
1868
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1838
1869
|
crn: string;
|
|
1839
1870
|
govLink: string;
|
|
1840
1871
|
director: string;
|
|
1841
1872
|
blacklistReason?: string | null | undefined;
|
|
1842
1873
|
lastUpdatedBy?: {
|
|
1874
|
+
email: string;
|
|
1843
1875
|
id: string;
|
|
1844
1876
|
firstName: string;
|
|
1845
1877
|
lastName: string;
|
|
1846
|
-
email: string;
|
|
1847
1878
|
} | null | undefined;
|
|
1848
1879
|
agentClientLinks?: {
|
|
1849
1880
|
agentId: string;
|
|
@@ -1860,90 +1891,93 @@ export declare const clientContactsContractRouter: {
|
|
|
1860
1891
|
lastName: z.ZodString;
|
|
1861
1892
|
email: z.ZodString;
|
|
1862
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
+
email: string;
|
|
1863
1895
|
id: string;
|
|
1864
1896
|
firstName: string;
|
|
1865
1897
|
lastName: string;
|
|
1866
|
-
email: string;
|
|
1867
1898
|
}, {
|
|
1899
|
+
email: string;
|
|
1868
1900
|
id: string;
|
|
1869
1901
|
firstName: string;
|
|
1870
1902
|
lastName: string;
|
|
1871
|
-
email: string;
|
|
1872
1903
|
}>;
|
|
1904
|
+
createdById: z.ZodString;
|
|
1873
1905
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1874
1906
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1875
1907
|
}, "strip", z.ZodTypeAny, {
|
|
1876
|
-
|
|
1908
|
+
name: string;
|
|
1877
1909
|
email: string;
|
|
1878
1910
|
createdAt: string;
|
|
1879
1911
|
updatedAt: string;
|
|
1880
|
-
|
|
1881
|
-
|
|
1912
|
+
id: string;
|
|
1913
|
+
clientId: string;
|
|
1882
1914
|
client: {
|
|
1883
|
-
|
|
1884
|
-
id: string;
|
|
1915
|
+
name: string;
|
|
1885
1916
|
createdAt: string;
|
|
1886
1917
|
updatedAt: string;
|
|
1887
|
-
|
|
1918
|
+
id: string;
|
|
1919
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1888
1920
|
crn: string;
|
|
1889
1921
|
govLink: string;
|
|
1890
1922
|
director: string;
|
|
1891
1923
|
blacklistReason?: string | null | undefined;
|
|
1892
1924
|
lastUpdatedBy?: {
|
|
1925
|
+
email: string;
|
|
1893
1926
|
id: string;
|
|
1894
1927
|
firstName: string;
|
|
1895
1928
|
lastName: string;
|
|
1896
|
-
email: string;
|
|
1897
1929
|
} | null | undefined;
|
|
1898
1930
|
agentClientLinks?: {
|
|
1899
1931
|
agentId: string;
|
|
1900
1932
|
} | null | undefined;
|
|
1901
1933
|
};
|
|
1902
|
-
|
|
1934
|
+
phone: string;
|
|
1903
1935
|
createdBy: {
|
|
1936
|
+
email: string;
|
|
1904
1937
|
id: string;
|
|
1905
1938
|
firstName: string;
|
|
1906
1939
|
lastName: string;
|
|
1907
|
-
email: string;
|
|
1908
1940
|
};
|
|
1909
|
-
|
|
1941
|
+
createdById: string;
|
|
1910
1942
|
position?: string | undefined;
|
|
1943
|
+
source?: string | undefined;
|
|
1911
1944
|
}, {
|
|
1912
|
-
|
|
1945
|
+
name: string;
|
|
1913
1946
|
email: string;
|
|
1914
1947
|
createdAt: string | Date;
|
|
1915
1948
|
updatedAt: string | Date;
|
|
1916
|
-
|
|
1917
|
-
|
|
1949
|
+
id: string;
|
|
1950
|
+
clientId: string;
|
|
1918
1951
|
client: {
|
|
1919
|
-
|
|
1920
|
-
id: string;
|
|
1952
|
+
name: string;
|
|
1921
1953
|
createdAt: string | Date;
|
|
1922
1954
|
updatedAt: string | Date;
|
|
1923
|
-
|
|
1955
|
+
id: string;
|
|
1956
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1924
1957
|
crn: string;
|
|
1925
1958
|
govLink: string;
|
|
1926
1959
|
director: string;
|
|
1927
1960
|
blacklistReason?: string | null | undefined;
|
|
1928
1961
|
lastUpdatedBy?: {
|
|
1962
|
+
email: string;
|
|
1929
1963
|
id: string;
|
|
1930
1964
|
firstName: string;
|
|
1931
1965
|
lastName: string;
|
|
1932
|
-
email: string;
|
|
1933
1966
|
} | null | undefined;
|
|
1934
1967
|
agentClientLinks?: {
|
|
1935
1968
|
agentId: string;
|
|
1936
1969
|
} | null | undefined;
|
|
1937
1970
|
};
|
|
1938
|
-
|
|
1971
|
+
phone: string;
|
|
1939
1972
|
createdBy: {
|
|
1973
|
+
email: string;
|
|
1940
1974
|
id: string;
|
|
1941
1975
|
firstName: string;
|
|
1942
1976
|
lastName: string;
|
|
1943
|
-
email: string;
|
|
1944
1977
|
};
|
|
1945
|
-
|
|
1978
|
+
createdById: string;
|
|
1946
1979
|
position?: string | undefined;
|
|
1980
|
+
source?: string | undefined;
|
|
1947
1981
|
}>;
|
|
1948
1982
|
404: z.ZodObject<{
|
|
1949
1983
|
statusCode: z.ZodNumber;
|
|
@@ -1999,17 +2033,17 @@ export declare const clientContactsContractRouter: {
|
|
|
1999
2033
|
email: z.ZodOptional<z.ZodString>;
|
|
2000
2034
|
source: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2001
2035
|
}, "client">, "strip", z.ZodTypeAny, {
|
|
2002
|
-
email?: string | undefined;
|
|
2003
2036
|
name?: string | undefined;
|
|
2004
|
-
source?: string | undefined;
|
|
2005
|
-
phone?: string | undefined;
|
|
2006
2037
|
position?: string | undefined;
|
|
2007
|
-
}, {
|
|
2008
2038
|
email?: string | undefined;
|
|
2009
|
-
name?: string | undefined;
|
|
2010
|
-
source?: string | undefined;
|
|
2011
2039
|
phone?: string | undefined;
|
|
2040
|
+
source?: string | undefined;
|
|
2041
|
+
}, {
|
|
2042
|
+
name?: string | undefined;
|
|
2012
2043
|
position?: string | undefined;
|
|
2044
|
+
email?: string | undefined;
|
|
2045
|
+
phone?: string | undefined;
|
|
2046
|
+
source?: string | undefined;
|
|
2013
2047
|
}>;
|
|
2014
2048
|
path: "/v2/client-contacts/:contactId";
|
|
2015
2049
|
responses: {
|
|
@@ -2130,15 +2164,15 @@ export declare const clientContactsContractRouter: {
|
|
|
2130
2164
|
lastName: z.ZodString;
|
|
2131
2165
|
email: z.ZodString;
|
|
2132
2166
|
}, "strip", z.ZodTypeAny, {
|
|
2167
|
+
email: string;
|
|
2133
2168
|
id: string;
|
|
2134
2169
|
firstName: string;
|
|
2135
2170
|
lastName: string;
|
|
2136
|
-
email: string;
|
|
2137
2171
|
}, {
|
|
2172
|
+
email: string;
|
|
2138
2173
|
id: string;
|
|
2139
2174
|
firstName: string;
|
|
2140
2175
|
lastName: string;
|
|
2141
|
-
email: string;
|
|
2142
2176
|
}>>>;
|
|
2143
2177
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2144
2178
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2150,39 +2184,39 @@ export declare const clientContactsContractRouter: {
|
|
|
2150
2184
|
agentId: string;
|
|
2151
2185
|
}>>>;
|
|
2152
2186
|
}, "strip", z.ZodTypeAny, {
|
|
2153
|
-
|
|
2154
|
-
id: string;
|
|
2187
|
+
name: string;
|
|
2155
2188
|
createdAt: string;
|
|
2156
2189
|
updatedAt: string;
|
|
2157
|
-
|
|
2190
|
+
id: string;
|
|
2191
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2158
2192
|
crn: string;
|
|
2159
2193
|
govLink: string;
|
|
2160
2194
|
director: string;
|
|
2161
2195
|
blacklistReason?: string | null | undefined;
|
|
2162
2196
|
lastUpdatedBy?: {
|
|
2197
|
+
email: string;
|
|
2163
2198
|
id: string;
|
|
2164
2199
|
firstName: string;
|
|
2165
2200
|
lastName: string;
|
|
2166
|
-
email: string;
|
|
2167
2201
|
} | null | undefined;
|
|
2168
2202
|
agentClientLinks?: {
|
|
2169
2203
|
agentId: string;
|
|
2170
2204
|
} | null | undefined;
|
|
2171
2205
|
}, {
|
|
2172
|
-
|
|
2173
|
-
id: string;
|
|
2206
|
+
name: string;
|
|
2174
2207
|
createdAt: string | Date;
|
|
2175
2208
|
updatedAt: string | Date;
|
|
2176
|
-
|
|
2209
|
+
id: string;
|
|
2210
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2177
2211
|
crn: string;
|
|
2178
2212
|
govLink: string;
|
|
2179
2213
|
director: string;
|
|
2180
2214
|
blacklistReason?: string | null | undefined;
|
|
2181
2215
|
lastUpdatedBy?: {
|
|
2216
|
+
email: string;
|
|
2182
2217
|
id: string;
|
|
2183
2218
|
firstName: string;
|
|
2184
2219
|
lastName: string;
|
|
2185
|
-
email: string;
|
|
2186
2220
|
} | null | undefined;
|
|
2187
2221
|
agentClientLinks?: {
|
|
2188
2222
|
agentId: string;
|
|
@@ -2199,90 +2233,93 @@ export declare const clientContactsContractRouter: {
|
|
|
2199
2233
|
lastName: z.ZodString;
|
|
2200
2234
|
email: z.ZodString;
|
|
2201
2235
|
}, "strip", z.ZodTypeAny, {
|
|
2236
|
+
email: string;
|
|
2202
2237
|
id: string;
|
|
2203
2238
|
firstName: string;
|
|
2204
2239
|
lastName: string;
|
|
2205
|
-
email: string;
|
|
2206
2240
|
}, {
|
|
2241
|
+
email: string;
|
|
2207
2242
|
id: string;
|
|
2208
2243
|
firstName: string;
|
|
2209
2244
|
lastName: string;
|
|
2210
|
-
email: string;
|
|
2211
2245
|
}>;
|
|
2246
|
+
createdById: z.ZodString;
|
|
2212
2247
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2213
2248
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2214
2249
|
}, "strip", z.ZodTypeAny, {
|
|
2215
|
-
|
|
2250
|
+
name: string;
|
|
2216
2251
|
email: string;
|
|
2217
2252
|
createdAt: string;
|
|
2218
2253
|
updatedAt: string;
|
|
2219
|
-
|
|
2220
|
-
|
|
2254
|
+
id: string;
|
|
2255
|
+
clientId: string;
|
|
2221
2256
|
client: {
|
|
2222
|
-
|
|
2223
|
-
id: string;
|
|
2257
|
+
name: string;
|
|
2224
2258
|
createdAt: string;
|
|
2225
2259
|
updatedAt: string;
|
|
2226
|
-
|
|
2260
|
+
id: string;
|
|
2261
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2227
2262
|
crn: string;
|
|
2228
2263
|
govLink: string;
|
|
2229
2264
|
director: string;
|
|
2230
2265
|
blacklistReason?: string | null | undefined;
|
|
2231
2266
|
lastUpdatedBy?: {
|
|
2267
|
+
email: string;
|
|
2232
2268
|
id: string;
|
|
2233
2269
|
firstName: string;
|
|
2234
2270
|
lastName: string;
|
|
2235
|
-
email: string;
|
|
2236
2271
|
} | null | undefined;
|
|
2237
2272
|
agentClientLinks?: {
|
|
2238
2273
|
agentId: string;
|
|
2239
2274
|
} | null | undefined;
|
|
2240
2275
|
};
|
|
2241
|
-
|
|
2276
|
+
phone: string;
|
|
2242
2277
|
createdBy: {
|
|
2278
|
+
email: string;
|
|
2243
2279
|
id: string;
|
|
2244
2280
|
firstName: string;
|
|
2245
2281
|
lastName: string;
|
|
2246
|
-
email: string;
|
|
2247
2282
|
};
|
|
2248
|
-
|
|
2283
|
+
createdById: string;
|
|
2249
2284
|
position?: string | undefined;
|
|
2285
|
+
source?: string | undefined;
|
|
2250
2286
|
}, {
|
|
2251
|
-
|
|
2287
|
+
name: string;
|
|
2252
2288
|
email: string;
|
|
2253
2289
|
createdAt: string | Date;
|
|
2254
2290
|
updatedAt: string | Date;
|
|
2255
|
-
|
|
2256
|
-
|
|
2291
|
+
id: string;
|
|
2292
|
+
clientId: string;
|
|
2257
2293
|
client: {
|
|
2258
|
-
|
|
2259
|
-
id: string;
|
|
2294
|
+
name: string;
|
|
2260
2295
|
createdAt: string | Date;
|
|
2261
2296
|
updatedAt: string | Date;
|
|
2262
|
-
|
|
2297
|
+
id: string;
|
|
2298
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2263
2299
|
crn: string;
|
|
2264
2300
|
govLink: string;
|
|
2265
2301
|
director: string;
|
|
2266
2302
|
blacklistReason?: string | null | undefined;
|
|
2267
2303
|
lastUpdatedBy?: {
|
|
2304
|
+
email: string;
|
|
2268
2305
|
id: string;
|
|
2269
2306
|
firstName: string;
|
|
2270
2307
|
lastName: string;
|
|
2271
|
-
email: string;
|
|
2272
2308
|
} | null | undefined;
|
|
2273
2309
|
agentClientLinks?: {
|
|
2274
2310
|
agentId: string;
|
|
2275
2311
|
} | null | undefined;
|
|
2276
2312
|
};
|
|
2277
|
-
|
|
2313
|
+
phone: string;
|
|
2278
2314
|
createdBy: {
|
|
2315
|
+
email: string;
|
|
2279
2316
|
id: string;
|
|
2280
2317
|
firstName: string;
|
|
2281
2318
|
lastName: string;
|
|
2282
|
-
email: string;
|
|
2283
2319
|
};
|
|
2284
|
-
|
|
2320
|
+
createdById: string;
|
|
2285
2321
|
position?: string | undefined;
|
|
2322
|
+
source?: string | undefined;
|
|
2286
2323
|
}>;
|
|
2287
2324
|
404: z.ZodObject<{
|
|
2288
2325
|
statusCode: z.ZodNumber;
|