@salesforce/lds-network-aura 1.275.0 → 1.276.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.
@@ -89,6 +89,7 @@ const CONTENT_TAXONOMY_BASE_URI = `${CONNECT_BASE_URI}/content-taxonomy`;
89
89
  const ENERGY_UTILITIES_PROGRAMS_BASE_URI = `${CONNECT_BASE_URI}/eu-program`;
90
90
  const COMMERCE_GOALS_RECS_BASE_URI = `${CONNECT_BASE_URI}/merchant-goals`;
91
91
  const COMMERCE_GOALS_RECS_BUSINESS_OBJECTIVES_URI = `${COMMERCE_GOALS_RECS_BASE_URI}/business-objectives`;
92
+ const COMMERCE_CATALOG_MANAGEMENT_BASE_URI = `${COMMERCE_BASE_URI}/management/webstore`;
92
93
 
93
94
  function getStatusText(status) {
94
95
  switch (status) {
@@ -1015,6 +1016,8 @@ const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-ag
1015
1016
  const SALES_AGREEMENT_UPDATE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/product`, 'i');
1016
1017
  const COMMERCE_STORE_MANAGEMENT_CONFIGURE_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/configureProductPricing`, 'i');
1017
1018
  const COMMERCE_STORE_MANAGEMENT_GET_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/getProductPricing`, 'i');
1019
+ const COMMERCE_CATALOG_MANAGEMENT_COMPOSITE_PRODUCT_CREATE_PATH = new RegExp(`${COMMERCE_CATALOG_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/composite-products`, 'i');
1020
+ const COMMERCE_CATALOG_MANAGEMENT_COMPOSITE_PRODUCT_UPDATE_PATH = new RegExp(`${COMMERCE_CATALOG_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/composite-products/([A-Z0-9]){15,18}`, 'i');
1018
1021
  const COMMERCE_CHANNEL_PATCH = new RegExp(`${COMMERCE_CHANNEL_MANAGEMENT_BASE_URI}/0ZE[A-Za-z0-9]{15}`, 'i');
1019
1022
  const REMINDER_PATH = new RegExp(`${REMINDER_BASE_URI}`, 'i');
1020
1023
  const PATHASSISTANT_GET_PATH = new RegExp(`${PATHASSISTANT_BASE_URI}/([A-Z0-9]){15,18}$`, 'i');
@@ -1883,6 +1886,10 @@ const commerceStoreManagement = [
1883
1886
  generateAdapter('post', COMMERCE_STORE_MANAGEMENT_BASE_URI, COMMERCE_STORE_MANAGEMENT_CONFIGURE_PRODUCT_PRICING_PATH, 'ICommerceStoreManagementController.configureProductPricing'),
1884
1887
  generateAdapter('get', COMMERCE_STORE_MANAGEMENT_BASE_URI, COMMERCE_STORE_MANAGEMENT_GET_PRODUCT_PRICING_PATH, 'ICommerceStoreManagementController.getProductPricing'),
1885
1888
  ];
1889
+ const commerceCatalogManagement = [
1890
+ generateAdapter('post', COMMERCE_CATALOG_MANAGEMENT_BASE_URI, COMMERCE_CATALOG_MANAGEMENT_COMPOSITE_PRODUCT_CREATE_PATH, 'CommerceCatalogManagementController.compositeCommerceProductCreate', 'compositeCommerceProductInputRepresentation'),
1891
+ generateAdapter('put', COMMERCE_CATALOG_MANAGEMENT_BASE_URI, COMMERCE_CATALOG_MANAGEMENT_COMPOSITE_PRODUCT_UPDATE_PATH, 'CommerceCatalogManagementController.compositeCommerceProductUpdate', 'compositeCommerceProductInputRepresentation'),
1892
+ ];
1886
1893
  const commerceChannelsManagement = [
1887
1894
  generateAdapter('get', COMMERCE_BASE_URI, GET_MANAGEMENT_CHANNELS_PATH, 'ICommerceChannelManagementController.getChannels'),
1888
1895
  generateAdapter('patch', COMMERCE_CHANNEL_MANAGEMENT_BASE_URI, COMMERCE_CHANNEL_PATCH, 'ICommerceChannelManagementController.updateChannel'),
@@ -1999,6 +2006,7 @@ registerApiFamilyRoutes(instantPricing);
1999
2006
  registerApiFamilyRoutes(einstein);
2000
2007
  registerApiFamilyRoutes(nextGenSalesAgreementPrice);
2001
2008
  registerApiFamilyRoutes(commerceStoreManagement);
2009
+ registerApiFamilyRoutes(commerceCatalogManagement);
2002
2010
  registerApiFamilyRoutes(serviceCatalogCategory);
2003
2011
  registerApiFamilyRoutes(reminder);
2004
2012
  registerApiFamilyRoutes(pathassistant);
@@ -3810,4 +3818,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
3810
3818
  var main = platformNetworkAdapter(auraNetworkAdapter);
3811
3819
 
3812
3820
  export { main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
3813
- // version: 1.275.0-c8b3e2f72
3821
+ // version: 1.276.0-dcebc4076
@@ -68,3 +68,4 @@ export declare const CONTENT_TAXONOMY_BASE_URI: string;
68
68
  export declare const ENERGY_UTILITIES_PROGRAMS_BASE_URI: string;
69
69
  export declare const COMMERCE_GOALS_RECS_BASE_URI: string;
70
70
  export declare const COMMERCE_GOALS_RECS_BUSINESS_OBJECTIVES_URI: string;
71
+ export declare const COMMERCE_CATALOG_MANAGEMENT_BASE_URI: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.275.0",
3
+ "version": "1.276.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,14 +34,14 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-network-aura"
35
35
  },
36
36
  "dependencies": {
37
- "@luvio/engine": "0.154.11"
37
+ "@luvio/engine": "0.154.12"
38
38
  },
39
39
  "devDependencies": {
40
- "@salesforce/lds-adapters-uiapi": "^1.275.0",
41
- "@salesforce/lds-aura-storage": "^1.275.0",
42
- "@salesforce/lds-environment-settings": "^1.275.0",
43
- "@salesforce/lds-instrumentation": "^1.275.0",
44
- "@salesforce/lds-network-adapter": "^1.275.0"
40
+ "@salesforce/lds-adapters-uiapi": "^1.276.0",
41
+ "@salesforce/lds-aura-storage": "^1.276.0",
42
+ "@salesforce/lds-environment-settings": "^1.276.0",
43
+ "@salesforce/lds-instrumentation": "^1.276.0",
44
+ "@salesforce/lds-network-adapter": "^1.276.0"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"