@myrjfa/state 2.1.9 → 2.2.0

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.
Files changed (174) hide show
  1. package/dist/hooks/usePersistentDraftState.d.ts +20 -0
  2. package/dist/hooks/usePersistentDraftState.d.ts.map +1 -0
  3. package/dist/hooks/usePersistentDraftState.js +47 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +3 -0
  7. package/dist/lib/actions/actions.d.ts +17 -19
  8. package/dist/lib/actions/actions.d.ts.map +1 -1
  9. package/dist/lib/actions/actions.js +24 -7
  10. package/dist/lib/actions/auth.d.ts +2 -2
  11. package/dist/lib/actions/auth.d.ts.map +1 -1
  12. package/dist/lib/actions/auth.js +9 -0
  13. package/dist/lib/actions/booking.js +2 -2
  14. package/dist/lib/actions/fetcher.js +2 -1
  15. package/dist/lib/actions.d.ts +556 -0
  16. package/dist/lib/actions.d.ts.map +1 -0
  17. package/dist/lib/actions.js +1327 -0
  18. package/dist/lib/adminDashboardActions.d.ts +61 -0
  19. package/dist/lib/adminDashboardActions.d.ts.map +1 -0
  20. package/dist/lib/adminDashboardActions.js +89 -0
  21. package/dist/lib/adventureActions.d.ts +102 -0
  22. package/dist/lib/adventureActions.d.ts.map +1 -0
  23. package/dist/lib/adventureActions.js +202 -0
  24. package/dist/lib/adventureDummyData.d.ts +3 -0
  25. package/dist/lib/adventureDummyData.d.ts.map +1 -0
  26. package/dist/lib/adventureDummyData.js +138 -0
  27. package/dist/lib/adventureFormPage.d.ts +39 -0
  28. package/dist/lib/adventureFormPage.d.ts.map +1 -0
  29. package/dist/lib/adventureFormPage.js +70 -0
  30. package/dist/lib/brandActions.d.ts +83 -0
  31. package/dist/lib/brandActions.d.ts.map +1 -0
  32. package/dist/lib/brandActions.js +28 -0
  33. package/dist/lib/companionActions.d.ts +174 -0
  34. package/dist/lib/companionActions.d.ts.map +1 -0
  35. package/dist/lib/companionActions.js +276 -0
  36. package/dist/lib/companionDummyData.d.ts +99 -0
  37. package/dist/lib/companionDummyData.d.ts.map +1 -0
  38. package/dist/lib/companionDummyData.js +203 -0
  39. package/dist/lib/destinations.d.ts +14 -0
  40. package/dist/lib/destinations.d.ts.map +1 -0
  41. package/dist/lib/destinations.js +203 -0
  42. package/dist/lib/entitySubmission.d.ts +21 -0
  43. package/dist/lib/entitySubmission.d.ts.map +1 -0
  44. package/dist/lib/entitySubmission.js +10 -0
  45. package/dist/lib/eventActions.d.ts +176 -0
  46. package/dist/lib/eventActions.d.ts.map +1 -0
  47. package/dist/lib/eventActions.js +222 -0
  48. package/dist/lib/eventFormPage.d.ts +49 -0
  49. package/dist/lib/eventFormPage.d.ts.map +1 -0
  50. package/dist/lib/eventFormPage.js +84 -0
  51. package/dist/lib/eventsDummyData.d.ts +54 -0
  52. package/dist/lib/eventsDummyData.d.ts.map +1 -0
  53. package/dist/lib/eventsDummyData.js +586 -0
  54. package/dist/lib/guideActions.d.ts +53 -0
  55. package/dist/lib/guideActions.d.ts.map +1 -0
  56. package/dist/lib/guideActions.js +127 -0
  57. package/dist/lib/guideDummyData.d.ts +3 -0
  58. package/dist/lib/guideDummyData.d.ts.map +1 -0
  59. package/dist/lib/guideDummyData.js +66 -0
  60. package/dist/lib/hooks/use-mobile.js +0 -1
  61. package/dist/lib/hooks/useChatSocket.js +0 -1
  62. package/dist/lib/hooks/useHostCalendarSelection.d.ts +51 -0
  63. package/dist/lib/hooks/useHostCalendarSelection.d.ts.map +1 -0
  64. package/dist/lib/hooks/useHostCalendarSelection.js +200 -0
  65. package/dist/lib/hostDashboardActions.d.ts +189 -0
  66. package/dist/lib/hostDashboardActions.d.ts.map +1 -0
  67. package/dist/lib/hostDashboardActions.js +400 -0
  68. package/dist/lib/imageUpload.d.ts +4 -0
  69. package/dist/lib/imageUpload.d.ts.map +1 -0
  70. package/dist/lib/imageUpload.js +36 -0
  71. package/dist/lib/locationActions.d.ts +141 -0
  72. package/dist/lib/locationActions.d.ts.map +1 -0
  73. package/dist/lib/locationActions.js +113 -0
  74. package/dist/lib/models/adventure.d.ts +26 -9
  75. package/dist/lib/models/adventure.d.ts.map +1 -1
  76. package/dist/lib/models/blog.d.ts +2 -2
  77. package/dist/lib/models/discount.d.ts +160 -0
  78. package/dist/lib/models/discount.d.ts.map +1 -0
  79. package/dist/lib/models/discount.js +106 -0
  80. package/dist/lib/models/enquiry.d.ts +34 -0
  81. package/dist/lib/models/enquiry.d.ts.map +1 -0
  82. package/dist/lib/models/enquiry.js +140 -0
  83. package/dist/lib/models/guide.d.ts +4 -3
  84. package/dist/lib/models/guide.d.ts.map +1 -1
  85. package/dist/lib/models/notifications.d.ts +12 -12
  86. package/dist/lib/models/opportunities/freelance.d.ts +76 -76
  87. package/dist/lib/models/opportunities/internship.d.ts +76 -76
  88. package/dist/lib/models/opportunities/job.d.ts +78 -78
  89. package/dist/lib/models/opportunities/opportunity.d.ts +76 -76
  90. package/dist/lib/models/opportunities/volunteerJob.d.ts +76 -76
  91. package/dist/lib/models/package.d.ts +380 -86
  92. package/dist/lib/models/package.d.ts.map +1 -1
  93. package/dist/lib/models/package.js +9 -8
  94. package/dist/lib/models/pricing.d.ts +255 -0
  95. package/dist/lib/models/pricing.d.ts.map +1 -0
  96. package/dist/lib/models/pricing.js +145 -0
  97. package/dist/lib/models/rental.d.ts +12 -7
  98. package/dist/lib/models/rental.d.ts.map +1 -1
  99. package/dist/lib/models/review.d.ts +5 -2
  100. package/dist/lib/models/review.d.ts.map +1 -1
  101. package/dist/lib/models/stay.d.ts +11 -8
  102. package/dist/lib/models/stay.d.ts.map +1 -1
  103. package/dist/lib/models/stay.js +1 -0
  104. package/dist/lib/models/tile.d.ts +11 -7
  105. package/dist/lib/models/tile.d.ts.map +1 -1
  106. package/dist/lib/models/travelPackage.d.ts +943 -0
  107. package/dist/lib/models/travelPackage.d.ts.map +1 -0
  108. package/dist/lib/models/travelPackage.js +326 -0
  109. package/dist/lib/multistepDraft.d.ts +4 -0
  110. package/dist/lib/multistepDraft.d.ts.map +1 -0
  111. package/dist/lib/multistepDraft.js +18 -0
  112. package/dist/lib/opportunityFormData.d.ts +13 -0
  113. package/dist/lib/opportunityFormData.d.ts.map +1 -0
  114. package/dist/lib/opportunityFormData.js +62 -0
  115. package/dist/lib/opportunityFormPage.d.ts +38 -0
  116. package/dist/lib/opportunityFormPage.d.ts.map +1 -0
  117. package/dist/lib/opportunityFormPage.js +33 -0
  118. package/dist/lib/packageActions.d.ts +86 -0
  119. package/dist/lib/packageActions.d.ts.map +1 -0
  120. package/dist/lib/packageActions.js +168 -0
  121. package/dist/lib/packageDummyData.d.ts +3 -0
  122. package/dist/lib/packageDummyData.d.ts.map +1 -0
  123. package/dist/lib/packageDummyData.js +57 -0
  124. package/dist/lib/placeActions.d.ts +192 -0
  125. package/dist/lib/placeActions.d.ts.map +1 -0
  126. package/dist/lib/placeActions.js +57 -0
  127. package/dist/lib/propertyActions.d.ts +17 -0
  128. package/dist/lib/propertyActions.d.ts.map +1 -0
  129. package/dist/lib/propertyActions.js +16 -0
  130. package/dist/lib/rentalActions.d.ts +86 -0
  131. package/dist/lib/rentalActions.d.ts.map +1 -0
  132. package/dist/lib/rentalActions.js +235 -0
  133. package/dist/lib/rentalDummyData.d.ts +3 -0
  134. package/dist/lib/rentalDummyData.d.ts.map +1 -0
  135. package/dist/lib/rentalDummyData.js +402 -0
  136. package/dist/lib/rentalFormPage.d.ts +48 -0
  137. package/dist/lib/rentalFormPage.d.ts.map +1 -0
  138. package/dist/lib/rentalFormPage.js +97 -0
  139. package/dist/lib/roomActions.d.ts +39 -0
  140. package/dist/lib/roomActions.d.ts.map +1 -0
  141. package/dist/lib/roomActions.js +74 -0
  142. package/dist/lib/stayActions.d.ts +97 -0
  143. package/dist/lib/stayActions.d.ts.map +1 -0
  144. package/dist/lib/stayActions.js +138 -0
  145. package/dist/lib/staysDummyData.d.ts +72 -0
  146. package/dist/lib/staysDummyData.d.ts.map +1 -0
  147. package/dist/lib/staysDummyData.js +694 -0
  148. package/dist/lib/storeDummyData.d.ts +33 -0
  149. package/dist/lib/storeDummyData.d.ts.map +1 -0
  150. package/dist/lib/storeDummyData.js +336 -0
  151. package/dist/lib/travelPackageActions.d.ts +102 -0
  152. package/dist/lib/travelPackageActions.d.ts.map +1 -0
  153. package/dist/lib/travelPackageActions.js +487 -0
  154. package/dist/lib/travelPackageFormData.d.ts +20 -0
  155. package/dist/lib/travelPackageFormData.d.ts.map +1 -0
  156. package/dist/lib/travelPackageFormData.js +54 -0
  157. package/dist/lib/travelPackageFormPage.d.ts +32 -0
  158. package/dist/lib/travelPackageFormPage.d.ts.map +1 -0
  159. package/dist/lib/travelPackageFormPage.js +43 -0
  160. package/dist/lib/userAtom.d.ts +32 -32
  161. package/dist/lib/userAtom.d.ts.map +1 -1
  162. package/dist/lib/userAtom.js +17 -1
  163. package/dist/lib/util.d.ts +11 -0
  164. package/dist/lib/util.d.ts.map +1 -0
  165. package/dist/lib/util.js +82 -0
  166. package/dist/lib/utils.d.ts.map +1 -1
  167. package/dist/lib/utils.js +1 -0
  168. package/dist/lib/vehicleData.d.ts +2 -0
  169. package/dist/lib/vehicleData.d.ts.map +1 -0
  170. package/dist/lib/vehicleData.js +181 -0
  171. package/dist/lib/vehicleModels.d.ts +2 -0
  172. package/dist/lib/vehicleModels.d.ts.map +1 -0
  173. package/dist/lib/vehicleModels.js +128 -0
  174. package/package.json +6 -5
