@chevre/factory 4.233.0 → 4.236.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/chevre.d.ts +6 -13
  2. package/lib/chevre.js +12 -11
  3. package/lib/factory/action/authorize/award/point.d.ts +4 -4
  4. package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +2 -2
  5. package/lib/factory/action/authorize/offer/product.d.ts +1 -1
  6. package/lib/factory/action/authorize/offer/seatReservation.d.ts +2 -2
  7. package/lib/factory/action/authorize/paymentMethod/any.d.ts +8 -10
  8. package/lib/factory/action/authorize/paymentMethod/any.js +1 -2
  9. package/lib/factory/action/cancel/reservation.d.ts +0 -2
  10. package/lib/factory/action/check/paymentMethod/movieTicket.d.ts +4 -4
  11. package/lib/factory/action/check/token.d.ts +4 -4
  12. package/lib/factory/action/check.d.ts +1 -1
  13. package/lib/factory/action/consume/use/reservation.d.ts +11 -1
  14. package/lib/factory/action/consume/use.d.ts +1 -4
  15. package/lib/factory/action/interact/confirm.d.ts +1 -2
  16. package/lib/factory/action/interact/inform.d.ts +2 -6
  17. package/lib/factory/action/trade/pay.d.ts +1 -5
  18. package/lib/factory/action/trade/refund.d.ts +1 -1
  19. package/lib/factory/action/transfer/give/pointAward.d.ts +3 -6
  20. package/lib/factory/action/transfer/moneyTransfer.d.ts +1 -1
  21. package/lib/factory/action/transfer/return/moneyTransfer.d.ts +2 -6
  22. package/lib/factory/action/transfer/return/order.d.ts +6 -5
  23. package/lib/factory/action/transfer/return/paymentMethod.d.ts +4 -8
  24. package/lib/factory/action/transfer/return/pointAward.d.ts +2 -6
  25. package/lib/factory/action/transfer/return/{reservation.d.ts → reserveTransaction.d.ts} +10 -10
  26. package/lib/factory/action/transfer/{print.js → return/reserveTransaction.js} +0 -0
  27. package/lib/factory/action/transfer/return.d.ts +1 -4
  28. package/lib/factory/action/transfer/send/message/email.d.ts +5 -12
  29. package/lib/factory/action/transfer/send/order.d.ts +2 -2
  30. package/lib/factory/event/screeningEvent.d.ts +1 -1
  31. package/lib/factory/event/screeningEventSeries.d.ts +7 -9
  32. package/lib/factory/reservation/event.d.ts +2 -1
  33. package/lib/factory/task/confirmCancelReserve.d.ts +3 -3
  34. package/lib/factory/task/returnReserveTransaction.d.ts +14 -0
  35. package/lib/factory/{action/transfer/print/ticket.js → task/returnReserveTransaction.js} +0 -0
  36. package/lib/factory/taskName.d.ts +4 -0
  37. package/lib/factory/taskName.js +4 -0
  38. package/lib/factory/transaction/moneyTransfer.d.ts +1 -10
  39. package/lib/factory/transaction/returnOrder.d.ts +0 -2
  40. package/package.json +1 -1
  41. package/lib/factory/action/transfer/print/ticket.d.ts +0 -21
  42. package/lib/factory/action/transfer/print.d.ts +0 -13
  43. 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 ReturnReservationActionFactory from './factory/action/transfer/return/reservation';
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 reservation = ReturnReservationActionFactory;
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
- var PrintTicketActionFactory = require("./factory/action/transfer/print/ticket");
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 ReturnReservationActionFactory = require("./factory/action/transfer/return/reservation");
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
- var print;
229
- (function (print) {
230
- print.ticket = PrintTicketActionFactory;
231
- })(print = transfer.print || (transfer.print = {}));
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
- // tslint:disable-next-line:no-shadowed-variable
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.IParticipant;
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.IParticipant;
10
- export declare type IRecipient = ActionFactory.IParticipant;
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.IParticipant;
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.IParticipant;
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.IParticipant;
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.IParticipant;
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.IParticipant;
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 = IProject;
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
- import { OrganizationType } from '../../organizationType';
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>;
@@ -7,16 +7,12 @@ import { AssetTransactionType } from '../../assetTransactionType';
7
7
  import { IPaymentServiceOutput } from '../../invoice';
