@aptos-scp/scp-component-store-selling-features-domain-model 1.8.0 → 1.10.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/lib/domain/model/configuration/IFeatureAccessConfig.d.ts +6 -0
- package/lib/domain/model/index.d.ts +1 -0
- package/lib/domain/model/storeGoals/StoreGoalsSummary.d.ts +12 -0
- package/lib/domain/model/storeGoals/StoreGoalsSummary.js +3 -0
- package/lib/domain/model/storeGoals/index.d.ts +1 -0
- package/lib/domain/model/storeGoals/index.js +3 -0
- package/package.json +1 -1
|
@@ -58,6 +58,7 @@ export interface IFeatureAccessConfig {
|
|
|
58
58
|
preconfiguredOverrides?: PreconfiguredDiscountOverrides;
|
|
59
59
|
byFeeType?: IFeeType;
|
|
60
60
|
defaultSelection?: IDefaultSelectionForManualDiscount;
|
|
61
|
+
addAttachments?: Attachments;
|
|
61
62
|
}
|
|
62
63
|
export interface ITranslatableMessage {
|
|
63
64
|
[locale: string]: string;
|
|
@@ -169,6 +170,11 @@ export interface SubscriptionSavings {
|
|
|
169
170
|
value: string;
|
|
170
171
|
reason: Reason;
|
|
171
172
|
}
|
|
173
|
+
export interface Attachments {
|
|
174
|
+
enabled?: boolean;
|
|
175
|
+
required?: boolean;
|
|
176
|
+
maximumAttachments?: number;
|
|
177
|
+
}
|
|
172
178
|
export declare enum ConfirmSubscriptionsOptions {
|
|
173
179
|
Always = "Always",
|
|
174
180
|
Never = "Never"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Money } from "@aptos-scp/scp-component-business-core";
|
|
2
|
+
export interface IStoreGoalsSummary {
|
|
3
|
+
retailLocationId: string;
|
|
4
|
+
todaysGoals: IStoreGoals;
|
|
5
|
+
weekToDateGoals: IStoreGoals;
|
|
6
|
+
monthToDateGoals: IStoreGoals;
|
|
7
|
+
}
|
|
8
|
+
export interface IStoreGoals {
|
|
9
|
+
fromBusinessDayDate: Date;
|
|
10
|
+
toBusinessDayDate: Date;
|
|
11
|
+
goalAmount?: Money;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./StoreGoalsSummary";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.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",
|