hububb-models 1.0.100 → 1.0.102
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/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/models/apaleo/property.d.ts +3 -0
- package/dist/models/apaleo/property.js +2 -0
- package/dist/models/apaleo/unit-group.d.ts +3 -0
- package/dist/models/apaleo/unit-group.js +2 -0
- package/dist/schemas/apaleo/property.d.ts +118 -0
- package/dist/schemas/apaleo/property.js +38 -0
- package/dist/schemas/apaleo/unit-group.d.ts +91 -0
- package/dist/schemas/apaleo/unit-group.js +29 -0
- package/dist/schemas/thread.d.ts +3 -0
- package/dist/schemas/thread.js +1 -0
- package/package.json +1 -1
    
        package/dist/index.d.ts
    CHANGED
    
    | @@ -7,6 +7,8 @@ export * from "./schemas/calendar"; | |
| 7 7 | 
             
            export * from "./schemas/apaleo/offer";
         | 
| 8 8 | 
             
            export * from "./schemas/apaleo/reservation";
         | 
| 9 9 | 
             
            export * from "./schemas/apaleo/service";
         | 
| 10 | 
            +
            export * from "./schemas/apaleo/unit-group";
         | 
| 11 | 
            +
            export * from "./schemas/apaleo/property";
         | 
| 10 12 | 
             
            export * from "./schemas/channex/booking";
         | 
| 11 13 | 
             
            export * from "./schemas/channex/property";
         | 
| 12 14 | 
             
            export * from "./schemas/channex/thread";
         | 
| @@ -19,6 +21,8 @@ export * from "./models/calendar"; | |
| 19 21 | 
             
            export * from "./models/apaleo/offer";
         | 
| 20 22 | 
             
            export * from "./models/apaleo/reservation";
         | 
| 21 23 | 
             
            export * from "./models/apaleo/service";
         | 
| 24 | 
            +
            export * from "./models/apaleo/unit-group";
         | 
| 25 | 
            +
            export * from "./models/apaleo/property";
         | 
| 22 26 | 
             
            export * from "./models/channex/booking";
         | 
| 23 27 | 
             
            export * from "./models/channex/property";
         | 
| 24 28 | 
             
            export * from "./models/channex/thread";
         | 
    
        package/dist/index.js
    CHANGED
    
    | @@ -23,6 +23,8 @@ __exportStar(require("./schemas/calendar"), exports); | |
| 23 23 | 
             
            __exportStar(require("./schemas/apaleo/offer"), exports);
         | 
| 24 24 | 
             
            __exportStar(require("./schemas/apaleo/reservation"), exports);
         | 
| 25 25 | 
             
            __exportStar(require("./schemas/apaleo/service"), exports);
         | 
| 26 | 
            +
            __exportStar(require("./schemas/apaleo/unit-group"), exports);
         | 
| 27 | 
            +
            __exportStar(require("./schemas/apaleo/property"), exports);
         | 
| 26 28 | 
             
            __exportStar(require("./schemas/channex/booking"), exports);
         | 
| 27 29 | 
             
            __exportStar(require("./schemas/channex/property"), exports);
         | 
| 28 30 | 
             
            __exportStar(require("./schemas/channex/thread"), exports);
         | 
| @@ -35,6 +37,8 @@ __exportStar(require("./models/calendar"), exports); | |
| 35 37 | 
             
            __exportStar(require("./models/apaleo/offer"), exports);
         | 
| 36 38 | 
             
            __exportStar(require("./models/apaleo/reservation"), exports);
         | 
| 37 39 | 
             
            __exportStar(require("./models/apaleo/service"), exports);
         | 
| 40 | 
            +
            __exportStar(require("./models/apaleo/unit-group"), exports);
         | 
| 41 | 
            +
            __exportStar(require("./models/apaleo/property"), exports);
         | 
| 38 42 | 
             
            __exportStar(require("./models/channex/booking"), exports);
         | 
| 39 43 | 
             
            __exportStar(require("./models/channex/property"), exports);
         | 
| 40 44 | 
             
            __exportStar(require("./models/channex/thread"), exports);
         | 
| @@ -0,0 +1,118 @@ | |
| 1 | 
            +
            import { z } from "zod";
         | 
