@dakkitor/api-contracts 1.8.0 → 1.9.2
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 +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +32 -1
- package/dist/abilities/abilities.contract.spec.js +63 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +48 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +6959 -6547
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1275 -1173
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +102 -102
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +9963 -9305
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +1040 -828
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +138 -98
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +18372 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +494 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +357 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3108 -3004
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2604 -2507
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- 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 +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +245 -245
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3830 -2354
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +73 -7
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +94 -94
- package/dist/curated-worker-leads/contact-history.spec.js +141 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8185 -2106
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +2033 -1951
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1027 -284
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +755 -755
- package/dist/exports-events/exports-events.schemas.d.ts +6 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/jobs/jobs.contract.d.ts +8507 -6044
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +2985 -1139
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +341 -317
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +282 -282
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +579 -107
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +971 -820
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +216 -216
- package/dist/users/users.contract.d.ts +365 -336
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +150 -150
- package/dist/workers/workers.contract.d.ts +4505 -4261
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
7
7
|
type: z.ZodEnum<["POSTCODE", "SECTOR", "DISTRICT", "AREA"]>;
|
|
8
8
|
postcode: z.ZodOptional<z.ZodString>;
|
|
9
9
|
county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
nearestMajorPlace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
adminDistrict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
builtUpArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
postTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16,13 +18,15 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
16
18
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
17
19
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
18
20
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
id: string;
|
|
20
|
-
updatedAt: string;
|
|
21
21
|
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
id: string;
|
|
22
24
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
23
|
-
address?: string | null | undefined;
|
|
24
25
|
postcode?: string | undefined;
|
|
26
|
+
address?: string | null | undefined;
|
|
25
27
|
county?: string | null | undefined;
|
|
28
|
+
locality?: string | null | undefined;
|
|
29
|
+
nearestMajorPlace?: string | null | undefined;
|
|
26
30
|
adminDistrict?: string | null | undefined;
|
|
27
31
|
builtUpArea?: string | null | undefined;
|
|
28
32
|
postTown?: string | null | undefined;
|
|
@@ -30,13 +34,15 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
30
34
|
country?: string | null | undefined;
|
|
31
35
|
region?: string | null | undefined;
|
|
32
36
|
}, {
|
|
33
|
-
id: string;
|
|
34
|
-
updatedAt: string | Date;
|
|
35
37
|
createdAt: string | Date;
|
|
38
|
+
updatedAt: string | Date;
|
|
39
|
+
id: string;
|
|
36
40
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
37
|
-
address?: string | null | undefined;
|
|
38
41
|
postcode?: string | undefined;
|
|
42
|
+
address?: string | null | undefined;
|
|
39
43
|
county?: string | null | undefined;
|
|
44
|
+
locality?: string | null | undefined;
|
|
45
|
+
nearestMajorPlace?: string | null | undefined;
|
|
40
46
|
adminDistrict?: string | null | undefined;
|
|
41
47
|
builtUpArea?: string | null | undefined;
|
|
42
48
|
postTown?: string | null | undefined;
|
|
@@ -48,11 +54,11 @@ export declare const UpdateLocationSchema: z.ZodObject<{
|
|
|
48
54
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
55
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
56
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
address?: string | null | undefined;
|
|
52
57
|
postcode?: string | null | undefined;
|
|
53
|
-
}, {
|
|
54
58
|
address?: string | null | undefined;
|
|
59
|
+
}, {
|
|
55
60
|
postcode?: string | null | undefined;
|
|
61
|
+
address?: string | null | undefined;
|
|
56
62
|
}>;
|
|
57
63
|
export declare const FilterLocationSchema: z.ZodObject<{
|
|
58
64
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -81,15 +87,15 @@ export declare const locationsContract: {
|
|
|
81
87
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
88
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
83
89
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
address?: string | null | undefined;
|
|
85
90
|
postcode?: string | null | undefined;
|
|
86
|
-
}, {
|
|
87
91
|
address?: string | null | undefined;
|
|
92
|
+
}, {
|
|
88
93
|
postcode?: string | null | undefined;
|
|
94
|
+
address?: string | null | undefined;
|
|
89
95
|
}>;
|
|
90
96
|
path: "/v2/locations";
|
|
91
97
|
responses: {
|
|
92
|
-
|
|
98
|
+
401: z.ZodObject<{
|
|
93
99
|
statusCode: z.ZodNumber;
|
|
94
100
|
message: z.ZodString;
|
|
95
101
|
code: z.ZodString;
|
|
@@ -98,23 +104,23 @@ export declare const locationsContract: {
|
|
|
98
104
|
path: z.ZodString;
|
|
99
105
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
100
106
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
message: string;
|
|
102
107
|
code: string;
|
|
103
108
|
path: string;
|
|
109
|
+
message: string;
|
|
104
110
|
statusCode: number;
|
|
105
111
|
timestamp: string;
|
|
106
112
|
details?: unknown;
|
|
107
113
|
correlationId?: string | undefined;
|
|
108
114
|
}, {
|
|
109
|
-
message: string;
|
|
110
115
|
code: string;
|
|
111
116
|
path: string;
|
|
117
|
+
message: string;
|
|
112
118
|
statusCode: number;
|
|
113
119
|
timestamp: string;
|
|
114
120
|
details?: unknown;
|
|
115
121
|
correlationId?: string | undefined;
|
|
116
122
|
}>;
|
|
117
|
-
|
|
123
|
+
400: z.ZodObject<{
|
|
118
124
|
statusCode: z.ZodNumber;
|
|
119
125
|
message: z.ZodString;
|
|
120
126
|
code: z.ZodString;
|
|
@@ -123,17 +129,17 @@ export declare const locationsContract: {
|
|
|
123
129
|
path: z.ZodString;
|
|
124
130
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
125
131
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
message: string;
|
|
127
132
|
code: string;
|
|
128
133
|
path: string;
|
|
134
|
+
message: string;
|
|
129
135
|
statusCode: number;
|
|
130
136
|
timestamp: string;
|
|
131
137
|
details?: unknown;
|
|
132
138
|
correlationId?: string | undefined;
|
|
133
139
|
}, {
|
|
134
|
-
message: string;
|
|
135
140
|
code: string;
|
|
136
141
|
path: string;
|
|
142
|
+
message: string;
|
|
137
143
|
statusCode: number;
|
|
138
144
|
timestamp: string;
|
|
139
145
|
details?: unknown;
|
|
@@ -148,17 +154,17 @@ export declare const locationsContract: {
|
|
|
148
154
|
path: z.ZodString;
|
|
149
155
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
150
156
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
message: string;
|
|
152
157
|
code: string;
|
|
153
158
|
path: string;
|
|
159
|
+
message: string;
|
|
154
160
|
statusCode: number;
|
|
155
161
|
timestamp: string;
|
|
156
162
|
details?: unknown;
|
|
157
163
|
correlationId?: string | undefined;
|
|
158
164
|
}, {
|
|
159
|
-
message: string;
|
|
160
165
|
code: string;
|
|
161
166
|
path: string;
|
|
167
|
+
message: string;
|
|
162
168
|
statusCode: number;
|
|
163
169
|
timestamp: string;
|
|
164
170
|
details?: unknown;
|
|
@@ -173,17 +179,17 @@ export declare const locationsContract: {
|
|
|
173
179
|
path: z.ZodString;
|
|
174
180
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
175
181
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
message: string;
|
|
177
182
|
code: string;
|
|
178
183
|
path: string;
|
|
184
|
+
message: string;
|
|
179
185
|
statusCode: number;
|
|
180
186
|
timestamp: string;
|
|
181
187
|
details?: unknown;
|
|
182
188
|
correlationId?: string | undefined;
|
|
183
189
|
}, {
|
|
184
|
-
message: string;
|
|
185
190
|
code: string;
|
|
186
191
|
path: string;
|
|
192
|
+
message: string;
|
|
187
193
|
statusCode: number;
|
|
188
194
|
timestamp: string;
|
|
189
195
|
details?: unknown;
|
|
@@ -195,6 +201,8 @@ export declare const locationsContract: {
|
|
|
195
201
|
type: z.ZodEnum<["POSTCODE", "SECTOR", "DISTRICT", "AREA"]>;
|
|
196
202
|
postcode: z.ZodOptional<z.ZodString>;
|
|
197
203
|
county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
nearestMajorPlace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
206
|
adminDistrict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
207
|
builtUpArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
208
|
postTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -204,13 +212,15 @@ export declare const locationsContract: {
|
|
|
204
212
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
205
213
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
206
214
|
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
id: string;
|
|
208
|
-
updatedAt: string;
|
|
209
215
|
createdAt: string;
|
|
216
|
+
updatedAt: string;
|
|
217
|
+
id: string;
|
|
210
218
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
211
|
-
address?: string | null | undefined;
|
|
212
219
|
postcode?: string | undefined;
|
|
220
|
+
address?: string | null | undefined;
|
|
213
221
|
county?: string | null | undefined;
|
|
222
|
+
locality?: string | null | undefined;
|
|
223
|
+
nearestMajorPlace?: string | null | undefined;
|
|
214
224
|
adminDistrict?: string | null | undefined;
|
|
215
225
|
builtUpArea?: string | null | undefined;
|
|
216
226
|
postTown?: string | null | undefined;
|
|
@@ -218,13 +228,15 @@ export declare const locationsContract: {
|
|
|
218
228
|
country?: string | null | undefined;
|
|
219
229
|
region?: string | null | undefined;
|
|
220
230
|
}, {
|
|
221
|
-
id: string;
|
|
222
|
-
updatedAt: string | Date;
|
|
223
231
|
createdAt: string | Date;
|
|
232
|
+
updatedAt: string | Date;
|
|
233
|
+
id: string;
|
|
224
234
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
225
|
-
address?: string | null | undefined;
|
|
226
235
|
postcode?: string | undefined;
|
|
236
|
+
address?: string | null | undefined;
|
|
227
237
|
county?: string | null | undefined;
|
|
238
|
+
locality?: string | null | undefined;
|
|
239
|
+
nearestMajorPlace?: string | null | undefined;
|
|
228
240
|
adminDistrict?: string | null | undefined;
|
|
229
241
|
builtUpArea?: string | null | undefined;
|
|
230
242
|
postTown?: string | null | undefined;
|
|
@@ -252,7 +264,7 @@ export declare const locationsContract: {
|
|
|
252
264
|
method: "GET";
|
|
253
265
|
path: "/v2/locations";
|
|
254
266
|
responses: {
|
|
255
|
-
|
|
267
|
+
401: z.ZodObject<{
|
|
256
268
|
statusCode: z.ZodNumber;
|
|
257
269
|
message: z.ZodString;
|
|
258
270
|
code: z.ZodString;
|
|
@@ -261,23 +273,23 @@ export declare const locationsContract: {
|
|
|
261
273
|
path: z.ZodString;
|
|
262
274
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
263
275
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
message: string;
|
|
265
276
|
code: string;
|
|
266
277
|
path: string;
|
|
278
|
+
message: string;
|
|
267
279
|
statusCode: number;
|
|
268
280
|
timestamp: string;
|
|
269
281
|
details?: unknown;
|
|
270
282
|
correlationId?: string | undefined;
|
|
271
283
|
}, {
|
|
272
|
-
message: string;
|
|
273
284
|
code: string;
|
|
274
285
|
path: string;
|
|
286
|
+
message: string;
|
|
275
287
|
statusCode: number;
|
|
276
288
|
timestamp: string;
|
|
277
289
|
details?: unknown;
|
|
278
290
|
correlationId?: string | undefined;
|
|
279
291
|
}>;
|
|
280
|
-
|
|
292
|
+
400: z.ZodObject<{
|
|
281
293
|
statusCode: z.ZodNumber;
|
|
282
294
|
message: z.ZodString;
|
|
283
295
|
code: z.ZodString;
|
|
@@ -286,17 +298,17 @@ export declare const locationsContract: {
|
|
|
286
298
|
path: z.ZodString;
|
|
287
299
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
288
300
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
message: string;
|
|
290
301
|
code: string;
|
|
291
302
|
path: string;
|
|
303
|
+
message: string;
|
|
292
304
|
statusCode: number;
|
|
293
305
|
timestamp: string;
|
|
294
306
|
details?: unknown;
|
|
295
307
|
correlationId?: string | undefined;
|
|
296
308
|
}, {
|
|
297
|
-
message: string;
|
|
298
309
|
code: string;
|
|
299
310
|
path: string;
|
|
311
|
+
message: string;
|
|
300
312
|
statusCode: number;
|
|
301
313
|
timestamp: string;
|
|
302
314
|
details?: unknown;
|
|
@@ -311,17 +323,17 @@ export declare const locationsContract: {
|
|
|
311
323
|
path: z.ZodString;
|
|
312
324
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
313
325
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
message: string;
|
|
315
326
|
code: string;
|
|
316
327
|
path: string;
|
|
328
|
+
message: string;
|
|
317
329
|
statusCode: number;
|
|
318
330
|
timestamp: string;
|
|
319
331
|
details?: unknown;
|
|
320
332
|
correlationId?: string | undefined;
|
|
321
333
|
}, {
|
|
322
|
-
message: string;
|
|
323
334
|
code: string;
|
|
324
335
|
path: string;
|
|
336
|
+
message: string;
|
|
325
337
|
statusCode: number;
|
|
326
338
|
timestamp: string;
|
|
327
339
|
details?: unknown;
|
|
@@ -336,17 +348,17 @@ export declare const locationsContract: {
|
|
|
336
348
|
path: z.ZodString;
|
|
337
349
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
338
350
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
message: string;
|
|
340
351
|
code: string;
|
|
341
352
|
path: string;
|
|
353
|
+
message: string;
|
|
342
354
|
statusCode: number;
|
|
343
355
|
timestamp: string;
|
|
344
356
|
details?: unknown;
|
|
345
357
|
correlationId?: string | undefined;
|
|
346
358
|
}, {
|
|
347
|
-
message: string;
|
|
348
359
|
code: string;
|
|
349
360
|
path: string;
|
|
361
|
+
message: string;
|
|
350
362
|
statusCode: number;
|
|
351
363
|
timestamp: string;
|
|
352
364
|
details?: unknown;
|
|
@@ -359,6 +371,8 @@ export declare const locationsContract: {
|
|
|
359
371
|
type: z.ZodEnum<["POSTCODE", "SECTOR", "DISTRICT", "AREA"]>;
|
|
360
372
|
postcode: z.ZodOptional<z.ZodString>;
|
|
361
373
|
county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
374
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
nearestMajorPlace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
376
|
adminDistrict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
377
|
builtUpArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
378
|
postTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -368,13 +382,15 @@ export declare const locationsContract: {
|
|
|
368
382
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
369
383
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
370
384
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
id: string;
|
|
372
|
-
updatedAt: string;
|
|
373
385
|
createdAt: string;
|
|
386
|
+
updatedAt: string;
|
|
387
|
+
id: string;
|
|
374
388
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
375
|
-
address?: string | null | undefined;
|
|
376
389
|
postcode?: string | undefined;
|
|
390
|
+
address?: string | null | undefined;
|
|
377
391
|
county?: string | null | undefined;
|
|
392
|
+
locality?: string | null | undefined;
|
|
393
|
+
nearestMajorPlace?: string | null | undefined;
|
|
378
394
|
adminDistrict?: string | null | undefined;
|
|
379
395
|
builtUpArea?: string | null | undefined;
|
|
380
396
|
postTown?: string | null | undefined;
|
|
@@ -382,13 +398,15 @@ export declare const locationsContract: {
|
|
|
382
398
|
country?: string | null | undefined;
|
|
383
399
|
region?: string | null | undefined;
|
|
384
400
|
}, {
|
|
385
|
-
id: string;
|
|
386
|
-
updatedAt: string | Date;
|
|
387
401
|
createdAt: string | Date;
|
|
402
|
+
updatedAt: string | Date;
|
|
403
|
+
id: string;
|
|
388
404
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
389
|
-
address?: string | null | undefined;
|
|
390
405
|
postcode?: string | undefined;
|
|
406
|
+
address?: string | null | undefined;
|
|
391
407
|
county?: string | null | undefined;
|
|
408
|
+
locality?: string | null | undefined;
|
|
409
|
+
nearestMajorPlace?: string | null | undefined;
|
|
392
410
|
adminDistrict?: string | null | undefined;
|
|
393
411
|
builtUpArea?: string | null | undefined;
|
|
394
412
|
postTown?: string | null | undefined;
|
|
@@ -404,13 +422,15 @@ export declare const locationsContract: {
|
|
|
404
422
|
}, "strip", z.ZodTypeAny, {
|
|
405
423
|
limit: number;
|
|
406
424
|
items: {
|
|
407
|
-
id: string;
|
|
408
|
-
updatedAt: string;
|
|
409
425
|
createdAt: string;
|
|
426
|
+
updatedAt: string;
|
|
427
|
+
id: string;
|
|
410
428
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
411
|
-
address?: string | null | undefined;
|
|
412
429
|
postcode?: string | undefined;
|
|
430
|
+
address?: string | null | undefined;
|
|
413
431
|
county?: string | null | undefined;
|
|
432
|
+
locality?: string | null | undefined;
|
|
433
|
+
nearestMajorPlace?: string | null | undefined;
|
|
414
434
|
adminDistrict?: string | null | undefined;
|
|
415
435
|
builtUpArea?: string | null | undefined;
|
|
416
436
|
postTown?: string | null | undefined;
|
|
@@ -425,13 +445,15 @@ export declare const locationsContract: {
|
|
|
425
445
|
}, {
|
|
426
446
|
limit: number;
|
|
427
447
|
items: {
|
|
428
|
-
id: string;
|
|
429
|
-
updatedAt: string | Date;
|
|
430
448
|
createdAt: string | Date;
|
|
449
|
+
updatedAt: string | Date;
|
|
450
|
+
id: string;
|
|
431
451
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
432
|
-
address?: string | null | undefined;
|
|
433
452
|
postcode?: string | undefined;
|
|
453
|
+
address?: string | null | undefined;
|
|
434
454
|
county?: string | null | undefined;
|
|
455
|
+
locality?: string | null | undefined;
|
|
456
|
+
nearestMajorPlace?: string | null | undefined;
|
|
435
457
|
adminDistrict?: string | null | undefined;
|
|
436
458
|
builtUpArea?: string | null | undefined;
|
|
437
459
|
postTown?: string | null | undefined;
|
|
@@ -461,7 +483,7 @@ export declare const locationsContract: {
|
|
|
461
483
|
method: "GET";
|
|
462
484
|
path: "/v2/locations/:id";
|
|
463
485
|
responses: {
|
|
464
|
-
|
|
486
|
+
401: z.ZodObject<{
|
|
465
487
|
statusCode: z.ZodNumber;
|
|
466
488
|
message: z.ZodString;
|
|
467
489
|
code: z.ZodString;
|
|
@@ -470,23 +492,23 @@ export declare const locationsContract: {
|
|
|
470
492
|
path: z.ZodString;
|
|
471
493
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
472
494
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
message: string;
|
|
474
495
|
code: string;
|
|
475
496
|
path: string;
|
|
497
|
+
message: string;
|
|
476
498
|
statusCode: number;
|
|
477
499
|
timestamp: string;
|
|
478
500
|
details?: unknown;
|
|
479
501
|
correlationId?: string | undefined;
|
|
480
502
|
}, {
|
|
481
|
-
message: string;
|
|
482
503
|
code: string;
|
|
483
504
|
path: string;
|
|
505
|
+
message: string;
|
|
484
506
|
statusCode: number;
|
|
485
507
|
timestamp: string;
|
|
486
508
|
details?: unknown;
|
|
487
509
|
correlationId?: string | undefined;
|
|
488
510
|
}>;
|
|
489
|
-
|
|
511
|
+
400: z.ZodObject<{
|
|
490
512
|
statusCode: z.ZodNumber;
|
|
491
513
|
message: z.ZodString;
|
|
492
514
|
code: z.ZodString;
|
|
@@ -495,17 +517,17 @@ export declare const locationsContract: {
|
|
|
495
517
|
path: z.ZodString;
|
|
496
518
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
497
519
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
message: string;
|
|
499
520
|
code: string;
|
|
500
521
|
path: string;
|
|
522
|
+
message: string;
|
|
501
523
|
statusCode: number;
|
|
502
524
|
timestamp: string;
|
|
503
525
|
details?: unknown;
|
|
504
526
|
correlationId?: string | undefined;
|
|
505
527
|
}, {
|
|
506
|
-
message: string;
|
|
507
528
|
code: string;
|
|
508
529
|
path: string;
|
|
530
|
+
message: string;
|
|
509
531
|
statusCode: number;
|
|
510
532
|
timestamp: string;
|
|
511
533
|
details?: unknown;
|
|
@@ -520,17 +542,17 @@ export declare const locationsContract: {
|
|
|
520
542
|
path: z.ZodString;
|
|
521
543
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
522
544
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
message: string;
|
|
524
545
|
code: string;
|
|
525
546
|
path: string;
|
|
547
|
+
message: string;
|
|
526
548
|
statusCode: number;
|
|
527
549
|
timestamp: string;
|
|
528
550
|
details?: unknown;
|
|
529
551
|
correlationId?: string | undefined;
|
|
530
552
|
}, {
|
|
531
|
-
message: string;
|
|
532
553
|
code: string;
|
|
533
554
|
path: string;
|
|
555
|
+
message: string;
|
|
534
556
|
statusCode: number;
|
|
535
557
|
timestamp: string;
|
|
536
558
|
details?: unknown;
|
|
@@ -545,17 +567,17 @@ export declare const locationsContract: {
|
|
|
545
567
|
path: z.ZodString;
|
|
546
568
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
547
569
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
message: string;
|
|
549
570
|
code: string;
|
|
550
571
|
path: string;
|
|
572
|
+
message: string;
|
|
551
573
|
statusCode: number;
|
|
552
574
|
timestamp: string;
|
|
553
575
|
details?: unknown;
|
|
554
576
|
correlationId?: string | undefined;
|
|
555
577
|
}, {
|
|
556
|
-
message: string;
|
|
557
578
|
code: string;
|
|
558
579
|
path: string;
|
|
580
|
+
message: string;
|
|
559
581
|
statusCode: number;
|
|
560
582
|
timestamp: string;
|
|
561
583
|
details?: unknown;
|
|
@@ -567,6 +589,8 @@ export declare const locationsContract: {
|
|
|
567
589
|
type: z.ZodEnum<["POSTCODE", "SECTOR", "DISTRICT", "AREA"]>;
|
|
568
590
|
postcode: z.ZodOptional<z.ZodString>;
|
|
569
591
|
county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
nearestMajorPlace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
570
594
|
adminDistrict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
595
|
builtUpArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
596
|
postTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -576,13 +600,15 @@ export declare const locationsContract: {
|
|
|
576
600
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
577
601
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
578
602
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
-
id: string;
|
|
580
|
-
updatedAt: string;
|
|
581
603
|
createdAt: string;
|
|
604
|
+
updatedAt: string;
|
|
605
|
+
id: string;
|
|
582
606
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
583
|
-
address?: string | null | undefined;
|
|
584
607
|
postcode?: string | undefined;
|
|
608
|
+
address?: string | null | undefined;
|
|
585
609
|
county?: string | null | undefined;
|
|
610
|
+
locality?: string | null | undefined;
|
|
611
|
+
nearestMajorPlace?: string | null | undefined;
|
|
586
612
|
adminDistrict?: string | null | undefined;
|
|
587
613
|
builtUpArea?: string | null | undefined;
|
|
588
614
|
postTown?: string | null | undefined;
|
|
@@ -590,13 +616,15 @@ export declare const locationsContract: {
|
|
|
590
616
|
country?: string | null | undefined;
|
|
591
617
|
region?: string | null | undefined;
|
|
592
618
|
}, {
|
|
593
|
-
id: string;
|
|
594
|
-
updatedAt: string | Date;
|
|
595
619
|
createdAt: string | Date;
|
|
620
|
+
updatedAt: string | Date;
|
|
621
|
+
id: string;
|
|
596
622
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
597
|
-
address?: string | null | undefined;
|
|
598
623
|
postcode?: string | undefined;
|
|
624
|
+
address?: string | null | undefined;
|
|
599
625
|
county?: string | null | undefined;
|
|
626
|
+
locality?: string | null | undefined;
|
|
627
|
+
nearestMajorPlace?: string | null | undefined;
|
|
600
628
|
adminDistrict?: string | null | undefined;
|
|
601
629
|
builtUpArea?: string | null | undefined;
|
|
602
630
|
postTown?: string | null | undefined;
|
|
@@ -613,17 +641,17 @@ export declare const locationsContract: {
|
|
|
613
641
|
path: z.ZodString;
|
|
614
642
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
615
643
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
message: string;
|
|
617
644
|
code: string;
|
|
618
645
|
path: string;
|
|
646
|
+
message: string;
|
|
619
647
|
statusCode: number;
|
|
620
648
|
timestamp: string;
|
|
621
649
|
details?: unknown;
|
|
622
650
|
correlationId?: string | undefined;
|
|
623
651
|
}, {
|
|
624
|
-
message: string;
|
|
625
652
|
code: string;
|
|
626
653
|
path: string;
|
|
654
|
+
message: string;
|
|
627
655
|
statusCode: number;
|
|
628
656
|
timestamp: string;
|
|
629
657
|
details?: unknown;
|
|
@@ -648,15 +676,15 @@ export declare const locationsContract: {
|
|
|
648
676
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
649
677
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
650
678
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
address?: string | null | undefined;
|
|
652
679
|
postcode?: string | null | undefined;
|
|
653
|
-
}, {
|
|
654
680
|
address?: string | null | undefined;
|
|
681
|
+
}, {
|
|
655
682
|
postcode?: string | null | undefined;
|
|
683
|
+
address?: string | null | undefined;
|
|
656
684
|
}>;
|
|
657
685
|
path: "/v2/locations/:id";
|
|
658
686
|
responses: {
|
|
659
|
-
|
|
687
|
+
401: z.ZodObject<{
|
|
660
688
|
statusCode: z.ZodNumber;
|
|
661
689
|
message: z.ZodString;
|
|
662
690
|
code: z.ZodString;
|
|
@@ -665,23 +693,23 @@ export declare const locationsContract: {
|
|
|
665
693
|
path: z.ZodString;
|
|
666
694
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
667
695
|
}, "strip", z.ZodTypeAny, {
|
|
668
|
-
message: string;
|
|
669
696
|
code: string;
|
|
670
697
|
path: string;
|
|
698
|
+
message: string;
|
|
671
699
|
statusCode: number;
|
|
672
700
|
timestamp: string;
|
|
673
701
|
details?: unknown;
|
|
674
702
|
correlationId?: string | undefined;
|
|
675
703
|
}, {
|
|
676
|
-
message: string;
|
|
677
704
|
code: string;
|
|
678
705
|
path: string;
|
|
706
|
+
message: string;
|
|
679
707
|
statusCode: number;
|
|
680
708
|
timestamp: string;
|
|
681
709
|
details?: unknown;
|
|
682
710
|
correlationId?: string | undefined;
|
|
683
711
|
}>;
|
|
684
|
-
|
|
712
|
+
400: z.ZodObject<{
|
|
685
713
|
statusCode: z.ZodNumber;
|
|
686
714
|
message: z.ZodString;
|
|
687
715
|
code: z.ZodString;
|
|
@@ -690,17 +718,17 @@ export declare const locationsContract: {
|
|
|
690
718
|
path: z.ZodString;
|
|
691
719
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
692
720
|
}, "strip", z.ZodTypeAny, {
|
|
693
|
-
message: string;
|
|
694
721
|
code: string;
|
|
695
722
|
path: string;
|
|
723
|
+
message: string;
|
|
696
724
|
statusCode: number;
|
|
697
725
|
timestamp: string;
|
|
698
726
|
details?: unknown;
|
|
699
727
|
correlationId?: string | undefined;
|
|
700
728
|
}, {
|
|
701
|
-
message: string;
|
|
702
729
|
code: string;
|
|
703
730
|
path: string;
|
|
731
|
+
message: string;
|
|
704
732
|
statusCode: number;
|
|
705
733
|
timestamp: string;
|
|
706
734
|
details?: unknown;
|
|
@@ -715,17 +743,17 @@ export declare const locationsContract: {
|
|
|
715
743
|
path: z.ZodString;
|
|
716
744
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
717
745
|
}, "strip", z.ZodTypeAny, {
|
|
718
|
-
message: string;
|
|
719
746
|
code: string;
|
|
720
747
|
path: string;
|
|
748
|
+
message: string;
|
|
721
749
|
statusCode: number;
|
|
722
750
|
timestamp: string;
|
|
723
751
|
details?: unknown;
|
|
724
752
|
correlationId?: string | undefined;
|
|
725
753
|
}, {
|
|
726
|
-
message: string;
|
|
727
754
|
code: string;
|
|
728
755
|
path: string;
|
|
756
|
+
message: string;
|
|
729
757
|
statusCode: number;
|
|
730
758
|
timestamp: string;
|
|
731
759
|
details?: unknown;
|
|
@@ -740,17 +768,17 @@ export declare const locationsContract: {
|
|
|
740
768
|
path: z.ZodString;
|
|
741
769
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
742
770
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
message: string;
|
|
744
771
|
code: string;
|
|
745
772
|
path: string;
|
|
773
|
+
message: string;
|
|
746
774
|
statusCode: number;
|
|
747
775
|
timestamp: string;
|
|
748
776
|
details?: unknown;
|
|
749
777
|
correlationId?: string | undefined;
|
|
750
778
|
}, {
|
|
751
|
-
message: string;
|
|
752
779
|
code: string;
|
|
753
780
|
path: string;
|
|
781
|
+
message: string;
|
|
754
782
|
statusCode: number;
|
|
755
783
|
timestamp: string;
|
|
756
784
|
details?: unknown;
|
|
@@ -762,6 +790,8 @@ export declare const locationsContract: {
|
|
|
762
790
|
type: z.ZodEnum<["POSTCODE", "SECTOR", "DISTRICT", "AREA"]>;
|
|
763
791
|
postcode: z.ZodOptional<z.ZodString>;
|
|
764
792
|
county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
|
+
locality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
794
|
+
nearestMajorPlace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
765
795
|
adminDistrict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
766
796
|
builtUpArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
797
|
postTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -771,13 +801,15 @@ export declare const locationsContract: {
|
|
|
771
801
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
772
802
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
773
803
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
id: string;
|
|
775
|
-
updatedAt: string;
|
|
776
804
|
createdAt: string;
|
|
805
|
+
updatedAt: string;
|
|
806
|
+
id: string;
|
|
777
807
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
778
|
-
address?: string | null | undefined;
|
|
779
808
|
postcode?: string | undefined;
|
|
809
|
+
address?: string | null | undefined;
|
|
780
810
|
county?: string | null | undefined;
|
|
811
|
+
locality?: string | null | undefined;
|
|
812
|
+
nearestMajorPlace?: string | null | undefined;
|
|
781
813
|
adminDistrict?: string | null | undefined;
|
|
782
814
|
builtUpArea?: string | null | undefined;
|
|
783
815
|
postTown?: string | null | undefined;
|
|
@@ -785,13 +817,15 @@ export declare const locationsContract: {
|
|
|
785
817
|
country?: string | null | undefined;
|
|
786
818
|
region?: string | null | undefined;
|
|
787
819
|
}, {
|
|
788
|
-
id: string;
|
|
789
|
-
updatedAt: string | Date;
|
|
790
820
|
createdAt: string | Date;
|
|
821
|
+
updatedAt: string | Date;
|
|
822
|
+
id: string;
|
|
791
823
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
792
|
-
address?: string | null | undefined;
|
|
793
824
|
postcode?: string | undefined;
|
|
825
|
+
address?: string | null | undefined;
|
|
794
826
|
county?: string | null | undefined;
|
|
827
|
+
locality?: string | null | undefined;
|
|
828
|
+
nearestMajorPlace?: string | null | undefined;
|
|
795
829
|
adminDistrict?: string | null | undefined;
|
|
796
830
|
builtUpArea?: string | null | undefined;
|
|
797
831
|
postTown?: string | null | undefined;
|
|
@@ -808,17 +842,17 @@ export declare const locationsContract: {
|
|
|
808
842
|
path: z.ZodString;
|
|
809
843
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
810
844
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
message: string;
|
|
812
845
|
code: string;
|
|
813
846
|
path: string;
|
|
847
|
+
message: string;
|
|
814
848
|
statusCode: number;
|
|
815
849
|
timestamp: string;
|
|
816
850
|
details?: unknown;
|
|
817
851
|
correlationId?: string | undefined;
|
|
818
852
|
}, {
|
|
819
|
-
message: string;
|
|
820
853
|
code: string;
|
|
821
854
|
path: string;
|
|
855
|
+
message: string;
|
|
822
856
|
statusCode: number;
|
|
823
857
|
timestamp: string;
|
|
824
858
|
details?: unknown;
|
|
@@ -842,7 +876,7 @@ export declare const locationsContract: {
|
|
|
842
876
|
body: typeof import("@ts-rest/core").ContractNoBody;
|
|
843
877
|
path: "/v2/locations/:id";
|
|
844
878
|
responses: {
|
|
845
|
-
|
|
879
|
+
401: z.ZodObject<{
|
|
846
880
|
statusCode: z.ZodNumber;
|
|
847
881
|
message: z.ZodString;
|
|
848
882
|
code: z.ZodString;
|
|
@@ -851,23 +885,23 @@ export declare const locationsContract: {
|
|
|
851
885
|
path: z.ZodString;
|
|
852
886
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
853
887
|
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
message: string;
|
|
855
888
|
code: string;
|
|
856
889
|
path: string;
|
|
890
|
+
message: string;
|
|
857
891
|
statusCode: number;
|
|
858
892
|
timestamp: string;
|
|
859
893
|
details?: unknown;
|
|
860
894
|
correlationId?: string | undefined;
|
|
861
895
|
}, {
|
|
862
|
-
message: string;
|
|
863
896
|
code: string;
|
|
864
897
|
path: string;
|
|
898
|
+
message: string;
|
|
865
899
|
statusCode: number;
|
|
866
900
|
timestamp: string;
|
|
867
901
|
details?: unknown;
|
|
868
902
|
correlationId?: string | undefined;
|
|
869
903
|
}>;
|
|
870
|
-
|
|
904
|
+
400: z.ZodObject<{
|
|
871
905
|
statusCode: z.ZodNumber;
|
|
872
906
|
message: z.ZodString;
|
|
873
907
|
code: z.ZodString;
|
|
@@ -876,17 +910,17 @@ export declare const locationsContract: {
|
|
|
876
910
|
path: z.ZodString;
|
|
877
911
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
878
912
|
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
message: string;
|
|
880
913
|
code: string;
|
|
881
914
|
path: string;
|
|
915
|
+
message: string;
|
|
882
916
|
statusCode: number;
|
|
883
917
|
timestamp: string;
|
|
884
918
|
details?: unknown;
|
|
885
919
|
correlationId?: string | undefined;
|
|
886
920
|
}, {
|
|
887
|
-
message: string;
|
|
888
921
|
code: string;
|
|
889
922
|
path: string;
|
|
923
|
+
message: string;
|
|
890
924
|
statusCode: number;
|
|
891
925
|
timestamp: string;
|
|
892
926
|
details?: unknown;
|
|
@@ -901,17 +935,17 @@ export declare const locationsContract: {
|
|
|
901
935
|
path: z.ZodString;
|
|
902
936
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
903
937
|
}, "strip", z.ZodTypeAny, {
|
|
904
|
-
message: string;
|
|
905
938
|
code: string;
|
|
906
939
|
path: string;
|
|
940
|
+
message: string;
|
|
907
941
|
statusCode: number;
|
|
908
942
|
timestamp: string;
|
|
909
943
|
details?: unknown;
|
|
910
944
|
correlationId?: string | undefined;
|
|
911
945
|
}, {
|
|
912
|
-
message: string;
|
|
913
946
|
code: string;
|
|
914
947
|
path: string;
|
|
948
|
+
message: string;
|
|
915
949
|
statusCode: number;
|
|
916
950
|
timestamp: string;
|
|
917
951
|
details?: unknown;
|
|
@@ -926,17 +960,17 @@ export declare const locationsContract: {
|
|
|
926
960
|
path: z.ZodString;
|
|
927
961
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
928
962
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
message: string;
|
|
930
963
|
code: string;
|
|
931
964
|
path: string;
|
|
965
|
+
message: string;
|
|
932
966
|
statusCode: number;
|
|
933
967
|
timestamp: string;
|
|
934
968
|
details?: unknown;
|
|
935
969
|
correlationId?: string | undefined;
|
|
936
970
|
}, {
|
|
937
|
-
message: string;
|
|
938
971
|
code: string;
|
|
939
972
|
path: string;
|
|
973
|
+
message: string;
|
|
940
974
|
statusCode: number;
|
|
941
975
|
timestamp: string;
|
|
942
976
|
details?: unknown;
|
|
@@ -952,17 +986,17 @@ export declare const locationsContract: {
|
|
|
952
986
|
path: z.ZodString;
|
|
953
987
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
954
988
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
message: string;
|
|
956
989
|
code: string;
|
|
957
990
|
path: string;
|
|
991
|
+
message: string;
|
|
958
992
|
statusCode: number;
|
|
959
993
|
timestamp: string;
|
|
960
994
|
details?: unknown;
|
|
961
995
|
correlationId?: string | undefined;
|
|
962
996
|
}, {
|
|
963
|
-
message: string;
|
|
964
997
|
code: string;
|
|
965
998
|
path: string;
|
|
999
|
+
message: string;
|
|
966
1000
|
statusCode: number;
|
|
967
1001
|
timestamp: string;
|
|
968
1002
|
details?: unknown;
|