hububb-models 1.1.16 → 1.1.17

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.
@@ -684,7 +684,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
684
684
  needsAttention: import("zod").ZodArray<import("zod").ZodString, "many">;
685
685
  needsAttentionMap: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>;
686
686
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
687
- reservation: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
687
+ reservation: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
688
688
  id: import("zod").ZodString;
689
689
  createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
690
690
  externalId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -769,7 +769,9 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
769
769
  channexThreadId: import("zod").ZodOptional<import("zod").ZodString>;
770
770
  notes: import("zod").ZodOptional<import("zod").ZodString>;
771
771
  integrationSource: import("zod").ZodOptional<import("zod").ZodString>;
772
- }, "id" | "source" | "listing" | "status" | "checkIn" | "checkOut" | "statusDescription" | "integrationSource">, "strip", import("zod").ZodTypeAny, {
772
+ }, "id" | "source" | "listing" | "status" | "checkIn" | "checkOut" | "statusDescription" | "integrationSource">, {
773
+ listingNickname: import("zod").ZodOptional<import("zod").ZodString>;
774
+ }>, "strip", import("zod").ZodTypeAny, {
773
775
  id: string;
774
776
  source?: string | undefined;
775
777
  listing?: {
@@ -783,6 +785,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
783
785
  checkOut?: FirebaseFirestore.Timestamp | undefined;
784
786
  statusDescription?: string | undefined;
785
787
  integrationSource?: string | undefined;
788
+ listingNickname?: string | undefined;
786
789
  }, {
787
790
  id: string;
788
791
  source?: string | undefined;
@@ -797,6 +800,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
797
800
  checkOut?: FirebaseFirestore.Timestamp | undefined;
798
801
  statusDescription?: string | undefined;
799
802
  integrationSource?: string | undefined;
803
+ listingNickname?: string | undefined;
800
804
  }>>;
801
805
  isInquiryThread: import("zod").ZodOptional<import("zod").ZodBoolean>;
802
806
  }, "strip", import("zod").ZodTypeAny, {
@@ -824,6 +828,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
824
828
  checkOut?: FirebaseFirestore.Timestamp | undefined;
825
829
  statusDescription?: string | undefined;
826
830
  integrationSource?: string | undefined;
831
+ listingNickname?: string | undefined;
827
832
  } | undefined;
828
833
  lastMessage?: {
829
834
  id: string;
@@ -933,6 +938,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
933
938
  checkOut?: FirebaseFirestore.Timestamp | undefined;
934
939
  statusDescription?: string | undefined;
935
940
  integrationSource?: string | undefined;
941
+ listingNickname?: string | undefined;
936
942
  } | undefined;
937
943
  lastMessage?: {
938
944
  id: string;
@@ -51,6 +51,8 @@ exports.ChatThreadSchema = (0, zod_1.object)({
51
51
  source: true,
52
52
  integrationSource: true,
53
53
  statusDescription: true,
54
+ }).extend({
55
+ listingNickname: (0, zod_1.optional)((0, zod_1.string)()),
54
56
  })),
55
57
  isInquiryThread: (0, zod_1.optional)((0, zod_1.boolean)()),
56
58
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",