woodsportal-client-sdk 4.0.7-dev.2 → 4.0.7-dev.4
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.js +3 -3
- package/dist/adapters/react/index.js +3 -3
- package/dist/adapters/vue/index.js +3 -3
- package/dist/{chunk-V32OMFDK.js → chunk-4LGYRTTV.js} +37 -12
- package/dist/chunk-4LGYRTTV.js.map +1 -0
- package/dist/{chunk-FWXC23QP.js → chunk-6SCDUMY3.js} +4 -4
- package/dist/{chunk-FWXC23QP.js.map → chunk-6SCDUMY3.js.map} +1 -1
- package/dist/{chunk-BYJ7ZV6J.js → chunk-D6QI2ISO.js} +23 -6
- package/dist/chunk-D6QI2ISO.js.map +1 -0
- package/dist/{chunk-EFX2ISVS.js → chunk-GNXTGOGZ.js} +3 -3
- package/dist/{chunk-EFX2ISVS.js.map → chunk-GNXTGOGZ.js.map} +1 -1
- package/dist/{chunk-VKXFR4EZ.js → chunk-MRDVLALR.js} +4 -4
- package/dist/{chunk-VKXFR4EZ.js.map → chunk-MRDVLALR.js.map} +1 -1
- package/dist/{chunk-YOSZWNJA.js → chunk-O7MH4VSK.js} +4 -4
- package/dist/{chunk-YOSZWNJA.js.map → chunk-O7MH4VSK.js.map} +1 -1
- package/dist/{chunk-4DP7JV7Q.js → chunk-XSV63VCR.js} +38 -6
- package/dist/chunk-XSV63VCR.js.map +1 -0
- package/dist/{cross-tab-session-HYXWGZSD.js → cross-tab-session-BDROO3UR.js} +5 -5
- package/dist/{cross-tab-session-HYXWGZSD.js.map → cross-tab-session-BDROO3UR.js.map} +1 -1
- package/dist/entries/auth.js +4 -4
- package/dist/entries/crm.d.ts +2 -2
- package/dist/entries/crm.js +6 -4
- package/dist/entries/crm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/{cache-purge-Ca4idzyy.d.ts → pipeline-ui-DbEzI_v1.d.ts} +13 -1
- package/package.json +1 -1
- package/dist/chunk-4DP7JV7Q.js.map +0 -1
- package/dist/chunk-BYJ7ZV6J.js.map +0 -1
- package/dist/chunk-V32OMFDK.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
|
|
2
|
-
import { createAdapterHooks } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
import { createAdapterHooks } from '../../chunk-6SCDUMY3.js';
|
|
3
|
+
import '../../chunk-GNXTGOGZ.js';
|
|
4
|
+
import '../../chunk-XSV63VCR.js';
|
|
5
5
|
import '../../chunk-B2OVKOJU.js';
|
|
6
6
|
import '../../chunk-YNOZWRK3.js';
|
|
7
7
|
import '../../chunk-BKT4MFQM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createAdapterHooks } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
import { createAdapterHooks } from '../../chunk-6SCDUMY3.js';
|
|
2
|
+
import '../../chunk-GNXTGOGZ.js';
|
|
3
|
+
import '../../chunk-XSV63VCR.js';
|
|
4
4
|
import '../../chunk-B2OVKOJU.js';
|
|
5
5
|
import '../../chunk-YNOZWRK3.js';
|
|
6
6
|
import '../../chunk-BKT4MFQM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { bindStoreWithActions } from '../../chunk-AYTO6ND7.js';
|
|
2
|
-
import { createAdapterHooks } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
import { createAdapterHooks } from '../../chunk-6SCDUMY3.js';
|
|
3
|
+
import '../../chunk-GNXTGOGZ.js';
|
|
4
|
+
import '../../chunk-XSV63VCR.js';
|
|
5
5
|
import '../../chunk-B2OVKOJU.js';
|
|
6
6
|
import '../../chunk-YNOZWRK3.js';
|
|
7
7
|
import '../../chunk-BKT4MFQM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getParamDetails, getRouteDetails, updateLink, getParam, decodeToBase64, generatePath, getPath, getRouteMenu, tableUiActions, ticketHubspotObjectTypeId, tableStore, actions2, userStore, 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, tableStore, actions2, userStore, isPipelineBoardObjectTypeId, fileStore, actions7, emailStore, actions5, noteStore, actions4, tableUiStore, resetAllStore, breadcrumbStage, isMessingParentLastItem, isMessingParent, generateUrl } from './chunk-XSV63VCR.js';
|
|
2
2
|
import { configureLogger, setIframeStorageMode, setRefreshBufferSeconds, config, setRefreshCallback, hydrateSessionRefreshState, isHttpTracingEnabled, logger, getAccessToken, sanitizeAxiosErrorData, setRefreshToken, storAccessToken, storage, HUBSPOT_DATA, setRuntimeHttpClientHubContext, refreshSession, ensureValidRefresh, HUB_ID, DEV_PORTAL_ID, DEV_API_URL, isAccessTokenExpired } from './chunk-B2OVKOJU.js';
|
|
3
3
|
import { AuthErrorCode } from './chunk-COHBSTHF.js';
|
|
4
4
|
import { configureStorageKeys } from './chunk-YNOZWRK3.js';
|
|
@@ -443,7 +443,7 @@ function initializeHttpClient(clientConfig) {
|
|
|
443
443
|
void import('./storage-migration-BY2QL6YD.js').then(({ migrateLegacyStorageKeys }) => {
|
|
444
444
|
migrateLegacyStorageKeys();
|
|
445
445
|
});
|
|
446
|
-
void import('./cross-tab-session-
|
|
446
|
+
void import('./cross-tab-session-BDROO3UR.js').then(({ installCrossTabSessionListener }) => {
|
|
447
447
|
installCrossTabSessionListener();
|
|
448
448
|
});
|
|
449
449
|
setIframeStorageMode(clientConfig.storageMode === "iframe");
|
|
@@ -1351,6 +1351,20 @@ function expandListPurgeQueriesForCrmWrite(base) {
|
|
|
1351
1351
|
}
|
|
1352
1352
|
return expanded;
|
|
1353
1353
|
}
|
|
1354
|
+
function applyFilterValueFromPipelineState(query) {
|
|
1355
|
+
if (query.filterValue) {
|
|
1356
|
+
return query;
|
|
1357
|
+
}
|
|
1358
|
+
const { filterPropertyName, filterOperator } = query;
|
|
1359
|
+
if (!filterPropertyName || !filterOperator) {
|
|
1360
|
+
return query;
|
|
1361
|
+
}
|
|
1362
|
+
const selectedPipeline = tableUiStore.getState().selectedPipeline;
|
|
1363
|
+
if (!selectedPipeline) {
|
|
1364
|
+
return query;
|
|
1365
|
+
}
|
|
1366
|
+
return { ...query, filterValue: selectedPipeline };
|
|
1367
|
+
}
|
|
1354
1368
|
function resolveCrmListPurgeQuery(options) {
|
|
1355
1369
|
let raw;
|
|
1356
1370
|
if (options.componentName === "sidebarTable" && options.hubspotObjectTypeId) {
|
|
@@ -1361,14 +1375,15 @@ function resolveCrmListPurgeQuery(options) {
|
|
|
1361
1375
|
if (!hasPurgeFilterContext(raw)) {
|
|
1362
1376
|
raw = mergeLiveTableUiState(raw);
|
|
1363
1377
|
}
|
|
1364
|
-
|
|
1378
|
+
let base = applyFilterValueFromPipelineState(toCachePurgeListQuery(raw ?? void 0));
|
|
1365
1379
|
if (!options.writeContext || Object.keys(options.writeContext).length === 0) {
|
|
1366
1380
|
return base;
|
|
1367
1381
|
}
|
|
1368
|
-
|
|
1382
|
+
base = {
|
|
1369
1383
|
...base,
|
|
1370
1384
|
...options.writeContext
|
|
1371
1385
|
};
|
|
1386
|
+
return applyFilterValueFromPipelineState(base);
|
|
1372
1387
|
}
|
|
1373
1388
|
|
|
1374
1389
|
// src/main/core/utils/cache/crmCacheRefresh.ts
|
|
@@ -1423,7 +1438,9 @@ async function purgeCrmListCache(options) {
|
|
|
1423
1438
|
});
|
|
1424
1439
|
return createCachePurgeJob(request, {
|
|
1425
1440
|
idempotencyKey: options.idempotencyKey,
|
|
1426
|
-
waitForWarm: options.waitForWarm
|
|
1441
|
+
waitForWarm: options.waitForWarm,
|
|
1442
|
+
pollTimeoutMs: options.pollTimeoutMs,
|
|
1443
|
+
pollIntervalMs: options.pollIntervalMs
|
|
1427
1444
|
});
|
|
1428
1445
|
}
|
|
1429
1446
|
async function purgeCrmRecordCache(options) {
|
|
@@ -1444,7 +1461,9 @@ async function purgeCrmRecordCache(options) {
|
|
|
1444
1461
|
});
|
|
1445
1462
|
return createCachePurgeJob(request, {
|
|
1446
1463
|
idempotencyKey: options.idempotencyKey,
|
|
1447
|
-
waitForWarm: options.waitForWarm
|
|
1464
|
+
waitForWarm: options.waitForWarm,
|
|
1465
|
+
pollTimeoutMs: options.pollTimeoutMs,
|
|
1466
|
+
pollIntervalMs: options.pollIntervalMs
|
|
1448
1467
|
});
|
|
1449
1468
|
}
|
|
1450
1469
|
async function purgeEngagementCaches(options) {
|
|
@@ -1478,7 +1497,9 @@ async function purgeEngagementCachesInternal(options) {
|
|
|
1478
1497
|
});
|
|
1479
1498
|
return createCachePurgeJob(request, {
|
|
1480
1499
|
idempotencyKey: options.idempotencyKey,
|
|
1481
|
-
waitForWarm: options.waitForWarm
|
|
1500
|
+
waitForWarm: options.waitForWarm,
|
|
1501
|
+
pollTimeoutMs: options.pollTimeoutMs,
|
|
1502
|
+
pollIntervalMs: options.pollIntervalMs
|
|
1482
1503
|
});
|
|
1483
1504
|
}
|
|
1484
1505
|
async function purgeCrmCombined(options) {
|
|
@@ -1490,7 +1511,9 @@ async function purgeCrmCombined(options) {
|
|
|
1490
1511
|
});
|
|
1491
1512
|
return createCachePurgeJob(request, {
|
|
1492
1513
|
idempotencyKey: options.idempotencyKey,
|
|
1493
|
-
waitForWarm: options.waitForWarm
|
|
1514
|
+
waitForWarm: options.waitForWarm,
|
|
1515
|
+
pollTimeoutMs: options.pollTimeoutMs,
|
|
1516
|
+
pollIntervalMs: options.pollIntervalMs
|
|
1494
1517
|
});
|
|
1495
1518
|
}
|
|
1496
1519
|
|
|
@@ -1611,7 +1634,9 @@ var triggerPostWriteListPurge = (props) => {
|
|
|
1611
1634
|
purgeCrmListCacheAfterCrmWrite({
|
|
1612
1635
|
objectTypeId: String(objectTypeId),
|
|
1613
1636
|
listQuery,
|
|
1614
|
-
recordIds
|
|
1637
|
+
recordIds,
|
|
1638
|
+
waitForWarm: true,
|
|
1639
|
+
pollTimeoutMs: 45e3
|
|
1615
1640
|
});
|
|
1616
1641
|
};
|
|
1617
1642
|
var mergeRecordWriteBody = (payload, paramsObject, options) => {
|
|
@@ -1766,7 +1791,7 @@ var crmClient = {
|
|
|
1766
1791
|
param.filterValue = mSelectedPipeline;
|
|
1767
1792
|
} else if (payload?.specPipeLine && payload?.pipeLineId) {
|
|
1768
1793
|
param.filterValue = payload?.pipeLineId;
|
|
1769
|
-
} else if (payload?.hubspotObjectTypeId
|
|
1794
|
+
} else if (!isPipelineBoardObjectTypeId(payload?.hubspotObjectTypeId)) {
|
|
1770
1795
|
param.filterValue = "";
|
|
1771
1796
|
}
|
|
1772
1797
|
const fParams = getLinkParams();
|
|
@@ -2417,5 +2442,5 @@ function createMutation(mutationFn, options) {
|
|
|
2417
2442
|
}
|
|
2418
2443
|
|
|
2419
2444
|
export { Client, SERVICE_UNAVAILABLE_MESSAGE, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, classifyHttpError, createCachePurgeJob, createMutation, extractEngagementItemIdFromWriteResponse, extractHubspotRecordIdFromWriteResponse, getAuthRefreshToken, getFieldErrors, getFormErrors, getHttpErrorMessage, initializeHttpClient, isServiceUnavailableError, mergePurgeTargets, navigationApi, purgeCrmCombined, purgeCrmDetailAndListAfterCrmWrite, purgeCrmListCache, purgeCrmListCacheAfterCrmWrite, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, purgeEngagementCachesAfterCrmWrite, resolveCrmListPurgeQuery, resolveListTableParams, setEditorPreviewMockHandler, startVisibilityRefreshScheduler, stopVisibilityRefreshScheduler, toCachePurgeListQuery };
|
|
2420
|
-
//# sourceMappingURL=chunk-
|
|
2421
|
-
//# sourceMappingURL=chunk-
|
|
2445
|
+
//# sourceMappingURL=chunk-4LGYRTTV.js.map
|
|
2446
|
+
//# sourceMappingURL=chunk-4LGYRTTV.js.map
|