@timardex/cluemart-server-shared 1.1.35 → 1.1.37

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,10 +1,10 @@
1
1
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
- import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorProductList, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorProductList, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
3
3
  import mongoose__default from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-Wn7yfc3v.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-Wn7yfc3v.mjs';
6
- import { S as SchemaOwnerType } from '../Affiliate-B76iZ3fE.mjs';
7
- export { A as AffiliateModel, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, k as RelationModel, j as RelationTypeSchema, R as ResourceImageTypeSchema, n as SchemaAffiliateResourceType, m as SchemaAffiliateReward, a as SchemaRelatedPostType, i as SchemaRelationType, b as SocialMediaTypeSchema, g as baseResourceFields, d as dateTimeSchema, l as locationGeoSchema, e as locationsSchema, f as relatedPostSchema, h as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-B76iZ3fE.mjs';
6
+ import { S as SchemaOwnerType } from '../Affiliate-xCVhO2Cy.mjs';
7
+ export { A as AffiliateModel, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, k as RelationModel, j as RelationTypeSchema, R as ResourceImageTypeSchema, p as SchemaAffiliateResourceType, o as SchemaAffiliateReward, a as SchemaRelatedPostType, i as SchemaRelationType, m as SchemaUserActivityEvent, n as SchemaUserType, b as SocialMediaTypeSchema, U as UserModel, g as baseResourceFields, d as dateTimeSchema, l as locationGeoSchema, e as locationsSchema, f as relatedPostSchema, h as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-xCVhO2Cy.mjs';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -59,66 +59,6 @@ declare const ResourceActivityModel: mongoose__default.Model<ResourceActivityTyp
59
59
  __v: number;
60
60
  }, any>;
61
61
 
62
- type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
63
- resourceId: ObjectId;
64
- };
65
- type SchemaUserType = Omit<UserType, "vendor" | "coupon" | "events" | "partner" | "userActivity" | "_id" | "game" | "school" | "affiliate" | "permissions"> & {
66
- _id: ObjectId;
67
- affiliate: ObjectId;
68
- coupon: ObjectId;
69
- events: ObjectId[];
70
- game: ObjectId;
71
- partner: ObjectId;
72
- school: ObjectId;
73
- vendor: ObjectId;
74
- userActivity: {
75
- favourites: {
76
- events: ObjectId[];
77
- vendors: ObjectId[];
78
- partners: ObjectId[];
79
- };
80
- interested: {
81
- events: SchemaUserActivityEvent[];
82
- };
83
- going: {
84
- events: SchemaUserActivityEvent[];
85
- };
86
- present: {
87
- events: SchemaUserActivityEvent[];
88
- };
89
- };
90
- };
91
- declare const UserModel: mongoose__default.Model<SchemaUserType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaUserType, {}, {}> & Omit<UserType, "_id" | "vendor" | "coupon" | "events" | "partner" | "userActivity" | "game" | "school" | "affiliate" | "permissions"> & {
92
- _id: ObjectId;
93
- affiliate: ObjectId;
94
- coupon: ObjectId;
95
- events: ObjectId[];
96
- game: ObjectId;
97
- partner: ObjectId;
98
- school: ObjectId;
99
- vendor: ObjectId;
100
- userActivity: {
101
- favourites: {
102
- events: ObjectId[];
103
- vendors: ObjectId[];
104
- partners: ObjectId[];
105
- };
106
- interested: {
107
- events: SchemaUserActivityEvent[];
108
- };
109
- going: {
110
- events: SchemaUserActivityEvent[];
111
- };
112
- present: {
113
- events: SchemaUserActivityEvent[];
114
- };
115
- };
116
- } & Required<{
117
- _id: mongoose__default.Types.ObjectId;
118
- }> & {
119
- __v: number;
120
- }, any>;
121
-
122
62
  interface VerificationTokenType {
123
63
  email: string;
124
64
  verificationToken: string;
@@ -317,4 +257,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
317
257
  __v: number;
318
258
  }, any>;
319
259
 
