@dakkitor/api-contracts 1.1.11 → 1.1.13
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 +75 -76
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +15 -15
- package/dist/agent-client-links/agent-client-links.contract.d.ts +320 -316
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +6 -6
- package/dist/auth/auth.contract.d.ts +2 -2
- package/dist/bookings/bookings.contract.d.ts +328 -328
- package/dist/call-history/call-history.contract.d.ts +205 -205
- package/dist/client-contacts/client-contacts.contract.d.ts +334 -332
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +3 -3
- package/dist/clients/clients.contract.d.ts +196 -196
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +404 -404
- package/dist/collaborations/collaborations.contract.d.ts +379 -379
- package/dist/common/error-schemas.d.ts +7 -7
- package/dist/common/error-schemas.d.ts.map +1 -1
- package/dist/companies/companies.contract.d.ts +214 -214
- package/dist/cron-executions/cron-executions.contract.d.ts +206 -206
- package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +124 -124
- package/dist/files/files.contract.d.ts +216 -216
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +971 -971
- package/dist/jobs/jobs.contract.d.ts +210 -210
- package/dist/lead-assignments/lead-assignments.contract.d.ts +248 -248
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +40 -40
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +153 -153
- package/dist/leads/leads.contract.d.ts +246 -246
- package/dist/locations/locations.contract.d.ts +143 -143
- package/dist/postcodes/postcodes.contract.d.ts +56 -56
- package/dist/qualifications/qualifications.contract.d.ts +248 -248
- package/dist/trades/trades.contract.d.ts +156 -156
- package/dist/users/users.contract.d.ts +68 -64
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +8 -8
- package/dist/workers/workers.contract.d.ts +226 -226
- package/package.json +1 -1
|
@@ -62,14 +62,10 @@ 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;
|
|
65
67
|
createdAt: string;
|
|
66
68
|
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
|
-
};
|
|
73
69
|
client: {
|
|
74
70
|
id: string;
|
|
75
71
|
name: string;
|
|
@@ -81,18 +77,18 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
81
77
|
email: string;
|
|
82
78
|
};
|
|
83
79
|
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;
|
|
88
90
|
createdAt: string | Date;
|
|
89
91
|
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
|
-
};
|
|
96
92
|
client: {
|
|
97
93
|
id: string;
|
|
98
94
|
name: string;
|
|
@@ -104,6 +100,10 @@ export declare const CollaborationSchema: z.ZodObject<{
|
|
|
104
100
|
email: string;
|
|
105
101
|
};
|
|
106
102
|
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
|
+
client: {
|
|
139
139
|
id: string;
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
company: {
|
|
142
142
|
id: string;
|
|
143
143
|
};
|
|
144
|
-
status?: "
|
|
144
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
145
145
|
user?: {
|
|
146
146
|
id: string;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
|
|
149
|
+
client: {
|
|
150
150
|
id: string;
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
company: {
|
|
153
153
|
id: string;
|
|
154
154
|
};
|
|
155
|
-
status?: "
|
|
155
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
167
167
|
}, {
|
|
168
|
-
status?: "
|
|
168
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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
|
+
client: {
|
|
198
198
|
id: string;
|
|
199
199
|
};
|
|
200
|
-
|
|
200
|
+
company: {
|
|
201
201
|
id: string;
|
|
202
202
|
};
|
|
203
|
-
status?: "
|
|
203
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
204
204
|
user?: {
|
|
205
205
|
id: string;
|
|
206
206
|
} | undefined;
|
|
207
207
|
}, {
|
|
208
|
-
|
|
208
|
+
client: {
|
|
209
209
|
id: string;
|
|
210
210
|
};
|
|
211
|
-
|
|
211
|
+
company: {
|
|
212
212
|
id: string;
|
|
213
213
|
};
|
|
214
|
-
status?: "
|
|
214
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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
|
-
userId?: string | null | undefined;
|
|
237
|
-
companyId?: string | null | undefined;
|
|
235
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
238
236
|
clientId?: string | null | undefined;
|
|
239
|
-
sortBy?: "
|
|
237
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
240
238
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
243
239
|
userId?: string | null | undefined;
|
|
244
|
-
limit?: number | undefined;
|
|
245
|
-
page?: number | undefined;
|
|
246
240
|
companyId?: string | null | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
247
243
|
clientId?: string | null | undefined;
|
|
248
|
-
|
|
244
|
+
limit?: number | undefined;
|
|
245
|
+
page?: number | undefined;
|
|
246
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
249
247
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
248
|
+
userId?: string | null | undefined;
|
|
249
|
+
companyId?: string | null | undefined;
|
|
250
250
|
}>;
|
|
251
251
|
/**
|
|
252
252
|
* Collaboration Autocomplete Response Schema
|
|
@@ -279,9 +279,6 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
279
279
|
}>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
id: string;
|
|
282
|
-
company: {
|
|
283
|
-
name: string;
|
|
284
|
-
};
|
|
285
282
|
client: {
|
|
286
283
|
name: string;
|
|
287
284
|
};
|
|
@@ -289,11 +286,11 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
289
286
|
firstName: string;
|
|
290
287
|
lastName: string;
|
|
291
288
|
};
|
|
292
|
-
}, {
|
|
293
|
-
id: string;
|
|
294
289
|
company: {
|
|
295
290
|
name: string;
|
|
296
291
|
};
|
|
292
|
+
}, {
|
|
293
|
+
id: string;
|
|
297
294
|
client: {
|
|
298
295
|
name: string;
|
|
299
296
|
};
|
|
@@ -301,6 +298,9 @@ export declare const CollaborationAutocompleteResponseSchema: z.ZodObject<{
|
|
|
301
298
|
firstName: string;
|
|
302
299
|
lastName: string;
|
|
303
300
|
};
|
|
301
|
+
company: {
|
|
302
|
+
name: string;
|
|
303
|
+
};
|
|
304
304
|
}>;
|
|
305
305
|
export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
306
306
|
id: z.ZodString;
|
|
@@ -330,9 +330,6 @@ 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
|
-
};
|
|
336
333
|
client: {
|
|
337
334
|
name: string;
|
|
338
335
|
};
|
|
@@ -340,11 +337,11 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
340
337
|
firstName: string;
|
|
341
338
|
lastName: string;
|
|
342
339
|
};
|
|
343
|
-
}, {
|
|
344
|
-
id: string;
|
|
345
340
|
company: {
|
|
346
341
|
name: string;
|
|
347
342
|
};
|
|
343
|
+
}, {
|
|
344
|
+
id: string;
|
|
348
345
|
client: {
|
|
349
346
|
name: string;
|
|
350
347
|
};
|
|
@@ -352,6 +349,9 @@ export declare const CollaborationAutocompleteArraySchema: z.ZodArray<z.ZodObjec
|
|
|
352
349
|
firstName: string;
|
|
353
350
|
lastName: string;
|
|
354
351
|
};
|
|
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,14 +404,10 @@ 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;
|
|
407
409
|
createdAt: string;
|
|
408
410
|
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
|
-
};
|
|
415
411
|
client: {
|
|
416
412
|
id: string;
|
|
417
413
|
name: string;
|
|
@@ -423,18 +419,18 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
423
419
|
email: string;
|
|
424
420
|
};
|
|
425
421
|
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;
|
|
430
432
|
createdAt: string | Date;
|
|
431
433
|
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
|
-
};
|
|
438
434
|
client: {
|
|
439
435
|
id: string;
|
|
440
436
|
name: string;
|
|
@@ -446,6 +442,10 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
446
442
|
email: string;
|
|
447
443
|
};
|
|
448
444
|
userId: string;
|
|
445
|
+
company: {
|
|
446
|
+
id: string;
|
|
447
|
+
name: string;
|
|
448
|
+
};
|
|
449
449
|
newCollaboration?: {
|
|
450
450
|
id: string;
|
|
451
451
|
} | null | undefined;
|
|
@@ -456,16 +456,11 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
456
456
|
currentPage: z.ZodNumber;
|
|
457
457
|
totalPages: z.ZodNumber;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
limit: number;
|
|
460
459
|
items: {
|
|
460
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
461
|
+
id: string;
|
|
461
462
|
createdAt: string;
|
|
462
463
|
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
|
-
};
|
|
469
464
|
client: {
|
|
470
465
|
id: string;
|
|
471
466
|
name: string;
|
|
@@ -477,25 +472,25 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
477
472
|
email: string;
|
|
478
473
|
};
|
|
479
474
|
userId: string;
|
|
475
|
+
company: {
|
|
476
|
+
id: string;
|
|
477
|
+
name: string;
|
|
478
|
+
};
|
|
480
479
|
newCollaboration?: {
|
|
481
480
|
id: string;
|
|
482
481
|
} | null | undefined;
|
|
483
482
|
}[];
|
|
484
483
|
totalCount: number;
|
|
484
|
+
limit: number;
|
|
485
485
|
skip: number;
|
|
486
486
|
currentPage: number;
|
|
487
487
|
totalPages: number;
|
|
488
488
|
}, {
|
|
489
|
-
limit: number;
|
|
490
489
|
items: {
|
|
490
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
491
|
+
id: string;
|
|
491
492
|
createdAt: string | Date;
|
|
492
493
|
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
|
-
};
|
|
499
494
|
client: {
|
|
500
495
|
id: string;
|
|
501
496
|
name: string;
|
|
@@ -507,11 +502,16 @@ export declare const PaginatedCollaborationResponseSchema: z.ZodObject<{
|
|
|
507
502
|
email: string;
|
|
508
503
|
};
|
|
509
504
|
userId: string;
|
|
505
|
+
company: {
|
|
506
|
+
id: string;
|
|
507
|
+
name: string;
|
|
508
|
+
};
|
|
510
509
|
newCollaboration?: {
|
|
511
510
|
id: string;
|
|
512
511
|
} | null | undefined;
|
|
513
512
|
}[];
|
|
514
513
|
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
|
+
client: {
|
|
562
562
|
id: string;
|
|
563
563
|
};
|
|
564
|
-
|
|
564
|
+
company: {
|
|
565
565
|
id: string;
|
|
566
566
|
};
|
|
567
|
-
status?: "
|
|
567
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
568
568
|
user?: {
|
|
569
569
|
id: string;
|
|
570
570
|
} | undefined;
|
|
571
571
|
}, {
|
|
572
|
-
|
|
572
|
+
client: {
|
|
573
573
|
id: string;
|
|
574
574
|
};
|
|
575
|
-
|
|
575
|
+
company: {
|
|
576
576
|
id: string;
|
|
577
577
|
};
|
|
578
|
-
status?: "
|
|
578
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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
|
-
code: string;
|
|
595
|
-
path: string;
|
|
596
|
-
message: string;
|
|
597
594
|
statusCode: number;
|
|
595
|
+
message: string;
|
|
596
|
+
code: string;
|
|
598
597
|
timestamp: string;
|
|
598
|
+
path: string;
|
|
599
599
|
details?: unknown;
|
|
600
600
|
correlationId?: string | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
code: string;
|
|
603
|
-
path: string;
|
|
604
|
-
message: string;
|
|
605
602
|
statusCode: number;
|
|
603
|
+
message: string;
|
|
604
|
+
code: string;
|
|
606
605
|
timestamp: string;
|
|
606
|
+
path: 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
|
-
code: string;
|
|
620
|
-
path: string;
|
|
621
|
-
message: string;
|
|
622
619
|
statusCode: number;
|
|
620
|
+
message: string;
|
|
621
|
+
code: string;
|
|
623
622
|
timestamp: string;
|
|
623
|
+
path: string;
|
|
624
624
|
details?: unknown;
|
|
625
625
|
correlationId?: string | undefined;
|
|
626
626
|
}, {
|
|
627
|
-
code: string;
|
|
628
|
-
path: string;
|
|
629
|
-
message: string;
|
|
630
627
|
statusCode: number;
|
|
628
|
+
message: string;
|
|
629
|
+
code: string;
|
|
631
630
|
timestamp: string;
|
|
631
|
+
path: 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
|
-
code: string;
|
|
645
|
-
path: string;
|
|
646
|
-
message: string;
|
|
647
644
|
statusCode: number;
|
|
645
|
+
message: string;
|
|
646
|
+
code: string;
|
|
648
647
|
timestamp: string;
|
|
648
|
+
path: string;
|
|
649
649
|
details?: unknown;
|
|
650
650
|
correlationId?: string | undefined;
|
|
651
651
|
}, {
|
|
652
|
-
code: string;
|
|
653
|
-
path: string;
|
|
654
|
-
message: string;
|
|
655
652
|
statusCode: number;
|
|
653
|
+
message: string;
|
|
654
|
+
code: string;
|
|
656
655
|
timestamp: string;
|
|
656
|
+
path: 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
|
-
code: string;
|
|
670
|
-
path: string;
|
|
671
|
-
message: string;
|
|
672
669
|
statusCode: number;
|
|
670
|
+
message: string;
|
|
671
|
+
code: string;
|
|
673
672
|
timestamp: string;
|
|
673
|
+
path: string;
|
|
674
674
|
details?: unknown;
|
|
675
675
|
correlationId?: string | undefined;
|
|
676
676
|
}, {
|
|
677
|
-
code: string;
|
|
678
|
-
path: string;
|
|
679
|
-
message: string;
|
|
680
677
|
statusCode: number;
|
|
678
|
+
message: string;
|
|
679
|
+
code: string;
|
|
681
680
|
timestamp: string;
|
|
681
|
+
path: string;
|
|
682
682
|
details?: unknown;
|
|
683
683
|
correlationId?: string | undefined;
|
|
684
684
|
}>;
|
|
@@ -732,14 +732,10 @@ 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;
|
|
735
737
|
createdAt: string;
|
|
736
738
|
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
|
-
};
|
|
743
739
|
client: {
|
|
744
740
|
id: string;
|
|
745
741
|
name: string;
|
|
@@ -751,18 +747,18 @@ export declare const collaborationsContractRouter: {
|
|
|
751
747
|
email: string;
|
|
752
748
|
};
|
|
753
749
|
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;
|
|
758
760
|
createdAt: string | Date;
|
|
759
761
|
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
|
-
};
|
|
766
762
|
client: {
|
|
767
763
|
id: string;
|
|
768
764
|
name: string;
|
|
@@ -774,6 +770,10 @@ export declare const collaborationsContractRouter: {
|
|
|
774
770
|
email: string;
|
|
775
771
|
};
|
|
776
772
|
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
|
-
code: string;
|
|
791
|
-
path: string;
|
|
792
|
-
message: string;
|
|
793
790
|
statusCode: number;
|
|
791
|
+
message: string;
|
|
792
|
+
code: string;
|
|
794
793
|
timestamp: string;
|
|
794
|
+
path: string;
|
|
795
795
|
details?: unknown;
|
|
796
796
|
correlationId?: string | undefined;
|
|
797
797
|
}, {
|
|
798
|
-
code: string;
|
|
799
|
-
path: string;
|
|
800
|
-
message: string;
|
|
801
798
|
statusCode: number;
|
|
799
|
+
message: string;
|
|
800
|
+
code: string;
|
|
802
801
|
timestamp: string;
|
|
802
|
+
path: 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
|
-
userId?: string | null | undefined;
|
|
830
|
-
companyId?: string | null | undefined;
|
|
828
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
831
829
|
clientId?: string | null | undefined;
|
|
832
|
-
sortBy?: "
|
|
830
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
833
831
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
834
|
-
}, {
|
|
835
|
-
status?: "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
836
832
|
userId?: string | null | undefined;
|
|
837
|
-
limit?: number | undefined;
|
|
838
|
-
page?: number | undefined;
|
|
839
833
|
companyId?: string | null | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
840
836
|
clientId?: string | null | undefined;
|
|
841
|
-
|
|
837
|
+
limit?: number | undefined;
|
|
838
|
+
page?: number | undefined;
|
|
839
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
842
840
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
841
|
+
userId?: string | null | undefined;
|
|
842
|
+
companyId?: string | 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
|
-
code: string;
|
|
858
|
-
path: string;
|
|
859
|
-
message: string;
|
|
860
857
|
statusCode: number;
|
|
858
|
+
message: string;
|
|
859
|
+
code: string;
|
|
861
860
|
timestamp: string;
|
|
861
|
+
path: string;
|
|
862
862
|
details?: unknown;
|
|
863
863
|
correlationId?: string | undefined;
|
|
864
864
|
}, {
|
|
865
|
-
code: string;
|
|
866
|
-
path: string;
|
|
867
|
-
message: string;
|
|
868
865
|
statusCode: number;
|
|
866
|
+
message: string;
|
|
867
|
+
code: string;
|
|
869
868
|
timestamp: string;
|
|
869
|
+
path: 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
|
-
code: string;
|
|
883
|
-
path: string;
|
|
884
|
-
message: string;
|
|
885
882
|
statusCode: number;
|
|
883
|
+
message: string;
|
|
884
|
+
code: string;
|
|
886
885
|
timestamp: string;
|
|
886
|
+
path: string;
|
|
887
887
|
details?: unknown;
|
|
888
888
|
correlationId?: string | undefined;
|
|
889
889
|
}, {
|
|
890
|
-
code: string;
|
|
891
|
-
path: string;
|
|
892
|
-
message: string;
|
|
893
890
|
statusCode: number;
|
|
891
|
+
message: string;
|
|
892
|
+
code: string;
|
|
894
893
|
timestamp: string;
|
|
894
|
+
path: 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
|
-
code: string;
|
|
908
|
-
path: string;
|
|
909
|
-
message: string;
|
|
910
907
|
statusCode: number;
|
|
908
|
+
message: string;
|
|
909
|
+
code: string;
|
|
911
910
|
timestamp: string;
|
|
911
|
+
path: string;
|
|
912
912
|
details?: unknown;
|
|
913
913
|
correlationId?: string | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
code: string;
|
|
916
|
-
path: string;
|
|
917
|
-
message: string;
|
|
918
915
|
statusCode: number;
|
|
916
|
+
message: string;
|
|
917
|
+
code: string;
|
|
919
918
|
timestamp: string;
|
|
919
|
+
path: 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
|
-
code: string;
|
|
933
|
-
path: string;
|
|
934
|
-
message: string;
|
|
935
932
|
statusCode: number;
|
|
933
|
+
message: string;
|
|
934
|
+
code: string;
|
|
936
935
|
timestamp: string;
|
|
936
|
+
path: string;
|
|
937
937
|
details?: unknown;
|
|
938
938
|
correlationId?: string | undefined;
|
|
939
939
|
}, {
|
|
940
|
-
code: string;
|
|
941
|
-
path: string;
|
|
942
|
-
message: string;
|
|
943
940
|
statusCode: number;
|
|
941
|
+
message: string;
|
|
942
|
+
code: string;
|
|
944
943
|
timestamp: string;
|
|
944
|
+
path: string;
|
|
945
945
|
details?: unknown;
|
|
946
946
|
correlationId?: string | undefined;
|
|
947
947
|
}>;
|
|
@@ -996,14 +996,10 @@ 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;
|
|
999
1001
|
createdAt: string;
|
|
1000
1002
|
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
|
-
};
|
|
1007
1003
|
client: {
|
|
1008
1004
|
id: string;
|
|
1009
1005
|
name: string;
|
|
@@ -1015,18 +1011,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1015
1011
|
email: string;
|
|
1016
1012
|
};
|
|
1017
1013
|
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;
|
|
1022
1024
|
createdAt: string | Date;
|
|
1023
1025
|
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
|
-
};
|
|
1030
1026
|
client: {
|
|
1031
1027
|
id: string;
|
|
1032
1028
|
name: string;
|
|
@@ -1038,6 +1034,10 @@ export declare const collaborationsContractRouter: {
|
|
|
1038
1034
|
email: string;
|
|
1039
1035
|
};
|
|
1040
1036
|
userId: string;
|
|
1037
|
+
company: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
name: string;
|
|
1040
|
+
};
|
|
1041
1041
|
newCollaboration?: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
} | null | undefined;
|
|
@@ -1048,16 +1048,11 @@ export declare const collaborationsContractRouter: {
|
|
|
1048
1048
|
currentPage: z.ZodNumber;
|
|
1049
1049
|
totalPages: z.ZodNumber;
|
|
1050
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
-
limit: number;
|
|
1052
1051
|
items: {
|
|
1052
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1053
|
+
id: string;
|
|
1053
1054
|
createdAt: string;
|
|
1054
1055
|
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
|
-
};
|
|
1061
1056
|
client: {
|
|
1062
1057
|
id: string;
|
|
1063
1058
|
name: string;
|
|
@@ -1069,25 +1064,25 @@ export declare const collaborationsContractRouter: {
|
|
|
1069
1064
|
email: string;
|
|
1070
1065
|
};
|
|
1071
1066
|
userId: string;
|
|
1067
|
+
company: {
|
|
1068
|
+
id: string;
|
|
1069
|
+
name: string;
|
|
1070
|
+
};
|
|
1072
1071
|
newCollaboration?: {
|
|
1073
1072
|
id: string;
|
|
1074
1073
|
} | null | undefined;
|
|
1075
1074
|
}[];
|
|
1076
1075
|
totalCount: number;
|
|
1076
|
+
limit: number;
|
|
1077
1077
|
skip: number;
|
|
1078
1078
|
currentPage: number;
|
|
1079
1079
|
totalPages: number;
|
|
1080
1080
|
}, {
|
|
1081
|
-
limit: number;
|
|
1082
1081
|
items: {
|
|
1082
|
+
status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
|
|
1083
|
+
id: string;
|
|
1083
1084
|
createdAt: string | Date;
|
|
1084
1085
|
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
|
-
};
|
|
1091
1086
|
client: {
|
|
1092
1087
|
id: string;
|
|
1093
1088
|
name: string;
|
|
@@ -1099,11 +1094,16 @@ export declare const collaborationsContractRouter: {
|
|
|
1099
1094
|
email: string;
|
|
1100
1095
|
};
|
|
1101
1096
|
userId: string;
|
|
1097
|
+
company: {
|
|
1098
|
+
id: string;
|
|
1099
|
+
name: string;
|
|
1100
|
+
};
|
|
1102
1101
|
newCollaboration?: {
|
|
1103
1102
|
id: string;
|
|
1104
1103
|
} | null | undefined;
|
|
1105
1104
|
}[];
|
|
1106
1105
|
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
|
-
id?: string | undefined;
|
|
1125
1124
|
query?: string | undefined;
|
|
1126
|
-
}, {
|
|
1127
1125
|
id?: string | undefined;
|
|
1126
|
+
}, {
|
|
1128
1127
|
query?: string | undefined;
|
|
1128
|
+
id?: 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
|
-
code: string;
|
|
1144
|
-
path: string;
|
|
1145
|
-
message: string;
|
|
1146
1143
|
statusCode: number;
|
|
1144
|
+
message: string;
|
|
1145
|
+
code: string;
|
|
1147
1146
|
timestamp: string;
|
|
1147
|
+
path: string;
|
|
1148
1148
|
details?: unknown;
|
|
1149
1149
|
correlationId?: string | undefined;
|
|
1150
1150
|
}, {
|
|
1151
|
-
code: string;
|
|
1152
|
-
path: string;
|
|
1153
|
-
message: string;
|
|
1154
1151
|
statusCode: number;
|
|
1152
|
+
message: string;
|
|
1153
|
+
code: string;
|
|
1155
1154
|
timestamp: string;
|
|
1155
|
+
path: 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
|
-
code: string;
|
|
1169
|
-
path: string;
|
|
1170
|
-
message: string;
|
|
1171
1168
|
statusCode: number;
|
|
1169
|
+
message: string;
|
|
1170
|
+
code: string;
|
|
1172
1171
|
timestamp: string;
|
|
1172
|
+
path: string;
|
|
1173
1173
|
details?: unknown;
|
|
1174
1174
|
correlationId?: string | undefined;
|
|
1175
1175
|
}, {
|
|
1176
|
-
code: string;
|
|
1177
|
-
path: string;
|
|
1178
|
-
message: string;
|
|
1179
1176
|
statusCode: number;
|
|
1177
|
+
message: string;
|
|
1178
|
+
code: string;
|
|
1180
1179
|
timestamp: string;
|
|
1180
|
+
path: 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
|
-
code: string;
|
|
1194
|
-
path: string;
|
|
1195
|
-
message: string;
|
|
1196
1193
|
statusCode: number;
|
|
1194
|
+
message: string;
|
|
1195
|
+
code: string;
|
|
1197
1196
|
timestamp: string;
|
|
1197
|
+
path: string;
|
|
1198
1198
|
details?: unknown;
|
|
1199
1199
|
correlationId?: string | undefined;
|
|
1200
1200
|
}, {
|
|
1201
|
-
code: string;
|
|
1202
|
-
path: string;
|
|
1203
|
-
message: string;
|
|
1204
1201
|
statusCode: number;
|
|
1202
|
+
message: string;
|
|
1203
|
+
code: string;
|
|
1205
1204
|
timestamp: string;
|
|
1205
|
+
path: 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
|
-
code: string;
|
|
1219
|
-
path: string;
|
|
1220
|
-
message: string;
|
|
1221
1218
|
statusCode: number;
|
|
1219
|
+
message: string;
|
|
1220
|
+
code: string;
|
|
1222
1221
|
timestamp: string;
|
|
1222
|
+
path: string;
|
|
1223
1223
|
details?: unknown;
|
|
1224
1224
|
correlationId?: string | undefined;
|
|
1225
1225
|
}, {
|
|
1226
|
-
code: string;
|
|
1227
|
-
path: string;
|
|
1228
|
-
message: string;
|
|
1229
1226
|
statusCode: number;
|
|
1227
|
+
message: string;
|
|
1228
|
+
code: string;
|
|
1230
1229
|
timestamp: string;
|
|
1230
|
+
path: string;
|
|
1231
1231
|
details?: unknown;
|
|
1232
1232
|
correlationId?: string | undefined;
|
|
1233
1233
|
}>;
|
|
@@ -1259,9 +1259,6 @@ export declare const collaborationsContractRouter: {
|
|
|
1259
1259
|
}>;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1261
|
id: string;
|
|
1262
|
-
company: {
|
|
1263
|
-
name: string;
|
|
1264
|
-
};
|
|
1265
1262
|
client: {
|
|
1266
1263
|
name: string;
|
|
1267
1264
|
};
|
|
@@ -1269,11 +1266,11 @@ export declare const collaborationsContractRouter: {
|
|
|
1269
1266
|
firstName: string;
|
|
1270
1267
|
lastName: string;
|
|
1271
1268
|
};
|
|
1272
|
-
}, {
|
|
1273
|
-
id: string;
|
|
1274
1269
|
company: {
|
|
1275
1270
|
name: string;
|
|
1276
1271
|
};
|
|
1272
|
+
}, {
|
|
1273
|
+
id: string;
|
|
1277
1274
|
client: {
|
|
1278
1275
|
name: string;
|
|
1279
1276
|
};
|
|
@@ -1281,6 +1278,9 @@ export declare const collaborationsContractRouter: {
|
|
|
1281
1278
|
firstName: string;
|
|
1282
1279
|
lastName: string;
|
|
1283
1280
|
};
|
|
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
|
-
code: string;
|
|
1315
|
-
path: string;
|
|
1316
|
-
message: string;
|
|
1317
1314
|
statusCode: number;
|
|
1315
|
+
message: string;
|
|
1316
|
+
code: string;
|
|
1318
1317
|
timestamp: string;
|
|
1318
|
+
path: string;
|
|
1319
1319
|
details?: unknown;
|
|
1320
1320
|
correlationId?: string | undefined;
|
|
1321
1321
|
}, {
|
|
1322
|
-
code: string;
|
|
1323
|
-
path: string;
|
|
1324
|
-
message: string;
|
|
1325
1322
|
statusCode: number;
|
|
1323
|
+
message: string;
|
|
1324
|
+
code: string;
|
|
1326
1325
|
timestamp: string;
|
|
1326
|
+
path: 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
|
-
code: string;
|
|
1340
|
-
path: string;
|
|
1341
|
-
message: string;
|
|
1342
1339
|
statusCode: number;
|
|
1340
|
+
message: string;
|
|
1341
|
+
code: string;
|
|
1343
1342
|
timestamp: string;
|
|
1343
|
+
path: string;
|
|
1344
1344
|
details?: unknown;
|
|
1345
1345
|
correlationId?: string | undefined;
|
|
1346
1346
|
}, {
|
|
1347
|
-
code: string;
|
|
1348
|
-
path: string;
|
|
1349
|
-
message: string;
|
|
1350
1347
|
statusCode: number;
|
|
1348
|
+
message: string;
|
|
1349
|
+
code: string;
|
|
1351
1350
|
timestamp: string;
|
|
1351
|
+
path: 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
|
-
code: string;
|
|
1365
|
-
path: string;
|
|
1366
|
-
message: string;
|
|
1367
1364
|
statusCode: number;
|
|
1365
|
+
message: string;
|
|
1366
|
+
code: string;
|
|
1368
1367
|
timestamp: string;
|
|
1368
|
+
path: string;
|
|
1369
1369
|
details?: unknown;
|
|
1370
1370
|
correlationId?: string | undefined;
|
|
1371
1371
|
}, {
|
|
1372
|
-
code: string;
|
|
1373
|
-
path: string;
|
|
1374
|
-
message: string;
|
|
1375
1372
|
statusCode: number;
|
|
1373
|
+
message: string;
|
|
1374
|
+
code: string;
|
|
1376
1375
|
timestamp: string;
|
|
1376
|
+
path: 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
|
-
code: string;
|
|
1390
|
-
path: string;
|
|
1391
|
-
message: string;
|
|
1392
1389
|
statusCode: number;
|
|
1390
|
+
message: string;
|
|
1391
|
+
code: string;
|
|
1393
1392
|
timestamp: string;
|
|
1393
|
+
path: string;
|
|
1394
1394
|
details?: unknown;
|
|
1395
1395
|
correlationId?: string | undefined;
|
|
1396
1396
|
}, {
|
|
1397
|
-
code: string;
|
|
1398
|
-
path: string;
|
|
1399
|
-
message: string;
|
|
1400
1397
|
statusCode: number;
|
|
1398
|
+
message: string;
|
|
1399
|
+
code: string;
|
|
1401
1400
|
timestamp: string;
|
|
1401
|
+
path: string;
|
|
1402
1402
|
details?: unknown;
|
|
1403
1403
|
correlationId?: string | undefined;
|
|
1404
1404
|
}>;
|
|
@@ -1452,14 +1452,10 @@ 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;
|
|
1455
1457
|
createdAt: string;
|
|
1456
1458
|
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
|
-
};
|
|
1463
1459
|
client: {
|
|
1464
1460
|
id: string;
|
|
1465
1461
|
name: string;
|
|
@@ -1471,18 +1467,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1471
1467
|
email: string;
|
|
1472
1468
|
};
|
|
1473
1469
|
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;
|
|
1478
1480
|
createdAt: string | Date;
|
|
1479
1481
|
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
|
-
};
|
|
1486
1482
|
client: {
|
|
1487
1483
|
id: string;
|
|
1488
1484
|
name: string;
|
|
@@ -1494,6 +1490,10 @@ export declare const collaborationsContractRouter: {
|
|
|
1494
1490
|
email: string;
|
|
1495
1491
|
};
|
|
1496
1492
|
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
|
-
code: string;
|
|
1511
|
-
path: string;
|
|
1512
|
-
message: string;
|
|
1513
1510
|
statusCode: number;
|
|
1511
|
+
message: string;
|
|
1512
|
+
code: string;
|
|
1514
1513
|
timestamp: string;
|
|
1514
|
+
path: string;
|
|
1515
1515
|
details?: unknown;
|
|
1516
1516
|
correlationId?: string | undefined;
|
|
1517
1517
|
}, {
|
|
1518
|
-
code: string;
|
|
1519
|
-
path: string;
|
|
1520
|
-
message: string;
|
|
1521
1518
|
statusCode: number;
|
|
1519
|
+
message: string;
|
|
1520
|
+
code: string;
|
|
1522
1521
|
timestamp: string;
|
|
1522
|
+
path: 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?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1548
1548
|
}, {
|
|
1549
|
-
status?: "
|
|
1549
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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
|
-
code: string;
|
|
1563
|
-
path: string;
|
|
1564
|
-
message: string;
|
|
1565
1562
|
statusCode: number;
|
|
1563
|
+
message: string;
|
|
1564
|
+
code: string;
|
|
1566
1565
|
timestamp: string;
|
|
1566
|
+
path: string;
|
|
1567
1567
|
details?: unknown;
|
|
1568
1568
|
correlationId?: string | undefined;
|
|
1569
1569
|
}, {
|
|
1570
|
-
code: string;
|
|
1571
|
-
path: string;
|
|
1572
|
-
message: string;
|
|
1573
1570
|
statusCode: number;
|
|
1571
|
+
message: string;
|
|
1572
|
+
code: string;
|
|
1574
1573
|
timestamp: string;
|
|
1574
|
+
path: 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
|
-
code: string;
|
|
1588
|
-
path: string;
|
|
1589
|
-
message: string;
|
|
1590
1587
|
statusCode: number;
|
|
1588
|
+
message: string;
|
|
1589
|
+
code: string;
|
|
1591
1590
|
timestamp: string;
|
|
1591
|
+
path: string;
|
|
1592
1592
|
details?: unknown;
|
|
1593
1593
|
correlationId?: string | undefined;
|
|
1594
1594
|
}, {
|
|
1595
|
-
code: string;
|
|
1596
|
-
path: string;
|
|
1597
|
-
message: string;
|
|
1598
1595
|
statusCode: number;
|
|
1596
|
+
message: string;
|
|
1597
|
+
code: string;
|
|
1599
1598
|
timestamp: string;
|
|
1599
|
+
path: 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
|
-
code: string;
|
|
1613
|
-
path: string;
|
|
1614
|
-
message: string;
|
|
1615
1612
|
statusCode: number;
|
|
1613
|
+
message: string;
|
|
1614
|
+
code: string;
|
|
1616
1615
|
timestamp: string;
|
|
1616
|
+
path: string;
|
|
1617
1617
|
details?: unknown;
|
|
1618
1618
|
correlationId?: string | undefined;
|
|
1619
1619
|
}, {
|
|
1620
|
-
code: string;
|
|
1621
|
-
path: string;
|
|
1622
|
-
message: string;
|
|
1623
1620
|
statusCode: number;
|
|
1621
|
+
message: string;
|
|
1622
|
+
code: string;
|
|
1624
1623
|
timestamp: string;
|
|
1624
|
+
path: 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
|
-
code: string;
|
|
1638
|
-
path: string;
|
|
1639
|
-
message: string;
|
|
1640
1637
|
statusCode: number;
|
|
1638
|
+
message: string;
|
|
1639
|
+
code: string;
|
|
1641
1640
|
timestamp: string;
|
|
1641
|
+
path: string;
|
|
1642
1642
|
details?: unknown;
|
|
1643
1643
|
correlationId?: string | undefined;
|
|
1644
1644
|
}, {
|
|
1645
|
-
code: string;
|
|
1646
|
-
path: string;
|
|
1647
|
-
message: string;
|
|
1648
1645
|
statusCode: number;
|
|
1646
|
+
message: string;
|
|
1647
|
+
code: string;
|
|
1649
1648
|
timestamp: string;
|
|
1649
|
+
path: string;
|
|
1650
1650
|
details?: unknown;
|
|
1651
1651
|
correlationId?: string | undefined;
|
|
1652
1652
|
}>;
|
|
@@ -1700,14 +1700,10 @@ 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;
|
|
1703
1705
|
createdAt: string;
|
|
1704
1706
|
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
|
-
};
|
|
1711
1707
|
client: {
|
|
1712
1708
|
id: string;
|
|
1713
1709
|
name: string;
|
|
@@ -1719,18 +1715,18 @@ export declare const collaborationsContractRouter: {
|
|
|
1719
1715
|
email: string;
|
|
1720
1716
|
};
|
|
1721
1717
|
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;
|
|
1726
1728
|
createdAt: string | Date;
|
|
1727
1729
|
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
|
-
};
|
|
1734
1730
|
client: {
|
|
1735
1731
|
id: string;
|
|
1736
1732
|
name: string;
|
|
@@ -1742,6 +1738,10 @@ export declare const collaborationsContractRouter: {
|
|
|
1742
1738
|
email: string;
|
|
1743
1739
|
};
|
|
1744
1740
|
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
|
-
code: string;
|
|
1759
|
-
path: string;
|
|
1760
|
-
message: string;
|
|
1761
1758
|
statusCode: number;
|
|
1759
|
+
message: string;
|
|
1760
|
+
code: string;
|
|
1762
1761
|
timestamp: string;
|
|
1762
|
+
path: string;
|
|
1763
1763
|
details?: unknown;
|
|
1764
1764
|
correlationId?: string | undefined;
|
|
1765
1765
|
}, {
|
|
1766
|
-
code: string;
|
|
1767
|
-
path: string;
|
|
1768
|
-
message: string;
|
|
1769
1766
|
statusCode: number;
|
|
1767
|
+
message: string;
|
|
1768
|
+
code: string;
|
|
1770
1769
|
timestamp: string;
|
|
1770
|
+
path: 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
|
-
code: string;
|
|
1784
|
-
path: string;
|
|
1785
|
-
message: string;
|
|
1786
1783
|
statusCode: number;
|
|
1784
|
+
message: string;
|
|
1785
|
+
code: string;
|
|
1787
1786
|
timestamp: string;
|
|
1787
|
+
path: string;
|
|
1788
1788
|
details?: unknown;
|
|
1789
1789
|
correlationId?: string | undefined;
|
|
1790
1790
|
}, {
|
|
1791
|
-
code: string;
|
|
1792
|
-
path: string;
|
|
1793
|
-
message: string;
|
|
1794
1791
|
statusCode: number;
|
|
1792
|
+
message: string;
|
|
1793
|
+
code: string;
|
|
1795
1794
|
timestamp: string;
|
|
1795
|
+
path: 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
|
-
code: string;
|
|
1830
|
-
path: string;
|
|
1831
|
-
message: string;
|
|
1832
1829
|
statusCode: number;
|
|
1830
|
+
message: string;
|
|
1831
|
+
code: string;
|
|
1833
1832
|
timestamp: string;
|
|
1833
|
+
path: string;
|
|
1834
1834
|
details?: unknown;
|
|
1835
1835
|
correlationId?: string | undefined;
|
|
1836
1836
|
}, {
|
|
1837
|
-
code: string;
|
|
1838
|
-
path: string;
|
|
1839
|
-
message: string;
|
|
1840
1837
|
statusCode: number;
|
|
1838
|
+
message: string;
|
|
1839
|
+
code: string;
|
|
1841
1840
|
timestamp: string;
|
|
1841
|
+
path: 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
|
-
code: string;
|
|
1855
|
-
path: string;
|
|
1856
|
-
message: string;
|
|
1857
1854
|
statusCode: number;
|
|
1855
|
+
message: string;
|
|
1856
|
+
code: string;
|
|
1858
1857
|
timestamp: string;
|
|
1858
|
+
path: string;
|
|
1859
1859
|
details?: unknown;
|
|
1860
1860
|
correlationId?: string | undefined;
|
|
1861
1861
|
}, {
|
|
1862
|
-
code: string;
|
|
1863
|
-
path: string;
|
|
1864
|
-
message: string;
|
|
1865
1862
|
statusCode: number;
|
|
1863
|
+
message: string;
|
|
1864
|
+
code: string;
|
|
1866
1865
|
timestamp: string;
|
|
1866
|
+
path: 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
|
-
code: string;
|
|
1880
|
-
path: string;
|
|
1881
|
-
message: string;
|
|
1882
1879
|
statusCode: number;
|
|
1880
|
+
message: string;
|
|
1881
|
+
code: string;
|
|
1883
1882
|
timestamp: string;
|
|
1883
|
+
path: string;
|
|
1884
1884
|
details?: unknown;
|
|
1885
1885
|
correlationId?: string | undefined;
|
|
1886
1886
|
}, {
|
|
1887
|
-
code: string;
|
|
1888
|
-
path: string;
|
|
1889
|
-
message: string;
|
|
1890
1887
|
statusCode: number;
|
|
1888
|
+
message: string;
|
|
1889
|
+
code: string;
|
|
1891
1890
|
timestamp: string;
|
|
1891
|
+
path: 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
|
-
code: string;
|
|
1905
|
-
path: string;
|
|
1906
|
-
message: string;
|
|
1907
1904
|
statusCode: number;
|
|
1905
|
+
message: string;
|
|
1906
|
+
code: string;
|
|
1908
1907
|
timestamp: string;
|
|
1908
|
+
path: string;
|
|
1909
1909
|
details?: unknown;
|
|
1910
1910
|
correlationId?: string | undefined;
|
|
1911
1911
|
}, {
|
|
1912
|
-
code: string;
|
|
1913
|
-
path: string;
|
|
1914
|
-
message: string;
|
|
1915
1912
|
statusCode: number;
|
|
1913
|
+
message: string;
|
|
1914
|
+
code: string;
|
|
1916
1915
|
timestamp: string;
|
|
1916
|
+
path: 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
|
-
code: string;
|
|
1931
|
-
path: string;
|
|
1932
|
-
message: string;
|
|
1933
1930
|
statusCode: number;
|
|
1931
|
+
message: string;
|
|
1932
|
+
code: string;
|
|
1934
1933
|
timestamp: string;
|
|
1934
|
+
path: string;
|
|
1935
1935
|
details?: unknown;
|
|
1936
1936
|
correlationId?: string | undefined;
|
|
1937
1937
|
}, {
|
|
1938
|
-
code: string;
|
|
1939
|
-
path: string;
|
|
1940
|
-
message: string;
|
|
1941
1938
|
statusCode: number;
|
|
1939
|
+
message: string;
|
|
1940
|
+
code: string;
|
|
1942
1941
|
timestamp: string;
|
|
1942
|
+
path: 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
|
+
client: {
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
};
|
|
1984
|
-
|
|
1984
|
+
company: {
|
|
1985
1985
|
id: string;
|
|
1986
1986
|
};
|
|
1987
|
-
status?: "
|
|
1987
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
|
|
1988
1988
|
user?: {
|
|
1989
1989
|
id: string;
|
|
1990
1990
|
} | undefined;
|
|
1991
1991
|
}, {
|
|
1992
|
-
|
|
1992
|
+
client: {
|
|
1993
1993
|
id: string;
|
|
1994
1994
|
};
|
|
1995
|
-
|
|
1995
|
+
company: {
|
|
1996
1996
|
id: string;
|
|
1997
1997
|
};
|
|
1998
|
-
status?: "
|
|
1998
|
+
status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "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
|
-
code: string;
|
|
2015
|
-
path: string;
|
|
2016
|
-
message: string;
|
|
2017
2014
|
statusCode: number;
|
|
2015
|
+
message: string;
|
|
2016
|
+
code: string;
|
|
2018
2017
|
timestamp: string;
|
|
2018
|
+
path: string;
|
|
2019
2019
|
details?: unknown;
|
|
2020
2020
|
correlationId?: string | undefined;
|
|
2021
2021
|
}, {
|
|
2022
|
-
code: string;
|
|
2023
|
-
path: string;
|
|
2024
|
-
message: string;
|
|
2025
2022
|
statusCode: number;
|
|
2023
|
+
message: string;
|
|
2024
|
+
code: string;
|
|
2026
2025
|
timestamp: string;
|
|
2026
|
+
path: 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
|
-
code: string;
|
|
2040
|
-
path: string;
|
|
2041
|
-
message: string;
|
|
2042
2039
|
statusCode: number;
|
|
2040
|
+
message: string;
|
|
2041
|
+
code: string;
|
|
2043
2042
|
timestamp: string;
|
|
2043
|
+
path: string;
|
|
2044
2044
|
details?: unknown;
|
|
2045
2045
|
correlationId?: string | undefined;
|
|
2046
2046
|
}, {
|
|
2047
|
-
code: string;
|
|
2048
|
-
path: string;
|
|
2049
|
-
message: string;
|
|
2050
2047
|
statusCode: number;
|
|
2048
|
+
message: string;
|
|
2049
|
+
code: string;
|
|
2051
2050
|
timestamp: string;
|
|
2051
|
+
path: 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
|
-
code: string;
|
|
2065
|
-
path: string;
|
|
2066
|
-
message: string;
|
|
2067
2064
|
statusCode: number;
|
|
2065
|
+
message: string;
|
|
2066
|
+
code: string;
|
|
2068
2067
|
timestamp: string;
|
|
2068
|
+
path: string;
|
|
2069
2069
|
details?: unknown;
|
|
2070
2070
|
correlationId?: string | undefined;
|
|
2071
2071
|
}, {
|
|
2072
|
-
code: string;
|
|
2073
|
-
path: string;
|
|
2074
|
-
message: string;
|
|
2075
2072
|
statusCode: number;
|
|
2073
|
+
message: string;
|
|
2074
|
+
code: string;
|
|
2076
2075
|
timestamp: string;
|
|
2076
|
+
path: 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
|
-
code: string;
|
|
2090
|
-
path: string;
|
|
2091
|
-
message: string;
|
|
2092
2089
|
statusCode: number;
|
|
2090
|
+
message: string;
|
|
2091
|
+
code: string;
|
|
2093
2092
|
timestamp: string;
|
|
2093
|
+
path: string;
|
|
2094
2094
|
details?: unknown;
|
|
2095
2095
|
correlationId?: string | undefined;
|
|
2096
2096
|
}, {
|
|
2097
|
-
code: string;
|
|
2098
|
-
path: string;
|
|
2099
|
-
message: string;
|
|
2100
2097
|
statusCode: number;
|
|
2098
|
+
message: string;
|
|
2099
|
+
code: string;
|
|
2101
2100
|
timestamp: string;
|
|
2101
|
+
path: string;
|
|
2102
2102
|
details?: unknown;
|
|
2103
2103
|
correlationId?: string | undefined;
|
|
2104
2104
|
}>;
|
|
@@ -2152,14 +2152,10 @@ 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;
|
|
2155
2157
|
createdAt: string;
|
|
2156
2158
|
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
|
-
};
|
|
2163
2159
|
client: {
|
|
2164
2160
|
id: string;
|
|
2165
2161
|
name: string;
|
|
@@ -2171,18 +2167,18 @@ export declare const collaborationsContractRouter: {
|
|
|
2171
2167
|
email: string;
|
|
2172
2168
|
};
|
|
2173
2169
|
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;
|
|
2178
2180
|
createdAt: string | Date;
|
|
2179
2181
|
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
|
-
};
|
|
2186
2182
|
client: {
|
|
2187
2183
|
id: string;
|
|
2188
2184
|
name: string;
|
|
@@ -2194,6 +2190,10 @@ export declare const collaborationsContractRouter: {
|
|
|
2194
2190
|
email: string;
|
|
2195
2191
|
};
|
|
2196
2192
|
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
|
-
code: string;
|
|
2211
|
-
path: string;
|
|
2212
|
-
message: string;
|
|
2213
2210
|
statusCode: number;
|
|
2211
|
+
message: string;
|
|
2212
|
+
code: string;
|
|
2214
2213
|
timestamp: string;
|
|
2214
|
+
path: string;
|
|
2215
2215
|
details?: unknown;
|
|
2216
2216
|
correlationId?: string | undefined;
|
|
2217
2217
|
}, {
|
|
2218
|
-
code: string;
|
|
2219
|
-
path: string;
|
|
2220
|
-
message: string;
|
|
2221
2218
|
statusCode: number;
|
|
2219
|
+
message: string;
|
|
2220
|
+
code: string;
|
|
2222
2221
|
timestamp: string;
|
|
2222
|
+
path: string;
|
|
2223
2223
|
details?: unknown;
|
|
2224
2224
|
correlationId?: string | undefined;
|
|
2225
2225
|
}>;
|