| 2 | 
            +
            declare const ApaleoPropertySchema: z.ZodObject<{
         | 
| 3 | 
            +
                id: z.ZodString;
         | 
| 4 | 
            +
                code: z.ZodString;
         | 
| 5 | 
            +
                propertyTemplateId: z.ZodOptional<z.ZodString>;
         | 
| 6 | 
            +
                isTemplate: z.ZodBoolean;
         | 
| 7 | 
            +
                name: z.ZodRecord<z.ZodString, z.ZodString>;
         | 
| 8 | 
            +
                description: z.ZodRecord<z.ZodString, z.ZodString>;
         | 
| 9 | 
            +
                companyName: z.ZodString;
         | 
| 10 | 
            +
                managingDirectors: z.ZodOptional<z.ZodString>;
         | 
| 11 | 
            +
                commercialRegisterEntry: z.ZodString;
         | 
| 12 | 
            +
                taxId: z.ZodString;
         | 
| 13 | 
            +
                location: z.ZodObject<{
         | 
| 14 | 
            +
                    addressLine1: z.ZodString;
         | 
| 15 | 
            +
                    addressLine2: z.ZodOptional<z.ZodString>;
         | 
| 16 | 
            +
                    postalCode: z.ZodString;
         | 
| 17 | 
            +
                    city: z.ZodString;
         | 
| 18 | 
            +
                    regionCode: z.ZodOptional<z.ZodString>;
         | 
| 19 | 
            +
                    countryCode: z.ZodString;
         | 
| 20 | 
            +
                }, "strip", z.ZodTypeAny, {
         | 
| 21 | 
            +
                    city: string;
         | 
| 22 | 
            +
                    addressLine1: string;
         | 
| 23 | 
            +
                    postalCode: string;
         | 
| 24 | 
            +
                    countryCode: string;
         | 
| 25 | 
            +
                    addressLine2?: string | undefined;
         | 
| 26 | 
            +
                    regionCode?: string | undefined;
         | 
| 27 | 
            +
                }, {
         | 
| 28 | 
            +
                    city: string;
         | 
| 29 | 
            +
                    addressLine1: string;
         | 
| 30 | 
            +
                    postalCode: string;
         | 
| 31 | 
            +
                    countryCode: string;
         | 
| 32 | 
            +
                    addressLine2?: string | undefined;
         | 
| 33 | 
            +
                    regionCode?: string | undefined;
         | 
| 34 | 
            +
                }>;
         | 
| 35 | 
            +
                bankAccount: z.ZodOptional<z.ZodObject<{
         | 
| 36 | 
            +
                    iban: z.ZodOptional<z.ZodString>;
         | 
| 37 | 
            +
                    bic: z.ZodOptional<z.ZodString>;
         | 
| 38 | 
            +
                    bank: z.ZodOptional<z.ZodString>;
         | 
| 39 | 
            +
                }, "strip", z.ZodTypeAny, {
         | 
| 40 | 
            +
                    iban?: string | undefined;
         | 
| 41 | 
            +
                    bic?: string | undefined;
         | 
| 42 | 
            +
                    bank?: string | undefined;
         | 
| 43 | 
            +
                }, {
         | 
| 44 | 
            +
                    iban?: string | undefined;
         | 
| 45 | 
            +
                    bic?: string | undefined;
         | 
| 46 | 
            +
                    bank?: string | undefined;
         | 
| 47 | 
            +
                }>>;
         | 
| 48 | 
            +
                paymentTerms: z.ZodRecord<z.ZodString, z.ZodString>;
         | 
| 49 | 
            +
                timeZone: z.ZodString;
         | 
| 50 | 
            +
                currencyCode: z.ZodString;
         | 
| 51 | 
            +
                created: z.ZodString;
         | 
| 52 | 
            +
                status: z.ZodEnum<["Test", "Live"]>;
         | 
| 53 | 
            +
                isArchived: z.ZodBoolean;
         | 
| 54 | 
            +
                actions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
         | 
| 55 | 
            +
            }, "strip", z.ZodTypeAny, {
         | 
| 56 | 
            +
                code: string;
         | 
| 57 | 
            +
                location: {
         | 
| 58 | 
            +
                    city: string;
         | 
| 59 | 
            +
                    addressLine1: string;
         | 
| 60 | 
            +
                    postalCode: string;
         | 
| 61 | 
            +
                    countryCode: string;
         | 
| 62 | 
            +
                    addressLine2?: string | undefined;
         | 
| 63 | 
            +
                    regionCode?: string | undefined;
         | 
| 64 | 
            +
                };
         | 
| 65 | 
            +
                id: string;
         | 
| 66 | 
            +
                name: Record<string, string>;
         | 
| 67 | 
            +
                description: Record<string, string>;
         | 
| 68 | 
            +
                status: "Test" | "Live";
         | 
| 69 | 
            +
                created: string;
         | 
| 70 | 
            +
                isTemplate: boolean;
         | 
| 71 | 
            +
                companyName: string;
         | 
| 72 | 
            +
                commercialRegisterEntry: string;
         | 
| 73 | 
            +
                taxId: string;
         | 
| 74 | 
            +
                paymentTerms: Record<string, string>;
         | 
| 75 | 
            +
                timeZone: string;
         | 
| 76 | 
            +
                currencyCode: string;
         | 
| 77 | 
            +
                isArchived: boolean;
         | 
| 78 | 
            +
                propertyTemplateId?: string | undefined;
         | 
| 79 | 
            +
                managingDirectors?: string | undefined;
         | 
| 80 | 
            +
                bankAccount?: {
         | 
| 81 | 
            +
                    iban?: string | undefined;
         | 
| 82 | 
            +
                    bic?: string | undefined;
         | 
| 83 | 
            +
                    bank?: string | undefined;
         | 
| 84 | 
            +
                } | undefined;
         | 
| 85 | 
            +
                actions?: any[] | undefined;
         | 
| 86 | 
            +
            }, {
         | 
| 87 | 
            +
                code: string;
         | 
| 88 | 
            +
                location: {
         | 
| 89 | 
            +
                    city: string;
         | 
| 90 | 
            +
                    addressLine1: string;
         | 
| 91 | 
            +
                    postalCode: string;
         | 
| 92 | 
            +
                    countryCode: string;
         | 
| 93 | 
            +
                    addressLine2?: string | undefined;
         | 
| 94 | 
            +
                    regionCode?: string | undefined;
         | 
| 95 | 
            +
                };
         | 
| 96 | 
            +
                id: string;
         | 
| 97 | 
            +
                name: Record<string, string>;
         | 
| 98 | 
            +
                description: Record<string, string>;
         | 
| 99 | 
            +
                status: "Test" | "Live";
         | 
| 100 | 
            +
                created: string;
         | 
| 101 | 
            +
                isTemplate: boolean;
         | 
| 102 | 
            +
                companyName: string;
         | 
| 103 | 
            +
                commercialRegisterEntry: string;
         | 
| 104 | 
            +
                taxId: string;
         | 
| 105 | 
            +
                paymentTerms: Record<string, string>;
         | 
| 106 | 
            +
                timeZone: string;
         | 
| 107 | 
            +
                currencyCode: string;
         | 
| 108 | 
            +
                isArchived: boolean;
         | 
| 109 | 
            +
                propertyTemplateId?: string | undefined;
         | 
| 110 | 
            +
                managingDirectors?: string | undefined;
         | 
| 111 | 
            +
                bankAccount?: {
         | 
| 112 | 
            +
                    iban?: string | undefined;
         | 
| 113 | 
            +
                    bic?: string | undefined;
         | 
| 114 | 
            +
                    bank?: string | undefined;
         | 
| 115 | 
            +
                } | undefined;
         | 
| 116 | 
            +
                actions?: any[] | undefined;
         | 
| 117 | 
            +
            }>;
         | 
