@trusted-solutions/sdit.models 0.49.0-alpha.6 → 0.49.0-alpha.8
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/models/online-ordering.d.ts +17 -0
- package/package.json +1 -1
|
@@ -270,7 +270,24 @@ export interface SOPublicProductAttribute {
|
|
|
270
270
|
}
|
|
271
271
|
export interface SOPublicDiscountRule {
|
|
272
272
|
discountRuleNo: string;
|
|
273
|
+
beginDatetime: string;
|
|
274
|
+
endDatetime: string;
|
|
275
|
+
/** TargetCustomers */
|
|
276
|
+
targetCustomers: any;
|
|
277
|
+
/** DiscountRuleUseCondition */
|
|
278
|
+
useCondition: any;
|
|
279
|
+
/** 單次套用最高折扣金額 0/null/undefined: 無上限*/
|
|
280
|
+
maxDiscountAmount?: number;
|
|
281
|
+
/** 可重複套用優惠次數,0/null/undefined: 可無限重複套用 */
|
|
282
|
+
appliedCount?: number;
|
|
283
|
+
/**是否與其他同類優惠併用 undefined: 可以 */
|
|
284
|
+
isCombinable?: boolean;
|
|
273
285
|
name: string;
|
|
274
286
|
description: string;
|
|
275
287
|
isOrderLevelDiscount: boolean;
|
|
288
|
+
/** 限全單層級的discountRule,商品層級的請看 `SOPublicProduct.labelForCustomer` */
|
|
289
|
+
labelForCustomer: {
|
|
290
|
+
condition?: DiscountLabel;
|
|
291
|
+
benefit: DiscountLabel;
|
|
292
|
+
}[];
|
|
276
293
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.49.0-alpha.
|
|
3
|
+
"version": "0.49.0-alpha.8",
|
|
4
4
|
"description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|