@salesforce/lds-adapters-industries-rule-builder 1.302.0 → 1.304.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.
@@ -2290,20 +2290,26 @@ function validate$R(obj, path = 'SimulationStepAdditionalInfoOutputRepresentatio
2290
2290
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2291
2291
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2292
2292
  }
2293
- const obj_stepType = obj.stepType;
2294
- const path_stepType = path + '.stepType';
2295
- if (typeof obj_stepType !== 'string') {
2296
- return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
2293
+ if (obj.stepType !== undefined) {
2294
+ const obj_stepType = obj.stepType;
2295
+ const path_stepType = path + '.stepType';
2296
+ if (typeof obj_stepType !== 'string') {
2297
+ return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
2298
+ }
2297
2299
  }
2298
- const obj_versionName = obj.versionName;
2299
- const path_versionName = path + '.versionName';
2300
- if (typeof obj_versionName !== 'string') {
2301
- return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
2300
+ if (obj.versionName !== undefined) {
2301
+ const obj_versionName = obj.versionName;
2302
+ const path_versionName = path + '.versionName';
2303
+ if (typeof obj_versionName !== 'string') {
2304
+ return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
2305
+ }
2302
2306
  }
2303
- const obj_versionNumber = obj.versionNumber;
2304
- const path_versionNumber = path + '.versionNumber';
2305
- if (typeof obj_versionNumber !== 'string') {
2306
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2307
+ if (obj.versionNumber !== undefined) {
2308
+ const obj_versionNumber = obj.versionNumber;
2309
+ const path_versionNumber = path + '.versionNumber';
2310
+ if (typeof obj_versionNumber !== 'string') {
2311
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2312
+ }
2307
2313
  }
2308
2314
  })();
2309
2315
  return v_error === undefined ? null : v_error;
@@ -2734,7 +2740,7 @@ const postInvokeExpressionSetAdapterFactory = (luvio) => {
2734
2740
  };
2735
2741
  };
2736
2742
 
2737
- const VERSION$f = "4a9a49294d8382d87bce948e659b67eb";
2743
+ const VERSION$f = "75f078ad7657eb654aef898c8c851153";
2738
2744
  function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
2739
2745
  const v_error = (() => {
2740
2746
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2747,6 +2753,13 @@ function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
2747
2753
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2748
2754
  }
2749
2755
  }
2756
+ if (obj.createdDate !== undefined) {
2757
+ const obj_createdDate = obj.createdDate;
2758
+ const path_createdDate = path + '.createdDate';
2759
+ if (typeof obj_createdDate !== 'string') {
2760
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
2761
+ }
2762
+ }
2750
2763
  if (obj.description !== undefined) {
2751
2764
  const obj_description = obj.description;
2752
2765
  const path_description = path + '.description';
@@ -2782,6 +2795,13 @@ function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
2782
2795
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
2783
2796
  }
2784
2797
  }
2798
+ if (obj.usageType !== undefined) {
2799
+ const obj_usageType = obj.usageType;
2800
+ const path_usageType = path + '.usageType';
2801
+ if (typeof obj_usageType !== 'string') {
2802
+ return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
2803
+ }
2804
+ }
2785
2805
  })();
2786
2806
  return v_error === undefined ? null : v_error;
2787
2807
  }
@@ -2796,6 +2816,11 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
2796
2816
  kind: 'Scalar',
2797
2817
  required: false
2798
2818
  },
2819
+ {
2820
+ name: 'createdDate',
2821
+ kind: 'Scalar',
2822
+ required: false
2823
+ },
2799
2824
  {
2800
2825
  name: 'description',
2801
2826
  kind: 'Scalar',
@@ -2820,6 +2845,11 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
2820
2845
  name: 'name',
2821
2846
  kind: 'Scalar',
2822
2847
  required: false
2848
+ },
2849
+ {
2850
+ name: 'usageType',
2851
+ kind: 'Scalar',
2852
+ required: false
2823
2853
  }
2824
2854
  ]
2825
2855
  };
