@salesforce/lds-adapters-industries-rule-builder 1.247.0 → 1.249.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.
@@ -1569,12 +1569,19 @@ const getExplainabilityLogsAdapterFactory = (luvio) => function interaction__get
1569
1569
  };
1570
1570
 
1571
1571
  const TTL$f = 1000;
1572
- const VERSION$j = "09e3f9c772ddaa5f22206be0a82ec33c";
1572
+ const VERSION$j = "7943e83a414f8b57d95d3b526aa7539f";
1573
1573
  function validate$$(obj, path = 'MessageTemplateDetailOutputRepresentation') {
1574
1574
  const v_error = (() => {
1575
1575
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1576
1576
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1577
1577
  }
1578
+ if (obj.emtUsageType !== undefined) {
1579
+ const obj_emtUsageType = obj.emtUsageType;
1580
+ const path_emtUsageType = path + '.emtUsageType';
1581
+ if (typeof obj_emtUsageType !== 'string') {
1582
+ return new TypeError('Expected "string" but received "' + typeof obj_emtUsageType + '" (at "' + path_emtUsageType + '")');
1583
+ }
1584
+ }
1578
1585
  const obj_expressionSetStepType = obj.expressionSetStepType;
1579
1586
  const path_expressionSetStepType = path + '.expressionSetStepType';
1580
1587
  if (typeof obj_expressionSetStepType !== 'string') {
@@ -1740,7 +1747,7 @@ function select$C(luvio, params) {
1740
1747
  return select$D();
1741
1748
  }
1742
1749
  function keyBuilder$z(luvio, params) {
1743
- return keyPrefix + '::MessageTemplatesListOutputRepresentation:(' + 'isDefault:' + params.queryParams.isDefault + ',' + 'messageType:' + params.queryParams.messageType + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'stepType:' + params.queryParams.stepType + ')';
1750
+ return keyPrefix + '::MessageTemplatesListOutputRepresentation:(' + 'isDefault:' + params.queryParams.isDefault + ',' + 'messageType:' + params.queryParams.messageType + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'stepType:' + params.queryParams.stepType + ',' + 'usageType:' + params.queryParams.usageType + ')';
1744
1751
  }
1745
1752
  function getResponseCacheKeys$k(storeKeyMap, luvio, resourceParams, response) {
1746
1753
  getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
@@ -1794,6 +1801,7 @@ const searchMessageTemplates_ConfigPropertyMetadata = [
1794
1801
  generateParamConfigMetadata('messageType', false, 1 /* QueryParameter */, 0 /* String */),
1795
1802
  generateParamConfigMetadata('searchKey', false, 1 /* QueryParameter */, 0 /* String */),
1796
1803
  generateParamConfigMetadata('stepType', false, 1 /* QueryParameter */, 0 /* String */),
1804
+ generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */),
1797
1805
  ];
1798
1806
  const searchMessageTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, searchMessageTemplates_ConfigPropertyMetadata);
1799
1807
  const createResourceParams$k = /*#__PURE__*/ createResourceParams$q(searchMessageTemplates_ConfigPropertyMetadata);
@@ -10,6 +10,7 @@ export interface SearchMessageTemplatesConfig {
10
10
  messageType?: string;
11
11
  searchKey?: string;
12
12
  stepType?: string;
13
+ usageType?: string;
13
14
  }
14
15
  export declare const createResourceParams: (config: SearchMessageTemplatesConfig) => resources_getConnectBusinessRulesExplainabilityMessageTemplates_ResourceRequestConfig;
15
16
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: SearchMessageTemplatesConfig): string;
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
6
6
  messageType?: string;
7
7
  searchKey?: string;
8
8
  stepType?: string;
9
+ usageType?: string;
9
10
  };
10
11
  }
