woodsportal-client-sdk 4.0.9-dev.5 → 4.0.9-dev.6
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/adapters/angular/index.d.ts +1 -1
- package/dist/adapters/angular/index.js +3 -3
- package/dist/adapters/native/index.js +4 -4
- package/dist/adapters/react/index.d.ts +1 -1
- package/dist/adapters/react/index.js +4 -4
- package/dist/adapters/vue/index.d.ts +1 -1
- package/dist/adapters/vue/index.js +3 -3
- package/dist/{chunk-FZMDGSOP.js → chunk-5IW5BVYE.js} +3 -3
- package/dist/{chunk-FZMDGSOP.js.map → chunk-5IW5BVYE.js.map} +1 -1
- package/dist/{chunk-FCXVZLKO.js → chunk-7ELN5B4I.js} +3 -3
- package/dist/{chunk-FCXVZLKO.js.map → chunk-7ELN5B4I.js.map} +1 -1
- package/dist/{chunk-OXPA3PYS.js → chunk-DRFN5GTH.js} +6 -5
- package/dist/chunk-DRFN5GTH.js.map +1 -0
- package/dist/{chunk-2ZDMREF4.js → chunk-H2F6UNSO.js} +4 -4
- package/dist/{chunk-2ZDMREF4.js.map → chunk-H2F6UNSO.js.map} +1 -1
- package/dist/{chunk-IKDUSKG3.js → chunk-HYWNZBUF.js} +4 -4
- package/dist/{chunk-IKDUSKG3.js.map → chunk-HYWNZBUF.js.map} +1 -1
- package/dist/{chunk-FB6BAPIW.js → chunk-KJPSGJL3.js} +36 -25
- package/dist/chunk-KJPSGJL3.js.map +1 -0
- package/dist/{chunk-U6Z2NBC4.js → chunk-KT6KT233.js} +5 -5
- package/dist/{chunk-U6Z2NBC4.js.map → chunk-KT6KT233.js.map} +1 -1
- package/dist/{chunk-JHJGYIPC.js → chunk-WK5EEKZU.js} +4 -4
- package/dist/{chunk-JHJGYIPC.js.map → chunk-WK5EEKZU.js.map} +1 -1
- package/dist/{cross-tab-session-AH27QKXW.js → cross-tab-session-BKG6E7RD.js} +5 -5
- package/dist/{cross-tab-session-AH27QKXW.js.map → cross-tab-session-BKG6E7RD.js.map} +1 -1
- package/dist/entries/auth.js +4 -4
- package/dist/entries/crm.d.ts +1 -1
- package/dist/entries/crm.js +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/dist/chunk-FB6BAPIW.js.map +0 -1
- package/dist/chunk-OXPA3PYS.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getParamDetails, getRouteDetails, updateLink, getParam, decodeToBase64, generatePath, getPath, getRouteMenu, tableUiActions, ticketHubspotObjectTypeId, makePreviewParams, tableStore, actions2, userStore, isPipelineBoardObjectTypeId, fileStore, actions7, emailStore, actions5, noteStore, actions4, tableUiStore, resetAllStore, breadcrumbStage, isMessingParentLastItem, isMessingParent, generateUrl } from './chunk-
|
|
1
|
+
import { getParamDetails, getRouteDetails, updateLink, getParam, decodeToBase64, generatePath, getPath, getRouteMenu, tableUiActions, ticketHubspotObjectTypeId, makePreviewParams, tableStore, actions2, userStore, isPipelineBoardObjectTypeId, fileStore, actions7, emailStore, actions5, noteStore, actions4, tableUiStore, resetAllStore, breadcrumbStage, isMessingParentLastItem, isMessingParent, generateUrl } from './chunk-DRFN5GTH.js';
|
|
2
2
|
import { config, configureLogger, setIframeStorageMode, setRefreshBufferSeconds, setRefreshCallback, hydrateSessionRefreshState, isHttpTracingEnabled, logger, 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-TH2E4MXG.js';
|
|
3
3
|
import { getClientType, configureStorageKeys } from './chunk-KPHAQNS2.js';
|
|
4
4
|
import { AuthErrorCode } from './chunk-COHBSTHF.js';
|
|
@@ -445,7 +445,7 @@ function initializeHttpClient(clientConfig) {
|
|
|
445
445
|
migrateLegacyStorageKeys();
|
|
446
446
|
}).catch(() => {
|
|
447
447
|
});
|
|
448
|
-
void import('./cross-tab-session-
|
|
448
|
+
void import('./cross-tab-session-BKG6E7RD.js').then(({ installCrossTabSessionListener }) => {
|
|
449
449
|
installCrossTabSessionListener();
|
|
450
450
|
}).catch(() => {
|
|
451
451
|
});
|
|
@@ -1859,6 +1859,8 @@ var crmClient = {
|
|
|
1859
1859
|
const params = payload?.params;
|
|
1860
1860
|
const queryParams = payload?.queryParams;
|
|
1861
1861
|
const { updateLink: updateLink2, getLinkParams } = updateLink();
|
|
1862
|
+
const tabHubspotObjectTypeId = payload?.hubspotObjectTypeId ?? payload?.params?.hubspotObjectTypeId;
|
|
1863
|
+
const linkParamDisplayName = payload?.viewName === "tabs" && tabHubspotObjectTypeId ? `tabs.${tabHubspotObjectTypeId}.prm` : "prm";
|
|
1862
1864
|
const { paramsObject, parentAccessLabel } = getParamDetails2({ type: payload?.componentName });
|
|
1863
1865
|
const userData = userStore.getState().profile;
|
|
1864
1866
|
const pipeline = payload?.variables?.pipeline;
|
|
@@ -1871,34 +1873,43 @@ var crmClient = {
|
|
|
1871
1873
|
} else if (!isPipelineBoardObjectTypeId(payload?.hubspotObjectTypeId)) {
|
|
1872
1874
|
listTableParams.filterValue = "";
|
|
1873
1875
|
}
|
|
1874
|
-
const fParams = getLinkParams();
|
|
1875
|
-
listTableParams = { ...payload?.isFristTimeLoadData && fParams && !payload?.isHome
|
|
1876
|
+
const fParams = getLinkParams(linkParamDisplayName);
|
|
1877
|
+
listTableParams = { ...payload?.isFristTimeLoadData && fParams && !payload?.isHome ? fParams : listTableParams, ...paramsObject };
|
|
1876
1878
|
if (!payload?.isFristTimeLoadData || !fParams) {
|
|
1877
|
-
await updateLink2(
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1879
|
+
await updateLink2(
|
|
1880
|
+
{
|
|
1881
|
+
sort: listTableParams?.sort,
|
|
1882
|
+
s: listTableParams?.search,
|
|
1883
|
+
fPn: listTableParams?.filterPropertyName,
|
|
1884
|
+
fO: listTableParams?.filterOperator,
|
|
1885
|
+
fV: listTableParams?.filterValue,
|
|
1886
|
+
// "c": listTableParams?.cache,
|
|
1887
|
+
isPC: listTableParams?.isPrimaryCompany,
|
|
1888
|
+
v: listTableParams?.view,
|
|
1889
|
+
l: listTableParams?.limit,
|
|
1890
|
+
p: listTableParams?.page,
|
|
1891
|
+
a: listTableParams?.after
|
|
1892
|
+
},
|
|
1893
|
+
linkParamDisplayName
|
|
1894
|
+
);
|
|
1890
1895
|
}
|
|
1891
1896
|
if (mPipelines != void 0 && mPipelines?.length === 0 && !payload?.specPipeLine) {
|
|
1892
1897
|
listTableParams.filterValue = "";
|
|
1893
|
-
await updateLink2(
|
|
1894
|
-
|
|
1895
|
-
|
|
1898
|
+
await updateLink2(
|
|
1899
|
+
{
|
|
1900
|
+
fV: listTableParams?.filterValue
|
|
1901
|
+
},
|
|
1902
|
+
linkParamDisplayName
|
|
1903
|
+
);
|
|
1896
1904
|
}
|
|
1897
1905
|
if (mPipelines != void 0 && mPipelines?.length === 1 && !payload?.specPipeLine && mSelectedPipeline != null) {
|
|
1898
1906
|
listTableParams.filterValue = mPipelines[0].pipelineId;
|
|
1899
|
-
await updateLink2(
|
|
1900
|
-
|
|
1901
|
-
|
|
1907
|
+
await updateLink2(
|
|
1908
|
+
{
|
|
1909
|
+
fV: listTableParams?.filterValue
|
|
1910
|
+
},
|
|
1911
|
+
linkParamDisplayName
|
|
1912
|
+
);
|
|
1902
1913
|
}
|
|
1903
1914
|
if (payload?.isHome || payload?.hubspotObjectTypeId === "0-5" && payload?.componentName === "object") {
|
|
1904
1915
|
let parentObjectTypeId = "";
|
|
@@ -2530,5 +2541,5 @@ function createMutation(mutationFn, options) {
|
|
|
2530
2541
|
}
|
|
2531
2542
|
|
|
2532
2543
|
export { API_ENDPOINTS, Client, HttpClient, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, createCachePurgeJob, createMutation, extractEngagementItemIdFromWriteResponse, extractHubspotRecordIdFromWriteResponse, generateApiUrl, getAuthRefreshToken, getFieldErrors, getFormErrors, initializeHttpClient, mergePurgeTargets, navigationApi, purgeCrmCombined, purgeCrmDetailAndListAfterCrmWrite, purgeCrmListCache, purgeCrmListCacheAfterCrmWrite, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, purgeEngagementCachesAfterCrmWrite, resolveCrmListPurgeQuery, resolveListTableParams, setEditorPreviewMockHandler, startVisibilityRefreshScheduler, stopVisibilityRefreshScheduler, toCachePurgeListQuery };
|
|
2533
|
-
//# sourceMappingURL=chunk-
|
|
2534
|
-
//# sourceMappingURL=chunk-
|
|
2544
|
+
//# sourceMappingURL=chunk-KJPSGJL3.js.map
|
|
2545
|
+
//# sourceMappingURL=chunk-KJPSGJL3.js.map
|