@timardex/cluemart-server-shared 3.0.2 → 4.0.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/{chunk-7JWQ7WKJ.mjs → chunk-MVQMMXGY.mjs} +353 -237
- package/dist/chunk-MVQMMXGY.mjs.map +1 -0
- package/dist/index.cjs +547 -427
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +34 -7
- package/dist/index.d.ts +34 -7
- package/dist/index.mjs +369 -248
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +407 -292
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +28 -2
- package/dist/mongoose/index.d.ts +28 -2
- package/dist/mongoose/index.mjs +5 -1
- package/dist/service/index.cjs +542 -426
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +6 -5
- package/dist/service/index.d.ts +6 -5
- package/dist/service/index.mjs +12 -6
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-7JWQ7WKJ.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, 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, EnumResourceType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, AiImportedMarket, ScrapeSite, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, DateTimeType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType, EnumResourceType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../index-BptxBl9x.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-BptxBl9x.mjs';
|
|
@@ -116,6 +116,32 @@ declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImp
|
|
|
116
116
|
__v: number;
|
|
117
117
|
}, any>;
|
|
118
118
|
|
|
119
|
+
type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
120
|
+
eventId?: mongoose__default.Types.ObjectId;
|
|
121
|
+
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
122
|
+
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
123
|
+
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
124
|
+
searchName?: string;
|
|
125
|
+
};
|
|
126
|
+
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
127
|
+
eventId?: mongoose__default.Types.ObjectId;
|
|
128
|
+
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
129
|
+
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
130
|
+
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
131
|
+
searchName?: string;
|
|
132
|
+
} & Required<{
|
|
133
|
+
_id: string;
|
|
134
|
+
}> & {
|
|
135
|
+
__v: number;
|
|
136
|
+
}, any>;
|
|
137
|
+
|
|
138
|
+
type SchemaScrapeSite = Omit<ScrapeSite, "_id">;
|
|
139
|
+
declare const ScrapeSiteModel: mongoose__default.Model<SchemaScrapeSite, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSite, {}, {}> & SchemaScrapeSite & {
|
|
140
|
+
_id: mongoose__default.Types.ObjectId;
|
|
141
|
+
} & {
|
|
142
|
+
__v: number;
|
|
143
|
+
}, any>;
|
|
144
|
+
|
|
119
145
|
type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
|
|
120
146
|
userId: ObjectId;
|
|
121
147
|
};
|
|
@@ -434,4 +460,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
434
460
|
__v: number;
|
|
435
461
|
}, any>;
|
|
436
462
|
|
|
437
|
-
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AppSettingModel, AuthHandoffTokenModel, type AuthHandoffTokenType, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, ImpersonationAuditModel, ImpersonationSessionModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaImpersonationAuditType, type SchemaImpersonationSessionType, 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 };
|
|
463
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AiImportedMarketModel, AppSettingModel, AuthHandoffTokenModel, type AuthHandoffTokenType, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, ImpersonationAuditModel, ImpersonationSessionModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAiImportedMarket, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaImpersonationAuditType, type SchemaImpersonationSessionType, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaScrapeSite, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, ScrapeSiteModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, 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, AdDailyPriceType, AdBookingType, AdMetricsType, 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, EnumResourceType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, AiImportedMarket, ScrapeSite, PushTokenType, ResourceActivityType, VendorType, VendorProductList, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, EventInfoType, StallType, RefundPolicy, DateTimeType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameDocType, GameType, SchoolType, CouponType, CouponDataType, CouponParticipantUserType, EnumResourceType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../index-BptxBl9x.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-BptxBl9x.js';
|
|
@@ -116,6 +116,32 @@ declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImp
|
|
|
116
116
|
__v: number;
|
|
117
117
|
}, any>;
|
|
118
118
|
|
|
119
|
+
type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
120
|
+
eventId?: mongoose__default.Types.ObjectId;
|
|
121
|
+
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
122
|
+
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
123
|
+
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
124
|
+
searchName?: string;
|
|
125
|
+
};
|
|
126
|
+
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
127
|
+
eventId?: mongoose__default.Types.ObjectId;
|
|
128
|
+
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
129
|
+
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
130
|
+
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
131
|
+
searchName?: string;
|
|
132
|
+
} & Required<{
|
|
133
|
+
_id: string;
|
|
134
|
+
}> & {
|
|
135
|
+
__v: number;
|
|
136
|
+
}, any>;
|
|
137
|
+
|
|
138
|
+
type SchemaScrapeSite = Omit<ScrapeSite, "_id">;
|
|
139
|
+
declare const ScrapeSiteModel: mongoose__default.Model<SchemaScrapeSite, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSite, {}, {}> & SchemaScrapeSite & {
|
|
140
|
+
_id: mongoose__default.Types.ObjectId;
|
|
141
|
+
} & {
|
|
142
|
+
__v: number;
|
|
143
|
+
}, any>;
|
|
144
|
+
|
|
119
145
|
type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
|
|
120
146
|
userId: ObjectId;
|
|
121
147
|
};
|
|
@@ -434,4 +460,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
434
460
|
__v: number;
|
|
435
461
|
}, any>;
|
|
436
462
|
|
|
437
|
-
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AppSettingModel, AuthHandoffTokenModel, type AuthHandoffTokenType, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, ImpersonationAuditModel, ImpersonationSessionModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaImpersonationAuditType, type SchemaImpersonationSessionType, 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 };
|
|
463
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AiImportedMarketModel, AppSettingModel, AuthHandoffTokenModel, type AuthHandoffTokenType, BILLING_CATALOG_COLLECTION_NAME, BillingCatalogModel, ChatReportModel, type CouponDocument, CouponModel, EventDateArchiveModel, EventInfoModel, EventModel, GameModel, GoogleImportedMarketModel, ImpersonationAuditModel, ImpersonationSessionModel, PartnerModel, PostModel, PushTokenModel, ResourceActivityModel, type SchemaAiImportedMarket, type SchemaAppSettingsType, type SchemaBillingCatalogEntry, type SchemaBillingCatalogPriceHistoryEntry, type SchemaChatReportType, type SchemaEventDateArchiveType, type SchemaEventInfoType, type SchemaEventType, type SchemaGameType, type SchemaGoogleImportedMarket, type SchemaImpersonationAuditType, type SchemaImpersonationSessionType, SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaScrapeSite, type SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, ScrapeSiteModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
package/dist/mongoose/index.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
AdModel,
|
|
8
8
|
AdPurchaseModel,
|
|
9
9
|
AffiliateModel,
|
|
10
|
+
AiImportedMarketModel,
|
|
10
11
|
AppSettingModel,
|
|
11
12
|
AuthHandoffTokenModel,
|
|
12
13
|
BILLING_CATALOG_COLLECTION_NAME,
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
ResourceActivityModel,
|
|
34
35
|
ResourceImageTypeSchema,
|
|
35
36
|
SchoolModel,
|
|
37
|
+
ScrapeSiteModel,
|
|
36
38
|
SocialMediaTypeSchema,
|
|
37
39
|
StallTypeSchema,
|
|
38
40
|
UnregisteredVendorModel,
|
|
@@ -54,7 +56,7 @@ import {
|
|
|
54
56
|
termsAgreementSchema,
|
|
55
57
|
userLicenseSchema,
|
|
56
58
|
vendorProductTypeSchema
|
|
57
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-MVQMMXGY.mjs";
|
|
58
60
|
export {
|
|
59
61
|
AD_BILLING_CATALOG_COLLECTION_NAME,
|
|
60
62
|
APP_SETTINGS_ID,
|
|
@@ -64,6 +66,7 @@ export {
|
|
|
64
66
|
AdModel,
|
|
65
67
|
AdPurchaseModel,
|
|
66
68
|
AffiliateModel,
|
|
69
|
+
AiImportedMarketModel,
|
|
67
70
|
AppSettingModel,
|
|
68
71
|
AuthHandoffTokenModel,
|
|
69
72
|
BILLING_CATALOG_COLLECTION_NAME,
|
|
@@ -90,6 +93,7 @@ export {
|
|
|
90
93
|
ResourceActivityModel,
|
|
91
94
|
ResourceImageTypeSchema,
|
|
92
95
|
SchoolModel,
|
|
96
|
+
ScrapeSiteModel,
|
|
93
97
|
SocialMediaTypeSchema,
|
|
94
98
|
StallTypeSchema,
|
|
95
99
|
UnregisteredVendorModel,
|