@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
|
@@ -7,13 +7,13 @@ export declare const HealthCheckResultSchema: z.ZodObject<{
|
|
|
7
7
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
8
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
status: "error" | "ok" | "shutting_down";
|
|
11
10
|
details: Record<string, any>;
|
|
11
|
+
status: "error" | "ok" | "shutting_down";
|
|
12
12
|
error?: Record<string, any> | undefined;
|
|
13
13
|
info?: Record<string, any> | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
status: "error" | "ok" | "shutting_down";
|
|
16
15
|
details: Record<string, any>;
|
|
16
|
+
status: "error" | "ok" | "shutting_down";
|
|
17
17
|
error?: Record<string, any> | undefined;
|
|
18
18
|
info?: Record<string, any> | undefined;
|
|
19
19
|
}>;
|
|
@@ -39,19 +39,19 @@ export declare const healthContract: {
|
|
|
39
39
|
path: z.ZodString;
|
|
40
40
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
code: string;
|
|
43
|
-
path: string;
|
|
44
|
-
message: string;
|
|
45
42
|
statusCode: number;
|
|
43
|
+
message: string;
|
|
44
|
+
code: string;
|
|
46
45
|
timestamp: string;
|
|
46
|
+
path: string;
|
|
47
47
|
details?: unknown;
|
|
48
48
|
correlationId?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
code: string;
|
|
51
|
-
path: string;
|
|
52
|
-
message: string;
|
|
53
50
|
statusCode: number;
|
|
51
|
+
message: string;
|
|
52
|
+
code: string;
|
|
54
53
|
timestamp: string;
|
|
54
|
+
path: string;
|
|
55
55
|
details?: unknown;
|
|
56
56
|
correlationId?: string | undefined;
|
|
57
57
|
}>;
|
|
@@ -61,13 +61,13 @@ export declare const healthContract: {
|
|
|
61
61
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
62
62
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
status: "error" | "ok" | "shutting_down";
|
|
65
64
|
details: Record<string, any>;
|
|
65
|
+
status: "error" | "ok" | "shutting_down";
|
|
66
66
|
error?: Record<string, any> | undefined;
|
|
67
67
|
info?: Record<string, any> | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
status: "error" | "ok" | "shutting_down";
|
|
70
69
|
details: Record<string, any>;
|
|
70
|
+
status: "error" | "ok" | "shutting_down";
|
|
71
71
|
error?: Record<string, any> | undefined;
|
|
72
72
|
info?: Record<string, any> | undefined;
|
|
73
73
|
}>;
|
|
@@ -77,13 +77,13 @@ export declare const healthContract: {
|
|
|
77
77
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
78
78
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
status: "error" | "ok" | "shutting_down";
|
|
81
80
|
details: Record<string, any>;
|
|
81
|
+
status: "error" | "ok" | "shutting_down";
|
|
82
82
|
error?: Record<string, any> | undefined;
|
|
83
83
|
info?: Record<string, any> | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
status: "error" | "ok" | "shutting_down";
|
|
86
85
|
details: Record<string, any>;
|
|
86
|
+
status: "error" | "ok" | "shutting_down";
|
|
87
87
|
error?: Record<string, any> | undefined;
|
|
88
88
|
info?: Record<string, any> | undefined;
|
|
89
89
|
}>;
|
|
@@ -107,19 +107,19 @@ export declare const healthContract: {
|
|
|
107
107
|
path: z.ZodString;
|
|
108
108
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
code: string;
|
|
111
|
-
path: string;
|
|
112
|
-
message: string;
|
|
113
110
|
statusCode: number;
|
|
111
|
+
message: string;
|
|
112
|
+
code: string;
|
|
114
113
|
timestamp: string;
|
|
114
|
+
path: string;
|
|
115
115
|
details?: unknown;
|
|
116
116
|
correlationId?: string | undefined;
|
|
117
117
|
}, {
|
|
118
|
-
code: string;
|
|
119
|
-
path: string;
|
|
120
|
-
message: string;
|
|
121
118
|
statusCode: number;
|
|
119
|
+
message: string;
|
|
120
|
+
code: string;
|
|
122
121
|
timestamp: string;
|
|
122
|
+
path: string;
|
|
123
123
|
details?: unknown;
|
|
124
124
|
correlationId?: string | undefined;
|
|
125
125
|
}>;
|
|
@@ -129,13 +129,13 @@ export declare const healthContract: {
|
|
|
129
129
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
130
130
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
status: "error" | "ok" | "shutting_down";
|
|
133
132
|
details: Record<string, any>;
|
|
133
|
+
status: "error" | "ok" | "shutting_down";
|
|
134
134
|
error?: Record<string, any> | undefined;
|
|
135
135
|
info?: Record<string, any> | undefined;
|
|
136
136
|
}, {
|
|
137
|
-
status: "error" | "ok" | "shutting_down";
|
|
138
137
|
details: Record<string, any>;
|
|
138
|
+
status: "error" | "ok" | "shutting_down";
|
|
139
139
|
error?: Record<string, any> | undefined;
|
|
140
140
|
info?: Record<string, any> | undefined;
|
|
141
141
|
}>;
|
|
@@ -145,13 +145,13 @@ export declare const healthContract: {
|
|
|
145
145
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
146
146
|
details: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
status: "error" | "ok" | "shutting_down";
|
|
149
148
|
details: Record<string, any>;
|
|
149
|
+
status: "error" | "ok" | "shutting_down";
|
|
150
150
|
error?: Record<string, any> | undefined;
|
|
151
151
|
info?: Record<string, any> | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
status: "error" | "ok" | "shutting_down";
|
|
154
153
|
details: Record<string, any>;
|
|
154
|
+
status: "error" | "ok" | "shutting_down";
|
|
155
155
|
error?: Record<string, any> | undefined;
|
|
156
156
|
info?: Record<string, any> | undefined;
|
|
157
157
|
}>;
|