@salesforce/lds-adapters-industries-loyalty-engine 0.131.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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-loyalty-engine.js +4461 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/createProgramProcessRule.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/executeRealtimeLoyaltyEngine.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getJournalExplainabilityInfo.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramProcessRule.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateProgramProcessRule.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramProcessTransactionJournalsByJournalId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBatchLoyaltyProgramsByProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectFormulaLoyaltyProcessByProcessId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRealtimeLoyaltyProgramsByProgramName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/ActionOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CreditPointsActionOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/DebitPointsActionOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionValueRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/IssueVoucherActionOutputRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineBatchOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputMapRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRealtimeOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRunSettingsRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyExplainabilityOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProcessInput.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionParameterRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionFilterCriteriaRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionGroupRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleStepRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceChangeRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/PointsSummaryRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessResultRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleDetailRepresentation.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleErrorRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleInputRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStatusRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ProgramProcessRule.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/SummaryRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalResultRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCumulativeUsageActionOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/VoucherOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/VoucherResultRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4513 -0
- package/src/raml/api.raml +1331 -0
- package/src/raml/luvio.raml +51 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MemberPointsBalanceChangeRepresentation as MemberPointsBalanceChangeRepresentation_MemberPointsBalanceChangeRepresentation } from './MemberPointsBalanceChangeRepresentation';
|
|
2
|
+
import { VoucherResultRepresentation as VoucherResultRepresentation_VoucherResultRepresentation } from './VoucherResultRepresentation';
|
|
3
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "1910eedcb21900b491ce6be270d7d949";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: TransactionJournalResultRepresentation, existing: TransactionJournalResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TransactionJournalResultRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: TransactionJournalResultRepresentationNormalized, incoming: TransactionJournalResultRepresentationNormalized): boolean;
|
|
10
|
+
export declare function deepFreeze(input: TransactionJournalResultRepresentation): void;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TransactionJournalResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
/**
|
|
14
|
+
* Wrapper for the Transaction Journal Result
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface TransactionJournalResultRepresentationNormalized {
|
|
20
|
+
/** Details of points that have been credited to or debited from member's points balance and escrow points balance for all the currencies associated with the member. */
|
|
21
|
+
changeInMemberPoints: Array<MemberPointsBalanceChangeRepresentation_MemberPointsBalanceChangeRepresentation>;
|
|
22
|
+
/** Details of the Transaction Journal records that have been created. */
|
|
23
|
+
id: string;
|
|
24
|
+
voucherResult: VoucherResultRepresentation_VoucherResultRepresentation;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Wrapper for the Transaction Journal Result
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface TransactionJournalResultRepresentation {
|
|
33
|
+
changeInMemberPoints: Array<MemberPointsBalanceChangeRepresentation_MemberPointsBalanceChangeRepresentation>;
|
|
34
|
+
id: string;
|
|
35
|
+
voucherResult: VoucherResultRepresentation_VoucherResultRepresentation;
|
|
36
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ActionOutputRepresentation as ActionOutputRepresentation_ActionOutputRepresentation } from './ActionOutputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "fd035807d005e403faf20bd805d7b124";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: UpdateCumulativeUsageActionOutputRepresentation, existing: UpdateCumulativeUsageActionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCumulativeUsageActionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: UpdateCumulativeUsageActionOutputRepresentationNormalized, incoming: UpdateCumulativeUsageActionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: UpdateCumulativeUsageActionOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: UpdateCumulativeUsageActionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Update Cumulative Usage Action Output
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateCumulativeUsageActionOutputRepresentationNormalized extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
19
|
+
/** The name of promotion for which the member's cumulative usage is updated or reset. */
|
|
20
|
+
promotion: string;
|
|
21
|
+
/** The updated value of the loyalty program member's usage towards the cumulative promotion. */
|
|
22
|
+
updatedCumulativePromotionUsage: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Update Cumulative Usage Action Output
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateCumulativeUsageActionOutputRepresentation extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
31
|
+
promotion: string;
|
|
32
|
+
updatedCumulativePromotionUsage: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "f4eff4ba9612d9a81dca3e7840210efa";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: VoucherOutputRepresentation, existing: VoucherOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): VoucherOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: VoucherOutputRepresentationNormalized, incoming: VoucherOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: VoucherOutputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: VoucherOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for the Vouchers
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface VoucherOutputRepresentationNormalized {
|
|
18
|
+
/** Discount Percent. */
|
|
19
|
+
discountPercent: number;
|
|
20
|
+
/** Effective Date. */
|
|
21
|
+
effectiveDate: string;
|
|
22
|
+
/** Expiration Date. */
|
|
23
|
+
expirationDate: string;
|
|
24
|
+
/** Face Value. */
|
|
25
|
+
faceValue: number;
|
|
26
|
+
/** Id of the product in the Voucher issued. */
|
|
27
|
+
productId: string;
|
|
28
|
+
/** ID of the promotion for which the member has been issued Vouchers. */
|
|
29
|
+
promotionId: string;
|
|
30
|
+
/** Voucher Code. */
|
|
31
|
+
voucherCode: string;
|
|
32
|
+
/** Voucher Definition Name. */
|
|
33
|
+
voucherDefinitionName: string;
|
|
34
|
+
/** ID of the Voucher issued. */
|
|
35
|
+
voucherId: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Wrapper for the Vouchers
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface VoucherOutputRepresentation {
|
|
44
|
+
discountPercent: number;
|
|
45
|
+
effectiveDate: string;
|
|
46
|
+
expirationDate: string;
|
|
47
|
+
faceValue: number;
|
|
48
|
+
productId: string;
|
|
49
|
+
promotionId: string;
|
|
50
|
+
voucherCode: string;
|
|
51
|
+
voucherDefinitionName: string;
|
|
52
|
+
voucherId: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VoucherOutputRepresentation as VoucherOutputRepresentation_VoucherOutputRepresentation } from './VoucherOutputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "96b446ff15cc879a193e1b71a0ef3ffd";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: VoucherResultRepresentation, existing: VoucherResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): VoucherResultRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: VoucherResultRepresentationNormalized, incoming: VoucherResultRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: VoucherResultRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: VoucherResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for the Vouchers Result
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface VoucherResultRepresentationNormalized {
|
|
19
|
+
/** List of the vouchers that are issued to the associated loyalty program member. This output is provided when the process contains an Issue Voucher action. */
|
|
20
|
+
vouchersIssued: Array<VoucherOutputRepresentation_VoucherOutputRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrapper for the Vouchers Result
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface VoucherResultRepresentation {
|
|
29
|
+
vouchersIssued: Array<VoucherOutputRepresentation_VoucherOutputRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectFreeze: {
|
|
3
|
+
<T extends Function>(f: T): T;
|
|
4
|
+
<T_1 extends {
|
|
5
|
+
[idx: string]: object | U | null | undefined;
|
|
6
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
+
}, ObjectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
}, ObjectCreate: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
}, ObjectAssign: {
|
|
15
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
16
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
17
|
+
<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;
|
|
18
|
+
(target: object, ...sources: any[]): any;
|
|
19
|
+
};
|
|
20
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare const JSONStringify: {
|
|
22
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
23
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
24
|
+
};
|
|
25
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
26
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
27
|
+
export type RecursivePartial<T> = null | {
|
|
28
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
29
|
+
};
|
|
30
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
31
|
+
export declare function equalsObject<U, V extends {
|
|
32
|
+
[key: string]: U;
|
|
33
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
+
export declare function deepFreeze(value: any): void;
|
|
35
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
|
+
__ref: string;
|
|
37
|
+
};
|
|
38
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
39
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-loyalty-engine",
|
|
3
|
+
"version": "0.131.0",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "The api is responsible for upserting Loyalty Process Rules",
|
|
6
|
+
"main": "dist/es/es2018/industries-loyalty-engine.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-loyalty-engine.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
|
+
"import": "./dist/es/es2018/industries-loyalty-engine.js",
|
|
17
|
+
"require": "./dist/es/es2018/industries-loyalty-engine.js",
|
|
18
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"import": "./sfdc/index.js",
|
|
22
|
+
"types": "./sfdc/index.d.ts",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"contributors": [
|
|
27
|
+
"vineet.goyal@salesforce.com"
|
|
28
|
+
],
|
|
29
|
+
"sfdc": {
|
|
30
|
+
"namespace": "lightning",
|
|
31
|
+
"module": "industriesLoyaltyEngineApi"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:raml && yarn build:services && yarn build:karma",
|
|
35
|
+
"build:karma": "rollup --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
37
|
+
"build:services": "rollup --config rollup.config.js",
|
|
38
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
39
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-loyalty-engine",
|
|
40
|
+
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-loyalty-engine",
|
|
41
|
+
"start": "karma start",
|
|
42
|
+
"test": "karma start --single-run",
|
|
43
|
+
"test:compat": "karma start --single-run --compat"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@salesforce/lds-bindings": "1.131.0-244.6"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "1.131.0-244.6",
|
|
50
|
+
"@salesforce/lds-karma": "1.131.0-244.6"
|
|
51
|
+
},
|
|
52
|
+
"nx": {
|
|
53
|
+
"targets": {
|
|
54
|
+
"build": {
|
|
55
|
+
"outputs": [
|
|
56
|
+
"packages/lds-adapters-industries-loyalty-engine/dist",
|
|
57
|
+
"packages/lds-adapters-industries-loyalty-engine/karma/dist",
|
|
58
|
+
"packages/lds-adapters-industries-loyalty-engine/sfdc",
|
|
59
|
+
"packages/lds-adapters-industries-loyalty-engine/src/generated"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"extends": "../../package.json"
|
|
66
|
+
}
|
|
67
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|