@timardex/cluemart-server-shared 1.0.280 → 1.0.284

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.
@@ -0,0 +1,396 @@
1
+ import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
+ import { RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, SocialShareResourceType, RelationType, AffiliateRewardType, AffiliateResourceType, AffiliateType } from '@timardex/cluemart-shared';
3
+ import mongoose__default from 'mongoose';
4
+ import { O as ObjectId } from './Chat-Bnqec74U.js';
5
+
6
+ type SchemaRelatedPostType = Omit<RelatedPostType, "postId"> & {
7
+ postId: ObjectId;
8
+ };
9
+ type SchemaOwnerType = Omit<OwnerType, "userId"> & {
10
+ userId: ObjectId;
11
+ };
12
+ declare const OwnerTypeSchema: mongoose__default.Schema<SchemaOwnerType, mongoose__default.Model<SchemaOwnerType, any, any, any, mongoose__default.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
13
+ userId: ObjectId;
14
+ } & {
15
+ _id: mongoose__default.Types.ObjectId;
16
+ } & {
17
+ __v: number;
18
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaOwnerType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaOwnerType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaOwnerType> & {
19
+ _id: mongoose__default.Types.ObjectId;
20
+ } & {
21
+ __v: number;
22
+ }>;
23
+ declare const SocialMediaTypeSchema: mongoose__default.Schema<SocialMediaType, mongoose__default.Model<SocialMediaType, any, any, any, mongoose__default.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
24
+ _id: mongoose__default.Types.ObjectId;
25
+ } & {
26
+ __v: number;
27
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SocialMediaType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SocialMediaType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SocialMediaType> & {
28
+ _id: mongoose__default.Types.ObjectId;
29
+ } & {
30
+ __v: number;
31
+ }>;
32
+ declare const ResourceImageTypeSchema: mongoose__default.Schema<ResourceImageType, mongoose__default.Model<ResourceImageType, any, any, any, mongoose__default.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
33
+ _id: mongoose__default.Types.ObjectId;
34
+ } & {
35
+ __v: number;
36
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceImageType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceImageType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceImageType> & {
37
+ _id: mongoose__default.Types.ObjectId;
38
+ } & {
39
+ __v: number;
40
+ }>;
41
+ declare const CategorySchema: mongoose__default.Schema<Category, mongoose__default.Model<Category, any, any, any, mongoose__default.Document<unknown, any, Category, any, {}> & Category & {
42
+ _id: mongoose__default.Types.ObjectId;
43
+ } & {
44
+ __v: number;
45
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, Category, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<Category>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<Category> & {
46
+ _id: mongoose__default.Types.ObjectId;
47
+ } & {
48
+ __v: number;
49
+ }>;
50
+ declare const userLicenseSchema: mongoose__default.Schema<UserLicenceType, mongoose__default.Model<UserLicenceType, any, any, any, mongoose__default.Document<unknown, any, UserLicenceType, any, {}> & UserLicenceType & {
51
+ _id: mongoose__default.Types.ObjectId;
52
+ } & {
53
+ __v: number;
54
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, UserLicenceType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<UserLicenceType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<UserLicenceType> & {
55
+ _id: mongoose__default.Types.ObjectId;
56
+ } & {
57
+ __v: number;
58
+ }>;
59
+ declare const associatesSchema: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
60
+ _id: mongoose__default.Types.ObjectId;
61
+ } & {
62
+ __v: number;
63
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
64
+ _id: mongoose__default.Types.ObjectId;
65
+ } & {
66
+ __v: number;
67
+ }>;
68
+ declare const ContactDetailsSchema: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
69
+ _id: mongoose__default.Types.ObjectId;
70
+ } & {
71
+ __v: number;
72
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceContactDetailsType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceContactDetailsType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceContactDetailsType> & {
73
+ _id: mongoose__default.Types.ObjectId;
74
+ } & {
75
+ __v: number;
76
+ }>;
77
+ declare const termsAgreementSchema: mongoose__default.Schema<TermsAgreement, mongoose__default.Model<TermsAgreement, any, any, any, mongoose__default.Document<unknown, any, TermsAgreement, any, {}> & _timardex_cluemart_shared.DeviceInfo & {
78
+ termVersion: string;
79
+ } & {
80
+ _id: mongoose__default.Types.ObjectId;
81
+ } & {
82
+ __v: number;
83
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, TermsAgreement, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<TermsAgreement>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<TermsAgreement> & {
84
+ _id: mongoose__default.Types.ObjectId;
85
+ } & {
86
+ __v: number;
87
+ }>;
88
+ declare const resourceRelationsSchema: mongoose__default.Schema<{
89
+ relationId: ObjectId;
90
+ relationDates: RelationDate[];
91
+ }, mongoose__default.Model<{
92
+ relationId: ObjectId;
93
+ relationDates: RelationDate[];
94
+ }, any, any, any, mongoose__default.Document<unknown, any, {
95
+ relationId: ObjectId;
96
+ relationDates: RelationDate[];
97
+ }, any, {}> & {
98
+ relationId: ObjectId;
99
+ relationDates: RelationDate[];
100
+ } & {
101
+ _id: mongoose__default.Types.ObjectId;
102
+ } & {
103
+ __v: number;
104
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, {
105
+ relationId: ObjectId;
106
+ relationDates: RelationDate[];
107
+ }, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<{
108
+ relationId: ObjectId;
109
+ relationDates: RelationDate[];
110
+ }>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<{
111
+ relationId: ObjectId;
112
+ relationDates: RelationDate[];
113
+ }> & {
114
+ _id: mongoose__default.Types.ObjectId;
115
+ } & {
116
+ __v: number;
117
+ }>;
118
+ declare const dateTimeSchema: mongoose__default.Schema<DateTimeType, mongoose__default.Model<DateTimeType, any, any, any, mongoose__default.Document<unknown, any, DateTimeType, any, {}> & DateTimeType & {
119
+ _id: mongoose__default.Types.ObjectId;
120
+ } & {
121
+ __v: number;
122
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, DateTimeType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<DateTimeType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<DateTimeType> & {
123
+ _id: mongoose__default.Types.ObjectId;
124
+ } & {
125
+ __v: number;
126
+ }>;
127
+ declare const locationGeoSchema: mongoose__default.Schema<LocationGeoType, mongoose__default.Model<LocationGeoType, any, any, any, mongoose__default.Document<unknown, any, LocationGeoType, any, {}> & LocationGeoType & {
128
+ _id: mongoose__default.Types.ObjectId;
129
+ } & {
130
+ __v: number;
131
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, LocationGeoType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<LocationGeoType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<LocationGeoType> & {
132
+ _id: mongoose__default.Types.ObjectId;
133
+ } & {
134
+ __v: number;
135
+ }>;
136
+ declare const locationsSchema: mongoose__default.Schema<LocationType, mongoose__default.Model<LocationType, any, any, any, mongoose__default.Document<unknown, any, LocationType, any, {}> & LocationType & {
137
+ _id: mongoose__default.Types.ObjectId;
138
+ } & {
139
+ __v: number;
140
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, LocationType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<LocationType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<LocationType> & {
141
+ _id: mongoose__default.Types.ObjectId;
142
+ } & {
143
+ __v: number;
144
+ }>;
145
+ declare const relatedPostSchema: mongoose__default.Schema<SchemaRelatedPostType, mongoose__default.Model<SchemaRelatedPostType, any, any, any, mongoose__default.Document<unknown, any, SchemaRelatedPostType, any, {}> & Omit<RelatedPostType, "postId"> & {
146
+ postId: ObjectId;
147
+ } & {
148
+ _id: mongoose__default.Types.ObjectId;
149
+ } & {
150
+ __v: number;
151
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaRelatedPostType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaRelatedPostType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaRelatedPostType> & {
152
+ _id: mongoose__default.Types.ObjectId;
153
+ } & {
154
+ __v: number;
155
+ }>;
156
+ declare const baseResourceFields: {
157
+ active: {
158
+ default: boolean;
159
+ required: boolean;
160
+ type: BooleanConstructor;
161
+ };
162
+ adIds: {
163
+ ref: string;
164
+ required: boolean;
165
+ type: (typeof mongoose__default.Schema.Types.ObjectId)[];
166
+ };
167
+ associates: {
168
+ required: boolean;
169
+ type: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
170
+ _id: mongoose__default.Types.ObjectId;
171
+ } & {
172
+ __v: number;
173
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
174
+ _id: mongoose__default.Types.ObjectId;
175
+ } & {
176
+ __v: number;
177
+ }>[];
178
+ };
179
+ contactDetails: {
180
+ required: boolean;
181
+ type: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
182
+ _id: mongoose__default.Types.ObjectId;
183
+ } & {
184
+ __v: number;
185
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceContactDetailsType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceContactDetailsType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceContactDetailsType> & {
186
+ _id: mongoose__default.Types.ObjectId;
187
+ } & {
188
+ __v: number;
189
+ }>;
190
+ };
191
+ cover: {
192
+ required: boolean;
193
+ type: mongoose__default.Schema<ResourceImageType, mongoose__default.Model<ResourceImageType, any, any, any, mongoose__default.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
194
+ _id: mongoose__default.Types.ObjectId;
195
+ } & {
196
+ __v: number;
197
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceImageType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceImageType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceImageType> & {
198
+ _id: mongoose__default.Types.ObjectId;
199
+ } & {
200
+ __v: number;
201
+ }>;
202
+ };
203
+ deletedAt: {
204
+ default: null;
205
+ required: boolean;
206
+ type: DateConstructor;
207
+ };
208
+ description: {
209
+ required: boolean;
210
+ type: StringConstructor;
211
+ };
212
+ images: {
213
+ required: boolean;
214
+ type: mongoose__default.Schema<ResourceImageType, mongoose__default.Model<ResourceImageType, any, any, any, mongoose__default.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
215
+ _id: mongoose__default.Types.ObjectId;
216
+ } & {
217
+ __v: number;
218
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceImageType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceImageType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceImageType> & {
219
+ _id: mongoose__default.Types.ObjectId;
220
+ } & {
221
+ __v: number;
222
+ }>[];
223
+ };
224
+ logo: {
225
+ required: boolean;
226
+ type: mongoose__default.Schema<ResourceImageType, mongoose__default.Model<ResourceImageType, any, any, any, mongoose__default.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
227
+ _id: mongoose__default.Types.ObjectId;
228
+ } & {
229
+ __v: number;
230
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ResourceImageType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ResourceImageType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ResourceImageType> & {
231
+ _id: mongoose__default.Types.ObjectId;
232
+ } & {
233
+ __v: number;
234
+ }>;
235
+ };
236
+ name: {
237
+ required: boolean;
238
+ type: StringConstructor;
239
+ };
240
+ owner: {
241
+ required: boolean;
242
+ type: mongoose__default.Schema<SchemaOwnerType, mongoose__default.Model<SchemaOwnerType, any, any, any, mongoose__default.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
243
+ userId: ObjectId;
244
+ } & {
245
+ _id: mongoose__default.Types.ObjectId;
246
+ } & {
247
+ __v: number;
248
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaOwnerType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaOwnerType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaOwnerType> & {
249
+ _id: mongoose__default.Types.ObjectId;
250
+ } & {
251
+ __v: number;
252
+ }>;
253
+ };
254
+ posterUsage: {
255
+ required: boolean;
256
+ type: mongoose__default.Schema<PosterUsageType, mongoose__default.Model<PosterUsageType, any, any, any, mongoose__default.Document<unknown, any, PosterUsageType, any, {}> & PosterUsageType & {
257
+ _id: mongoose__default.Types.ObjectId;
258
+ } & {
259
+ __v: number;
260
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, PosterUsageType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<PosterUsageType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<PosterUsageType> & {
261
+ _id: mongoose__default.Types.ObjectId;
262
+ } & {
263
+ __v: number;
264
+ }>;
265
+ };
266
+ promoCodes: {
267
+ required: boolean;
268
+ type: StringConstructor[];
269
+ };
270
+ rating: {
271
+ required: boolean;
272
+ type: NumberConstructor;
273
+ };
274
+ region: {
275
+ required: boolean;
276
+ type: StringConstructor;
277
+ };
278
+ relatedPost: {
279
+ required: boolean;
280
+ type: mongoose__default.Schema<SchemaRelatedPostType, mongoose__default.Model<SchemaRelatedPostType, any, any, any, mongoose__default.Document<unknown, any, SchemaRelatedPostType, any, {}> & Omit<RelatedPostType, "postId"> & {
281
+ postId: ObjectId;
282
+ } & {
283
+ _id: mongoose__default.Types.ObjectId;
284
+ } & {
285
+ __v: number;
286
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaRelatedPostType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaRelatedPostType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaRelatedPostType> & {
287
+ _id: mongoose__default.Types.ObjectId;
288
+ } & {
289
+ __v: number;
290
+ }>;
291
+ };
292
+ reviewCount: {
293
+ required: boolean;
294
+ type: NumberConstructor;
295
+ };
296
+ slug: {
297
+ required: boolean;
298
+ type: StringConstructor;
299
+ };
300
+ socialMedia: {
301
+ required: boolean;
302
+ type: mongoose__default.Schema<SocialMediaType, mongoose__default.Model<SocialMediaType, any, any, any, mongoose__default.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
303
+ _id: mongoose__default.Types.ObjectId;
304
+ } & {
305
+ __v: number;
306
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SocialMediaType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SocialMediaType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SocialMediaType> & {
307
+ _id: mongoose__default.Types.ObjectId;
308
+ } & {
309
+ __v: number;
310
+ }>[];
311
+ };
312
+ termsAgreement: {
313
+ required: boolean;
314
+ type: mongoose__default.Schema<TermsAgreement, mongoose__default.Model<TermsAgreement, any, any, any, mongoose__default.Document<unknown, any, TermsAgreement, any, {}> & _timardex_cluemart_shared.DeviceInfo & {
315
+ termVersion: string;
316
+ } & {
317
+ _id: mongoose__default.Types.ObjectId;
318
+ } & {
319
+ __v: number;
320
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, TermsAgreement, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<TermsAgreement>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<TermsAgreement> & {
321
+ _id: mongoose__default.Types.ObjectId;
322
+ } & {
323
+ __v: number;
324
+ }>;
325
+ };
326
+ };
327
+ declare const socialShareResourceSchema: mongoose__default.Schema<SocialShareResourceType, mongoose__default.Model<SocialShareResourceType, any, any, any, mongoose__default.Document<unknown, any, SocialShareResourceType, any, {}> & SocialShareResourceType & {
328
+ _id: mongoose__default.Types.ObjectId;
329
+ } & {
330
+ __v: number;
331
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SocialShareResourceType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SocialShareResourceType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SocialShareResourceType> & {
332
+ _id: mongoose__default.Types.ObjectId;
333
+ } & {
334
+ __v: number;
335
+ }>;
336
+
337
+ declare const relationDatesSchema: mongoose__default.Schema<RelationDate, mongoose__default.Model<RelationDate, any, any, any, mongoose__default.Document<unknown, any, RelationDate, any, {}> & RelationDate & {
338
+ _id: mongoose__default.Types.ObjectId;
339
+ } & {
340
+ __v: number;
341
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, RelationDate, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<RelationDate>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<RelationDate> & {
342
+ _id: mongoose__default.Types.ObjectId;
343
+ } & {
344
+ __v: number;
345
+ }>;
346
+ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
347
+ eventId: ObjectId;
348
+ vendorId: ObjectId;
349
+ chatId: ObjectId;
350
+ };
351
+ /**
352
+ * This is the schema for the relation type.
353
+ * It is used to define the structure of the relation type in the database.
354
+ * The schema is used by Mongoose to create a model for the relation type.
355
+ */
356
+ declare const RelationTypeSchema: mongoose__default.Schema<SchemaRelationType, mongoose__default.Model<SchemaRelationType, any, any, any, mongoose__default.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
357
+ eventId: ObjectId;
358
+ vendorId: ObjectId;
359
+ chatId: ObjectId;
360
+ } & Required<{
361
+ _id: string;
362
+ }> & {
363
+ __v: number;
364
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaRelationType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaRelationType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaRelationType> & Required<{
365
+ _id: string;
366
+ }> & {
367
+ __v: number;
368
+ }>;
369
+ declare const RelationModel: mongoose__default.Model<SchemaRelationType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
370
+ eventId: ObjectId;
371
+ vendorId: ObjectId;
372
+ chatId: ObjectId;
373
+ } & Required<{
374
+ _id: string;
375
+ }> & {
376
+ __v: number;
377
+ }, any>;
378
+
379
+ type SchemaAffiliateReward = AffiliateRewardType;
380
+ type SchemaAffiliateResourceType = Omit<AffiliateResourceType, "resourceId"> & {
381
+ resourceId: ObjectId;
382
+ };
383
+ type AffiliateDocument = Omit<AffiliateType, "_id" | "owner" | "affiliateResources"> & {
384
+ affiliateResources: SchemaAffiliateResourceType[];
385
+ owner: SchemaOwnerType;
386
+ };
387
+ declare const AffiliateModel: mongoose__default.Model<AffiliateDocument, {}, {}, {}, mongoose__default.Document<unknown, {}, AffiliateDocument, {}, {}> & Omit<AffiliateType, "_id" | "owner" | "affiliateResources"> & {
388
+ affiliateResources: SchemaAffiliateResourceType[];
389
+ owner: SchemaOwnerType;
390
+ } & {
391
+ _id: mongoose__default.Types.ObjectId;
392
+ } & {
393
+ __v: number;
394
+ }, any>;
395
+
396
+ export { AffiliateModel as A, CategorySchema as C, OwnerTypeSchema as O, ResourceImageTypeSchema as R, type SchemaOwnerType as S, type SchemaRelatedPostType as a, SocialMediaTypeSchema as b, associatesSchema as c, ContactDetailsSchema as d, dateTimeSchema as e, locationsSchema as f, relatedPostSchema as g, baseResourceFields as h, relationDatesSchema as i, type SchemaRelationType as j, RelationTypeSchema as k, locationGeoSchema as l, RelationModel as m, type SchemaAffiliateReward as n, type SchemaAffiliateResourceType as o, resourceRelationsSchema as r, socialShareResourceSchema as s, termsAgreementSchema as t, userLicenseSchema as u };