@superbright/indexeddb-orm 1.0.56 → 1.0.58
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.
- package/dist/api/api.generated.d.ts +1034 -361
- package/dist/api/embed-schemas.generated.cjs +1 -1
- package/dist/api/embed-schemas.generated.cjs.map +1 -1
- package/dist/api/embed-schemas.generated.d.ts +148 -160
- package/dist/api/embed-schemas.generated.mjs +49 -50
- package/dist/api/embed-schemas.generated.mjs.map +1 -1
- package/dist/api/schemas.generated.cjs +1 -1
- package/dist/api/schemas.generated.cjs.map +1 -1
- package/dist/api/schemas.generated.d.ts +7716 -1549
- package/dist/api/schemas.generated.mjs +411 -220
- package/dist/api/schemas.generated.mjs.map +1 -1
- package/dist/base/amenityimagesonproperty.cjs +1 -1
- package/dist/base/amenityimagesonproperty.cjs.map +1 -1
- package/dist/base/amenityimagesonproperty.d.ts +6 -6
- package/dist/base/amenityimagesonproperty.mjs +2 -2
- package/dist/base/amenityimagesonproperty.mjs.map +1 -1
- package/dist/base/enums.cjs +1 -1
- package/dist/base/enums.cjs.map +1 -1
- package/dist/base/enums.d.ts +4 -0
- package/dist/base/enums.mjs +8 -7
- package/dist/base/enums.mjs.map +1 -1
- package/dist/base/floorplan.cjs +1 -1
- package/dist/base/floorplan.cjs.map +1 -1
- package/dist/base/floorplan.d.ts +15 -15
- package/dist/base/floorplan.mjs +8 -8
- package/dist/base/floorplan.mjs.map +1 -1
- package/dist/base/media.cjs.map +1 -1
- package/dist/base/media.mjs.map +1 -1
- package/dist/base/overviewimagesonproperty.cjs.map +1 -1
- package/dist/base/overviewimagesonproperty.mjs.map +1 -1
- package/dist/base/property.cjs +1 -1
- package/dist/base/property.cjs.map +1 -1
- package/dist/base/property.d.ts +12 -12
- package/dist/base/property.mjs +8 -8
- package/dist/base/property.mjs.map +1 -1
- package/dist/base/propertyamenity.cjs +1 -1
- package/dist/base/propertyamenity.cjs.map +1 -1
- package/dist/base/propertyamenity.d.ts +3 -3
- package/dist/base/propertyamenity.mjs +3 -3
- package/dist/base/propertyamenity.mjs.map +1 -1
- package/dist/base/propertyhighlight.cjs +1 -1
- package/dist/base/propertyhighlight.cjs.map +1 -1
- package/dist/base/propertyhighlight.d.ts +3 -3
- package/dist/base/propertyhighlight.mjs +1 -1
- package/dist/base/propertyhighlight.mjs.map +1 -1
- package/dist/base/propertylink.cjs +1 -1
- package/dist/base/propertylink.cjs.map +1 -1
- package/dist/base/propertylink.d.ts +12 -12
- package/dist/base/propertylink.mjs +4 -4
- package/dist/base/propertylink.mjs.map +1 -1
- package/dist/base/renderedstyle.cjs +1 -1
- package/dist/base/renderedstyle.cjs.map +1 -1
- package/dist/base/renderedstyle.d.ts +12 -12
- package/dist/base/renderedstyle.mjs +7 -7
- package/dist/base/renderedstyle.mjs.map +1 -1
- package/dist/base/room.cjs +1 -1
- package/dist/base/room.cjs.map +1 -1
- package/dist/base/room.d.ts +3 -3
- package/dist/base/room.mjs +1 -1
- package/dist/base/room.mjs.map +1 -1
- package/dist/base/style.cjs +1 -1
- package/dist/base/style.cjs.map +1 -1
- package/dist/base/style.d.ts +3 -3
- package/dist/base/style.mjs +5 -5
- package/dist/base/style.mjs.map +1 -1
- package/dist/base/unit.cjs +1 -1
- package/dist/base/unit.cjs.map +1 -1
- package/dist/base/unit.d.ts +21 -21
- package/dist/base/unit.mjs +16 -16
- package/dist/base/unit.mjs.map +1 -1
- package/dist/base/userinquiry.d.ts +19 -15
- package/dist/base/visitor.d.ts +9 -9
- package/dist/base/visitorfilter.d.ts +12 -9
- package/dist/base/visitorquestionnaire.d.ts +9 -9
- package/dist/base/visitorunitengagement.d.ts +15 -15
- package/dist/features/analytics/analytics.d.ts +108 -108
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +38 -37
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs +1 -1
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs.map +1 -1
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs +103 -104
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs.map +1 -1
- package/dist/schema.d.ts +16 -16
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.mjs +61 -34
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyhighlight.cjs","sources":["../../src/base/propertyhighlight.ts"],"sourcesContent":["\nimport { z } from \"zod\";\n\
|
|
1
|
+
{"version":3,"file":"propertyhighlight.cjs","sources":["../../src/base/propertyhighlight.ts"],"sourcesContent":["\nimport { z } from \"zod\";\n\nexport const PropertyHighlightModel = z.object({\n id: z.number().int(),\n title: z.string(),\n property_id: z.number().int(),\n})"],"names":["PropertyHighlightModel","z.object","z.number","z.string"],"mappings":"mKAGaA,EAAyBC,EAAAA,OAAS,CAC7C,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,MAAOC,EAAAA,OAAE,EACT,YAAaD,EAAAA,OAAE,EAAS,IAAA,CAC1B,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const PropertyHighlightModel: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
4
|
title: z.ZodString;
|
|
5
|
-
|
|
5
|
+
property_id: z.ZodNumber;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
id: number;
|
|
8
|
-
|
|
8
|
+
property_id: number;
|
|
9
9
|
title: string;
|
|
10
10
|
}, {
|
|
11
11
|
id: number;
|
|
12
|
-
|
|
12
|
+
property_id: number;
|
|
13
13
|
title: string;
|
|
14
14
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyhighlight.mjs","sources":["../../src/base/propertyhighlight.ts"],"sourcesContent":["\nimport { z } from \"zod\";\n\
|
|
1
|
+
{"version":3,"file":"propertyhighlight.mjs","sources":["../../src/base/propertyhighlight.ts"],"sourcesContent":["\nimport { z } from \"zod\";\n\nexport const PropertyHighlightModel = z.object({\n id: z.number().int(),\n title: z.string(),\n property_id: z.number().int(),\n})"],"names":["PropertyHighlightModel","z.object","z.number","z.string"],"mappings":";AAGO,MAAMA,IAAyBC,EAAS;AAAA,EAC7C,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,OAAOC,EAAE;AAAA,EACT,aAAaD,EAAE,EAAS,IAAA;AAC1B,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),t=e.object({id:e.number().int(),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),t=e.object({id:e.number().int(),created_at:e.date(),updated_at:e.date(),property_id:e.number().int(),linked_property_id:e.number().int(),order:e.number().int()});exports.PropertyLinkModel=t;
|
|
2
2
|
//# sourceMappingURL=propertylink.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertylink.cjs","sources":["../../src/base/propertylink.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const PropertyLinkModel = z.object({\n id: z.number().int(),\n
|
|
1
|
+
{"version":3,"file":"propertylink.cjs","sources":["../../src/base/propertylink.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const PropertyLinkModel = z.object({\n id: z.number().int(),\n created_at: z.date(),\n updated_at: z.date(),\n property_id: z.number().int(),\n linked_property_id: z.number().int(),\n order: z.number().int(),\n})\n"],"names":["PropertyLinkModel","z.object","z.number","z.date"],"mappings":"mKAEaA,EAAoBC,EAAAA,OAAS,CACxC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,WAAYC,EAAAA,KAAE,EACd,WAAYA,EAAAA,KAAE,EACd,YAAaD,EAAAA,OAAE,EAAS,IAAA,EACxB,mBAAoBA,EAAAA,OAAE,EAAS,IAAA,EAC/B,MAAOA,EAAAA,OAAE,EAAS,IAAA,CACpB,CAAC"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PropertyLinkModel: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
created_at: z.ZodDate;
|
|
5
|
+
updated_at: z.ZodDate;
|
|
6
|
+
property_id: z.ZodNumber;
|
|
7
|
+
linked_property_id: z.ZodNumber;
|
|
8
8
|
order: z.ZodNumber;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: number;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
property_id: number;
|
|
12
|
+
created_at: Date;
|
|
13
|
+
updated_at: Date;
|
|
14
14
|
order: number;
|
|
15
|
-
|
|
15
|
+
linked_property_id: number;
|
|
16
16
|
}, {
|
|
17
17
|
id: number;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
property_id: number;
|
|
19
|
+
created_at: Date;
|
|
20
|
+
updated_at: Date;
|
|
21
21
|
order: number;
|
|
22
|
-
|
|
22
|
+
linked_property_id: number;
|
|
23
23
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { object as r, number as e, date as t } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs";
|
|
2
2
|
const o = r({
|
|
3
3
|
id: e().int(),
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
created_at: t(),
|
|
5
|
+
updated_at: t(),
|
|
6
|
+
property_id: e().int(),
|
|
7
|
+
linked_property_id: e().int(),
|
|
8
8
|
order: e().int()
|
|
9
9
|
});
|
|
10
10
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertylink.mjs","sources":["../../src/base/propertylink.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const PropertyLinkModel = z.object({\n id: z.number().int(),\n
|
|
1
|
+
{"version":3,"file":"propertylink.mjs","sources":["../../src/base/propertylink.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const PropertyLinkModel = z.object({\n id: z.number().int(),\n created_at: z.date(),\n updated_at: z.date(),\n property_id: z.number().int(),\n linked_property_id: z.number().int(),\n order: z.number().int(),\n})\n"],"names":["PropertyLinkModel","z.object","z.number","z.date"],"mappings":";AAEO,MAAMA,IAAoBC,EAAS;AAAA,EACxC,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,YAAYC,EAAE;AAAA,EACd,YAAYA,EAAE;AAAA,EACd,aAAaD,EAAE,EAAS,IAAA;AAAA,EACxB,oBAAoBA,EAAE,EAAS,IAAA;AAAA,EAC/B,OAAOA,EAAE,EAAS,IAAA;AACpB,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),unit_id:e.number().int().nullish(),style_id:e.number().int(),floor_plan_id:e.number().int().nullish(),visible_on_website:e.boolean()});exports.RenderedStyleModel=n;
|
|
2
2
|
//# sourceMappingURL=renderedstyle.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderedstyle.cjs","sources":["../../src/base/renderedstyle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RenderedStyleModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"renderedstyle.cjs","sources":["../../src/base/renderedstyle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RenderedStyleModel = z.object({\n id: z.number().int(),\n unit_id: z.number().int().nullish(),\n style_id: z.number().int(),\n floor_plan_id: z.number().int().nullish(),\n visible_on_website: z.boolean(),\n})"],"names":["RenderedStyleModel","z.object","z.number","z.boolean"],"mappings":"mKAEaA,EAAqBC,EAAAA,OAAS,CACzC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,QAASA,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,EAC1B,SAAUA,EAAAA,OAAE,EAAS,IAAA,EACrB,cAAeA,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,EAChC,mBAAoBC,EAAAA,QAAE,CACxB,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const RenderedStyleModel: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
style_id: z.ZodNumber;
|
|
6
|
+
floor_plan_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
|
+
visible_on_website: z.ZodBoolean;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
style_id: number;
|
|
11
|
+
visible_on_website: boolean;
|
|
12
|
+
unit_id?: number | null | undefined;
|
|
13
|
+
floor_plan_id?: number | null | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
id: number;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
style_id: number;
|
|
17
|
+
visible_on_website: boolean;
|
|
18
|
+
unit_id?: number | null | undefined;
|
|
19
|
+
floor_plan_id?: number | null | undefined;
|
|
20
20
|
}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { object as
|
|
2
|
-
const
|
|
1
|
+
import { object as i, boolean as n, number as e } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs";
|
|
2
|
+
const t = i({
|
|
3
3
|
id: e().int(),
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
unit_id: e().int().nullish(),
|
|
5
|
+
style_id: e().int(),
|
|
6
|
+
floor_plan_id: e().int().nullish(),
|
|
7
|
+
visible_on_website: n()
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
t as RenderedStyleModel
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=renderedstyle.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderedstyle.mjs","sources":["../../src/base/renderedstyle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RenderedStyleModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"renderedstyle.mjs","sources":["../../src/base/renderedstyle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RenderedStyleModel = z.object({\n id: z.number().int(),\n unit_id: z.number().int().nullish(),\n style_id: z.number().int(),\n floor_plan_id: z.number().int().nullish(),\n visible_on_website: z.boolean(),\n})"],"names":["RenderedStyleModel","z.object","z.number","z.boolean"],"mappings":";AAEO,MAAMA,IAAqBC,EAAS;AAAA,EACzC,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,SAASA,EAAE,EAAS,IAAA,EAAM,QAAA;AAAA,EAC1B,UAAUA,EAAE,EAAS,IAAA;AAAA,EACrB,eAAeA,EAAE,EAAS,IAAA,EAAM,QAAA;AAAA,EAChC,oBAAoBC,EAAE;AACxB,CAAC;"}
|
package/dist/base/room.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),name:e.string(),cameras:e.number().int().nullish(),order:e.number().int(),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),name:e.string(),cameras:e.number().int().nullish(),order:e.number().int(),floor_plan_id:e.number().int()});exports.RoomModel=n;
|
|
2
2
|
//# sourceMappingURL=room.cjs.map
|
package/dist/base/room.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"room.cjs","sources":["../../src/base/room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RoomModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"room.cjs","sources":["../../src/base/room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RoomModel = z.object({\n id: z.number().int(),\n name: z.string(),\n cameras: z.number().int().nullish(),\n order: z.number().int(),\n floor_plan_id: z.number().int(),\n})"],"names":["RoomModel","z.object","z.number","z.string"],"mappings":"mKAEaA,EAAYC,EAAAA,OAAS,CAChC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMC,EAAAA,OAAE,EACR,QAASD,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,EAC1B,MAAOA,EAAAA,OAAE,EAAS,IAAA,EAClB,cAAeA,EAAAA,OAAE,EAAS,IAAA,CAC5B,CAAC"}
|
package/dist/base/room.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ export declare const RoomModel: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
cameras: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
6
|
order: z.ZodNumber;
|
|
7
|
-
|
|
7
|
+
floor_plan_id: z.ZodNumber;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
name: string;
|
|
10
10
|
id: number;
|
|
11
|
-
floorPlanId: number;
|
|
12
11
|
order: number;
|
|
12
|
+
floor_plan_id: number;
|
|
13
13
|
cameras?: number | null | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
name: string;
|
|
16
16
|
id: number;
|
|
17
|
-
floorPlanId: number;
|
|
18
17
|
order: number;
|
|
18
|
+
floor_plan_id: number;
|
|
19
19
|
cameras?: number | null | undefined;
|
|
20
20
|
}>;
|
package/dist/base/room.mjs
CHANGED
package/dist/base/room.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"room.mjs","sources":["../../src/base/room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RoomModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"room.mjs","sources":["../../src/base/room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const RoomModel = z.object({\n id: z.number().int(),\n name: z.string(),\n cameras: z.number().int().nullish(),\n order: z.number().int(),\n floor_plan_id: z.number().int(),\n})"],"names":["RoomModel","z.object","z.number","z.string"],"mappings":";AAEO,MAAMA,IAAYC,EAAS;AAAA,EAChC,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,MAAMC,EAAE;AAAA,EACR,SAASD,EAAE,EAAS,IAAA,EAAM,QAAA;AAAA,EAC1B,OAAOA,EAAE,EAAS,IAAA;AAAA,EAClB,eAAeA,EAAE,EAAS,IAAA;AAC5B,CAAC;"}
|
package/dist/base/style.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),t=e.object({id:e.number().int(),name:e.string(),description:e.string(),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),t=e.object({id:e.number().int(),name:e.string(),description:e.string(),media_id:e.number().int().nullish()});exports.StyleModel=t;
|
|
2
2
|
//# sourceMappingURL=style.cjs.map
|
package/dist/base/style.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.cjs","sources":["../../src/base/style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const StyleModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"style.cjs","sources":["../../src/base/style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const StyleModel = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n media_id: z.number().int().nullish(),\n})"],"names":["StyleModel","z.object","z.number","z.string"],"mappings":"mKAEaA,EAAaC,EAAAA,OAAS,CACjC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMC,EAAAA,OAAE,EACR,YAAaA,EAAAA,OAAE,EACf,SAAUD,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,CAC7B,CAAC"}
|
package/dist/base/style.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ export declare const StyleModel: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodNumber;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
description: z.ZodString;
|
|
6
|
-
|
|
6
|
+
media_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
name: string;
|
|
9
9
|
id: number;
|
|
10
10
|
description: string;
|
|
11
|
-
|
|
11
|
+
media_id?: number | null | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
name: string;
|
|
14
14
|
id: number;
|
|
15
15
|
description: string;
|
|
16
|
-
|
|
16
|
+
media_id?: number | null | undefined;
|
|
17
17
|
}>;
|
package/dist/base/style.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { object as
|
|
2
|
-
const o =
|
|
1
|
+
import { object as t, number as e, string as i } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs";
|
|
2
|
+
const o = t({
|
|
3
3
|
id: e().int(),
|
|
4
|
-
name:
|
|
5
|
-
description:
|
|
6
|
-
|
|
4
|
+
name: i(),
|
|
5
|
+
description: i(),
|
|
6
|
+
media_id: e().int().nullish()
|
|
7
7
|
});
|
|
8
8
|
export {
|
|
9
9
|
o as StyleModel
|
package/dist/base/style.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","sources":["../../src/base/style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const StyleModel = z.object({\n
|
|
1
|
+
{"version":3,"file":"style.mjs","sources":["../../src/base/style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const StyleModel = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n media_id: z.number().int().nullish(),\n})"],"names":["StyleModel","z.object","z.number","z.string"],"mappings":";AAEO,MAAMA,IAAaC,EAAS;AAAA,EACjC,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,MAAMC,EAAE;AAAA,EACR,aAAaA,EAAE;AAAA,EACf,UAAUD,EAAE,EAAS,IAAA,EAAM,QAAA;AAC7B,CAAC;"}
|
package/dist/base/unit.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./enums.cjs"),e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),name:e.string(),slug:e.string().nullish(),qty_bedrooms:e.number().int(),qty_bathrooms:e.number(),base_price:e.number(),dim_sq_ft:e.number().int(),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./enums.cjs"),e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),n=e.object({id:e.number().int(),name:e.string(),slug:e.string().nullish(),qty_bedrooms:e.number().int(),qty_bathrooms:e.number(),base_price:e.number(),dim_sq_ft:e.number().int(),property_id:e.number().int(),is_available:e.boolean(),created_at:e.date(),updated_at:e.date(),date_availability:e.date().nullish(),unit_set_available_on:e.date().nullish(),floor_plan_id:e.number().int().nullish(),user_id:e.number().int(),status:e.nativeEnum(t.Status),external_id:e.string().nullish(),video_thumbnail_id:e.number().int().nullish()});exports.UnitModel=n;
|
|
2
2
|
//# sourceMappingURL=unit.cjs.map
|
package/dist/base/unit.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit.cjs","sources":["../../src/base/unit.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { Status } from \"./enums\";\n\nexport const UnitModel = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().nullish(),\n qty_bedrooms: z.number().int(),\n qty_bathrooms: z.number(),\n base_price: z.number(),\n dim_sq_ft: z.number().int(),\n
|
|
1
|
+
{"version":3,"file":"unit.cjs","sources":["../../src/base/unit.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { Status } from \"./enums\";\n\nexport const UnitModel = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().nullish(),\n qty_bedrooms: z.number().int(),\n qty_bathrooms: z.number(),\n base_price: z.number(),\n dim_sq_ft: z.number().int(),\n property_id: z.number().int(),\n is_available: z.boolean(),\n created_at: z.date(),\n updated_at: z.date(),\n date_availability: z.date().nullish(),\n unit_set_available_on: z.date().nullish(),\n floor_plan_id: z.number().int().nullish(),\n user_id: z.number().int(),\n status: z.nativeEnum(Status),\n external_id: z.string().nullish(),\n video_thumbnail_id: z.number().int().nullish(),\n})"],"names":["UnitModel","z.object","z.number","z.string","z.boolean","z.date","z.nativeEnum","Status"],"mappings":"4LAGaA,EAAYC,EAAAA,OAAS,CAChC,GAAIC,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMC,EAAAA,OAAE,EACR,KAAMA,EAAAA,OAAE,EAAS,QAAA,EACjB,aAAcD,EAAAA,OAAE,EAAS,IAAA,EACzB,cAAeA,EAAAA,OAAE,EACjB,WAAYA,EAAAA,OAAE,EACd,UAAWA,EAAAA,OAAE,EAAS,IAAA,EACtB,YAAaA,EAAAA,OAAE,EAAS,IAAA,EACxB,aAAcE,EAAAA,QAAE,EAChB,WAAYC,EAAAA,KAAE,EACd,WAAYA,EAAAA,KAAE,EACd,kBAAmBA,EAAAA,KAAE,EAAO,QAAA,EAC5B,sBAAuBA,EAAAA,KAAE,EAAO,QAAA,EAChC,cAAeH,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,EAChC,QAASA,EAAAA,OAAE,EAAS,IAAA,EACpB,OAAQI,EAAAA,WAAaC,QAAM,EAC3B,YAAaJ,EAAAA,OAAE,EAAS,QAAA,EACxB,mBAAoBD,EAAAA,OAAE,EAAS,IAAA,EAAM,QAAA,CACvC,CAAC"}
|
package/dist/base/unit.d.ts
CHANGED
|
@@ -8,53 +8,53 @@ export declare const UnitModel: z.ZodObject<{
|
|
|
8
8
|
qty_bathrooms: z.ZodNumber;
|
|
9
9
|
base_price: z.ZodNumber;
|
|
10
10
|
dim_sq_ft: z.ZodNumber;
|
|
11
|
-
|
|
11
|
+
property_id: z.ZodNumber;
|
|
12
12
|
is_available: z.ZodBoolean;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
created_at: z.ZodDate;
|
|
14
|
+
updated_at: z.ZodDate;
|
|
15
15
|
date_availability: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
unit_set_available_on: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
17
|
+
floor_plan_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
user_id: z.ZodNumber;
|
|
19
19
|
status: z.ZodNativeEnum<typeof Status>;
|
|
20
20
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
|
|
21
|
+
video_thumbnail_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
name: string;
|
|
24
24
|
status: Status;
|
|
25
25
|
id: number;
|
|
26
|
+
property_id: number;
|
|
27
|
+
created_at: Date;
|
|
28
|
+
updated_at: Date;
|
|
29
|
+
user_id: number;
|
|
26
30
|
base_price: number;
|
|
27
31
|
qty_bedrooms: number;
|
|
28
32
|
qty_bathrooms: number;
|
|
29
33
|
dim_sq_ft: number;
|
|
30
|
-
createdAt: Date;
|
|
31
|
-
propertyId: number;
|
|
32
|
-
updatedAt: Date;
|
|
33
34
|
is_available: boolean;
|
|
34
|
-
userId: number;
|
|
35
35
|
slug?: string | null | undefined;
|
|
36
36
|
date_availability?: Date | null | undefined;
|
|
37
|
-
unitSetAvailableOn?: Date | null | undefined;
|
|
38
|
-
floorPlanId?: number | null | undefined;
|
|
39
37
|
external_id?: string | null | undefined;
|
|
40
|
-
|
|
38
|
+
floor_plan_id?: number | null | undefined;
|
|
39
|
+
unit_set_available_on?: Date | null | undefined;
|
|
40
|
+
video_thumbnail_id?: number | null | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
name: string;
|
|
43
43
|
status: Status;
|
|
44
44
|
id: number;
|
|
45
|
+
property_id: number;
|
|
46
|
+
created_at: Date;
|
|
47
|
+
updated_at: Date;
|
|
48
|
+
user_id: number;
|
|
45
49
|
base_price: number;
|
|
46
50
|
qty_bedrooms: number;
|
|
47
51
|
qty_bathrooms: number;
|
|
48
52
|
dim_sq_ft: number;
|
|
49
|
-
createdAt: Date;
|
|
50
|
-
propertyId: number;
|
|
51
|
-
updatedAt: Date;
|
|
52
53
|
is_available: boolean;
|
|
53
|
-
userId: number;
|
|
54
54
|
slug?: string | null | undefined;
|
|
55
55
|
date_availability?: Date | null | undefined;
|
|
56
|
-
unitSetAvailableOn?: Date | null | undefined;
|
|
57
|
-
floorPlanId?: number | null | undefined;
|
|
58
56
|
external_id?: string | null | undefined;
|
|
59
|
-
|
|
57
|
+
floor_plan_id?: number | null | undefined;
|
|
58
|
+
unit_set_available_on?: Date | null | undefined;
|
|
59
|
+
video_thumbnail_id?: number | null | undefined;
|
|
60
60
|
}>;
|
package/dist/base/unit.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Status as
|
|
2
|
-
import { object as n, number as t, string as
|
|
3
|
-
const
|
|
1
|
+
import { Status as e } from "./enums.mjs";
|
|
2
|
+
import { object as n, number as t, string as a, nativeEnum as l, date as i, boolean as s } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs";
|
|
3
|
+
const r = n({
|
|
4
4
|
id: t().int(),
|
|
5
|
-
name:
|
|
6
|
-
slug:
|
|
5
|
+
name: a(),
|
|
6
|
+
slug: a().nullish(),
|
|
7
7
|
qty_bedrooms: t().int(),
|
|
8
8
|
qty_bathrooms: t(),
|
|
9
9
|
base_price: t(),
|
|
10
10
|
dim_sq_ft: t().int(),
|
|
11
|
-
|
|
11
|
+
property_id: t().int(),
|
|
12
12
|
is_available: s(),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
date_availability:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
status: l(
|
|
20
|
-
external_id:
|
|
21
|
-
|
|
13
|
+
created_at: i(),
|
|
14
|
+
updated_at: i(),
|
|
15
|
+
date_availability: i().nullish(),
|
|
16
|
+
unit_set_available_on: i().nullish(),
|
|
17
|
+
floor_plan_id: t().int().nullish(),
|
|
18
|
+
user_id: t().int(),
|
|
19
|
+
status: l(e),
|
|
20
|
+
external_id: a().nullish(),
|
|
21
|
+
video_thumbnail_id: t().int().nullish()
|
|
22
22
|
});
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
r as UnitModel
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=unit.mjs.map
|
package/dist/base/unit.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit.mjs","sources":["../../src/base/unit.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { Status } from \"./enums\";\n\nexport const UnitModel = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().nullish(),\n qty_bedrooms: z.number().int(),\n qty_bathrooms: z.number(),\n base_price: z.number(),\n dim_sq_ft: z.number().int(),\n
|
|
1
|
+
{"version":3,"file":"unit.mjs","sources":["../../src/base/unit.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { Status } from \"./enums\";\n\nexport const UnitModel = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().nullish(),\n qty_bedrooms: z.number().int(),\n qty_bathrooms: z.number(),\n base_price: z.number(),\n dim_sq_ft: z.number().int(),\n property_id: z.number().int(),\n is_available: z.boolean(),\n created_at: z.date(),\n updated_at: z.date(),\n date_availability: z.date().nullish(),\n unit_set_available_on: z.date().nullish(),\n floor_plan_id: z.number().int().nullish(),\n user_id: z.number().int(),\n status: z.nativeEnum(Status),\n external_id: z.string().nullish(),\n video_thumbnail_id: z.number().int().nullish(),\n})"],"names":["UnitModel","z.object","z.number","z.string","z.boolean","z.date","z.nativeEnum","Status"],"mappings":";;AAGO,MAAMA,IAAYC,EAAS;AAAA,EAChC,IAAIC,EAAE,EAAS,IAAA;AAAA,EACf,MAAMC,EAAE;AAAA,EACR,MAAMA,EAAE,EAAS,QAAA;AAAA,EACjB,cAAcD,EAAE,EAAS,IAAA;AAAA,EACzB,eAAeA,EAAE;AAAA,EACjB,YAAYA,EAAE;AAAA,EACd,WAAWA,EAAE,EAAS,IAAA;AAAA,EACtB,aAAaA,EAAE,EAAS,IAAA;AAAA,EACxB,cAAcE,EAAE;AAAA,EAChB,YAAYC,EAAE;AAAA,EACd,YAAYA,EAAE;AAAA,EACd,mBAAmBA,EAAE,EAAO,QAAA;AAAA,EAC5B,uBAAuBA,EAAE,EAAO,QAAA;AAAA,EAChC,eAAeH,EAAE,EAAS,IAAA,EAAM,QAAA;AAAA,EAChC,SAASA,EAAE,EAAS,IAAA;AAAA,EACpB,QAAQI,EAAaC,CAAM;AAAA,EAC3B,aAAaJ,EAAE,EAAS,QAAA;AAAA,EACxB,oBAAoBD,EAAE,EAAS,IAAA,EAAM,QAAA;AACvC,CAAC;"}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
+
import { InquiryActionType } from './enums';
|
|
2
3
|
export declare const UserInquiryModel: z.ZodObject<{
|
|
3
4
|
id: z.ZodNumber;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
created_at: z.ZodDate;
|
|
6
|
+
scheduled_at: z.ZodDate;
|
|
7
|
+
action_type: z.ZodNativeEnum<typeof InquiryActionType>;
|
|
8
|
+
user_id: z.ZodNumber;
|
|
9
|
+
property_id: z.ZodNumber;
|
|
10
|
+
unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
11
|
}, "strip", z.ZodTypeAny, {
|
|
10
12
|
id: number;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
property_id: number;
|
|
14
|
+
created_at: Date;
|
|
15
|
+
user_id: number;
|
|
16
|
+
scheduled_at: Date;
|
|
17
|
+
action_type: InquiryActionType;
|
|
18
|
+
unit_id?: number | null | undefined;
|
|
16
19
|
}, {
|
|
17
20
|
id: number;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
property_id: number;
|
|
22
|
+
created_at: Date;
|
|
23
|
+
user_id: number;
|
|
24
|
+
scheduled_at: Date;
|
|
25
|
+
action_type: InquiryActionType;
|
|
26
|
+
unit_id?: number | null | undefined;
|
|
23
27
|
}>;
|
package/dist/base/visitor.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
export declare const VisitorModel: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
created_at: z.ZodDate;
|
|
6
|
+
last_seen_at: z.ZodDate;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
id: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
created_at: Date;
|
|
10
|
+
last_seen_at: Date;
|
|
11
|
+
user_id?: number | null | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
id: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
created_at: Date;
|
|
15
|
+
last_seen_at: Date;
|
|
16
|
+
user_id?: number | null | undefined;
|
|
17
17
|
}>;
|
|
@@ -5,21 +5,24 @@ type Json = Literal | {
|
|
|
5
5
|
} | Json[];
|
|
6
6
|
export declare const VisitorFilterModel: z.ZodObject<{
|
|
7
7
|
id: z.ZodNumber;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
visitor_id: z.ZodString;
|
|
9
|
+
property_id: z.ZodNumber;
|
|
10
10
|
filter: z.ZodType<Json, z.ZodTypeDef, Json>;
|
|
11
|
-
|
|
11
|
+
created_at: z.ZodDate;
|
|
12
|
+
updated_at: z.ZodDate;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
filter: Json;
|
|
14
15
|
id: number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
property_id: number;
|
|
17
|
+
created_at: Date;
|
|
18
|
+
updated_at: Date;
|
|
19
|
+
visitor_id: string;
|
|
18
20
|
}, {
|
|
19
21
|
filter: Json;
|
|
20
22
|
id: number;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
property_id: number;
|
|
24
|
+
created_at: Date;
|
|
25
|
+
updated_at: Date;
|
|
26
|
+
visitor_id: string;
|
|
24
27
|
}>;
|
|
25
28
|
export {};
|
|
@@ -5,21 +5,21 @@ type Json = Literal | {
|
|
|
5
5
|
} | Json[];
|
|
6
6
|
export declare const VisitorQuestionnaireModel: z.ZodObject<{
|
|
7
7
|
id: z.ZodNumber;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
visitor_id: z.ZodString;
|
|
9
|
+
property_id: z.ZodNumber;
|
|
10
10
|
data: z.ZodType<Json, z.ZodTypeDef, Json>;
|
|
11
|
-
|
|
11
|
+
created_at: z.ZodDate;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
id: number;
|
|
14
14
|
data: Json;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
property_id: number;
|
|
16
|
+
created_at: Date;
|
|
17
|
+
visitor_id: string;
|
|
18
18
|
}, {
|
|
19
19
|
id: number;
|
|
20
20
|
data: Json;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
property_id: number;
|
|
22
|
+
created_at: Date;
|
|
23
|
+
visitor_id: string;
|
|
24
24
|
}>;
|
|
25
25
|
export {};
|
|
@@ -2,23 +2,23 @@ import * as z from 'zod';
|
|
|
2
2
|
import { EngagementType } from './enums';
|
|
3
3
|
export declare const VisitorUnitEngagementModel: z.ZodObject<{
|
|
4
4
|
id: z.ZodNumber;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
visitor_id: z.ZodString;
|
|
6
|
+
property_id: z.ZodNumber;
|
|
7
|
+
unit_id: z.ZodNumber;
|
|
8
|
+
engagement_type: z.ZodNativeEnum<typeof EngagementType>;
|
|
9
|
+
created_at: z.ZodDate;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
id: number;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
property_id: number;
|
|
13
|
+
created_at: Date;
|
|
14
|
+
unit_id: number;
|
|
15
|
+
visitor_id: string;
|
|
16
|
+
engagement_type: EngagementType;
|
|
17
17
|
}, {
|
|
18
18
|
id: number;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
property_id: number;
|
|
20
|
+
created_at: Date;
|
|
21
|
+
unit_id: number;
|
|
22
|
+
visitor_id: string;
|
|
23
|
+
engagement_type: EngagementType;
|
|
24
24
|
}>;
|