@chevre/factory 4.335.0 → 4.337.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/README.md +0 -5
- package/lib/account/action/moneyTransfer.d.ts +5 -5
- package/lib/account/transaction/deposit.d.ts +3 -3
- package/lib/account/transaction/transfer.d.ts +3 -3
- package/lib/account/transaction/withdraw.d.ts +3 -3
- package/lib/account/transaction.d.ts +2 -2
- package/lib/action/authorize/award/point.d.ts +4 -4
- package/lib/action/authorize/offer/moneyTransfer.d.ts +8 -8
- package/lib/action/authorize/offer/product.d.ts +11 -11
- package/lib/action/authorize/offer/seatReservation/coa.d.ts +1 -1
- package/lib/action/authorize/offer/seatReservation.d.ts +22 -22
- package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
- package/lib/action/authorize.d.ts +4 -4
- package/lib/action/cancel/reservation.d.ts +4 -4
- package/lib/action/check/paymentMethod/movieTicket.d.ts +7 -7
- package/lib/action/check/token.d.ts +4 -4
- package/lib/action/check.d.ts +3 -3
- package/lib/action/consume/use/reservation.d.ts +5 -5
- package/lib/action/consume/use.d.ts +4 -4
- package/lib/action/interact/confirm/moneyTransfer.d.ts +3 -3
- package/lib/action/interact/confirm/pay.d.ts +4 -4
- package/lib/action/interact/confirm/registerService.d.ts +4 -4
- package/lib/action/interact/confirm/reservation.d.ts +7 -7
- package/lib/action/interact/confirm.d.ts +6 -6
- package/lib/action/interact/inform.d.ts +6 -6
- package/lib/action/interact/register/service.d.ts +4 -4
- package/lib/action/interact/register.d.ts +5 -5
- package/lib/action/reserve.d.ts +5 -5
- package/lib/action/trade/order.d.ts +5 -5
- package/lib/action/trade/pay.d.ts +7 -7
- package/lib/action/trade/refund.d.ts +8 -8
- package/lib/action/transfer/give/pointAward.d.ts +5 -5
- package/lib/action/transfer/give.d.ts +6 -6
- package/lib/action/transfer/moneyTransfer.d.ts +9 -9
- package/lib/action/transfer/return/moneyTransfer.d.ts +5 -5
- package/lib/action/transfer/return/order.d.ts +5 -5
- package/lib/action/transfer/return/paymentMethod.d.ts +6 -6
- package/lib/action/transfer/return/pointAward.d.ts +6 -6
- package/lib/action/transfer/return/reserveTransaction.d.ts +8 -8
- package/lib/action/transfer/return.d.ts +3 -3
- package/lib/action/transfer/send/message/email.d.ts +6 -6
- package/lib/action/transfer/send/order.d.ts +5 -5
- package/lib/action/transfer/send.d.ts +7 -7
- package/lib/action/update/delete/member.d.ts +3 -3
- package/lib/action/update/delete.d.ts +5 -5
- package/lib/action.d.ts +7 -7
- package/lib/additionalProperty.d.ts +4 -4
- package/lib/assetTransaction/cancelReservation.d.ts +7 -7
- package/lib/assetTransaction/moneyTransfer.d.ts +10 -10
- package/lib/assetTransaction/pay.d.ts +7 -7
- package/lib/assetTransaction/refund.d.ts +7 -7
- package/lib/assetTransaction/registerService.d.ts +7 -7
- package/lib/assetTransaction/reserve.d.ts +16 -16
- package/lib/assetTransaction.d.ts +3 -3
- package/lib/authorization.d.ts +7 -7
- package/lib/autoGenerated.d.ts +1 -1
- package/lib/cognito.d.ts +2 -4
- package/lib/creativeWork/comment.d.ts +2 -2
- package/lib/creativeWork/movie.d.ts +1 -1
- package/lib/creativeWork.d.ts +1 -1
- package/lib/error/alreadyInUse.js +1 -1
- package/lib/error/argument.js +1 -1
- package/lib/error/argumentNull.js +1 -1
- package/lib/error/notFound.js +1 -1
- package/lib/event/anyEvent.d.ts +14 -14
- package/lib/event/screeningEvent.d.ts +12 -12
- package/lib/event/screeningEventSeries.d.ts +4 -4
- package/lib/event.d.ts +2 -2
- package/lib/iam.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/invoice.d.ts +11 -11
- package/lib/merchantReturnPolicy.d.ts +4 -4
- package/lib/offer/aggregateOffer.d.ts +1 -1
- package/lib/offer.d.ts +6 -6
- package/lib/offerCatalog.d.ts +2 -2
- package/lib/offerItemCondition.d.ts +1 -1
- package/lib/order.d.ts +30 -35
- package/lib/orderExternal.d.ts +1 -1
- package/lib/organization.d.ts +2 -2
- package/lib/ownershipInfo.d.ts +9 -9
- package/lib/paymentMethod/paymentCard.d.ts +1 -1
- package/lib/permit.d.ts +9 -9
- package/lib/person.d.ts +3 -3
- package/lib/place/movieTheater.d.ts +4 -18
- package/lib/place/screeningRoom.d.ts +2 -2
- package/lib/place/seat.d.ts +8 -6
- package/lib/place.d.ts +1 -2
- package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
- package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -2
- package/lib/priceSpecification/unitPriceSpecification.d.ts +3 -3
- package/lib/priceSpecification.d.ts +2 -2
- package/lib/product.d.ts +10 -10
- package/lib/quantitativeValue.d.ts +1 -1
- package/lib/report/accountingReport.d.ts +7 -7
- package/lib/reservation/busReservation.d.ts +3 -3
- package/lib/reservation/event.d.ts +4 -4
- package/lib/reservation/reservationPackage.d.ts +2 -2
- package/lib/reservation.d.ts +12 -12
- package/lib/seller.d.ts +4 -4
- package/lib/service/paymentService.d.ts +3 -3
- package/lib/task/accountMoneyTransfer.d.ts +1 -1
- package/lib/task/aggregateScreeningEvent.d.ts +1 -1
- package/lib/task/aggregateUseActionsOnEvent.d.ts +1 -1
- package/lib/task/cancelAccountMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelPendingReservation.d.ts +1 -1
- package/lib/task/cancelReservation.d.ts +1 -1
- package/lib/task/confirmMoneyTransfer.d.ts +2 -2
- package/lib/task/confirmPayTransaction.d.ts +2 -2
- package/lib/task/confirmRegisterService.d.ts +2 -2
- package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
- package/lib/task/confirmReserveTransaction.d.ts +2 -2
- package/lib/task/createEvent.d.ts +3 -3
- package/lib/task/deleteTransaction.d.ts +5 -5
- package/lib/task/givePointAward.d.ts +2 -2
- package/lib/task/importEventCapacitiesFromCOA.d.ts +1 -1
- package/lib/task/importEventsFromCOA.d.ts +1 -1
- package/lib/task/importOffersFromCOA.d.ts +1 -1
- package/lib/task/moneyTransfer.d.ts +2 -2
- package/lib/task/onAssetTransactionStatusChanged.d.ts +1 -1
- package/lib/task/onAuthorizationCreated.d.ts +1 -1
- package/lib/task/onEventChanged.d.ts +1 -1
- package/lib/task/onOrderPaymentCompleted.d.ts +1 -1
- package/lib/task/onResourceUpdated.d.ts +6 -6
- package/lib/task/pay.d.ts +2 -2
- package/lib/task/placeOrder.d.ts +1 -1
- package/lib/task/refund.d.ts +2 -2
- package/lib/task/registerService.d.ts +2 -2
- package/lib/task/reserve.d.ts +1 -1
- package/lib/task/returnMoneyTransfer.d.ts +2 -2
- package/lib/task/returnOrder.d.ts +2 -2
- package/lib/task/returnPayTransaction.d.ts +2 -2
- package/lib/task/returnPointAward.d.ts +2 -2
- package/lib/task/returnReserveTransaction.d.ts +2 -2
- package/lib/task/sendEmailMessage.d.ts +1 -1
- package/lib/task/sendOrder.d.ts +2 -2
- package/lib/task/syncScreeningRooms.d.ts +1 -1
- package/lib/task/triggerWebhook.d.ts +2 -2
- package/lib/task/useReservation.d.ts +3 -3
- package/lib/task/voidMoneyTransferTransaction.d.ts +1 -1
- package/lib/task/voidPayTransaction.d.ts +2 -2
- package/lib/task/voidPayment.d.ts +2 -2
- package/lib/task/voidRegisterServiceTransaction.d.ts +1 -1
- package/lib/task/voidReserveTransaction.d.ts +2 -2
- package/lib/task.d.ts +3 -3
- package/lib/thing.d.ts +1 -1
- package/lib/transaction/moneyTransfer.d.ts +7 -7
- package/lib/transaction/placeOrder.d.ts +7 -7
- package/lib/transaction/returnOrder.d.ts +8 -8
- package/lib/transaction.d.ts +3 -3
- package/lib/trip/busTrip.d.ts +3 -3
- package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +1 -1
- package/lib/unitPriceOffer.d.ts +4 -4
- package/package.json +9 -14
|
@@ -2,7 +2,7 @@ import { AssetTransactionType } from '../../../assetTransactionType';
|
|
|
2
2
|
import { ISimpleOrder } from '../../../order';
|
|
3
3
|
import { IInstrument } from '../../authorize/paymentMethod/any';
|
|
4
4
|
import * as ConfirmActionFactory from '../confirm';
|
|
5
|
-
export
|
|
5
|
+
export type IPurpose = ISimpleOrder;
|
|
6
6
|
export interface IPayAssetTransaction {
|
|
7
7
|
typeOf: AssetTransactionType.Pay;
|
|
8
8
|
/**
|
|
@@ -15,8 +15,8 @@ export interface IPayAssetTransaction {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
export
|
|
18
|
+
export type IObject = IPayAssetTransaction[];
|
|
19
|
+
export type IResult = any;
|
|
20
20
|
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
21
21
|
instrument: IInstrument;
|
|
22
22
|
purpose: IPurpose;
|
|
@@ -24,4 +24,4 @@ export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, I
|
|
|
24
24
|
/**
|
|
25
25
|
* 決済取引確定アクション
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import * as RegisterServiceFactory from '../../../assetTransaction/registerServi
|
|
|
2
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
3
|
import { ISimpleOrder } from '../../../order';
|
|
4
4
|
import * as ConfirmActionFactory from '../confirm';
|
|
5
|
-
export
|
|
5
|
+
export type IObject = Pick<RegisterServiceFactory.IConfirmParams, 'transactionNumber' | 'endDate'> & {
|
|
6
6
|
transactionNumber?: string;
|
|
7
7
|
typeOf: AssetTransactionType.RegisterService;
|
|
8
8
|
object?: {
|
|
@@ -13,8 +13,8 @@ export declare type IObject = Pick<RegisterServiceFactory.IConfirmParams, 'trans
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type IPurpose = ISimpleOrder;
|
|
17
|
+
export type IResult = any;
|
|
18
18
|
export interface IPotentialActions {
|
|
19
19
|
}
|
|
20
20
|
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
@@ -24,4 +24,4 @@ export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, I
|
|
|
24
24
|
/**
|
|
25
25
|
* サービス登録確定アクション
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -4,18 +4,18 @@ import { AssetTransactionType } from '../../../assetTransactionType';
|
|
|
4
4
|
import { ISimpleOrder } from '../../../order';
|
|
5
5
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
6
6
|
import * as ConfirmActionFactory from '../confirm';
|
|
7
|
-
export
|
|
7
|
+
export type IObject4COA = COA.factory.reserve.IUpdReserveArgs & {
|
|
8
8
|
transactionNumber: string;
|
|
9
9
|
typeOf: 'COAReserveTransaction';
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | 'potentialActions'> & {
|
|
12
12
|
transactionNumber: string;
|
|
13
13
|
typeOf: AssetTransactionType.Reserve;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
15
|
+
export type IObject<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObject4COA : IObject4Chevre;
|
|
16
|
+
export type IPurpose = ISimpleOrder;
|
|
17
|
+
export type IResult = any;
|
|
18
|
+
export type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
19
19
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends ConfirmActionFactory.IAttributes<IObject<T>, IResult> {
|
|
20
20
|
instrument: IInstrument<T>;
|
|
21
21
|
purpose: IPurpose;
|
|
@@ -23,4 +23,4 @@ export interface IAttributes<T extends WebAPIFactory.Identifier> extends Confirm
|
|
|
23
23
|
/**
|
|
24
24
|
* 予約確定アクション
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type IAction<T extends WebAPIFactory.Identifier> = ConfirmActionFactory.IAction<IAttributes<T>>;
|
|
@@ -2,15 +2,15 @@ import * as ActionFactory from '../../action';
|
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import * as OrderFactory from '../../order';
|
|
4
4
|
import { TransactionType } from '../../transactionType';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export type IObject = any;
|
|
7
7
|
export interface ITransactionPurpose {
|
|
8
8
|
typeOf: TransactionType;
|
|
9
9
|
id: string;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type IPurpose = ITransactionPurpose | OrderFactory.ISimpleOrder;
|
|
12
|
+
export type IResult = any;
|
|
13
|
+
export type IPotentialActions = any;
|
|
14
14
|
export interface IAttributes<TObject, TResult> extends Omit<ActionFactory.IAttributes<ActionType.ConfirmAction, TObject, TResult>, 'description' | 'location' | 'recipient'> {
|
|
15
15
|
agent: IAgent;
|
|
16
16
|
purpose: IPurpose;
|
|
@@ -18,4 +18,4 @@ export interface IAttributes<TObject, TResult> extends Omit<ActionFactory.IAttri
|
|
|
18
18
|
/**
|
|
19
19
|
* 確定アクション
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
3
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IPurpose = any;
|
|
7
|
+
export type IResult = any;
|
|
8
8
|
export interface IPotentialActions {
|
|
9
9
|
}
|
|
10
10
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.InformAction, TObject, TResult> {
|
|
@@ -16,4 +16,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
16
16
|
/**
|
|
17
17
|
* 通知アクション
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -2,9 +2,9 @@ import { IParticipantAsProject } from '../../../action';
|
|
|
2
2
|
import { IPermit } from '../../../permit';
|
|
3
3
|
import { IAttributes as IMoneyTransferActionAttributes } from '../../transfer/moneyTransfer';
|
|
4
4
|
import * as RegisterActionFactory from '../register';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export type IAgent = IParticipantAsProject;
|
|
6
|
+
export type IObject = IPermit;
|
|
7
|
+
export type IResult = any;
|
|
8
8
|
export interface IPotentialActions {
|
|
9
9
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
10
10
|
}
|
|
@@ -15,4 +15,4 @@ export interface IAttributes extends RegisterActionFactory.IAttributes<IObject,
|
|
|
15
15
|
/**
|
|
16
16
|
* サービス登録アクション
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type IAction = RegisterActionFactory.IAction<IAttributes>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
7
|
export interface IPotentialActions {
|
|
8
8
|
}
|
|
9
9
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.RegisterAction, TObject, TResult> {
|
|
@@ -12,4 +12,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
12
12
|
/**
|
|
13
13
|
* 登録アクションインターフェース
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
package/lib/action/reserve.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ import { IReservationFor as IBusReservationFor } from '../reservation/busReserva
|
|
|
7
7
|
import { IReservationFor as IEventReservationFor } from '../reservation/event';
|
|
8
8
|
import { ReservationType } from '../reservationType';
|
|
9
9
|
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
11
|
+
export type IReservationFor = IBusReservationFor | IEventReservationFor;
|
|
12
12
|
export interface IReservationPackageAsObject {
|
|
13
13
|
reservationFor: IReservationFor;
|
|
14
14
|
reservationNumber: string;
|
|
15
15
|
reservationStatus: IAvailableReservationStatusType;
|
|
16
16
|
typeOf: ReservationType.ReservationPackage;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
18
|
+
export type IObject = IReservationPackageAsObject;
|
|
19
19
|
export interface IResult {
|
|
20
20
|
confirmedReservationId?: string;
|
|
21
21
|
}
|
|
@@ -34,7 +34,7 @@ export interface IAssetTransactionAsReservePurpose {
|
|
|
34
34
|
*/
|
|
35
35
|
id: string;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type IPurpose = IAssetTransactionAsReservePurpose;
|
|
38
38
|
export interface IPotentialActions {
|
|
39
39
|
moneyTransfer?: IMoneyTransferActionAttributes[];
|
|
40
40
|
}
|
|
@@ -46,4 +46,4 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.Reserv
|
|
|
46
46
|
/**
|
|
47
47
|
* 予約アクション
|
|
48
48
|
*/
|
|
49
|
-
export
|
|
49
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -4,10 +4,10 @@ import * as OrderFactory from '../../order';
|
|
|
4
4
|
import { TransactionType } from '../../transactionType';
|
|
5
5
|
import { IAttributes as IGivePointAwardActionAttributes } from '../transfer/give/pointAward';
|
|
6
6
|
import { IAttributes as ISendOrderActionAttributes } from '../transfer/send/order';
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
7
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
8
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
9
|
+
export type IObject = OrderFactory.ISimpleOrder;
|
|
10
|
+
export type IResult = any;
|
|
11
11
|
export interface IPotentialActions {
|
|
12
12
|
/**
|
|
13
13
|
* ポイント付与アクション
|
|
@@ -34,4 +34,4 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.OrderA
|
|
|
34
34
|
/**
|
|
35
35
|
* 注文アクション
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -28,9 +28,9 @@ export interface ITransactionAsPayPurpose {
|
|
|
28
28
|
typeOf: TransactionType;
|
|
29
29
|
id: string;
|
|
30
30
|
}
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
31
|
+
export type IReturnActionAsPayPurpose = IReturnOrderActionAttributes;
|
|
32
|
+
export type IPurpose = IOrderAsPayPurpose | IAssetTransactionAsPayPurpose | IReturnActionAsPayPurpose | ITransactionAsPayPurpose;
|
|
33
|
+
export type AvailablePaymentMethodType = string;
|
|
34
34
|
export interface IPendingTransaction {
|
|
35
35
|
typeOf: AccountFactory.transactionType;
|
|
36
36
|
id: string;
|
|
@@ -74,7 +74,7 @@ export interface IPaymentMethod {
|
|
|
74
74
|
*/
|
|
75
75
|
additionalProperty: IPropertyValue<string>[];
|
|
76
76
|
}
|
|
77
|
-
export
|
|
77
|
+
export type IMovieTicket = Pick<IMovieTicketPaymentCard, 'accessCode' | 'category' | 'identifier' | 'serviceOutput' | 'serviceType' | 'typeOf'>;
|
|
78
78
|
export interface IPaymentService {
|
|
79
79
|
typeOf: PaymentServiceType;
|
|
80
80
|
/**
|
|
@@ -95,8 +95,8 @@ export interface IPaymentService {
|
|
|
95
95
|
*/
|
|
96
96
|
serviceOutput?: IPaymentServiceOutput;
|
|
97
97
|
}
|
|
98
|
-
export
|
|
99
|
-
export
|
|
98
|
+
export type IObject = IPaymentService[];
|
|
99
|
+
export type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
100
100
|
export interface IPotentialActions {
|
|
101
101
|
add2report: boolean;
|
|
102
102
|
informPayment?: IInformPayment[];
|
|
@@ -133,4 +133,4 @@ export interface IAttributes extends Omit<ActionFactory.IAttributes<ActionType.P
|
|
|
133
133
|
/**
|
|
134
134
|
* 決済アクション
|
|
135
135
|
*/
|
|
136
|
-
export
|
|
136
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -2,19 +2,19 @@ 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, IPurpose as IPayPurpose } from './pay';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsSeller | ActionFactory.IParticipantAsPerson;
|
|
6
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
7
|
+
export type IPaymentService = IPaymentServiceOnPay & {
|
|
8
8
|
refundFee?: number;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
10
|
+
export type IObject = IPaymentService[];
|
|
11
|
+
export type IResult = any;
|
|
12
|
+
export type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
13
13
|
export interface IPotentialActions {
|
|
14
14
|
add2report: boolean;
|
|
15
15
|
informPayment?: IInformPayment[];
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type IPurpose = IPayPurpose;
|
|
18
18
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.RefundAction, IObject, IResult> {
|
|
19
19
|
agent: IAgent;
|
|
20
20
|
recipient?: IRecipient;
|
|
@@ -24,4 +24,4 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.Refund
|
|
|
24
24
|
/**
|
|
25
25
|
* 返金アクションインターフェース
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
3
|
import { ObjectType as AuthorizePointAwardActionObjectType } from '../../authorize/award/point';
|
|
4
4
|
import * as GiveActionFactory from '../give';
|
|
5
|
-
export
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
6
|
export import ObjectType = AuthorizePointAwardActionObjectType;
|
|
7
7
|
/**
|
|
8
8
|
* ポイント特典付与対象
|
|
@@ -32,13 +32,13 @@ export interface IObject {
|
|
|
32
32
|
};
|
|
33
33
|
description: string;
|
|
34
34
|
}
|
|
35
|
-
export
|
|
35
|
+
export type IResult = any;
|
|
36
36
|
/**
|
|
37
37
|
* 目的は注文
|
|
38
38
|
* 注文に対する特典としてポイントが付与される仕組み
|
|
39
39
|
*/
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type IPurpose = OrderFactory.ISimpleOrder;
|
|
41
|
+
export type IPotentialActions = any;
|
|
42
42
|
export interface IAttributes extends GiveActionFactory.IAttributes<IObject, IResult> {
|
|
43
43
|
agent: IAgent;
|
|
44
44
|
purpose: IPurpose;
|
|
@@ -46,4 +46,4 @@ export interface IAttributes extends GiveActionFactory.IAttributes<IObject, IRes
|
|
|
46
46
|
/**
|
|
47
47
|
* ポイント特典付与アクション
|
|
48
48
|
*/
|
|
49
|
-
export
|
|
49
|
+
export type IAction = GiveActionFactory.IAction<IAttributes>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
|
+
export type ILocation = any;
|
|
8
8
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.GiveAction, TObject, TResult> {
|
|
9
9
|
recipient: IRecipient;
|
|
10
10
|
fromLocation?: ILocation;
|
|
@@ -13,4 +13,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
13
13
|
/**
|
|
14
14
|
* 付与アクションインターフェース
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -13,8 +13,8 @@ export interface IPendingTransaction {
|
|
|
13
13
|
identifier?: string;
|
|
14
14
|
transactionNumber: string;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type IAgent = ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsSeller;
|
|
17
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
18
18
|
/**
|
|
19
19
|
* 匿名ロケーション
|
|
20
20
|
*/
|
|
@@ -31,7 +31,7 @@ export import IPaymentCard = MoneyTransferTransactionFactory.IPaymentCard;
|
|
|
31
31
|
/**
|
|
32
32
|
* 転送元あるいは転送先の場所インターフェース
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export type ILocation = IAnonymousLocation | IPaymentCard;
|
|
35
35
|
export interface IObject {
|
|
36
36
|
typeOf: AccountFactory.transactionType;
|
|
37
37
|
transactionNumber?: string;
|
|
@@ -40,15 +40,15 @@ export interface IObject {
|
|
|
40
40
|
*/
|
|
41
41
|
pendingTransaction?: IPendingTransaction;
|
|
42
42
|
}
|
|
43
|
-
export
|
|
44
|
-
export
|
|
43
|
+
export type IResult = any;
|
|
44
|
+
export type IPotentialActions = any;
|
|
45
45
|
export interface ITransactionPurpose {
|
|
46
46
|
typeOf: AssetTransactionType;
|
|
47
47
|
id: string;
|
|
48
48
|
identifier?: string;
|
|
49
49
|
}
|
|
50
|
-
export
|
|
51
|
-
export
|
|
50
|
+
export type IPurpose = ITransactionPurpose;
|
|
51
|
+
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
52
52
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.MoneyTransfer, IObject, IResult> {
|
|
53
53
|
typeOf: ActionType.MoneyTransfer;
|
|
54
54
|
agent: IAgent;
|
|
@@ -67,8 +67,8 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.MoneyT
|
|
|
67
67
|
*/
|
|
68
68
|
toLocation: ILocation;
|
|
69
69
|
}
|
|
70
|
-
export
|
|
71
|
-
export
|
|
70
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
|
71
|
+
export type IPointAwardAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
72
72
|
/**
|
|
73
73
|
* ポイント特典
|
|
74
74
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as MoneyTransferActionFactory from '../moneyTransfer';
|
|
3
3
|
import * as ReturnActionFactory from '../return';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
5
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
6
6
|
/**
|
|
7
7
|
* 返却対象は入金アクション
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type IObject = MoneyTransferActionFactory.IAction;
|
|
10
|
+
export type IResult = any;
|
|
11
11
|
export interface IPotentialActions {
|
|
12
12
|
}
|
|
13
13
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
@@ -18,4 +18,4 @@ export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IR
|
|
|
18
18
|
/**
|
|
19
19
|
* 入金返却アクション
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -5,18 +5,18 @@ import * as ReturnActionFactory from '../return';
|
|
|
5
5
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
6
6
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
7
7
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type IAgent = OrderFactory.IParticipantAsReturner;
|
|
9
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
10
10
|
/**
|
|
11
11
|
* 返却対象は注文
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type IObject = OrderFactory.ISimpleOrder & {
|
|
14
14
|
/**
|
|
15
15
|
* 返品日時
|
|
16
16
|
*/
|
|
17
17
|
dateReturned: Date;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type IResult = any;
|
|
20
20
|
export interface IPotentialActions {
|
|
21
21
|
/**
|
|
22
22
|
* 決済返却アクション
|
|
@@ -44,4 +44,4 @@ export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IR
|
|
|
44
44
|
/**
|
|
45
45
|
* 返品アクション
|
|
46
46
|
*/
|
|
47
|
-
export
|
|
47
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -2,17 +2,17 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import { IReferencedInvoice, ISimpleOrder } from '../../../order';
|
|
3
3
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../../transfer/send/message/email';
|
|
4
4
|
import * as ReturnActionFactory from '../return';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
7
|
+
export type IObject = IReferencedInvoice;
|
|
8
|
+
export type IResult = any;
|
|
9
9
|
export interface IPotentialActions {
|
|
10
10
|
/**
|
|
11
11
|
* 返金処理完了を通知するEメール送信アクション
|
|
12
12
|
*/
|
|
13
13
|
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IPurpose = ISimpleOrder;
|
|
16
16
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
17
17
|
agent: IAgent;
|
|
18
18
|
recipient: IRecipient;
|
|
@@ -22,4 +22,4 @@ export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IR
|
|
|
22
22
|
/**
|
|
23
23
|
* 決済返却アクション
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -2,8 +2,8 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
3
|
import { ISimpleOrder } from '../../../order';
|
|
4
4
|
import * as ReturnActionFactory from '../return';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
7
7
|
/**
|
|
8
8
|
* 入金取引識別子で指定する場合のオブジェクト
|
|
9
9
|
*/
|
|
@@ -22,9 +22,9 @@ export interface IObjectByTransactionFromLocationIdentifier {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
25
|
+
export type IObject = IObjectByTransactionIdentifier | IObjectByTransactionFromLocationIdentifier;
|
|
26
|
+
export type IPurpose = ISimpleOrder;
|
|
27
|
+
export type IResult = any;
|
|
28
28
|
export interface IPotentialActions {
|
|
29
29
|
}
|
|
30
30
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
@@ -36,4 +36,4 @@ export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IR
|
|
|
36
36
|
/**
|
|
37
37
|
* ポイント特典返却アクション
|
|
38
38
|
*/
|
|
39
|
-
export
|
|
39
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -4,19 +4,19 @@ import { AssetTransactionType } from '../../../assetTransactionType';
|
|
|
4
4
|
import { ISimpleOrder } from '../../../order';
|
|
5
5
|
import { Identifier as WebAPIIdentifier, IService } from '../../../service/webAPI';
|
|
6
6
|
import * as ReturnActionFactory from '../return';
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
7
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
8
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
9
|
+
export type IObject4COA = COA.factory.reserve.IStateReserveArgs & {
|
|
10
10
|
typeOf: 'COAReserveTransaction';
|
|
11
11
|
};
|
|
12
12
|
export interface IObject4Chevre {
|
|
13
13
|
typeOf: AssetTransactionType.Reserve;
|
|
14
14
|
transactionNumber: string;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
16
|
+
export type IObject<T extends WebAPIIdentifier> = T extends WebAPIIdentifier.COA ? IObject4COA : IObject4Chevre;
|
|
17
|
+
export type IPurpose = ISimpleOrder;
|
|
18
|
+
export type IResult = any;
|
|
19
|
+
export type IInstrument<T extends WebAPIIdentifier> = IService<T>;
|
|
20
20
|
export interface IAttributes<T extends WebAPIIdentifier> extends ReturnActionFactory.IAttributes<IObject<T>, IResult> {
|
|
21
21
|
agent: IAgent;
|
|
22
22
|
instrument: IInstrument<T>;
|
|
@@ -26,4 +26,4 @@ export interface IAttributes<T extends WebAPIIdentifier> extends ReturnActionFac
|
|
|
26
26
|
/**
|
|
27
27
|
* 予約取引返却アクション
|
|
28
28
|
*/
|
|
29
|
-
export
|
|
29
|
+
export type IAction<T extends WebAPIIdentifier> = ReturnActionFactory.IAction<IAttributes<T>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type IObject = any;
|
|
4
|
+
export type IResult = any;
|
|
5
5
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* 返却アクション
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -2,15 +2,15 @@ import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IP
|
|
|
2
2
|
import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
|
|
3
3
|
import { ISimpleOrder } from '../../../../order';
|
|
4
4
|
import * as SendActionFactory from '../../send';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type IAgent = IParticipantAsProject;
|
|
6
|
+
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
|
|
7
7
|
/**
|
|
8
8
|
* オブジェクト
|
|
9
9
|
* 「Eメール通知」を送信する
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type IObject = IEmailMessage;
|
|
12
|
+
export type IResult = any;
|
|
13
|
+
export type IPurpose = ISimpleOrder;
|
|
14
14
|
export interface IPotentialActions {
|
|
15
15
|
}
|
|
16
16
|
export interface IAttributes extends SendActionFactory.IAttributes<IObject, IResult> {
|
|
@@ -22,4 +22,4 @@ export interface IAttributes extends SendActionFactory.IAttributes<IObject, IRes
|
|
|
22
22
|
/**
|
|
23
23
|
* Eメール送信アクション
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type IAction = SendActionFactory.IAction<IAttributes>;
|
|
@@ -5,13 +5,13 @@ import { IAttributes as IMoneyTransferActionAttributes } from '../../interact/co
|
|
|
5
5
|
import { IAttributes as IRegisterServiceAttributes } from '../../interact/confirm/registerService';
|
|
6
6
|
import * as SendActionFactory from '../send';
|
|
7
7
|
import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
8
|
+
export type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
|
|
9
|
+
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
|
|
10
|
+
export type IObject = OrderFactory.ISimpleOrder;
|
|
11
11
|
/**
|
|
12
12
|
* 注文配送結果としての所有権
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type IResult = OwnershipInfoFactory.IOwnershipInfo<OwnershipInfoFactory.IGood>[];
|
|
15
15
|
export interface IPotentialActions {
|
|
16
16
|
/**
|
|
17
17
|
* 通貨転送アクション
|
|
@@ -34,4 +34,4 @@ export interface IAttributes extends SendActionFactory.IAttributes<IObject, IRes
|
|
|
34
34
|
/**
|
|
35
35
|
* 注文配送アクション
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type IAction = SendActionFactory.IAction<IAttributes>;
|