@trusted-solutions/sdit.models 0.18.0-alpha.4 → 0.18.0-alpha.5

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.
@@ -9,9 +9,17 @@ export interface SOOrderError {
9
9
  unavailableCartItems?: SOUnavailableCartItem[];
10
10
  }
11
11
  export declare enum SOOrderErrorType {
12
+ /** 未啟用菜單 */
13
+ menuNotEnabled = "menuNotEnabled",
14
+ /** 菜單超出販售時間 */
15
+ menuOutOfServiceTime = "menuOutOfServiceTime",
16
+ /** 品項售完 */
12
17
  itemSoldOut = "itemSoldOut",
18
+ /** 品項金額改變 */
13
19
  amountChanged = "amountChanged",
20
+ /** 不開放點餐 */
14
21
  storeNotOpening = "storeNotOpening",
22
+ /** 未啟用線上點餐功能 */
15
23
  storeNotEnabled = "storeNotEnabled"
16
24
  }
17
25
  export interface SOPaymentMethod {
@@ -3,9 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SOOrderState = exports.SOUnavailableCartItemReasonCode = exports.SOOperateParty = exports.SOOrderErrorType = void 0;
4
4
  var SOOrderErrorType;
5
5
  (function (SOOrderErrorType) {
6
+ /** 未啟用菜單 */
7
+ SOOrderErrorType["menuNotEnabled"] = "menuNotEnabled";
8
+ /** 菜單超出販售時間 */
9
+ SOOrderErrorType["menuOutOfServiceTime"] = "menuOutOfServiceTime";
10
+ /** 品項售完 */
6
11
  SOOrderErrorType["itemSoldOut"] = "itemSoldOut";
12
+ /** 品項金額改變 */
7
13
  SOOrderErrorType["amountChanged"] = "amountChanged";
14
+ /** 不開放點餐 */
8
15
  SOOrderErrorType["storeNotOpening"] = "storeNotOpening";
16
+ /** 未啟用線上點餐功能 */
9
17
  SOOrderErrorType["storeNotEnabled"] = "storeNotEnabled";
10
18
  })(SOOrderErrorType = exports.SOOrderErrorType || (exports.SOOrderErrorType = {}));
11
19
  var 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,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,mDAA+B,CAAA;IAC/B,uDAAmC,CAAA;IACnC,uDAAmC,CAAA;AACrC,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B;AAgDD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAkFD,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;AA8BD,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,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;AAgDD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAkFD,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;AA8BD,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.18.0-alpha.4",
3
+ "version": "0.18.0-alpha.5",
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": {