| 118 | 
            +
            export default ApaleoPropertySchema;
         | 
| @@ -0,0 +1,38 @@ | |
| 1 | 
            +
            "use strict";
         | 
| 2 | 
            +
            Object.defineProperty(exports, "__esModule", { value: true });
         | 
| 3 | 
            +
            const zod_1 = require("zod");
         | 
| 4 | 
            +
            const AddressSchema = (0, zod_1.object)({
         | 
| 5 | 
            +
                addressLine1: (0, zod_1.string)().min(1),
         | 
| 6 | 
            +
                addressLine2: (0, zod_1.string)().optional(),
         | 
| 7 | 
            +
                postalCode: (0, zod_1.string)().min(1),
         | 
| 8 | 
            +
                city: (0, zod_1.string)().min(1),
         | 
| 9 | 
            +
                regionCode: (0, zod_1.string)().optional(),
         | 
| 10 | 
            +
                countryCode: (0, zod_1.string)().min(1),
         | 
| 11 | 
            +
            });
         | 
| 12 | 
            +
            const BankAccountSchema = (0, zod_1.object)({
         | 
| 13 | 
            +
                iban: (0, zod_1.string)().optional(),
         | 
| 14 | 
            +
                bic: (0, zod_1.string)().optional(),
         | 
| 15 | 
            +
                bank: (0, zod_1.string)().optional(),
         | 
| 16 | 
            +
            });
         | 
