@timardex/cluemart-server-shared 4.1.0 → 4.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.
@@ -3,8 +3,8 @@ import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogE
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';
6
- import { S as SchemaOwnerType } from '../Affiliate-CpoM9_Bb.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-CpoM9_Bb.mjs';
6
+ import { S as SchemaAssociateType, a as SchemaOwnerType } from '../Affiliate-Bilg9mgw.mjs';
7
+ export { A as AffiliateModel, b as AssociateTypeSchema, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, d as RelationTypeSchema, e as ResourceImageTypeSchema, f as SchemaAffiliateResourceType, g as SchemaAffiliateReward, h as SchemaRelatedPostType, i as SchemaRelationType, j as SchemaStripeSubscription, k as SchemaUserActivityEvent, l as SchemaUserAssociatedResourcesType, m as SchemaUserType, n as SocialMediaTypeSchema, U as UserModel, o as baseResourceFields, p as dateTimeSchema, q as locationGeoSchema, r as locationsSchema, s as relatedPostSchema, t as relationDatesSchema, u as socialShareResourceSchema, v as termsAgreementSchema, w as userLicenseSchema } from '../Affiliate-Bilg9mgw.mjs';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -326,8 +326,9 @@ declare const vendorProductTypeSchema: mongoose__default.Schema<VendorProductLis
326
326
  }> & {
327
327
  __v: number;
328
328
  }>;
329
- type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds" | "unregisteredVendorId"> & {
329
+ type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "ownerLicenceType" | "adIds" | "associates" | "unregisteredVendorId"> & {
330
330
  adIds?: ObjectId[];
331
+ associates?: SchemaAssociateType[] | null;
331
332
  /** Mirror of `categories[].name` for $text search (see vendorSearch). */
332
333
  categoriesNames?: string[];
333
334
  owner: SchemaOwnerType;
@@ -336,8 +337,9 @@ type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds" | "u
336
337
  vendorInfoId: ObjectId;
337
338
  unregisteredVendorId?: ObjectId | null;
338
339
  };
