@dakkitor/api-contracts 1.1.27 → 1.1.29
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 +5955 -1711
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +0 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +336 -336
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +2 -0
- package/dist/bookings/bookings.contract.d.ts +4557 -383
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +6 -6
- package/dist/call-history/call-history.contract.d.ts +1190 -276
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +11 -28
- package/dist/client-contacts/client-contacts.contract.d.ts +571 -534
- package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.js +4 -1
- package/dist/clients/clients.contract.d.ts +380 -380
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +8 -2
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3349 -1023
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaboration-checkings/collaboration-checkings.contract.js +3 -10
- package/dist/collaborations/collaborations.contract.d.ts +2934 -219
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +19 -33
- package/dist/common/call-rating.schema.d.ts +31 -0
- package/dist/common/call-rating.schema.d.ts.map +1 -0
- package/dist/common/call-rating.schema.js +63 -0
- package/dist/common/common-schemas.d.ts +6 -6
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +5 -7
- package/dist/common/error-schemas.d.ts +6 -6
- package/dist/companies/companies.contract.d.ts +212 -212
- package/dist/cron-executions/cron-executions.contract.d.ts +228 -228
- package/dist/curated-workers/curated-workers.contract.d.ts +374 -374
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +6 -13
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +120 -120
- package/dist/files/files.contract.d.ts +228 -228
- package/dist/health/health.contract.d.ts +22 -22
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +3274 -268
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +37 -18
- package/dist/lead-assignments/lead-assignments.contract.d.ts +278 -278
- package/dist/lead-assignments/lead-assignments.contract.js +2 -2
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +146 -146
- package/dist/leads/leads.contract.d.ts +319 -319
- package/dist/locations/locations.contract.d.ts +161 -161
- package/dist/postcodes/postcodes.contract.d.ts +66 -66
- package/dist/qualifications/qualifications.contract.d.ts +256 -256
- package/dist/trades/trades.contract.d.ts +160 -160
- package/dist/users/users.contract.d.ts +8 -8
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +2 -3
- package/dist/workers/workers.contract.d.ts +245 -266
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +22 -21
- package/package.json +1 -1
- package/dist/common/api-responses.d.ts +0 -105
- package/dist/common/api-responses.d.ts.map +0 -1
- package/dist/common/api-responses.js +0 -107
|
@@ -45,14 +45,14 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
45
45
|
region?: string | null | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
export declare const UpdateLocationSchema: z.ZodObject<{
|
|
48
|
-
address: z.ZodOptional<z.ZodString
|
|
49
|
-
postcode: z.ZodOptional<z.ZodString
|
|
48
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
address?: string | undefined;
|
|
52
|
-
postcode?: string | undefined;
|
|
51
|
+
address?: string | null | undefined;
|
|
52
|
+
postcode?: string | null | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
address?: string | undefined;
|
|
55
|
-
postcode?: string | undefined;
|
|
54
|
+
address?: string | null | undefined;
|
|
55
|
+
postcode?: string | null | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export declare const FilterLocationSchema: z.ZodObject<{
|
|
58
58
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -78,14 +78,14 @@ export declare const locationsContract: {
|
|
|
78
78
|
summary: "Create a new location";
|
|
79
79
|
method: "POST";
|
|
80
80
|
body: z.ZodObject<{
|
|
81
|
-
address: z.ZodOptional<z.ZodString
|
|
82
|
-
postcode: z.ZodOptional<z.ZodString
|
|
81
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
address?: string | undefined;
|
|
85
|
-
postcode?: string | undefined;
|
|
84
|
+
address?: string | null | undefined;
|
|
85
|
+
postcode?: string | null | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
address?: string | undefined;
|
|
88
|
-
postcode?: string | undefined;
|
|
87
|
+
address?: string | null | undefined;
|
|
88
|
+
postcode?: string | null | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
path: "/v2/locations";
|
|
91
91
|
responses: {
|
|
@@ -98,19 +98,19 @@ export declare const locationsContract: {
|
|
|
98
98
|
path: z.ZodString;
|
|
99
99
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
statusCode: number;
|
|
102
|
-
message: string;
|
|
103
101
|
code: string;
|
|
104
|
-
timestamp: string;
|
|
105
102
|
path: string;
|
|
103
|
+
message: string;
|
|
104
|
+
statusCode: number;
|
|
105
|
+
timestamp: string;
|
|
106
106
|
details?: unknown;
|
|
107
107
|
correlationId?: string | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
statusCode: number;
|
|
110
|
-
message: string;
|
|
111
109
|
code: string;
|
|
112
|
-
timestamp: string;
|
|
113
110
|
path: string;
|
|
111
|
+
message: string;
|
|
112
|
+
statusCode: number;
|
|
113
|
+
timestamp: string;
|
|
114
114
|
details?: unknown;
|
|
115
115
|
correlationId?: string | undefined;
|
|
116
116
|
}>;
|
|
@@ -123,19 +123,19 @@ export declare const locationsContract: {
|
|
|
123
123
|
path: z.ZodString;
|
|
124
124
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
statusCode: number;
|
|
127
|
-
message: string;
|
|
128
126
|
code: string;
|
|
129
|
-
timestamp: string;
|
|
130
127
|
path: string;
|
|
128
|
+
message: string;
|
|
129
|
+
statusCode: number;
|
|
130
|
+
timestamp: string;
|
|
131
131
|
details?: unknown;
|
|
132
132
|
correlationId?: string | undefined;
|
|
133
133
|
}, {
|
|
134
|
-
statusCode: number;
|
|
135
|
-
message: string;
|
|
136
134
|
code: string;
|
|
137
|
-
timestamp: string;
|
|
138
135
|
path: string;
|
|
136
|
+
message: string;
|
|
137
|
+
statusCode: number;
|
|
138
|
+
timestamp: string;
|
|
139
139
|
details?: unknown;
|
|
140
140
|
correlationId?: string | undefined;
|
|
141
141
|
}>;
|
|
@@ -148,19 +148,19 @@ export declare const locationsContract: {
|
|
|
148
148
|
path: z.ZodString;
|
|
149
149
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
statusCode: number;
|
|
152
|
-
message: string;
|
|
153
151
|
code: string;
|
|
154
|
-
timestamp: string;
|
|
155
152
|
path: string;
|
|
153
|
+
message: string;
|
|
154
|
+
statusCode: number;
|
|
155
|
+
timestamp: string;
|
|
156
156
|
details?: unknown;
|
|
157
157
|
correlationId?: string | undefined;
|
|
158
158
|
}, {
|
|
159
|
-
statusCode: number;
|
|
160
|
-
message: string;
|
|
161
159
|
code: string;
|
|
162
|
-
timestamp: string;
|
|
163
160
|
path: string;
|
|
161
|
+
message: string;
|
|
162
|
+
statusCode: number;
|
|
163
|
+
timestamp: string;
|
|
164
164
|
details?: unknown;
|
|
165
165
|
correlationId?: string | undefined;
|
|
166
166
|
}>;
|
|
@@ -173,19 +173,19 @@ export declare const locationsContract: {
|
|
|
173
173
|
path: z.ZodString;
|
|
174
174
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
statusCode: number;
|
|
177
|
-
message: string;
|
|
178
176
|
code: string;
|
|
179
|
-
timestamp: string;
|
|
180
177
|
path: string;
|
|
178
|
+
message: string;
|
|
179
|
+
statusCode: number;
|
|
180
|
+
timestamp: string;
|
|
181
181
|
details?: unknown;
|
|
182
182
|
correlationId?: string | undefined;
|
|
183
183
|
}, {
|
|
184
|
-
statusCode: number;
|
|
185
|
-
message: string;
|
|
186
184
|
code: string;
|
|
187
|
-
timestamp: string;
|
|
188
185
|
path: string;
|
|
186
|
+
message: string;
|
|
187
|
+
statusCode: number;
|
|
188
|
+
timestamp: string;
|
|
189
189
|
details?: unknown;
|
|
190
190
|
correlationId?: string | undefined;
|
|
191
191
|
}>;
|
|
@@ -235,9 +235,6 @@ export declare const locationsContract: {
|
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
findAll: {
|
|
238
|
-
metadata: {
|
|
239
|
-
tags: string[];
|
|
240
|
-
};
|
|
241
238
|
query: z.ZodObject<{
|
|
242
239
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
243
240
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -248,6 +245,9 @@ export declare const locationsContract: {
|
|
|
248
245
|
limit?: number | undefined;
|
|
249
246
|
page?: number | undefined;
|
|
250
247
|
}>;
|
|
248
|
+
metadata: {
|
|
249
|
+
tags: string[];
|
|
250
|
+
};
|
|
251
251
|
summary: "Get all locations";
|
|
252
252
|
method: "GET";
|
|
253
253
|
path: "/v2/locations";
|
|
@@ -261,19 +261,19 @@ export declare const locationsContract: {
|
|
|
261
261
|
path: z.ZodString;
|
|
262
262
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
statusCode: number;
|
|
265
|
-
message: string;
|
|
266
264
|
code: string;
|
|
267
|
-
timestamp: string;
|
|
268
265
|
path: string;
|
|
266
|
+
message: string;
|
|
267
|
+
statusCode: number;
|
|
268
|
+
timestamp: string;
|
|
269
269
|
details?: unknown;
|
|
270
270
|
correlationId?: string | undefined;
|
|
271
271
|
}, {
|
|
272
|
-
statusCode: number;
|
|
273
|
-
message: string;
|
|
274
272
|
code: string;
|
|
275
|
-
timestamp: string;
|
|
276
273
|
path: string;
|
|
274
|
+
message: string;
|
|
275
|
+
statusCode: number;
|
|
276
|
+
timestamp: string;
|
|
277
277
|
details?: unknown;
|
|
278
278
|
correlationId?: string | undefined;
|
|
279
279
|
}>;
|
|
@@ -286,19 +286,19 @@ export declare const locationsContract: {
|
|
|
286
286
|
path: z.ZodString;
|
|
287
287
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
288
288
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
statusCode: number;
|
|
290
|
-
message: string;
|
|
291
289
|
code: string;
|
|
292
|
-
timestamp: string;
|
|
293
290
|
path: string;
|
|
291
|
+
message: string;
|
|
292
|
+
statusCode: number;
|
|
293
|
+
timestamp: string;
|
|
294
294
|
details?: unknown;
|
|
295
295
|
correlationId?: string | undefined;
|
|
296
296
|
}, {
|
|
297
|
-
statusCode: number;
|
|
298
|
-
message: string;
|
|
299
297
|
code: string;
|
|
300
|
-
timestamp: string;
|
|
301
298
|
path: string;
|
|
299
|
+
message: string;
|
|
300
|
+
statusCode: number;
|
|
301
|
+
timestamp: string;
|
|
302
302
|
details?: unknown;
|
|
303
303
|
correlationId?: string | undefined;
|
|
304
304
|
}>;
|
|
@@ -311,19 +311,19 @@ export declare const locationsContract: {
|
|
|
311
311
|
path: z.ZodString;
|
|
312
312
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
statusCode: number;
|
|
315
|
-
message: string;
|
|
316
314
|
code: string;
|
|
317
|
-
timestamp: string;
|
|
318
315
|
path: string;
|
|
316
|
+
message: string;
|
|
317
|
+
statusCode: number;
|
|
318
|
+
timestamp: string;
|
|
319
319
|
details?: unknown;
|
|
320
320
|
correlationId?: string | undefined;
|
|
321
321
|
}, {
|
|
322
|
-
statusCode: number;
|
|
323
|
-
message: string;
|
|
324
322
|
code: string;
|
|
325
|
-
timestamp: string;
|
|
326
323
|
path: string;
|
|
324
|
+
message: string;
|
|
325
|
+
statusCode: number;
|
|
326
|
+
timestamp: string;
|
|
327
327
|
details?: unknown;
|
|
328
328
|
correlationId?: string | undefined;
|
|
329
329
|
}>;
|
|
@@ -336,19 +336,19 @@ export declare const locationsContract: {
|
|
|
336
336
|
path: z.ZodString;
|
|
337
337
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
statusCode: number;
|
|
340
|
-
message: string;
|
|
341
339
|
code: string;
|
|
342
|
-
timestamp: string;
|
|
343
340
|
path: string;
|
|
341
|
+
message: string;
|
|
342
|
+
statusCode: number;
|
|
343
|
+
timestamp: string;
|
|
344
344
|
details?: unknown;
|
|
345
345
|
correlationId?: string | undefined;
|
|
346
346
|
}, {
|
|
347
|
-
statusCode: number;
|
|
348
|
-
message: string;
|
|
349
347
|
code: string;
|
|
350
|
-
timestamp: string;
|
|
351
348
|
path: string;
|
|
349
|
+
message: string;
|
|
350
|
+
statusCode: number;
|
|
351
|
+
timestamp: string;
|
|
352
352
|
details?: unknown;
|
|
353
353
|
correlationId?: string | undefined;
|
|
354
354
|
}>;
|
|
@@ -402,6 +402,7 @@ export declare const locationsContract: {
|
|
|
402
402
|
currentPage: z.ZodNumber;
|
|
403
403
|
totalPages: z.ZodNumber;
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
limit: number;
|
|
405
406
|
items: {
|
|
406
407
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
407
408
|
id: string;
|
|
@@ -418,11 +419,11 @@ export declare const locationsContract: {
|
|
|
418
419
|
region?: string | null | undefined;
|
|
419
420
|
}[];
|
|
420
421
|
totalCount: number;
|
|
421
|
-
limit: number;
|
|
422
422
|
skip: number;
|
|
423
423
|
currentPage: number;
|
|
424
424
|
totalPages: number;
|
|
425
425
|
}, {
|
|
426
|
+
limit: number;
|
|
426
427
|
items: {
|
|
427
428
|
type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
|
|
428
429
|
id: string;
|
|
@@ -439,7 +440,6 @@ export declare const locationsContract: {
|
|
|
439
440
|
region?: string | null | undefined;
|
|
440
441
|
}[];
|
|
441
442
|
totalCount: number;
|
|
442
|
-
limit: number;
|
|
443
443
|
skip: number;
|
|
444
444
|
currentPage: number;
|
|
445
445
|
totalPages: number;
|
|
@@ -470,19 +470,19 @@ export declare const locationsContract: {
|
|
|
470
470
|
path: z.ZodString;
|
|
471
471
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
statusCode: number;
|
|
474
|
-
message: string;
|
|
475
473
|
code: string;
|
|
476
|
-
timestamp: string;
|
|
477
474
|
path: string;
|
|
475
|
+
message: string;
|
|
476
|
+
statusCode: number;
|
|
477
|
+
timestamp: string;
|
|
478
478
|
details?: unknown;
|
|
479
479
|
correlationId?: string | undefined;
|
|
480
480
|
}, {
|
|
481
|
-
statusCode: number;
|
|
482
|
-
message: string;
|
|
483
481
|
code: string;
|
|
484
|
-
timestamp: string;
|
|
485
482
|
path: string;
|
|
483
|
+
message: string;
|
|
484
|
+
statusCode: number;
|
|
485
|
+
timestamp: string;
|
|
486
486
|
details?: unknown;
|
|
487
487
|
correlationId?: string | undefined;
|
|
488
488
|
}>;
|
|
@@ -495,19 +495,19 @@ export declare const locationsContract: {
|
|
|
495
495
|
path: z.ZodString;
|
|
496
496
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
statusCode: number;
|
|
499
|
-
message: string;
|
|
500
498
|
code: string;
|
|
501
|
-
timestamp: string;
|
|
502
499
|
path: string;
|
|
500
|
+
message: string;
|
|
501
|
+
statusCode: number;
|
|
502
|
+
timestamp: string;
|
|
503
503
|
details?: unknown;
|
|
504
504
|
correlationId?: string | undefined;
|
|
505
505
|
}, {
|
|
506
|
-
statusCode: number;
|
|
507
|
-
message: string;
|
|
508
506
|
code: string;
|
|
509
|
-
timestamp: string;
|
|
510
507
|
path: string;
|
|
508
|
+
message: string;
|
|
509
|
+
statusCode: number;
|
|
510
|
+
timestamp: string;
|
|
511
511
|
details?: unknown;
|
|
512
512
|
correlationId?: string | undefined;
|
|
513
513
|
}>;
|
|
@@ -520,19 +520,19 @@ export declare const locationsContract: {
|
|
|
520
520
|
path: z.ZodString;
|
|
521
521
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
-
statusCode: number;
|
|
524
|
-
message: string;
|
|
525
523
|
code: string;
|
|
526
|
-
timestamp: string;
|
|
527
524
|
path: string;
|
|
525
|
+
message: string;
|
|
526
|
+
statusCode: number;
|
|
527
|
+
timestamp: string;
|
|
528
528
|
details?: unknown;
|
|
529
529
|
correlationId?: string | undefined;
|
|
530
530
|
}, {
|
|
531
|
-
statusCode: number;
|
|
532
|
-
message: string;
|
|
533
531
|
code: string;
|
|
534
|
-
timestamp: string;
|
|
535
532
|
path: string;
|
|
533
|
+
message: string;
|
|
534
|
+
statusCode: number;
|
|
535
|
+
timestamp: string;
|
|
536
536
|
details?: unknown;
|
|
537
537
|
correlationId?: string | undefined;
|
|
538
538
|
}>;
|
|
@@ -545,19 +545,19 @@ export declare const locationsContract: {
|
|
|
545
545
|
path: z.ZodString;
|
|
546
546
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
statusCode: number;
|
|
549
|
-
message: string;
|
|
550
548
|
code: string;
|
|
551
|
-
timestamp: string;
|
|
552
549
|
path: string;
|
|
550
|
+
message: string;
|
|
551
|
+
statusCode: number;
|
|
552
|
+
timestamp: string;
|
|
553
553
|
details?: unknown;
|
|
554
554
|
correlationId?: string | undefined;
|
|
555
555
|
}, {
|
|
556
|
-
statusCode: number;
|
|
557
|
-
message: string;
|
|
558
556
|
code: string;
|
|
559
|
-
timestamp: string;
|
|
560
557
|
path: string;
|
|
558
|
+
message: string;
|
|
559
|
+
statusCode: number;
|
|
560
|
+
timestamp: string;
|
|
561
561
|
details?: unknown;
|
|
562
562
|
correlationId?: string | undefined;
|
|
563
563
|
}>;
|
|
@@ -613,19 +613,19 @@ export declare const locationsContract: {
|
|
|
613
613
|
path: z.ZodString;
|
|
614
614
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
statusCode: number;
|
|
617
|
-
message: string;
|
|
618
616
|
code: string;
|
|
619
|
-
timestamp: string;
|
|
620
617
|
path: string;
|
|
618
|
+
message: string;
|
|
619
|
+
statusCode: number;
|
|
620
|
+
timestamp: string;
|
|
621
621
|
details?: unknown;
|
|
622
622
|
correlationId?: string | undefined;
|
|
623
623
|
}, {
|
|
624
|
-
statusCode: number;
|
|
625
|
-
message: string;
|
|
626
624
|
code: string;
|
|
627
|
-
timestamp: string;
|
|
628
625
|
path: string;
|
|
626
|
+
message: string;
|
|
627
|
+
statusCode: number;
|
|
628
|
+
timestamp: string;
|
|
629
629
|
details?: unknown;
|
|
630
630
|
correlationId?: string | undefined;
|
|
631
631
|
}>;
|
|
@@ -645,14 +645,14 @@ export declare const locationsContract: {
|
|
|
645
645
|
summary: "Update a location by ID";
|
|
646
646
|
method: "PATCH";
|
|
647
647
|
body: z.ZodObject<{
|
|
648
|
-
address: z.ZodOptional<z.ZodString
|
|
649
|
-
postcode: z.ZodOptional<z.ZodString
|
|
648
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
649
|
+
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
address?: string | undefined;
|
|
652
|
-
postcode?: string | undefined;
|
|
651
|
+
address?: string | null | undefined;
|
|
652
|
+
postcode?: string | null | undefined;
|
|
653
653
|
}, {
|
|
654
|
-
address?: string | undefined;
|
|
655
|
-
postcode?: string | undefined;
|
|
654
|
+
address?: string | null | undefined;
|
|
655
|
+
postcode?: string | null | undefined;
|
|
656
656
|
}>;
|
|
657
657
|
path: "/v2/locations/:id";
|
|
658
658
|
responses: {
|
|
@@ -665,19 +665,19 @@ export declare const locationsContract: {
|
|
|
665
665
|
path: z.ZodString;
|
|
666
666
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
|
-
statusCode: number;
|
|
669
|
-
message: string;
|
|
670
668
|
code: string;
|
|
671
|
-
timestamp: string;
|
|
672
669
|
path: string;
|
|
670
|
+
message: string;
|
|
671
|
+
statusCode: number;
|
|
672
|
+
timestamp: string;
|
|
673
673
|
details?: unknown;
|
|
674
674
|
correlationId?: string | undefined;
|
|
675
675
|
}, {
|
|
676
|
-
statusCode: number;
|
|
677
|
-
message: string;
|
|
678
676
|
code: string;
|
|
679
|
-
timestamp: string;
|
|
680
677
|
path: string;
|
|
678
|
+
message: string;
|
|
679
|
+
statusCode: number;
|
|
680
|
+
timestamp: string;
|
|
681
681
|
details?: unknown;
|
|
682
682
|
correlationId?: string | undefined;
|
|
683
683
|
}>;
|
|
@@ -690,19 +690,19 @@ export declare const locationsContract: {
|
|
|
690
690
|
path: z.ZodString;
|
|
691
691
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
692
692
|
}, "strip", z.ZodTypeAny, {
|
|
693
|
-
statusCode: number;
|
|
694
|
-
message: string;
|
|
695
693
|
code: string;
|
|
696
|
-
timestamp: string;
|
|
697
694
|
path: string;
|
|
695
|
+
message: string;
|
|
696
|
+
statusCode: number;
|
|
697
|
+
timestamp: string;
|
|
698
698
|
details?: unknown;
|
|
699
699
|
correlationId?: string | undefined;
|
|
700
700
|
}, {
|
|
701
|
-
statusCode: number;
|
|
702
|
-
message: string;
|
|
703
701
|
code: string;
|
|
704
|
-
timestamp: string;
|
|
705
702
|
path: string;
|
|
703
|
+
message: string;
|
|
704
|
+
statusCode: number;
|
|
705
|
+
timestamp: string;
|
|
706
706
|
details?: unknown;
|
|
707
707
|
correlationId?: string | undefined;
|
|
708
708
|
}>;
|
|
@@ -715,19 +715,19 @@ export declare const locationsContract: {
|
|
|
715
715
|
path: z.ZodString;
|
|
716
716
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
717
717
|
}, "strip", z.ZodTypeAny, {
|
|
718
|
-
statusCode: number;
|
|
719
|
-
message: string;
|
|
720
718
|
code: string;
|
|
721
|
-
timestamp: string;
|
|
722
719
|
path: string;
|
|
720
|
+
message: string;
|
|
721
|
+
statusCode: number;
|
|
722
|
+
timestamp: string;
|
|
723
723
|
details?: unknown;
|
|
724
724
|
correlationId?: string | undefined;
|
|
725
725
|
}, {
|
|
726
|
-
statusCode: number;
|
|
727
|
-
message: string;
|
|
728
726
|
code: string;
|
|
729
|
-
timestamp: string;
|
|
730
727
|
path: string;
|
|
728
|
+
message: string;
|
|
729
|
+
statusCode: number;
|
|
730
|
+
timestamp: string;
|
|
731
731
|
details?: unknown;
|
|
732
732
|
correlationId?: string | undefined;
|
|
733
733
|
}>;
|
|
@@ -740,19 +740,19 @@ export declare const locationsContract: {
|
|
|
740
740
|
path: z.ZodString;
|
|
741
741
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
statusCode: number;
|
|
744
|
-
message: string;
|
|
745
743
|
code: string;
|
|
746
|
-
timestamp: string;
|
|
747
744
|
path: string;
|
|
745
|
+
message: string;
|
|
746
|
+
statusCode: number;
|
|
747
|
+
timestamp: string;
|
|
748
748
|
details?: unknown;
|
|
749
749
|
correlationId?: string | undefined;
|
|
750
750
|
}, {
|
|
751
|
-
statusCode: number;
|
|
752
|
-
message: string;
|
|
753
751
|
code: string;
|
|
754
|
-
timestamp: string;
|
|
755
752
|
path: string;
|
|
753
|
+
message: string;
|
|
754
|
+
statusCode: number;
|
|
755
|
+
timestamp: string;
|
|
756
756
|
details?: unknown;
|
|
757
757
|
correlationId?: string | undefined;
|
|
758
758
|
}>;
|
|
@@ -808,19 +808,19 @@ export declare const locationsContract: {
|
|
|
808
808
|
path: z.ZodString;
|
|
809
809
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
statusCode: number;
|
|
812
|
-
message: string;
|
|
813
811
|
code: string;
|
|
814
|
-
timestamp: string;
|
|
815
812
|
path: string;
|
|
813
|
+
message: string;
|
|
814
|
+
statusCode: number;
|
|
815
|
+
timestamp: string;
|
|
816
816
|
details?: unknown;
|
|
817
817
|
correlationId?: string | undefined;
|
|
818
818
|
}, {
|
|
819
|
-
statusCode: number;
|
|
820
|
-
message: string;
|
|
821
819
|
code: string;
|
|
822
|
-
timestamp: string;
|
|
823
820
|
path: string;
|
|
821
|
+
message: string;
|
|
822
|
+
statusCode: number;
|
|
823
|
+
timestamp: string;
|
|
824
824
|
details?: unknown;
|
|
825
825
|
correlationId?: string | undefined;
|
|
826
826
|
}>;
|
|
@@ -851,19 +851,19 @@ export declare const locationsContract: {
|
|
|
851
851
|
path: z.ZodString;
|
|
852
852
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
853
853
|
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
statusCode: number;
|
|
855
|
-
message: string;
|
|
856
854
|
code: string;
|
|
857
|
-
timestamp: string;
|
|
858
855
|
path: string;
|
|
856
|
+
message: string;
|
|
857
|
+
statusCode: number;
|
|
858
|
+
timestamp: string;
|
|
859
859
|
details?: unknown;
|
|
860
860
|
correlationId?: string | undefined;
|
|
861
861
|
}, {
|
|
862
|
-
statusCode: number;
|
|
863
|
-
message: string;
|
|
864
862
|
code: string;
|
|
865
|
-
timestamp: string;
|
|
866
863
|
path: string;
|
|
864
|
+
message: string;
|
|
865
|
+
statusCode: number;
|
|
866
|
+
timestamp: string;
|
|
867
867
|
details?: unknown;
|
|
868
868
|
correlationId?: string | undefined;
|
|
869
869
|
}>;
|
|
@@ -876,19 +876,19 @@ export declare const locationsContract: {
|
|
|
876
876
|
path: z.ZodString;
|
|
877
877
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
878
878
|
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
statusCode: number;
|
|
880
|
-
message: string;
|
|
881
879
|
code: string;
|
|
882
|
-
timestamp: string;
|
|
883
880
|
path: string;
|
|
881
|
+
message: string;
|
|
882
|
+
statusCode: number;
|
|
883
|
+
timestamp: string;
|
|
884
884
|
details?: unknown;
|
|
885
885
|
correlationId?: string | undefined;
|
|
886
886
|
}, {
|
|
887
|
-
statusCode: number;
|
|
888
|
-
message: string;
|
|
889
887
|
code: string;
|
|
890
|
-
timestamp: string;
|
|
891
888
|
path: string;
|
|
889
|
+
message: string;
|
|
890
|
+
statusCode: number;
|
|
891
|
+
timestamp: string;
|
|
892
892
|
details?: unknown;
|
|
893
893
|
correlationId?: string | undefined;
|
|
894
894
|
}>;
|
|
@@ -901,19 +901,19 @@ export declare const locationsContract: {
|
|
|
901
901
|
path: z.ZodString;
|
|
902
902
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
903
903
|
}, "strip", z.ZodTypeAny, {
|
|
904
|
-
statusCode: number;
|
|
905
|
-
message: string;
|
|
906
904
|
code: string;
|
|
907
|
-
timestamp: string;
|
|
908
905
|
path: string;
|
|
906
|
+
message: string;
|
|
907
|
+
statusCode: number;
|
|
908
|
+
timestamp: string;
|
|
909
909
|
details?: unknown;
|
|
910
910
|
correlationId?: string | undefined;
|
|
911
911
|
}, {
|
|
912
|
-
statusCode: number;
|
|
913
|
-
message: string;
|
|
914
912
|
code: string;
|
|
915
|
-
timestamp: string;
|
|
916
913
|
path: string;
|
|
914
|
+
message: string;
|
|
915
|
+
statusCode: number;
|
|
916
|
+
timestamp: string;
|
|
917
917
|
details?: unknown;
|
|
918
918
|
correlationId?: string | undefined;
|
|
919
919
|
}>;
|
|
@@ -926,19 +926,19 @@ export declare const locationsContract: {
|
|
|
926
926
|
path: z.ZodString;
|
|
927
927
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
928
928
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
statusCode: number;
|
|
930
|
-
message: string;
|
|
931
929
|
code: string;
|
|
932
|
-
timestamp: string;
|
|
933
930
|
path: string;
|
|
931
|
+
message: string;
|
|
932
|
+
statusCode: number;
|
|
933
|
+
timestamp: string;
|
|
934
934
|
details?: unknown;
|
|
935
935
|
correlationId?: string | undefined;
|
|
936
936
|
}, {
|
|
937
|
-
statusCode: number;
|
|
938
|
-
message: string;
|
|
939
937
|
code: string;
|
|
940
|
-
timestamp: string;
|
|
941
938
|
path: string;
|
|
939
|
+
message: string;
|
|
940
|
+
statusCode: number;
|
|
941
|
+
timestamp: string;
|
|
942
942
|
details?: unknown;
|
|
943
943
|
correlationId?: string | undefined;
|
|
944
944
|
}>;
|
|
@@ -952,19 +952,19 @@ export declare const locationsContract: {
|
|
|
952
952
|
path: z.ZodString;
|
|
953
953
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
954
954
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
statusCode: number;
|
|
956
|
-
message: string;
|
|
957
955
|
code: string;
|
|
958
|
-
timestamp: string;
|
|
959
956
|
path: string;
|
|
957
|
+
message: string;
|
|
958
|
+
statusCode: number;
|
|
959
|
+
timestamp: string;
|
|
960
960
|
details?: unknown;
|
|
961
961
|
correlationId?: string | undefined;
|
|
962
962
|
}, {
|
|
963
|
-
statusCode: number;
|
|
964
|
-
message: string;
|
|
965
963
|
code: string;
|
|
966
|
-
timestamp: string;
|
|
967
964
|
path: string;
|
|
965
|
+
message: string;
|
|
966
|
+
statusCode: number;
|
|
967
|
+
timestamp: string;
|
|
968
968
|
details?: unknown;
|
|
969
969
|
correlationId?: string | undefined;
|
|
970
970
|
}>;
|