@aptos-scp/scp-component-store-selling-features-domain-model 2.12.0 → 2.14.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.
|
@@ -75,6 +75,7 @@ export declare const MANUAL_ITEM_DISCOUNT_EVENT: string;
|
|
|
75
75
|
export declare const MANUAL_TRANSACTION_DISCOUNT_EVENT: string;
|
|
76
76
|
export declare const PERMANENT_MEMBERSHIP_DISCOUNT_EVENT: string;
|
|
77
77
|
export declare const ADD_EMPLOYEE_CUSTOMER_EVENT: string;
|
|
78
|
+
export declare const REWARD_CARD_DISCOUNT_EVENT: string;
|
|
78
79
|
export declare const APPLY_EMPLOYEE_CUSTOMER_DISCOUNT_EVENT = "ApplyEmployeeCustomerDiscount";
|
|
79
80
|
export declare const MODIFY_EMPLOYEE_MANUAL_DISCOUNT_EVENT: string;
|
|
80
81
|
export declare const MODIFY_ITEM_MANUAL_DISCOUNT_EVENT: string;
|
|
@@ -78,6 +78,7 @@ exports.MANUAL_ITEM_DISCOUNT_EVENT = "ManualItemDiscount";
|
|
|
78
78
|
exports.MANUAL_TRANSACTION_DISCOUNT_EVENT = "ManualTransactionDiscount";
|
|
79
79
|
exports.PERMANENT_MEMBERSHIP_DISCOUNT_EVENT = "PermanentMembershipDiscount";
|
|
80
80
|
exports.ADD_EMPLOYEE_CUSTOMER_EVENT = "AddEmployeeCustomer";
|
|
81
|
+
exports.REWARD_CARD_DISCOUNT_EVENT = "RewardCardDiscount";
|
|
81
82
|
exports.APPLY_EMPLOYEE_CUSTOMER_DISCOUNT_EVENT = "ApplyEmployeeCustomerDiscount";
|
|
82
83
|
exports.MODIFY_EMPLOYEE_MANUAL_DISCOUNT_EVENT = "ModifyEmployeeManualDiscount";
|
|
83
84
|
exports.MODIFY_ITEM_MANUAL_DISCOUNT_EVENT = "ModifyItemManualDiscount";
|
|
@@ -24,3 +24,19 @@ export interface IDiscountAttributeListDefinition {
|
|
|
24
24
|
readonly name: ILabel;
|
|
25
25
|
readonly description: ILabel;
|
|
26
26
|
}
|
|
27
|
+
interface IValidationCriteria {
|
|
28
|
+
cardRangeBegin: string;
|
|
29
|
+
cardRangeEnd: string;
|
|
30
|
+
cardLength: number;
|
|
31
|
+
}
|
|
32
|
+
interface IRewardCardAvailable {
|
|
33
|
+
rewardPrintedName?: ILabel;
|
|
34
|
+
rewardPrintedNumberLabel?: ILabel;
|
|
35
|
+
autoPopulateCardNumberFromCustomer?: boolean;
|
|
36
|
+
validationCriteria: IValidationCriteria[];
|
|
37
|
+
useTenderId: number;
|
|
38
|
+
}
|
|
39
|
+
export interface IRewardCardDiscount extends IDiscountDefinition {
|
|
40
|
+
rewardCardsAvailable: IRewardCardAvailable[];
|
|
41
|
+
}
|
|
42
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|