@salesforce/lds-adapters-industries-epc 1.389.2 → 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.
@@ -4576,7 +4576,7 @@ function select$6(luvio, params) {
4576
4576
  return select$7();
4577
4577
  }
4578
4578
  function keyBuilder$6(luvio, params) {
4579
- return keyPrefix + '::ProductsOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'productId:' + params.urlParams.productId + ')';
4579
+ return keyPrefix + '::ProductsOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'catalogSystems:' + params.queryParams.catalogSystems + ',' + 'productId:' + params.urlParams.productId + ')';
4580
4580
  }
4581
4581
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
4582
4582
  getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
@@ -4622,6 +4622,7 @@ const adapterName$3 = 'getProductById';
4622
4622
  const getProductById_ConfigPropertyMetadata = [
4623
4623
  generateParamConfigMetadata('productId', true, 0 /* UrlParameter */, 0 /* String */),
4624
4624
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
4625
+ generateParamConfigMetadata('catalogSystems', false, 1 /* QueryParameter */, 0 /* String */, true),
4625
4626
  ];
4626
4627
  const getProductById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProductById_ConfigPropertyMetadata);
4627
4628
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(getProductById_ConfigPropertyMetadata);
@@ -8,6 +8,7 @@ export declare const getProductById_ConfigPropertyNames: adapter$45$utils_Adapte
8
8
  export interface GetProductByIdConfig {
9
9
  productId: string;
10
10
  correlationId?: string;
11
+ catalogSystems?: Array<string>;
11
12
  }
12
13
  export declare const createResourceParams: (config: GetProductByIdConfig) => resources_getConnectPcmProductsByProductId_ResourceRequestConfig;
13
14
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig): string;
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
6
6
  };
7
7
  queryParams: {
8
8
  correlationId?: string;
9
+ catalogSystems?: Array<string>;
9
10
  };
10
11
  }
11
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-epc",
3
- "version": "1.389.2",
3
+ "version": "1.390.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "APIs for EPCNext project",
6
6
  "main": "dist/es/es2018/industries-epc.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest --config=./jest.config.js"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.389.2"
47
+ "@salesforce/lds-bindings": "^1.390.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.389.2",
51
- "@salesforce/lds-karma": "^1.389.2"
50
+ "@salesforce/lds-compiler-plugins": "^1.390.0",
51
+ "@salesforce/lds-karma": "^1.390.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -4373,7 +4373,7 @@ function select$a(luvio, params) {
4373
4373
  return select$b();
4374
4374
  }
4375
4375
  function keyBuilder$8(luvio, params) {
4376
- return keyPrefix + '::ProductsOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'productId:' + params.urlParams.productId + ')';
4376
+ return keyPrefix + '::ProductsOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'catalogSystems:' + params.queryParams.catalogSystems + ',' + 'productId:' + params.urlParams.productId + ')';
4377
4377
  }
4378
4378
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
4379
4379
  getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
@@ -4419,6 +4419,7 @@ const adapterName$5 = 'getProductById';
4419
4419
  const getProductById_ConfigPropertyMetadata = [
4420
4420
  generateParamConfigMetadata('productId', true, 0 /* UrlParameter */, 0 /* String */),
4421
4421
  generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
4422
+ generateParamConfigMetadata('catalogSystems', false, 1 /* QueryParameter */, 0 /* String */, true),
4422
4423
  ];
4423
4424
  const getProductById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getProductById_ConfigPropertyMetadata);
4424
4425
  const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(getProductById_ConfigPropertyMetadata);
@@ -5796,4 +5797,4 @@ withDefaultLuvio((luvio) => {
5796
5797
  });
5797
5798
 
5798
5799
  export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexError, getIndexError_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, pcmCatalogUpdate, updateIndexConfigurations };
5799
- // version: 1.389.2-af644fb949
5800
+ // version: 1.390.0-f59f485c2e
package/src/raml/api.raml CHANGED
@@ -1664,6 +1664,12 @@ types:
1664
1664
  correlationId:
1665
1665
  type: string
1666
1666
  required: false
1667
+ catalogSystems:
1668
+ type: array
1669
+ required: false
1670
+ items:
1671
+ type: string
1672
+ (oas-collectionFormat): csv
1667
1673
  /configurationRule/context-definition/{contextDefinitionId}:
1668
1674
  get:
1669
1675
  displayName: getContextDefinition