@salesforce/lds-adapters-industries-rule-builder 1.218.0 → 1.220.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.
@@ -2706,12 +2706,19 @@ const postInvokeExpressionSetAdapterFactory = (luvio) => {
2706
2706
  };
2707
2707
  };
2708
2708
 
2709
- const VERSION$f = "193518feb63f612b21dccfb389d45d77";
2709
+ const VERSION$f = "c4211e2d0d50519f1fe9ea1566c13ac1";
2710
2710
  function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
2711
2711
  const v_error = (() => {
2712
2712
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2713
2713
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2714
2714
  }
2715
+ if (obj.apiName !== undefined) {
2716
+ const obj_apiName = obj.apiName;
2717
+ const path_apiName = path + '.apiName';
2718
+ if (typeof obj_apiName !== 'string') {
2719
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2720
+ }
2721
+ }
2715
2722
  if (obj.description !== undefined) {
2716
2723
  const obj_description = obj.description;
2717
2724
  const path_description = path + '.description';
@@ -2719,6 +2726,13 @@ function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
2719
2726
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2720
2727
  }
2721
2728
  }
2729
+ if (obj.hasMultiHitPolicy !== undefined) {
2730
+ const obj_hasMultiHitPolicy = obj.hasMultiHitPolicy;
2731
+ const path_hasMultiHitPolicy = path + '.hasMultiHitPolicy';
2732
+ if (typeof obj_hasMultiHitPolicy !== 'boolean') {
2733
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasMultiHitPolicy + '" (at "' + path_hasMultiHitPolicy + '")');
2734
+ }
2735
+ }
2722
2736
  if (obj.id !== undefined) {
2723
2737
  const obj_id = obj.id;
2724
2738
  const path_id = path + '.id';
@@ -2756,11 +2770,21 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
2756
2770
  version: VERSION$f,
2757
2771
  private: [],
2758
2772
  selections: [
2773
+ {
2774
+ name: 'apiName',
2775
+ kind: 'Scalar',
2776
+ required: false
2777
+ },
2759
2778
  {
2760
2779
  name: 'description',
2761
2780
  kind: 'Scalar',
2762
2781
  required: false
2763
2782
  },
2783
+ {
2784
+ name: 'hasMultiHitPolicy',
2785
+ kind: 'Scalar',
2786
+ required: false
2787
+ },
2764
2788
  {
2765
2789
  name: 'id',
2766
2790
  kind: 'Scalar',
@@ -2785,6 +2809,32 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
2785
2809
  };
2786
2810
  };
2787
2811
  function equals$f(existing, incoming) {
2812
+ const existing_hasMultiHitPolicy = existing.hasMultiHitPolicy;
2813
+ const incoming_hasMultiHitPolicy = incoming.hasMultiHitPolicy;
2814
+ // if at least one of these optionals is defined
2815
+ if (existing_hasMultiHitPolicy !== undefined || incoming_hasMultiHitPolicy !== undefined) {
2816
+ // if one of these is not defined we know the other is defined and therefore
2817
+ // not equal
2818
+ if (existing_hasMultiHitPolicy === undefined || incoming_hasMultiHitPolicy === undefined) {
2819
+ return false;
2820
+ }
2821
+ if (!(existing_hasMultiHitPolicy === incoming_hasMultiHitPolicy)) {
2822
+ return false;
2823
+ }
2824
+ }
2825
+ const existing_apiName = existing.apiName;
2826
+ const incoming_apiName = incoming.apiName;
2827
+ // if at least one of these optionals is defined
2828
+ if (existing_apiName !== undefined || incoming_apiName !== undefined) {
2829
+ // if one of these is not defined we know the other is defined and therefore
2830
+ // not equal
2831
+ if (existing_apiName === undefined || incoming_apiName === undefined) {
2832
+ return false;
2833
+ }
2834
+ if (!(existing_apiName === incoming_apiName)) {
2835
+ return false;
2836
+ }
2837
+ }
2788
2838
  const existing_description = existing.description;
2789
2839
  const incoming_description = incoming.description;
2790
2840
  // if at least one of these optionals is defined
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "193518feb63f612b21dccfb389d45d77";
2
+ export declare const VERSION = "c4211e2d0d50519f1fe9ea1566c13ac1";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: LookupTableDetailsRepresentation, existing: LookupTableDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LookupTableDetailsRepresentationNormalized;
@@ -14,8 +14,12 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface LookupTableDetailsRepresentationNormalized {
17
+ /** LookupTableDetails api API Name */
18
+ apiName?: string;
17
19
  /** LookupTableDetails api Lookup Table description */
18
20
  description?: string;
21
+ /** LookupTableDetails api Multi Hit Policy */
22
+ hasMultiHitPolicy?: boolean;
19
23
  /** LookupTableDetails api Lookup Table id */
20
24
  id?: string;
21
25
  /** LookupTableDetails api Lookup Table Definition Id */
@@ -32,7 +36,9 @@ export interface LookupTableDetailsRepresentationNormalized {
32
36
  * (none)
33
37
  */
34
38
  export interface LookupTableDetailsRepresentation {
39
+ apiName?: string;
35
40
  description?: string;
41
+ hasMultiHitPolicy?: boolean;
36
42
  id?: string;
37
43
  lookupTableDefinitionId?: string;
38
44
  lookupTableType?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.218.0",
3
+ "version": "1.220.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
@@ -4346,12 +4346,19 @@ const getExpressionSetAliasMetaInfoAdapterFactory = (luvio) => function interact
4346
4346
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4347
4347
  };
4348
4348
 
4349
- const VERSION$b = "193518feb63f612b21dccfb389d45d77";
4349
+ const VERSION$b = "c4211e2d0d50519f1fe9ea1566c13ac1";
4350
4350
  function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
4351
4351
  const v_error = (() => {
4352
4352
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4353
4353
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4354
4354
  }
4355
+ if (obj.apiName !== undefined) {
4356
+ const obj_apiName = obj.apiName;
4357
+ const path_apiName = path + '.apiName';
4358
+ if (typeof obj_apiName !== 'string') {
4359
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
4360
+ }
4361
+ }
4355
4362
  if (obj.description !== undefined) {
4356
4363
  const obj_description = obj.description;
4357
4364
  const path_description = path + '.description';
@@ -4359,6 +4366,13 @@ function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
4359
4366
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4360
4367
  }
4361
4368
  }
4369
+ if (obj.hasMultiHitPolicy !== undefined) {
4370
+ const obj_hasMultiHitPolicy = obj.hasMultiHitPolicy;
4371
+ const path_hasMultiHitPolicy = path + '.hasMultiHitPolicy';
4372
+ if (typeof obj_hasMultiHitPolicy !== 'boolean') {
4373
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasMultiHitPolicy + '" (at "' + path_hasMultiHitPolicy + '")');
4374
+ }
4375
+ }
4362
4376
  if (obj.id !== undefined) {
4363
4377
  const obj_id = obj.id;
4364
4378
  const path_id = path + '.id';
@@ -4396,11 +4410,21 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
4396
4410
  version: VERSION$b,
4397
4411
  private: [],
4398
4412
  selections: [
4413
+ {
4414
+ name: 'apiName',
4415
+ kind: 'Scalar',
4416
+ required: false
4417
+ },
4399
4418
  {
4400
4419
  name: 'description',
4401
4420
  kind: 'Scalar',
4402
4421
  required: false
4403
4422
  },
4423
+ {
4424
+ name: 'hasMultiHitPolicy',
4425
+ kind: 'Scalar',
4426
+ required: false
4427
+ },
4404
4428
  {
4405
4429
  name: 'id',
4406
4430
  kind: 'Scalar',
@@ -4425,6 +4449,32 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
4425
4449
  };
4426
4450
  };
4427
4451
  function equals$b(existing, incoming) {
4452
+ const existing_hasMultiHitPolicy = existing.hasMultiHitPolicy;
4453
+ const incoming_hasMultiHitPolicy = incoming.hasMultiHitPolicy;
4454
+ // if at least one of these optionals is defined
4455
+ if (existing_hasMultiHitPolicy !== undefined || incoming_hasMultiHitPolicy !== undefined) {
4456
+ // if one of these is not defined we know the other is defined and therefore
4457
+ // not equal
4458
+ if (existing_hasMultiHitPolicy === undefined || incoming_hasMultiHitPolicy === undefined) {
4459
+ return false;
4460
+ }
4461
+ if (!(existing_hasMultiHitPolicy === incoming_hasMultiHitPolicy)) {
4462
+ return false;
4463
+ }
4464
+ }
4465
+ const existing_apiName = existing.apiName;
4466
+ const incoming_apiName = incoming.apiName;
4467
+ // if at least one of these optionals is defined
4468
+ if (existing_apiName !== undefined || incoming_apiName !== undefined) {
4469
+ // if one of these is not defined we know the other is defined and therefore
4470
+ // not equal
4471
+ if (existing_apiName === undefined || incoming_apiName === undefined) {
4472
+ return false;
4473
+ }
4474
+ if (!(existing_apiName === incoming_apiName)) {
4475
+ return false;
4476
+ }
4477
+ }
4428
4478
  const existing_description = existing.description;
4429
4479
  const incoming_description = incoming.description;
4430
4480
  // if at least one of these optionals is defined
@@ -8733,4 +8783,4 @@ withDefaultLuvio((luvio) => {
8733
8783
  });
8734
8784
 
8735
8785
  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 };
8736
- // version: 1.218.0-e350c47e9
8786
+ // version: 1.220.0-8c2aedc85
package/src/raml/api.raml CHANGED
@@ -250,6 +250,14 @@ types:
250
250
  description: LookupTableDetails api Lookup Table name
251
251
  type: string
252
252
  required: false
253
+ hasMultiHitPolicy:
254
+ description: LookupTableDetails api Multi Hit Policy
255
+ type: boolean
256
+ required: false
257
+ apiName:
258
+ description: LookupTableDetails api API Name
259
+ type: string
260
+ required: false
253
261
  LookupTablesResultListRepresentation:
254
262
  description: Output representation of Lookup Tables Details
255
263
  type: object