@salesforce/lds-network-aura 1.239.0 → 1.241.0
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
|
@@ -75,6 +75,7 @@ const EINSTEIN_BASE_URI = `${BASE_URI}/einstein`;
|
|
|
75
75
|
const ECI_CONVERSATION_BASE_URI = `${BASE_URI}/conversation`;
|
|
76
76
|
const COMMERCE_STORE_MANAGEMENT_BASE_URI = `${COMMERCE_BASE_URI}/management/webstores`;
|
|
77
77
|
const SERVICE_CATALOG_CATEGORIES_BASE_URI = `${CONNECT_BASE_URI}/service-automation/service-catalog/categories`;
|
|
78
|
+
const REMINDER_BASE_URI = `${CONNECT_BASE_URI}/reminder/reminder-definition`;
|
|
78
79
|
|
|
79
80
|
function getStatusText(status) {
|
|
80
81
|
switch (status) {
|
|
@@ -792,7 +793,7 @@ const GET_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_U
|
|
|
792
793
|
const CREATE_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/recipe/mapping`, 'i');
|
|
793
794
|
const GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/sync/([A-Za-z0-9_]){5,255}`, 'i');
|
|
794
795
|
const CREATE_INDUSTRIES_PRICING_VERSIONED_REVISE_DETAILS_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/versioned-revise-details`, 'i');
|
|
795
|
-
const GET_INDUSTRIES_PRICING_WATERFALL = new RegExp(`${CONNECT_BASE_URI}/core-pricing/waterfall/([A-Za-z0-9]){15,
|
|
796
|
+
const GET_INDUSTRIES_PRICING_WATERFALL = new RegExp(`${CONNECT_BASE_URI}/core-pricing/waterfall/([A-Za-z0-9]){15,20}/([A-Za-z0-9]){15,20}$`, 'i');
|
|
796
797
|
const SERVICE_CATALOG_CATEGORIES_PATH = new RegExp(`${SERVICE_CATALOG_CATEGORIES_BASE_URI}`, 'i');
|
|
797
798
|
function generateAdapter(method, baseUri, pathRegex, controller, bodyParamName) {
|
|
798
799
|
return {
|
|
@@ -867,6 +868,7 @@ const DOCUMENT_MATRIX_FETCH_RESULTS = new RegExp(`${CONNECT_BASE_URI}/document-m
|
|
|
867
868
|
const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/salesagreements/price`, 'i');
|
|
868
869
|
const COMMERCE_STORE_MANAGEMENT_CONFIGURE_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/configureProductPricing`, 'i');
|
|
869
870
|
const COMMERCE_STORE_MANAGEMENT_GET_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/getProductPricing`, 'i');
|
|
871
|
+
const REMINDER_PATH = new RegExp(`${REMINDER_BASE_URI}`, 'i');
|
|
870
872
|
const connect = [
|
|
871
873
|
generateAdapter('get', CONNECT_BASE_URI, NOTIFICATION_SERVICE_CONFIG_PATH, 'NotificationServiceConnectFamilyController.getNotificationServiceConfig'),
|
|
872
874
|
generateAdapter('post', CONNECT_BASE_URI, AI_ACCELERATOR_RECOMMENDATIONS, 'AIAcceleratorConnectFamilyController.fetchRecommendations'),
|
|
@@ -1558,6 +1560,10 @@ const commerceStoreManagement = [
|
|
|
1558
1560
|
const serviceCatalogCategory = [
|
|
1559
1561
|
generateAdapter('get', SERVICE_CATALOG_CATEGORIES_BASE_URI, SERVICE_CATALOG_CATEGORIES_PATH, 'ServiceCatalogCategoryController.getCategories'),
|
|
1560
1562
|
];
|
|
1563
|
+
const reminder = [
|
|
1564
|
+
generateAdapter('post', REMINDER_BASE_URI, REMINDER_PATH, 'ReminderDefinitionsController.createReminderDefinition'),
|
|
1565
|
+
generateAdapter('patch', REMINDER_BASE_URI, REMINDER_PATH, 'ReminderDefinitionsController.updateReminderDefinition'),
|
|
1566
|
+
];
|
|
1561
1567
|
registerApiFamilyRoutes(updateQuote);
|
|
1562
1568
|
registerApiFamilyRoutes(connect);
|
|
1563
1569
|
registerApiFamilyRoutes(connectInternal);
|
|
@@ -1623,6 +1629,7 @@ registerApiFamilyRoutes(einstein);
|
|
|
1623
1629
|
registerApiFamilyRoutes(nextGenSalesAgreementPrice);
|
|
1624
1630
|
registerApiFamilyRoutes(commerceStoreManagement);
|
|
1625
1631
|
registerApiFamilyRoutes(serviceCatalogCategory);
|
|
1632
|
+
registerApiFamilyRoutes(reminder);
|
|
1626
1633
|
|
|
1627
1634
|
const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
|
|
1628
1635
|
const ACTION_CONFIG = {
|
|
@@ -2257,6 +2264,7 @@ var UiApiListsController;
|
|
|
2257
2264
|
UiApiListsController["GetListInfosByName"] = "ListUiController.getListInfosByName";
|
|
2258
2265
|
UiApiListsController["GetListRecordsByName"] = "ListUiController.getListRecordsByName";
|
|
2259
2266
|
UiApiListsController["UpdateListInfoByName"] = "ListUiController.updateListInfoByApiName";
|
|
2267
|
+
UiApiListsController["CreateListInfo"] = "ListUiController.createListInfo";
|
|
2260
2268
|
UiApiListsController["GetListObjectInfo"] = "ListUiController.getListObjectInfo";
|
|
2261
2269
|
})(UiApiListsController || (UiApiListsController = {}));
|
|
2262
2270
|
const UIAPI_LIST_RECORDS_PATH = `${UI_API_BASE_URI$1}/list-records/`;
|
|
@@ -2363,6 +2371,22 @@ function getListObjectInfo(resourceRequest) {
|
|
|
2363
2371
|
}, resourceRequest);
|
|
2364
2372
|
return dispatchAction(UiApiListsController.GetListObjectInfo, params);
|
|
2365
2373
|
}
|
|
2374
|
+
function createListInfo(resourceRequest) {
|
|
2375
|
+
const { urlParams: { objectApiName }, body, } = resourceRequest;
|
|
2376
|
+
const params = buildUiApiParams({
|
|
2377
|
+
objectApiName: objectApiName,
|
|
2378
|
+
listInfoInput: {
|
|
2379
|
+
displayColumns: body.displayColumns,
|
|
2380
|
+
filterLogicString: body.filterLogicString,
|
|
2381
|
+
filteredByInfo: body.filteredByInfo,
|
|
2382
|
+
label: body.label,
|
|
2383
|
+
listViewApiName: body.listViewApiName,
|
|
2384
|
+
scope: body.scope,
|
|
2385
|
+
visibility: body.visibility,
|
|
2386
|
+
},
|
|
2387
|
+
}, resourceRequest);
|
|
2388
|
+
return dispatchAction(UiApiListsController.CreateListInfo, params);
|
|
2389
|
+
}
|
|
2366
2390
|
// .../list-records/${objectApiName}/${listViewApiName}
|
|
2367
2391
|
router.get((path) => path.startsWith(UIAPI_LIST_RECORDS_PATH) && /list-records\/.*\//.test(path), getListRecordsByName);
|
|
2368
2392
|
// .../list-records/${listViewId}
|
|
@@ -2380,6 +2404,8 @@ router.get((path) => path.startsWith(`${UIAPI_LIST_INFO_BATCH_PATH}`), getListIn
|
|
|
2380
2404
|
// .../list-info/${objectApiName}/${listViewApiName}
|
|
2381
2405
|
router.patch((path) => path.startsWith(UIAPI_LIST_INFO_PATH), updateListInfoByName);
|
|
2382
2406
|
router.get((path) => path.startsWith(UIAPI_LIST_INFO_PATH) && /list-info\/.*\//.test(path), getListInfoByName);
|
|
2407
|
+
// .../list-info/${objectApiName}
|
|
2408
|
+
router.post((path) => path.startsWith(UIAPI_LIST_INFO_PATH), createListInfo);
|
|
2383
2409
|
// .../list-object-info/${objectApiName}
|
|
2384
2410
|
router.get((path) => path.startsWith(UIAPI_LIST_OBJ_INFO_PATH) &&
|
|
2385
2411
|
/list-object-info\/.*\//.test(path) === false &&
|
|
@@ -3258,4 +3284,4 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
3258
3284
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3259
3285
|
|
|
3260
3286
|
export { main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3261
|
-
// version: 1.
|
|
3287
|
+
// version: 1.241.0-b14b649d4
|
|
@@ -54,3 +54,4 @@ export declare const EINSTEIN_BASE_URI: string;
|
|
|
54
54
|
export declare const ECI_CONVERSATION_BASE_URI: string;
|
|
55
55
|
export declare const COMMERCE_STORE_MANAGEMENT_BASE_URI: string;
|
|
56
56
|
export declare const SERVICE_CATALOG_CATEGORIES_BASE_URI: string;
|
|
57
|
+
export declare const REMINDER_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.241.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Network Adapter for Aura Runtime",
|
|
6
6
|
"main": "dist/ldsNetwork.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-network-aura"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@luvio/engine": "0.
|
|
37
|
+
"@luvio/engine": "0.150.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@salesforce/lds-adapters-uiapi": "*",
|