@trusted-solutions/sdit.models 0.40.0-alpha.0 → 0.40.0-alpha.1
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 +5 -0
- package/package.json +1 -1
package/models/order.d.ts
CHANGED
|
@@ -181,6 +181,7 @@ export interface Order extends BaseOrder {
|
|
|
181
181
|
* 再將這個Transaction包成Receipt
|
|
182
182
|
*/
|
|
183
183
|
externalPayment?: Transaction;
|
|
184
|
+
points?: pointsDetail[];
|
|
184
185
|
}
|
|
185
186
|
export interface OrderItem {
|
|
186
187
|
id?: string;
|
|
@@ -455,3 +456,7 @@ export interface ClosingSalesProductDetail {
|
|
|
455
456
|
amount: number;
|
|
456
457
|
quantity: number;
|
|
457
458
|
}
|
|
459
|
+
export interface pointsDetail {
|
|
460
|
+
points_name: string;
|
|
461
|
+
redeem_points: number;
|
|
462
|
+
}
|
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.1",
|
|
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": {
|