@chevre/factory 4.226.0 → 4.229.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/chevre.d.ts +4 -5
- package/lib/chevre.js +2 -4
- package/lib/factory/account.d.ts +17 -5
- package/lib/factory/account.js +15 -1
- package/lib/factory/action/transfer/return/reservation.d.ts +1 -1
- package/lib/factory/assetTransaction/cancelReservation.d.ts +7 -12
- package/lib/factory/assetTransaction/moneyTransfer.d.ts +11 -9
- package/lib/factory/assetTransaction/pay.d.ts +9 -13
- package/lib/factory/assetTransaction/refund.d.ts +6 -7
- package/lib/factory/assetTransaction/registerService.d.ts +10 -16
- package/lib/factory/assetTransaction/reserve.d.ts +7 -12
- package/lib/factory/assetTransaction.d.ts +39 -8
- package/lib/factory/task/confirmRegisterServiceTransaction.d.ts +13 -0
- package/lib/factory/task/confirmRegisterServiceTransaction.js +2 -0
- package/lib/factory/taskName.d.ts +4 -0
- package/lib/factory/taskName.js +4 -0
- package/package.json +1 -1
- package/lib/factory/accountStatusType.d.ts +0 -13
- package/lib/factory/accountStatusType.js +0 -17
package/lib/chevre.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import * as cognito from './cognito';
|
|
|
6
6
|
export import cognito = cognito;
|
|
7
7
|
export import waiter = waiter;
|
|
8
8
|
import * as AccountFactory from './factory/account';
|
|
9
|
-
import { AccountStatusType } from './factory/accountStatusType';
|
|
10
9
|
import * as ActionFactory from './factory/action';
|
|
11
10
|
import * as AuthorizeActionFactory from './factory/action/authorize';
|
|
12
11
|
import * as PointAwardAuthorizeActionFactory from './factory/action/authorize/award/point';
|
|
@@ -130,6 +129,7 @@ import * as ConfirmPayTaskFactory from './factory/task/confirmPay';
|
|
|
130
129
|
import * as ConfirmPayTransactionTaskFactory from './factory/task/confirmPayTransaction';
|
|
131
130
|
import * as ConfirmRefundTaskFactory from './factory/task/confirmRefund';
|
|
132
131
|
import * as ConfirmRegisterServiceTaskFactory from './factory/task/confirmRegisterService';
|
|
132
|
+
import * as ConfirmRegisterServiceTransactionTaskFactory from './factory/task/confirmRegisterServiceTransaction';
|
|
133
133
|
import * as ConfirmReservationTaskFactory from './factory/task/confirmReservation';
|
|
134
134
|
import * as ConfirmReserveTransactionTaskFactory from './factory/task/confirmReserveTransaction';
|
|
135
135
|
import * as DeleteAuthorizationTaskFactory from './factory/task/deleteAuthorization';
|
|
@@ -179,7 +179,6 @@ import * as errors from './factory/errors';
|
|
|
179
179
|
export import errors = errors;
|
|
180
180
|
export import errorCode = ErrorCode;
|
|
181
181
|
export import account = AccountFactory;
|
|
182
|
-
export import accountStatusType = AccountStatusType;
|
|
183
182
|
export import actionStatusType = ActionStatusType;
|
|
184
183
|
export import actionType = ActionType;
|
|
185
184
|
export declare namespace action {
|
|
@@ -388,9 +387,9 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
388
387
|
export import reservationType = ReservationType;
|
|
389
388
|
export import seller = SellerFactory;
|
|
390
389
|
export declare namespace task {
|
|
391
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
392
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
393
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
390
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
391
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
392
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
394
393
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
395
394
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
396
395
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
package/lib/chevre.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report =
|
|
3
|
+
exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -10,7 +10,6 @@ var cognito = require("./cognito");
|
|
|
10
10
|
exports.cognito = cognito;
|
|
11
11
|
exports.waiter = waiter;
|
|
12
12
|
var AccountFactory = require("./factory/account");
|
|
13
|
-
var accountStatusType_1 = require("./factory/accountStatusType");
|
|
14
13
|
var PointAwardAuthorizeActionFactory = require("./factory/action/authorize/award/point");
|
|
15
14
|
var AuthorizeMoneyTransferOfferActionFactory = require("./factory/action/authorize/offer/moneyTransfer");
|
|
16
15
|
var AuthorizeProductOfferActionFactory = require("./factory/action/authorize/offer/product");
|
|
@@ -145,7 +144,6 @@ var errors = require("./factory/errors");
|
|
|
145
144
|
exports.errors = errors;
|
|
146
145
|
exports.errorCode = errorCode_1.ErrorCode;
|
|
147
146
|
exports.account = AccountFactory;
|
|
148
|
-
exports.accountStatusType = accountStatusType_1.AccountStatusType;
|
|
149
147
|
exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
150
148
|
exports.actionType = actionType_1.ActionType;
|
|
151
149
|
var action;
|
package/lib/factory/account.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AccountTransactionType } from './account/transactionType';
|
|
2
|
-
import { AccountStatusType } from './accountStatusType';
|
|
3
2
|
import { AccountType } from './accountType';
|
|
4
3
|
import { IProject } from './project';
|
|
5
4
|
import { SortType } from './sortType';
|
|
@@ -8,6 +7,19 @@ import * as TransactionFactory from './account/transaction';
|
|
|
8
7
|
import * as DepositTransactionFactory from './account/transaction/deposit';
|
|
9
8
|
import * as TransferTransactionFactory from './account/transaction/transfer';
|
|
10
9
|
import * as WithdrawTransactionFactory from './account/transaction/withdraw';
|
|
10
|
+
/**
|
|
11
|
+
* 口座ステータスタイプ
|
|
12
|
+
*/
|
|
13
|
+
export declare enum AccountStatusType {
|
|
14
|
+
/**
|
|
15
|
+
* 開設済
|
|
16
|
+
*/
|
|
17
|
+
Opened = "Opened",
|
|
18
|
+
/**
|
|
19
|
+
* 解約済
|
|
20
|
+
*/
|
|
21
|
+
Closed = "Closed"
|
|
22
|
+
}
|
|
11
23
|
export declare namespace action {
|
|
12
24
|
export import moneyTransfer = MoneyTransferActionFactory;
|
|
13
25
|
}
|
|
@@ -23,7 +35,7 @@ export declare namespace transaction {
|
|
|
23
35
|
}
|
|
24
36
|
export import transactionType = AccountTransactionType;
|
|
25
37
|
/**
|
|
26
|
-
*
|
|
38
|
+
* 進行中取引
|
|
27
39
|
*/
|
|
28
40
|
export interface IPendingTransaction {
|
|
29
41
|
typeOf: AccountTransactionType;
|
|
@@ -37,7 +49,7 @@ export interface IPendingTransaction {
|
|
|
37
49
|
amount: number;
|
|
38
50
|
}
|
|
39
51
|
/**
|
|
40
|
-
*
|
|
52
|
+
* 口座
|
|
41
53
|
*/
|
|
42
54
|
export interface IAccount {
|
|
43
55
|
project: IProject;
|
|
@@ -83,7 +95,7 @@ export interface IAccount {
|
|
|
83
95
|
status?: AccountStatusType;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
86
|
-
*
|
|
98
|
+
* ソート条件
|
|
87
99
|
*/
|
|
88
100
|
export interface ISortOrder {
|
|
89
101
|
/**
|
|
@@ -98,7 +110,7 @@ export interface IProjectSearchConditions {
|
|
|
98
110
|
};
|
|
99
111
|
}
|
|
100
112
|
/**
|
|
101
|
-
*
|
|
113
|
+
* 口座検索条件
|
|
102
114
|
*/
|
|
103
115
|
export interface ISearchConditions {
|
|
104
116
|
limit?: number;
|
package/lib/factory/account.js
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transactionType = exports.transaction = exports.action = void 0;
|
|
3
|
+
exports.transactionType = exports.transaction = exports.action = exports.AccountStatusType = void 0;
|
|
4
4
|
var transactionType_1 = require("./account/transactionType");
|
|
5
5
|
var MoneyTransferActionFactory = require("./account/action/moneyTransfer");
|
|
6
6
|
var DepositTransactionFactory = require("./account/transaction/deposit");
|
|
7
7
|
var TransferTransactionFactory = require("./account/transaction/transfer");
|
|
8
8
|
var WithdrawTransactionFactory = require("./account/transaction/withdraw");
|
|
9
|
+
/**
|
|
10
|
+
* 口座ステータスタイプ
|
|
11
|
+
*/
|
|
12
|
+
var AccountStatusType;
|
|
13
|
+
(function (AccountStatusType) {
|
|
14
|
+
/**
|
|
15
|
+
* 開設済
|
|
16
|
+
*/
|
|
17
|
+
AccountStatusType["Opened"] = "Opened";
|
|
18
|
+
/**
|
|
19
|
+
* 解約済
|
|
20
|
+
*/
|
|
21
|
+
AccountStatusType["Closed"] = "Closed";
|
|
22
|
+
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|
|
9
23
|
var action;
|
|
10
24
|
(function (action) {
|
|
11
25
|
action.moneyTransfer = MoneyTransferActionFactory;
|
|
@@ -21,7 +21,7 @@ export declare type IPurpose = ISimpleOrder;
|
|
|
21
21
|
export declare type IResult = any;
|
|
22
22
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
|
|
23
23
|
agent: IAgent;
|
|
24
|
-
purpose
|
|
24
|
+
purpose: IPurpose;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* 予約返却アクション
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
import { IAttributes as ICancelReservationActionAttributes } from '../action/cancel/reservation';
|
|
2
|
-
import * as
|
|
2
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
3
3
|
import { ITransaction as IReserveTransaction } from '../assetTransaction/reserve';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IClientUser } from '../clientUser';
|
|
7
7
|
import { IReservation as IEventReservation } from '../reservation/event';
|
|
8
|
-
export
|
|
8
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
|
+
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
+
* 取引開始パラメータ
|
|
11
12
|
*/
|
|
12
|
-
export declare type IStartParams =
|
|
13
|
-
export interface IAgent {
|
|
14
|
-
typeOf: string;
|
|
15
|
-
id?: string;
|
|
16
|
-
name: string;
|
|
17
|
-
url?: string;
|
|
18
|
-
}
|
|
13
|
+
export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObject>;
|
|
19
14
|
export interface IResult {
|
|
20
15
|
}
|
|
21
16
|
/**
|
|
@@ -56,7 +51,7 @@ export declare type ITransaction = IExtendId<IAttributes>;
|
|
|
56
51
|
/**
|
|
57
52
|
* 取引属性
|
|
58
53
|
*/
|
|
59
|
-
export interface IAttributes extends
|
|
54
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
60
55
|
}
|
|
61
|
-
export interface ISearchConditions extends
|
|
56
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.CancelReservation> {
|
|
62
57
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
2
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
6
6
|
import { OrderType } from '../order';
|
|
7
7
|
import { PermitType } from '../permit';
|
|
8
|
-
export
|
|
9
|
-
export declare type IRecipient = IMoneyTransferRecipient
|
|
8
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
|
+
export declare type IRecipient = IMoneyTransferRecipient & {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
10
12
|
export declare type IFromLocation = ILocation;
|
|
11
13
|
export declare type IToLocation = ILocation;
|
|
12
14
|
/**
|
|
@@ -88,13 +90,13 @@ export interface IObjectBeforeStart {
|
|
|
88
90
|
*/
|
|
89
91
|
force?: boolean;
|
|
90
92
|
}
|
|
91
|
-
export interface IStartParamsWithoutDetail extends
|
|
93
|
+
export interface IStartParamsWithoutDetail extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectWithoutDetail> {
|
|
92
94
|
recipient: IRecipient;
|
|
93
95
|
}
|
|
94
|
-
export interface IStartParamsBeforeStart extends
|
|
96
|
+
export interface IStartParamsBeforeStart extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectBeforeStart> {
|
|
95
97
|
recipient: IRecipient;
|
|
96
98
|
}
|
|
97
|
-
export interface IStartParams extends
|
|
99
|
+
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
|
|
98
100
|
recipient: IRecipient;
|
|
99
101
|
}
|
|
100
102
|
export declare type IResult = any;
|
|
@@ -105,13 +107,13 @@ export interface IPotentialActions {
|
|
|
105
107
|
*/
|
|
106
108
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
107
109
|
}
|
|
108
|
-
export interface IAttributes extends
|
|
110
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* 転送取引
|
|
112
114
|
*/
|
|
113
115
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
114
|
-
export interface ISearchConditions extends
|
|
116
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
115
117
|
object?: {
|
|
116
118
|
fromLocation?: {
|
|
117
119
|
identifier?: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import { IParticipant } from '../action';
|
|
3
2
|
import { IAttributes as IPayActionAttributes, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient } from '../action/trade/pay';
|
|
4
|
-
import * as
|
|
3
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
5
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
6
5
|
import { IExtendId } from '../autoGenerated';
|
|
7
6
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
@@ -10,14 +9,14 @@ import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
|
|
|
10
9
|
import { IOnPaymentStatusChanged } from '../project';
|
|
11
10
|
import { IPropertyValue } from '../propertyValue';
|
|
12
11
|
import { PaymentServiceType } from '../service/paymentService';
|
|
13
|
-
export
|
|
12
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
14
13
|
export declare type IRecipient = IPayRecipient;
|
|
15
14
|
export declare type IObjectWithoutDetail = IObject;
|
|
16
|
-
export declare type IStartParamsWithoutDetail =
|
|
15
|
+
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObject> & {
|
|
17
16
|
recipient: IRecipient;
|
|
18
17
|
purpose?: IPayPurpose;
|
|
19
18
|
};
|
|
20
|
-
export interface IStartParams extends
|
|
19
|
+
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObject> {
|
|
21
20
|
recipient: IRecipient;
|
|
22
21
|
}
|
|
23
22
|
export interface IPotentialActionsParams {
|
|
@@ -26,7 +25,7 @@ export interface IPotentialActionsParams {
|
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
28
|
+
* 確定パラメータ
|
|
30
29
|
*/
|
|
31
30
|
export interface IConfirmParams {
|
|
32
31
|
id?: string;
|
|
@@ -101,7 +100,7 @@ export interface IPaymentMethod {
|
|
|
101
100
|
creditCard?: ICreditCard;
|
|
102
101
|
}
|
|
103
102
|
/**
|
|
104
|
-
*
|
|
103
|
+
* 取引対象物
|
|
105
104
|
*/
|
|
106
105
|
export interface IObject {
|
|
107
106
|
typeOf: PaymentServiceType;
|
|
@@ -124,11 +123,8 @@ export interface IPotentialActions {
|
|
|
124
123
|
*/
|
|
125
124
|
pay: IPayActionAttributes[];
|
|
126
125
|
}
|
|
127
|
-
export
|
|
128
|
-
/**
|
|
129
|
-
* 転送取引インターフェース
|
|
130
|
-
*/
|
|
131
|
-
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
126
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
132
127
|
}
|
|
133
|
-
export
|
|
128
|
+
export declare type ITransaction = IExtendId<IAttributes>;
|
|
129
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Pay> {
|
|
134
130
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { AvailablePaymentMethodType, IPaymentMethod, IPayPurpose } from '../action/trade/pay';
|
|
2
2
|
import { IAttributes as IRefundActionAttributes, IRecipient as IRefundRecipient } from '../action/trade/refund';
|
|
3
|
-
import * as
|
|
3
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IOnPaymentStatusChanged } from '../project';
|
|
7
|
-
import { ISeller } from '../seller';
|
|
8
7
|
import { PaymentServiceType } from '../service/paymentService';
|
|
9
|
-
export
|
|
8
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
10
9
|
export declare type IRecipient = IRefundRecipient;
|
|
11
10
|
export interface IObjectWithoutDetail {
|
|
12
11
|
typeOf: PaymentServiceType;
|
|
@@ -17,8 +16,8 @@ export interface IObjectWithoutDetail {
|
|
|
17
16
|
paymentMethod: IPaymentMethod;
|
|
18
17
|
refundFee?: number;
|
|
19
18
|
}
|
|
20
|
-
export declare type IStartParamsWithoutDetail =
|
|
21
|
-
export interface IStartParams extends
|
|
19
|
+
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObjectWithoutDetail>;
|
|
20
|
+
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObject> {
|
|
22
21
|
}
|
|
23
22
|
export interface IPotentialActionsParams {
|
|
24
23
|
refund?: {
|
|
@@ -60,7 +59,7 @@ export declare type ITransaction = IExtendId<IAttributes>;
|
|
|
60
59
|
/**
|
|
61
60
|
* 返金取引
|
|
62
61
|
*/
|
|
63
|
-
export interface IAttributes extends
|
|
62
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
64
63
|
}
|
|
65
|
-
export interface ISearchConditions extends
|
|
64
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Refund> {
|
|
66
65
|
}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
import { IAttributes as IRegisterServiceActionAttributes } from '../action/interact/register/service';
|
|
2
2
|
import { IAttributes as IMoneyTransferActionAttributes } from '../action/transfer/moneyTransfer';
|
|
3
|
-
import * as
|
|
3
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { OfferType } from '../offerType';
|
|
7
7
|
import { IProduct, IServiceOutput } from '../product';
|
|
8
|
-
import
|
|
9
|
-
export declare type IStartParamsWithoutDetail =
|
|
8
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
|
+
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 取引開始パラメーター
|
|
12
12
|
* サービス: MembershipService,PaymentCardであればserviceOutputを発行する
|
|
13
13
|
*/
|
|
14
|
-
export declare type IStartParams =
|
|
15
|
-
export interface IAgent {
|
|
16
|
-
typeOf: IUnderNameType;
|
|
17
|
-
id?: string;
|
|
18
|
-
name: string;
|
|
19
|
-
url?: string;
|
|
20
|
-
}
|
|
14
|
+
export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObject>;
|
|
21
15
|
/**
|
|
22
|
-
*
|
|
16
|
+
* 確定パラメータ
|
|
23
17
|
*/
|
|
24
18
|
export interface IConfirmParams {
|
|
25
19
|
id?: string;
|
|
@@ -33,7 +27,7 @@ export interface IConfirmParams {
|
|
|
33
27
|
export interface IResult {
|
|
34
28
|
}
|
|
35
29
|
/**
|
|
36
|
-
*
|
|
30
|
+
* エラー
|
|
37
31
|
*/
|
|
38
32
|
export declare type IError = any;
|
|
39
33
|
export interface IAcceptedPointAward {
|
|
@@ -81,12 +75,12 @@ export interface IPotentialActions {
|
|
|
81
75
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
82
76
|
registerService: IRegisterServiceActionAttributes[];
|
|
83
77
|
}
|
|
84
|
-
export interface IAttributes extends
|
|
78
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
85
79
|
}
|
|
86
80
|
/**
|
|
87
|
-
*
|
|
81
|
+
* 取引
|
|
88
82
|
*/
|
|
89
83
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
90
|
-
export interface ISearchConditions extends
|
|
84
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.RegisterService> {
|
|
91
85
|
object?: any;
|
|
92
86
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ReserveActionFactory from '../action/reserve';
|
|
2
2
|
import { ActionType } from '../actionType';
|
|
3
|
-
import * as
|
|
3
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { ITicketOffer } from '../event/screeningEvent';
|
|
@@ -11,17 +11,12 @@ import * as ReservationFactory from '../reservation';
|
|
|
11
11
|
import { IReservation as IEventReservation, IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
|
|
12
12
|
import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
|
|
13
13
|
import { ReservationType } from '../reservationType';
|
|
14
|
-
export
|
|
14
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
15
|
+
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObjectWithoutDetail>;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* 取引開始パラメータ
|
|
17
18
|
*/
|
|
18
|
-
export declare type IStartParams =
|
|
19
|
-
export interface IAgent {
|
|
20
|
-
typeOf: ReservationFactory.IUnderNameType;
|
|
21
|
-
id?: string;
|
|
22
|
-
name: string;
|
|
23
|
-
url?: string;
|
|
24
|
-
}
|
|
19
|
+
export declare type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObject>;
|
|
25
20
|
export interface IAcceptedProgramMembershipUsedAsObject {
|
|
26
21
|
accessCode?: string;
|
|
27
22
|
/**
|
|
@@ -213,7 +208,7 @@ export interface IObject extends IReservationPackage {
|
|
|
213
208
|
export interface IPotentialActions {
|
|
214
209
|
reserve: ReserveActionFactory.IAttributes[];
|
|
215
210
|
}
|
|
216
|
-
export interface IAttributes extends
|
|
211
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
217
212
|
}
|
|
218
213
|
/**
|
|
219
214
|
* 予約取引
|
|
@@ -237,6 +232,6 @@ export interface IObjectSearchConditions {
|
|
|
237
232
|
};
|
|
238
233
|
};
|
|
239
234
|
}
|
|
240
|
-
export interface ISearchConditions extends
|
|
235
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Reserve> {
|
|
241
236
|
object?: IObjectSearchConditions;
|
|
242
237
|
}
|
|
@@ -1,13 +1,44 @@
|
|
|
1
1
|
import { AssetTransactionType } from './assetTransactionType';
|
|
2
2
|
import { IExtendId } from './autoGenerated';
|
|
3
|
+
import { OrganizationType } from './organizationType';
|
|
4
|
+
import { PersonType } from './personType';
|
|
3
5
|
import { IProject } from './project';
|
|
4
6
|
import { SortType } from './sortType';
|
|
7
|
+
import { IIdentifier } from './thing';
|
|
5
8
|
import { TransactionStatusType } from './transactionStatusType';
|
|
6
9
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
11
|
+
* 販売者主体
|
|
9
12
|
*/
|
|
10
|
-
export interface
|
|
13
|
+
export interface IAgentAsSeller {
|
|
14
|
+
typeOf: OrganizationType.Corporation;
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* 名称は必須
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
identifier?: IIdentifier;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 管理者主体
|
|
24
|
+
*/
|
|
25
|
+
export interface IAgentAsPerson {
|
|
26
|
+
typeOf: PersonType.Person;
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* 名称は必須
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
identifier?: IIdentifier;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 資産取引主体は販売者or管理者
|
|
36
|
+
*/
|
|
37
|
+
export declare type IAgent = IAgentAsSeller | IAgentAsPerson;
|
|
38
|
+
/**
|
|
39
|
+
* 資産取引開始パラメータ
|
|
40
|
+
*/
|
|
41
|
+
export interface IStartParams<T extends AssetTransactionType, TAgent extends IAgent, TRecipient, TObject> {
|
|
11
42
|
project: IProject;
|
|
12
43
|
/**
|
|
13
44
|
* 取引タイプ
|
|
@@ -39,11 +70,7 @@ export interface IStartParams<T extends AssetTransactionType, TAgent, TRecipient
|
|
|
39
70
|
expires: Date;
|
|
40
71
|
}
|
|
41
72
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
45
|
-
/**
|
|
46
|
-
* 取引属性インターフェース
|
|
73
|
+
* 資産取引属性
|
|
47
74
|
*/
|
|
48
75
|
export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
49
76
|
purpose?: any;
|
|
@@ -81,7 +108,11 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
81
108
|
potentialActions?: TPotentialActions;
|
|
82
109
|
};
|
|
83
110
|
/**
|
|
84
|
-
*
|
|
111
|
+
* 資産取引
|
|
112
|
+
*/
|
|
113
|
+
export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
114
|
+
/**
|
|
115
|
+
* ソート条件
|
|
85
116
|
*/
|
|
86
117
|
export interface ISortOrder {
|
|
87
118
|
startDate?: SortType;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
export declare type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
|
+
name: TaskName.ConfirmRegisterServiceTransaction;
|
|
8
|
+
data: IData;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* サービス登録資産取引確定タスク
|
|
12
|
+
*/
|
|
13
|
+
export declare type ITask = IExtendId<IAttributes>;
|
package/lib/factory/taskName.js
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountStatusType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* 口座ステータスタイプ
|
|
6
|
-
*/
|
|
7
|
-
var AccountStatusType;
|
|
8
|
-
(function (AccountStatusType) {
|
|
9
|
-
/**
|
|
10
|
-
* 開設済
|
|
11
|
-
*/
|
|
12
|
-
AccountStatusType["Opened"] = "Opened";
|
|
13
|
-
/**
|
|
14
|
-
* 解約済
|
|
15
|
-
*/
|
|
16
|
-
AccountStatusType["Closed"] = "Closed";
|
|
17
|
-
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|