@trusted-solutions/sdit.models 0.28.0-alpha.10 → 0.28.0-alpha.12

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.
@@ -20,7 +20,13 @@ export declare enum SOOrderErrorType {
20
20
  /** 不開放點餐 */
21
21
  storeNotOpening = "storeNotOpening",
22
22
  /** 未啟用線上點餐功能 */
23
- storeNotEnabled = "storeNotEnabled"
23
+ storeNotEnabled = "storeNotEnabled",
24
+ /** 未啟用外送 */
25
+ deliveryNotEnabled = "deliveryNotEnabled",
26
+ /** 未啟用預訂 */
27
+ reserveNotEnabled = "reserveNotEnabled",
28
+ /** 預訂時間不允許 */
29
+ reserveNotAllowed = "reserveNotAllowed"
24
30
  }
25
31
  export interface SOPaymentMethod {
26
32
  paymentServiceProvider: PaymentServiceProvider;
@@ -15,6 +15,12 @@ var SOOrderErrorType;
15
15
  SOOrderErrorType["storeNotOpening"] = "storeNotOpening";
16
16
  /** 未啟用線上點餐功能 */
17
17
  SOOrderErrorType["storeNotEnabled"] = "storeNotEnabled";
18
+ /** 未啟用外送 */
19
+ SOOrderErrorType["deliveryNotEnabled"] = "deliveryNotEnabled";
20
+ /** 未啟用預訂 */
21
+ SOOrderErrorType["reserveNotEnabled"] = "reserveNotEnabled";
22
+ /** 預訂時間不允許 */
23
+ SOOrderErrorType["reserveNotAllowed"] = "reserveNotAllowed";
18
24
  })(SOOrderErrorType = exports.SOOrderErrorType || (exports.SOOrderErrorType = {}));
19
25
  var SOOperateParty;
20
26
  (function (SOOperateParty) {
@@ -1 +1 @@
1
- {"version":3,"file":"online-ordering.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/online-ordering.ts"],"names":[],"mappings":";;;AAeA,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B,YAAY;IACZ,qDAAiC,CAAA;IACjC,eAAe;IACf,iEAA6C,CAAA;IAC7C,WAAW;IACX,+CAA2B,CAAA;IAC3B,aAAa;IACb,mDAA+B,CAAA;IAC/B,YAAY;IACZ,uDAAmC,CAAA;IACnC,gBAAgB;IAChB,uDAAmC,CAAA;AACrC,CAAC,EAbW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAa3B;AAmDD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AA8FD,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACzC,sDAAmB,CAAA;IACnB,kEAA+B,CAAA;AACjC,CAAC,EAHW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAG1C;AAgCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB"}
1
+ {"version":3,"file":"online-ordering.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/online-ordering.ts"],"names":[],"mappings":";;;AAeA,IAAY,gBAmBX;AAnBD,WAAY,gBAAgB;IAC1B,YAAY;IACZ,qDAAiC,CAAA;IACjC,eAAe;IACf,iEAA6C,CAAA;IAC7C,WAAW;IACX,+CAA2B,CAAA;IAC3B,aAAa;IACb,mDAA+B,CAAA;IAC/B,YAAY;IACZ,uDAAmC,CAAA;IACnC,gBAAgB;IAChB,uDAAmC,CAAA;IACnC,YAAY;IACZ,6DAAyC,CAAA;IACzC,YAAY;IACZ,2DAAuC,CAAA;IACvC,cAAc;IACd,2DAAuC,CAAA;AACzC,CAAC,EAnBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAmB3B;AAmDD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AA8FD,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACzC,sDAAmB,CAAA;IACnB,kEAA+B,CAAA;AACjC,CAAC,EAHW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAG1C;AAgCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB"}
package/models/store.d.ts CHANGED
@@ -152,9 +152,13 @@ export interface Store {
152
152
  */
153
153
  onlineEnabled?: boolean;
154
154
  /**
155
- * 線上點餐支付方式
155
+ * 外帶外送線上點餐支付方式
156
156
  */
157
157
  onlinePaymentConfigs?: PaymentConfig[];
158
+ /**
159
+ * 內用線上點餐支付方式
160
+ */
161
+ onlineDineInPaymentConfigs?: PaymentConfig[];
158
162
  /**
159
163
  * 線上點餐預計等待時間(分)
160
164
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.28.0-alpha.10",
3
+ "version": "0.28.0-alpha.12",
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": {