hububb-saas-shared 1.0.66 → 1.0.67
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.
|
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
|
|
4
4
|
var ServiceType;
|
|
5
5
|
(function (ServiceType) {
|
|
6
|
-
ServiceType["
|
|
7
|
-
ServiceType["
|
|
8
|
-
ServiceType["RECURRING"] = "RECURRING";
|
|
6
|
+
ServiceType["ON_DEMAND"] = "FULL";
|
|
7
|
+
ServiceType["SUBSCRIPTION"] = "PRORATED";
|
|
9
8
|
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
10
9
|
var TaskStatus;
|
|
11
10
|
(function (TaskStatus) {
|
|
@@ -198,7 +198,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
198
198
|
latitude?: number | undefined;
|
|
199
199
|
longitude?: number | undefined;
|
|
200
200
|
}>>;
|
|
201
|
-
amenities: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
201
|
+
amenities: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
address?: {
|
|
204
204
|
state?: string | undefined;
|
|
@@ -246,7 +246,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
246
246
|
maximumNights?: number | undefined;
|
|
247
247
|
airbnbId?: string | undefined;
|
|
248
248
|
} | undefined;
|
|
249
|
-
amenities?: number[] | undefined;
|
|
249
|
+
amenities?: (string | number)[] | undefined;
|
|
250
250
|
}, {
|
|
251
251
|
address?: {
|
|
252
252
|
state?: string | undefined;
|
|
@@ -294,5 +294,5 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
294
294
|
maximumNights?: number | undefined;
|
|
295
295
|
airbnbId?: string | undefined;
|
|
296
296
|
} | undefined;
|
|
297
|
-
amenities?: number[] | undefined;
|
|
297
|
+
amenities?: (string | number)[] | undefined;
|
|
298
298
|
}>;
|
|
@@ -80,5 +80,5 @@ exports.updatePropertySchema = (0, zod_1.object)({
|
|
|
80
80
|
longitude: (0, zod_1.number)().int().optional(),
|
|
81
81
|
full: (0, zod_1.string)().optional(),
|
|
82
82
|
}).optional(),
|
|
83
|
-
amenities: (0, zod_1.number)().
|
|
83
|
+
amenities: zod_1.z.array(zod_1.z.union([(0, zod_1.number)(), (0, zod_1.string)()])).optional(),
|
|
84
84
|
});
|