11
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,6 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  export declare const TTL = 1000;
3
- export declare const VERSION = "09e3f9c772ddaa5f22206be0a82ec33c";
3
+ export declare const VERSION = "7943e83a414f8b57d95d3b526aa7539f";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: MessageTemplateDetailOutputRepresentation, existing: MessageTemplateDetailOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MessageTemplateDetailOutputRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface MessageTemplateDetailOutputRepresentationNormalized {
18
+ /** MessageTemplate EmtUsageType */
19
+ emtUsageType?: string;
18
20
  /** MessageTemplate ExpressionSetStepType */
19
21
  expressionSetStepType: string;
20
22
  /** MessageTemplate Id */
@@ -35,6 +37,7 @@ export interface MessageTemplateDetailOutputRepresentationNormalized {
35
37
  * (none)
36
38
  */
37
39
  export interface MessageTemplateDetailOutputRepresentation {
40
+ emtUsageType?: string;
38
41
  expressionSetStepType: string;
39
42
  id: string;
40
43
  isDefault: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.247.0",
3
+ "version": "1.249.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "This is part of industries interactions and have files for rule builders",
6
6
  "main": "dist/es/es2018/industries-rule-builder.js",
package/sfdc/index.js CHANGED
@@ -4821,12 +4821,19 @@ const getLookupTablesAdapterFactory = (luvio) => function interaction__getLookup
4821
4821
  };
4822
4822
 
4823
4823
  const TTL$8 = 1000;
4824
- const VERSION$9 = "09e3f9c772ddaa5f22206be0a82ec33c";
4824
+ const VERSION$9 = "7943e83a414f8b57d95d3b526aa7539f";
4825
4825
  function validate$B(obj, path = 'MessageTemplateDetailOutputRepresentation') {
4826
4826
  const v_error = (() => {
4827
4827
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4828
4828
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4829
4829
  }
4830
+ if (obj.emtUsageType !== undefined) {
4831
+ const obj_emtUsageType = obj.emtUsageType;
4832
+ const path_emtUsageType = path + '.emtUsageType';
4833
+ if (typeof obj_emtUsageType !== 'string') {
4834
+ return new TypeError('Expected "string" but received "' + typeof obj_emtUsageType + '" (at "' + path_emtUsageType + '")');
4835
+ }
4836
+ }
4830
4837
  const obj_expressionSetStepType = obj.expressionSetStepType;
4831
4838
  const path_expressionSetStepType = path + '.expressionSetStepType';
4832
4839
  if (typeof obj_expressionSetStepType !== 'string') {
@@ -8063,7 +8070,7 @@ function select$3(luvio, params) {
8063
8070
  return select$4();
8064
8071
  }
8065
8072
  function keyBuilder$1(luvio, params) {
8066
- return keyPrefix + '::MessageTemplatesListOutputRepresentation:(' + 'isDefault:' + params.queryParams.isDefault + ',' + 'messageType:' + params.queryParams.messageType + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'stepType:' + params.queryParams.stepType + ')';
8073
+ return keyPrefix + '::MessageTemplatesListOutputRepresentation:(' + 'isDefault:' + params.queryParams.isDefault + ',' + 'messageType:' + params.queryParams.messageType + ',' + 'searchKey:' + params.queryParams.searchKey + ',' + 'stepType:' + params.queryParams.stepType + ',' + 'usageType:' + params.queryParams.usageType + ')';
8067
8074
  }
8068
8075
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
8069
8076
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -8117,6 +8124,7 @@ const searchMessageTemplates_ConfigPropertyMetadata = [
8117
8124
  generateParamConfigMetadata('messageType', false, 1 /* QueryParameter */, 0 /* String */),
8118
8125
  generateParamConfigMetadata('searchKey', false, 1 /* QueryParameter */, 0 /* String */),
8119
8126
  generateParamConfigMetadata('stepType', false, 1 /* QueryParameter */, 0 /* String */),
8127
+ generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */),
8120
8128
  ];
8121
8129
  const searchMessageTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, searchMessageTemplates_ConfigPropertyMetadata);
8122
8130
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$q(searchMessageTemplates_ConfigPropertyMetadata);
@@ -8787,4 +8795,4 @@ withDefaultLuvio((luvio) => {
8787
8795
  });
8788
8796
 
8789
8797
  export { activateCalcProcedureVersion, createExpressionSet, createObjectAlias, deleteExpressionSet, getBusinessKnowledgeModel, getBusinessKnowledgeModel_imperative, getCalcProcDetails, getCalcProcDetails_imperative, getCalcProcVersionDetails, getCalcProcVersionDetailsNotifyChange, getCalcProcVersionDetails_imperative, getDecisionMatrixDetails, getDecisionMatrixDetailsNotifyChange, getDecisionMatrixDetails_imperative, getDecisionTableDetails, getDecisionTableDetails_imperative, getExplainabilityLogs, getExplainabilityLogs_imperative, getExpressionSet, getExpressionSetAliasMetaInfo, getExpressionSetAliasMetaInfo_imperative, getExpressionSetNotifyChange, getExpressionSet_imperative, getLookupTables, getLookupTables_imperative, getMessageTemplateDetail, getMessageTemplateDetail_imperative, getProcessType, getProcessType_imperative, getSimulationInputVariables, getSimulationInputVariables_imperative, getUsageTypes, getUsageTypes_imperative, postCalcProcVersionDetails, postInvokeExpressionSet, searchCalculationProcedure, searchCalculationProcedure_imperative, searchDecisionMatrixByName, searchDecisionMatrixByName_imperative, searchDecisionTableByName, searchDecisionTableByName_imperative, searchMessageTemplates, searchMessageTemplates_imperative, simulateEvaluationService, updateAliasField, updateExpressionSet };
8790
- // version: 1.247.0-418b3895b
8798
+ // version: 1.249.0-15efc7f9b
package/src/raml/api.raml CHANGED
@@ -780,6 +780,10 @@ types:
780
780
  description: Output representation of ExplMessageTemplateDetails
781
781
  type: object
782
782
  properties:
783
+ emtUsageType:
784
+ description: MessageTemplate EmtUsageType
785
+ type: string
786
+ required: false
783
787
  expressionSetStepType:
784
788
  description: MessageTemplate ExpressionSetStepType
785
789
  type: string
@@ -2356,6 +2360,9 @@ types:
2356
2360
  stepType:
2357
2361
  type: string
2358
2362
  required: false
2363
+ usageType:
2364
+ type: string
2365
+ required: false
2359
2366
  /explainability/message-templates/{messageTemplateId}:
2360
2367
  get:
2361
2368
  description: Method to get Message Template detail for given ID