@aptos-scp/scp-component-store-selling-features-domain-model 2.13.0 → 2.14.1

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.
@@ -24,3 +24,18 @@ export interface IDiscountAttributeListDefinition {
24
24
  readonly name: ILabel;
25
25
  readonly description: ILabel;
26
26
  }
27
+ export interface IValidationCriteria {
28
+ cardRangeBegin: string;
29
+ cardRangeEnd: string;
30
+ cardLength: number;
31
+ }
32
+ export 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
+ }
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.13.0",
3
+ "version": "2.14.1",
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",