| 17 | 
            +
            const ApaleoPropertySchema = (0, zod_1.object)({
         | 
| 18 | 
            +
                id: (0, zod_1.string)().min(1),
         | 
| 19 | 
            +
                code: (0, zod_1.string)().min(1),
         | 
| 20 | 
            +
                propertyTemplateId: (0, zod_1.string)().optional(),
         | 
| 21 | 
            +
                isTemplate: (0, zod_1.boolean)(),
         | 
| 22 | 
            +
                name: (0, zod_1.record)((0, zod_1.string)()),
         | 
| 23 | 
            +
                description: (0, zod_1.record)((0, zod_1.string)()),
         | 
| 24 | 
            +
                companyName: (0, zod_1.string)().min(1),
         | 
| 25 | 
            +
                managingDirectors: (0, zod_1.string)().optional(),
         | 
| 26 | 
            +
                commercialRegisterEntry: (0, zod_1.string)().min(1),
         | 
| 27 | 
            +
                taxId: (0, zod_1.string)().min(1),
         | 
| 28 | 
            +
                location: AddressSchema,
         | 
| 29 | 
            +
                bankAccount: BankAccountSchema.optional(),
         | 
| 30 | 
            +
                paymentTerms: (0, zod_1.record)((0, zod_1.string)()),
         | 
| 31 | 
            +
                timeZone: (0, zod_1.string)().min(1),
         | 
| 32 | 
            +
                currencyCode: (0, zod_1.string)().min(1),
         | 
| 33 | 
            +
                created: (0, zod_1.string)().datetime(),
         | 
| 34 | 
            +
                status: zod_1.z.enum(["Test", "Live"]),
         | 
| 35 | 
            +
                isArchived: (0, zod_1.boolean)(),
         | 
| 36 | 
            +
                actions: (0, zod_1.array)((0, zod_1.any)()).optional(),
         | 
| 37 | 
            +
            });
         | 
| 38 | 
            +
            exports.default = ApaleoPropertySchema;
         | 
| @@ -0,0 +1,91 @@ | |
| 1 | 
            +
            import { z } from "zod";
         | 
| 2 | 
            +
            declare const ApaleoUnitGroupSchema: z.ZodObject<{
         | 
| 3 | 
            +
                id: z.ZodString;
         | 
| 4 | 
            +
                code: z.ZodString;
         | 
| 5 | 
            +
                property: z.ZodObject<{
         | 
| 6 | 
            +
                    id: z.ZodString;
         | 
| 7 | 
            +
                    code: z.ZodOptional<z.ZodString>;
         | 
| 8 | 
            +
                    name: z.ZodOptional<z.ZodString>;
         | 
| 9 | 
            +
                    description: z.ZodOptional<z.ZodString>;
         | 
| 10 | 
            +
                }, "strip", z.ZodTypeAny, {
         | 
| 11 | 
            +
                    id: string;
         | 
| 12 | 
            +
                    code?: string | undefined;
         | 
| 13 | 
            +
                    name?: string | undefined;
         | 
| 14 | 
            +
                    description?: string | undefined;
         | 
| 15 | 
            +
                }, {
         | 
| 16 | 
            +
                    id: string;
         | 
| 17 | 
            +
                    code?: string | undefined;
         | 
| 18 | 
            +
                    name?: string | undefined;
         | 
| 19 | 
            +
                    description?: string | undefined;
         | 
| 20 | 
            +
                }>;
         | 
| 21 | 
            +
                name: z.ZodRecord<z.ZodString, z.ZodString>;
         | 
| 22 | 
            +
                memberCount: z.ZodNumber;
         | 
| 23 | 
            +
                description: z.ZodRecord<z.ZodString, z.ZodString>;
         | 
| 24 | 
            +
                maxPersons: z.ZodNumber;
         | 
| 25 | 
            +
                rank: z.ZodOptional<z.ZodNumber>;
         | 
| 26 | 
            +
                type: z.ZodEnum<["BedRoom", "MeetingRoom", "EventSpace", "ParkingLot", "Other"]>;
         | 
| 27 | 
            +
                connectedUnitGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
         | 
| 28 | 
            +
                    id: z.ZodString;
         | 
| 29 | 
            +
                    name: z.ZodString;
         | 
| 30 | 
            +
                    description: z.ZodString;
         | 
| 31 | 
            +
                    memberCount: z.ZodNumber;
         | 
| 32 | 
            +
                    maxPersons: z.ZodOptional<z.ZodNumber>;
         | 
| 33 | 
            +
                }, "strip", z.ZodTypeAny, {
         | 
| 34 | 
            +
                    id: string;
         | 
| 35 | 
            +
                    name: string;
         | 
| 36 | 
            +
                    description: string;
         | 
| 37 | 
            +
                    memberCount: number;
         | 
| 38 | 
            +
                    maxPersons?: number | undefined;
         | 
| 39 | 
            +
                }, {
         | 
| 40 | 
            +
                    id: string;
         | 
| 41 | 
            +
                    name: string;
         | 
| 42 | 
            +
                    description: string;
         | 
| 43 | 
            +
                    memberCount: number;
         | 
| 44 | 
            +
                    maxPersons?: number | undefined;
         | 
| 45 | 
            +
                }>, "many">>;
         | 
