@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.
Files changed (63) hide show
  1. package/dist/abilities/abilities.contract.d.ts +19 -13
  2. package/dist/abilities/abilities.contract.js +33 -18
  3. package/dist/abilities/first-agent.abilities.json +68 -56
  4. package/dist/abilities/second-agent.abilities.json +3 -3
  5. package/dist/abilities/team-leads.json +3 -6
  6. package/dist/actives/actives.contract.d.ts +6313 -6313
  7. package/dist/actives/actives.contract.js +92 -92
  8. package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
  9. package/dist/auth/auth.contract.d.ts +16 -16
  10. package/dist/bookings/bookings.contract.d.ts +23378 -23378
  11. package/dist/call-history/call-history.contract.d.ts +366 -366
  12. package/dist/call-history/call-history.contract.js +67 -67
  13. package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
  14. package/dist/clients/clients.contract.d.ts +72 -72
  15. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
  16. package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
  17. package/dist/common/call-rating.schema.d.ts +12 -12
  18. package/dist/common/call-rating.schema.js +48 -40
  19. package/dist/common/common-schemas.d.ts +4 -4
  20. package/dist/common/common-schemas.d.ts.map +1 -1
  21. package/dist/common/common-schemas.js +1 -2
  22. package/dist/common/error-schemas.d.ts +11 -5
  23. package/dist/common/error-schemas.js +11 -8
  24. package/dist/common/openapi-metadata.d.ts +54 -44
  25. package/dist/common/openapi-metadata.js +135 -129
  26. package/dist/common/pagination-query.schema.d.ts +11 -5
  27. package/dist/common/pagination-query.schema.js +11 -8
  28. package/dist/companies/companies.contract.d.ts +40 -40
  29. package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
  30. package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
  31. package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
  32. package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
  33. package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
  34. package/dist/dashboards/dashboard-widgets.contract.js +89 -89
  35. package/dist/dashboards/dashboard.contract.d.ts +305 -215
  36. package/dist/files/files.contract.d.ts +1544 -1177
  37. package/dist/files/files.contract.js +177 -162
  38. package/dist/health/health.contract.d.ts +191 -144
  39. package/dist/health/health.contract.js +53 -40
  40. package/dist/index.d.ts +67 -67
  41. package/dist/jobs/jobs.contract.d.ts +2553 -2553
  42. package/dist/jobs/jobs.contract.js +150 -150
  43. package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
  44. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
  45. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
  46. package/dist/leads/leads.contract.d.ts +108 -108
  47. package/dist/leads/leads.contract.js +119 -119
  48. package/dist/locations/locations.contract.d.ts +7 -7
  49. package/dist/monitoring/monitoring.contract.d.ts +13 -13
  50. package/dist/monitoring/monitoring.contract.js +37 -37
  51. package/dist/own-research/own-research.contract.d.ts +535 -134
  52. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  53. package/dist/own-research/own-research.contract.js +88 -56
  54. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  55. package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
  56. package/dist/qualifications/qualifications.contract.js +193 -171
  57. package/dist/trades/trades.contract.d.ts +991 -763
  58. package/dist/trades/trades.contract.js +111 -89
  59. package/dist/users/users.contract.d.ts +202 -202
  60. package/dist/users/users.contract.js +121 -121
  61. package/dist/workers/workers.contract.d.ts +710 -710
  62. package/dist/workers/workers.contract.js +150 -150
  63. package/package.json +1 -1
@@ -1,161 +1,208 @@
1
1
  import { z } from 'zod';
