woodsportal-client-sdk 4.1.2-dev.3 → 4.1.2-dev.5

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.
Files changed (28) hide show
  1. package/dist/adapters/angular/index.js +3 -3
  2. package/dist/adapters/native/index.js +4 -4
  3. package/dist/adapters/react/index.js +4 -4
  4. package/dist/adapters/vue/index.js +3 -3
  5. package/dist/{chunk-QREX7YVN.js → chunk-22XYQZSW.js} +4 -4
  6. package/dist/{chunk-QREX7YVN.js.map → chunk-22XYQZSW.js.map} +1 -1
  7. package/dist/{chunk-WRHS4HT3.js → chunk-26527HK4.js} +7 -4
  8. package/dist/chunk-26527HK4.js.map +1 -0
  9. package/dist/{chunk-T4YJV6MP.js → chunk-FTSVETE5.js} +7 -4
  10. package/dist/chunk-FTSVETE5.js.map +1 -0
  11. package/dist/{chunk-I3JF5QOY.js → chunk-HSR2KVY4.js} +4 -4
  12. package/dist/{chunk-I3JF5QOY.js.map → chunk-HSR2KVY4.js.map} +1 -1
  13. package/dist/{chunk-UCBM5ZFU.js → chunk-KPLQ6TWE.js} +3 -3
  14. package/dist/{chunk-UCBM5ZFU.js.map → chunk-KPLQ6TWE.js.map} +1 -1
  15. package/dist/{chunk-7X7PB27Z.js → chunk-QK2Y6MKN.js} +5 -5
  16. package/dist/{chunk-7X7PB27Z.js.map → chunk-QK2Y6MKN.js.map} +1 -1
  17. package/dist/{chunk-THFXCWVY.js → chunk-YFCU5PGZ.js} +4 -4
  18. package/dist/{chunk-THFXCWVY.js.map → chunk-YFCU5PGZ.js.map} +1 -1
  19. package/dist/{chunk-P5EWTH5Q.js → chunk-YHIE256D.js} +3 -3
  20. package/dist/{chunk-P5EWTH5Q.js.map → chunk-YHIE256D.js.map} +1 -1
  21. package/dist/{cross-tab-session-QIUHW33Y.js → cross-tab-session-L2SCBNKR.js} +5 -5
  22. package/dist/{cross-tab-session-QIUHW33Y.js.map → cross-tab-session-L2SCBNKR.js.map} +1 -1
  23. package/dist/entries/auth.js +4 -4
  24. package/dist/entries/crm.js +7 -7
  25. package/dist/index.js +10 -10
  26. package/package.json +1 -1
  27. package/dist/chunk-T4YJV6MP.js.map +0 -1
  28. package/dist/chunk-WRHS4HT3.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
2
- import { createAdapterHooks } from '../../chunk-QREX7YVN.js';
3
- import '../../chunk-UCBM5ZFU.js';
4
- import '../../chunk-T4YJV6MP.js';
2
+ import { createAdapterHooks } from '../../chunk-22XYQZSW.js';
3
+ import '../../chunk-KPLQ6TWE.js';
4
+ import '../../chunk-FTSVETE5.js';
5
5
  import '../../chunk-JVJMM4SZ.js';
6
6
  import '../../chunk-32ERSTFY.js';
7
7
  import '../../chunk-DB6W3CJT.js';
@@ -1,7 +1,7 @@
1
- export { useTable, useTableUi, useUser } from '../../chunk-P5EWTH5Q.js';
2
- import '../../chunk-QREX7YVN.js';
3
- import '../../chunk-UCBM5ZFU.js';
4
- import '../../chunk-T4YJV6MP.js';
1
+ export { useTable, useTableUi, useUser } from '../../chunk-YHIE256D.js';
2
+ import '../../chunk-22XYQZSW.js';
3
+ import '../../chunk-KPLQ6TWE.js';
4
+ import '../../chunk-FTSVETE5.js';
5
5
  import '../../chunk-JVJMM4SZ.js';
