@chevre/factory 4.235.0 → 4.236.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 +6 -13
- package/lib/chevre.js +12 -11
- package/lib/factory/action/cancel/reservation.d.ts +0 -2
- package/lib/factory/action/check/paymentMethod/movieTicket.d.ts +4 -4
- package/lib/factory/action/check/token.d.ts +4 -4
- package/lib/factory/action/check.d.ts +1 -1
- package/lib/factory/action/consume/use/reservation.d.ts +11 -1
- package/lib/factory/action/consume/use.d.ts +1 -4
- package/lib/factory/action/interact/confirm.d.ts +1 -2
- package/lib/factory/action/interact/inform.d.ts +2 -6
- package/lib/factory/action/transfer/give/pointAward.d.ts +3 -6
- package/lib/factory/action/transfer/return/moneyTransfer.d.ts +2 -6
- package/lib/factory/action/transfer/return/order.d.ts +6 -5
- package/lib/factory/action/transfer/return/paymentMethod.d.ts +4 -8
- package/lib/factory/action/transfer/return/pointAward.d.ts +2 -6
- package/lib/factory/action/transfer/return/{reservation.d.ts → reserveTransaction.d.ts} +10 -10
- package/lib/factory/action/transfer/{print.js → return/reserveTransaction.js} +0 -0
- package/lib/factory/action/transfer/return.d.ts +1 -4
- package/lib/factory/action/transfer/send/message/email.d.ts +5 -12
- package/lib/factory/action/transfer/send/order.d.ts +2 -2
- package/lib/factory/task/confirmCancelReserve.d.ts +3 -3
- package/lib/factory/task/returnReserveTransaction.d.ts +14 -0
- package/lib/factory/{action/transfer/print/ticket.js → task/returnReserveTransaction.js} +0 -0
- package/lib/factory/taskName.d.ts +4 -0
- package/lib/factory/taskName.js +4 -0
- package/lib/factory/transaction/returnOrder.d.ts +0 -2
- package/package.json +1 -1
- package/lib/factory/action/transfer/print/ticket.d.ts +0 -21
- package/lib/factory/action/transfer/print.d.ts +0 -13
- package/lib/factory/action/transfer/return/reservation.js +0 -2
package/lib/chevre.d.ts
CHANGED
|
@@ -31,13 +31,11 @@ import * as RefundActionFactory from './factory/action/trade/refund';
|
|
|
31
31
|
import * as GiveActionFactory from './factory/action/transfer/give';
|
|
32
32
|
import * as GivePointAwardActionFactory from './factory/action/transfer/give/pointAward';
|
|
33
33
|
import * as MoneyTransferActionFactory from './factory/action/transfer/moneyTransfer';
|
|
34
|
-
import * as PrintActionFactory from './factory/action/transfer/print';
|
|
35
|
-
import * as PrintTicketActionFactory from './factory/action/transfer/print/ticket';
|
|
36
34
|
import * as ReturnMoneyTransferActionFactory from './factory/action/transfer/return/moneyTransfer';
|
|
37
35
|
import * as ReturnOrderActionFactory from './factory/action/transfer/return/order';
|
|
38
36
|
import * as ReturnPaymentMethodActionFactory from './factory/action/transfer/return/paymentMethod';
|
|
39
37
|
import * as ReturnPointAwardActionFactory from './factory/action/transfer/return/pointAward';
|
|
40
|
-
import * as
|
|
38
|
+
import * as ReturnReserveTransactionActionFactory from './factory/action/transfer/return/reserveTransaction';
|
|
41
39
|
import * as SendEmailMessageActionFactory from './factory/action/transfer/send/message/email';
|
|
42
40
|
import * as SendOrderActionFactory from './factory/action/transfer/send/order';
|
|
43
41
|
import * as DeleteActionFactory from './factory/action/update/delete';
|
|
@@ -150,6 +148,7 @@ import * as ReserveTaskFactory from './factory/task/reserve';
|
|
|
150
148
|
import * as ReturnMoneyTransferTaskFactory from './factory/task/returnMoneyTransfer';
|
|
151
149
|
import * as ReturnOrderTaskFactory from './factory/task/returnOrder';
|
|
152
150
|
import * as ReturnPointAwardTaskFactory from './factory/task/returnPointAward';
|
|
151
|
+
import * as ReturnReserveTransactionTaskFactory from './factory/task/returnReserveTransaction';
|
|
153
152
|
import * as SendEmailMessageTaskFactory from './factory/task/sendEmailMessage';
|
|
154
153
|
import * as SendOrderTaskFactory from './factory/task/sendOrder';
|
|
155
154
|
import * as TriggerWebhookTaskFactory from './factory/task/triggerWebhook';
|
|
@@ -247,12 +246,6 @@ export declare namespace action {
|
|
|
247
246
|
export import IAttributes = GiveActionFactory.IAttributes;
|
|
248
247
|
export import pointAward = GivePointAwardActionFactory;
|
|
249
248
|
}
|
|
250
|
-
namespace print {
|
|
251
|
-
export import IAction = PrintActionFactory.IAction;
|
|
252
|
-
export import IAttributes = PrintActionFactory.IAttributes;
|
|
253
|
-
export import IRecipient = PrintActionFactory.IRecipient;
|
|
254
|
-
export import ticket = PrintTicketActionFactory;
|
|
255
|
-
}
|
|
256
249
|
/**
|
|
257
250
|
* 返却アクション
|
|
258
251
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -262,7 +255,7 @@ export declare namespace action {
|
|
|
262
255
|
export import order = ReturnOrderActionFactory;
|
|
263
256
|
export import paymentMethod = ReturnPaymentMethodActionFactory;
|
|
264
257
|
export import pointAward = ReturnPointAwardActionFactory;
|
|
265
|
-
export import
|
|
258
|
+
export import reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
266
259
|
}
|
|
267
260
|
namespace send {
|
|
268
261
|
namespace message {
|
|
@@ -387,9 +380,9 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
387
380
|
export import reservationType = ReservationType;
|
|
388
381
|
export import seller = SellerFactory;
|
|
389
382
|
export declare namespace task {
|
|
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;
|
|
383
|
+
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.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.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;
|
|
384
|
+
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.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.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;
|
|
385
|
+
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.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.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;
|
|
393
386
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
394
387
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
395
388
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
package/lib/chevre.js
CHANGED
|
@@ -24,22 +24,20 @@ var ConfirmPayActionFactory = require("./factory/action/interact/confirm/pay");
|
|
|
24
24
|
var ConfirmRegisterServiceActionFactory = require("./factory/action/interact/confirm/registerService");
|
|
25
25
|
var ConfirmReservationActionFactory = require("./factory/action/interact/confirm/reservation");
|
|
26
26
|
var InformActionFactory = require("./factory/action/interact/inform");
|
|
27
|
-
// import * as RegisterProgramMembershipActionFactory from './factory/action/interact/register/programMembership';
|
|
28
27
|
var RegisterServiceActionFactory = require("./factory/action/interact/register/service");
|
|
29
|
-
// import * as UnRegisterActionFactory from './factory/action/interact/unRegister';
|
|
30
|
-
// import * as UnRegisterProgramMembershipActionFactory from './factory/action/interact/unRegister/programMembership';
|
|
31
28
|
var ReserveActionFactory = require("./factory/action/reserve");
|
|
32
29
|
var OrderActionFactory = require("./factory/action/trade/order");
|
|
33
30
|
var PayActionFactory = require("./factory/action/trade/pay");
|
|
34
31
|
var RefundActionFactory = require("./factory/action/trade/refund");
|
|
35
32
|
var GivePointAwardActionFactory = require("./factory/action/transfer/give/pointAward");
|
|
36
33
|
var MoneyTransferActionFactory = require("./factory/action/transfer/moneyTransfer");
|
|
37
|
-
|
|
34
|
+
// import * as PrintActionFactory from './factory/action/transfer/print';
|
|
35
|
+
// import * as PrintTicketActionFactory from './factory/action/transfer/print/ticket';
|
|
38
36
|
var ReturnMoneyTransferActionFactory = require("./factory/action/transfer/return/moneyTransfer");
|
|
39
37
|
var ReturnOrderActionFactory = require("./factory/action/transfer/return/order");
|
|
40
38
|
var ReturnPaymentMethodActionFactory = require("./factory/action/transfer/return/paymentMethod");
|
|
41
39
|
var ReturnPointAwardActionFactory = require("./factory/action/transfer/return/pointAward");
|
|
42
|
-
var
|
|
40
|
+
var ReturnReserveTransactionActionFactory = require("./factory/action/transfer/return/reserveTransaction");
|
|
43
41
|
var SendEmailMessageActionFactory = require("./factory/action/transfer/send/message/email");
|
|
44
42
|
var SendOrderActionFactory = require("./factory/action/transfer/send/order");
|
|
45
43
|
var DeleteMemberActionFactory = require("./factory/action/update/delete/member");
|
|
@@ -225,10 +223,14 @@ var action;
|
|
|
225
223
|
// tslint:disable-next-line:no-shadowed-variable
|
|
226
224
|
give.pointAward = GivePointAwardActionFactory;
|
|
227
225
|
})(give = transfer.give || (transfer.give = {}));
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
226
|
+
// export namespace print {
|
|
227
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
228
|
+
// export import IAction = PrintActionFactory.IAction;
|
|
229
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
230
|
+
// export import IAttributes = PrintActionFactory.IAttributes;
|
|
231
|
+
// export import IRecipient = PrintActionFactory.IRecipient;
|
|
232
|
+
// export import ticket = PrintTicketActionFactory;
|
|
233
|
+
// }
|
|
232
234
|
/**
|
|
233
235
|
* 返却アクション
|
|
234
236
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -242,8 +244,7 @@ var action;
|
|
|
242
244
|
// tslint:disable-next-line:no-shadowed-variable
|
|
243
245
|
returnAction.paymentMethod = ReturnPaymentMethodActionFactory;
|
|
244
246
|
returnAction.pointAward = ReturnPointAwardActionFactory;
|
|
245
|
-
|
|
246
|
-
returnAction.reservation = ReturnReservationActionFactory;
|
|
247
|
+
returnAction.reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
247
248
|
})(returnAction = transfer.returnAction || (transfer.returnAction = {}));
|
|
248
249
|
var send;
|
|
249
250
|
(function (send) {
|
|
@@ -2,7 +2,6 @@ import * as ActionFactory from '../../action';
|
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
4
4
|
import { IReservation as IEventReservation } from '../../reservation/event';
|
|
5
|
-
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
6
5
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
7
6
|
/**
|
|
8
7
|
* 予約キャンセル対象
|
|
@@ -25,7 +24,6 @@ export interface IPurpose {
|
|
|
25
24
|
*/
|
|
26
25
|
id: string;
|
|
27
26
|
}
|
|
28
|
-
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
29
27
|
export interface IPotentialActions {
|
|
30
28
|
}
|
|
31
29
|
/**
|
|
@@ -4,7 +4,7 @@ import { OrganizationType } from '../../../organizationType';
|
|
|
4
4
|
import { IMovieTicket } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
5
5
|
import * as CheckActionFactory from '../../check';
|
|
6
6
|
import * as PayActionFactory from '../../trade/pay';
|
|
7
|
-
export declare type IAgent = ActionFactory.
|
|
7
|
+
export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
8
8
|
export declare type IPurchaseNumberAuthIn = surfrock.service.auth.factory.IPurchaseNumberAuthIn;
|
|
9
9
|
export declare type IPurchaseNumberAuthResult = surfrock.service.auth.factory.IPurchaseNumberAuthResult;
|
|
10
10
|
export declare type IMovieTicketResult = IMovieTicket;
|
|
@@ -28,13 +28,13 @@ export interface IResult {
|
|
|
28
28
|
}
|
|
29
29
|
export declare type IError = any;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* ムビチケ確認アクション属性
|
|
32
32
|
*/
|
|
33
33
|
export interface IAttributes extends CheckActionFactory.IAttributes<IObject, IResult> {
|
|
34
|
-
object: IObject;
|
|
35
34
|
agent: IAgent;
|
|
35
|
+
object: IObject;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* ムビチケ確認アクション
|
|
39
39
|
*/
|
|
40
40
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import * as CheckActionFactory from '../check';
|
|
3
|
-
export declare type IAgent = ActionFactory.
|
|
3
|
+
export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
4
4
|
export interface IObject {
|
|
5
5
|
token: string;
|
|
6
6
|
}
|
|
7
7
|
export declare type IResult = any;
|
|
8
8
|
export declare type IError = any;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* トークン確認アクション属性
|
|
11
11
|
*/
|
|
12
12
|
export interface IAttributes extends CheckActionFactory.IAttributes<IObject, IResult> {
|
|
13
|
-
object: IObject;
|
|
14
13
|
agent: IAgent;
|
|
14
|
+
object: IObject;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* トークン確認アクション
|
|
18
18
|
*/
|
|
19
19
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -5,6 +5,6 @@ export declare type IResult = any;
|
|
|
5
5
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.CheckAction, TObject, TResult> {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* 確認アクション
|
|
9
9
|
*/
|
|
10
10
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
+
import { IParticipantAsPerson, IParticipantAsWebApplication } from '../../../action';
|
|
1
2
|
import { PlaceType } from '../../../placeType';
|
|
2
3
|
import { IReservation } from '../../../reservation/event';
|
|
3
4
|
import * as UseActionFactory from '../use';
|
|
5
|
+
export declare type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
4
6
|
export declare type IObject = IReservation[];
|
|
5
7
|
export declare type IResult = any;
|
|
6
8
|
export interface ILocation {
|
|
7
9
|
typeOf: PlaceType.Place;
|
|
10
|
+
/**
|
|
11
|
+
* 入場ゲートコード
|
|
12
|
+
*/
|
|
8
13
|
identifier: string;
|
|
9
14
|
}
|
|
10
15
|
export declare type IPotentialActions = any;
|
|
16
|
+
export interface IInstrument {
|
|
17
|
+
token?: string;
|
|
18
|
+
}
|
|
11
19
|
export interface IAttributes extends UseActionFactory.IAttributes<IObject, IResult> {
|
|
20
|
+
agent: IAgent;
|
|
21
|
+
instrument?: IInstrument;
|
|
12
22
|
location?: ILocation;
|
|
13
23
|
potentialActions?: IPotentialActions;
|
|
14
24
|
}
|
|
15
25
|
/**
|
|
16
|
-
*
|
|
26
|
+
* 予約使用アクション
|
|
17
27
|
*/
|
|
18
28
|
export declare type IAction = UseActionFactory.IAction<IAttributes>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
3
|
export declare type IObject = any;
|
|
6
4
|
export declare type IResult = any;
|
|
7
5
|
export declare type IPurpose = any;
|
|
8
6
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.UseAction, TObject, TResult> {
|
|
9
|
-
agent: IAgent;
|
|
10
7
|
purpose?: IPurpose;
|
|
11
8
|
}
|
|
12
9
|
/**
|
|
13
|
-
*
|
|
10
|
+
* 使用アクション
|
|
14
11
|
*/
|
|
15
12
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import * as OrderFactory from '../../order';
|
|
4
|
-
import { IProject } from '../../project';
|
|
5
4
|
import { TransactionType } from '../../transactionType';
|
|
6
|
-
export declare type IAgent =
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
7
6
|
export declare type IObject = any;
|
|
8
7
|
export interface ITransactionPurpose {
|
|
9
8
|
typeOf: TransactionType;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
|
|
4
|
-
export interface IAgent {
|
|
5
|
-
id: string;
|
|
6
|
-
typeOf: OrganizationType.Project;
|
|
7
|
-
}
|
|
3
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
8
4
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
9
5
|
export declare type IObject = any;
|
|
10
6
|
export declare type IPurpose = any;
|
|
@@ -18,6 +14,6 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
18
14
|
purpose?: IPurpose;
|
|
19
15
|
}
|
|
20
16
|
/**
|
|
21
|
-
*
|
|
17
|
+
* 通知アクション
|
|
22
18
|
*/
|
|
23
19
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
+
import * as ActionFactory from '../../../action';
|
|
1
2
|
import * as OrderFactory from '../../../order';
|
|
2
|
-
import { OrganizationType } from '../../../organizationType';
|
|
3
3
|
import { ObjectType as AuthorizePointAwardActionObjectType } from '../../authorize/award/point';
|
|
4
4
|
import * as GiveActionFactory from '../give';
|
|
5
|
-
export
|
|
6
|
-
id: string;
|
|
7
|
-
typeOf: OrganizationType.Project;
|
|
8
|
-
}
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
9
6
|
export import ObjectType = AuthorizePointAwardActionObjectType;
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
8
|
+
* ポイント特典付与対象
|
|
12
9
|
*/
|
|
13
10
|
export interface IObject {
|
|
14
11
|
typeOf: ObjectType;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { OrganizationType } from '../../../organizationType';
|
|
3
2
|
import * as MoneyTransferActionFactory from '../moneyTransfer';
|
|
4
3
|
import * as ReturnActionFactory from '../return';
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
typeOf: OrganizationType.Project;
|
|
8
|
-
}
|
|
9
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
4
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
5
|
+
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
10
6
|
/**
|
|
11
7
|
* 返却対象は入金アクション
|
|
12
8
|
*/
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
|
+
import * as WebAPIFactory from '../../../service/webAPI';
|
|
3
4
|
import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
|
|
4
|
-
import { IAttributes as
|
|
5
|
+
import { IAttributes as IReturnReserveTransactionActionAttributes } from '../../transfer/return/reserveTransaction';
|
|
5
6
|
import * as ReturnActionFactory from '../return';
|
|
6
7
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
7
8
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
8
9
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
9
|
-
export declare type IAgent = ActionFactory.
|
|
10
|
-
export declare type IRecipient = ActionFactory.
|
|
10
|
+
export declare type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsProject;
|
|
11
|
+
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
11
12
|
/**
|
|
12
13
|
* 返却対象は注文
|
|
13
14
|
*/
|
|
@@ -20,9 +21,9 @@ export declare type IObject = OrderFactory.ISimpleOrder & {
|
|
|
20
21
|
export declare type IResult = any;
|
|
21
22
|
export interface IPotentialActions {
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* 予約取引返却アクション
|
|
24
25
|
*/
|
|
25
|
-
cancelReservation?:
|
|
26
|
+
cancelReservation?: IReturnReserveTransactionActionAttributes<WebAPIFactory.Identifier>[];
|
|
26
27
|
/**
|
|
27
28
|
* 返金アクション
|
|
28
29
|
*/
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
2
|
import * as OrderFactory from '../../../order';
|
|
4
|
-
import { OrganizationType } from '../../../organizationType';
|
|
5
3
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../../transfer/send/message/email';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
typeOf: OrganizationType.Project;
|
|
9
|
-
}
|
|
4
|
+
import * as ReturnActionFactory from '../return';
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
10
6
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
11
7
|
export declare type IObject = OrderFactory.IPaymentMethod;
|
|
12
8
|
export declare type IResult = any;
|
|
@@ -17,7 +13,7 @@ export interface IPotentialActions {
|
|
|
17
13
|
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
18
14
|
}
|
|
19
15
|
export declare type IPurpose = OrderFactory.ISimpleOrder;
|
|
20
|
-
export interface IAttributes extends
|
|
16
|
+
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
21
17
|
agent: IAgent;
|
|
22
18
|
recipient: IRecipient;
|
|
23
19
|
purpose: IPurpose;
|
|
@@ -26,4 +22,4 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.Return
|
|
|
26
22
|
/**
|
|
27
23
|
* 決済返却アクション
|
|
28
24
|
*/
|
|
29
|
-
export declare type IAction =
|
|
25
|
+
export declare type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
3
|
import { ISimpleOrder } from '../../../order';
|
|
4
|
-
import { OrganizationType } from '../../../organizationType';
|
|
5
4
|
import * as ReturnActionFactory from '../return';
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
typeOf: OrganizationType.Project;
|
|
9
|
-
}
|
|
10
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
11
7
|
/**
|
|
12
8
|
* 入金取引識別子で指定する場合のオブジェクト
|
|
13
9
|
*/
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import * as COA from '@motionpicture/coa-service';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
|
-
import { ActionType } from '../../../actionType';
|
|
4
3
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
4
|
import { ISimpleOrder } from '../../../order';
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
typeOf: OrganizationType.Project;
|
|
11
|
-
}
|
|
5
|
+
import { Identifier as WebAPIIdentifier, IService } from '../../../service/webAPI';
|
|
6
|
+
import * as ReturnActionFactory from '../return';
|
|
7
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
8
|
+
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
12
9
|
export declare type IObject4COA = COA.factory.reserve.IStateReserveArgs & {
|
|
13
10
|
typeOf: 'COAReserveTransaction';
|
|
14
11
|
};
|
|
@@ -19,11 +16,14 @@ export interface IObject4Chevre {
|
|
|
19
16
|
export declare type IObject<T extends WebAPIIdentifier> = T extends WebAPIIdentifier.COA ? IObject4COA : IObject4Chevre;
|
|
20
17
|
export declare type IPurpose = ISimpleOrder;
|
|
21
18
|
export declare type IResult = any;
|
|
22
|
-
export
|
|
19
|
+
export declare type IInstrument<T extends WebAPIIdentifier> = IService<T>;
|
|
20
|
+
export interface IAttributes<T extends WebAPIIdentifier> extends ReturnActionFactory.IAttributes<IObject<T>, IResult> {
|
|
23
21
|
agent: IAgent;
|
|
22
|
+
instrument: IInstrument<T>;
|
|
24
23
|
purpose: IPurpose;
|
|
24
|
+
recipient: IRecipient;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* 予約取引返却アクション
|
|
28
28
|
*/
|
|
29
|
-
export declare type IAction<
|
|
29
|
+
export declare type IAction<T extends WebAPIIdentifier> = ReturnActionFactory.IAction<IAttributes<T>>;
|
|
File without changes
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
3
|
export declare type IObject = any;
|
|
6
4
|
export declare type IResult = any;
|
|
7
5
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
|
|
8
|
-
recipient: ActionFactory.IParticipant;
|
|
9
6
|
}
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
8
|
+
* 返却アクション
|
|
12
9
|
*/
|
|
13
10
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,31 +1,24 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../../action';
|
|
2
2
|
import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
|
|
3
|
-
import {
|
|
3
|
+
import { ISimpleOrder } from '../../../../order';
|
|
4
4
|
import * as SendActionFactory from '../../send';
|
|
5
|
-
export
|
|
6
|
-
id: string;
|
|
7
|
-
typeOf: OrganizationType.Project;
|
|
8
|
-
}
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
9
6
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
8
|
+
* オブジェクト
|
|
12
9
|
* 「Eメール通知」を送信する
|
|
13
10
|
*/
|
|
14
11
|
export declare type IObject = IEmailMessage;
|
|
15
12
|
export declare type IResult = any;
|
|
16
|
-
export declare type IPurpose =
|
|
13
|
+
export declare type IPurpose = ISimpleOrder;
|
|
17
14
|
export interface IPotentialActions {
|
|
18
15
|
}
|
|
19
16
|
export interface IAttributes extends SendActionFactory.IAttributes<IObject, IResult> {
|
|
20
17
|
agent: IAgent;
|
|
21
|
-
/**
|
|
22
|
-
* 何目的のEメール送信か
|
|
23
|
-
* @example 注文配送通知メールであれば、Order型オブジェクト
|
|
24
|
-
*/
|
|
25
18
|
purpose: IPurpose;
|
|
26
19
|
potentialActions?: IPotentialActions;
|
|
27
20
|
}
|
|
28
21
|
/**
|
|
29
|
-
* E
|
|
22
|
+
* Eメール送信アクション
|
|
30
23
|
*/
|
|
31
24
|
export declare type IAction = SendActionFactory.IAction<IAttributes>;
|
|
@@ -7,7 +7,7 @@ import { IAttributes as IRegisterServiceAttributes } from '../../interact/confir
|
|
|
7
7
|
import { IAttributes as IConfirmReservationActionAttributes } from '../../interact/confirm/reservation';
|
|
8
8
|
import * as SendActionFactory from '../send';
|
|
9
9
|
import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
|
|
10
|
-
export declare type IAgent = ActionFactory.
|
|
10
|
+
export declare type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsWebApplication;
|
|
11
11
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
12
12
|
export declare type IObject = OrderFactory.ISimpleOrder;
|
|
13
13
|
/**
|
|
@@ -38,6 +38,6 @@ export interface IAttributes extends SendActionFactory.IAttributes<IObject, IRes
|
|
|
38
38
|
potentialActions?: IPotentialActions;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* 注文配送アクション
|
|
42
42
|
*/
|
|
43
43
|
export declare type IAction = SendActionFactory.IAction<IAttributes>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IAttributes as
|
|
1
|
+
import { IAttributes as IReturnActionAttributes } from '../action/transfer/return/reserveTransaction';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as WebAPIFactory from '../service/webAPI';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
-
export declare type IData =
|
|
6
|
+
export declare type IData = IReturnActionAttributes<WebAPIFactory.Identifier>;
|
|
7
7
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
8
8
|
name: TaskName.ConfirmCancelReserve;
|
|
9
9
|
data: IData;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* 予約資産取引返却タスク
|
|
13
13
|
*/
|
|
14
14
|
export declare type ITask = IExtendId<IAttributes>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAttributes as IReturnActionAttributes } from '../action/transfer/return/reserveTransaction';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as WebAPIFactory from '../service/webAPI';
|
|
4
|
+
import * as TaskFactory from '../task';
|
|
5
|
+
import { TaskName } from '../taskName';
|
|
6
|
+
export declare type IData = IReturnActionAttributes<WebAPIFactory.Identifier>;
|
|
7
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
8
|
+
name: TaskName.ReturnReserveTransaction;
|
|
9
|
+
data: IData;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 予約資産取引返却タスク
|
|
13
|
+
*/
|
|
14
|
+
export declare type ITask = IExtendId<IAttributes>;
|
|
File without changes
|
package/lib/factory/taskName.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/return/order';
|
|
2
|
-
import * as ReturnReservationActionFactory from '../action/transfer/return/reservation';
|
|
3
2
|
import { IExtendId } from '../autoGenerated';
|
|
4
3
|
import { IMerchantReturnPolicy } from '../merchantReturnPolicy';
|
|
5
4
|
import { IInformParams, IProject } from '../project';
|
|
@@ -57,7 +56,6 @@ export interface IStartParams extends TransactionFactory.IStartParams<Transactio
|
|
|
57
56
|
* 注文通知パラメータ
|
|
58
57
|
*/
|
|
59
58
|
export declare type IInformOrderParams = IInformParams;
|
|
60
|
-
export import ICancelReservationObject = ReturnReservationActionFactory.IObject;
|
|
61
59
|
declare type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
62
60
|
/**
|
|
63
61
|
* クレジットカード返金パラメータ
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../../action';
|
|
2
|
-
import * as PrintActionFactory from '../print';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
-
export interface ISearchConditions {
|
|
6
|
-
agentId: string;
|
|
7
|
-
ticketToken: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ITicket {
|
|
10
|
-
ticketToken: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IObject extends ITicket {
|
|
13
|
-
typeOf: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type IResult = any;
|
|
16
|
-
export interface IAttributes extends PrintActionFactory.IAttributes<IObject, IResult> {
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* チケット印刷アクションインターフェース
|
|
20
|
-
*/
|
|
21
|
-
export declare type IAction = PrintActionFactory.IAction<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../action';
|
|
2
|
-
import { ActionType } from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
-
export declare type IObject = any;
|
|
6
|
-
export declare type IResult = any;
|
|
7
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.PrintAction, TObject, TResult> {
|
|
8
|
-
agent: IAgent;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 印刷アクションインターフェース
|
|
12
|
-
*/
|
|
13
|
-
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|