@trusted-solutions/sdit.models 0.40.0-alpha.4 → 0.40.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.
package/models/order.d.ts CHANGED
@@ -8,7 +8,7 @@ import { InvoiceCarrierType } from './../enums/invoice-carrier-type';
8
8
  import { OrderStatus } from '../enums/order-status';
9
9
  import { DiscountModuleTypeEnum, OrderSourceType, CloseType, OrderItemPaidStatus, OrderItemStatus } from '../enums';
10
10
  import { Receipt, Transaction } from './receipt';
11
- import { Customer } from './customer';
11
+ import { Customer, CustomerPointDetail } from './customer';
12
12
  import { Address, Operator } from './store';
13
13
  import { OnlinePlatformType, OOReasonCode, OnlineOrderMappingWarningCode } from './online-integration';
14
14
  import { SOEater, SOOperateParty } from './online-ordering';
@@ -184,7 +184,7 @@ export interface Order extends BaseOrder {
184
184
  /**
185
185
  * 訂單使用的點數
186
186
  */
187
- points?: pointsDetail[];
187
+ points?: CustomerPointDetail[];
188
188
  }
189
189
  export interface OrderItem {
190
190
  id?: string;
@@ -459,7 +459,3 @@ export interface ClosingSalesProductDetail {
459
459
  amount: number;
460
460
  quantity: number;
461
461
  }
462
- export interface pointsDetail {
463
- points_name: string;
464
- redeem_points: number;
465
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.40.0-alpha.4",
3
+ "version": "0.40.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": {