@chevre/factory 4.239.0 → 4.240.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.
|
@@ -16,6 +16,7 @@ export declare enum ActionType {
|
|
|
16
16
|
PrintAction = "PrintAction",
|
|
17
17
|
RefundAction = "RefundAction",
|
|
18
18
|
RegisterAction = "RegisterAction",
|
|
19
|
+
ReplaceAction = "ReplaceAction",
|
|
19
20
|
ReserveAction = "ReserveAction",
|
|
20
21
|
ReturnAction = "ReturnAction",
|
|
21
22
|
SendAction = "SendAction",
|
|
@@ -20,6 +20,7 @@ var ActionType;
|
|
|
20
20
|
ActionType["PrintAction"] = "PrintAction";
|
|
21
21
|
ActionType["RefundAction"] = "RefundAction";
|
|
22
22
|
ActionType["RegisterAction"] = "RegisterAction";
|
|
23
|
+
ActionType["ReplaceAction"] = "ReplaceAction";
|
|
23
24
|
ActionType["ReserveAction"] = "ReserveAction";
|
|
24
25
|
ActionType["ReturnAction"] = "ReturnAction";
|
|
25
26
|
ActionType["SendAction"] = "SendAction";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/return/order';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import { IMerchantReturnPolicy } from '../merchantReturnPolicy';
|
|
4
|
-
import {
|
|
4
|
+
import { IProject } from '../project';
|
|
5
5
|
import * as TransactionFactory from '../transaction';
|
|
6
6
|
import { TransactionType } from '../transactionType';
|
|
7
7
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
@@ -32,7 +32,7 @@ export interface IReturnableOrder {
|
|
|
32
32
|
* 注文返品開始パラメータ
|
|
33
33
|
*/
|
|
34
34
|
export interface IStartParamsWithoutDetail {
|
|
35
|
-
project: IProject
|
|
35
|
+
project: Omit<IProject, 'settings' | 'name' | 'subscription'>;
|
|
36
36
|
expires: Date;
|
|
37
37
|
agent: IAgent;
|
|
38
38
|
object: {
|
|
@@ -52,15 +52,11 @@ export interface IStartParams extends TransactionFactory.IStartParams<Transactio
|
|
|
52
52
|
*/
|
|
53
53
|
seller: ISeller;
|
|
54
54
|
}
|
|
55
|
-
/**
|
|
56
|
-
* 注文通知パラメータ
|
|
57
|
-
*/
|
|
58
|
-
export declare type IInformOrderParams = IInformParams;
|
|
59
55
|
declare type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
60
56
|
/**
|
|
61
|
-
*
|
|
57
|
+
* 返金アクションカスタムパラメータ
|
|
62
58
|
*/
|
|
63
|
-
export interface
|
|
59
|
+
export interface IRefundParams {
|
|
64
60
|
object: {
|
|
65
61
|
object: {
|
|
66
62
|
paymentMethod: {
|
|
@@ -91,12 +87,12 @@ export interface IReturnOrderActionParams {
|
|
|
91
87
|
potentialActions?: {
|
|
92
88
|
/**
|
|
93
89
|
* クレジットカード返金アクションについてカスタマイズする場合に指定
|
|
90
|
+
* 属性名称がrefundCreditCardであるが、全ての決済方法に適用可能
|
|
94
91
|
*/
|
|
95
|
-
refundCreditCard?:
|
|
92
|
+
refundCreditCard?: IRefundParams[];
|
|
96
93
|
/**
|
|
97
94
|
* ムビチケ着券取消を実行するかどうか
|
|
98
95
|
*/
|
|
99
|
-
refundMovieTicket?: boolean;
|
|
100
96
|
/**
|
|
101
97
|
* Eメール送信アクション
|
|
102
98
|
*/
|