@timardex/cluemart-server-shared 4.0.0 → 4.0.1
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-MVQMMXGY.mjs → chunk-J7ZINA3I.mjs} +114 -99
- package/dist/chunk-J7ZINA3I.mjs.map +1 -0
- package/dist/index.cjs +115 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +18 -3
- package/dist/index.d.ts +18 -3
- package/dist/index.mjs +113 -98
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +115 -99
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +18 -3
- package/dist/mongoose/index.d.ts +18 -3
- package/dist/mongoose/index.mjs +5 -3
- package/dist/service/index.cjs +110 -97
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-MVQMMXGY.mjs.map +0 -1
|
@@ -104,12 +104,16 @@ type SchemaGoogleImportedMarket = Omit<GoogleImportedMarket, "eventId" | "claime
|
|
|
104
104
|
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
105
105
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
106
106
|
searchName?: string;
|
|
107
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
108
|
+
earliestStartDate?: Date | null;
|
|
107
109
|
};
|
|
108
110
|
declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaGoogleImportedMarket, {}, {}> & Omit<GoogleImportedMarket, "eventId" | "claimedByUserId"> & {
|
|
109
111
|
eventId?: mongoose__default.Types.ObjectId;
|
|
110
112
|
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
111
113
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
112
114
|
searchName?: string;
|
|
115
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
116
|
+
earliestStartDate?: Date | null;
|
|
113
117
|
} & Required<{
|
|
114
118
|
_id: string;
|
|
115
119
|
}> & {
|
|
@@ -122,6 +126,8 @@ type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserI
|
|
|
122
126
|
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
123
127
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
124
128
|
searchName?: string;
|
|
129
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
130
|
+
earliestStartDate?: Date | null;
|
|
125
131
|
};
|
|
126
132
|
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
127
133
|
eventId?: mongoose__default.Types.ObjectId;
|
|
@@ -129,14 +135,23 @@ declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMar
|
|
|
129
135
|
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
130
136
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
131
137
|
searchName?: string;
|
|
138
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
139
|
+
earliestStartDate?: Date | null;
|
|
132
140
|
} & Required<{
|
|
133
141
|
_id: string;
|
|
134
142
|
}> & {
|
|
135
143
|
__v: number;
|
|
136
144
|
}, any>;
|
|
137
145
|
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
declare const SCRAPE_SITES_CONFIG_KEY = "scrapeSites";
|
|
147
|
+
type SchemaScrapeSiteItem = Omit<ScrapeSite, "_id" | "createdAt" | "updatedAt">;
|
|
148
|
+
type SchemaScrapeSiteConfig = {
|
|
149
|
+
key: string;
|
|
150
|
+
sites: Array<SchemaScrapeSiteItem & {
|
|
151
|
+
_id: mongoose__default.Types.ObjectId;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & {
|
|
140
155
|
_id: mongoose__default.Types.ObjectId;
|
|
141
156
|
} & {
|
|
142
157
|
__v: number;
|
|
@@ -460,4 +475,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
460
475
|
__v: number;
|
|
461
476
|
}, any>;
|
|
462
477
|
|
|
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
|
|
478
|
+
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, SCRAPE_SITES_CONFIG_KEY, 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 SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, ScrapeSiteConfigModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -104,12 +104,16 @@ type SchemaGoogleImportedMarket = Omit<GoogleImportedMarket, "eventId" | "claime
|
|
|
104
104
|
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
105
105
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
106
106
|
searchName?: string;
|
|
107
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
108
|
+
earliestStartDate?: Date | null;
|
|
107
109
|
};
|
|
108
110
|
declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaGoogleImportedMarket, {}, {}> & Omit<GoogleImportedMarket, "eventId" | "claimedByUserId"> & {
|
|
109
111
|
eventId?: mongoose__default.Types.ObjectId;
|
|
110
112
|
claimedByUserId?: mongoose__default.Types.ObjectId;
|
|
111
113
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
112
114
|
searchName?: string;
|
|
115
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
116
|
+
earliestStartDate?: Date | null;
|
|
113
117
|
} & Required<{
|
|
114
118
|
_id: string;
|
|
115
119
|
}> & {
|
|
@@ -122,6 +126,8 @@ type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserI
|
|
|
122
126
|
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
123
127
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
124
128
|
searchName?: string;
|
|
129
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
130
|
+
earliestStartDate?: Date | null;
|
|
125
131
|
};
|
|
126
132
|
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
127
133
|
eventId?: mongoose__default.Types.ObjectId;
|
|
@@ -129,14 +135,23 @@ declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMar
|
|
|
129
135
|
reviewedByUserId?: mongoose__default.Types.ObjectId;
|
|
130
136
|
/** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
|
|
131
137
|
searchName?: string;
|
|
138
|
+
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
139
|
+
earliestStartDate?: Date | null;
|
|
132
140
|
} & Required<{
|
|
133
141
|
_id: string;
|
|
134
142
|
}> & {
|
|
135
143
|
__v: number;
|
|
136
144
|
}, any>;
|
|
137
145
|
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
declare const SCRAPE_SITES_CONFIG_KEY = "scrapeSites";
|
|
147
|
+
type SchemaScrapeSiteItem = Omit<ScrapeSite, "_id" | "createdAt" | "updatedAt">;
|
|
148
|
+
type SchemaScrapeSiteConfig = {
|
|
149
|
+
key: string;
|
|
150
|
+
sites: Array<SchemaScrapeSiteItem & {
|
|
151
|
+
_id: mongoose__default.Types.ObjectId;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & {
|
|
140
155
|
_id: mongoose__default.Types.ObjectId;
|
|
141
156
|
} & {
|
|
142
157
|
__v: number;
|
|
@@ -460,4 +475,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
460
475
|
__v: number;
|
|
461
476
|
}, any>;
|
|
462
477
|
|
|
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
|
|
478
|
+
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, SCRAPE_SITES_CONFIG_KEY, 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 SchemaUnregisteredVendorInvitationType, type SchemaUnregisteredVendorType, type SchemaVendorInfoType, type SchemaVendorType, SchoolModel, ScrapeSiteConfigModel, StallTypeSchema, UnregisteredVendorModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, buildInitialBillingCatalogEntries, getBillingCatalogDefinition, refundPolicySchema, schemaAdresource, vendorProductTypeSchema };
|
package/dist/mongoose/index.mjs
CHANGED
|
@@ -33,8 +33,9 @@ import {
|
|
|
33
33
|
RelationTypeSchema,
|
|
34
34
|
ResourceActivityModel,
|
|
35
35
|
ResourceImageTypeSchema,
|
|
36
|
+
SCRAPE_SITES_CONFIG_KEY,
|
|
36
37
|
SchoolModel,
|
|
37
|
-
|
|
38
|
+
ScrapeSiteConfigModel,
|
|
38
39
|
SocialMediaTypeSchema,
|
|
39
40
|
StallTypeSchema,
|
|
40
41
|
UnregisteredVendorModel,
|
|
@@ -56,7 +57,7 @@ import {
|
|
|
56
57
|
termsAgreementSchema,
|
|
57
58
|
userLicenseSchema,
|
|
58
59
|
vendorProductTypeSchema
|
|
59
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-J7ZINA3I.mjs";
|
|
60
61
|
export {
|
|
61
62
|
AD_BILLING_CATALOG_COLLECTION_NAME,
|
|
62
63
|
APP_SETTINGS_ID,
|
|
@@ -92,8 +93,9 @@ export {
|
|
|
92
93
|
RelationTypeSchema,
|
|
93
94
|
ResourceActivityModel,
|
|
94
95
|
ResourceImageTypeSchema,
|
|
96
|
+
SCRAPE_SITES_CONFIG_KEY,
|
|
95
97
|
SchoolModel,
|
|
96
|
-
|
|
98
|
+
ScrapeSiteConfigModel,
|
|
97
99
|
SocialMediaTypeSchema,
|
|
98
100
|
StallTypeSchema,
|
|
99
101
|
UnregisteredVendorModel,
|