@salesforce/lds-adapters-industries-claim 0.1.0-dev1
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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-claim.js +1117 -0
- package/dist/es/es2018/types/src/generated/adapters/CreateClaimCoverage.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/UpdateClaim.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/UpdateClaimCoverage.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectClaimsByClaimId.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectClaimsCoveragesByClaimIdAndCoverageId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectClaimsCoveragesByClaimId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/types/ClaimAttributeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ClaimAttributesInput.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ClaimCoverageRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ClaimErrorOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ClaimErrorsOutput.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ClaimInputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/ClaimItemInputRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/ClaimItemsInput.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ClaimOptionsInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ClaimParticipantInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/ClaimParticipantRolesInput.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ClaimParticipantsInput.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ClaimRelatedObjectInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ClaimRelatedObjectsInput.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CreateClaimCoverageInputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/CreateClaimOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ErrorDetail.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/UpdateClaimCoverageInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1149 -0
- package/src/raml/api.raml +448 -0
- package/src/raml/luvio.raml +41 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ClaimParticipantRolesInput as ClaimParticipantRolesInput_ClaimParticipantRolesInput } from './ClaimParticipantRolesInput';
|
|
2
|
+
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';
|
|
3
|
+
export declare const VERSION = "7d48d93f8faa8ee557d7a702a02e40e0";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ClaimParticipantInputRepresentation, existing: ClaimParticipantInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ClaimParticipantInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ClaimParticipantInputRepresentationNormalized, incoming: ClaimParticipantInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ClaimParticipantInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for Claim Participant
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ClaimParticipantInputRepresentationNormalized {
|
|
18
|
+
/** Account id of the claim participant */
|
|
19
|
+
accountId?: string;
|
|
20
|
+
/** Action to be performed during update operation */
|
|
21
|
+
action: string;
|
|
22
|
+
/** Additional Fields of the claim participant */
|
|
23
|
+
additionalFields?: unknown;
|
|
24
|
+
/** Contact Id of the claim participant */
|
|
25
|
+
contactId?: string;
|
|
26
|
+
/** Unique instanceKey of the claim participant */
|
|
27
|
+
instanceKey: string;
|
|
28
|
+
/** Insurance Policy Participant Id of the claim participant */
|
|
29
|
+
insurancePolicyParticipantId?: string;
|
|
30
|
+
/** Is insured or not */
|
|
31
|
+
isInjured?: string;
|
|
32
|
+
roles?: ClaimParticipantRolesInput_ClaimParticipantRolesInput;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Input representation for Claim Participant
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface ClaimParticipantInputRepresentation {
|
|
41
|
+
accountId?: string;
|
|
42
|
+
action: string;
|
|
43
|
+
additionalFields?: unknown;
|
|
44
|
+
contactId?: string;
|
|
45
|
+
instanceKey: string;
|
|
46
|
+
insurancePolicyParticipantId?: string;
|
|
47
|
+
isInjured?: string;
|
|
48
|
+
roles?: ClaimParticipantRolesInput_ClaimParticipantRolesInput;
|
|
49
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "3cc53fce8fb9db24cb5afb5fce39c83a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ClaimParticipantRolesInput, existing: ClaimParticipantRolesInputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ClaimParticipantRolesInputNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ClaimParticipantRolesInputNormalized, incoming: ClaimParticipantRolesInputNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ClaimParticipantRolesInput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Claim Participant Roles List wrapper object
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ClaimParticipantRolesInputNormalized {
|
|
17
|
+
/** Claim Participant Roles list */
|
|
18
|
+
list?: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Claim Participant Roles List wrapper object
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ClaimParticipantRolesInput {
|
|
27
|
+
list?: Array<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ClaimParticipantInputRepresentation as ClaimParticipantInputRepresentation_ClaimParticipantInputRepresentation } from './ClaimParticipantInputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
export declare const VERSION = "4a8aa1e55f75fb75a316fae4c15bb0bc";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ClaimParticipantsInput, existing: ClaimParticipantsInputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ClaimParticipantsInputNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ClaimParticipantsInputNormalized, incoming: ClaimParticipantsInputNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ClaimParticipantsInput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Claim Participants List wrapper object
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ClaimParticipantsInputNormalized {
|
|
18
|
+
/** Claim Participants List */
|
|
19
|
+
list: Array<ClaimParticipantInputRepresentation_ClaimParticipantInputRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Claim Participants List wrapper object
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ClaimParticipantsInput {
|
|
28
|
+
list: Array<ClaimParticipantInputRepresentation_ClaimParticipantInputRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "5b4e4136ee2fee74928b7858ba752824";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ClaimRelatedObjectInputRepresentation, existing: ClaimRelatedObjectInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ClaimRelatedObjectInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ClaimRelatedObjectInputRepresentationNormalized, incoming: ClaimRelatedObjectInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ClaimRelatedObjectInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Related Object
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ClaimRelatedObjectInputRepresentationNormalized {
|
|
17
|
+
/** Claim Item Related Object Id */
|
|
18
|
+
recordId?: string;
|
|
19
|
+
/** Claim Item Related Object Name */
|
|
20
|
+
recordObjName?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input Representation for Related Object
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ClaimRelatedObjectInputRepresentation {
|
|
29
|
+
recordId?: string;
|
|
30
|
+
recordObjName?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ClaimRelatedObjectInputRepresentation as ClaimRelatedObjectInputRepresentation_ClaimRelatedObjectInputRepresentation } from './ClaimRelatedObjectInputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
export declare const VERSION = "7538530926bc1aa7b731d16faf779224";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ClaimRelatedObjectsInput, existing: ClaimRelatedObjectsInputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ClaimRelatedObjectsInputNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ClaimRelatedObjectsInputNormalized, incoming: ClaimRelatedObjectsInputNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ClaimRelatedObjectsInput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Related Objects List wrapper object
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ClaimRelatedObjectsInputNormalized {
|
|
18
|
+
/** Claim Item Related Objects List */
|
|
19
|
+
list: Array<ClaimRelatedObjectInputRepresentation_ClaimRelatedObjectInputRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Related Objects List wrapper object
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ClaimRelatedObjectsInput {
|
|
28
|
+
list: Array<ClaimRelatedObjectInputRepresentation_ClaimRelatedObjectInputRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 = "c95452c3e59344b46ff4d01e05222293";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CreateClaimCoverageInputRepresentation, existing: CreateClaimCoverageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateClaimCoverageInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CreateClaimCoverageInputRepresentationNormalized, incoming: CreateClaimCoverageInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CreateClaimCoverageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Create Claim Coverage Connect resource
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateClaimCoverageInputRepresentationNormalized {
|
|
17
|
+
/** Additional Fields for Claim Coverage */
|
|
18
|
+
additionalFields?: unknown;
|
|
19
|
+
/** ID of the claim item */
|
|
20
|
+
claimItemId: string;
|
|
21
|
+
/** ID of the claim participant */
|
|
22
|
+
claimParticipantId: string;
|
|
23
|
+
/** Currency ISO Code for Reserve Adjustments */
|
|
24
|
+
currencyIsoCode?: string;
|
|
25
|
+
/** Expense reserve amount for the coverage */
|
|
26
|
+
expenseReserveAmount?: number;
|
|
27
|
+
/** ID of the insurance policy asset */
|
|
28
|
+
insurancePolicyAssetId?: string;
|
|
29
|
+
/** ID of the insurance policy coverage */
|
|
30
|
+
insurancePolicyCoverageId?: string;
|
|
31
|
+
/** Loss reserve amount for the coverage */
|
|
32
|
+
lossReserveAmount?: number;
|
|
33
|
+
/** Name of Claim Coverage */
|
|
34
|
+
name?: string;
|
|
35
|
+
/** Reserve Processing Mode for claim coverage */
|
|
36
|
+
reserveProcessingMode: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Input Representation for Create Claim Coverage Connect resource
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface CreateClaimCoverageInputRepresentation {
|
|
45
|
+
additionalFields?: unknown;
|
|
46
|
+
claimItemId: string;
|
|
47
|
+
claimParticipantId: string;
|
|
48
|
+
currencyIsoCode?: string;
|
|
49
|
+
expenseReserveAmount?: number;
|
|
50
|
+
insurancePolicyAssetId?: string;
|
|
51
|
+
insurancePolicyCoverageId?: string;
|
|
52
|
+
lossReserveAmount?: number;
|
|
53
|
+
name?: string;
|
|
54
|
+
reserveProcessingMode: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ClaimErrorOutputRepresentation as ClaimErrorOutputRepresentation_ClaimErrorOutputRepresentation } from './ClaimErrorOutputRepresentation';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "a2761ec24de7405a85015297b44aa3cf";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
isSuccess: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CreateClaimOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialCreateClaimOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): CreateClaimOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CreateClaimOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CreateClaimOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: CreateClaimOutputRepresentation, existing: CreateClaimOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateClaimOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
|
+
export declare function equals(existing: CreateClaimOutputRepresentationNormalized, incoming: CreateClaimOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CreateClaimOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Output Representation for create claim service
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* isSuccess (boolean): isSuccess
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateClaimOutputRepresentationNormalized {
|
|
28
|
+
/** The id of the created claim */
|
|
29
|
+
claimId?: string | null;
|
|
30
|
+
/** A list of errors, including detailed information about each one. */
|
|
31
|
+
errors?: Array<ClaimErrorOutputRepresentation_ClaimErrorOutputRepresentation>;
|
|
32
|
+
/** IsSuccess to specify the success of operation */
|
|
33
|
+
isSuccess: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Output Representation for create claim service
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* isSuccess (boolean): isSuccess
|
|
40
|
+
*/
|
|
41
|
+
export interface CreateClaimOutputRepresentation {
|
|
42
|
+
claimId?: string | null;
|
|
43
|
+
errors?: Array<ClaimErrorOutputRepresentation_ClaimErrorOutputRepresentation>;
|
|
44
|
+
isSuccess: boolean;
|
|
45
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "baa93b024e3fa57b9bb9fb284fc162dd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ErrorDetail, existing: ErrorDetailNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ErrorDetailNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ErrorDetailNormalized, incoming: ErrorDetailNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ErrorDetail, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output Representation for Error
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ErrorDetailNormalized {
|
|
17
|
+
/** Code of the error */
|
|
18
|
+
code: string;
|
|
19
|
+
/** Message of the error */
|
|
20
|
+
message: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output Representation for Error
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ErrorDetail {
|
|
29
|
+
code: string;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 = "121c3472901edcb41065334c434a3b17";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UpdateClaimCoverageInputRepresentation, existing: UpdateClaimCoverageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateClaimCoverageInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UpdateClaimCoverageInputRepresentationNormalized, incoming: UpdateClaimCoverageInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateClaimCoverageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Update Claim Coverage Connect resource
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateClaimCoverageInputRepresentationNormalized {
|
|
17
|
+
/** Additional fields for the coverage */
|
|
18
|
+
additionalFields?: unknown;
|
|
19
|
+
/** Expense reserve amount for the coverage */
|
|
20
|
+
expenseReserveAmount?: number;
|
|
21
|
+
/** Loss reserve amount for the coverage */
|
|
22
|
+
lossReserveAmount?: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input Representation for Update Claim Coverage Connect resource
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateClaimCoverageInputRepresentation {
|
|
31
|
+
additionalFields?: unknown;
|
|
32
|
+
expenseReserveAmount?: number;
|
|
33
|
+
lossReserveAmount?: number;
|
|
34
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-claim",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "Family for Claim related APIs",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/industries-claim.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-claim.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/industries-claim.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-claim.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "industriesClaimApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"saksham.mehra@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-claim",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-claim",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
47
|
+
},
|
|
48
|
+
"nx": {
|
|
49
|
+
"targets": {
|
|
50
|
+
"build": {
|
|
51
|
+
"outputs": [
|
|
52
|
+
"{projectRoot}/dist",
|
|
53
|
+
"{projectRoot}/sfdc"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"build:raml": {
|
|
57
|
+
"outputs": [
|
|
58
|
+
"{projectRoot}/src/generated"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"volta": {
|
|
64
|
+
"extends": "../../package.json"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|