@trusted-solutions/sdit.models 0.17.0-alpha.1 → 0.17.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.
|
@@ -41,6 +41,15 @@ export interface CancelOnlineOrderResponse {
|
|
|
41
41
|
partialUpdateOrder: Partial<Order>;
|
|
42
42
|
voidedReceipt?: Receipt;
|
|
43
43
|
}
|
|
44
|
+
export interface CompleteOnlineOrderRequest {
|
|
45
|
+
storeId: string;
|
|
46
|
+
orderId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface CompleteOnlineOrderResponse {
|
|
49
|
+
storeId: string;
|
|
50
|
+
orderId: string;
|
|
51
|
+
partialUpdateOrder: Partial<Order>;
|
|
52
|
+
}
|
|
44
53
|
export interface GetOMMConfigRequest {
|
|
45
54
|
storeId: string;
|
|
46
55
|
onlinePlatformType: OnlinePlatformType;
|
|
@@ -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.17.0-alpha.
|
|
3
|
+
"version": "0.17.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": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"moment": "^2.29.1",
|
|
18
|
-
"
|
|
18
|
+
"tslib": "^2.0.0",
|
|
19
19
|
"uuid": "^8.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|