@dakkitor/api-contracts 1.1.141 → 1.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/first-agent.abilities.json +17 -63
- package/dist/abilities/second-agent.abilities.json +10 -0
- package/dist/actives/actives.contract.d.ts +4419 -3731
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +22 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1285 -1285
- package/dist/auth/auth.contract.d.ts +40 -28
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +6499 -5929
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +0 -6
- package/dist/call-history/call-history.contract.d.ts +717 -717
- package/dist/client-contacts/client-contacts.contract.d.ts +309 -309
- package/dist/client-contacts/client-contacts.contract.js +2 -2
- package/dist/clients/clients.contract.d.ts +173 -173
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2328 -2328
- package/dist/collaborations/collaborations.contract.d.ts +2052 -2052
- package/dist/common/call-rating.schema.d.ts +12 -12
- package/dist/common/call-rating.schema.js +40 -48
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +2 -0
- package/dist/common/error-schemas.d.ts +5 -11
- package/dist/common/error-schemas.js +8 -11
- package/dist/common/openapi-metadata.d.ts +44 -54
- package/dist/common/openapi-metadata.js +129 -135
- package/dist/common/pagination-query.schema.d.ts +7 -13
- package/dist/common/pagination-query.schema.js +8 -11
- package/dist/companies/companies.contract.d.ts +26 -26
- package/dist/cron-executions/cron-executions.contract.d.ts +255 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +28 -0
- package/dist/curated-workers/curated-workers.contract.d.ts +626 -558
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +2 -4
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +20 -11
- package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -1
- package/dist/dashboards/agent-daily-metrics.contract.js +1 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +92 -92
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +4 -1
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/files/files.contract.d.ts +1189 -1556
- package/dist/files/files.contract.js +162 -177
- package/dist/health/health.contract.d.ts +144 -191
- package/dist/health/health.contract.js +40 -53
- package/dist/jobs/jobs.contract.d.ts +4427 -3769
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +106 -17
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +114 -114
- package/dist/lead-assignments/lead-assignments.contract.d.ts +606 -606
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +217 -217
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +16 -16
- package/dist/leads/leads.contract.d.ts +199 -199
- package/dist/locations/locations.contract.d.ts +28 -28
- package/dist/own-research/own-research.contract.d.ts +736 -736
- package/dist/postcodes/postcodes.contract.d.ts +6 -6
- package/dist/qualifications/qualifications.contract.d.ts +1387 -1898
- package/dist/qualifications/qualifications.contract.js +171 -193
- package/dist/trades/trades.contract.d.ts +763 -991
- package/dist/trades/trades.contract.js +89 -111
- package/dist/users/users.contract.d.ts +632 -285
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +38 -1
- package/dist/workers/workers.contract.d.ts +4869 -3000
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +285 -30
- package/package.json +1 -1
- package/dist/monitoring/monitoring.contract.d.ts +0 -615
- package/dist/monitoring/monitoring.contract.d.ts.map +0 -1
- package/dist/monitoring/monitoring.contract.js +0 -106
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Project: Internal Recruitment Platform API
|
|
4
4
|
* File: openapi-metadata.ts
|
|
@@ -7,155 +7,149 @@
|
|
|
7
7
|
* This metadata structure matches the patterns from api-responses.decorator.ts and will be
|
|
8
8
|
* used to post-process the generated OpenAPI spec.
|
|
9
9
|
*/
|
|
10
|
-
Object.defineProperty(exports,
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.createStandardMetadata = exports.STANDARD_ERROR_RESPONSES = void 0;
|
|
12
12
|
/**
|
|
13
13
|
* Standard error response examples and descriptions
|
|
14
14
|
*/
|
|
15
15
|
exports.STANDARD_ERROR_RESPONSES = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
400: {
|
|
17
|
+
description: 'Bad Request. The request could not be understood by the server due to malformed syntax or invalid data.',
|
|
18
|
+
example: {
|
|
19
|
+
statusCode: 400,
|
|
20
|
+
message: 'Input validation failed or request is malformed.',
|
|
21
|
+
code: 'VALIDATION_ERROR',
|
|
22
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
23
|
+
path: '/v2/example-endpoint',
|
|
24
|
+
},
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
path: '/v2/example-endpoint',
|
|
26
|
+
401: {
|
|
27
|
+
description: 'Unauthorized. The user is not authenticated or token is missing/invalid.',
|
|
28
|
+
example: {
|
|
29
|
+
statusCode: 401,
|
|
30
|
+
message: 'Authentication required or token is invalid.',
|
|
31
|
+
code: 'UNAUTHORIZED',
|
|
32
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
33
|
+
path: '/v2/example-endpoint',
|
|
34
|
+
},
|
|
36
35
|
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
path: '/v2/example-endpoint',
|
|
36
|
+
403: {
|
|
37
|
+
description: 'Forbidden. The user does not have the necessary permissions for this resource.',
|
|
38
|
+
example: {
|
|
39
|
+
statusCode: 403,
|
|
40
|
+
message: 'Access to this resource is forbidden.',
|
|
41
|
+
code: 'FORBIDDEN',
|
|
42
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
43
|
+
path: '/v2/example-endpoint',
|
|
44
|
+
},
|
|
47
45
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
46
|
+
404: {
|
|
47
|
+
description: 'Not Found. The requested resource could not be found.',
|
|
48
|
+
example: {
|
|
49
|
+
statusCode: 404,
|
|
50
|
+
message: 'The requested resource could not be found.',
|
|
51
|
+
code: 'RESOURCE_NOT_FOUND',
|
|
52
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
53
|
+
path: '/v2/example-endpoint',
|
|
54
|
+
},
|
|
57
55
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
409: {
|
|
57
|
+
description: 'Conflict. The resource already exists.',
|
|
58
|
+
example: {
|
|
59
|
+
statusCode: 409,
|
|
60
|
+
message: 'A conflict occurred with the current state of the resource.',
|
|
61
|
+
code: 'RESOURCE_CONFLICT',
|
|
62
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
63
|
+
path: '/v2/example-endpoint',
|
|
64
|
+
},
|
|
67
65
|
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
path: '/v2/example-endpoint',
|
|
66
|
+
500: {
|
|
67
|
+
description: 'Internal Server Error. An unexpected error occurred on the server.',
|
|
68
|
+
example: {
|
|
69
|
+
statusCode: 500,
|
|
70
|
+
message: 'An unexpected error occurred on the server.',
|
|
71
|
+
code: 'INTERNAL_SERVER_ERROR',
|
|
72
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
73
|
+
path: '/v2/example-endpoint',
|
|
74
|
+
},
|
|
78
75
|
},
|
|
79
|
-
},
|
|
80
76
|
};
|
|
81
77
|
/**
|
|
82
78
|
* Helper to create metadata for standard CRUD operations
|
|
83
79
|
*/
|
|
84
80
|
exports.createStandardMetadata = {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
}),
|
|
98
|
-
/**
|
|
99
|
-
* Metadata for FIND ONE operations (200)
|
|
100
|
-
*/
|
|
101
|
-
findOne: (customResponses) => ({
|
|
102
|
-
responses: {
|
|
103
|
-
200: {
|
|
104
|
-
description: 'Resource retrieved successfully.',
|
|
105
|
-
},
|
|
106
|
-
...exports.STANDARD_ERROR_RESPONSES,
|
|
107
|
-
404: exports.STANDARD_ERROR_RESPONSES[404],
|
|
108
|
-
...customResponses,
|
|
109
|
-
},
|
|
110
|
-
}),
|
|
111
|
-
/**
|
|
112
|
-
* Metadata for FIND ALL operations (200)
|
|
113
|
-
*/
|
|
114
|
-
findAll: (customResponses) => ({
|
|
115
|
-
responses: {
|
|
116
|
-
200: {
|
|
117
|
-
description: 'Resources retrieved successfully.',
|
|
118
|
-
},
|
|
119
|
-
...exports.STANDARD_ERROR_RESPONSES,
|
|
120
|
-
...customResponses,
|
|
121
|
-
},
|
|
122
|
-
}),
|
|
123
|
-
/**
|
|
124
|
-
* Metadata for UPDATE operations (200)
|
|
125
|
-
*/
|
|
126
|
-
update: (customResponses) => ({
|
|
127
|
-
responses: {
|
|
128
|
-
200: {
|
|
129
|
-
description: 'Resource updated successfully.',
|
|
130
|
-
},
|
|
131
|
-
...exports.STANDARD_ERROR_RESPONSES,
|
|
132
|
-
404: exports.STANDARD_ERROR_RESPONSES[404],
|
|
133
|
-
409: {
|
|
134
|
-
description:
|
|
135
|
-
'Conflict. The resource already exists or the update causes a conflict.',
|
|
136
|
-
example: {
|
|
137
|
-
statusCode: 409,
|
|
138
|
-
message:
|
|
139
|
-
'A conflict occurred with the current state of the resource during update.',
|
|
140
|
-
code: 'RESOURCE_CONFLICT',
|
|
141
|
-
timestamp: '2024-01-01T12:00:00.000Z',
|
|
142
|
-
path: '/v2/example-endpoint',
|
|
81
|
+
/**
|
|
82
|
+
* Metadata for CREATE operations (201)
|
|
83
|
+
*/
|
|
84
|
+
create: (customResponses) => ({
|
|
85
|
+
responses: {
|
|
86
|
+
201: {
|
|
87
|
+
description: 'Resource created successfully.',
|
|
88
|
+
},
|
|
89
|
+
...exports.STANDARD_ERROR_RESPONSES,
|
|
90
|
+
409: exports.STANDARD_ERROR_RESPONSES[409],
|
|
91
|
+
...customResponses,
|
|
143
92
|
},
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
93
|
+
}),
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for FIND ONE operations (200)
|
|
96
|
+
*/
|
|
97
|
+
findOne: (customResponses) => ({
|
|
98
|
+
responses: {
|
|
99
|
+
200: {
|
|
100
|
+
description: 'Resource retrieved successfully.',
|
|
101
|
+
},
|
|
102
|
+
...exports.STANDARD_ERROR_RESPONSES,
|
|
103
|
+
404: exports.STANDARD_ERROR_RESPONSES[404],
|
|
104
|
+
...customResponses,
|
|
105
|
+
},
|
|
106
|
+
}),
|
|
107
|
+
/**
|
|
108
|
+
* Metadata for FIND ALL operations (200)
|
|
109
|
+
*/
|
|
110
|
+
findAll: (customResponses) => ({
|
|
111
|
+
responses: {
|
|
112
|
+
200: {
|
|
113
|
+
description: 'Resources retrieved successfully.',
|
|
114
|
+
},
|
|
115
|
+
...exports.STANDARD_ERROR_RESPONSES,
|
|
116
|
+
...customResponses,
|
|
117
|
+
},
|
|
118
|
+
}),
|
|
119
|
+
/**
|
|
120
|
+
* Metadata for UPDATE operations (200)
|
|
121
|
+
*/
|
|
122
|
+
update: (customResponses) => ({
|
|
123
|
+
responses: {
|
|
124
|
+
200: {
|
|
125
|
+
description: 'Resource updated successfully.',
|
|
126
|
+
},
|
|
127
|
+
...exports.STANDARD_ERROR_RESPONSES,
|
|
128
|
+
404: exports.STANDARD_ERROR_RESPONSES[404],
|
|
129
|
+
409: {
|
|
130
|
+
description: 'Conflict. The resource already exists or the update causes a conflict.',
|
|
131
|
+
example: {
|
|
132
|
+
statusCode: 409,
|
|
133
|
+
message: 'A conflict occurred with the current state of the resource during update.',
|
|
134
|
+
code: 'RESOURCE_CONFLICT',
|
|
135
|
+
timestamp: '2024-01-01T12:00:00.000Z',
|
|
136
|
+
path: '/v2/example-endpoint',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
...customResponses,
|
|
140
|
+
},
|
|
141
|
+
}),
|
|
142
|
+
/**
|
|
143
|
+
* Metadata for DELETE operations (204)
|
|
144
|
+
*/
|
|
145
|
+
delete: (customResponses) => ({
|
|
146
|
+
responses: {
|
|
147
|
+
204: {
|
|
148
|
+
description: 'Resource deleted successfully.',
|
|
149
|
+
},
|
|
150
|
+
...exports.STANDARD_ERROR_RESPONSES,
|
|
151
|
+
404: exports.STANDARD_ERROR_RESPONSES[404],
|
|
152
|
+
...customResponses,
|
|
153
|
+
},
|
|
154
|
+
}),
|
|
161
155
|
};
|
|
@@ -3,21 +3,15 @@ import { z } from 'zod';
|
|
|
3
3
|
* Common pagination query parameters schema for API requests.
|
|
4
4
|
* Provides standard page and limit parameters with sensible defaults.
|
|
5
5
|
*/
|
|
6
|
-
export declare const PaginationQuerySchema: z.ZodObject<
|
|
7
|
-
{
|
|
6
|
+
export declare const PaginationQuerySchema: z.ZodObject<{
|
|
8
7
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
9
8
|
page: z.ZodDefault<z.ZodNumber>;
|
|
10
|
-
|
|
11
|
-
'strip',
|
|
12
|
-
z.ZodTypeAny,
|
|
13
|
-
{
|
|
14
|
-
limit: number;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
10
|
page: number;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
limit?: number | undefined;
|
|
11
|
+
limit: number;
|
|
12
|
+
}, {
|
|
19
13
|
page?: number | undefined;
|
|
20
|
-
|
|
21
|
-
>;
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
}>;
|
|
22
16
|
export type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
|
|
23
|
-
//# sourceMappingURL=pagination-query.schema.d.ts.map
|
|
17
|
+
//# sourceMappingURL=pagination-query.schema.d.ts.map
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PaginationQuerySchema = void 0;
|
|
4
|
-
const zod_1 = require(
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
5
|
/**
|
|
6
6
|
* Common pagination query parameters schema for API requests.
|
|
7
7
|
* Provides standard page and limit parameters with sensible defaults.
|
|
8
8
|
*/
|
|
9
9
|
exports.PaginationQuerySchema = zod_1.z.object({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.number()
|
|
16
|
-
.default(1)
|
|
17
|
-
.describe('The page number to retrieve.'),
|
|
10
|
+
limit: zod_1.z.coerce
|
|
11
|
+
.number()
|
|
12
|
+
.default(50)
|
|
13
|
+
.describe('The number of items to return per page.'),
|
|
14
|
+
page: zod_1.z.coerce.number().default(1).describe('The page number to retrieve.'),
|
|
18
15
|
});
|
|
@@ -10,13 +10,13 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
id: string;
|
|
12
12
|
name: string;
|
|
13
|
-
createdAt: string;
|
|
14
13
|
updatedAt: string;
|
|
14
|
+
createdAt: string;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
17
|
name: string;
|
|
18
|
-
createdAt: string | Date;
|
|
19
18
|
updatedAt: string | Date;
|
|
19
|
+
createdAt: string | Date;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const CreateCompanySchema: z.ZodObject<{
|
|
22
22
|
name: z.ZodString;
|
|
@@ -40,17 +40,17 @@ export declare const FilterCompanySchema: z.ZodObject<{
|
|
|
40
40
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "createdAt", "updatedAt"]>>>;
|
|
41
41
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
limit: number;
|
|
44
43
|
page: number;
|
|
44
|
+
limit: number;
|
|
45
45
|
name?: string | null | undefined;
|
|
46
|
-
sortBy?: "name" | "
|
|
46
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | null | undefined;
|
|
47
47
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
name?: string | null | undefined;
|
|
50
|
-
|
|
51
|
-
page?: number | undefined;
|
|
52
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
50
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | null | undefined;
|
|
53
51
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
52
|
+
page?: number | undefined;
|
|
53
|
+
limit?: number | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export declare const CompanyAutocompleteResponseSchema: z.ZodObject<{
|
|
56
56
|
id: z.ZodString;
|
|
@@ -81,13 +81,13 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
id: string;
|
|
83
83
|
name: string;
|
|
84
|
-
createdAt: string;
|
|
85
84
|
updatedAt: string;
|
|
85
|
+
createdAt: string;
|
|
86
86
|
}, {
|
|
87
87
|
id: string;
|
|
88
88
|
name: string;
|
|
89
|
-
createdAt: string | Date;
|
|
90
89
|
updatedAt: string | Date;
|
|
90
|
+
createdAt: string | Date;
|
|
91
91
|
}>, "many">;
|
|
92
92
|
totalCount: z.ZodNumber;
|
|
93
93
|
limit: z.ZodNumber;
|
|
@@ -99,8 +99,8 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
99
99
|
items: {
|
|
100
100
|
id: string;
|
|
101
101
|
name: string;
|
|
102
|
-
createdAt: string;
|
|
103
102
|
updatedAt: string;
|
|
103
|
+
createdAt: string;
|
|
104
104
|
}[];
|
|
105
105
|
totalCount: number;
|
|
106
106
|
skip: number;
|
|
@@ -111,8 +111,8 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
111
111
|
items: {
|
|
112
112
|
id: string;
|
|
113
113
|
name: string;
|
|
114
|
-
createdAt: string | Date;
|
|
115
114
|
updatedAt: string | Date;
|
|
115
|
+
createdAt: string | Date;
|
|
116
116
|
}[];
|
|
117
117
|
totalCount: number;
|
|
118
118
|
skip: number;
|
|
@@ -254,13 +254,13 @@ export declare const companiesContractRouter: {
|
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
255
|
id: string;
|
|
256
256
|
name: string;
|
|
257
|
-
createdAt: string;
|
|
258
257
|
updatedAt: string;
|
|
258
|
+
createdAt: string;
|
|
259
259
|
}, {
|
|
260
260
|
id: string;
|
|
261
261
|
name: string;
|
|
262
|
-
createdAt: string | Date;
|
|
263
262
|
updatedAt: string | Date;
|
|
263
|
+
createdAt: string | Date;
|
|
264
264
|
}>;
|
|
265
265
|
409: z.ZodObject<{
|
|
266
266
|
statusCode: z.ZodNumber;
|
|
@@ -298,17 +298,17 @@ export declare const companiesContractRouter: {
|
|
|
298
298
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "createdAt", "updatedAt"]>>>;
|
|
299
299
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
limit: number;
|
|
302
301
|
page: number;
|
|
302
|
+
limit: number;
|
|
303
303
|
name?: string | null | undefined;
|
|
304
|
-
sortBy?: "name" | "
|
|
304
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | null | undefined;
|
|
305
305
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
306
306
|
}, {
|
|
307
307
|
name?: string | null | undefined;
|
|
308
|
-
|
|
309
|
-
page?: number | undefined;
|
|
310
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
308
|
+
sortBy?: "name" | "updatedAt" | "createdAt" | null | undefined;
|
|
311
309
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
310
|
+
page?: number | undefined;
|
|
311
|
+
limit?: number | undefined;
|
|
312
312
|
}>;
|
|
313
313
|
metadata: {
|
|
314
314
|
tags: string[];
|
|
@@ -429,13 +429,13 @@ export declare const companiesContractRouter: {
|
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
id: string;
|
|
431
431
|
name: string;
|
|
432
|
-
createdAt: string;
|
|
433
432
|
updatedAt: string;
|
|
433
|
+
createdAt: string;
|
|
434
434
|
}, {
|
|
435
435
|
id: string;
|
|
436
436
|
name: string;
|
|
437
|
-
createdAt: string | Date;
|
|
438
437
|
updatedAt: string | Date;
|
|
438
|
+
createdAt: string | Date;
|
|
439
439
|
}>, "many">;
|
|
440
440
|
totalCount: z.ZodNumber;
|
|
441
441
|
limit: z.ZodNumber;
|
|
@@ -447,8 +447,8 @@ export declare const companiesContractRouter: {
|
|
|
447
447
|
items: {
|
|
448
448
|
id: string;
|
|
449
449
|
name: string;
|
|
450
|
-
createdAt: string;
|
|
451
450
|
updatedAt: string;
|
|
451
|
+
createdAt: string;
|
|
452
452
|
}[];
|
|
453
453
|
totalCount: number;
|
|
454
454
|
skip: number;
|
|
@@ -459,8 +459,8 @@ export declare const companiesContractRouter: {
|
|
|
459
459
|
items: {
|
|
460
460
|
id: string;
|
|
461
461
|
name: string;
|
|
462
|
-
createdAt: string | Date;
|
|
463
462
|
updatedAt: string | Date;
|
|
463
|
+
createdAt: string | Date;
|
|
464
464
|
}[];
|
|
465
465
|
totalCount: number;
|
|
466
466
|
skip: number;
|
|
@@ -728,13 +728,13 @@ export declare const companiesContractRouter: {
|
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
729
|
id: string;
|
|
730
730
|
name: string;
|
|
731
|
-
createdAt: string;
|
|
732
731
|
updatedAt: string;
|
|
732
|
+
createdAt: string;
|
|
733
733
|
}, {
|
|
734
734
|
id: string;
|
|
735
735
|
name: string;
|
|
736
|
-
createdAt: string | Date;
|
|
737
736
|
updatedAt: string | Date;
|
|
737
|
+
createdAt: string | Date;
|
|
738
738
|
}>;
|
|
739
739
|
404: z.ZodObject<{
|
|
740
740
|
statusCode: z.ZodNumber;
|
|
@@ -896,13 +896,13 @@ export declare const companiesContractRouter: {
|
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
897
|
id: string;
|
|
898
898
|
name: string;
|
|
899
|
-
createdAt: string;
|
|
900
899
|
updatedAt: string;
|
|
900
|
+
createdAt: string;
|
|
901
901
|
}, {
|
|
902
902
|
id: string;
|
|
903
903
|
name: string;
|
|
904
|
-
createdAt: string | Date;
|
|
905
904
|
updatedAt: string | Date;
|
|
905
|
+
createdAt: string | Date;
|
|
906
906
|
}>;
|
|
907
907
|
404: z.ZodObject<{
|
|
908
908
|
statusCode: z.ZodNumber;
|