@timardex/cluemart-server-shared 3.0.1 → 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.
@@ -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';
@@ -36,6 +36,8 @@ declare const AdBookingModel: mongoose__default.Model<AdBookingType, {}, {}, {},
36
36
  __v: number;
37
37
  }, any>;
38
38
 
39
+ declare const AdPurchaseModel: mongoose__default.Model<any, {}, {}, {}, any, any>;
40
+
39
41
  declare const AdMetricsModel: mongoose__default.Model<AdMetricsType, {}, {}, {}, mongoose__default.Document<unknown, {}, AdMetricsType, {}, {}> & AdMetricsType & Required<{
40
42
  _id: string;
41
43
  }> & {
@@ -114,6 +116,32 @@ declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImp
114
116
  __v: number;
115
117
  }, any>;
116
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
+
117
145
  type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
118
146
  userId: ObjectId;
119
147
  };
@@ -307,6 +335,8 @@ type SchemaAppSettingsType = AppSettingsType & {
307
335
  approvalRequired: boolean;
308
336
  minAppearancesPerHour?: number;
309
337
  mobileDisplayEnabled: boolean;
338
+ purchasePricing?: Record<string, unknown>;
339
+ regionPricing?: Record<string, unknown>;
310
340
  paidSlotsPerPlacement?: number;
311
341
  reservedSlotsPerPlacement?: number;
312
342
  rotationSeconds?: number;
@@ -325,6 +355,8 @@ declare const AppSettingModel: mongoose__default.Model<SchemaAppSettingsType, {}
325
355
  approvalRequired: boolean;
326
356
  minAppearancesPerHour?: number;
327
357
  mobileDisplayEnabled: boolean;
358
+ purchasePricing?: Record<string, unknown>;
359
+ regionPricing?: Record<string, unknown>;
328
360
  paidSlotsPerPlacement?: number;
329
361
  reservedSlotsPerPlacement?: number;
330
362
  rotationSeconds?: number;
@@ -428,4 +460,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
428
460
  __v: number;
429
461
  }, any>;
430
462
 
431
- export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, 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 };
@@ -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';
@@ -36,6 +36,8 @@ declare const AdBookingModel: mongoose__default.Model<AdBookingType, {}, {}, {},
36
36
  __v: number;
37
37
  }, any>;
38
38
 
39
+ declare const AdPurchaseModel: mongoose__default.Model<any, {}, {}, {}, any, any>;
40
+
39
41
  declare const AdMetricsModel: mongoose__default.Model<AdMetricsType, {}, {}, {}, mongoose__default.Document<unknown, {}, AdMetricsType, {}, {}> & AdMetricsType & Required<{
40
42
  _id: string;
41
43
  }> & {
@@ -114,6 +116,32 @@ declare const GoogleImportedMarketModel: mongoose__default.Model<SchemaGoogleImp
114
116
  __v: number;
115
117
  }, any>;
116
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
+
117
145
  type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
118
146
  userId: ObjectId;
119
147
  };
@@ -307,6 +335,8 @@ type SchemaAppSettingsType = AppSettingsType & {
307
335
  approvalRequired: boolean;
308
336
  minAppearancesPerHour?: number;
309
337
  mobileDisplayEnabled: boolean;
338
+ purchasePricing?: Record<string, unknown>;
339
+ regionPricing?: Record<string, unknown>;
310
340
  paidSlotsPerPlacement?: number;
311
341
  reservedSlotsPerPlacement?: number;
312
342
  rotationSeconds?: number;
@@ -325,6 +355,8 @@ declare const AppSettingModel: mongoose__default.Model<SchemaAppSettingsType, {}
325
355
  approvalRequired: boolean;
326
356
  minAppearancesPerHour?: number;
327
357
  mobileDisplayEnabled: boolean;
358
+ purchasePricing?: Record<string, unknown>;
359
+ regionPricing?: Record<string, unknown>;
328
360
  paidSlotsPerPlacement?: number;
329
361
  reservedSlotsPerPlacement?: number;
330
362
  rotationSeconds?: number;
@@ -428,4 +460,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
428
460
  __v: number;
429
461
  }, any>;
430
462
 
431
- export { AD_BILLING_CATALOG_COLLECTION_NAME, APP_SETTINGS_ID, AdBillingCatalogModel, AdBookingModel, AdMetricsModel, AdModel, 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 };
@@ -5,7 +5,9 @@ import {
5
5
  AdBookingModel,
6
6
  AdMetricsModel,
7
7
  AdModel,
8
+ AdPurchaseModel,
8
9
  AffiliateModel,
10
+ AiImportedMarketModel,
9
11
  AppSettingModel,
10
12
  AuthHandoffTokenModel,
11
13
  BILLING_CATALOG_COLLECTION_NAME,
@@ -32,6 +34,7 @@ import {
32
34
  ResourceActivityModel,
33
35
  ResourceImageTypeSchema,
34
36
  SchoolModel,
37
+ ScrapeSiteModel,
35
38
  SocialMediaTypeSchema,
36
39
  StallTypeSchema,
37
40
  UnregisteredVendorModel,
@@ -53,7 +56,7 @@ import {
53
56
  termsAgreementSchema,
54
57
  userLicenseSchema,
55
58
  vendorProductTypeSchema
56
- } from "../chunk-GDXPPYDN.mjs";
59
+ } from "../chunk-MVQMMXGY.mjs";
57
60
  export {
58
61
  AD_BILLING_CATALOG_COLLECTION_NAME,
59
62
  APP_SETTINGS_ID,
@@ -61,7 +64,9 @@ export {
61
64
  AdBookingModel,
62
65
  AdMetricsModel,
63
66
  AdModel,
67
+ AdPurchaseModel,
64
68
  AffiliateModel,
69
+ AiImportedMarketModel,
65
70
  AppSettingModel,
66
71
  AuthHandoffTokenModel,
67
72
  BILLING_CATALOG_COLLECTION_NAME,
@@ -88,6 +93,7 @@ export {
88
93
  ResourceActivityModel,
89
94
  ResourceImageTypeSchema,
90
95
  SchoolModel,
96
+ ScrapeSiteModel,
91
97
  SocialMediaTypeSchema,
92
98
  StallTypeSchema,
93
99
  UnregisteredVendorModel,