@@ -2838,6 +2868,19 @@ function equals$f(existing, incoming) {
2838
2868
  return false;
2839
2869
  }
2840
2870
  }
2871
+ const existing_createdDate = existing.createdDate;
2872
+ const incoming_createdDate = incoming.createdDate;
2873
+ // if at least one of these optionals is defined
2874
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
2875
+ // if one of these is not defined we know the other is defined and therefore
2876
+ // not equal
2877
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
2878
+ return false;
2879
+ }
2880
+ if (!(existing_createdDate === incoming_createdDate)) {
2881
+ return false;
2882
+ }
2883
+ }
2841
2884
  const existing_description = existing.description;
2842
2885
  const incoming_description = incoming.description;
2843
2886
  // if at least one of these optionals is defined
@@ -2903,6 +2946,19 @@ function equals$f(existing, incoming) {
2903
2946
  return false;
2904
2947
  }
2905
2948
  }
2949
+ const existing_usageType = existing.usageType;
2950
+ const incoming_usageType = incoming.usageType;
2951
+ // if at least one of these optionals is defined
2952
+ if (existing_usageType !== undefined || incoming_usageType !== undefined) {
2953
+ // if one of these is not defined we know the other is defined and therefore
2954
+ // not equal
2955
+ if (existing_usageType === undefined || incoming_usageType === undefined) {
2956
+ return false;
2957
+ }
2958
+ if (!(existing_usageType === incoming_usageType)) {
2959
+ return false;
2960
+ }
2961
+ }
2906
2962
  return true;
2907
2963
  }
2908
2964
 
@@ -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 = "4a9a49294d8382d87bce948e659b67eb";
2
+ export declare const VERSION = "75f078ad7657eb654aef898c8c851153";
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;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface LookupTableDetailsRepresentationNormalized {
17
17
  /** LookupTableDetails api API Name */
18
18
  apiName?: string;
19
+ /** LookupTableDetails createdDate */
20
+ createdDate?: string;
19
21
  /** LookupTableDetails api Lookup Table description */
20
22
  description?: string;
21
23
  /** LookupTableDetails api Lookup Table id */
@@ -26,6 +28,8 @@ export interface LookupTableDetailsRepresentationNormalized {
26
28
  lookupTableType?: string;
27
29
  /** LookupTableDetails api Lookup Table name */
28
30
  name?: string;
31
+ /** LookupTableDetails usageType */
32
+ usageType?: string;
29
33
  }
30
34
  /**
31
35
  * Output representation of Lookup Tables Basic Details
@@ -35,9 +39,11 @@ export interface LookupTableDetailsRepresentationNormalized {
35
39
  */
36
40
  export interface LookupTableDetailsRepresentation {
37
41
  apiName?: string;
42
+ createdDate?: string;
38
43
  description?: string;
39
44
  id?: string;
40
45
  lookupTableDefinitionId?: string;
41
46
  lookupTableType?: string;
42
47
  name?: string;
48
+ usageType?: string;
43
49
  }
@@ -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 = "3d141c4df15068a708dec8f104473333";
2
+ export declare const VERSION = "3d44488357f7af35de89a68afd5ef525";
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: SimulationStepAdditionalInfoOutputRepresentation, existing: SimulationStepAdditionalInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SimulationStepAdditionalInfoOutputRepresentationNormalized;
@@ -15,11 +15,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface SimulationStepAdditionalInfoOutputRepresentationNormalized {
17
17
  /** stores stype of step (CalculationProcedure or DecisionMatrix) */
18
- stepType: string;
18
+ stepType?: string;
19
19
  /** store name of the step */
20
- versionName: string;
20
+ versionName?: string;
21
21
  /** stores version number of the step */
22
- versionNumber: string;
22
+ versionNumber?: string;
23
23
  }
24
24
  /**
25
25
  * Output Representation of step additional info
@@ -28,7 +28,7 @@ export interface SimulationStepAdditionalInfoOutputRepresentationNormalized {
28
28
  * (none)
29
29
  */
30
30
  export interface SimulationStepAdditionalInfoOutputRepresentation {
31
- stepType: string;
32
- versionName: string;
33
- versionNumber: string;
31
+ stepType?: string;
32
+ versionName?: string;
33
+ versionNumber?: string;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.302.0",
3
+ "version": "1.304.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",
@@ -45,11 +45,11 @@
45
45
  "test:unit": "jest"
46
46
  },
47
47
  "dependencies": {
48
- "@salesforce/lds-bindings": "^1.302.0"
48
+ "@salesforce/lds-bindings": "^1.304.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@salesforce/lds-compiler-plugins": "^1.302.0",
52
- "@salesforce/lds-karma": "^1.302.0"
51
+ "@salesforce/lds-compiler-plugins": "^1.304.0",
52
+ "@salesforce/lds-karma": "^1.304.0"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -4354,7 +4354,7 @@ const getExpressionSetAliasMetaInfoAdapterFactory = (luvio) => function interact
4354
4354
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4355
4355
  };
4356
4356
 
4357
- const VERSION$b = "4a9a49294d8382d87bce948e659b67eb";
4357
+ const VERSION$b = "75f078ad7657eb654aef898c8c851153";
4358
4358
  function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
4359
4359
  const v_error = (() => {
4360
4360
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4367,6 +4367,13 @@ function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
4367
4367
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
4368
4368
  }
4369
4369
  }
4370
+ if (obj.createdDate !== undefined) {
4371
+ const obj_createdDate = obj.createdDate;
4372
+ const path_createdDate = path + '.createdDate';
4373
+ if (typeof obj_createdDate !== 'string') {
4374
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
4375
+ }
4376
+ }
4370
4377
  if (obj.description !== undefined) {
4371
4378
  const obj_description = obj.description;
4372
4379
  const path_description = path + '.description';
@@ -4402,6 +4409,13 @@ function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
4402
4409
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
4403
4410
  }
4404
4411
  }
