@dakkitor/api-contracts 1.1.125 → 1.1.127

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 (35) hide show
  1. package/dist/abilities/second-agent.abilities.json +4 -10
  2. package/dist/actives/actives.contract.d.ts +4114 -4056
  3. package/dist/actives/actives.contract.d.ts.map +1 -1
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +538 -538
  5. package/dist/bookings/bookings.contract.d.ts +15340 -15116
  6. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  7. package/dist/call-history/call-history.contract.d.ts +183 -183
  8. package/dist/client-contacts/client-contacts.contract.d.ts +502 -502
  9. package/dist/clients/clients.contract.d.ts +172 -172
  10. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1558 -1558
  11. package/dist/collaborations/collaborations.contract.d.ts +1316 -1316
  12. package/dist/common/common-schemas.d.ts +8 -8
  13. package/dist/companies/companies.contract.d.ts +12 -12
  14. package/dist/cron-executions/cron-executions.contract.d.ts +6 -6
  15. package/dist/curated-workers/curated-workers.contract.d.ts +450 -450
  16. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  17. package/dist/curated-workers/curated-workers.contract.js +4 -2
  18. package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
  19. package/dist/dashboards/dashboard-widgets.contract.d.ts +60 -60
  20. package/dist/dashboards/dashboard.contract.d.ts +34 -34
  21. package/dist/files/files.contract.d.ts +24 -24
  22. package/dist/jobs/jobs.contract.d.ts +3327 -3135
  23. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  24. package/dist/jobs/jobs.contract.js +198 -148
  25. package/dist/lead-assignments/lead-assignments.contract.d.ts +66 -66
  26. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +53 -53
  27. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
  28. package/dist/leads/leads.contract.d.ts +161 -161
  29. package/dist/locations/locations.contract.d.ts +21 -21
  30. package/dist/postcodes/postcodes.contract.d.ts +18 -18
  31. package/dist/qualifications/qualifications.contract.d.ts +22 -22
  32. package/dist/trades/trades.contract.d.ts +16 -16
  33. package/dist/users/users.contract.d.ts +36 -36
  34. package/dist/workers/workers.contract.d.ts +651 -651
  35. package/package.json +1 -1