@@ -0,0 +1,943 @@
1
+ import { z } from "zod";
2
+ import { PricingSchema, PricingStrategySchema } from "@myrjfa/state/dist/lib/models/pricing";
3
+ export declare const ItineraryItemSchema: z.ZodObject<{
4
+ day: z.ZodNumber;
5
+ title: z.ZodString;
6
+ message: z.ZodOptional<z.ZodString>;
7
+ route: z.ZodArray<z.ZodString, "many">;
8
+ facilities: z.ZodArray<z.ZodString, "many">;
9
+ mode: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ day: number;
12
+ title: string;
13
+ route: string[];
14
+ facilities: string[];
15
+ message?: string | undefined;
16
+ mode?: string | undefined;
17
+ }, {
18
+ day: number;
19
+ title: string;
20
+ route: string[];
21
+ facilities: string[];
22
+ message?: string | undefined;
23
+ mode?: string | undefined;
24
+ }>;
25
+ export declare enum DifficultyEnum {
26
+ Easy = "easy",
27
+ Medium = "medium",
28
+ Hard = "hard"
29
+ }
30
+ export declare const difficultyLevels: DifficultyEnum[];
31
+ export declare const ActivitySchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ type: z.ZodEnum<["optional", "compulsory"]>;
34
+ day: z.ZodOptional<z.ZodNumber>;
35
+ additionalPrice: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ type: "optional" | "compulsory";
38
+ name: string;
39
+ additionalPrice: number;
40
+ day?: number | undefined;
41
+ }, {
42
+ type: "optional" | "compulsory";
43
+ name: string;
44
+ day?: number | undefined;
45
+ additionalPrice?: number | undefined;
46
+ }>;
47
+ export declare const includedItems: string[];
48
+ export declare const excludedItems: string[];
49
+ export declare const thingsToCarryItems: string[];
50
+ export declare const thingsNotToDoList: string[];
51
+ export declare const thingsToDoList: string[];
52
+ export declare const tripHighlights: string[];
53
+ export declare const difficultyLevelSchema: z.ZodOptional<z.ZodNativeEnum<typeof DifficultyEnum>>;
54
+ export declare const packageTypeOptionsArray: string[];
55
+ export declare const packageBookingModeOptions: readonly ["enquiry", "booking", "both"];
56
+ export declare const packageBookingModeLabels: Record<(typeof packageBookingModeOptions)[number], string>;
57
+ export declare const packageFrequencyOptions: readonly ["daily", "weekly", "bi-weekly", "monthly", "yearly", "custom"];
58
+ export declare const packageFrequencyLabels: Record<(typeof packageFrequencyOptions)[number], string>;
59
+ declare const packageTypeSchema: z.ZodEnum<[string, ...string[]]>;
60
+ export type packageTypeOptions = z.infer<typeof packageTypeSchema>;
61
+ export declare const TravelPackageSchema: z.ZodObject<{
62
+ slug: z.ZodString;
63
+ title: z.ZodString;
64
+ description: z.ZodString;
65
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
66
+ packageImages: z.ZodArray<z.ZodString, "many">;
67
+ categoryId: z.ZodEnum<[string, ...string[]]>;
68
+ bookingMode: z.ZodDefault<z.ZodEnum<["enquiry", "booking", "both"]>>;
69
+ basePrice: z.ZodOptional<z.ZodNumber>;
70
+ pricing: z.ZodObject<{
71
+ currency: z.ZodDefault<z.ZodString>;
72
+ pricingStrategies: z.ZodDefault<z.ZodArray<z.ZodObject<{
73
+ _id: z.ZodOptional<z.ZodString>;
74
+ id: z.ZodOptional<z.ZodString>;
75
+ parentStrategyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ defaultStrategyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ basePrice: z.ZodDefault<z.ZodNumber>;
78
+ finalBasePrice: z.ZodDefault<z.ZodNumber>;
79
+ description: z.ZodDefault<z.ZodString>;
80
+ sortOrder: z.ZodOptional<z.ZodNumber>;
81
+ isActive: z.ZodOptional<z.ZodBoolean>;
82
+ gst: z.ZodOptional<z.ZodNumber>;
83
+ governmentTaxes: z.ZodOptional<z.ZodNumber>;
84
+ convenienceFee: z.ZodOptional<z.ZodNumber>;
85
+ platformFee: z.ZodOptional<z.ZodNumber>;
86
+ fees: z.ZodOptional<z.ZodObject<{
87
+ gst: z.ZodDefault<z.ZodNumber>;
88
+ governmentTaxes: z.ZodDefault<z.ZodNumber>;
89
+ convenienceFee: z.ZodDefault<z.ZodNumber>;
90
+ platformFee: z.ZodDefault<z.ZodNumber>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ gst: number;
93
+ governmentTaxes: number;
94
+ convenienceFee: number;
95
+ platformFee: number;
96
+ }, {
97
+ gst?: number | undefined;
98
+ governmentTaxes?: number | undefined;
99
+ convenienceFee?: number | undefined;
100
+ platformFee?: number | undefined;
101
+ }>>;
102
+ guestTotal: z.ZodOptional<z.ZodNumber>;
103
+ startDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
104
+ endDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ basePrice: number;
107
+ finalBasePrice: number;
108
+ description: string;
109
+ _id?: string | undefined;
110
+ id?: string | undefined;
111
+ parentStrategyId?: string | null | undefined;
112
+ defaultStrategyId?: string | null | undefined;
113
+ sortOrder?: number | undefined;
114
+ isActive?: boolean | undefined;
115
+ gst?: number | undefined;
116
+ governmentTaxes?: number | undefined;
117
+ convenienceFee?: number | undefined;
118
+ platformFee?: number | undefined;
119
+ fees?: {
120
+ gst: number;
121
+ governmentTaxes: number;
122
+ convenienceFee: number;
123
+ platformFee: number;
124
+ } | undefined;
125
+ guestTotal?: number | undefined;
126
+ startDate?: string | Date | undefined;
127
+ endDate?: string | Date | undefined;
128
+ }, {
129
+ _id?: string | undefined;
130
+ id?: string | undefined;
131
+ parentStrategyId?: string | null | undefined;
132
+ defaultStrategyId?: string | null | undefined;
133
+ basePrice?: number | undefined;
134
+ finalBasePrice?: number | undefined;
135
+ description?: string | undefined;
136
+ sortOrder?: number | undefined;
137
+ isActive?: boolean | undefined;
138
+ gst?: number | undefined;
139
+ governmentTaxes?: number | undefined;
140
+ convenienceFee?: number | undefined;
141
+ platformFee?: number | undefined;
142
+ fees?: {
143
+ gst?: number | undefined;
144
+ governmentTaxes?: number | undefined;
145
+ convenienceFee?: number | undefined;
146
+ platformFee?: number | undefined;
147
+ } | undefined;
148
+ guestTotal?: number | undefined;
149
+ startDate?: string | Date | undefined;
150
+ endDate?: string | Date | undefined;
151
+ }>, "many">>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ currency: string;
154
+ pricingStrategies: {
155
+ basePrice: number;
156
+ finalBasePrice: number;
157
+ description: string;
158
+ _id?: string | undefined;
159
+ id?: string | undefined;
160
+ parentStrategyId?: string | null | undefined;
161
+ defaultStrategyId?: string | null | undefined;
162
+ sortOrder?: number | undefined;
163
+ isActive?: boolean | undefined;
164
+ gst?: number | undefined;
165
+ governmentTaxes?: number | undefined;
166
+ convenienceFee?: number | undefined;
167
+ platformFee?: number | undefined;
168
+ fees?: {
169
+ gst: number;
170
+ governmentTaxes: number;
171
+ convenienceFee: number;
172
+ platformFee: number;
173
+ } | undefined;
174
+ guestTotal?: number | undefined;
175
+ startDate?: string | Date | undefined;
176
+ endDate?: string | Date | undefined;
177
+ }[];
178
+ }, {
179
+ currency?: string | undefined;
180
+ pricingStrategies?: {
181
+ _id?: string | undefined;
182
+ id?: string | undefined;
183
+ parentStrategyId?: string | null | undefined;
184
+ defaultStrategyId?: string | null | undefined;
185
+ basePrice?: number | undefined;
186
+ finalBasePrice?: number | undefined;
187
+ description?: string | undefined;
188
+ sortOrder?: number | undefined;
189
+ isActive?: boolean | undefined;
190
+ gst?: number | undefined;
191
+ governmentTaxes?: number | undefined;
192
+ convenienceFee?: number | undefined;
193
+ platformFee?: number | undefined;
194
+ fees?: {
195
+ gst?: number | undefined;
196
+ governmentTaxes?: number | undefined;
197
+ convenienceFee?: number | undefined;
198
+ platformFee?: number | undefined;
199
+ } | undefined;
200
+ guestTotal?: number | undefined;
201
+ startDate?: string | Date | undefined;
202
+ endDate?: string | Date | undefined;
203
+ }[] | undefined;
204
+ }>;
205
+ discount: z.ZodOptional<z.ZodObject<{
206
+ discountStrategies: z.ZodDefault<z.ZodArray<z.ZodObject<{
207
+ type: z.ZodDefault<z.ZodEnum<["duration", "last-minute", "temporary-promotion", "coupon"]>>;
208
+ couponCode: z.ZodOptional<z.ZodString>;
209
+ couponScope: z.ZodOptional<z.ZodEnum<["listing", "host", "platform"]>>;
210
+ discountAppliesTo: z.ZodOptional<z.ZodEnum<["booking-total", "platform-fees"]>>;
211
+ createdBy: z.ZodOptional<z.ZodEnum<["admin", "host"]>>;
212
+ maxRedemptions: z.ZodOptional<z.ZodNumber>;
213
+ maxRedemptionsPerUser: z.ZodOptional<z.ZodNumber>;
214
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
215
+ durationType: z.ZodDefault<z.ZodEnum<["weekly", "fifteen-days", "monthly", "custom", ""]>>;
216
+ minDays: z.ZodDefault<z.ZodNumber>;
217
+ discountType: z.ZodDefault<z.ZodEnum<["percentage", "flat"]>>;
218
+ discountValue: z.ZodDefault<z.ZodNumber>;
219
+ startDate: z.ZodOptional<z.ZodString>;
220
+ endDate: z.ZodOptional<z.ZodString>;
221
+ description: z.ZodDefault<z.ZodString>;
222
+ suggestedByPlatform: z.ZodDefault<z.ZodBoolean>;
223
+ active: z.ZodDefault<z.ZodBoolean>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ description: string;
226
+ type: "duration" | "last-minute" | "temporary-promotion" | "coupon";
227
+ durationType: "" | "custom" | "weekly" | "monthly" | "fifteen-days";
228
+ minDays: number;
229
+ discountType: "flat" | "percentage";
230
+ discountValue: number;
231
+ suggestedByPlatform: boolean;
232
+ active: boolean;
233
+ startDate?: string | undefined;
234
+ endDate?: string | undefined;
235
+ couponCode?: string | undefined;
236
+ couponScope?: "listing" | "host" | "platform" | undefined;
237
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
238
+ createdBy?: "host" | "admin" | undefined;
239
+ maxRedemptions?: number | undefined;
240
+ maxRedemptionsPerUser?: number | undefined;
241
+ minimumOrderValue?: number | undefined;
242
+ }, {
243
+ description?: string | undefined;
244
+ type?: "duration" | "last-minute" | "temporary-promotion" | "coupon" | undefined;
245
+ startDate?: string | undefined;
246
+ endDate?: string | undefined;
247
+ couponCode?: string | undefined;
248
+ couponScope?: "listing" | "host" | "platform" | undefined;
249
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
250
+ createdBy?: "host" | "admin" | undefined;
251
+ maxRedemptions?: number | undefined;
252
+ maxRedemptionsPerUser?: number | undefined;
253
+ minimumOrderValue?: number | undefined;
254
+ durationType?: "" | "custom" | "weekly" | "monthly" | "fifteen-days" | undefined;
255
+ minDays?: number | undefined;
256
+ discountType?: "flat" | "percentage" | undefined;
257
+ discountValue?: number | undefined;
258
+ suggestedByPlatform?: boolean | undefined;
259
+ active?: boolean | undefined;
260
+ }>, "many">>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ discountStrategies: {
263
+ description: string;
264
+ type: "duration" | "last-minute" | "temporary-promotion" | "coupon";
265
+ durationType: "" | "custom" | "weekly" | "monthly" | "fifteen-days";
266
+ minDays: number;
267
+ discountType: "flat" | "percentage";
268
+ discountValue: number;
269
+ suggestedByPlatform: boolean;
270
+ active: boolean;
271
+ startDate?: string | undefined;
272
+ endDate?: string | undefined;
273
+ couponCode?: string | undefined;
274
+ couponScope?: "listing" | "host" | "platform" | undefined;
275
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
276
+ createdBy?: "host" | "admin" | undefined;
277
+ maxRedemptions?: number | undefined;
278
+ maxRedemptionsPerUser?: number | undefined;
279
+ minimumOrderValue?: number | undefined;
280
+ }[];
281
+ }, {
282
+ discountStrategies?: {
283
+ description?: string | undefined;
284
+ type?: "duration" | "last-minute" | "temporary-promotion" | "coupon" | undefined;
285
+ startDate?: string | undefined;
286
+ endDate?: string | undefined;
287
+ couponCode?: string | undefined;
288
+ couponScope?: "listing" | "host" | "platform" | undefined;
289
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
290
+ createdBy?: "host" | "admin" | undefined;
291
+ maxRedemptions?: number | undefined;
292
+ maxRedemptionsPerUser?: number | undefined;
293
+ minimumOrderValue?: number | undefined;
294
+ durationType?: "" | "custom" | "weekly" | "monthly" | "fifteen-days" | undefined;
295
+ minDays?: number | undefined;
296
+ discountType?: "flat" | "percentage" | undefined;
297
+ discountValue?: number | undefined;
298
+ suggestedByPlatform?: boolean | undefined;
299
+ active?: boolean | undefined;
300
+ }[] | undefined;
301
+ }>>;
302
+ difficultyLevel: z.ZodOptional<z.ZodNativeEnum<typeof DifficultyEnum>>;
303
+ city: z.ZodString;
304
+ state: z.ZodString;
305
+ country: z.ZodString;
306
+ availableFrom: z.ZodDate;
307
+ frequency: z.ZodDefault<z.ZodEnum<["daily", "weekly", "bi-weekly", "monthly", "yearly", "custom"]>>;
308
+ customFrequencyDays: z.ZodOptional<z.ZodNumber>;
309
+ duration: z.ZodNumber;
310
+ itinerary: z.ZodArray<z.ZodObject<{
311
+ day: z.ZodNumber;
312
+ title: z.ZodString;
313
+ message: z.ZodOptional<z.ZodString>;
314
+ route: z.ZodArray<z.ZodString, "many">;
315
+ facilities: z.ZodArray<z.ZodString, "many">;
316
+ mode: z.ZodOptional<z.ZodString>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ day: number;
319
+ title: string;
320
+ route: string[];
321
+ facilities: string[];
322
+ message?: string | undefined;
323
+ mode?: string | undefined;
324
+ }, {
325
+ day: number;
326
+ title: string;
327
+ route: string[];
328
+ facilities: string[];
329
+ message?: string | undefined;
330
+ mode?: string | undefined;
331
+ }>, "many">;
332
+ whatsIncluded: z.ZodArray<z.ZodString, "many">;
333
+ whatsNotIncluded: z.ZodArray<z.ZodString, "many">;
334
+ urgent: z.ZodOptional<z.ZodBoolean>;
335
+ applicationCount: z.ZodOptional<z.ZodNumber>;
336
+ peopleRequired: z.ZodNumber;
337
+ blockedDates: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodDate, z.ZodString]>, "many">>;
338
+ inventoryBlocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
+ date: z.ZodUnion<[z.ZodDate, z.ZodString]>;
340
+ count: z.ZodNumber;
341
+ }, "strip", z.ZodTypeAny, {
342
+ date: string | Date;
343
+ count: number;
344
+ }, {
345
+ date: string | Date;
346
+ count: number;
347
+ }>, "many">>;
348
+ thingsToDo: z.ZodArray<z.ZodString, "many">;
349
+ thingsNotToDo: z.ZodArray<z.ZodString, "many">;
350
+ thingsToCarry: z.ZodArray<z.ZodString, "many">;
351
+ questions: z.ZodArray<z.ZodObject<{
352
+ question: z.ZodString;
353
+ answer: z.ZodString;
354
+ }, "strict", z.ZodTypeAny, {
355
+ question: string;
356
+ answer: string;
357
+ }, {
358
+ question: string;
359
+ answer: string;
360
+ }>, "many">;
361
+ rating: z.ZodNumber;
362
+ ratingCount: z.ZodNumber;
363
+ reviewCount: z.ZodNumber;
364
+ hostId: z.ZodLazy<z.ZodObject<{
365
+ username: z.ZodString;
366
+ firstName: z.ZodString;
367
+ lastName: z.ZodString;
368
+ email: z.ZodString;
369
+ password: z.ZodString;
370
+ phoneNumber: z.ZodString;
371
+ countryCode: z.ZodString;
372
+ country: z.ZodString;
373
+ location: z.ZodOptional<z.ZodString>;
374
+ pinCode: z.ZodOptional<z.ZodString>;
375
+ dob: z.ZodOptional<z.ZodDate>;
376
+ gender: z.ZodEnum<["male", "female", "other"]>;
377
+ profilePic: z.ZodOptional<z.ZodString>;
378
+ rating: z.ZodNumber;
379
+ ratingCount: z.ZodNumber;
380
+ reviewCount: z.ZodNumber;
381
+ blogsCount: z.ZodOptional<z.ZodNumber>;
382
+ joinedDate: z.ZodDate;
383
+ isActive: z.ZodBoolean;
384
+ lastActive: z.ZodDate;
385
+ userBio: z.ZodOptional<z.ZodString>;
386
+ userIdCard: z.ZodOptional<z.ZodString>;
387
+ watchHistory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
388
+ accessToken: z.ZodOptional<z.ZodString>;
389
+ refreshToken: z.ZodOptional<z.ZodString>;
390
+ verifiedEmail: z.ZodBoolean;
391
+ verifiedMobile: z.ZodBoolean;
392
+ verifiedIdCard: z.ZodOptional<z.ZodBoolean>;
393
+ role: z.ZodEnum<["host", "user", "admin", "hr", "sales"]>;
394
+ socialLinks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["instagram", "linkedin", "youtube", "googleBusiness"]>, z.ZodString>>;
395
+ userResume: z.ZodOptional<z.ZodString>;
396
+ skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
397
+ skill: z.ZodString;
398
+ skillExpertise: z.ZodNumber;
399
+ }, "strip", z.ZodTypeAny, {
400
+ skill: string;
401
+ skillExpertise: number;
402
+ }, {
403
+ skill: string;
404
+ skillExpertise: number;
405
+ }>, "many">>;
406
+ wishlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
+ favBlogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
408
+ favPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
409
+ id: z.ZodOptional<z.ZodString>;
410
+ selfie: z.ZodOptional<z.ZodString>;
411
+ selfieAction: z.ZodOptional<z.ZodString>;
412
+ jobCount: z.ZodOptional<z.ZodNumber>;
413
+ travelPackageCount: z.ZodOptional<z.ZodNumber>;
414
+ gstNumber: z.ZodOptional<z.ZodString>;
415
+ panCard: z.ZodOptional<z.ZodString>;
416
+ verifiedBusiness: z.ZodOptional<z.ZodEnum<["true", "false", "inProgress"]>>;
417
+ properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
418
+ name: z.ZodString;
419
+ type: z.ZodString;
420
+ address: z.ZodString;
421
+ city: z.ZodString;
422
+ state: z.ZodString;
423
+ country: z.ZodString;
424
+ pinCode: z.ZodOptional<z.ZodString>;
425
+ registrationNumber: z.ZodOptional<z.ZodString>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ type: string;
428
+ name: string;
429
+ city: string;
430
+ state: string;
431
+ country: string;
432
+ address: string;
433
+ pinCode?: string | undefined;
434
+ registrationNumber?: string | undefined;
435
+ }, {
436
+ type: string;
437
+ name: string;
438
+ city: string;
439
+ state: string;
440
+ country: string;
441
+ address: string;
442
+ pinCode?: string | undefined;
443
+ registrationNumber?: string | undefined;
444
+ }>, "many">>;
445
+ businessDocument: z.ZodOptional<z.ZodString>;
446
+ businessIdType: z.ZodOptional<z.ZodEnum<["PAN", "GST", "Udyam", "PersonalPAN"]>>;
447
+ businessIdNumber: z.ZodOptional<z.ZodString>;
448
+ businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
449
+ businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
450
+ }, "strict", z.ZodTypeAny, {
451
+ isActive: boolean;
452
+ country: string;
453
+ rating: number;
454
+ ratingCount: number;
455
+ reviewCount: number;
456
+ username: string;
457
+ firstName: string;
458
+ lastName: string;
459
+ email: string;
460
+ password: string;
461
+ phoneNumber: string;
462
+ countryCode: string;
463
+ gender: "male" | "female" | "other";
464
+ joinedDate: Date;
465
+ lastActive: Date;
466
+ verifiedEmail: boolean;
467
+ verifiedMobile: boolean;
468
+ role: "host" | "admin" | "user" | "hr" | "sales";
469
+ id?: string | undefined;
470
+ location?: string | undefined;
471
+ pinCode?: string | undefined;
472
+ dob?: Date | undefined;
473
+ profilePic?: string | undefined;
474
+ blogsCount?: number | undefined;
475
+ userBio?: string | undefined;
476
+ userIdCard?: string | undefined;
477
+ watchHistory?: string[] | undefined;
478
+ accessToken?: string | undefined;
479
+ refreshToken?: string | undefined;
480
+ verifiedIdCard?: boolean | undefined;
481
+ socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
482
+ userResume?: string | undefined;
483
+ skills?: {
484
+ skill: string;
485
+ skillExpertise: number;
486
+ }[] | undefined;
487
+ wishlist?: string[] | undefined;
488
+ favBlogs?: string[] | undefined;
489
+ favPackages?: string[] | undefined;
490
+ selfie?: string | undefined;
491
+ selfieAction?: string | undefined;
492
+ jobCount?: number | undefined;
493
+ travelPackageCount?: number | undefined;
494
+ gstNumber?: string | undefined;
495
+ panCard?: string | undefined;
496
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
497
+ properties?: {
498
+ type: string;
499
+ name: string;
500
+ city: string;
501
+ state: string;
502
+ country: string;
503
+ address: string;
504
+ pinCode?: string | undefined;
505
+ registrationNumber?: string | undefined;
506
+ }[] | undefined;
507
+ businessDocument?: string | undefined;
508
+ businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
509
+ businessIdNumber?: string | undefined;
510
+ businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
511
+ businessVerificationDenialReason?: string | undefined;
512
+ }, {
513
+ isActive: boolean;
514
+ country: string;
515
+ rating: number;
516
+ ratingCount: number;
517
+ reviewCount: number;
518
+ username: string;
519
+ firstName: string;
520
+ lastName: string;
521
+ email: string;
522
+ password: string;
523
+ phoneNumber: string;
524
+ countryCode: string;
525
+ gender: "male" | "female" | "other";
526
+ joinedDate: Date;
527
+ lastActive: Date;
528
+ verifiedEmail: boolean;
529
+ verifiedMobile: boolean;
530
+ role: "host" | "admin" | "user" | "hr" | "sales";
531
+ id?: string | undefined;
532
+ location?: string | undefined;
533
+ pinCode?: string | undefined;
534
+ dob?: Date | undefined;
535
+ profilePic?: string | undefined;
536
+ blogsCount?: number | undefined;
537
+ userBio?: string | undefined;
538
+ userIdCard?: string | undefined;
539
+ watchHistory?: string[] | undefined;
540
+ accessToken?: string | undefined;
541
+ refreshToken?: string | undefined;
542
+ verifiedIdCard?: boolean | undefined;
543
+ socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
544
+ userResume?: string | undefined;
545
+ skills?: {
546
+ skill: string;
547
+ skillExpertise: number;
548
+ }[] | undefined;
549
+ wishlist?: string[] | undefined;
550
+ favBlogs?: string[] | undefined;
551
+ favPackages?: string[] | undefined;
552
+ selfie?: string | undefined;
553
+ selfieAction?: string | undefined;
554
+ jobCount?: number | undefined;
555
+ travelPackageCount?: number | undefined;
556
+ gstNumber?: string | undefined;
557
+ panCard?: string | undefined;
558
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
559
+ properties?: {
560
+ type: string;
561
+ name: string;
562
+ city: string;
563
+ state: string;
564
+ country: string;
565
+ address: string;
566
+ pinCode?: string | undefined;
567
+ registrationNumber?: string | undefined;
568
+ }[] | undefined;
569
+ businessDocument?: string | undefined;
570
+ businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
571
+ businessIdNumber?: string | undefined;
572
+ businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
573
+ businessVerificationDenialReason?: string | undefined;
574
+ }>>;
575
+ views: z.ZodNumber;
576
+ status: z.ZodEnum<[string, ...string[]]>;
577
+ activities: z.ZodOptional<z.ZodArray<z.ZodObject<{
578
+ name: z.ZodString;
579
+ type: z.ZodEnum<["optional", "compulsory"]>;
580
+ day: z.ZodOptional<z.ZodNumber>;
581
+ additionalPrice: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ type: "optional" | "compulsory";
584
+ name: string;
585
+ additionalPrice: number;
586
+ day?: number | undefined;
587
+ }, {
588
+ type: "optional" | "compulsory";
589
+ name: string;
590
+ day?: number | undefined;
591
+ additionalPrice?: number | undefined;
592
+ }>, "many">>;
593
+ createdAt: z.ZodOptional<z.ZodDate>;
594
+ updatedAt: z.ZodOptional<z.ZodDate>;
595
+ }, "strip", z.ZodTypeAny, {
596
+ description: string;
597
+ status: string;
598
+ pricing: {
599
+ currency: string;
600
+ pricingStrategies: {
601
+ basePrice: number;
602
+ finalBasePrice: number;
603
+ description: string;
604
+ _id?: string | undefined;
605
+ id?: string | undefined;
606
+ parentStrategyId?: string | null | undefined;
607
+ defaultStrategyId?: string | null | undefined;
608
+ sortOrder?: number | undefined;
609
+ isActive?: boolean | undefined;
610
+ gst?: number | undefined;
611
+ governmentTaxes?: number | undefined;
612
+ convenienceFee?: number | undefined;
613
+ platformFee?: number | undefined;
614
+ fees?: {
615
+ gst: number;
616
+ governmentTaxes: number;
617
+ convenienceFee: number;
618
+ platformFee: number;
619
+ } | undefined;
620
+ guestTotal?: number | undefined;
621
+ startDate?: string | Date | undefined;
622
+ endDate?: string | Date | undefined;
623
+ }[];
624
+ };
625
+ title: string;
626
+ slug: string;
627
+ packageImages: string[];
628
+ categoryId: string;
629
+ bookingMode: "enquiry" | "booking" | "both";
630
+ duration: number;
631
+ city: string;
632
+ state: string;
633
+ country: string;
634
+ availableFrom: Date;
635
+ frequency: "custom" | "daily" | "weekly" | "bi-weekly" | "monthly" | "yearly";
636
+ itinerary: {
637
+ day: number;
638
+ title: string;
639
+ route: string[];
640
+ facilities: string[];
641
+ message?: string | undefined;
642
+ mode?: string | undefined;
643
+ }[];
644
+ whatsIncluded: string[];
645
+ whatsNotIncluded: string[];
646
+ peopleRequired: number;
647
+ thingsToDo: string[];
648
+ thingsNotToDo: string[];
649
+ thingsToCarry: string[];
650
+ questions: {
651
+ question: string;
652
+ answer: string;
653
+ }[];
654
+ rating: number;
655
+ ratingCount: number;
656
+ reviewCount: number;
657
+ hostId: {
658
+ isActive: boolean;
659
+ country: string;
660
+ rating: number;
661
+ ratingCount: number;
662
+ reviewCount: number;
663
+ username: string;
664
+ firstName: string;
665
+ lastName: string;
666
+ email: string;
667
+ password: string;
668
+ phoneNumber: string;
669
+ countryCode: string;
670
+ gender: "male" | "female" | "other";
671
+ joinedDate: Date;
672
+ lastActive: Date;
673
+ verifiedEmail: boolean;
674
+ verifiedMobile: boolean;
675
+ role: "host" | "admin" | "user" | "hr" | "sales";
676
+ id?: string | undefined;
677
+ location?: string | undefined;
678
+ pinCode?: string | undefined;
679
+ dob?: Date | undefined;
680
+ profilePic?: string | undefined;
681
+ blogsCount?: number | undefined;
682
+ userBio?: string | undefined;
683
+ userIdCard?: string | undefined;
684
+ watchHistory?: string[] | undefined;
685
+ accessToken?: string | undefined;
686
+ refreshToken?: string | undefined;
687
+ verifiedIdCard?: boolean | undefined;
688
+ socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
689
+ userResume?: string | undefined;
690
+ skills?: {
691
+ skill: string;
692
+ skillExpertise: number;
693
+ }[] | undefined;
694
+ wishlist?: string[] | undefined;
695
+ favBlogs?: string[] | undefined;
696
+ favPackages?: string[] | undefined;
697
+ selfie?: string | undefined;
698
+ selfieAction?: string | undefined;
699
+ jobCount?: number | undefined;
700
+ travelPackageCount?: number | undefined;
701
+ gstNumber?: string | undefined;
702
+ panCard?: string | undefined;
703
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
704
+ properties?: {
705
+ type: string;
706
+ name: string;
707
+ city: string;
708
+ state: string;
709
+ country: string;
710
+ address: string;
711
+ pinCode?: string | undefined;
712
+ registrationNumber?: string | undefined;
713
+ }[] | undefined;
714
+ businessDocument?: string | undefined;
715
+ businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
716
+ businessIdNumber?: string | undefined;
717
+ businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
718
+ businessVerificationDenialReason?: string | undefined;
719
+ };
720
+ views: number;
721
+ basePrice?: number | undefined;
722
+ highlights?: string[] | undefined;
723
+ discount?: {
724
+ discountStrategies: {
725
+ description: string;
726
+ type: "duration" | "last-minute" | "temporary-promotion" | "coupon";
727
+ durationType: "" | "custom" | "weekly" | "monthly" | "fifteen-days";
728
+ minDays: number;
729
+ discountType: "flat" | "percentage";
730
+ discountValue: number;
731
+ suggestedByPlatform: boolean;
732
+ active: boolean;
733
+ startDate?: string | undefined;
734
+ endDate?: string | undefined;
735
+ couponCode?: string | undefined;
736
+ couponScope?: "listing" | "host" | "platform" | undefined;
737
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
738
+ createdBy?: "host" | "admin" | undefined;
739
+ maxRedemptions?: number | undefined;
740
+ maxRedemptionsPerUser?: number | undefined;
741
+ minimumOrderValue?: number | undefined;
742
+ }[];
743
+ } | undefined;
744
+ difficultyLevel?: DifficultyEnum | undefined;
745
+ customFrequencyDays?: number | undefined;
746
+ urgent?: boolean | undefined;
747
+ applicationCount?: number | undefined;
748
+ blockedDates?: (string | Date)[] | undefined;
749
+ inventoryBlocks?: {
750
+ date: string | Date;
751
+ count: number;
752
+ }[] | undefined;
753
+ activities?: {
754
+ type: "optional" | "compulsory";
755
+ name: string;
756
+ additionalPrice: number;
757
+ day?: number | undefined;
758
+ }[] | undefined;
759
+ createdAt?: Date | undefined;
760
+ updatedAt?: Date | undefined;
761
+ }, {
762
+ description: string;
763
+ status: string;
764
+ pricing: {
765
+ currency?: string | undefined;
766
+ pricingStrategies?: {
767
+ _id?: string | undefined;
768
+ id?: string | undefined;
769
+ parentStrategyId?: string | null | undefined;
770
+ defaultStrategyId?: string | null | undefined;
771
+ basePrice?: number | undefined;
772
+ finalBasePrice?: number | undefined;
773
+ description?: string | undefined;
774
+ sortOrder?: number | undefined;
775
+ isActive?: boolean | undefined;
776
+ gst?: number | undefined;
777
+ governmentTaxes?: number | undefined;
778
+ convenienceFee?: number | undefined;
779
+ platformFee?: number | undefined;
780
+ fees?: {
781
+ gst?: number | undefined;
782
+ governmentTaxes?: number | undefined;
783
+ convenienceFee?: number | undefined;
784
+ platformFee?: number | undefined;
785
+ } | undefined;
786
+ guestTotal?: number | undefined;
787
+ startDate?: string | Date | undefined;
788
+ endDate?: string | Date | undefined;
789
+ }[] | undefined;
790
+ };
791
+ title: string;
792
+ slug: string;
793
+ packageImages: string[];
794
+ categoryId: string;
795
+ duration: number;
796
+ city: string;
797
+ state: string;
798
+ country: string;
799
+ availableFrom: Date;
800
+ itinerary: {
801
+ day: number;
802
+ title: string;
803
+ route: string[];
804
+ facilities: string[];
805
+ message?: string | undefined;
806
+ mode?: string | undefined;
807
+ }[];
808
+ whatsIncluded: string[];
809
+ whatsNotIncluded: string[];
810
+ peopleRequired: number;
811
+ thingsToDo: string[];
812
+ thingsNotToDo: string[];
813
+ thingsToCarry: string[];
814
+ questions: {
815
+ question: string;
816
+ answer: string;
817
+ }[];
818
+ rating: number;
819
+ ratingCount: number;
820
+ reviewCount: number;
821
+ hostId: {
822
+ isActive: boolean;
823
+ country: string;
824
+ rating: number;
825
+ ratingCount: number;
826
+ reviewCount: number;
827
+ username: string;
828
+ firstName: string;
829
+ lastName: string;
830
+ email: string;
831
+ password: string;
832
+ phoneNumber: string;
833
+ countryCode: string;
834
+ gender: "male" | "female" | "other";
835
+ joinedDate: Date;
836
+ lastActive: Date;
837
+ verifiedEmail: boolean;
838
+ verifiedMobile: boolean;
839
+ role: "host" | "admin" | "user" | "hr" | "sales";
840
+ id?: string | undefined;
841
+ location?: string | undefined;
842
+ pinCode?: string | undefined;
843
+ dob?: Date | undefined;
844
+ profilePic?: string | undefined;
845
+ blogsCount?: number | undefined;
846
+ userBio?: string | undefined;
847
+ userIdCard?: string | undefined;
848
+ watchHistory?: string[] | undefined;
849
+ accessToken?: string | undefined;
850
+ refreshToken?: string | undefined;
851
+ verifiedIdCard?: boolean | undefined;
852
+ socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
853
+ userResume?: string | undefined;
854
+ skills?: {
855
+ skill: string;
856
+ skillExpertise: number;
857
+ }[] | undefined;
858
+ wishlist?: string[] | undefined;
859
+ favBlogs?: string[] | undefined;
860
+ favPackages?: string[] | undefined;
861
+ selfie?: string | undefined;
862
+ selfieAction?: string | undefined;
863
+ jobCount?: number | undefined;
864
+ travelPackageCount?: number | undefined;
865
+ gstNumber?: string | undefined;
866
+ panCard?: string | undefined;
867
+ verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
868
+ properties?: {
869
+ type: string;
870
+ name: string;
871
+ city: string;
872
+ state: string;
873
+ country: string;
874
+ address: string;
875
+ pinCode?: string | undefined;
876
+ registrationNumber?: string | undefined;
877
+ }[] | undefined;
878
+ businessDocument?: string | undefined;
879
+ businessIdType?: "PAN" | "GST" | "Udyam" | "PersonalPAN" | undefined;
880
+ businessIdNumber?: string | undefined;
881
+ businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
882
+ businessVerificationDenialReason?: string | undefined;
883
+ };
884
+ views: number;
885
+ basePrice?: number | undefined;
886
+ highlights?: string[] | undefined;
887
+ bookingMode?: "enquiry" | "booking" | "both" | undefined;
888
+ discount?: {
889
+ discountStrategies?: {
890
+ description?: string | undefined;
891
+ type?: "duration" | "last-minute" | "temporary-promotion" | "coupon" | undefined;
892
+ startDate?: string | undefined;
893
+ endDate?: string | undefined;
894
+ couponCode?: string | undefined;
895
+ couponScope?: "listing" | "host" | "platform" | undefined;
896
+ discountAppliesTo?: "booking-total" | "platform-fees" | undefined;
897
+ createdBy?: "host" | "admin" | undefined;
898
+ maxRedemptions?: number | undefined;
899
+ maxRedemptionsPerUser?: number | undefined;
900
+ minimumOrderValue?: number | undefined;
901
+ durationType?: "" | "custom" | "weekly" | "monthly" | "fifteen-days" | undefined;
902
+ minDays?: number | undefined;
903
+ discountType?: "flat" | "percentage" | undefined;
904
+ discountValue?: number | undefined;
905
+ suggestedByPlatform?: boolean | undefined;
906
+ active?: boolean | undefined;
907
+ }[] | undefined;
908
+ } | undefined;
909
+ difficultyLevel?: DifficultyEnum | undefined;
910
+ frequency?: "custom" | "daily" | "weekly" | "bi-weekly" | "monthly" | "yearly" | undefined;
911
+ customFrequencyDays?: number | undefined;
912
+ urgent?: boolean | undefined;
913
+ applicationCount?: number | undefined;
914
+ blockedDates?: (string | Date)[] | undefined;
915
+ inventoryBlocks?: {
916
+ date: string | Date;
917
+ count: number;
918
+ }[] | undefined;
919
+ activities?: {
920
+ type: "optional" | "compulsory";
921
+ name: string;
922
+ day?: number | undefined;
923
+ additionalPrice?: number | undefined;
924
+ }[] | undefined;
925
+ createdAt?: Date | undefined;
926
+ updatedAt?: Date | undefined;
927
+ }>;
928
+ export type TravelPackage = z.infer<typeof TravelPackageSchema>;
929
+ export type ItineraryItem = z.infer<typeof ItineraryItemSchema>;
930
+ export type ActivityItem = z.infer<typeof ActivitySchema>;
931
+ export type PricingStrategyItem = z.infer<typeof PricingStrategySchema>;
932
+ export type TravelPackagePricing = z.infer<typeof PricingSchema>;
933
+ export type TravelPackageMetaData = {
934
+ image: string;
935
+ title: string;
936
+ location: string;
937
+ packageType: string;
938
+ highlights?: string[];
939
+ categoryId?: string;
940
+ };
941
+ export declare function convertDifficultToNum(difficulty: "easy" | "medium" | "hard"): number;
942
+ export {};
943
+ //# sourceMappingURL=travelPackage.d.ts.map