@dakkitor/api-contracts 1.1.70 → 1.1.72

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.
@@ -35,17 +35,17 @@ export declare const ActiveSchema: z.ZodObject<{
35
35
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
36
36
  id: z.ZodOptional<z.ZodString>;
37
37
  phoneNumber: z.ZodString;
38
- description: z.ZodOptional<z.ZodString>;
38
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  isPrimary: z.ZodDefault<z.ZodBoolean>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  phoneNumber: string;
42
42
  isPrimary: boolean;
43
43
  id?: string | undefined;
44
- description?: string | undefined;
44
+ description?: string | null | undefined;
45
45
  }, {
46
46
  phoneNumber: string;
47
47
  id?: string | undefined;
48
- description?: string | undefined;
48
+ description?: string | null | undefined;
49
49
  isPrimary?: boolean | undefined;
50
50
  }>, "many">>>;
51
51
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -157,7 +157,7 @@ export declare const ActiveSchema: z.ZodObject<{
157
157
  phoneNumber: string;
158
158
  isPrimary: boolean;
159
159
  id?: string | undefined;
160
- description?: string | undefined;
160
+ description?: string | null | undefined;
161
161
  }[];
162
162
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
163
163
  hasTools: boolean;
@@ -218,7 +218,7 @@ export declare const ActiveSchema: z.ZodObject<{
218
218
  phoneNumbers?: {
219
219
  phoneNumber: string;
220
220
  id?: string | undefined;
221
- description?: string | undefined;
221
+ description?: string | null | undefined;
222
222
  isPrimary?: boolean | undefined;
223
223
  }[] | undefined;
224
224
  nino?: string | null | undefined;
@@ -1067,7 +1067,7 @@ export declare const ActiveSchema: z.ZodObject<{
1067
1067
  phoneNumber: string;
1068
1068
  isPrimary: boolean;
1069
1069
  id?: string | undefined;
1070
- description?: string | undefined;
1070
+ description?: string | null | undefined;
1071
1071
  }[];
1072
1072
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1073
1073
  hasTools: boolean;
@@ -1262,7 +1262,7 @@ export declare const ActiveSchema: z.ZodObject<{
1262
1262
  phoneNumbers?: {
1263
1263
  phoneNumber: string;
1264
1264
  id?: string | undefined;
1265
- description?: string | undefined;
1265
+ description?: string | null | undefined;
1266
1266
  isPrimary?: boolean | undefined;
1267
1267
  }[] | undefined;
1268
1268
  nino?: string | null | undefined;
@@ -1466,7 +1466,7 @@ export declare const ActiveSchema: z.ZodObject<{
1466
1466
  phoneNumber: string;
1467
1467
  isPrimary: boolean;
1468
1468
  id?: string | undefined;
1469
- description?: string | undefined;
1469
+ description?: string | null | undefined;
1470
1470
  }[];
1471
1471
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1472
1472
  hasTools: boolean;
@@ -1678,7 +1678,7 @@ export declare const ActiveSchema: z.ZodObject<{
1678
1678
  phoneNumbers?: {
1679
1679
  phoneNumber: string;
1680
1680
  id?: string | undefined;
1681
- description?: string | undefined;
1681
+ description?: string | null | undefined;
1682
1682
  isPrimary?: boolean | undefined;
1683
1683
  }[] | undefined;
1684
1684
  nino?: string | null | undefined;
@@ -2076,17 +2076,17 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2076
2076
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2077
2077
  id: z.ZodOptional<z.ZodString>;
2078
2078
  phoneNumber: z.ZodString;
2079
- description: z.ZodOptional<z.ZodString>;
2079
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2080
2080
  isPrimary: z.ZodDefault<z.ZodBoolean>;
2081
2081
  }, "strip", z.ZodTypeAny, {
2082
2082
  phoneNumber: string;
2083
2083
  isPrimary: boolean;
2084
2084
  id?: string | undefined;
2085
- description?: string | undefined;
2085
+ description?: string | null | undefined;
2086
2086
  }, {
2087
2087
  phoneNumber: string;
2088
2088
  id?: string | undefined;
2089
- description?: string | undefined;
2089
+ description?: string | null | undefined;
2090
2090
  isPrimary?: boolean | undefined;
2091
2091
  }>, "many">>>;
2092
2092
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2198,7 +2198,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2198
2198
  phoneNumber: string;
2199
2199
  isPrimary: boolean;
2200
2200
  id?: string | undefined;
2201
- description?: string | undefined;
2201
+ description?: string | null | undefined;
2202
2202
  }[];
2203
2203
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2204
2204
  hasTools: boolean;
@@ -2259,7 +2259,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
2259
2259
  phoneNumbers?: {
2260
2260
  phoneNumber: string;
2261
2261
  id?: string | undefined;
2262
- description?: string | undefined;
2262
+ description?: string | null | undefined;
2263
2263
  isPrimary?: boolean | undefined;
2264
2264
  }[] | undefined;
2265
2265
  nino?: string | null | undefined;
@@ -3108,7 +3108,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
3108
3108
  phoneNumber: string;
3109
3109
  isPrimary: boolean;
3110
3110
  id?: string | undefined;
3111
- description?: string | undefined;
3111
+ description?: string | null | undefined;
3112
3112
  }[];
3113
3113
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3114
3114
  hasTools: boolean;
@@ -3303,7 +3303,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
3303
3303
  phoneNumbers?: {
3304
3304
  phoneNumber: string;
3305
3305
  id?: string | undefined;
3306
- description?: string | undefined;
3306
+ description?: string | null | undefined;
3307
3307
  isPrimary?: boolean | undefined;
3308
3308
  }[] | undefined;
3309
3309
  nino?: string | null | undefined;
@@ -3507,7 +3507,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
3507
3507
  phoneNumber: string;
3508
3508
  isPrimary: boolean;
3509
3509
  id?: string | undefined;
3510
- description?: string | undefined;
3510
+ description?: string | null | undefined;
3511
3511
  }[];
3512
3512
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3513
3513
  hasTools: boolean;
@@ -3719,7 +3719,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
3719
3719
  phoneNumbers?: {
3720
3720
  phoneNumber: string;
3721
3721
  id?: string | undefined;
3722
- description?: string | undefined;
3722
+ description?: string | null | undefined;
3723
3723
  isPrimary?: boolean | undefined;
3724
3724
  }[] | undefined;
3725
3725
  nino?: string | null | undefined;
@@ -3929,7 +3929,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
3929
3929
  phoneNumber: string;
3930
3930
  isPrimary: boolean;
3931
3931
  id?: string | undefined;
3932
- description?: string | undefined;
3932
+ description?: string | null | undefined;
3933
3933
  }[];
3934
3934
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3935
3935
  hasTools: boolean;
