@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
|
@@ -20,21 +20,22 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
20
20
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
21
21
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
23
25
|
createdAt: string;
|
|
24
26
|
updatedAt: string;
|
|
27
|
+
}, {
|
|
25
28
|
id: string;
|
|
26
29
|
name: string;
|
|
27
|
-
}, {
|
|
28
30
|
createdAt: string | Date;
|
|
29
31
|
updatedAt: string | Date;
|
|
30
|
-
id: string;
|
|
31
|
-
name: string;
|
|
32
32
|
}>>>;
|
|
33
33
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
id: z.ZodString;
|
|
35
35
|
name: z.ZodString;
|
|
36
|
-
crn: z.ZodString
|
|
36
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
37
37
|
govLink: z.ZodString;
|
|
38
|
+
soleTrader: z.ZodBoolean;
|
|
38
39
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
39
40
|
director: z.ZodString;
|
|
40
41
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -64,14 +65,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
64
65
|
agentId: string;
|
|
65
66
|
}>>>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
createdAt: string;
|
|
68
|
-
updatedAt: string;
|
|
69
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
70
68
|
id: string;
|
|
69
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
71
70
|
name: string;
|
|
72
|
-
crn: string;
|
|
71
|
+
crn: string | null;
|
|
73
72
|
govLink: string;
|
|
73
|
+
soleTrader: boolean;
|
|
74
74
|
director: string;
|
|
75
|
+
createdAt: string;
|
|
76
|
+
updatedAt: string;
|
|
75
77
|
blacklistReason?: string | null | undefined;
|
|
76
78
|
lastUpdatedBy?: {
|
|
77
79
|
id: string;
|
|
@@ -83,14 +85,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
83
85
|
agentId: string;
|
|
84
86
|
} | null | undefined;
|
|
85
87
|
}, {
|
|
86
|
-
createdAt: string | Date;
|
|
87
|
-
updatedAt: string | Date;
|
|
88
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
89
88
|
id: string;
|
|
89
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
90
90
|
name: string;
|
|
91
|
-
crn: string;
|
|
91
|
+
crn: string | null;
|
|
92
92
|
govLink: string;
|
|
93
|
+
soleTrader: boolean;
|
|
93
94
|
director: string;
|
|
95
|
+
createdAt: string | Date;
|
|
96
|
+
updatedAt: string | Date;
|
|
94
97
|
blacklistReason?: string | null | undefined;
|
|
95
98
|
lastUpdatedBy?: {
|
|
96
99
|
id: string;
|
|
@@ -131,21 +134,22 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
131
134
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
132
135
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
133
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
134
139
|
createdAt: string;
|
|
135
140
|
updatedAt: string;
|
|
141
|
+
}, {
|
|
136
142
|
id: string;
|
|
137
143
|
name: string;
|
|
138
|
-
}, {
|
|
139
144
|
createdAt: string | Date;
|
|
140
145
|
updatedAt: string | Date;
|
|
141
|
-
id: string;
|
|
142
|
-
name: string;
|
|
143
146
|
}>>>;
|
|
144
147
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
145
148
|
id: z.ZodString;
|
|
146
149
|
name: z.ZodString;
|
|
147
|
-
crn: z.ZodString
|
|
150
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
148
151
|
govLink: z.ZodString;
|
|
152
|
+
soleTrader: z.ZodBoolean;
|
|
149
153
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
150
154
|
director: z.ZodString;
|
|
151
155
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -175,14 +179,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
175
179
|
agentId: string;
|
|
176
180
|
}>>>;
|
|
177
181
|
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
createdAt: string;
|
|
179
|
-
updatedAt: string;
|
|
180
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
181
182
|
id: string;
|
|
183
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
182
184
|
name: string;
|
|
183
|
-
crn: string;
|
|
185
|
+
crn: string | null;
|
|
184
186
|
govLink: string;
|
|
187
|
+
soleTrader: boolean;
|
|
185
188
|
director: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
186
191
|
blacklistReason?: string | null | undefined;
|
|
187
192
|
lastUpdatedBy?: {
|
|
188
193
|
id: string;
|
|
@@ -194,14 +199,15 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
194
199
|
agentId: string;
|
|
195
200
|
} | null | undefined;
|
|
196
201
|
}, {
|
|
197
|
-
createdAt: string | Date;
|
|
198
|
-
updatedAt: string | Date;
|
|
199
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
200
202
|
id: string;
|
|
203
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
201
204
|
name: string;
|
|
202
|
-
crn: string;
|
|
205
|
+
crn: string | null;
|
|
203
206
|
govLink: string;
|
|
207
|
+
soleTrader: boolean;
|
|
204
208
|
director: string;
|
|
209
|
+
createdAt: string | Date;
|
|
210
|
+
updatedAt: string | Date;
|
|
205
211
|
blacklistReason?: string | null | undefined;
|
|
206
212
|
lastUpdatedBy?: {
|
|
207
213
|
id: string;
|
|
@@ -234,26 +240,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
234
240
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
235
241
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
236
242
|
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
id: string;
|
|
244
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
237
245
|
createdAt: string;
|
|
238
246
|
updatedAt: string;
|
|
239
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
240
|
-
id: string;
|
|
241
247
|
userId: string;
|
|
242
|
-
company?: {
|
|
243
|
-
createdAt: string;
|
|
244
|
-
updatedAt: string;
|
|
245
|
-
id: string;
|
|
246
|
-
name: string;
|
|
247
|
-
} | null | undefined;
|
|
248
248
|
client?: {
|
|
249
|
-
createdAt: string;
|
|
250
|
-
updatedAt: string;
|
|
251
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
252
249
|
id: string;
|
|
250
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
253
251
|
name: string;
|
|
254
|
-
crn: string;
|
|
252
|
+
crn: string | null;
|
|
255
253
|
govLink: string;
|
|
254
|
+
soleTrader: boolean;
|
|
256
255
|
director: string;
|
|
256
|
+
createdAt: string;
|
|
257
|
+
updatedAt: string;
|
|
257
258
|
blacklistReason?: string | null | undefined;
|
|
258
259
|
lastUpdatedBy?: {
|
|
259
260
|
id: string;
|
|
@@ -265,6 +266,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
265
266
|
agentId: string;
|
|
266
267
|
} | null | undefined;
|
|
267
268
|
} | null | undefined;
|
|
269
|
+
company?: {
|
|
270
|
+
id: string;
|
|
271
|
+
name: string;
|
|
272
|
+
createdAt: string;
|
|
273
|
+
updatedAt: string;
|
|
274
|
+
} | null | undefined;
|
|
268
275
|
user?: {
|
|
269
276
|
id: string;
|
|
270
277
|
firstName: string;
|
|
@@ -272,26 +279,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
272
279
|
email: string;
|
|
273
280
|
} | null | undefined;
|
|
274
281
|
}, {
|
|
282
|
+
id: string;
|
|
283
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
275
284
|
createdAt: string | Date;
|
|
276
285
|
updatedAt: string | Date;
|
|
277
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
278
|
-
id: string;
|
|
279
286
|
userId: string;
|
|
280
|
-
company?: {
|
|
281
|
-
createdAt: string | Date;
|
|
282
|
-
updatedAt: string | Date;
|
|
283
|
-
id: string;
|
|
284
|
-
name: string;
|
|
285
|
-
} | null | undefined;
|
|
286
287
|
client?: {
|
|
287
|
-
createdAt: string | Date;
|
|
288
|
-
updatedAt: string | Date;
|
|
289
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
290
288
|
id: string;
|
|
289
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
291
290
|
name: string;
|
|
292
|
-
crn: string;
|
|
291
|
+
crn: string | null;
|
|
293
292
|
govLink: string;
|
|
293
|
+
soleTrader: boolean;
|
|
294
294
|
director: string;
|
|
295
|
+
createdAt: string | Date;
|
|
296
|
+
updatedAt: string | Date;
|
|
295
297
|
blacklistReason?: string | null | undefined;
|
|
296
298
|
lastUpdatedBy?: {
|
|
297
299
|
id: string;
|
|
@@ -303,6 +305,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
303
305
|
agentId: string;
|
|
304
306
|
} | null | undefined;
|
|
305
307
|
} | null | undefined;
|
|
308
|
+
company?: {
|
|
309
|
+
id: string;
|
|
310
|
+
name: string;
|
|
311
|
+
createdAt: string | Date;
|
|
312
|
+
updatedAt: string | Date;
|
|
313
|
+
} | null | undefined;
|
|
306
314
|
user?: {
|
|
307
315
|
id: string;
|
|
308
316
|
firstName: string;
|
|
@@ -311,26 +319,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
311
319
|
} | null | undefined;
|
|
312
320
|
}>>>;
|
|
313
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
id: string;
|
|
323
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
314
324
|
createdAt: string;
|
|
315
325
|
updatedAt: string;
|
|
316
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
317
|
-
id: string;
|
|
318
326
|
userId: string;
|
|
319
|
-
company?: {
|
|
320
|
-
createdAt: string;
|
|
321
|
-
updatedAt: string;
|
|
322
|
-
id: string;
|
|
323
|
-
name: string;
|
|
324
|
-
} | null | undefined;
|
|
325
327
|
client?: {
|
|
326
|
-
createdAt: string;
|
|
327
|
-
updatedAt: string;
|
|
328
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
329
328
|
id: string;
|
|
329
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
330
330
|
name: string;
|
|
331
|
-
crn: string;
|
|
331
|
+
crn: string | null;
|
|
332
332
|
govLink: string;
|
|
333
|
+
soleTrader: boolean;
|
|
333
334
|
director: string;
|
|
335
|
+
createdAt: string;
|
|
336
|
+
updatedAt: string;
|
|
334
337
|
blacklistReason?: string | null | undefined;
|
|
335
338
|
lastUpdatedBy?: {
|
|
336
339
|
id: string;
|
|
@@ -342,6 +345,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
342
345
|
agentId: string;
|
|
343
346
|
} | null | undefined;
|
|
344
347
|
} | null | undefined;
|
|
348
|
+
company?: {
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
createdAt: string;
|
|
352
|
+
updatedAt: string;
|
|
353
|
+
} | null | undefined;
|
|
345
354
|
user?: {
|
|
346
355
|
id: string;
|
|
347
356
|
firstName: string;
|
|
@@ -349,26 +358,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
349
358
|
email: string;
|
|
350
359
|
} | null | undefined;
|
|
351
360
|
newCollaboration?: {
|
|
361
|
+
id: string;
|
|
362
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
352
363
|
createdAt: string;
|
|
353
364
|
updatedAt: string;
|
|
354
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
355
|
-
id: string;
|
|
356
365
|
userId: string;
|
|
357
|
-
company?: {
|
|
358
|
-
createdAt: string;
|
|
359
|
-
updatedAt: string;
|
|
360
|
-
id: string;
|
|
361
|
-
name: string;
|
|
362
|
-
} | null | undefined;
|
|
363
366
|
client?: {
|
|
364
|
-
createdAt: string;
|
|
365
|
-
updatedAt: string;
|
|
366
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
367
367
|
id: string;
|
|
368
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
368
369
|
name: string;
|
|
369
|
-
crn: string;
|
|
370
|
+
crn: string | null;
|
|
370
371
|
govLink: string;
|
|
372
|
+
soleTrader: boolean;
|
|
371
373
|
director: string;
|
|
374
|
+
createdAt: string;
|
|
375
|
+
updatedAt: string;
|
|
372
376
|
blacklistReason?: string | null | undefined;
|
|
373
377
|
lastUpdatedBy?: {
|
|
374
378
|
id: string;
|
|
@@ -380,6 +384,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
380
384
|
agentId: string;
|
|
381
385
|
} | null | undefined;
|
|
382
386
|
} | null | undefined;
|
|
387
|
+
company?: {
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
createdAt: string;
|
|
391
|
+
updatedAt: string;
|
|
392
|
+
} | null | undefined;
|
|
383
393
|
user?: {
|
|
384
394
|
id: string;
|
|
385
395
|
firstName: string;
|
|
@@ -388,26 +398,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
388
398
|
} | null | undefined;
|
|
389
399
|
} | null | undefined;
|
|
390
400
|
}, {
|
|
401
|
+
id: string;
|
|
402
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
391
403
|
createdAt: string | Date;
|
|
392
404
|
updatedAt: string | Date;
|
|
393
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
394
|
-
id: string;
|
|
395
405
|
userId: string;
|
|
396
|
-
company?: {
|
|
397
|
-
createdAt: string | Date;
|
|
398
|
-
updatedAt: string | Date;
|
|
399
|
-
id: string;
|
|
400
|
-
name: string;
|
|
401
|
-
} | null | undefined;
|
|
402
406
|
client?: {
|
|
403
|
-
createdAt: string | Date;
|
|
404
|
-
updatedAt: string | Date;
|
|
405
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
406
407
|
id: string;
|
|
408
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
407
409
|
name: string;
|
|
408
|
-
crn: string;
|
|
410
|
+
crn: string | null;
|
|
409
411
|
govLink: string;
|
|
412
|
+
soleTrader: boolean;
|
|
410
413
|
director: string;
|
|
414
|
+
createdAt: string | Date;
|
|
415
|
+
updatedAt: string | Date;
|
|
411
416
|
blacklistReason?: string | null | undefined;
|
|
412
417
|
lastUpdatedBy?: {
|
|
413
418
|
id: string;
|
|
@@ -419,6 +424,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
419
424
|
agentId: string;
|
|
420
425
|
} | null | undefined;
|
|
421
426
|
} | null | undefined;
|
|
427
|
+
company?: {
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
createdAt: string | Date;
|
|
431
|
+
updatedAt: string | Date;
|
|
432
|
+
} | null | undefined;
|
|
422
433
|
user?: {
|
|
423
434
|
id: string;
|
|
424
435
|
firstName: string;
|
|
@@ -426,26 +437,21 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
426
437
|
email: string;
|
|
427
438
|
} | null | undefined;
|
|
428
439
|
newCollaboration?: {
|
|
440
|
+
id: string;
|
|
441
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
429
442
|
createdAt: string | Date;
|
|
430
443
|
updatedAt: string | Date;
|
|
431
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
432
|
-
id: string;
|
|
433
444
|
userId: string;
|
|
434
|
-
company?: {
|
|
435
|
-
createdAt: string | Date;
|
|
436
|
-
updatedAt: string | Date;
|
|
437
|
-
id: string;
|
|
438
|
-
name: string;
|
|
439
|
-
} | null | undefined;
|
|
440
445
|
client?: {
|
|
441
|
-
createdAt: string | Date;
|
|
442
|
-
updatedAt: string | Date;
|
|
443
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
444
446
|
id: string;
|
|
447
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
445
448
|
name: string;
|
|
446
|
-
crn: string;
|
|
449
|
+
crn: string | null;
|
|
447
450
|
govLink: string;
|
|
451
|
+
soleTrader: boolean;
|
|
448
452
|
director: string;
|
|
453
|
+
createdAt: string | Date;
|
|
454
|
+
updatedAt: string | Date;
|
|
449
455
|
blacklistReason?: string | null | undefined;
|
|
450
456
|
lastUpdatedBy?: {
|
|
451
457
|
id: string;
|
|
@@ -457,6 +463,12 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
457
463
|
agentId: string;
|
|
458
464
|
} | null | undefined;
|
|
459
465
|
} | null | undefined;
|
|
466
|
+
company?: {
|
|
467
|
+
id: string;
|
|
468
|
+
name: string;
|
|
469
|
+
createdAt: string | Date;
|
|
470
|
+
updatedAt: string | Date;
|
|
471
|
+
} | null | undefined;
|
|
460
472
|
user?: {
|
|
461
473
|
id: string;
|
|
462
474
|
firstName: string;
|
|
@@ -492,24 +504,24 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
492
504
|
}>>;
|
|
493
505
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
494
506
|
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
|
|
507
|
+
client: {
|
|
496
508
|
id: string;
|
|
497
509
|
};
|
|
498
|
-
|
|
510
|
+
company: {
|
|
499
511
|
id: string;
|
|
500
512
|
};
|
|
501
|
-
status?: "
|
|
513
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
502
514
|
user?: {
|
|
503
515
|
id: string;
|
|
504
516
|
} | undefined;
|
|
505
517
|
}, {
|
|
506
|
-
|
|
518
|
+
client: {
|
|
507
519
|
id: string;
|
|
508
520
|
};
|
|
509
|
-
|
|
521
|
+
company: {
|
|
510
522
|
id: string;
|
|
511
523
|
};
|
|
512
|
-
status?: "
|
|
524
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
513
525
|
user?: {
|
|
514
526
|
id: string;
|
|
515
527
|
} | undefined;
|
|
@@ -520,9 +532,9 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
520
532
|
export declare const UpdateCollaborationSchema: z.ZodObject<{
|
|
521
533
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
522
534
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
status?: "
|
|
535
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
524
536
|
}, {
|
|
525
|
-
status?: "
|
|
537
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
526
538
|
}>;
|
|
527
539
|
/**
|
|
528
540
|
* Upsert Collaboration Schema
|
|
@@ -551,24 +563,24 @@ export declare const UpsertCollaborationSchema: z.ZodObject<{
|
|
|
551
563
|
}>>;
|
|
552
564
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
553
565
|
}, "strip", z.ZodTypeAny, {
|
|
554
|
-
|
|
566
|
+
client: {
|
|
555
567
|
id: string;
|
|
556
568
|
};
|
|
557
|
-
|
|
569
|
+
company: {
|
|
558
570
|
id: string;
|
|
559
571
|
};
|
|
560
|
-
status?: "
|
|
572
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
561
573
|
user?: {
|
|
562
574
|
id: string;
|
|
563
575
|
} | undefined;
|
|
564
576
|
}, {
|
|
565
|
-
|
|
577
|
+
client: {
|
|
566
578
|
id: string;
|
|
567
579
|
};
|
|
568
|
-
|
|
580
|
+
company: {
|
|
569
581
|
id: string;
|
|
570
582
|
};
|
|
571
|
-
status?: "
|
|
583
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
572
584
|
user?: {
|
|
573
585
|
id: string;
|
|
574
586
|
} | undefined;
|
|
@@ -589,21 +601,21 @@ export declare const FilterCollaborationSchema: z.ZodObject<{
|
|
|
589
601
|
}, "strip", z.ZodTypeAny, {
|
|
590
602
|
limit: number;
|
|
591
603
|
page: number;
|
|
592
|
-
status?: "
|
|
604
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
605
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
606
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
607
|
+
clientId?: string | null | undefined;
|
|
593
608
|
userId?: string | null | undefined;
|
|
594
609
|
companyId?: string | null | undefined;
|
|
595
|
-
clientId?: string | null | undefined;
|
|
596
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
597
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
598
610
|
}, {
|
|
599
|
-
status?: "
|
|
600
|
-
userId?: string | null | undefined;
|
|
611
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
601
612
|
limit?: number | undefined;
|
|
602
613
|
page?: number | undefined;
|
|
603
|
-
|
|
604
|
-
clientId?: string | null | undefined;
|
|
605
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
614
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
606
615
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
616
|
+
clientId?: string | null | undefined;
|
|
617
|
+
userId?: string | null | undefined;
|
|
618
|
+
companyId?: string | null | undefined;
|
|
607
619
|
}>;
|
|
608
620
|
/**
|
|
609
621
|
* Collaboration Autocomplete Response Schema
|
|
@@ -636,10 +648,10 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
636
648
|
}>;
|
|
637
649
|
}, "strip", z.ZodTypeAny, {
|
|
638
650
|
id: string;
|
|
639
|
-
|
|
651
|
+
client: {
|
|
640
652
|
name: string;
|
|
641
653
|
};
|
|
642
|
-
|
|
654
|
+
company: {
|
|
643
655
|
name: string;
|
|
644
656
|
};
|
|
645
657
|
user: {
|
|
@@ -648,10 +660,10 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
648
660
|
};
|
|
649
661
|
}, {
|
|
650
662
|
id: string;
|
|
651
|
-
|
|
663
|
+
client: {
|
|
652
664
|
name: string;
|
|
653
665
|
};
|
|
654
|
-
|
|
666
|
+
company: {
|
|
655
667
|
name: string;
|
|
656
668
|
};
|
|
657
669
|
user: {
|
|
@@ -687,10 +699,10 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
687
699
|
}>;
|
|
688
700
|
}, "strip", z.ZodTypeAny, {
|
|
689
701
|
id: string;
|
|
690
|
-
|
|
702
|
+
client: {
|
|
691
703
|
name: string;
|
|
692
704
|
};
|
|
693
|
-
|
|
705
|
+
company: {
|
|
694
706
|
name: string;
|
|
695
707
|
};
|
|
696
708
|
user: {
|
|
@@ -699,10 +711,10 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
699
711
|
};
|
|
700
712
|
}, {
|
|
701
713
|
id: string;
|
|
702
|
-
|
|
714
|
+
client: {
|
|
703
715
|
name: string;
|
|
704
716
|
};
|
|
705
|
-
|
|
717
|
+
company: {
|
|
706
718
|
name: string;
|
|
707
719
|
};
|
|
708
720
|
user: {
|
|
@@ -719,21 +731,22 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
719
731
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
720
732
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
721
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
|
+
id: string;
|
|
735
|
+
name: string;
|
|
722
736
|
createdAt: string;
|
|
723
737
|
updatedAt: string;
|
|
738
|
+
}, {
|
|
724
739
|
id: string;
|
|
725
740
|
name: string;
|
|
726
|
-
}, {
|
|
727
741
|
createdAt: string | Date;
|
|
728
742
|
updatedAt: string | Date;
|
|
729
|
-
id: string;
|
|
730
|
-
name: string;
|
|
731
743
|
}>>>;
|
|
732
744
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
733
745
|
id: z.ZodString;
|
|
734
746
|
name: z.ZodString;
|
|
735
|
-
crn: z.ZodString
|
|
747
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
736
748
|
govLink: z.ZodString;
|
|
749
|
+
soleTrader: z.ZodBoolean;
|
|
737
750
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
738
751
|
director: z.ZodString;
|
|
739
752
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -763,14 +776,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
763
776
|
agentId: string;
|
|
764
777
|
}>>>;
|
|
765
778
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
createdAt: string;
|
|
767
|
-
updatedAt: string;
|
|
768
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
769
779
|
id: string;
|
|
780
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
770
781
|
name: string;
|
|
771
|
-
crn: string;
|
|
782
|
+
crn: string | null;
|
|
772
783
|
govLink: string;
|
|
784
|
+
soleTrader: boolean;
|
|
773
785
|
director: string;
|
|
786
|
+
createdAt: string;
|
|
787
|
+
updatedAt: string;
|
|
774
788
|
blacklistReason?: string | null | undefined;
|
|
775
789
|
lastUpdatedBy?: {
|
|
776
790
|
id: string;
|
|
@@ -782,14 +796,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
782
796
|
agentId: string;
|
|
783
797
|
} | null | undefined;
|
|
784
798
|
}, {
|
|
785
|
-
createdAt: string | Date;
|
|
786
|
-
updatedAt: string | Date;
|
|
787
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
788
799
|
id: string;
|
|
800
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
789
801
|
name: string;
|
|
790
|
-
crn: string;
|
|
802
|
+
crn: string | null;
|
|
791
803
|
govLink: string;
|
|
804
|
+
soleTrader: boolean;
|
|
792
805
|
director: string;
|
|
806
|
+
createdAt: string | Date;
|
|
807
|
+
updatedAt: string | Date;
|
|
793
808
|
blacklistReason?: string | null | undefined;
|
|
794
809
|
lastUpdatedBy?: {
|
|
795
810
|
id: string;
|
|
@@ -830,21 +845,22 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
830
845
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
831
846
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
832
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
+
id: string;
|
|
849
|
+
name: string;
|
|
833
850
|
createdAt: string;
|
|
834
851
|
updatedAt: string;
|
|
852
|
+
}, {
|
|
835
853
|
id: string;
|
|
836
854
|
name: string;
|
|
837
|
-
}, {
|
|
838
855
|
createdAt: string | Date;
|
|
839
856
|
updatedAt: string | Date;
|
|
840
|
-
id: string;
|
|
841
|
-
name: string;
|
|
842
857
|
}>>>;
|
|
843
858
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
844
859
|
id: z.ZodString;
|
|
845
860
|
name: z.ZodString;
|
|
846
|
-
crn: z.ZodString
|
|
861
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
847
862
|
govLink: z.ZodString;
|
|
863
|
+
soleTrader: z.ZodBoolean;
|
|
848
864
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
849
865
|
director: z.ZodString;
|
|
850
866
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -874,14 +890,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
874
890
|
agentId: string;
|
|
875
891
|
}>>>;
|
|
876
892
|
}, "strip", z.ZodTypeAny, {
|
|
877
|
-
createdAt: string;
|
|
878
|
-
updatedAt: string;
|
|
879
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
880
893
|
id: string;
|
|
894
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
881
895
|
name: string;
|
|
882
|
-
crn: string;
|
|
896
|
+
crn: string | null;
|
|
883
897
|
govLink: string;
|
|
898
|
+
soleTrader: boolean;
|
|
884
899
|
director: string;
|
|
900
|
+
createdAt: string;
|
|
901
|
+
updatedAt: string;
|
|
885
902
|
blacklistReason?: string | null | undefined;
|
|
886
903
|
lastUpdatedBy?: {
|
|
887
904
|
id: string;
|
|
@@ -893,14 +910,15 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
893
910
|
agentId: string;
|
|
894
911
|
} | null | undefined;
|
|
895
912
|
}, {
|
|
896
|
-
createdAt: string | Date;
|
|
897
|
-
updatedAt: string | Date;
|
|
898
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
899
913
|
id: string;
|
|
914
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
900
915
|
name: string;
|
|
901
|
-
crn: string;
|
|
916
|
+
crn: string | null;
|
|
902
917
|
govLink: string;
|
|
918
|
+
soleTrader: boolean;
|
|
903
919
|
director: string;
|
|
920
|
+
createdAt: string | Date;
|
|
921
|
+
updatedAt: string | Date;
|
|
904
922
|
blacklistReason?: string | null | undefined;
|
|
905
923
|
lastUpdatedBy?: {
|
|
906
924
|
id: string;
|
|
@@ -933,26 +951,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
933
951
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
934
952
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
935
953
|
}, "strip", z.ZodTypeAny, {
|
|
954
|
+
id: string;
|
|
955
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
936
956
|
createdAt: string;
|
|
937
957
|
updatedAt: string;
|
|
938
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
939
|
-
id: string;
|
|
940
958
|
userId: string;
|
|
941
|
-
company?: {
|
|
942
|
-
createdAt: string;
|
|
943
|
-
updatedAt: string;
|
|
944
|
-
id: string;
|
|
945
|
-
name: string;
|
|
946
|
-
} | null | undefined;
|
|
947
959
|
client?: {
|
|
948
|
-
createdAt: string;
|
|
949
|
-
updatedAt: string;
|
|
950
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
951
960
|
id: string;
|
|
961
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
952
962
|
name: string;
|
|
953
|
-
crn: string;
|
|
963
|
+
crn: string | null;
|
|
954
964
|
govLink: string;
|
|
965
|
+
soleTrader: boolean;
|
|
955
966
|
director: string;
|
|
967
|
+
createdAt: string;
|
|
968
|
+
updatedAt: string;
|
|
956
969
|
blacklistReason?: string | null | undefined;
|
|
957
970
|
lastUpdatedBy?: {
|
|
958
971
|
id: string;
|
|
@@ -964,6 +977,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
964
977
|
agentId: string;
|
|
965
978
|
} | null | undefined;
|
|
966
979
|
} | null | undefined;
|
|
980
|
+
company?: {
|
|
981
|
+
id: string;
|
|
982
|
+
name: string;
|
|
983
|
+
createdAt: string;
|
|
984
|
+
updatedAt: string;
|
|
985
|
+
} | null | undefined;
|
|
967
986
|
user?: {
|
|
968
987
|
id: string;
|
|
969
988
|
firstName: string;
|
|
@@ -971,26 +990,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
971
990
|
email: string;
|
|
972
991
|
} | null | undefined;
|
|
973
992
|
}, {
|
|
993
|
+
id: string;
|
|
994
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
974
995
|
createdAt: string | Date;
|
|
975
996
|
updatedAt: string | Date;
|
|
976
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
977
|
-
id: string;
|
|
978
997
|
userId: string;
|
|
979
|
-
company?: {
|
|
980
|
-
createdAt: string | Date;
|
|
981
|
-
updatedAt: string | Date;
|
|
982
|
-
id: string;
|
|
983
|
-
name: string;
|
|
984
|
-
} | null | undefined;
|
|
985
998
|
client?: {
|
|
986
|
-
createdAt: string | Date;
|
|
987
|
-
updatedAt: string | Date;
|
|
988
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
989
999
|
id: string;
|
|
1000
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
990
1001
|
name: string;
|
|
991
|
-
crn: string;
|
|
1002
|
+
crn: string | null;
|
|
992
1003
|
govLink: string;
|
|
1004
|
+
soleTrader: boolean;
|
|
993
1005
|
director: string;
|
|
1006
|
+
createdAt: string | Date;
|
|
1007
|
+
updatedAt: string | Date;
|
|
994
1008
|
blacklistReason?: string | null | undefined;
|
|
995
1009
|
lastUpdatedBy?: {
|
|
996
1010
|
id: string;
|
|
@@ -1002,6 +1016,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1002
1016
|
agentId: string;
|
|
1003
1017
|
} | null | undefined;
|
|
1004
1018
|
} | null | undefined;
|
|
1019
|
+
company?: {
|
|
1020
|
+
id: string;
|
|
1021
|
+
name: string;
|
|
1022
|
+
createdAt: string | Date;
|
|
1023
|
+
updatedAt: string | Date;
|
|
1024
|
+
} | null | undefined;
|
|
1005
1025
|
user?: {
|
|
1006
1026
|
id: string;
|
|
1007
1027
|
firstName: string;
|
|
@@ -1010,26 +1030,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1010
1030
|
} | null | undefined;
|
|
1011
1031
|
}>>>;
|
|
1012
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
id: string;
|
|
1034
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1013
1035
|
createdAt: string;
|
|
1014
1036
|
updatedAt: string;
|
|
1015
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1016
|
-
id: string;
|
|
1017
1037
|
userId: string;
|
|
1018
|
-
company?: {
|
|
1019
|
-
createdAt: string;
|
|
1020
|
-
updatedAt: string;
|
|
1021
|
-
id: string;
|
|
1022
|
-
name: string;
|
|
1023
|
-
} | null | undefined;
|
|
1024
1038
|
client?: {
|
|
1025
|
-
createdAt: string;
|
|
1026
|
-
updatedAt: string;
|
|
1027
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1028
1039
|
id: string;
|
|
1040
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1029
1041
|
name: string;
|
|
1030
|
-
crn: string;
|
|
1042
|
+
crn: string | null;
|
|
1031
1043
|
govLink: string;
|
|
1044
|
+
soleTrader: boolean;
|
|
1032
1045
|
director: string;
|
|
1046
|
+
createdAt: string;
|
|
1047
|
+
updatedAt: string;
|
|
1033
1048
|
blacklistReason?: string | null | undefined;
|
|
1034
1049
|
lastUpdatedBy?: {
|
|
1035
1050
|
id: string;
|
|
@@ -1041,6 +1056,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1041
1056
|
agentId: string;
|
|
1042
1057
|
} | null | undefined;
|
|
1043
1058
|
} | null | undefined;
|
|
1059
|
+
company?: {
|
|
1060
|
+
id: string;
|
|
1061
|
+
name: string;
|
|
1062
|
+
createdAt: string;
|
|
1063
|
+
updatedAt: string;
|
|
1064
|
+
} | null | undefined;
|
|
1044
1065
|
user?: {
|
|
1045
1066
|
id: string;
|
|
1046
1067
|
firstName: string;
|
|
@@ -1048,26 +1069,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1048
1069
|
email: string;
|
|
1049
1070
|
} | null | undefined;
|
|
1050
1071
|
newCollaboration?: {
|
|
1072
|
+
id: string;
|
|
1073
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1051
1074
|
createdAt: string;
|
|
1052
1075
|
updatedAt: string;
|
|
1053
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1054
|
-
id: string;
|
|
1055
1076
|
userId: string;
|
|
1056
|
-
company?: {
|
|
1057
|
-
createdAt: string;
|
|
1058
|
-
updatedAt: string;
|
|
1059
|
-
id: string;
|
|
1060
|
-
name: string;
|
|
1061
|
-
} | null | undefined;
|
|
1062
1077
|
client?: {
|
|
1063
|
-
createdAt: string;
|
|
1064
|
-
updatedAt: string;
|
|
1065
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1066
1078
|
id: string;
|
|
1079
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1067
1080
|
name: string;
|
|
1068
|
-
crn: string;
|
|
1081
|
+
crn: string | null;
|
|
1069
1082
|
govLink: string;
|
|
1083
|
+
soleTrader: boolean;
|
|
1070
1084
|
director: string;
|
|
1085
|
+
createdAt: string;
|
|
1086
|
+
updatedAt: string;
|
|
1071
1087
|
blacklistReason?: string | null | undefined;
|
|
1072
1088
|
lastUpdatedBy?: {
|
|
1073
1089
|
id: string;
|
|
@@ -1079,6 +1095,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1079
1095
|
agentId: string;
|
|
1080
1096
|
} | null | undefined;
|
|
1081
1097
|
} | null | undefined;
|
|
1098
|
+
company?: {
|
|
1099
|
+
id: string;
|
|
1100
|
+
name: string;
|
|
1101
|
+
createdAt: string;
|
|
1102
|
+
updatedAt: string;
|
|
1103
|
+
} | null | undefined;
|
|
1082
1104
|
user?: {
|
|
1083
1105
|
id: string;
|
|
1084
1106
|
firstName: string;
|
|
@@ -1087,26 +1109,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1087
1109
|
} | null | undefined;
|
|
1088
1110
|
} | null | undefined;
|
|
1089
1111
|
}, {
|
|
1112
|
+
id: string;
|
|
1113
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1090
1114
|
createdAt: string | Date;
|
|
1091
1115
|
updatedAt: string | Date;
|
|
1092
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1093
|
-
id: string;
|
|
1094
1116
|
userId: string;
|
|
1095
|
-
company?: {
|
|
1096
|
-
createdAt: string | Date;
|
|
1097
|
-
updatedAt: string | Date;
|
|
1098
|
-
id: string;
|
|
1099
|
-
name: string;
|
|
1100
|
-
} | null | undefined;
|
|
1101
1117
|
client?: {
|
|
1102
|
-
createdAt: string | Date;
|
|
1103
|
-
updatedAt: string | Date;
|
|
1104
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1105
1118
|
id: string;
|
|
1119
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1106
1120
|
name: string;
|
|
1107
|
-
crn: string;
|
|
1121
|
+
crn: string | null;
|
|
1108
1122
|
govLink: string;
|
|
1123
|
+
soleTrader: boolean;
|
|
1109
1124
|
director: string;
|
|
1125
|
+
createdAt: string | Date;
|
|
1126
|
+
updatedAt: string | Date;
|
|
1110
1127
|
blacklistReason?: string | null | undefined;
|
|
1111
1128
|
lastUpdatedBy?: {
|
|
1112
1129
|
id: string;
|
|
@@ -1118,6 +1135,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1118
1135
|
agentId: string;
|
|
1119
1136
|
} | null | undefined;
|
|
1120
1137
|
} | null | undefined;
|
|
1138
|
+
company?: {
|
|
1139
|
+
id: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
createdAt: string | Date;
|
|
1142
|
+
updatedAt: string | Date;
|
|
1143
|
+
} | null | undefined;
|
|
1121
1144
|
user?: {
|
|
1122
1145
|
id: string;
|
|
1123
1146
|
firstName: string;
|
|
@@ -1125,26 +1148,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1125
1148
|
email: string;
|
|
1126
1149
|
} | null | undefined;
|
|
1127
1150
|
newCollaboration?: {
|
|
1151
|
+
id: string;
|
|
1152
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1128
1153
|
createdAt: string | Date;
|
|
1129
1154
|
updatedAt: string | Date;
|
|
1130
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1131
|
-
id: string;
|
|
1132
1155
|
userId: string;
|
|
1133
|
-
company?: {
|
|
1134
|
-
createdAt: string | Date;
|
|
1135
|
-
updatedAt: string | Date;
|
|
1136
|
-
id: string;
|
|
1137
|
-
name: string;
|
|
1138
|
-
} | null | undefined;
|
|
1139
1156
|
client?: {
|
|
1140
|
-
createdAt: string | Date;
|
|
1141
|
-
updatedAt: string | Date;
|
|
1142
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1143
1157
|
id: string;
|
|
1158
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1144
1159
|
name: string;
|
|
1145
|
-
crn: string;
|
|
1160
|
+
crn: string | null;
|
|
1146
1161
|
govLink: string;
|
|
1162
|
+
soleTrader: boolean;
|
|
1147
1163
|
director: string;
|
|
1164
|
+
createdAt: string | Date;
|
|
1165
|
+
updatedAt: string | Date;
|
|
1148
1166
|
blacklistReason?: string | null | undefined;
|
|
1149
1167
|
lastUpdatedBy?: {
|
|
1150
1168
|
id: string;
|
|
@@ -1156,6 +1174,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1156
1174
|
agentId: string;
|
|
1157
1175
|
} | null | undefined;
|
|
1158
1176
|
} | null | undefined;
|
|
1177
|
+
company?: {
|
|
1178
|
+
id: string;
|
|
1179
|
+
name: string;
|
|
1180
|
+
createdAt: string | Date;
|
|
1181
|
+
updatedAt: string | Date;
|
|
1182
|
+
} | null | undefined;
|
|
1159
1183
|
user?: {
|
|
1160
1184
|
id: string;
|
|
1161
1185
|
firstName: string;
|
|
@@ -1172,26 +1196,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1172
1196
|
}, "strip", z.ZodTypeAny, {
|
|
1173
1197
|
limit: number;
|
|
1174
1198
|
items: {
|
|
1199
|
+
id: string;
|
|
1200
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1175
1201
|
createdAt: string;
|
|
1176
1202
|
updatedAt: string;
|
|
1177
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1178
|
-
id: string;
|
|
1179
1203
|
userId: string;
|
|
1180
|
-
company?: {
|
|
1181
|
-
createdAt: string;
|
|
1182
|
-
updatedAt: string;
|
|
1183
|
-
id: string;
|
|
1184
|
-
name: string;
|
|
1185
|
-
} | null | undefined;
|
|
1186
1204
|
client?: {
|
|
1187
|
-
createdAt: string;
|
|
1188
|
-
updatedAt: string;
|
|
1189
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1190
1205
|
id: string;
|
|
1206
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1191
1207
|
name: string;
|
|
1192
|
-
crn: string;
|
|
1208
|
+
crn: string | null;
|
|
1193
1209
|
govLink: string;
|
|
1210
|
+
soleTrader: boolean;
|
|
1194
1211
|
director: string;
|
|
1212
|
+
createdAt: string;
|
|
1213
|
+
updatedAt: string;
|
|
1195
1214
|
blacklistReason?: string | null | undefined;
|
|
1196
1215
|
lastUpdatedBy?: {
|
|
1197
1216
|
id: string;
|
|
@@ -1203,6 +1222,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1203
1222
|
agentId: string;
|
|
1204
1223
|
} | null | undefined;
|
|
1205
1224
|
} | null | undefined;
|
|
1225
|
+
company?: {
|
|
1226
|
+
id: string;
|
|
1227
|
+
name: string;
|
|
1228
|
+
createdAt: string;
|
|
1229
|
+
updatedAt: string;
|
|
1230
|
+
} | null | undefined;
|
|
1206
1231
|
user?: {
|
|
1207
1232
|
id: string;
|
|
1208
1233
|
firstName: string;
|
|
@@ -1210,26 +1235,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1210
1235
|
email: string;
|
|
1211
1236
|
} | null | undefined;
|
|
1212
1237
|
newCollaboration?: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1213
1240
|
createdAt: string;
|
|
1214
1241
|
updatedAt: string;
|
|
1215
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1216
|
-
id: string;
|
|
1217
1242
|
userId: string;
|
|
1218
|
-
company?: {
|
|
1219
|
-
createdAt: string;
|
|
1220
|
-
updatedAt: string;
|
|
1221
|
-
id: string;
|
|
1222
|
-
name: string;
|
|
1223
|
-
} | null | undefined;
|
|
1224
1243
|
client?: {
|
|
1225
|
-
createdAt: string;
|
|
1226
|
-
updatedAt: string;
|
|
1227
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1228
1244
|
id: string;
|
|
1245
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1229
1246
|
name: string;
|
|
1230
|
-
crn: string;
|
|
1247
|
+
crn: string | null;
|
|
1231
1248
|
govLink: string;
|
|
1249
|
+
soleTrader: boolean;
|
|
1232
1250
|
director: string;
|
|
1251
|
+
createdAt: string;
|
|
1252
|
+
updatedAt: string;
|
|
1233
1253
|
blacklistReason?: string | null | undefined;
|
|
1234
1254
|
lastUpdatedBy?: {
|
|
1235
1255
|
id: string;
|
|
@@ -1241,6 +1261,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1241
1261
|
agentId: string;
|
|
1242
1262
|
} | null | undefined;
|
|
1243
1263
|
} | null | undefined;
|
|
1264
|
+
company?: {
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
createdAt: string;
|
|
1268
|
+
updatedAt: string;
|
|
1269
|
+
} | null | undefined;
|
|
1244
1270
|
user?: {
|
|
1245
1271
|
id: string;
|
|
1246
1272
|
firstName: string;
|
|
@@ -1256,26 +1282,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1256
1282
|
}, {
|
|
1257
1283
|
limit: number;
|
|
1258
1284
|
items: {
|
|
1285
|
+
id: string;
|
|
1286
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1259
1287
|
createdAt: string | Date;
|
|
1260
1288
|
updatedAt: string | Date;
|
|
1261
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1262
|
-
id: string;
|
|
1263
1289
|
userId: string;
|
|
1264
|
-
company?: {
|
|
1265
|
-
createdAt: string | Date;
|
|
1266
|
-
updatedAt: string | Date;
|
|
1267
|
-
id: string;
|
|
1268
|
-
name: string;
|
|
1269
|
-
} | null | undefined;
|
|
1270
1290
|
client?: {
|
|
1271
|
-
createdAt: string | Date;
|
|
1272
|
-
updatedAt: string | Date;
|
|
1273
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1274
1291
|
id: string;
|
|
1292
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1275
1293
|
name: string;
|
|
1276
|
-
crn: string;
|
|
1294
|
+
crn: string | null;
|
|
1277
1295
|
govLink: string;
|
|
1296
|
+
soleTrader: boolean;
|
|
1278
1297
|
director: string;
|
|
1298
|
+
createdAt: string | Date;
|
|
1299
|
+
updatedAt: string | Date;
|
|
1279
1300
|
blacklistReason?: string | null | undefined;
|
|
1280
1301
|
lastUpdatedBy?: {
|
|
1281
1302
|
id: string;
|
|
@@ -1287,6 +1308,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1287
1308
|
agentId: string;
|
|
1288
1309
|
} | null | undefined;
|
|
1289
1310
|
} | null | undefined;
|
|
1311
|
+
company?: {
|
|
1312
|
+
id: string;
|
|
1313
|
+
name: string;
|
|
1314
|
+
createdAt: string | Date;
|
|
1315
|
+
updatedAt: string | Date;
|
|
1316
|
+
} | null | undefined;
|
|
1290
1317
|
user?: {
|
|
1291
1318
|
id: string;
|
|
1292
1319
|
firstName: string;
|
|
@@ -1294,26 +1321,21 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1294
1321
|
email: string;
|
|
1295
1322
|
} | null | undefined;
|
|
1296
1323
|
newCollaboration?: {
|
|
1324
|
+
id: string;
|
|
1325
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1297
1326
|
createdAt: string | Date;
|
|
1298
1327
|
updatedAt: string | Date;
|
|
1299
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1300
|
-
id: string;
|
|
1301
1328
|
userId: string;
|
|
1302
|
-
company?: {
|
|
1303
|
-
createdAt: string | Date;
|
|
1304
|
-
updatedAt: string | Date;
|
|
1305
|
-
id: string;
|
|
1306
|
-
name: string;
|
|
1307
|
-
} | null | undefined;
|
|
1308
1329
|
client?: {
|
|
1309
|
-
createdAt: string | Date;
|
|
1310
|
-
updatedAt: string | Date;
|
|
1311
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1312
1330
|
id: string;
|
|
1331
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1313
1332
|
name: string;
|
|
1314
|
-
crn: string;
|
|
1333
|
+
crn: string | null;
|
|
1315
1334
|
govLink: string;
|
|
1335
|
+
soleTrader: boolean;
|
|
1316
1336
|
director: string;
|
|
1337
|
+
createdAt: string | Date;
|
|
1338
|
+
updatedAt: string | Date;
|
|
1317
1339
|
blacklistReason?: string | null | undefined;
|
|
1318
1340
|
lastUpdatedBy?: {
|
|
1319
1341
|
id: string;
|
|
@@ -1325,6 +1347,12 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
1325
1347
|
agentId: string;
|
|
1326
1348
|
} | null | undefined;
|
|
1327
1349
|
} | null | undefined;
|
|
1350
|
+
company?: {
|
|
1351
|
+
id: string;
|
|
1352
|
+
name: string;
|
|
1353
|
+
createdAt: string | Date;
|
|
1354
|
+
updatedAt: string | Date;
|
|
1355
|
+
} | null | undefined;
|
|
1328
1356
|
user?: {
|
|
1329
1357
|
id: string;
|
|
1330
1358
|
firstName: string;
|
|
@@ -1380,24 +1408,24 @@ export declare const collaborationsContractRouter: {
|
|
|
1380
1408
|
}>>;
|
|
1381
1409
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
1382
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1383
|
-
|
|
1411
|
+
client: {
|
|
1384
1412
|
id: string;
|
|
1385
1413
|
};
|
|
1386
|
-
|
|
1414
|
+
company: {
|
|
1387
1415
|
id: string;
|
|
1388
1416
|
};
|
|
1389
|
-
status?: "
|
|
1417
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1390
1418
|
user?: {
|
|
1391
1419
|
id: string;
|
|
1392
1420
|
} | undefined;
|
|
1393
1421
|
}, {
|
|
1394
|
-
|
|
1422
|
+
client: {
|
|
1395
1423
|
id: string;
|
|
1396
1424
|
};
|
|
1397
|
-
|
|
1425
|
+
company: {
|
|
1398
1426
|
id: string;
|
|
1399
1427
|
};
|
|
1400
|
-
status?: "
|
|
1428
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1401
1429
|
user?: {
|
|
1402
1430
|
id: string;
|
|
1403
1431
|
} | undefined;
|
|
@@ -1512,21 +1540,22 @@ export declare const collaborationsContractRouter: {
|
|
|
1512
1540
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1513
1541
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1514
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1543
|
+
id: string;
|
|
1544
|
+
name: string;
|
|
1515
1545
|
createdAt: string;
|
|
1516
1546
|
updatedAt: string;
|
|
1547
|
+
}, {
|
|
1517
1548
|
id: string;
|
|
1518
1549
|
name: string;
|
|
1519
|
-
}, {
|
|
1520
1550
|
createdAt: string | Date;
|
|
1521
1551
|
updatedAt: string | Date;
|
|
1522
|
-
id: string;
|
|
1523
|
-
name: string;
|
|
1524
1552
|
}>>>;
|
|
1525
1553
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1526
1554
|
id: z.ZodString;
|
|
1527
1555
|
name: z.ZodString;
|
|
1528
|
-
crn: z.ZodString
|
|
1556
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1529
1557
|
govLink: z.ZodString;
|
|
1558
|
+
soleTrader: z.ZodBoolean;
|
|
1530
1559
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1531
1560
|
director: z.ZodString;
|
|
1532
1561
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1556,14 +1585,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1556
1585
|
agentId: string;
|
|
1557
1586
|
}>>>;
|
|
1558
1587
|
}, "strip", z.ZodTypeAny, {
|
|
1559
|
-
createdAt: string;
|
|
1560
|
-
updatedAt: string;
|
|
1561
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1562
1588
|
id: string;
|
|
1589
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1563
1590
|
name: string;
|
|
1564
|
-
crn: string;
|
|
1591
|
+
crn: string | null;
|
|
1565
1592
|
govLink: string;
|
|
1593
|
+
soleTrader: boolean;
|
|
1566
1594
|
director: string;
|
|
1595
|
+
createdAt: string;
|
|
1596
|
+
updatedAt: string;
|
|
1567
1597
|
blacklistReason?: string | null | undefined;
|
|
1568
1598
|
lastUpdatedBy?: {
|
|
1569
1599
|
id: string;
|
|
@@ -1575,14 +1605,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1575
1605
|
agentId: string;
|
|
1576
1606
|
} | null | undefined;
|
|
1577
1607
|
}, {
|
|
1578
|
-
createdAt: string | Date;
|
|
1579
|
-
updatedAt: string | Date;
|
|
1580
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1581
1608
|
id: string;
|
|
1609
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1582
1610
|
name: string;
|
|
1583
|
-
crn: string;
|
|
1611
|
+
crn: string | null;
|
|
1584
1612
|
govLink: string;
|
|
1613
|
+
soleTrader: boolean;
|
|
1585
1614
|
director: string;
|
|
1615
|
+
createdAt: string | Date;
|
|
1616
|
+
updatedAt: string | Date;
|
|
1586
1617
|
blacklistReason?: string | null | undefined;
|
|
1587
1618
|
lastUpdatedBy?: {
|
|
1588
1619
|
id: string;
|
|
@@ -1623,21 +1654,22 @@ export declare const collaborationsContractRouter: {
|
|
|
1623
1654
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1624
1655
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1625
1656
|
}, "strip", z.ZodTypeAny, {
|
|
1657
|
+
id: string;
|
|
1658
|
+
name: string;
|
|
1626
1659
|
createdAt: string;
|
|
1627
1660
|
updatedAt: string;
|
|
1661
|
+
}, {
|
|
1628
1662
|
id: string;
|
|
1629
1663
|
name: string;
|
|
1630
|
-
}, {
|
|
1631
1664
|
createdAt: string | Date;
|
|
1632
1665
|
updatedAt: string | Date;
|
|
1633
|
-
id: string;
|
|
1634
|
-
name: string;
|
|
1635
1666
|
}>>>;
|
|
1636
1667
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1637
1668
|
id: z.ZodString;
|
|
1638
1669
|
name: z.ZodString;
|
|
1639
|
-
crn: z.ZodString
|
|
1670
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
1640
1671
|
govLink: z.ZodString;
|
|
1672
|
+
soleTrader: z.ZodBoolean;
|
|
1641
1673
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
1642
1674
|
director: z.ZodString;
|
|
1643
1675
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1667,14 +1699,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1667
1699
|
agentId: string;
|
|
1668
1700
|
}>>>;
|
|
1669
1701
|
}, "strip", z.ZodTypeAny, {
|
|
1670
|
-
createdAt: string;
|
|
1671
|
-
updatedAt: string;
|
|
1672
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1673
1702
|
id: string;
|
|
1703
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1674
1704
|
name: string;
|
|
1675
|
-
crn: string;
|
|
1705
|
+
crn: string | null;
|
|
1676
1706
|
govLink: string;
|
|
1707
|
+
soleTrader: boolean;
|
|
1677
1708
|
director: string;
|
|
1709
|
+
createdAt: string;
|
|
1710
|
+
updatedAt: string;
|
|
1678
1711
|
blacklistReason?: string | null | undefined;
|
|
1679
1712
|
lastUpdatedBy?: {
|
|
1680
1713
|
id: string;
|
|
@@ -1686,14 +1719,15 @@ export declare const collaborationsContractRouter: {
|
|
|
1686
1719
|
agentId: string;
|
|
1687
1720
|
} | null | undefined;
|
|
1688
1721
|
}, {
|
|
1689
|
-
createdAt: string | Date;
|
|
1690
|
-
updatedAt: string | Date;
|
|
1691
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1692
1722
|
id: string;
|
|
1723
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1693
1724
|
name: string;
|
|
1694
|
-
crn: string;
|
|
1725
|
+
crn: string | null;
|
|
1695
1726
|
govLink: string;
|
|
1727
|
+
soleTrader: boolean;
|
|
1696
1728
|
director: string;
|
|
1729
|
+
createdAt: string | Date;
|
|
1730
|
+
updatedAt: string | Date;
|
|
1697
1731
|
blacklistReason?: string | null | undefined;
|
|
1698
1732
|
lastUpdatedBy?: {
|
|
1699
1733
|
id: string;
|
|
@@ -1726,26 +1760,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1726
1760
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1727
1761
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1728
1762
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
+
id: string;
|
|
1764
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1729
1765
|
createdAt: string;
|
|
1730
1766
|
updatedAt: string;
|
|
1731
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1732
|
-
id: string;
|
|
1733
1767
|
userId: string;
|
|
1734
|
-
company?: {
|
|
1735
|
-
createdAt: string;
|
|
1736
|
-
updatedAt: string;
|
|
1737
|
-
id: string;
|
|
1738
|
-
name: string;
|
|
1739
|
-
} | null | undefined;
|
|
1740
1768
|
client?: {
|
|
1741
|
-
createdAt: string;
|
|
1742
|
-
updatedAt: string;
|
|
1743
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1744
1769
|
id: string;
|
|
1770
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1745
1771
|
name: string;
|
|
1746
|
-
crn: string;
|
|
1772
|
+
crn: string | null;
|
|
1747
1773
|
govLink: string;
|
|
1774
|
+
soleTrader: boolean;
|
|
1748
1775
|
director: string;
|
|
1776
|
+
createdAt: string;
|
|
1777
|
+
updatedAt: string;
|
|
1749
1778
|
blacklistReason?: string | null | undefined;
|
|
1750
1779
|
lastUpdatedBy?: {
|
|
1751
1780
|
id: string;
|
|
@@ -1757,6 +1786,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1757
1786
|
agentId: string;
|
|
1758
1787
|
} | null | undefined;
|
|
1759
1788
|
} | null | undefined;
|
|
1789
|
+
company?: {
|
|
1790
|
+
id: string;
|
|
1791
|
+
name: string;
|
|
1792
|
+
createdAt: string;
|
|
1793
|
+
updatedAt: string;
|
|
1794
|
+
} | null | undefined;
|
|
1760
1795
|
user?: {
|
|
1761
1796
|
id: string;
|
|
1762
1797
|
firstName: string;
|
|
@@ -1764,26 +1799,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1764
1799
|
email: string;
|
|
1765
1800
|
} | null | undefined;
|
|
1766
1801
|
}, {
|
|
1802
|
+
id: string;
|
|
1803
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1767
1804
|
createdAt: string | Date;
|
|
1768
1805
|
updatedAt: string | Date;
|
|
1769
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1770
|
-
id: string;
|
|
1771
1806
|
userId: string;
|
|
1772
|
-
company?: {
|
|
1773
|
-
createdAt: string | Date;
|
|
1774
|
-
updatedAt: string | Date;
|
|
1775
|
-
id: string;
|
|
1776
|
-
name: string;
|
|
1777
|
-
} | null | undefined;
|
|
1778
1807
|
client?: {
|
|
1779
|
-
createdAt: string | Date;
|
|
1780
|
-
updatedAt: string | Date;
|
|
1781
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1782
1808
|
id: string;
|
|
1809
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1783
1810
|
name: string;
|
|
1784
|
-
crn: string;
|
|
1811
|
+
crn: string | null;
|
|
1785
1812
|
govLink: string;
|
|
1813
|
+
soleTrader: boolean;
|
|
1786
1814
|
director: string;
|
|
1815
|
+
createdAt: string | Date;
|
|
1816
|
+
updatedAt: string | Date;
|
|
1787
1817
|
blacklistReason?: string | null | undefined;
|
|
1788
1818
|
lastUpdatedBy?: {
|
|
1789
1819
|
id: string;
|
|
@@ -1795,6 +1825,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1795
1825
|
agentId: string;
|
|
1796
1826
|
} | null | undefined;
|
|
1797
1827
|
} | null | undefined;
|
|
1828
|
+
company?: {
|
|
1829
|
+
id: string;
|
|
1830
|
+
name: string;
|
|
1831
|
+
createdAt: string | Date;
|
|
1832
|
+
updatedAt: string | Date;
|
|
1833
|
+
} | null | undefined;
|
|
1798
1834
|
user?: {
|
|
1799
1835
|
id: string;
|
|
1800
1836
|
firstName: string;
|
|
@@ -1803,26 +1839,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1803
1839
|
} | null | undefined;
|
|
1804
1840
|
}>>>;
|
|
1805
1841
|
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
id: string;
|
|
1843
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1806
1844
|
createdAt: string;
|
|
1807
1845
|
updatedAt: string;
|
|
1808
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1809
|
-
id: string;
|
|
1810
1846
|
userId: string;
|
|
1811
|
-
company?: {
|
|
1812
|
-
createdAt: string;
|
|
1813
|
-
updatedAt: string;
|
|
1814
|
-
id: string;
|
|
1815
|
-
name: string;
|
|
1816
|
-
} | null | undefined;
|
|
1817
1847
|
client?: {
|
|
1818
|
-
createdAt: string;
|
|
1819
|
-
updatedAt: string;
|
|
1820
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1821
1848
|
id: string;
|
|
1849
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1822
1850
|
name: string;
|
|
1823
|
-
crn: string;
|
|
1851
|
+
crn: string | null;
|
|
1824
1852
|
govLink: string;
|
|
1853
|
+
soleTrader: boolean;
|
|
1825
1854
|
director: string;
|
|
1855
|
+
createdAt: string;
|
|
1856
|
+
updatedAt: string;
|
|
1826
1857
|
blacklistReason?: string | null | undefined;
|
|
1827
1858
|
lastUpdatedBy?: {
|
|
1828
1859
|
id: string;
|
|
@@ -1834,6 +1865,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1834
1865
|
agentId: string;
|
|
1835
1866
|
} | null | undefined;
|
|
1836
1867
|
} | null | undefined;
|
|
1868
|
+
company?: {
|
|
1869
|
+
id: string;
|
|
1870
|
+
name: string;
|
|
1871
|
+
createdAt: string;
|
|
1872
|
+
updatedAt: string;
|
|
1873
|
+
} | null | undefined;
|
|
1837
1874
|
user?: {
|
|
1838
1875
|
id: string;
|
|
1839
1876
|
firstName: string;
|
|
@@ -1841,26 +1878,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1841
1878
|
email: string;
|
|
1842
1879
|
} | null | undefined;
|
|
1843
1880
|
newCollaboration?: {
|
|
1881
|
+
id: string;
|
|
1882
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1844
1883
|
createdAt: string;
|
|
1845
1884
|
updatedAt: string;
|
|
1846
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1847
|
-
id: string;
|
|
1848
1885
|
userId: string;
|
|
1849
|
-
company?: {
|
|
1850
|
-
createdAt: string;
|
|
1851
|
-
updatedAt: string;
|
|
1852
|
-
id: string;
|
|
1853
|
-
name: string;
|
|
1854
|
-
} | null | undefined;
|
|
1855
1886
|
client?: {
|
|
1856
|
-
createdAt: string;
|
|
1857
|
-
updatedAt: string;
|
|
1858
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1859
1887
|
id: string;
|
|
1888
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1860
1889
|
name: string;
|
|
1861
|
-
crn: string;
|
|
1890
|
+
crn: string | null;
|
|
1862
1891
|
govLink: string;
|
|
1892
|
+
soleTrader: boolean;
|
|
1863
1893
|
director: string;
|
|
1894
|
+
createdAt: string;
|
|
1895
|
+
updatedAt: string;
|
|
1864
1896
|
blacklistReason?: string | null | undefined;
|
|
1865
1897
|
lastUpdatedBy?: {
|
|
1866
1898
|
id: string;
|
|
@@ -1872,6 +1904,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1872
1904
|
agentId: string;
|
|
1873
1905
|
} | null | undefined;
|
|
1874
1906
|
} | null | undefined;
|
|
1907
|
+
company?: {
|
|
1908
|
+
id: string;
|
|
1909
|
+
name: string;
|
|
1910
|
+
createdAt: string;
|
|
1911
|
+
updatedAt: string;
|
|
1912
|
+
} | null | undefined;
|
|
1875
1913
|
user?: {
|
|
1876
1914
|
id: string;
|
|
1877
1915
|
firstName: string;
|
|
@@ -1880,26 +1918,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1880
1918
|
} | null | undefined;
|
|
1881
1919
|
} | null | undefined;
|
|
1882
1920
|
}, {
|
|
1921
|
+
id: string;
|
|
1922
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1883
1923
|
createdAt: string | Date;
|
|
1884
1924
|
updatedAt: string | Date;
|
|
1885
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1886
|
-
id: string;
|
|
1887
1925
|
userId: string;
|
|
1888
|
-
company?: {
|
|
1889
|
-
createdAt: string | Date;
|
|
1890
|
-
updatedAt: string | Date;
|
|
1891
|
-
id: string;
|
|
1892
|
-
name: string;
|
|
1893
|
-
} | null | undefined;
|
|
1894
1926
|
client?: {
|
|
1895
|
-
createdAt: string | Date;
|
|
1896
|
-
updatedAt: string | Date;
|
|
1897
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1898
1927
|
id: string;
|
|
1928
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1899
1929
|
name: string;
|
|
1900
|
-
crn: string;
|
|
1930
|
+
crn: string | null;
|
|
1901
1931
|
govLink: string;
|
|
1932
|
+
soleTrader: boolean;
|
|
1902
1933
|
director: string;
|
|
1934
|
+
createdAt: string | Date;
|
|
1935
|
+
updatedAt: string | Date;
|
|
1903
1936
|
blacklistReason?: string | null | undefined;
|
|
1904
1937
|
lastUpdatedBy?: {
|
|
1905
1938
|
id: string;
|
|
@@ -1911,6 +1944,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1911
1944
|
agentId: string;
|
|
1912
1945
|
} | null | undefined;
|
|
1913
1946
|
} | null | undefined;
|
|
1947
|
+
company?: {
|
|
1948
|
+
id: string;
|
|
1949
|
+
name: string;
|
|
1950
|
+
createdAt: string | Date;
|
|
1951
|
+
updatedAt: string | Date;
|
|
1952
|
+
} | null | undefined;
|
|
1914
1953
|
user?: {
|
|
1915
1954
|
id: string;
|
|
1916
1955
|
firstName: string;
|
|
@@ -1918,26 +1957,21 @@ export declare const collaborationsContractRouter: {
|
|
|
1918
1957
|
email: string;
|
|
1919
1958
|
} | null | undefined;
|
|
1920
1959
|
newCollaboration?: {
|
|
1960
|
+
id: string;
|
|
1961
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1921
1962
|
createdAt: string | Date;
|
|
1922
1963
|
updatedAt: string | Date;
|
|
1923
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1924
|
-
id: string;
|
|
1925
1964
|
userId: string;
|
|
1926
|
-
company?: {
|
|
1927
|
-
createdAt: string | Date;
|
|
1928
|
-
updatedAt: string | Date;
|
|
1929
|
-
id: string;
|
|
1930
|
-
name: string;
|
|
1931
|
-
} | null | undefined;
|
|
1932
1965
|
client?: {
|
|
1933
|
-
createdAt: string | Date;
|
|
1934
|
-
updatedAt: string | Date;
|
|
1935
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1936
1966
|
id: string;
|
|
1967
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
1937
1968
|
name: string;
|
|
1938
|
-
crn: string;
|
|
1969
|
+
crn: string | null;
|
|
1939
1970
|
govLink: string;
|
|
1971
|
+
soleTrader: boolean;
|
|
1940
1972
|
director: string;
|
|
1973
|
+
createdAt: string | Date;
|
|
1974
|
+
updatedAt: string | Date;
|
|
1941
1975
|
blacklistReason?: string | null | undefined;
|
|
1942
1976
|
lastUpdatedBy?: {
|
|
1943
1977
|
id: string;
|
|
@@ -1949,6 +1983,12 @@ export declare const collaborationsContractRouter: {
|
|
|
1949
1983
|
agentId: string;
|
|
1950
1984
|
} | null | undefined;
|
|
1951
1985
|
} | null | undefined;
|
|
1986
|
+
company?: {
|
|
1987
|
+
id: string;
|
|
1988
|
+
name: string;
|
|
1989
|
+
createdAt: string | Date;
|
|
1990
|
+
updatedAt: string | Date;
|
|
1991
|
+
} | null | undefined;
|
|
1952
1992
|
user?: {
|
|
1953
1993
|
id: string;
|
|
1954
1994
|
firstName: string;
|
|
@@ -2004,21 +2044,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2004
2044
|
}, "strip", z.ZodTypeAny, {
|
|
2005
2045
|
limit: number;
|
|
2006
2046
|
page: number;
|
|
2007
|
-
status?: "
|
|
2047
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
2048
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2049
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2050
|
+
clientId?: string | null | undefined;
|
|
2008
2051
|
userId?: string | null | undefined;
|
|
2009
2052
|
companyId?: string | null | undefined;
|
|
2010
|
-
clientId?: string | null | undefined;
|
|
2011
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
2012
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2013
2053
|
}, {
|
|
2014
|
-
status?: "
|
|
2015
|
-
userId?: string | null | undefined;
|
|
2054
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
2016
2055
|
limit?: number | undefined;
|
|
2017
2056
|
page?: number | undefined;
|
|
2018
|
-
|
|
2019
|
-
clientId?: string | null | undefined;
|
|
2020
|
-
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
2057
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
2021
2058
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
2059
|
+
clientId?: string | null | undefined;
|
|
2060
|
+
userId?: string | null | undefined;
|
|
2061
|
+
companyId?: string | null | undefined;
|
|
2022
2062
|
}>;
|
|
2023
2063
|
summary: "Get all collaborations";
|
|
2024
2064
|
method: "GET";
|
|
@@ -2133,21 +2173,22 @@ export declare const collaborationsContractRouter: {
|
|
|
2133
2173
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2134
2174
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2135
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2176
|
+
id: string;
|
|
2177
|
+
name: string;
|
|
2136
2178
|
createdAt: string;
|
|
2137
2179
|
updatedAt: string;
|
|
2180
|
+
}, {
|
|
2138
2181
|
id: string;
|
|
2139
2182
|
name: string;
|
|
2140
|
-
}, {
|
|
2141
2183
|
createdAt: string | Date;
|
|
2142
2184
|
updatedAt: string | Date;
|
|
2143
|
-
id: string;
|
|
2144
|
-
name: string;
|
|
2145
2185
|
}>>>;
|
|
2146
2186
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2147
2187
|
id: z.ZodString;
|
|
2148
2188
|
name: z.ZodString;
|
|
2149
|
-
crn: z.ZodString
|
|
2189
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2150
2190
|
govLink: z.ZodString;
|
|
2191
|
+
soleTrader: z.ZodBoolean;
|
|
2151
2192
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2152
2193
|
director: z.ZodString;
|
|
2153
2194
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2177,14 +2218,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2177
2218
|
agentId: string;
|
|
2178
2219
|
}>>>;
|
|
2179
2220
|
}, "strip", z.ZodTypeAny, {
|
|
2180
|
-
createdAt: string;
|
|
2181
|
-
updatedAt: string;
|
|
2182
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2183
2221
|
id: string;
|
|
2222
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2184
2223
|
name: string;
|
|
2185
|
-
crn: string;
|
|
2224
|
+
crn: string | null;
|
|
2186
2225
|
govLink: string;
|
|
2226
|
+
soleTrader: boolean;
|
|
2187
2227
|
director: string;
|
|
2228
|
+
createdAt: string;
|
|
2229
|
+
updatedAt: string;
|
|
2188
2230
|
blacklistReason?: string | null | undefined;
|
|
2189
2231
|
lastUpdatedBy?: {
|
|
2190
2232
|
id: string;
|
|
@@ -2196,14 +2238,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2196
2238
|
agentId: string;
|
|
2197
2239
|
} | null | undefined;
|
|
2198
2240
|
}, {
|
|
2199
|
-
createdAt: string | Date;
|
|
2200
|
-
updatedAt: string | Date;
|
|
2201
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2202
2241
|
id: string;
|
|
2242
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2203
2243
|
name: string;
|
|
2204
|
-
crn: string;
|
|
2244
|
+
crn: string | null;
|
|
2205
2245
|
govLink: string;
|
|
2246
|
+
soleTrader: boolean;
|
|
2206
2247
|
director: string;
|
|
2248
|
+
createdAt: string | Date;
|
|
2249
|
+
updatedAt: string | Date;
|
|
2207
2250
|
blacklistReason?: string | null | undefined;
|
|
2208
2251
|
lastUpdatedBy?: {
|
|
2209
2252
|
id: string;
|
|
@@ -2244,21 +2287,22 @@ export declare const collaborationsContractRouter: {
|
|
|
2244
2287
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2245
2288
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2246
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
|
+
id: string;
|
|
2291
|
+
name: string;
|
|
2247
2292
|
createdAt: string;
|
|
2248
2293
|
updatedAt: string;
|
|
2294
|
+
}, {
|
|
2249
2295
|
id: string;
|
|
2250
2296
|
name: string;
|
|
2251
|
-
}, {
|
|
2252
2297
|
createdAt: string | Date;
|
|
2253
2298
|
updatedAt: string | Date;
|
|
2254
|
-
id: string;
|
|
2255
|
-
name: string;
|
|
2256
2299
|
}>>>;
|
|
2257
2300
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2258
2301
|
id: z.ZodString;
|
|
2259
2302
|
name: z.ZodString;
|
|
2260
|
-
crn: z.ZodString
|
|
2303
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
2261
2304
|
govLink: z.ZodString;
|
|
2305
|
+
soleTrader: z.ZodBoolean;
|
|
2262
2306
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
2263
2307
|
director: z.ZodString;
|
|
2264
2308
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2288,14 +2332,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2288
2332
|
agentId: string;
|
|
2289
2333
|
}>>>;
|
|
2290
2334
|
}, "strip", z.ZodTypeAny, {
|
|
2291
|
-
createdAt: string;
|
|
2292
|
-
updatedAt: string;
|
|
2293
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2294
2335
|
id: string;
|
|
2336
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2295
2337
|
name: string;
|
|
2296
|
-
crn: string;
|
|
2338
|
+
crn: string | null;
|
|
2297
2339
|
govLink: string;
|
|
2340
|
+
soleTrader: boolean;
|
|
2298
2341
|
director: string;
|
|
2342
|
+
createdAt: string;
|
|
2343
|
+
updatedAt: string;
|
|
2299
2344
|
blacklistReason?: string | null | undefined;
|
|
2300
2345
|
lastUpdatedBy?: {
|
|
2301
2346
|
id: string;
|
|
@@ -2307,14 +2352,15 @@ export declare const collaborationsContractRouter: {
|
|
|
2307
2352
|
agentId: string;
|
|
2308
2353
|
} | null | undefined;
|
|
2309
2354
|
}, {
|
|
2310
|
-
createdAt: string | Date;
|
|
2311
|
-
updatedAt: string | Date;
|
|
2312
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2313
2355
|
id: string;
|
|
2356
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2314
2357
|
name: string;
|
|
2315
|
-
crn: string;
|
|
2358
|
+
crn: string | null;
|
|
2316
2359
|
govLink: string;
|
|
2360
|
+
soleTrader: boolean;
|
|
2317
2361
|
director: string;
|
|
2362
|
+
createdAt: string | Date;
|
|
2363
|
+
updatedAt: string | Date;
|
|
2318
2364
|
blacklistReason?: string | null | undefined;
|
|
2319
2365
|
lastUpdatedBy?: {
|
|
2320
2366
|
id: string;
|
|
@@ -2347,26 +2393,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2347
2393
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2348
2394
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2349
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
+
id: string;
|
|
2397
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2350
2398
|
createdAt: string;
|
|
2351
2399
|
updatedAt: string;
|
|
2352
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2353
|
-
id: string;
|
|
2354
2400
|
userId: string;
|
|
2355
|
-
company?: {
|
|
2356
|
-
createdAt: string;
|
|
2357
|
-
updatedAt: string;
|
|
2358
|
-
id: string;
|
|
2359
|
-
name: string;
|
|
2360
|
-
} | null | undefined;
|
|
2361
2401
|
client?: {
|
|
2362
|
-
createdAt: string;
|
|
2363
|
-
updatedAt: string;
|
|
2364
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2365
2402
|
id: string;
|
|
2403
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2366
2404
|
name: string;
|
|
2367
|
-
crn: string;
|
|
2405
|
+
crn: string | null;
|
|
2368
2406
|
govLink: string;
|
|
2407
|
+
soleTrader: boolean;
|
|
2369
2408
|
director: string;
|
|
2409
|
+
createdAt: string;
|
|
2410
|
+
updatedAt: string;
|
|
2370
2411
|
blacklistReason?: string | null | undefined;
|
|
2371
2412
|
lastUpdatedBy?: {
|
|
2372
2413
|
id: string;
|
|
@@ -2378,6 +2419,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2378
2419
|
agentId: string;
|
|
2379
2420
|
} | null | undefined;
|
|
2380
2421
|
} | null | undefined;
|
|
2422
|
+
company?: {
|
|
2423
|
+
id: string;
|
|
2424
|
+
name: string;
|
|
2425
|
+
createdAt: string;
|
|
2426
|
+
updatedAt: string;
|
|
2427
|
+
} | null | undefined;
|
|
2381
2428
|
user?: {
|
|
2382
2429
|
id: string;
|
|
2383
2430
|
firstName: string;
|
|
@@ -2385,26 +2432,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2385
2432
|
email: string;
|
|
2386
2433
|
} | null | undefined;
|
|
2387
2434
|
}, {
|
|
2435
|
+
id: string;
|
|
2436
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2388
2437
|
createdAt: string | Date;
|
|
2389
2438
|
updatedAt: string | Date;
|
|
2390
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2391
|
-
id: string;
|
|
2392
2439
|
userId: string;
|
|
2393
|
-
company?: {
|
|
2394
|
-
createdAt: string | Date;
|
|
2395
|
-
updatedAt: string | Date;
|
|
2396
|
-
id: string;
|
|
2397
|
-
name: string;
|
|
2398
|
-
} | null | undefined;
|
|
2399
2440
|
client?: {
|
|
2400
|
-
createdAt: string | Date;
|
|
2401
|
-
updatedAt: string | Date;
|
|
2402
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2403
2441
|
id: string;
|
|
2442
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2404
2443
|
name: string;
|
|
2405
|
-
crn: string;
|
|
2444
|
+
crn: string | null;
|
|
2406
2445
|
govLink: string;
|
|
2446
|
+
soleTrader: boolean;
|
|
2407
2447
|
director: string;
|
|
2448
|
+
createdAt: string | Date;
|
|
2449
|
+
updatedAt: string | Date;
|
|
2408
2450
|
blacklistReason?: string | null | undefined;
|
|
2409
2451
|
lastUpdatedBy?: {
|
|
2410
2452
|
id: string;
|
|
@@ -2416,6 +2458,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2416
2458
|
agentId: string;
|
|
2417
2459
|
} | null | undefined;
|
|
2418
2460
|
} | null | undefined;
|
|
2461
|
+
company?: {
|
|
2462
|
+
id: string;
|
|
2463
|
+
name: string;
|
|
2464
|
+
createdAt: string | Date;
|
|
2465
|
+
updatedAt: string | Date;
|
|
2466
|
+
} | null | undefined;
|
|
2419
2467
|
user?: {
|
|
2420
2468
|
id: string;
|
|
2421
2469
|
firstName: string;
|
|
@@ -2424,26 +2472,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2424
2472
|
} | null | undefined;
|
|
2425
2473
|
}>>>;
|
|
2426
2474
|
}, "strip", z.ZodTypeAny, {
|
|
2475
|
+
id: string;
|
|
2476
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2427
2477
|
createdAt: string;
|
|
2428
2478
|
updatedAt: string;
|
|
2429
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2430
|
-
id: string;
|
|
2431
2479
|
userId: string;
|
|
2432
|
-
company?: {
|
|
2433
|
-
createdAt: string;
|
|
2434
|
-
updatedAt: string;
|
|
2435
|
-
id: string;
|
|
2436
|
-
name: string;
|
|
2437
|
-
} | null | undefined;
|
|
2438
2480
|
client?: {
|
|
2439
|
-
createdAt: string;
|
|
2440
|
-
updatedAt: string;
|
|
2441
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2442
2481
|
id: string;
|
|
2482
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2443
2483
|
name: string;
|
|
2444
|
-
crn: string;
|
|
2484
|
+
crn: string | null;
|
|
2445
2485
|
govLink: string;
|
|
2486
|
+
soleTrader: boolean;
|
|
2446
2487
|
director: string;
|
|
2488
|
+
createdAt: string;
|
|
2489
|
+
updatedAt: string;
|
|
2447
2490
|
blacklistReason?: string | null | undefined;
|
|
2448
2491
|
lastUpdatedBy?: {
|
|
2449
2492
|
id: string;
|
|
@@ -2455,6 +2498,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2455
2498
|
agentId: string;
|
|
2456
2499
|
} | null | undefined;
|
|
2457
2500
|
} | null | undefined;
|
|
2501
|
+
company?: {
|
|
2502
|
+
id: string;
|
|
2503
|
+
name: string;
|
|
2504
|
+
createdAt: string;
|
|
2505
|
+
updatedAt: string;
|
|
2506
|
+
} | null | undefined;
|
|
2458
2507
|
user?: {
|
|
2459
2508
|
id: string;
|
|
2460
2509
|
firstName: string;
|
|
@@ -2462,26 +2511,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2462
2511
|
email: string;
|
|
2463
2512
|
} | null | undefined;
|
|
2464
2513
|
newCollaboration?: {
|
|
2514
|
+
id: string;
|
|
2515
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2465
2516
|
createdAt: string;
|
|
2466
2517
|
updatedAt: string;
|
|
2467
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2468
|
-
id: string;
|
|
2469
2518
|
userId: string;
|
|
2470
|
-
company?: {
|
|
2471
|
-
createdAt: string;
|
|
2472
|
-
updatedAt: string;
|
|
2473
|
-
id: string;
|
|
2474
|
-
name: string;
|
|
2475
|
-
} | null | undefined;
|
|
2476
2519
|
client?: {
|
|
2477
|
-
createdAt: string;
|
|
2478
|
-
updatedAt: string;
|
|
2479
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2480
2520
|
id: string;
|
|
2521
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2481
2522
|
name: string;
|
|
2482
|
-
crn: string;
|
|
2523
|
+
crn: string | null;
|
|
2483
2524
|
govLink: string;
|
|
2525
|
+
soleTrader: boolean;
|
|
2484
2526
|
director: string;
|
|
2527
|
+
createdAt: string;
|
|
2528
|
+
updatedAt: string;
|
|
2485
2529
|
blacklistReason?: string | null | undefined;
|
|
2486
2530
|
lastUpdatedBy?: {
|
|
2487
2531
|
id: string;
|
|
@@ -2493,6 +2537,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2493
2537
|
agentId: string;
|
|
2494
2538
|
} | null | undefined;
|
|
2495
2539
|
} | null | undefined;
|
|
2540
|
+
company?: {
|
|
2541
|
+
id: string;
|
|
2542
|
+
name: string;
|
|
2543
|
+
createdAt: string;
|
|
2544
|
+
updatedAt: string;
|
|
2545
|
+
} | null | undefined;
|
|
2496
2546
|
user?: {
|
|
2497
2547
|
id: string;
|
|
2498
2548
|
firstName: string;
|
|
@@ -2501,26 +2551,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2501
2551
|
} | null | undefined;
|
|
2502
2552
|
} | null | undefined;
|
|
2503
2553
|
}, {
|
|
2554
|
+
id: string;
|
|
2555
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2504
2556
|
createdAt: string | Date;
|
|
2505
2557
|
updatedAt: string | Date;
|
|
2506
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2507
|
-
id: string;
|
|
2508
2558
|
userId: string;
|
|
2509
|
-
company?: {
|
|
2510
|
-
createdAt: string | Date;
|
|
2511
|
-
updatedAt: string | Date;
|
|
2512
|
-
id: string;
|
|
2513
|
-
name: string;
|
|
2514
|
-
} | null | undefined;
|
|
2515
2559
|
client?: {
|
|
2516
|
-
createdAt: string | Date;
|
|
2517
|
-
updatedAt: string | Date;
|
|
2518
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2519
2560
|
id: string;
|
|
2561
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2520
2562
|
name: string;
|
|
2521
|
-
crn: string;
|
|
2563
|
+
crn: string | null;
|
|
2522
2564
|
govLink: string;
|
|
2565
|
+
soleTrader: boolean;
|
|
2523
2566
|
director: string;
|
|
2567
|
+
createdAt: string | Date;
|
|
2568
|
+
updatedAt: string | Date;
|
|
2524
2569
|
blacklistReason?: string | null | undefined;
|
|
2525
2570
|
lastUpdatedBy?: {
|
|
2526
2571
|
id: string;
|
|
@@ -2532,6 +2577,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2532
2577
|
agentId: string;
|
|
2533
2578
|
} | null | undefined;
|
|
2534
2579
|
} | null | undefined;
|
|
2580
|
+
company?: {
|
|
2581
|
+
id: string;
|
|
2582
|
+
name: string;
|
|
2583
|
+
createdAt: string | Date;
|
|
2584
|
+
updatedAt: string | Date;
|
|
2585
|
+
} | null | undefined;
|
|
2535
2586
|
user?: {
|
|
2536
2587
|
id: string;
|
|
2537
2588
|
firstName: string;
|
|
@@ -2539,26 +2590,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2539
2590
|
email: string;
|
|
2540
2591
|
} | null | undefined;
|
|
2541
2592
|
newCollaboration?: {
|
|
2593
|
+
id: string;
|
|
2594
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2542
2595
|
createdAt: string | Date;
|
|
2543
2596
|
updatedAt: string | Date;
|
|
2544
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2545
|
-
id: string;
|
|
2546
2597
|
userId: string;
|
|
2547
|
-
company?: {
|
|
2548
|
-
createdAt: string | Date;
|
|
2549
|
-
updatedAt: string | Date;
|
|
2550
|
-
id: string;
|
|
2551
|
-
name: string;
|
|
2552
|
-
} | null | undefined;
|
|
2553
2598
|
client?: {
|
|
2554
|
-
createdAt: string | Date;
|
|
2555
|
-
updatedAt: string | Date;
|
|
2556
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2557
2599
|
id: string;
|
|
2600
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2558
2601
|
name: string;
|
|
2559
|
-
crn: string;
|
|
2602
|
+
crn: string | null;
|
|
2560
2603
|
govLink: string;
|
|
2604
|
+
soleTrader: boolean;
|
|
2561
2605
|
director: string;
|
|
2606
|
+
createdAt: string | Date;
|
|
2607
|
+
updatedAt: string | Date;
|
|
2562
2608
|
blacklistReason?: string | null | undefined;
|
|
2563
2609
|
lastUpdatedBy?: {
|
|
2564
2610
|
id: string;
|
|
@@ -2570,6 +2616,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2570
2616
|
agentId: string;
|
|
2571
2617
|
} | null | undefined;
|
|
2572
2618
|
} | null | undefined;
|
|
2619
|
+
company?: {
|
|
2620
|
+
id: string;
|
|
2621
|
+
name: string;
|
|
2622
|
+
createdAt: string | Date;
|
|
2623
|
+
updatedAt: string | Date;
|
|
2624
|
+
} | null | undefined;
|
|
2573
2625
|
user?: {
|
|
2574
2626
|
id: string;
|
|
2575
2627
|
firstName: string;
|
|
@@ -2586,26 +2638,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2586
2638
|
}, "strip", z.ZodTypeAny, {
|
|
2587
2639
|
limit: number;
|
|
2588
2640
|
items: {
|
|
2641
|
+
id: string;
|
|
2642
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2589
2643
|
createdAt: string;
|
|
2590
2644
|
updatedAt: string;
|
|
2591
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2592
|
-
id: string;
|
|
2593
2645
|
userId: string;
|
|
2594
|
-
company?: {
|
|
2595
|
-
createdAt: string;
|
|
2596
|
-
updatedAt: string;
|
|
2597
|
-
id: string;
|
|
2598
|
-
name: string;
|
|
2599
|
-
} | null | undefined;
|
|
2600
2646
|
client?: {
|
|
2601
|
-
createdAt: string;
|
|
2602
|
-
updatedAt: string;
|
|
2603
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2604
2647
|
id: string;
|
|
2648
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2605
2649
|
name: string;
|
|
2606
|
-
crn: string;
|
|
2650
|
+
crn: string | null;
|
|
2607
2651
|
govLink: string;
|
|
2652
|
+
soleTrader: boolean;
|
|
2608
2653
|
director: string;
|
|
2654
|
+
createdAt: string;
|
|
2655
|
+
updatedAt: string;
|
|
2609
2656
|
blacklistReason?: string | null | undefined;
|
|
2610
2657
|
lastUpdatedBy?: {
|
|
2611
2658
|
id: string;
|
|
@@ -2617,6 +2664,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2617
2664
|
agentId: string;
|
|
2618
2665
|
} | null | undefined;
|
|
2619
2666
|
} | null | undefined;
|
|
2667
|
+
company?: {
|
|
2668
|
+
id: string;
|
|
2669
|
+
name: string;
|
|
2670
|
+
createdAt: string;
|
|
2671
|
+
updatedAt: string;
|
|
2672
|
+
} | null | undefined;
|
|
2620
2673
|
user?: {
|
|
2621
2674
|
id: string;
|
|
2622
2675
|
firstName: string;
|
|
@@ -2624,26 +2677,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2624
2677
|
email: string;
|
|
2625
2678
|
} | null | undefined;
|
|
2626
2679
|
newCollaboration?: {
|
|
2680
|
+
id: string;
|
|
2681
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2627
2682
|
createdAt: string;
|
|
2628
2683
|
updatedAt: string;
|
|
2629
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2630
|
-
id: string;
|
|
2631
2684
|
userId: string;
|
|
2632
|
-
company?: {
|
|
2633
|
-
createdAt: string;
|
|
2634
|
-
updatedAt: string;
|
|
2635
|
-
id: string;
|
|
2636
|
-
name: string;
|
|
2637
|
-
} | null | undefined;
|
|
2638
2685
|
client?: {
|
|
2639
|
-
createdAt: string;
|
|
2640
|
-
updatedAt: string;
|
|
2641
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2642
2686
|
id: string;
|
|
2687
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2643
2688
|
name: string;
|
|
2644
|
-
crn: string;
|
|
2689
|
+
crn: string | null;
|
|
2645
2690
|
govLink: string;
|
|
2691
|
+
soleTrader: boolean;
|
|
2646
2692
|
director: string;
|
|
2693
|
+
createdAt: string;
|
|
2694
|
+
updatedAt: string;
|
|
2647
2695
|
blacklistReason?: string | null | undefined;
|
|
2648
2696
|
lastUpdatedBy?: {
|
|
2649
2697
|
id: string;
|
|
@@ -2655,6 +2703,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2655
2703
|
agentId: string;
|
|
2656
2704
|
} | null | undefined;
|
|
2657
2705
|
} | null | undefined;
|
|
2706
|
+
company?: {
|
|
2707
|
+
id: string;
|
|
2708
|
+
name: string;
|
|
2709
|
+
createdAt: string;
|
|
2710
|
+
updatedAt: string;
|
|
2711
|
+
} | null | undefined;
|
|
2658
2712
|
user?: {
|
|
2659
2713
|
id: string;
|
|
2660
2714
|
firstName: string;
|
|
@@ -2670,26 +2724,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2670
2724
|
}, {
|
|
2671
2725
|
limit: number;
|
|
2672
2726
|
items: {
|
|
2727
|
+
id: string;
|
|
2728
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2673
2729
|
createdAt: string | Date;
|
|
2674
2730
|
updatedAt: string | Date;
|
|
2675
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2676
|
-
id: string;
|
|
2677
2731
|
userId: string;
|
|
2678
|
-
company?: {
|
|
2679
|
-
createdAt: string | Date;
|
|
2680
|
-
updatedAt: string | Date;
|
|
2681
|
-
id: string;
|
|
2682
|
-
name: string;
|
|
2683
|
-
} | null | undefined;
|
|
2684
2732
|
client?: {
|
|
2685
|
-
createdAt: string | Date;
|
|
2686
|
-
updatedAt: string | Date;
|
|
2687
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2688
2733
|
id: string;
|
|
2734
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2689
2735
|
name: string;
|
|
2690
|
-
crn: string;
|
|
2736
|
+
crn: string | null;
|
|
2691
2737
|
govLink: string;
|
|
2738
|
+
soleTrader: boolean;
|
|
2692
2739
|
director: string;
|
|
2740
|
+
createdAt: string | Date;
|
|
2741
|
+
updatedAt: string | Date;
|
|
2693
2742
|
blacklistReason?: string | null | undefined;
|
|
2694
2743
|
lastUpdatedBy?: {
|
|
2695
2744
|
id: string;
|
|
@@ -2701,6 +2750,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2701
2750
|
agentId: string;
|
|
2702
2751
|
} | null | undefined;
|
|
2703
2752
|
} | null | undefined;
|
|
2753
|
+
company?: {
|
|
2754
|
+
id: string;
|
|
2755
|
+
name: string;
|
|
2756
|
+
createdAt: string | Date;
|
|
2757
|
+
updatedAt: string | Date;
|
|
2758
|
+
} | null | undefined;
|
|
2704
2759
|
user?: {
|
|
2705
2760
|
id: string;
|
|
2706
2761
|
firstName: string;
|
|
@@ -2708,26 +2763,21 @@ export declare const collaborationsContractRouter: {
|
|
|
2708
2763
|
email: string;
|
|
2709
2764
|
} | null | undefined;
|
|
2710
2765
|
newCollaboration?: {
|
|
2766
|
+
id: string;
|
|
2767
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2711
2768
|
createdAt: string | Date;
|
|
2712
2769
|
updatedAt: string | Date;
|
|
2713
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2714
|
-
id: string;
|
|
2715
2770
|
userId: string;
|
|
2716
|
-
company?: {
|
|
2717
|
-
createdAt: string | Date;
|
|
2718
|
-
updatedAt: string | Date;
|
|
2719
|
-
id: string;
|
|
2720
|
-
name: string;
|
|
2721
|
-
} | null | undefined;
|
|
2722
2771
|
client?: {
|
|
2723
|
-
createdAt: string | Date;
|
|
2724
|
-
updatedAt: string | Date;
|
|
2725
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2726
2772
|
id: string;
|
|
2773
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
2727
2774
|
name: string;
|
|
2728
|
-
crn: string;
|
|
2775
|
+
crn: string | null;
|
|
2729
2776
|
govLink: string;
|
|
2777
|
+
soleTrader: boolean;
|
|
2730
2778
|
director: string;
|
|
2779
|
+
createdAt: string | Date;
|
|
2780
|
+
updatedAt: string | Date;
|
|
2731
2781
|
blacklistReason?: string | null | undefined;
|
|
2732
2782
|
lastUpdatedBy?: {
|
|
2733
2783
|
id: string;
|
|
@@ -2739,6 +2789,12 @@ export declare const collaborationsContractRouter: {
|
|
|
2739
2789
|
agentId: string;
|
|
2740
2790
|
} | null | undefined;
|
|
2741
2791
|
} | null | undefined;
|
|
2792
|
+
company?: {
|
|
2793
|
+
id: string;
|
|
2794
|
+
name: string;
|
|
2795
|
+
createdAt: string | Date;
|
|
2796
|
+
updatedAt: string | Date;
|
|
2797
|
+
} | null | undefined;
|
|
2742
2798
|
user?: {
|
|
2743
2799
|
id: string;
|
|
2744
2800
|
firstName: string;
|
|
@@ -2903,10 +2959,10 @@ export declare const collaborationsContractRouter: {
|
|
|
2903
2959
|
}>;
|
|
2904
2960
|
}, "strip", z.ZodTypeAny, {
|
|
2905
2961
|
id: string;
|
|
2906
|
-
|
|
2962
|
+
client: {
|
|
2907
2963
|
name: string;
|
|
2908
2964
|
};
|
|
2909
|
-
|
|
2965
|
+
company: {
|
|
2910
2966
|
name: string;
|
|
2911
2967
|
};
|
|
2912
2968
|
user: {
|
|
@@ -2915,10 +2971,10 @@ export declare const collaborationsContractRouter: {
|
|
|
2915
2971
|
};
|
|
2916
2972
|
}, {
|
|
2917
2973
|
id: string;
|
|
2918
|
-
|
|
2974
|
+
client: {
|
|
2919
2975
|
name: string;
|
|
2920
2976
|
};
|
|
2921
|
-
|
|
2977
|
+
company: {
|
|
2922
2978
|
name: string;
|
|
2923
2979
|
};
|
|
2924
2980
|
user: {
|
|
@@ -3054,21 +3110,22 @@ export declare const collaborationsContractRouter: {
|
|
|
3054
3110
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3055
3111
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3056
3112
|
}, "strip", z.ZodTypeAny, {
|
|
3113
|
+
id: string;
|
|
3114
|
+
name: string;
|
|
3057
3115
|
createdAt: string;
|
|
3058
3116
|
updatedAt: string;
|
|
3117
|
+
}, {
|
|
3059
3118
|
id: string;
|
|
3060
3119
|
name: string;
|
|
3061
|
-
}, {
|
|
3062
3120
|
createdAt: string | Date;
|
|
3063
3121
|
updatedAt: string | Date;
|
|
3064
|
-
id: string;
|
|
3065
|
-
name: string;
|
|
3066
3122
|
}>>>;
|
|
3067
3123
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3068
3124
|
id: z.ZodString;
|
|
3069
3125
|
name: z.ZodString;
|
|
3070
|
-
crn: z.ZodString
|
|
3126
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3071
3127
|
govLink: z.ZodString;
|
|
3128
|
+
soleTrader: z.ZodBoolean;
|
|
3072
3129
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3073
3130
|
director: z.ZodString;
|
|
3074
3131
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3098,14 +3155,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3098
3155
|
agentId: string;
|
|
3099
3156
|
}>>>;
|
|
3100
3157
|
}, "strip", z.ZodTypeAny, {
|
|
3101
|
-
createdAt: string;
|
|
3102
|
-
updatedAt: string;
|
|
3103
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3104
3158
|
id: string;
|
|
3159
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3105
3160
|
name: string;
|
|
3106
|
-
crn: string;
|
|
3161
|
+
crn: string | null;
|
|
3107
3162
|
govLink: string;
|
|
3163
|
+
soleTrader: boolean;
|
|
3108
3164
|
director: string;
|
|
3165
|
+
createdAt: string;
|
|
3166
|
+
updatedAt: string;
|
|
3109
3167
|
blacklistReason?: string | null | undefined;
|
|
3110
3168
|
lastUpdatedBy?: {
|
|
3111
3169
|
id: string;
|
|
@@ -3117,14 +3175,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3117
3175
|
agentId: string;
|
|
3118
3176
|
} | null | undefined;
|
|
3119
3177
|
}, {
|
|
3120
|
-
createdAt: string | Date;
|
|
3121
|
-
updatedAt: string | Date;
|
|
3122
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3123
3178
|
id: string;
|
|
3179
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3124
3180
|
name: string;
|
|
3125
|
-
crn: string;
|
|
3181
|
+
crn: string | null;
|
|
3126
3182
|
govLink: string;
|
|
3183
|
+
soleTrader: boolean;
|
|
3127
3184
|
director: string;
|
|
3185
|
+
createdAt: string | Date;
|
|
3186
|
+
updatedAt: string | Date;
|
|
3128
3187
|
blacklistReason?: string | null | undefined;
|
|
3129
3188
|
lastUpdatedBy?: {
|
|
3130
3189
|
id: string;
|
|
@@ -3165,21 +3224,22 @@ export declare const collaborationsContractRouter: {
|
|
|
3165
3224
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3166
3225
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3167
3226
|
}, "strip", z.ZodTypeAny, {
|
|
3227
|
+
id: string;
|
|
3228
|
+
name: string;
|
|
3168
3229
|
createdAt: string;
|
|
3169
3230
|
updatedAt: string;
|
|
3231
|
+
}, {
|
|
3170
3232
|
id: string;
|
|
3171
3233
|
name: string;
|
|
3172
|
-
}, {
|
|
3173
3234
|
createdAt: string | Date;
|
|
3174
3235
|
updatedAt: string | Date;
|
|
3175
|
-
id: string;
|
|
3176
|
-
name: string;
|
|
3177
3236
|
}>>>;
|
|
3178
3237
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3179
3238
|
id: z.ZodString;
|
|
3180
3239
|
name: z.ZodString;
|
|
3181
|
-
crn: z.ZodString
|
|
3240
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3182
3241
|
govLink: z.ZodString;
|
|
3242
|
+
soleTrader: z.ZodBoolean;
|
|
3183
3243
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3184
3244
|
director: z.ZodString;
|
|
3185
3245
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3209,14 +3269,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3209
3269
|
agentId: string;
|
|
3210
3270
|
}>>>;
|
|
3211
3271
|
}, "strip", z.ZodTypeAny, {
|
|
3212
|
-
createdAt: string;
|
|
3213
|
-
updatedAt: string;
|
|
3214
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3215
3272
|
id: string;
|
|
3273
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3216
3274
|
name: string;
|
|
3217
|
-
crn: string;
|
|
3275
|
+
crn: string | null;
|
|
3218
3276
|
govLink: string;
|
|
3277
|
+
soleTrader: boolean;
|
|
3219
3278
|
director: string;
|
|
3279
|
+
createdAt: string;
|
|
3280
|
+
updatedAt: string;
|
|
3220
3281
|
blacklistReason?: string | null | undefined;
|
|
3221
3282
|
lastUpdatedBy?: {
|
|
3222
3283
|
id: string;
|
|
@@ -3228,14 +3289,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3228
3289
|
agentId: string;
|
|
3229
3290
|
} | null | undefined;
|
|
3230
3291
|
}, {
|
|
3231
|
-
createdAt: string | Date;
|
|
3232
|
-
updatedAt: string | Date;
|
|
3233
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3234
3292
|
id: string;
|
|
3293
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3235
3294
|
name: string;
|
|
3236
|
-
crn: string;
|
|
3295
|
+
crn: string | null;
|
|
3237
3296
|
govLink: string;
|
|
3297
|
+
soleTrader: boolean;
|
|
3238
3298
|
director: string;
|
|
3299
|
+
createdAt: string | Date;
|
|
3300
|
+
updatedAt: string | Date;
|
|
3239
3301
|
blacklistReason?: string | null | undefined;
|
|
3240
3302
|
lastUpdatedBy?: {
|
|
3241
3303
|
id: string;
|
|
@@ -3268,26 +3330,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3268
3330
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3269
3331
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3270
3332
|
}, "strip", z.ZodTypeAny, {
|
|
3333
|
+
id: string;
|
|
3334
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3271
3335
|
createdAt: string;
|
|
3272
3336
|
updatedAt: string;
|
|
3273
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3274
|
-
id: string;
|
|
3275
3337
|
userId: string;
|
|
3276
|
-
company?: {
|
|
3277
|
-
createdAt: string;
|
|
3278
|
-
updatedAt: string;
|
|
3279
|
-
id: string;
|
|
3280
|
-
name: string;
|
|
3281
|
-
} | null | undefined;
|
|
3282
3338
|
client?: {
|
|
3283
|
-
createdAt: string;
|
|
3284
|
-
updatedAt: string;
|
|
3285
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3286
3339
|
id: string;
|
|
3340
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3287
3341
|
name: string;
|
|
3288
|
-
crn: string;
|
|
3342
|
+
crn: string | null;
|
|
3289
3343
|
govLink: string;
|
|
3344
|
+
soleTrader: boolean;
|
|
3290
3345
|
director: string;
|
|
3346
|
+
createdAt: string;
|
|
3347
|
+
updatedAt: string;
|
|
3291
3348
|
blacklistReason?: string | null | undefined;
|
|
3292
3349
|
lastUpdatedBy?: {
|
|
3293
3350
|
id: string;
|
|
@@ -3299,6 +3356,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3299
3356
|
agentId: string;
|
|
3300
3357
|
} | null | undefined;
|
|
3301
3358
|
} | null | undefined;
|
|
3359
|
+
company?: {
|
|
3360
|
+
id: string;
|
|
3361
|
+
name: string;
|
|
3362
|
+
createdAt: string;
|
|
3363
|
+
updatedAt: string;
|
|
3364
|
+
} | null | undefined;
|
|
3302
3365
|
user?: {
|
|
3303
3366
|
id: string;
|
|
3304
3367
|
firstName: string;
|
|
@@ -3306,26 +3369,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3306
3369
|
email: string;
|
|
3307
3370
|
} | null | undefined;
|
|
3308
3371
|
}, {
|
|
3372
|
+
id: string;
|
|
3373
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3309
3374
|
createdAt: string | Date;
|
|
3310
3375
|
updatedAt: string | Date;
|
|
3311
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3312
|
-
id: string;
|
|
3313
3376
|
userId: string;
|
|
3314
|
-
company?: {
|
|
3315
|
-
createdAt: string | Date;
|
|
3316
|
-
updatedAt: string | Date;
|
|
3317
|
-
id: string;
|
|
3318
|
-
name: string;
|
|
3319
|
-
} | null | undefined;
|
|
3320
3377
|
client?: {
|
|
3321
|
-
createdAt: string | Date;
|
|
3322
|
-
updatedAt: string | Date;
|
|
3323
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3324
3378
|
id: string;
|
|
3379
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3325
3380
|
name: string;
|
|
3326
|
-
crn: string;
|
|
3381
|
+
crn: string | null;
|
|
3327
3382
|
govLink: string;
|
|
3383
|
+
soleTrader: boolean;
|
|
3328
3384
|
director: string;
|
|
3385
|
+
createdAt: string | Date;
|
|
3386
|
+
updatedAt: string | Date;
|
|
3329
3387
|
blacklistReason?: string | null | undefined;
|
|
3330
3388
|
lastUpdatedBy?: {
|
|
3331
3389
|
id: string;
|
|
@@ -3337,6 +3395,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3337
3395
|
agentId: string;
|
|
3338
3396
|
} | null | undefined;
|
|
3339
3397
|
} | null | undefined;
|
|
3398
|
+
company?: {
|
|
3399
|
+
id: string;
|
|
3400
|
+
name: string;
|
|
3401
|
+
createdAt: string | Date;
|
|
3402
|
+
updatedAt: string | Date;
|
|
3403
|
+
} | null | undefined;
|
|
3340
3404
|
user?: {
|
|
3341
3405
|
id: string;
|
|
3342
3406
|
firstName: string;
|
|
@@ -3345,26 +3409,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3345
3409
|
} | null | undefined;
|
|
3346
3410
|
}>>>;
|
|
3347
3411
|
}, "strip", z.ZodTypeAny, {
|
|
3412
|
+
id: string;
|
|
3413
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3348
3414
|
createdAt: string;
|
|
3349
3415
|
updatedAt: string;
|
|
3350
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3351
|
-
id: string;
|
|
3352
3416
|
userId: string;
|
|
3353
|
-
company?: {
|
|
3354
|
-
createdAt: string;
|
|
3355
|
-
updatedAt: string;
|
|
3356
|
-
id: string;
|
|
3357
|
-
name: string;
|
|
3358
|
-
} | null | undefined;
|
|
3359
3417
|
client?: {
|
|
3360
|
-
createdAt: string;
|
|
3361
|
-
updatedAt: string;
|
|
3362
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3363
3418
|
id: string;
|
|
3419
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3364
3420
|
name: string;
|
|
3365
|
-
crn: string;
|
|
3421
|
+
crn: string | null;
|
|
3366
3422
|
govLink: string;
|
|
3423
|
+
soleTrader: boolean;
|
|
3367
3424
|
director: string;
|
|
3425
|
+
createdAt: string;
|
|
3426
|
+
updatedAt: string;
|
|
3368
3427
|
blacklistReason?: string | null | undefined;
|
|
3369
3428
|
lastUpdatedBy?: {
|
|
3370
3429
|
id: string;
|
|
@@ -3376,6 +3435,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3376
3435
|
agentId: string;
|
|
3377
3436
|
} | null | undefined;
|
|
3378
3437
|
} | null | undefined;
|
|
3438
|
+
company?: {
|
|
3439
|
+
id: string;
|
|
3440
|
+
name: string;
|
|
3441
|
+
createdAt: string;
|
|
3442
|
+
updatedAt: string;
|
|
3443
|
+
} | null | undefined;
|
|
3379
3444
|
user?: {
|
|
3380
3445
|
id: string;
|
|
3381
3446
|
firstName: string;
|
|
@@ -3383,26 +3448,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3383
3448
|
email: string;
|
|
3384
3449
|
} | null | undefined;
|
|
3385
3450
|
newCollaboration?: {
|
|
3451
|
+
id: string;
|
|
3452
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3386
3453
|
createdAt: string;
|
|
3387
3454
|
updatedAt: string;
|
|
3388
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3389
|
-
id: string;
|
|
3390
3455
|
userId: string;
|
|
3391
|
-
company?: {
|
|
3392
|
-
createdAt: string;
|
|
3393
|
-
updatedAt: string;
|
|
3394
|
-
id: string;
|
|
3395
|
-
name: string;
|
|
3396
|
-
} | null | undefined;
|
|
3397
3456
|
client?: {
|
|
3398
|
-
createdAt: string;
|
|
3399
|
-
updatedAt: string;
|
|
3400
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3401
3457
|
id: string;
|
|
3458
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3402
3459
|
name: string;
|
|
3403
|
-
crn: string;
|
|
3460
|
+
crn: string | null;
|
|
3404
3461
|
govLink: string;
|
|
3462
|
+
soleTrader: boolean;
|
|
3405
3463
|
director: string;
|
|
3464
|
+
createdAt: string;
|
|
3465
|
+
updatedAt: string;
|
|
3406
3466
|
blacklistReason?: string | null | undefined;
|
|
3407
3467
|
lastUpdatedBy?: {
|
|
3408
3468
|
id: string;
|
|
@@ -3414,6 +3474,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3414
3474
|
agentId: string;
|
|
3415
3475
|
} | null | undefined;
|
|
3416
3476
|
} | null | undefined;
|
|
3477
|
+
company?: {
|
|
3478
|
+
id: string;
|
|
3479
|
+
name: string;
|
|
3480
|
+
createdAt: string;
|
|
3481
|
+
updatedAt: string;
|
|
3482
|
+
} | null | undefined;
|
|
3417
3483
|
user?: {
|
|
3418
3484
|
id: string;
|
|
3419
3485
|
firstName: string;
|
|
@@ -3422,26 +3488,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3422
3488
|
} | null | undefined;
|
|
3423
3489
|
} | null | undefined;
|
|
3424
3490
|
}, {
|
|
3491
|
+
id: string;
|
|
3492
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3425
3493
|
createdAt: string | Date;
|
|
3426
3494
|
updatedAt: string | Date;
|
|
3427
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3428
|
-
id: string;
|
|
3429
3495
|
userId: string;
|
|
3430
|
-
company?: {
|
|
3431
|
-
createdAt: string | Date;
|
|
3432
|
-
updatedAt: string | Date;
|
|
3433
|
-
id: string;
|
|
3434
|
-
name: string;
|
|
3435
|
-
} | null | undefined;
|
|
3436
3496
|
client?: {
|
|
3437
|
-
createdAt: string | Date;
|
|
3438
|
-
updatedAt: string | Date;
|
|
3439
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3440
3497
|
id: string;
|
|
3498
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3441
3499
|
name: string;
|
|
3442
|
-
crn: string;
|
|
3500
|
+
crn: string | null;
|
|
3443
3501
|
govLink: string;
|
|
3502
|
+
soleTrader: boolean;
|
|
3444
3503
|
director: string;
|
|
3504
|
+
createdAt: string | Date;
|
|
3505
|
+
updatedAt: string | Date;
|
|
3445
3506
|
blacklistReason?: string | null | undefined;
|
|
3446
3507
|
lastUpdatedBy?: {
|
|
3447
3508
|
id: string;
|
|
@@ -3453,6 +3514,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3453
3514
|
agentId: string;
|
|
3454
3515
|
} | null | undefined;
|
|
3455
3516
|
} | null | undefined;
|
|
3517
|
+
company?: {
|
|
3518
|
+
id: string;
|
|
3519
|
+
name: string;
|
|
3520
|
+
createdAt: string | Date;
|
|
3521
|
+
updatedAt: string | Date;
|
|
3522
|
+
} | null | undefined;
|
|
3456
3523
|
user?: {
|
|
3457
3524
|
id: string;
|
|
3458
3525
|
firstName: string;
|
|
@@ -3460,26 +3527,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3460
3527
|
email: string;
|
|
3461
3528
|
} | null | undefined;
|
|
3462
3529
|
newCollaboration?: {
|
|
3530
|
+
id: string;
|
|
3531
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3463
3532
|
createdAt: string | Date;
|
|
3464
3533
|
updatedAt: string | Date;
|
|
3465
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3466
|
-
id: string;
|
|
3467
3534
|
userId: string;
|
|
3468
|
-
company?: {
|
|
3469
|
-
createdAt: string | Date;
|
|
3470
|
-
updatedAt: string | Date;
|
|
3471
|
-
id: string;
|
|
3472
|
-
name: string;
|
|
3473
|
-
} | null | undefined;
|
|
3474
3535
|
client?: {
|
|
3475
|
-
createdAt: string | Date;
|
|
3476
|
-
updatedAt: string | Date;
|
|
3477
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3478
3536
|
id: string;
|
|
3537
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3479
3538
|
name: string;
|
|
3480
|
-
crn: string;
|
|
3539
|
+
crn: string | null;
|
|
3481
3540
|
govLink: string;
|
|
3541
|
+
soleTrader: boolean;
|
|
3482
3542
|
director: string;
|
|
3543
|
+
createdAt: string | Date;
|
|
3544
|
+
updatedAt: string | Date;
|
|
3483
3545
|
blacklistReason?: string | null | undefined;
|
|
3484
3546
|
lastUpdatedBy?: {
|
|
3485
3547
|
id: string;
|
|
@@ -3491,6 +3553,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3491
3553
|
agentId: string;
|
|
3492
3554
|
} | null | undefined;
|
|
3493
3555
|
} | null | undefined;
|
|
3556
|
+
company?: {
|
|
3557
|
+
id: string;
|
|
3558
|
+
name: string;
|
|
3559
|
+
createdAt: string | Date;
|
|
3560
|
+
updatedAt: string | Date;
|
|
3561
|
+
} | null | undefined;
|
|
3494
3562
|
user?: {
|
|
3495
3563
|
id: string;
|
|
3496
3564
|
firstName: string;
|
|
@@ -3545,9 +3613,9 @@ export declare const collaborationsContractRouter: {
|
|
|
3545
3613
|
body: z.ZodObject<{
|
|
3546
3614
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
3547
3615
|
}, "strip", z.ZodTypeAny, {
|
|
3548
|
-
status?: "
|
|
3616
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
3549
3617
|
}, {
|
|
3550
|
-
status?: "
|
|
3618
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
3551
3619
|
}>;
|
|
3552
3620
|
path: "/v2/collaborations/:id";
|
|
3553
3621
|
responses: {
|
|
@@ -3659,21 +3727,22 @@ export declare const collaborationsContractRouter: {
|
|
|
3659
3727
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3660
3728
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3661
3729
|
}, "strip", z.ZodTypeAny, {
|
|
3730
|
+
id: string;
|
|
3731
|
+
name: string;
|
|
3662
3732
|
createdAt: string;
|
|
3663
3733
|
updatedAt: string;
|
|
3734
|
+
}, {
|
|
3664
3735
|
id: string;
|
|
3665
3736
|
name: string;
|
|
3666
|
-
}, {
|
|
3667
3737
|
createdAt: string | Date;
|
|
3668
3738
|
updatedAt: string | Date;
|
|
3669
|
-
id: string;
|
|
3670
|
-
name: string;
|
|
3671
3739
|
}>>>;
|
|
3672
3740
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3673
3741
|
id: z.ZodString;
|
|
3674
3742
|
name: z.ZodString;
|
|
3675
|
-
crn: z.ZodString
|
|
3743
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3676
3744
|
govLink: z.ZodString;
|
|
3745
|
+
soleTrader: z.ZodBoolean;
|
|
3677
3746
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3678
3747
|
director: z.ZodString;
|
|
3679
3748
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3703,14 +3772,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3703
3772
|
agentId: string;
|
|
3704
3773
|
}>>>;
|
|
3705
3774
|
}, "strip", z.ZodTypeAny, {
|
|
3706
|
-
createdAt: string;
|
|
3707
|
-
updatedAt: string;
|
|
3708
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3709
3775
|
id: string;
|
|
3776
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3710
3777
|
name: string;
|
|
3711
|
-
crn: string;
|
|
3778
|
+
crn: string | null;
|
|
3712
3779
|
govLink: string;
|
|
3780
|
+
soleTrader: boolean;
|
|
3713
3781
|
director: string;
|
|
3782
|
+
createdAt: string;
|
|
3783
|
+
updatedAt: string;
|
|
3714
3784
|
blacklistReason?: string | null | undefined;
|
|
3715
3785
|
lastUpdatedBy?: {
|
|
3716
3786
|
id: string;
|
|
@@ -3722,14 +3792,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3722
3792
|
agentId: string;
|
|
3723
3793
|
} | null | undefined;
|
|
3724
3794
|
}, {
|
|
3725
|
-
createdAt: string | Date;
|
|
3726
|
-
updatedAt: string | Date;
|
|
3727
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3728
3795
|
id: string;
|
|
3796
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3729
3797
|
name: string;
|
|
3730
|
-
crn: string;
|
|
3798
|
+
crn: string | null;
|
|
3731
3799
|
govLink: string;
|
|
3800
|
+
soleTrader: boolean;
|
|
3732
3801
|
director: string;
|
|
3802
|
+
createdAt: string | Date;
|
|
3803
|
+
updatedAt: string | Date;
|
|
3733
3804
|
blacklistReason?: string | null | undefined;
|
|
3734
3805
|
lastUpdatedBy?: {
|
|
3735
3806
|
id: string;
|
|
@@ -3770,21 +3841,22 @@ export declare const collaborationsContractRouter: {
|
|
|
3770
3841
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3771
3842
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3772
3843
|
}, "strip", z.ZodTypeAny, {
|
|
3844
|
+
id: string;
|
|
3845
|
+
name: string;
|
|
3773
3846
|
createdAt: string;
|
|
3774
3847
|
updatedAt: string;
|
|
3848
|
+
}, {
|
|
3775
3849
|
id: string;
|
|
3776
3850
|
name: string;
|
|
3777
|
-
}, {
|
|
3778
3851
|
createdAt: string | Date;
|
|
3779
3852
|
updatedAt: string | Date;
|
|
3780
|
-
id: string;
|
|
3781
|
-
name: string;
|
|
3782
3853
|
}>>>;
|
|
3783
3854
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3784
3855
|
id: z.ZodString;
|
|
3785
3856
|
name: z.ZodString;
|
|
3786
|
-
crn: z.ZodString
|
|
3857
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
3787
3858
|
govLink: z.ZodString;
|
|
3859
|
+
soleTrader: z.ZodBoolean;
|
|
3788
3860
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
3789
3861
|
director: z.ZodString;
|
|
3790
3862
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3814,14 +3886,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3814
3886
|
agentId: string;
|
|
3815
3887
|
}>>>;
|
|
3816
3888
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
-
createdAt: string;
|
|
3818
|
-
updatedAt: string;
|
|
3819
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3820
3889
|
id: string;
|
|
3890
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3821
3891
|
name: string;
|
|
3822
|
-
crn: string;
|
|
3892
|
+
crn: string | null;
|
|
3823
3893
|
govLink: string;
|
|
3894
|
+
soleTrader: boolean;
|
|
3824
3895
|
director: string;
|
|
3896
|
+
createdAt: string;
|
|
3897
|
+
updatedAt: string;
|
|
3825
3898
|
blacklistReason?: string | null | undefined;
|
|
3826
3899
|
lastUpdatedBy?: {
|
|
3827
3900
|
id: string;
|
|
@@ -3833,14 +3906,15 @@ export declare const collaborationsContractRouter: {
|
|
|
3833
3906
|
agentId: string;
|
|
3834
3907
|
} | null | undefined;
|
|
3835
3908
|
}, {
|
|
3836
|
-
createdAt: string | Date;
|
|
3837
|
-
updatedAt: string | Date;
|
|
3838
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3839
3909
|
id: string;
|
|
3910
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3840
3911
|
name: string;
|
|
3841
|
-
crn: string;
|
|
3912
|
+
crn: string | null;
|
|
3842
3913
|
govLink: string;
|
|
3914
|
+
soleTrader: boolean;
|
|
3843
3915
|
director: string;
|
|
3916
|
+
createdAt: string | Date;
|
|
3917
|
+
updatedAt: string | Date;
|
|
3844
3918
|
blacklistReason?: string | null | undefined;
|
|
3845
3919
|
lastUpdatedBy?: {
|
|
3846
3920
|
id: string;
|
|
@@ -3873,26 +3947,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3873
3947
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3874
3948
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3875
3949
|
}, "strip", z.ZodTypeAny, {
|
|
3950
|
+
id: string;
|
|
3951
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3876
3952
|
createdAt: string;
|
|
3877
3953
|
updatedAt: string;
|
|
3878
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3879
|
-
id: string;
|
|
3880
3954
|
userId: string;
|
|
3881
|
-
company?: {
|
|
3882
|
-
createdAt: string;
|
|
3883
|
-
updatedAt: string;
|
|
3884
|
-
id: string;
|
|
3885
|
-
name: string;
|
|
3886
|
-
} | null | undefined;
|
|
3887
3955
|
client?: {
|
|
3888
|
-
createdAt: string;
|
|
3889
|
-
updatedAt: string;
|
|
3890
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3891
3956
|
id: string;
|
|
3957
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3892
3958
|
name: string;
|
|
3893
|
-
crn: string;
|
|
3959
|
+
crn: string | null;
|
|
3894
3960
|
govLink: string;
|
|
3961
|
+
soleTrader: boolean;
|
|
3895
3962
|
director: string;
|
|
3963
|
+
createdAt: string;
|
|
3964
|
+
updatedAt: string;
|
|
3896
3965
|
blacklistReason?: string | null | undefined;
|
|
3897
3966
|
lastUpdatedBy?: {
|
|
3898
3967
|
id: string;
|
|
@@ -3904,6 +3973,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3904
3973
|
agentId: string;
|
|
3905
3974
|
} | null | undefined;
|
|
3906
3975
|
} | null | undefined;
|
|
3976
|
+
company?: {
|
|
3977
|
+
id: string;
|
|
3978
|
+
name: string;
|
|
3979
|
+
createdAt: string;
|
|
3980
|
+
updatedAt: string;
|
|
3981
|
+
} | null | undefined;
|
|
3907
3982
|
user?: {
|
|
3908
3983
|
id: string;
|
|
3909
3984
|
firstName: string;
|
|
@@ -3911,26 +3986,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3911
3986
|
email: string;
|
|
3912
3987
|
} | null | undefined;
|
|
3913
3988
|
}, {
|
|
3989
|
+
id: string;
|
|
3990
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3914
3991
|
createdAt: string | Date;
|
|
3915
3992
|
updatedAt: string | Date;
|
|
3916
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3917
|
-
id: string;
|
|
3918
3993
|
userId: string;
|
|
3919
|
-
company?: {
|
|
3920
|
-
createdAt: string | Date;
|
|
3921
|
-
updatedAt: string | Date;
|
|
3922
|
-
id: string;
|
|
3923
|
-
name: string;
|
|
3924
|
-
} | null | undefined;
|
|
3925
3994
|
client?: {
|
|
3926
|
-
createdAt: string | Date;
|
|
3927
|
-
updatedAt: string | Date;
|
|
3928
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3929
3995
|
id: string;
|
|
3996
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3930
3997
|
name: string;
|
|
3931
|
-
crn: string;
|
|
3998
|
+
crn: string | null;
|
|
3932
3999
|
govLink: string;
|
|
4000
|
+
soleTrader: boolean;
|
|
3933
4001
|
director: string;
|
|
4002
|
+
createdAt: string | Date;
|
|
4003
|
+
updatedAt: string | Date;
|
|
3934
4004
|
blacklistReason?: string | null | undefined;
|
|
3935
4005
|
lastUpdatedBy?: {
|
|
3936
4006
|
id: string;
|
|
@@ -3942,6 +4012,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3942
4012
|
agentId: string;
|
|
3943
4013
|
} | null | undefined;
|
|
3944
4014
|
} | null | undefined;
|
|
4015
|
+
company?: {
|
|
4016
|
+
id: string;
|
|
4017
|
+
name: string;
|
|
4018
|
+
createdAt: string | Date;
|
|
4019
|
+
updatedAt: string | Date;
|
|
4020
|
+
} | null | undefined;
|
|
3945
4021
|
user?: {
|
|
3946
4022
|
id: string;
|
|
3947
4023
|
firstName: string;
|
|
@@ -3950,26 +4026,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3950
4026
|
} | null | undefined;
|
|
3951
4027
|
}>>>;
|
|
3952
4028
|
}, "strip", z.ZodTypeAny, {
|
|
4029
|
+
id: string;
|
|
4030
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3953
4031
|
createdAt: string;
|
|
3954
4032
|
updatedAt: string;
|
|
3955
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3956
|
-
id: string;
|
|
3957
4033
|
userId: string;
|
|
3958
|
-
company?: {
|
|
3959
|
-
createdAt: string;
|
|
3960
|
-
updatedAt: string;
|
|
3961
|
-
id: string;
|
|
3962
|
-
name: string;
|
|
3963
|
-
} | null | undefined;
|
|
3964
4034
|
client?: {
|
|
3965
|
-
createdAt: string;
|
|
3966
|
-
updatedAt: string;
|
|
3967
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3968
4035
|
id: string;
|
|
4036
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
3969
4037
|
name: string;
|
|
3970
|
-
crn: string;
|
|
4038
|
+
crn: string | null;
|
|
3971
4039
|
govLink: string;
|
|
4040
|
+
soleTrader: boolean;
|
|
3972
4041
|
director: string;
|
|
4042
|
+
createdAt: string;
|
|
4043
|
+
updatedAt: string;
|
|
3973
4044
|
blacklistReason?: string | null | undefined;
|
|
3974
4045
|
lastUpdatedBy?: {
|
|
3975
4046
|
id: string;
|
|
@@ -3981,6 +4052,12 @@ export declare const collaborationsContractRouter: {
|
|
|
3981
4052
|
agentId: string;
|
|
3982
4053
|
} | null | undefined;
|
|
3983
4054
|
} | null | undefined;
|
|
4055
|
+
company?: {
|
|
4056
|
+
id: string;
|
|
4057
|
+
name: string;
|
|
4058
|
+
createdAt: string;
|
|
4059
|
+
updatedAt: string;
|
|
4060
|
+
} | null | undefined;
|
|
3984
4061
|
user?: {
|
|
3985
4062
|
id: string;
|
|
3986
4063
|
firstName: string;
|
|
@@ -3988,26 +4065,21 @@ export declare const collaborationsContractRouter: {
|
|
|
3988
4065
|
email: string;
|
|
3989
4066
|
} | null | undefined;
|
|
3990
4067
|
newCollaboration?: {
|
|
4068
|
+
id: string;
|
|
4069
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3991
4070
|
createdAt: string;
|
|
3992
4071
|
updatedAt: string;
|
|
3993
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
3994
|
-
id: string;
|
|
3995
4072
|
userId: string;
|
|
3996
|
-
company?: {
|
|
3997
|
-
createdAt: string;
|
|
3998
|
-
updatedAt: string;
|
|
3999
|
-
id: string;
|
|
4000
|
-
name: string;
|
|
4001
|
-
} | null | undefined;
|
|
4002
4073
|
client?: {
|
|
4003
|
-
createdAt: string;
|
|
4004
|
-
updatedAt: string;
|
|
4005
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4006
4074
|
id: string;
|
|
4075
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4007
4076
|
name: string;
|
|
4008
|
-
crn: string;
|
|
4077
|
+
crn: string | null;
|
|
4009
4078
|
govLink: string;
|
|
4079
|
+
soleTrader: boolean;
|
|
4010
4080
|
director: string;
|
|
4081
|
+
createdAt: string;
|
|
4082
|
+
updatedAt: string;
|
|
4011
4083
|
blacklistReason?: string | null | undefined;
|
|
4012
4084
|
lastUpdatedBy?: {
|
|
4013
4085
|
id: string;
|
|
@@ -4019,6 +4091,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4019
4091
|
agentId: string;
|
|
4020
4092
|
} | null | undefined;
|
|
4021
4093
|
} | null | undefined;
|
|
4094
|
+
company?: {
|
|
4095
|
+
id: string;
|
|
4096
|
+
name: string;
|
|
4097
|
+
createdAt: string;
|
|
4098
|
+
updatedAt: string;
|
|
4099
|
+
} | null | undefined;
|
|
4022
4100
|
user?: {
|
|
4023
4101
|
id: string;
|
|
4024
4102
|
firstName: string;
|
|
@@ -4027,26 +4105,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4027
4105
|
} | null | undefined;
|
|
4028
4106
|
} | null | undefined;
|
|
4029
4107
|
}, {
|
|
4108
|
+
id: string;
|
|
4109
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4030
4110
|
createdAt: string | Date;
|
|
4031
4111
|
updatedAt: string | Date;
|
|
4032
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4033
|
-
id: string;
|
|
4034
4112
|
userId: string;
|
|
4035
|
-
company?: {
|
|
4036
|
-
createdAt: string | Date;
|
|
4037
|
-
updatedAt: string | Date;
|
|
4038
|
-
id: string;
|
|
4039
|
-
name: string;
|
|
4040
|
-
} | null | undefined;
|
|
4041
4113
|
client?: {
|
|
4042
|
-
createdAt: string | Date;
|
|
4043
|
-
updatedAt: string | Date;
|
|
4044
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4045
4114
|
id: string;
|
|
4115
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4046
4116
|
name: string;
|
|
4047
|
-
crn: string;
|
|
4117
|
+
crn: string | null;
|
|
4048
4118
|
govLink: string;
|
|
4119
|
+
soleTrader: boolean;
|
|
4049
4120
|
director: string;
|
|
4121
|
+
createdAt: string | Date;
|
|
4122
|
+
updatedAt: string | Date;
|
|
4050
4123
|
blacklistReason?: string | null | undefined;
|
|
4051
4124
|
lastUpdatedBy?: {
|
|
4052
4125
|
id: string;
|
|
@@ -4058,6 +4131,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4058
4131
|
agentId: string;
|
|
4059
4132
|
} | null | undefined;
|
|
4060
4133
|
} | null | undefined;
|
|
4134
|
+
company?: {
|
|
4135
|
+
id: string;
|
|
4136
|
+
name: string;
|
|
4137
|
+
createdAt: string | Date;
|
|
4138
|
+
updatedAt: string | Date;
|
|
4139
|
+
} | null | undefined;
|
|
4061
4140
|
user?: {
|
|
4062
4141
|
id: string;
|
|
4063
4142
|
firstName: string;
|
|
@@ -4065,26 +4144,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4065
4144
|
email: string;
|
|
4066
4145
|
} | null | undefined;
|
|
4067
4146
|
newCollaboration?: {
|
|
4147
|
+
id: string;
|
|
4148
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4068
4149
|
createdAt: string | Date;
|
|
4069
4150
|
updatedAt: string | Date;
|
|
4070
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4071
|
-
id: string;
|
|
4072
4151
|
userId: string;
|
|
4073
|
-
company?: {
|
|
4074
|
-
createdAt: string | Date;
|
|
4075
|
-
updatedAt: string | Date;
|
|
4076
|
-
id: string;
|
|
4077
|
-
name: string;
|
|
4078
|
-
} | null | undefined;
|
|
4079
4152
|
client?: {
|
|
4080
|
-
createdAt: string | Date;
|
|
4081
|
-
updatedAt: string | Date;
|
|
4082
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4083
4153
|
id: string;
|
|
4154
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4084
4155
|
name: string;
|
|
4085
|
-
crn: string;
|
|
4156
|
+
crn: string | null;
|
|
4086
4157
|
govLink: string;
|
|
4158
|
+
soleTrader: boolean;
|
|
4087
4159
|
director: string;
|
|
4160
|
+
createdAt: string | Date;
|
|
4161
|
+
updatedAt: string | Date;
|
|
4088
4162
|
blacklistReason?: string | null | undefined;
|
|
4089
4163
|
lastUpdatedBy?: {
|
|
4090
4164
|
id: string;
|
|
@@ -4096,6 +4170,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4096
4170
|
agentId: string;
|
|
4097
4171
|
} | null | undefined;
|
|
4098
4172
|
} | null | undefined;
|
|
4173
|
+
company?: {
|
|
4174
|
+
id: string;
|
|
4175
|
+
name: string;
|
|
4176
|
+
createdAt: string | Date;
|
|
4177
|
+
updatedAt: string | Date;
|
|
4178
|
+
} | null | undefined;
|
|
4099
4179
|
user?: {
|
|
4100
4180
|
id: string;
|
|
4101
4181
|
firstName: string;
|
|
@@ -4336,24 +4416,24 @@ export declare const collaborationsContractRouter: {
|
|
|
4336
4416
|
}>>;
|
|
4337
4417
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
4338
4418
|
}, "strip", z.ZodTypeAny, {
|
|
4339
|
-
|
|
4419
|
+
client: {
|
|
4340
4420
|
id: string;
|
|
4341
4421
|
};
|
|
4342
|
-
|
|
4422
|
+
company: {
|
|
4343
4423
|
id: string;
|
|
4344
4424
|
};
|
|
4345
|
-
status?: "
|
|
4425
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
4346
4426
|
user?: {
|
|
4347
4427
|
id: string;
|
|
4348
4428
|
} | undefined;
|
|
4349
4429
|
}, {
|
|
4350
|
-
|
|
4430
|
+
client: {
|
|
4351
4431
|
id: string;
|
|
4352
4432
|
};
|
|
4353
|
-
|
|
4433
|
+
company: {
|
|
4354
4434
|
id: string;
|
|
4355
4435
|
};
|
|
4356
|
-
status?: "
|
|
4436
|
+
status?: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
4357
4437
|
user?: {
|
|
4358
4438
|
id: string;
|
|
4359
4439
|
} | undefined;
|
|
@@ -4468,21 +4548,22 @@ export declare const collaborationsContractRouter: {
|
|
|
4468
4548
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4469
4549
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4470
4550
|
}, "strip", z.ZodTypeAny, {
|
|
4551
|
+
id: string;
|
|
4552
|
+
name: string;
|
|
4471
4553
|
createdAt: string;
|
|
4472
4554
|
updatedAt: string;
|
|
4555
|
+
}, {
|
|
4473
4556
|
id: string;
|
|
4474
4557
|
name: string;
|
|
4475
|
-
}, {
|
|
4476
4558
|
createdAt: string | Date;
|
|
4477
4559
|
updatedAt: string | Date;
|
|
4478
|
-
id: string;
|
|
4479
|
-
name: string;
|
|
4480
4560
|
}>>>;
|
|
4481
4561
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4482
4562
|
id: z.ZodString;
|
|
4483
4563
|
name: z.ZodString;
|
|
4484
|
-
crn: z.ZodString
|
|
4564
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4485
4565
|
govLink: z.ZodString;
|
|
4566
|
+
soleTrader: z.ZodBoolean;
|
|
4486
4567
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4487
4568
|
director: z.ZodString;
|
|
4488
4569
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4512,14 +4593,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4512
4593
|
agentId: string;
|
|
4513
4594
|
}>>>;
|
|
4514
4595
|
}, "strip", z.ZodTypeAny, {
|
|
4515
|
-
createdAt: string;
|
|
4516
|
-
updatedAt: string;
|
|
4517
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4518
4596
|
id: string;
|
|
4597
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4519
4598
|
name: string;
|
|
4520
|
-
crn: string;
|
|
4599
|
+
crn: string | null;
|
|
4521
4600
|
govLink: string;
|
|
4601
|
+
soleTrader: boolean;
|
|
4522
4602
|
director: string;
|
|
4603
|
+
createdAt: string;
|
|
4604
|
+
updatedAt: string;
|
|
4523
4605
|
blacklistReason?: string | null | undefined;
|
|
4524
4606
|
lastUpdatedBy?: {
|
|
4525
4607
|
id: string;
|
|
@@ -4531,14 +4613,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4531
4613
|
agentId: string;
|
|
4532
4614
|
} | null | undefined;
|
|
4533
4615
|
}, {
|
|
4534
|
-
createdAt: string | Date;
|
|
4535
|
-
updatedAt: string | Date;
|
|
4536
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4537
4616
|
id: string;
|
|
4617
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4538
4618
|
name: string;
|
|
4539
|
-
crn: string;
|
|
4619
|
+
crn: string | null;
|
|
4540
4620
|
govLink: string;
|
|
4621
|
+
soleTrader: boolean;
|
|
4541
4622
|
director: string;
|
|
4623
|
+
createdAt: string | Date;
|
|
4624
|
+
updatedAt: string | Date;
|
|
4542
4625
|
blacklistReason?: string | null | undefined;
|
|
4543
4626
|
lastUpdatedBy?: {
|
|
4544
4627
|
id: string;
|
|
@@ -4579,21 +4662,22 @@ export declare const collaborationsContractRouter: {
|
|
|
4579
4662
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4580
4663
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4581
4664
|
}, "strip", z.ZodTypeAny, {
|
|
4665
|
+
id: string;
|
|
4666
|
+
name: string;
|
|
4582
4667
|
createdAt: string;
|
|
4583
4668
|
updatedAt: string;
|
|
4669
|
+
}, {
|
|
4584
4670
|
id: string;
|
|
4585
4671
|
name: string;
|
|
4586
|
-
}, {
|
|
4587
4672
|
createdAt: string | Date;
|
|
4588
4673
|
updatedAt: string | Date;
|
|
4589
|
-
id: string;
|
|
4590
|
-
name: string;
|
|
4591
4674
|
}>>>;
|
|
4592
4675
|
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4593
4676
|
id: z.ZodString;
|
|
4594
4677
|
name: z.ZodString;
|
|
4595
|
-
crn: z.ZodString
|
|
4678
|
+
crn: z.ZodNullable<z.ZodString>;
|
|
4596
4679
|
govLink: z.ZodString;
|
|
4680
|
+
soleTrader: z.ZodBoolean;
|
|
4597
4681
|
status: z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>;
|
|
4598
4682
|
director: z.ZodString;
|
|
4599
4683
|
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4623,14 +4707,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4623
4707
|
agentId: string;
|
|
4624
4708
|
}>>>;
|
|
4625
4709
|
}, "strip", z.ZodTypeAny, {
|
|
4626
|
-
createdAt: string;
|
|
4627
|
-
updatedAt: string;
|
|
4628
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4629
4710
|
id: string;
|
|
4711
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4630
4712
|
name: string;
|
|
4631
|
-
crn: string;
|
|
4713
|
+
crn: string | null;
|
|
4632
4714
|
govLink: string;
|
|
4715
|
+
soleTrader: boolean;
|
|
4633
4716
|
director: string;
|
|
4717
|
+
createdAt: string;
|
|
4718
|
+
updatedAt: string;
|
|
4634
4719
|
blacklistReason?: string | null | undefined;
|
|
4635
4720
|
lastUpdatedBy?: {
|
|
4636
4721
|
id: string;
|
|
@@ -4642,14 +4727,15 @@ export declare const collaborationsContractRouter: {
|
|
|
4642
4727
|
agentId: string;
|
|
4643
4728
|
} | null | undefined;
|
|
4644
4729
|
}, {
|
|
4645
|
-
createdAt: string | Date;
|
|
4646
|
-
updatedAt: string | Date;
|
|
4647
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4648
4730
|
id: string;
|
|
4731
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4649
4732
|
name: string;
|
|
4650
|
-
crn: string;
|
|
4733
|
+
crn: string | null;
|
|
4651
4734
|
govLink: string;
|
|
4735
|
+
soleTrader: boolean;
|
|
4652
4736
|
director: string;
|
|
4737
|
+
createdAt: string | Date;
|
|
4738
|
+
updatedAt: string | Date;
|
|
4653
4739
|
blacklistReason?: string | null | undefined;
|
|
4654
4740
|
lastUpdatedBy?: {
|
|
4655
4741
|
id: string;
|
|
@@ -4682,26 +4768,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4682
4768
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4683
4769
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4684
4770
|
}, "strip", z.ZodTypeAny, {
|
|
4771
|
+
id: string;
|
|
4772
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4685
4773
|
createdAt: string;
|
|
4686
4774
|
updatedAt: string;
|
|
4687
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4688
|
-
id: string;
|
|
4689
4775
|
userId: string;
|
|
4690
|
-
company?: {
|
|
4691
|
-
createdAt: string;
|
|
4692
|
-
updatedAt: string;
|
|
4693
|
-
id: string;
|
|
4694
|
-
name: string;
|
|
4695
|
-
} | null | undefined;
|
|
4696
4776
|
client?: {
|
|
4697
|
-
createdAt: string;
|
|
4698
|
-
updatedAt: string;
|
|
4699
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4700
4777
|
id: string;
|
|
4778
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4701
4779
|
name: string;
|
|
4702
|
-
crn: string;
|
|
4780
|
+
crn: string | null;
|
|
4703
4781
|
govLink: string;
|
|
4782
|
+
soleTrader: boolean;
|
|
4704
4783
|
director: string;
|
|
4784
|
+
createdAt: string;
|
|
4785
|
+
updatedAt: string;
|
|
4705
4786
|
blacklistReason?: string | null | undefined;
|
|
4706
4787
|
lastUpdatedBy?: {
|
|
4707
4788
|
id: string;
|
|
@@ -4713,6 +4794,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4713
4794
|
agentId: string;
|
|
4714
4795
|
} | null | undefined;
|
|
4715
4796
|
} | null | undefined;
|
|
4797
|
+
company?: {
|
|
4798
|
+
id: string;
|
|
4799
|
+
name: string;
|
|
4800
|
+
createdAt: string;
|
|
4801
|
+
updatedAt: string;
|
|
4802
|
+
} | null | undefined;
|
|
4716
4803
|
user?: {
|
|
4717
4804
|
id: string;
|
|
4718
4805
|
firstName: string;
|
|
@@ -4720,26 +4807,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4720
4807
|
email: string;
|
|
4721
4808
|
} | null | undefined;
|
|
4722
4809
|
}, {
|
|
4810
|
+
id: string;
|
|
4811
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4723
4812
|
createdAt: string | Date;
|
|
4724
4813
|
updatedAt: string | Date;
|
|
4725
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4726
|
-
id: string;
|
|
4727
4814
|
userId: string;
|
|
4728
|
-
company?: {
|
|
4729
|
-
createdAt: string | Date;
|
|
4730
|
-
updatedAt: string | Date;
|
|
4731
|
-
id: string;
|
|
4732
|
-
name: string;
|
|
4733
|
-
} | null | undefined;
|
|
4734
4815
|
client?: {
|
|
4735
|
-
createdAt: string | Date;
|
|
4736
|
-
updatedAt: string | Date;
|
|
4737
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4738
4816
|
id: string;
|
|
4817
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4739
4818
|
name: string;
|
|
4740
|
-
crn: string;
|
|
4819
|
+
crn: string | null;
|
|
4741
4820
|
govLink: string;
|
|
4821
|
+
soleTrader: boolean;
|
|
4742
4822
|
director: string;
|
|
4823
|
+
createdAt: string | Date;
|
|
4824
|
+
updatedAt: string | Date;
|
|
4743
4825
|
blacklistReason?: string | null | undefined;
|
|
4744
4826
|
lastUpdatedBy?: {
|
|
4745
4827
|
id: string;
|
|
@@ -4751,6 +4833,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4751
4833
|
agentId: string;
|
|
4752
4834
|
} | null | undefined;
|
|
4753
4835
|
} | null | undefined;
|
|
4836
|
+
company?: {
|
|
4837
|
+
id: string;
|
|
4838
|
+
name: string;
|
|
4839
|
+
createdAt: string | Date;
|
|
4840
|
+
updatedAt: string | Date;
|
|
4841
|
+
} | null | undefined;
|
|
4754
4842
|
user?: {
|
|
4755
4843
|
id: string;
|
|
4756
4844
|
firstName: string;
|
|
@@ -4759,26 +4847,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4759
4847
|
} | null | undefined;
|
|
4760
4848
|
}>>>;
|
|
4761
4849
|
}, "strip", z.ZodTypeAny, {
|
|
4850
|
+
id: string;
|
|
4851
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4762
4852
|
createdAt: string;
|
|
4763
4853
|
updatedAt: string;
|
|
4764
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4765
|
-
id: string;
|
|
4766
4854
|
userId: string;
|
|
4767
|
-
company?: {
|
|
4768
|
-
createdAt: string;
|
|
4769
|
-
updatedAt: string;
|
|
4770
|
-
id: string;
|
|
4771
|
-
name: string;
|
|
4772
|
-
} | null | undefined;
|
|
4773
4855
|
client?: {
|
|
4774
|
-
createdAt: string;
|
|
4775
|
-
updatedAt: string;
|
|
4776
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4777
4856
|
id: string;
|
|
4857
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4778
4858
|
name: string;
|
|
4779
|
-
crn: string;
|
|
4859
|
+
crn: string | null;
|
|
4780
4860
|
govLink: string;
|
|
4861
|
+
soleTrader: boolean;
|
|
4781
4862
|
director: string;
|
|
4863
|
+
createdAt: string;
|
|
4864
|
+
updatedAt: string;
|
|
4782
4865
|
blacklistReason?: string | null | undefined;
|
|
4783
4866
|
lastUpdatedBy?: {
|
|
4784
4867
|
id: string;
|
|
@@ -4790,6 +4873,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4790
4873
|
agentId: string;
|
|
4791
4874
|
} | null | undefined;
|
|
4792
4875
|
} | null | undefined;
|
|
4876
|
+
company?: {
|
|
4877
|
+
id: string;
|
|
4878
|
+
name: string;
|
|
4879
|
+
createdAt: string;
|
|
4880
|
+
updatedAt: string;
|
|
4881
|
+
} | null | undefined;
|
|
4793
4882
|
user?: {
|
|
4794
4883
|
id: string;
|
|
4795
4884
|
firstName: string;
|
|
@@ -4797,26 +4886,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4797
4886
|
email: string;
|
|
4798
4887
|
} | null | undefined;
|
|
4799
4888
|
newCollaboration?: {
|
|
4889
|
+
id: string;
|
|
4890
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4800
4891
|
createdAt: string;
|
|
4801
4892
|
updatedAt: string;
|
|
4802
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4803
|
-
id: string;
|
|
4804
4893
|
userId: string;
|
|
4805
|
-
company?: {
|
|
4806
|
-
createdAt: string;
|
|
4807
|
-
updatedAt: string;
|
|
4808
|
-
id: string;
|
|
4809
|
-
name: string;
|
|
4810
|
-
} | null | undefined;
|
|
4811
4894
|
client?: {
|
|
4812
|
-
createdAt: string;
|
|
4813
|
-
updatedAt: string;
|
|
4814
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4815
4895
|
id: string;
|
|
4896
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4816
4897
|
name: string;
|
|
4817
|
-
crn: string;
|
|
4898
|
+
crn: string | null;
|
|
4818
4899
|
govLink: string;
|
|
4900
|
+
soleTrader: boolean;
|
|
4819
4901
|
director: string;
|
|
4902
|
+
createdAt: string;
|
|
4903
|
+
updatedAt: string;
|
|
4820
4904
|
blacklistReason?: string | null | undefined;
|
|
4821
4905
|
lastUpdatedBy?: {
|
|
4822
4906
|
id: string;
|
|
@@ -4828,6 +4912,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4828
4912
|
agentId: string;
|
|
4829
4913
|
} | null | undefined;
|
|
4830
4914
|
} | null | undefined;
|
|
4915
|
+
company?: {
|
|
4916
|
+
id: string;
|
|
4917
|
+
name: string;
|
|
4918
|
+
createdAt: string;
|
|
4919
|
+
updatedAt: string;
|
|
4920
|
+
} | null | undefined;
|
|
4831
4921
|
user?: {
|
|
4832
4922
|
id: string;
|
|
4833
4923
|
firstName: string;
|
|
@@ -4836,26 +4926,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4836
4926
|
} | null | undefined;
|
|
4837
4927
|
} | null | undefined;
|
|
4838
4928
|
}, {
|
|
4929
|
+
id: string;
|
|
4930
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4839
4931
|
createdAt: string | Date;
|
|
4840
4932
|
updatedAt: string | Date;
|
|
4841
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4842
|
-
id: string;
|
|
4843
4933
|
userId: string;
|
|
4844
|
-
company?: {
|
|
4845
|
-
createdAt: string | Date;
|
|
4846
|
-
updatedAt: string | Date;
|
|
4847
|
-
id: string;
|
|
4848
|
-
name: string;
|
|
4849
|
-
} | null | undefined;
|
|
4850
4934
|
client?: {
|
|
4851
|
-
createdAt: string | Date;
|
|
4852
|
-
updatedAt: string | Date;
|
|
4853
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4854
4935
|
id: string;
|
|
4936
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4855
4937
|
name: string;
|
|
4856
|
-
crn: string;
|
|
4938
|
+
crn: string | null;
|
|
4857
4939
|
govLink: string;
|
|
4940
|
+
soleTrader: boolean;
|
|
4858
4941
|
director: string;
|
|
4942
|
+
createdAt: string | Date;
|
|
4943
|
+
updatedAt: string | Date;
|
|
4859
4944
|
blacklistReason?: string | null | undefined;
|
|
4860
4945
|
lastUpdatedBy?: {
|
|
4861
4946
|
id: string;
|
|
@@ -4867,6 +4952,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4867
4952
|
agentId: string;
|
|
4868
4953
|
} | null | undefined;
|
|
4869
4954
|
} | null | undefined;
|
|
4955
|
+
company?: {
|
|
4956
|
+
id: string;
|
|
4957
|
+
name: string;
|
|
4958
|
+
createdAt: string | Date;
|
|
4959
|
+
updatedAt: string | Date;
|
|
4960
|
+
} | null | undefined;
|
|
4870
4961
|
user?: {
|
|
4871
4962
|
id: string;
|
|
4872
4963
|
firstName: string;
|
|
@@ -4874,26 +4965,21 @@ export declare const collaborationsContractRouter: {
|
|
|
4874
4965
|
email: string;
|
|
4875
4966
|
} | null | undefined;
|
|
4876
4967
|
newCollaboration?: {
|
|
4968
|
+
id: string;
|
|
4969
|
+
status: "APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4877
4970
|
createdAt: string | Date;
|
|
4878
4971
|
updatedAt: string | Date;
|
|
4879
|
-
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
4880
|
-
id: string;
|
|
4881
4972
|
userId: string;
|
|
4882
|
-
company?: {
|
|
4883
|
-
createdAt: string | Date;
|
|
4884
|
-
updatedAt: string | Date;
|
|
4885
|
-
id: string;
|
|
4886
|
-
name: string;
|
|
4887
|
-
} | null | undefined;
|
|
4888
4973
|
client?: {
|
|
4889
|
-
createdAt: string | Date;
|
|
4890
|
-
updatedAt: string | Date;
|
|
4891
|
-
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4892
4974
|
id: string;
|
|
4975
|
+
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
4893
4976
|
name: string;
|
|
4894
|
-
crn: string;
|
|
4977
|
+
crn: string | null;
|
|
4895
4978
|
govLink: string;
|
|
4979
|
+
soleTrader: boolean;
|
|
4896
4980
|
director: string;
|
|
4981
|
+
createdAt: string | Date;
|
|
4982
|
+
updatedAt: string | Date;
|
|
4897
4983
|
blacklistReason?: string | null | undefined;
|
|
4898
4984
|
lastUpdatedBy?: {
|
|
4899
4985
|
id: string;
|
|
@@ -4905,6 +4991,12 @@ export declare const collaborationsContractRouter: {
|
|
|
4905
4991
|
agentId: string;
|
|
4906
4992
|
} | null | undefined;
|
|
4907
4993
|
} | null | undefined;
|
|
4994
|
+
company?: {
|
|
4995
|
+
id: string;
|
|
4996
|
+
name: string;
|
|
4997
|
+
createdAt: string | Date;
|
|
4998
|
+
updatedAt: string | Date;
|
|
4999
|
+
} | null | undefined;
|
|
4908
5000
|
user?: {
|
|
4909
5001
|
id: string;
|
|
4910
5002
|
firstName: string;
|