@chevre/factory 4.234.0 → 4.237.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/award/point.d.ts +4 -4
- package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +2 -2
- package/lib/factory/action/authorize/offer/product.d.ts +1 -1
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +2 -2
- package/lib/factory/action/authorize/paymentMethod/any.d.ts +8 -10
- package/lib/factory/action/authorize/paymentMethod/any.js +1 -2
- 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/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/moneyTransfer.d.ts +1 -10
- 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) {
|
|
@@ -3,12 +3,12 @@ import { ActionType } from '../../../actionType';
|
|
|
3
3
|
import { TransactionType } from '../../../transactionType';
|
|
4
4
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
5
5
|
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
6
|
-
export declare type IRecipient = ActionFactory.
|
|
6
|
+
export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
7
7
|
export declare enum ObjectType {
|
|
8
8
|
PointAward = "PointAward"
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* オーソリ対象
|
|
12
12
|
*/
|
|
13
13
|
export interface IObject {
|
|
14
14
|
typeOf: ObjectType;
|
|
@@ -35,7 +35,7 @@ export interface IPurpose {
|
|
|
35
35
|
}
|
|
36
36
|
export declare type IError = any;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* ポイントインセンティブ承認アクション属性
|
|
39
39
|
*/
|
|
40
40
|
export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
|
|
41
41
|
typeOf: ActionType.AuthorizeAction;
|
|
@@ -45,7 +45,7 @@ export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject,
|
|
|
45
45
|
purpose: IPurpose;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* ポイントインセンティブ承認アクション
|
|
49
49
|
* 注文取引のインセンティブとしてポイントを付与する場合に使用されます。
|
|
50
50
|
*/
|
|
51
51
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -6,8 +6,8 @@ import * as OrderFactory from '../../../order';
|
|
|
6
6
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
7
7
|
import { TransactionType } from '../../../transactionType';
|
|
8
8
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
9
|
-
export declare type IAgent = ActionFactory.
|
|
10
|
-
export declare type IRecipient = ActionFactory.
|
|
9
|
+
export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsSeller;
|
|
10
|
+
export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
11
11
|
export declare type IRequestBody = any;
|
|
12
12
|
export declare type IResponseBody = MoneyTransferTransactionFactory.ITransaction;
|
|
13
13
|
export import IPendingTransaction = OrderFactory.IMoneyTransferPendingTransaction;
|
|
@@ -10,7 +10,7 @@ import { ISeller } from '../../../seller';
|
|
|
10
10
|
import { TransactionType } from '../../../transactionType';
|
|
11
11
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
12
12
|
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
13
|
-
export declare type IRecipient = ActionFactory.
|
|
13
|
+
export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
14
14
|
export declare type IService = IProduct;
|
|
15
15
|
export declare type IAcceptedOfferWithoutDetail = RegisterServiceTransactionFactory.IAcceptedOfferWithoutDetail;
|
|
16
16
|
export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'price' | 'availability' | 'availableAtOrFrom'> {
|
|
@@ -12,7 +12,7 @@ import * as WebAPIFactory from '../../../service/webAPI';
|
|
|
12
12
|
import { TransactionType } from '../../../transactionType';
|
|
13
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
14
14
|
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
15
|
-
export declare type IRecipient = ActionFactory.
|
|
15
|
+
export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
16
16
|
export declare enum ObjectType {
|
|
17
17
|
SeatReservation = "SeatReservation"
|
|
18
18
|
}
|
|
@@ -87,7 +87,7 @@ export interface IPurpose {
|
|
|
87
87
|
*/
|
|
88
88
|
export declare type IError = any;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* 座席予約承認アクション
|
|
91
91
|
*/
|
|
92
92
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends AuthorizeActionFactory.IAttributes<IObject<T>, IResult<T>> {
|
|
93
93
|
typeOf: ActionType.AuthorizeAction;
|
|
@@ -12,7 +12,7 @@ import { IPropertyValue } from '../../../propertyValue';
|
|
|
12
12
|
import { PaymentServiceType } from '../../../service/paymentService';
|
|
13
13
|
import { TransactionType } from '../../../transactionType';
|
|
14
14
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
15
|
-
export declare type IAgent = ActionFactory.
|
|
15
|
+
export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
16
16
|
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
17
17
|
export declare enum ResultType {
|
|
18
18
|
Payment = "Payment"
|
|
@@ -22,7 +22,7 @@ export declare enum ResultType {
|
|
|
22
22
|
*/
|
|
23
23
|
export declare type IAnyPaymentMethod = string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* 進行中取引
|
|
26
26
|
*/
|
|
27
27
|
export interface IObjectPendingTransaction {
|
|
28
28
|
typeOf: AssetTransactionType.MoneyTransfer;
|
|
@@ -33,7 +33,7 @@ export declare type IPaymentCard = MoneyTransferActionFactory.IPaymentCard;
|
|
|
33
33
|
export import ITokenizedPaymentCard = PayTransactionFactory.ITokenizedPaymentCard;
|
|
34
34
|
export import IFromLocation = PayTransactionFactory.IFromLocation;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* 転送先
|
|
37
37
|
*/
|
|
38
38
|
export declare type IToLocation = IPaymentCard;
|
|
39
39
|
export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchaseNumberAuthResult;
|
|
@@ -41,12 +41,12 @@ export import IUnauthorizedCardOfMember = CreditCardFactory.IUnauthorizedCardOfM
|
|
|
41
41
|
export import IUncheckedCardRaw = CreditCardFactory.IUncheckedCardRaw;
|
|
42
42
|
export import IUncheckedCardTokenized = CreditCardFactory.IUncheckedCardTokenized;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* クレジットカード決済承認アクションに必要なクレジットカード情報
|
|
45
45
|
*/
|
|
46
46
|
export declare type ICreditCard = IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember;
|
|
47
47
|
export import IMovieTicket = MovieTicketFactory.IMovieTicket;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 承認対象
|
|
50
50
|
*/
|
|
51
51
|
export interface IObject {
|
|
52
52
|
/**
|
|
@@ -189,9 +189,7 @@ export interface IPurpose {
|
|
|
189
189
|
id: string;
|
|
190
190
|
}
|
|
191
191
|
export declare enum ServiceIdentifier {
|
|
192
|
-
Chevre = "Chevre"
|
|
193
|
-
GMO = "GMO",
|
|
194
|
-
MovieTicket = "MovieTicket"
|
|
192
|
+
Chevre = "Chevre"
|
|
195
193
|
}
|
|
196
194
|
export interface IService {
|
|
197
195
|
typeOf: 'WebAPI';
|
|
@@ -199,7 +197,7 @@ export interface IService {
|
|
|
199
197
|
}
|
|
200
198
|
export declare type IInstrument = IService;
|
|
201
199
|
/**
|
|
202
|
-
*
|
|
200
|
+
* 決済承認アクション属性
|
|
203
201
|
*/
|
|
204
202
|
export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
|
|
205
203
|
typeOf: ActionType.AuthorizeAction;
|
|
@@ -210,6 +208,6 @@ export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject,
|
|
|
210
208
|
purpose: IPurpose;
|
|
211
209
|
}
|
|
212
210
|
/**
|
|
213
|
-
*
|
|
211
|
+
* 決済承認アクション
|
|
214
212
|
*/
|
|
215
213
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -7,7 +7,6 @@ var ResultType;
|
|
|
7
7
|
})(ResultType = exports.ResultType || (exports.ResultType = {}));
|
|
8
8
|
var ServiceIdentifier;
|
|
9
9
|
(function (ServiceIdentifier) {
|
|
10
|
+
// 現時点で決済取引はChevreのみ対応
|
|
10
11
|
ServiceIdentifier["Chevre"] = "Chevre";
|
|
11
|
-
ServiceIdentifier["GMO"] = "GMO";
|
|
12
|
-
ServiceIdentifier["MovieTicket"] = "MovieTicket";
|
|
13
12
|
})(ServiceIdentifier = exports.ServiceIdentifier || (exports.ServiceIdentifier = {}));
|
|
@@ -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>;
|
|
@@ -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
|
@@ -5,7 +5,6 @@ import * as MoneyTransferAssetTransactionFactory from '../assetTransaction/money
|
|
|
5
5
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
6
6
|
import { IExtendId } from '../autoGenerated';
|
|
7
7
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
8
|
-
import { OrganizationType } from '../organizationType';
|
|
9
8
|
import { PersonType } from '../personType';
|
|
10
9
|
import { IProject } from '../project';
|
|
11
10
|
import * as TransactionFactory from '../transaction';
|
|
@@ -19,15 +18,7 @@ export interface IRecipientAsPerson {
|
|
|
19
18
|
*/
|
|
20
19
|
name?: string;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
23
|
-
typeOf: OrganizationType.Corporation;
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* 受取人名称
|
|
27
|
-
*/
|
|
28
|
-
name?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare type IRecipient = IRecipientAsPerson | IRecipientAsSeller;
|
|
21
|
+
export declare type IRecipient = IRecipientAsPerson;
|
|
31
22
|
export import ISeller = TransactionFactory.ISeller;
|
|
32
23
|
export import IPaymentCard = MoneyTransferAssetTransactionFactory.IPaymentCard;
|
|
33
24
|
export import ITokenizedPaymentCard = MoneyTransferAssetTransactionFactory.ITokenizedPaymentCard;
|
|
@@ -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>;
|