@salesforce/lds-network-aura 1.389.1 → 1.390.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.
@@ -75,6 +75,7 @@ const FORMULA_BASE_URI = `${CONNECT_BASE_URI}/formula`;
75
75
  const DEV_WORKSPACE_BASE_URI = `${CONNECT_BASE_URI}/workspaces`;
76
76
  const EDUCATION_BASE_URI = `${CONNECT_BASE_URI}/education`;
77
77
  const CPQ_BASE_URI = `${CONNECT_BASE_URI}/cpq`;
78
+ const REVENUE_BASE_URI = `${CONNECT_BASE_URI}/revenue`;
78
79
  const LIGHTNING_CARDS_BASE_URI = `${CONNECT_BASE_URI}/lightning-cards`;
79
80
  const FUNDRAISING_BASE_URI = `${CONNECT_BASE_URI}/fundraising`;
80
81
  const CDP_BASE_URI = `${BASE_URI}/ssot`;
@@ -556,6 +557,7 @@ function dispatchApexAction(endpoint, params, config) {
556
557
  router.post((path) => path.startsWith(LWR_APEX_BASE_URI), executePostApex);
557
558
  router.get((path) => path.startsWith(LWR_APEX_BASE_URI), executeGetApex);
558
559
 
560
+ const SA_SAVE_ELIGIBILITY_RULE_PATH = new RegExp(`${CONNECT_BASE_URI}/service-automation/eligibility-rule`, 'i');
559
561
  const KNOWLEDGE_SUMMARY_PATH = new RegExp(`${KNOWLEDGE_SUMMARY_BASE_URI}/([^/]*)/summary`, 'i');
560
562
  const GENERIC_CONNECT_API_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/generic/[A-Z0-9_-]`, 'i');
561
563
  const VISIT_BROADCAST_ASSIGNMENT_API_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/home-health/visit-broadcast-assignment`, 'i');
@@ -1255,6 +1257,7 @@ const CPQ_POST_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Z
1255
1257
  const CPQ_PATCH_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/items$`, 'i');
1256
1258
  const CPQ_DELETE_CART_ITEM = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/items/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)`, 'i');
1257
1259
  const CPQ_PRICE_CART = new RegExp(`${CPQ_BASE_URI}/carts/([A-Za-z0-9]+(-[A-Za-z0-9]+)+)/price`, 'i');
1260
+ const REVENUE_PRODUCT_CONFIGURATOR_RULES = new RegExp(`${REVENUE_BASE_URI}/product-configurator/rules$`, 'i');
1258
1261
  //DFO PATHS
1259
1262
  const INDUSTRIES_DFO_CONFIG_PATH = new RegExp(`${INDUSTRIES_DFO_BASE_URI}/configurations`, 'i');
1260
1263
  const INDUSTRIES_DFO_DECOMP_VIEWER_PATH = new RegExp(`${INDUSTRIES_DFO_BASE_DECOMP_VIEWER_URI}/[a-zA-Z0-9]{15,18}/([A-Za-z0-9_-]){1,255}`, 'i');
