@chevre/factory 4.211.0 → 4.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chevre.d.ts +4 -12
- package/lib/chevre.js +12 -8
- package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +1 -1
- package/lib/factory/action/authorize/offer/product.d.ts +3 -2
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +1 -1
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +3 -6
- package/lib/factory/action/interact/confirm/pay.d.ts +6 -12
- package/lib/factory/action/interact/confirm/registerService.d.ts +3 -4
- package/lib/factory/action/interact/confirm/reservation.d.ts +0 -3
- package/lib/factory/action/interact/confirm.d.ts +12 -7
- package/lib/factory/action/interact/inform.d.ts +5 -1
- package/lib/factory/action/transfer/send/message/email.d.ts +5 -1
- package/lib/factory/action/update/delete/member.d.ts +1 -6
- package/lib/factory/event/screeningEvent.d.ts +2 -12
- package/lib/factory/offer.d.ts +15 -3
- package/lib/factory/order.d.ts +5 -3
- package/lib/factory/programMembership.d.ts +1 -5
- package/lib/factory/task/confirmPayTransaction.d.ts +13 -0
- package/lib/factory/{action/interact/register/programMembership.js → task/confirmPayTransaction.js} +0 -0
- package/lib/factory/task/orderProgramMembership.d.ts +28 -6
- package/lib/factory/taskName.d.ts +4 -0
- package/lib/factory/taskName.js +4 -0
- package/package.json +1 -1
- package/lib/factory/action/interact/register/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/unRegister/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/unRegister/programMembership.js +0 -2
- package/lib/factory/action/interact/unRegister.d.ts +0 -15
- package/lib/factory/action/interact/unRegister.js +0 -2
package/lib/chevre.d.ts
CHANGED
|
@@ -24,10 +24,7 @@ import * as ConfirmRegisterServiceActionFactory from './factory/action/interact/
|
|
|
24
24
|
import * as ConfirmReservationActionFactory from './factory/action/interact/confirm/reservation';
|
|
25
25
|
import * as InformActionFactory from './factory/action/interact/inform';
|
|
26
26
|
import * as RegisterActionFactory from './factory/action/interact/register';
|
|
27
|
-
import * as RegisterProgramMembershipActionFactory from './factory/action/interact/register/programMembership';
|
|
28
27
|
import * as RegisterServiceActionFactory from './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
|
import * as ReserveActionFactory from './factory/action/reserve';
|
|
32
29
|
import * as OrderActionFactory from './factory/action/trade/order';
|
|
33
30
|
import * as PayActionFactory from './factory/action/trade/pay';
|
|
@@ -130,6 +127,7 @@ import * as CancelReservationTaskFactory from './factory/task/cancelReservation'
|
|
|
130
127
|
import * as ConfirmCancelReserveTaskFactory from './factory/task/confirmCancelReserve';
|
|
131
128
|
import * as ConfirmMoneyTransferTaskFactory from './factory/task/confirmMoneyTransfer';
|
|
132
129
|
import * as ConfirmPayTaskFactory from './factory/task/confirmPay';
|
|
130
|
+
import * as ConfirmPayTransactionTaskFactory from './factory/task/confirmPayTransaction';
|
|
133
131
|
import * as ConfirmRefundTaskFactory from './factory/task/confirmRefund';
|
|
134
132
|
import * as ConfirmRegisterServiceTaskFactory from './factory/task/confirmRegisterService';
|
|
135
133
|
import * as ConfirmReservationTaskFactory from './factory/task/confirmReservation';
|
|
@@ -229,14 +227,8 @@ export declare namespace action {
|
|
|
229
227
|
namespace register {
|
|
230
228
|
export import IAction = RegisterActionFactory.IAction;
|
|
231
229
|
export import IAttributes = RegisterActionFactory.IAttributes;
|
|
232
|
-
export import programMembership = RegisterProgramMembershipActionFactory;
|
|
233
230
|
export import service = RegisterServiceActionFactory;
|
|
234
231
|
}
|
|
235
|
-
namespace unRegister {
|
|
236
|
-
export import IAction = UnRegisterActionFactory.IAction;
|
|
237
|
-
export import IAttributes = UnRegisterActionFactory.IAttributes;
|
|
238
|
-
export import programMembership = UnRegisterProgramMembershipActionFactory;
|
|
239
|
-
}
|
|
240
232
|
}
|
|
241
233
|
namespace trade {
|
|
242
234
|
export import order = OrderActionFactory;
|
|
@@ -390,9 +382,9 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
390
382
|
export import reservationType = ReservationType;
|
|
391
383
|
export import seller = SellerFactory;
|
|
392
384
|
export declare namespace task {
|
|
393
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.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;
|
|
394
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.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;
|
|
395
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.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;
|
|
385
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
386
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
387
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
396
388
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
397
389
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
398
390
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
package/lib/chevre.js
CHANGED
|
@@ -25,9 +25,10 @@ var ConfirmPayActionFactory = require("./factory/action/interact/confirm/pay");
|
|
|
25
25
|
var ConfirmRegisterServiceActionFactory = require("./factory/action/interact/confirm/registerService");
|
|
26
26
|
var ConfirmReservationActionFactory = require("./factory/action/interact/confirm/reservation");
|
|
27
27
|
var InformActionFactory = require("./factory/action/interact/inform");
|
|
28
|
-
|
|
28
|
+
// import * as RegisterProgramMembershipActionFactory from './factory/action/interact/register/programMembership';
|
|
29
29
|
var RegisterServiceActionFactory = require("./factory/action/interact/register/service");
|
|
30
|
-
|
|
30
|
+
// import * as UnRegisterActionFactory from './factory/action/interact/unRegister';
|
|
31
|
+
// import * as UnRegisterProgramMembershipActionFactory from './factory/action/interact/unRegister/programMembership';
|
|
31
32
|
var ReserveActionFactory = require("./factory/action/reserve");
|
|
32
33
|
var OrderActionFactory = require("./factory/action/trade/order");
|
|
33
34
|
var PayActionFactory = require("./factory/action/trade/pay");
|
|
@@ -198,15 +199,18 @@ var action;
|
|
|
198
199
|
var register;
|
|
199
200
|
(function (register) {
|
|
200
201
|
// tslint:disable-next-line:no-shadowed-variable
|
|
201
|
-
|
|
202
|
+
// export import programMembership = RegisterProgramMembershipActionFactory;
|
|
202
203
|
// tslint:disable-next-line:no-shadowed-variable
|
|
203
204
|
register.service = RegisterServiceActionFactory;
|
|
204
205
|
})(register = interact.register || (interact.register = {}));
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
206
|
+
// export namespace unRegister {
|
|
207
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
208
|
+
// export import IAction = UnRegisterActionFactory.IAction;
|
|
209
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
210
|
+
// export import IAttributes = UnRegisterActionFactory.IAttributes;
|
|
211
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
212
|
+
// export import programMembership = UnRegisterProgramMembershipActionFactory;
|
|
213
|
+
// }
|
|
210
214
|
})(interact = action.interact || (action.interact = {}));
|
|
211
215
|
var trade;
|
|
212
216
|
(function (trade) {
|
|
@@ -19,7 +19,7 @@ export interface IResult {
|
|
|
19
19
|
responseBody: IResponseBody;
|
|
20
20
|
}
|
|
21
21
|
export import IItemOffered = OrderFactory.IMoneyTransfer;
|
|
22
|
-
export interface IAcceptedOffer extends IOffer {
|
|
22
|
+
export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'availability' | 'availableAtOrFrom'> {
|
|
23
23
|
itemOffered: IItemOffered;
|
|
24
24
|
seller: ISeller;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
3
|
import * as RegisterServiceTransactionFactory from '../../../assetTransaction/registerService';
|
|
4
|
-
import { IOffer } from '../../../offer';
|
|
4
|
+
import { IOffer, ITicketPriceSpecification } from '../../../offer';
|
|
5
5
|
import * as OrderFactory from '../../../order';
|
|
6
6
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
7
7
|
import { IProduct } from '../../../product';
|
|
@@ -12,7 +12,7 @@ export declare type IAgent = ActionFactory.IParticipant;
|
|
|
12
12
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
13
13
|
export declare type IService = IProduct;
|
|
14
14
|
export declare type IAcceptedOfferWithoutDetail = RegisterServiceTransactionFactory.IAcceptedOfferWithoutDetail;
|
|
15
|
-
export interface IAcceptedOffer extends IOffer {
|
|
15
|
+
export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'price' | 'availability' | 'availableAtOrFrom'> {
|
|
16
16
|
/**
|
|
17
17
|
* オファー対象アイテム
|
|
18
18
|
*/
|
|
@@ -21,6 +21,7 @@ export interface IAcceptedOffer extends IOffer {
|
|
|
21
21
|
* 販売者
|
|
22
22
|
*/
|
|
23
23
|
seller: ISeller;
|
|
24
|
+
priceSpecification?: ITicketPriceSpecification;
|
|
24
25
|
}
|
|
25
26
|
export declare type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
26
27
|
export declare type IObject = IAcceptedOffer[];
|
|
@@ -52,7 +52,7 @@ export declare type IAcceptedOffer4chevre = ReserveTransactionFactory.IAcceptedT
|
|
|
52
52
|
export declare type IAcceptedOfferWithoutDetail4chevre = ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail;
|
|
53
53
|
export declare type IObjectWithoutDetail4chevre = ReserveTransactionFactory.IObjectWithoutDetail;
|
|
54
54
|
export declare type IAcceptedOffer4COA = ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail & OfferFactory.seatReservation.IOfferWithDetails;
|
|
55
|
-
export declare type IAcceptedOfferWithoutDetail4COA = OfferFactory.seatReservation.
|
|
55
|
+
export declare type IAcceptedOfferWithoutDetail4COA = OfferFactory.seatReservation.ICOAOffer;
|
|
56
56
|
export interface IObjectWithoutDetail4COA {
|
|
57
57
|
acceptedOffer: IAcceptedOfferWithoutDetail4COA[];
|
|
58
58
|
event: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
1
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
4
2
|
import { ISimpleOrder } from '../../../order';
|
|
5
3
|
import { TransactionType } from '../../../transactionType';
|
|
6
|
-
|
|
7
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
4
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
8
5
|
/**
|
|
9
6
|
* 匿名ロケーションインターフェース
|
|
10
7
|
*/
|
|
@@ -30,10 +27,10 @@ export interface ITransactionPurpose {
|
|
|
30
27
|
id: string;
|
|
31
28
|
}
|
|
32
29
|
export declare type IPurpose = ITransactionPurpose | ISimpleOrder;
|
|
33
|
-
export interface IAttributes extends
|
|
30
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
34
31
|
purpose: IPurpose;
|
|
35
32
|
}
|
|
36
33
|
/**
|
|
37
34
|
* 通貨転送確定アクション
|
|
38
35
|
*/
|
|
39
|
-
export declare type IAction =
|
|
36
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
1
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
4
2
|
import { ISimpleOrder } from '../../../order';
|
|
5
3
|
import { IInstrument } from '../../authorize/paymentMethod/any';
|
|
6
|
-
|
|
7
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
4
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
8
5
|
export declare type IPurpose = ISimpleOrder;
|
|
9
6
|
export interface IPayAssetTransaction {
|
|
10
7
|
typeOf: AssetTransactionType.Pay;
|
|
11
8
|
/**
|
|
12
9
|
* 決済方法
|
|
13
|
-
*
|
|
10
|
+
* 廃止(2022-05-17~)
|
|
14
11
|
*/
|
|
15
|
-
|
|
16
|
-
paymentMethodId: string;
|
|
17
|
-
};
|
|
18
|
-
transactionNumber?: string;
|
|
12
|
+
transactionNumber: string;
|
|
19
13
|
}
|
|
20
14
|
export declare type IObject = IPayAssetTransaction[];
|
|
21
15
|
export declare type IResult = any;
|
|
22
|
-
export interface IAttributes extends
|
|
16
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
23
17
|
instrument: IInstrument;
|
|
24
18
|
purpose: IPurpose;
|
|
25
19
|
}
|
|
26
20
|
/**
|
|
27
|
-
*
|
|
21
|
+
* 決済取引確定アクション
|
|
28
22
|
*/
|
|
29
|
-
export declare type IAction =
|
|
23
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
1
|
import * as RegisterServiceFactory from '../../../assetTransaction/registerService';
|
|
4
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
3
|
import { ISimpleOrder } from '../../../order';
|
|
6
4
|
import * as OrderProgramMembershipFactory from '../../../task/orderProgramMembership';
|
|
5
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
7
6
|
export declare type IObject = RegisterServiceFactory.IConfirmParams & {
|
|
8
7
|
typeOf: AssetTransactionType.RegisterService;
|
|
9
8
|
};
|
|
@@ -12,11 +11,11 @@ export declare type IResult = any;
|
|
|
12
11
|
export interface IPotentialActions {
|
|
13
12
|
orderProgramMembership?: OrderProgramMembershipFactory.IAttributes[];
|
|
14
13
|
}
|
|
15
|
-
export interface IAttributes extends
|
|
14
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
16
15
|
potentialActions?: IPotentialActions;
|
|
17
16
|
purpose: IPurpose;
|
|
18
17
|
}
|
|
19
18
|
/**
|
|
20
19
|
* サービス登録確定アクション
|
|
21
20
|
*/
|
|
22
|
-
export declare type IAction =
|
|
21
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as COA from '@motionpicture/coa-service';
|
|
2
|
-
import * as ActionFactory from '../../../action';
|
|
3
2
|
import * as ReserveTransactionFactory from '../../../assetTransaction/reserve';
|
|
4
3
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
4
|
import { ISimpleOrder } from '../../../order';
|
|
6
5
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
7
6
|
import * as ConfirmActionFactory from '../confirm';
|
|
8
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
9
7
|
export declare type IObject4COA = COA.factory.reserve.IUpdReserveArgs & {
|
|
10
8
|
typeOf: 'COAReserveTransaction';
|
|
11
9
|
};
|
|
@@ -17,7 +15,6 @@ export declare type IPurpose = ISimpleOrder;
|
|
|
17
15
|
export declare type IResult = any;
|
|
18
16
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
19
17
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends ConfirmActionFactory.IAttributes<IObject<T>, IResult> {
|
|
20
|
-
agent: IAgent;
|
|
21
18
|
instrument: IInstrument<T>;
|
|
22
19
|
purpose: IPurpose;
|
|
23
20
|
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import * as OrderFactory from '../../order';
|
|
4
|
-
|
|
4
|
+
import { IProject } from '../../project';
|
|
5
|
+
import { TransactionType } from '../../transactionType';
|
|
6
|
+
export declare type IAgent = IProject;
|
|
5
7
|
export declare type IObject = any;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
export interface ITransactionPurpose {
|
|
9
|
+
typeOf: TransactionType;
|
|
10
|
+
id: string;
|
|
9
11
|
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
+
export declare type IPurpose = ITransactionPurpose | OrderFactory.ISimpleOrder;
|
|
13
|
+
export declare type IResult = any;
|
|
14
|
+
export declare type IPotentialActions = any;
|
|
15
|
+
export interface IAttributes<TObject, TResult> extends Omit<ActionFactory.IAttributes<ActionType.ConfirmAction, TObject, TResult>, 'description' | 'location' | 'recipient'> {
|
|
16
|
+
agent: IAgent;
|
|
12
17
|
purpose: IPurpose;
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
|
-
*
|
|
20
|
+
* 確定アクション
|
|
16
21
|
*/
|
|
17
22
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
|
|
3
|
+
import { OrganizationType } from '../../organizationType';
|
|
4
|
+
export interface IAgent {
|
|
5
|
+
id: string;
|
|
6
|
+
typeOf: OrganizationType.Project;
|
|
7
|
+
}
|
|
4
8
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
9
|
export declare type IObject = any;
|
|
6
10
|
export declare type IPurpose = any;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../../action';
|
|
2
2
|
import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
|
|
3
|
+
import { OrganizationType } from '../../../../organizationType';
|
|
3
4
|
import * as SendActionFactory from '../../send';
|
|
4
|
-
export
|
|
5
|
+
export interface IAgent {
|
|
6
|
+
id: string;
|
|
7
|
+
typeOf: OrganizationType.Project;
|
|
8
|
+
}
|
|
5
9
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
6
10
|
/**
|
|
7
11
|
* オブジェクトインターフェース
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { IPerson } from '../../../person';
|
|
2
|
-
import { IAttributes as IUnRegisterProgramMembershipActionAttributes } from '../../interact/unRegister/programMembership';
|
|
3
2
|
import * as DeleteActionFactory from '../delete';
|
|
4
3
|
export declare type IObject = IPerson;
|
|
5
4
|
export declare type IResult = any;
|
|
6
5
|
export interface IPotentialActions {
|
|
7
|
-
/**
|
|
8
|
-
* メンバーシップ登録解除アクション
|
|
9
|
-
*/
|
|
10
|
-
unRegisterProgramMembership?: IUnRegisterProgramMembershipActionAttributes[];
|
|
11
6
|
}
|
|
12
7
|
export interface IAttributes extends DeleteActionFactory.IAttributes<IObject, IResult> {
|
|
13
8
|
potentialActions?: IPotentialActions;
|
|
14
9
|
}
|
|
15
10
|
/**
|
|
16
|
-
*
|
|
11
|
+
* 会員削除アクション
|
|
17
12
|
*/
|
|
18
13
|
export declare type IAction = DeleteActionFactory.IAction<IAttributes>;
|
|
@@ -8,10 +8,6 @@ import { OfferType } from '../offerType';
|
|
|
8
8
|
import { OrganizationType } from '../organizationType';
|
|
9
9
|
import { PlaceType } from '../placeType';
|
|
10
10
|
import { PriceCurrency } from '../priceCurrency';
|
|
11
|
-
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
12
|
-
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
13
|
-
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
14
|
-
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
15
11
|
import { IProject } from '../project';
|
|
16
12
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
17
13
|
import * as ReservationFactory from '../reservation';
|
|
@@ -136,14 +132,8 @@ export interface IOffer {
|
|
|
136
132
|
unacceptedPaymentMethod?: string[];
|
|
137
133
|
seller: ISeller;
|
|
138
134
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
*/
|
|
142
|
-
export declare type ITicketPriceComponent = ICategoryCodeChargeSpecification | IMovieTicketTypeChargeSpecification | IUnitPriceSpecification;
|
|
143
|
-
/**
|
|
144
|
-
* イベントに対して有効なチケット価格仕様インターフェース
|
|
145
|
-
*/
|
|
146
|
-
export declare type ITicketPriceSpecification = ICompoundPriceSpecification<ITicketPriceComponent>;
|
|
135
|
+
export import ITicketPriceComponent = OfferFactory.ITicketPriceComponent;
|
|
136
|
+
export import ITicketPriceSpecification = OfferFactory.ITicketPriceSpecification;
|
|
147
137
|
/**
|
|
148
138
|
* チケットオファーインターフェース
|
|
149
139
|
*/
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
|
6
6
|
import { OfferType } from './offerType';
|
|
7
7
|
import { PriceCurrency } from './priceCurrency';
|
|
8
8
|
import { IPriceSpecification } from './priceSpecification';
|
|
9
|
+
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
10
|
+
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
11
|
+
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
9
12
|
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
10
13
|
import { PriceSpecificationType } from './priceSpecificationType';
|
|
11
14
|
import { ProductType } from './product';
|
|
@@ -183,7 +186,6 @@ export interface IOffer extends IThing {
|
|
|
183
186
|
*/
|
|
184
187
|
additionalProperty?: IPropertyValue<string>[];
|
|
185
188
|
}
|
|
186
|
-
export declare type IBaseOffer = IOffer;
|
|
187
189
|
/**
|
|
188
190
|
* 単価オファーの提供アイテムインターフェース
|
|
189
191
|
*/
|
|
@@ -358,14 +360,22 @@ export interface ISearchConditions {
|
|
|
358
360
|
};
|
|
359
361
|
};
|
|
360
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* 承認時に提供される価格仕様要素
|
|
365
|
+
*/
|
|
366
|
+
export declare type ITicketPriceComponent = ICategoryCodeChargeSpecification | IMovieTicketTypeChargeSpecification | IUnitPriceSpecification;
|
|
367
|
+
/**
|
|
368
|
+
* 承認時に提供される価格仕様
|
|
369
|
+
*/
|
|
370
|
+
export declare type ITicketPriceSpecification = ICompoundPriceSpecification<ITicketPriceComponent>;
|
|
361
371
|
export declare namespace seatReservation {
|
|
362
372
|
export import ICOATicketInfo = SeatReservationOfferFactory.ICOATicketInfo;
|
|
363
373
|
export import ICOATicketInfoWithDetails = SeatReservationOfferFactory.ICOATicketInfoWithDetails;
|
|
364
|
-
export import
|
|
374
|
+
export import ICOAOffer = SeatReservationOfferFactory.IOffer;
|
|
365
375
|
/**
|
|
366
376
|
* 座席予約供給情報(詳細つき)インターフェース
|
|
367
377
|
*/
|
|
368
|
-
interface IOfferWithDetails extends
|
|
378
|
+
interface IOfferWithDetails extends Omit<IOffer, 'addOn' | 'availability' | 'availableAtOrFrom'> {
|
|
369
379
|
/**
|
|
370
380
|
* seat section
|
|
371
381
|
*/
|
|
@@ -378,5 +388,7 @@ export declare namespace seatReservation {
|
|
|
378
388
|
* ticket info
|
|
379
389
|
*/
|
|
380
390
|
ticketInfo: ICOATicketInfoWithDetails;
|
|
391
|
+
price: number;
|
|
392
|
+
priceSpecification?: ITicketPriceSpecification;
|
|
381
393
|
}
|
|
382
394
|
}
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { ICustomer as ICustomerOrganization } from './customer';
|
|
|
8
8
|
import { EventType } from './eventType';
|
|
9
9
|
import * as MonetaryAmountFactory from './monetaryAmount';
|
|
10
10
|
import { IMultilingualString } from './multilingualString';
|
|
11
|
-
import { IOffer } from './offer';
|
|
11
|
+
import { IOffer, ITicketPriceSpecification } from './offer';
|
|
12
12
|
import { OrderStatus } from './orderStatus';
|
|
13
13
|
import { OrganizationType } from './organizationType';
|
|
14
14
|
import * as PermitFactory from './permit';
|
|
@@ -117,10 +117,11 @@ export interface IMoneyTransfer {
|
|
|
117
117
|
* 注文アイテムインターフェース
|
|
118
118
|
*/
|
|
119
119
|
export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
120
|
+
export declare type IOfferOptimized4acceptedOffer = Omit<IOffer, 'addOn' | 'price' | 'availability' | 'availableAtOrFrom'>;
|
|
120
121
|
/**
|
|
121
|
-
*
|
|
122
|
+
* 受け入れオファー
|
|
122
123
|
*/
|
|
123
|
-
export interface IAcceptedOffer<T extends IItemOffered> extends
|
|
124
|
+
export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4acceptedOffer {
|
|
124
125
|
/**
|
|
125
126
|
* オファー対象アイテム
|
|
126
127
|
*/
|
|
@@ -129,6 +130,7 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOffer {
|
|
|
129
130
|
* 販売者
|
|
130
131
|
*/
|
|
131
132
|
seller: ISeller;
|
|
133
|
+
priceSpecification?: ITicketPriceSpecification;
|
|
132
134
|
}
|
|
133
135
|
/**
|
|
134
136
|
* 販売者
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { IProduct } from './product';
|
|
2
|
-
import { IProject } from './project';
|
|
3
1
|
import { IThing } from './thing';
|
|
4
2
|
export declare enum ProgramMembershipType {
|
|
5
3
|
ProgramMembership = "ProgramMembership"
|
|
@@ -10,12 +8,10 @@ export declare enum ProgramMembershipType {
|
|
|
10
8
|
* {@link https://schema.org/ProgramMembership}
|
|
11
9
|
*/
|
|
12
10
|
export interface IProgramMembership extends IThing {
|
|
13
|
-
|
|
14
|
-
typeOf: string;
|
|
11
|
+
typeOf: ProgramMembershipType;
|
|
15
12
|
/**
|
|
16
13
|
* The service through with the permit was granted.
|
|
17
14
|
*/
|
|
18
|
-
issuedThrough?: IProduct;
|
|
19
15
|
/**
|
|
20
16
|
* A unique identifier for the membership.
|
|
21
17
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IAttributes as IConfirmPayActionAttributes } from '../action/interact/confirm/pay';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
export declare type IData = IConfirmPayActionAttributes;
|
|
6
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
|
+
name: TaskName.ConfirmPayTransaction;
|
|
8
|
+
data: IData;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 決済資産取引確定タスク
|
|
12
|
+
*/
|
|
13
|
+
export declare type ITask = IExtendId<IAttributes>;
|
package/lib/factory/{action/interact/register/programMembership.js → task/confirmPayTransaction.js}
RENAMED
|
File without changes
|
|
@@ -1,14 +1,36 @@
|
|
|
1
|
-
import { IParticipant } from '../action';
|
|
2
1
|
import { ActionType } from '../actionType';
|
|
3
2
|
import { IExtendId } from '../autoGenerated';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
3
|
+
import { OfferType } from '../offerType';
|
|
4
|
+
import { PermitType } from '../permit';
|
|
5
|
+
import { IAdditionalProperty, IIdentifier } from '../person';
|
|
6
|
+
import { PersonType } from '../personType';
|
|
7
|
+
import { ProductType } from '../product';
|
|
6
8
|
import { IProject } from '../project';
|
|
7
9
|
import * as TaskFactory from '../task';
|
|
8
10
|
import { TaskName } from '../taskName';
|
|
9
11
|
import { IPotentialActionsParams as IOrderPotentialActionsParams } from '../transaction/placeOrder';
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
+
export interface IAgent {
|
|
13
|
+
typeOf: PersonType.Person;
|
|
14
|
+
id: string;
|
|
15
|
+
additionalProperty?: IAdditionalProperty;
|
|
16
|
+
identifier: IIdentifier;
|
|
17
|
+
}
|
|
18
|
+
export interface IAcceptedOffer {
|
|
19
|
+
seller: {
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
typeOf: OfferType;
|
|
23
|
+
itemOffered: {
|
|
24
|
+
typeOf: PermitType.Permit;
|
|
25
|
+
name: string;
|
|
26
|
+
issuedThrough: {
|
|
27
|
+
typeOf: ProductType.MembershipService;
|
|
28
|
+
id: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
id: string;
|
|
32
|
+
identifier: string;
|
|
33
|
+
}
|
|
12
34
|
export declare type IPotentialActions = IOrderPotentialActionsParams;
|
|
13
35
|
export interface IData {
|
|
14
36
|
agent: IAgent;
|
|
@@ -28,6 +50,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
28
50
|
data: IData;
|
|
29
51
|
}
|
|
30
52
|
/**
|
|
31
|
-
*
|
|
53
|
+
* メンバーシップ注文タスク
|
|
32
54
|
*/
|
|
33
55
|
export declare type ITask = IExtendId<IAttributes>;
|
package/lib/factory/taskName.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IProgramMembership } from '../../../programMembership';
|
|
2
|
-
import * as RegisterActionFactory from '../register';
|
|
3
|
-
export declare type IObject = IProgramMembership;
|
|
4
|
-
export declare type IResult = any;
|
|
5
|
-
export declare type IPotentialActions = any;
|
|
6
|
-
export interface IAttributes extends RegisterActionFactory.IAttributes<IObject, IResult> {
|
|
7
|
-
potentialActions?: IPotentialActions;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* メンバーシップ登録アクションインターフェース
|
|
11
|
-
*/
|
|
12
|
-
export declare type IAction = RegisterActionFactory.IAction<IAttributes>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IOwnershipInfo, IPermit } from '../../../ownershipInfo';
|
|
2
|
-
import * as UnRegisterActionFactory from '../unRegister';
|
|
3
|
-
export declare type IObject = IOwnershipInfo<IPermit>;
|
|
4
|
-
export declare type IResult = any;
|
|
5
|
-
export declare type IPotentialActions = any;
|
|
6
|
-
export interface IAttributes extends UnRegisterActionFactory.IAttributes<IObject, IResult> {
|
|
7
|
-
potentialActions?: IPotentialActions;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* メンバーシップ登録解除アクションインターフェース
|
|
11
|
-
*/
|
|
12
|
-
export declare type IAction = UnRegisterActionFactory.IAction<IAttributes>;
|
|
@@ -1,15 +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 IPotentialActions {
|
|
8
|
-
}
|
|
9
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.UnRegisterAction, TObject, TResult> {
|
|
10
|
-
potentialActions?: IPotentialActions;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 登録解除アクションインターフェース
|
|
14
|
-
*/
|
|
15
|
-
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|