@dakkitor/api-contracts 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +250 -250
- package/dist/bookings/bookings.contract.d.ts +211 -211
- package/dist/collaborations/collaborations.contract.d.ts +379 -379
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -4
- package/dist/jobs/jobs.contract.d.ts +59 -59
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +6 -6
- package/dist/workers/workers.contract.d.ts +418 -418
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -1
- package/package.json +1 -1
|
@@ -62,10 +62,14 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
62
62
|
id: string;
|
|
63
63
|
}>>>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
66
|
-
id: string;
|
|
67
65
|
createdAt: string;
|
|
68
66
|
updatedAt: string;
|
|
67
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
68
|
+
id: string;
|
|
69
|
+
company: {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
};
|
|
69
73
|
client: {
|
|
70
74
|
id: string;
|
|
71
75
|
name: string;
|
|
@@ -77,18 +81,18 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
77
81
|
email: string;
|
|
78
82
|
};
|
|
79
83
|
userId: string;
|
|
80
|
-
company: {
|
|
81
|
-
id: string;
|
|
82
|
-
name: string;
|
|
83
|
-
};
|
|
84
84
|
newCollaboration?: {
|
|
85
85
|
id: string;
|
|
86
86
|
} | null | undefined;
|
|
87
87
|
}, {
|
|
88
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
89
|
-
id: string;
|
|
90
88
|
createdAt: string | Date;
|
|
91
89
|
updatedAt: string | Date;
|
|
90
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
91
|
+
id: string;
|
|
92
|
+
company: {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
};
|
|
92
96
|
client: {
|
|
93
97
|
id: string;
|
|
94
98
|
name: string;
|
|
@@ -100,10 +104,6 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
100
104
|
email: string;
|
|
101
105
|
};
|
|
102
106
|
userId: string;
|
|
103
|
-
company: {
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
};
|
|
107
107
|
newCollaboration?: {
|
|
108
108
|
id: string;
|
|
109
109
|
} | null | undefined;
|
|
@@ -135,24 +135,24 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
135
135
|
}>>;
|
|
136
136
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
|
|
138
|
+
company: {
|
|
139
139
|
id: string;
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
client: {
|
|
142
142
|
id: string;
|
|
143
143
|
};
|
|
144
|
-
status?: "
|
|
144
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
145
145
|
user?: {
|
|
146
146
|
id: string;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
|
|
149
|
+
company: {
|
|
150
150
|
id: string;
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
client: {
|
|
153
153
|
id: string;
|
|
154
154
|
};
|
|
155
|
-
status?: "
|
|
155
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
156
156
|
user?: {
|
|
157
157
|
id: string;
|
|
158
158
|
} | undefined;
|
|
@@ -163,9 +163,9 @@ export declare const CreateCollaborationSchema: z.ZodObject<{
|
|
|
163
163
|
export declare const UpdateCollaborationSchema: z.ZodObject<{
|
|
164
164
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
status?: "
|
|
166
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
status?: "
|
|
168
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
171
171
|
* Upsert Collaboration Schema
|
|
@@ -194,24 +194,24 @@ export declare const UpsertCollaborationSchema: z.ZodObject<{
|
|
|
194
194
|
}>>;
|
|
195
195
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
|
|
197
|
+
company: {
|
|
198
198
|
id: string;
|
|
199
199
|
};
|
|
200
|
-
|
|
200
|
+
client: {
|
|
201
201
|
id: string;
|
|
202
202
|
};
|
|
203
|
-
status?: "
|
|
203
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
204
204
|
user?: {
|
|
205
205
|
id: string;
|
|
206
206
|
} | undefined;
|
|
207
207
|
}, {
|
|
208
|
-
|
|
208
|
+
company: {
|
|
209
209
|
id: string;
|
|
210
210
|
};
|
|
211
|
-
|
|
211
|
+
client: {
|
|
212
212
|
id: string;
|
|
213
213
|
};
|
|
214
|
-
status?: "
|
|
214
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
215
215
|
user?: {
|
|
216
216
|
id: string;
|
|
217
217
|
} | undefined;
|
|
@@ -232,21 +232,21 @@ export declare const FilterCollaborationSchema: z.ZodObject<{
|
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
233
|
limit: number;
|
|
234
234
|
page: number;
|
|
235
|
-
status?: "
|
|
236
|
-
clientId?: string | null | undefined;
|
|
237
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
238
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
235
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
239
236
|
userId?: string | null | undefined;
|
|
240
237
|
companyId?: string | null | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
243
238
|
clientId?: string | null | undefined;
|
|
244
|
-
|
|
245
|
-
page?: number | undefined;
|
|
246
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
239
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
247
240
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
248
243
|
userId?: string | null | undefined;
|
|
244
|
+
limit?: number | undefined;
|
|
245
|
+
page?: number | undefined;
|
|
249
246
|
companyId?: string | null | undefined;
|
|
247
|
+
clientId?: string | null | undefined;
|
|
248
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
249
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
250
250
|
}>;
|
|
251
251
|
/**
|
|
252
252
|
* Collaboration Autocomplete Response Schema
|
|
@@ -279,6 +279,9 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
279
279
|
}>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
id: string;
|
|
282
|
+
company: {
|
|
283
|
+
name: string;
|
|
284
|
+
};
|
|
282
285
|
client: {
|
|
283
286
|
name: string;
|
|
284
287
|
};
|
|
@@ -286,11 +289,11 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
286
289
|
firstName: string;
|
|
287
290
|
lastName: string;
|
|
288
291
|
};
|
|
292
|
+
}, {
|
|
293
|
+
id: string;
|
|
289
294
|
company: {
|
|
290
295
|
name: string;
|
|
291
296
|
};
|
|
292
|
-
}, {
|
|
293
|
-
id: string;
|
|
294
297
|
client: {
|
|
295
298
|
name: string;
|
|
296
299
|
};
|
|
@@ -298,9 +301,6 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
298
301
|
firstName: string;
|
|
299
302
|
lastName: string;
|
|
300
303
|
};
|
|
301
|
-
company: {
|
|
302
|
-
name: string;
|
|
303
|
-
};
|
|
304
304
|
}>;
|
|
305
305
|
export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
306
306
|
id: z.ZodString;
|
|
@@ -330,6 +330,9 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
330
330
|
}>;
|
|
331
331
|
}, "strip", z.ZodTypeAny, {
|
|
332
332
|
id: string;
|
|
333
|
+
company: {
|
|
334
|
+
name: string;
|
|
335
|
+
};
|
|
333
336
|
client: {
|
|
334
337
|
name: string;
|
|
335
338
|
};
|
|
@@ -337,11 +340,11 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
337
340
|
firstName: string;
|
|
338
341
|
lastName: string;
|
|
339
342
|
};
|
|
343
|
+
}, {
|
|
344
|
+
id: string;
|
|
340
345
|
company: {
|
|
341
346
|
name: string;
|
|
342
347
|
};
|
|
343
|
-
}, {
|
|
344
|
-
id: string;
|
|
345
348
|
client: {
|
|
346
349
|
name: string;
|
|
347
350
|
};
|
|
@@ -349,9 +352,6 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
349
352
|
firstName: string;
|
|
350
353
|
lastName: string;
|
|
351
354
|
};
|
|
352
|
-
company: {
|
|
353
|
-
name: string;
|
|
354
|
-
};
|
|
355
355
|
}>, "many">;
|
|
356
356
|
export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
357
357
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -404,10 +404,14 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
404
404
|
id: string;
|
|
405
405
|
}>>>;
|
|
406
406
|
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
408
|
-
id: string;
|
|
409
407
|
createdAt: string;
|
|
410
408
|
updatedAt: string;
|
|
409
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
410
|
+
id: string;
|
|
411
|
+
company: {
|
|
412
|
+
id: string;
|
|
413
|
+
name: string;
|
|
414
|
+
};
|
|
411
415
|
client: {
|
|
412
416
|
id: string;
|
|
413
417
|
name: string;
|
|
@@ -419,18 +423,18 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
419
423
|
email: string;
|
|
420
424
|
};
|
|
421
425
|
userId: string;
|
|
422
|
-
company: {
|
|
423
|
-
id: string;
|
|
424
|
-
name: string;
|
|
425
|
-
};
|
|
426
426
|
newCollaboration?: {
|
|
427
427
|
id: string;
|
|
428
428
|
} | null | undefined;
|
|
429
429
|
}, {
|
|
430
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
431
|
-
id: string;
|
|
432
430
|
createdAt: string | Date;
|
|
433
431
|
updatedAt: string | Date;
|
|
432
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
433
|
+
id: string;
|
|
434
|
+
company: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
};
|
|
434
438
|
client: {
|
|
435
439
|
id: string;
|
|
436
440
|
name: string;
|
|
@@ -442,10 +446,6 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
442
446
|
email: string;
|
|
443
447
|
};
|
|
444
448
|
userId: string;
|
|
445
|
-
company: {
|
|
446
|
-
id: string;
|
|
447
|
-
name: string;
|
|
448
|
-
};
|
|
449
449
|
newCollaboration?: {
|
|
450
450
|
id: string;
|
|
451
451
|
} | null | undefined;
|
|
@@ -456,11 +456,16 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
456
456
|
currentPage: z.ZodNumber;
|
|
457
457
|
totalPages: z.ZodNumber;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
limit: number;
|
|
459
460
|
items: {
|
|
460
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
461
|
-
id: string;
|
|
462
461
|
createdAt: string;
|
|
463
462
|
updatedAt: string;
|
|
463
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
464
|
+
id: string;
|
|
465
|
+
company: {
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
};
|
|
464
469
|
client: {
|
|
465
470
|
id: string;
|
|
466
471
|
name: string;
|
|
@@ -472,25 +477,25 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
472
477
|
email: string;
|
|
473
478
|
};
|
|
474
479
|
userId: string;
|
|
475
|
-
company: {
|
|
476
|
-
id: string;
|
|
477
|
-
name: string;
|
|
478
|
-
};
|
|
479
480
|
newCollaboration?: {
|
|
480
481
|
id: string;
|
|
481
482
|
} | null | undefined;
|
|
482
483
|
}[];
|
|
483
484
|
totalCount: number;
|
|
484
|
-
limit: number;
|
|
485
485
|
skip: number;
|
|
486
486
|
currentPage: number;
|
|
487
487
|
totalPages: number;
|
|
488
488
|
}, {
|
|
489
|
+
limit: number;
|
|
489
490
|
items: {
|
|
490
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
491
|
-
id: string;
|
|
492
491
|
createdAt: string | Date;
|
|
493
492
|
updatedAt: string | Date;
|
|
493
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
494
|
+
id: string;
|
|
495
|
+
company: {
|
|
496
|
+
id: string;
|
|
497
|
+
name: string;
|
|
498
|
+
};
|
|
494
499
|
client: {
|
|
495
500
|
id: string;
|
|
496
501
|
name: string;
|
|
@@ -502,16 +507,11 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
502
507
|
email: string;
|
|
503
508
|
};
|
|
504
509
|
userId: string;
|
|
505
|
-
company: {
|
|
506
|
-
id: string;
|
|
507
|
-
name: string;
|
|
508
|
-
};
|
|
509
510
|
newCollaboration?: {
|
|
510
511
|
id: string;
|
|
511
512
|
} | null | undefined;
|
|
512
513
|
}[];
|
|
513
514
|
totalCount: number;
|
|
514
|
-
limit: number;
|
|
515
515
|
skip: number;
|
|
516
516
|
currentPage: number;
|
|
517
517
|
totalPages: number;
|
|
@@ -558,24 +558,24 @@ export declare const collaborationsContractRouter: {
|
|
|
558
558
|
}>>;
|
|
559
559
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
|
|
561
|
+
company: {
|
|
562
562
|
id: string;
|
|
563
563
|
};
|
|
564
|
-
|
|
564
|
+
client: {
|
|
565
565
|
id: string;
|
|
566
566
|
};
|
|
567
|
-
status?: "
|
|
567
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
568
568
|
user?: {
|
|
569
569
|
id: string;
|
|
570
570
|
} | undefined;
|
|
571
571
|
}, {
|
|
572
|
-
|
|
572
|
+
company: {
|
|
573
573
|
id: string;
|
|
574
574
|
};
|
|
575
|
-
|
|
575
|
+
client: {
|
|
576
576
|
id: string;
|
|
577
577
|
};
|
|
578
|
-
status?: "
|
|
578
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
579
579
|
user?: {
|
|
580
580
|
id: string;
|
|
581
581
|
} | undefined;
|
|
@@ -591,19 +591,19 @@ export declare const collaborationsContractRouter: {
|
|
|
591
591
|
path: z.ZodString;
|
|
592
592
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
593
593
|
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
statusCode: number;
|
|
595
|
-
message: string;
|
|
596
594
|
code: string;
|
|
597
|
-
timestamp: string;
|
|
598
595
|
path: string;
|
|
596
|
+
message: string;
|
|
597
|
+
statusCode: number;
|
|
598
|
+
timestamp: string;
|
|
599
599
|
details?: unknown;
|
|
600
600
|
correlationId?: string | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
statusCode: number;
|
|
603
|
-
message: string;
|
|
604
602
|
code: string;
|
|
605
|
-
timestamp: string;
|
|
606
603
|
path: string;
|
|
604
|
+
message: string;
|
|
605
|
+
statusCode: number;
|
|
606
|
+
timestamp: string;
|
|
607
607
|
details?: unknown;
|
|
608
608
|
correlationId?: string | undefined;
|
|
609
609
|
}>;
|
|
@@ -616,19 +616,19 @@ export declare const collaborationsContractRouter: {
|
|
|
616
616
|
path: z.ZodString;
|
|
617
617
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
618
618
|
}, "strip", z.ZodTypeAny, {
|
|
619
|
-
statusCode: number;
|
|
620
|
-
message: string;
|
|
621
619
|
code: string;
|
|
622
|
-
timestamp: string;
|
|
623
620
|
path: string;
|
|
621
|
+
message: string;
|
|
622
|
+
statusCode: number;
|
|
623
|
+
timestamp: string;
|
|
624
624
|
details?: unknown;
|
|
625
625
|
correlationId?: string | undefined;
|
|
626
626
|
}, {
|
|
627
|
-
statusCode: number;
|
|
628
|
-
message: string;
|
|
629
627
|
code: string;
|
|
630
|
-
timestamp: string;
|
|
631
628
|
path: string;
|
|
629
|
+
message: string;
|
|
630
|
+
statusCode: number;
|
|
631
|
+
timestamp: string;
|
|
632
632
|
details?: unknown;
|
|
633
633
|
correlationId?: string | undefined;
|
|
634
634
|
}>;
|
|
@@ -641,19 +641,19 @@ export declare const collaborationsContractRouter: {
|
|
|
641
641
|
path: z.ZodString;
|
|
642
642
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
|
-
statusCode: number;
|
|
645
|
-
message: string;
|
|
646
644
|
code: string;
|
|
647
|
-
timestamp: string;
|
|
648
645
|
path: string;
|
|
646
|
+
message: string;
|
|
647
|
+
statusCode: number;
|
|
648
|
+
timestamp: string;
|
|
649
649
|
details?: unknown;
|
|
650
650
|
correlationId?: string | undefined;
|
|
651
651
|
}, {
|
|
652
|
-
statusCode: number;
|
|
653
|
-
message: string;
|
|
654
652
|
code: string;
|
|
655
|
-
timestamp: string;
|
|
656
653
|
path: string;
|
|
654
|
+
message: string;
|
|
655
|
+
statusCode: number;
|
|
656
|
+
timestamp: string;
|
|
657
657
|
details?: unknown;
|
|
658
658
|
correlationId?: string | undefined;
|
|
659
659
|
}>;
|
|
@@ -666,19 +666,19 @@ export declare const collaborationsContractRouter: {
|
|
|
666
666
|
path: z.ZodString;
|
|
667
667
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
statusCode: number;
|
|
670
|
-
message: string;
|
|
671
669
|
code: string;
|
|
672
|
-
timestamp: string;
|
|
673
670
|
path: string;
|
|
671
|
+
message: string;
|
|
672
|
+
statusCode: number;
|
|
673
|
+
timestamp: string;
|
|
674
674
|
details?: unknown;
|
|
675
675
|
correlationId?: string | undefined;
|
|
676
676
|
}, {
|
|
677
|
-
statusCode: number;
|
|
678
|
-
message: string;
|
|
679
677
|
code: string;
|
|
680
|
-
timestamp: string;
|
|
681
678
|
path: string;
|
|
679
|
+
message: string;
|
|
680
|
+
statusCode: number;
|
|
681
|
+
timestamp: string;
|
|
682
682
|
details?: unknown;
|
|
683
683
|
correlationId?: string | undefined;
|
|
684
684
|
}>;
|
|
@@ -732,10 +732,14 @@ export declare const collaborationsContractRouter: {
|
|
|
732
732
|
id: string;
|
|
733
733
|
}>>>;
|
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
736
|
-
id: string;
|
|
737
735
|
createdAt: string;
|
|
738
736
|
updatedAt: string;
|
|
737
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
738
|
+
id: string;
|
|
739
|
+
company: {
|
|
740
|
+
id: string;
|
|
741
|
+
name: string;
|
|
742
|
+
};
|
|
739
743
|
client: {
|
|
740
744
|
id: string;
|
|
741
745
|
name: string;
|
|
@@ -747,18 +751,18 @@ export declare const collaborationsContractRouter: {
|
|
|
747
751
|
email: string;
|
|
748
752
|
};
|
|
749
753
|
userId: string;
|
|
750
|
-
company: {
|
|
751
|
-
id: string;
|
|
752
|
-
name: string;
|
|
753
|
-
};
|
|
754
754
|
newCollaboration?: {
|
|
755
755
|
id: string;
|
|
756
756
|
} | null | undefined;
|
|
757
757
|
}, {
|
|
758
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
759
|
-
id: string;
|
|
760
758
|
createdAt: string | Date;
|
|
761
759
|
updatedAt: string | Date;
|
|
760
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
761
|
+
id: string;
|
|
762
|
+
company: {
|
|
763
|
+
id: string;
|
|
764
|
+
name: string;
|
|
765
|
+
};
|
|
762
766
|
client: {
|
|
763
767
|
id: string;
|
|
764
768
|
name: string;
|
|
@@ -770,10 +774,6 @@ export declare const collaborationsContractRouter: {
|
|
|
770
774
|
email: string;
|
|
771
775
|
};
|
|
772
776
|
userId: string;
|
|
773
|
-
company: {
|
|
774
|
-
id: string;
|
|
775
|
-
name: string;
|
|
776
|
-
};
|
|
777
777
|
newCollaboration?: {
|
|
778
778
|
id: string;
|
|
779
779
|
} | null | undefined;
|
|
@@ -787,19 +787,19 @@ export declare const collaborationsContractRouter: {
|
|
|
787
787
|
path: z.ZodString;
|
|
788
788
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
statusCode: number;
|
|
791
|
-
message: string;
|
|
792
790
|
code: string;
|
|
793
|
-
timestamp: string;
|
|
794
791
|
path: string;
|
|
792
|
+
message: string;
|
|
793
|
+
statusCode: number;
|
|
794
|
+
timestamp: string;
|
|
795
795
|
details?: unknown;
|
|
796
796
|
correlationId?: string | undefined;
|
|
797
797
|
}, {
|
|
798
|
-
statusCode: number;
|
|
799
|
-
message: string;
|
|
800
798
|
code: string;
|
|
801
|
-
timestamp: string;
|
|
802
799
|
path: string;
|
|
800
|
+
message: string;
|
|
801
|
+
statusCode: number;
|
|
802
|
+
timestamp: string;
|
|
803
803
|
details?: unknown;
|
|
804
804
|
correlationId?: string | undefined;
|
|
805
805
|
}>;
|
|
@@ -825,21 +825,21 @@ export declare const collaborationsContractRouter: {
|
|
|
825
825
|
}, "strip", z.ZodTypeAny, {
|
|
826
826
|
limit: number;
|
|
827
827
|
page: number;
|
|
828
|
-
status?: "
|
|
829
|
-
clientId?: string | null | undefined;
|
|
830
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
831
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
828
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
832
829
|
userId?: string | null | undefined;
|
|
833
830
|
companyId?: string | null | undefined;
|
|
834
|
-
}, {
|
|
835
|
-
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
836
831
|
clientId?: string | null | undefined;
|
|
837
|
-
|
|
838
|
-
page?: number | undefined;
|
|
839
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
832
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
840
833
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
841
836
|
userId?: string | null | undefined;
|
|
837
|
+
limit?: number | undefined;
|
|
838
|
+
page?: number | undefined;
|
|
842
839
|
companyId?: string | null | undefined;
|
|
840
|
+
clientId?: string | null | undefined;
|
|
841
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | null | undefined;
|
|
842
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
843
843
|
}>;
|
|
844
844
|
summary: "Get all collaborations";
|
|
845
845
|
method: "GET";
|
|
@@ -854,19 +854,19 @@ export declare const collaborationsContractRouter: {
|
|
|
854
854
|
path: z.ZodString;
|
|
855
855
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
statusCode: number;
|
|
858
|
-
message: string;
|
|
859
857
|
code: string;
|
|
860
|
-
timestamp: string;
|
|
861
858
|
path: string;
|
|
859
|
+
message: string;
|
|
860
|
+
statusCode: number;
|
|
861
|
+
timestamp: string;
|
|
862
862
|
details?: unknown;
|
|
863
863
|
correlationId?: string | undefined;
|
|
864
864
|
}, {
|
|
865
|
-
statusCode: number;
|
|
866
|
-
message: string;
|
|
867
865
|
code: string;
|
|
868
|
-
timestamp: string;
|
|
869
866
|
path: string;
|
|
867
|
+
message: string;
|
|
868
|
+
statusCode: number;
|
|
869
|
+
timestamp: string;
|
|
870
870
|
details?: unknown;
|
|
871
871
|
correlationId?: string | undefined;
|
|
872
872
|
}>;
|
|
@@ -879,19 +879,19 @@ export declare const collaborationsContractRouter: {
|
|
|
879
879
|
path: z.ZodString;
|
|
880
880
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
881
881
|
}, "strip", z.ZodTypeAny, {
|
|
882
|
-
statusCode: number;
|
|
883
|
-
message: string;
|
|
884
882
|
code: string;
|
|
885
|
-
timestamp: string;
|
|
886
883
|
path: string;
|
|
884
|
+
message: string;
|
|
885
|
+
statusCode: number;
|
|
886
|
+
timestamp: string;
|
|
887
887
|
details?: unknown;
|
|
888
888
|
correlationId?: string | undefined;
|
|
889
889
|
}, {
|
|
890
|
-
statusCode: number;
|
|
891
|
-
message: string;
|
|
892
890
|
code: string;
|
|
893
|
-
timestamp: string;
|
|
894
891
|
path: string;
|
|
892
|
+
message: string;
|
|
893
|
+
statusCode: number;
|
|
894
|
+
timestamp: string;
|
|
895
895
|
details?: unknown;
|
|
896
896
|
correlationId?: string | undefined;
|
|
897
897
|
}>;
|
|
@@ -904,19 +904,19 @@ export declare const collaborationsContractRouter: {
|
|
|
904
904
|
path: z.ZodString;
|
|
905
905
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
906
906
|
}, "strip", z.ZodTypeAny, {
|
|
907
|
-
statusCode: number;
|
|
908
|
-
message: string;
|
|
909
907
|
code: string;
|
|
910
|
-
timestamp: string;
|
|
911
908
|
path: string;
|
|
909
|
+
message: string;
|
|
910
|
+
statusCode: number;
|
|
911
|
+
timestamp: string;
|
|
912
912
|
details?: unknown;
|
|
913
913
|
correlationId?: string | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
statusCode: number;
|
|
916
|
-
message: string;
|
|
917
915
|
code: string;
|
|
918
|
-
timestamp: string;
|
|
919
916
|
path: string;
|
|
917
|
+
message: string;
|
|
918
|
+
statusCode: number;
|
|
919
|
+
timestamp: string;
|
|
920
920
|
details?: unknown;
|
|
921
921
|
correlationId?: string | undefined;
|
|
922
922
|
}>;
|
|
@@ -929,19 +929,19 @@ export declare const collaborationsContractRouter: {
|
|
|
929
929
|
path: z.ZodString;
|
|
930
930
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
statusCode: number;
|
|
933
|
-
message: string;
|
|
934
932
|
code: string;
|
|
935
|
-
timestamp: string;
|
|
936
933
|
path: string;
|
|
934
|
+
message: string;
|
|
935
|
+
statusCode: number;
|
|
936
|
+
timestamp: string;
|
|
937
937
|
details?: unknown;
|
|
938
938
|
correlationId?: string | undefined;
|
|
939
939
|
}, {
|
|
940
|
-
statusCode: number;
|
|
941
|
-
message: string;
|
|
942
940
|
code: string;
|
|
943
|
-
timestamp: string;
|
|
944
941
|
path: string;
|
|
942
|
+
message: string;
|
|
943
|
+
statusCode: number;
|
|
944
|
+
timestamp: string;
|
|
945
945
|
details?: unknown;
|
|
946
946
|
correlationId?: string | undefined;
|
|
947
947
|
}>;
|
|
@@ -996,10 +996,14 @@ export declare const collaborationsContractRouter: {
|
|
|
996
996
|
id: string;
|
|
997
997
|
}>>>;
|
|
998
998
|
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1000
|
-
id: string;
|
|
1001
999
|
createdAt: string;
|
|
1002
1000
|
updatedAt: string;
|
|
1001
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1002
|
+
id: string;
|
|
1003
|
+
company: {
|
|
1004
|
+
id: string;
|
|
1005
|
+
name: string;
|
|
1006
|
+
};
|
|
1003
1007
|
client: {
|
|
1004
1008
|
id: string;
|
|
1005
1009
|
name: string;
|
|
@@ -1011,18 +1015,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1011
1015
|
email: string;
|
|
1012
1016
|
};
|
|
1013
1017
|
userId: string;
|
|
1014
|
-
company: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
name: string;
|
|
1017
|
-
};
|
|
1018
1018
|
newCollaboration?: {
|
|
1019
1019
|
id: string;
|
|
1020
1020
|
} | null | undefined;
|
|
1021
1021
|
}, {
|
|
1022
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1023
|
-
id: string;
|
|
1024
1022
|
createdAt: string | Date;
|
|
1025
1023
|
updatedAt: string | Date;
|
|
1024
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1025
|
+
id: string;
|
|
1026
|
+
company: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
};
|
|
1026
1030
|
client: {
|
|
1027
1031
|
id: string;
|
|
1028
1032
|
name: string;
|
|
@@ -1034,10 +1038,6 @@ export declare const collaborationsContractRouter: {
|
|
|
1034
1038
|
email: string;
|
|
1035
1039
|
};
|
|
1036
1040
|
userId: string;
|
|
1037
|
-
company: {
|
|
1038
|
-
id: string;
|
|
1039
|
-
name: string;
|
|
1040
|
-
};
|
|
1041
1041
|
newCollaboration?: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
} | null | undefined;
|
|
@@ -1048,11 +1048,16 @@ export declare const collaborationsContractRouter: {
|
|
|
1048
1048
|
currentPage: z.ZodNumber;
|
|
1049
1049
|
totalPages: z.ZodNumber;
|
|
1050
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
+
limit: number;
|
|
1051
1052
|
items: {
|
|
1052
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1053
|
-
id: string;
|
|
1054
1053
|
createdAt: string;
|
|
1055
1054
|
updatedAt: string;
|
|
1055
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1056
|
+
id: string;
|
|
1057
|
+
company: {
|
|
1058
|
+
id: string;
|
|
1059
|
+
name: string;
|
|
1060
|
+
};
|
|
1056
1061
|
client: {
|
|
1057
1062
|
id: string;
|
|
1058
1063
|
name: string;
|
|
@@ -1064,25 +1069,25 @@ export declare const collaborationsContractRouter: {
|
|
|
1064
1069
|
email: string;
|
|
1065
1070
|
};
|
|
1066
1071
|
userId: string;
|
|
1067
|
-
company: {
|
|
1068
|
-
id: string;
|
|
1069
|
-
name: string;
|
|
1070
|
-
};
|
|
1071
1072
|
newCollaboration?: {
|
|
1072
1073
|
id: string;
|
|
1073
1074
|
} | null | undefined;
|
|
1074
1075
|
}[];
|
|
1075
1076
|
totalCount: number;
|
|
1076
|
-
limit: number;
|
|
1077
1077
|
skip: number;
|
|
1078
1078
|
currentPage: number;
|
|
1079
1079
|
totalPages: number;
|
|
1080
1080
|
}, {
|
|
1081
|
+
limit: number;
|
|
1081
1082
|
items: {
|
|
1082
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1083
|
-
id: string;
|
|
1084
1083
|
createdAt: string | Date;
|
|
1085
1084
|
updatedAt: string | Date;
|
|
1085
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1086
|
+
id: string;
|
|
1087
|
+
company: {
|
|
1088
|
+
id: string;
|
|
1089
|
+
name: string;
|
|
1090
|
+
};
|
|
1086
1091
|
client: {
|
|
1087
1092
|
id: string;
|
|
1088
1093
|
name: string;
|
|
@@ -1094,16 +1099,11 @@ export declare const collaborationsContractRouter: {
|
|
|
1094
1099
|
email: string;
|
|
1095
1100
|
};
|
|
1096
1101
|
userId: string;
|
|
1097
|
-
company: {
|
|
1098
|
-
id: string;
|
|
1099
|
-
name: string;
|
|
1100
|
-
};
|
|
1101
1102
|
newCollaboration?: {
|
|
1102
1103
|
id: string;
|
|
1103
1104
|
} | null | undefined;
|
|
1104
1105
|
}[];
|
|
1105
1106
|
totalCount: number;
|
|
1106
|
-
limit: number;
|
|
1107
1107
|
skip: number;
|
|
1108
1108
|
currentPage: number;
|
|
1109
1109
|
totalPages: number;
|
|
@@ -1121,11 +1121,11 @@ export declare const collaborationsContractRouter: {
|
|
|
1121
1121
|
query: z.ZodOptional<z.ZodString>;
|
|
1122
1122
|
id: z.ZodOptional<z.ZodString>;
|
|
1123
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1124
|
-
query?: string | undefined;
|
|
1125
1124
|
id?: string | undefined;
|
|
1126
|
-
}, {
|
|
1127
1125
|
query?: string | undefined;
|
|
1126
|
+
}, {
|
|
1128
1127
|
id?: string | undefined;
|
|
1128
|
+
query?: string | undefined;
|
|
1129
1129
|
}>;
|
|
1130
1130
|
summary: "Get collaborations for autocomplete";
|
|
1131
1131
|
method: "GET";
|
|
@@ -1140,19 +1140,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1140
1140
|
path: z.ZodString;
|
|
1141
1141
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1142
1142
|
}, "strip", z.ZodTypeAny, {
|
|
1143
|
-
statusCode: number;
|
|
1144
|
-
message: string;
|
|
1145
1143
|
code: string;
|
|
1146
|
-
timestamp: string;
|
|
1147
1144
|
path: string;
|
|
1145
|
+
message: string;
|
|
1146
|
+
statusCode: number;
|
|
1147
|
+
timestamp: string;
|
|
1148
1148
|
details?: unknown;
|
|
1149
1149
|
correlationId?: string | undefined;
|
|
1150
1150
|
}, {
|
|
1151
|
-
statusCode: number;
|
|
1152
|
-
message: string;
|
|
1153
1151
|
code: string;
|
|
1154
|
-
timestamp: string;
|
|
1155
1152
|
path: string;
|
|
1153
|
+
message: string;
|
|
1154
|
+
statusCode: number;
|
|
1155
|
+
timestamp: string;
|
|
1156
1156
|
details?: unknown;
|
|
1157
1157
|
correlationId?: string | undefined;
|
|
1158
1158
|
}>;
|
|
@@ -1165,19 +1165,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1165
1165
|
path: z.ZodString;
|
|
1166
1166
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1167
1167
|
}, "strip", z.ZodTypeAny, {
|
|
1168
|
-
statusCode: number;
|
|
1169
|
-
message: string;
|
|
1170
1168
|
code: string;
|
|
1171
|
-
timestamp: string;
|
|
1172
1169
|
path: string;
|
|
1170
|
+
message: string;
|
|
1171
|
+
statusCode: number;
|
|
1172
|
+
timestamp: string;
|
|
1173
1173
|
details?: unknown;
|
|
1174
1174
|
correlationId?: string | undefined;
|
|
1175
1175
|
}, {
|
|
1176
|
-
statusCode: number;
|
|
1177
|
-
message: string;
|
|
1178
1176
|
code: string;
|
|
1179
|
-
timestamp: string;
|
|
1180
1177
|
path: string;
|
|
1178
|
+
message: string;
|
|
1179
|
+
statusCode: number;
|
|
1180
|
+
timestamp: string;
|
|
1181
1181
|
details?: unknown;
|
|
1182
1182
|
correlationId?: string | undefined;
|
|
1183
1183
|
}>;
|
|
@@ -1190,19 +1190,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1190
1190
|
path: z.ZodString;
|
|
1191
1191
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1192
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1193
|
-
statusCode: number;
|
|
1194
|
-
message: string;
|
|
1195
1193
|
code: string;
|
|
1196
|
-
timestamp: string;
|
|
1197
1194
|
path: string;
|
|
1195
|
+
message: string;
|
|
1196
|
+
statusCode: number;
|
|
1197
|
+
timestamp: string;
|
|
1198
1198
|
details?: unknown;
|
|
1199
1199
|
correlationId?: string | undefined;
|
|
1200
1200
|
}, {
|
|
1201
|
-
statusCode: number;
|
|
1202
|
-
message: string;
|
|
1203
1201
|
code: string;
|
|
1204
|
-
timestamp: string;
|
|
1205
1202
|
path: string;
|
|
1203
|
+
message: string;
|
|
1204
|
+
statusCode: number;
|
|
1205
|
+
timestamp: string;
|
|
1206
1206
|
details?: unknown;
|
|
1207
1207
|
correlationId?: string | undefined;
|
|
1208
1208
|
}>;
|
|
@@ -1215,19 +1215,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1215
1215
|
path: z.ZodString;
|
|
1216
1216
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1217
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
statusCode: number;
|
|
1219
|
-
message: string;
|
|
1220
1218
|
code: string;
|
|
1221
|
-
timestamp: string;
|
|
1222
1219
|
path: string;
|
|
1220
|
+
message: string;
|
|
1221
|
+
statusCode: number;
|
|
1222
|
+
timestamp: string;
|
|
1223
1223
|
details?: unknown;
|
|
1224
1224
|
correlationId?: string | undefined;
|
|
1225
1225
|
}, {
|
|
1226
|
-
statusCode: number;
|
|
1227
|
-
message: string;
|
|
1228
1226
|
code: string;
|
|
1229
|
-
timestamp: string;
|
|
1230
1227
|
path: string;
|
|
1228
|
+
message: string;
|
|
1229
|
+
statusCode: number;
|
|
1230
|
+
timestamp: string;
|
|
1231
1231
|
details?: unknown;
|
|
1232
1232
|
correlationId?: string | undefined;
|
|
1233
1233
|
}>;
|
|
@@ -1259,6 +1259,9 @@ export declare const collaborationsContractRouter: {
|
|
|
1259
1259
|
}>;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1261
|
id: string;
|
|
1262
|
+
company: {
|
|
1263
|
+
name: string;
|
|
1264
|
+
};
|
|
1262
1265
|
client: {
|
|
1263
1266
|
name: string;
|
|
1264
1267
|
};
|
|
@@ -1266,11 +1269,11 @@ export declare const collaborationsContractRouter: {
|
|
|
1266
1269
|
firstName: string;
|
|
1267
1270
|
lastName: string;
|
|
1268
1271
|
};
|
|
1272
|
+
}, {
|
|
1273
|
+
id: string;
|
|
1269
1274
|
company: {
|
|
1270
1275
|
name: string;
|
|
1271
1276
|
};
|
|
1272
|
-
}, {
|
|
1273
|
-
id: string;
|
|
1274
1277
|
client: {
|
|
1275
1278
|
name: string;
|
|
1276
1279
|
};
|
|
@@ -1278,9 +1281,6 @@ export declare const collaborationsContractRouter: {
|
|
|
1278
1281
|
firstName: string;
|
|
1279
1282
|
lastName: string;
|
|
1280
1283
|
};
|
|
1281
|
-
company: {
|
|
1282
|
-
name: string;
|
|
1283
|
-
};
|
|
1284
1284
|
}>, "many">;
|
|
1285
1285
|
};
|
|
1286
1286
|
};
|
|
@@ -1311,19 +1311,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1311
1311
|
path: z.ZodString;
|
|
1312
1312
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1313
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
statusCode: number;
|
|
1315
|
-
message: string;
|
|
1316
1314
|
code: string;
|
|
1317
|
-
timestamp: string;
|
|
1318
1315
|
path: string;
|
|
1316
|
+
message: string;
|
|
1317
|
+
statusCode: number;
|
|
1318
|
+
timestamp: string;
|
|
1319
1319
|
details?: unknown;
|
|
1320
1320
|
correlationId?: string | undefined;
|
|
1321
1321
|
}, {
|
|
1322
|
-
statusCode: number;
|
|
1323
|
-
message: string;
|
|
1324
1322
|
code: string;
|
|
1325
|
-
timestamp: string;
|
|
1326
1323
|
path: string;
|
|
1324
|
+
message: string;
|
|
1325
|
+
statusCode: number;
|
|
1326
|
+
timestamp: string;
|
|
1327
1327
|
details?: unknown;
|
|
1328
1328
|
correlationId?: string | undefined;
|
|
1329
1329
|
}>;
|
|
@@ -1336,19 +1336,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1336
1336
|
path: z.ZodString;
|
|
1337
1337
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1338
1338
|
}, "strip", z.ZodTypeAny, {
|
|
1339
|
-
statusCode: number;
|
|
1340
|
-
message: string;
|
|
1341
1339
|
code: string;
|
|
1342
|
-
timestamp: string;
|
|
1343
1340
|
path: string;
|
|
1341
|
+
message: string;
|
|
1342
|
+
statusCode: number;
|
|
1343
|
+
timestamp: string;
|
|
1344
1344
|
details?: unknown;
|
|
1345
1345
|
correlationId?: string | undefined;
|
|
1346
1346
|
}, {
|
|
1347
|
-
statusCode: number;
|
|
1348
|
-
message: string;
|
|
1349
1347
|
code: string;
|
|
1350
|
-
timestamp: string;
|
|
1351
1348
|
path: string;
|
|
1349
|
+
message: string;
|
|
1350
|
+
statusCode: number;
|
|
1351
|
+
timestamp: string;
|
|
1352
1352
|
details?: unknown;
|
|
1353
1353
|
correlationId?: string | undefined;
|
|
1354
1354
|
}>;
|
|
@@ -1361,19 +1361,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1361
1361
|
path: z.ZodString;
|
|
1362
1362
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1363
1363
|
}, "strip", z.ZodTypeAny, {
|
|
1364
|
-
statusCode: number;
|
|
1365
|
-
message: string;
|
|
1366
1364
|
code: string;
|
|
1367
|
-
timestamp: string;
|
|
1368
1365
|
path: string;
|
|
1366
|
+
message: string;
|
|
1367
|
+
statusCode: number;
|
|
1368
|
+
timestamp: string;
|
|
1369
1369
|
details?: unknown;
|
|
1370
1370
|
correlationId?: string | undefined;
|
|
1371
1371
|
}, {
|
|
1372
|
-
statusCode: number;
|
|
1373
|
-
message: string;
|
|
1374
1372
|
code: string;
|
|
1375
|
-
timestamp: string;
|
|
1376
1373
|
path: string;
|
|
1374
|
+
message: string;
|
|
1375
|
+
statusCode: number;
|
|
1376
|
+
timestamp: string;
|
|
1377
1377
|
details?: unknown;
|
|
1378
1378
|
correlationId?: string | undefined;
|
|
1379
1379
|
}>;
|
|
@@ -1386,19 +1386,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1386
1386
|
path: z.ZodString;
|
|
1387
1387
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
statusCode: number;
|
|
1390
|
-
message: string;
|
|
1391
1389
|
code: string;
|
|
1392
|
-
timestamp: string;
|
|
1393
1390
|
path: string;
|
|
1391
|
+
message: string;
|
|
1392
|
+
statusCode: number;
|
|
1393
|
+
timestamp: string;
|
|
1394
1394
|
details?: unknown;
|
|
1395
1395
|
correlationId?: string | undefined;
|
|
1396
1396
|
}, {
|
|
1397
|
-
statusCode: number;
|
|
1398
|
-
message: string;
|
|
1399
1397
|
code: string;
|
|
1400
|
-
timestamp: string;
|
|
1401
1398
|
path: string;
|
|
1399
|
+
message: string;
|
|
1400
|
+
statusCode: number;
|
|
1401
|
+
timestamp: string;
|
|
1402
1402
|
details?: unknown;
|
|
1403
1403
|
correlationId?: string | undefined;
|
|
1404
1404
|
}>;
|
|
@@ -1452,10 +1452,14 @@ export declare const collaborationsContractRouter: {
|
|
|
1452
1452
|
id: string;
|
|
1453
1453
|
}>>>;
|
|
1454
1454
|
}, "strip", z.ZodTypeAny, {
|
|
1455
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1456
|
-
id: string;
|
|
1457
1455
|
createdAt: string;
|
|
1458
1456
|
updatedAt: string;
|
|
1457
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1458
|
+
id: string;
|
|
1459
|
+
company: {
|
|
1460
|
+
id: string;
|
|
1461
|
+
name: string;
|
|
1462
|
+
};
|
|
1459
1463
|
client: {
|
|
1460
1464
|
id: string;
|
|
1461
1465
|
name: string;
|
|
@@ -1467,18 +1471,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1467
1471
|
email: string;
|
|
1468
1472
|
};
|
|
1469
1473
|
userId: string;
|
|
1470
|
-
company: {
|
|
1471
|
-
id: string;
|
|
1472
|
-
name: string;
|
|
1473
|
-
};
|
|
1474
1474
|
newCollaboration?: {
|
|
1475
1475
|
id: string;
|
|
1476
1476
|
} | null | undefined;
|
|
1477
1477
|
}, {
|
|
1478
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1479
|
-
id: string;
|
|
1480
1478
|
createdAt: string | Date;
|
|
1481
1479
|
updatedAt: string | Date;
|
|
1480
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1481
|
+
id: string;
|
|
1482
|
+
company: {
|
|
1483
|
+
id: string;
|
|
1484
|
+
name: string;
|
|
1485
|
+
};
|
|
1482
1486
|
client: {
|
|
1483
1487
|
id: string;
|
|
1484
1488
|
name: string;
|
|
@@ -1490,10 +1494,6 @@ export declare const collaborationsContractRouter: {
|
|
|
1490
1494
|
email: string;
|
|
1491
1495
|
};
|
|
1492
1496
|
userId: string;
|
|
1493
|
-
company: {
|
|
1494
|
-
id: string;
|
|
1495
|
-
name: string;
|
|
1496
|
-
};
|
|
1497
1497
|
newCollaboration?: {
|
|
1498
1498
|
id: string;
|
|
1499
1499
|
} | null | undefined;
|
|
@@ -1507,19 +1507,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1507
1507
|
path: z.ZodString;
|
|
1508
1508
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1509
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1510
|
-
statusCode: number;
|
|
1511
|
-
message: string;
|
|
1512
1510
|
code: string;
|
|
1513
|
-
timestamp: string;
|
|
1514
1511
|
path: string;
|
|
1512
|
+
message: string;
|
|
1513
|
+
statusCode: number;
|
|
1514
|
+
timestamp: string;
|
|
1515
1515
|
details?: unknown;
|
|
1516
1516
|
correlationId?: string | undefined;
|
|
1517
1517
|
}, {
|
|
1518
|
-
statusCode: number;
|
|
1519
|
-
message: string;
|
|
1520
1518
|
code: string;
|
|
1521
|
-
timestamp: string;
|
|
1522
1519
|
path: string;
|
|
1520
|
+
message: string;
|
|
1521
|
+
statusCode: number;
|
|
1522
|
+
timestamp: string;
|
|
1523
1523
|
details?: unknown;
|
|
1524
1524
|
correlationId?: string | undefined;
|
|
1525
1525
|
}>;
|
|
@@ -1544,9 +1544,9 @@ export declare const collaborationsContractRouter: {
|
|
|
1544
1544
|
body: z.ZodObject<{
|
|
1545
1545
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
1546
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1547
|
-
status?: "
|
|
1547
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1548
1548
|
}, {
|
|
1549
|
-
status?: "
|
|
1549
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1550
1550
|
}>;
|
|
1551
1551
|
path: "/v2/collaborations/:id";
|
|
1552
1552
|
responses: {
|
|
@@ -1559,19 +1559,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1559
1559
|
path: z.ZodString;
|
|
1560
1560
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1561
1561
|
}, "strip", z.ZodTypeAny, {
|
|
1562
|
-
statusCode: number;
|
|
1563
|
-
message: string;
|
|
1564
1562
|
code: string;
|
|
1565
|
-
timestamp: string;
|
|
1566
1563
|
path: string;
|
|
1564
|
+
message: string;
|
|
1565
|
+
statusCode: number;
|
|
1566
|
+
timestamp: string;
|
|
1567
1567
|
details?: unknown;
|
|
1568
1568
|
correlationId?: string | undefined;
|
|
1569
1569
|
}, {
|
|
1570
|
-
statusCode: number;
|
|
1571
|
-
message: string;
|
|
1572
1570
|
code: string;
|
|
1573
|
-
timestamp: string;
|
|
1574
1571
|
path: string;
|
|
1572
|
+
message: string;
|
|
1573
|
+
statusCode: number;
|
|
1574
|
+
timestamp: string;
|
|
1575
1575
|
details?: unknown;
|
|
1576
1576
|
correlationId?: string | undefined;
|
|
1577
1577
|
}>;
|
|
@@ -1584,19 +1584,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1584
1584
|
path: z.ZodString;
|
|
1585
1585
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1586
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1587
|
-
statusCode: number;
|
|
1588
|
-
message: string;
|
|
1589
1587
|
code: string;
|
|
1590
|
-
timestamp: string;
|
|
1591
1588
|
path: string;
|
|
1589
|
+
message: string;
|
|
1590
|
+
statusCode: number;
|
|
1591
|
+
timestamp: string;
|
|
1592
1592
|
details?: unknown;
|
|
1593
1593
|
correlationId?: string | undefined;
|
|
1594
1594
|
}, {
|
|
1595
|
-
statusCode: number;
|
|
1596
|
-
message: string;
|
|
1597
1595
|
code: string;
|
|
1598
|
-
timestamp: string;
|
|
1599
1596
|
path: string;
|
|
1597
|
+
message: string;
|
|
1598
|
+
statusCode: number;
|
|
1599
|
+
timestamp: string;
|
|
1600
1600
|
details?: unknown;
|
|
1601
1601
|
correlationId?: string | undefined;
|
|
1602
1602
|
}>;
|
|
@@ -1609,19 +1609,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1609
1609
|
path: z.ZodString;
|
|
1610
1610
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1611
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1612
|
-
statusCode: number;
|
|
1613
|
-
message: string;
|
|
1614
1612
|
code: string;
|
|
1615
|
-
timestamp: string;
|
|
1616
1613
|
path: string;
|
|
1614
|
+
message: string;
|
|
1615
|
+
statusCode: number;
|
|
1616
|
+
timestamp: string;
|
|
1617
1617
|
details?: unknown;
|
|
1618
1618
|
correlationId?: string | undefined;
|
|
1619
1619
|
}, {
|
|
1620
|
-
statusCode: number;
|
|
1621
|
-
message: string;
|
|
1622
1620
|
code: string;
|
|
1623
|
-
timestamp: string;
|
|
1624
1621
|
path: string;
|
|
1622
|
+
message: string;
|
|
1623
|
+
statusCode: number;
|
|
1624
|
+
timestamp: string;
|
|
1625
1625
|
details?: unknown;
|
|
1626
1626
|
correlationId?: string | undefined;
|
|
1627
1627
|
}>;
|
|
@@ -1634,19 +1634,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1634
1634
|
path: z.ZodString;
|
|
1635
1635
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
-
statusCode: number;
|
|
1638
|
-
message: string;
|
|
1639
1637
|
code: string;
|
|
1640
|
-
timestamp: string;
|
|
1641
1638
|
path: string;
|
|
1639
|
+
message: string;
|
|
1640
|
+
statusCode: number;
|
|
1641
|
+
timestamp: string;
|
|
1642
1642
|
details?: unknown;
|
|
1643
1643
|
correlationId?: string | undefined;
|
|
1644
1644
|
}, {
|
|
1645
|
-
statusCode: number;
|
|
1646
|
-
message: string;
|
|
1647
1645
|
code: string;
|
|
1648
|
-
timestamp: string;
|
|
1649
1646
|
path: string;
|
|
1647
|
+
message: string;
|
|
1648
|
+
statusCode: number;
|
|
1649
|
+
timestamp: string;
|
|
1650
1650
|
details?: unknown;
|
|
1651
1651
|
correlationId?: string | undefined;
|
|
1652
1652
|
}>;
|
|
@@ -1700,10 +1700,14 @@ export declare const collaborationsContractRouter: {
|
|
|
1700
1700
|
id: string;
|
|
1701
1701
|
}>>>;
|
|
1702
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1703
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1704
|
-
id: string;
|
|
1705
1703
|
createdAt: string;
|
|
1706
1704
|
updatedAt: string;
|
|
1705
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1706
|
+
id: string;
|
|
1707
|
+
company: {
|
|
1708
|
+
id: string;
|
|
1709
|
+
name: string;
|
|
1710
|
+
};
|
|
1707
1711
|
client: {
|
|
1708
1712
|
id: string;
|
|
1709
1713
|
name: string;
|
|
@@ -1715,18 +1719,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1715
1719
|
email: string;
|
|
1716
1720
|
};
|
|
1717
1721
|
userId: string;
|
|
1718
|
-
company: {
|
|
1719
|
-
id: string;
|
|
1720
|
-
name: string;
|
|
1721
|
-
};
|
|
1722
1722
|
newCollaboration?: {
|
|
1723
1723
|
id: string;
|
|
1724
1724
|
} | null | undefined;
|
|
1725
1725
|
}, {
|
|
1726
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1727
|
-
id: string;
|
|
1728
1726
|
createdAt: string | Date;
|
|
1729
1727
|
updatedAt: string | Date;
|
|
1728
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1729
|
+
id: string;
|
|
1730
|
+
company: {
|
|
1731
|
+
id: string;
|
|
1732
|
+
name: string;
|
|
1733
|
+
};
|
|
1730
1734
|
client: {
|
|
1731
1735
|
id: string;
|
|
1732
1736
|
name: string;
|
|
@@ -1738,10 +1742,6 @@ export declare const collaborationsContractRouter: {
|
|
|
1738
1742
|
email: string;
|
|
1739
1743
|
};
|
|
1740
1744
|
userId: string;
|
|
1741
|
-
company: {
|
|
1742
|
-
id: string;
|
|
1743
|
-
name: string;
|
|
1744
|
-
};
|
|
1745
1745
|
newCollaboration?: {
|
|
1746
1746
|
id: string;
|
|
1747
1747
|
} | null | undefined;
|
|
@@ -1755,19 +1755,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1755
1755
|
path: z.ZodString;
|
|
1756
1756
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1757
1757
|
}, "strip", z.ZodTypeAny, {
|
|
1758
|
-
statusCode: number;
|
|
1759
|
-
message: string;
|
|
1760
1758
|
code: string;
|
|
1761
|
-
timestamp: string;
|
|
1762
1759
|
path: string;
|
|
1760
|
+
message: string;
|
|
1761
|
+
statusCode: number;
|
|
1762
|
+
timestamp: string;
|
|
1763
1763
|
details?: unknown;
|
|
1764
1764
|
correlationId?: string | undefined;
|
|
1765
1765
|
}, {
|
|
1766
|
-
statusCode: number;
|
|
1767
|
-
message: string;
|
|
1768
1766
|
code: string;
|
|
1769
|
-
timestamp: string;
|
|
1770
1767
|
path: string;
|
|
1768
|
+
message: string;
|
|
1769
|
+
statusCode: number;
|
|
1770
|
+
timestamp: string;
|
|
1771
1771
|
details?: unknown;
|
|
1772
1772
|
correlationId?: string | undefined;
|
|
1773
1773
|
}>;
|
|
@@ -1780,19 +1780,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1780
1780
|
path: z.ZodString;
|
|
1781
1781
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1782
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1783
|
-
statusCode: number;
|
|
1784
|
-
message: string;
|
|
1785
1783
|
code: string;
|
|
1786
|
-
timestamp: string;
|
|
1787
1784
|
path: string;
|
|
1785
|
+
message: string;
|
|
1786
|
+
statusCode: number;
|
|
1787
|
+
timestamp: string;
|
|
1788
1788
|
details?: unknown;
|
|
1789
1789
|
correlationId?: string | undefined;
|
|
1790
1790
|
}, {
|
|
1791
|
-
statusCode: number;
|
|
1792
|
-
message: string;
|
|
1793
1791
|
code: string;
|
|
1794
|
-
timestamp: string;
|
|
1795
1792
|
path: string;
|
|
1793
|
+
message: string;
|
|
1794
|
+
statusCode: number;
|
|
1795
|
+
timestamp: string;
|
|
1796
1796
|
details?: unknown;
|
|
1797
1797
|
correlationId?: string | undefined;
|
|
1798
1798
|
}>;
|
|
@@ -1826,19 +1826,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1826
1826
|
path: z.ZodString;
|
|
1827
1827
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1828
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1829
|
-
statusCode: number;
|
|
1830
|
-
message: string;
|
|
1831
1829
|
code: string;
|
|
1832
|
-
timestamp: string;
|
|
1833
1830
|
path: string;
|
|
1831
|
+
message: string;
|
|
1832
|
+
statusCode: number;
|
|
1833
|
+
timestamp: string;
|
|
1834
1834
|
details?: unknown;
|
|
1835
1835
|
correlationId?: string | undefined;
|
|
1836
1836
|
}, {
|
|
1837
|
-
statusCode: number;
|
|
1838
|
-
message: string;
|
|
1839
1837
|
code: string;
|
|
1840
|
-
timestamp: string;
|
|
1841
1838
|
path: string;
|
|
1839
|
+
message: string;
|
|
1840
|
+
statusCode: number;
|
|
1841
|
+
timestamp: string;
|
|
1842
1842
|
details?: unknown;
|
|
1843
1843
|
correlationId?: string | undefined;
|
|
1844
1844
|
}>;
|
|
@@ -1851,19 +1851,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1851
1851
|
path: z.ZodString;
|
|
1852
1852
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1853
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1854
|
-
statusCode: number;
|
|
1855
|
-
message: string;
|
|
1856
1854
|
code: string;
|
|
1857
|
-
timestamp: string;
|
|
1858
1855
|
path: string;
|
|
1856
|
+
message: string;
|
|
1857
|
+
statusCode: number;
|
|
1858
|
+
timestamp: string;
|
|
1859
1859
|
details?: unknown;
|
|
1860
1860
|
correlationId?: string | undefined;
|
|
1861
1861
|
}, {
|
|
1862
|
-
statusCode: number;
|
|
1863
|
-
message: string;
|
|
1864
1862
|
code: string;
|
|
1865
|
-
timestamp: string;
|
|
1866
1863
|
path: string;
|
|
1864
|
+
message: string;
|
|
1865
|
+
statusCode: number;
|
|
1866
|
+
timestamp: string;
|
|
1867
1867
|
details?: unknown;
|
|
1868
1868
|
correlationId?: string | undefined;
|
|
1869
1869
|
}>;
|
|
@@ -1876,19 +1876,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1876
1876
|
path: z.ZodString;
|
|
1877
1877
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1878
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1879
|
-
statusCode: number;
|
|
1880
|
-
message: string;
|
|
1881
1879
|
code: string;
|
|
1882
|
-
timestamp: string;
|
|
1883
1880
|
path: string;
|
|
1881
|
+
message: string;
|
|
1882
|
+
statusCode: number;
|
|
1883
|
+
timestamp: string;
|
|
1884
1884
|
details?: unknown;
|
|
1885
1885
|
correlationId?: string | undefined;
|
|
1886
1886
|
}, {
|
|
1887
|
-
statusCode: number;
|
|
1888
|
-
message: string;
|
|
1889
1887
|
code: string;
|
|
1890
|
-
timestamp: string;
|
|
1891
1888
|
path: string;
|
|
1889
|
+
message: string;
|
|
1890
|
+
statusCode: number;
|
|
1891
|
+
timestamp: string;
|
|
1892
1892
|
details?: unknown;
|
|
1893
1893
|
correlationId?: string | undefined;
|
|
1894
1894
|
}>;
|
|
@@ -1901,19 +1901,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1901
1901
|
path: z.ZodString;
|
|
1902
1902
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1903
1903
|
}, "strip", z.ZodTypeAny, {
|
|
1904
|
-
statusCode: number;
|
|
1905
|
-
message: string;
|
|
1906
1904
|
code: string;
|
|
1907
|
-
timestamp: string;
|
|
1908
1905
|
path: string;
|
|
1906
|
+
message: string;
|
|
1907
|
+
statusCode: number;
|
|
1908
|
+
timestamp: string;
|
|
1909
1909
|
details?: unknown;
|
|
1910
1910
|
correlationId?: string | undefined;
|
|
1911
1911
|
}, {
|
|
1912
|
-
statusCode: number;
|
|
1913
|
-
message: string;
|
|
1914
1912
|
code: string;
|
|
1915
|
-
timestamp: string;
|
|
1916
1913
|
path: string;
|
|
1914
|
+
message: string;
|
|
1915
|
+
statusCode: number;
|
|
1916
|
+
timestamp: string;
|
|
1917
1917
|
details?: unknown;
|
|
1918
1918
|
correlationId?: string | undefined;
|
|
1919
1919
|
}>;
|
|
@@ -1927,19 +1927,19 @@ export declare const collaborationsContractRouter: {
|
|
|
1927
1927
|
path: z.ZodString;
|
|
1928
1928
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1929
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1930
|
-
statusCode: number;
|
|
1931
|
-
message: string;
|
|
1932
1930
|
code: string;
|
|
1933
|
-
timestamp: string;
|
|
1934
1931
|
path: string;
|
|
1932
|
+
message: string;
|
|
1933
|
+
statusCode: number;
|
|
1934
|
+
timestamp: string;
|
|
1935
1935
|
details?: unknown;
|
|
1936
1936
|
correlationId?: string | undefined;
|
|
1937
1937
|
}, {
|
|
1938
|
-
statusCode: number;
|
|
1939
|
-
message: string;
|
|
1940
1938
|
code: string;
|
|
1941
|
-
timestamp: string;
|
|
1942
1939
|
path: string;
|
|
1940
|
+
message: string;
|
|
1941
|
+
statusCode: number;
|
|
1942
|
+
timestamp: string;
|
|
1943
1943
|
details?: unknown;
|
|
1944
1944
|
correlationId?: string | undefined;
|
|
1945
1945
|
}>;
|
|
@@ -1978,24 +1978,24 @@ export declare const collaborationsContractRouter: {
|
|
|
1978
1978
|
}>>;
|
|
1979
1979
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
|
|
1980
1980
|
}, "strip", z.ZodTypeAny, {
|
|
1981
|
-
|
|
1981
|
+
company: {
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
};
|
|
1984
|
-
|
|
1984
|
+
client: {
|
|
1985
1985
|
id: string;
|
|
1986
1986
|
};
|
|
1987
|
-
status?: "
|
|
1987
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1988
1988
|
user?: {
|
|
1989
1989
|
id: string;
|
|
1990
1990
|
} | undefined;
|
|
1991
1991
|
}, {
|
|
1992
|
-
|
|
1992
|
+
company: {
|
|
1993
1993
|
id: string;
|
|
1994
1994
|
};
|
|
1995
|
-
|
|
1995
|
+
client: {
|
|
1996
1996
|
id: string;
|
|
1997
1997
|
};
|
|
1998
|
-
status?: "
|
|
1998
|
+
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1999
1999
|
user?: {
|
|
2000
2000
|
id: string;
|
|
2001
2001
|
} | undefined;
|
|
@@ -2011,19 +2011,19 @@ export declare const collaborationsContractRouter: {
|
|
|
2011
2011
|
path: z.ZodString;
|
|
2012
2012
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2013
2013
|
}, "strip", z.ZodTypeAny, {
|
|
2014
|
-
statusCode: number;
|
|
2015
|
-
message: string;
|
|
2016
2014
|
code: string;
|
|
2017
|
-
timestamp: string;
|
|
2018
2015
|
path: string;
|
|
2016
|
+
message: string;
|
|
2017
|
+
statusCode: number;
|
|
2018
|
+
timestamp: string;
|
|
2019
2019
|
details?: unknown;
|
|
2020
2020
|
correlationId?: string | undefined;
|
|
2021
2021
|
}, {
|
|
2022
|
-
statusCode: number;
|
|
2023
|
-
message: string;
|
|
2024
2022
|
code: string;
|
|
2025
|
-
timestamp: string;
|
|
2026
2023
|
path: string;
|
|
2024
|
+
message: string;
|
|
2025
|
+
statusCode: number;
|
|
2026
|
+
timestamp: string;
|
|
2027
2027
|
details?: unknown;
|
|
2028
2028
|
correlationId?: string | undefined;
|
|
2029
2029
|
}>;
|
|
@@ -2036,19 +2036,19 @@ export declare const collaborationsContractRouter: {
|
|
|
2036
2036
|
path: z.ZodString;
|
|
2037
2037
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2038
2038
|
}, "strip", z.ZodTypeAny, {
|
|
2039
|
-
statusCode: number;
|
|
2040
|
-
message: string;
|
|
2041
2039
|
code: string;
|
|
2042
|
-
timestamp: string;
|
|
2043
2040
|
path: string;
|
|
2041
|
+
message: string;
|
|
2042
|
+
statusCode: number;
|
|
2043
|
+
timestamp: string;
|
|
2044
2044
|
details?: unknown;
|
|
2045
2045
|
correlationId?: string | undefined;
|
|
2046
2046
|
}, {
|
|
2047
|
-
statusCode: number;
|
|
2048
|
-
message: string;
|
|
2049
2047
|
code: string;
|
|
2050
|
-
timestamp: string;
|
|
2051
2048
|
path: string;
|
|
2049
|
+
message: string;
|
|
2050
|
+
statusCode: number;
|
|
2051
|
+
timestamp: string;
|
|
2052
2052
|
details?: unknown;
|
|
2053
2053
|
correlationId?: string | undefined;
|
|
2054
2054
|
}>;
|
|
@@ -2061,19 +2061,19 @@ export declare const collaborationsContractRouter: {
|
|
|
2061
2061
|
path: z.ZodString;
|
|
2062
2062
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2063
2063
|
}, "strip", z.ZodTypeAny, {
|
|
2064
|
-
statusCode: number;
|
|
2065
|
-
message: string;
|
|
2066
2064
|
code: string;
|
|
2067
|
-
timestamp: string;
|
|
2068
2065
|
path: string;
|
|
2066
|
+
message: string;
|
|
2067
|
+
statusCode: number;
|
|
2068
|
+
timestamp: string;
|
|
2069
2069
|
details?: unknown;
|
|
2070
2070
|
correlationId?: string | undefined;
|
|
2071
2071
|
}, {
|
|
2072
|
-
statusCode: number;
|
|
2073
|
-
message: string;
|
|
2074
2072
|
code: string;
|
|
2075
|
-
timestamp: string;
|
|
2076
2073
|
path: string;
|
|
2074
|
+
message: string;
|
|
2075
|
+
statusCode: number;
|
|
2076
|
+
timestamp: string;
|
|
2077
2077
|
details?: unknown;
|
|
2078
2078
|
correlationId?: string | undefined;
|
|
2079
2079
|
}>;
|
|
@@ -2086,19 +2086,19 @@ export declare const collaborationsContractRouter: {
|
|
|
2086
2086
|
path: z.ZodString;
|
|
2087
2087
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2088
2088
|
}, "strip", z.ZodTypeAny, {
|
|
2089
|
-
statusCode: number;
|
|
2090
|
-
message: string;
|
|
2091
2089
|
code: string;
|
|
2092
|
-
timestamp: string;
|
|
2093
2090
|
path: string;
|
|
2091
|
+
message: string;
|
|
2092
|
+
statusCode: number;
|
|
2093
|
+
timestamp: string;
|
|
2094
2094
|
details?: unknown;
|
|
2095
2095
|
correlationId?: string | undefined;
|
|
2096
2096
|
}, {
|
|
2097
|
-
statusCode: number;
|
|
2098
|
-
message: string;
|
|
2099
2097
|
code: string;
|
|
2100
|
-
timestamp: string;
|
|
2101
2098
|
path: string;
|
|
2099
|
+
message: string;
|
|
2100
|
+
statusCode: number;
|
|
2101
|
+
timestamp: string;
|
|
2102
2102
|
details?: unknown;
|
|
2103
2103
|
correlationId?: string | undefined;
|
|
2104
2104
|
}>;
|
|
@@ -2152,10 +2152,14 @@ export declare const collaborationsContractRouter: {
|
|
|
2152
2152
|
id: string;
|
|
2153
2153
|
}>>>;
|
|
2154
2154
|
}, "strip", z.ZodTypeAny, {
|
|
2155
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2156
|
-
id: string;
|
|
2157
2155
|
createdAt: string;
|
|
2158
2156
|
updatedAt: string;
|
|
2157
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2158
|
+
id: string;
|
|
2159
|
+
company: {
|
|
2160
|
+
id: string;
|
|
2161
|
+
name: string;
|
|
2162
|
+
};
|
|
2159
2163
|
client: {
|
|
2160
2164
|
id: string;
|
|
2161
2165
|
name: string;
|
|
@@ -2167,18 +2171,18 @@ export declare const collaborationsContractRouter: {
|
|
|
2167
2171
|
email: string;
|
|
2168
2172
|
};
|
|
2169
2173
|
userId: string;
|
|
2170
|
-
company: {
|
|
2171
|
-
id: string;
|
|
2172
|
-
name: string;
|
|
2173
|
-
};
|
|
2174
2174
|
newCollaboration?: {
|
|
2175
2175
|
id: string;
|
|
2176
2176
|
} | null | undefined;
|
|
2177
2177
|
}, {
|
|
2178
|
-
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2179
|
-
id: string;
|
|
2180
2178
|
createdAt: string | Date;
|
|
2181
2179
|
updatedAt: string | Date;
|
|
2180
|
+
status: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
2181
|
+
id: string;
|
|
2182
|
+
company: {
|
|
2183
|
+
id: string;
|
|
2184
|
+
name: string;
|
|
2185
|
+
};
|
|
2182
2186
|
client: {
|
|
2183
2187
|
id: string;
|
|
2184
2188
|
name: string;
|
|
@@ -2190,10 +2194,6 @@ export declare const collaborationsContractRouter: {
|
|
|
2190
2194
|
email: string;
|
|
2191
2195
|
};
|
|
2192
2196
|
userId: string;
|
|
2193
|
-
company: {
|
|
2194
|
-
id: string;
|
|
2195
|
-
name: string;
|
|
2196
|
-
};
|
|
2197
2197
|
newCollaboration?: {
|
|
2198
2198
|
id: string;
|
|
2199
2199
|
} | null | undefined;
|
|
@@ -2207,19 +2207,19 @@ export declare const collaborationsContractRouter: {
|
|
|
2207
2207
|
path: z.ZodString;
|
|
2208
2208
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2209
2209
|
}, "strip", z.ZodTypeAny, {
|
|
2210
|
-
statusCode: number;
|
|
2211
|
-
message: string;
|
|
2212
2210
|
code: string;
|
|
2213
|
-
timestamp: string;
|
|
2214
2211
|
path: string;
|
|
2212
|
+
message: string;
|
|
2213
|
+
statusCode: number;
|
|
2214
|
+
timestamp: string;
|
|
2215
2215
|
details?: unknown;
|
|
2216
2216
|
correlationId?: string | undefined;
|
|
2217
2217
|
}, {
|
|
2218
|
-
statusCode: number;
|
|
2219
|
-
message: string;
|
|
2220
2218
|
code: string;
|
|
2221
|
-
timestamp: string;
|
|
2222
2219
|
path: string;
|
|
2220
|
+
message: string;
|
|
2221
|
+
statusCode: number;
|
|
2222
|
+
timestamp: string;
|
|
2223
2223
|
details?: unknown;
|
|
2224
2224
|
correlationId?: string | undefined;
|
|
2225
2225
|
}>;
|