6
6
  import '../../chunk-32ERSTFY.js';
7
7
  import '../../chunk-DB6W3CJT.js';
@@ -1,7 +1,7 @@
1
- export { useEmail, useFile, useMultiObjectActions, useNote, useObject, useSync, useTable, useTableUi, useUploader, useUser } from '../../chunk-P5EWTH5Q.js';
2
- import '../../chunk-QREX7YVN.js';
3
- import '../../chunk-UCBM5ZFU.js';
4
- import '../../chunk-T4YJV6MP.js';
1
+ export { useEmail, useFile, useMultiObjectActions, useNote, useObject, useSync, useTable, useTableUi, useUploader, useUser } from '../../chunk-YHIE256D.js';
2
+ import '../../chunk-22XYQZSW.js';
3
+ import '../../chunk-KPLQ6TWE.js';
4
+ import '../../chunk-FTSVETE5.js';
5
5
  import '../../chunk-JVJMM4SZ.js';
6
6
  import '../../chunk-32ERSTFY.js';
7
7
  import '../../chunk-DB6W3CJT.js';
@@ -1,7 +1,7 @@
1
1
  import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
2
- import { createAdapterHooks } from '../../chunk-QREX7YVN.js';
3
- import '../../chunk-UCBM5ZFU.js';
4
- import '../../chunk-T4YJV6MP.js';
2
+ import { createAdapterHooks } from '../../chunk-22XYQZSW.js';
3
+ import '../../chunk-KPLQ6TWE.js';
4
+ import '../../chunk-FTSVETE5.js';
5
5
  import '../../chunk-JVJMM4SZ.js';
6
6
  import '../../chunk-32ERSTFY.js';
7
7
  import '../../chunk-DB6W3CJT.js';
@@ -1,5 +1,5 @@
1
- import { objectStore, actions2, multiObjectStore, actions } from './chunk-UCBM5ZFU.js';
2
- import { fileStore, actions7, uploaderStore, actions3, syncStore, actions8, userStore, actions6, emailStore, actions5, noteStore, actions4, tableUiStore, tableUiActions, tableStore, actions2 as actions2$1 } from './chunk-T4YJV6MP.js';
1
+ import { objectStore, actions2, multiObjectStore, actions } from './chunk-KPLQ6TWE.js';
2
+ import { fileStore, actions7, uploaderStore, actions3, syncStore, actions8, userStore, actions6, emailStore, actions5, noteStore, actions4, tableUiStore, tableUiActions, tableStore, actions2 as actions2$1 } from './chunk-FTSVETE5.js';
3
3
 
4
4
  // src/main/adapters/shared/createAdapterHooks.ts
