@salesforce/lds-adapters-industries-loyalty-engine 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-loyalty-engine.js +4193 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createProgramProcessRule.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/executeRealtimeLoyaltyEngine.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getJournalExplainabilityInfo.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramProcessRule.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/updateProgramProcessRule.d.ts +19 -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/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 +34 -0
- package/dist/es/es2018/types/src/generated/types/CreditPointsActionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/DebitPointsActionOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionValueRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FormulaInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FormulaOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/IssueVoucherActionOutputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineBatchOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputMapRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRealtimeOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRunSettingsRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyExplainabilityOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProcessInput.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionParameterRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionFilterCriteriaRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionGroupRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleStepRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceChangeRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PointsSummaryRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProcessResultRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleDetailRepresentation.d.ts +77 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleErrorRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStatusRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProgramProcessRule.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SummaryRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalResultRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCumulativeUsageActionOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/VoucherOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/VoucherResultRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +74 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4255 -0
- package/src/raml/api.raml +1332 -0
- package/src/raml/luvio.raml +56 -0
|
@@ -0,0 +1,32 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCumulativeUsageActionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Update Cumulative Usage Action Output
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCumulativeUsageActionOutputRepresentationNormalized extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
18
|
+
/** The name of promotion for which the member's cumulative usage is updated or reset. */
|
|
19
|
+
promotion: string;
|
|
20
|
+
/** The updated value of the loyalty program member's usage towards the cumulative promotion. */
|
|
21
|
+
updatedCumulativePromotionUsage: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Update Cumulative Usage Action Output
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateCumulativeUsageActionOutputRepresentation extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
30
|
+
promotion: string;
|
|
31
|
+
updatedCumulativePromotionUsage: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: VoucherOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Wrapper for the Vouchers
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface VoucherOutputRepresentationNormalized {
|
|
17
|
+
/** Discount Percent. */
|
|
18
|
+
discountPercent: number;
|
|
19
|
+
/** Effective Date. */
|
|
20
|
+
effectiveDate: string;
|
|
21
|
+
/** Expiration Date. */
|
|
22
|
+
expirationDate: string;
|
|
23
|
+
/** Face Value. */
|
|
24
|
+
faceValue: number;
|
|
25
|
+
/** Id of the product in the Voucher issued. */
|
|
26
|
+
productId: string;
|
|
27
|
+
/** ID of the promotion for which the member has been issued Vouchers. */
|
|
28
|
+
promotionId: string;
|
|
29
|
+
/** Voucher Code. */
|
|
30
|
+
voucherCode: string;
|
|
31
|
+
/** Voucher Definition Name. */
|
|
32
|
+
voucherDefinitionName: string;
|
|
33
|
+
/** ID of the Voucher issued. */
|
|
34
|
+
voucherId: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Wrapper for the Vouchers
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* (none)
|
|
41
|
+
*/
|
|
42
|
+
export interface VoucherOutputRepresentation {
|
|
43
|
+
discountPercent: number;
|
|
44
|
+
effectiveDate: string;
|
|
45
|
+
expirationDate: string;
|
|
46
|
+
faceValue: number;
|
|
47
|
+
productId: string;
|
|
48
|
+
promotionId: string;
|
|
49
|
+
voucherCode: string;
|
|
50
|
+
voucherDefinitionName: string;
|
|
51
|
+
voucherId: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: VoucherResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for the Vouchers Result
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface VoucherResultRepresentationNormalized {
|
|
18
|
+
/** 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. */
|
|
19
|
+
vouchersIssued: Array<VoucherOutputRepresentation_VoucherOutputRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Wrapper for the Vouchers Result
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface VoucherResultRepresentation {
|
|
28
|
+
vouchersIssued: Array<VoucherOutputRepresentation_VoucherOutputRepresentation>;
|
|
29
|
+
}
|
|
@@ -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,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-loyalty-engine",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
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
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/industries-loyalty-engine.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-loyalty-engine.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
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:services",
|
|
35
|
+
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
37
|
+
"build:services": "rollup --bundleConfigAsCjs --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": "nx build:karma && karma start",
|
|
42
|
+
"test": "nx build:karma && karma start --single-run"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
|
|
49
|
+
"@salesforce/lds-karma": "^0.1.0-dev1"
|
|
50
|
+
},
|
|
51
|
+
"nx": {
|
|
52
|
+
"targets": {
|
|
53
|
+
"build": {
|
|
54
|
+
"outputs": [
|
|
55
|
+
"{projectRoot}/dist",
|
|
56
|
+
"{projectRoot}/sfdc"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"build:raml": {
|
|
60
|
+
"outputs": [
|
|
61
|
+
"{projectRoot}/src/generated"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"build:karma": {
|
|
65
|
+
"outputs": [
|
|
66
|
+
"{projectRoot}/karma/dist"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"volta": {
|
|
72
|
+
"extends": "../../package.json"
|
|
73
|
+
}
|
|
74
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|