@dakkitor/api-contracts 1.1.42 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/second-agent.abilities.json +7 -3
- package/dist/actives/actives.contract.d.ts +3257 -3105
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +484 -455
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +2837 -2689
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +316 -277
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.d.ts +148 -120
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +10 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1135 -1031
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +918 -826
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.d.ts +454 -350
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +1 -1
- package/package.json +6 -3
|
@@ -11,21 +11,22 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
11
11
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
12
12
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
18
|
+
}, {
|
|
16
19
|
id: string;
|
|
17
20
|
name: string;
|
|
18
|
-
}, {
|
|
19
21
|
createdAt: string | Date;
|
|
20
22
|
updatedAt: string | Date;
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
23
|
}>>>;
|
|
24
24
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
25
|
id: z.ZodString;
|
|
26
26
|
name: z.ZodString;
|
|
27
|
-
crn: z.ZodString
|
|
27
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
28
28
|
govLink: z.ZodString;
|
|
29
|
+
soleTrader: z.ZodBoolean;
|
|
29
30
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
30
31
|
director: z.ZodString;
|
|
31
32
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -55,14 +56,15 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
55
56
|
agentId: string;
|
|
56
57
|
}>>>;
|
|
57
58
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
createdAt: string;
|
|
59
|
-
updatedAt: string;
|
|
60
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
61
59
|
id: string;
|
|
60
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
62
61
|
name: string;
|
|
63
|
-
crn: string;
|
|
62
|
+
crn: string | null;
|
|
64
63
|
govLink: string;
|
|
64
|
+
soleTrader: boolean;
|
|
65
65
|
director: string;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
updatedAt: string;
|
|
66
68
|
blacklistReason?: string | null | undefined;
|
|
67
69
|
lastUpdatedBy?: {
|
|
68
70
|
id: string;
|
|
@@ -74,14 +76,15 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
74
76
|
agentId: string;
|
|
75
77
|
} | null | undefined;
|
|
76
78
|
}, {
|
|
77
|
-
createdAt: string | Date;
|
|
78
|
-
updatedAt: string | Date;
|
|
79
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
80
79
|
id: string;
|
|
80
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
81
81
|
name: string;
|
|
82
|
-
crn: string;
|
|
82
|
+
crn: string | null;
|
|
83
83
|
govLink: string;
|
|
84
|
+
soleTrader: boolean;
|
|
84
85
|
director: string;
|
|
86
|
+
createdAt: string | Date;
|
|
87
|
+
updatedAt: string | Date;
|
|
85
88
|
blacklistReason?: string | null | undefined;
|
|
86
89
|
lastUpdatedBy?: {
|
|
87
90
|
id: string;
|
|
@@ -122,21 +125,22 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
122
125
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
123
126
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
124
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
125
130
|
createdAt: string;
|
|
126
131
|
updatedAt: string;
|
|
132
|
+
}, {
|
|
127
133
|
id: string;
|
|
128
134
|
name: string;
|
|
129
|
-
}, {
|
|
130
135
|
createdAt: string | Date;
|
|
131
136
|
updatedAt: string | Date;
|
|
132
|
-
id: string;
|
|
133
|
-
name: string;
|
|
134
137
|
}>>>;
|
|
135
138
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
136
139
|
id: z.ZodString;
|
|
137
140
|
name: z.ZodString;
|
|
138
|
-
crn: z.ZodString
|
|
141
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
139
142
|
govLink: z.ZodString;
|
|
143
|
+
soleTrader: z.ZodBoolean;
|
|
140
144
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
141
145
|
director: z.ZodString;
|
|
142
146
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -166,14 +170,15 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
166
170
|
agentId: string;
|
|
167
171
|
}>>>;
|
|
168
172
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
createdAt: string;
|
|
170
|
-
updatedAt: string;
|
|
171
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
172
173
|
id: string;
|
|
174
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
173
175
|
name: string;
|
|
174
|
-
crn: string;
|
|
176
|
+
crn: string | null;
|
|
175
177
|
govLink: string;
|
|
178
|
+
soleTrader: boolean;
|
|
176
179
|
director: string;
|
|
180
|
+
createdAt: string;
|
|
181
|
+
updatedAt: string;
|
|
177
182
|
blacklistReason?: string | null | undefined;
|
|
178
183
|
lastUpdatedBy?: {
|
|
179
184
|
id: string;
|
|
@@ -185,14 +190,15 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
185
190
|
agentId: string;
|
|
186
191
|
} | null | undefined;
|
|
187
192
|
}, {
|
|
188
|
-
createdAt: string | Date;
|
|
189
|
-
updatedAt: string | Date;
|
|
190
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
191
193
|
id: string;
|
|
194
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
192
195
|
name: string;
|
|
193
|
-
crn: string;
|
|
196
|
+
crn: string | null;
|
|
194
197
|
govLink: string;
|
|
198
|
+
soleTrader: boolean;
|
|
195
199
|
director: string;
|
|
200
|
+
createdAt: string | Date;
|
|
201
|
+
updatedAt: string | Date;
|
|
196
202
|
blacklistReason?: string | null | undefined;
|
|
197
203
|
lastUpdatedBy?: {
|
|
198
204
|
id: string;
|
|
@@ -225,26 +231,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
225
231
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
226
232
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
227
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
id: string;
|
|
235
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
228
236
|
createdAt: string;
|
|
229
237
|
updatedAt: string;
|
|
230
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
231
|
-
id: string;
|
|
232
238
|
userId: string;
|
|
233
|
-
company?: {
|
|
234
|
-
createdAt: string;
|
|
235
|
-
updatedAt: string;
|
|
236
|
-
id: string;
|
|
237
|
-
name: string;
|
|
238
|
-
} | null | undefined;
|
|
239
239
|
client?: {
|
|
240
|
-
createdAt: string;
|
|
241
|
-
updatedAt: string;
|
|
242
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
243
240
|
id: string;
|
|
241
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
244
242
|
name: string;
|
|
245
|
-
crn: string;
|
|
243
|
+
crn: string | null;
|
|
246
244
|
govLink: string;
|
|
245
|
+
soleTrader: boolean;
|
|
247
246
|
director: string;
|
|
247
|
+
createdAt: string;
|
|
248
|
+
updatedAt: string;
|
|
248
249
|
blacklistReason?: string | null | undefined;
|
|
249
250
|
lastUpdatedBy?: {
|
|
250
251
|
id: string;
|
|
@@ -256,6 +257,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
256
257
|
agentId: string;
|
|
257
258
|
} | null | undefined;
|
|
258
259
|
} | null | undefined;
|
|
260
|
+
company?: {
|
|
261
|
+
id: string;
|
|
262
|
+
name: string;
|
|
263
|
+
createdAt: string;
|
|
264
|
+
updatedAt: string;
|
|
265
|
+
} | null | undefined;
|
|
259
266
|
user?: {
|
|
260
267
|
id: string;
|
|
261
268
|
firstName: string;
|
|
@@ -263,26 +270,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
263
270
|
email: string;
|
|
264
271
|
} | null | undefined;
|
|
265
272
|
}, {
|
|
273
|
+
id: string;
|
|
274
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
266
275
|
createdAt: string | Date;
|
|
267
276
|
updatedAt: string | Date;
|
|
268
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
269
|
-
id: string;
|
|
270
277
|
userId: string;
|
|
271
|
-
company?: {
|
|
272
|
-
createdAt: string | Date;
|
|
273
|
-
updatedAt: string | Date;
|
|
274
|
-
id: string;
|
|
275
|
-
name: string;
|
|
276
|
-
} | null | undefined;
|
|
277
278
|
client?: {
|
|
278
|
-
createdAt: string | Date;
|
|
279
|
-
updatedAt: string | Date;
|
|
280
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
281
279
|
id: string;
|
|
280
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
282
281
|
name: string;
|
|
283
|
-
crn: string;
|
|
282
|
+
crn: string | null;
|
|
284
283
|
govLink: string;
|
|
284
|
+
soleTrader: boolean;
|
|
285
285
|
director: string;
|
|
286
|
+
createdAt: string | Date;
|
|
287
|
+
updatedAt: string | Date;
|
|
286
288
|
blacklistReason?: string | null | undefined;
|
|
287
289
|
lastUpdatedBy?: {
|
|
288
290
|
id: string;
|
|
@@ -294,6 +296,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
294
296
|
agentId: string;
|
|
295
297
|
} | null | undefined;
|
|
296
298
|
} | null | undefined;
|
|
299
|
+
company?: {
|
|
300
|
+
id: string;
|
|
301
|
+
name: string;
|
|
302
|
+
createdAt: string | Date;
|
|
303
|
+
updatedAt: string | Date;
|
|
304
|
+
} | null | undefined;
|
|
297
305
|
user?: {
|
|
298
306
|
id: string;
|
|
299
307
|
firstName: string;
|
|
@@ -302,26 +310,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
302
310
|
} | null | undefined;
|
|
303
311
|
}>>>;
|
|
304
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
id: string;
|
|
314
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
305
315
|
createdAt: string;
|
|
306
316
|
updatedAt: string;
|
|
307
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
308
|
-
id: string;
|
|
309
317
|
userId: string;
|
|
310
|
-
company?: {
|
|
311
|
-
createdAt: string;
|
|
312
|
-
updatedAt: string;
|
|
313
|
-
id: string;
|
|
314
|
-
name: string;
|
|
315
|
-
} | null | undefined;
|
|
316
318
|
client?: {
|
|
317
|
-
createdAt: string;
|
|
318
|
-
updatedAt: string;
|
|
319
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
320
319
|
id: string;
|
|
320
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
321
321
|
name: string;
|
|
322
|
-
crn: string;
|
|
322
|
+
crn: string | null;
|
|
323
323
|
govLink: string;
|
|
324
|
+
soleTrader: boolean;
|
|
324
325
|
director: string;
|
|
326
|
+
createdAt: string;
|
|
327
|
+
updatedAt: string;
|
|
325
328
|
blacklistReason?: string | null | undefined;
|
|
326
329
|
lastUpdatedBy?: {
|
|
327
330
|
id: string;
|
|
@@ -333,6 +336,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
333
336
|
agentId: string;
|
|
334
337
|
} | null | undefined;
|
|
335
338
|
} | null | undefined;
|
|
339
|
+
company?: {
|
|
340
|
+
id: string;
|
|
341
|
+
name: string;
|
|
342
|
+
createdAt: string;
|
|
343
|
+
updatedAt: string;
|
|
344
|
+
} | null | undefined;
|
|
336
345
|
user?: {
|
|
337
346
|
id: string;
|
|
338
347
|
firstName: string;
|
|
@@ -340,26 +349,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
340
349
|
email: string;
|
|
341
350
|
} | null | undefined;
|
|
342
351
|
newCollaboration?: {
|
|
352
|
+
id: string;
|
|
353
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
343
354
|
createdAt: string;
|
|
344
355
|
updatedAt: string;
|
|
345
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
346
|
-
id: string;
|
|
347
356
|
userId: string;
|
|
348
|
-
company?: {
|
|
349
|
-
createdAt: string;
|
|
350
|
-
updatedAt: string;
|
|
351
|
-
id: string;
|
|
352
|
-
name: string;
|
|
353
|
-
} | null | undefined;
|
|
354
357
|
client?: {
|
|
355
|
-
createdAt: string;
|
|
356
|
-
updatedAt: string;
|
|
357
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
358
358
|
id: string;
|
|
359
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
359
360
|
name: string;
|
|
360
|
-
crn: string;
|
|
361
|
+
crn: string | null;
|
|
361
362
|
govLink: string;
|
|
363
|
+
soleTrader: boolean;
|
|
362
364
|
director: string;
|
|
365
|
+
createdAt: string;
|
|
366
|
+
updatedAt: string;
|
|
363
367
|
blacklistReason?: string | null | undefined;
|
|
364
368
|
lastUpdatedBy?: {
|
|
365
369
|
id: string;
|
|
@@ -371,6 +375,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
371
375
|
agentId: string;
|
|
372
376
|
} | null | undefined;
|
|
373
377
|
} | null | undefined;
|
|
378
|
+
company?: {
|
|
379
|
+
id: string;
|
|
380
|
+
name: string;
|
|
381
|
+
createdAt: string;
|
|
382
|
+
updatedAt: string;
|
|
383
|
+
} | null | undefined;
|
|
374
384
|
user?: {
|
|
375
385
|
id: string;
|
|
376
386
|
firstName: string;
|
|
@@ -379,26 +389,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
379
389
|
} | null | undefined;
|
|
380
390
|
} | null | undefined;
|
|
381
391
|
}, {
|
|
392
|
+
id: string;
|
|
393
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
382
394
|
createdAt: string | Date;
|
|
383
395
|
updatedAt: string | Date;
|
|
384
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
385
|
-
id: string;
|
|
386
396
|
userId: string;
|
|
387
|
-
company?: {
|
|
388
|
-
createdAt: string | Date;
|
|
389
|
-
updatedAt: string | Date;
|
|
390
|
-
id: string;
|
|
391
|
-
name: string;
|
|
392
|
-
} | null | undefined;
|
|
393
397
|
client?: {
|
|
394
|
-
createdAt: string | Date;
|
|
395
|
-
updatedAt: string | Date;
|
|
396
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
397
398
|
id: string;
|
|
399
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
398
400
|
name: string;
|
|
399
|
-
crn: string;
|
|
401
|
+
crn: string | null;
|
|
400
402
|
govLink: string;
|
|
403
|
+
soleTrader: boolean;
|
|
401
404
|
director: string;
|
|
405
|
+
createdAt: string | Date;
|
|
406
|
+
updatedAt: string | Date;
|
|
402
407
|
blacklistReason?: string | null | undefined;
|
|
403
408
|
lastUpdatedBy?: {
|
|
404
409
|
id: string;
|
|
@@ -410,6 +415,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
410
415
|
agentId: string;
|
|
411
416
|
} | null | undefined;
|
|
412
417
|
} | null | undefined;
|
|
418
|
+
company?: {
|
|
419
|
+
id: string;
|
|
420
|
+
name: string;
|
|
421
|
+
createdAt: string | Date;
|
|
422
|
+
updatedAt: string | Date;
|
|
423
|
+
} | null | undefined;
|
|
413
424
|
user?: {
|
|
414
425
|
id: string;
|
|
415
426
|
firstName: string;
|
|
@@ -417,26 +428,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
417
428
|
email: string;
|
|
418
429
|
} | null | undefined;
|
|
419
430
|
newCollaboration?: {
|
|
431
|
+
id: string;
|
|
432
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
420
433
|
createdAt: string | Date;
|
|
421
434
|
updatedAt: string | Date;
|
|
422
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
423
|
-
id: string;
|
|
424
435
|
userId: string;
|
|
425
|
-
company?: {
|
|
426
|
-
createdAt: string | Date;
|
|
427
|
-
updatedAt: string | Date;
|
|
428
|
-
id: string;
|
|
429
|
-
name: string;
|
|
430
|
-
} | null | undefined;
|
|
431
436
|
client?: {
|
|
432
|
-
createdAt: string | Date;
|
|
433
|
-
updatedAt: string | Date;
|
|
434
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
435
437
|
id: string;
|
|
438
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
436
439
|
name: string;
|
|
437
|
-
crn: string;
|
|
440
|
+
crn: string | null;
|
|
438
441
|
govLink: string;
|
|
442
|
+
soleTrader: boolean;
|
|
439
443
|
director: string;
|
|
444
|
+
createdAt: string | Date;
|
|
445
|
+
updatedAt: string | Date;
|
|
440
446
|
blacklistReason?: string | null | undefined;
|
|
441
447
|
lastUpdatedBy?: {
|
|
442
448
|
id: string;
|
|
@@ -448,6 +454,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
448
454
|
agentId: string;
|
|
449
455
|
} | null | undefined;
|
|
450
456
|
} | null | undefined;
|
|
457
|
+
company?: {
|
|
458
|
+
id: string;
|
|
459
|
+
name: string;
|
|
460
|
+
createdAt: string | Date;
|
|
461
|
+
updatedAt: string | Date;
|
|
462
|
+
} | null | undefined;
|
|
451
463
|
user?: {
|
|
452
464
|
id: string;
|
|
453
465
|
firstName: string;
|
|
@@ -472,39 +484,34 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
472
484
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
473
485
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
474
486
|
}, "strip", z.ZodTypeAny, {
|
|
475
|
-
createdAt: string;
|
|
476
|
-
updatedAt: string;
|
|
477
487
|
id: string;
|
|
478
488
|
email: string;
|
|
489
|
+
createdAt: string;
|
|
490
|
+
updatedAt: string;
|
|
479
491
|
collaborationId: string;
|
|
480
492
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
481
|
-
decision: "
|
|
493
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
482
494
|
isTermsAndConditionsConfirmed: boolean;
|
|
483
495
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
484
496
|
introductionEmailSent: boolean;
|
|
485
497
|
collaborationEmailSent: boolean;
|
|
486
498
|
clientContactId?: string | null | undefined;
|
|
487
499
|
collaboration?: {
|
|
500
|
+
id: string;
|
|
501
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
488
502
|
createdAt: string;
|
|
489
503
|
updatedAt: string;
|
|
490
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
491
|
-
id: string;
|
|
492
504
|
userId: string;
|
|
493
|
-
company?: {
|
|
494
|
-
createdAt: string;
|
|
495
|
-
updatedAt: string;
|
|
496
|
-
id: string;
|
|
497
|
-
name: string;
|
|
498
|
-
} | null | undefined;
|
|
499
505
|
client?: {
|
|
500
|
-
createdAt: string;
|
|
501
|
-
updatedAt: string;
|
|
502
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
503
506
|
id: string;
|
|
507
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
504
508
|
name: string;
|
|
505
|
-
crn: string;
|
|
509
|
+
crn: string | null;
|
|
506
510
|
govLink: string;
|
|
511
|
+
soleTrader: boolean;
|
|
507
512
|
director: string;
|
|
513
|
+
createdAt: string;
|
|
514
|
+
updatedAt: string;
|
|
508
515
|
blacklistReason?: string | null | undefined;
|
|
509
516
|
lastUpdatedBy?: {
|
|
510
517
|
id: string;
|
|
@@ -516,6 +523,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
516
523
|
agentId: string;
|
|
517
524
|
} | null | undefined;
|
|
518
525
|
} | null | undefined;
|
|
526
|
+
company?: {
|
|
527
|
+
id: string;
|
|
528
|
+
name: string;
|
|
529
|
+
createdAt: string;
|
|
530
|
+
updatedAt: string;
|
|
531
|
+
} | null | undefined;
|
|
519
532
|
user?: {
|
|
520
533
|
id: string;
|
|
521
534
|
firstName: string;
|
|
@@ -523,26 +536,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
523
536
|
email: string;
|
|
524
537
|
} | null | undefined;
|
|
525
538
|
newCollaboration?: {
|
|
539
|
+
id: string;
|
|
540
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
526
541
|
createdAt: string;
|
|
527
542
|
updatedAt: string;
|
|
528
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
529
|
-
id: string;
|
|
530
543
|
userId: string;
|
|
531
|
-
company?: {
|
|
532
|
-
createdAt: string;
|
|
533
|
-
updatedAt: string;
|
|
534
|
-
id: string;
|
|
535
|
-
name: string;
|
|
536
|
-
} | null | undefined;
|
|
537
544
|
client?: {
|
|
538
|
-
createdAt: string;
|
|
539
|
-
updatedAt: string;
|
|
540
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
541
545
|
id: string;
|
|
546
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
542
547
|
name: string;
|
|
543
|
-
crn: string;
|
|
548
|
+
crn: string | null;
|
|
544
549
|
govLink: string;
|
|
550
|
+
soleTrader: boolean;
|
|
545
551
|
director: string;
|
|
552
|
+
createdAt: string;
|
|
553
|
+
updatedAt: string;
|
|
546
554
|
blacklistReason?: string | null | undefined;
|
|
547
555
|
lastUpdatedBy?: {
|
|
548
556
|
id: string;
|
|
@@ -554,6 +562,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
554
562
|
agentId: string;
|
|
555
563
|
} | null | undefined;
|
|
556
564
|
} | null | undefined;
|
|
565
|
+
company?: {
|
|
566
|
+
id: string;
|
|
567
|
+
name: string;
|
|
568
|
+
createdAt: string;
|
|
569
|
+
updatedAt: string;
|
|
570
|
+
} | null | undefined;
|
|
557
571
|
user?: {
|
|
558
572
|
id: string;
|
|
559
573
|
firstName: string;
|
|
@@ -569,39 +583,34 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
569
583
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
570
584
|
checkingComment?: string | null | undefined;
|
|
571
585
|
}, {
|
|
572
|
-
createdAt: string | Date;
|
|
573
|
-
updatedAt: string | Date;
|
|
574
586
|
id: string;
|
|
575
587
|
email: string;
|
|
588
|
+
createdAt: string | Date;
|
|
589
|
+
updatedAt: string | Date;
|
|
576
590
|
collaborationId: string;
|
|
577
591
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
578
|
-
decision: "
|
|
592
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
579
593
|
isTermsAndConditionsConfirmed: boolean;
|
|
580
594
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
581
595
|
introductionEmailSent: boolean;
|
|
582
596
|
collaborationEmailSent: boolean;
|
|
583
597
|
clientContactId?: string | null | undefined;
|
|
584
598
|
collaboration?: {
|
|
599
|
+
id: string;
|
|
600
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
585
601
|
createdAt: string | Date;
|
|
586
602
|
updatedAt: string | Date;
|
|
587
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
588
|
-
id: string;
|
|
589
603
|
userId: string;
|
|
590
|
-
company?: {
|
|
591
|
-
createdAt: string | Date;
|
|
592
|
-
updatedAt: string | Date;
|
|
593
|
-
id: string;
|
|
594
|
-
name: string;
|
|
595
|
-
} | null | undefined;
|
|
596
604
|
client?: {
|
|
597
|
-
createdAt: string | Date;
|
|
598
|
-
updatedAt: string | Date;
|
|
599
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
600
605
|
id: string;
|
|
606
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
601
607
|
name: string;
|
|
602
|
-
crn: string;
|
|
608
|
+
crn: string | null;
|
|
603
609
|
govLink: string;
|
|
610
|
+
soleTrader: boolean;
|
|
604
611
|
director: string;
|
|
612
|
+
createdAt: string | Date;
|
|
613
|
+
updatedAt: string | Date;
|
|
605
614
|
blacklistReason?: string | null | undefined;
|
|
606
615
|
lastUpdatedBy?: {
|
|
607
616
|
id: string;
|
|
@@ -613,6 +622,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
613
622
|
agentId: string;
|
|
614
623
|
} | null | undefined;
|
|
615
624
|
} | null | undefined;
|
|
625
|
+
company?: {
|
|
626
|
+
id: string;
|
|
627
|
+
name: string;
|
|
628
|
+
createdAt: string | Date;
|
|
629
|
+
updatedAt: string | Date;
|
|
630
|
+
} | null | undefined;
|
|
616
631
|
user?: {
|
|
617
632
|
id: string;
|
|
618
633
|
firstName: string;
|
|
@@ -620,26 +635,21 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
620
635
|
email: string;
|
|
621
636
|
} | null | undefined;
|
|
622
637
|
newCollaboration?: {
|
|
638
|
+
id: string;
|
|
639
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
623
640
|
createdAt: string | Date;
|
|
624
641
|
updatedAt: string | Date;
|
|
625
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
626
|
-
id: string;
|
|
627
642
|
userId: string;
|
|
628
|
-
company?: {
|
|
629
|
-
createdAt: string | Date;
|
|
630
|
-
updatedAt: string | Date;
|
|
631
|
-
id: string;
|
|
632
|
-
name: string;
|
|
633
|
-
} | null | undefined;
|
|
634
643
|
client?: {
|
|
635
|
-
createdAt: string | Date;
|
|
636
|
-
updatedAt: string | Date;
|
|
637
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
638
644
|
id: string;
|
|
645
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
639
646
|
name: string;
|
|
640
|
-
crn: string;
|
|
647
|
+
crn: string | null;
|
|
641
648
|
govLink: string;
|
|
649
|
+
soleTrader: boolean;
|
|
642
650
|
director: string;
|
|
651
|
+
createdAt: string | Date;
|
|
652
|
+
updatedAt: string | Date;
|
|
643
653
|
blacklistReason?: string | null | undefined;
|
|
644
654
|
lastUpdatedBy?: {
|
|
645
655
|
id: string;
|
|
@@ -651,6 +661,12 @@ export declare const CollaborationCheckingSchema: z.ZodObject<{
|
|
|
651
661
|
agentId: string;
|
|
652
662
|
} | null | undefined;
|
|
653
663
|
} | null | undefined;
|
|
664
|
+
company?: {
|
|
665
|
+
id: string;
|
|
666
|
+
name: string;
|
|
667
|
+
createdAt: string | Date;
|
|
668
|
+
updatedAt: string | Date;
|
|
669
|
+
} | null | undefined;
|
|
654
670
|
user?: {
|
|
655
671
|
id: string;
|
|
656
672
|
firstName: string;
|
|
@@ -720,7 +736,7 @@ export declare const UpdateCollaborationCheckingSchema: z.ZodObject<{
|
|
|
720
736
|
email?: string | null | undefined;
|
|
721
737
|
clientContactId?: string | null | undefined;
|
|
722
738
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
|
|
723
|
-
decision?: "
|
|
739
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | null | undefined;
|
|
724
740
|
decisionComment?: string | null | undefined;
|
|
725
741
|
isTermsAndConditionsConfirmed?: boolean | null | undefined;
|
|
726
742
|
emailType?: "INTRODUCTION" | "COLLABORATION" | "BOTH" | null | undefined;
|
|
@@ -731,7 +747,7 @@ export declare const UpdateCollaborationCheckingSchema: z.ZodObject<{
|
|
|
731
747
|
email?: string | null | undefined;
|
|
732
748
|
clientContactId?: string | null | undefined;
|
|
733
749
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
|
|
734
|
-
decision?: "
|
|
750
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | null | undefined;
|
|
735
751
|
decisionComment?: string | null | undefined;
|
|
736
752
|
isTermsAndConditionsConfirmed?: boolean | null | undefined;
|
|
737
753
|
emailType?: "INTRODUCTION" | "COLLABORATION" | "BOTH" | null | undefined;
|
|
@@ -755,21 +771,21 @@ export declare const FilterCollaborationCheckingSchema: z.ZodObject<{
|
|
|
755
771
|
page: number;
|
|
756
772
|
sortBy: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp";
|
|
757
773
|
sortOrder: "ASC" | "DESC";
|
|
758
|
-
companyId?: string | undefined;
|
|
759
774
|
clientId?: string | undefined;
|
|
760
|
-
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
761
|
-
decision?: "REJECTED" | "APPROVED" | "PENDING" | undefined;
|
|
762
775
|
createdById?: string | undefined;
|
|
776
|
+
companyId?: string | undefined;
|
|
777
|
+
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
778
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | undefined;
|
|
763
779
|
}, {
|
|
764
780
|
limit?: number | undefined;
|
|
765
781
|
page?: number | undefined;
|
|
766
|
-
companyId?: string | undefined;
|
|
767
|
-
clientId?: string | undefined;
|
|
768
782
|
sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
|
|
769
783
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
770
|
-
|
|
771
|
-
decision?: "REJECTED" | "APPROVED" | "PENDING" | undefined;
|
|
784
|
+
clientId?: string | undefined;
|
|
772
785
|
createdById?: string | undefined;
|
|
786
|
+
companyId?: string | undefined;
|
|
787
|
+
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
788
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | undefined;
|
|
773
789
|
}>;
|
|
774
790
|
export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
775
791
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -784,21 +800,22 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
784
800
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
785
801
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
786
802
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
-
createdAt: string;
|
|
788
|
-
updatedAt: string;
|
|
789
803
|
id: string;
|
|
790
804
|
name: string;
|
|
805
|
+
createdAt: string;
|
|
806
|
+
updatedAt: string;
|
|
791
807
|
}, {
|
|
792
|
-
createdAt: string | Date;
|
|
793
|
-
updatedAt: string | Date;
|
|
794
808
|
id: string;
|
|
795
809
|
name: string;
|
|
810
|
+
createdAt: string | Date;
|
|
811
|
+
updatedAt: string | Date;
|
|
796
812
|
}>>>;
|
|
797
813
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
798
814
|
id: z.ZodString;
|
|
799
815
|
name: z.ZodString;
|
|
800
|
-
crn: z.ZodString
|
|
816
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
801
817
|
govLink: z.ZodString;
|
|
818
|
+
soleTrader: z.ZodBoolean;
|
|
802
819
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
803
820
|
director: z.ZodString;
|
|
804
821
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -828,14 +845,15 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
828
845
|
agentId: string;
|
|
829
846
|
}>>>;
|
|
830
847
|
}, "strip", z.ZodTypeAny, {
|
|
831
|
-
createdAt: string;
|
|
832
|
-
updatedAt: string;
|
|
833
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
834
848
|
id: string;
|
|
849
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
835
850
|
name: string;
|
|
836
|
-
crn: string;
|
|
851
|
+
crn: string | null;
|
|
837
852
|
govLink: string;
|
|
853
|
+
soleTrader: boolean;
|
|
838
854
|
director: string;
|
|
855
|
+
createdAt: string;
|
|
856
|
+
updatedAt: string;
|
|
839
857
|
blacklistReason?: string | null | undefined;
|
|
840
858
|
lastUpdatedBy?: {
|
|
841
859
|
id: string;
|
|
@@ -847,14 +865,15 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
847
865
|
agentId: string;
|
|
848
866
|
} | null | undefined;
|
|
849
867
|
}, {
|
|
850
|
-
createdAt: string | Date;
|
|
851
|
-
updatedAt: string | Date;
|
|
852
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
853
868
|
id: string;
|
|
869
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
854
870
|
name: string;
|
|
855
|
-
crn: string;
|
|
871
|
+
crn: string | null;
|
|
856
872
|
govLink: string;
|
|
873
|
+
soleTrader: boolean;
|
|
857
874
|
director: string;
|
|
875
|
+
createdAt: string | Date;
|
|
876
|
+
updatedAt: string | Date;
|
|
858
877
|
blacklistReason?: string | null | undefined;
|
|
859
878
|
lastUpdatedBy?: {
|
|
860
879
|
id: string;
|
|
@@ -895,21 +914,22 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
895
914
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
896
915
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
897
916
|
}, "strip", z.ZodTypeAny, {
|
|
917
|
+
id: string;
|
|
918
|
+
name: string;
|
|
898
919
|
createdAt: string;
|
|
899
920
|
updatedAt: string;
|
|
921
|
+
}, {
|
|
900
922
|
id: string;
|
|
901
923
|
name: string;
|
|
902
|
-
}, {
|
|
903
924
|
createdAt: string | Date;
|
|
904
925
|
updatedAt: string | Date;
|
|
905
|
-
id: string;
|
|
906
|
-
name: string;
|
|
907
926
|
}>>>;
|
|
908
927
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
909
928
|
id: z.ZodString;
|
|
910
929
|
name: z.ZodString;
|
|
911
|
-
crn: z.ZodString
|
|
930
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
912
931
|
govLink: z.ZodString;
|
|
932
|
+
soleTrader: z.ZodBoolean;
|
|
913
933
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
914
934
|
director: z.ZodString;
|
|
915
935
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -939,14 +959,15 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
939
959
|
agentId: string;
|
|
940
960
|
}>>>;
|
|
941
961
|
}, "strip", z.ZodTypeAny, {
|
|
942
|
-
createdAt: string;
|
|
943
|
-
updatedAt: string;
|
|
944
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
945
962
|
id: string;
|
|
963
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
946
964
|
name: string;
|
|
947
|
-
crn: string;
|
|
965
|
+
crn: string | null;
|
|
948
966
|
govLink: string;
|
|
967
|
+
soleTrader: boolean;
|
|
949
968
|
director: string;
|
|
969
|
+
createdAt: string;
|
|
970
|
+
updatedAt: string;
|
|
950
971
|
blacklistReason?: string | null | undefined;
|
|
951
972
|
lastUpdatedBy?: {
|
|
952
973
|
id: string;
|
|
@@ -958,14 +979,15 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
958
979
|
agentId: string;
|
|
959
980
|
} | null | undefined;
|
|
960
981
|
}, {
|
|
961
|
-
createdAt: string | Date;
|
|
962
|
-
updatedAt: string | Date;
|
|
963
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
964
982
|
id: string;
|
|
983
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
965
984
|
name: string;
|
|
966
|
-
crn: string;
|
|
985
|
+
crn: string | null;
|
|
967
986
|
govLink: string;
|
|
987
|
+
soleTrader: boolean;
|
|
968
988
|
director: string;
|
|
989
|
+
createdAt: string | Date;
|
|
990
|
+
updatedAt: string | Date;
|
|
969
991
|
blacklistReason?: string | null | undefined;
|
|
970
992
|
lastUpdatedBy?: {
|
|
971
993
|
id: string;
|
|
@@ -998,26 +1020,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
998
1020
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
999
1021
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1000
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
+
id: string;
|
|
1024
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1001
1025
|
createdAt: string;
|
|
1002
1026
|
updatedAt: string;
|
|
1003
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1004
|
-
id: string;
|
|
1005
1027
|
userId: string;
|
|
1006
|
-
company?: {
|
|
1007
|
-
createdAt: string;
|
|
1008
|
-
updatedAt: string;
|
|
1009
|
-
id: string;
|
|
1010
|
-
name: string;
|
|
1011
|
-
} | null | undefined;
|
|
1012
1028
|
client?: {
|
|
1013
|
-
createdAt: string;
|
|
1014
|
-
updatedAt: string;
|
|
1015
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1016
1029
|
id: string;
|
|
1030
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1017
1031
|
name: string;
|
|
1018
|
-
crn: string;
|
|
1032
|
+
crn: string | null;
|
|
1019
1033
|
govLink: string;
|
|
1034
|
+
soleTrader: boolean;
|
|
1020
1035
|
director: string;
|
|
1036
|
+
createdAt: string;
|
|
1037
|
+
updatedAt: string;
|
|
1021
1038
|
blacklistReason?: string | null | undefined;
|
|
1022
1039
|
lastUpdatedBy?: {
|
|
1023
1040
|
id: string;
|
|
@@ -1029,6 +1046,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1029
1046
|
agentId: string;
|
|
1030
1047
|
} | null | undefined;
|
|
1031
1048
|
} | null | undefined;
|
|
1049
|
+
company?: {
|
|
1050
|
+
id: string;
|
|
1051
|
+
name: string;
|
|
1052
|
+
createdAt: string;
|
|
1053
|
+
updatedAt: string;
|
|
1054
|
+
} | null | undefined;
|
|
1032
1055
|
user?: {
|
|
1033
1056
|
id: string;
|
|
1034
1057
|
firstName: string;
|
|
@@ -1036,26 +1059,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1036
1059
|
email: string;
|
|
1037
1060
|
} | null | undefined;
|
|
1038
1061
|
}, {
|
|
1062
|
+
id: string;
|
|
1063
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1039
1064
|
createdAt: string | Date;
|
|
1040
1065
|
updatedAt: string | Date;
|
|
1041
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1042
|
-
id: string;
|
|
1043
1066
|
userId: string;
|
|
1044
|
-
company?: {
|
|
1045
|
-
createdAt: string | Date;
|
|
1046
|
-
updatedAt: string | Date;
|
|
1047
|
-
id: string;
|
|
1048
|
-
name: string;
|
|
1049
|
-
} | null | undefined;
|
|
1050
1067
|
client?: {
|
|
1051
|
-
createdAt: string | Date;
|
|
1052
|
-
updatedAt: string | Date;
|
|
1053
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1054
1068
|
id: string;
|
|
1069
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1055
1070
|
name: string;
|
|
1056
|
-
crn: string;
|
|
1071
|
+
crn: string | null;
|
|
1057
1072
|
govLink: string;
|
|
1073
|
+
soleTrader: boolean;
|
|
1058
1074
|
director: string;
|
|
1075
|
+
createdAt: string | Date;
|
|
1076
|
+
updatedAt: string | Date;
|
|
1059
1077
|
blacklistReason?: string | null | undefined;
|
|
1060
1078
|
lastUpdatedBy?: {
|
|
1061
1079
|
id: string;
|
|
@@ -1067,6 +1085,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1067
1085
|
agentId: string;
|
|
1068
1086
|
} | null | undefined;
|
|
1069
1087
|
} | null | undefined;
|
|
1088
|
+
company?: {
|
|
1089
|
+
id: string;
|
|
1090
|
+
name: string;
|
|
1091
|
+
createdAt: string | Date;
|
|
1092
|
+
updatedAt: string | Date;
|
|
1093
|
+
} | null | undefined;
|
|
1070
1094
|
user?: {
|
|
1071
1095
|
id: string;
|
|
1072
1096
|
firstName: string;
|
|
@@ -1075,26 +1099,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1075
1099
|
} | null | undefined;
|
|
1076
1100
|
}>>>;
|
|
1077
1101
|
}, "strip", z.ZodTypeAny, {
|
|
1102
|
+
id: string;
|
|
1103
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1078
1104
|
createdAt: string;
|
|
1079
1105
|
updatedAt: string;
|
|
1080
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1081
|
-
id: string;
|
|
1082
1106
|
userId: string;
|
|
1083
|
-
company?: {
|
|
1084
|
-
createdAt: string;
|
|
1085
|
-
updatedAt: string;
|
|
1086
|
-
id: string;
|
|
1087
|
-
name: string;
|
|
1088
|
-
} | null | undefined;
|
|
1089
1107
|
client?: {
|
|
1090
|
-
createdAt: string;
|
|
1091
|
-
updatedAt: string;
|
|
1092
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1093
1108
|
id: string;
|
|
1109
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1094
1110
|
name: string;
|
|
1095
|
-
crn: string;
|
|
1111
|
+
crn: string | null;
|
|
1096
1112
|
govLink: string;
|
|
1113
|
+
soleTrader: boolean;
|
|
1097
1114
|
director: string;
|
|
1115
|
+
createdAt: string;
|
|
1116
|
+
updatedAt: string;
|
|
1098
1117
|
blacklistReason?: string | null | undefined;
|
|
1099
1118
|
lastUpdatedBy?: {
|
|
1100
1119
|
id: string;
|
|
@@ -1106,6 +1125,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1106
1125
|
agentId: string;
|
|
1107
1126
|
} | null | undefined;
|
|
1108
1127
|
} | null | undefined;
|
|
1128
|
+
company?: {
|
|
1129
|
+
id: string;
|
|
1130
|
+
name: string;
|
|
1131
|
+
createdAt: string;
|
|
1132
|
+
updatedAt: string;
|
|
1133
|
+
} | null | undefined;
|
|
1109
1134
|
user?: {
|
|
1110
1135
|
id: string;
|
|
1111
1136
|
firstName: string;
|
|
@@ -1113,26 +1138,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1113
1138
|
email: string;
|
|
1114
1139
|
} | null | undefined;
|
|
1115
1140
|
newCollaboration?: {
|
|
1141
|
+
id: string;
|
|
1142
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1116
1143
|
createdAt: string;
|
|
1117
1144
|
updatedAt: string;
|
|
1118
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1119
|
-
id: string;
|
|
1120
1145
|
userId: string;
|
|
1121
|
-
company?: {
|
|
1122
|
-
createdAt: string;
|
|
1123
|
-
updatedAt: string;
|
|
1124
|
-
id: string;
|
|
1125
|
-
name: string;
|
|
1126
|
-
} | null | undefined;
|
|
1127
1146
|
client?: {
|
|
1128
|
-
createdAt: string;
|
|
1129
|
-
updatedAt: string;
|
|
1130
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1131
1147
|
id: string;
|
|
1148
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1132
1149
|
name: string;
|
|
1133
|
-
crn: string;
|
|
1150
|
+
crn: string | null;
|
|
1134
1151
|
govLink: string;
|
|
1152
|
+
soleTrader: boolean;
|
|
1135
1153
|
director: string;
|
|
1154
|
+
createdAt: string;
|
|
1155
|
+
updatedAt: string;
|
|
1136
1156
|
blacklistReason?: string | null | undefined;
|
|
1137
1157
|
lastUpdatedBy?: {
|
|
1138
1158
|
id: string;
|
|
@@ -1144,6 +1164,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1144
1164
|
agentId: string;
|
|
1145
1165
|
} | null | undefined;
|
|
1146
1166
|
} | null | undefined;
|
|
1167
|
+
company?: {
|
|
1168
|
+
id: string;
|
|
1169
|
+
name: string;
|
|
1170
|
+
createdAt: string;
|
|
1171
|
+
updatedAt: string;
|
|
1172
|
+
} | null | undefined;
|
|
1147
1173
|
user?: {
|
|
1148
1174
|
id: string;
|
|
1149
1175
|
firstName: string;
|
|
@@ -1152,26 +1178,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1152
1178
|
} | null | undefined;
|
|
1153
1179
|
} | null | undefined;
|
|
1154
1180
|
}, {
|
|
1181
|
+
id: string;
|
|
1182
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1155
1183
|
createdAt: string | Date;
|
|
1156
1184
|
updatedAt: string | Date;
|
|
1157
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1158
|
-
id: string;
|
|
1159
1185
|
userId: string;
|
|
1160
|
-
company?: {
|
|
1161
|
-
createdAt: string | Date;
|
|
1162
|
-
updatedAt: string | Date;
|
|
1163
|
-
id: string;
|
|
1164
|
-
name: string;
|
|
1165
|
-
} | null | undefined;
|
|
1166
1186
|
client?: {
|
|
1167
|
-
createdAt: string | Date;
|
|
1168
|
-
updatedAt: string | Date;
|
|
1169
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1170
1187
|
id: string;
|
|
1188
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1171
1189
|
name: string;
|
|
1172
|
-
crn: string;
|
|
1190
|
+
crn: string | null;
|
|
1173
1191
|
govLink: string;
|
|
1192
|
+
soleTrader: boolean;
|
|
1174
1193
|
director: string;
|
|
1194
|
+
createdAt: string | Date;
|
|
1195
|
+
updatedAt: string | Date;
|
|
1175
1196
|
blacklistReason?: string | null | undefined;
|
|
1176
1197
|
lastUpdatedBy?: {
|
|
1177
1198
|
id: string;
|
|
@@ -1183,6 +1204,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1183
1204
|
agentId: string;
|
|
1184
1205
|
} | null | undefined;
|
|
1185
1206
|
} | null | undefined;
|
|
1207
|
+
company?: {
|
|
1208
|
+
id: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
createdAt: string | Date;
|
|
1211
|
+
updatedAt: string | Date;
|
|
1212
|
+
} | null | undefined;
|
|
1186
1213
|
user?: {
|
|
1187
1214
|
id: string;
|
|
1188
1215
|
firstName: string;
|
|
@@ -1190,26 +1217,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1190
1217
|
email: string;
|
|
1191
1218
|
} | null | undefined;
|
|
1192
1219
|
newCollaboration?: {
|
|
1220
|
+
id: string;
|
|
1221
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1193
1222
|
createdAt: string | Date;
|
|
1194
1223
|
updatedAt: string | Date;
|
|
1195
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1196
|
-
id: string;
|
|
1197
1224
|
userId: string;
|
|
1198
|
-
company?: {
|
|
1199
|
-
createdAt: string | Date;
|
|
1200
|
-
updatedAt: string | Date;
|
|
1201
|
-
id: string;
|
|
1202
|
-
name: string;
|
|
1203
|
-
} | null | undefined;
|
|
1204
1225
|
client?: {
|
|
1205
|
-
createdAt: string | Date;
|
|
1206
|
-
updatedAt: string | Date;
|
|
1207
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1208
1226
|
id: string;
|
|
1227
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1209
1228
|
name: string;
|
|
1210
|
-
crn: string;
|
|
1229
|
+
crn: string | null;
|
|
1211
1230
|
govLink: string;
|
|
1231
|
+
soleTrader: boolean;
|
|
1212
1232
|
director: string;
|
|
1233
|
+
createdAt: string | Date;
|
|
1234
|
+
updatedAt: string | Date;
|
|
1213
1235
|
blacklistReason?: string | null | undefined;
|
|
1214
1236
|
lastUpdatedBy?: {
|
|
1215
1237
|
id: string;
|
|
@@ -1221,6 +1243,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1221
1243
|
agentId: string;
|
|
1222
1244
|
} | null | undefined;
|
|
1223
1245
|
} | null | undefined;
|
|
1246
|
+
company?: {
|
|
1247
|
+
id: string;
|
|
1248
|
+
name: string;
|
|
1249
|
+
createdAt: string | Date;
|
|
1250
|
+
updatedAt: string | Date;
|
|
1251
|
+
} | null | undefined;
|
|
1224
1252
|
user?: {
|
|
1225
1253
|
id: string;
|
|
1226
1254
|
firstName: string;
|
|
@@ -1245,39 +1273,34 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1245
1273
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1246
1274
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1247
1275
|
}, "strip", z.ZodTypeAny, {
|
|
1248
|
-
createdAt: string;
|
|
1249
|
-
updatedAt: string;
|
|
1250
1276
|
id: string;
|
|
1251
1277
|
email: string;
|
|
1278
|
+
createdAt: string;
|
|
1279
|
+
updatedAt: string;
|
|
1252
1280
|
collaborationId: string;
|
|
1253
1281
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
1254
|
-
decision: "
|
|
1282
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
1255
1283
|
isTermsAndConditionsConfirmed: boolean;
|
|
1256
1284
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
1257
1285
|
introductionEmailSent: boolean;
|
|
1258
1286
|
collaborationEmailSent: boolean;
|
|
1259
1287
|
clientContactId?: string | null | undefined;
|
|
1260
1288
|
collaboration?: {
|
|
1289
|
+
id: string;
|
|
1290
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1261
1291
|
createdAt: string;
|
|
1262
1292
|
updatedAt: string;
|
|
1263
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1264
|
-
id: string;
|
|
1265
1293
|
userId: string;
|
|
1266
|
-
company?: {
|
|
1267
|
-
createdAt: string;
|
|
1268
|
-
updatedAt: string;
|
|
1269
|
-
id: string;
|
|
1270
|
-
name: string;
|
|
1271
|
-
} | null | undefined;
|
|
1272
1294
|
client?: {
|
|
1273
|
-
createdAt: string;
|
|
1274
|
-
updatedAt: string;
|
|
1275
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1276
1295
|
id: string;
|
|
1296
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1277
1297
|
name: string;
|
|
1278
|
-
crn: string;
|
|
1298
|
+
crn: string | null;
|
|
1279
1299
|
govLink: string;
|
|
1300
|
+
soleTrader: boolean;
|
|
1280
1301
|
director: string;
|
|
1302
|
+
createdAt: string;
|
|
1303
|
+
updatedAt: string;
|
|
1281
1304
|
blacklistReason?: string | null | undefined;
|
|
1282
1305
|
lastUpdatedBy?: {
|
|
1283
1306
|
id: string;
|
|
@@ -1289,6 +1312,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1289
1312
|
agentId: string;
|
|
1290
1313
|
} | null | undefined;
|
|
1291
1314
|
} | null | undefined;
|
|
1315
|
+
company?: {
|
|
1316
|
+
id: string;
|
|
1317
|
+
name: string;
|
|
1318
|
+
createdAt: string;
|
|
1319
|
+
updatedAt: string;
|
|
1320
|
+
} | null | undefined;
|
|
1292
1321
|
user?: {
|
|
1293
1322
|
id: string;
|
|
1294
1323
|
firstName: string;
|
|
@@ -1296,26 +1325,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1296
1325
|
email: string;
|
|
1297
1326
|
} | null | undefined;
|
|
1298
1327
|
newCollaboration?: {
|
|
1328
|
+
id: string;
|
|
1329
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1299
1330
|
createdAt: string;
|
|
1300
1331
|
updatedAt: string;
|
|
1301
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1302
|
-
id: string;
|
|
1303
1332
|
userId: string;
|
|
1304
|
-
company?: {
|
|
1305
|
-
createdAt: string;
|
|
1306
|
-
updatedAt: string;
|
|
1307
|
-
id: string;
|
|
1308
|
-
name: string;
|
|
1309
|
-
} | null | undefined;
|
|
1310
1333
|
client?: {
|
|
1311
|
-
createdAt: string;
|
|
1312
|
-
updatedAt: string;
|
|
1313
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1314
1334
|
id: string;
|
|
1335
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1315
1336
|
name: string;
|
|
1316
|
-
crn: string;
|
|
1337
|
+
crn: string | null;
|
|
1317
1338
|
govLink: string;
|
|
1339
|
+
soleTrader: boolean;
|
|
1318
1340
|
director: string;
|
|
1341
|
+
createdAt: string;
|
|
1342
|
+
updatedAt: string;
|
|
1319
1343
|
blacklistReason?: string | null | undefined;
|
|
1320
1344
|
lastUpdatedBy?: {
|
|
1321
1345
|
id: string;
|
|
@@ -1327,6 +1351,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1327
1351
|
agentId: string;
|
|
1328
1352
|
} | null | undefined;
|
|
1329
1353
|
} | null | undefined;
|
|
1354
|
+
company?: {
|
|
1355
|
+
id: string;
|
|
1356
|
+
name: string;
|
|
1357
|
+
createdAt: string;
|
|
1358
|
+
updatedAt: string;
|
|
1359
|
+
} | null | undefined;
|
|
1330
1360
|
user?: {
|
|
1331
1361
|
id: string;
|
|
1332
1362
|
firstName: string;
|
|
@@ -1342,39 +1372,34 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1342
1372
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
1343
1373
|
checkingComment?: string | null | undefined;
|
|
1344
1374
|
}, {
|
|
1345
|
-
createdAt: string | Date;
|
|
1346
|
-
updatedAt: string | Date;
|
|
1347
1375
|
id: string;
|
|
1348
1376
|
email: string;
|
|
1377
|
+
createdAt: string | Date;
|
|
1378
|
+
updatedAt: string | Date;
|
|
1349
1379
|
collaborationId: string;
|
|
1350
1380
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
1351
|
-
decision: "
|
|
1381
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
1352
1382
|
isTermsAndConditionsConfirmed: boolean;
|
|
1353
1383
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
1354
1384
|
introductionEmailSent: boolean;
|
|
1355
1385
|
collaborationEmailSent: boolean;
|
|
1356
1386
|
clientContactId?: string | null | undefined;
|
|
1357
1387
|
collaboration?: {
|
|
1388
|
+
id: string;
|
|
1389
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1358
1390
|
createdAt: string | Date;
|
|
1359
1391
|
updatedAt: string | Date;
|
|
1360
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1361
|
-
id: string;
|
|
1362
1392
|
userId: string;
|
|
1363
|
-
company?: {
|
|
1364
|
-
createdAt: string | Date;
|
|
1365
|
-
updatedAt: string | Date;
|
|
1366
|
-
id: string;
|
|
1367
|
-
name: string;
|
|
1368
|
-
} | null | undefined;
|
|
1369
1393
|
client?: {
|
|
1370
|
-
createdAt: string | Date;
|
|
1371
|
-
updatedAt: string | Date;
|
|
1372
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1373
1394
|
id: string;
|
|
1395
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1374
1396
|
name: string;
|
|
1375
|
-
crn: string;
|
|
1397
|
+
crn: string | null;
|
|
1376
1398
|
govLink: string;
|
|
1399
|
+
soleTrader: boolean;
|
|
1377
1400
|
director: string;
|
|
1401
|
+
createdAt: string | Date;
|
|
1402
|
+
updatedAt: string | Date;
|
|
1378
1403
|
blacklistReason?: string | null | undefined;
|
|
1379
1404
|
lastUpdatedBy?: {
|
|
1380
1405
|
id: string;
|
|
@@ -1386,6 +1411,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1386
1411
|
agentId: string;
|
|
1387
1412
|
} | null | undefined;
|
|
1388
1413
|
} | null | undefined;
|
|
1414
|
+
company?: {
|
|
1415
|
+
id: string;
|
|
1416
|
+
name: string;
|
|
1417
|
+
createdAt: string | Date;
|
|
1418
|
+
updatedAt: string | Date;
|
|
1419
|
+
} | null | undefined;
|
|
1389
1420
|
user?: {
|
|
1390
1421
|
id: string;
|
|
1391
1422
|
firstName: string;
|
|
@@ -1393,26 +1424,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1393
1424
|
email: string;
|
|
1394
1425
|
} | null | undefined;
|
|
1395
1426
|
newCollaboration?: {
|
|
1427
|
+
id: string;
|
|
1428
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1396
1429
|
createdAt: string | Date;
|
|
1397
1430
|
updatedAt: string | Date;
|
|
1398
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1399
|
-
id: string;
|
|
1400
1431
|
userId: string;
|
|
1401
|
-
company?: {
|
|
1402
|
-
createdAt: string | Date;
|
|
1403
|
-
updatedAt: string | Date;
|
|
1404
|
-
id: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
} | null | undefined;
|
|
1407
1432
|
client?: {
|
|
1408
|
-
createdAt: string | Date;
|
|
1409
|
-
updatedAt: string | Date;
|
|
1410
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1411
1433
|
id: string;
|
|
1434
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1412
1435
|
name: string;
|
|
1413
|
-
crn: string;
|
|
1436
|
+
crn: string | null;
|
|
1414
1437
|
govLink: string;
|
|
1438
|
+
soleTrader: boolean;
|
|
1415
1439
|
director: string;
|
|
1440
|
+
createdAt: string | Date;
|
|
1441
|
+
updatedAt: string | Date;
|
|
1416
1442
|
blacklistReason?: string | null | undefined;
|
|
1417
1443
|
lastUpdatedBy?: {
|
|
1418
1444
|
id: string;
|
|
@@ -1424,6 +1450,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1424
1450
|
agentId: string;
|
|
1425
1451
|
} | null | undefined;
|
|
1426
1452
|
} | null | undefined;
|
|
1453
|
+
company?: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
name: string;
|
|
1456
|
+
createdAt: string | Date;
|
|
1457
|
+
updatedAt: string | Date;
|
|
1458
|
+
} | null | undefined;
|
|
1427
1459
|
user?: {
|
|
1428
1460
|
id: string;
|
|
1429
1461
|
firstName: string;
|
|
@@ -1447,39 +1479,34 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1447
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1448
1480
|
limit: number;
|
|
1449
1481
|
items: {
|
|
1450
|
-
createdAt: string;
|
|
1451
|
-
updatedAt: string;
|
|
1452
1482
|
id: string;
|
|
1453
1483
|
email: string;
|
|
1484
|
+
createdAt: string;
|
|
1485
|
+
updatedAt: string;
|
|
1454
1486
|
collaborationId: string;
|
|
1455
1487
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
1456
|
-
decision: "
|
|
1488
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
1457
1489
|
isTermsAndConditionsConfirmed: boolean;
|
|
1458
1490
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
1459
1491
|
introductionEmailSent: boolean;
|
|
1460
1492
|
collaborationEmailSent: boolean;
|
|
1461
1493
|
clientContactId?: string | null | undefined;
|
|
1462
1494
|
collaboration?: {
|
|
1495
|
+
id: string;
|
|
1496
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1463
1497
|
createdAt: string;
|
|
1464
1498
|
updatedAt: string;
|
|
1465
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1466
|
-
id: string;
|
|
1467
1499
|
userId: string;
|
|
1468
|
-
|
|
1469
|
-
createdAt: string;
|
|
1470
|
-
updatedAt: string;
|
|
1500
|
+
client?: {
|
|
1471
1501
|
id: string;
|
|
1502
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1472
1503
|
name: string;
|
|
1473
|
-
|
|
1474
|
-
client?: {
|
|
1475
|
-
createdAt: string;
|
|
1476
|
-
updatedAt: string;
|
|
1477
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1478
|
-
id: string;
|
|
1479
|
-
name: string;
|
|
1480
|
-
crn: string;
|
|
1504
|
+
crn: string | null;
|
|
1481
1505
|
govLink: string;
|
|
1506
|
+
soleTrader: boolean;
|
|
1482
1507
|
director: string;
|
|
1508
|
+
createdAt: string;
|
|
1509
|
+
updatedAt: string;
|
|
1483
1510
|
blacklistReason?: string | null | undefined;
|
|
1484
1511
|
lastUpdatedBy?: {
|
|
1485
1512
|
id: string;
|
|
@@ -1491,6 +1518,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1491
1518
|
agentId: string;
|
|
1492
1519
|
} | null | undefined;
|
|
1493
1520
|
} | null | undefined;
|
|
1521
|
+
company?: {
|
|
1522
|
+
id: string;
|
|
1523
|
+
name: string;
|
|
1524
|
+
createdAt: string;
|
|
1525
|
+
updatedAt: string;
|
|
1526
|
+
} | null | undefined;
|
|
1494
1527
|
user?: {
|
|
1495
1528
|
id: string;
|
|
1496
1529
|
firstName: string;
|
|
@@ -1498,26 +1531,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1498
1531
|
email: string;
|
|
1499
1532
|
} | null | undefined;
|
|
1500
1533
|
newCollaboration?: {
|
|
1534
|
+
id: string;
|
|
1535
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1501
1536
|
createdAt: string;
|
|
1502
1537
|
updatedAt: string;
|
|
1503
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1504
|
-
id: string;
|
|
1505
1538
|
userId: string;
|
|
1506
|
-
company?: {
|
|
1507
|
-
createdAt: string;
|
|
1508
|
-
updatedAt: string;
|
|
1509
|
-
id: string;
|
|
1510
|
-
name: string;
|
|
1511
|
-
} | null | undefined;
|
|
1512
1539
|
client?: {
|
|
1513
|
-
createdAt: string;
|
|
1514
|
-
updatedAt: string;
|
|
1515
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1516
1540
|
id: string;
|
|
1541
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1517
1542
|
name: string;
|
|
1518
|
-
crn: string;
|
|
1543
|
+
crn: string | null;
|
|
1519
1544
|
govLink: string;
|
|
1545
|
+
soleTrader: boolean;
|
|
1520
1546
|
director: string;
|
|
1547
|
+
createdAt: string;
|
|
1548
|
+
updatedAt: string;
|
|
1521
1549
|
blacklistReason?: string | null | undefined;
|
|
1522
1550
|
lastUpdatedBy?: {
|
|
1523
1551
|
id: string;
|
|
@@ -1529,6 +1557,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1529
1557
|
agentId: string;
|
|
1530
1558
|
} | null | undefined;
|
|
1531
1559
|
} | null | undefined;
|
|
1560
|
+
company?: {
|
|
1561
|
+
id: string;
|
|
1562
|
+
name: string;
|
|
1563
|
+
createdAt: string;
|
|
1564
|
+
updatedAt: string;
|
|
1565
|
+
} | null | undefined;
|
|
1532
1566
|
user?: {
|
|
1533
1567
|
id: string;
|
|
1534
1568
|
firstName: string;
|
|
@@ -1551,39 +1585,34 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1551
1585
|
}, {
|
|
1552
1586
|
limit: number;
|
|
1553
1587
|
items: {
|
|
1554
|
-
createdAt: string | Date;
|
|
1555
|
-
updatedAt: string | Date;
|
|
1556
1588
|
id: string;
|
|
1557
1589
|
email: string;
|
|
1590
|
+
createdAt: string | Date;
|
|
1591
|
+
updatedAt: string | Date;
|
|
1558
1592
|
collaborationId: string;
|
|
1559
1593
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
1560
|
-
decision: "
|
|
1594
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
1561
1595
|
isTermsAndConditionsConfirmed: boolean;
|
|
1562
1596
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
1563
1597
|
introductionEmailSent: boolean;
|
|
1564
1598
|
collaborationEmailSent: boolean;
|
|
1565
1599
|
clientContactId?: string | null | undefined;
|
|
1566
1600
|
collaboration?: {
|
|
1601
|
+
id: string;
|
|
1602
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1567
1603
|
createdAt: string | Date;
|
|
1568
1604
|
updatedAt: string | Date;
|
|
1569
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1570
|
-
id: string;
|
|
1571
1605
|
userId: string;
|
|
1572
|
-
company?: {
|
|
1573
|
-
createdAt: string | Date;
|
|
1574
|
-
updatedAt: string | Date;
|
|
1575
|
-
id: string;
|
|
1576
|
-
name: string;
|
|
1577
|
-
} | null | undefined;
|
|
1578
1606
|
client?: {
|
|
1579
|
-
createdAt: string | Date;
|
|
1580
|
-
updatedAt: string | Date;
|
|
1581
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1582
1607
|
id: string;
|
|
1608
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1583
1609
|
name: string;
|
|
1584
|
-
crn: string;
|
|
1610
|
+
crn: string | null;
|
|
1585
1611
|
govLink: string;
|
|
1612
|
+
soleTrader: boolean;
|
|
1586
1613
|
director: string;
|
|
1614
|
+
createdAt: string | Date;
|
|
1615
|
+
updatedAt: string | Date;
|
|
1587
1616
|
blacklistReason?: string | null | undefined;
|
|
1588
1617
|
lastUpdatedBy?: {
|
|
1589
1618
|
id: string;
|
|
@@ -1595,6 +1624,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1595
1624
|
agentId: string;
|
|
1596
1625
|
} | null | undefined;
|
|
1597
1626
|
} | null | undefined;
|
|
1627
|
+
company?: {
|
|
1628
|
+
id: string;
|
|
1629
|
+
name: string;
|
|
1630
|
+
createdAt: string | Date;
|
|
1631
|
+
updatedAt: string | Date;
|
|
1632
|
+
} | null | undefined;
|
|
1598
1633
|
user?: {
|
|
1599
1634
|
id: string;
|
|
1600
1635
|
firstName: string;
|
|
@@ -1602,26 +1637,21 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1602
1637
|
email: string;
|
|
1603
1638
|
} | null | undefined;
|
|
1604
1639
|
newCollaboration?: {
|
|
1640
|
+
id: string;
|
|
1641
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1605
1642
|
createdAt: string | Date;
|
|
1606
1643
|
updatedAt: string | Date;
|
|
1607
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1608
|
-
id: string;
|
|
1609
1644
|
userId: string;
|
|
1610
|
-
company?: {
|
|
1611
|
-
createdAt: string | Date;
|
|
1612
|
-
updatedAt: string | Date;
|
|
1613
|
-
id: string;
|
|
1614
|
-
name: string;
|
|
1615
|
-
} | null | undefined;
|
|
1616
1645
|
client?: {
|
|
1617
|
-
createdAt: string | Date;
|
|
1618
|
-
updatedAt: string | Date;
|
|
1619
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1620
1646
|
id: string;
|
|
1647
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1621
1648
|
name: string;
|
|
1622
|
-
crn: string;
|
|
1649
|
+
crn: string | null;
|
|
1623
1650
|
govLink: string;
|
|
1651
|
+
soleTrader: boolean;
|
|
1624
1652
|
director: string;
|
|
1653
|
+
createdAt: string | Date;
|
|
1654
|
+
updatedAt: string | Date;
|
|
1625
1655
|
blacklistReason?: string | null | undefined;
|
|
1626
1656
|
lastUpdatedBy?: {
|
|
1627
1657
|
id: string;
|
|
@@ -1633,6 +1663,12 @@ export declare const PaginatedCollaborationCheckingResponseSchema: z.ZodObject<{
|
|
|
1633
1663
|
agentId: string;
|
|
1634
1664
|
} | null | undefined;
|
|
1635
1665
|
} | null | undefined;
|
|
1666
|
+
company?: {
|
|
1667
|
+
id: string;
|
|
1668
|
+
name: string;
|
|
1669
|
+
createdAt: string | Date;
|
|
1670
|
+
updatedAt: string | Date;
|
|
1671
|
+
} | null | undefined;
|
|
1636
1672
|
user?: {
|
|
1637
1673
|
id: string;
|
|
1638
1674
|
firstName: string;
|
|
@@ -1821,21 +1857,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
1821
1857
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1822
1858
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1823
1859
|
}, "strip", z.ZodTypeAny, {
|
|
1860
|
+
id: string;
|
|
1861
|
+
name: string;
|
|
1824
1862
|
createdAt: string;
|
|
1825
1863
|
updatedAt: string;
|
|
1864
|
+
}, {
|
|
1826
1865
|
id: string;
|
|
1827
1866
|
name: string;
|
|
1828
|
-
}, {
|
|
1829
1867
|
createdAt: string | Date;
|
|
1830
1868
|
updatedAt: string | Date;
|
|
1831
|
-
id: string;
|
|
1832
|
-
name: string;
|
|
1833
1869
|
}>>>;
|
|
1834
1870
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1835
1871
|
id: z.ZodString;
|
|
1836
1872
|
name: z.ZodString;
|
|
1837
|
-
crn: z.ZodString
|
|
1873
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1838
1874
|
govLink: z.ZodString;
|
|
1875
|
+
soleTrader: z.ZodBoolean;
|
|
1839
1876
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1840
1877
|
director: z.ZodString;
|
|
1841
1878
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1865,14 +1902,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
1865
1902
|
agentId: string;
|
|
1866
1903
|
}>>>;
|
|
1867
1904
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
createdAt: string;
|
|
1869
|
-
updatedAt: string;
|
|
1870
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1871
1905
|
id: string;
|
|
1906
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1872
1907
|
name: string;
|
|
1873
|
-
crn: string;
|
|
1908
|
+
crn: string | null;
|
|
1874
1909
|
govLink: string;
|
|
1910
|
+
soleTrader: boolean;
|
|
1875
1911
|
director: string;
|
|
1912
|
+
createdAt: string;
|
|
1913
|
+
updatedAt: string;
|
|
1876
1914
|
blacklistReason?: string | null | undefined;
|
|
1877
1915
|
lastUpdatedBy?: {
|
|
1878
1916
|
id: string;
|
|
@@ -1884,14 +1922,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
1884
1922
|
agentId: string;
|
|
1885
1923
|
} | null | undefined;
|
|
1886
1924
|
}, {
|
|
1887
|
-
createdAt: string | Date;
|
|
1888
|
-
updatedAt: string | Date;
|
|
1889
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1890
1925
|
id: string;
|
|
1926
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1891
1927
|
name: string;
|
|
1892
|
-
crn: string;
|
|
1928
|
+
crn: string | null;
|
|
1893
1929
|
govLink: string;
|
|
1930
|
+
soleTrader: boolean;
|
|
1894
1931
|
director: string;
|
|
1932
|
+
createdAt: string | Date;
|
|
1933
|
+
updatedAt: string | Date;
|
|
1895
1934
|
blacklistReason?: string | null | undefined;
|
|
1896
1935
|
lastUpdatedBy?: {
|
|
1897
1936
|
id: string;
|
|
@@ -1932,21 +1971,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
1932
1971
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1933
1972
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1934
1973
|
}, "strip", z.ZodTypeAny, {
|
|
1974
|
+
id: string;
|
|
1975
|
+
name: string;
|
|
1935
1976
|
createdAt: string;
|
|
1936
1977
|
updatedAt: string;
|
|
1978
|
+
}, {
|
|
1937
1979
|
id: string;
|
|
1938
1980
|
name: string;
|
|
1939
|
-
}, {
|
|
1940
1981
|
createdAt: string | Date;
|
|
1941
1982
|
updatedAt: string | Date;
|
|
1942
|
-
id: string;
|
|
1943
|
-
name: string;
|
|
1944
1983
|
}>>>;
|
|
1945
1984
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1946
1985
|
id: z.ZodString;
|
|
1947
1986
|
name: z.ZodString;
|
|
1948
|
-
crn: z.ZodString
|
|
1987
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1949
1988
|
govLink: z.ZodString;
|
|
1989
|
+
soleTrader: z.ZodBoolean;
|
|
1950
1990
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1951
1991
|
director: z.ZodString;
|
|
1952
1992
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1976,14 +2016,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
1976
2016
|
agentId: string;
|
|
1977
2017
|
}>>>;
|
|
1978
2018
|
}, "strip", z.ZodTypeAny, {
|
|
1979
|
-
createdAt: string;
|
|
1980
|
-
updatedAt: string;
|
|
1981
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1982
2019
|
id: string;
|
|
2020
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1983
2021
|
name: string;
|
|
1984
|
-
crn: string;
|
|
2022
|
+
crn: string | null;
|
|
1985
2023
|
govLink: string;
|
|
2024
|
+
soleTrader: boolean;
|
|
1986
2025
|
director: string;
|
|
2026
|
+
createdAt: string;
|
|
2027
|
+
updatedAt: string;
|
|
1987
2028
|
blacklistReason?: string | null | undefined;
|
|
1988
2029
|
lastUpdatedBy?: {
|
|
1989
2030
|
id: string;
|
|
@@ -1995,14 +2036,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
1995
2036
|
agentId: string;
|
|
1996
2037
|
} | null | undefined;
|
|
1997
2038
|
}, {
|
|
1998
|
-
createdAt: string | Date;
|
|
1999
|
-
updatedAt: string | Date;
|
|
2000
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2001
2039
|
id: string;
|
|
2040
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2002
2041
|
name: string;
|
|
2003
|
-
crn: string;
|
|
2042
|
+
crn: string | null;
|
|
2004
2043
|
govLink: string;
|
|
2044
|
+
soleTrader: boolean;
|
|
2005
2045
|
director: string;
|
|
2046
|
+
createdAt: string | Date;
|
|
2047
|
+
updatedAt: string | Date;
|
|
2006
2048
|
blacklistReason?: string | null | undefined;
|
|
2007
2049
|
lastUpdatedBy?: {
|
|
2008
2050
|
id: string;
|
|
@@ -2035,26 +2077,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2035
2077
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2036
2078
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2037
2079
|
}, "strip", z.ZodTypeAny, {
|
|
2080
|
+
id: string;
|
|
2081
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2038
2082
|
createdAt: string;
|
|
2039
2083
|
updatedAt: string;
|
|
2040
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2041
|
-
id: string;
|
|
2042
2084
|
userId: string;
|
|
2043
|
-
company?: {
|
|
2044
|
-
createdAt: string;
|
|
2045
|
-
updatedAt: string;
|
|
2046
|
-
id: string;
|
|
2047
|
-
name: string;
|
|
2048
|
-
} | null | undefined;
|
|
2049
2085
|
client?: {
|
|
2050
|
-
createdAt: string;
|
|
2051
|
-
updatedAt: string;
|
|
2052
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2053
2086
|
id: string;
|
|
2087
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2054
2088
|
name: string;
|
|
2055
|
-
crn: string;
|
|
2089
|
+
crn: string | null;
|
|
2056
2090
|
govLink: string;
|
|
2091
|
+
soleTrader: boolean;
|
|
2057
2092
|
director: string;
|
|
2093
|
+
createdAt: string;
|
|
2094
|
+
updatedAt: string;
|
|
2058
2095
|
blacklistReason?: string | null | undefined;
|
|
2059
2096
|
lastUpdatedBy?: {
|
|
2060
2097
|
id: string;
|
|
@@ -2066,6 +2103,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2066
2103
|
agentId: string;
|
|
2067
2104
|
} | null | undefined;
|
|
2068
2105
|
} | null | undefined;
|
|
2106
|
+
company?: {
|
|
2107
|
+
id: string;
|
|
2108
|
+
name: string;
|
|
2109
|
+
createdAt: string;
|
|
2110
|
+
updatedAt: string;
|
|
2111
|
+
} | null | undefined;
|
|
2069
2112
|
user?: {
|
|
2070
2113
|
id: string;
|
|
2071
2114
|
firstName: string;
|
|
@@ -2073,26 +2116,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2073
2116
|
email: string;
|
|
2074
2117
|
} | null | undefined;
|
|
2075
2118
|
}, {
|
|
2119
|
+
id: string;
|
|
2120
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2076
2121
|
createdAt: string | Date;
|
|
2077
2122
|
updatedAt: string | Date;
|
|
2078
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2079
|
-
id: string;
|
|
2080
2123
|
userId: string;
|
|
2081
|
-
company?: {
|
|
2082
|
-
createdAt: string | Date;
|
|
2083
|
-
updatedAt: string | Date;
|
|
2084
|
-
id: string;
|
|
2085
|
-
name: string;
|
|
2086
|
-
} | null | undefined;
|
|
2087
2124
|
client?: {
|
|
2088
|
-
createdAt: string | Date;
|
|
2089
|
-
updatedAt: string | Date;
|
|
2090
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2091
2125
|
id: string;
|
|
2126
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2092
2127
|
name: string;
|
|
2093
|
-
crn: string;
|
|
2128
|
+
crn: string | null;
|
|
2094
2129
|
govLink: string;
|
|
2130
|
+
soleTrader: boolean;
|
|
2095
2131
|
director: string;
|
|
2132
|
+
createdAt: string | Date;
|
|
2133
|
+
updatedAt: string | Date;
|
|
2096
2134
|
blacklistReason?: string | null | undefined;
|
|
2097
2135
|
lastUpdatedBy?: {
|
|
2098
2136
|
id: string;
|
|
@@ -2104,6 +2142,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2104
2142
|
agentId: string;
|
|
2105
2143
|
} | null | undefined;
|
|
2106
2144
|
} | null | undefined;
|
|
2145
|
+
company?: {
|
|
2146
|
+
id: string;
|
|
2147
|
+
name: string;
|
|
2148
|
+
createdAt: string | Date;
|
|
2149
|
+
updatedAt: string | Date;
|
|
2150
|
+
} | null | undefined;
|
|
2107
2151
|
user?: {
|
|
2108
2152
|
id: string;
|
|
2109
2153
|
firstName: string;
|
|
@@ -2112,26 +2156,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2112
2156
|
} | null | undefined;
|
|
2113
2157
|
}>>>;
|
|
2114
2158
|
}, "strip", z.ZodTypeAny, {
|
|
2159
|
+
id: string;
|
|
2160
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2115
2161
|
createdAt: string;
|
|
2116
2162
|
updatedAt: string;
|
|
2117
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2118
|
-
id: string;
|
|
2119
2163
|
userId: string;
|
|
2120
|
-
company?: {
|
|
2121
|
-
createdAt: string;
|
|
2122
|
-
updatedAt: string;
|
|
2123
|
-
id: string;
|
|
2124
|
-
name: string;
|
|
2125
|
-
} | null | undefined;
|
|
2126
2164
|
client?: {
|
|
2127
|
-
createdAt: string;
|
|
2128
|
-
updatedAt: string;
|
|
2129
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2130
2165
|
id: string;
|
|
2166
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2131
2167
|
name: string;
|
|
2132
|
-
crn: string;
|
|
2168
|
+
crn: string | null;
|
|
2133
2169
|
govLink: string;
|
|
2170
|
+
soleTrader: boolean;
|
|
2134
2171
|
director: string;
|
|
2172
|
+
createdAt: string;
|
|
2173
|
+
updatedAt: string;
|
|
2135
2174
|
blacklistReason?: string | null | undefined;
|
|
2136
2175
|
lastUpdatedBy?: {
|
|
2137
2176
|
id: string;
|
|
@@ -2143,6 +2182,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2143
2182
|
agentId: string;
|
|
2144
2183
|
} | null | undefined;
|
|
2145
2184
|
} | null | undefined;
|
|
2185
|
+
company?: {
|
|
2186
|
+
id: string;
|
|
2187
|
+
name: string;
|
|
2188
|
+
createdAt: string;
|
|
2189
|
+
updatedAt: string;
|
|
2190
|
+
} | null | undefined;
|
|
2146
2191
|
user?: {
|
|
2147
2192
|
id: string;
|
|
2148
2193
|
firstName: string;
|
|
@@ -2150,26 +2195,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2150
2195
|
email: string;
|
|
2151
2196
|
} | null | undefined;
|
|
2152
2197
|
newCollaboration?: {
|
|
2198
|
+
id: string;
|
|
2199
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2153
2200
|
createdAt: string;
|
|
2154
2201
|
updatedAt: string;
|
|
2155
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2156
|
-
id: string;
|
|
2157
2202
|
userId: string;
|
|
2158
|
-
company?: {
|
|
2159
|
-
createdAt: string;
|
|
2160
|
-
updatedAt: string;
|
|
2161
|
-
id: string;
|
|
2162
|
-
name: string;
|
|
2163
|
-
} | null | undefined;
|
|
2164
2203
|
client?: {
|
|
2165
|
-
createdAt: string;
|
|
2166
|
-
updatedAt: string;
|
|
2167
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2168
2204
|
id: string;
|
|
2205
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2169
2206
|
name: string;
|
|
2170
|
-
crn: string;
|
|
2207
|
+
crn: string | null;
|
|
2171
2208
|
govLink: string;
|
|
2209
|
+
soleTrader: boolean;
|
|
2172
2210
|
director: string;
|
|
2211
|
+
createdAt: string;
|
|
2212
|
+
updatedAt: string;
|
|
2173
2213
|
blacklistReason?: string | null | undefined;
|
|
2174
2214
|
lastUpdatedBy?: {
|
|
2175
2215
|
id: string;
|
|
@@ -2181,6 +2221,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2181
2221
|
agentId: string;
|
|
2182
2222
|
} | null | undefined;
|
|
2183
2223
|
} | null | undefined;
|
|
2224
|
+
company?: {
|
|
2225
|
+
id: string;
|
|
2226
|
+
name: string;
|
|
2227
|
+
createdAt: string;
|
|
2228
|
+
updatedAt: string;
|
|
2229
|
+
} | null | undefined;
|
|
2184
2230
|
user?: {
|
|
2185
2231
|
id: string;
|
|
2186
2232
|
firstName: string;
|
|
@@ -2189,26 +2235,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2189
2235
|
} | null | undefined;
|
|
2190
2236
|
} | null | undefined;
|
|
2191
2237
|
}, {
|
|
2238
|
+
id: string;
|
|
2239
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2192
2240
|
createdAt: string | Date;
|
|
2193
2241
|
updatedAt: string | Date;
|
|
2194
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2195
|
-
id: string;
|
|
2196
2242
|
userId: string;
|
|
2197
|
-
company?: {
|
|
2198
|
-
createdAt: string | Date;
|
|
2199
|
-
updatedAt: string | Date;
|
|
2200
|
-
id: string;
|
|
2201
|
-
name: string;
|
|
2202
|
-
} | null | undefined;
|
|
2203
2243
|
client?: {
|
|
2204
|
-
createdAt: string | Date;
|
|
2205
|
-
updatedAt: string | Date;
|
|
2206
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2207
2244
|
id: string;
|
|
2245
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2208
2246
|
name: string;
|
|
2209
|
-
crn: string;
|
|
2247
|
+
crn: string | null;
|
|
2210
2248
|
govLink: string;
|
|
2249
|
+
soleTrader: boolean;
|
|
2211
2250
|
director: string;
|
|
2251
|
+
createdAt: string | Date;
|
|
2252
|
+
updatedAt: string | Date;
|
|
2212
2253
|
blacklistReason?: string | null | undefined;
|
|
2213
2254
|
lastUpdatedBy?: {
|
|
2214
2255
|
id: string;
|
|
@@ -2220,6 +2261,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2220
2261
|
agentId: string;
|
|
2221
2262
|
} | null | undefined;
|
|
2222
2263
|
} | null | undefined;
|
|
2264
|
+
company?: {
|
|
2265
|
+
id: string;
|
|
2266
|
+
name: string;
|
|
2267
|
+
createdAt: string | Date;
|
|
2268
|
+
updatedAt: string | Date;
|
|
2269
|
+
} | null | undefined;
|
|
2223
2270
|
user?: {
|
|
2224
2271
|
id: string;
|
|
2225
2272
|
firstName: string;
|
|
@@ -2227,26 +2274,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2227
2274
|
email: string;
|
|
2228
2275
|
} | null | undefined;
|
|
2229
2276
|
newCollaboration?: {
|
|
2277
|
+
id: string;
|
|
2278
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2230
2279
|
createdAt: string | Date;
|
|
2231
2280
|
updatedAt: string | Date;
|
|
2232
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2233
|
-
id: string;
|
|
2234
2281
|
userId: string;
|
|
2235
|
-
company?: {
|
|
2236
|
-
createdAt: string | Date;
|
|
2237
|
-
updatedAt: string | Date;
|
|
2238
|
-
id: string;
|
|
2239
|
-
name: string;
|
|
2240
|
-
} | null | undefined;
|
|
2241
2282
|
client?: {
|
|
2242
|
-
createdAt: string | Date;
|
|
2243
|
-
updatedAt: string | Date;
|
|
2244
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2245
2283
|
id: string;
|
|
2284
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2246
2285
|
name: string;
|
|
2247
|
-
crn: string;
|
|
2286
|
+
crn: string | null;
|
|
2248
2287
|
govLink: string;
|
|
2288
|
+
soleTrader: boolean;
|
|
2249
2289
|
director: string;
|
|
2290
|
+
createdAt: string | Date;
|
|
2291
|
+
updatedAt: string | Date;
|
|
2250
2292
|
blacklistReason?: string | null | undefined;
|
|
2251
2293
|
lastUpdatedBy?: {
|
|
2252
2294
|
id: string;
|
|
@@ -2258,6 +2300,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2258
2300
|
agentId: string;
|
|
2259
2301
|
} | null | undefined;
|
|
2260
2302
|
} | null | undefined;
|
|
2303
|
+
company?: {
|
|
2304
|
+
id: string;
|
|
2305
|
+
name: string;
|
|
2306
|
+
createdAt: string | Date;
|
|
2307
|
+
updatedAt: string | Date;
|
|
2308
|
+
} | null | undefined;
|
|
2261
2309
|
user?: {
|
|
2262
2310
|
id: string;
|
|
2263
2311
|
firstName: string;
|
|
@@ -2282,39 +2330,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
2282
2330
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2283
2331
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2284
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2285
|
-
createdAt: string;
|
|
2286
|
-
updatedAt: string;
|
|
2287
2333
|
id: string;
|
|
2288
2334
|
email: string;
|
|
2335
|
+
createdAt: string;
|
|
2336
|
+
updatedAt: string;
|
|
2289
2337
|
collaborationId: string;
|
|
2290
2338
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
2291
|
-
decision: "
|
|
2339
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
2292
2340
|
isTermsAndConditionsConfirmed: boolean;
|
|
2293
2341
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
2294
2342
|
introductionEmailSent: boolean;
|
|
2295
2343
|
collaborationEmailSent: boolean;
|
|
2296
2344
|
clientContactId?: string | null | undefined;
|
|
2297
2345
|
collaboration?: {
|
|
2346
|
+
id: string;
|
|
2347
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2298
2348
|
createdAt: string;
|
|
2299
2349
|
updatedAt: string;
|
|
2300
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2301
|
-
id: string;
|
|
2302
2350
|
userId: string;
|
|
2303
|
-
company?: {
|
|
2304
|
-
createdAt: string;
|
|
2305
|
-
updatedAt: string;
|
|
2306
|
-
id: string;
|
|
2307
|
-
name: string;
|
|
2308
|
-
} | null | undefined;
|
|
2309
2351
|
client?: {
|
|
2310
|
-
createdAt: string;
|
|
2311
|
-
updatedAt: string;
|
|
2312
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2313
2352
|
id: string;
|
|
2353
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2314
2354
|
name: string;
|
|
2315
|
-
crn: string;
|
|
2355
|
+
crn: string | null;
|
|
2316
2356
|
govLink: string;
|
|
2357
|
+
soleTrader: boolean;
|
|
2317
2358
|
director: string;
|
|
2359
|
+
createdAt: string;
|
|
2360
|
+
updatedAt: string;
|
|
2318
2361
|
blacklistReason?: string | null | undefined;
|
|
2319
2362
|
lastUpdatedBy?: {
|
|
2320
2363
|
id: string;
|
|
@@ -2326,33 +2369,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
2326
2369
|
agentId: string;
|
|
2327
2370
|
} | null | undefined;
|
|
2328
2371
|
} | null | undefined;
|
|
2329
|
-
|
|
2372
|
+
company?: {
|
|
2330
2373
|
id: string;
|
|
2331
|
-
|
|
2332
|
-
|
|
2374
|
+
name: string;
|
|
2375
|
+
createdAt: string;
|
|
2376
|
+
updatedAt: string;
|
|
2377
|
+
} | null | undefined;
|
|
2378
|
+
user?: {
|
|
2379
|
+
id: string;
|
|
2380
|
+
firstName: string;
|
|
2381
|
+
lastName: string;
|
|
2333
2382
|
email: string;
|
|
2334
2383
|
} | null | undefined;
|
|
2335
2384
|
newCollaboration?: {
|
|
2385
|
+
id: string;
|
|
2386
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2336
2387
|
createdAt: string;
|
|
2337
2388
|
updatedAt: string;
|
|
2338
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2339
|
-
id: string;
|
|
2340
2389
|
userId: string;
|
|
2341
|
-
company?: {
|
|
2342
|
-
createdAt: string;
|
|
2343
|
-
updatedAt: string;
|
|
2344
|
-
id: string;
|
|
2345
|
-
name: string;
|
|
2346
|
-
} | null | undefined;
|
|
2347
2390
|
client?: {
|
|
2348
|
-
createdAt: string;
|
|
2349
|
-
updatedAt: string;
|
|
2350
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2351
2391
|
id: string;
|
|
2392
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2352
2393
|
name: string;
|
|
2353
|
-
crn: string;
|
|
2394
|
+
crn: string | null;
|
|
2354
2395
|
govLink: string;
|
|
2396
|
+
soleTrader: boolean;
|
|
2355
2397
|
director: string;
|
|
2398
|
+
createdAt: string;
|
|
2399
|
+
updatedAt: string;
|
|
2356
2400
|
blacklistReason?: string | null | undefined;
|
|
2357
2401
|
lastUpdatedBy?: {
|
|
2358
2402
|
id: string;
|
|
@@ -2364,6 +2408,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2364
2408
|
agentId: string;
|
|
2365
2409
|
} | null | undefined;
|
|
2366
2410
|
} | null | undefined;
|
|
2411
|
+
company?: {
|
|
2412
|
+
id: string;
|
|
2413
|
+
name: string;
|
|
2414
|
+
createdAt: string;
|
|
2415
|
+
updatedAt: string;
|
|
2416
|
+
} | null | undefined;
|
|
2367
2417
|
user?: {
|
|
2368
2418
|
id: string;
|
|
2369
2419
|
firstName: string;
|
|
@@ -2379,39 +2429,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
2379
2429
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
2380
2430
|
checkingComment?: string | null | undefined;
|
|
2381
2431
|
}, {
|
|
2382
|
-
createdAt: string | Date;
|
|
2383
|
-
updatedAt: string | Date;
|
|
2384
2432
|
id: string;
|
|
2385
2433
|
email: string;
|
|
2434
|
+
createdAt: string | Date;
|
|
2435
|
+
updatedAt: string | Date;
|
|
2386
2436
|
collaborationId: string;
|
|
2387
2437
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
2388
|
-
decision: "
|
|
2438
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
2389
2439
|
isTermsAndConditionsConfirmed: boolean;
|
|
2390
2440
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
2391
2441
|
introductionEmailSent: boolean;
|
|
2392
2442
|
collaborationEmailSent: boolean;
|
|
2393
2443
|
clientContactId?: string | null | undefined;
|
|
2394
2444
|
collaboration?: {
|
|
2445
|
+
id: string;
|
|
2446
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2395
2447
|
createdAt: string | Date;
|
|
2396
2448
|
updatedAt: string | Date;
|
|
2397
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2398
|
-
id: string;
|
|
2399
2449
|
userId: string;
|
|
2400
|
-
company?: {
|
|
2401
|
-
createdAt: string | Date;
|
|
2402
|
-
updatedAt: string | Date;
|
|
2403
|
-
id: string;
|
|
2404
|
-
name: string;
|
|
2405
|
-
} | null | undefined;
|
|
2406
2450
|
client?: {
|
|
2407
|
-
createdAt: string | Date;
|
|
2408
|
-
updatedAt: string | Date;
|
|
2409
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2410
2451
|
id: string;
|
|
2452
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2411
2453
|
name: string;
|
|
2412
|
-
crn: string;
|
|
2454
|
+
crn: string | null;
|
|
2413
2455
|
govLink: string;
|
|
2456
|
+
soleTrader: boolean;
|
|
2414
2457
|
director: string;
|
|
2458
|
+
createdAt: string | Date;
|
|
2459
|
+
updatedAt: string | Date;
|
|
2415
2460
|
blacklistReason?: string | null | undefined;
|
|
2416
2461
|
lastUpdatedBy?: {
|
|
2417
2462
|
id: string;
|
|
@@ -2423,6 +2468,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2423
2468
|
agentId: string;
|
|
2424
2469
|
} | null | undefined;
|
|
2425
2470
|
} | null | undefined;
|
|
2471
|
+
company?: {
|
|
2472
|
+
id: string;
|
|
2473
|
+
name: string;
|
|
2474
|
+
createdAt: string | Date;
|
|
2475
|
+
updatedAt: string | Date;
|
|
2476
|
+
} | null | undefined;
|
|
2426
2477
|
user?: {
|
|
2427
2478
|
id: string;
|
|
2428
2479
|
firstName: string;
|
|
@@ -2430,26 +2481,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2430
2481
|
email: string;
|
|
2431
2482
|
} | null | undefined;
|
|
2432
2483
|
newCollaboration?: {
|
|
2484
|
+
id: string;
|
|
2485
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2433
2486
|
createdAt: string | Date;
|
|
2434
2487
|
updatedAt: string | Date;
|
|
2435
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2436
|
-
id: string;
|
|
2437
2488
|
userId: string;
|
|
2438
|
-
company?: {
|
|
2439
|
-
createdAt: string | Date;
|
|
2440
|
-
updatedAt: string | Date;
|
|
2441
|
-
id: string;
|
|
2442
|
-
name: string;
|
|
2443
|
-
} | null | undefined;
|
|
2444
2489
|
client?: {
|
|
2445
|
-
createdAt: string | Date;
|
|
2446
|
-
updatedAt: string | Date;
|
|
2447
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2448
2490
|
id: string;
|
|
2491
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2449
2492
|
name: string;
|
|
2450
|
-
crn: string;
|
|
2493
|
+
crn: string | null;
|
|
2451
2494
|
govLink: string;
|
|
2495
|
+
soleTrader: boolean;
|
|
2452
2496
|
director: string;
|
|
2497
|
+
createdAt: string | Date;
|
|
2498
|
+
updatedAt: string | Date;
|
|
2453
2499
|
blacklistReason?: string | null | undefined;
|
|
2454
2500
|
lastUpdatedBy?: {
|
|
2455
2501
|
id: string;
|
|
@@ -2461,6 +2507,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2461
2507
|
agentId: string;
|
|
2462
2508
|
} | null | undefined;
|
|
2463
2509
|
} | null | undefined;
|
|
2510
|
+
company?: {
|
|
2511
|
+
id: string;
|
|
2512
|
+
name: string;
|
|
2513
|
+
createdAt: string | Date;
|
|
2514
|
+
updatedAt: string | Date;
|
|
2515
|
+
} | null | undefined;
|
|
2464
2516
|
user?: {
|
|
2465
2517
|
id: string;
|
|
2466
2518
|
firstName: string;
|
|
@@ -2526,21 +2578,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2526
2578
|
page: number;
|
|
2527
2579
|
sortBy: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp";
|
|
2528
2580
|
sortOrder: "ASC" | "DESC";
|
|
2529
|
-
companyId?: string | undefined;
|
|
2530
2581
|
clientId?: string | undefined;
|
|
2531
|
-
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
2532
|
-
decision?: "REJECTED" | "APPROVED" | "PENDING" | undefined;
|
|
2533
2582
|
createdById?: string | undefined;
|
|
2583
|
+
companyId?: string | undefined;
|
|
2584
|
+
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
2585
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | undefined;
|
|
2534
2586
|
}, {
|
|
2535
2587
|
limit?: number | undefined;
|
|
2536
2588
|
page?: number | undefined;
|
|
2537
|
-
companyId?: string | undefined;
|
|
2538
|
-
clientId?: string | undefined;
|
|
2539
2589
|
sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
|
|
2540
2590
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2541
|
-
|
|
2542
|
-
decision?: "REJECTED" | "APPROVED" | "PENDING" | undefined;
|
|
2591
|
+
clientId?: string | undefined;
|
|
2543
2592
|
createdById?: string | undefined;
|
|
2593
|
+
companyId?: string | undefined;
|
|
2594
|
+
urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
|
|
2595
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | undefined;
|
|
2544
2596
|
}>;
|
|
2545
2597
|
summary: "Get all collaboration checkings";
|
|
2546
2598
|
method: "GET";
|
|
@@ -2659,21 +2711,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
2659
2711
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2660
2712
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2661
2713
|
}, "strip", z.ZodTypeAny, {
|
|
2714
|
+
id: string;
|
|
2715
|
+
name: string;
|
|
2662
2716
|
createdAt: string;
|
|
2663
2717
|
updatedAt: string;
|
|
2718
|
+
}, {
|
|
2664
2719
|
id: string;
|
|
2665
2720
|
name: string;
|
|
2666
|
-
}, {
|
|
2667
2721
|
createdAt: string | Date;
|
|
2668
2722
|
updatedAt: string | Date;
|
|
2669
|
-
id: string;
|
|
2670
|
-
name: string;
|
|
2671
2723
|
}>>>;
|
|
2672
2724
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2673
2725
|
id: z.ZodString;
|
|
2674
2726
|
name: z.ZodString;
|
|
2675
|
-
crn: z.ZodString
|
|
2727
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2676
2728
|
govLink: z.ZodString;
|
|
2729
|
+
soleTrader: z.ZodBoolean;
|
|
2677
2730
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2678
2731
|
director: z.ZodString;
|
|
2679
2732
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2703,14 +2756,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
2703
2756
|
agentId: string;
|
|
2704
2757
|
}>>>;
|
|
2705
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2706
|
-
createdAt: string;
|
|
2707
|
-
updatedAt: string;
|
|
2708
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2709
2759
|
id: string;
|
|
2760
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2710
2761
|
name: string;
|
|
2711
|
-
crn: string;
|
|
2762
|
+
crn: string | null;
|
|
2712
2763
|
govLink: string;
|
|
2764
|
+
soleTrader: boolean;
|
|
2713
2765
|
director: string;
|
|
2766
|
+
createdAt: string;
|
|
2767
|
+
updatedAt: string;
|
|
2714
2768
|
blacklistReason?: string | null | undefined;
|
|
2715
2769
|
lastUpdatedBy?: {
|
|
2716
2770
|
id: string;
|
|
@@ -2722,14 +2776,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
2722
2776
|
agentId: string;
|
|
2723
2777
|
} | null | undefined;
|
|
2724
2778
|
}, {
|
|
2725
|
-
createdAt: string | Date;
|
|
2726
|
-
updatedAt: string | Date;
|
|
2727
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2728
2779
|
id: string;
|
|
2780
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2729
2781
|
name: string;
|
|
2730
|
-
crn: string;
|
|
2782
|
+
crn: string | null;
|
|
2731
2783
|
govLink: string;
|
|
2784
|
+
soleTrader: boolean;
|
|
2732
2785
|
director: string;
|
|
2786
|
+
createdAt: string | Date;
|
|
2787
|
+
updatedAt: string | Date;
|
|
2733
2788
|
blacklistReason?: string | null | undefined;
|
|
2734
2789
|
lastUpdatedBy?: {
|
|
2735
2790
|
id: string;
|
|
@@ -2770,21 +2825,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
2770
2825
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2771
2826
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2772
2827
|
}, "strip", z.ZodTypeAny, {
|
|
2828
|
+
id: string;
|
|
2829
|
+
name: string;
|
|
2773
2830
|
createdAt: string;
|
|
2774
2831
|
updatedAt: string;
|
|
2832
|
+
}, {
|
|
2775
2833
|
id: string;
|
|
2776
2834
|
name: string;
|
|
2777
|
-
}, {
|
|
2778
2835
|
createdAt: string | Date;
|
|
2779
2836
|
updatedAt: string | Date;
|
|
2780
|
-
id: string;
|
|
2781
|
-
name: string;
|
|
2782
2837
|
}>>>;
|
|
2783
2838
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2784
2839
|
id: z.ZodString;
|
|
2785
2840
|
name: z.ZodString;
|
|
2786
|
-
crn: z.ZodString
|
|
2841
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2787
2842
|
govLink: z.ZodString;
|
|
2843
|
+
soleTrader: z.ZodBoolean;
|
|
2788
2844
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2789
2845
|
director: z.ZodString;
|
|
2790
2846
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2814,14 +2870,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
2814
2870
|
agentId: string;
|
|
2815
2871
|
}>>>;
|
|
2816
2872
|
}, "strip", z.ZodTypeAny, {
|
|
2817
|
-
createdAt: string;
|
|
2818
|
-
updatedAt: string;
|
|
2819
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2820
2873
|
id: string;
|
|
2874
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2821
2875
|
name: string;
|
|
2822
|
-
crn: string;
|
|
2876
|
+
crn: string | null;
|
|
2823
2877
|
govLink: string;
|
|
2878
|
+
soleTrader: boolean;
|
|
2824
2879
|
director: string;
|
|
2880
|
+
createdAt: string;
|
|
2881
|
+
updatedAt: string;
|
|
2825
2882
|
blacklistReason?: string | null | undefined;
|
|
2826
2883
|
lastUpdatedBy?: {
|
|
2827
2884
|
id: string;
|
|
@@ -2833,14 +2890,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
2833
2890
|
agentId: string;
|
|
2834
2891
|
} | null | undefined;
|
|
2835
2892
|
}, {
|
|
2836
|
-
createdAt: string | Date;
|
|
2837
|
-
updatedAt: string | Date;
|
|
2838
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2839
2893
|
id: string;
|
|
2894
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2840
2895
|
name: string;
|
|
2841
|
-
crn: string;
|
|
2896
|
+
crn: string | null;
|
|
2842
2897
|
govLink: string;
|
|
2898
|
+
soleTrader: boolean;
|
|
2843
2899
|
director: string;
|
|
2900
|
+
createdAt: string | Date;
|
|
2901
|
+
updatedAt: string | Date;
|
|
2844
2902
|
blacklistReason?: string | null | undefined;
|
|
2845
2903
|
lastUpdatedBy?: {
|
|
2846
2904
|
id: string;
|
|
@@ -2873,26 +2931,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2873
2931
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2874
2932
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2875
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
id: string;
|
|
2935
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2876
2936
|
createdAt: string;
|
|
2877
2937
|
updatedAt: string;
|
|
2878
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2879
|
-
id: string;
|
|
2880
2938
|
userId: string;
|
|
2881
|
-
company?: {
|
|
2882
|
-
createdAt: string;
|
|
2883
|
-
updatedAt: string;
|
|
2884
|
-
id: string;
|
|
2885
|
-
name: string;
|
|
2886
|
-
} | null | undefined;
|
|
2887
2939
|
client?: {
|
|
2888
|
-
createdAt: string;
|
|
2889
|
-
updatedAt: string;
|
|
2890
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2891
2940
|
id: string;
|
|
2941
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2892
2942
|
name: string;
|
|
2893
|
-
crn: string;
|
|
2943
|
+
crn: string | null;
|
|
2894
2944
|
govLink: string;
|
|
2945
|
+
soleTrader: boolean;
|
|
2895
2946
|
director: string;
|
|
2947
|
+
createdAt: string;
|
|
2948
|
+
updatedAt: string;
|
|
2896
2949
|
blacklistReason?: string | null | undefined;
|
|
2897
2950
|
lastUpdatedBy?: {
|
|
2898
2951
|
id: string;
|
|
@@ -2904,6 +2957,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2904
2957
|
agentId: string;
|
|
2905
2958
|
} | null | undefined;
|
|
2906
2959
|
} | null | undefined;
|
|
2960
|
+
company?: {
|
|
2961
|
+
id: string;
|
|
2962
|
+
name: string;
|
|
2963
|
+
createdAt: string;
|
|
2964
|
+
updatedAt: string;
|
|
2965
|
+
} | null | undefined;
|
|
2907
2966
|
user?: {
|
|
2908
2967
|
id: string;
|
|
2909
2968
|
firstName: string;
|
|
@@ -2911,26 +2970,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2911
2970
|
email: string;
|
|
2912
2971
|
} | null | undefined;
|
|
2913
2972
|
}, {
|
|
2973
|
+
id: string;
|
|
2974
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2914
2975
|
createdAt: string | Date;
|
|
2915
2976
|
updatedAt: string | Date;
|
|
2916
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2917
|
-
id: string;
|
|
2918
2977
|
userId: string;
|
|
2919
|
-
company?: {
|
|
2920
|
-
createdAt: string | Date;
|
|
2921
|
-
updatedAt: string | Date;
|
|
2922
|
-
id: string;
|
|
2923
|
-
name: string;
|
|
2924
|
-
} | null | undefined;
|
|
2925
2978
|
client?: {
|
|
2926
|
-
createdAt: string | Date;
|
|
2927
|
-
updatedAt: string | Date;
|
|
2928
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2929
2979
|
id: string;
|
|
2980
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2930
2981
|
name: string;
|
|
2931
|
-
crn: string;
|
|
2982
|
+
crn: string | null;
|
|
2932
2983
|
govLink: string;
|
|
2984
|
+
soleTrader: boolean;
|
|
2933
2985
|
director: string;
|
|
2986
|
+
createdAt: string | Date;
|
|
2987
|
+
updatedAt: string | Date;
|
|
2934
2988
|
blacklistReason?: string | null | undefined;
|
|
2935
2989
|
lastUpdatedBy?: {
|
|
2936
2990
|
id: string;
|
|
@@ -2942,6 +2996,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2942
2996
|
agentId: string;
|
|
2943
2997
|
} | null | undefined;
|
|
2944
2998
|
} | null | undefined;
|
|
2999
|
+
company?: {
|
|
3000
|
+
id: string;
|
|
3001
|
+
name: string;
|
|
3002
|
+
createdAt: string | Date;
|
|
3003
|
+
updatedAt: string | Date;
|
|
3004
|
+
} | null | undefined;
|
|
2945
3005
|
user?: {
|
|
2946
3006
|
id: string;
|
|
2947
3007
|
firstName: string;
|
|
@@ -2950,26 +3010,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2950
3010
|
} | null | undefined;
|
|
2951
3011
|
}>>>;
|
|
2952
3012
|
}, "strip", z.ZodTypeAny, {
|
|
3013
|
+
id: string;
|
|
3014
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2953
3015
|
createdAt: string;
|
|
2954
3016
|
updatedAt: string;
|
|
2955
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2956
|
-
id: string;
|
|
2957
3017
|
userId: string;
|
|
2958
|
-
company?: {
|
|
2959
|
-
createdAt: string;
|
|
2960
|
-
updatedAt: string;
|
|
2961
|
-
id: string;
|
|
2962
|
-
name: string;
|
|
2963
|
-
} | null | undefined;
|
|
2964
3018
|
client?: {
|
|
2965
|
-
createdAt: string;
|
|
2966
|
-
updatedAt: string;
|
|
2967
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2968
3019
|
id: string;
|
|
3020
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2969
3021
|
name: string;
|
|
2970
|
-
crn: string;
|
|
3022
|
+
crn: string | null;
|
|
2971
3023
|
govLink: string;
|
|
3024
|
+
soleTrader: boolean;
|
|
2972
3025
|
director: string;
|
|
3026
|
+
createdAt: string;
|
|
3027
|
+
updatedAt: string;
|
|
2973
3028
|
blacklistReason?: string | null | undefined;
|
|
2974
3029
|
lastUpdatedBy?: {
|
|
2975
3030
|
id: string;
|
|
@@ -2981,6 +3036,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
2981
3036
|
agentId: string;
|
|
2982
3037
|
} | null | undefined;
|
|
2983
3038
|
} | null | undefined;
|
|
3039
|
+
company?: {
|
|
3040
|
+
id: string;
|
|
3041
|
+
name: string;
|
|
3042
|
+
createdAt: string;
|
|
3043
|
+
updatedAt: string;
|
|
3044
|
+
} | null | undefined;
|
|
2984
3045
|
user?: {
|
|
2985
3046
|
id: string;
|
|
2986
3047
|
firstName: string;
|
|
@@ -2988,26 +3049,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
2988
3049
|
email: string;
|
|
2989
3050
|
} | null | undefined;
|
|
2990
3051
|
newCollaboration?: {
|
|
3052
|
+
id: string;
|
|
3053
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2991
3054
|
createdAt: string;
|
|
2992
3055
|
updatedAt: string;
|
|
2993
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2994
|
-
id: string;
|
|
2995
3056
|
userId: string;
|
|
2996
|
-
company?: {
|
|
2997
|
-
createdAt: string;
|
|
2998
|
-
updatedAt: string;
|
|
2999
|
-
id: string;
|
|
3000
|
-
name: string;
|
|
3001
|
-
} | null | undefined;
|
|
3002
3057
|
client?: {
|
|
3003
|
-
createdAt: string;
|
|
3004
|
-
updatedAt: string;
|
|
3005
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3006
3058
|
id: string;
|
|
3059
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3007
3060
|
name: string;
|
|
3008
|
-
crn: string;
|
|
3061
|
+
crn: string | null;
|
|
3009
3062
|
govLink: string;
|
|
3063
|
+
soleTrader: boolean;
|
|
3010
3064
|
director: string;
|
|
3065
|
+
createdAt: string;
|
|
3066
|
+
updatedAt: string;
|
|
3011
3067
|
blacklistReason?: string | null | undefined;
|
|
3012
3068
|
lastUpdatedBy?: {
|
|
3013
3069
|
id: string;
|
|
@@ -3019,6 +3075,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3019
3075
|
agentId: string;
|
|
3020
3076
|
} | null | undefined;
|
|
3021
3077
|
} | null | undefined;
|
|
3078
|
+
company?: {
|
|
3079
|
+
id: string;
|
|
3080
|
+
name: string;
|
|
3081
|
+
createdAt: string;
|
|
3082
|
+
updatedAt: string;
|
|
3083
|
+
} | null | undefined;
|
|
3022
3084
|
user?: {
|
|
3023
3085
|
id: string;
|
|
3024
3086
|
firstName: string;
|
|
@@ -3027,26 +3089,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3027
3089
|
} | null | undefined;
|
|
3028
3090
|
} | null | undefined;
|
|
3029
3091
|
}, {
|
|
3092
|
+
id: string;
|
|
3093
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3030
3094
|
createdAt: string | Date;
|
|
3031
3095
|
updatedAt: string | Date;
|
|
3032
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3033
|
-
id: string;
|
|
3034
3096
|
userId: string;
|
|
3035
|
-
company?: {
|
|
3036
|
-
createdAt: string | Date;
|
|
3037
|
-
updatedAt: string | Date;
|
|
3038
|
-
id: string;
|
|
3039
|
-
name: string;
|
|
3040
|
-
} | null | undefined;
|
|
3041
3097
|
client?: {
|
|
3042
|
-
createdAt: string | Date;
|
|
3043
|
-
updatedAt: string | Date;
|
|
3044
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3045
3098
|
id: string;
|
|
3099
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3046
3100
|
name: string;
|
|
3047
|
-
crn: string;
|
|
3101
|
+
crn: string | null;
|
|
3048
3102
|
govLink: string;
|
|
3103
|
+
soleTrader: boolean;
|
|
3049
3104
|
director: string;
|
|
3105
|
+
createdAt: string | Date;
|
|
3106
|
+
updatedAt: string | Date;
|
|
3050
3107
|
blacklistReason?: string | null | undefined;
|
|
3051
3108
|
lastUpdatedBy?: {
|
|
3052
3109
|
id: string;
|
|
@@ -3058,6 +3115,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3058
3115
|
agentId: string;
|
|
3059
3116
|
} | null | undefined;
|
|
3060
3117
|
} | null | undefined;
|
|
3118
|
+
company?: {
|
|
3119
|
+
id: string;
|
|
3120
|
+
name: string;
|
|
3121
|
+
createdAt: string | Date;
|
|
3122
|
+
updatedAt: string | Date;
|
|
3123
|
+
} | null | undefined;
|
|
3061
3124
|
user?: {
|
|
3062
3125
|
id: string;
|
|
3063
3126
|
firstName: string;
|
|
@@ -3065,26 +3128,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3065
3128
|
email: string;
|
|
3066
3129
|
} | null | undefined;
|
|
3067
3130
|
newCollaboration?: {
|
|
3131
|
+
id: string;
|
|
3132
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3068
3133
|
createdAt: string | Date;
|
|
3069
3134
|
updatedAt: string | Date;
|
|
3070
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3071
|
-
id: string;
|
|
3072
3135
|
userId: string;
|
|
3073
|
-
company?: {
|
|
3074
|
-
createdAt: string | Date;
|
|
3075
|
-
updatedAt: string | Date;
|
|
3076
|
-
id: string;
|
|
3077
|
-
name: string;
|
|
3078
|
-
} | null | undefined;
|
|
3079
3136
|
client?: {
|
|
3080
|
-
createdAt: string | Date;
|
|
3081
|
-
updatedAt: string | Date;
|
|
3082
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3083
3137
|
id: string;
|
|
3138
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3084
3139
|
name: string;
|
|
3085
|
-
crn: string;
|
|
3140
|
+
crn: string | null;
|
|
3086
3141
|
govLink: string;
|
|
3142
|
+
soleTrader: boolean;
|
|
3087
3143
|
director: string;
|
|
3144
|
+
createdAt: string | Date;
|
|
3145
|
+
updatedAt: string | Date;
|
|
3088
3146
|
blacklistReason?: string | null | undefined;
|
|
3089
3147
|
lastUpdatedBy?: {
|
|
3090
3148
|
id: string;
|
|
@@ -3096,6 +3154,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3096
3154
|
agentId: string;
|
|
3097
3155
|
} | null | undefined;
|
|
3098
3156
|
} | null | undefined;
|
|
3157
|
+
company?: {
|
|
3158
|
+
id: string;
|
|
3159
|
+
name: string;
|
|
3160
|
+
createdAt: string | Date;
|
|
3161
|
+
updatedAt: string | Date;
|
|
3162
|
+
} | null | undefined;
|
|
3099
3163
|
user?: {
|
|
3100
3164
|
id: string;
|
|
3101
3165
|
firstName: string;
|
|
@@ -3120,39 +3184,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
3120
3184
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3121
3185
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3122
3186
|
}, "strip", z.ZodTypeAny, {
|
|
3123
|
-
createdAt: string;
|
|
3124
|
-
updatedAt: string;
|
|
3125
3187
|
id: string;
|
|
3126
3188
|
email: string;
|
|
3189
|
+
createdAt: string;
|
|
3190
|
+
updatedAt: string;
|
|
3127
3191
|
collaborationId: string;
|
|
3128
3192
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
3129
|
-
decision: "
|
|
3193
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
3130
3194
|
isTermsAndConditionsConfirmed: boolean;
|
|
3131
3195
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
3132
3196
|
introductionEmailSent: boolean;
|
|
3133
3197
|
collaborationEmailSent: boolean;
|
|
3134
3198
|
clientContactId?: string | null | undefined;
|
|
3135
3199
|
collaboration?: {
|
|
3200
|
+
id: string;
|
|
3201
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3136
3202
|
createdAt: string;
|
|
3137
3203
|
updatedAt: string;
|
|
3138
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3139
|
-
id: string;
|
|
3140
3204
|
userId: string;
|
|
3141
|
-
company?: {
|
|
3142
|
-
createdAt: string;
|
|
3143
|
-
updatedAt: string;
|
|
3144
|
-
id: string;
|
|
3145
|
-
name: string;
|
|
3146
|
-
} | null | undefined;
|
|
3147
3205
|
client?: {
|
|
3148
|
-
createdAt: string;
|
|
3149
|
-
updatedAt: string;
|
|
3150
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3151
3206
|
id: string;
|
|
3207
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3152
3208
|
name: string;
|
|
3153
|
-
crn: string;
|
|
3209
|
+
crn: string | null;
|
|
3154
3210
|
govLink: string;
|
|
3211
|
+
soleTrader: boolean;
|
|
3155
3212
|
director: string;
|
|
3213
|
+
createdAt: string;
|
|
3214
|
+
updatedAt: string;
|
|
3156
3215
|
blacklistReason?: string | null | undefined;
|
|
3157
3216
|
lastUpdatedBy?: {
|
|
3158
3217
|
id: string;
|
|
@@ -3164,6 +3223,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3164
3223
|
agentId: string;
|
|
3165
3224
|
} | null | undefined;
|
|
3166
3225
|
} | null | undefined;
|
|
3226
|
+
company?: {
|
|
3227
|
+
id: string;
|
|
3228
|
+
name: string;
|
|
3229
|
+
createdAt: string;
|
|
3230
|
+
updatedAt: string;
|
|
3231
|
+
} | null | undefined;
|
|
3167
3232
|
user?: {
|
|
3168
3233
|
id: string;
|
|
3169
3234
|
firstName: string;
|
|
@@ -3171,26 +3236,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3171
3236
|
email: string;
|
|
3172
3237
|
} | null | undefined;
|
|
3173
3238
|
newCollaboration?: {
|
|
3239
|
+
id: string;
|
|
3240
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3174
3241
|
createdAt: string;
|
|
3175
3242
|
updatedAt: string;
|
|
3176
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3177
|
-
id: string;
|
|
3178
3243
|
userId: string;
|
|
3179
|
-
company?: {
|
|
3180
|
-
createdAt: string;
|
|
3181
|
-
updatedAt: string;
|
|
3182
|
-
id: string;
|
|
3183
|
-
name: string;
|
|
3184
|
-
} | null | undefined;
|
|
3185
3244
|
client?: {
|
|
3186
|
-
createdAt: string;
|
|
3187
|
-
updatedAt: string;
|
|
3188
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3189
3245
|
id: string;
|
|
3246
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3190
3247
|
name: string;
|
|
3191
|
-
crn: string;
|
|
3248
|
+
crn: string | null;
|
|
3192
3249
|
govLink: string;
|
|
3250
|
+
soleTrader: boolean;
|
|
3193
3251
|
director: string;
|
|
3252
|
+
createdAt: string;
|
|
3253
|
+
updatedAt: string;
|
|
3194
3254
|
blacklistReason?: string | null | undefined;
|
|
3195
3255
|
lastUpdatedBy?: {
|
|
3196
3256
|
id: string;
|
|
@@ -3202,6 +3262,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3202
3262
|
agentId: string;
|
|
3203
3263
|
} | null | undefined;
|
|
3204
3264
|
} | null | undefined;
|
|
3265
|
+
company?: {
|
|
3266
|
+
id: string;
|
|
3267
|
+
name: string;
|
|
3268
|
+
createdAt: string;
|
|
3269
|
+
updatedAt: string;
|
|
3270
|
+
} | null | undefined;
|
|
3205
3271
|
user?: {
|
|
3206
3272
|
id: string;
|
|
3207
3273
|
firstName: string;
|
|
@@ -3217,39 +3283,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
3217
3283
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
3218
3284
|
checkingComment?: string | null | undefined;
|
|
3219
3285
|
}, {
|
|
3220
|
-
createdAt: string | Date;
|
|
3221
|
-
updatedAt: string | Date;
|
|
3222
3286
|
id: string;
|
|
3223
3287
|
email: string;
|
|
3288
|
+
createdAt: string | Date;
|
|
3289
|
+
updatedAt: string | Date;
|
|
3224
3290
|
collaborationId: string;
|
|
3225
3291
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
3226
|
-
decision: "
|
|
3292
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
3227
3293
|
isTermsAndConditionsConfirmed: boolean;
|
|
3228
3294
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
3229
3295
|
introductionEmailSent: boolean;
|
|
3230
3296
|
collaborationEmailSent: boolean;
|
|
3231
3297
|
clientContactId?: string | null | undefined;
|
|
3232
3298
|
collaboration?: {
|
|
3299
|
+
id: string;
|
|
3300
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3233
3301
|
createdAt: string | Date;
|
|
3234
3302
|
updatedAt: string | Date;
|
|
3235
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3236
|
-
id: string;
|
|
3237
3303
|
userId: string;
|
|
3238
|
-
company?: {
|
|
3239
|
-
createdAt: string | Date;
|
|
3240
|
-
updatedAt: string | Date;
|
|
3241
|
-
id: string;
|
|
3242
|
-
name: string;
|
|
3243
|
-
} | null | undefined;
|
|
3244
3304
|
client?: {
|
|
3245
|
-
createdAt: string | Date;
|
|
3246
|
-
updatedAt: string | Date;
|
|
3247
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3248
3305
|
id: string;
|
|
3306
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3249
3307
|
name: string;
|
|
3250
|
-
crn: string;
|
|
3308
|
+
crn: string | null;
|
|
3251
3309
|
govLink: string;
|
|
3310
|
+
soleTrader: boolean;
|
|
3252
3311
|
director: string;
|
|
3312
|
+
createdAt: string | Date;
|
|
3313
|
+
updatedAt: string | Date;
|
|
3253
3314
|
blacklistReason?: string | null | undefined;
|
|
3254
3315
|
lastUpdatedBy?: {
|
|
3255
3316
|
id: string;
|
|
@@ -3261,6 +3322,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3261
3322
|
agentId: string;
|
|
3262
3323
|
} | null | undefined;
|
|
3263
3324
|
} | null | undefined;
|
|
3325
|
+
company?: {
|
|
3326
|
+
id: string;
|
|
3327
|
+
name: string;
|
|
3328
|
+
createdAt: string | Date;
|
|
3329
|
+
updatedAt: string | Date;
|
|
3330
|
+
} | null | undefined;
|
|
3264
3331
|
user?: {
|
|
3265
3332
|
id: string;
|
|
3266
3333
|
firstName: string;
|
|
@@ -3268,26 +3335,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3268
3335
|
email: string;
|
|
3269
3336
|
} | null | undefined;
|
|
3270
3337
|
newCollaboration?: {
|
|
3338
|
+
id: string;
|
|
3339
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3271
3340
|
createdAt: string | Date;
|
|
3272
3341
|
updatedAt: string | Date;
|
|
3273
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3274
|
-
id: string;
|
|
3275
3342
|
userId: string;
|
|
3276
|
-
company?: {
|
|
3277
|
-
createdAt: string | Date;
|
|
3278
|
-
updatedAt: string | Date;
|
|
3279
|
-
id: string;
|
|
3280
|
-
name: string;
|
|
3281
|
-
} | null | undefined;
|
|
3282
3343
|
client?: {
|
|
3283
|
-
createdAt: string | Date;
|
|
3284
|
-
updatedAt: string | Date;
|
|
3285
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3286
3344
|
id: string;
|
|
3345
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3287
3346
|
name: string;
|
|
3288
|
-
crn: string;
|
|
3347
|
+
crn: string | null;
|
|
3289
3348
|
govLink: string;
|
|
3349
|
+
soleTrader: boolean;
|
|
3290
3350
|
director: string;
|
|
3351
|
+
createdAt: string | Date;
|
|
3352
|
+
updatedAt: string | Date;
|
|
3291
3353
|
blacklistReason?: string | null | undefined;
|
|
3292
3354
|
lastUpdatedBy?: {
|
|
3293
3355
|
id: string;
|
|
@@ -3299,6 +3361,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3299
3361
|
agentId: string;
|
|
3300
3362
|
} | null | undefined;
|
|
3301
3363
|
} | null | undefined;
|
|
3364
|
+
company?: {
|
|
3365
|
+
id: string;
|
|
3366
|
+
name: string;
|
|
3367
|
+
createdAt: string | Date;
|
|
3368
|
+
updatedAt: string | Date;
|
|
3369
|
+
} | null | undefined;
|
|
3302
3370
|
user?: {
|
|
3303
3371
|
id: string;
|
|
3304
3372
|
firstName: string;
|
|
@@ -3322,39 +3390,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
3322
3390
|
}, "strip", z.ZodTypeAny, {
|
|
3323
3391
|
limit: number;
|
|
3324
3392
|
items: {
|
|
3325
|
-
createdAt: string;
|
|
3326
|
-
updatedAt: string;
|
|
3327
3393
|
id: string;
|
|
3328
3394
|
email: string;
|
|
3395
|
+
createdAt: string;
|
|
3396
|
+
updatedAt: string;
|
|
3329
3397
|
collaborationId: string;
|
|
3330
3398
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
3331
|
-
decision: "
|
|
3399
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
3332
3400
|
isTermsAndConditionsConfirmed: boolean;
|
|
3333
3401
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
3334
3402
|
introductionEmailSent: boolean;
|
|
3335
3403
|
collaborationEmailSent: boolean;
|
|
3336
3404
|
clientContactId?: string | null | undefined;
|
|
3337
3405
|
collaboration?: {
|
|
3406
|
+
id: string;
|
|
3407
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3338
3408
|
createdAt: string;
|
|
3339
3409
|
updatedAt: string;
|
|
3340
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3341
|
-
id: string;
|
|
3342
3410
|
userId: string;
|
|
3343
|
-
company?: {
|
|
3344
|
-
createdAt: string;
|
|
3345
|
-
updatedAt: string;
|
|
3346
|
-
id: string;
|
|
3347
|
-
name: string;
|
|
3348
|
-
} | null | undefined;
|
|
3349
3411
|
client?: {
|
|
3350
|
-
createdAt: string;
|
|
3351
|
-
updatedAt: string;
|
|
3352
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3353
3412
|
id: string;
|
|
3413
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3354
3414
|
name: string;
|
|
3355
|
-
crn: string;
|
|
3415
|
+
crn: string | null;
|
|
3356
3416
|
govLink: string;
|
|
3417
|
+
soleTrader: boolean;
|
|
3357
3418
|
director: string;
|
|
3419
|
+
createdAt: string;
|
|
3420
|
+
updatedAt: string;
|
|
3358
3421
|
blacklistReason?: string | null | undefined;
|
|
3359
3422
|
lastUpdatedBy?: {
|
|
3360
3423
|
id: string;
|
|
@@ -3366,6 +3429,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3366
3429
|
agentId: string;
|
|
3367
3430
|
} | null | undefined;
|
|
3368
3431
|
} | null | undefined;
|
|
3432
|
+
company?: {
|
|
3433
|
+
id: string;
|
|
3434
|
+
name: string;
|
|
3435
|
+
createdAt: string;
|
|
3436
|
+
updatedAt: string;
|
|
3437
|
+
} | null | undefined;
|
|
3369
3438
|
user?: {
|
|
3370
3439
|
id: string;
|
|
3371
3440
|
firstName: string;
|
|
@@ -3373,26 +3442,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3373
3442
|
email: string;
|
|
3374
3443
|
} | null | undefined;
|
|
3375
3444
|
newCollaboration?: {
|
|
3445
|
+
id: string;
|
|
3446
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3376
3447
|
createdAt: string;
|
|
3377
3448
|
updatedAt: string;
|
|
3378
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3379
|
-
id: string;
|
|
3380
3449
|
userId: string;
|
|
3381
|
-
company?: {
|
|
3382
|
-
createdAt: string;
|
|
3383
|
-
updatedAt: string;
|
|
3384
|
-
id: string;
|
|
3385
|
-
name: string;
|
|
3386
|
-
} | null | undefined;
|
|
3387
3450
|
client?: {
|
|
3388
|
-
createdAt: string;
|
|
3389
|
-
updatedAt: string;
|
|
3390
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3391
3451
|
id: string;
|
|
3452
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3392
3453
|
name: string;
|
|
3393
|
-
crn: string;
|
|
3454
|
+
crn: string | null;
|
|
3394
3455
|
govLink: string;
|
|
3456
|
+
soleTrader: boolean;
|
|
3395
3457
|
director: string;
|
|
3458
|
+
createdAt: string;
|
|
3459
|
+
updatedAt: string;
|
|
3396
3460
|
blacklistReason?: string | null | undefined;
|
|
3397
3461
|
lastUpdatedBy?: {
|
|
3398
3462
|
id: string;
|
|
@@ -3404,6 +3468,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3404
3468
|
agentId: string;
|
|
3405
3469
|
} | null | undefined;
|
|
3406
3470
|
} | null | undefined;
|
|
3471
|
+
company?: {
|
|
3472
|
+
id: string;
|
|
3473
|
+
name: string;
|
|
3474
|
+
createdAt: string;
|
|
3475
|
+
updatedAt: string;
|
|
3476
|
+
} | null | undefined;
|
|
3407
3477
|
user?: {
|
|
3408
3478
|
id: string;
|
|
3409
3479
|
firstName: string;
|
|
@@ -3426,39 +3496,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
3426
3496
|
}, {
|
|
3427
3497
|
limit: number;
|
|
3428
3498
|
items: {
|
|
3429
|
-
createdAt: string | Date;
|
|
3430
|
-
updatedAt: string | Date;
|
|
3431
3499
|
id: string;
|
|
3432
3500
|
email: string;
|
|
3501
|
+
createdAt: string | Date;
|
|
3502
|
+
updatedAt: string | Date;
|
|
3433
3503
|
collaborationId: string;
|
|
3434
3504
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
3435
|
-
decision: "
|
|
3505
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
3436
3506
|
isTermsAndConditionsConfirmed: boolean;
|
|
3437
3507
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
3438
3508
|
introductionEmailSent: boolean;
|
|
3439
3509
|
collaborationEmailSent: boolean;
|
|
3440
3510
|
clientContactId?: string | null | undefined;
|
|
3441
3511
|
collaboration?: {
|
|
3512
|
+
id: string;
|
|
3513
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3442
3514
|
createdAt: string | Date;
|
|
3443
3515
|
updatedAt: string | Date;
|
|
3444
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3445
|
-
id: string;
|
|
3446
3516
|
userId: string;
|
|
3447
|
-
company?: {
|
|
3448
|
-
createdAt: string | Date;
|
|
3449
|
-
updatedAt: string | Date;
|
|
3450
|
-
id: string;
|
|
3451
|
-
name: string;
|
|
3452
|
-
} | null | undefined;
|
|
3453
3517
|
client?: {
|
|
3454
|
-
createdAt: string | Date;
|
|
3455
|
-
updatedAt: string | Date;
|
|
3456
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3457
3518
|
id: string;
|
|
3519
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3458
3520
|
name: string;
|
|
3459
|
-
crn: string;
|
|
3521
|
+
crn: string | null;
|
|
3460
3522
|
govLink: string;
|
|
3523
|
+
soleTrader: boolean;
|
|
3461
3524
|
director: string;
|
|
3525
|
+
createdAt: string | Date;
|
|
3526
|
+
updatedAt: string | Date;
|
|
3462
3527
|
blacklistReason?: string | null | undefined;
|
|
3463
3528
|
lastUpdatedBy?: {
|
|
3464
3529
|
id: string;
|
|
@@ -3470,6 +3535,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3470
3535
|
agentId: string;
|
|
3471
3536
|
} | null | undefined;
|
|
3472
3537
|
} | null | undefined;
|
|
3538
|
+
company?: {
|
|
3539
|
+
id: string;
|
|
3540
|
+
name: string;
|
|
3541
|
+
createdAt: string | Date;
|
|
3542
|
+
updatedAt: string | Date;
|
|
3543
|
+
} | null | undefined;
|
|
3473
3544
|
user?: {
|
|
3474
3545
|
id: string;
|
|
3475
3546
|
firstName: string;
|
|
@@ -3477,26 +3548,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3477
3548
|
email: string;
|
|
3478
3549
|
} | null | undefined;
|
|
3479
3550
|
newCollaboration?: {
|
|
3551
|
+
id: string;
|
|
3552
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3480
3553
|
createdAt: string | Date;
|
|
3481
3554
|
updatedAt: string | Date;
|
|
3482
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3483
|
-
id: string;
|
|
3484
3555
|
userId: string;
|
|
3485
|
-
company?: {
|
|
3486
|
-
createdAt: string | Date;
|
|
3487
|
-
updatedAt: string | Date;
|
|
3488
|
-
id: string;
|
|
3489
|
-
name: string;
|
|
3490
|
-
} | null | undefined;
|
|
3491
3556
|
client?: {
|
|
3492
|
-
createdAt: string | Date;
|
|
3493
|
-
updatedAt: string | Date;
|
|
3494
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3495
3557
|
id: string;
|
|
3558
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3496
3559
|
name: string;
|
|
3497
|
-
crn: string;
|
|
3560
|
+
crn: string | null;
|
|
3498
3561
|
govLink: string;
|
|
3562
|
+
soleTrader: boolean;
|
|
3499
3563
|
director: string;
|
|
3564
|
+
createdAt: string | Date;
|
|
3565
|
+
updatedAt: string | Date;
|
|
3500
3566
|
blacklistReason?: string | null | undefined;
|
|
3501
3567
|
lastUpdatedBy?: {
|
|
3502
3568
|
id: string;
|
|
@@ -3508,6 +3574,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3508
3574
|
agentId: string;
|
|
3509
3575
|
} | null | undefined;
|
|
3510
3576
|
} | null | undefined;
|
|
3577
|
+
company?: {
|
|
3578
|
+
id: string;
|
|
3579
|
+
name: string;
|
|
3580
|
+
createdAt: string | Date;
|
|
3581
|
+
updatedAt: string | Date;
|
|
3582
|
+
} | null | undefined;
|
|
3511
3583
|
user?: {
|
|
3512
3584
|
id: string;
|
|
3513
3585
|
firstName: string;
|
|
@@ -3660,21 +3732,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
3660
3732
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3661
3733
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3662
3734
|
}, "strip", z.ZodTypeAny, {
|
|
3735
|
+
id: string;
|
|
3736
|
+
name: string;
|
|
3663
3737
|
createdAt: string;
|
|
3664
3738
|
updatedAt: string;
|
|
3739
|
+
}, {
|
|
3665
3740
|
id: string;
|
|
3666
3741
|
name: string;
|
|
3667
|
-
}, {
|
|
3668
3742
|
createdAt: string | Date;
|
|
3669
3743
|
updatedAt: string | Date;
|
|
3670
|
-
id: string;
|
|
3671
|
-
name: string;
|
|
3672
3744
|
}>>>;
|
|
3673
3745
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3674
3746
|
id: z.ZodString;
|
|
3675
3747
|
name: z.ZodString;
|
|
3676
|
-
crn: z.ZodString
|
|
3748
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3677
3749
|
govLink: z.ZodString;
|
|
3750
|
+
soleTrader: z.ZodBoolean;
|
|
3678
3751
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3679
3752
|
director: z.ZodString;
|
|
3680
3753
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3704,14 +3777,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
3704
3777
|
agentId: string;
|
|
3705
3778
|
}>>>;
|
|
3706
3779
|
}, "strip", z.ZodTypeAny, {
|
|
3707
|
-
createdAt: string;
|
|
3708
|
-
updatedAt: string;
|
|
3709
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3710
3780
|
id: string;
|
|
3781
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3711
3782
|
name: string;
|
|
3712
|
-
crn: string;
|
|
3783
|
+
crn: string | null;
|
|
3713
3784
|
govLink: string;
|
|
3785
|
+
soleTrader: boolean;
|
|
3714
3786
|
director: string;
|
|
3787
|
+
createdAt: string;
|
|
3788
|
+
updatedAt: string;
|
|
3715
3789
|
blacklistReason?: string | null | undefined;
|
|
3716
3790
|
lastUpdatedBy?: {
|
|
3717
3791
|
id: string;
|
|
@@ -3723,14 +3797,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
3723
3797
|
agentId: string;
|
|
3724
3798
|
} | null | undefined;
|
|
3725
3799
|
}, {
|
|
3726
|
-
createdAt: string | Date;
|
|
3727
|
-
updatedAt: string | Date;
|
|
3728
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3729
3800
|
id: string;
|
|
3801
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3730
3802
|
name: string;
|
|
3731
|
-
crn: string;
|
|
3803
|
+
crn: string | null;
|
|
3732
3804
|
govLink: string;
|
|
3805
|
+
soleTrader: boolean;
|
|
3733
3806
|
director: string;
|
|
3807
|
+
createdAt: string | Date;
|
|
3808
|
+
updatedAt: string | Date;
|
|
3734
3809
|
blacklistReason?: string | null | undefined;
|
|
3735
3810
|
lastUpdatedBy?: {
|
|
3736
3811
|
id: string;
|
|
@@ -3771,21 +3846,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
3771
3846
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3772
3847
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3773
3848
|
}, "strip", z.ZodTypeAny, {
|
|
3849
|
+
id: string;
|
|
3850
|
+
name: string;
|
|
3774
3851
|
createdAt: string;
|
|
3775
3852
|
updatedAt: string;
|
|
3853
|
+
}, {
|
|
3776
3854
|
id: string;
|
|
3777
3855
|
name: string;
|
|
3778
|
-
}, {
|
|
3779
3856
|
createdAt: string | Date;
|
|
3780
3857
|
updatedAt: string | Date;
|
|
3781
|
-
id: string;
|
|
3782
|
-
name: string;
|
|
3783
3858
|
}>>>;
|
|
3784
3859
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3785
3860
|
id: z.ZodString;
|
|
3786
3861
|
name: z.ZodString;
|
|
3787
|
-
crn: z.ZodString
|
|
3862
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3788
3863
|
govLink: z.ZodString;
|
|
3864
|
+
soleTrader: z.ZodBoolean;
|
|
3789
3865
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3790
3866
|
director: z.ZodString;
|
|
3791
3867
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3815,14 +3891,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
3815
3891
|
agentId: string;
|
|
3816
3892
|
}>>>;
|
|
3817
3893
|
}, "strip", z.ZodTypeAny, {
|
|
3818
|
-
createdAt: string;
|
|
3819
|
-
updatedAt: string;
|
|
3820
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3821
3894
|
id: string;
|
|
3895
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3822
3896
|
name: string;
|
|
3823
|
-
crn: string;
|
|
3897
|
+
crn: string | null;
|
|
3824
3898
|
govLink: string;
|
|
3899
|
+
soleTrader: boolean;
|
|
3825
3900
|
director: string;
|
|
3901
|
+
createdAt: string;
|
|
3902
|
+
updatedAt: string;
|
|
3826
3903
|
blacklistReason?: string | null | undefined;
|
|
3827
3904
|
lastUpdatedBy?: {
|
|
3828
3905
|
id: string;
|
|
@@ -3834,14 +3911,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
3834
3911
|
agentId: string;
|
|
3835
3912
|
} | null | undefined;
|
|
3836
3913
|
}, {
|
|
3837
|
-
createdAt: string | Date;
|
|
3838
|
-
updatedAt: string | Date;
|
|
3839
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3840
3914
|
id: string;
|
|
3915
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3841
3916
|
name: string;
|
|
3842
|
-
crn: string;
|
|
3917
|
+
crn: string | null;
|
|
3843
3918
|
govLink: string;
|
|
3919
|
+
soleTrader: boolean;
|
|
3844
3920
|
director: string;
|
|
3921
|
+
createdAt: string | Date;
|
|
3922
|
+
updatedAt: string | Date;
|
|
3845
3923
|
blacklistReason?: string | null | undefined;
|
|
3846
3924
|
lastUpdatedBy?: {
|
|
3847
3925
|
id: string;
|
|
@@ -3874,26 +3952,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3874
3952
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3875
3953
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3876
3954
|
}, "strip", z.ZodTypeAny, {
|
|
3955
|
+
id: string;
|
|
3956
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3877
3957
|
createdAt: string;
|
|
3878
3958
|
updatedAt: string;
|
|
3879
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3880
|
-
id: string;
|
|
3881
3959
|
userId: string;
|
|
3882
|
-
company?: {
|
|
3883
|
-
createdAt: string;
|
|
3884
|
-
updatedAt: string;
|
|
3885
|
-
id: string;
|
|
3886
|
-
name: string;
|
|
3887
|
-
} | null | undefined;
|
|
3888
3960
|
client?: {
|
|
3889
|
-
createdAt: string;
|
|
3890
|
-
updatedAt: string;
|
|
3891
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3892
3961
|
id: string;
|
|
3962
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3893
3963
|
name: string;
|
|
3894
|
-
crn: string;
|
|
3964
|
+
crn: string | null;
|
|
3895
3965
|
govLink: string;
|
|
3966
|
+
soleTrader: boolean;
|
|
3896
3967
|
director: string;
|
|
3968
|
+
createdAt: string;
|
|
3969
|
+
updatedAt: string;
|
|
3897
3970
|
blacklistReason?: string | null | undefined;
|
|
3898
3971
|
lastUpdatedBy?: {
|
|
3899
3972
|
id: string;
|
|
@@ -3905,6 +3978,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3905
3978
|
agentId: string;
|
|
3906
3979
|
} | null | undefined;
|
|
3907
3980
|
} | null | undefined;
|
|
3981
|
+
company?: {
|
|
3982
|
+
id: string;
|
|
3983
|
+
name: string;
|
|
3984
|
+
createdAt: string;
|
|
3985
|
+
updatedAt: string;
|
|
3986
|
+
} | null | undefined;
|
|
3908
3987
|
user?: {
|
|
3909
3988
|
id: string;
|
|
3910
3989
|
firstName: string;
|
|
@@ -3912,26 +3991,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3912
3991
|
email: string;
|
|
3913
3992
|
} | null | undefined;
|
|
3914
3993
|
}, {
|
|
3994
|
+
id: string;
|
|
3995
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3915
3996
|
createdAt: string | Date;
|
|
3916
3997
|
updatedAt: string | Date;
|
|
3917
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3918
|
-
id: string;
|
|
3919
3998
|
userId: string;
|
|
3920
|
-
company?: {
|
|
3921
|
-
createdAt: string | Date;
|
|
3922
|
-
updatedAt: string | Date;
|
|
3923
|
-
id: string;
|
|
3924
|
-
name: string;
|
|
3925
|
-
} | null | undefined;
|
|
3926
3999
|
client?: {
|
|
3927
|
-
createdAt: string | Date;
|
|
3928
|
-
updatedAt: string | Date;
|
|
3929
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3930
4000
|
id: string;
|
|
4001
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3931
4002
|
name: string;
|
|
3932
|
-
crn: string;
|
|
4003
|
+
crn: string | null;
|
|
3933
4004
|
govLink: string;
|
|
4005
|
+
soleTrader: boolean;
|
|
3934
4006
|
director: string;
|
|
4007
|
+
createdAt: string | Date;
|
|
4008
|
+
updatedAt: string | Date;
|
|
3935
4009
|
blacklistReason?: string | null | undefined;
|
|
3936
4010
|
lastUpdatedBy?: {
|
|
3937
4011
|
id: string;
|
|
@@ -3943,6 +4017,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3943
4017
|
agentId: string;
|
|
3944
4018
|
} | null | undefined;
|
|
3945
4019
|
} | null | undefined;
|
|
4020
|
+
company?: {
|
|
4021
|
+
id: string;
|
|
4022
|
+
name: string;
|
|
4023
|
+
createdAt: string | Date;
|
|
4024
|
+
updatedAt: string | Date;
|
|
4025
|
+
} | null | undefined;
|
|
3946
4026
|
user?: {
|
|
3947
4027
|
id: string;
|
|
3948
4028
|
firstName: string;
|
|
@@ -3951,26 +4031,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3951
4031
|
} | null | undefined;
|
|
3952
4032
|
}>>>;
|
|
3953
4033
|
}, "strip", z.ZodTypeAny, {
|
|
4034
|
+
id: string;
|
|
4035
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3954
4036
|
createdAt: string;
|
|
3955
4037
|
updatedAt: string;
|
|
3956
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3957
|
-
id: string;
|
|
3958
4038
|
userId: string;
|
|
3959
|
-
company?: {
|
|
3960
|
-
createdAt: string;
|
|
3961
|
-
updatedAt: string;
|
|
3962
|
-
id: string;
|
|
3963
|
-
name: string;
|
|
3964
|
-
} | null | undefined;
|
|
3965
4039
|
client?: {
|
|
3966
|
-
createdAt: string;
|
|
3967
|
-
updatedAt: string;
|
|
3968
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3969
4040
|
id: string;
|
|
4041
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3970
4042
|
name: string;
|
|
3971
|
-
crn: string;
|
|
4043
|
+
crn: string | null;
|
|
3972
4044
|
govLink: string;
|
|
4045
|
+
soleTrader: boolean;
|
|
3973
4046
|
director: string;
|
|
4047
|
+
createdAt: string;
|
|
4048
|
+
updatedAt: string;
|
|
3974
4049
|
blacklistReason?: string | null | undefined;
|
|
3975
4050
|
lastUpdatedBy?: {
|
|
3976
4051
|
id: string;
|
|
@@ -3982,6 +4057,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
3982
4057
|
agentId: string;
|
|
3983
4058
|
} | null | undefined;
|
|
3984
4059
|
} | null | undefined;
|
|
4060
|
+
company?: {
|
|
4061
|
+
id: string;
|
|
4062
|
+
name: string;
|
|
4063
|
+
createdAt: string;
|
|
4064
|
+
updatedAt: string;
|
|
4065
|
+
} | null | undefined;
|
|
3985
4066
|
user?: {
|
|
3986
4067
|
id: string;
|
|
3987
4068
|
firstName: string;
|
|
@@ -3989,26 +4070,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
3989
4070
|
email: string;
|
|
3990
4071
|
} | null | undefined;
|
|
3991
4072
|
newCollaboration?: {
|
|
4073
|
+
id: string;
|
|
4074
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3992
4075
|
createdAt: string;
|
|
3993
4076
|
updatedAt: string;
|
|
3994
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3995
|
-
id: string;
|
|
3996
4077
|
userId: string;
|
|
3997
|
-
company?: {
|
|
3998
|
-
createdAt: string;
|
|
3999
|
-
updatedAt: string;
|
|
4000
|
-
id: string;
|
|
4001
|
-
name: string;
|
|
4002
|
-
} | null | undefined;
|
|
4003
4078
|
client?: {
|
|
4004
|
-
createdAt: string;
|
|
4005
|
-
updatedAt: string;
|
|
4006
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4007
4079
|
id: string;
|
|
4080
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4008
4081
|
name: string;
|
|
4009
|
-
crn: string;
|
|
4082
|
+
crn: string | null;
|
|
4010
4083
|
govLink: string;
|
|
4084
|
+
soleTrader: boolean;
|
|
4011
4085
|
director: string;
|
|
4086
|
+
createdAt: string;
|
|
4087
|
+
updatedAt: string;
|
|
4012
4088
|
blacklistReason?: string | null | undefined;
|
|
4013
4089
|
lastUpdatedBy?: {
|
|
4014
4090
|
id: string;
|
|
@@ -4020,6 +4096,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4020
4096
|
agentId: string;
|
|
4021
4097
|
} | null | undefined;
|
|
4022
4098
|
} | null | undefined;
|
|
4099
|
+
company?: {
|
|
4100
|
+
id: string;
|
|
4101
|
+
name: string;
|
|
4102
|
+
createdAt: string;
|
|
4103
|
+
updatedAt: string;
|
|
4104
|
+
} | null | undefined;
|
|
4023
4105
|
user?: {
|
|
4024
4106
|
id: string;
|
|
4025
4107
|
firstName: string;
|
|
@@ -4028,26 +4110,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4028
4110
|
} | null | undefined;
|
|
4029
4111
|
} | null | undefined;
|
|
4030
4112
|
}, {
|
|
4113
|
+
id: string;
|
|
4114
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4031
4115
|
createdAt: string | Date;
|
|
4032
4116
|
updatedAt: string | Date;
|
|
4033
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4034
|
-
id: string;
|
|
4035
4117
|
userId: string;
|
|
4036
|
-
company?: {
|
|
4037
|
-
createdAt: string | Date;
|
|
4038
|
-
updatedAt: string | Date;
|
|
4039
|
-
id: string;
|
|
4040
|
-
name: string;
|
|
4041
|
-
} | null | undefined;
|
|
4042
4118
|
client?: {
|
|
4043
|
-
createdAt: string | Date;
|
|
4044
|
-
updatedAt: string | Date;
|
|
4045
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4046
4119
|
id: string;
|
|
4120
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4047
4121
|
name: string;
|
|
4048
|
-
crn: string;
|
|
4122
|
+
crn: string | null;
|
|
4049
4123
|
govLink: string;
|
|
4124
|
+
soleTrader: boolean;
|
|
4050
4125
|
director: string;
|
|
4126
|
+
createdAt: string | Date;
|
|
4127
|
+
updatedAt: string | Date;
|
|
4051
4128
|
blacklistReason?: string | null | undefined;
|
|
4052
4129
|
lastUpdatedBy?: {
|
|
4053
4130
|
id: string;
|
|
@@ -4059,6 +4136,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4059
4136
|
agentId: string;
|
|
4060
4137
|
} | null | undefined;
|
|
4061
4138
|
} | null | undefined;
|
|
4139
|
+
company?: {
|
|
4140
|
+
id: string;
|
|
4141
|
+
name: string;
|
|
4142
|
+
createdAt: string | Date;
|
|
4143
|
+
updatedAt: string | Date;
|
|
4144
|
+
} | null | undefined;
|
|
4062
4145
|
user?: {
|
|
4063
4146
|
id: string;
|
|
4064
4147
|
firstName: string;
|
|
@@ -4066,26 +4149,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4066
4149
|
email: string;
|
|
4067
4150
|
} | null | undefined;
|
|
4068
4151
|
newCollaboration?: {
|
|
4152
|
+
id: string;
|
|
4153
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4069
4154
|
createdAt: string | Date;
|
|
4070
4155
|
updatedAt: string | Date;
|
|
4071
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4072
|
-
id: string;
|
|
4073
4156
|
userId: string;
|
|
4074
|
-
company?: {
|
|
4075
|
-
createdAt: string | Date;
|
|
4076
|
-
updatedAt: string | Date;
|
|
4077
|
-
id: string;
|
|
4078
|
-
name: string;
|
|
4079
|
-
} | null | undefined;
|
|
4080
4157
|
client?: {
|
|
4081
|
-
createdAt: string | Date;
|
|
4082
|
-
updatedAt: string | Date;
|
|
4083
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4084
4158
|
id: string;
|
|
4159
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4085
4160
|
name: string;
|
|
4086
|
-
crn: string;
|
|
4161
|
+
crn: string | null;
|
|
4087
4162
|
govLink: string;
|
|
4163
|
+
soleTrader: boolean;
|
|
4088
4164
|
director: string;
|
|
4165
|
+
createdAt: string | Date;
|
|
4166
|
+
updatedAt: string | Date;
|
|
4089
4167
|
blacklistReason?: string | null | undefined;
|
|
4090
4168
|
lastUpdatedBy?: {
|
|
4091
4169
|
id: string;
|
|
@@ -4097,6 +4175,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4097
4175
|
agentId: string;
|
|
4098
4176
|
} | null | undefined;
|
|
4099
4177
|
} | null | undefined;
|
|
4178
|
+
company?: {
|
|
4179
|
+
id: string;
|
|
4180
|
+
name: string;
|
|
4181
|
+
createdAt: string | Date;
|
|
4182
|
+
updatedAt: string | Date;
|
|
4183
|
+
} | null | undefined;
|
|
4100
4184
|
user?: {
|
|
4101
4185
|
id: string;
|
|
4102
4186
|
firstName: string;
|
|
@@ -4121,39 +4205,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
4121
4205
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4122
4206
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4123
4207
|
}, "strip", z.ZodTypeAny, {
|
|
4124
|
-
createdAt: string;
|
|
4125
|
-
updatedAt: string;
|
|
4126
4208
|
id: string;
|
|
4127
4209
|
email: string;
|
|
4210
|
+
createdAt: string;
|
|
4211
|
+
updatedAt: string;
|
|
4128
4212
|
collaborationId: string;
|
|
4129
4213
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
4130
|
-
decision: "
|
|
4214
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
4131
4215
|
isTermsAndConditionsConfirmed: boolean;
|
|
4132
4216
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
4133
4217
|
introductionEmailSent: boolean;
|
|
4134
4218
|
collaborationEmailSent: boolean;
|
|
4135
4219
|
clientContactId?: string | null | undefined;
|
|
4136
4220
|
collaboration?: {
|
|
4221
|
+
id: string;
|
|
4222
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4137
4223
|
createdAt: string;
|
|
4138
4224
|
updatedAt: string;
|
|
4139
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4140
|
-
id: string;
|
|
4141
4225
|
userId: string;
|
|
4142
|
-
company?: {
|
|
4143
|
-
createdAt: string;
|
|
4144
|
-
updatedAt: string;
|
|
4145
|
-
id: string;
|
|
4146
|
-
name: string;
|
|
4147
|
-
} | null | undefined;
|
|
4148
4226
|
client?: {
|
|
4149
|
-
createdAt: string;
|
|
4150
|
-
updatedAt: string;
|
|
4151
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4152
4227
|
id: string;
|
|
4228
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4153
4229
|
name: string;
|
|
4154
|
-
crn: string;
|
|
4230
|
+
crn: string | null;
|
|
4155
4231
|
govLink: string;
|
|
4232
|
+
soleTrader: boolean;
|
|
4156
4233
|
director: string;
|
|
4234
|
+
createdAt: string;
|
|
4235
|
+
updatedAt: string;
|
|
4157
4236
|
blacklistReason?: string | null | undefined;
|
|
4158
4237
|
lastUpdatedBy?: {
|
|
4159
4238
|
id: string;
|
|
@@ -4165,6 +4244,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4165
4244
|
agentId: string;
|
|
4166
4245
|
} | null | undefined;
|
|
4167
4246
|
} | null | undefined;
|
|
4247
|
+
company?: {
|
|
4248
|
+
id: string;
|
|
4249
|
+
name: string;
|
|
4250
|
+
createdAt: string;
|
|
4251
|
+
updatedAt: string;
|
|
4252
|
+
} | null | undefined;
|
|
4168
4253
|
user?: {
|
|
4169
4254
|
id: string;
|
|
4170
4255
|
firstName: string;
|
|
@@ -4172,26 +4257,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4172
4257
|
email: string;
|
|
4173
4258
|
} | null | undefined;
|
|
4174
4259
|
newCollaboration?: {
|
|
4260
|
+
id: string;
|
|
4261
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4175
4262
|
createdAt: string;
|
|
4176
4263
|
updatedAt: string;
|
|
4177
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4178
|
-
id: string;
|
|
4179
4264
|
userId: string;
|
|
4180
|
-
company?: {
|
|
4181
|
-
createdAt: string;
|
|
4182
|
-
updatedAt: string;
|
|
4183
|
-
id: string;
|
|
4184
|
-
name: string;
|
|
4185
|
-
} | null | undefined;
|
|
4186
4265
|
client?: {
|
|
4187
|
-
createdAt: string;
|
|
4188
|
-
updatedAt: string;
|
|
4189
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4190
4266
|
id: string;
|
|
4267
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4191
4268
|
name: string;
|
|
4192
|
-
crn: string;
|
|
4269
|
+
crn: string | null;
|
|
4193
4270
|
govLink: string;
|
|
4271
|
+
soleTrader: boolean;
|
|
4194
4272
|
director: string;
|
|
4273
|
+
createdAt: string;
|
|
4274
|
+
updatedAt: string;
|
|
4195
4275
|
blacklistReason?: string | null | undefined;
|
|
4196
4276
|
lastUpdatedBy?: {
|
|
4197
4277
|
id: string;
|
|
@@ -4203,6 +4283,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4203
4283
|
agentId: string;
|
|
4204
4284
|
} | null | undefined;
|
|
4205
4285
|
} | null | undefined;
|
|
4286
|
+
company?: {
|
|
4287
|
+
id: string;
|
|
4288
|
+
name: string;
|
|
4289
|
+
createdAt: string;
|
|
4290
|
+
updatedAt: string;
|
|
4291
|
+
} | null | undefined;
|
|
4206
4292
|
user?: {
|
|
4207
4293
|
id: string;
|
|
4208
4294
|
firstName: string;
|
|
@@ -4218,39 +4304,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
4218
4304
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
4219
4305
|
checkingComment?: string | null | undefined;
|
|
4220
4306
|
}, {
|
|
4221
|
-
createdAt: string | Date;
|
|
4222
|
-
updatedAt: string | Date;
|
|
4223
4307
|
id: string;
|
|
4224
4308
|
email: string;
|
|
4309
|
+
createdAt: string | Date;
|
|
4310
|
+
updatedAt: string | Date;
|
|
4225
4311
|
collaborationId: string;
|
|
4226
4312
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
4227
|
-
decision: "
|
|
4313
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
4228
4314
|
isTermsAndConditionsConfirmed: boolean;
|
|
4229
4315
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
4230
4316
|
introductionEmailSent: boolean;
|
|
4231
4317
|
collaborationEmailSent: boolean;
|
|
4232
4318
|
clientContactId?: string | null | undefined;
|
|
4233
4319
|
collaboration?: {
|
|
4320
|
+
id: string;
|
|
4321
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4234
4322
|
createdAt: string | Date;
|
|
4235
4323
|
updatedAt: string | Date;
|
|
4236
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4237
|
-
id: string;
|
|
4238
4324
|
userId: string;
|
|
4239
|
-
company?: {
|
|
4240
|
-
createdAt: string | Date;
|
|
4241
|
-
updatedAt: string | Date;
|
|
4242
|
-
id: string;
|
|
4243
|
-
name: string;
|
|
4244
|
-
} | null | undefined;
|
|
4245
4325
|
client?: {
|
|
4246
|
-
createdAt: string | Date;
|
|
4247
|
-
updatedAt: string | Date;
|
|
4248
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4249
4326
|
id: string;
|
|
4327
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4250
4328
|
name: string;
|
|
4251
|
-
crn: string;
|
|
4329
|
+
crn: string | null;
|
|
4252
4330
|
govLink: string;
|
|
4331
|
+
soleTrader: boolean;
|
|
4253
4332
|
director: string;
|
|
4333
|
+
createdAt: string | Date;
|
|
4334
|
+
updatedAt: string | Date;
|
|
4254
4335
|
blacklistReason?: string | null | undefined;
|
|
4255
4336
|
lastUpdatedBy?: {
|
|
4256
4337
|
id: string;
|
|
@@ -4262,6 +4343,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4262
4343
|
agentId: string;
|
|
4263
4344
|
} | null | undefined;
|
|
4264
4345
|
} | null | undefined;
|
|
4346
|
+
company?: {
|
|
4347
|
+
id: string;
|
|
4348
|
+
name: string;
|
|
4349
|
+
createdAt: string | Date;
|
|
4350
|
+
updatedAt: string | Date;
|
|
4351
|
+
} | null | undefined;
|
|
4265
4352
|
user?: {
|
|
4266
4353
|
id: string;
|
|
4267
4354
|
firstName: string;
|
|
@@ -4269,26 +4356,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4269
4356
|
email: string;
|
|
4270
4357
|
} | null | undefined;
|
|
4271
4358
|
newCollaboration?: {
|
|
4359
|
+
id: string;
|
|
4360
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4272
4361
|
createdAt: string | Date;
|
|
4273
4362
|
updatedAt: string | Date;
|
|
4274
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4275
|
-
id: string;
|
|
4276
4363
|
userId: string;
|
|
4277
|
-
company?: {
|
|
4278
|
-
createdAt: string | Date;
|
|
4279
|
-
updatedAt: string | Date;
|
|
4280
|
-
id: string;
|
|
4281
|
-
name: string;
|
|
4282
|
-
} | null | undefined;
|
|
4283
4364
|
client?: {
|
|
4284
|
-
createdAt: string | Date;
|
|
4285
|
-
updatedAt: string | Date;
|
|
4286
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4287
4365
|
id: string;
|
|
4366
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4288
4367
|
name: string;
|
|
4289
|
-
crn: string;
|
|
4368
|
+
crn: string | null;
|
|
4290
4369
|
govLink: string;
|
|
4370
|
+
soleTrader: boolean;
|
|
4291
4371
|
director: string;
|
|
4372
|
+
createdAt: string | Date;
|
|
4373
|
+
updatedAt: string | Date;
|
|
4292
4374
|
blacklistReason?: string | null | undefined;
|
|
4293
4375
|
lastUpdatedBy?: {
|
|
4294
4376
|
id: string;
|
|
@@ -4300,6 +4382,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4300
4382
|
agentId: string;
|
|
4301
4383
|
} | null | undefined;
|
|
4302
4384
|
} | null | undefined;
|
|
4385
|
+
company?: {
|
|
4386
|
+
id: string;
|
|
4387
|
+
name: string;
|
|
4388
|
+
createdAt: string | Date;
|
|
4389
|
+
updatedAt: string | Date;
|
|
4390
|
+
} | null | undefined;
|
|
4303
4391
|
user?: {
|
|
4304
4392
|
id: string;
|
|
4305
4393
|
firstName: string;
|
|
@@ -4373,7 +4461,7 @@ export declare const collaborationCheckingsContract: {
|
|
|
4373
4461
|
email?: string | null | undefined;
|
|
4374
4462
|
clientContactId?: string | null | undefined;
|
|
4375
4463
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
|
|
4376
|
-
decision?: "
|
|
4464
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | null | undefined;
|
|
4377
4465
|
decisionComment?: string | null | undefined;
|
|
4378
4466
|
isTermsAndConditionsConfirmed?: boolean | null | undefined;
|
|
4379
4467
|
emailType?: "INTRODUCTION" | "COLLABORATION" | "BOTH" | null | undefined;
|
|
@@ -4384,7 +4472,7 @@ export declare const collaborationCheckingsContract: {
|
|
|
4384
4472
|
email?: string | null | undefined;
|
|
4385
4473
|
clientContactId?: string | null | undefined;
|
|
4386
4474
|
urgency?: "LOW" | "MEDIUM" | "HIGH" | null | undefined;
|
|
4387
|
-
decision?: "
|
|
4475
|
+
decision?: "APPROVED" | "REJECTED" | "PENDING" | null | undefined;
|
|
4388
4476
|
decisionComment?: string | null | undefined;
|
|
4389
4477
|
isTermsAndConditionsConfirmed?: boolean | null | undefined;
|
|
4390
4478
|
emailType?: "INTRODUCTION" | "COLLABORATION" | "BOTH" | null | undefined;
|
|
@@ -4506,21 +4594,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
4506
4594
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4507
4595
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4508
4596
|
}, "strip", z.ZodTypeAny, {
|
|
4597
|
+
id: string;
|
|
4598
|
+
name: string;
|
|
4509
4599
|
createdAt: string;
|
|
4510
4600
|
updatedAt: string;
|
|
4601
|
+
}, {
|
|
4511
4602
|
id: string;
|
|
4512
4603
|
name: string;
|
|
4513
|
-
}, {
|
|
4514
4604
|
createdAt: string | Date;
|
|
4515
4605
|
updatedAt: string | Date;
|
|
4516
|
-
id: string;
|
|
4517
|
-
name: string;
|
|
4518
4606
|
}>>>;
|
|
4519
4607
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4520
4608
|
id: z.ZodString;
|
|
4521
4609
|
name: z.ZodString;
|
|
4522
|
-
crn: z.ZodString
|
|
4610
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4523
4611
|
govLink: z.ZodString;
|
|
4612
|
+
soleTrader: z.ZodBoolean;
|
|
4524
4613
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4525
4614
|
director: z.ZodString;
|
|
4526
4615
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4550,14 +4639,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
4550
4639
|
agentId: string;
|
|
4551
4640
|
}>>>;
|
|
4552
4641
|
}, "strip", z.ZodTypeAny, {
|
|
4553
|
-
createdAt: string;
|
|
4554
|
-
updatedAt: string;
|
|
4555
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4556
4642
|
id: string;
|
|
4643
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4557
4644
|
name: string;
|
|
4558
|
-
crn: string;
|
|
4645
|
+
crn: string | null;
|
|
4559
4646
|
govLink: string;
|
|
4647
|
+
soleTrader: boolean;
|
|
4560
4648
|
director: string;
|
|
4649
|
+
createdAt: string;
|
|
4650
|
+
updatedAt: string;
|
|
4561
4651
|
blacklistReason?: string | null | undefined;
|
|
4562
4652
|
lastUpdatedBy?: {
|
|
4563
4653
|
id: string;
|
|
@@ -4569,14 +4659,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
4569
4659
|
agentId: string;
|
|
4570
4660
|
} | null | undefined;
|
|
4571
4661
|
}, {
|
|
4572
|
-
createdAt: string | Date;
|
|
4573
|
-
updatedAt: string | Date;
|
|
4574
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4575
4662
|
id: string;
|
|
4663
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4576
4664
|
name: string;
|
|
4577
|
-
crn: string;
|
|
4665
|
+
crn: string | null;
|
|
4578
4666
|
govLink: string;
|
|
4667
|
+
soleTrader: boolean;
|
|
4579
4668
|
director: string;
|
|
4669
|
+
createdAt: string | Date;
|
|
4670
|
+
updatedAt: string | Date;
|
|
4580
4671
|
blacklistReason?: string | null | undefined;
|
|
4581
4672
|
lastUpdatedBy?: {
|
|
4582
4673
|
id: string;
|
|
@@ -4617,21 +4708,22 @@ export declare const collaborationCheckingsContract: {
|
|
|
4617
4708
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4618
4709
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4619
4710
|
}, "strip", z.ZodTypeAny, {
|
|
4711
|
+
id: string;
|
|
4712
|
+
name: string;
|
|
4620
4713
|
createdAt: string;
|
|
4621
4714
|
updatedAt: string;
|
|
4715
|
+
}, {
|
|
4622
4716
|
id: string;
|
|
4623
4717
|
name: string;
|
|
4624
|
-
}, {
|
|
4625
4718
|
createdAt: string | Date;
|
|
4626
4719
|
updatedAt: string | Date;
|
|
4627
|
-
id: string;
|
|
4628
|
-
name: string;
|
|
4629
4720
|
}>>>;
|
|
4630
4721
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4631
4722
|
id: z.ZodString;
|
|
4632
4723
|
name: z.ZodString;
|
|
4633
|
-
crn: z.ZodString
|
|
4724
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4634
4725
|
govLink: z.ZodString;
|
|
4726
|
+
soleTrader: z.ZodBoolean;
|
|
4635
4727
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4636
4728
|
director: z.ZodString;
|
|
4637
4729
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4661,14 +4753,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
4661
4753
|
agentId: string;
|
|
4662
4754
|
}>>>;
|
|
4663
4755
|
}, "strip", z.ZodTypeAny, {
|
|
4664
|
-
createdAt: string;
|
|
4665
|
-
updatedAt: string;
|
|
4666
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4667
4756
|
id: string;
|
|
4757
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4668
4758
|
name: string;
|
|
4669
|
-
crn: string;
|
|
4759
|
+
crn: string | null;
|
|
4670
4760
|
govLink: string;
|
|
4761
|
+
soleTrader: boolean;
|
|
4671
4762
|
director: string;
|
|
4763
|
+
createdAt: string;
|
|
4764
|
+
updatedAt: string;
|
|
4672
4765
|
blacklistReason?: string | null | undefined;
|
|
4673
4766
|
lastUpdatedBy?: {
|
|
4674
4767
|
id: string;
|
|
@@ -4680,14 +4773,15 @@ export declare const collaborationCheckingsContract: {
|
|
|
4680
4773
|
agentId: string;
|
|
4681
4774
|
} | null | undefined;
|
|
4682
4775
|
}, {
|
|
4683
|
-
createdAt: string | Date;
|
|
4684
|
-
updatedAt: string | Date;
|
|
4685
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4686
4776
|
id: string;
|
|
4777
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4687
4778
|
name: string;
|
|
4688
|
-
crn: string;
|
|
4779
|
+
crn: string | null;
|
|
4689
4780
|
govLink: string;
|
|
4781
|
+
soleTrader: boolean;
|
|
4690
4782
|
director: string;
|
|
4783
|
+
createdAt: string | Date;
|
|
4784
|
+
updatedAt: string | Date;
|
|
4691
4785
|
blacklistReason?: string | null | undefined;
|
|
4692
4786
|
lastUpdatedBy?: {
|
|
4693
4787
|
id: string;
|
|
@@ -4720,26 +4814,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4720
4814
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4721
4815
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4722
4816
|
}, "strip", z.ZodTypeAny, {
|
|
4817
|
+
id: string;
|
|
4818
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4723
4819
|
createdAt: string;
|
|
4724
4820
|
updatedAt: string;
|
|
4725
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4726
|
-
id: string;
|
|
4727
4821
|
userId: string;
|
|
4728
|
-
company?: {
|
|
4729
|
-
createdAt: string;
|
|
4730
|
-
updatedAt: string;
|
|
4731
|
-
id: string;
|
|
4732
|
-
name: string;
|
|
4733
|
-
} | null | undefined;
|
|
4734
4822
|
client?: {
|
|
4735
|
-
createdAt: string;
|
|
4736
|
-
updatedAt: string;
|
|
4737
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4738
4823
|
id: string;
|
|
4824
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4739
4825
|
name: string;
|
|
4740
|
-
crn: string;
|
|
4826
|
+
crn: string | null;
|
|
4741
4827
|
govLink: string;
|
|
4828
|
+
soleTrader: boolean;
|
|
4742
4829
|
director: string;
|
|
4830
|
+
createdAt: string;
|
|
4831
|
+
updatedAt: string;
|
|
4743
4832
|
blacklistReason?: string | null | undefined;
|
|
4744
4833
|
lastUpdatedBy?: {
|
|
4745
4834
|
id: string;
|
|
@@ -4751,6 +4840,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4751
4840
|
agentId: string;
|
|
4752
4841
|
} | null | undefined;
|
|
4753
4842
|
} | null | undefined;
|
|
4843
|
+
company?: {
|
|
4844
|
+
id: string;
|
|
4845
|
+
name: string;
|
|
4846
|
+
createdAt: string;
|
|
4847
|
+
updatedAt: string;
|
|
4848
|
+
} | null | undefined;
|
|
4754
4849
|
user?: {
|
|
4755
4850
|
id: string;
|
|
4756
4851
|
firstName: string;
|
|
@@ -4758,26 +4853,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4758
4853
|
email: string;
|
|
4759
4854
|
} | null | undefined;
|
|
4760
4855
|
}, {
|
|
4856
|
+
id: string;
|
|
4857
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4761
4858
|
createdAt: string | Date;
|
|
4762
4859
|
updatedAt: string | Date;
|
|
4763
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4764
|
-
id: string;
|
|
4765
4860
|
userId: string;
|
|
4766
|
-
company?: {
|
|
4767
|
-
createdAt: string | Date;
|
|
4768
|
-
updatedAt: string | Date;
|
|
4769
|
-
id: string;
|
|
4770
|
-
name: string;
|
|
4771
|
-
} | null | undefined;
|
|
4772
4861
|
client?: {
|
|
4773
|
-
createdAt: string | Date;
|
|
4774
|
-
updatedAt: string | Date;
|
|
4775
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4776
4862
|
id: string;
|
|
4863
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4777
4864
|
name: string;
|
|
4778
|
-
crn: string;
|
|
4865
|
+
crn: string | null;
|
|
4779
4866
|
govLink: string;
|
|
4867
|
+
soleTrader: boolean;
|
|
4780
4868
|
director: string;
|
|
4869
|
+
createdAt: string | Date;
|
|
4870
|
+
updatedAt: string | Date;
|
|
4781
4871
|
blacklistReason?: string | null | undefined;
|
|
4782
4872
|
lastUpdatedBy?: {
|
|
4783
4873
|
id: string;
|
|
@@ -4789,6 +4879,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4789
4879
|
agentId: string;
|
|
4790
4880
|
} | null | undefined;
|
|
4791
4881
|
} | null | undefined;
|
|
4882
|
+
company?: {
|
|
4883
|
+
id: string;
|
|
4884
|
+
name: string;
|
|
4885
|
+
createdAt: string | Date;
|
|
4886
|
+
updatedAt: string | Date;
|
|
4887
|
+
} | null | undefined;
|
|
4792
4888
|
user?: {
|
|
4793
4889
|
id: string;
|
|
4794
4890
|
firstName: string;
|
|
@@ -4797,26 +4893,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4797
4893
|
} | null | undefined;
|
|
4798
4894
|
}>>>;
|
|
4799
4895
|
}, "strip", z.ZodTypeAny, {
|
|
4896
|
+
id: string;
|
|
4897
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4800
4898
|
createdAt: string;
|
|
4801
4899
|
updatedAt: string;
|
|
4802
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4803
|
-
id: string;
|
|
4804
4900
|
userId: string;
|
|
4805
|
-
company?: {
|
|
4806
|
-
createdAt: string;
|
|
4807
|
-
updatedAt: string;
|
|
4808
|
-
id: string;
|
|
4809
|
-
name: string;
|
|
4810
|
-
} | null | undefined;
|
|
4811
4901
|
client?: {
|
|
4812
|
-
createdAt: string;
|
|
4813
|
-
updatedAt: string;
|
|
4814
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4815
4902
|
id: string;
|
|
4903
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4816
4904
|
name: string;
|
|
4817
|
-
crn: string;
|
|
4905
|
+
crn: string | null;
|
|
4818
4906
|
govLink: string;
|
|
4907
|
+
soleTrader: boolean;
|
|
4819
4908
|
director: string;
|
|
4909
|
+
createdAt: string;
|
|
4910
|
+
updatedAt: string;
|
|
4820
4911
|
blacklistReason?: string | null | undefined;
|
|
4821
4912
|
lastUpdatedBy?: {
|
|
4822
4913
|
id: string;
|
|
@@ -4828,6 +4919,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4828
4919
|
agentId: string;
|
|
4829
4920
|
} | null | undefined;
|
|
4830
4921
|
} | null | undefined;
|
|
4922
|
+
company?: {
|
|
4923
|
+
id: string;
|
|
4924
|
+
name: string;
|
|
4925
|
+
createdAt: string;
|
|
4926
|
+
updatedAt: string;
|
|
4927
|
+
} | null | undefined;
|
|
4831
4928
|
user?: {
|
|
4832
4929
|
id: string;
|
|
4833
4930
|
firstName: string;
|
|
@@ -4835,26 +4932,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4835
4932
|
email: string;
|
|
4836
4933
|
} | null | undefined;
|
|
4837
4934
|
newCollaboration?: {
|
|
4935
|
+
id: string;
|
|
4936
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4838
4937
|
createdAt: string;
|
|
4839
4938
|
updatedAt: string;
|
|
4840
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4841
|
-
id: string;
|
|
4842
4939
|
userId: string;
|
|
4843
|
-
company?: {
|
|
4844
|
-
createdAt: string;
|
|
4845
|
-
updatedAt: string;
|
|
4846
|
-
id: string;
|
|
4847
|
-
name: string;
|
|
4848
|
-
} | null | undefined;
|
|
4849
4940
|
client?: {
|
|
4850
|
-
createdAt: string;
|
|
4851
|
-
updatedAt: string;
|
|
4852
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4853
4941
|
id: string;
|
|
4942
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4854
4943
|
name: string;
|
|
4855
|
-
crn: string;
|
|
4944
|
+
crn: string | null;
|
|
4856
4945
|
govLink: string;
|
|
4946
|
+
soleTrader: boolean;
|
|
4857
4947
|
director: string;
|
|
4948
|
+
createdAt: string;
|
|
4949
|
+
updatedAt: string;
|
|
4858
4950
|
blacklistReason?: string | null | undefined;
|
|
4859
4951
|
lastUpdatedBy?: {
|
|
4860
4952
|
id: string;
|
|
@@ -4866,6 +4958,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4866
4958
|
agentId: string;
|
|
4867
4959
|
} | null | undefined;
|
|
4868
4960
|
} | null | undefined;
|
|
4961
|
+
company?: {
|
|
4962
|
+
id: string;
|
|
4963
|
+
name: string;
|
|
4964
|
+
createdAt: string;
|
|
4965
|
+
updatedAt: string;
|
|
4966
|
+
} | null | undefined;
|
|
4869
4967
|
user?: {
|
|
4870
4968
|
id: string;
|
|
4871
4969
|
firstName: string;
|
|
@@ -4874,26 +4972,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4874
4972
|
} | null | undefined;
|
|
4875
4973
|
} | null | undefined;
|
|
4876
4974
|
}, {
|
|
4975
|
+
id: string;
|
|
4976
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4877
4977
|
createdAt: string | Date;
|
|
4878
4978
|
updatedAt: string | Date;
|
|
4879
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4880
|
-
id: string;
|
|
4881
4979
|
userId: string;
|
|
4882
|
-
company?: {
|
|
4883
|
-
createdAt: string | Date;
|
|
4884
|
-
updatedAt: string | Date;
|
|
4885
|
-
id: string;
|
|
4886
|
-
name: string;
|
|
4887
|
-
} | null | undefined;
|
|
4888
4980
|
client?: {
|
|
4889
|
-
createdAt: string | Date;
|
|
4890
|
-
updatedAt: string | Date;
|
|
4891
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4892
4981
|
id: string;
|
|
4982
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4893
4983
|
name: string;
|
|
4894
|
-
crn: string;
|
|
4984
|
+
crn: string | null;
|
|
4895
4985
|
govLink: string;
|
|
4986
|
+
soleTrader: boolean;
|
|
4896
4987
|
director: string;
|
|
4988
|
+
createdAt: string | Date;
|
|
4989
|
+
updatedAt: string | Date;
|
|
4897
4990
|
blacklistReason?: string | null | undefined;
|
|
4898
4991
|
lastUpdatedBy?: {
|
|
4899
4992
|
id: string;
|
|
@@ -4905,6 +4998,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4905
4998
|
agentId: string;
|
|
4906
4999
|
} | null | undefined;
|
|
4907
5000
|
} | null | undefined;
|
|
5001
|
+
company?: {
|
|
5002
|
+
id: string;
|
|
5003
|
+
name: string;
|
|
5004
|
+
createdAt: string | Date;
|
|
5005
|
+
updatedAt: string | Date;
|
|
5006
|
+
} | null | undefined;
|
|
4908
5007
|
user?: {
|
|
4909
5008
|
id: string;
|
|
4910
5009
|
firstName: string;
|
|
@@ -4912,26 +5011,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
4912
5011
|
email: string;
|
|
4913
5012
|
} | null | undefined;
|
|
4914
5013
|
newCollaboration?: {
|
|
5014
|
+
id: string;
|
|
5015
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4915
5016
|
createdAt: string | Date;
|
|
4916
5017
|
updatedAt: string | Date;
|
|
4917
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4918
|
-
id: string;
|
|
4919
5018
|
userId: string;
|
|
4920
|
-
company?: {
|
|
4921
|
-
createdAt: string | Date;
|
|
4922
|
-
updatedAt: string | Date;
|
|
4923
|
-
id: string;
|
|
4924
|
-
name: string;
|
|
4925
|
-
} | null | undefined;
|
|
4926
5019
|
client?: {
|
|
4927
|
-
createdAt: string | Date;
|
|
4928
|
-
updatedAt: string | Date;
|
|
4929
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4930
5020
|
id: string;
|
|
5021
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4931
5022
|
name: string;
|
|
4932
|
-
crn: string;
|
|
5023
|
+
crn: string | null;
|
|
4933
5024
|
govLink: string;
|
|
5025
|
+
soleTrader: boolean;
|
|
4934
5026
|
director: string;
|
|
5027
|
+
createdAt: string | Date;
|
|
5028
|
+
updatedAt: string | Date;
|
|
4935
5029
|
blacklistReason?: string | null | undefined;
|
|
4936
5030
|
lastUpdatedBy?: {
|
|
4937
5031
|
id: string;
|
|
@@ -4943,6 +5037,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
4943
5037
|
agentId: string;
|
|
4944
5038
|
} | null | undefined;
|
|
4945
5039
|
} | null | undefined;
|
|
5040
|
+
company?: {
|
|
5041
|
+
id: string;
|
|
5042
|
+
name: string;
|
|
5043
|
+
createdAt: string | Date;
|
|
5044
|
+
updatedAt: string | Date;
|
|
5045
|
+
} | null | undefined;
|
|
4946
5046
|
user?: {
|
|
4947
5047
|
id: string;
|
|
4948
5048
|
firstName: string;
|
|
@@ -4967,39 +5067,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
4967
5067
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4968
5068
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4969
5069
|
}, "strip", z.ZodTypeAny, {
|
|
4970
|
-
createdAt: string;
|
|
4971
|
-
updatedAt: string;
|
|
4972
5070
|
id: string;
|
|
4973
5071
|
email: string;
|
|
5072
|
+
createdAt: string;
|
|
5073
|
+
updatedAt: string;
|
|
4974
5074
|
collaborationId: string;
|
|
4975
5075
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
4976
|
-
decision: "
|
|
5076
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
4977
5077
|
isTermsAndConditionsConfirmed: boolean;
|
|
4978
5078
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
4979
5079
|
introductionEmailSent: boolean;
|
|
4980
5080
|
collaborationEmailSent: boolean;
|
|
4981
5081
|
clientContactId?: string | null | undefined;
|
|
4982
5082
|
collaboration?: {
|
|
5083
|
+
id: string;
|
|
5084
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4983
5085
|
createdAt: string;
|
|
4984
5086
|
updatedAt: string;
|
|
4985
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4986
|
-
id: string;
|
|
4987
5087
|
userId: string;
|
|
4988
|
-
company?: {
|
|
4989
|
-
createdAt: string;
|
|
4990
|
-
updatedAt: string;
|
|
4991
|
-
id: string;
|
|
4992
|
-
name: string;
|
|
4993
|
-
} | null | undefined;
|
|
4994
5088
|
client?: {
|
|
4995
|
-
createdAt: string;
|
|
4996
|
-
updatedAt: string;
|
|
4997
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4998
5089
|
id: string;
|
|
5090
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4999
5091
|
name: string;
|
|
5000
|
-
crn: string;
|
|
5092
|
+
crn: string | null;
|
|
5001
5093
|
govLink: string;
|
|
5094
|
+
soleTrader: boolean;
|
|
5002
5095
|
director: string;
|
|
5096
|
+
createdAt: string;
|
|
5097
|
+
updatedAt: string;
|
|
5003
5098
|
blacklistReason?: string | null | undefined;
|
|
5004
5099
|
lastUpdatedBy?: {
|
|
5005
5100
|
id: string;
|
|
@@ -5011,6 +5106,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
5011
5106
|
agentId: string;
|
|
5012
5107
|
} | null | undefined;
|
|
5013
5108
|
} | null | undefined;
|
|
5109
|
+
company?: {
|
|
5110
|
+
id: string;
|
|
5111
|
+
name: string;
|
|
5112
|
+
createdAt: string;
|
|
5113
|
+
updatedAt: string;
|
|
5114
|
+
} | null | undefined;
|
|
5014
5115
|
user?: {
|
|
5015
5116
|
id: string;
|
|
5016
5117
|
firstName: string;
|
|
@@ -5018,26 +5119,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
5018
5119
|
email: string;
|
|
5019
5120
|
} | null | undefined;
|
|
5020
5121
|
newCollaboration?: {
|
|
5122
|
+
id: string;
|
|
5123
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5021
5124
|
createdAt: string;
|
|
5022
5125
|
updatedAt: string;
|
|
5023
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5024
|
-
id: string;
|
|
5025
5126
|
userId: string;
|
|
5026
|
-
company?: {
|
|
5027
|
-
createdAt: string;
|
|
5028
|
-
updatedAt: string;
|
|
5029
|
-
id: string;
|
|
5030
|
-
name: string;
|
|
5031
|
-
} | null | undefined;
|
|
5032
5127
|
client?: {
|
|
5033
|
-
createdAt: string;
|
|
5034
|
-
updatedAt: string;
|
|
5035
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5036
5128
|
id: string;
|
|
5129
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5037
5130
|
name: string;
|
|
5038
|
-
crn: string;
|
|
5131
|
+
crn: string | null;
|
|
5039
5132
|
govLink: string;
|
|
5133
|
+
soleTrader: boolean;
|
|
5040
5134
|
director: string;
|
|
5135
|
+
createdAt: string;
|
|
5136
|
+
updatedAt: string;
|
|
5041
5137
|
blacklistReason?: string | null | undefined;
|
|
5042
5138
|
lastUpdatedBy?: {
|
|
5043
5139
|
id: string;
|
|
@@ -5049,6 +5145,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
5049
5145
|
agentId: string;
|
|
5050
5146
|
} | null | undefined;
|
|
5051
5147
|
} | null | undefined;
|
|
5148
|
+
company?: {
|
|
5149
|
+
id: string;
|
|
5150
|
+
name: string;
|
|
5151
|
+
createdAt: string;
|
|
5152
|
+
updatedAt: string;
|
|
5153
|
+
} | null | undefined;
|
|
5052
5154
|
user?: {
|
|
5053
5155
|
id: string;
|
|
5054
5156
|
firstName: string;
|
|
@@ -5064,39 +5166,34 @@ export declare const collaborationCheckingsContract: {
|
|
|
5064
5166
|
collaborationEmailTimestamp?: string | null | undefined;
|
|
5065
5167
|
checkingComment?: string | null | undefined;
|
|
5066
5168
|
}, {
|
|
5067
|
-
createdAt: string | Date;
|
|
5068
|
-
updatedAt: string | Date;
|
|
5069
5169
|
id: string;
|
|
5070
5170
|
email: string;
|
|
5171
|
+
createdAt: string | Date;
|
|
5172
|
+
updatedAt: string | Date;
|
|
5071
5173
|
collaborationId: string;
|
|
5072
5174
|
urgency: "LOW" | "MEDIUM" | "HIGH";
|
|
5073
|
-
decision: "
|
|
5175
|
+
decision: "APPROVED" | "REJECTED" | "PENDING";
|
|
5074
5176
|
isTermsAndConditionsConfirmed: boolean;
|
|
5075
5177
|
emailType: "INTRODUCTION" | "COLLABORATION" | "BOTH";
|
|
5076
5178
|
introductionEmailSent: boolean;
|
|
5077
5179
|
collaborationEmailSent: boolean;
|
|
5078
5180
|
clientContactId?: string | null | undefined;
|
|
5079
5181
|
collaboration?: {
|
|
5182
|
+
id: string;
|
|
5183
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5080
5184
|
createdAt: string | Date;
|
|
5081
5185
|
updatedAt: string | Date;
|
|
5082
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5083
|
-
id: string;
|
|
5084
5186
|
userId: string;
|
|
5085
|
-
company?: {
|
|
5086
|
-
createdAt: string | Date;
|
|
5087
|
-
updatedAt: string | Date;
|
|
5088
|
-
id: string;
|
|
5089
|
-
name: string;
|
|
5090
|
-
} | null | undefined;
|
|
5091
5187
|
client?: {
|
|
5092
|
-
createdAt: string | Date;
|
|
5093
|
-
updatedAt: string | Date;
|
|
5094
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5095
5188
|
id: string;
|
|
5189
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5096
5190
|
name: string;
|
|
5097
|
-
crn: string;
|
|
5191
|
+
crn: string | null;
|
|
5098
5192
|
govLink: string;
|
|
5193
|
+
soleTrader: boolean;
|
|
5099
5194
|
director: string;
|
|
5195
|
+
createdAt: string | Date;
|
|
5196
|
+
updatedAt: string | Date;
|
|
5100
5197
|
blacklistReason?: string | null | undefined;
|
|
5101
5198
|
lastUpdatedBy?: {
|
|
5102
5199
|
id: string;
|
|
@@ -5108,6 +5205,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
5108
5205
|
agentId: string;
|
|
5109
5206
|
} | null | undefined;
|
|
5110
5207
|
} | null | undefined;
|
|
5208
|
+
company?: {
|
|
5209
|
+
id: string;
|
|
5210
|
+
name: string;
|
|
5211
|
+
createdAt: string | Date;
|
|
5212
|
+
updatedAt: string | Date;
|
|
5213
|
+
} | null | undefined;
|
|
5111
5214
|
user?: {
|
|
5112
5215
|
id: string;
|
|
5113
5216
|
firstName: string;
|
|
@@ -5115,26 +5218,21 @@ export declare const collaborationCheckingsContract: {
|
|
|
5115
5218
|
email: string;
|
|
5116
5219
|
} | null | undefined;
|
|
5117
5220
|
newCollaboration?: {
|
|
5221
|
+
id: string;
|
|
5222
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5118
5223
|
createdAt: string | Date;
|
|
5119
5224
|
updatedAt: string | Date;
|
|
5120
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
5121
|
-
id: string;
|
|
5122
5225
|
userId: string;
|
|
5123
|
-
company?: {
|
|
5124
|
-
createdAt: string | Date;
|
|
5125
|
-
updatedAt: string | Date;
|
|
5126
|
-
id: string;
|
|
5127
|
-
name: string;
|
|
5128
|
-
} | null | undefined;
|
|
5129
5226
|
client?: {
|
|
5130
|
-
createdAt: string | Date;
|
|
5131
|
-
updatedAt: string | Date;
|
|
5132
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5133
5227
|
id: string;
|
|
5228
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
5134
5229
|
name: string;
|
|
5135
|
-
crn: string;
|
|
5230
|
+
crn: string | null;
|
|
5136
5231
|
govLink: string;
|
|
5232
|
+
soleTrader: boolean;
|
|
5137
5233
|
director: string;
|
|
5234
|
+
createdAt: string | Date;
|
|
5235
|
+
updatedAt: string | Date;
|
|
5138
5236
|
blacklistReason?: string | null | undefined;
|
|
5139
5237
|
lastUpdatedBy?: {
|
|
5140
5238
|
id: string;
|
|
@@ -5146,6 +5244,12 @@ export declare const collaborationCheckingsContract: {
|
|
|
5146
5244
|
agentId: string;
|
|
5147
5245
|
} | null | undefined;
|
|
5148
5246
|
} | null | undefined;
|
|
5247
|
+
company?: {
|
|
5248
|
+
id: string;
|
|
5249
|
+
name: string;
|
|
5250
|
+
createdAt: string | Date;
|
|
5251
|
+
updatedAt: string | Date;
|
|
5252
|
+
} | null | undefined;
|
|
5149
5253
|
user?: {
|
|
5150
5254
|
id: string;
|
|
5151
5255
|
firstName: string;
|