4412
+ if (obj.usageType !== undefined) {
4413
+ const obj_usageType = obj.usageType;
4414
+ const path_usageType = path + '.usageType';
4415
+ if (typeof obj_usageType !== 'string') {
4416
+ return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
4417
+ }
4418
+ }
4405
4419
  })();
4406
4420
  return v_error === undefined ? null : v_error;
4407
4421
  }
@@ -4416,6 +4430,11 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
4416
4430
  kind: 'Scalar',
4417
4431
  required: false
4418
4432
  },
4433
+ {
4434
+ name: 'createdDate',
4435
+ kind: 'Scalar',
4436
+ required: false
4437
+ },
4419
4438
  {
4420
4439
  name: 'description',
4421
4440
  kind: 'Scalar',
@@ -4440,6 +4459,11 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
4440
4459
  name: 'name',
4441
4460
  kind: 'Scalar',
4442
4461
  required: false
4462
+ },
4463
+ {
4464
+ name: 'usageType',
4465
+ kind: 'Scalar',
4466
+ required: false
4443
4467
  }
4444
4468
  ]
4445
4469
  };
@@ -4458,6 +4482,19 @@ function equals$b(existing, incoming) {
4458
4482
  return false;
4459
4483
  }
4460
4484
  }
4485
+ const existing_createdDate = existing.createdDate;
4486
+ const incoming_createdDate = incoming.createdDate;
4487
+ // if at least one of these optionals is defined
4488
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
4489
+ // if one of these is not defined we know the other is defined and therefore
4490
+ // not equal
4491
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
4492
+ return false;
4493
+ }
4494
+ if (!(existing_createdDate === incoming_createdDate)) {
4495
+ return false;
4496
+ }
4497
+ }
4461
4498
  const existing_description = existing.description;
4462
4499
  const incoming_description = incoming.description;
4463
4500
  // if at least one of these optionals is defined
@@ -4523,6 +4560,19 @@ function equals$b(existing, incoming) {
4523
4560
  return false;
4524
4561
  }
4525
4562
  }
