woodsportal-client-sdk 4.0.8-dev.6 → 4.0.8-dev.8
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 +5 -0
- package/dist/adapters/angular/index.js +3 -3
- package/dist/adapters/native/index.js +4 -4
- package/dist/adapters/react/index.d.ts +5 -0
- package/dist/adapters/react/index.js +4 -4
- package/dist/adapters/vue/index.d.ts +5 -0
- package/dist/adapters/vue/index.js +3 -3
- package/dist/{chunk-TOPDSDR7.js → chunk-35KQP6AB.js} +4 -4
- package/dist/{chunk-TOPDSDR7.js.map → chunk-35KQP6AB.js.map} +1 -1
- package/dist/{chunk-PHBLKSQL.js → chunk-4WCLDVKH.js} +98 -48
- package/dist/chunk-4WCLDVKH.js.map +1 -0
- package/dist/{chunk-R2MUWV5I.js → chunk-AX2ZDZBU.js} +4 -4
- package/dist/{chunk-R2MUWV5I.js.map → chunk-AX2ZDZBU.js.map} +1 -1
- package/dist/{chunk-KUQ35AVI.js → chunk-EOM4QSM7.js} +18 -3
- package/dist/chunk-EOM4QSM7.js.map +1 -0
- package/dist/{chunk-4HFF7VEA.js → chunk-F6FG6TIA.js} +4 -4
- package/dist/{chunk-4HFF7VEA.js.map → chunk-F6FG6TIA.js.map} +1 -1
- package/dist/{chunk-5LOW4BG4.js → chunk-FL7TPPYS.js} +10 -6
- package/dist/chunk-FL7TPPYS.js.map +1 -0
- package/dist/{chunk-G3WSU24Y.js → chunk-QXUKMUJI.js} +131 -3
- package/dist/chunk-QXUKMUJI.js.map +1 -0
- package/dist/{chunk-YBX4ZFZE.js → chunk-WCBESOE6.js} +3 -3
- package/dist/{chunk-YBX4ZFZE.js.map → chunk-WCBESOE6.js.map} +1 -1
- package/dist/{cross-tab-session-EFVMEOMN.js → cross-tab-session-GCMSFPOL.js} +5 -5
- package/dist/{cross-tab-session-EFVMEOMN.js.map → cross-tab-session-GCMSFPOL.js.map} +1 -1
- package/dist/entries/auth.js +4 -4
- package/dist/entries/crm.d.ts +3 -0
- package/dist/entries/crm.js +6 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +10 -10
- package/package.json +2 -11
- package/dist/chunk-5LOW4BG4.js.map +0 -1
- package/dist/chunk-G3WSU24Y.js.map +0 -1
- package/dist/chunk-KUQ35AVI.js.map +0 -1
- package/dist/chunk-PHBLKSQL.js.map +0 -1
package/dist/entries/crm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { crmApi } from '../chunk-
|
|
2
|
-
export { isPipelineBoardObjectType, shouldShowPipelineSelector, supportsBoardView } from '../chunk-
|
|
1
|
+
import { crmApi } from '../chunk-4WCLDVKH.js';
|
|
2
|
+
export { isPipelineBoardObjectType, shouldShowPipelineSelector, supportsBoardView } from '../chunk-4WCLDVKH.js';
|
|
3
3
|
import '../chunk-55MIERLJ.js';
|
|
4
|
-
import { navigationApi } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { actions8, syncStore, actions5, emailStore, actions4, noteStore, actions6, userStore, actions2, tableStore, tableUiActions, tableUiStore } from '../chunk-
|
|
7
|
-
export { HUBSPOT_DEALS_OBJECT_TYPE_ID, HUBSPOT_TICKETS_OBJECT_TYPE_ID, PIPELINE_BOARD_OBJECT_TYPE_IDS, PIPELINE_REQUIRED_MANAGED_OBJECT_TYPE_IDS, isPipelineBoardObjectTypeId } from '../chunk-
|
|
4
|
+
import { navigationApi } from '../chunk-FL7TPPYS.js';
|
|
5
|
+
import '../chunk-EOM4QSM7.js';
|
|
6
|
+
import { actions8, syncStore, actions5, emailStore, actions4, noteStore, actions6, userStore, actions2, tableStore, tableUiActions, tableUiStore } from '../chunk-QXUKMUJI.js';
|
|
7
|
+
export { HUBSPOT_DEALS_OBJECT_TYPE_ID, HUBSPOT_TICKETS_OBJECT_TYPE_ID, PIPELINE_BOARD_OBJECT_TYPE_IDS, PIPELINE_REQUIRED_MANAGED_OBJECT_TYPE_IDS, isPipelineBoardObjectTypeId } from '../chunk-QXUKMUJI.js';
|
|
8
8
|
import { storage } from '../chunk-HOUVOL2U.js';
|
|
9
9
|
import '../chunk-KPHAQNS2.js';
|
|
10
10
|
import '../chunk-DB6W3CJT.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -611,6 +611,7 @@ declare const store: {
|
|
|
611
611
|
setTableData(response: any, payload: any): void;
|
|
612
612
|
modifiedObjectsData(results: any): void;
|
|
613
613
|
clearTablePrependData(): void;
|
|
614
|
+
clearLatestTablePrependData(): void;
|
|
614
615
|
setTablePrependData(response: any, props?: any): Promise<void>;
|
|
615
616
|
updateTablePrependData(response: any, payload?: any): any;
|
|
616
617
|
};
|
|
@@ -635,6 +636,7 @@ declare const store: {
|
|
|
635
636
|
setListQueryParams(params: any): void;
|
|
636
637
|
setNotes(response: any, payload: any): void;
|
|
637
638
|
setPrependNote(response: any): Promise<void>;
|
|
639
|
+
clearLatestPrependNote(): void;
|
|
638
640
|
clearPrependNotes(): void;
|
|
639
641
|
updatePrependNote(response: any): Promise<any>;
|
|
640
642
|
};
|
|
@@ -649,6 +651,7 @@ declare const store: {
|
|
|
649
651
|
setListQueryParams(params: any): void;
|
|
650
652
|
setEmails(response: any, payload: any): void;
|
|
651
653
|
setPrependEmail(response: any): Promise<void>;
|
|
654
|
+
clearLatestPrependEmail(): void;
|
|
652
655
|
clearPrependEmails(): void;
|
|
653
656
|
updatePrependEmail(response: any): Promise<any>;
|
|
654
657
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { applyCrossTabSessionRevocation, clearClientSdkSession, installCrossTabSessionListener, resetSessionStores, signalSessionChanged } from './chunk-
|
|
2
|
-
import { authApi } from './chunk-
|
|
3
|
-
export { API_ERROR_CATEGORY_FALLBACK, API_ERROR_DISPLAY_CONFIG, WOODSPORTAL_API_ACTIVE_ERROR_CODES, buildErrorDescription, getApiErrorFromUnknown, hasAuthenticatedAccess, hasValidAccess, isExpectedApiError, isFullyAuthenticated, isMfaPendingSession, recoverMfaGateOnBoot, resolveApiContentState, resolveApiErrorDisplay, resolveAuthRouteAction } from './chunk-
|
|
1
|
+
export { applyCrossTabSessionRevocation, clearClientSdkSession, installCrossTabSessionListener, resetSessionStores, signalSessionChanged } from './chunk-AX2ZDZBU.js';
|
|
2
|
+
import { authApi } from './chunk-F6FG6TIA.js';
|
|
3
|
+
export { API_ERROR_CATEGORY_FALLBACK, API_ERROR_DISPLAY_CONFIG, WOODSPORTAL_API_ACTIVE_ERROR_CODES, buildErrorDescription, getApiErrorFromUnknown, hasAuthenticatedAccess, hasValidAccess, isExpectedApiError, isFullyAuthenticated, isMfaPendingSession, recoverMfaGateOnBoot, resolveApiContentState, resolveApiErrorDisplay, resolveAuthRouteAction } from './chunk-F6FG6TIA.js';
|
|
4
4
|
export { isOptionalAuthFailureUrl, isSessionProbeUrl, persistAuthError, readPersistedAuthError, resolveAuthErrorAction } from './chunk-JG3TEXWP.js';
|
|
5
|
-
import { crmApi } from './chunk-
|
|
6
|
-
export { isPipelineBoardObjectType, shouldShowPipelineSelector, supportsBoardView } from './chunk-
|
|
5
|
+
import { crmApi } from './chunk-4WCLDVKH.js';
|
|
6
|
+
export { isPipelineBoardObjectType, shouldShowPipelineSelector, supportsBoardView } from './chunk-4WCLDVKH.js';
|
|
7
7
|
import './chunk-55MIERLJ.js';
|
|
8
|
-
import { navigationApi, HttpClient, API_ENDPOINTS, generateApiUrl, initializeHttpClient } from './chunk-
|
|
9
|
-
export { Client, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, createCachePurgeJob, extractEngagementItemIdFromWriteResponse, extractHubspotRecordIdFromWriteResponse, getFieldErrors, getFormErrors, initializeHttpClient, mergePurgeTargets, purgeCrmCombined, purgeCrmDetailAndListAfterCrmWrite, purgeCrmListCache, purgeCrmListCacheAfterCrmWrite, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, purgeEngagementCachesAfterCrmWrite, resolveCrmListPurgeQuery, startVisibilityRefreshScheduler, stopVisibilityRefreshScheduler, toCachePurgeListQuery } from './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { actions8, syncStore, actions5, emailStore, actions4, noteStore, actions6, userStore, actions2, tableStore, tableUiActions, tableUiStore, hydrateUserStoreFromSession } from './chunk-
|
|
12
|
-
export { HUBSPOT_DEALS_OBJECT_TYPE_ID, HUBSPOT_TICKETS_OBJECT_TYPE_ID, PIPELINE_BOARD_OBJECT_TYPE_IDS, PIPELINE_REQUIRED_MANAGED_OBJECT_TYPE_IDS, isPipelineBoardObjectTypeId } from './chunk-
|
|
8
|
+
import { navigationApi, HttpClient, API_ENDPOINTS, generateApiUrl, initializeHttpClient } from './chunk-FL7TPPYS.js';
|
|
9
|
+
export { Client, buildCachePurgeRequest, buildCrmListPurgeTarget, buildCrmSinglePurgeTarget, buildEngagementPurgeTarget, buildPortalConfigPurgeTarget, buildUserSessionPurgeTarget, createCachePurgeJob, extractEngagementItemIdFromWriteResponse, extractHubspotRecordIdFromWriteResponse, getFieldErrors, getFormErrors, initializeHttpClient, mergePurgeTargets, purgeCrmCombined, purgeCrmDetailAndListAfterCrmWrite, purgeCrmListCache, purgeCrmListCacheAfterCrmWrite, purgeCrmObjectDataCache, purgeCrmRecordCache, purgeEngagementCaches, purgeEngagementCachesAfterCrmWrite, resolveCrmListPurgeQuery, startVisibilityRefreshScheduler, stopVisibilityRefreshScheduler, toCachePurgeListQuery } from './chunk-FL7TPPYS.js';
|
|
10
|
+
import './chunk-EOM4QSM7.js';
|
|
11
|
+
import { actions8, syncStore, actions5, emailStore, actions4, noteStore, actions6, userStore, actions2, tableStore, tableUiActions, tableUiStore, hydrateUserStoreFromSession } from './chunk-QXUKMUJI.js';
|
|
12
|
+
export { HUBSPOT_DEALS_OBJECT_TYPE_ID, HUBSPOT_TICKETS_OBJECT_TYPE_ID, PIPELINE_BOARD_OBJECT_TYPE_IDS, PIPELINE_REQUIRED_MANAGED_OBJECT_TYPE_IDS, isPipelineBoardObjectTypeId } from './chunk-QXUKMUJI.js';
|
|
13
13
|
import { storage, hydrateSessionRefreshState, hydrateMfaPendingAccessToken, storAccessToken } from './chunk-HOUVOL2U.js';
|
|
14
14
|
export { SERVICE_UNAVAILABLE_MESSAGE, SessionRefreshDeferredError, SessionRefreshFailedError, classifyHttpError, clearMfaPendingAccessToken, configureLogger, getHttpErrorMessage, config as hubContext, hydrateMfaPendingAccessToken, isMfaPendingAccessSession, isServiceUnavailableError, isSessionRefreshDeferredError, isSessionRefreshFailedError, readMfaPendingAccessToken, setConfig as setHubContext, setSessionLifecycleListener, storeMfaPendingAccessToken } from './chunk-HOUVOL2U.js';
|
|
15
15
|
import { setClientType } from './chunk-KPHAQNS2.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "woodsportal-client-sdk",
|
|
3
|
-
"version": "4.0.8-dev.
|
|
3
|
+
"version": "4.0.8-dev.8",
|
|
4
4
|
"packageManager": "pnpm@10.12.1",
|
|
5
5
|
"description": "Official TypeScript/JavaScript SDK for WoodsPortal API - Authentication, user management, pipelines, and more",
|
|
6
6
|
"type": "module",
|
|
@@ -72,17 +72,10 @@
|
|
|
72
72
|
"check:exports": "publint run --pack npm && pnpm run check:types-pack",
|
|
73
73
|
"check:deps": "depcruise src/main --config .dependency-cruiser.cjs",
|
|
74
74
|
"check:knip": "knip",
|
|
75
|
-
"verify": "pnpm run type-check && pnpm run lint && pnpm
|
|
75
|
+
"verify": "pnpm run type-check && pnpm run lint && pnpm test && pnpm run build && pnpm run size:check && pnpm run check:exports && pnpm run check:deps",
|
|
76
76
|
"verify:full": "pnpm run verify && pnpm run test:consumer",
|
|
77
|
-
"prepare": "husky",
|
|
78
77
|
"prepublishOnly": "pnpm run build && pnpm run type-check && pnpm run test:consumer"
|
|
79
78
|
},
|
|
80
|
-
"lint-staged": {
|
|
81
|
-
"src/**/*.ts": [
|
|
82
|
-
"prettier --write",
|
|
83
|
-
"eslint --fix"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
79
|
"files": [
|
|
87
80
|
"dist",
|
|
88
81
|
"README.md",
|
|
@@ -134,10 +127,8 @@
|
|
|
134
127
|
"dependency-cruiser": "^16.10.0",
|
|
135
128
|
"eslint": "^9.18.0",
|
|
136
129
|
"eslint-config-prettier": "^10.0.1",
|
|
137
|
-
"husky": "^9.1.7",
|
|
138
130
|
"jsdom": "^26.0.0",
|
|
139
131
|
"knip": "^5.46.0",
|
|
140
|
-
"lint-staged": "^15.4.3",
|
|
141
132
|
"nodemon": "^3.1.11",
|
|
142
133
|
"prettier": "^3.7.4",
|
|
143
134
|
"publint": "^0.3.0",
|