2
- export declare const HealthCheckStatusSchema: z.ZodEnum<["error", "ok", "shutting_down"]>;
3
- export declare const HealthIndicatorResultSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
4
- export declare const HealthCheckResultSchema: z.ZodObject<{
5
- status: z.ZodEnum<["error", "ok", "shutting_down"]>;
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
- }, "strip", z.ZodTypeAny, {
10
- status: "error" | "ok" | "shutting_down";
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
- status: "error" | "ok" | "shutting_down";
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
- check: {
25
- metadata: {
26
- tags: string[];
27
- isPublic: boolean;
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
- liveness: {
93
- metadata: {
94
- tags: string[];
95
- isPublic: boolean;
96
- };
97
- summary: "Liveness check";
98
- method: "GET";
99
- path: "/v2/health/live";
100
- responses: {
101
- 500: z.ZodObject<{
102
- statusCode: z.ZodNumber;
103
- message: z.ZodString;
104
- code: z.ZodString;
105
- details: z.ZodOptional<z.ZodUnknown>;
106
- timestamp: z.ZodString;
107
- path: z.ZodString;
108
- correlationId: z.ZodOptional<z.ZodString>;
109
- }, "strip", z.ZodTypeAny, {
110
- code: string;
111
- path: string;
112
- message: string;
113
- statusCode: number;
114
- timestamp: string;
115
- details?: unknown;
116
- correlationId?: string | undefined;
117
- }, {
118
- code: string;
119
- path: string;
120
- message: string;
121
- statusCode: number;
122
- timestamp: string;
123
- details?: unknown;
124
- correlationId?: string | undefined;
125
- }>;
126
- 200: z.ZodObject<{
127
- status: z.ZodEnum<["error", "ok", "shutting_down"]>;
128
- info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
129
- error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
130
- details: z.ZodRecord<z.ZodString, z.ZodAny>;
131
- }, "strip", z.ZodTypeAny, {
132
- status: "error" | "ok" | "shutting_down";
133
- details: Record<string, any>;
134
- error?: Record<string, any> | undefined;
135
- info?: Record<string, any> | undefined;
136
- }, {
137
- status: "error" | "ok" | "shutting_down";
138
- details: Record<string, any>;
139
- error?: Record<string, any> | undefined;
140
- info?: Record<string, any> | undefined;
141
- }>;
142
- 503: z.ZodObject<{
143
- status: z.ZodEnum<["error", "ok", "shutting_down"]>;
144
- info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
145
- error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
146
- details: z.ZodRecord<z.ZodString, z.ZodAny>;
147
- }, "strip", z.ZodTypeAny, {
148
- status: "error" | "ok" | "shutting_down";
149
- details: Record<string, any>;
150
- error?: Record<string, any> | undefined;
151
- info?: Record<string, any> | undefined;
152
- }, {
153
- status: "error" | "ok" | "shutting_down";
154
- details: Record<string, any>;
155
- error?: Record<string, any> | undefined;
156
- info?: Record<string, any> | undefined;
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.healthContract = exports.HealthCheckResultSchema = exports.HealthIndicatorResultSchema = exports.HealthCheckStatusSchema = void 0;
4
- const core_1 = require("@ts-rest/core");
5
- const zod_1 = require("zod");
6
- const error_schemas_1 = require("../common/error-schemas");
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
- .enum(['error', 'ok', 'shutting_down'])
10
- .openapi({ title: 'HealthCheckStatus' });
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
- .object({
17
+ .object({
14
18
  status: exports.HealthCheckStatusSchema.describe('Health status'),
15
- info: exports.HealthIndicatorResultSchema.optional().describe('Information about the health check'),
16
- error: exports.HealthIndicatorResultSchema.optional().describe('Error details if any'),
17
- details: exports.HealthIndicatorResultSchema.describe('Detailed health check results'),
18
- })
19
- .openapi({ title: 'HealthCheckResult' });
20
- exports.healthContract = c.router({
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
- method: 'GET',
23
- path: '/health',
24
- responses: {
25
- 200: exports.HealthCheckResultSchema,
26
- 503: exports.HealthCheckResultSchema, // Health check might return 503 if unhealthy
27
- },
28
- summary: 'Check API health',
29
- metadata: {
30
- tags: ['Health'],
31
- isPublic: true,
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
- method: 'GET',
36
- path: '/health/live',
37
- responses: {
38
- 200: exports.HealthCheckResultSchema,
39
- 503: exports.HealthCheckResultSchema,
40
- },
41
- summary: 'Liveness check',
42
- metadata: {
43
- tags: ['Health'],
44
- isPublic: true,
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
- 500: error_schemas_1.ErrorResponseSchema,
62
+ 500: error_schemas_1.ErrorResponseSchema,
51
63
  },
52
- });
64
+ },
65
+ );
package/dist/index.d.ts CHANGED
@@ -1,70 +1,70 @@
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";
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;