@chevre/factory 4.209.0 → 4.210.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,24 +1,26 @@
1
1
  import * as ActionFactory from '../../../action';
2
2
  import { ActionType } from '../../../actionType';
3
- import { IPaymentMethod, ISimpleOrder } from '../../../order';
3
+ import { AssetTransactionType } from '../../../assetTransactionType';
4
+ import { ISimpleOrder } from '../../../order';
4
5
  import { IInstrument } from '../../authorize/paymentMethod/any';
5
6
  export declare type IAgent = ActionFactory.IParticipant;
6
7
  export declare type IRecipient = ActionFactory.IParticipant;
7
8
  export declare type IPurpose = ISimpleOrder;
8
- export declare enum ObjectType {
9
- PaymentMethod = "PaymentMethod"
10
- }
11
- export interface IPaymentService {
12
- typeOf: ObjectType;
9
+ export interface IPayAssetTransaction {
10
+ typeOf: AssetTransactionType.Pay;
13
11
  /**
14
12
  * 決済方法
13
+ * 必要最低限に(2022-05-16~)
15
14
  */
16
- paymentMethod: IPaymentMethod;
15
+ paymentMethod: {
16
+ paymentMethodId: string;
17
+ };
18
+ transactionNumber?: string;
17
19
  }
18
- export declare type IObject = IPaymentService[];
20
+ export declare type IObject = IPayAssetTransaction[];
19
21
  export declare type IResult = any;
20
22
  export interface IAttributes extends ActionFactory.IAttributes<ActionType.ConfirmAction, IObject, IResult> {
21
- instrument?: IInstrument;
23
+ instrument: IInstrument;
22
24
  purpose: IPurpose;
23
25
  }
24
26
  /**
@@ -1,7 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ObjectType = void 0;
4
- var ObjectType;
5
- (function (ObjectType) {
6
- ObjectType["PaymentMethod"] = "PaymentMethod";
7
- })(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
@@ -22,6 +22,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
22
22
  data: IData;
23
23
  }
24
24
  /**
25
- * 予約取消タスクインターフェース
25
+ * 予約取消確定タスク
26
26
  */
27
27
  export declare type ITask = IExtendId<IAttributes>;
@@ -8,6 +8,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * 通貨転送タスクファクトリー
11
+ * 通貨転送確定タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
@@ -1,13 +1,13 @@
1
- import { IAttributes as IPayActionAttributes } from '../action/interact/confirm/pay';
1
+ import { IAttributes as IConfirmPayActionAttributes } from '../action/interact/confirm/pay';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import * as TaskFactory from '../task';
4
4
  import { TaskName } from '../taskName';
5
- export declare type IData = IPayActionAttributes;
5
+ export declare type IData = IConfirmPayActionAttributes;
6
6
  export interface IAttributes extends TaskFactory.IAttributes {
7
7
  name: TaskName.ConfirmPay;
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * 決済タスクインターフェース
11
+ * 決済確定タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
@@ -8,6 +8,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * 返金タスクインターフェース
11
+ * 返金確定タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
@@ -8,6 +8,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * サービス登録タスクインターフェース
11
+ * サービス登録確定タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
@@ -9,6 +9,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
9
9
  data: IData;
10
10
  }
11
11
  /**
12
- * 予約確定タスクインターフェース
12
+ * 予約確定タスク
13
13
  */
14
14
  export declare type ITask = IExtendId<IAttributes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.209.0",
3
+ "version": "4.210.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",