@chevre/factory 4.259.0-alpha.2 → 4.259.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.
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
|
-
import
|
|
4
|
-
import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
|
|
5
|
-
import { IAttributes as IReturnReserveTransactionActionAttributes } from '../../transfer/return/reserveTransaction';
|
|
3
|
+
import { IAttributes as IReturnPaymentMethodActionAttributes } from '../../transfer/return/paymentMethod';
|
|
6
4
|
import * as ReturnActionFactory from '../return';
|
|
7
5
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
8
6
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
@@ -22,16 +20,23 @@ export declare type IResult = any;
|
|
|
22
20
|
export interface IPotentialActions {
|
|
23
21
|
/**
|
|
24
22
|
* 設定追加(2022-06-08~)
|
|
23
|
+
* 廃止(2022-08-10~)
|
|
25
24
|
*/
|
|
26
|
-
useConfirmRefund: boolean;
|
|
27
25
|
/**
|
|
28
26
|
* 予約取引返却アクション
|
|
27
|
+
* 廃止(2022-08-10~)
|
|
29
28
|
*/
|
|
30
|
-
cancelReservation?: IReturnReserveTransactionActionAttributes<WebAPIFactory.Identifier>[];
|
|
31
29
|
/**
|
|
32
30
|
* 返金アクション
|
|
31
|
+
* 廃止(2022-08-10~)
|
|
32
|
+
* @deprecated Use returnPaymentMethod
|
|
33
33
|
*/
|
|
34
|
-
refund:
|
|
34
|
+
refund: IReturnPaymentMethodActionAttributes[];
|
|
35
|
+
/**
|
|
36
|
+
* 決済返却アクション
|
|
37
|
+
* refundから移行(2022-08-10~)
|
|
38
|
+
*/
|
|
39
|
+
returnPaymentMethod: IReturnPaymentMethodActionAttributes[];
|
|
35
40
|
/**
|
|
36
41
|
* 入金返却アクション
|
|
37
42
|
*/
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -66,7 +66,10 @@ export interface IValidRateLimit {
|
|
|
66
66
|
scope: string;
|
|
67
67
|
unitInSeconds: number;
|
|
68
68
|
}
|
|
69
|
-
export declare type IHasMerchantReturnPolicy = Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'>
|
|
69
|
+
export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
|
|
70
|
+
id: string;
|
|
71
|
+
identifier: string;
|
|
72
|
+
})[];
|
|
70
73
|
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
71
74
|
/**
|
|
72
75
|
* offer interface
|
package/lib/factory/seller.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { OrganizationType } from './organizationType';
|
|
|
5
5
|
import { IProject } from './project';
|
|
6
6
|
import { IPropertyValue } from './propertyValue';
|
|
7
7
|
import { SortType } from './sortType';
|
|
8
|
-
export declare type ISellerMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee'
|
|
8
|
+
export declare type ISellerMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee'>;
|
|
9
9
|
export declare type IHasMerchantReturnPolicy = ISellerMerchantReturnPolicy[];
|
|
10
10
|
/**
|
|
11
11
|
* 利用可能決済インターフェース
|
package/lib/factory/taskName.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/return/order';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import { IMerchantReturnPolicy, ReturnFeesEnumeration } from '../merchantReturnPolicy';
|
|
3
4
|
import { IProject } from '../project';
|
|
4
|
-
import { ISellerMerchantReturnPolicy } from '../seller';
|
|
5
5
|
import * as TransactionFactory from '../transaction';
|
|
6
6
|
import { TransactionType } from '../transactionType';
|
|
7
7
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
@@ -118,13 +118,33 @@ export interface IConfirmParams {
|
|
|
118
118
|
*/
|
|
119
119
|
potentialActions?: IPotentialActionsParams;
|
|
120
120
|
}
|
|
121
|
+
export interface IReturnFeesMovieTicket {
|
|
122
|
+
/**
|
|
123
|
+
* 決済カードコード
|
|
124
|
+
*/
|
|
125
|
+
identifier: string;
|
|
126
|
+
/**
|
|
127
|
+
* 着券取消実行有無
|
|
128
|
+
*/
|
|
129
|
+
returnFees: ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* 取引に適用される返品ポリシー
|
|
133
|
+
*/
|
|
134
|
+
export declare type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees'> & {
|
|
135
|
+
returnFees: ReturnFeesEnumeration;
|
|
136
|
+
/**
|
|
137
|
+
* 決済カードコードごとの着券取消実行有無
|
|
138
|
+
*/
|
|
139
|
+
returnFeesMovieTicket?: IReturnFeesMovieTicket[];
|
|
140
|
+
};
|
|
121
141
|
/**
|
|
122
142
|
* 取引対象物
|
|
123
143
|
*/
|
|
124
144
|
export interface IObject {
|
|
125
145
|
order: IReturnableOrder[];
|
|
126
146
|
reason: Reason;
|
|
127
|
-
returnPolicy:
|
|
147
|
+
returnPolicy: IReturnPolicy;
|
|
128
148
|
}
|
|
129
149
|
export interface IPotentialActions {
|
|
130
150
|
/**
|