@trusted-solutions/sdit.models 0.65.1-alpha.0 → 0.65.1-alpha.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaymentServiceProvider, PaymentType, ServeType } from '../enums';
|
|
2
|
-
import { MultiLanguageText, OrderDiscount, Quantity, OOReasonCode, CustomerPointDetail, ProductType, AttributeType } from '../models';
|
|
2
|
+
import { MultiLanguageText, OrderDiscount, Quantity, OOReasonCode, CustomerPointDetail, ProductType, AttributeType, OnlineAvailability } from '../models';
|
|
3
3
|
import { Address, DayOfWeekTimePeriod } from './store';
|
|
4
4
|
export interface SOOrderError {
|
|
5
5
|
type: SOOrderErrorType;
|
|
@@ -272,6 +272,7 @@ export interface SOPublicProduct {
|
|
|
272
272
|
mainStoreProductId?: string;
|
|
273
273
|
type?: ProductType;
|
|
274
274
|
isComboOnly?: boolean;
|
|
275
|
+
onlineAvailability?: OnlineAvailability;
|
|
275
276
|
}
|
|
276
277
|
export interface SOPublicProductWithContext {
|
|
277
278
|
menuId: string;
|
|
@@ -315,6 +316,7 @@ export interface SOPublicProductAttribute {
|
|
|
315
316
|
type?: AttributeType;
|
|
316
317
|
/** type為combo時,必填 */
|
|
317
318
|
productId?: string;
|
|
319
|
+
onlineAvailability?: OnlineAvailability;
|
|
318
320
|
}
|
|
319
321
|
export interface SOPublicDiscountRule {
|
|
320
322
|
discountRuleNo: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.65.1-alpha.
|
|
3
|
+
"version": "0.65.1-alpha.1",
|
|
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": {
|