@timardex/cluemart-server-shared 1.0.215 → 1.0.250

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.
@@ -1,5 +1,5 @@
1
1
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
- import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, SocialImageUrlType, SocialImageType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
3
3
  import mongoose from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-DYkhie3G.mjs';
5
5
  export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DYkhie3G.mjs';
@@ -178,24 +178,6 @@ declare const relatedPostSchema: mongoose.Schema<SchemaRelatedPostType, mongoose
178
178
  } & {
179
179
  __v: number;
180
180
  }>;
181
- declare const socialImageUrlSchema: mongoose.Schema<SocialImageUrlType, mongoose.Model<SocialImageUrlType, any, any, any, mongoose.Document<unknown, any, SocialImageUrlType, any, {}> & SocialImageUrlType & {
182
- _id: mongoose.Types.ObjectId;
183
- } & {
184
- __v: number;
185
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageUrlType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageUrlType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageUrlType> & {
186
- _id: mongoose.Types.ObjectId;
187
- } & {
188
- __v: number;
189
- }>;
190
- declare const socialImageSchema: mongoose.Schema<SocialImageType, mongoose.Model<SocialImageType, any, any, any, mongoose.Document<unknown, any, SocialImageType, any, {}> & SocialImageType & {
191
- _id: mongoose.Types.ObjectId;
192
- } & {
193
- __v: number;
194
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageType> & {
195
- _id: mongoose.Types.ObjectId;
196
- } & {
197
- __v: number;
198
- }>;
199
181
  declare const baseResourceFields: {
200
182
  active: {
201
183
  default: boolean;
@@ -336,18 +318,6 @@ declare const baseResourceFields: {
336
318
  required: boolean;
337
319
  type: NumberConstructor;
338
320
  };
339
- socialImage: {
340
- required: boolean;
341
- type: mongoose.Schema<SocialImageType, mongoose.Model<SocialImageType, any, any, any, mongoose.Document<unknown, any, SocialImageType, any, {}> & SocialImageType & {
342
- _id: mongoose.Types.ObjectId;
343
- } & {
344
- __v: number;
345
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageType> & {
346
- _id: mongoose.Types.ObjectId;
347
- } & {
348
- __v: number;
349
- }>;
350
- };
351
321
  socialMedia: {
352
322
  required: boolean;
353
323
  type: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
@@ -617,4 +587,4 @@ declare const SchoolModel: mongoose.Model<SchoolDocument, {}, {}, {}, mongoose.D
617
587
  __v: number;
618
588
  }, any>;
619
589
 
620
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, ContactDetailsSchema, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, OwnerTypeSchema, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelatedPostType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, SocialMediaTypeSchema, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relatedPostSchema, resourceRelationsSchema, socialImageSchema, socialImageUrlSchema, termsAgreementSchema, userLicenseSchema };
590
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, ContactDetailsSchema, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, OwnerTypeSchema, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelatedPostType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, SocialMediaTypeSchema, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relatedPostSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
@@ -1,5 +1,5 @@
1
1
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
- import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, SocialImageUrlType, SocialImageType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
3
3
  import mongoose from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-DYkhie3G.js';
5
5
  export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DYkhie3G.js';
@@ -178,24 +178,6 @@ declare const relatedPostSchema: mongoose.Schema<SchemaRelatedPostType, mongoose
178
178
  } & {
179
179
  __v: number;
180
180
  }>;
181
- declare const socialImageUrlSchema: mongoose.Schema<SocialImageUrlType, mongoose.Model<SocialImageUrlType, any, any, any, mongoose.Document<unknown, any, SocialImageUrlType, any, {}> & SocialImageUrlType & {
182
- _id: mongoose.Types.ObjectId;
183
- } & {
184
- __v: number;
185
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageUrlType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageUrlType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageUrlType> & {
186
- _id: mongoose.Types.ObjectId;
187
- } & {
188
- __v: number;
189
- }>;
190
- declare const socialImageSchema: mongoose.Schema<SocialImageType, mongoose.Model<SocialImageType, any, any, any, mongoose.Document<unknown, any, SocialImageType, any, {}> & SocialImageType & {
191
- _id: mongoose.Types.ObjectId;
192
- } & {
193
- __v: number;
194
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageType> & {
195
- _id: mongoose.Types.ObjectId;
196
- } & {
197
- __v: number;
198
- }>;
199
181
  declare const baseResourceFields: {
200
182
  active: {
201
183
  default: boolean;
@@ -336,18 +318,6 @@ declare const baseResourceFields: {
336
318
  required: boolean;
337
319
  type: NumberConstructor;
338
320
  };
339
- socialImage: {
340
- required: boolean;
341
- type: mongoose.Schema<SocialImageType, mongoose.Model<SocialImageType, any, any, any, mongoose.Document<unknown, any, SocialImageType, any, {}> & SocialImageType & {
342
- _id: mongoose.Types.ObjectId;
343
- } & {
344
- __v: number;
345
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialImageType> & {
346
- _id: mongoose.Types.ObjectId;
347
- } & {
348
- __v: number;
349
- }>;
350
- };
351
321
  socialMedia: {
352
322
  required: boolean;
353
323
  type: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
@@ -617,4 +587,4 @@ declare const SchoolModel: mongoose.Model<SchoolDocument, {}, {}, {}, mongoose.D
617
587
  __v: number;
618
588
  }, any>;
619
589
 
620
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, ContactDetailsSchema, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, OwnerTypeSchema, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelatedPostType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, SocialMediaTypeSchema, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relatedPostSchema, resourceRelationsSchema, socialImageSchema, socialImageUrlSchema, termsAgreementSchema, userLicenseSchema };
590
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, ContactDetailsSchema, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, OwnerTypeSchema, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelatedPostType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, SocialMediaTypeSchema, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relatedPostSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
@@ -36,11 +36,9 @@ import {
36
36
  relatedPostSchema,
37
37
  relationDatesSchema,
38
38
  resourceRelationsSchema,
39
- socialImageSchema,
40
- socialImageUrlSchema,
41
39
  termsAgreementSchema,
42
40
  userLicenseSchema
43
- } from "../chunk-PF56GXHT.mjs";
41
+ } from "../chunk-IFNK65HN.mjs";
44
42
  export {
45
43
  APP_SETTINGS_ID,
46
44
  AdModel,
@@ -79,8 +77,6 @@ export {
79
77
  relatedPostSchema,
80
78
  relationDatesSchema,
81
79
  resourceRelationsSchema,
82
- socialImageSchema,
83
- socialImageUrlSchema,
84
80
  termsAgreementSchema,
85
81
  userLicenseSchema
86
82
  };
@@ -5179,23 +5179,6 @@ var RELATED_POST_FIELDS_FRAGMENT = gql`
5179
5179
  postType
5180
5180
  }
5181
5181
  `;
5182
- var SOCIAL_IMAGE_URL_FIELDS_FRAGMENT = gql`
5183
- fragment SocialImageUrlFields on SocialImageUrlType {
5184
- url
5185
- qrCode
5186
- }
5187
- `;
5188
- var SOCIAL_IMAGE_FIELDS_FRAGMENT = gql`
5189
- fragment SocialImageFields on SocialImageType {
5190
- public {
5191
- ...SocialImageUrlFields
5192
- }
5193
- relation {
5194
- ...SocialImageUrlFields
5195
- }
5196
- }
5197
- ${SOCIAL_IMAGE_URL_FIELDS_FRAGMENT}
5198
- `;
5199
5182
  var EVENT_INFO = gql`
5200
5183
  fragment EventInfoFields on EventInfoType {
5201
5184
  _id
@@ -5291,9 +5274,6 @@ var EVENT = gql`
5291
5274
  socialMedia {
5292
5275
  ...SocialMediaFields
5293
5276
  }
5294
- socialImage {
5295
- ...SocialImageFields
5296
- }
5297
5277
  tags
5298
5278
  termsAgreement {
5299
5279
  ...TermsAgreementFields
@@ -5311,7 +5291,6 @@ var EVENT = gql`
5311
5291
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5312
5292
  ${RELATION_DATES_FRAGMENT}
5313
5293
  ${RELATED_POST_FIELDS_FRAGMENT}
5314
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5315
5294
  `;
5316
5295
  var GET_EVENTS = gql`
5317
5296
  query getEvents($dateStatus: EventDateStatusEnumType) {
@@ -5490,9 +5469,6 @@ var VENDOR = gql`
5490
5469
  socialMedia {
5491
5470
  ...SocialMediaFields
5492
5471
  }
5493
- socialImage {
5494
- ...SocialImageFields
5495
- }
5496
5472
  termsAgreement {
5497
5473
  ...TermsAgreementFields
5498
5474
  }
@@ -5513,7 +5489,6 @@ var VENDOR = gql`
5513
5489
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
5514
5490
  ${RELATION_DATES_FRAGMENT}
5515
5491
  ${RELATED_POST_FIELDS_FRAGMENT}
5516
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5517
5492
  `;
5518
5493
  var VENDOR_ATTRIBUTES_FRAGMENT = gql`
5519
5494
  fragment VendorAttributesFields on VendorAttributesType {
@@ -5978,9 +5953,6 @@ var PARTNER = gql`
5978
5953
  socialMedia {
5979
5954
  ...SocialMediaFields
5980
5955
  }
5981
- socialImage {
5982
- ...SocialImageFields
5983
- }
5984
5956
  termsAgreement {
5985
5957
  ...TermsAgreementFields
5986
5958
  }
@@ -5995,7 +5967,6 @@ var PARTNER = gql`
5995
5967
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
5996
5968
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
5997
5969
  ${RELATED_POST_FIELDS_FRAGMENT}
5998
- ${SOCIAL_IMAGE_FIELDS_FRAGMENT}
5999
5970
  `;
6000
5971
  var GET_PARTNERS = gql`
6001
5972
  query getPartners {
@@ -8119,22 +8090,6 @@ var relatedPostSchema = new MongooseSchema8(
8119
8090
  { _id: false }
8120
8091
  // Prevents Mongoose from creating an additional _id field for subdocuments
8121
8092
  );
8122
- var socialImageUrlSchema = new MongooseSchema8(
8123
- {
8124
- qrCode: { required: true, type: String },
8125
- url: { required: true, type: String }
8126
- },
8127
- { _id: false }
8128
- // Prevents Mongoose from creating an additional _id field for subdocuments
8129
- );
8130
- var socialImageSchema = new MongooseSchema8(
8131
- {
8132
- public: { required: true, type: socialImageUrlSchema },
8133
- relation: { required: false, type: socialImageUrlSchema }
8134
- },
8135
- { _id: false }
8136
- // Prevents Mongoose from creating an additional _id field for subdocuments
8137
- );
8138
8093
  var baseResourceFields = {
8139
8094
  active: { default: false, required: true, type: Boolean },
8140
8095
  adIds: {
@@ -8166,7 +8121,6 @@ var baseResourceFields = {
8166
8121
  region: { required: true, type: String },
8167
8122
  relatedPost: { required: false, type: relatedPostSchema },
8168
8123
  reviewCount: { required: false, type: Number },
8169
- socialImage: { required: false, type: socialImageSchema },
8170
8124
  socialMedia: { required: false, type: [SocialMediaTypeSchema] },
8171
8125
  termsAgreement: { required: true, type: termsAgreementSchema }
8172
8126
  };