@timardex/cluemart-server-shared 2.1.8 → 2.2.0
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/{Affiliate-Dlf_OLIh.d.ts → Affiliate-BSF7Wm6O.d.ts} +2 -32
- package/dist/{Affiliate-B1mxoMeD.d.mts → Affiliate-i11rkfv5.d.mts} +2 -32
- package/dist/{chunk-OVAGFPTP.mjs → chunk-HLRUWJLN.mjs} +314 -330
- package/dist/chunk-HLRUWJLN.mjs.map +1 -0
- package/dist/index.cjs +571 -417
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +45 -35
- package/dist/index.d.ts +45 -35
- package/dist/index.mjs +493 -341
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +309 -325
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +14 -4
- package/dist/mongoose/index.d.ts +14 -4
- package/dist/mongoose/index.mjs +3 -3
- package/dist/service/index.cjs +567 -413
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +35 -5
- package/dist/service/index.d.ts +35 -5
- package/dist/service/index.mjs +182 -12
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-OVAGFPTP.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, AdDailyPriceType, AdBookingType, EnumAdShowOn, AdSettingsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, EnumAdShowOn, AdSettingsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, DateTimeType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../index-Bq-lT7a2.mjs';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, S as SchemaChatMessageReactionType, a as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, d as SchemaChatType, e as SchemaCreateBulkNotificationInput, f as SchemaNotificationType, g as SchemaParticipantType } from '../index-Bq-lT7a2.mjs';
|
|
6
|
-
import { S as SchemaOwnerType } from '../Affiliate-
|
|
7
|
-
export { A as AffiliateModel, C as CategorySchema, a as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, b as RelationTypeSchema, c as ResourceImageTypeSchema, d as SchemaAffiliateResourceType, e as SchemaAffiliateReward, f as SchemaRelatedPostType, g as SchemaRelationType, h as SchemaStripeSubscription, i as SchemaUserActivityEvent, j as SchemaUserType, k as SocialMediaTypeSchema, U as UserModel, l as baseResourceFields, m as dateTimeSchema, n as locationGeoSchema, o as locationsSchema, r as relatedPostSchema, p as relationDatesSchema,
|
|
6
|
+
import { S as SchemaOwnerType } from '../Affiliate-i11rkfv5.mjs';
|
|
7
|
+
export { A as AffiliateModel, C as CategorySchema, a as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, b as RelationTypeSchema, c as ResourceImageTypeSchema, d as SchemaAffiliateResourceType, e as SchemaAffiliateReward, f as SchemaRelatedPostType, g as SchemaRelationType, h as SchemaStripeSubscription, i as SchemaUserActivityEvent, j as SchemaUserType, k as SocialMediaTypeSchema, U as UserModel, l as baseResourceFields, m as dateTimeSchema, n as locationGeoSchema, o as locationsSchema, r as relatedPostSchema, p as relationDatesSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-i11rkfv5.mjs';
|
|
8
8
|
import '@timardex/cluemart-shared/types';
|
|
9
9
|
import 'express';
|
|
10
10
|
|
|
@@ -272,6 +272,16 @@ declare const EventInfoModel: mongoose__default.Model<SchemaEventInfoType, {}, {
|
|
|
272
272
|
__v: number;
|
|
273
273
|
}, any>;
|
|
274
274
|
|
|
275
|
+
type SchemaEventDateArchiveType = {
|
|
276
|
+
dateTime: DateTimeType[];
|
|
277
|
+
eventId: ObjectId;
|
|
278
|
+
};
|
|
279
|
+
declare const EventDateArchiveModel: mongoose__default.Model<SchemaEventDateArchiveType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventDateArchiveType, {}, {}> & SchemaEventDateArchiveType & {
|
|
280
|
+
_id: mongoose__default.Types.ObjectId;
|
|
281
|
+
} & {
|
|
282
|
+
__v: number;
|
|
283
|
+
}, any>;
|
|
284
|
+
|
|
275
285
|
type SchemaPartnerType = Omit<PartnerType, "owner" | "adIds"> & {
|
|
276
286
|
adIds?: ObjectId[];
|
|
277
287
|
owner: SchemaOwnerType;
|
|
@@ -371,4 +381,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
|
|
|
371
381
|
__v: number;
|
|
372
382
|
}, any>;
|
|
373
383
|
|
|
374
|
-
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, type AdImpressionEntry, AdImpressionModel, AdModel, AdSettingsModel, AppSettingModel, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, DEFAULT_AD_SETTINGS, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, 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, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
|
384
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, type AdImpressionEntry, AdImpressionModel, AdModel, AdSettingsModel, AppSettingModel, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, DEFAULT_AD_SETTINGS, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, 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, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, AdDailyPriceType, AdBookingType, EnumAdShowOn, AdSettingsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, EnumAdShowOn, AdSettingsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, DateTimeType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../index-Bq-lT7a2.js';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, S as SchemaChatMessageReactionType, a as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, d as SchemaChatType, e as SchemaCreateBulkNotificationInput, f as SchemaNotificationType, g as SchemaParticipantType } from '../index-Bq-lT7a2.js';
|
|
6
|
-
import { S as SchemaOwnerType } from '../Affiliate-
|
|
7
|
-
export { A as AffiliateModel, C as CategorySchema, a as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, b as RelationTypeSchema, c as ResourceImageTypeSchema, d as SchemaAffiliateResourceType, e as SchemaAffiliateReward, f as SchemaRelatedPostType, g as SchemaRelationType, h as SchemaStripeSubscription, i as SchemaUserActivityEvent, j as SchemaUserType, k as SocialMediaTypeSchema, U as UserModel, l as baseResourceFields, m as dateTimeSchema, n as locationGeoSchema, o as locationsSchema, r as relatedPostSchema, p as relationDatesSchema,
|
|
6
|
+
import { S as SchemaOwnerType } from '../Affiliate-BSF7Wm6O.js';
|
|
7
|
+
export { A as AffiliateModel, C as CategorySchema, a as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, b as RelationTypeSchema, c as ResourceImageTypeSchema, d as SchemaAffiliateResourceType, e as SchemaAffiliateReward, f as SchemaRelatedPostType, g as SchemaRelationType, h as SchemaStripeSubscription, i as SchemaUserActivityEvent, j as SchemaUserType, k as SocialMediaTypeSchema, U as UserModel, l as baseResourceFields, m as dateTimeSchema, n as locationGeoSchema, o as locationsSchema, r as relatedPostSchema, p as relationDatesSchema, s as socialShareResourceSchema, t as termsAgreementSchema, u as userLicenseSchema } from '../Affiliate-BSF7Wm6O.js';
|
|
8
8
|
import '@timardex/cluemart-shared/types';
|
|
9
9
|
import 'express';
|
|
10
10
|
|
|
@@ -272,6 +272,16 @@ declare const EventInfoModel: mongoose__default.Model<SchemaEventInfoType, {}, {
|
|
|
272
272
|
__v: number;
|
|
273
273
|
}, any>;
|
|
274
274
|
|
|
275
|
+
type SchemaEventDateArchiveType = {
|
|
276
|
+
dateTime: DateTimeType[];
|
|
277
|
+
eventId: ObjectId;
|
|
278
|
+
};
|
|
279
|
+
declare const EventDateArchiveModel: mongoose__default.Model<SchemaEventDateArchiveType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventDateArchiveType, {}, {}> & SchemaEventDateArchiveType & {
|
|
280
|
+
_id: mongoose__default.Types.ObjectId;
|
|
281
|
+
} & {
|
|
282
|
+
__v: number;
|
|
283
|
+
}, any>;
|
|
284
|
+
|
|
275
285
|
type SchemaPartnerType = Omit<PartnerType, "owner" | "adIds"> & {
|
|
276
286
|
adIds?: ObjectId[];
|
|
277
287
|
owner: SchemaOwnerType;
|
|
@@ -371,4 +381,4 @@ declare const CouponModel: mongoose__default.Model<CouponDocument, {}, {}, {}, m
|
|
|
371
381
|
__v: number;
|
|
372
382
|
}, any>;
|
|
373
383
|
|
|
374
|
-
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, type AdImpressionEntry, AdImpressionModel, AdModel, AdSettingsModel, AppSettingModel, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, DEFAULT_AD_SETTINGS, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, 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, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
|
384
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, type AdImpressionEntry, AdImpressionModel, AdModel, AdSettingsModel, AppSettingModel, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, DEFAULT_AD_SETTINGS, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, 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, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
package/dist/mongoose/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
ContactDetailsSchema,
|
|
17
17
|
CouponModel,
|
|
18
18
|
DEFAULT_AD_SETTINGS,
|
|
19
|
+
EventDateArchiveModel,
|
|
19
20
|
EventInfoModel,
|
|
20
21
|
EventModel,
|
|
21
22
|
GameModel,
|
|
@@ -46,13 +47,12 @@ import {
|
|
|
46
47
|
refundPolicySchema,
|
|
47
48
|
relatedPostSchema,
|
|
48
49
|
relationDatesSchema,
|
|
49
|
-
resourceRelationsSchema,
|
|
50
50
|
schemaAdresource,
|
|
51
51
|
socialShareResourceSchema,
|
|
52
52
|
termsAgreementSchema,
|
|
53
53
|
userLicenseSchema,
|
|
54
54
|
vendorProductTypeSchema
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-HLRUWJLN.mjs";
|
|
56
56
|
export {
|
|
57
57
|
AD_BILLING_CATALOG_COLLECTION_NAME,
|
|
58
58
|
APP_SETTINGS_ID,
|
|
@@ -71,6 +71,7 @@ export {
|
|
|
71
71
|
ContactDetailsSchema,
|
|
72
72
|
CouponModel,
|
|
73
73
|
DEFAULT_AD_SETTINGS,
|
|
74
|
+
EventDateArchiveModel,
|
|
74
75
|
EventInfoModel,
|
|
75
76
|
EventModel,
|
|
76
77
|
GameModel,
|
|
@@ -101,7 +102,6 @@ export {
|
|
|
101
102
|
refundPolicySchema,
|
|
102
103
|
relatedPostSchema,
|
|
103
104
|
relationDatesSchema,
|
|
104
|
-
resourceRelationsSchema,
|
|
105
105
|
schemaAdresource,
|
|
106
106
|
socialShareResourceSchema,
|
|
107
107
|
termsAgreementSchema,
|