@trusted-solutions/sdit.models 0.55.0 → 0.57.0-alpha.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.
|
@@ -192,6 +192,12 @@ export interface SOGetStoreInfoResponse {
|
|
|
192
192
|
*/
|
|
193
193
|
brandNo?: string;
|
|
194
194
|
brand?: any;
|
|
195
|
+
/** 加入購物車時,是否與相同品相合併 */
|
|
196
|
+
mergeSameItem?: boolean;
|
|
197
|
+
/** 內用服務費 0~100(%) */
|
|
198
|
+
dineInServiceChargePercent?: number;
|
|
199
|
+
/** 外帶服務費 0~100(%) */
|
|
200
|
+
takeoutServiceChargePercent?: number;
|
|
195
201
|
}
|
|
196
202
|
/*******************************/
|
|
197
203
|
/*******************************/
|
|
@@ -251,10 +257,20 @@ export interface SOValidateMutationResponse {
|
|
|
251
257
|
totalDiscountAmount: number;
|
|
252
258
|
/**
|
|
253
259
|
* 外送費
|
|
260
|
+
* undefined=沒有此收費名目
|
|
254
261
|
*/
|
|
255
262
|
deliveryCharge?: number;
|
|
256
263
|
/**
|
|
257
|
-
*
|
|
264
|
+
* 服務費
|
|
265
|
+
* undefined=沒有此收費名目
|
|
266
|
+
*/
|
|
267
|
+
serviceCharge?: number;
|
|
268
|
+
/**
|
|
269
|
+
* 點數折抵前總金額=小計+折扣+外送費+服務費
|
|
270
|
+
*/
|
|
271
|
+
totalBeforePoints: number;
|
|
272
|
+
/**
|
|
273
|
+
* 點數折抵後總金額=購物車總金額-本次折抵點數
|
|
258
274
|
*/
|
|
259
275
|
totalAmount: number;
|
|
260
276
|
/**
|
package/models/menu.d.ts
CHANGED
|
@@ -114,6 +114,8 @@ export interface SOOrder {
|
|
|
114
114
|
discount: OrderDiscount;
|
|
115
115
|
totalDiscountAmount: number;
|
|
116
116
|
deliveryCharge?: number;
|
|
117
|
+
serviceCharge?: number;
|
|
118
|
+
totalBeforePoints: number;
|
|
117
119
|
taxAmount: number;
|
|
118
120
|
salesAmountExcludeTax: number;
|
|
119
121
|
exemptTaxSalesAmount: number;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAgHD,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;AAkCD,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
|
@@ -225,6 +225,12 @@ export interface Store {
|
|
|
225
225
|
onlineStorePointsName?: string;
|
|
226
226
|
/** 品牌 */
|
|
227
227
|
brandNo?: string;
|
|
228
|
+
/** 加入購物車時,是否與相同品相合併 */
|
|
229
|
+
onlineMergeSameItem?: boolean;
|
|
230
|
+
/** 內用服務費 0~100(%) */
|
|
231
|
+
dineInServiceChargePercent?: number;
|
|
232
|
+
/** 外帶服務費 0~100(%) */
|
|
233
|
+
takeoutServiceChargePercent?: number;
|
|
228
234
|
}
|
|
229
235
|
export declare enum PointProvider {
|
|
230
236
|
Posky = "Posky",
|
package/models/store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AA+PnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0-alpha.0",
|
|
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": {
|