@trusted-solutions/sdit.models 0.16.0 → 0.17.0-alpha.2

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.
@@ -14,6 +14,6 @@ export declare enum DataTableIndex {
14
14
  phone = "phone-index",
15
15
  email = "email-index",
16
16
  lastVisitTime = "lastVisitTime-index",
17
- GSI1 = "GSI1-index",
18
- GSI2 = "GSI2-index"
17
+ gsi1PkSortKey = "gsi1Pk-sortKey-index",
18
+ gsi2PkSortKey = "gsi2Pk-sortKey-index"
19
19
  }
@@ -20,7 +20,7 @@ var DataTableIndex;
20
20
  DataTableIndex["phone"] = "phone-index";
21
21
  DataTableIndex["email"] = "email-index";
22
22
  DataTableIndex["lastVisitTime"] = "lastVisitTime-index";
23
- DataTableIndex["GSI1"] = "GSI1-index";
24
- DataTableIndex["GSI2"] = "GSI2-index";
23
+ DataTableIndex["gsi1PkSortKey"] = "gsi1Pk-sortKey-index";
24
+ DataTableIndex["gsi2PkSortKey"] = "gsi2Pk-sortKey-index";
25
25
  })(DataTableIndex = exports.DataTableIndex || (exports.DataTableIndex = {}));
26
26
  //# sourceMappingURL=table-index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-index.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/table-index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAE7B,2CAA2C;IAC3C,gDAA6B,CAAA;IAC7B,gDAA6B,CAAA;AACjC,CAAC,EAVW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAU1B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACtB,2DAAyC,CAAA;IACzC,2CAAyB,CAAA;IACzB,oEAAkD,CAAA;IAClD,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;AACvB,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
1
+ {"version":3,"file":"table-index.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/table-index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAE7B,2CAA2C;IAC3C,gDAA6B,CAAA;IAC7B,gDAA6B,CAAA;AACjC,CAAC,EAVW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAU1B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACtB,2DAAyC,CAAA;IACzC,2CAAyB,CAAA;IACzB,oEAAkD,CAAA;IAClD,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,uDAAqC,CAAA;IACrC,wDAAsC,CAAA;IACtC,wDAAsC,CAAA;AAC1C,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
@@ -76,6 +76,11 @@ export interface SOGetStoreInfoResponse {
76
76
  * @Default [現場付款]
77
77
  */
78
78
  paymentMethods: SOPaymentMethod[];
79
+ /**
80
+ * 線上點餐預計等待時間(分)
81
+ * @Default 30
82
+ */
83
+ onlineEstimatedReadyForPickupTime: number;
79
84
  }
80
85
  /*******************************/
81
86
  /*******************************/
@@ -61,3 +61,9 @@ export interface NcccVX520PaymentConfig extends BasePaymentConfig {
61
61
  type: PaymentType.chinaUnionPay | PaymentType.creditCard | PaymentType.easyCard | PaymentType.iPass | PaymentType.iCash | PaymentType.happyCash;
62
62
  ip: string;
63
63
  }
64
+ export interface MyPayPayPagePaymentConfig extends BasePaymentConfig {
65
+ provider: PaymentServiceProvider.MyPayPayPage;
66
+ type: PaymentType.unknown;
67
+ storeUid: string;
68
+ storeKey: string;
69
+ }
package/models/store.d.ts CHANGED
@@ -135,7 +135,7 @@ export interface Store {
135
135
  */
136
136
  onlinePaymentConfigs?: PaymentConfig[];
137
137
  /**
138
- * 線上點餐預計等待時間
138
+ * 線上點餐預計等待時間(分)
139
139
  */
140
140
  onlineEstimatedReadyForPickupTime?: number;
141
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.16.0",
3
+ "version": "0.17.0-alpha.2",
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": {