8
8
  import { IMonetaryAmount } from '../../monetaryAmount';
9
9
  import { OrderType } from '../../order';
10
- import { OrganizationType } from '../../organizationType';
11
10
  import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
12
11
  import { IPropertyValue } from '../../propertyValue';
13
12
  import { PaymentServiceType } from '../../service/paymentService';
14
13
  import { TransactionType } from '../../transactionType';
15
14
  import { IAttributes as IInformActionAttributes } from '../interact/inform';
16
- export interface IAgent {
17
- id: string;
18
- typeOf: OrganizationType.Project;
19
- }
15
+ export declare type IAgent = ActionFactory.IParticipantAsProject;
20
16
  export import IRecipient = ActionFactory.IParticipantAsSeller;
21
17
  export interface IOrderAsPayPurpose {
22
18
  typeOf: OrderType.Order;
@@ -2,7 +2,7 @@ import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
3
  import { IAttributes as IInformActionAttributes } from '../interact/inform';
4
4
  import { IPaymentService as IPaymentServiceOnPay, IPayPurpose } from './pay';
5
- export declare type IAgent = ActionFactory.IParticipant;
5
+ export declare type IAgent = ActionFactory.IParticipantAsSeller | ActionFactory.IParticipantAsPerson;
6
6
  export declare type IRecipient = ActionFactory.IParticipant;
7
7
  export declare type IPaymentService = IPaymentServiceOnPay & {
8
8
  refundFee?: number;
@@ -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 interface IAgent {
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;
@@ -13,7 +13,7 @@ export interface IPendingTransaction {
13
13
  identifier?: string;
14
14
  transactionNumber?: string;
15
15
  }
16
- export declare type IAgent = ActionFactory.IParticipant;
16
+ export declare type IAgent = ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsSeller;
17
17
  export declare type IRecipient = ActionFactory.IParticipant;
18
18
  /**
19
19
  * 匿名ロケーション
@@ -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 interface IAgent {
6
- id: string;
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 ICancelActionAttributes } from '../../transfer/return/reservation';
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.IParticipant;
10
- export declare type IRecipient = ActionFactory.IParticipant;
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?: ICancelActionAttributes<any, any>[];
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
- export interface IAgent {
7
- id: string;
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 ActionFactory.IAttributes<ActionType.ReturnAction, IObject, IResult> {
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 = ActionFactory.IAction<IAttributes>;
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 interface IAgent {
7
- id: string;
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 { OrganizationType } from '../../../organizationType';
7
- import { Identifier as WebAPIIdentifier } from '../../../service/webAPI';
8
- export interface IAgent {
9
- id: string;
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 interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
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<TAttributes extends IAttributes<IObject<WebAPIIdentifier>, IResult>> = ActionFactory.IAction<TAttributes>;
29
+ export declare type IAction<T extends WebAPIIdentifier> = ReturnActionFactory.IAction<IAttributes<T>>;
@@ -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 { OrganizationType } from '../../../../organizationType';
3
+ import { ISimpleOrder } from '../../../../order';
4
4
  import * as SendActionFactory from '../../send';
5
- export interface IAgent {
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 = any;
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.IParticipant;
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>;
@@ -234,7 +234,7 @@ export interface ILocation {
234
234
  */
235
235
  maximumAttendeeCapacity?: number;
236
236
  }
237
- export declare type ISuperEvent = ScreeningEventSeriesFactory.IEvent;
237
+ export declare type ISuperEvent = Omit<ScreeningEventSeriesFactory.IEvent, 'eventStatus' | 'offers'>;
238
238
  export declare type IName = IMultilingualString;
239
239
  /**
240
240
  * イベント属性
@@ -10,7 +10,7 @@ import { PlaceType } from '../placeType';
10
10
  import { PriceCurrency } from '../priceCurrency';
11
11
  import { IProject } from '../project';
12
12
  /**
13
- * 施設コンテンツに対するオファーインターフェース
13
+ * 施設コンテンツに対するオファー
14
14
  */
15
15
  export interface IOffer {
16
16
  project: IProject;
@@ -27,7 +27,7 @@ export interface ISoundFormat {
27
27
  name: string;
28
28
  }
29
29
  /**
30
- * コンテンツインターフェース
30
+ * コンテンツ
31
31
  */
32
32
  export declare type IWorkPerformed = IMovie;
33
33
  export interface IOrganizer {
@@ -65,7 +65,7 @@ export interface ICOAInfo {
65
65
  */
66
66
  dateMvtkBegin: string;
67
67
  }
68
- export interface IAttributes extends EventFactory.IAttributes<EventType.ScreeningEventSeries> {
68
+ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventType.ScreeningEventSeries> {
69
69
  /**
70
70
  * 字幕利用可能言語
71
71
  */
@@ -91,9 +91,6 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
91
91
  */
92
92
  location: {
93
93
  project: IProject;
94
- /**
95
- * スキーマタイプ
96
- */
97
94
  typeOf: PlaceType.MovieTheater;
98
95
  /**
99
96
  * 場所ID
@@ -144,16 +141,17 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
144
141
  */
145
142
  coaInfo?: ICOAInfo;
146
143
  }
144
+ export declare type IAttributes = Omit<IEventSeriesAttributes, 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'>;
147
145
  /**
148
- * 施設コンテンツインターフェース
146
+ * 施設コンテンツ
149
147
  */
150
148
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
151
149
  /**
152
- * ソート条件インターフェース
150
+ * ソート条件
153
151
  */
154
152
  export declare type ISortOrder = EventFactory.ISortOrder;
155
153
  /**
156
- * イベントの検索条件インターフェース
154
+ * 検索条件
157
155
  */
158
156
  export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEventSeries> {
159
157
  sort?: ISortOrder;
@@ -8,6 +8,7 @@ import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecific
8
8
  import { IProject } from '../project';
9
9
  import * as ReservationFactory from '../reservation';
10
10
  import { ReservationType } from '../reservationType';
11
+ export declare type IOptimizedSuperEvent = Omit<ISuperEvent, 'subtitleLanguage' | 'dubLanguage' | 'organizer' | 'offers' | 'endDate' | 'startDate' | 'doorDate' | 'eventStatus'>;
11
12
  export interface IReservationFor {
12
13
  endDate: Date;
13
14
  eventStatus: EventStatusType;
@@ -25,7 +26,7 @@ export interface IReservationFor {
25
26
  name: IEventName;
26
27
  project: IProject;
27
28
  startDate: Date;
28
- superEvent: ISuperEvent;
29
+ superEvent: IOptimizedSuperEvent;
29
30
  typeOf: EventType.ScreeningEvent;
30
31
  doorTime?: Date;
31
32
  }
@@ -1,14 +1,14 @@
1
- import { IAttributes as ICancelActionAttributes, IObject } from '../action/transfer/return/reservation';
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 = ICancelActionAttributes<IObject<WebAPIFactory.Identifier>, any>;
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>;
@@ -91,6 +91,10 @@ export declare enum TaskName {
91
91
  * ポイント特典返却
92
92
  */
93
93
  ReturnPointAward = "returnPointAward",
94
+ /**
95
+ * 予約資産取引返却
96
+ */
97
+ ReturnReserveTransaction = "returnReserveTransaction",
94
98
  /**
95
99
  * 注文配送
96
100
  */
@@ -95,6 +95,10 @@ var TaskName;
95
95
  * ポイント特典返却
96
96
  */
97
97
  TaskName["ReturnPointAward"] = "returnPointAward";
98
+ /**
99
+ * 予約資産取引返却
100
+ */
101
+ TaskName["ReturnReserveTransaction"] = "returnReserveTransaction";
98
102
  /**
99
103
  * 注文配送
100
104
  */
@@ -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 interface IRecipientAsSeller {
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.233.0",
3
+ "version": "4.236.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -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>;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });