@salesforce/lds-adapters-industries-insuranceclaim 1.380.0-dev2 → 1.380.0-dev22

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.
@@ -865,6 +865,13 @@ function validate$4(obj, path = 'InsPolicyLimitTrackingDetailsRep') {
865
865
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
866
866
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
867
867
  }
868
+ if (obj.benefitName !== undefined) {
869
+ const obj_benefitName = obj.benefitName;
870
+ const path_benefitName = path + '.benefitName';
871
+ if (typeof obj_benefitName !== 'string') {
872
+ return new TypeError('Expected "string" but received "' + typeof obj_benefitName + '" (at "' + path_benefitName + '")');
873
+ }
874
+ }
868
875
  if (obj.calcInitialAmount !== undefined) {
869
876
  obj.calcInitialAmount;
870
877
  }
@@ -1180,6 +1187,13 @@ function validate$2(obj, path = 'InsPolicyLmtCalcStandingNode') {
1180
1187
  return new TypeError('Expected "string" but received "' + typeof obj_applicableActions_item + '" (at "' + path_applicableActions_item + '")');
1181
1188
  }
1182
1189
  }
1190
+ if (obj.benefitName !== undefined) {
1191
+ const obj_benefitName = obj.benefitName;
1192
+ const path_benefitName = path + '.benefitName';
1193
+ if (typeof obj_benefitName !== 'string') {
1194
+ return new TypeError('Expected "string" but received "' + typeof obj_benefitName + '" (at "' + path_benefitName + '")');
1195
+ }
1196
+ }
1183
1197
  const obj_category = obj.category;
1184
1198
  const path_category = path + '.category';
1185
1199
  if (typeof obj_category !== 'string') {
@@ -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 = "768fefce01977483494bea2ac1e3ee77";
2
+ export declare const VERSION = "7504f4b15fe4c6d6af2f9fb25e42bfe0";
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: InsPolicyLimitTrackingDetailsRep, existing: InsPolicyLimitTrackingDetailsRepNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsPolicyLimitTrackingDetailsRepNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface InsPolicyLimitTrackingDetailsRepNormalized {
17
+ /** Name of the benefit associated with the policy limit tracking. */
18
+ benefitName?: string;
17
19
  /** Calculated currency amount that's used as the base value for tracking the policy attribute consumption. */
18
20
  calcInitialAmount?: number;
19
21
  /** Count that's used as the base for tracking the policy attribute consumption. */
@@ -44,6 +46,7 @@ export interface InsPolicyLimitTrackingDetailsRepNormalized {
44
46
  * (none)
45
47
  */
46
48
  export interface InsPolicyLimitTrackingDetailsRep {
49
+ benefitName?: string;
47
50
  calcInitialAmount?: number;
48
51
  calcInitialValue?: number;
49
52
  category?: string;
@@ -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 = "60b16a1dde97526b2ca774af5d30567f";
2
+ export declare const VERSION = "6d94e71ab29ff9d3ed64f8c4b31fbfe5";
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: InsPolicyLmtCalcStandingNode, existing: InsPolicyLmtCalcStandingNodeNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsPolicyLmtCalcStandingNodeNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface InsPolicyLmtCalcStandingNodeNormalized {
17
17
  /** List of actions that initiate the attribute processing. */
18
18
  applicableActions: Array<string>;
19
+ /** Name of the benefit. */
20
+ benefitName?: string;
19
21
  /** Category of the limit. */
20
22
  category: string;
21
23
  /** ID of the related claim coverage. */
@@ -71,6 +73,7 @@ export interface InsPolicyLmtCalcStandingNodeNormalized {
71
73
  */
72
74
  export interface InsPolicyLmtCalcStandingNode {
73
75
  applicableActions: Array<string>;
76
+ benefitName?: string;
74
77
  category: string;
75
78
  claimCoverageId?: string;
76
79
  claimId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-insuranceclaim",
3
- "version": "1.380.0-dev2",
3
+ "version": "1.380.0-dev22",
4
4
  "description": "APIs for Insurance Claims",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-insuranceclaim.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.380.0-dev2"
43
+ "@salesforce/lds-bindings": "^1.380.0-dev22"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev2"
46
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev22"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -128,6 +128,13 @@ function validate$8(obj, path = 'InsPolicyLimitTrackingDetailsRep') {
128
128
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
129
129
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
130
130
  }
131
+ if (obj.benefitName !== undefined) {
132
+ const obj_benefitName = obj.benefitName;
133
+ const path_benefitName = path + '.benefitName';
134
+ if (typeof obj_benefitName !== 'string') {
135
+ return new TypeError('Expected "string" but received "' + typeof obj_benefitName + '" (at "' + path_benefitName + '")');
136
+ }
137
+ }
131
138
  if (obj.calcInitialAmount !== undefined) {
132
139
  obj.calcInitialAmount;
133
140
  }
@@ -1189,6 +1196,13 @@ function validate$2(obj, path = 'InsPolicyLmtCalcStandingNode') {
1189
1196
  return new TypeError('Expected "string" but received "' + typeof obj_applicableActions_item + '" (at "' + path_applicableActions_item + '")');
1190
1197
  }
1191
1198
  }
1199
+ if (obj.benefitName !== undefined) {
1200
+ const obj_benefitName = obj.benefitName;
1201
+ const path_benefitName = path + '.benefitName';
1202
+ if (typeof obj_benefitName !== 'string') {
1203
+ return new TypeError('Expected "string" but received "' + typeof obj_benefitName + '" (at "' + path_benefitName + '")');
1204
+ }
1205
+ }
1192
1206
  const obj_category = obj.category;
1193
1207
  const path_category = path + '.category';
1194
1208
  if (typeof obj_category !== 'string') {
@@ -1733,4 +1747,4 @@ withDefaultLuvio((luvio) => {
1733
1747
  });
1734
1748
 
1735
1749
  export { CalculateAdjustments, CancelClaimCoveragePaymentDetail, CreateClaimCoveragePaymentDetail, DeleteClaimCoveragePaymentDetail, PayClaimCoveragePaymentDetail, PolicyLimitStandingCalculation, postVerifyPolicyCoverage };
1736
- // version: 1.380.0-dev2-fd70e1c449
1750
+ // version: 1.380.0-dev22-411853e059
package/src/raml/api.raml CHANGED
@@ -207,6 +207,10 @@ types:
207
207
  description: Output representation for the insurance policy limit tracking details.
208
208
  type: object
209
209
  properties:
210
+ benefitName:
211
+ description: Name of the benefit associated with the policy limit tracking.
212
+ type: string
213
+ required: false
210
214
  calcInitialAmount:
211
215
  description: Calculated currency amount that's used as the base value for
212
216
  tracking the policy attribute consumption.
@@ -299,6 +303,10 @@ types:
299
303
  type: array
300
304
  items:
301
305
  type: string
306
+ benefitName:
307
+ description: Name of the benefit.
308
+ type: string
309
+ required: false
302
310
  category:
303
311
  description: Category of the limit.
304
312
  type: string