@wisemen/wise-crm-web 2.0.0-alpha.13 → 2.0.0-alpha.14

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/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { BillingInformationUuid } from '#models/billing-information/billingInformationUuid.model.ts';
2
1
  import { BoardColumnTransitionTriggerType } from '#client/index.ts';
3
2
  import { BoardColumnUuid } from '#models/board/boardColumnUuid.model.ts';
4
3
  import { BusinessIndexQueryParams } from '#models/business/index/businessIndexQueryParams.model.ts';
@@ -14,8 +13,8 @@ import { DealUuid } from '#models/deal/dealUuid.model.ts';
14
13
  import { DefineComponent } from 'vue';
15
14
  import { DialogContentTab } from '#types/dialog-content-tab/dialogContentTab.type.ts';
16
15
  import { EntityConfig } from '#models/tenant-config/tenantConfig.model.ts';
17
- import { EntityType } from '#client/index.ts';
18
- import { EntityType as EntityType_2 } from '#client/types.gen.ts';
16
+ import { EntityType } from '#client/types.gen.ts';
17
+ import { EntityType as EntityType_2 } from '#client/index.ts';
19
18
  import { EntityType as EntityType_3 } from '#models/enitityType.model.ts';
20
19
  import { GlobalSearchCollectionName } from '#client/index.ts';
21
20
  import { IndividualIndexQueryParams } from '#models/individual/index/individualIndexQueryParams.model.ts';
@@ -144,14 +143,14 @@ declare interface CrmRouteOptions {
144
143
  }
145
144
 
146
145
  export declare const CrmSearchTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
147
- select: (args_0: EntityType_2, args_1: string) => any;
146
+ select: (args_0: EntityType, args_1: string) => any;
148
147
  }, string, PublicProps, Readonly<{}> & Readonly<{
149
- onSelect?: ((args_0: EntityType_2, args_1: string) => any) | undefined;
148
+ onSelect?: ((args_0: EntityType, args_1: string) => any) | undefined;
150
149
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
151
150
 
152
151
  declare function getConfig(): TenantConfig;
153
152
 
154
- declare function getCustomFieldDefinitionForEntity(entityType: EntityType): CustomFieldDefinitionIndex[];
153
+ declare function getCustomFieldDefinitionForEntity(entityType: EntityType_2): CustomFieldDefinitionIndex[];
155
154
 
156
155
  declare function getOptions(): InitProps['options'];
157
156
 
@@ -178,7 +177,7 @@ declare interface InitProps {
178
177
  }
179
178
 
180
179
  export declare function useWiseCrm(): {
181
- getEntityConfig: (type: EntityType) => EntityConfig | null;
180
+ getEntityConfig: (type: EntityType_2) => EntityConfig | null;
182
181
  goToReturnRoute: () => void;
183
182
  openBusinessDetail: (businessUuid: BusinessUuid) => void;
184
183
  openIndividualDetail: (individualUuid: IndividualUuid) => void;
@@ -196,8 +195,8 @@ export declare function useWiseCrmConfig(): {
196
195
  export declare function useWiseCrmContactCreateDialog(): {
197
196
  close: (value?: any) => void;
198
197
  open: (options?: {
199
- entityType?: EntityType | null;
200
- onCreate?: (uuid: BusinessUuid | IndividualUuid, name: string, type: EntityType) => void;
198
+ entityType?: EntityType_2 | null;
199
+ onCreate?: (uuid: BusinessUuid | IndividualUuid, name: string, type: EntityType_2) => void;
201
200
  }) => void;
202
201
  };
203
202
 
@@ -1593,11 +1592,6 @@ isAutoFocusDisabled: boolean;
1593
1592
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1594
1593
 
1595
1594
  export declare interface WiseCrmQueryKeys {
1596
- billingInformationDetail: {
1597
- params: {
1598
- billingInformationUuid: ComputedRef<BillingInformationUuid | null>;
1599
- };
1600
- };
1601
1595
  boardColumnsIndex: void;
1602
1596
  boardColumnsTransition: {
1603
1597
  params: {
@@ -1620,11 +1614,6 @@ export declare interface WiseCrmQueryKeys {
1620
1614
  contactPersonUuid: ComputedRef<WiseCrmIndividualUuid_2 | null>;
1621
1615
  };
1622
1616
  };
1623
- customFieldDefinitionIndex: {
1624
- params: {
1625
- entityType: EntityType;
1626
- };
1627
- };
1628
1617
  dealContactPersonDetail: {
1629
1618
  params: {
1630
1619
  contactPersonUuid: ComputedRef<IndividualUuid>;
@@ -1653,11 +1642,6 @@ export declare interface WiseCrmQueryKeys {
1653
1642
  queryParams?: InfiniteQueryOptions<IndividualIndexQueryParams>['params'];
1654
1643
  };
1655
1644
  };
1656
- individualSearchIndex: {
1657
- params: {
1658
- searchTerm?: ComputedRef<string | null>;
1659
- };
1660
- };
1661
1645
  mailIndex: {
1662
1646
  params: {
1663
1647
  queryParams?: InfiniteQueryOptions<MailIndexQueryParams>['params'];
@@ -1698,11 +1682,6 @@ export declare interface WiseCrmQueryKeys {
1698
1682
  params: InfiniteQueryOptions<UserIndexQueryParams>['params'];
1699
1683
  };
1700
1684
  };
1701
- userSearchByTerm: {
1702
- params: {
1703
- searchTerm: ComputedRef<string>;
1704
- };
1705
- };
1706
1685
  wiseCrmBusinessBillingInformation: {
1707
1686
  params: {
1708
1687
  businessUuid: ComputedRef<WiseCrmBusinessUuid_2>;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a6 as i, a7 as e, a8 as r, a9 as C, aa as m, ab as n, ac as d, ad as W, ae as l, P as t, af as o, ag as u, ah as g, ai as v, aj as c, ak as B, al as D, am as I, an as b, r as f, X as S, O as h, ao as p, ap as T, aq as U } from "./index-xck90fnP.js";
1
+ import { a6 as i, a7 as e, a8 as r, a9 as C, aa as m, ab as n, ac as d, ad as W, ae as l, P as t, af as o, ag as u, ah as g, ai as v, aj as c, ak as B, al as D, am as I, an as b, r as f, X as S, O as h, ao as p, ap as T, aq as U } from "./index-Cgf7l3hP.js";
2
2
  export {
3
3
  i as CrmSearchTrigger,
4
4
  e as WiseCrmBusinessBillingInformationCard,