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