339
- declare const VendorModel: mongoose__default.Model<SchemaVendorType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaVendorType, {}, {}> & Omit<VendorType, "adIds" | "owner" | "vendorInfoId" | "unregisteredVendorId"> & {
340
+ declare const VendorModel: mongoose__default.Model<SchemaVendorType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaVendorType, {}, {}> & Omit<VendorType, "adIds" | "associates" | "owner" | "ownerLicenceType" | "vendorInfoId" | "unregisteredVendorId"> & {
340
341
  adIds?: ObjectId[];
342
+ associates?: SchemaAssociateType[] | null;
341
343
  /** Mirror of `categories[].name` for $text search (see vendorSearch). */
342
344
  categoriesNames?: string[];
343
345
  owner: SchemaOwnerType;
@@ -384,15 +386,17 @@ declare const UnregisteredVendorModel: mongoose__default.Model<SchemaUnregistere
384
386
  __v: number;
385
387
  }, any>;
386
388
 
387
- type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "adIds"> & {
389
+ type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "ownerLicenceType" | "adIds" | "associates"> & {
388
390
  adIds?: ObjectId[];
391
+ associates?: SchemaAssociateType[] | null;
389
392
  eventInfoId: ObjectId;
390
393
  owner: SchemaOwnerType;
391
394
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
392
395
  searchName?: string;
393
396
  };
394
- declare const EventModel: mongoose__default.Model<SchemaEventType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventType, {}, {}> & Omit<EventType, "adIds" | "eventInfoId" | "owner"> & {
397
+ declare const EventModel: mongoose__default.Model<SchemaEventType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventType, {}, {}> & Omit<EventType, "adIds" | "associates" | "eventInfoId" | "owner" | "ownerLicenceType"> & {
395
398
  adIds?: ObjectId[];
399
+ associates?: SchemaAssociateType[] | null;
396
400
  eventInfoId: ObjectId;
397
401
  owner: SchemaOwnerType;
398
402
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
@@ -442,14 +446,16 @@ declare const EventDateArchiveModel: mongoose__default.Model<SchemaEventDateArch
442
446
  __v: number;
443
447
  }, any>;
444
448
 
445
- type SchemaPartnerType = Omit<PartnerType, "owner" | "adIds"> & {
449
+ type SchemaPartnerType = Omit<PartnerType, "owner" | "ownerLicenceType" | "adIds" | "associates"> & {
446
450
  adIds?: ObjectId[];
451
+ associates?: SchemaAssociateType[] | null;
447
452
  owner: SchemaOwnerType;
448
453
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
449
454
  searchName?: string;
450
455
  };
451
- declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaPartnerType, {}, {}> & Omit<PartnerType, "adIds" | "owner"> & {
456
+ declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaPartnerType, {}, {}> & Omit<PartnerType, "adIds" | "associates" | "owner" | "ownerLicenceType"> & {
452
457
  adIds?: ObjectId[];
458
+ associates?: SchemaAssociateType[] | null;
453
459
  owner: SchemaOwnerType;
454
460
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
455
461
  searchName?: string;
@@ -607,4 +613,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
607
613
  __v: number;
608
614
  }, any>;
609
615
 
610
- 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 };
616
+ 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, SchemaAssociateType, 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 };
@@ -3,8 +3,8 @@ import { AdType, AdDailyPriceType, AdBookingType, AdMetricsType, BillingCatalogE
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';
6
- import { S as SchemaOwnerType } from '../Affiliate-YoKkDGxN.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-YoKkDGxN.js';
6
+ import { S as SchemaAssociateType, a as SchemaOwnerType } from '../Affiliate-CfG8ctIo.js';
7
+ export { A as AffiliateModel, b as AssociateTypeSchema, C as CategorySchema, c as ContactDetailsSchema, O as OwnerTypeSchema, R as RelationModel, d as RelationTypeSchema, e as ResourceImageTypeSchema, f as SchemaAffiliateResourceType, g as SchemaAffiliateReward, h as SchemaRelatedPostType, i as SchemaRelationType, j as SchemaStripeSubscription, k as SchemaUserActivityEvent, l as SchemaUserAssociatedResourcesType, m as SchemaUserType, n as SocialMediaTypeSchema, U as UserModel, o as baseResourceFields, p as dateTimeSchema, q as locationGeoSchema, r as locationsSchema, s as relatedPostSchema, t as relationDatesSchema, u as socialShareResourceSchema, v as termsAgreementSchema, w as userLicenseSchema } from '../Affiliate-CfG8ctIo.js';
8
8
  import '@timardex/cluemart-shared/types';
9
9
  import 'express';
10
10
 
@@ -326,8 +326,9 @@ declare const vendorProductTypeSchema: mongoose__default.Schema<VendorProductLis
326
326
  }> & {
327
327
  __v: number;
328
328
  }>;
329
- type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds" | "unregisteredVendorId"> & {
329
+ type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "ownerLicenceType" | "adIds" | "associates" | "unregisteredVendorId"> & {
330
330
  adIds?: ObjectId[];
331
+ associates?: SchemaAssociateType[] | null;
331
332
  /** Mirror of `categories[].name` for $text search (see vendorSearch). */
332
333
  categoriesNames?: string[];
333
334
  owner: SchemaOwnerType;
@@ -336,8 +337,9 @@ type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds" | "u
336
337
  vendorInfoId: ObjectId;
337
338
  unregisteredVendorId?: ObjectId | null;
338
339
  };
339
- declare const VendorModel: mongoose__default.Model<SchemaVendorType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaVendorType, {}, {}> & Omit<VendorType, "adIds" | "owner" | "vendorInfoId" | "unregisteredVendorId"> & {
340
+ declare const VendorModel: mongoose__default.Model<SchemaVendorType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaVendorType, {}, {}> & Omit<VendorType, "adIds" | "associates" | "owner" | "ownerLicenceType" | "vendorInfoId" | "unregisteredVendorId"> & {
340
341
  adIds?: ObjectId[];
342
+ associates?: SchemaAssociateType[] | null;
341
343
  /** Mirror of `categories[].name` for $text search (see vendorSearch). */
342
344
  categoriesNames?: string[];
343
345
  owner: SchemaOwnerType;
@@ -384,15 +386,17 @@ declare const UnregisteredVendorModel: mongoose__default.Model<SchemaUnregistere
384
386
  __v: number;
385
387
  }, any>;
386
388
 
387
- type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "adIds"> & {
389
+ type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "ownerLicenceType" | "adIds" | "associates"> & {
388
390
  adIds?: ObjectId[];
391
+ associates?: SchemaAssociateType[] | null;
389
392
  eventInfoId: ObjectId;
390
393
  owner: SchemaOwnerType;
391
394
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
392
395
  searchName?: string;
393
396
  };
394
- declare const EventModel: mongoose__default.Model<SchemaEventType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventType, {}, {}> & Omit<EventType, "adIds" | "eventInfoId" | "owner"> & {
397
+ declare const EventModel: mongoose__default.Model<SchemaEventType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaEventType, {}, {}> & Omit<EventType, "adIds" | "associates" | "eventInfoId" | "owner" | "ownerLicenceType"> & {
395
398
  adIds?: ObjectId[];
399
+ associates?: SchemaAssociateType[] | null;
396
400
  eventInfoId: ObjectId;
397
401
  owner: SchemaOwnerType;
398
402
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
@@ -442,14 +446,16 @@ declare const EventDateArchiveModel: mongoose__default.Model<SchemaEventDateArch
442
446
  __v: number;
443
447
  }, any>;
444
448
 
445
- type SchemaPartnerType = Omit<PartnerType, "owner" | "adIds"> & {
449
+ type SchemaPartnerType = Omit<PartnerType, "owner" | "ownerLicenceType" | "adIds" | "associates"> & {
446
450
  adIds?: ObjectId[];
451
+ associates?: SchemaAssociateType[] | null;
447
452
  owner: SchemaOwnerType;
448
453
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
449
454
  searchName?: string;
450
455
  };
451
- declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaPartnerType, {}, {}> & Omit<PartnerType, "adIds" | "owner"> & {
456
+ declare const PartnerModel: mongoose__default.Model<SchemaPartnerType, {}, {}, {}, mongoose__default.Document<unknown, {}, SchemaPartnerType, {}, {}> & Omit<PartnerType, "adIds" | "associates" | "owner" | "ownerLicenceType"> & {
452
457
  adIds?: ObjectId[];
458
+ associates?: SchemaAssociateType[] | null;
453
459
  owner: SchemaOwnerType;
454
460
  /** Lowercase `name` mirror for prefix type-ahead (see searchNamePlugin). */
455
461
  searchName?: string;
@@ -607,4 +613,4 @@ declare const ImpersonationAuditModel: mongoose__default.Model<SchemaImpersonati
607
613
  __v: number;
608
614
  }, any>;
609
615
 
610
- 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 };
616
+ 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, SchemaAssociateType, 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 };
@@ -12,6 +12,7 @@ import {
12
12
  AiImportRunModel,
13
13
  AiImportedMarketModel,
14
14
  AppSettingModel,
15
+ AssociateTypeSchema,
15
16
  AuthHandoffTokenModel,
16
17
  BILLING_CATALOG_COLLECTION_NAME,
17
18
  BillingCatalogModel,
@@ -60,7 +61,7 @@ import {
60
61
  termsAgreementSchema,
61
62
  userLicenseSchema,
62
63
  vendorProductTypeSchema
63
- } from "../chunk-U5WL3CZR.mjs";
64
+ } from "../chunk-ABW2L2HY.mjs";
64
65
  export {
65
66
  AD_BILLING_CATALOG_COLLECTION_NAME,
66
67
  AI_IMPORT_RUN_LOCK_KEY,
@@ -75,6 +76,7 @@ export {
75
76
  AiImportRunModel,
76
77
  AiImportedMarketModel,
77
78
  AppSettingModel,
79
+ AssociateTypeSchema,
78
80
  AuthHandoffTokenModel,
79
81
  BILLING_CATALOG_COLLECTION_NAME,
80
82
  BillingCatalogModel,