@trusted-solutions/sdit.models 0.40.0-alpha.4 → 0.40.0-alpha.6
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/lambda/online-ordering.d.ts +2 -3
- package/models/order.d.ts +2 -6
- package/package.json +1 -1
|
@@ -158,11 +158,10 @@ export interface SOGetStoreInfoResponse {
|
|
|
158
158
|
*/
|
|
159
159
|
availableGuest?: boolean;
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Cognito user pool web client id
|
|
162
162
|
* @Default undefined
|
|
163
|
-
* undefined: 全部
|
|
164
163
|
*/
|
|
165
|
-
|
|
164
|
+
userPoolWebClientId?: string;
|
|
166
165
|
/**
|
|
167
166
|
* 是否啟用集點
|
|
168
167
|
* @Default undefined
|
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?:
|
|
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.
|
|
3
|
+
"version": "0.40.0-alpha.6",
|
|
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": {
|