5
5
  function createAdapterHooks(createComposable) {
@@ -18,5 +18,5 @@ function createAdapterHooks(createComposable) {
18
18
  }
19
19
 
20
20
  export { createAdapterHooks };
21
- //# sourceMappingURL=chunk-QREX7YVN.js.map
22
- //# sourceMappingURL=chunk-QREX7YVN.js.map
21
+ //# sourceMappingURL=chunk-22XYQZSW.js.map
22
+ //# sourceMappingURL=chunk-22XYQZSW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/main/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;;AAsCO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,UAAY,CAAA;AAAA,IACpF,UAAA,EAAY,gBAAA,CAAsD,YAAA,EAAc,cAAc,CAAA;AAAA,IAC9F,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,OAAkB,CAAA;AAAA,IAC5E,SAAA,EAAW,gBAAA,CAAoD,WAAA,EAAaA,QAAa,CAAA;AAAA,IACzF,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,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe,CAAA;AAAA,IACnG,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW;AAAA,GACnF;AACJ","file":"chunk-QREX7YVN.js","sourcesContent":["import type { SubscribableStore } from './bindStoreWithActions'\nimport {\n tableStore,\n tableActions,\n type TableState,\n tableUiStore,\n tableUiActions,\n type TableUiState,\n multiObjectStore,\n multiObjectActions,\n objectStore,\n objectActions,\n type ObjectState,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n userStore,\n userActions,\n type UserState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n fileStore,\n fileActions,\n type FileState\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 useTableUi: createComposable<TableUiState, typeof tableUiActions>(tableUiStore, tableUiActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useObject: createComposable<ObjectState, typeof objectActions>(objectStore, objectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useUser: createComposable<UserState, typeof userActions>(userStore, userActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n useFile: createComposable<FileState, typeof fileActions>(fileStore, fileActions)\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/main/adapters/shared/createAdapterHooks.ts"],"names":["actions"],"mappings":";;;;AAsCO,SAAS,mBAAmB,gBAAA,EAAqC;AACpE,EAAA,OAAO;AAAA,IACH,QAAA,EAAU,gBAAA,CAAkD,UAAA,EAAYA,UAAY,CAAA;AAAA,IACpF,UAAA,EAAY,gBAAA,CAAsD,YAAA,EAAc,cAAc,CAAA;AAAA,IAC9F,qBAAA,EAAuB,gBAAA,CAAiB,gBAAA,EAAkBA,OAAkB,CAAA;AAAA,IAC5E,SAAA,EAAW,gBAAA,CAAoD,WAAA,EAAaA,QAAa,CAAA;AAAA,IACzF,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,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW,CAAA;AAAA,IAC/E,WAAA,EAAa,gBAAA,CAAwD,aAAA,EAAeA,QAAe,CAAA;AAAA,IACnG,OAAA,EAAS,gBAAA,CAAgD,SAAA,EAAWA,QAAW;AAAA,GACnF;AACJ","file":"chunk-22XYQZSW.js","sourcesContent":["import type { SubscribableStore } from './bindStoreWithActions'\nimport {\n tableStore,\n tableActions,\n type TableState,\n tableUiStore,\n tableUiActions,\n type TableUiState,\n multiObjectStore,\n multiObjectActions,\n objectStore,\n objectActions,\n type ObjectState,\n noteStore,\n noteActions,\n type NoteState,\n emailStore,\n emailActions,\n type EmailState,\n userStore,\n userActions,\n type UserState,\n syncStore,\n syncActions,\n type SyncState,\n uploaderStore,\n uploaderActions,\n type UploaderState,\n fileStore,\n fileActions,\n type FileState\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 useTableUi: createComposable<TableUiState, typeof tableUiActions>(tableUiStore, tableUiActions),\n useMultiObjectActions: createComposable(multiObjectStore, multiObjectActions),\n useObject: createComposable<ObjectState, typeof objectActions>(objectStore, objectActions),\n useNote: createComposable<NoteState, typeof noteActions>(noteStore, noteActions),\n useEmail: createComposable<EmailState, typeof emailActions>(emailStore, emailActions),\n useUser: createComposable<UserState, typeof userActions>(userStore, userActions),\n useSync: createComposable<SyncState, typeof syncActions>(syncStore, syncActions),\n useUploader: createComposable<UploaderState, typeof uploaderActions>(uploaderStore, uploaderActions),\n useFile: createComposable<FileState, typeof fileActions>(fileStore, fileActions)\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { getParamDetails, getRouteDetails, updateLink, getParam, decodeToBase64, generatePath, getPath, getRouteMenu, tableUiActions, ticketHubspotObjectTypeId, makePreviewParams, tableStore, actions2, userStore, isPipelineBoardObjectTypeId, tableUiStore, fileStore, actions7, emailStore, actions5, noteStore, actions4, resetAllStore, breadcrumbStage, isMessingParentLastItem, isMessingParent, generateUrl } from './chunk-T4YJV6MP.js';
1
+ import { getParamDetails, getRouteDetails, updateLink, getParam, decodeToBase64, generatePath, getPath, getRouteMenu, tableUiActions, ticketHubspotObjectTypeId, makePreviewParams, tableStore, actions2, userStore, isPipelineBoardObjectTypeId, tableUiStore, fileStore, actions7, emailStore, actions5, noteStore, actions4, resetAllStore, breadcrumbStage, isMessingParentLastItem, isMessingParent, generateUrl } from './chunk-FTSVETE5.js';
2
2
  import { getRuntimeHttpClientApiDate, config, configureLogger, setIframeStorageMode, setRefreshBufferSeconds, setRefreshCallback, hydrateSessionRefreshState, logger, isHttpTracingEnabled, getAccessToken, sanitizeAxiosErrorData, classifyRefreshHttpError, shouldLogoutAfterRefreshFailure, setRefreshToken, storAccessToken, classifyRefreshResponseWithoutToken, storage, HUBSPOT_DATA, setRuntimeHttpClientHubContext, isServiceUnavailableError, refreshSession, ensureValidRefresh, HUB_ID, DEV_PORTAL_ID, PORTAL_ID, DEV_API_URL, isAccessTokenExpired } from './chunk-JVJMM4SZ.js';
3
3
  import { getClientType, configureStorageKeys } from './chunk-32ERSTFY.js';
4
4
  import { AuthErrorCode } from './chunk-COHBSTHF.js';
@@ -517,7 +517,7 @@ function initializeHttpClient(clientConfig) {
517
517
  migrateLegacyStorageKeys();
518
518
  }).catch(() => {
519
519
  });