| 46 | 
            +
            }, "strip", z.ZodTypeAny, {
         | 
| 47 | 
            +
                type: "BedRoom" | "MeetingRoom" | "EventSpace" | "ParkingLot" | "Other";
         | 
| 48 | 
            +
                code: string;
         | 
| 49 | 
            +
                id: string;
         | 
| 50 | 
            +
                name: Record<string, string>;
         | 
| 51 | 
            +
                description: Record<string, string>;
         | 
| 52 | 
            +
                maxPersons: number;
         | 
| 53 | 
            +
                property: {
         | 
| 54 | 
            +
                    id: string;
         | 
| 55 | 
            +
                    code?: string | undefined;
         | 
| 56 | 
            +
                    name?: string | undefined;
         | 
| 57 | 
            +
                    description?: string | undefined;
         | 
| 58 | 
            +
                };
         | 
| 59 | 
            +
                memberCount: number;
         | 
| 60 | 
            +
                rank?: number | undefined;
         | 
| 61 | 
            +
                connectedUnitGroups?: {
         | 
| 62 | 
            +
                    id: string;
         | 
| 63 | 
            +
                    name: string;
         | 
| 64 | 
            +
                    description: string;
         | 
| 65 | 
            +
                    memberCount: number;
         | 
| 66 | 
            +
                    maxPersons?: number | undefined;
         | 
| 67 | 
            +
                }[] | undefined;
         | 
| 68 | 
            +
            }, {
         | 
| 69 | 
            +
                type: "BedRoom" | "MeetingRoom" | "EventSpace" | "ParkingLot" | "Other";
         | 
| 70 | 
            +
                code: string;
         | 
| 71 | 
            +
                id: string;
         | 
| 72 | 
            +
                name: Record<string, string>;
         | 
| 73 | 
            +
                description: Record<string, string>;
         | 
| 74 | 
            +
                maxPersons: number;
         | 
| 75 | 
            +
                property: {
         | 
| 76 | 
            +
                    id: string;
         | 
| 77 | 
            +
                    code?: string | undefined;
         | 
| 78 | 
            +
                    name?: string | undefined;
         | 
| 79 | 
            +
                    description?: string | undefined;
         | 
| 80 | 
            +
                };
         | 
| 81 | 
            +
                memberCount: number;
         | 
| 82 | 
            +
                rank?: number | undefined;
         | 
| 83 | 
            +
                connectedUnitGroups?: {
         | 
| 84 | 
            +
                    id: string;
         | 
| 85 | 
            +
                    name: string;
         | 
| 86 | 
            +
                    description: string;
         | 
| 87 | 
            +
                    memberCount: number;
         | 
| 88 | 
            +
                    maxPersons?: number | undefined;
         | 
| 89 | 
            +
                }[] | undefined;
         | 
| 90 | 
            +
            }>;
         | 
| 91 | 
            +
            export default ApaleoUnitGroupSchema;
         | 
| @@ -0,0 +1,29 @@ | |
| 1 | 
            +
            "use strict";
         | 
| 2 | 
            +
            Object.defineProperty(exports, "__esModule", { value: true });
         | 
| 3 | 
            +
            const zod_1 = require("zod");
         | 
| 4 | 
            +
            const EmbeddedPropertySchema = (0, zod_1.object)({
         | 
| 5 | 
            +
                id: (0, zod_1.string)().min(1),
         | 
| 6 | 
            +
                code: (0, zod_1.string)().optional(),
         | 
| 7 | 
            +
                name: (0, zod_1.string)().optional(),
         | 
| 8 | 
            +
                description: (0, zod_1.string)().optional(),
         | 
| 9 | 
            +
            });
         | 
