@timardex/cluemart-server-shared 4.0.1 → 4.0.4
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-J7ZINA3I.mjs → chunk-AHC434D4.mjs} +351 -242
- package/dist/chunk-AHC434D4.mjs.map +1 -0
- package/dist/index.cjs +541 -432
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +93 -10
- package/dist/index.d.ts +93 -10
- package/dist/index.mjs +357 -248
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +411 -302
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +89 -7
- package/dist/mongoose/index.d.ts +89 -7
- package/dist/mongoose/index.mjs +9 -3
- package/dist/service/index.cjs +530 -428
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +4 -3
- package/dist/service/index.d.ts +4 -3
- package/dist/service/index.mjs +1 -1
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-J7ZINA3I.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, 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';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, AiImportedMarket, EnumImportedMarketDeactivationReason, EnumAiImportRunStatus, AiImportUsage, 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';
|
|
@@ -128,6 +128,16 @@ type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserI
|
|
|
128
128
|
searchName?: string;
|
|
129
129
|
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
130
130
|
earliestStartDate?: Date | null;
|
|
131
|
+
/** Set to the run timestamp each time the market appears on its source. */
|
|
132
|
+
lastSeenAt?: Date | null;
|
|
133
|
+
/** Consecutive successful runs where the market did not appear. */
|
|
134
|
+
missedRuns?: number;
|
|
135
|
+
/** Hash of the raw model description used to skip unchanged re-rewrites. */
|
|
136
|
+
descriptionSourceHash?: string | null;
|
|
137
|
+
/** Why an active market was deactivated (null while active). */
|
|
138
|
+
deactivatedReason?: EnumImportedMarketDeactivationReason | null;
|
|
139
|
+
/** sourceKey of an existing AI market this one may duplicate (soft flag). */
|
|
140
|
+
duplicateHint?: string | null;
|
|
131
141
|
};
|
|
132
142
|
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
133
143
|
eventId?: mongoose__default.Types.ObjectId;
|
|
@@ -137,23 +147,95 @@ declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMar
|
|
|
137
147
|
searchName?: string;
|
|
138
148
|
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
139
149
|
earliestStartDate?: Date | null;
|
|
150
|
+
/** Set to the run timestamp each time the market appears on its source. */
|
|
151
|
+
lastSeenAt?: Date | null;
|
|
152
|
+
/** Consecutive successful runs where the market did not appear. */
|
|
153
|
+
missedRuns?: number;
|
|
154
|
+
/** Hash of the raw model description used to skip unchanged re-rewrites. */
|
|
155
|
+
descriptionSourceHash?: string | null;
|
|
156
|
+
/** Why an active market was deactivated (null while active). */
|
|
157
|
+
deactivatedReason?: EnumImportedMarketDeactivationReason | null;
|
|
158
|
+
/** sourceKey of an existing AI market this one may duplicate (soft flag). */
|
|
159
|
+
duplicateHint?: string | null;
|
|
140
160
|
} & Required<{
|
|
141
161
|
_id: string;
|
|
142
162
|
}> & {
|
|
143
163
|
__v: number;
|
|
144
164
|
}, any>;
|
|
145
165
|
|
|
146
|
-
|
|
166
|
+
type AiImportRunStatus = EnumAiImportRunStatus;
|
|
167
|
+
type AiImportSiteResult = {
|
|
168
|
+
error?: string | null;
|
|
169
|
+
errors: number;
|
|
170
|
+
found: number;
|
|
171
|
+
imported: number;
|
|
172
|
+
name: string;
|
|
173
|
+
skipped: number;
|
|
174
|
+
status: EnumAiImportRunStatus.SUCCESS | EnumAiImportRunStatus.ERROR;
|
|
175
|
+
usage: AiImportUsage;
|
|
176
|
+
url: string;
|
|
177
|
+
};
|
|
178
|
+
type SchemaAiImportRun = {
|
|
179
|
+
_id: mongoose__default.Types.ObjectId;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
182
|
+
error?: string | null;
|
|
183
|
+
finishedAt?: Date | null;
|
|
184
|
+
result?: {
|
|
185
|
+
errors: number;
|
|
186
|
+
totalFound: number;
|
|
187
|
+
totalImported: number;
|
|
188
|
+
totalSkipped: number;
|
|
189
|
+
} | null;
|
|
190
|
+
siteResults: AiImportSiteResult[];
|
|
191
|
+
startedAt: Date;
|
|
192
|
+
status: AiImportRunStatus;
|
|
193
|
+
triggeredByUserId?: mongoose__default.Types.ObjectId | null;
|
|
194
|
+
usage?: AiImportUsage | null;
|
|
195
|
+
};
|
|
196
|
+
declare const AiImportRunModel: mongoose__default.Model<SchemaAiImportRun, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportRun, {}, {}> & SchemaAiImportRun & Required<{
|
|
197
|
+
_id: mongoose__default.Types.ObjectId;
|
|
198
|
+
}> & {
|
|
199
|
+
__v: number;
|
|
200
|
+
}, any>;
|
|
201
|
+
|
|
202
|
+
/** Fixed `_id` of the single-document lock guarding AI import runs. */
|
|
203
|
+
declare const AI_IMPORT_RUN_LOCK_KEY = "ai-import-run";
|
|
204
|
+
declare const AiImportRunLockModel: mongoose__default.Model<{
|
|
205
|
+
_id: string;
|
|
206
|
+
lockedAt?: Date | null;
|
|
207
|
+
token?: string | null;
|
|
208
|
+
}, {}, {}, {}, mongoose__default.Document<unknown, {}, {
|
|
209
|
+
_id: string;
|
|
210
|
+
lockedAt?: Date | null;
|
|
211
|
+
token?: string | null;
|
|
212
|
+
}, {}, {}> & {
|
|
213
|
+
_id: string;
|
|
214
|
+
lockedAt?: Date | null;
|
|
215
|
+
token?: string | null;
|
|
216
|
+
} & Required<{
|
|
217
|
+
_id: string;
|
|
218
|
+
}> & {
|
|
219
|
+
__v: number;
|
|
220
|
+
}, any>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Fixed `_id` of the single-document AI scrape-site config. Using `_id`
|
|
224
|
+
* (rather than a free-form `key` field) makes the singleton structural: the
|
|
225
|
+
* collection can only ever contain one configuration document.
|
|
226
|
+
*/
|
|
227
|
+
declare const SCRAPE_SITES_CONFIG_ID = "scrapeSites";
|
|
147
228
|
type SchemaScrapeSiteItem = Omit<ScrapeSite, "_id" | "createdAt" | "updatedAt">;
|
|
148
229
|
type SchemaScrapeSiteConfig = {
|
|
149
|
-
|
|
230
|
+
_id: string;
|
|
150
231
|
sites: Array<SchemaScrapeSiteItem & {
|
|
151
232
|
_id: mongoose__default.Types.ObjectId;
|
|
152
233
|
}>;
|
|
234
|
+
updatedByUserId?: mongoose__default.Types.ObjectId;
|
|
153
235
|
};
|
|
154
|
-
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & {
|
|
155
|
-
_id:
|
|
156
|
-
} & {
|
|
236
|
+
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & Required<{
|
|
237
|
+
_id: string;
|
|
238
|
+
}> & {
|
|
157
239
|
__v: number;
|
|
158
240
|
}, any>;
|
|
159
241
|
|
|
@@ -475,4 +557,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
475
557
|
__v: number;
|
|
476
558
|
}, any>;
|
|
477
559
|
|
|
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,
|
|
560
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, AI_IMPORT_RUN_LOCK_KEY, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AiImportRunLockModel, AiImportRunModel, type AiImportRunStatus, type AiImportSiteResult, 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_ID, type SchemaAiImportRun, 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
|
@@ -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, 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';
|
|
2
|
+
import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogEntryType, BillingCatalogPriceHistoryEntry, EnumBillingPeriod, EnumUserLicence, BILLING_CATALOG_KEYS, ReportChatUser, GoogleImportedMarket, AiImportedMarket, EnumImportedMarketDeactivationReason, EnumAiImportRunStatus, AiImportUsage, 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';
|
|
@@ -128,6 +128,16 @@ type SchemaAiImportedMarket = Omit<AiImportedMarket, "eventId" | "claimedByUserI
|
|
|
128
128
|
searchName?: string;
|
|
129
129
|
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
130
130
|
earliestStartDate?: Date | null;
|
|
131
|
+
/** Set to the run timestamp each time the market appears on its source. */
|
|
132
|
+
lastSeenAt?: Date | null;
|
|
133
|
+
/** Consecutive successful runs where the market did not appear. */
|
|
134
|
+
missedRuns?: number;
|
|
135
|
+
/** Hash of the raw model description used to skip unchanged re-rewrites. */
|
|
136
|
+
descriptionSourceHash?: string | null;
|
|
137
|
+
/** Why an active market was deactivated (null while active). */
|
|
138
|
+
deactivatedReason?: EnumImportedMarketDeactivationReason | null;
|
|
139
|
+
/** sourceKey of an existing AI market this one may duplicate (soft flag). */
|
|
140
|
+
duplicateHint?: string | null;
|
|
131
141
|
};
|
|
132
142
|
declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMarket, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportedMarket, {}, {}> & Omit<AiImportedMarket, "eventId" | "claimedByUserId" | "reviewedByUserId"> & {
|
|
133
143
|
eventId?: mongoose__default.Types.ObjectId;
|
|
@@ -137,23 +147,95 @@ declare const AiImportedMarketModel: mongoose__default.Model<SchemaAiImportedMar
|
|
|
137
147
|
searchName?: string;
|
|
138
148
|
/** Indexed earliest `dateTime` start instant for chronological pagination. */
|
|
139
149
|
earliestStartDate?: Date | null;
|
|
150
|
+
/** Set to the run timestamp each time the market appears on its source. */
|
|
151
|
+
lastSeenAt?: Date | null;
|
|
152
|
+
/** Consecutive successful runs where the market did not appear. */
|
|
153
|
+
missedRuns?: number;
|
|
154
|
+
/** Hash of the raw model description used to skip unchanged re-rewrites. */
|
|
155
|
+
descriptionSourceHash?: string | null;
|
|
156
|
+
/** Why an active market was deactivated (null while active). */
|
|
157
|
+
deactivatedReason?: EnumImportedMarketDeactivationReason | null;
|
|
158
|
+
/** sourceKey of an existing AI market this one may duplicate (soft flag). */
|
|
159
|
+
duplicateHint?: string | null;
|
|
140
160
|
} & Required<{
|
|
141
161
|
_id: string;
|
|
142
162
|
}> & {
|
|
143
163
|
__v: number;
|
|
144
164
|
}, any>;
|
|
145
165
|
|
|
146
|
-
|
|
166
|
+
type AiImportRunStatus = EnumAiImportRunStatus;
|
|
167
|
+
type AiImportSiteResult = {
|
|
168
|
+
error?: string | null;
|
|
169
|
+
errors: number;
|
|
170
|
+
found: number;
|
|
171
|
+
imported: number;
|
|
172
|
+
name: string;
|
|
173
|
+
skipped: number;
|
|
174
|
+
status: EnumAiImportRunStatus.SUCCESS | EnumAiImportRunStatus.ERROR;
|
|
175
|
+
usage: AiImportUsage;
|
|
176
|
+
url: string;
|
|
177
|
+
};
|
|
178
|
+
type SchemaAiImportRun = {
|
|
179
|
+
_id: mongoose__default.Types.ObjectId;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
182
|
+
error?: string | null;
|
|
183
|
+
finishedAt?: Date | null;
|
|
184
|
+
result?: {
|
|
185
|
+
errors: number;
|
|
186
|
+
totalFound: number;
|
|
187
|
+
totalImported: number;
|
|
188
|
+
totalSkipped: number;
|
|
189
|
+
} | null;
|
|
190
|
+
siteResults: AiImportSiteResult[];
|
|
191
|
+
startedAt: Date;
|
|
192
|
+
status: AiImportRunStatus;
|
|
193
|
+
triggeredByUserId?: mongoose__default.Types.ObjectId | null;
|
|
194
|
+
usage?: AiImportUsage | null;
|
|
195
|
+
};
|
|
196
|
+
declare const AiImportRunModel: mongoose__default.Model<SchemaAiImportRun, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaAiImportRun, {}, {}> & SchemaAiImportRun & Required<{
|
|
197
|
+
_id: mongoose__default.Types.ObjectId;
|
|
198
|
+
}> & {
|
|
199
|
+
__v: number;
|
|
200
|
+
}, any>;
|
|
201
|
+
|
|
202
|
+
/** Fixed `_id` of the single-document lock guarding AI import runs. */
|
|
203
|
+
declare const AI_IMPORT_RUN_LOCK_KEY = "ai-import-run";
|
|
204
|
+
declare const AiImportRunLockModel: mongoose__default.Model<{
|
|
205
|
+
_id: string;
|
|
206
|
+
lockedAt?: Date | null;
|
|
207
|
+
token?: string | null;
|
|
208
|
+
}, {}, {}, {}, mongoose__default.Document<unknown, {}, {
|
|
209
|
+
_id: string;
|
|
210
|
+
lockedAt?: Date | null;
|
|
211
|
+
token?: string | null;
|
|
212
|
+
}, {}, {}> & {
|
|
213
|
+
_id: string;
|
|
214
|
+
lockedAt?: Date | null;
|
|
215
|
+
token?: string | null;
|
|
216
|
+
} & Required<{
|
|
217
|
+
_id: string;
|
|
218
|
+
}> & {
|
|
219
|
+
__v: number;
|
|
220
|
+
}, any>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Fixed `_id` of the single-document AI scrape-site config. Using `_id`
|
|
224
|
+
* (rather than a free-form `key` field) makes the singleton structural: the
|
|
225
|
+
* collection can only ever contain one configuration document.
|
|
226
|
+
*/
|
|
227
|
+
declare const SCRAPE_SITES_CONFIG_ID = "scrapeSites";
|
|
147
228
|
type SchemaScrapeSiteItem = Omit<ScrapeSite, "_id" | "createdAt" | "updatedAt">;
|
|
148
229
|
type SchemaScrapeSiteConfig = {
|
|
149
|
-
|
|
230
|
+
_id: string;
|
|
150
231
|
sites: Array<SchemaScrapeSiteItem & {
|
|
151
232
|
_id: mongoose__default.Types.ObjectId;
|
|
152
233
|
}>;
|
|
234
|
+
updatedByUserId?: mongoose__default.Types.ObjectId;
|
|
153
235
|
};
|
|
154
|
-
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & {
|
|
155
|
-
_id:
|
|
156
|
-
} & {
|
|
236
|
+
declare const ScrapeSiteConfigModel: mongoose__default.Model<SchemaScrapeSiteConfig, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaScrapeSiteConfig, {}, {}> & SchemaScrapeSiteConfig & Required<{
|
|
237
|
+
_id: string;
|
|
238
|
+
}> & {
|
|
157
239
|
__v: number;
|
|
158
240
|
}, any>;
|
|
159
241
|
|
|
@@ -475,4 +557,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
|
|
|
475
557
|
__v: number;
|
|
476
558
|
}, any>;
|
|
477
559
|
|
|
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,
|
|
560
|
+
export { AD_BILLING_CATALOG_COLLECTION_NAME, AI_IMPORT_RUN_LOCK_KEY, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, AdPurchaseModel, AiImportRunLockModel, AiImportRunModel, type AiImportRunStatus, type AiImportSiteResult, 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_ID, type SchemaAiImportRun, 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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AD_BILLING_CATALOG_COLLECTION_NAME,
|
|
3
|
+
AI_IMPORT_RUN_LOCK_KEY,
|
|
3
4
|
APP_SETTINGS_ID,
|
|
4
5
|
AdBillingCatalogModel,
|
|
5
6
|
AdBookingModel,
|
|
@@ -7,6 +8,8 @@ import {
|
|
|
7
8
|
AdModel,
|
|
8
9
|
AdPurchaseModel,
|
|
9
10
|
AffiliateModel,
|
|
11
|
+
AiImportRunLockModel,
|
|
12
|
+
AiImportRunModel,
|
|
10
13
|
AiImportedMarketModel,
|
|
11
14
|
AppSettingModel,
|
|
12
15
|
AuthHandoffTokenModel,
|
|
@@ -33,7 +36,7 @@ import {
|
|
|
33
36
|
RelationTypeSchema,
|
|
34
37
|
ResourceActivityModel,
|
|
35
38
|
ResourceImageTypeSchema,
|
|
36
|
-
|
|
39
|
+
SCRAPE_SITES_CONFIG_ID,
|
|
37
40
|
SchoolModel,
|
|
38
41
|
ScrapeSiteConfigModel,
|
|
39
42
|
SocialMediaTypeSchema,
|
|
@@ -57,9 +60,10 @@ import {
|
|
|
57
60
|
termsAgreementSchema,
|
|
58
61
|
userLicenseSchema,
|
|
59
62
|
vendorProductTypeSchema
|
|
60
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-AHC434D4.mjs";
|
|
61
64
|
export {
|
|
62
65
|
AD_BILLING_CATALOG_COLLECTION_NAME,
|
|
66
|
+
AI_IMPORT_RUN_LOCK_KEY,
|
|
63
67
|
APP_SETTINGS_ID,
|
|
64
68
|
AdBillingCatalogModel,
|
|
65
69
|
AdBookingModel,
|
|
@@ -67,6 +71,8 @@ export {
|
|
|
67
71
|
AdModel,
|
|
68
72
|
AdPurchaseModel,
|
|
69
73
|
AffiliateModel,
|
|
74
|
+
AiImportRunLockModel,
|
|
75
|
+
AiImportRunModel,
|
|
70
76
|
AiImportedMarketModel,
|
|
71
77
|
AppSettingModel,
|
|
72
78
|
AuthHandoffTokenModel,
|
|
@@ -93,7 +99,7 @@ export {
|
|
|
93
99
|
RelationTypeSchema,
|
|
94
100
|
ResourceActivityModel,
|
|
95
101
|
ResourceImageTypeSchema,
|
|
96
|
-
|
|
102
|
+
SCRAPE_SITES_CONFIG_ID,
|
|
97
103
|
SchoolModel,
|
|
98
104
|
ScrapeSiteConfigModel,
|
|
99
105
|
SocialMediaTypeSchema,
|