@dakkitor/api-contracts 1.1.62 → 1.1.63
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.
|
@@ -119,7 +119,7 @@ export declare const ActiveSchema: z.ZodObject<{
|
|
|
119
119
|
postTown?: string | null | undefined;
|
|
120
120
|
areaCovered?: string | null | undefined;
|
|
121
121
|
}>>>;
|
|
122
|
-
shareCode: z.
|
|
122
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
123
123
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
124
124
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2160,7 +2160,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
|
|
|
2160
2160
|
postTown?: string | null | undefined;
|
|
2161
2161
|
areaCovered?: string | null | undefined;
|
|
2162
2162
|
}>>>;
|
|
2163
|
-
shareCode: z.
|
|
2163
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2164
2164
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2165
2165
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2166
2166
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4604,7 +4604,7 @@ export declare const activesContractRouter: {
|
|
|
4604
4604
|
postTown?: string | null | undefined;
|
|
4605
4605
|
areaCovered?: string | null | undefined;
|
|
4606
4606
|
}>>>;
|
|
4607
|
-
shareCode: z.
|
|
4607
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4608
4608
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
4609
4609
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
4610
4610
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6740,7 +6740,7 @@ export declare const activesContractRouter: {
|
|
|
6740
6740
|
postTown?: string | null | undefined;
|
|
6741
6741
|
areaCovered?: string | null | undefined;
|
|
6742
6742
|
}>>>;
|
|
6743
|
-
shareCode: z.
|
|
6743
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6744
6744
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
6745
6745
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
6746
6746
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9143,7 +9143,7 @@ export declare const activesContractRouter: {
|
|
|
9143
9143
|
postTown?: string | null | undefined;
|
|
9144
9144
|
areaCovered?: string | null | undefined;
|
|
9145
9145
|
}>>>;
|
|
9146
|
-
shareCode: z.
|
|
9146
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9147
9147
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
9148
9148
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
9149
9149
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11171,7 +11171,7 @@ export declare const activesContractRouter: {
|
|
|
11171
11171
|
postTown?: string | null | undefined;
|
|
11172
11172
|
areaCovered?: string | null | undefined;
|
|
11173
11173
|
}>>>;
|
|
11174
|
-
shareCode: z.
|
|
11174
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11175
11175
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
11176
11176
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
11177
11177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -181,7 +181,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
181
181
|
postTown?: string | null | undefined;
|
|
182
182
|
areaCovered?: string | null | undefined;
|
|
183
183
|
}>>>;
|
|
184
|
-
shareCode: z.
|
|
184
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
185
185
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
186
186
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1824,7 +1824,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
1824
1824
|
postTown?: string | null | undefined;
|
|
1825
1825
|
areaCovered?: string | null | undefined;
|
|
1826
1826
|
}>>>;
|
|
1827
|
-
shareCode: z.
|
|
1827
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1828
1828
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1829
1829
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
1830
1830
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3636,7 +3636,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
3636
3636
|
postTown?: string | null | undefined;
|
|
3637
3637
|
areaCovered?: string | null | undefined;
|
|
3638
3638
|
}>>>;
|
|
3639
|
-
shareCode: z.
|
|
3639
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3640
3640
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3641
3641
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
3642
3642
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5257,7 +5257,7 @@ export declare const bookingsContractRouter: {
|
|
|
5257
5257
|
postTown?: string | null | undefined;
|
|
5258
5258
|
areaCovered?: string | null | undefined;
|
|
5259
5259
|
}>>>;
|
|
5260
|
-
shareCode: z.
|
|
5260
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5261
5261
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5262
5262
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
5263
5263
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6922,7 +6922,7 @@ export declare const bookingsContractRouter: {
|
|
|
6922
6922
|
postTown?: string | null | undefined;
|
|
6923
6923
|
areaCovered?: string | null | undefined;
|
|
6924
6924
|
}>>>;
|
|
6925
|
-
shareCode: z.
|
|
6925
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6926
6926
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
6927
6927
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
6928
6928
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8854,7 +8854,7 @@ export declare const bookingsContractRouter: {
|
|
|
8854
8854
|
postTown?: string | null | undefined;
|
|
8855
8855
|
areaCovered?: string | null | undefined;
|
|
8856
8856
|
}>>>;
|
|
8857
|
-
shareCode: z.
|
|
8857
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8858
8858
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
8859
8859
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
8860
8860
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10442,7 +10442,7 @@ export declare const bookingsContractRouter: {
|
|
|
10442
10442
|
postTown?: string | null | undefined;
|
|
10443
10443
|
areaCovered?: string | null | undefined;
|
|
10444
10444
|
}>>>;
|
|
10445
|
-
shareCode: z.
|
|
10445
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10446
10446
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
10447
10447
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
10448
10448
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -255,7 +255,7 @@ export declare const WorkerSchema: z.ZodObject<{
|
|
|
255
255
|
postTown?: string | null | undefined;
|
|
256
256
|
areaCovered?: string | null | undefined;
|
|
257
257
|
}>>>;
|
|
258
|
-
shareCode: z.
|
|
258
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
259
259
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
260
260
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -906,7 +906,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
|
|
|
906
906
|
postTown?: string | null | undefined;
|
|
907
907
|
areaCovered?: string | null | undefined;
|
|
908
908
|
}>>>;
|
|
909
|
-
shareCode: z.
|
|
909
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
910
910
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
911
911
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1554,7 +1554,7 @@ export declare const workersContractRouter: {
|
|
|
1554
1554
|
postTown?: string | null | undefined;
|
|
1555
1555
|
areaCovered?: string | null | undefined;
|
|
1556
1556
|
}>>>;
|
|
1557
|
-
shareCode: z.
|
|
1557
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1558
1558
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1559
1559
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
1560
1560
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2014,7 +2014,7 @@ export declare const workersContractRouter: {
|
|
|
2014
2014
|
postTown?: string | null | undefined;
|
|
2015
2015
|
areaCovered?: string | null | undefined;
|
|
2016
2016
|
}>>>;
|
|
2017
|
-
shareCode: z.
|
|
2017
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2018
2018
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2019
2019
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2020
2020
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2501,7 +2501,7 @@ export declare const workersContractRouter: {
|
|
|
2501
2501
|
postTown?: string | null | undefined;
|
|
2502
2502
|
areaCovered?: string | null | undefined;
|
|
2503
2503
|
}>>>;
|
|
2504
|
-
shareCode: z.
|
|
2504
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2505
2505
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2506
2506
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2507
2507
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3058,7 +3058,7 @@ export declare const workersContractRouter: {
|
|
|
3058
3058
|
postTown?: string | null | undefined;
|
|
3059
3059
|
areaCovered?: string | null | undefined;
|
|
3060
3060
|
}>>>;
|
|
3061
|
-
shareCode: z.
|
|
3061
|
+
shareCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3062
3062
|
code: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3063
3063
|
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
3064
3064
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -165,7 +165,7 @@ exports.WorkerSchema = zod_1.z
|
|
|
165
165
|
hasTools: zod_1.z.boolean().describe('Has Tools'),
|
|
166
166
|
hasPpe: zod_1.z.boolean().describe('Has PPE'),
|
|
167
167
|
location: common_schemas_1.LocationDetailsSchema.nullable().optional().describe('Location'),
|
|
168
|
-
shareCode: exports.ShareCodeSchema.
|
|
168
|
+
shareCode: exports.ShareCodeSchema.optional().nullable().describe('Share Code'),
|
|
169
169
|
createdByUserId: zod_1.z
|
|
170
170
|
.string()
|
|
171
171
|
.uuid()
|