320
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, ChatReportModel, type CouponDocument, CouponModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, refundPolicySchema, vendorProductTypeSchema };
260
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, ChatReportModel, type CouponDocument, CouponModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, refundPolicySchema, vendorProductTypeSchema };
@@ -1,10 +1,10 @@
1
1
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
2
- import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorProductList, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
2
+ import { AdType, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorProductList, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
3
3
  import mongoose__default from 'mongoose';
4
4
  import { O as ObjectId } from '../Chat-Wn7yfc3v.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-Wn7yfc3v.js';
6
- import { S as SchemaOwnerType } from '../Affiliate-gqV1-654.js';
7
- export { A as AffiliateModel, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, k as RelationModel, j as RelationTypeSchema, R as ResourceImageTypeSchema, n as SchemaAffiliateResourceType, m as SchemaAffiliateReward, a as SchemaRelatedPostType, i as SchemaRelationType, b as SocialMediaTypeSchema, g as baseResourceFields, d as dateTimeSchema, l as locationGeoSchema, e as locationsSchema, f as relatedPostSchema, h as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-gqV1-654.js';
6
+ import { S as SchemaOwnerType } from '../Affiliate-CZKOOaz_.js';
7
+ export { A as AffiliateModel, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, k as RelationModel, j as RelationTypeSchema, R as ResourceImageTypeSchema, p as SchemaAffiliateResourceType, o as SchemaAffiliateReward, a as SchemaRelatedPostType, i as SchemaRelationType, m as SchemaUserActivityEvent, n as SchemaUserType, b as SocialMediaTypeSchema, U as UserModel, g as baseResourceFields, d as dateTimeSchema, l as locationGeoSchema, e as locationsSchema, f as relatedPostSchema, h as relationDatesSchema, r as resourceRelationsSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-CZKOOaz_.js';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -59,66 +59,6 @@ declare const ResourceActivityModel: mongoose__default.Model<ResourceActivityTyp
59
59
  __v: number;
60
60
  }, any>;
61
61
 
62
- type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
63
- resourceId: ObjectId;
64
- };
65
- type SchemaUserType = Omit<UserType, "vendor" | "coupon" | "events" | "partner" | "userActivity" | "_id" | "game" | "school" | "affiliate" | "permissions"> & {
66
- _id: ObjectId;
67
- affiliate: ObjectId;
68
- coupon: ObjectId;
69
- events: ObjectId[];
70
- game: ObjectId;
71
- partner: ObjectId;
72
- school: ObjectId;
73
- vendor: ObjectId;
74
- userActivity: {
75
- favourites: {
76
- events: ObjectId[];
77
- vendors: ObjectId[];
78
- partners: ObjectId[];
79
- };
80
- interested: {
81
- events: SchemaUserActivityEvent[];
82
- };
83
- going: {
84
- events: SchemaUserActivityEvent[];
85
- };
86
- present: {
87
- events: SchemaUserActivityEvent[];
88
- };
89
- };
90
- };
91
- declare const UserModel: mongoose__default.Model<SchemaUserType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaUserType, {}, {}> & Omit<UserType, "_id" | "vendor" | "coupon" | "events" | "partner" | "userActivity" | "game" | "school" | "affiliate" | "permissions"> & {
92
- _id: ObjectId;
93
- affiliate: ObjectId;
94
- coupon: ObjectId;
95
- events: ObjectId[];
96
- game: ObjectId;
97
- partner: ObjectId;
98
- school: ObjectId;
99
- vendor: ObjectId;
100
- userActivity: {
101
- favourites: {
102
- events: ObjectId[];
103
- vendors: ObjectId[];
104
- partners: ObjectId[];
105
- };
106
- interested: {
107
- events: SchemaUserActivityEvent[];
108
- };
109
- going: {
110
- events: SchemaUserActivityEvent[];
111
- };
112
- present: {
113
- events: SchemaUserActivityEvent[];
114
- };
115
- };
116
- } & Required<{
117
- _id: mongoose__default.Types.ObjectId;
118
- }> & {
119
- __v: number;
120
- }, any>;
121
-
122
62
  interface VerificationTokenType {
123
63
  email: string;
124
64
  verificationToken: string;
@@ -317,4 +257,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
317
257
  __v: number;
318
258
  }, any>;
319
259
 
320
- export { APP_SETTINGS_ID, AdModel, AppSettingModel, ChatReportModel, type CouponDocument, CouponModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, StallTypeSchema, UnregisteredVendorModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, refundPolicySchema, vendorProductTypeSchema };
260
+ export { APP_SETTINGS_ID, AdModel, AppSettingModel, ChatReportModel, type CouponDocument, CouponModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, refundPolicySchema, vendorProductTypeSchema };
@@ -41,7 +41,7 @@ import {
41
41
  termsAgreementSchema,
42
42
  userLicenseSchema,
43
43
  vendorProductTypeSchema
44
- } from "../chunk-ZVXL6B3M.mjs";
44
+ } from "../chunk-DBGVZNUX.mjs";
45
45
  export {
46
46
  APP_SETTINGS_ID,
47
47
  AdModel,