woodsportal-client-sdk 1.1.4-dev.59 → 1.1.4-dev.60

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,6 +1,6 @@
1
1
  import { bindStoreWithActions } from '../../chunk-Y5MRAAGK.js';
2
- import { createAdapterHooks } from '../../chunk-RZRM2BYO.js';
3
- import '../../chunk-SZVZSCNM.js';
2
+ import { createAdapterHooks } from '../../chunk-AZ7K37OU.js';
3
+ import '../../chunk-IVNXDHLP.js';
4
4
  import '../../chunk-2SYUOWTT.js';
5
5
  import { inject, DestroyRef, signal } from '@angular/core';
6
6
 
@@ -1,5 +1,5 @@
1
- import { createAdapterHooks } from '../../chunk-RZRM2BYO.js';
2
- import '../../chunk-SZVZSCNM.js';
1
+ import { createAdapterHooks } from '../../chunk-AZ7K37OU.js';
2
+ import '../../chunk-IVNXDHLP.js';
3
3
  import '../../chunk-2SYUOWTT.js';
4
4
  import { useSyncExternalStore } from 'react';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { bindStoreWithActions } from '../../chunk-Y5MRAAGK.js';
2
- import { createAdapterHooks } from '../../chunk-RZRM2BYO.js';
3
- import '../../chunk-SZVZSCNM.js';
2
+ import { createAdapterHooks } from '../../chunk-AZ7K37OU.js';
3
+ import '../../chunk-IVNXDHLP.js';
4
4
  import '../../chunk-2SYUOWTT.js';
5
5
  import { reactive, onScopeDispose } from 'vue';
6
6
 
@@ -1,4 +1,4 @@
1
- import { uploaderStore, actions2, syncStore, actions5, emailStore, actions4, noteStore, actions3, multiObjectStore, actions6, tableStore, actions } from './chunk-SZVZSCNM.js';
1
+ import { uploaderStore, actions2, syncStore, actions5, emailStore, actions4, noteStore, actions3, multiObjectStore, actions6, tableStore, actions } from './chunk-IVNXDHLP.js';
2
2
 
3
3
  // src/adapters/shared/createAdapterHooks.ts
4
4
  function createAdapterHooks(createComposable) {
@@ -13,5 +13,5 @@ function createAdapterHooks(createComposable) {
13
13
  }
14
14
 
15
15
  export { createAdapterHooks };
16
- //# sourceMappingURL=chunk-RZRM2BYO.js.map
17
- //# sourceMappingURL=chunk-RZRM2BYO.js.map
16
+ //# sourceMappingURL=chunk-AZ7K37OU.js.map
17
+ //# sourceMappingURL=chunk-AZ7K37OU.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;AA0BO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAY,OAAY,CAAA;AAAA,IACpF,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,QAAkB,CAAA;AAAA,IAC5E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe;AAAA,GACvG;AACJ","file":"chunk-RZRM2BYO.js","sourcesContent":["import type { SubscribableStore } from \"./bindStoreWithActions\";\nimport {\n tableStore,\n tableActions,\n type TableState,\n multiObjectStore,\n multiObjectActions,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n} from \"./stores\";\n\ntype ComposableFactory = <TState extends object, TActions extends object>(\n store: SubscribableStore<TState>,\n actions: TActions,\n) => () => TState & TActions;\n\nexport function createAdapterHooks(createComposable: ComposableFactory) {\n return {\n useTable: createComposable<TableState, typeof tableActions>(tableStore, tableActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n };\n}\n"]}
1
+ {"version":3,"sources":["../src/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;AA0BO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAY,OAAY,CAAA;AAAA,IACpF,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,QAAkB,CAAA;AAAA,IAC5E,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,QAAY,CAAA;AAAA,IACpF,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe;AAAA,GACvG;AACJ","file":"chunk-AZ7K37OU.js","sourcesContent":["import type { SubscribableStore } from \"./bindStoreWithActions\";\nimport {\n tableStore,\n tableActions,\n type TableState,\n multiObjectStore,\n multiObjectActions,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n} from \"./stores\";\n\ntype ComposableFactory = <TState extends object, TActions extends object>(\n store: SubscribableStore<TState>,\n actions: TActions,\n) => () => TState & TActions;\n\nexport function createAdapterHooks(createComposable: ComposableFactory) {\n return {\n useTable: createComposable<TableState, typeof tableActions>(tableStore, tableActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n };\n}\n"]}
@@ -2004,7 +2004,6 @@ var Client = {
2004
2004
  object: {
2005
2005
  list: async (payload = null, param = null) => {
2006
2006
  const { setObjectsQueryParams } = actions2;
2007
- param.cache = payload?.cache === false ? true : false;
2008
2007
  const params = { hubspotObjectTypeId: payload?.hubspotObjectTypeId };
2009
2008
  const { updateLink, getLinkParams } = useUpdateLink();
2010
2009
  const { getParamDetails: getParamDetails2 } = routeParam;
@@ -2029,7 +2028,7 @@ var Client = {
2029
2028
  "fPn": param?.filterPropertyName,
2030
2029
  "fO": param?.filterOperator,
2031
2030
  "fV": param?.filterValue,
2032
- "c": param?.cache !== false,
2031
+ // "c": param?.cache,
2033
2032
  "isPC": param?.isPrimaryCompany,
2034
2033
  "v": param?.view,
2035
2034
  "l": param?.limit,
@@ -2070,6 +2069,7 @@ var Client = {
2070
2069
  param.page = nextPage;
2071
2070
  }
2072
2071
  setObjectsQueryParams(param);
2072
+ param.cache = payload?.cache;
2073
2073
  const apiUrl = generateApiUrl({ route: API_ENDPOINTS.OBJECTS, params, queryParams: param });
2074
2074
  return HttpClient.get(apiUrl);
2075
2075
  },
@@ -3637,5 +3637,5 @@ var routeParam = {
3637
3637
  };
3638
3638
 
3639
3639
  export { DEFAULT_HUBSPOT_TIMEZONE, actions2 as actions, actions3 as actions2, actions4 as actions3, actions5 as actions4, actions7 as actions5, actions8 as actions6, api, breadcrumbsDetails, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, client_exports, createCachePurgeJob, emailStore, formatGmtOffset, formatHubSpotActivityDateTime, formatHubSpotActivityDateTimeParts, getCurrentTimeZone, getFieldErrors, getFormErrors, initializeHttpClient, mergePurgeTargets, multiObjectStore, normalizeToTimestamp, noteStore, purgeCrmCombined, purgeCrmListCache, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, routeParam, store, syncStore, tableStore2 as tableStore, uploaderStore, url };
3640
- //# sourceMappingURL=chunk-SZVZSCNM.js.map
3641
- //# sourceMappingURL=chunk-SZVZSCNM.js.map
3640
+ //# sourceMappingURL=chunk-IVNXDHLP.js.map
3641
+ //# sourceMappingURL=chunk-IVNXDHLP.js.map