@@ -4148,7 +4148,7 @@ export declare const PaginatedActiveResponseSchema: z.ZodObject<{
4148
4148
  phoneNumbers?: {
4149
4149
  phoneNumber: string;
4150
4150
  id?: string | undefined;
4151
- description?: string | undefined;
4151
+ description?: string | null | undefined;
4152
4152
  isPrimary?: boolean | undefined;
4153
4153
  }[] | undefined;
4154
4154
  nino?: string | null | undefined;
@@ -4520,17 +4520,17 @@ export declare const activesContractRouter: {
4520
4520
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4521
4521
  id: z.ZodOptional<z.ZodString>;
4522
4522
  phoneNumber: z.ZodString;
4523
- description: z.ZodOptional<z.ZodString>;
4523
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4524
4524
  isPrimary: z.ZodDefault<z.ZodBoolean>;
4525
4525
  }, "strip", z.ZodTypeAny, {
4526
4526
  phoneNumber: string;
4527
4527
  isPrimary: boolean;
4528
4528
  id?: string | undefined;
4529
- description?: string | undefined;
4529
+ description?: string | null | undefined;
4530
4530
  }, {
4531
4531
  phoneNumber: string;
4532
4532
  id?: string | undefined;
4533
- description?: string | undefined;
4533
+ description?: string | null | undefined;
4534
4534
  isPrimary?: boolean | undefined;
4535
4535
  }>, "many">>>;
4536
4536
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4642,7 +4642,7 @@ export declare const activesContractRouter: {
4642
4642
  phoneNumber: string;
4643
4643
  isPrimary: boolean;
4644
4644
  id?: string | undefined;
4645
- description?: string | undefined;
4645
+ description?: string | null | undefined;
4646
4646
  }[];
4647
4647
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
4648
4648
  hasTools: boolean;
@@ -4703,7 +4703,7 @@ export declare const activesContractRouter: {
4703
4703
  phoneNumbers?: {
4704
4704
  phoneNumber: string;
4705
4705
  id?: string | undefined;
4706
- description?: string | undefined;
4706
+ description?: string | null | undefined;
4707
4707
  isPrimary?: boolean | undefined;
4708
4708
  }[] | undefined;
4709
4709
  nino?: string | null | undefined;
@@ -5552,7 +5552,7 @@ export declare const activesContractRouter: {
5552
5552
  phoneNumber: string;
5553
5553
  isPrimary: boolean;
5554
5554
  id?: string | undefined;
5555
- description?: string | undefined;
5555
+ description?: string | null | undefined;
5556
5556
  }[];
5557
5557
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5558
5558
  hasTools: boolean;
@@ -5747,7 +5747,7 @@ export declare const activesContractRouter: {
5747
5747
  phoneNumbers?: {
5748
5748
  phoneNumber: string;
5749
5749
  id?: string | undefined;
5750
- description?: string | undefined;
5750
+ description?: string | null | undefined;
5751
5751
  isPrimary?: boolean | undefined;
5752
5752
  }[] | undefined;
5753
5753
  nino?: string | null | undefined;
@@ -5951,7 +5951,7 @@ export declare const activesContractRouter: {
5951
5951
  phoneNumber: string;
5952
5952
  isPrimary: boolean;
5953
5953
  id?: string | undefined;
5954
- description?: string | undefined;
5954
+ description?: string | null | undefined;
5955
5955
  }[];
5956
5956
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5957
5957
  hasTools: boolean;
@@ -6163,7 +6163,7 @@ export declare const activesContractRouter: {
6163
6163
  phoneNumbers?: {
6164
6164
  phoneNumber: string;
6165
6165
  id?: string | undefined;
6166
- description?: string | undefined;
6166
+ description?: string | null | undefined;
6167
6167
  isPrimary?: boolean | undefined;
6168
6168
  }[] | undefined;
6169
6169
  nino?: string | null | undefined;
@@ -6656,17 +6656,17 @@ export declare const activesContractRouter: {
6656
6656
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6657
6657
  id: z.ZodOptional<z.ZodString>;
6658
6658
  phoneNumber: z.ZodString;
6659
- description: z.ZodOptional<z.ZodString>;
6659
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6660
6660
  isPrimary: z.ZodDefault<z.ZodBoolean>;
6661
6661
  }, "strip", z.ZodTypeAny, {
6662
6662
  phoneNumber: string;
6663
6663
  isPrimary: boolean;
6664
6664
  id?: string | undefined;
6665
- description?: string | undefined;
6665
+ description?: string | null | undefined;
6666
6666
  }, {
6667
6667
  phoneNumber: string;
6668
6668
  id?: string | undefined;
6669
- description?: string | undefined;
6669
+ description?: string | null | undefined;
6670
6670
  isPrimary?: boolean | undefined;
6671
6671
  }>, "many">>>;
6672
6672
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6778,7 +6778,7 @@ export declare const activesContractRouter: {
6778
6778
  phoneNumber: string;
6779
6779
  isPrimary: boolean;
6780
6780
  id?: string | undefined;
6781
- description?: string | undefined;
6781
+ description?: string | null | undefined;
6782
6782
  }[];
6783
6783
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6784
6784
  hasTools: boolean;
@@ -6839,7 +6839,7 @@ export declare const activesContractRouter: {
6839
6839
  phoneNumbers?: {
6840
6840
  phoneNumber: string;
6841
6841
  id?: string | undefined;
6842
- description?: string | undefined;
6842
+ description?: string | null | undefined;
6843
6843
  isPrimary?: boolean | undefined;
6844
6844
  }[] | undefined;
6845
6845
  nino?: string | null | undefined;
@@ -7688,7 +7688,7 @@ export declare const activesContractRouter: {
7688
7688
  phoneNumber: string;
7689
7689
  isPrimary: boolean;
7690
7690
  id?: string | undefined;
7691
- description?: string | undefined;
7691
+ description?: string | null | undefined;
7692
7692
  }[];
7693
7693
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
7694
7694
  hasTools: boolean;
@@ -7883,7 +7883,7 @@ export declare const activesContractRouter: {
7883
7883
  phoneNumbers?: {
7884
7884
  phoneNumber: string;
7885
7885
  id?: string | undefined;
7886
- description?: string | undefined;
7886
+ description?: string | null | undefined;
7887
7887
  isPrimary?: boolean | undefined;
7888
7888
  }[] | undefined;
7889
7889
  nino?: string | null | undefined;
@@ -8087,7 +8087,7 @@ export declare const activesContractRouter: {
8087
8087
  phoneNumber: string;
8088
8088
  isPrimary: boolean;
8089
8089
  id?: string | undefined;
8090
- description?: string | undefined;
8090
+ description?: string | null | undefined;
8091
8091
  }[];
8092
8092
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
8093
8093
  hasTools: boolean;
@@ -8299,7 +8299,7 @@ export declare const activesContractRouter: {
8299
8299
  phoneNumbers?: {
8300
8300
  phoneNumber: string;
8301
8301
  id?: string | undefined;
8302
- description?: string | undefined;
8302
+ description?: string | null | undefined;
8303
8303
  isPrimary?: boolean | undefined;
8304
8304
  }[] | undefined;
8305
8305
  nino?: string | null | undefined;
@@ -8509,7 +8509,7 @@ export declare const activesContractRouter: {
8509
8509
  phoneNumber: string;
8510
8510
  isPrimary: boolean;
8511
8511
  id?: string | undefined;
8512
- description?: string | undefined;
8512
+ description?: string | null | undefined;
8513
8513
  }[];
8514
8514
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
8515
8515
  hasTools: boolean;
@@ -8728,7 +8728,7 @@ export declare const activesContractRouter: {
8728
8728
  phoneNumbers?: {
8729
8729
  phoneNumber: string;
8730
8730
  id?: string | undefined;
8731
- description?: string | undefined;
8731
+ description?: string | null | undefined;
8732
8732
  isPrimary?: boolean | undefined;
8733
8733
  }[] | undefined;
8734
8734
  nino?: string | null | undefined;
@@ -9059,17 +9059,17 @@ export declare const activesContractRouter: {
9059
9059
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
9060
9060
  id: z.ZodOptional<z.ZodString>;
9061
9061
  phoneNumber: z.ZodString;
9062
- description: z.ZodOptional<z.ZodString>;
9062
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9063
9063
  isPrimary: z.ZodDefault<z.ZodBoolean>;
9064
9064
  }, "strip", z.ZodTypeAny, {
9065
9065
  phoneNumber: string;
9066
9066
  isPrimary: boolean;
9067
9067
  id?: string | undefined;
9068
- description?: string | undefined;
9068
+ description?: string | null | undefined;
9069
9069
  }, {
9070
9070
  phoneNumber: string;
9071
9071
  id?: string | undefined;
9072
- description?: string | undefined;
9072
+ description?: string | null | undefined;
9073
9073
  isPrimary?: boolean | undefined;
9074
9074
  }>, "many">>>;
9075
9075
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9181,7 +9181,7 @@ export declare const activesContractRouter: {
9181
9181
  phoneNumber: string;
9182
9182
  isPrimary: boolean;
9183
9183
  id?: string | undefined;
9184
- description?: string | undefined;
9184
+ description?: string | null | undefined;
9185
9185
  }[];
9186
9186
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
9187
9187
  hasTools: boolean;
@@ -9242,7 +9242,7 @@ export declare const activesContractRouter: {
9242
9242
  phoneNumbers?: {
9243
9243
  phoneNumber: string;
9244
9244
  id?: string | undefined;
9245
- description?: string | undefined;
9245
+ description?: string | null | undefined;
9246
9246
  isPrimary?: boolean | undefined;
9247
9247
  }[] | undefined;
9248
9248
  nino?: string | null | undefined;
@@ -10091,7 +10091,7 @@ export declare const activesContractRouter: {
10091
10091
  phoneNumber: string;
10092
10092
  isPrimary: boolean;
10093
10093
  id?: string | undefined;
10094
- description?: string | undefined;
10094
+ description?: string | null | undefined;
10095
10095
  }[];
10096
10096
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
10097
10097
  hasTools: boolean;
@@ -10286,7 +10286,7 @@ export declare const activesContractRouter: {
10286
10286
  phoneNumbers?: {
10287
10287
  phoneNumber: string;
10288
10288
  id?: string | undefined;
10289
- description?: string | undefined;
10289
+ description?: string | null | undefined;
10290
10290
  isPrimary?: boolean | undefined;
10291
10291
  }[] | undefined;
10292
10292
  nino?: string | null | undefined;
@@ -10490,7 +10490,7 @@ export declare const activesContractRouter: {
10490
10490
  phoneNumber: string;
10491
10491
  isPrimary: boolean;
10492
10492
  id?: string | undefined;
10493
- description?: string | undefined;
10493
+ description?: string | null | undefined;
10494
10494
  }[];
10495
10495
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
10496
10496
  hasTools: boolean;
@@ -10702,7 +10702,7 @@ export declare const activesContractRouter: {
10702
10702
  phoneNumbers?: {
10703
10703
  phoneNumber: string;
10704
10704
  id?: string | undefined;
10705
- description?: string | undefined;
10705
+ description?: string | null | undefined;
10706
10706
  isPrimary?: boolean | undefined;
10707
10707
  }[] | undefined;
10708
10708
  nino?: string | null | undefined;
@@ -11087,17 +11087,17 @@ export declare const activesContractRouter: {
11087
11087
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
11088
11088
  id: z.ZodOptional<z.ZodString>;
11089
11089
  phoneNumber: z.ZodString;
11090
- description: z.ZodOptional<z.ZodString>;
11090
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11091
11091
  isPrimary: z.ZodDefault<z.ZodBoolean>;
11092
11092
  }, "strip", z.ZodTypeAny, {
11093
11093
  phoneNumber: string;
11094
11094
  isPrimary: boolean;
11095
11095
  id?: string | undefined;
11096
- description?: string | undefined;
11096
+ description?: string | null | undefined;
11097
11097
  }, {
11098
11098
  phoneNumber: string;
11099
11099
  id?: string | undefined;
11100
- description?: string | undefined;
11100
+ description?: string | null | undefined;
11101
11101
  isPrimary?: boolean | undefined;
11102
11102
  }>, "many">>>;
11103
11103
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11209,7 +11209,7 @@ export declare const activesContractRouter: {
11209
11209
  phoneNumber: string;
11210
11210
  isPrimary: boolean;
11211
11211
  id?: string | undefined;
11212
- description?: string | undefined;
11212
+ description?: string | null | undefined;
11213
11213
  }[];
11214
11214
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
11215
11215
  hasTools: boolean;
@@ -11270,7 +11270,7 @@ export declare const activesContractRouter: {
11270
11270
  phoneNumbers?: {
11271
11271
  phoneNumber: string;
11272
11272
  id?: string | undefined;
11273
- description?: string | undefined;
11273
+ description?: string | null | undefined;
11274
11274
  isPrimary?: boolean | undefined;
11275
11275
  }[] | undefined;
11276
11276
  nino?: string | null | undefined;
@@ -12119,7 +12119,7 @@ export declare const activesContractRouter: {
12119
12119
  phoneNumber: string;
12120
12120
  isPrimary: boolean;
12121
12121
  id?: string | undefined;
12122
- description?: string | undefined;
12122
+ description?: string | null | undefined;
12123
12123
  }[];
12124
12124
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
12125
12125
  hasTools: boolean;
@@ -12314,7 +12314,7 @@ export declare const activesContractRouter: {
12314
12314
  phoneNumbers?: {
12315
12315
  phoneNumber: string;
12316
12316
  id?: string | undefined;
12317
- description?: string | undefined;
12317
+ description?: string | null | undefined;
12318
12318
  isPrimary?: boolean | undefined;
12319
12319
  }[] | undefined;
12320
12320
  nino?: string | null | undefined;
@@ -12518,7 +12518,7 @@ export declare const activesContractRouter: {
12518
12518
  phoneNumber: string;
12519
12519
  isPrimary: boolean;
12520
12520
  id?: string | undefined;
12521
- description?: string | undefined;
12521
+ description?: string | null | undefined;
12522
12522
  }[];
12523
12523
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
12524
12524
  hasTools: boolean;
@@ -12730,7 +12730,7 @@ export declare const activesContractRouter: {
12730
12730
  phoneNumbers?: {
12731
12731
  phoneNumber: string;
12732
12732
  id?: string | undefined;
12733
- description?: string | undefined;
12733
+ description?: string | null | undefined;
12734
12734
  isPrimary?: boolean | undefined;
12735
12735
  }[] | undefined;
12736
12736
  nino?: string | null | undefined;
@@ -97,17 +97,17 @@ export declare const BookingSchema: z.ZodObject<{
97
97
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
98
98
  id: z.ZodOptional<z.ZodString>;
99
99
  phoneNumber: z.ZodString;
100
- description: z.ZodOptional<z.ZodString>;
100
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
101
  isPrimary: z.ZodDefault<z.ZodBoolean>;
102
102
  }, "strip", z.ZodTypeAny, {
103
103
  phoneNumber: string;
104
104
  isPrimary: boolean;
105
105
  id?: string | undefined;
106
- description?: string | undefined;
106
+ description?: string | null | undefined;
107
107
  }, {
108
108
  phoneNumber: string;
109
109
  id?: string | undefined;
110
- description?: string | undefined;
110
+ description?: string | null | undefined;
111
111
  isPrimary?: boolean | undefined;
112
112
  }>, "many">>>;
113
113
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -219,7 +219,7 @@ export declare const BookingSchema: z.ZodObject<{
219
219
  phoneNumber: string;
220
220
  isPrimary: boolean;
221
221
  id?: string | undefined;
222
- description?: string | undefined;
222
+ description?: string | null | undefined;
223
223
  }[];
224
224
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
225
225
  hasTools: boolean;
@@ -280,7 +280,7 @@ export declare const BookingSchema: z.ZodObject<{
280
280
  phoneNumbers?: {
281
281
  phoneNumber: string;
282
282
  id?: string | undefined;
283
- description?: string | undefined;
283
+ description?: string | null | undefined;
284
284
  isPrimary?: boolean | undefined;
285
285
  }[] | undefined;
286
286
  nino?: string | null | undefined;
@@ -1129,7 +1129,7 @@ export declare const BookingSchema: z.ZodObject<{
1129
1129
  phoneNumber: string;
1130
1130
  isPrimary: boolean;
1131
1131
  id?: string | undefined;
1132
- description?: string | undefined;
1132
+ description?: string | null | undefined;
1133
1133
  }[];
1134
1134
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1135
1135
  hasTools: boolean;
@@ -1324,7 +1324,7 @@ export declare const BookingSchema: z.ZodObject<{
1324
1324
  phoneNumbers?: {
1325
1325
  phoneNumber: string;
1326
1326
  id?: string | undefined;
1327
- description?: string | undefined;
1327
+ description?: string | null | undefined;
1328
1328
  isPrimary?: boolean | undefined;
1329
1329
  }[] | undefined;
1330
1330
  nino?: string | null | undefined;
@@ -1740,17 +1740,17 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1740
1740
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1741
1741
  id: z.ZodOptional<z.ZodString>;
1742
1742
  phoneNumber: z.ZodString;
1743
- description: z.ZodOptional<z.ZodString>;
1743
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1744
1744
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1745
1745
  }, "strip", z.ZodTypeAny, {
1746
1746
  phoneNumber: string;
1747
1747
  isPrimary: boolean;
1748
1748
  id?: string | undefined;
1749
- description?: string | undefined;
1749
+ description?: string | null | undefined;
1750
1750
  }, {
1751
1751
  phoneNumber: string;
1752
1752
  id?: string | undefined;
1753
- description?: string | undefined;
1753
+ description?: string | null | undefined;
1754
1754
  isPrimary?: boolean | undefined;
1755
1755
  }>, "many">>>;
1756
1756
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1862,7 +1862,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1862
1862
  phoneNumber: string;
1863
1863
  isPrimary: boolean;
1864
1864
  id?: string | undefined;
1865
- description?: string | undefined;
1865
+ description?: string | null | undefined;
1866
1866
  }[];
1867
1867
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1868
1868
  hasTools: boolean;
@@ -1923,7 +1923,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
1923
1923
  phoneNumbers?: {
1924
1924
  phoneNumber: string;
1925
1925
  id?: string | undefined;
1926
- description?: string | undefined;
1926
+ description?: string | null | undefined;
1927
1927
  isPrimary?: boolean | undefined;
1928
1928
  }[] | undefined;
1929
1929
  nino?: string | null | undefined;
@@ -2772,7 +2772,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2772
2772
  phoneNumber: string;
2773
2773
  isPrimary: boolean;
2774
2774
  id?: string | undefined;
2775
- description?: string | undefined;
2775
+ description?: string | null | undefined;
2776
2776
  }[];
2777
2777
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2778
2778
  hasTools: boolean;
@@ -2967,7 +2967,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
2967
2967
  phoneNumbers?: {
2968
2968
  phoneNumber: string;
2969
2969
  id?: string | undefined;
2970
- description?: string | undefined;
2970
+ description?: string | null | undefined;
2971
2971
  isPrimary?: boolean | undefined;
2972
2972
  }[] | undefined;
2973
2973
  nino?: string | null | undefined;
@@ -3160,7 +3160,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
3160
3160
  phoneNumber: string;
3161
3161
  isPrimary: boolean;
3162
3162
  id?: string | undefined;
3163
- description?: string | undefined;
3163
+ description?: string | null | undefined;
3164
3164
  }[];
3165
3165
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3166
3166
  hasTools: boolean;
@@ -3362,7 +3362,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
3362
3362
  phoneNumbers?: {
3363
3363
  phoneNumber: string;
3364
3364
  id?: string | undefined;
3365
- description?: string | undefined;
3365
+ description?: string | null | undefined;
3366
3366
  isPrimary?: boolean | undefined;
3367
3367
  }[] | undefined;
3368
3368
  nino?: string | null | undefined;
@@ -3552,17 +3552,17 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
3552
3552
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3553
3553
  id: z.ZodOptional<z.ZodString>;
3554
3554
  phoneNumber: z.ZodString;
3555
- description: z.ZodOptional<z.ZodString>;
3555
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3556
3556
  isPrimary: z.ZodDefault<z.ZodBoolean>;
3557
3557
  }, "strip", z.ZodTypeAny, {
3558
3558
  phoneNumber: string;
3559
3559
  isPrimary: boolean;
3560
3560
  id?: string | undefined;
3561
- description?: string | undefined;
3561
+ description?: string | null | undefined;
3562
3562
  }, {
3563
3563
  phoneNumber: string;
3564
3564
  id?: string | undefined;
3565
- description?: string | undefined;
3565
+ description?: string | null | undefined;
3566
3566
  isPrimary?: boolean | undefined;
3567
3567
  }>, "many">>>;
3568
3568
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3674,7 +3674,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
3674
3674
  phoneNumber: string;
3675
3675
  isPrimary: boolean;
3676
3676
  id?: string | undefined;
3677
- description?: string | undefined;
3677
+ description?: string | null | undefined;
3678
3678
  }[];
3679
3679
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3680
3680
  hasTools: boolean;
@@ -3735,7 +3735,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
3735
3735
  phoneNumbers?: {
3736
3736
  phoneNumber: string;
3737
3737
  id?: string | undefined;
3738
- description?: string | undefined;
3738
+ description?: string | null | undefined;
3739
3739
  isPrimary?: boolean | undefined;
3740
3740
  }[] | undefined;
3741
3741
  nino?: string | null | undefined;
@@ -4584,7 +4584,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
4584
4584
  phoneNumber: string;
4585
4585
  isPrimary: boolean;
4586
4586
  id?: string | undefined;
4587
- description?: string | undefined;
4587
+ description?: string | null | undefined;
4588
4588
  }[];
4589
4589
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
4590
4590
  hasTools: boolean;
@@ -4779,7 +4779,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
4779
4779
  phoneNumbers?: {
4780
4780
  phoneNumber: string;
4781
4781
  id?: string | undefined;
4782
- description?: string | undefined;
4782
+ description?: string | null | undefined;
4783
4783
  isPrimary?: boolean | undefined;
4784
4784
  }[] | undefined;
4785
4785
  nino?: string | null | undefined;
@@ -5173,17 +5173,17 @@ export declare const bookingsContractRouter: {
5173
5173
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5174
5174
  id: z.ZodOptional<z.ZodString>;
5175
5175
  phoneNumber: z.ZodString;
5176
- description: z.ZodOptional<z.ZodString>;
5176
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5177
5177
  isPrimary: z.ZodDefault<z.ZodBoolean>;
5178
5178
  }, "strip", z.ZodTypeAny, {
5179
5179
  phoneNumber: string;
5180
5180
  isPrimary: boolean;
5181
5181
  id?: string | undefined;
5182
- description?: string | undefined;
5182
+ description?: string | null | undefined;
5183
5183
  }, {
5184
5184
  phoneNumber: string;
5185
5185
  id?: string | undefined;
5186
- description?: string | undefined;
5186
+ description?: string | null | undefined;
5187
5187
  isPrimary?: boolean | undefined;
5188
5188
  }>, "many">>>;
5189
5189
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5295,7 +5295,7 @@ export declare const bookingsContractRouter: {
5295
5295
  phoneNumber: string;
5296
5296
  isPrimary: boolean;
5297
5297
  id?: string | undefined;
5298
- description?: string | undefined;
5298
+ description?: string | null | undefined;
5299
5299
  }[];
5300
5300
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
5301
5301
  hasTools: boolean;
@@ -5356,7 +5356,7 @@ export declare const bookingsContractRouter: {
5356
5356
  phoneNumbers?: {
5357
5357
  phoneNumber: string;
5358
5358
  id?: string | undefined;
5359
- description?: string | undefined;
5359
+ description?: string | null | undefined;
5360
5360
  isPrimary?: boolean | undefined;
5361
5361
  }[] | undefined;
5362
5362
  nino?: string | null | undefined;
@@ -6205,7 +6205,7 @@ export declare const bookingsContractRouter: {
6205
6205
  phoneNumber: string;
6206
6206
  isPrimary: boolean;
6207
6207
  id?: string | undefined;
6208
- description?: string | undefined;
6208
+ description?: string | null | undefined;
6209
6209
  }[];
6210
6210
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6211
6211
  hasTools: boolean;
@@ -6400,7 +6400,7 @@ export declare const bookingsContractRouter: {
6400
6400
  phoneNumbers?: {
6401
6401
  phoneNumber: string;
6402
6402
  id?: string | undefined;
6403
- description?: string | undefined;
6403
+ description?: string | null | undefined;
6404
6404
  isPrimary?: boolean | undefined;
6405
6405
  }[] | undefined;
6406
6406
  nino?: string | null | undefined;
@@ -6838,17 +6838,17 @@ export declare const bookingsContractRouter: {
6838
6838
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
6839
6839
  id: z.ZodOptional<z.ZodString>;
6840
6840
  phoneNumber: z.ZodString;
6841
- description: z.ZodOptional<z.ZodString>;
6841
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6842
6842
  isPrimary: z.ZodDefault<z.ZodBoolean>;
6843
6843
  }, "strip", z.ZodTypeAny, {
6844
6844
  phoneNumber: string;
6845
6845
  isPrimary: boolean;
6846
6846
  id?: string | undefined;
6847
- description?: string | undefined;
6847
+ description?: string | null | undefined;
6848
6848
  }, {
6849
6849
  phoneNumber: string;
6850
6850
  id?: string | undefined;
6851
- description?: string | undefined;
6851
+ description?: string | null | undefined;
6852
6852
  isPrimary?: boolean | undefined;
6853
6853
  }>, "many">>>;
6854
6854
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6960,7 +6960,7 @@ export declare const bookingsContractRouter: {
6960
6960
  phoneNumber: string;
6961
6961
  isPrimary: boolean;
6962
6962
  id?: string | undefined;
6963
- description?: string | undefined;
6963
+ description?: string | null | undefined;
6964
6964
  }[];
6965
6965
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
6966
6966
  hasTools: boolean;
@@ -7021,7 +7021,7 @@ export declare const bookingsContractRouter: {
7021
7021
  phoneNumbers?: {
7022
7022
  phoneNumber: string;
7023
7023
  id?: string | undefined;
7024
- description?: string | undefined;
7024
+ description?: string | null | undefined;
7025
7025
  isPrimary?: boolean | undefined;
7026
7026
  }[] | undefined;
7027
7027
  nino?: string | null | undefined;
@@ -7870,7 +7870,7 @@ export declare const bookingsContractRouter: {
7870
7870
  phoneNumber: string;
7871
7871
  isPrimary: boolean;
7872
7872
  id?: string | undefined;
7873
- description?: string | undefined;
7873
+ description?: string | null | undefined;
7874
7874
  }[];
7875
7875
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
7876
7876
  hasTools: boolean;
@@ -8065,7 +8065,7 @@ export declare const bookingsContractRouter: {
8065
8065
  phoneNumbers?: {
8066
8066
  phoneNumber: string;
8067
8067
  id?: string | undefined;
8068
- description?: string | undefined;
8068
+ description?: string | null | undefined;
8069
8069
  isPrimary?: boolean | undefined;
8070
8070
  }[] | undefined;
8071
8071
  nino?: string | null | undefined;
@@ -8258,7 +8258,7 @@ export declare const bookingsContractRouter: {
8258
8258
  phoneNumber: string;
8259
8259
  isPrimary: boolean;
8260
8260
  id?: string | undefined;
8261
- description?: string | undefined;
8261
+ description?: string | null | undefined;
8262
8262
  }[];
8263
8263
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
8264
8264
  hasTools: boolean;
@@ -8460,7 +8460,7 @@ export declare const bookingsContractRouter: {
8460
8460
  phoneNumbers?: {
8461
8461
  phoneNumber: string;
8462
8462
  id?: string | undefined;
8463
- description?: string | undefined;
8463
+ description?: string | null | undefined;
8464
8464
  isPrimary?: boolean | undefined;
8465
8465
  }[] | undefined;
8466
8466
  nino?: string | null | undefined;
@@ -8770,17 +8770,17 @@ export declare const bookingsContractRouter: {
8770
8770
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
8771
8771
  id: z.ZodOptional<z.ZodString>;
8772
8772
  phoneNumber: z.ZodString;
8773
- description: z.ZodOptional<z.ZodString>;
8773
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8774
8774
  isPrimary: z.ZodDefault<z.ZodBoolean>;
8775
8775
  }, "strip", z.ZodTypeAny, {
8776
8776
  phoneNumber: string;
8777
8777
  isPrimary: boolean;
8778
8778
  id?: string | undefined;
8779
- description?: string | undefined;
8779
+ description?: string | null | undefined;
8780
8780
  }, {
8781
8781
  phoneNumber: string;
8782
8782
  id?: string | undefined;
8783
- description?: string | undefined;
8783
+ description?: string | null | undefined;
8784
8784
  isPrimary?: boolean | undefined;
8785
8785
  }>, "many">>>;
8786
8786
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8892,7 +8892,7 @@ export declare const bookingsContractRouter: {
8892
8892
  phoneNumber: string;
8893
8893
  isPrimary: boolean;
8894
8894
  id?: string | undefined;
8895
- description?: string | undefined;
8895
+ description?: string | null | undefined;
8896
8896
  }[];
8897
8897
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
8898
8898
  hasTools: boolean;
@@ -8953,7 +8953,7 @@ export declare const bookingsContractRouter: {
8953
8953
  phoneNumbers?: {
8954
8954
  phoneNumber: string;
8955
8955
  id?: string | undefined;
8956
- description?: string | undefined;
8956
+ description?: string | null | undefined;
8957
8957
  isPrimary?: boolean | undefined;
8958
8958
  }[] | undefined;
8959
8959
  nino?: string | null | undefined;
@@ -9802,7 +9802,7 @@ export declare const bookingsContractRouter: {
9802
9802
  phoneNumber: string;
9803
9803
  isPrimary: boolean;
9804
9804
  id?: string | undefined;
9805
- description?: string | undefined;
9805
+ description?: string | null | undefined;
9806
9806
  }[];
9807
9807
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
9808
9808
  hasTools: boolean;
@@ -9997,7 +9997,7 @@ export declare const bookingsContractRouter: {
9997
9997
  phoneNumbers?: {
9998
9998
  phoneNumber: string;
9999
9999
  id?: string | undefined;
10000
- description?: string | undefined;
10000
+ description?: string | null | undefined;
10001
10001
  isPrimary?: boolean | undefined;
10002
10002
  }[] | undefined;
10003
10003
  nino?: string | null | undefined;
@@ -10358,17 +10358,17 @@ export declare const bookingsContractRouter: {
10358
10358
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
10359
10359
  id: z.ZodOptional<z.ZodString>;
10360
10360
  phoneNumber: z.ZodString;
10361
- description: z.ZodOptional<z.ZodString>;
10361
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10362
10362
  isPrimary: z.ZodDefault<z.ZodBoolean>;
10363
10363
  }, "strip", z.ZodTypeAny, {
10364
10364
  phoneNumber: string;
10365
10365
  isPrimary: boolean;
10366
10366
  id?: string | undefined;
10367
- description?: string | undefined;
10367
+ description?: string | null | undefined;
10368
10368
  }, {
10369
10369
  phoneNumber: string;
10370
10370
  id?: string | undefined;
10371
- description?: string | undefined;
10371
+ description?: string | null | undefined;
10372
10372
  isPrimary?: boolean | undefined;
10373
10373
  }>, "many">>>;
10374
10374
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10480,7 +10480,7 @@ export declare const bookingsContractRouter: {
10480
10480
  phoneNumber: string;
10481
10481
  isPrimary: boolean;
10482
10482
  id?: string | undefined;
10483
- description?: string | undefined;
10483
+ description?: string | null | undefined;
10484
10484
  }[];
10485
10485
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
10486
10486
  hasTools: boolean;
@@ -10541,7 +10541,7 @@ export declare const bookingsContractRouter: {
10541
10541
  phoneNumbers?: {
10542
10542
  phoneNumber: string;
10543
10543
  id?: string | undefined;
10544
- description?: string | undefined;
10544
+ description?: string | null | undefined;
10545
10545
  isPrimary?: boolean | undefined;
10546
10546
  }[] | undefined;
10547
10547
  nino?: string | null | undefined;
@@ -11390,7 +11390,7 @@ export declare const bookingsContractRouter: {
11390
11390
  phoneNumber: string;
11391
11391
  isPrimary: boolean;
11392
11392
  id?: string | undefined;
11393
- description?: string | undefined;
11393
+ description?: string | null | undefined;
11394
11394
  }[];
11395
11395
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
11396
11396
  hasTools: boolean;
@@ -11585,7 +11585,7 @@ export declare const bookingsContractRouter: {
11585
11585
  phoneNumbers?: {
11586
11586
  phoneNumber: string;
11587
11587
  id?: string | undefined;
11588
- description?: string | undefined;
11588
+ description?: string | null | undefined;
11589
11589
  isPrimary?: boolean | undefined;
11590
11590
  }[] | undefined;
11591
11591
  nino?: string | null | undefined;
@@ -5,17 +5,17 @@ export declare const BooleanFilterSchema: z.ZodDefault<z.ZodEnum<["only_with", "
5
5
  export declare const WorkerPhoneNumberSchema: z.ZodObject<{
6
6
  id: z.ZodOptional<z.ZodString>;
7
7
  phoneNumber: z.ZodString;
8
- description: z.ZodOptional<z.ZodString>;
8
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  isPrimary: z.ZodDefault<z.ZodBoolean>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  phoneNumber: string;
12
12
  isPrimary: boolean;
13
13
  id?: string | undefined;
14
- description?: string | undefined;
14
+ description?: string | null | undefined;
15
15
  }, {
16
16
  phoneNumber: string;
17
17
  id?: string | undefined;
18
- description?: string | undefined;
18
+ description?: string | null | undefined;
19
19
  isPrimary?: boolean | undefined;
20
20
  }>;
21
21
  export declare const CreateWorkerPhoneNumberSchema: z.ZodObject<{
@@ -171,17 +171,17 @@ export declare const WorkerSchema: z.ZodObject<{
171
171
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
172
172
  id: z.ZodOptional<z.ZodString>;
173
173
  phoneNumber: z.ZodString;
174
- description: z.ZodOptional<z.ZodString>;
174
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
175
  isPrimary: z.ZodDefault<z.ZodBoolean>;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  phoneNumber: string;
178
178
  isPrimary: boolean;
179
179
  id?: string | undefined;
180
- description?: string | undefined;
180
+ description?: string | null | undefined;
181
181
  }, {
182
182
  phoneNumber: string;
183
183
  id?: string | undefined;
184
- description?: string | undefined;
184
+ description?: string | null | undefined;
185
185
  isPrimary?: boolean | undefined;
186
186
  }>, "many">>>;
187
187
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -293,7 +293,7 @@ export declare const WorkerSchema: z.ZodObject<{
293
293
  phoneNumber: string;
294
294
  isPrimary: boolean;
295
295
  id?: string | undefined;
296
- description?: string | undefined;
296
+ description?: string | null | undefined;
297
297
  }[];
298
298
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
299
299
  hasTools: boolean;
@@ -354,7 +354,7 @@ export declare const WorkerSchema: z.ZodObject<{
354
354
  phoneNumbers?: {
355
355
  phoneNumber: string;
356
356
  id?: string | undefined;
357
- description?: string | undefined;
357
+ description?: string | null | undefined;
358
358
  isPrimary?: boolean | undefined;
359
359
  }[] | undefined;
360
360
  nino?: string | null | undefined;
@@ -854,17 +854,17 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
854
854
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
855
855
  id: z.ZodOptional<z.ZodString>;
856
856
  phoneNumber: z.ZodString;
857
- description: z.ZodOptional<z.ZodString>;
857
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
858
  isPrimary: z.ZodDefault<z.ZodBoolean>;
859
859
  }, "strip", z.ZodTypeAny, {
860
860
  phoneNumber: string;
861
861
  isPrimary: boolean;
862
862
  id?: string | undefined;
863
- description?: string | undefined;
863
+ description?: string | null | undefined;
864
864
  }, {
865
865
  phoneNumber: string;
866
866
  id?: string | undefined;
867
- description?: string | undefined;
867
+ description?: string | null | undefined;
868
868
  isPrimary?: boolean | undefined;
869
869
  }>, "many">>>;
870
870
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -976,7 +976,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
976
976
  phoneNumber: string;
977
977
  isPrimary: boolean;
978
978
  id?: string | undefined;
979
- description?: string | undefined;
979
+ description?: string | null | undefined;
980
980
  }[];
981
981
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
982
982
  hasTools: boolean;
@@ -1037,7 +1037,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1037
1037
  phoneNumbers?: {
1038
1038
  phoneNumber: string;
1039
1039
  id?: string | undefined;
1040
- description?: string | undefined;
1040
+ description?: string | null | undefined;
1041
1041
  isPrimary?: boolean | undefined;
1042
1042
  }[] | undefined;
1043
1043
  nino?: string | null | undefined;
@@ -1096,7 +1096,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1096
1096
  phoneNumber: string;
1097
1097
  isPrimary: boolean;
1098
1098
  id?: string | undefined;
1099
- description?: string | undefined;
1099
+ description?: string | null | undefined;
1100
1100
  }[];
1101
1101
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1102
1102
  hasTools: boolean;
@@ -1164,7 +1164,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1164
1164
  phoneNumbers?: {
1165
1165
  phoneNumber: string;
1166
1166
  id?: string | undefined;
1167
- description?: string | undefined;
1167
+ description?: string | null | undefined;
1168
1168
  isPrimary?: boolean | undefined;
1169
1169
  }[] | undefined;
1170
1170
  nino?: string | null | undefined;
@@ -1516,17 +1516,17 @@ export declare const workersContractRouter: {
1516
1516
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1517
1517
  id: z.ZodOptional<z.ZodString>;
1518
1518
  phoneNumber: z.ZodString;
1519
- description: z.ZodOptional<z.ZodString>;
1519
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
1520
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1521
1521
  }, "strip", z.ZodTypeAny, {
1522
1522
  phoneNumber: string;
1523
1523
  isPrimary: boolean;
1524
1524
  id?: string | undefined;
1525
- description?: string | undefined;
1525
+ description?: string | null | undefined;
1526
1526
  }, {
1527
1527
  phoneNumber: string;
1528
1528
  id?: string | undefined;
1529
- description?: string | undefined;
1529
+ description?: string | null | undefined;
1530
1530
  isPrimary?: boolean | undefined;
1531
1531
  }>, "many">>>;
1532
1532
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1638,7 +1638,7 @@ export declare const workersContractRouter: {
1638
1638
  phoneNumber: string;
1639
1639
  isPrimary: boolean;
1640
1640
  id?: string | undefined;
1641
- description?: string | undefined;
1641
+ description?: string | null | undefined;
1642
1642
  }[];
1643
1643
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
1644
1644
  hasTools: boolean;
@@ -1699,7 +1699,7 @@ export declare const workersContractRouter: {
1699
1699
  phoneNumbers?: {
1700
1700
  phoneNumber: string;
1701
1701
  id?: string | undefined;
1702
- description?: string | undefined;
1702
+ description?: string | null | undefined;
1703
1703
  isPrimary?: boolean | undefined;
1704
1704
  }[] | undefined;
1705
1705
  nino?: string | null | undefined;
@@ -1976,17 +1976,17 @@ export declare const workersContractRouter: {
1976
1976
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1977
1977
  id: z.ZodOptional<z.ZodString>;
1978
1978
  phoneNumber: z.ZodString;
1979
- description: z.ZodOptional<z.ZodString>;
1979
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1980
1980
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
1982
  phoneNumber: string;
1983
1983
  isPrimary: boolean;
1984
1984
  id?: string | undefined;
1985
- description?: string | undefined;
1985
+ description?: string | null | undefined;
1986
1986
  }, {
1987
1987
  phoneNumber: string;
1988
1988
  id?: string | undefined;
1989
- description?: string | undefined;
1989
+ description?: string | null | undefined;
1990
1990
  isPrimary?: boolean | undefined;
1991
1991
  }>, "many">>>;
1992
1992
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2098,7 +2098,7 @@ export declare const workersContractRouter: {
2098
2098
  phoneNumber: string;
2099
2099
  isPrimary: boolean;
2100
2100
  id?: string | undefined;
2101
- description?: string | undefined;
2101
+ description?: string | null | undefined;
2102
2102
  }[];
2103
2103
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2104
2104
  hasTools: boolean;
@@ -2159,7 +2159,7 @@ export declare const workersContractRouter: {
2159
2159
  phoneNumbers?: {
2160
2160
  phoneNumber: string;
2161
2161
  id?: string | undefined;
2162
- description?: string | undefined;
2162
+ description?: string | null | undefined;
2163
2163
  isPrimary?: boolean | undefined;
2164
2164
  }[] | undefined;
2165
2165
  nino?: string | null | undefined;
@@ -2218,7 +2218,7 @@ export declare const workersContractRouter: {
2218
2218
  phoneNumber: string;
2219
2219
  isPrimary: boolean;
2220
2220
  id?: string | undefined;
2221
- description?: string | undefined;
2221
+ description?: string | null | undefined;
2222
2222
  }[];
2223
2223
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2224
2224
  hasTools: boolean;
@@ -2286,7 +2286,7 @@ export declare const workersContractRouter: {
2286
2286
  phoneNumbers?: {
2287
2287
  phoneNumber: string;
2288
2288
  id?: string | undefined;
2289
- description?: string | undefined;
2289
+ description?: string | null | undefined;
2290
2290
  isPrimary?: boolean | undefined;
2291
2291
  }[] | undefined;
2292
2292
  nino?: string | null | undefined;
@@ -2463,17 +2463,17 @@ export declare const workersContractRouter: {
2463
2463
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2464
2464
  id: z.ZodOptional<z.ZodString>;
2465
2465
  phoneNumber: z.ZodString;
2466
- description: z.ZodOptional<z.ZodString>;
2466
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2467
2467
  isPrimary: z.ZodDefault<z.ZodBoolean>;
2468
2468
  }, "strip", z.ZodTypeAny, {
2469
2469
  phoneNumber: string;
2470
2470
  isPrimary: boolean;
2471
2471
  id?: string | undefined;
2472
- description?: string | undefined;
2472
+ description?: string | null | undefined;
2473
2473
  }, {
2474
2474
  phoneNumber: string;
2475
2475
  id?: string | undefined;
2476
- description?: string | undefined;
2476
+ description?: string | null | undefined;
2477
2477
  isPrimary?: boolean | undefined;
2478
2478
  }>, "many">>>;
2479
2479
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2585,7 +2585,7 @@ export declare const workersContractRouter: {
2585
2585
  phoneNumber: string;
2586
2586
  isPrimary: boolean;
2587
2587
  id?: string | undefined;
2588
- description?: string | undefined;
2588
+ description?: string | null | undefined;
2589
2589
  }[];
2590
2590
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
2591
2591
  hasTools: boolean;
@@ -2646,7 +2646,7 @@ export declare const workersContractRouter: {
2646
2646
  phoneNumbers?: {
2647
2647
  phoneNumber: string;
2648
2648
  id?: string | undefined;
2649
- description?: string | undefined;
2649
+ description?: string | null | undefined;
2650
2650
  isPrimary?: boolean | undefined;
2651
2651
  }[] | undefined;
2652
2652
  nino?: string | null | undefined;
@@ -3038,17 +3038,17 @@ export declare const workersContractRouter: {
3038
3038
  phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3039
3039
  id: z.ZodOptional<z.ZodString>;
3040
3040
  phoneNumber: z.ZodString;
3041
- description: z.ZodOptional<z.ZodString>;
3041
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
3042
  isPrimary: z.ZodDefault<z.ZodBoolean>;
3043
3043
  }, "strip", z.ZodTypeAny, {
3044
3044
  phoneNumber: string;
3045
3045
  isPrimary: boolean;
3046
3046
  id?: string | undefined;
3047
- description?: string | undefined;
3047
+ description?: string | null | undefined;
3048
3048
  }, {
3049
3049
  phoneNumber: string;
3050
3050
  id?: string | undefined;
3051
- description?: string | undefined;
3051
+ description?: string | null | undefined;
3052
3052
  isPrimary?: boolean | undefined;
3053
3053
  }>, "many">>>;
3054
3054
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3160,7 +3160,7 @@ export declare const workersContractRouter: {
3160
3160
  phoneNumber: string;
3161
3161
  isPrimary: boolean;
3162
3162
  id?: string | undefined;
3163
- description?: string | undefined;
3163
+ description?: string | null | undefined;
3164
3164
  }[];
3165
3165
  availability: "AVAILABLE" | "PARTIALLY_AVAILABLE" | "UNAVAILABLE";
3166
3166
  hasTools: boolean;
@@ -3221,7 +3221,7 @@ export declare const workersContractRouter: {
3221
3221
  phoneNumbers?: {
3222
3222
  phoneNumber: string;
3223
3223
  id?: string | undefined;
3224
- description?: string | undefined;
3224
+ description?: string | null | undefined;
3225
3225
  isPrimary?: boolean | undefined;
3226
3226
  }[] | undefined;
3227
3227
  nino?: string | null | undefined;
@@ -29,7 +29,7 @@ exports.WorkerPhoneNumberSchema = zod_1.z
29
29
  .object({
30
30
  id: zod_1.z.string().uuid().optional(),
31
31
  phoneNumber: zod_1.z.string(),
32
- description: zod_1.z.string().optional(),
32
+ description: zod_1.z.string().nullable().optional(),
33
33
  isPrimary: zod_1.z.boolean().default(false),
34
34
  })
35
35
  .openapi({ title: 'WorkerPhoneNumber' });
@@ -66,7 +66,7 @@ exports.WorkerTradeSchema = zod_1.z
66
66
  .openapi({ title: 'WorkerTrade' });
67
67
  exports.CreateWorkerTradeSchema = zod_1.z
68
68
  .object({
69
- tradeId: zod_1.z.string().uuid(),
69
+ tradeId: zod_1.z.string().uuid({ message: 'Trade must be selected' }),
70
70
  mainTrade: zod_1.z.boolean().default(false),
71
71
  })
72
72
  .openapi({ title: 'CreateWorkerTrade' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dakkitor/api-contracts",
3
- "version": "1.1.70",
3
+ "version": "1.1.72",
4
4
  "description": "TypeScript API contracts using ts-rest and Zod",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",