4563
+ const existing_usageType = existing.usageType;
4564
+ const incoming_usageType = incoming.usageType;
4565
+ // if at least one of these optionals is defined
4566
+ if (existing_usageType !== undefined || incoming_usageType !== undefined) {
4567
+ // if one of these is not defined we know the other is defined and therefore
4568
+ // not equal
4569
+ if (existing_usageType === undefined || incoming_usageType === undefined) {
4570
+ return false;
4571
+ }
4572
+ if (!(existing_usageType === incoming_usageType)) {
4573
+ return false;
4574
+ }
4575
+ }
4526
4576
  return true;
4527
4577
  }
4528
4578
 
@@ -6760,20 +6810,26 @@ function validate$g(obj, path = 'SimulationStepAdditionalInfoOutputRepresentatio
6760
6810
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6761
6811
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6762
6812
  }
6763
- const obj_stepType = obj.stepType;
6764
- const path_stepType = path + '.stepType';
6765
- if (typeof obj_stepType !== 'string') {
6766
- return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
6813
+ if (obj.stepType !== undefined) {
6814
+ const obj_stepType = obj.stepType;
6815
+ const path_stepType = path + '.stepType';
6816
+ if (typeof obj_stepType !== 'string') {
6817
+ return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
6818
+ }
6767
6819
  }
6768
- const obj_versionName = obj.versionName;
6769
- const path_versionName = path + '.versionName';
6770
- if (typeof obj_versionName !== 'string') {
6771
- return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
6820
+ if (obj.versionName !== undefined) {
6821
+ const obj_versionName = obj.versionName;
6822
+ const path_versionName = path + '.versionName';
6823
+ if (typeof obj_versionName !== 'string') {
6824
+ return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
6825
+ }
6772
6826
  }
6773
- const obj_versionNumber = obj.versionNumber;
6774
- const path_versionNumber = path + '.versionNumber';
6775
- if (typeof obj_versionNumber !== 'string') {
6776
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
6827
+ if (obj.versionNumber !== undefined) {
6828
+ const obj_versionNumber = obj.versionNumber;
6829
+ const path_versionNumber = path + '.versionNumber';
6830
+ if (typeof obj_versionNumber !== 'string') {
6831
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
6832
+ }
6777
6833
  }
6778
6834
  })();
6779
6835
  return v_error === undefined ? null : v_error;
@@ -8866,4 +8922,4 @@ withDefaultLuvio((luvio) => {
8866
8922
  });
8867
8923
 
8868
8924
  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 };
8869
- // version: 1.302.0-5fb014108f
8925
+ // version: 1.304.0-d87b57badb
package/src/raml/api.raml CHANGED
@@ -230,6 +230,14 @@ types:
230
230
  description: Output representation of Lookup Tables Basic Details
231
231
  type: object
232
232
  properties:
233
+ apiName:
234
+ description: LookupTableDetails api API Name
235
+ type: string
236
+ required: false
237
+ createdDate:
238
+ description: LookupTableDetails createdDate
239
+ type: string
240
+ required: false
233
241
  description:
234
242
  description: LookupTableDetails api Lookup Table description
235
243
  type: string
@@ -250,8 +258,8 @@ types:
250
258
  description: LookupTableDetails api Lookup Table name
251
259
  type: string
252
260
  required: false
253
- apiName:
254
- description: LookupTableDetails api API Name
261
+ usageType:
262
+ description: LookupTableDetails usageType
255
263
  type: string
256
264
  required: false
257
265
  LookupTablesResultListRepresentation:
@@ -2085,12 +2093,15 @@ types:
2085
2093
  stepType:
2086
2094
  description: stores stype of step (CalculationProcedure or DecisionMatrix)
2087
2095
  type: string
2096
+ required: false
2088
2097
  versionName:
2089
2098
  description: store name of the step
2090
2099
  type: string
2100
+ required: false
2091
2101
  versionNumber:
2092
2102
  description: stores version number of the step
2093
2103
  type: string
2104
+ required: false
2094
2105
  SimulationStepExplainabilityMessageOutputRepresentation:
2095
2106
  description: Output representation of explainability message for simulation
2096
2107
  type: object