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