@salesforce/lds-network-aura 1.231.0 → 1.233.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
|
@@ -21,7 +21,7 @@ import { getEnvironmentSetting, EnvironmentSettings } from 'force/ldsEnvironment
|
|
|
21
21
|
const { create, entries: entries$1, keys: keys$1 } = Object;
|
|
22
22
|
const { parse: parse$1, stringify: stringify$1 } = JSON;
|
|
23
23
|
|
|
24
|
-
const BASE_URI = '/services/data/
|
|
24
|
+
const BASE_URI = '/services/data/v60.0';
|
|
25
25
|
const CONNECT_BASE_URI = `${BASE_URI}/connect`;
|
|
26
26
|
const COMMERCE_BASE_URI = `${BASE_URI}/commerce`;
|
|
27
27
|
const COMMERCE_EXTENSION_BASE_URI = `${COMMERCE_BASE_URI}/extension`;
|
|
@@ -74,6 +74,7 @@ const MEDIA_ADSALES_BASE_URI = `${CONNECT_BASE_URI}/media`;
|
|
|
74
74
|
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
|
+
const SERVICE_CATALOG_CATEGORIES_BASE_URI = `${CONNECT_BASE_URI}/service-automation/service-catalog/categories`;
|
|
77
78
|
|
|
78
79
|
function getStatusText(status) {
|
|
79
80
|
switch (status) {
|
|
@@ -355,7 +356,7 @@ function executeDataGraphRetry(resourceRequest) {
|
|
|
355
356
|
router.post((path) => path.startsWith(`${CDP_BASE_URI}/data-graphs`), executeDataGraphQueryPost);
|
|
356
357
|
router.put((path) => path.startsWith(`${CDP_BASE_URI}/data-graphs/retry`), executeDataGraphRetry);
|
|
357
358
|
|
|
358
|
-
const LWR_APEX_BASE_URI = '/lwr/apex/
|
|
359
|
+
const LWR_APEX_BASE_URI = '/lwr/apex/v60.0';
|
|
359
360
|
const ApexController = 'ApexActionController.execute';
|
|
360
361
|
const CACHE_CONTROL = 'Cache-Control';
|
|
361
362
|
const X_SFDC_ALLOW_CONTINUATION = 'X-SFDC-Allow-Continuation';
|
|
@@ -787,11 +788,12 @@ const INDUSTRIES_CONTEXT_SERVICE_ATTRIBUTE_PATH = new RegExp(`${CONNECT_BASE_URI
|
|
|
787
788
|
const INDUSTRIES_CONTEXT_SERVICE_NODE_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/context-mappings/([A-Z0-9]){15,18}/context-node-mappings/([A-Z0-9]){1,28}$`, 'i');
|
|
788
789
|
const CREATE_INDUSTRIES_CONTEXT_NODE_MAPPINGS_PATH = new RegExp(`${CONNECT_BASE_URI}/context-mappings/([A-Za-z0-9]){15,18}/context-node-mappings$`, 'i');
|
|
789
790
|
const DATALOADING_FEATURE_OBJECTS_PATH = new RegExp(`${CONNECT_BASE_URI}/industries/([A-Za-z0-9_]){5,255}/objects`, 'i');
|
|
790
|
-
const GET_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/
|
|
791
|
-
const CREATE_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/
|
|
792
|
-
const GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH = new RegExp(`${CONNECT_BASE_URI}/
|
|
793
|
-
const CREATE_INDUSTRIES_PRICING_VERSIONED_REVISE_DETAILS_PATH = new RegExp(`${CONNECT_BASE_URI}/
|
|
794
|
-
const GET_INDUSTRIES_PRICING_WATERFALL = new RegExp(`${CONNECT_BASE_URI}/
|
|
791
|
+
const GET_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/recipe`, 'i');
|
|
792
|
+
const CREATE_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/recipe/mapping`, 'i');
|
|
793
|
+
const GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH = new RegExp(`${CONNECT_BASE_URI}/core-pricing/sync/([A-Za-z0-9_]){5,255}`, 'i');
|
|
794
|
+
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,18}/([A-Za-z0-9]){15,18}$`, 'i');
|
|
796
|
+
const SERVICE_CATALOG_CATEGORIES_PATH = new RegExp(`${SERVICE_CATALOG_CATEGORIES_BASE_URI}`, 'i');
|
|
795
797
|
function generateAdapter(method, baseUri, pathRegex, controller, bodyParamName) {
|
|
796
798
|
return {
|
|
797
799
|
method,
|
|
@@ -1047,7 +1049,7 @@ const commerce = [
|
|
|
1047
1049
|
generateAdapter('post', COMMERCE_BASE_URI, PRODUCT_SEARCH_PATH, 'CommerceProductSearchController.productSearch'),
|
|
1048
1050
|
];
|
|
1049
1051
|
const commerce_management = [
|
|
1050
|
-
generateAdapter('get', COMMERCE_BASE_URI, GET_MANAGEMENT_CHANNELS_PATH, '
|
|
1052
|
+
generateAdapter('get', COMMERCE_BASE_URI, GET_MANAGEMENT_CHANNELS_PATH, 'ICommerceManagementController.getChannels'),
|
|
1051
1053
|
];
|
|
1052
1054
|
const commerce_extension = [
|
|
1053
1055
|
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_EXTENSIONS_PATH, 'CommerceExtensionFamilyController.getExtensions'),
|
|
@@ -1553,6 +1555,9 @@ const commerceStoreManagement = [
|
|
|
1553
1555
|
generateAdapter('post', COMMERCE_STORE_MANAGEMENT_BASE_URI, COMMERCE_STORE_MANAGEMENT_CONFIGURE_PRODUCT_PRICING_PATH, 'ICommerceStoreManagementController.configureProductPricing'),
|
|
1554
1556
|
generateAdapter('get', COMMERCE_STORE_MANAGEMENT_BASE_URI, COMMERCE_STORE_MANAGEMENT_GET_PRODUCT_PRICING_PATH, 'ICommerceStoreManagementController.getProductPricing'),
|
|
1555
1557
|
];
|
|
1558
|
+
const serviceCatalogCategory = [
|
|
1559
|
+
generateAdapter('get', SERVICE_CATALOG_CATEGORIES_BASE_URI, SERVICE_CATALOG_CATEGORIES_PATH, 'ServiceCatalogCategoryController.getCategories'),
|
|
1560
|
+
];
|
|
1556
1561
|
registerApiFamilyRoutes(updateQuote);
|
|
1557
1562
|
registerApiFamilyRoutes(connect);
|
|
1558
1563
|
registerApiFamilyRoutes(connectInternal);
|
|
@@ -1617,6 +1622,7 @@ registerApiFamilyRoutes(instantPricing);
|
|
|
1617
1622
|
registerApiFamilyRoutes(einstein);
|
|
1618
1623
|
registerApiFamilyRoutes(nextGenSalesAgreementPrice);
|
|
1619
1624
|
registerApiFamilyRoutes(commerceStoreManagement);
|
|
1625
|
+
registerApiFamilyRoutes(serviceCatalogCategory);
|
|
1620
1626
|
|
|
1621
1627
|
const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
|
|
1622
1628
|
const ACTION_CONFIG = {
|
|
@@ -2745,7 +2751,7 @@ const { join, push, unshift } = Array.prototype;
|
|
|
2745
2751
|
const { isArray } = Array;
|
|
2746
2752
|
const { entries, keys } = Object;
|
|
2747
2753
|
|
|
2748
|
-
const UI_API_BASE_URI = '/services/data/
|
|
2754
|
+
const UI_API_BASE_URI = '/services/data/v60.0/ui-api';
|
|
2749
2755
|
|
|
2750
2756
|
let instrumentation = {
|
|
2751
2757
|
aggregateUiChunkCount: (_cb) => { },
|
|
@@ -3250,4 +3256,4 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
3250
3256
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3251
3257
|
|
|
3252
3258
|
export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3253
|
-
// version: 1.
|
|
3259
|
+
// version: 1.233.0-8ab7ef233
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LWR_APEX_BASE_URI = "/lwr/apex/
|
|
1
|
+
export declare const LWR_APEX_BASE_URI = "/lwr/apex/v60.0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const BASE_URI = "/services/data/
|
|
1
|
+
export declare const BASE_URI = "/services/data/v60.0";
|
|
2
2
|
export declare const CONNECT_BASE_URI: string;
|
|
3
3
|
export declare const COMMERCE_BASE_URI: string;
|
|
4
4
|
export declare const COMMERCE_EXTENSION_BASE_URI: string;
|
|
@@ -53,3 +53,4 @@ export declare const MEDIA_ADSALES_BASE_URI: string;
|
|
|
53
53
|
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
|
+
export declare const SERVICE_CATALOG_CATEGORIES_BASE_URI: string;
|