@dakkitor/api-contracts 1.1.131 → 1.1.133
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/abilities.contract.d.ts +19 -13
- package/dist/abilities/abilities.contract.js +33 -18
- package/dist/abilities/first-agent.abilities.json +68 -56
- package/dist/abilities/second-agent.abilities.json +3 -3
- package/dist/abilities/team-leads.json +3 -6
- package/dist/actives/actives.contract.d.ts +6313 -6313
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +23378 -23378
- package/dist/call-history/call-history.contract.d.ts +366 -366
- package/dist/call-history/call-history.contract.js +67 -67
- package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
- package/dist/clients/clients.contract.d.ts +72 -72
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
- package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
- package/dist/common/call-rating.schema.d.ts +12 -12
- package/dist/common/call-rating.schema.js +48 -40
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -2
- package/dist/common/error-schemas.d.ts +11 -5
- package/dist/common/error-schemas.js +11 -8
- package/dist/common/openapi-metadata.d.ts +54 -44
- package/dist/common/openapi-metadata.js +135 -129
- package/dist/common/pagination-query.schema.d.ts +11 -5
- package/dist/common/pagination-query.schema.js +11 -8
- package/dist/companies/companies.contract.d.ts +40 -40
- package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
- package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
- package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
- package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
- package/dist/dashboards/dashboard-widgets.contract.js +89 -89
- package/dist/dashboards/dashboard.contract.d.ts +305 -215
- package/dist/files/files.contract.d.ts +1544 -1177
- package/dist/files/files.contract.js +177 -162
- package/dist/health/health.contract.d.ts +191 -144
- package/dist/health/health.contract.js +53 -40
- package/dist/index.d.ts +67 -67
- package/dist/jobs/jobs.contract.d.ts +2553 -2553
- package/dist/jobs/jobs.contract.js +150 -150
- package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
- package/dist/leads/leads.contract.d.ts +108 -108
- package/dist/leads/leads.contract.js +119 -119
- package/dist/locations/locations.contract.d.ts +7 -7
- package/dist/monitoring/monitoring.contract.d.ts +13 -13
- package/dist/monitoring/monitoring.contract.js +37 -37
- package/dist/own-research/own-research.contract.d.ts +535 -134
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +88 -56
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
- package/dist/qualifications/qualifications.contract.js +193 -171
- package/dist/trades/trades.contract.d.ts +991 -763
- package/dist/trades/trades.contract.js +111 -89
- package/dist/users/users.contract.d.ts +202 -202
- package/dist/users/users.contract.js +121 -121
- package/dist/workers/workers.contract.d.ts +710 -710
- package/dist/workers/workers.contract.js +150 -150
- package/package.json +1 -1
|
@@ -1,161 +1,208 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const HealthCheckStatusSchema: z.ZodEnum<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare const HealthCheckStatusSchema: z.ZodEnum<
|
|
3
|
+
['error', 'ok', 'shutting_down']
|
|
4
|
+
>;
|
|
5
|
+
export declare const HealthIndicatorResultSchema: z.ZodRecord<
|
|
6
|
+
z.ZodString,
|
|
7
|
+
z.ZodAny
|
|
8
|
+
>;
|
|
9
|
+
export declare const HealthCheckResultSchema: z.ZodObject<
|
|
10
|
+
{
|
|
11
|
+
status: z.ZodEnum<['error', 'ok', 'shutting_down']>;
|
|
6
12
|
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
13
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
14
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
9
|
-
},
|
|
10
|
-
|
|
15
|
+
},
|
|
16
|
+
'strip',
|
|
17
|
+
z.ZodTypeAny,
|
|
18
|
+
{
|
|
19
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
11
20
|
details: Record<string, any>;
|
|
12
21
|
error?: Record<string, any> | undefined;
|
|
13
22
|
info?: Record<string, any> | undefined;
|
|
14
|
-
},
|
|
15
|
-
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
16
26
|
details: Record<string, any>;
|
|
17
27
|
error?: Record<string, any> | undefined;
|
|
18
28
|
info?: Record<string, any> | undefined;
|
|
19
|
-
}
|
|
29
|
+
}
|
|
30
|
+
>;
|
|
20
31
|
export type HealthCheckStatus = z.infer<typeof HealthCheckStatusSchema>;
|
|
21
32
|
export type HealthIndicatorResult = z.infer<typeof HealthIndicatorResultSchema>;
|
|
22
33
|
export type HealthCheckResult = z.infer<typeof HealthCheckResultSchema>;
|
|
23
34
|
export declare const healthContract: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
summary: "Check API health";
|
|
30
|
-
method: "GET";
|
|
31
|
-
path: "/v2/health";
|
|
32
|
-
responses: {
|
|
33
|
-
500: z.ZodObject<{
|
|
34
|
-
statusCode: z.ZodNumber;
|
|
35
|
-
message: z.ZodString;
|
|
36
|
-
code: z.ZodString;
|
|
37
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
38
|
-
timestamp: z.ZodString;
|
|
39
|
-
path: z.ZodString;
|
|
40
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
code: string;
|
|
43
|
-
path: string;
|
|
44
|
-
message: string;
|
|
45
|
-
statusCode: number;
|
|
46
|
-
timestamp: string;
|
|
47
|
-
details?: unknown;
|
|
48
|
-
correlationId?: string | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
code: string;
|
|
51
|
-
path: string;
|
|
52
|
-
message: string;
|
|
53
|
-
statusCode: number;
|
|
54
|
-
timestamp: string;
|
|
55
|
-
details?: unknown;
|
|
56
|
-
correlationId?: string | undefined;
|
|
57
|
-
}>;
|
|
58
|
-
200: z.ZodObject<{
|
|
59
|
-
status: z.ZodEnum<["error", "ok", "shutting_down"]>;
|
|
60
|
-
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
61
|
-
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
62
|
-
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
status: "error" | "ok" | "shutting_down";
|
|
65
|
-
details: Record<string, any>;
|
|
66
|
-
error?: Record<string, any> | undefined;
|
|
67
|
-
info?: Record<string, any> | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
status: "error" | "ok" | "shutting_down";
|
|
70
|
-
details: Record<string, any>;
|
|
71
|
-
error?: Record<string, any> | undefined;
|
|
72
|
-
info?: Record<string, any> | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
503: z.ZodObject<{
|
|
75
|
-
status: z.ZodEnum<["error", "ok", "shutting_down"]>;
|
|
76
|
-
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
77
|
-
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
78
|
-
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
status: "error" | "ok" | "shutting_down";
|
|
81
|
-
details: Record<string, any>;
|
|
82
|
-
error?: Record<string, any> | undefined;
|
|
83
|
-
info?: Record<string, any> | undefined;
|
|
84
|
-
}, {
|
|
85
|
-
status: "error" | "ok" | "shutting_down";
|
|
86
|
-
details: Record<string, any>;
|
|
87
|
-
error?: Record<string, any> | undefined;
|
|
88
|
-
info?: Record<string, any> | undefined;
|
|
89
|
-
}>;
|
|
90
|
-
};
|
|
35
|
+
check: {
|
|
36
|
+
metadata: {
|
|
37
|
+
tags: string[];
|
|
38
|
+
isPublic: boolean;
|
|
91
39
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
40
|
+
summary: 'Check API health';
|
|
41
|
+
method: 'GET';
|
|
42
|
+
path: '/v2/health';
|
|
43
|
+
responses: {
|
|
44
|
+
500: z.ZodObject<
|
|
45
|
+
{
|
|
46
|
+
statusCode: z.ZodNumber;
|
|
47
|
+
message: z.ZodString;
|
|
48
|
+
code: z.ZodString;
|
|
49
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
50
|
+
timestamp: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
},
|
|
54
|
+
'strip',
|
|
55
|
+
z.ZodTypeAny,
|
|
56
|
+
{
|
|
57
|
+
code: string;
|
|
58
|
+
path: string;
|
|
59
|
+
message: string;
|
|
60
|
+
statusCode: number;
|
|
61
|
+
timestamp: string;
|
|
62
|
+
details?: unknown;
|
|
63
|
+
correlationId?: string | undefined;
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
code: string;
|
|
67
|
+
path: string;
|
|
68
|
+
message: string;
|
|
69
|
+
statusCode: number;
|
|
70
|
+
timestamp: string;
|
|
71
|
+
details?: unknown;
|
|
72
|
+
correlationId?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
>;
|
|
75
|
+
200: z.ZodObject<
|
|
76
|
+
{
|
|
77
|
+
status: z.ZodEnum<['error', 'ok', 'shutting_down']>;
|
|
78
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
79
|
+
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
81
|
+
},
|
|
82
|
+
'strip',
|
|
83
|
+
z.ZodTypeAny,
|
|
84
|
+
{
|
|
85
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
86
|
+
details: Record<string, any>;
|
|
87
|
+
error?: Record<string, any> | undefined;
|
|
88
|
+
info?: Record<string, any> | undefined;
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
92
|
+
details: Record<string, any>;
|
|
93
|
+
error?: Record<string, any> | undefined;
|
|
94
|
+
info?: Record<string, any> | undefined;
|
|
95
|
+
}
|
|
96
|
+
>;
|
|
97
|
+
503: z.ZodObject<
|
|
98
|
+
{
|
|
99
|
+
status: z.ZodEnum<['error', 'ok', 'shutting_down']>;
|
|
100
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
101
|
+
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
102
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
103
|
+
},
|
|
104
|
+
'strip',
|
|
105
|
+
z.ZodTypeAny,
|
|
106
|
+
{
|
|
107
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
108
|
+
details: Record<string, any>;
|
|
109
|
+
error?: Record<string, any> | undefined;
|
|
110
|
+
info?: Record<string, any> | undefined;
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
114
|
+
details: Record<string, any>;
|
|
115
|
+
error?: Record<string, any> | undefined;
|
|
116
|
+
info?: Record<string, any> | undefined;
|
|
117
|
+
}
|
|
118
|
+
>;
|
|
159
119
|
};
|
|
120
|
+
};
|
|
121
|
+
liveness: {
|
|
122
|
+
metadata: {
|
|
123
|
+
tags: string[];
|
|
124
|
+
isPublic: boolean;
|
|
125
|
+
};
|
|
126
|
+
summary: 'Liveness check';
|
|
127
|
+
method: 'GET';
|
|
128
|
+
path: '/v2/health/live';
|
|
129
|
+
responses: {
|
|
130
|
+
500: z.ZodObject<
|
|
131
|
+
{
|
|
132
|
+
statusCode: z.ZodNumber;
|
|
133
|
+
message: z.ZodString;
|
|
134
|
+
code: z.ZodString;
|
|
135
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
136
|
+
timestamp: z.ZodString;
|
|
137
|
+
path: z.ZodString;
|
|
138
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
139
|
+
},
|
|
140
|
+
'strip',
|
|
141
|
+
z.ZodTypeAny,
|
|
142
|
+
{
|
|
143
|
+
code: string;
|
|
144
|
+
path: string;
|
|
145
|
+
message: string;
|
|
146
|
+
statusCode: number;
|
|
147
|
+
timestamp: string;
|
|
148
|
+
details?: unknown;
|
|
149
|
+
correlationId?: string | undefined;
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
code: string;
|
|
153
|
+
path: string;
|
|
154
|
+
message: string;
|
|
155
|
+
statusCode: number;
|
|
156
|
+
timestamp: string;
|
|
157
|
+
details?: unknown;
|
|
158
|
+
correlationId?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
>;
|
|
161
|
+
200: z.ZodObject<
|
|
162
|
+
{
|
|
163
|
+
status: z.ZodEnum<['error', 'ok', 'shutting_down']>;
|
|
164
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
165
|
+
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
166
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
167
|
+
},
|
|
168
|
+
'strip',
|
|
169
|
+
z.ZodTypeAny,
|
|
170
|
+
{
|
|
171
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
172
|
+
details: Record<string, any>;
|
|
173
|
+
error?: Record<string, any> | undefined;
|
|
174
|
+
info?: Record<string, any> | undefined;
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
178
|
+
details: Record<string, any>;
|
|
179
|
+
error?: Record<string, any> | undefined;
|
|
180
|
+
info?: Record<string, any> | undefined;
|
|
181
|
+
}
|
|
182
|
+
>;
|
|
183
|
+
503: z.ZodObject<
|
|
184
|
+
{
|
|
185
|
+
status: z.ZodEnum<['error', 'ok', 'shutting_down']>;
|
|
186
|
+
info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
187
|
+
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
188
|
+
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
189
|
+
},
|
|
190
|
+
'strip',
|
|
191
|
+
z.ZodTypeAny,
|
|
192
|
+
{
|
|
193
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
194
|
+
details: Record<string, any>;
|
|
195
|
+
error?: Record<string, any> | undefined;
|
|
196
|
+
info?: Record<string, any> | undefined;
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
status: 'error' | 'ok' | 'shutting_down';
|
|
200
|
+
details: Record<string, any>;
|
|
201
|
+
error?: Record<string, any> | undefined;
|
|
202
|
+
info?: Record<string, any> | undefined;
|
|
203
|
+
}
|
|
204
|
+
>;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
160
207
|
};
|
|
161
|
-
//# sourceMappingURL=health.contract.d.ts.map
|
|
208
|
+
//# sourceMappingURL=health.contract.d.ts.map
|
|
@@ -1,52 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
exports.healthContract =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
exports.healthContract =
|
|
4
|
+
exports.HealthCheckResultSchema =
|
|
5
|
+
exports.HealthIndicatorResultSchema =
|
|
6
|
+
exports.HealthCheckStatusSchema =
|
|
7
|
+
void 0;
|
|
8
|
+
const core_1 = require('@ts-rest/core');
|
|
9
|
+
const zod_1 = require('zod');
|
|
10
|
+
const error_schemas_1 = require('../common/error-schemas');
|
|
7
11
|
const c = (0, core_1.initContract)();
|
|
8
12
|
exports.HealthCheckStatusSchema = zod_1.z
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
.enum(['error', 'ok', 'shutting_down'])
|
|
14
|
+
.openapi({ title: 'HealthCheckStatus' });
|
|
11
15
|
exports.HealthIndicatorResultSchema = zod_1.z.record(zod_1.z.any());
|
|
12
16
|
exports.HealthCheckResultSchema = zod_1.z
|
|
13
|
-
|
|
17
|
+
.object({
|
|
14
18
|
status: exports.HealthCheckStatusSchema.describe('Health status'),
|
|
15
|
-
info: exports.HealthIndicatorResultSchema.optional().describe(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
info: exports.HealthIndicatorResultSchema.optional().describe(
|
|
20
|
+
'Information about the health check',
|
|
21
|
+
),
|
|
22
|
+
error: exports.HealthIndicatorResultSchema.optional().describe(
|
|
23
|
+
'Error details if any',
|
|
24
|
+
),
|
|
25
|
+
details: exports.HealthIndicatorResultSchema.describe(
|
|
26
|
+
'Detailed health check results',
|
|
27
|
+
),
|
|
28
|
+
})
|
|
29
|
+
.openapi({ title: 'HealthCheckResult' });
|
|
30
|
+
exports.healthContract = c.router(
|
|
31
|
+
{
|
|
21
32
|
check: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
method: 'GET',
|
|
34
|
+
path: '/health',
|
|
35
|
+
responses: {
|
|
36
|
+
200: exports.HealthCheckResultSchema,
|
|
37
|
+
503: exports.HealthCheckResultSchema, // Health check might return 503 if unhealthy
|
|
38
|
+
},
|
|
39
|
+
summary: 'Check API health',
|
|
40
|
+
metadata: {
|
|
41
|
+
tags: ['Health'],
|
|
42
|
+
isPublic: true,
|
|
43
|
+
},
|
|
33
44
|
},
|
|
34
45
|
liveness: {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
method: 'GET',
|
|
47
|
+
path: '/health/live',
|
|
48
|
+
responses: {
|
|
49
|
+
200: exports.HealthCheckResultSchema,
|
|
50
|
+
503: exports.HealthCheckResultSchema,
|
|
51
|
+
},
|
|
52
|
+
summary: 'Liveness check',
|
|
53
|
+
metadata: {
|
|
54
|
+
tags: ['Health'],
|
|
55
|
+
isPublic: true,
|
|
56
|
+
},
|
|
46
57
|
},
|
|
47
|
-
},
|
|
58
|
+
},
|
|
59
|
+
{
|
|
48
60
|
pathPrefix: '/v2',
|
|
49
61
|
commonResponses: {
|
|
50
|
-
|
|
62
|
+
500: error_schemas_1.ErrorResponseSchema,
|
|
51
63
|
},
|
|
52
|
-
}
|
|
64
|
+
},
|
|
65
|
+
);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
import { activesContractRouter } from
|
|
39
|
-
import { agentClientLinksContract } from
|
|
40
|
-
import { authContract } from
|
|
41
|
-
import { bookingsContractRouter } from
|
|
42
|
-
import { callHistoryContract } from
|
|
43
|
-
import { clientContactsContractRouter } from
|
|
44
|
-
import { clientsContractRouter } from
|
|
45
|
-
import { collaborationCheckingsContract } from
|
|
46
|
-
import { collaborationsContractRouter } from
|
|
47
|
-
import { companiesContractRouter } from
|
|
48
|
-
import { cronExecutionsContract } from
|
|
49
|
-
import { curatedWorkersContract } from
|
|
50
|
-
import { agentDailyMetricsContract } from
|
|
51
|
-
import { dashboardContract } from
|
|
52
|
-
import { dashboardWidgetsContract } from
|
|
53
|
-
import { filesContract } from
|
|
54
|
-
import { healthContract } from
|
|
55
|
-
import { jobsContractRouter } from
|
|
56
|
-
import { leadAssignmentsContract } from
|
|
57
|
-
import { agentLeadDistributionContract } from
|
|
58
|
-
import { leadDistributionConfigContract } from
|
|
59
|
-
import { leadsContractRouter } from
|
|
60
|
-
import { locationsContract } from
|
|
61
|
-
import { monitoringContract } from
|
|
62
|
-
import { ownResearchContract } from
|
|
63
|
-
import { postcodesContract } from
|
|
64
|
-
import { qualificationsContract } from
|
|
65
|
-
import { tradesContract } from
|
|
66
|
-
import { usersContract } from
|
|
67
|
-
import { workersContractRouter } from
|
|
1
|
+
export * from './abilities/abilities.contract';
|
|
2
|
+
export * from './actives/actives.contract';
|
|
3
|
+
export * from './agent-client-links/agent-client-links.contract';
|
|
4
|
+
export * from './auth/auth.contract';
|
|
5
|
+
export * from './bookings/bookings.contract';
|
|
6
|
+
export * from './call-history/call-history.contract';
|
|
7
|
+
export * from './client-contacts/client-contacts.contract';
|
|
8
|
+
export * from './clients/clients.contract';
|
|
9
|
+
export * from './collaboration-checkings/collaboration-checkings.contract';
|
|
10
|
+
export * from './collaborations/collaborations.contract';
|
|
11
|
+
export * from './common/call-rating.schema';
|
|
12
|
+
export * from './common/common-schemas';
|
|
13
|
+
export * from './common/error-schemas';
|
|
14
|
+
export * from './common/openapi-metadata';
|
|
15
|
+
export * from './common/pagination-query.schema';
|
|
16
|
+
export * from './common/pagination.schema';
|
|
17
|
+
export * from './companies/companies.contract';
|
|
18
|
+
export * from './cron-executions/cron-executions.contract';
|
|
19
|
+
export * from './curated-workers/curated-workers.contract';
|
|
20
|
+
export * from './dashboards/agent-daily-metrics.contract';
|
|
21
|
+
export * from './dashboards/dashboard.contract';
|
|
22
|
+
export * from './dashboards/dashboard-widgets.contract';
|
|
23
|
+
export * from './files/files.contract';
|
|
24
|
+
export * from './health/health.contract';
|
|
25
|
+
export * from './jobs/jobs.contract';
|
|
26
|
+
export * from './lead-assignments/lead-assignments.contract';
|
|
27
|
+
export * from './lead-distribution/agent-lead-distribution.contract';
|
|
28
|
+
export * from './lead-distribution/lead-distribution-config.contract';
|
|
29
|
+
export * from './leads/leads.contract';
|
|
30
|
+
export * from './locations/locations.contract';
|
|
31
|
+
export * from './monitoring/monitoring.contract';
|
|
32
|
+
export * from './own-research/own-research.contract';
|
|
33
|
+
export * from './postcodes/postcodes.contract';
|
|
34
|
+
export * from './qualifications/qualifications.contract';
|
|
35
|
+
export * from './trades/trades.contract';
|
|
36
|
+
export * from './users/users.contract';
|
|
37
|
+
export * from './workers/workers.contract';
|
|
38
|
+
import { activesContractRouter } from './actives/actives.contract';
|
|
39
|
+
import { agentClientLinksContract } from './agent-client-links/agent-client-links.contract';
|
|
40
|
+
import { authContract } from './auth/auth.contract';
|
|
41
|
+
import { bookingsContractRouter } from './bookings/bookings.contract';
|
|
42
|
+
import { callHistoryContract } from './call-history/call-history.contract';
|
|
43
|
+
import { clientContactsContractRouter } from './client-contacts/client-contacts.contract';
|
|
44
|
+
import { clientsContractRouter } from './clients/clients.contract';
|
|
45
|
+
import { collaborationCheckingsContract } from './collaboration-checkings/collaboration-checkings.contract';
|
|
46
|
+
import { collaborationsContractRouter } from './collaborations/collaborations.contract';
|
|
47
|
+
import { companiesContractRouter } from './companies/companies.contract';
|
|
48
|
+
import { cronExecutionsContract } from './cron-executions/cron-executions.contract';
|
|
49
|
+
import { curatedWorkersContract } from './curated-workers/curated-workers.contract';
|
|
50
|
+
import { agentDailyMetricsContract } from './dashboards/agent-daily-metrics.contract';
|
|
51
|
+
import { dashboardContract } from './dashboards/dashboard.contract';
|
|
52
|
+
import { dashboardWidgetsContract } from './dashboards/dashboard-widgets.contract';
|
|
53
|
+
import { filesContract } from './files/files.contract';
|
|
54
|
+
import { healthContract } from './health/health.contract';
|
|
55
|
+
import { jobsContractRouter } from './jobs/jobs.contract';
|
|
56
|
+
import { leadAssignmentsContract } from './lead-assignments/lead-assignments.contract';
|
|
57
|
+
import { agentLeadDistributionContract } from './lead-distribution/agent-lead-distribution.contract';
|
|
58
|
+
import { leadDistributionConfigContract } from './lead-distribution/lead-distribution-config.contract';
|
|
59
|
+
import { leadsContractRouter } from './leads/leads.contract';
|
|
60
|
+
import { locationsContract } from './locations/locations.contract';
|
|
61
|
+
import { monitoringContract } from './monitoring/monitoring.contract';
|
|
62
|
+
import { ownResearchContract } from './own-research/own-research.contract';
|
|
63
|
+
import { postcodesContract } from './postcodes/postcodes.contract';
|
|
64
|
+
import { qualificationsContract } from './qualifications/qualifications.contract';
|
|
65
|
+
import { tradesContract } from './trades/trades.contract';
|
|
66
|
+
import { usersContract } from './users/users.contract';
|
|
67
|
+
import { workersContractRouter } from './workers/workers.contract';
|
|
68
68
|
type ApiContractRouter = {
|
|
69
69
|
AgentClientLinks: typeof agentClientLinksContract;
|
|
70
70
|
CallHistory: typeof callHistoryContract;
|