| 10 | 
            +
            const ConnectedUnitGroupSchema = (0, zod_1.object)({
         | 
| 11 | 
            +
                id: (0, zod_1.string)().min(1),
         | 
| 12 | 
            +
                name: (0, zod_1.string)().min(1),
         | 
| 13 | 
            +
                description: (0, zod_1.string)().min(1),
         | 
| 14 | 
            +
                memberCount: (0, zod_1.number)().int(),
         | 
| 15 | 
            +
                maxPersons: (0, zod_1.number)().int().optional(),
         | 
| 16 | 
            +
            });
         | 
| 17 | 
            +
            const ApaleoUnitGroupSchema = (0, zod_1.object)({
         | 
| 18 | 
            +
                id: (0, zod_1.string)().min(1),
         | 
| 19 | 
            +
                code: (0, zod_1.string)().min(1),
         | 
| 20 | 
            +
                property: EmbeddedPropertySchema,
         | 
| 21 | 
            +
                name: (0, zod_1.record)((0, zod_1.string)()),
         | 
| 22 | 
            +
                memberCount: (0, zod_1.number)().int(),
         | 
| 23 | 
            +
                description: (0, zod_1.record)((0, zod_1.string)()),
         | 
| 24 | 
            +
                maxPersons: (0, zod_1.number)().int(),
         | 
| 25 | 
            +
                rank: (0, zod_1.number)().int().optional(),
         | 
| 26 | 
            +
                type: zod_1.z.enum(["BedRoom", "MeetingRoom", "EventSpace", "ParkingLot", "Other"]),
         | 
| 27 | 
            +
                connectedUnitGroups: (0, zod_1.array)(ConnectedUnitGroupSchema).optional(),
         | 
| 28 | 
            +
            });
         | 
| 29 | 
            +
            exports.default = ApaleoUnitGroupSchema;
         | 
    
        package/dist/schemas/thread.d.ts
    CHANGED
    
    | @@ -672,6 +672,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{ | |
| 672 672 | 
             
                externalThreadId: import("zod").ZodOptional<import("zod").ZodString>;
         | 
| 673 673 | 
             
                externalSource: import("zod").ZodOptional<import("zod").ZodString>;
         | 
| 674 674 | 
             
                title: import("zod").ZodOptional<import("zod").ZodString>;
         | 
| 675 | 
            +
                lastSeenAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
         | 
| 675 676 | 
             
            }, "strip", import("zod").ZodTypeAny, {
         | 
| 676 677 | 
             
                type: "ONE_TO_ONE" | "GROUP";
         | 
| 677 678 | 
             
                createdAt: FirebaseFirestore.Timestamp;
         | 
| @@ -759,6 +760,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{ | |
| 759 760 | 
             
                }[] | undefined;
         | 
| 760 761 | 
             
                externalThreadId?: string | undefined;
         | 
| 761 762 | 
             
                externalSource?: string | undefined;
         | 
| 763 | 
            +
                lastSeenAt?: FirebaseFirestore.Timestamp | undefined;
         | 
| 762 764 | 
             
            }, {
         | 
| 763 765 | 
             
                type: "ONE_TO_ONE" | "GROUP";
         | 
| 764 766 | 
             
                createdAt: FirebaseFirestore.Timestamp;
         | 
| @@ -846,4 +848,5 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{ | |
| 846 848 | 
             
                }[] | undefined;
         | 
| 847 849 | 
             
                externalThreadId?: string | undefined;
         | 
| 848 850 | 
             
                externalSource?: string | undefined;
         | 
| 851 | 
            +
                lastSeenAt?: FirebaseFirestore.Timestamp | undefined;
         | 
| 849 852 | 
             
            }>;
         | 
    
        package/dist/schemas/thread.js
    CHANGED
    
    | @@ -31,4 +31,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({ | |
| 31 31 | 
             
                externalThreadId: (0, zod_1.optional)((0, zod_1.string)()),
         | 
| 32 32 | 
             
                externalSource: (0, zod_1.optional)((0, zod_1.string)()),
         | 
| 33 33 | 
             
                title: (0, zod_1.optional)((0, zod_1.string)()),
         | 
| 34 | 
            +
                lastSeenAt: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
         | 
| 34 35 | 
             
            });
         |