@salesforce/lds-network-aura 1.332.0-dev19 → 1.332.0-dev20
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/ldsNetwork.js
CHANGED
|
@@ -134,7 +134,6 @@ const PLATFORM_LIGHTNING_TYPES_BASE_URI = `${CONNECT_BASE_URI}/lightning-types`;
|
|
|
134
134
|
const INVOICING_BASE_URI = `${COMMERCE_BASE_URI}/invoicing`;
|
|
135
135
|
const SLACK_BRIDGE_BASE_URI = `${CONNECT_BASE_URI}/slackbridge`;
|
|
136
136
|
const EXPLORER_VIEW_BASE_URI = `${CONNECT_BASE_URI}/explorer-view`;
|
|
137
|
-
const CDP_DATA_CLEAN_ROOM_BASE_URI = `${CDP_BASE_URI}/data-clean-room`;
|
|
138
137
|
|
|
139
138
|
function getStatusText(status) {
|
|
140
139
|
switch (status) {
|
|
@@ -1204,8 +1203,7 @@ const FUNDRAISING_COMMITMENT_DEFAULT_DESIGNATION_PATH = new RegExp(`${FUNDRAISIN
|
|
|
1204
1203
|
const FUNDRAISING_GIFT_TRANSACTION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/gift-commitments/[a-zA-Z0-9]{15,18}/gift-transactions$`, 'i');
|
|
1205
1204
|
const FUNDRAISING_TRANSACTION_LINKED_DESIGNATION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/transaction/[a-zA-Z0-9]{15,18}/designations$`, 'i');
|
|
1206
1205
|
// CDP BYOC Endpoints
|
|
1207
|
-
const
|
|
1208
|
-
const CDP_BYOC_CUSTOM_CODE_PATH = new RegExp(`${CDP_BYOC_BASE_URI}/([A-Za-z0-9_]){1,80}$`, 'i');
|
|
1206
|
+
const CDP_BYOC_PATH = new RegExp(`${CDP_BYOC_BASE_URI}`, 'i');
|
|
1209
1207
|
// CDP Data Graph Endpoints
|
|
1210
1208
|
const CDP_DATA_GRAPH_PATH = new RegExp(`${CDP_BASE_URI}/data-graphs`, 'i');
|
|
1211
1209
|
// Prevent matching /data-graphs/metadata
|
|
@@ -1516,7 +1514,6 @@ const APP_FRAMEWORK_TEMPLATE_TAGS_PUT = APP_FRAMEWORK_TEMPLATE_TAGS_GET;
|
|
|
1516
1514
|
const MFG_INVENTORY_COUNT_SCHEDULES_PATH = new RegExp(`${CONNECT_BASE_URI}/inventory/inventory-count`, 'i');
|
|
1517
1515
|
const GET_LIGHTNING_TYPES_COLLECTION = new RegExp(`${PLATFORM_LIGHTNING_TYPES_BASE_URI}`, 'i');
|
|
1518
1516
|
const GET_LIGHTNING_TYPE_PATH = new RegExp(`${PLATFORM_LIGHTNING_TYPES_BASE_URI}/([A-Za-z0-9_]){1,100}$`, 'i');
|
|
1519
|
-
const CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/providers`, 'i');
|
|
1520
1517
|
const unifiedAnalytics = [
|
|
1521
1518
|
// eslint-disable-next-line @salesforce/lds/oas-body-name-required
|
|
1522
1519
|
generateAdapter('post', BASE_URI, UNIFIED_ANALYTICS_ANNOTATIONS_PATH, 'AnalyticsController.createAnnotation', 'annotation'),
|
|
@@ -2816,14 +2813,8 @@ const cdp = [
|
|
|
2816
2813
|
generateAdapter('post', CDP_BASE_URI, CDP_DATA_GRAPH_DRAFT_PATH, 'CdpDataGraphController.saveDataGraphDraft'),
|
|
2817
2814
|
generateAdapter('get', CDP_BASE_URI, GET_CDP_DATA_GRAPH_DRAFT_PATH, 'CdpDataGraphController.getDataGraphDraft'),
|
|
2818
2815
|
];
|
|
2819
|
-
// NOTE: Order is important, put more-specific regexes earlier in the array.
|
|
2820
|
-
// e.g. If /data-custom-code comes before /data-custom-code/{nameOrId}, the latter will never be used.
|
|
2821
2816
|
const cdpByoc = [
|
|
2822
|
-
generateAdapter('
|
|
2823
|
-
generateAdapter('patch', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.updateCustomCodeDeployment', 'customCodeDeployment'),
|
|
2824
|
-
generateAdapter('delete', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.deleteCustomCodeDeployment'),
|
|
2825
|
-
generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeDeployments'),
|
|
2826
|
-
generateAdapter('post', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH, 'CdpCustomCodeDeploymentController.createCustomCodeDeployment', 'customCodeDeployment'),
|
|
2817
|
+
generateAdapter('post', CDP_BASE_URI, CDP_BYOC_PATH, 'CdpCustomCodeDeploymentController.createCustomCodeDeployment', 'customCodeDeployment'),
|
|
2827
2818
|
];
|
|
2828
2819
|
const cdpMetadata = [
|
|
2829
2820
|
generateAdapter('get', CDP_BASE_URI, CDP_METADATA, 'CdpQueryController.getAllMetadata'),
|
|
@@ -3332,10 +3323,6 @@ const slackBridge = [
|
|
|
3332
3323
|
generateAdapter('get', CONNECT_BASE_URI, AGENTFORCE_EMPLOYEE_AGENTS, 'ConversationRuntimeProxyController.getAgents'),
|
|
3333
3324
|
generateAdapter('get', BASE_URI, SLACK_BRIDGE_SLACK_RELATED_THREADS_PATH, 'SlackBridgeController.getRelatedThreads'),
|
|
3334
3325
|
];
|
|
3335
|
-
const cdpDataCleanRoom = [
|
|
3336
|
-
generateAdapter('get', BASE_URI, CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER, 'CdpDataCleanRoomController.getDataCleanRoomProvidersPaginated'),
|
|
3337
|
-
generateAdapter('post', BASE_URI, CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER, 'CdpDataCleanRoomController.createProvider', 'input'),
|
|
3338
|
-
];
|
|
3339
3326
|
registerApiFamilyRoutes(homeHealth);
|
|
3340
3327
|
registerApiFamilyRoutes(dataProcessingEngine);
|
|
3341
3328
|
registerApiFamilyRoutes(providerNetworkManagement);
|
|
@@ -3481,7 +3468,6 @@ registerApiFamilyRoutes(marketingProspect);
|
|
|
3481
3468
|
registerApiFamilyRoutes(guardrailFramework);
|
|
3482
3469
|
registerApiFamilyRoutes(lightningTypes);
|
|
3483
3470
|
registerApiFamilyRoutes(slackBridge);
|
|
3484
|
-
registerApiFamilyRoutes(cdpDataCleanRoom);
|
|
3485
3471
|
|
|
3486
3472
|
const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
|
|
3487
3473
|
const ACTION_CONFIG = {
|
|
@@ -3999,6 +3985,7 @@ function executeBatchRecordOperations(resourceRequest, resourceRequestContext) {
|
|
|
3999
3985
|
const controller = UiApiRecordController$1.ExecuteBatchRecordOperations;
|
|
4000
3986
|
const params = buildUiApiParams({
|
|
4001
3987
|
recordInput: resourceRequest.body,
|
|
3988
|
+
useDefaultRule: resourceRequest.queryParams.useDefaultRule,
|
|
4002
3989
|
}, resourceRequest);
|
|
4003
3990
|
const enrichedConfig = enrichWithSourceContext(resourceRequestContext, actionConfig);
|
|
4004
3991
|
return dispatchAction(controller, params, enrichedConfig);
|
|
@@ -5328,4 +5315,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
|
|
|
5328
5315
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
5329
5316
|
|
|
5330
5317
|
export { CrudEventState, CrudEventType, UIAPI_GET_LAYOUT, UIAPI_GET_LAYOUT_USER_STATE, UIAPI_OBJECT_INFO_BATCH_PATH, UIAPI_OBJECT_INFO_PATH, UIAPI_RECORDS_PATH$1 as UIAPI_RECORDS_PATH, UIAPI_RELATED_LIST_RECORDS_BATCH_PATH, UIAPI_RELATED_LIST_RECORDS_PATH, createOkResponse$1 as createOkResponse, main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, getTransactionKey, instrument$1 as instrument, layoutStorage, layoutStorageStatsLogger, layoutUserStateStorage, layoutUserStateStorageStatsLogger, instrument as ldsNetworkAdapterInstrument, objectInfoStorage, objectInfoStorageStatsLogger, shouldForceRefresh };
|
|
5331
|
-
// version: 1.332.0-
|
|
5318
|
+
// version: 1.332.0-dev20-f65bc51b43
|
|
@@ -115,4 +115,3 @@ export declare const PLATFORM_LIGHTNING_TYPES_BASE_URI: string;
|
|
|
115
115
|
export declare const INVOICING_BASE_URI: string;
|
|
116
116
|
export declare const SLACK_BRIDGE_BASE_URI: string;
|
|
117
117
|
export declare const EXPLORER_VIEW_BASE_URI: string;
|
|
118
|
-
export declare const CDP_DATA_CLEAN_ROOM_BASE_URI: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev20",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Network Adapter for Aura Runtime",
|
|
6
6
|
"main": "dist/ldsNetwork.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@luvio/engine": "0.156.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.332.0-
|
|
41
|
-
"@salesforce/lds-aura-storage": "^1.332.0-
|
|
42
|
-
"@salesforce/lds-environment-settings": "^1.332.0-
|
|
43
|
-
"@salesforce/lds-instrumentation": "^1.332.0-
|
|
44
|
-
"@salesforce/lds-network-adapter": "^1.332.0-
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.332.0-dev20",
|
|
41
|
+
"@salesforce/lds-aura-storage": "^1.332.0-dev20",
|
|
42
|
+
"@salesforce/lds-environment-settings": "^1.332.0-dev20",
|
|
43
|
+
"@salesforce/lds-instrumentation": "^1.332.0-dev20",
|
|
44
|
+
"@salesforce/lds-network-adapter": "^1.332.0-dev20"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../package.json"
|