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