@@ -1478,6 +1481,8 @@ const CONTRIBUTOR_BUSINESS_UNITS = new RegExp(`${BUSINESS_UNITS_BASE_URI}/contri
1478
1481
  const BUSINESS_UNIT_COLLECTION_PATH = new RegExp(`${BUSINESS_UNITS_BASE_URI}`, 'i');
1479
1482
  const BUSINESS_UNIT_BULK = new RegExp(`${BUSINESS_UNITS_BASE_URI}/([A-Za-z0-9_]){15,18}/contributors/bulk`, 'i');
1480
1483
  const BUSINESS_UNIT_DELETE = new RegExp(`${BUSINESS_UNITS_BASE_URI}/([A-Za-z0-9_]){15,18}/contributors/([A-Za-z0-9_]){15,18}`, 'i');
1484
+ const BUSINESS_UNIT_CHANNELS_PATH = new RegExp(`${BUSINESS_UNITS_BASE_URI}/channels`, 'i');
1485
+ const BUSINESS_UNIT_CHANNELS_BULK_PATH = new RegExp(`${BUSINESS_UNITS_BASE_URI}/channels/bulk`, 'i');
1481
1486
  const UMA_DATASPACES = new RegExp(`${CONNECT_BASE_URI}/uma/dataSpaces`, 'i');
1482
1487
  const MARKETING_CONFIGURATIONS_BUSINESS_UNIT_FEATURE_PATH = new RegExp(`${MARKETING_CONFIGURATIONS_CONNECT_BASE_URI}/business-units/([A-Za-z0-9_]){15,18}/features/([A-Z0-9_]){1,255}`, 'i');
1483
1488
  const MARKETING_CONFIGURATIONS_BUSINESS_UNIT_CONFIG_PATH = new RegExp(`${MARKETING_CONFIGURATIONS_CONNECT_BASE_URI}/business-units/([A-Za-z0-9_]){15,18}/features/([A-Z0-9_]){1,255}/configurations/([A-Z0-9_]){1,255}`, 'i');
@@ -2115,12 +2120,13 @@ const connect = [
2115
2120
  generateAdapter('get', CONNECT_BASE_URI, SA_GEN_AI_PATH, 'ServiceAutomationFamilyController.getAgentActions'),
2116
2121
  generateAdapter('post', CONNECT_BASE_URI, SA_GEN_AI_PATH, 'ServiceAutomationFamilyController.createAgentAction', 'AgentActionInput'),
2117
2122
  generateAdapter('post', CONNECT_BASE_URI, SA_AGENT_FLOW_PATH, 'ServiceAutomationFamilyController.createAgentFlow', 'AgentAutolaunchedFlowInput'),
2123
+ generateAdapter('post', CONNECT_BASE_URI, SA_SAVE_ELIGIBILITY_RULE_PATH, 'ServiceAutomationFamilyController.saveEligibilityRule', 'EligibilityRuleInput'),
2118
2124
  generateAdapter('get', CONNECT_BASE_URI, SA_SERVICE_PROCESS_GET_ALL_TEMPLATES_PATH, 'ServiceAutomationFamilyController.getAllServiceProcessTemplate'),
2119
2125
  generateAdapter('get', CONNECT_BASE_URI, SA_SERVICE_PROCESS_TEMPLATE_DOWNLOAD_PATH, 'ServiceAutomationFamilyController.downloadServiceProcessTemplate'),
2120
2126
  generateAdapter('get', CONNECT_BASE_URI, SA_CATALOG_ITEM_BY_ID_PATH, 'ServiceAutomationFamilyController.getCatalogItem'),
2121
2127
  generateAdapter('patch', CONNECT_BASE_URI, SA_CATALOG_ITEM_BY_ID_PATH, 'ServiceAutomationFamilyController.updateCatalogItem', 'catalogItemUpdateInput'),
2122
2128
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
2123
- generateAdapter('post', CONNECT_BASE_URI, SA_TEMPLATE_DEPLOYMENT_PATH, 'ServiceAutomationFamilyController.deployTemplate'),
2129
+ generateAdapter('post', CONNECT_BASE_URI, SA_TEMPLATE_DEPLOYMENT_PATH, 'ServiceAutomationFamilyController.deployTemplate', 'TemplateDeploymentInput'),
2124
2130
  generateAdapter('get', GROUP_BASE_URI, GET_ALL_RELATED_ENTITY_PATH, 'GroupFamilyController.getAllRelatedEntity'),
2125
2131
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
2126
2132
  generateAdapter('post', GROUP_BASE_URI, CREATE_GROUP_PATH, 'GroupFamilyController.createHousehold'),
@@ -3064,6 +3070,7 @@ const cpq = [
3064
3070
  generateAdapter('delete', CPQ_BASE_URI, CPQ_DELETE_CART_ITEM, 'ICpqConnectFeatureController.deleteCartItem'),
3065
3071
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3066
3072
  generateAdapter('patch', CPQ_BASE_URI, CPQ_PRICE_CART, 'ICpqConnectFeatureController.priceCart'),
3073
+ generateAdapter('post', REVENUE_BASE_URI, REVENUE_PRODUCT_CONFIGURATOR_RULES, 'ICpqConnectFeatureController.postConfigRules', 'requestBody'),
3067
3074
  ];
3068
3075
  const stageManagement = [
3069
3076
  generateAdapter('get', STAGE_MANAGEMENT_BASE_URI, STAGE_MGMT_KANBAN_VIEW_PATH, 'IStageMgmtFamilyController.getStageDetails'),
@@ -3663,6 +3670,8 @@ const businessUnitConnect = [
3663
3670
  generateAdapter('get', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_ASSOCIATED_RECORDS_PATH, 'BusinessUnitController.getBusinessUnitForRecord'),
3664
3671
  generateAdapter('get', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_PATH, 'BusinessUnitController.getBusinessUnitInfo'),
3665
3672
  generateAdapter('patch', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_PATH, 'BusinessUnitController.patchBusinessUnitInfo', 'data'),
3673
+ generateAdapter('get', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_CHANNELS_PATH, 'BusinessUnitController.getBusinessUnitChannels'),
3674
+ generateAdapter('post', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_CHANNELS_BULK_PATH, 'BusinessUnitController.businessUnitChannelBulkOperation', 'businessUnitChannelBulkOperationInput'),
3666
3675
  generateAdapter('get', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_COLLECTION_PATH, 'BusinessUnitController.getBusinessUnits'),
3667
3676
  generateAdapter('post', BUSINESS_UNITS_BASE_URI, BUSINESS_UNIT_COLLECTION_PATH, 'BusinessUnitController.createBusinessUnit', 'data'),
3668
3677
  ];
@@ -5790,4 +5799,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5790
5799
  var main = platformNetworkAdapter(auraNetworkAdapter);
5791
5800
 
5792
5801
  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 };
5793
- // version: 1.389.1-55a7286110
5802
+ // version: 1.390.0-40592e6d97
@@ -55,6 +55,7 @@ export declare const FORMULA_BASE_URI: string;
55
55
  export declare const DEV_WORKSPACE_BASE_URI: string;
56
56
  export declare const EDUCATION_BASE_URI: string;
57
57
  export declare const CPQ_BASE_URI: string;
58
+ export declare const REVENUE_BASE_URI: string;
58
59
  export declare const LIGHTNING_CARDS_BASE_URI: string;
59
60
  export declare const FUNDRAISING_BASE_URI: string;
60
61
  export declare const CDP_BASE_URI: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.389.1",
3
+ "version": "1.390.0",
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.158.7"
38
38
  },
39
39
  "devDependencies": {
40
- "@salesforce/lds-adapters-uiapi": "^1.389.1",
41
- "@salesforce/lds-aura-storage": "^1.389.1",
42
- "@salesforce/lds-environment-settings": "^1.389.1",
43
- "@salesforce/lds-instrumentation": "^1.389.1",
44
- "@salesforce/lds-network-adapter": "^1.389.1"
40
+ "@salesforce/lds-adapters-uiapi": "^1.390.0",
41
+ "@salesforce/lds-aura-storage": "^1.390.0",
42
+ "@salesforce/lds-environment-settings": "^1.390.0",
43
+ "@salesforce/lds-instrumentation": "^1.390.0",
44
+ "@salesforce/lds-network-adapter": "^1.390.0"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"