@salesforce/lds-network-aura 1.307.0 → 1.308.0-dev1
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
|
@@ -111,6 +111,7 @@ const GDF_BASE_URI = `${CONNECT_BASE_URI}/gdf`;
|
|
|
111
111
|
const GDF_DISCOVERY_FRAMEWORK_BASE_URI = `${CONNECT_BASE_URI}/discovery-framework`;
|
|
112
112
|
const SERVICE_PLAN_BASE_URI = `${CONNECT_BASE_URI}/service-plan`;
|
|
113
113
|
const MILESTONES_BASE_URI = `${CONNECT_BASE_URI}/milestones`;
|
|
114
|
+
const ENGMNT_CONFIG_BASE_URI = `${BASE_URI}/engagementsignal`;
|
|
114
115
|
const CONTENT_LINK_BASE_URI = `${CONNECT_BASE_URI}/content-link`;
|
|
115
116
|
const LEARNING_ITEM_BASE_URI = `${CONNECT_BASE_URI}/learning-platform`;
|
|
116
117
|
const APP_FRAMEWORK_BASE_URI = `${BASE_URI}/app-framework`;
|
|
@@ -419,7 +420,11 @@ router.post((path) => path.startsWith(`${WAVE_BASE_URI}/soql`), executeSoqlQuery
|
|
|
419
420
|
function buildDataGraphAction(actionName, bodyWrapper = 'input') {
|
|
420
421
|
return (resourceRequest, resourceRequestContext) => {
|
|
421
422
|
const { body } = resourceRequest;
|
|
422
|
-
|
|
423
|
+
let buildParameters = {};
|
|
424
|
+
// eslint-disable-next-line @salesforce/lds/no-optional-chaining
|
|
425
|
+
if (resourceRequest.method === 'put' && resourceRequest.queryParams) {
|
|
426
|
+
buildParameters = resourceRequest.queryParams;
|
|
427
|
+
}
|
|
423
428
|
buildParameters[bodyWrapper] = body;
|
|
424
429
|
const params = buildUiApiParams(buildParameters, resourceRequest);
|
|
425
430
|
const enrichedConfig = enrichWithSourceContext(resourceRequestContext);
|
|
@@ -1235,6 +1240,7 @@ const INSURANCE_ISSUE = new RegExp(`${INSURANCE_BASE_URI}/policies`, 'i');
|
|
|
1235
1240
|
const INSURANCE_GET_POLICY = new RegExp(`${INSURANCE_BASE_URI}/policies/([A-Za-z0-9_]){15,18}$`, 'i');
|
|
1236
1241
|
const INSURANCE_GET_POLICY_LINEITEM = new RegExp(`${INSURANCE_BASE_URI}/policies/([A-Za-z0-9_]){15,18}/policyLineItems/([A-Za-z0-9_]){15,18}$`, 'i');
|
|
1237
1242
|
const INSURANCE_SEARCH_PRODUCER_SPLIT_ARNG = new RegExp(`${INSURANCE_BASE_URI}/producer-split-arrangements`, 'i');
|
|
1243
|
+
const CREATE_ENGAGEMENT_SIGNAL = new RegExp(`${ENGMNT_CONFIG_BASE_URI}/engagement-signals`, 'i');
|
|
1238
1244
|
const INSURANCE_COST_CALCULATION_COVERAGE = new RegExp(`${INSURANCE_BASE_URI}/plan-management/coverages/([A-Za-z0-9_]){15,18}/cost`, 'i');
|
|
1239
1245
|
const INSURANCE_COST_CALCULATION_POLICY = new RegExp(`${INSURANCE_BASE_URI}/plan-management/policies/([A-Za-z0-9_]){15,18}/cost`, 'i');
|
|
1240
1246
|
const INSURANCE_COST_CALCULATION_RATE_PLAN_LINE_ITEM = new RegExp(`${INSURANCE_BASE_URI}/plan-management/ratePlanLineItems/([A-Za-z0-9_]){15,18}/cost`, 'i');
|
|
@@ -1242,6 +1248,8 @@ const INSURANCE_COST_CALCULATION_RATE_PLAN = new RegExp(`${INSURANCE_BASE_URI}/p
|
|
|
1242
1248
|
const PRICE_PROTECTION_CLAIM_PATH = new RegExp(`${CONNECT_BASE_URI}/price-protection-claim-execution`, 'i');
|
|
1243
1249
|
const INSURANCE_PRODUCER_SPLIT_ASSG_VALIDATE = new RegExp(`${INSURANCE_BASE_URI}/split-assignment/validate`, 'i');
|
|
1244
1250
|
const INSURANCE_PRODUCER_SPLIT_ASSG_SAVE = new RegExp(`${INSURANCE_BASE_URI}/split-assignment/create`, 'i');
|
|
1251
|
+
const INDUSTRIES_CONSTRAINTS_GET_CML_PATH = new RegExp(`${INDUSTRIES_BASE_URI}/constraint/actions/([A-Za-z0-9_]){15,18}/view`, 'i');
|
|
1252
|
+
const INDUSTRIES_CONSTRAINTS_UPDATE_CML_PATH = new RegExp(`${INDUSTRIES_BASE_URI}/constraint/actions/([A-Za-z0-9_]){15,18}/update`, 'i');
|
|
1245
1253
|
const insurance = [
|
|
1246
1254
|
generateAdapter('post', INSURANCE_BASE_URI, INSURANCE_RATING, 'InsuranceFoundationFamilyController.insuranceProductRatingPost', 'ProductRatingPostInput'),
|
|
1247
1255
|
generateAdapter('patch', INSURANCE_BASE_URI, INSURANCE_RATING, 'InsuranceFoundationFamilyController.insuranceProductRatingPatch', 'productRatingPatchInput'),
|
|
@@ -2905,6 +2913,13 @@ const appFramework = [
|
|
|
2905
2913
|
generateAdapter('get', APP_FRAMEWORK_BASE_URI, APP_FRAMEWORK_TEMPLATE_GET, 'AppFrameworkController.getTemplate'),
|
|
2906
2914
|
generateAdapter('get', APP_FRAMEWORK_BASE_URI, APP_FRAMEWORK_TEMPLATE_CONFIG_GET, 'AppFrameworkController.getTemplateConfig'),
|
|
2907
2915
|
];
|
|
2916
|
+
const engagement = [
|
|
2917
|
+
generateAdapter('post', ENGMNT_CONFIG_BASE_URI, CREATE_ENGAGEMENT_SIGNAL, 'EngagementSignalServiceController.createEngagementSignal', 'input'),
|
|
2918
|
+
];
|
|
2919
|
+
const constraints = [
|
|
2920
|
+
generateAdapter('get', INDUSTRIES_BASE_URI, INDUSTRIES_CONSTRAINTS_GET_CML_PATH, 'IConstraintServiceResourceFamilyController.view'),
|
|
2921
|
+
generateAdapter('patch', INDUSTRIES_BASE_URI, INDUSTRIES_CONSTRAINTS_UPDATE_CML_PATH, 'IConstraintServiceResourceFamilyController.update', 'input'),
|
|
2922
|
+
];
|
|
2908
2923
|
registerApiFamilyRoutes(homeHealth);
|
|
2909
2924
|
registerApiFamilyRoutes(providerNetworkManagement);
|
|
2910
2925
|
registerApiFamilyRoutes(decisiontable);
|
|
@@ -3023,12 +3038,14 @@ registerApiFamilyRoutes(semanticAuthoring);
|
|
|
3023
3038
|
registerApiFamilyRoutes(payments);
|
|
3024
3039
|
registerApiFamilyRoutes(gdfDch);
|
|
3025
3040
|
registerApiFamilyRoutes(milestones);
|
|
3041
|
+
registerApiFamilyRoutes(engagement);
|
|
3026
3042
|
registerApiFamilyRoutes(serviceEmployee);
|
|
3027
3043
|
registerApiFamilyRoutes(channelRevenueManagement);
|
|
3028
3044
|
registerApiFamilyRoutes(learning);
|
|
3029
3045
|
registerApiFamilyRoutes(appFramework);
|
|
3030
3046
|
registerApiFamilyRoutes(salesTransactionContexts);
|
|
3031
3047
|
registerApiFamilyRoutes(amendRenewCancelAssets);
|
|
3048
|
+
registerApiFamilyRoutes(constraints);
|
|
3032
3049
|
|
|
3033
3050
|
const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
|
|
3034
3051
|
const ACTION_CONFIG = {
|
|
@@ -4874,4 +4891,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
|
|
|
4874
4891
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
4875
4892
|
|
|
4876
4893
|
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 };
|
|
4877
|
-
// version: 1.
|
|
4894
|
+
// version: 1.308.0-dev1-975a2363c7
|
|
@@ -92,6 +92,7 @@ export declare const UNIFIED_ANALYTICS_URI: string;
|
|
|
92
92
|
export declare const GDF_DISCOVERY_FRAMEWORK_BASE_URI: string;
|
|
93
93
|
export declare const SERVICE_PLAN_BASE_URI: string;
|
|
94
94
|
export declare const MILESTONES_BASE_URI: string;
|
|
95
|
+
export declare const ENGMNT_CONFIG_BASE_URI: string;
|
|
95
96
|
export declare const CONTENT_LINK_BASE_URI: string;
|
|
96
97
|
export declare const LEARNING_ITEM_BASE_URI: string;
|
|
97
98
|
export declare const APP_FRAMEWORK_BASE_URI: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.308.0-dev1",
|
|
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.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
41
|
-
"@salesforce/lds-aura-storage": "^1.
|
|
42
|
-
"@salesforce/lds-environment-settings": "^1.
|
|
43
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
44
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.308.0-dev1",
|
|
41
|
+
"@salesforce/lds-aura-storage": "^1.308.0-dev1",
|
|
42
|
+
"@salesforce/lds-environment-settings": "^1.308.0-dev1",
|
|
43
|
+
"@salesforce/lds-instrumentation": "^1.308.0-dev1",
|
|
44
|
+
"@salesforce/lds-network-adapter": "^1.308.0-dev1"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../package.json"
|