@chevre/factory 7.0.0 → 8.0.0-alpha.1
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/action/authorize/offer/any.d.ts +1 -6
- package/lib/chevre/action/authorize/offer/any.js +1 -1
- package/lib/chevre/action/interact/register/service.d.ts +1 -2
- package/lib/chevre/action/reserve.d.ts +1 -2
- package/lib/chevre/action/transfer/return/order.d.ts +1 -3
- package/lib/chevre/actionType.d.ts +0 -1
- package/lib/chevre/actionType.js +0 -1
- package/lib/chevre/assetTransaction/reserve.d.ts +2 -23
- package/lib/chevre/assetTransactionType.d.ts +0 -9
- package/lib/chevre/assetTransactionType.js +0 -9
- package/lib/chevre/index.d.ts +9 -37
- package/lib/chevre/index.js +0 -21
- package/lib/chevre/order.d.ts +9 -11
- package/lib/chevre/reservedCodeValues.js +1 -2
- package/lib/chevre/service/paymentService.d.ts +1 -2
- package/lib/chevre/service/paymentService.js +1 -1
- package/lib/chevre/task/onAssetTransactionStatusChanged.d.ts +1 -11
- package/lib/chevre/taskName.d.ts +0 -22
- package/lib/chevre/taskName.js +0 -22
- package/lib/chevre/unitPriceOffer.d.ts +1 -2
- package/package.json +1 -1
- package/lib/chevre/action/authorize/offer/product.d.ts +0 -74
- package/lib/chevre/action/authorize/offer/product.js +0 -5
- package/lib/chevre/action/interact/confirm/registerService.d.ts +0 -27
- package/lib/chevre/action/interact/confirm/registerService.js +0 -2
- package/lib/chevre/action/transfer/give/pointAward.d.ts +0 -50
- package/lib/chevre/action/transfer/give/pointAward.js +0 -7
- package/lib/chevre/action/transfer/give.d.ts +0 -16
- package/lib/chevre/action/transfer/give.js +0 -2
- package/lib/chevre/action/transfer/moneyTransfer.d.ts +0 -99
- package/lib/chevre/action/transfer/moneyTransfer.js +0 -2
- package/lib/chevre/action/transfer/return/pointAward.d.ts +0 -39
- package/lib/chevre/action/transfer/return/pointAward.js +0 -2
- package/lib/chevre/assetTransaction/moneyTransfer.d.ts +0 -136
- package/lib/chevre/assetTransaction/moneyTransfer.js +0 -2
- package/lib/chevre/assetTransaction/registerService.d.ts +0 -104
- package/lib/chevre/assetTransaction/registerService.js +0 -2
- package/lib/chevre/orderExternal.d.ts +0 -12
- package/lib/chevre/orderExternal.js +0 -2
- package/lib/chevre/task/cancelMoneyTransfer.d.ts +0 -18
- package/lib/chevre/task/cancelMoneyTransfer.js +0 -2
- package/lib/chevre/task/confirmRegisterService.d.ts +0 -13
- package/lib/chevre/task/confirmRegisterService.js +0 -2
- package/lib/chevre/task/confirmRegisterServiceTransaction.d.ts +0 -13
- package/lib/chevre/task/confirmRegisterServiceTransaction.js +0 -2
- package/lib/chevre/task/givePointAward.d.ts +0 -13
- package/lib/chevre/task/givePointAward.js +0 -2
- package/lib/chevre/task/moneyTransfer.d.ts +0 -13
- package/lib/chevre/task/moneyTransfer.js +0 -2
- package/lib/chevre/task/returnPointAward.d.ts +0 -13
- package/lib/chevre/task/returnPointAward.js +0 -2
- package/lib/chevre/task/voidRegisterServiceTransaction.d.ts +0 -24
- package/lib/chevre/task/voidRegisterServiceTransaction.js +0 -2
|
@@ -9,8 +9,7 @@ import { TransactionType } from '../../../transactionType';
|
|
|
9
9
|
export type IAgent = IParticipantAsSeller;
|
|
10
10
|
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson;
|
|
11
11
|
export declare enum ObjectType {
|
|
12
|
-
SeatReservation = "SeatReservation"
|
|
13
|
-
AggregateOffer = "AggregateOffer"
|
|
12
|
+
SeatReservation = "SeatReservation"
|
|
14
13
|
}
|
|
15
14
|
export interface IInstrumentAsCOAReserveTransaction {
|
|
16
15
|
typeOf: AssetTransactionType.COAReserveTransaction;
|
|
@@ -29,10 +28,6 @@ export interface IInstrumentAsReserveTransaction {
|
|
|
29
28
|
*/
|
|
30
29
|
transactionNumber: string;
|
|
31
30
|
}
|
|
32
|
-
export interface IInstrumentAsRegisterService {
|
|
33
|
-
typeOf: AssetTransactionType.RegisterService;
|
|
34
|
-
transactionNumber: string;
|
|
35
|
-
}
|
|
36
31
|
export interface IPurpose {
|
|
37
32
|
typeOf: TransactionType.PlaceOrder;
|
|
38
33
|
id: string;
|
|
@@ -4,5 +4,5 @@ exports.ObjectType = void 0;
|
|
|
4
4
|
var ObjectType;
|
|
5
5
|
(function (ObjectType) {
|
|
6
6
|
ObjectType["SeatReservation"] = "SeatReservation";
|
|
7
|
-
|
|
7
|
+
// AggregateOffer = 'AggregateOffer'
|
|
8
8
|
})(ObjectType || (exports.ObjectType = ObjectType = {}));
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { IParticipantAsProject } from '../../../action';
|
|
2
2
|
import { IPermit } from '../../../permit';
|
|
3
|
-
import { IAttributes as IMoneyTransferActionAttributes } from '../../transfer/moneyTransfer';
|
|
4
3
|
import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../register';
|
|
5
4
|
export type IAgent = IParticipantAsProject;
|
|
6
5
|
export type IObject = IPermit;
|
|
7
6
|
export type IResult = any;
|
|
8
7
|
export interface IPotentialActions {
|
|
9
|
-
moneyTransfer
|
|
8
|
+
moneyTransfer?: never;
|
|
10
9
|
}
|
|
11
10
|
export interface IAttributes extends IBaseAttributes<IObject, IResult> {
|
|
12
11
|
agent: IAgent;
|
|
@@ -6,7 +6,6 @@ import { IAvailableReservationStatusType } from '../reservation';
|
|
|
6
6
|
import { IReservationForLegacy as IEventReservationFor } from '../reservation/event';
|
|
7
7
|
import { ReservationType } from '../reservationType';
|
|
8
8
|
import { ITransaction as IPlaceOrder } from '../transaction/placeOrder';
|
|
9
|
-
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
10
9
|
export type IAgent = IParticipantAsProject;
|
|
11
10
|
export type IReservationFor = Pick<IEventReservationFor, 'id' | 'typeOf'> & {
|
|
12
11
|
optimized: boolean;
|
|
@@ -32,7 +31,7 @@ export interface IAssetTransactionAsReservePurpose {
|
|
|
32
31
|
}
|
|
33
32
|
export type IPurpose = IAssetTransactionAsReservePurpose;
|
|
34
33
|
export interface IPotentialActions {
|
|
35
|
-
moneyTransfer?:
|
|
34
|
+
moneyTransfer?: never;
|
|
36
35
|
}
|
|
37
36
|
export type IOrderAsInstrument = Pick<IOrder, 'orderNumber' | 'typeOf'>;
|
|
38
37
|
export type IPlaceOrderAsInstrument = Pick<IPlaceOrder, 'id' | 'typeOf'>;
|
|
@@ -5,7 +5,6 @@ import { IParticipantAsReturner, ISimpleOrder } from '../../../order';
|
|
|
5
5
|
import { IAttributes as IReturnInvoiceActionAttributes } from '../../transfer/return/invoice';
|
|
6
6
|
import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../return';
|
|
7
7
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
8
|
-
import { IAttributes as IReturnPointAwardActionAttributes } from './pointAward';
|
|
9
8
|
export type IAgent = IParticipantAsReturner;
|
|
10
9
|
export type IRecipient = IParticipantAsSeller;
|
|
11
10
|
/**
|
|
@@ -20,7 +19,6 @@ export type IObject = ISimpleOrder & {
|
|
|
20
19
|
export interface IResult {
|
|
21
20
|
}
|
|
22
21
|
export type IPotentialReturnInvoiceAction = Pick<IReturnInvoiceActionAttributes, 'object' | 'potentialActions'>;
|
|
23
|
-
export type IPotentialReturnPointAwardAction = IReturnPointAwardActionAttributes;
|
|
24
22
|
export type IPotentialSendEmailMessageAction = Pick<ISendEmailMessageActionAttributes, 'object'>;
|
|
25
23
|
export interface IPotentialActions {
|
|
26
24
|
/**
|
|
@@ -31,7 +29,7 @@ export interface IPotentialActions {
|
|
|
31
29
|
/**
|
|
32
30
|
* ポイントインセンティブ返却アクション
|
|
33
31
|
*/
|
|
34
|
-
returnPointAward
|
|
32
|
+
returnPointAward?: never;
|
|
35
33
|
/**
|
|
36
34
|
* Eメール送信アクション
|
|
37
35
|
*/
|
|
@@ -10,7 +10,6 @@ export declare enum ActionType {
|
|
|
10
10
|
ConfirmAction = "ConfirmAction",
|
|
11
11
|
CreateAction = "CreateAction",
|
|
12
12
|
DeleteAction = "DeleteAction",
|
|
13
|
-
GiveAction = "GiveAction",
|
|
14
13
|
InformAction = "InformAction",
|
|
15
14
|
MoneyTransfer = "MoneyTransfer",
|
|
16
15
|
OrderAction = "OrderAction",
|
package/lib/chevre/actionType.js
CHANGED
|
@@ -14,7 +14,6 @@ var ActionType;
|
|
|
14
14
|
ActionType["ConfirmAction"] = "ConfirmAction";
|
|
15
15
|
ActionType["CreateAction"] = "CreateAction";
|
|
16
16
|
ActionType["DeleteAction"] = "DeleteAction";
|
|
17
|
-
ActionType["GiveAction"] = "GiveAction";
|
|
18
17
|
ActionType["InformAction"] = "InformAction";
|
|
19
18
|
ActionType["MoneyTransfer"] = "MoneyTransfer";
|
|
20
19
|
ActionType["OrderAction"] = "OrderAction";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { IInstrument as IReserveActionInstrument } from '../action/reserve';
|
|
2
|
-
import { IPointAward } from '../action/transfer/moneyTransfer';
|
|
3
|
-
import { ActionType } from '../actionType';
|
|
4
2
|
import { IAgent, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
|
|
5
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
6
4
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -68,25 +66,6 @@ export type ITokenizedProgramMembershipUsed = string;
|
|
|
68
66
|
*/
|
|
69
67
|
export type IAcceptedProgramMembershipUsed = IPermitIssuedThroughFaceToFace | IPermitIssuedThroughMembershipService | IProgramMembershipUsedAsTicket | ITokenizedProgramMembershipUsed;
|
|
70
68
|
export type IAcceptedSubReservation = ISubReservation4eventReservation;
|
|
71
|
-
export interface IAcceptedPointAward {
|
|
72
|
-
typeOf: ActionType.MoneyTransfer;
|
|
73
|
-
recipient?: any;
|
|
74
|
-
/**
|
|
75
|
-
* 特典付与先
|
|
76
|
-
*/
|
|
77
|
-
toLocation?: {
|
|
78
|
-
/**
|
|
79
|
-
* カード番号
|
|
80
|
-
*/
|
|
81
|
-
identifier: string;
|
|
82
|
-
issuedThrough: {
|
|
83
|
-
/**
|
|
84
|
-
* カード発行サービスID
|
|
85
|
-
*/
|
|
86
|
-
id: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
69
|
export interface IEventReservatonAsItemOfferedServiceOutput {
|
|
91
70
|
typeOf: ReservationType.EventReservation;
|
|
92
71
|
/**
|
|
@@ -119,11 +98,11 @@ export type IItemOfferedServiceOutput = IEventReservatonAsItemOfferedServiceOutp
|
|
|
119
98
|
* 受け入れられたオファーのアイテム
|
|
120
99
|
*/
|
|
121
100
|
export interface IAcceptedTicketOfferItemOffered {
|
|
122
|
-
pointAward?:
|
|
101
|
+
pointAward?: never;
|
|
123
102
|
serviceOutput?: IItemOfferedServiceOutput;
|
|
124
103
|
}
|
|
125
104
|
export interface IAcceptedTicketOfferItemOffered4object {
|
|
126
|
-
pointAward?:
|
|
105
|
+
pointAward?: never;
|
|
127
106
|
serviceOutput: {
|
|
128
107
|
id: string;
|
|
129
108
|
};
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* 資産取引タイプ
|
|
3
3
|
*/
|
|
4
4
|
export declare enum AssetTransactionType {
|
|
5
|
-
/**
|
|
6
|
-
* 通貨転送
|
|
7
|
-
*/
|
|
8
|
-
MoneyTransfer = "MoneyTransfer",
|
|
9
5
|
/**
|
|
10
6
|
* 予約
|
|
11
7
|
*/
|
|
@@ -22,11 +18,6 @@ export declare enum AssetTransactionType {
|
|
|
22
18
|
* 返金
|
|
23
19
|
*/
|
|
24
20
|
Refund = "Refund",
|
|
25
|
-
/**
|
|
26
|
-
* サービス登録
|
|
27
|
-
* Service: MembershipService,PaymentCard...
|
|
28
|
-
*/
|
|
29
|
-
RegisterService = "RegisterService",
|
|
30
21
|
/**
|
|
31
22
|
* 資産取引docは存在しない
|
|
32
23
|
*/
|
|
@@ -6,10 +6,6 @@ exports.AssetTransactionType = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var AssetTransactionType;
|
|
8
8
|
(function (AssetTransactionType) {
|
|
9
|
-
/**
|
|
10
|
-
* 通貨転送
|
|
11
|
-
*/
|
|
12
|
-
AssetTransactionType["MoneyTransfer"] = "MoneyTransfer";
|
|
13
9
|
/**
|
|
14
10
|
* 予約
|
|
15
11
|
*/
|
|
@@ -26,11 +22,6 @@ var AssetTransactionType;
|
|
|
26
22
|
* 返金
|
|
27
23
|
*/
|
|
28
24
|
AssetTransactionType["Refund"] = "Refund";
|
|
29
|
-
/**
|
|
30
|
-
* サービス登録
|
|
31
|
-
* Service: MembershipService,PaymentCard...
|
|
32
|
-
*/
|
|
33
|
-
AssetTransactionType["RegisterService"] = "RegisterService";
|
|
34
25
|
/**
|
|
35
26
|
* 資産取引docは存在しない
|
|
36
27
|
*/
|
package/lib/chevre/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as AcceptPayActionFactory from './action/accept/pay';
|
|
|
7
7
|
import * as AuthorizeActionFactory from './action/authorize';
|
|
8
8
|
import * as AuthorizeInvoiceActionFactory from './action/authorize/invoice';
|
|
9
9
|
import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/offer/eventService';
|
|
10
|
-
import * as AuthorizeProductOfferActionFactory from './action/authorize/offer/product';
|
|
11
10
|
import * as AuthorizeAnyPaymentActionFactory from './action/authorize/paymentMethod/any';
|
|
12
11
|
import * as AuthorizeTicketedObjectActionFactory from './action/authorize/ticketedObject';
|
|
13
12
|
import * as CancelCOAReserveActionFactory from './action/cancel/coaReserve';
|
|
@@ -17,7 +16,6 @@ import * as CheckThingActionFactory from './action/check/thing';
|
|
|
17
16
|
import * as UseReservationActionFactory from './action/consume/use/reservation';
|
|
18
17
|
import * as CreateActionFactory from './action/create';
|
|
19
18
|
import * as ConfirmPayActionFactory from './action/interact/confirm/pay';
|
|
20
|
-
import * as ConfirmRegisterServiceActionFactory from './action/interact/confirm/registerService';
|
|
21
19
|
import * as ConfirmReservationActionFactory from './action/interact/confirm/reservation';
|
|
22
20
|
import * as InformActionFactory from './action/interact/inform';
|
|
23
21
|
import * as RegisterActionFactory from './action/interact/register';
|
|
@@ -26,12 +24,8 @@ import * as ReserveActionFactory from './action/reserve';
|
|
|
26
24
|
import * as OrderActionFactory from './action/trade/order';
|
|
27
25
|
import * as PayActionFactory from './action/trade/pay';
|
|
28
26
|
import * as RefundActionFactory from './action/trade/refund';
|
|
29
|
-
import * as GiveActionFactory from './action/transfer/give';
|
|
30
|
-
import * as GivePointAwardActionFactory from './action/transfer/give/pointAward';
|
|
31
|
-
import * as MoneyTransferActionFactory from './action/transfer/moneyTransfer';
|
|
32
27
|
import * as ReturnInvoiceActionFactory from './action/transfer/return/invoice';
|
|
33
28
|
import * as ReturnOrderActionFactory from './action/transfer/return/order';
|
|
34
|
-
import * as ReturnPointAwardActionFactory from './action/transfer/return/pointAward';
|
|
35
29
|
import * as ReturnReserveTransactionActionFactory from './action/transfer/return/reserveTransaction';
|
|
36
30
|
import * as SendEmailMessageActionFactory from './action/transfer/send/message/email';
|
|
37
31
|
import * as SendOrderActionFactory from './action/transfer/send/order';
|
|
@@ -163,25 +157,20 @@ import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
|
|
|
163
157
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
164
158
|
import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
|
|
165
159
|
import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
|
|
166
|
-
import * as CancelMoneyTransferTaskFactory from './task/cancelMoneyTransfer';
|
|
167
160
|
import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
|
|
168
161
|
import * as CancelReservationTaskFactory from './task/cancelReservation';
|
|
169
162
|
import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
|
|
170
163
|
import * as CheckResourceTaskFactory from './task/checkResource';
|
|
171
164
|
import * as ConfirmPayTransactionTaskFactory from './task/confirmPayTransaction';
|
|
172
|
-
import * as ConfirmRegisterServiceTaskFactory from './task/confirmRegisterService';
|
|
173
|
-
import * as ConfirmRegisterServiceTransactionTaskFactory from './task/confirmRegisterServiceTransaction';
|
|
174
165
|
import * as ConfirmReserveTransactionTaskFactory from './task/confirmReserveTransaction';
|
|
175
166
|
import * as CreateAccountingReportTaskFactory from './task/createAccountingReport';
|
|
176
167
|
import * as DeletePersonTaskFactory from './task/deletePerson';
|
|
177
168
|
import * as DeleteTransactionTaskFactory from './task/deleteTransaction';
|
|
178
|
-
import * as GivePointAwardTaskFactory from './task/givePointAward';
|
|
179
169
|
import * as HandleNotificationTaskFactory from './task/handleNotification';
|
|
180
170
|
import * as ImportEventCapacitiesFromCOATaskFactory from './task/importEventCapacitiesFromCOA';
|
|
181
171
|
import * as ImportEventsFromCOATaskFactory from './task/importEventsFromCOA';
|
|
182
172
|
import * as ImportOffersFromCOATaskFactory from './task/importOffersFromCOA';
|
|
183
173
|
import * as InvalidatePaymentUrlTaskFactory from './task/invalidatePaymentUrl';
|
|
184
|
-
import * as MoneyTransferTaskFactory from './task/moneyTransfer';
|
|
185
174
|
import * as OnAssetTransactionStatusChangedTaskFactory from './task/onAssetTransactionStatusChanged';
|
|
186
175
|
import * as OnAuthorizationCreatedTaskFactory from './task/onAuthorizationCreated';
|
|
187
176
|
import * as OnEventChangedTaskFactory from './task/onEventChanged';
|
|
@@ -196,7 +185,6 @@ import * as RegisterServiceTaskFactory from './task/registerService';
|
|
|
196
185
|
import * as ReserveTaskFactory from './task/reserve';
|
|
197
186
|
import * as ReturnOrderTaskFactory from './task/returnOrder';
|
|
198
187
|
import * as ReturnPayTransactionTaskFactory from './task/returnPayTransaction';
|
|
199
|
-
import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
|
|
200
188
|
import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
|
|
201
189
|
import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
|
|
202
190
|
import * as SendOrderTaskFactory from './task/sendOrder';
|
|
@@ -205,16 +193,13 @@ import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
|
|
|
205
193
|
import * as UseReservationTaskFactory from './task/useReservation';
|
|
206
194
|
import * as VoidPaymentTaskFactory from './task/voidPayment';
|
|
207
195
|
import * as VoidPayTransactionTaskFactory from './task/voidPayTransaction';
|
|
208
|
-
import * as VoidRegisterServiceTransactionTaskFactory from './task/voidRegisterServiceTransaction';
|
|
209
196
|
import * as VoidReserveTransactionTaskFactory from './task/voidReserveTransaction';
|
|
210
197
|
import { TaskName } from './taskName';
|
|
211
198
|
import { TaskStatus } from './taskStatus';
|
|
212
199
|
import * as AssetTransactionFactory from './assetTransaction';
|
|
213
200
|
import * as CancelReservationAssetTransactionFactory from './assetTransaction/cancelReservation';
|
|
214
|
-
import * as MoneyTransferAssetTransactionFactory from './assetTransaction/moneyTransfer';
|
|
215
201
|
import * as PayAssetTransactionFactory from './assetTransaction/pay';
|
|
216
202
|
import * as RefundAssetTransactionFactory from './assetTransaction/refund';
|
|
217
|
-
import * as RegisterServiceAssetTransactionFactory from './assetTransaction/registerService';
|
|
218
203
|
import * as ReserveAssetTransactionFactory from './assetTransaction/reserve';
|
|
219
204
|
import { AssetTransactionType } from './assetTransactionType';
|
|
220
205
|
import { TransactionStatusType } from './transactionStatusType';
|
|
@@ -255,7 +240,6 @@ export declare namespace action {
|
|
|
255
240
|
}
|
|
256
241
|
namespace offer {
|
|
257
242
|
export import eventService = AuthorizeEventServiceOfferActionFactory;
|
|
258
|
-
export import product = AuthorizeProductOfferActionFactory;
|
|
259
243
|
}
|
|
260
244
|
export import invoice = AuthorizeInvoiceActionFactory;
|
|
261
245
|
export import ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
@@ -273,7 +257,6 @@ export declare namespace action {
|
|
|
273
257
|
export import create = CreateActionFactory;
|
|
274
258
|
namespace interact {
|
|
275
259
|
namespace confirm {
|
|
276
|
-
export import registerService = ConfirmRegisterServiceActionFactory;
|
|
277
260
|
export import pay = ConfirmPayActionFactory;
|
|
278
261
|
export import reservation = ConfirmReservationActionFactory;
|
|
279
262
|
}
|
|
@@ -290,12 +273,6 @@ export declare namespace action {
|
|
|
290
273
|
export import refund = RefundActionFactory;
|
|
291
274
|
}
|
|
292
275
|
namespace transfer {
|
|
293
|
-
export import moneyTransfer = MoneyTransferActionFactory;
|
|
294
|
-
namespace give {
|
|
295
|
-
export import IAction = GiveActionFactory.IAction;
|
|
296
|
-
export import IAttributes = GiveActionFactory.IAttributes;
|
|
297
|
-
export import pointAward = GivePointAwardActionFactory;
|
|
298
|
-
}
|
|
299
276
|
/**
|
|
300
277
|
* 返却アクション
|
|
301
278
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -303,7 +280,6 @@ export declare namespace action {
|
|
|
303
280
|
namespace returnAction {
|
|
304
281
|
export import invoice = ReturnInvoiceActionFactory;
|
|
305
282
|
export import order = ReturnOrderActionFactory;
|
|
306
|
-
export import pointAward = ReturnPointAwardActionFactory;
|
|
307
283
|
export import reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
308
284
|
}
|
|
309
285
|
namespace send {
|
|
@@ -484,9 +460,9 @@ export import schedule = ScheduleFactory;
|
|
|
484
460
|
export import seller = SellerFactory;
|
|
485
461
|
export import sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
486
462
|
export declare namespace task {
|
|
487
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.
|
|
488
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.
|
|
489
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.
|
|
463
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
464
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.ITaskAttributes;
|
|
465
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.ITask : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.ITask : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.ITask : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.ITask : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.UseReservation ? UseReservationTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
490
466
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
491
467
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
492
468
|
export import acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
@@ -494,7 +470,6 @@ export declare namespace task {
|
|
|
494
470
|
export import aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
495
471
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
496
472
|
export import authorizePayment = AuthorizePaymentTaskFactory;
|
|
497
|
-
export import cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
498
473
|
export import cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
499
474
|
export import cancelReservation = CancelReservationTaskFactory;
|
|
500
475
|
export import checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
@@ -508,7 +483,6 @@ export declare namespace task {
|
|
|
508
483
|
export import importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
509
484
|
export import importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
510
485
|
export import invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
511
|
-
export import moneyTransfer = MoneyTransferTaskFactory;
|
|
512
486
|
export import onAssetTransactionStatusChanged = OnAssetTransactionStatusChangedTaskFactory;
|
|
513
487
|
export import pay = PayTaskFactory;
|
|
514
488
|
export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
@@ -544,17 +518,15 @@ export declare namespace trip {
|
|
|
544
518
|
export import tripType = TripType;
|
|
545
519
|
export declare namespace assetTransaction {
|
|
546
520
|
type IProject = AssetTransactionFactory.IProject;
|
|
547
|
-
type IStartParams<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IStartParams : T extends AssetTransactionType.
|
|
548
|
-
type IAttributes<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IAttributes : T extends AssetTransactionType.
|
|
549
|
-
type ITransaction<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ITransaction : T extends AssetTransactionType.
|
|
550
|
-
type IResult<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IResult : T extends AssetTransactionType.
|
|
551
|
-
type IPotentialActions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.
|
|
552
|
-
type ISearchConditions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.
|
|
521
|
+
type IStartParams<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IStartParams : never;
|
|
522
|
+
type IAttributes<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IAttributes : never;
|
|
523
|
+
type ITransaction<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ITransaction : never;
|
|
524
|
+
type IResult<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IResult : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IResult : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IResult : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IResult : never;
|
|
525
|
+
type IPotentialActions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IPotentialActions : never;
|
|
526
|
+
type ISearchConditions<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ISearchConditions : never;
|
|
553
527
|
export import cancelReservation = CancelReservationAssetTransactionFactory;
|
|
554
|
-
export import moneyTransfer = MoneyTransferAssetTransactionFactory;
|
|
555
528
|
export import pay = PayAssetTransactionFactory;
|
|
556
529
|
export import refund = RefundAssetTransactionFactory;
|
|
557
|
-
export import registerService = RegisterServiceAssetTransactionFactory;
|
|
558
530
|
export import reserve = ReserveAssetTransactionFactory;
|
|
559
531
|
}
|
|
560
532
|
export declare namespace transaction {
|
package/lib/chevre/index.js
CHANGED
|
@@ -9,7 +9,6 @@ const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
|
9
9
|
const AcceptPayActionFactory = require("./action/accept/pay");
|
|
10
10
|
const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
|
|
11
11
|
const AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/eventService");
|
|
12
|
-
const AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
|
|
13
12
|
const AuthorizeAnyPaymentActionFactory = require("./action/authorize/paymentMethod/any");
|
|
14
13
|
const AuthorizeTicketedObjectActionFactory = require("./action/authorize/ticketedObject");
|
|
15
14
|
const CancelCOAReserveActionFactory = require("./action/cancel/coaReserve");
|
|
@@ -19,7 +18,6 @@ const CheckThingActionFactory = require("./action/check/thing");
|
|
|
19
18
|
const UseReservationActionFactory = require("./action/consume/use/reservation");
|
|
20
19
|
const CreateActionFactory = require("./action/create");
|
|
21
20
|
const ConfirmPayActionFactory = require("./action/interact/confirm/pay");
|
|
22
|
-
const ConfirmRegisterServiceActionFactory = require("./action/interact/confirm/registerService");
|
|
23
21
|
const ConfirmReservationActionFactory = require("./action/interact/confirm/reservation");
|
|
24
22
|
const InformActionFactory = require("./action/interact/inform");
|
|
25
23
|
const RegisterServiceActionFactory = require("./action/interact/register/service");
|
|
@@ -27,11 +25,8 @@ const ReserveActionFactory = require("./action/reserve");
|
|
|
27
25
|
const OrderActionFactory = require("./action/trade/order");
|
|
28
26
|
const PayActionFactory = require("./action/trade/pay");
|
|
29
27
|
const RefundActionFactory = require("./action/trade/refund");
|
|
30
|
-
const GivePointAwardActionFactory = require("./action/transfer/give/pointAward");
|
|
31
|
-
const MoneyTransferActionFactory = require("./action/transfer/moneyTransfer");
|
|
32
28
|
const ReturnInvoiceActionFactory = require("./action/transfer/return/invoice");
|
|
33
29
|
const ReturnOrderActionFactory = require("./action/transfer/return/order");
|
|
34
|
-
const ReturnPointAwardActionFactory = require("./action/transfer/return/pointAward");
|
|
35
30
|
const ReturnReserveTransactionActionFactory = require("./action/transfer/return/reserveTransaction");
|
|
36
31
|
const SendEmailMessageActionFactory = require("./action/transfer/send/message/email");
|
|
37
32
|
const SendOrderActionFactory = require("./action/transfer/send/order");
|
|
@@ -159,7 +154,6 @@ const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
|
|
|
159
154
|
const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
160
155
|
const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
161
156
|
const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
162
|
-
const CancelMoneyTransferTaskFactory = require("./task/cancelMoneyTransfer");
|
|
163
157
|
const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
|
|
164
158
|
const CancelReservationTaskFactory = require("./task/cancelReservation");
|
|
165
159
|
const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
|
|
@@ -173,7 +167,6 @@ const ImportEventCapacitiesFromCOATaskFactory = require("./task/importEventCapac
|
|
|
173
167
|
const ImportEventsFromCOATaskFactory = require("./task/importEventsFromCOA");
|
|
174
168
|
const ImportOffersFromCOATaskFactory = require("./task/importOffersFromCOA");
|
|
175
169
|
const InvalidatePaymentUrlTaskFactory = require("./task/invalidatePaymentUrl");
|
|
176
|
-
const MoneyTransferTaskFactory = require("./task/moneyTransfer");
|
|
177
170
|
const OnAssetTransactionStatusChangedTaskFactory = require("./task/onAssetTransactionStatusChanged");
|
|
178
171
|
const OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
|
|
179
172
|
const OnEventChangedTaskFactory = require("./task/onEventChanged");
|
|
@@ -192,10 +185,8 @@ const VoidPaymentTaskFactory = require("./task/voidPayment");
|
|
|
192
185
|
const taskName_1 = require("./taskName");
|
|
193
186
|
const taskStatus_1 = require("./taskStatus");
|
|
194
187
|
const CancelReservationAssetTransactionFactory = require("./assetTransaction/cancelReservation");
|
|
195
|
-
const MoneyTransferAssetTransactionFactory = require("./assetTransaction/moneyTransfer");
|
|
196
188
|
const PayAssetTransactionFactory = require("./assetTransaction/pay");
|
|
197
189
|
const RefundAssetTransactionFactory = require("./assetTransaction/refund");
|
|
198
|
-
const RegisterServiceAssetTransactionFactory = require("./assetTransaction/registerService");
|
|
199
190
|
const ReserveAssetTransactionFactory = require("./assetTransaction/reserve");
|
|
200
191
|
const assetTransactionType_1 = require("./assetTransactionType");
|
|
201
192
|
const transactionStatusType_1 = require("./transactionStatusType");
|
|
@@ -224,7 +215,6 @@ var action;
|
|
|
224
215
|
let offer;
|
|
225
216
|
(function (offer) {
|
|
226
217
|
offer.eventService = AuthorizeEventServiceOfferActionFactory;
|
|
227
|
-
offer.product = AuthorizeProductOfferActionFactory;
|
|
228
218
|
})(offer = authorize.offer || (authorize.offer = {}));
|
|
229
219
|
authorize.invoice = AuthorizeInvoiceActionFactory;
|
|
230
220
|
authorize.ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
@@ -248,7 +238,6 @@ var action;
|
|
|
248
238
|
(function (interact) {
|
|
249
239
|
let confirm;
|
|
250
240
|
(function (confirm) {
|
|
251
|
-
confirm.registerService = ConfirmRegisterServiceActionFactory;
|
|
252
241
|
confirm.pay = ConfirmPayActionFactory;
|
|
253
242
|
confirm.reservation = ConfirmReservationActionFactory;
|
|
254
243
|
})(confirm = interact.confirm || (interact.confirm = {}));
|
|
@@ -266,11 +255,6 @@ var action;
|
|
|
266
255
|
})(trade = action.trade || (action.trade = {}));
|
|
267
256
|
let transfer;
|
|
268
257
|
(function (transfer) {
|
|
269
|
-
transfer.moneyTransfer = MoneyTransferActionFactory;
|
|
270
|
-
let give;
|
|
271
|
-
(function (give) {
|
|
272
|
-
give.pointAward = GivePointAwardActionFactory;
|
|
273
|
-
})(give = transfer.give || (transfer.give = {}));
|
|
274
258
|
/**
|
|
275
259
|
* 返却アクション
|
|
276
260
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -279,7 +263,6 @@ var action;
|
|
|
279
263
|
(function (returnAction) {
|
|
280
264
|
returnAction.invoice = ReturnInvoiceActionFactory;
|
|
281
265
|
returnAction.order = ReturnOrderActionFactory;
|
|
282
|
-
returnAction.pointAward = ReturnPointAwardActionFactory;
|
|
283
266
|
returnAction.reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
284
267
|
})(returnAction = transfer.returnAction || (transfer.returnAction = {}));
|
|
285
268
|
let send;
|
|
@@ -475,7 +458,6 @@ var task;
|
|
|
475
458
|
task.aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
476
459
|
task.aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
477
460
|
task.authorizePayment = AuthorizePaymentTaskFactory;
|
|
478
|
-
task.cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
479
461
|
task.cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
480
462
|
task.cancelReservation = CancelReservationTaskFactory;
|
|
481
463
|
task.checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
@@ -489,7 +471,6 @@ var task;
|
|
|
489
471
|
task.importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
490
472
|
task.importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
491
473
|
task.invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
492
|
-
task.moneyTransfer = MoneyTransferTaskFactory;
|
|
493
474
|
task.onAssetTransactionStatusChanged = OnAssetTransactionStatusChangedTaskFactory;
|
|
494
475
|
task.pay = PayTaskFactory;
|
|
495
476
|
task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
@@ -526,10 +507,8 @@ exports.tripType = tripType_1.TripType;
|
|
|
526
507
|
var assetTransaction;
|
|
527
508
|
(function (assetTransaction) {
|
|
528
509
|
assetTransaction.cancelReservation = CancelReservationAssetTransactionFactory;
|
|
529
|
-
assetTransaction.moneyTransfer = MoneyTransferAssetTransactionFactory;
|
|
530
510
|
assetTransaction.pay = PayAssetTransactionFactory;
|
|
531
511
|
assetTransaction.refund = RefundAssetTransactionFactory;
|
|
532
|
-
assetTransaction.registerService = RegisterServiceAssetTransactionFactory;
|
|
533
512
|
assetTransaction.reserve = ReserveAssetTransactionFactory;
|
|
534
513
|
})(assetTransaction || (exports.assetTransaction = assetTransaction = {}));
|
|
535
514
|
var transaction;
|
package/lib/chevre/order.d.ts
CHANGED
|
@@ -10,19 +10,19 @@ import { IOffer } from './offer';
|
|
|
10
10
|
import { OrderStatus } from './orderStatus';
|
|
11
11
|
import { OrganizationType } from './organizationType';
|
|
12
12
|
import { PaymentStatusType } from './paymentStatusType';
|
|
13
|
-
import { IIssuedThroughAsProduct, IPermit as IBasePermit } from './permit';
|
|
14
13
|
import { IPerson, IProfile } from './person';
|
|
15
14
|
import { PersonType } from './personType';
|
|
16
15
|
import { PlaceType } from './placeType';
|
|
17
16
|
import { PriceCurrency } from './priceCurrency';
|
|
18
17
|
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
19
|
-
import {
|
|
18
|
+
import { ProductType } from './product';
|
|
20
19
|
import { IPropertyValue } from './propertyValue';
|
|
21
20
|
import { ICategoryChargePriceComponent, IIssuedThrough, IMovieTicketTypeChargePriceComponent, IOptimizedSuperEventLegacy, IOptimizedWorkPerformedLegacy, IProgramMembershipUsedSearchConditions, IReservation as IRawReservation, IReservationForLegacy, IReservedTicket as IRawReservedTicket, ITicketType, IUnitPriceComponent, IServiceTypeOfIssuedThrough } from './reservation/event';
|
|
22
21
|
import { ReservationType } from './reservationType';
|
|
23
22
|
import { ISeller as IBaseSeller } from './seller';
|
|
24
23
|
import { IPaymentMethodAsServiceOutput, PaymentServiceType } from './service/paymentService';
|
|
25
24
|
import { SortType } from './sortType';
|
|
25
|
+
import { UnitCode } from './unitCode';
|
|
26
26
|
export interface IProject {
|
|
27
27
|
typeOf: OrganizationType.Project;
|
|
28
28
|
id: string;
|
|
@@ -39,6 +39,11 @@ export interface IOrderPaymentMethodIssuedThrough {
|
|
|
39
39
|
}
|
|
40
40
|
export interface ITotalPaymentDue extends Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> {
|
|
41
41
|
value: number;
|
|
42
|
+
/**
|
|
43
|
+
* 決済カードIFの場合C62
|
|
44
|
+
* それ以外ではJPY
|
|
45
|
+
*/
|
|
46
|
+
currency: UnitCode.C62 | PriceCurrency.JPY;
|
|
42
47
|
}
|
|
43
48
|
export type IPaymentMethodOfInvoice = Pick<IPaymentMethodAsServiceOutput, 'amount'> & {
|
|
44
49
|
/**
|
|
@@ -191,14 +196,10 @@ export type ICOAEventReservation = Pick<IRawReservation, 'additionalProperty' |
|
|
|
191
196
|
* オファー提供アイテムとしての予約
|
|
192
197
|
*/
|
|
193
198
|
export type IReservation = IEventReservation | ICOAEventReservation;
|
|
194
|
-
export type IPermit = Pick<IBasePermit, 'amount' | 'identifier' | 'name' | 'typeOf' | 'validFor'> & {
|
|
195
|
-
identifier: string;
|
|
196
|
-
issuedThrough?: IIssuedThroughAsProduct;
|
|
197
|
-
};
|
|
198
199
|
/**
|
|
199
200
|
* 注文アイテム
|
|
200
201
|
*/
|
|
201
|
-
export type IItemOffered = IReservation
|
|
202
|
+
export type IItemOffered = IReservation;
|
|
202
203
|
export { ICategoryChargePriceComponent };
|
|
203
204
|
export { IMovieTicketTypeChargePriceComponent };
|
|
204
205
|
export { IUnitPriceComponent };
|
|
@@ -288,16 +289,13 @@ export interface IEventServiceAsOrderedItem {
|
|
|
288
289
|
*/
|
|
289
290
|
id?: string;
|
|
290
291
|
}
|
|
291
|
-
export type IProductAsOrderedItem = Pick<IMembershipProduct | IPaymentCardProduct, 'serviceType' | 'typeOf'> & {
|
|
292
|
-
id: string;
|
|
293
|
-
};
|
|
294
292
|
/**
|
|
295
293
|
* 注文アイテム
|
|
296
294
|
* {@link https://schema.org/OrderItem}
|
|
297
295
|
*/
|
|
298
296
|
export interface IOrderedItem {
|
|
299
297
|
typeOf: 'OrderItem';
|
|
300
|
-
orderedItem:
|
|
298
|
+
orderedItem: IEventServiceAsOrderedItem;
|
|
301
299
|
}
|
|
302
300
|
/**
|
|
303
301
|
* 注文
|
|
@@ -28,10 +28,9 @@ const unitCode_1 = require("./unitCode");
|
|
|
28
28
|
exports.RESERVED_CODE_VALUES = [
|
|
29
29
|
'AccountTitle',
|
|
30
30
|
assetTransactionType_1.AssetTransactionType.CancelReservation,
|
|
31
|
-
|
|
31
|
+
'MoneyTransfer',
|
|
32
32
|
assetTransactionType_1.AssetTransactionType.Pay,
|
|
33
33
|
assetTransactionType_1.AssetTransactionType.Refund,
|
|
34
|
-
assetTransactionType_1.AssetTransactionType.RegisterService,
|
|
35
34
|
assetTransactionType_1.AssetTransactionType.Reserve,
|
|
36
35
|
'Authorization',
|
|
37
36
|
certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationActive,
|
|
@@ -10,8 +10,7 @@ import { SortType } from '../sortType';
|
|
|
10
10
|
export declare enum PaymentServiceType {
|
|
11
11
|
CreditCard = "CreditCard",
|
|
12
12
|
FaceToFace = "FaceToFace",
|
|
13
|
-
MovieTicket = "MovieTicket"
|
|
14
|
-
PaymentCard = "PaymentCard"
|
|
13
|
+
MovieTicket = "MovieTicket"
|
|
15
14
|
}
|
|
16
15
|
export interface IPaymentUrlSettings {
|
|
17
16
|
/**
|
|
@@ -6,5 +6,5 @@ var PaymentServiceType;
|
|
|
6
6
|
PaymentServiceType["CreditCard"] = "CreditCard";
|
|
7
7
|
PaymentServiceType["FaceToFace"] = "FaceToFace";
|
|
8
8
|
PaymentServiceType["MovieTicket"] = "MovieTicket";
|
|
9
|
-
|
|
9
|
+
// PaymentCard = 'PaymentCard' // discontinue(2026-04-18~)
|
|
10
10
|
})(PaymentServiceType || (exports.PaymentServiceType = PaymentServiceType = {}));
|
|
@@ -25,17 +25,7 @@ export interface IObjectAsReserveTransaction {
|
|
|
25
25
|
transactionNumber: string;
|
|
26
26
|
status: TransactionStatusType.Confirmed;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
29
|
-
typeOf: AssetTransactionType.MoneyTransfer;
|
|
30
|
-
transactionNumber: string;
|
|
31
|
-
status: TransactionStatusType.Confirmed;
|
|
32
|
-
}
|
|
33
|
-
export interface IObjectAsRegisterServiceTransaction {
|
|
34
|
-
typeOf: AssetTransactionType.RegisterService;
|
|
35
|
-
transactionNumber: string;
|
|
36
|
-
status: TransactionStatusType.Confirmed;
|
|
37
|
-
}
|
|
38
|
-
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction | IObjectAsMoneyTransferTransaction | IObjectAsRegisterServiceTransaction;
|
|
28
|
+
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction;
|
|
39
29
|
export interface IData {
|
|
40
30
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
41
31
|
object: IObject;
|