@timardex/cluemart-server-shared 1.0.85 → 1.0.86

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, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, TesterType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, TesterType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
3
3
  import mongoose from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-DjrJ0LKo.mjs';
5
5
  export { C as ChatModel, N as NotificationModel, P as ParticipantSchema, 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-DjrJ0LKo.mjs';
@@ -13,6 +13,21 @@ declare const AdModel: mongoose.Model<AdType, {}, {}, {}, mongoose.Document<unkn
13
13
  __v: number;
14
14
  }, any>;
15
15
 
16
+ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
17
+ reporterUserId: ObjectId;
18
+ reportedUserId: ObjectId;
19
+ chatId: ObjectId;
20
+ };
21
+ declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "chatId" | "reporterUserId" | "reportedUserId"> & {
22
+ reporterUserId: ObjectId;
23
+ reportedUserId: ObjectId;
24
+ chatId: ObjectId;
25
+ } & Required<{
26
+ _id: string;
27
+ }> & {
28
+ __v: number;
29
+ }, any>;
30
+
16
31
  type SchemaOwnerType = Omit<OwnerType, "userId"> & {
17
32
  userId: ObjectId;
18
33
  };
@@ -513,4 +528,4 @@ declare const AppSettingModel: mongoose.Model<AppSettingsType, {}, {}, {}, mongo
513
528
  __v: number;
514
529
  }, any>;
515
530
 
516
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, TesterModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
531
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, TesterModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
@@ -1,5 +1,5 @@
1
1
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
- import { AdType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, TesterType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, TesterType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
3
3
  import mongoose from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-DjrJ0LKo.js';
5
5
  export { C as ChatModel, N as NotificationModel, P as ParticipantSchema, 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-DjrJ0LKo.js';
@@ -13,6 +13,21 @@ declare const AdModel: mongoose.Model<AdType, {}, {}, {}, mongoose.Document<unkn
13
13
  __v: number;
14
14
  }, any>;
15
15
 
16
+ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
17
+ reporterUserId: ObjectId;
18
+ reportedUserId: ObjectId;
19
+ chatId: ObjectId;
20
+ };
21
+ declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "chatId" | "reporterUserId" | "reportedUserId"> & {
22
+ reporterUserId: ObjectId;
23
+ reportedUserId: ObjectId;
24
+ chatId: ObjectId;
25
+ } & Required<{
26
+ _id: string;
27
+ }> & {
28
+ __v: number;
29
+ }, any>;
30
+
16
31
  type SchemaOwnerType = Omit<OwnerType, "userId"> & {
17
32
  userId: ObjectId;
18
33
  };
@@ -513,4 +528,4 @@ declare const AppSettingModel: mongoose.Model<AppSettingsType, {}, {}, {}, mongo
513
528
  __v: number;
514
529
  }, any>;
515
530
 
516
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, TesterModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
531
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, TesterModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
@@ -4,6 +4,7 @@ import {
4
4
  AppSettingModel,
5
5
  CategorySchema,
6
6
  ChatModel,
7
+ ChatReportModel,
7
8
  EventInfoModel,
8
9
  EventModel,
9
10
  GoogleImportedMarketModel,
@@ -32,7 +33,7 @@ import {
32
33
  resourceRelationsSchema,
33
34
  termsAgreementSchema,
34
35
  userLicenseSchema
35
- } from "../chunk-6TLM3TPY.mjs";
36
+ } from "../chunk-FVFOQT5F.mjs";
36
37
  import "../chunk-3QS3WKRC.mjs";
37
38
  export {
38
39
  APP_SETTINGS_ID,
@@ -40,6 +41,7 @@ export {
40
41
  AppSettingModel,
41
42
  CategorySchema,
42
43
  ChatModel,
44
+ ChatReportModel,
43
45
  EventInfoModel,
44
46
  EventModel,
45
47
  GoogleImportedMarketModel,