520
- void import('./cross-tab-session-QIUHW33Y.js').then(({ installCrossTabSessionListener }) => {
520
+ void import('./cross-tab-session-L2SCBNKR.js').then(({ installCrossTabSessionListener }) => {
521
521
  installCrossTabSessionListener();
522
522
  }).catch(() => {
523
523
  });
@@ -2056,6 +2056,9 @@ var crmClient = {
2056
2056
  }
2057
2057
  const fParams = getLinkParams(linkParamDisplayName);
2058
2058
  listTableParams = { ...payload?.isFristTimeLoadData && fParams && !payload?.isHome ? fParams : listTableParams, ...paramsObject };
2059
+ if (payload?.isHome) {
2060
+ listTableParams.isPrimaryCompany = payload.companyAsMediator === true;
2061
+ }
2059
2062
  if (!payload?.isFristTimeLoadData || !fParams) {
2060
2063
  const selectedStage = tableUiStore.getState().selectedStage;
2061
2064
  await updateLink2(
@@ -2732,5 +2735,5 @@ function createMutation(mutationFn, options) {
2732
2735
  }
2733
2736
 
2734
2737
  export { API_ENDPOINTS, Client, HttpClient, applyContractApiDate, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, createCachePurgeJob, createMutation, extractEngagementItemIdFromWriteResponse, extractHubspotRecordIdFromWriteResponse, generateApiUrl, getAuthRefreshToken, getConfiguredContractApiDate, getFieldErrors, getFormErrors, initializeHttpClient, mergePurgeTargets, navigationApi, purgeCrmAssociationCaches, purgeCrmCombined, purgeCrmDetailAndListAfterCrmWrite, purgeCrmListCache, purgeCrmListCacheAfterCrmWrite, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, purgeEngagementCachesAfterCrmWrite, resolveCrmListPurgeQuery, resolveListTableParams, setEditorPreviewMockHandler, startVisibilityRefreshScheduler, stopVisibilityRefreshScheduler, toCachePurgeListQuery };
2735
- //# sourceMappingURL=chunk-WRHS4HT3.js.map
2736
- //# sourceMappingURL=chunk-WRHS4HT3.js.map
2738
+ //# sourceMappingURL=chunk-26527HK4.js.map
2739
+ //# sourceMappingURL=chunk-26527HK4.js.map