hububb-saas-shared 1.0.113 → 1.0.115

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.
@@ -26,7 +26,8 @@ export declare const propertySchema: z.ZodObject<{
26
26
  connectionType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AIRBNB", "BOOKING_COM"]>>>;
27
27
  isConnectionRequest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
28
  isMergedProperty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "INACTIVE", "MERGED"]>>>;
29
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "INACTIVE", "MERGED", "DRAFT"]>>>;
30
+ creationStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
31
  }, "strip", z.ZodTypeAny, {
31
32
  id: number;
32
33
  title: string;
@@ -36,7 +37,7 @@ export declare const propertySchema: z.ZodObject<{
36
37
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
37
38
  area?: number | null | undefined;
38
39
  description?: string | null | undefined;
39
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
40
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
40
41
  nickname?: string | null | undefined;
41
42
  listingType?: string | null | undefined;
42
43
  bedrooms?: number | null | undefined;
@@ -54,6 +55,7 @@ export declare const propertySchema: z.ZodObject<{
54
55
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
55
56
  isConnectionRequest?: boolean | null | undefined;
56
57
  isMergedProperty?: boolean | null | undefined;
58
+ creationStep?: number | null | undefined;
57
59
  }, {
58
60
  id: number;
59
61
  title: string;
@@ -63,7 +65,7 @@ export declare const propertySchema: z.ZodObject<{
63
65
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
64
66
  area?: number | null | undefined;
65
67
  description?: string | null | undefined;
66
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
68
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
67
69
  nickname?: string | null | undefined;
68
70
  listingType?: string | null | undefined;
69
71
  bedrooms?: number | null | undefined;
@@ -81,6 +83,7 @@ export declare const propertySchema: z.ZodObject<{
81
83
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
82
84
  isConnectionRequest?: boolean | null | undefined;
83
85
  isMergedProperty?: boolean | null | undefined;
86
+ creationStep?: number | null | undefined;
84
87
  }>;
85
88
  export declare const updatePropertySchema: z.ZodObject<{
86
89
  propertyDetails: z.ZodOptional<z.ZodObject<{
@@ -104,10 +107,13 @@ export declare const updatePropertySchema: z.ZodObject<{
104
107
  connectionStatus: z.ZodOptional<z.ZodEnum<["PENDING", "IN_PROGRESS", "COMPLETED", "REJECTED"]>>;
105
108
  connectionType: z.ZodOptional<z.ZodEnum<["AIRBNB", "BOOKING_COM"]>>;
106
109
  isConnectionRequest: z.ZodOptional<z.ZodBoolean>;
110
+ creationStep: z.ZodOptional<z.ZodNumber>;
111
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "MERGED", "DRAFT"]>>;
107
112
  }, "strip", z.ZodTypeAny, {
108
113
  area?: number | undefined;
109
114
  title?: string | undefined;
110
115
  description?: string | undefined;
116
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | undefined;
111
117
  nickname?: string | undefined;
112
118
  propertyType?: PropertyType | undefined;
113
119
  listingType?: string | undefined;
@@ -124,11 +130,13 @@ export declare const updatePropertySchema: z.ZodObject<{
124
130
  connectionStatus?: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "REJECTED" | undefined;
125
131
  connectionType?: "AIRBNB" | "BOOKING_COM" | undefined;
126
132
  isConnectionRequest?: boolean | undefined;
133
+ creationStep?: number | undefined;
127
134
  airbnbId?: string | undefined;
128
135
  }, {
129
136
  area?: number | undefined;
130
137
  title?: string | undefined;
131
138
  description?: string | undefined;
139
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | undefined;
132
140
  nickname?: string | undefined;
133
141
  propertyType?: PropertyType | undefined;
134
142
  listingType?: string | undefined;
@@ -145,6 +153,7 @@ export declare const updatePropertySchema: z.ZodObject<{
145
153
  connectionStatus?: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "REJECTED" | undefined;
146
154
  connectionType?: "AIRBNB" | "BOOKING_COM" | undefined;
147
155
  isConnectionRequest?: boolean | undefined;
156
+ creationStep?: number | undefined;
148
157
  airbnbId?: string | undefined;
149
158
  }>>;
150
159
  metadata: z.ZodOptional<z.ZodObject<{
@@ -287,6 +296,7 @@ export declare const updatePropertySchema: z.ZodObject<{
287
296
  area?: number | undefined;
288
297
  title?: string | undefined;
289
298
  description?: string | undefined;
299
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | undefined;
290
300
  nickname?: string | undefined;
291
301
  propertyType?: PropertyType | undefined;
292
302
  listingType?: string | undefined;
@@ -303,6 +313,7 @@ export declare const updatePropertySchema: z.ZodObject<{
303
313
  connectionStatus?: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "REJECTED" | undefined;
304
314
  connectionType?: "AIRBNB" | "BOOKING_COM" | undefined;
305
315
  isConnectionRequest?: boolean | undefined;
316
+ creationStep?: number | undefined;
306
317
  airbnbId?: string | undefined;
307
318
  } | undefined;
308
319
  amenities?: (string | number)[] | undefined;
@@ -350,6 +361,7 @@ export declare const updatePropertySchema: z.ZodObject<{
350
361
  area?: number | undefined;
351
362
  title?: string | undefined;
352
363
  description?: string | undefined;
364
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | undefined;
353
365
  nickname?: string | undefined;
354
366
  propertyType?: PropertyType | undefined;
355
367
  listingType?: string | undefined;
@@ -366,6 +378,7 @@ export declare const updatePropertySchema: z.ZodObject<{
366
378
  connectionStatus?: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "REJECTED" | undefined;
367
379
  connectionType?: "AIRBNB" | "BOOKING_COM" | undefined;
368
380
  isConnectionRequest?: boolean | undefined;
381
+ creationStep?: number | undefined;
369
382
  airbnbId?: string | undefined;
370
383
  } | undefined;
371
384
  amenities?: (string | number)[] | undefined;
@@ -38,7 +38,8 @@ exports.propertySchema = (0, zod_1.object)({
38
38
  connectionType: zod_1.z.enum(["AIRBNB", "BOOKING_COM"]).nullish(),
39
39
  isConnectionRequest: (0, zod_1.boolean)().nullish(),
40
40
  isMergedProperty: (0, zod_1.boolean)().nullish(),
41
- status: zod_1.z.enum(["ACTIVE", "INACTIVE", "MERGED"]).nullish(),
41
+ status: zod_1.z.enum(["ACTIVE", "INACTIVE", "MERGED", "DRAFT"]).nullish(),
42
+ creationStep: (0, zod_1.number)().int().nullish(),
42
43
  });
43
44
  exports.updatePropertySchema = (0, zod_1.object)({
44
45
  propertyDetails: (0, zod_1.object)({
@@ -64,6 +65,8 @@ exports.updatePropertySchema = (0, zod_1.object)({
64
65
  .optional(),
65
66
  connectionType: zod_1.z.enum(["AIRBNB", "BOOKING_COM"]).optional(),
66
67
  isConnectionRequest: (0, zod_1.boolean)().optional(),
68
+ creationStep: (0, zod_1.number)().int().optional(),
69
+ status: zod_1.z.enum(["ACTIVE", "INACTIVE", "MERGED", "DRAFT"]).optional(),
67
70
  }).optional(),
68
71
  metadata: (0, zod_1.object)({
69
72
  wifiName: (0, zod_1.string)().optional(),
@@ -432,7 +432,8 @@ export declare const ChatThreadSchema: z.ZodObject<{
432
432
  connectionType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AIRBNB", "BOOKING_COM"]>>>;
433
433
  isConnectionRequest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
434
434
  isMergedProperty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
435
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "INACTIVE", "MERGED"]>>>;
435
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "INACTIVE", "MERGED", "DRAFT"]>>>;
436
+ creationStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
436
437
  }, "strip", z.ZodTypeAny, {
437
438
  id: number;
438
439
  title: string;
@@ -442,7 +443,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
442
443
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
443
444
  area?: number | null | undefined;
444
445
  description?: string | null | undefined;
445
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
446
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
446
447
  nickname?: string | null | undefined;
447
448
  listingType?: string | null | undefined;
448
449
  bedrooms?: number | null | undefined;
@@ -460,6 +461,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
460
461
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
461
462
  isConnectionRequest?: boolean | null | undefined;
462
463
  isMergedProperty?: boolean | null | undefined;
464
+ creationStep?: number | null | undefined;
463
465
  }, {
464
466
  id: number;
465
467
  title: string;
@@ -469,7 +471,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
469
471
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
470
472
  area?: number | null | undefined;
471
473
  description?: string | null | undefined;
472
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
474
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
473
475
  nickname?: string | null | undefined;
474
476
  listingType?: string | null | undefined;
475
477
  bedrooms?: number | null | undefined;
@@ -487,6 +489,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
487
489
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
488
490
  isConnectionRequest?: boolean | null | undefined;
489
491
  isMergedProperty?: boolean | null | undefined;
492
+ creationStep?: number | null | undefined;
490
493
  }>>;
491
494
  }>, "strip", z.ZodTypeAny, {
492
495
  id: number;
@@ -504,7 +507,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
504
507
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
505
508
  area?: number | null | undefined;
506
509
  description?: string | null | undefined;
507
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
510
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
508
511
  nickname?: string | null | undefined;
509
512
  listingType?: string | null | undefined;
510
513
  bedrooms?: number | null | undefined;
@@ -522,6 +525,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
522
525
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
523
526
  isConnectionRequest?: boolean | null | undefined;
524
527
  isMergedProperty?: boolean | null | undefined;
528
+ creationStep?: number | null | undefined;
525
529
  } | undefined;
526
530
  propertyNickname?: string | undefined;
527
531
  }, {
@@ -540,7 +544,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
540
544
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
541
545
  area?: number | null | undefined;
542
546
  description?: string | null | undefined;
543
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
547
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
544
548
  nickname?: string | null | undefined;
545
549
  listingType?: string | null | undefined;
546
550
  bedrooms?: number | null | undefined;
@@ -558,6 +562,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
558
562
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
559
563
  isConnectionRequest?: boolean | null | undefined;
560
564
  isMergedProperty?: boolean | null | undefined;
565
+ creationStep?: number | null | undefined;
561
566
  } | undefined;
562
567
  propertyNickname?: string | undefined;
563
568
  }>>;
@@ -728,7 +733,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
728
733
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
729
734
  area?: number | null | undefined;
730
735
  description?: string | null | undefined;
731
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
736
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
732
737
  nickname?: string | null | undefined;
733
738
  listingType?: string | null | undefined;
734
739
  bedrooms?: number | null | undefined;
@@ -746,6 +751,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
746
751
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
747
752
  isConnectionRequest?: boolean | null | undefined;
748
753
  isMergedProperty?: boolean | null | undefined;
754
+ creationStep?: number | null | undefined;
749
755
  } | undefined;
750
756
  propertyNickname?: string | undefined;
751
757
  } | undefined;
@@ -863,7 +869,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
863
869
  propertyType: "HOUSE" | "APARTMENT" | "STUDIO" | "HOTEL" | "VILLA" | "APARTMENT_BLOCK";
864
870
  area?: number | null | undefined;
865
871
  description?: string | null | undefined;
866
- status?: "ACTIVE" | "INACTIVE" | "MERGED" | null | undefined;
872
+ status?: "ACTIVE" | "INACTIVE" | "MERGED" | "DRAFT" | null | undefined;
867
873
  nickname?: string | null | undefined;
868
874
  listingType?: string | null | undefined;
869
875
  bedrooms?: number | null | undefined;
@@ -881,6 +887,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
881
887
  connectionType?: "AIRBNB" | "BOOKING_COM" | null | undefined;
882
888
  isConnectionRequest?: boolean | null | undefined;
883
889
  isMergedProperty?: boolean | null | undefined;
890
+ creationStep?: number | null | undefined;
884
891
  } | undefined;
885
892
  propertyNickname?: string | undefined;
886
893
  } | 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.113",
4
+ "version": "1.0.115",
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",