@timardex/cluemart-server-shared 1.1.26 → 1.1.28
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.
- package/dist/{chunk-IACWQ3VJ.mjs → chunk-SKEMDS6Z.mjs} +227 -224
- package/dist/chunk-SKEMDS6Z.mjs.map +1 -0
- package/dist/index.cjs +227 -225
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -18
- package/dist/index.d.ts +2 -18
- package/dist/index.mjs +226 -223
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +225 -223
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +2 -18
- package/dist/mongoose/index.d.ts +2 -18
- package/dist/mongoose/index.mjs +1 -3
- package/dist/service/index.cjs +227 -223
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +3 -3
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-IACWQ3VJ.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
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';
|
|
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';
|
|
@@ -306,25 +306,9 @@ type SchemaCouponDataType = Omit<CouponDataType, "participantUsers" | "couponVen
|
|
|
306
306
|
couponVendorProducts?: SchemaCouponVendorProductType[];
|
|
307
307
|
participantUsers: SchemaCouponParticipantUserType[] | null;
|
|
308
308
|
};
|
|
309
|
-
type SchemaProductCouponType = Omit<ProductCoupon, "couponDocumentId" | "couponId"> & {
|
|
310
|
-
couponDocumentId: ObjectId;
|
|
311
|
-
couponId: ObjectId;
|
|
312
|
-
};
|
|
313
309
|
type CouponDocument = Omit<CouponType, "couponData"> & {
|
|
314
310
|
couponData: SchemaCouponDataType[];
|
|
315
311
|
};
|
|
316
|
-
declare const productCouponSchema: mongoose__default.Schema<SchemaProductCouponType, mongoose__default.Model<SchemaProductCouponType, any, any, any, mongoose__default.Document<unknown, any, SchemaProductCouponType, any, {}> & Omit<ProductCoupon, "couponDocumentId" | "couponId"> & {
|
|
317
|
-
couponDocumentId: ObjectId;
|
|
318
|
-
couponId: ObjectId;
|
|
319
|
-
} & {
|
|
320
|
-
_id: mongoose__default.Types.ObjectId;
|
|
321
|
-
} & {
|
|
322
|
-
__v: number;
|
|
323
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaProductCouponType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaProductCouponType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaProductCouponType> & {
|
|
324
|
-
_id: mongoose__default.Types.ObjectId;
|
|
325
|
-
} & {
|
|
326
|
-
__v: number;
|
|
327
|
-
}>;
|
|
328
312
|
declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, mongoose__default.Document<unknown, {}, CouponDocument, {}, {}> & Omit<CouponType, "couponData"> & {
|
|
329
313
|
couponData: SchemaCouponDataType[];
|
|
330
314
|
} & Required<{
|
|
@@ -333,4 +317,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
|
|
|
333
317
|
__v: number;
|
|
334
318
|
}, any>;
|
|
335
319
|
|
|
336
|
-
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,
|
|
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 };
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
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';
|
|
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';
|
|
@@ -306,25 +306,9 @@ type SchemaCouponDataType = Omit<CouponDataType, "participantUsers" | "couponVen
|
|
|
306
306
|
couponVendorProducts?: SchemaCouponVendorProductType[];
|
|
307
307
|
participantUsers: SchemaCouponParticipantUserType[] | null;
|
|
308
308
|
};
|
|
309
|
-
type SchemaProductCouponType = Omit<ProductCoupon, "couponDocumentId" | "couponId"> & {
|
|
310
|
-
couponDocumentId: ObjectId;
|
|
311
|
-
couponId: ObjectId;
|
|
312
|
-
};
|
|
313
309
|
type CouponDocument = Omit<CouponType, "couponData"> & {
|
|
314
310
|
couponData: SchemaCouponDataType[];
|
|
315
311
|
};
|
|
316
|
-
declare const productCouponSchema: mongoose__default.Schema<SchemaProductCouponType, mongoose__default.Model<SchemaProductCouponType, any, any, any, mongoose__default.Document<unknown, any, SchemaProductCouponType, any, {}> & Omit<ProductCoupon, "couponDocumentId" | "couponId"> & {
|
|
317
|
-
couponDocumentId: ObjectId;
|
|
318
|
-
couponId: ObjectId;
|
|
319
|
-
} & {
|
|
320
|
-
_id: mongoose__default.Types.ObjectId;
|
|
321
|
-
} & {
|
|
322
|
-
__v: number;
|
|
323
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, SchemaProductCouponType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<SchemaProductCouponType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<SchemaProductCouponType> & {
|
|
324
|
-
_id: mongoose__default.Types.ObjectId;
|
|
325
|
-
} & {
|
|
326
|
-
__v: number;
|
|
327
|
-
}>;
|
|
328
312
|
declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, mongoose__default.Document<unknown, {}, CouponDocument, {}, {}> & Omit<CouponType, "couponData"> & {
|
|
329
313
|
couponData: SchemaCouponDataType[];
|
|
330
314
|
} & Required<{
|
|
@@ -333,4 +317,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
|
|
|
333
317
|
__v: number;
|
|
334
318
|
}, any>;
|
|
335
319
|
|
|
336
|
-
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,
|
|
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 };
|
package/dist/mongoose/index.mjs
CHANGED
|
@@ -33,7 +33,6 @@ import {
|
|
|
33
33
|
dateTimeSchema,
|
|
34
34
|
locationGeoSchema,
|
|
35
35
|
locationsSchema,
|
|
36
|
-
productCouponSchema,
|
|
37
36
|
refundPolicySchema,
|
|
38
37
|
relatedPostSchema,
|
|
39
38
|
relationDatesSchema,
|
|
@@ -42,7 +41,7 @@ import {
|
|
|
42
41
|
termsAgreementSchema,
|
|
43
42
|
userLicenseSchema,
|
|
44
43
|
vendorProductTypeSchema
|
|
45
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-SKEMDS6Z.mjs";
|
|
46
45
|
export {
|
|
47
46
|
APP_SETTINGS_ID,
|
|
48
47
|
AdModel,
|
|
@@ -78,7 +77,6 @@ export {
|
|
|
78
77
|
dateTimeSchema,
|
|
79
78
|
locationGeoSchema,
|
|
80
79
|
locationsSchema,
|
|
81
|
-
productCouponSchema,
|
|
82
80
|
refundPolicySchema,
|
|
83
81
|
relatedPostSchema,
|
|
84
82
|
relationDatesSchema,
|