hububb-saas-shared 1.0.96 → 1.0.98

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.
@@ -233,6 +233,16 @@ export declare const updatePropertySchema: z.ZodObject<{
233
233
  thumbnailUrl: string;
234
234
  sortOrder: number;
235
235
  }>, "many">>;
236
+ room: z.ZodOptional<z.ZodObject<{
237
+ id: z.ZodNumber;
238
+ title: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ id: number;
241
+ title: string;
242
+ }, {
243
+ id: number;
244
+ title: string;
245
+ }>>;
236
246
  }, "strip", z.ZodTypeAny, {
237
247
  address?: {
238
248
  state?: string | undefined;
@@ -289,6 +299,10 @@ export declare const updatePropertySchema: z.ZodObject<{
289
299
  thumbnailUrl: string;
290
300
  sortOrder: number;
291
301
  }[] | undefined;
302
+ room?: {
303
+ id: number;
304
+ title: string;
305
+ } | undefined;
292
306
  }, {
293
307
  address?: {
294
308
  state?: string | undefined;
@@ -345,4 +359,8 @@ export declare const updatePropertySchema: z.ZodObject<{
345
359
  thumbnailUrl: string;
346
360
  sortOrder: number;
347
361
  }[] | undefined;
362
+ room?: {
363
+ id: number;
364
+ title: string;
365
+ } | undefined;
348
366
  }>;
@@ -97,4 +97,8 @@ exports.updatePropertySchema = (0, zod_1.object)({
97
97
  caption: (0, zod_1.string)(),
98
98
  }))
99
99
  .optional(),
100
+ room: (0, zod_1.object)({
101
+ id: (0, zod_1.number)(),
102
+ title: (0, zod_1.string)(),
103
+ }).optional(),
100
104
  });
@@ -12,6 +12,8 @@ export declare const serviceSchema: import("zod").ZodObject<{
12
12
  rating: import("zod").ZodNumber;
13
13
  stripePriceId: import("zod").ZodOptional<import("zod").ZodString>;
14
14
  priceType: import("zod").ZodNativeEnum<typeof PriceType>;
15
+ departmentId: import("zod").ZodOptional<import("zod").ZodNumber>;
16
+ subdepartmentId: import("zod").ZodOptional<import("zod").ZodNumber>;
15
17
  }, "strip", import("zod").ZodTypeAny, {
16
18
  name: string;
17
19
  type: ServiceType;
@@ -25,6 +27,8 @@ export declare const serviceSchema: import("zod").ZodObject<{
25
27
  rating: number;
26
28
  priceType: PriceType;
27
29
  stripePriceId?: string | undefined;
30
+ departmentId?: number | undefined;
31
+ subdepartmentId?: number | undefined;
28
32
  }, {
29
33
  name: string;
30
34
  type: ServiceType;
@@ -38,4 +42,6 @@ export declare const serviceSchema: import("zod").ZodObject<{
38
42
  rating: number;
39
43
  priceType: PriceType;
40
44
  stripePriceId?: string | undefined;
45
+ departmentId?: number | undefined;
46
+ subdepartmentId?: number | undefined;
41
47
  }>;
@@ -16,4 +16,6 @@ exports.serviceSchema = (0, zod_1.object)({
16
16
  rating: (0, zod_1.number)(),
17
17
  stripePriceId: (0, zod_1.string)().optional(),
18
18
  priceType: (0, zod_1.nativeEnum)(enums_1.PriceType),
19
+ departmentId: (0, zod_1.number)().int().optional(),
20
+ subdepartmentId: (0, zod_1.number)().int().optional(),
19
21
  });
@@ -18,10 +18,10 @@ export declare const taskSchema: import("zod").ZodObject<{
18
18
  status: TaskStatus;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
- propertyId: number;
22
- dueDate: Date;
23
21
  departmentId: number;
24
22
  subdepartmentId: number;
23
+ propertyId: number;
24
+ dueDate: Date;
25
25
  description?: string | undefined;
26
26
  }, {
27
27
  id: number;
@@ -30,9 +30,9 @@ export declare const taskSchema: import("zod").ZodObject<{
30
30
  status: TaskStatus;
31
31
  createdAt: Date;
32
32
  updatedAt: Date;
33
- propertyId: number;
34
- dueDate: Date;
35
33
  departmentId: number;
36
34
  subdepartmentId: number;
35
+ propertyId: number;
36
+ dueDate: Date;
37
37
  description?: string | undefined;
38
38
  }>;
@@ -18,9 +18,9 @@ export declare const taskAutomationSchema: import("zod").ZodObject<{
18
18
  title: string;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
- propertyId: number;
22
21
  departmentId: number;
23
22
  subdepartmentId: number;
23
+ propertyId: number;
24
24
  isActive: boolean;
25
25
  timeOffsetMinutes: number;
26
26
  eventId: number;
@@ -31,9 +31,9 @@ export declare const taskAutomationSchema: import("zod").ZodObject<{
31
31
  title: string;
32
32
  createdAt: Date;
33
33
  updatedAt: Date;
34
- propertyId: number;
35
34
  departmentId: number;
36
35
  subdepartmentId: number;
36
+ propertyId: number;
37
37
  timeOffsetMinutes: number;
38
38
  eventId: number;
39
39
  description?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.0.96",
4
+ "version": "1.0.98",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",