@chevre/factory 4.235.0 → 4.238.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/authorize/offer/seatReservation.d.ts +6 -1
- package/lib/factory/action/cancel/reservation.d.ts +24 -9
- 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/categoryCode.d.ts +3 -3
- package/lib/factory/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
- package/lib/factory/priceSpecification/movieTicketTypeChargeSpecification.d.ts +10 -11
- package/lib/factory/priceSpecification/unitPriceSpecification.d.ts +10 -4
- 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) {
|
|
@@ -66,12 +66,17 @@ export interface IPendingTransaction {
|
|
|
66
66
|
typeOf: AssetTransactionType.Reserve;
|
|
67
67
|
transactionNumber: string;
|
|
68
68
|
}
|
|
69
|
+
export declare type IEvent = Omit<ScreeningEventFactory.IEvent, 'offers' | 'aggregateEntranceGate' | 'aggregateReservation' | 'aggregateOffer' | 'workPerformed'> & {
|
|
70
|
+
offers: {
|
|
71
|
+
offeredThrough: ScreeningEventFactory.IOfferedThrough;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
69
74
|
/**
|
|
70
75
|
* 承認アクション対象
|
|
71
76
|
*/
|
|
72
77
|
export declare type IObject<T extends WebAPIFactory.Identifier> = {
|
|
73
78
|
typeOf: ObjectType;
|
|
74
|
-
event?:
|
|
79
|
+
event?: IEvent;
|
|
75
80
|
acceptedOffer: IAcceptedOffer<T>[];
|
|
76
81
|
/**
|
|
77
82
|
* Chevre進行中取引
|
|
@@ -1,19 +1,38 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
4
|
+
import { EventType } from '../../eventType';
|
|
5
|
+
import { ProductType } from '../../product';
|
|
4
6
|
import { IReservation as IEventReservation } from '../../reservation/event';
|
|
5
|
-
import {
|
|
7
|
+
import { ReservationStatusType } from '../../reservationStatusType';
|
|
8
|
+
import { ReservationType } from '../../reservationType';
|
|
6
9
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
11
|
+
* 予約取消対象
|
|
9
12
|
*/
|
|
10
13
|
export declare type IObject = IEventReservation;
|
|
14
|
+
export interface IObject4future {
|
|
15
|
+
typeOf: ReservationType.EventReservation;
|
|
16
|
+
id: string;
|
|
17
|
+
issuedThrough: {
|
|
18
|
+
typeOf: ProductType.EventService;
|
|
19
|
+
};
|
|
20
|
+
reservationFor: {
|
|
21
|
+
typeOf: EventType.ScreeningEvent;
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
reservationNumber: string;
|
|
25
|
+
/**
|
|
26
|
+
* previousReservationStatusを変更時に指定するために必要
|
|
27
|
+
*/
|
|
28
|
+
reservationStatus: ReservationStatusType;
|
|
29
|
+
}
|
|
11
30
|
/**
|
|
12
|
-
*
|
|
31
|
+
* 予約取消結果
|
|
13
32
|
*/
|
|
14
33
|
export declare type IResult = any;
|
|
15
34
|
/**
|
|
16
|
-
*
|
|
35
|
+
* 予約取消目的
|
|
17
36
|
*/
|
|
18
37
|
export interface IPurpose {
|
|
19
38
|
/**
|
|
@@ -25,18 +44,14 @@ export interface IPurpose {
|
|
|
25
44
|
*/
|
|
26
45
|
id: string;
|
|
27
46
|
}
|
|
28
|
-
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
29
|
-
export interface IPotentialActions {
|
|
30
|
-
}
|
|
31
47
|
/**
|
|
32
48
|
* アクション属性
|
|
33
49
|
*/
|
|
34
50
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.CancelAction, IObject, IResult> {
|
|
35
51
|
agent: IAgent;
|
|
36
|
-
potentialActions?: IPotentialActions;
|
|
37
52
|
purpose: IPurpose;
|
|
38
53
|
}
|
|
39
54
|
/**
|
|
40
|
-
*
|
|
55
|
+
* 予約取消アクション
|
|
41
56
|
*/
|
|
42
57
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -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>;
|
|
@@ -66,13 +66,13 @@ export interface ICategoryCode extends IThing {
|
|
|
66
66
|
additionalProperty?: IPropertyValue<string>[];
|
|
67
67
|
paymentMethod?: {
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* 決済カード区分の場合、対応決済方法区分
|
|
70
70
|
*/
|
|
71
71
|
typeOf?: string;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* 検索条件
|
|
76
76
|
*/
|
|
77
77
|
export interface ISearchConditions {
|
|
78
78
|
limit?: number;
|
|
@@ -101,7 +101,7 @@ export interface ISearchConditions {
|
|
|
101
101
|
};
|
|
102
102
|
paymentMethod?: {
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* 決済カード区分の場合、対応決済方法区分
|
|
105
105
|
*/
|
|
106
106
|
typeOf?: {
|
|
107
107
|
$eq?: string;
|
|
@@ -2,7 +2,7 @@ import { ICategoryCode } from '../categoryCode';
|
|
|
2
2
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
3
3
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* 区分加算料金
|
|
6
6
|
*/
|
|
7
7
|
export declare type IPriceSpecification = BaseSpecification<PriceSpecificationType.CategoryCodeChargeSpecification> & {
|
|
8
8
|
price: number;
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
2
2
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
3
3
|
import { PaymentServiceType } from '../service/paymentService';
|
|
4
|
-
export interface
|
|
4
|
+
export interface IAppliesToMovieTicket {
|
|
5
5
|
typeOf: PaymentServiceType.MovieTicket;
|
|
6
6
|
/**
|
|
7
|
-
* 購入管理番号
|
|
7
|
+
* 購入管理番号
|
|
8
8
|
*/
|
|
9
9
|
identifier?: string;
|
|
10
10
|
/**
|
|
11
|
-
* pinコード
|
|
11
|
+
* pinコード
|
|
12
12
|
*/
|
|
13
|
-
accessCode?: string;
|
|
14
13
|
/**
|
|
15
14
|
* 決済カード区分
|
|
16
15
|
*/
|
|
17
|
-
serviceType
|
|
18
|
-
serviceOutput
|
|
16
|
+
serviceType: string;
|
|
17
|
+
serviceOutput: {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
19
|
+
* 決済方法区分
|
|
21
20
|
*/
|
|
22
|
-
typeOf
|
|
21
|
+
typeOf: string;
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* 決済カード加算料金
|
|
27
26
|
*/
|
|
28
27
|
export declare type IPriceSpecification = BaseSpecification<PriceSpecificationType.MovieTicketTypeChargeSpecification> & {
|
|
29
28
|
price: number;
|
|
@@ -32,7 +31,7 @@ export declare type IPriceSpecification = BaseSpecification<PriceSpecificationTy
|
|
|
32
31
|
*/
|
|
33
32
|
appliesToVideoFormat: string;
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
34
|
+
* 適用MovieTicket
|
|
36
35
|
*/
|
|
37
|
-
appliesToMovieTicket
|
|
36
|
+
appliesToMovieTicket: IAppliesToMovieTicket;
|
|
38
37
|
};
|
|
@@ -3,9 +3,15 @@ import { IPriceSpecification as BaseSpecification } from '../priceSpecification'
|
|
|
3
3
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
4
4
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
5
5
|
import { UnitCode } from '../unitCode';
|
|
6
|
-
import { IMovieTicket } from './movieTicketTypeChargeSpecification';
|
|
6
|
+
import { IAppliesToMovieTicket as IMovieTicket } from './movieTicketTypeChargeSpecification';
|
|
7
|
+
export declare type IAppliesToMovieTicket = Omit<IMovieTicket, 'accessCode'> & {
|
|
8
|
+
/**
|
|
9
|
+
* 単価オファー設定としては存在しないが、予約あるいは注文の価格仕様としては必須
|
|
10
|
+
*/
|
|
11
|
+
identifier?: string;
|
|
12
|
+
};
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* 単価仕様
|
|
9
15
|
*/
|
|
10
16
|
export declare type IPriceSpecification = BaseSpecification<PriceSpecificationType.UnitPriceSpecification> & {
|
|
11
17
|
price: number;
|
|
@@ -14,9 +20,9 @@ export declare type IPriceSpecification = BaseSpecification<PriceSpecificationTy
|
|
|
14
20
|
*/
|
|
15
21
|
referenceQuantity: IQuantitativeValue<UnitCode>;
|
|
16
22
|
/**
|
|
17
|
-
*
|
|
23
|
+
* 適用MovieTicket
|
|
18
24
|
*/
|
|
19
|
-
appliesToMovieTicket?:
|
|
25
|
+
appliesToMovieTicket?: IAppliesToMovieTicket;
|
|
20
26
|
/**
|
|
21
27
|
* 適用アドオン
|
|
22
28
|
* アドオンを指定された場合に適用される
|
|
@@ -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>;
|