@chevre/factory 4.241.0 → 4.242.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.
@@ -1,4 +1,4 @@
1
- import { AvailablePaymentMethodType, IPaymentMethod, IPayPurpose } from '../action/trade/pay';
1
+ import { AvailablePaymentMethodType, IPaymentMethod, IReturnActionAsPayPurpose } from '../action/trade/pay';
2
2
  import { IAttributes as IRefundActionAttributes, IRecipient as IRefundRecipient } from '../action/trade/refund';
3
3
  import * as AssetTransactionFactory from '../assetTransaction';
4
4
  import { AssetTransactionType } from '../assetTransactionType';
@@ -27,13 +27,14 @@ export declare type IObjectWithoutDetail = Omit<IObject, 'accountId' | 'paymentM
27
27
  export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObjectWithoutDetail>;
28
28
  export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObject> {
29
29
  }
30
+ export declare type IRefundPurpose = IReturnActionAsPayPurpose;
30
31
  export interface IPotentialActionsParams {
31
32
  refund?: {
32
- purpose?: IPayPurpose;
33
+ purpose?: IRefundPurpose;
33
34
  };
34
35
  }
35
36
  /**
36
- * 確定パラメーター
37
+ * 確定パラメータ
37
38
  */
38
39
  export interface IConfirmParams {
39
40
  id?: string;
@@ -60,5 +61,8 @@ export interface ISearchConditions extends AssetTransactionFactory.ISearchCondit
60
61
  accountId?: {
61
62
  $eq?: string;
62
63
  };
64
+ paymentMethodId?: {
65
+ $eq?: string;
66
+ };
63
67
  };
64
68
  }
@@ -36,8 +36,11 @@ export interface IAttributes extends IPaymentCard {
36
36
  serviceOutput: IServiceOutput;
37
37
  }
38
38
  /**
39
- * MovieTicket決済カードインターフェース
39
+ * MovieTicket決済カード
40
40
  */
41
41
  export interface IMovieTicket extends IAttributes {
42
+ /**
43
+ * 決済方法区分コード
44
+ */
42
45
  typeOf: string;
43
46
  }
@@ -4,7 +4,7 @@ import * as TaskFactory from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export declare type IData = IReturnActionAttributes;
6
6
  export interface IAttributes extends TaskFactory.IAttributes {
7
- name: TaskName.ConfirmRefund;
7
+ name: TaskName.ReturnPayTransaction;
8
8
  data: IData;
9
9
  }
10
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.241.0",
3
+ "version": "4.242.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",