@@ -20,8 +20,8 @@ export declare const LocationSchema: z.ZodObject<{
20
20
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
21
21
  createdAt: string;
22
22
  updatedAt: string;
23
- address?: string | null | undefined;
24
23
  postcode?: string | undefined;
24
+ address?: string | null | undefined;
25
25
  county?: string | null | undefined;
26
26
  adminDistrict?: string | null | undefined;
27
27
  builtUpArea?: string | null | undefined;
@@ -34,8 +34,8 @@ export declare const LocationSchema: z.ZodObject<{
34
34
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
35
35
  createdAt: string | Date;
36
36
  updatedAt: string | Date;
37
- address?: string | null | undefined;
38
37
  postcode?: string | undefined;
38
+ address?: string | null | undefined;
39
39
  county?: string | null | undefined;
40
40
  adminDistrict?: string | null | undefined;
41
41
  builtUpArea?: string | null | undefined;
@@ -48,11 +48,11 @@ export declare const UpdateLocationSchema: z.ZodObject<{
48
48
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
49
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- address?: string | null | undefined;
52
51
  postcode?: string | null | undefined;
53
- }, {
54
52
  address?: string | null | undefined;
53
+ }, {
55
54
  postcode?: string | null | undefined;
55
+ address?: string | null | undefined;
56
56
  }>;
57
57
  export declare const FilterLocationSchema: z.ZodObject<{
58
58
  limit: z.ZodDefault<z.ZodNumber>;
@@ -81,11 +81,11 @@ export declare const locationsContract: {
81
81
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
82
82
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- address?: string | null | undefined;
85
84
  postcode?: string | null | undefined;
86
- }, {
87
85
  address?: string | null | undefined;
86
+ }, {
88
87
  postcode?: string | null | undefined;
88
+ address?: string | null | undefined;
89
89
  }>;
90
90
  path: "/v2/locations";
91
91
  responses: {
@@ -208,8 +208,8 @@ export declare const locationsContract: {
208
208
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
209
209
  createdAt: string;
210
210
  updatedAt: string;
211
- address?: string | null | undefined;
212
211
  postcode?: string | undefined;
212
+ address?: string | null | undefined;
213
213
  county?: string | null | undefined;
214
214
  adminDistrict?: string | null | undefined;
215
215
  builtUpArea?: string | null | undefined;
@@ -222,8 +222,8 @@ export declare const locationsContract: {
222
222
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
223
223
  createdAt: string | Date;
224
224
  updatedAt: string | Date;
225
- address?: string | null | undefined;
226
225
  postcode?: string | undefined;
226
+ address?: string | null | undefined;
227
227
  county?: string | null | undefined;
228
228
  adminDistrict?: string | null | undefined;
229
229
  builtUpArea?: string | null | undefined;
@@ -235,6 +235,9 @@ export declare const locationsContract: {
235
235
  };
236
236
  };
237
237
  findAll: {
238
+ metadata: {
239
+ tags: string[];
240
+ };
238
241
  query: z.ZodObject<{
239
242
  limit: z.ZodDefault<z.ZodNumber>;
240
243
  page: z.ZodDefault<z.ZodNumber>;
@@ -245,9 +248,6 @@ export declare const locationsContract: {
245
248
  limit?: number | undefined;
246
249
  page?: number | undefined;
247
250
  }>;
248
- metadata: {
249
- tags: string[];
250
- };
251
251
  summary: "Get all locations";
252
252
  method: "GET";
253
253
  path: "/v2/locations";
@@ -372,8 +372,8 @@ export declare const locationsContract: {
372
372
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
373
373
  createdAt: string;
374
374
  updatedAt: string;
375
- address?: string | null | undefined;
376
375
  postcode?: string | undefined;
376
+ address?: string | null | undefined;
377
377
  county?: string | null | undefined;
378
378
  adminDistrict?: string | null | undefined;
379
379
  builtUpArea?: string | null | undefined;
@@ -386,8 +386,8 @@ export declare const locationsContract: {
386
386
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
387
387
  createdAt: string | Date;
388
388
  updatedAt: string | Date;
389
- address?: string | null | undefined;
390
389
  postcode?: string | undefined;
390
+ address?: string | null | undefined;
391
391
  county?: string | null | undefined;
392
392
  adminDistrict?: string | null | undefined;
393
393
  builtUpArea?: string | null | undefined;
@@ -408,8 +408,8 @@ export declare const locationsContract: {
408
408
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
409
409
  createdAt: string;
410
410
  updatedAt: string;
411
- address?: string | null | undefined;
412
411
  postcode?: string | undefined;
412
+ address?: string | null | undefined;
413
413
  county?: string | null | undefined;
414
414
  adminDistrict?: string | null | undefined;
415
415
  builtUpArea?: string | null | undefined;
@@ -429,8 +429,8 @@ export declare const locationsContract: {
429
429
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
430
430
  createdAt: string | Date;
431
431
  updatedAt: string | Date;
432
- address?: string | null | undefined;
433
432
  postcode?: string | undefined;
433
+ address?: string | null | undefined;
434
434
  county?: string | null | undefined;
435
435
  adminDistrict?: string | null | undefined;
436
436
  builtUpArea?: string | null | undefined;
@@ -580,8 +580,8 @@ export declare const locationsContract: {
580
580
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
581
581
  createdAt: string;
582
582
  updatedAt: string;
583
- address?: string | null | undefined;
584
583
  postcode?: string | undefined;
584
+ address?: string | null | undefined;
585
585
  county?: string | null | undefined;
586
586
  adminDistrict?: string | null | undefined;
587
587
  builtUpArea?: string | null | undefined;
@@ -594,8 +594,8 @@ export declare const locationsContract: {
594
594
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
595
595
  createdAt: string | Date;
596
596
  updatedAt: string | Date;
597
- address?: string | null | undefined;
598
597
  postcode?: string | undefined;
598
+ address?: string | null | undefined;
599
599
  county?: string | null | undefined;
600
600
  adminDistrict?: string | null | undefined;
601
601
  builtUpArea?: string | null | undefined;
@@ -648,11 +648,11 @@ export declare const locationsContract: {
648
648
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
649
649
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- address?: string | null | undefined;
652
651
  postcode?: string | null | undefined;
653
- }, {
654
652
  address?: string | null | undefined;
653
+ }, {
655
654
  postcode?: string | null | undefined;
655
+ address?: string | null | undefined;
656
656
  }>;
657
657
  path: "/v2/locations/:id";
658
658
  responses: {
@@ -775,8 +775,8 @@ export declare const locationsContract: {
775
775
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
776
776
  createdAt: string;
777
777
  updatedAt: string;
778
- address?: string | null | undefined;
779
778
  postcode?: string | undefined;
779
+ address?: string | null | undefined;
780
780
  county?: string | null | undefined;
781
781
  adminDistrict?: string | null | undefined;
782
782
  builtUpArea?: string | null | undefined;
@@ -789,8 +789,8 @@ export declare const locationsContract: {
789
789
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
790
790
  createdAt: string | Date;
791
791
  updatedAt: string | Date;
792
- address?: string | null | undefined;
793
792
  postcode?: string | undefined;
793
+ address?: string | null | undefined;
794
794
  county?: string | null | undefined;
795
795
  adminDistrict?: string | null | undefined;
796
796
  builtUpArea?: string | null | undefined;
@@ -13,11 +13,11 @@ export declare const PostcodeAutocompleteResponseSchema: z.ZodObject<{
13
13
  id: z.ZodString;
14
14
  code: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
- code: string;
17
16
  id: string;
18
- }, {
19
17
  code: string;
18
+ }, {
20
19
  id: string;
20
+ code: string;
21
21
  }>;
22
22
  export declare const PostcodeSearchQuerySchema: z.ZodObject<{
23
23
  limit: z.ZodDefault<z.ZodNumber>;
@@ -40,12 +40,12 @@ export declare const PostcodeSearchResultSchema: z.ZodObject<{
40
40
  relevance: z.ZodNumber;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  code: string;
43
- type: "postcode" | "area" | "district" | "sector";
43
+ type: "area" | "district" | "sector" | "postcode";
44
44
  relevance: number;
45
45
  description?: string | undefined;
46
46
  }, {
47
47
  code: string;
48
- type: "postcode" | "area" | "district" | "sector";
48
+ type: "area" | "district" | "sector" | "postcode";
49
49
  relevance: number;
50
50
  description?: string | undefined;
51
51
  }>;
@@ -53,11 +53,11 @@ export declare const PostcodeAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
53
53
  id: z.ZodString;
54
54
  code: z.ZodString;
55
55
  }, "strip", z.ZodTypeAny, {
56
- code: string;
57
56
  id: string;
58
- }, {
59
57
  code: string;
58
+ }, {
60
59
  id: string;
60
+ code: string;
61
61
  }>, "many">;
62
62
  export type PostcodeAutocompleteQuery = z.infer<typeof PostcodeAutocompleteQuerySchema>;
63
63
  export type PostcodeAutocompleteResponse = z.infer<typeof PostcodeAutocompleteResponseSchema>;
@@ -66,6 +66,9 @@ export type PostcodeSearchQuery = z.infer<typeof PostcodeSearchQuerySchema>;
66
66
  export type PostcodeSearchResult = z.infer<typeof PostcodeSearchResultSchema>;
67
67
  export declare const postcodesContract: {
68
68
  autocomplete: {
69
+ metadata: {
70
+ tags: string[];
71
+ };
69
72
  query: z.ZodObject<{
70
73
  query: z.ZodOptional<z.ZodString>;
71
74
  id: z.ZodOptional<z.ZodString>;
@@ -76,9 +79,6 @@ export declare const postcodesContract: {
76
79
  id?: string | undefined;
77
80
  query?: string | undefined;
78
81
  }>;
79
- metadata: {
80
- tags: string[];
81
- };
82
82
  summary: "Get postcodes for autocomplete";
83
83
  method: "GET";
84
84
  path: "/v1/postcodes/autocomplete";
@@ -187,15 +187,18 @@ export declare const postcodesContract: {
187
187
  id: z.ZodString;
188
188
  code: z.ZodString;
189
189
  }, "strip", z.ZodTypeAny, {
190
- code: string;
191
190
  id: string;
192
- }, {
193
191
  code: string;
192
+ }, {
194
193
  id: string;
194
+ code: string;
195
195
  }>, "many">;
196
196
  };
197
197
  };
198
198
  search: {
199
+ metadata: {
200
+ tags: string[];
201
+ };
199
202
  query: z.ZodObject<{
200
203
  limit: z.ZodDefault<z.ZodNumber>;
201
204
  page: z.ZodDefault<z.ZodNumber>;
@@ -210,9 +213,6 @@ export declare const postcodesContract: {
210
213
  limit?: number | undefined;
211
214
  page?: number | undefined;
212
215
  }>;
213
- metadata: {
214
- tags: string[];
215
- };
216
216
  summary: "Search postcodes";
217
217
  method: "GET";
218
218
  path: "/v1/postcodes/search";
@@ -325,12 +325,12 @@ export declare const postcodesContract: {
325
325
  relevance: z.ZodNumber;
326
326
  }, "strip", z.ZodTypeAny, {
327
327
  code: string;
328
- type: "postcode" | "area" | "district" | "sector";
328
+ type: "area" | "district" | "sector" | "postcode";
329
329
  relevance: number;
330
330
  description?: string | undefined;
331
331
  }, {
332
332
  code: string;
333
- type: "postcode" | "area" | "district" | "sector";
333
+ type: "area" | "district" | "sector" | "postcode";
334
334
  relevance: number;
335
335
  description?: string | undefined;
336
336
  }>, "many">;
@@ -343,7 +343,7 @@ export declare const postcodesContract: {
343
343
  limit: number;
344
344
  items: {
345
345
  code: string;
346
- type: "postcode" | "area" | "district" | "sector";
346
+ type: "area" | "district" | "sector" | "postcode";
347
347
  relevance: number;
348
348
  description?: string | undefined;
349
349
  }[];
@@ -355,7 +355,7 @@ export declare const postcodesContract: {
355
355
  limit: number;
356
356
  items: {
357
357
  code: string;
358
- type: "postcode" | "area" | "district" | "sector";
358
+ type: "area" | "district" | "sector" | "postcode";
359
359
  relevance: number;
360
360
  description?: string | undefined;
361
361
  }[];
@@ -25,16 +25,16 @@ export declare const QualificationSchema: z.ZodObject<{
25
25
  }>, "many">;
26
26
  }, "strip", z.ZodTypeAny, {
27
27
  id: string;
28
- description: string | null;
29
28
  name: string;
29
+ description: string | null;
30
30
  types: {
31
31
  id: string;
32
32
  name: string;
33
33
  }[];
34
34
  }, {
35
35
  id: string;
36
- description: string | null;
37
36
  name: string;
37
+ description: string | null;
38
38
  types: {
39
39
  id: string;
40
40
  name: string;
@@ -58,14 +58,14 @@ export declare const CreateQualificationSchema: z.ZodObject<{
58
58
  name: string;
59
59
  }>, "many">>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- description: string;
62
61
  name: string;
62
+ description: string;
63
63
  types?: {
64
64
  name: string;
65
65
  }[] | undefined;
66
66
  }, {
67
- description: string;
68
67
  name: string;
68
+ description: string;
69
69
  types?: {
70
70
  name: string;
71
71
  }[] | undefined;
@@ -94,15 +94,15 @@ export declare const UpdateQualificationSchema: z.ZodObject<{
94
94
  id?: string | undefined;
95
95
  }>, "many">>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- description?: string | undefined;
98
97
  name?: string | undefined;
98
+ description?: string | undefined;
99
99
  types?: {
100
100
  name: string;
101
101
  id?: string | undefined;
102
102
  }[] | undefined;
103
103
  }, {
104
- description?: string | undefined;
105
104
  name?: string | undefined;
105
+ description?: string | undefined;
106
106
  types?: {
107
107
  name: string;
108
108
  id?: string | undefined;
@@ -131,16 +131,16 @@ export declare const QualificationArraySchema: z.ZodArray<z.ZodObject<{
131
131
  }>, "many">;
132
132
  }, "strip", z.ZodTypeAny, {
133
133
  id: string;
134
- description: string | null;
135
134
  name: string;
135
+ description: string | null;
136
136
  types: {
137
137
  id: string;
138
138
  name: string;
139
139
  }[];
140
140
  }, {
141
141
  id: string;
142
- description: string | null;
143
142
  name: string;
143
+ description: string | null;
144
144
  types: {
145
145
  id: string;
146
146
  name: string;
@@ -171,14 +171,14 @@ export declare const qualificationsContract: {
171
171
  name: string;
172
172
  }>, "many">>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- description: string;
175
174
  name: string;
175
+ description: string;
176
176
  types?: {
177
177
  name: string;
178
178
  }[] | undefined;
179
179
  }, {
180
- description: string;
181
180
  name: string;
181
+ description: string;
182
182
  types?: {
183
183
  name: string;
184
184
  }[] | undefined;
@@ -301,16 +301,16 @@ export declare const qualificationsContract: {
301
301
  }>, "many">;
302
302
  }, "strip", z.ZodTypeAny, {
303
303
  id: string;
304
- description: string | null;
305
304
  name: string;
305
+ description: string | null;
306
306
  types: {
307
307
  id: string;
308
308
  name: string;
309
309
  }[];
310
310
  }, {
311
311
  id: string;
312
- description: string | null;
313
312
  name: string;
313
+ description: string | null;
314
314
  types: {
315
315
  id: string;
316
316
  name: string;
@@ -467,16 +467,16 @@ export declare const qualificationsContract: {
467
467
  }>, "many">;
468
468
  }, "strip", z.ZodTypeAny, {
469
469
  id: string;
470
- description: string | null;
471
470
  name: string;
471
+ description: string | null;
472
472
  types: {
473
473
  id: string;
474
474
  name: string;
475
475
  }[];
476
476
  }, {
477
477
  id: string;
478
- description: string | null;
479
478
  name: string;
479
+ description: string | null;
480
480
  types: {
481
481
  id: string;
482
482
  name: string;
@@ -615,16 +615,16 @@ export declare const qualificationsContract: {
615
615
  }>, "many">;
616
616
  }, "strip", z.ZodTypeAny, {
617
617
  id: string;
618
- description: string | null;
619
618
  name: string;
619
+ description: string | null;
620
620
  types: {
621
621
  id: string;
622
622
  name: string;
623
623
  }[];
624
624
  }, {
625
625
  id: string;
626
- description: string | null;
627
626
  name: string;
627
+ description: string | null;
628
628
  types: {
629
629
  id: string;
630
630
  name: string;
@@ -684,15 +684,15 @@ export declare const qualificationsContract: {
684
684
  id?: string | undefined;
685
685
  }>, "many">>;
686
686
  }, "strip", z.ZodTypeAny, {
687
- description?: string | undefined;
688
687
  name?: string | undefined;
688
+ description?: string | undefined;
689
689
  types?: {
690
690
  name: string;
691
691
  id?: string | undefined;
692
692
  }[] | undefined;
693
693
  }, {
694
- description?: string | undefined;
695
694
  name?: string | undefined;
695
+ description?: string | undefined;
696
696
  types?: {
697
697
  name: string;
698
698
  id?: string | undefined;
@@ -816,16 +816,16 @@ export declare const qualificationsContract: {
816
816
  }>, "many">;
817
817
  }, "strip", z.ZodTypeAny, {
818
818
  id: string;
819
- description: string | null;
820
819
  name: string;
820
+ description: string | null;
821
821
  types: {
822
822
  id: string;
823
823
  name: string;
824
824
  }[];
825
825
  }, {
826
826
  id: string;
827
- description: string | null;
828
827
  name: string;
828
+ description: string | null;
829
829
  types: {
830
830
  id: string;
831
831
  name: string;
@@ -1140,16 +1140,16 @@ export declare const qualificationsContract: {
1140
1140
  }>, "many">;
1141
1141
  }, "strip", z.ZodTypeAny, {
1142
1142
  id: string;
1143
- description: string | null;
1144
1143
  name: string;
1144
+ description: string | null;
1145
1145
  types: {
1146
1146
  id: string;
1147
1147
  name: string;
1148
1148
  }[];
1149
1149
  }, {
1150
1150
  id: string;
1151
- description: string | null;
1152
1151
  name: string;
1152
+ description: string | null;
1153
1153
  types: {
1154
1154
  id: string;
1155
1155
  name: string;
@@ -5,12 +5,12 @@ export declare const TradeSchema: z.ZodObject<{
5
5
  description: z.ZodNullable<z.ZodString>;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  id: string;
8
- description: string | null;
9
8
  name: string;
9
+ description: string | null;
10
10
  }, {
11
11
  id: string;
12
- description: string | null;
13
12
  name: string;
13
+ description: string | null;
14
14
  }>;
15
15
  export declare const CreateTradeSchema: z.ZodObject<{
16
16
  name: z.ZodString;
@@ -26,11 +26,11 @@ export declare const UpdateTradeSchema: z.ZodObject<{
26
26
  name: z.ZodOptional<z.ZodString>;
27
27
  description: z.ZodOptional<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
- description?: string | undefined;
30
29
  name?: string | undefined;
31
- }, {
32
30
  description?: string | undefined;
31
+ }, {
33
32
  name?: string | undefined;
33
+ description?: string | undefined;
34
34
  }>;
35
35
  export declare const TradeArraySchema: z.ZodArray<z.ZodObject<{
36
36
  id: z.ZodString;
@@ -38,12 +38,12 @@ export declare const TradeArraySchema: z.ZodArray<z.ZodObject<{
38
38
  description: z.ZodNullable<z.ZodString>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  id: string;
41
- description: string | null;
42
41
  name: string;
42
+ description: string | null;
43
43
  }, {
44
44
  id: string;
45
- description: string | null;
46
45
  name: string;
46
+ description: string | null;
47
47
  }>, "many">;
48
48
  export type Trade = z.infer<typeof TradeSchema>;
49
49
  export type TradeArray = z.infer<typeof TradeArraySchema>;
@@ -174,12 +174,12 @@ export declare const tradesContract: {
174
174
  description: z.ZodNullable<z.ZodString>;
175
175
  }, "strip", z.ZodTypeAny, {
176
176
  id: string;
177
- description: string | null;
178
177
  name: string;
178
+ description: string | null;
179
179
  }, {
180
180
  id: string;
181
- description: string | null;
182
181
  name: string;
182
+ description: string | null;
183
183
  }>;
184
184
  409: z.ZodObject<{
185
185
  statusCode: z.ZodNumber;
@@ -322,12 +322,12 @@ export declare const tradesContract: {
322
322
  description: z.ZodNullable<z.ZodString>;
323
323
  }, "strip", z.ZodTypeAny, {
324
324
  id: string;
325
- description: string | null;
326
325
  name: string;
326
+ description: string | null;
327
327
  }, {
328
328
  id: string;
329
- description: string | null;
330
329
  name: string;
330
+ description: string | null;
331
331
  }>, "many">;
332
332
  };
333
333
  };
@@ -452,12 +452,12 @@ export declare const tradesContract: {
452
452
  description: z.ZodNullable<z.ZodString>;
453
453
  }, "strip", z.ZodTypeAny, {
454
454
  id: string;
455
- description: string | null;
456
455
  name: string;
456
+ description: string | null;
457
457
  }, {
458
458
  id: string;
459
- description: string | null;
460
459
  name: string;
460
+ description: string | null;
461
461
  }>;
462
462
  404: z.ZodObject<{
463
463
  statusCode: z.ZodNumber;
@@ -503,11 +503,11 @@ export declare const tradesContract: {
503
503
  name: z.ZodOptional<z.ZodString>;
504
504
  description: z.ZodOptional<z.ZodString>;
505
505
  }, "strip", z.ZodTypeAny, {
506
- description?: string | undefined;
507
506
  name?: string | undefined;
508
- }, {
509
507
  description?: string | undefined;
508
+ }, {
510
509
  name?: string | undefined;
510
+ description?: string | undefined;
511
511
  }>;
512
512
  path: "/v2/trades/:id";
513
513
  responses: {
@@ -617,12 +617,12 @@ export declare const tradesContract: {
617
617
  description: z.ZodNullable<z.ZodString>;
618
618
  }, "strip", z.ZodTypeAny, {
619
619
  id: string;
620
- description: string | null;
621
620
  name: string;
621
+ description: string | null;
622
622
  }, {
623
623
  id: string;
624
- description: string | null;
625
624
  name: string;
625
+ description: string | null;
626
626
  }>;
627
627
  404: z.ZodObject<{
628
628
  statusCode: z.ZodNumber;