@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.
- package/lib/factory/action/interact/confirm/pay.d.ts +11 -9
- package/lib/factory/action/interact/confirm/pay.js +0 -5
- package/lib/factory/task/confirmCancelReserve.d.ts +1 -1
- package/lib/factory/task/confirmMoneyTransfer.d.ts +1 -1
- package/lib/factory/task/confirmPay.d.ts +3 -3
- package/lib/factory/task/confirmRefund.d.ts +1 -1
- package/lib/factory/task/confirmRegisterService.d.ts +1 -1
- package/lib/factory/task/confirmReservation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
|
-
import {
|
|
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
|
|
9
|
-
|
|
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:
|
|
15
|
+
paymentMethod: {
|
|
16
|
+
paymentMethodId: string;
|
|
17
|
+
};
|
|
18
|
+
transactionNumber?: string;
|
|
17
19
|
}
|
|
18
|
-
export declare type IObject =
|
|
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
|
|
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 = {}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IAttributes as
|
|
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 =
|
|
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>;
|