@timardex/cluemart-shared 1.2.68 → 1.2.69

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 { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.js';
2
- import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-X7Gs8dR2.js';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-08vcDEuE.js';
3
3
 
4
4
  interface TesterFormData {
5
5
  approved: boolean;
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.mjs';
2
- import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-Q8FB4ZfD.mjs';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-DhZY519g.mjs';
3
3
 
4
4
  interface TesterFormData {
5
5
  approved: boolean;
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-Q8FB4ZfD.mjs';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-DhZY519g.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-X7Gs8dR2.js';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-08vcDEuE.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-Q8FB4ZfD.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DhZY519g.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-X7Gs8dR2.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-08vcDEuE.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -329,9 +329,10 @@ type PosterUsageType = {
329
329
  month: string;
330
330
  count: number;
331
331
  };
332
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
332
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
333
333
  _id: string;
334
334
  adIds?: string[] | null;
335
+ associates?: AssociateType[] | null;
335
336
  chatIds?: string[] | null;
336
337
  createdAt: Date;
337
338
  deletedAt: Date | null;
@@ -329,9 +329,10 @@ type PosterUsageType = {
329
329
  month: string;
330
330
  count: number;
331
331
  };
332
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
332
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
333
333
  _id: string;
334
334
  adIds?: string[] | null;
335
+ associates?: AssociateType[] | null;
335
336
  chatIds?: string[] | null;
336
337
  createdAt: Date;
337
338
  deletedAt: Date | null;
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-DB-fx51l.mjs';
3
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UserType, f as SubscriptionStatusData } from '../global-Q8FB4ZfD.mjs';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UserType, f as SubscriptionStatusData } from '../global-DhZY519g.mjs';
4
4
  import { EnumResourceType } from '../enums/index.mjs';
5
- import { T as TesterType, A as AdType, E as EnumAdStatus, P as PartnerType } from '../ad-ByXz9Km3.mjs';
5
+ import { T as TesterType, A as AdType, E as EnumAdStatus, P as PartnerType } from '../ad-DITy2OMe.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-Ezt7CDPH.js';
3
- import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UserType, f as SubscriptionStatusData } from '../global-X7Gs8dR2.js';
3
+ import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType, U as UserType, f as SubscriptionStatusData } from '../global-08vcDEuE.js';
4
4
  import { EnumResourceType } from '../enums/index.js';
5
- import { T as TesterType, A as AdType, E as EnumAdStatus, P as PartnerType } from '../ad--4RgHfBN.js';
5
+ import { T as TesterType, A as AdType, E as EnumAdStatus, P as PartnerType } from '../ad-BijiW7Nn.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,6 +1,6 @@
1
- import { L as LocationType, g as VendorFormData, h as CreateVendorFormData, i as VendorInfoFormData, j as CreateVendorInfoFormData, k as EventFormData, l as CreateEventFormData, m as EventInfoFormData, n as CreateEventInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-Q8FB4ZfD.mjs';
2
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-gyDaskvq.mjs';
3
- import { a as PartnerFormData, b as TesterFormData, C as CreateTesterFormData, c as AdFormData, d as CreateAdFormData, e as CreatePartnerFormData } from '../ad-ByXz9Km3.mjs';
1
+ import { L as LocationType, g as VendorFormData, h as CreateVendorFormData, i as VendorInfoFormData, j as CreateVendorInfoFormData, k as EventFormData, l as CreateEventFormData, m as EventInfoFormData, n as CreateEventInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-DhZY519g.mjs';
2
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DCIrfDwB.mjs';
3
+ import { a as PartnerFormData, b as TesterFormData, C as CreateTesterFormData, c as AdFormData, d as CreateAdFormData, e as CreatePartnerFormData } from '../ad-DITy2OMe.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocationType, g as VendorFormData, h as CreateVendorFormData, i as VendorInfoFormData, j as CreateVendorInfoFormData, k as EventFormData, l as CreateEventFormData, m as EventInfoFormData, n as CreateEventInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-X7Gs8dR2.js';
2
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-ChIm_Rn9.js';
3
- import { a as PartnerFormData, b as TesterFormData, C as CreateTesterFormData, c as AdFormData, d as CreateAdFormData, e as CreatePartnerFormData } from '../ad--4RgHfBN.js';
1
+ import { L as LocationType, g as VendorFormData, h as CreateVendorFormData, i as VendorInfoFormData, j as CreateVendorInfoFormData, k as EventFormData, l as CreateEventFormData, m as EventInfoFormData, n as CreateEventInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-08vcDEuE.js';
2
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-iE9sd_mq.js';
3
+ import { a as PartnerFormData, b as TesterFormData, C as CreateTesterFormData, c as AdFormData, d as CreateAdFormData, e as CreatePartnerFormData } from '../ad-BijiW7Nn.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
6
6
 
package/dist/index.d.mts CHANGED
@@ -508,9 +508,10 @@ type PosterUsageType = {
508
508
  month: string;
509
509
  count: number;
510
510
  };
511
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
511
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
512
512
  _id: string;
513
513
  adIds?: string[] | null;
514
+ associates?: AssociateType[] | null;
514
515
  chatIds?: string[] | null;
515
516
  createdAt: Date;
516
517
  deletedAt: Date | null;
package/dist/index.d.ts CHANGED
@@ -508,9 +508,10 @@ type PosterUsageType = {
508
508
  month: string;
509
509
  count: number;
510
510
  };
511
- type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
511
+ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
512
512
  _id: string;
513
513
  adIds?: string[] | null;
514
+ associates?: AssociateType[] | null;
514
515
  chatIds?: string[] | null;
515
516
  createdAt: Date;
516
517
  deletedAt: Date | null;
@@ -1,8 +1,8 @@
1
1
  import { EnumResourceType } from '../enums/index.mjs';
2
- export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-gyDaskvq.mjs';
2
+ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-DCIrfDwB.mjs';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-DB-fx51l.mjs';
4
- export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-Q8FB4ZfD.mjs';
5
- export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad-ByXz9Km3.mjs';
4
+ export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-DhZY519g.mjs';
5
+ export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad-DITy2OMe.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  interface AdminUpdateResourceType {
@@ -1,8 +1,8 @@
1
1
  import { EnumResourceType } from '../enums/index.js';
2
- export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-ChIm_Rn9.js';
2
+ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-iE9sd_mq.js';
3
3
  export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-Ezt7CDPH.js';
4
- export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-X7Gs8dR2.js';
5
- export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad--4RgHfBN.js';
4
+ export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-08vcDEuE.js';
5
+ export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad-BijiW7Nn.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  interface AdminUpdateResourceType {
@@ -1,5 +1,5 @@
1
1
  import { EnumInviteStatus, EnumRegions } from '../enums/index.mjs';
2
- import { x as Region, O as OptionItem } from '../global-Q8FB4ZfD.mjs';
2
+ import { x as Region, O as OptionItem } from '../global-DhZY519g.mjs';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
@@ -1,5 +1,5 @@
1
1
  import { EnumInviteStatus, EnumRegions } from '../enums/index.js';
2
- import { x as Region, O as OptionItem } from '../global-X7Gs8dR2.js';
2
+ import { x as Region, O as OptionItem } from '../global-08vcDEuE.js';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",