@trusted-solutions/sdit.models 0.47.1-alpha.0 → 0.48.1-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.
@@ -8,6 +8,8 @@ export interface Receipt {
8
8
  id: string;
9
9
  /** Copy `invoiceConfig` from `Store` */
10
10
  invoiceConfig: InvoiceConfig;
11
+ /** Copy `displayId` from `Store` */
12
+ storeDisplayId?: string;
11
13
  /**
12
14
  * 有值代表「線上訂單 & 線上付款」。
13
15
  * 若是「線上訂單 & 線上付款」,會走線上取消訂單並退款流程。
@@ -40,6 +42,8 @@ export interface Receipt {
40
42
  /** 混合支付細項 */
41
43
  mixPayments?: Transaction[];
42
44
  mixRefunds?: Transaction[];
45
+ /** 結帳備註,會印在收據上且上傳發票雲 */
46
+ note?: string;
43
47
  }
44
48
  export interface Transaction {
45
49
  accountId: string;
package/models/store.d.ts CHANGED
@@ -23,6 +23,8 @@ export interface Operator {
23
23
  }
24
24
  export interface Store {
25
25
  id?: string;
26
+ /** 讓店家自行定義的店號,會印在發票及收據上 */
27
+ displayId?: string;
26
28
  name: string;
27
29
  createdAt?: number;
28
30
  company: CompanyEnum;
@@ -214,6 +216,8 @@ export interface Store {
214
216
  * 單店設定,用來覆蓋 Brand 的 StorePointsName
215
217
  */
216
218
  onlineStorePointsName?: string;
219
+ /** 品牌 */
220
+ brandNo?: string;
217
221
  }
218
222
  export declare enum PointProvider {
219
223
  Posky = "Posky",
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AA4OnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AAiPnH,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.47.1-alpha.0",
3
+ "version": "0.48.1-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": {