@chevre/factory 7.0.0-alpha.5 → 8.0.0-alpha.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/action/authorize/offer/product.d.ts +1 -2
- 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/registerService.d.ts +3 -25
- package/lib/chevre/assetTransaction/reserve.d.ts +2 -23
- package/lib/chevre/assetTransactionType.d.ts +0 -4
- package/lib/chevre/assetTransactionType.js +0 -4
- package/lib/chevre/index.d.ts +9 -28
- package/lib/chevre/index.js +0 -15
- package/lib/chevre/order.d.ts +6 -0
- package/lib/chevre/reservedCodeValues.js +1 -1
- 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 -6
- package/lib/chevre/taskName.d.ts +0 -10
- package/lib/chevre/taskName.js +0 -10
- package/lib/chevre/unitPriceOffer.d.ts +1 -2
- package/package.json +1 -1
- 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/task/cancelMoneyTransfer.d.ts +0 -18
- package/lib/chevre/task/cancelMoneyTransfer.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
|
@@ -6,7 +6,6 @@ import { IIssuedThroughAsProduct, IPermit } from '../../../permit';
|
|
|
6
6
|
import { IMembershipProduct, IPaymentCardProduct, IServiceOutput as IProductServiceOutput, ITicketPriceSpecification } from '../../../product';
|
|
7
7
|
import { ISeller } from '../../../seller';
|
|
8
8
|
import { IAttributes as IBaseAttributes } from '../../authorize';
|
|
9
|
-
import { IPointAward } from '../../transfer/moneyTransfer';
|
|
10
9
|
import { IAgent, IError, IInstrumentAsRegisterService, IPurpose, IRecipient, IResultAsAggregateOffer, ObjectType } from './any';
|
|
11
10
|
export { IAgent, IRecipient, IInstrumentAsRegisterService, IError, IPurpose, ObjectType, IResultAsAggregateOffer };
|
|
12
11
|
export type IPermitIssuedByProduct = Omit<IPermit, 'issuedThrough'> & {
|
|
@@ -14,7 +13,7 @@ export type IPermitIssuedByProduct = Omit<IPermit, 'issuedThrough'> & {
|
|
|
14
13
|
};
|
|
15
14
|
export type IItemOffered = Pick<IMembershipProduct | IPaymentCardProduct, 'typeOf' | 'id' | 'name'> & {
|
|
16
15
|
serviceOutput: IProductServiceOutput & IPermitIssuedByProduct;
|
|
17
|
-
pointAward?:
|
|
16
|
+
pointAward?: never;
|
|
18
17
|
};
|
|
19
18
|
export { IAcceptedOfferWithoutDetail };
|
|
20
19
|
export type ISellerMakesOffer = Pick<ISeller, 'id' | 'name' | 'typeOf'>;
|
|
@@ -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,5 +1,4 @@
|
|
|
1
1
|
import { IAttributes as IRegisterServiceActionAttributes } from '../action/interact/register/service';
|
|
2
|
-
import { IAttributes as IMoneyTransferActionAttributes, IPointAward } from '../action/transfer/moneyTransfer';
|
|
3
2
|
import { IAgent, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
|
|
4
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
4
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -31,34 +30,13 @@ export interface IResult {
|
|
|
31
30
|
* エラー
|
|
32
31
|
*/
|
|
33
32
|
export type IError = any;
|
|
34
|
-
export interface IAcceptedPointAward {
|
|
35
|
-
purpose?: {
|
|
36
|
-
identifier?: string;
|
|
37
|
-
};
|
|
38
|
-
recipient?: any;
|
|
39
|
-
/**
|
|
40
|
-
* 特典付与先
|
|
41
|
-
*/
|
|
42
|
-
toLocation?: {
|
|
43
|
-
/**
|
|
44
|
-
* カード番号
|
|
45
|
-
*/
|
|
46
|
-
identifier: string;
|
|
47
|
-
issuedThrough: {
|
|
48
|
-
/**
|
|
49
|
-
* カード発行サービスID
|
|
50
|
-
*/
|
|
51
|
-
id: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
33
|
export type IServiceOutput = Omit<IPermit, 'issuedThrough'> & {
|
|
56
34
|
identifier: string;
|
|
57
35
|
issuedThrough?: IIssuedThroughAsProduct;
|
|
58
36
|
};
|
|
59
37
|
export interface IAcceptedItemOffered {
|
|
60
38
|
id?: string;
|
|
61
|
-
pointAward?:
|
|
39
|
+
pointAward?: never;
|
|
62
40
|
serviceOutput?: IServiceOutput;
|
|
63
41
|
}
|
|
64
42
|
export interface IAcceptedOfferWithoutDetail {
|
|
@@ -68,7 +46,7 @@ export interface IAcceptedOfferWithoutDetail {
|
|
|
68
46
|
}
|
|
69
47
|
export interface IItemOffered extends Pick<IMembershipProduct | IPaymentCardProduct, 'id' | 'typeOf'> {
|
|
70
48
|
serviceOutput: IServiceOutput;
|
|
71
|
-
pointAward?:
|
|
49
|
+
pointAward?: never;
|
|
72
50
|
}
|
|
73
51
|
export interface IAcceptedOffer {
|
|
74
52
|
typeOf: OfferType.Offer;
|
|
@@ -78,7 +56,7 @@ export interface IAcceptedOffer {
|
|
|
78
56
|
export type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
79
57
|
export type IObject = IAcceptedOffer[];
|
|
80
58
|
export interface IPotentialActions {
|
|
81
|
-
moneyTransfer
|
|
59
|
+
moneyTransfer?: never;
|
|
82
60
|
registerService: IRegisterServiceActionAttributes[];
|
|
83
61
|
}
|
|
84
62
|
export interface IAttributes extends IBaseAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
@@ -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
|
};
|
package/lib/chevre/index.d.ts
CHANGED
|
@@ -26,12 +26,8 @@ import * as ReserveActionFactory from './action/reserve';
|
|
|
26
26
|
import * as OrderActionFactory from './action/trade/order';
|
|
27
27
|
import * as PayActionFactory from './action/trade/pay';
|
|
28
28
|
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
29
|
import * as ReturnInvoiceActionFactory from './action/transfer/return/invoice';
|
|
33
30
|
import * as ReturnOrderActionFactory from './action/transfer/return/order';
|
|
34
|
-
import * as ReturnPointAwardActionFactory from './action/transfer/return/pointAward';
|
|
35
31
|
import * as ReturnReserveTransactionActionFactory from './action/transfer/return/reserveTransaction';
|
|
36
32
|
import * as SendEmailMessageActionFactory from './action/transfer/send/message/email';
|
|
37
33
|
import * as SendOrderActionFactory from './action/transfer/send/order';
|
|
@@ -163,7 +159,6 @@ import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
|
|
|
163
159
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
164
160
|
import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
|
|
165
161
|
import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
|
|
166
|
-
import * as CancelMoneyTransferTaskFactory from './task/cancelMoneyTransfer';
|
|
167
162
|
import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
|
|
168
163
|
import * as CancelReservationTaskFactory from './task/cancelReservation';
|
|
169
164
|
import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
|
|
@@ -175,13 +170,11 @@ import * as ConfirmReserveTransactionTaskFactory from './task/confirmReserveTran
|
|
|
175
170
|
import * as CreateAccountingReportTaskFactory from './task/createAccountingReport';
|
|
176
171
|
import * as DeletePersonTaskFactory from './task/deletePerson';
|
|
177
172
|
import * as DeleteTransactionTaskFactory from './task/deleteTransaction';
|
|
178
|
-
import * as GivePointAwardTaskFactory from './task/givePointAward';
|
|
179
173
|
import * as HandleNotificationTaskFactory from './task/handleNotification';
|
|
180
174
|
import * as ImportEventCapacitiesFromCOATaskFactory from './task/importEventCapacitiesFromCOA';
|
|
181
175
|
import * as ImportEventsFromCOATaskFactory from './task/importEventsFromCOA';
|
|
182
176
|
import * as ImportOffersFromCOATaskFactory from './task/importOffersFromCOA';
|
|
183
177
|
import * as InvalidatePaymentUrlTaskFactory from './task/invalidatePaymentUrl';
|
|
184
|
-
import * as MoneyTransferTaskFactory from './task/moneyTransfer';
|
|
185
178
|
import * as OnAssetTransactionStatusChangedTaskFactory from './task/onAssetTransactionStatusChanged';
|
|
186
179
|
import * as OnAuthorizationCreatedTaskFactory from './task/onAuthorizationCreated';
|
|
187
180
|
import * as OnEventChangedTaskFactory from './task/onEventChanged';
|
|
@@ -196,7 +189,6 @@ import * as RegisterServiceTaskFactory from './task/registerService';
|
|
|
196
189
|
import * as ReserveTaskFactory from './task/reserve';
|
|
197
190
|
import * as ReturnOrderTaskFactory from './task/returnOrder';
|
|
198
191
|
import * as ReturnPayTransactionTaskFactory from './task/returnPayTransaction';
|
|
199
|
-
import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
|
|
200
192
|
import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
|
|
201
193
|
import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
|
|
202
194
|
import * as SendOrderTaskFactory from './task/sendOrder';
|
|
@@ -211,7 +203,6 @@ import { TaskName } from './taskName';
|
|
|
211
203
|
import { TaskStatus } from './taskStatus';
|
|
212
204
|
import * as AssetTransactionFactory from './assetTransaction';
|
|
213
205
|
import * as CancelReservationAssetTransactionFactory from './assetTransaction/cancelReservation';
|
|
214
|
-
import * as MoneyTransferAssetTransactionFactory from './assetTransaction/moneyTransfer';
|
|
215
206
|
import * as PayAssetTransactionFactory from './assetTransaction/pay';
|
|
216
207
|
import * as RefundAssetTransactionFactory from './assetTransaction/refund';
|
|
217
208
|
import * as RegisterServiceAssetTransactionFactory from './assetTransaction/registerService';
|
|
@@ -290,12 +281,6 @@ export declare namespace action {
|
|
|
290
281
|
export import refund = RefundActionFactory;
|
|
291
282
|
}
|
|
292
283
|
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
284
|
/**
|
|
300
285
|
* 返却アクション
|
|
301
286
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -303,7 +288,6 @@ export declare namespace action {
|
|
|
303
288
|
namespace returnAction {
|
|
304
289
|
export import invoice = ReturnInvoiceActionFactory;
|
|
305
290
|
export import order = ReturnOrderActionFactory;
|
|
306
|
-
export import pointAward = ReturnPointAwardActionFactory;
|
|
307
291
|
export import reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
308
292
|
}
|
|
309
293
|
namespace send {
|
|
@@ -484,9 +468,9 @@ export import schedule = ScheduleFactory;
|
|
|
484
468
|
export import seller = SellerFactory;
|
|
485
469
|
export import sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
486
470
|
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.
|
|
471
|
+
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.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.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.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
472
|
+
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.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.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.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.ITaskAttributes;
|
|
473
|
+
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.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.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.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
490
474
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
491
475
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
492
476
|
export import acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
@@ -494,7 +478,6 @@ export declare namespace task {
|
|
|
494
478
|
export import aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
495
479
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
496
480
|
export import authorizePayment = AuthorizePaymentTaskFactory;
|
|
497
|
-
export import cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
498
481
|
export import cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
499
482
|
export import cancelReservation = CancelReservationTaskFactory;
|
|
500
483
|
export import checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
@@ -508,7 +491,6 @@ export declare namespace task {
|
|
|
508
491
|
export import importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
509
492
|
export import importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
510
493
|
export import invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
511
|
-
export import moneyTransfer = MoneyTransferTaskFactory;
|
|
512
494
|
export import onAssetTransactionStatusChanged = OnAssetTransactionStatusChangedTaskFactory;
|
|
513
495
|
export import pay = PayTaskFactory;
|
|
514
496
|
export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
@@ -544,14 +526,13 @@ export declare namespace trip {
|
|
|
544
526
|
export import tripType = TripType;
|
|
545
527
|
export declare namespace assetTransaction {
|
|
546
528
|
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.
|
|
529
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IStartParams : never;
|
|
530
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IAttributes : never;
|
|
531
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ITransaction : never;
|
|
532
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.IResult : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IResult : never;
|
|
533
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.IPotentialActions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IPotentialActions : never;
|
|
534
|
+
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.RegisterService ? RegisterServiceAssetTransactionFactory.ISearchConditions : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ISearchConditions : never;
|
|
553
535
|
export import cancelReservation = CancelReservationAssetTransactionFactory;
|
|
554
|
-
export import moneyTransfer = MoneyTransferAssetTransactionFactory;
|
|
555
536
|
export import pay = PayAssetTransactionFactory;
|
|
556
537
|
export import refund = RefundAssetTransactionFactory;
|
|
557
538
|
export import registerService = RegisterServiceAssetTransactionFactory;
|
package/lib/chevre/index.js
CHANGED
|
@@ -27,11 +27,8 @@ const ReserveActionFactory = require("./action/reserve");
|
|
|
27
27
|
const OrderActionFactory = require("./action/trade/order");
|
|
28
28
|
const PayActionFactory = require("./action/trade/pay");
|
|
29
29
|
const RefundActionFactory = require("./action/trade/refund");
|
|
30
|
-
const GivePointAwardActionFactory = require("./action/transfer/give/pointAward");
|
|
31
|
-
const MoneyTransferActionFactory = require("./action/transfer/moneyTransfer");
|
|
32
30
|
const ReturnInvoiceActionFactory = require("./action/transfer/return/invoice");
|
|
33
31
|
const ReturnOrderActionFactory = require("./action/transfer/return/order");
|
|
34
|
-
const ReturnPointAwardActionFactory = require("./action/transfer/return/pointAward");
|
|
35
32
|
const ReturnReserveTransactionActionFactory = require("./action/transfer/return/reserveTransaction");
|
|
36
33
|
const SendEmailMessageActionFactory = require("./action/transfer/send/message/email");
|
|
37
34
|
const SendOrderActionFactory = require("./action/transfer/send/order");
|
|
@@ -159,7 +156,6 @@ const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
|
|
|
159
156
|
const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
160
157
|
const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
161
158
|
const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
162
|
-
const CancelMoneyTransferTaskFactory = require("./task/cancelMoneyTransfer");
|
|
163
159
|
const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
|
|
164
160
|
const CancelReservationTaskFactory = require("./task/cancelReservation");
|
|
165
161
|
const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
|
|
@@ -173,7 +169,6 @@ const ImportEventCapacitiesFromCOATaskFactory = require("./task/importEventCapac
|
|
|
173
169
|
const ImportEventsFromCOATaskFactory = require("./task/importEventsFromCOA");
|
|
174
170
|
const ImportOffersFromCOATaskFactory = require("./task/importOffersFromCOA");
|
|
175
171
|
const InvalidatePaymentUrlTaskFactory = require("./task/invalidatePaymentUrl");
|
|
176
|
-
const MoneyTransferTaskFactory = require("./task/moneyTransfer");
|
|
177
172
|
const OnAssetTransactionStatusChangedTaskFactory = require("./task/onAssetTransactionStatusChanged");
|
|
178
173
|
const OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
|
|
179
174
|
const OnEventChangedTaskFactory = require("./task/onEventChanged");
|
|
@@ -192,7 +187,6 @@ const VoidPaymentTaskFactory = require("./task/voidPayment");
|
|
|
192
187
|
const taskName_1 = require("./taskName");
|
|
193
188
|
const taskStatus_1 = require("./taskStatus");
|
|
194
189
|
const CancelReservationAssetTransactionFactory = require("./assetTransaction/cancelReservation");
|
|
195
|
-
const MoneyTransferAssetTransactionFactory = require("./assetTransaction/moneyTransfer");
|
|
196
190
|
const PayAssetTransactionFactory = require("./assetTransaction/pay");
|
|
197
191
|
const RefundAssetTransactionFactory = require("./assetTransaction/refund");
|
|
198
192
|
const RegisterServiceAssetTransactionFactory = require("./assetTransaction/registerService");
|
|
@@ -266,11 +260,6 @@ var action;
|
|
|
266
260
|
})(trade = action.trade || (action.trade = {}));
|
|
267
261
|
let transfer;
|
|
268
262
|
(function (transfer) {
|
|
269
|
-
transfer.moneyTransfer = MoneyTransferActionFactory;
|
|
270
|
-
let give;
|
|
271
|
-
(function (give) {
|
|
272
|
-
give.pointAward = GivePointAwardActionFactory;
|
|
273
|
-
})(give = transfer.give || (transfer.give = {}));
|
|
274
263
|
/**
|
|
275
264
|
* 返却アクション
|
|
276
265
|
* returnはネームスペース名に使えないのでreturnAction
|
|
@@ -279,7 +268,6 @@ var action;
|
|
|
279
268
|
(function (returnAction) {
|
|
280
269
|
returnAction.invoice = ReturnInvoiceActionFactory;
|
|
281
270
|
returnAction.order = ReturnOrderActionFactory;
|
|
282
|
-
returnAction.pointAward = ReturnPointAwardActionFactory;
|
|
283
271
|
returnAction.reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
284
272
|
})(returnAction = transfer.returnAction || (transfer.returnAction = {}));
|
|
285
273
|
let send;
|
|
@@ -475,7 +463,6 @@ var task;
|
|
|
475
463
|
task.aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
476
464
|
task.aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
477
465
|
task.authorizePayment = AuthorizePaymentTaskFactory;
|
|
478
|
-
task.cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
479
466
|
task.cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
480
467
|
task.cancelReservation = CancelReservationTaskFactory;
|
|
481
468
|
task.checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
@@ -489,7 +476,6 @@ var task;
|
|
|
489
476
|
task.importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
490
477
|
task.importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
491
478
|
task.invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
492
|
-
task.moneyTransfer = MoneyTransferTaskFactory;
|
|
493
479
|
task.onAssetTransactionStatusChanged = OnAssetTransactionStatusChangedTaskFactory;
|
|
494
480
|
task.pay = PayTaskFactory;
|
|
495
481
|
task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
@@ -526,7 +512,6 @@ exports.tripType = tripType_1.TripType;
|
|
|
526
512
|
var assetTransaction;
|
|
527
513
|
(function (assetTransaction) {
|
|
528
514
|
assetTransaction.cancelReservation = CancelReservationAssetTransactionFactory;
|
|
529
|
-
assetTransaction.moneyTransfer = MoneyTransferAssetTransactionFactory;
|
|
530
515
|
assetTransaction.pay = PayAssetTransactionFactory;
|
|
531
516
|
assetTransaction.refund = RefundAssetTransactionFactory;
|
|
532
517
|
assetTransaction.registerService = RegisterServiceAssetTransactionFactory;
|
package/lib/chevre/order.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { ReservationType } from './reservationType';
|
|
|
23
23
|
import { ISeller as IBaseSeller } from './seller';
|
|
24
24
|
import { IPaymentMethodAsServiceOutput, PaymentServiceType } from './service/paymentService';
|
|
25
25
|
import { SortType } from './sortType';
|
|
26
|
+
import { UnitCode } from './unitCode';
|
|
26
27
|
export interface IProject {
|
|
27
28
|
typeOf: OrganizationType.Project;
|
|
28
29
|
id: string;
|
|
@@ -39,6 +40,11 @@ export interface IOrderPaymentMethodIssuedThrough {
|
|
|
39
40
|
}
|
|
40
41
|
export interface ITotalPaymentDue extends Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> {
|
|
41
42
|
value: number;
|
|
43
|
+
/**
|
|
44
|
+
* 決済カードIFの場合C62
|
|
45
|
+
* それ以外ではJPY
|
|
46
|
+
*/
|
|
47
|
+
currency: UnitCode.C62 | PriceCurrency.JPY;
|
|
42
48
|
}
|
|
43
49
|
export type IPaymentMethodOfInvoice = Pick<IPaymentMethodAsServiceOutput, 'amount'> & {
|
|
44
50
|
/**
|
|
@@ -28,7 +28,7 @@ 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
34
|
assetTransactionType_1.AssetTransactionType.RegisterService,
|
|
@@ -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,12 @@ export interface IObjectAsReserveTransaction {
|
|
|
25
25
|
transactionNumber: string;
|
|
26
26
|
status: TransactionStatusType.Confirmed;
|
|
27
27
|
}
|
|
28
|
-
export interface IObjectAsMoneyTransferTransaction {
|
|
29
|
-
typeOf: AssetTransactionType.MoneyTransfer;
|
|
30
|
-
transactionNumber: string;
|
|
31
|
-
status: TransactionStatusType.Confirmed;
|
|
32
|
-
}
|
|
33
28
|
export interface IObjectAsRegisterServiceTransaction {
|
|
34
29
|
typeOf: AssetTransactionType.RegisterService;
|
|
35
30
|
transactionNumber: string;
|
|
36
31
|
status: TransactionStatusType.Confirmed;
|
|
37
32
|
}
|
|
38
|
-
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction |
|
|
33
|
+
export type IObject = IObjectAsPayTransaction | IObjectAsReserveTransaction | IObjectAsRegisterServiceTransaction;
|
|
39
34
|
export interface IData {
|
|
40
35
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
41
36
|
object: IObject;
|
package/lib/chevre/taskName.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export declare enum TaskName {
|
|
|
18
18
|
* 口座転送中止
|
|
19
19
|
*/
|
|
20
20
|
CancelAccountMoneyTransfer = "cancelAccountMoneyTransfer",
|
|
21
|
-
CancelMoneyTransfer = "cancelMoneyTransfer",
|
|
22
21
|
CancelReservation = "cancelReservation",
|
|
23
22
|
CancelPendingReservation = "cancelPendingReservation",
|
|
24
23
|
/**
|
|
@@ -51,16 +50,11 @@ export declare enum TaskName {
|
|
|
51
50
|
CreateAccountingReport = "createAccountingReport",
|
|
52
51
|
DeletePerson = "deletePerson",
|
|
53
52
|
DeleteTransaction = "deleteTransaction",
|
|
54
|
-
/**
|
|
55
|
-
* ポイント特典付与
|
|
56
|
-
*/
|
|
57
|
-
GivePointAward = "givePointAward",
|
|
58
53
|
HandleNotification = "handleNotification",
|
|
59
54
|
ImportEventCapacitiesFromCOA = "importEventCapacitiesFromCOA",
|
|
60
55
|
ImportEventsFromCOA = "importEventsFromCOA",
|
|
61
56
|
ImportOffersFromCOA = "importOffersFromCOA",
|
|
62
57
|
InvalidatePaymentUrl = "invalidatePaymentUrl",
|
|
63
|
-
MoneyTransfer = "moneyTransfer",
|
|
64
58
|
OnAssetTransactionStatusChanged = "onAssetTransactionStatusChanged",
|
|
65
59
|
OnAuthorizationCreated = "onAuthorizationCreated",
|
|
66
60
|
OnEventChanged = "onEventChanged",
|
|
@@ -90,10 +84,6 @@ export declare enum TaskName {
|
|
|
90
84
|
* 決済資産取引返却
|
|
91
85
|
*/
|
|
92
86
|
ReturnPayTransaction = "returnPayTransaction",
|
|
93
|
-
/**
|
|
94
|
-
* ポイント特典返却
|
|
95
|
-
*/
|
|
96
|
-
ReturnPointAward = "returnPointAward",
|
|
97
87
|
/**
|
|
98
88
|
* 予約資産取引返却
|
|
99
89
|
*/
|
package/lib/chevre/taskName.js
CHANGED
|
@@ -22,7 +22,6 @@ var TaskName;
|
|
|
22
22
|
* 口座転送中止
|
|
23
23
|
*/
|
|
24
24
|
TaskName["CancelAccountMoneyTransfer"] = "cancelAccountMoneyTransfer";
|
|
25
|
-
TaskName["CancelMoneyTransfer"] = "cancelMoneyTransfer";
|
|
26
25
|
TaskName["CancelReservation"] = "cancelReservation";
|
|
27
26
|
TaskName["CancelPendingReservation"] = "cancelPendingReservation";
|
|
28
27
|
/**
|
|
@@ -59,16 +58,11 @@ var TaskName;
|
|
|
59
58
|
// CreateEvent = 'createEvent', // discontinue(2026-02-14~)
|
|
60
59
|
TaskName["DeletePerson"] = "deletePerson";
|
|
61
60
|
TaskName["DeleteTransaction"] = "deleteTransaction";
|
|
62
|
-
/**
|
|
63
|
-
* ポイント特典付与
|
|
64
|
-
*/
|
|
65
|
-
TaskName["GivePointAward"] = "givePointAward";
|
|
66
61
|
TaskName["HandleNotification"] = "handleNotification";
|
|
67
62
|
TaskName["ImportEventCapacitiesFromCOA"] = "importEventCapacitiesFromCOA";
|
|
68
63
|
TaskName["ImportEventsFromCOA"] = "importEventsFromCOA";
|
|
69
64
|
TaskName["ImportOffersFromCOA"] = "importOffersFromCOA";
|
|
70
65
|
TaskName["InvalidatePaymentUrl"] = "invalidatePaymentUrl";
|
|
71
|
-
TaskName["MoneyTransfer"] = "moneyTransfer";
|
|
72
66
|
TaskName["OnAssetTransactionStatusChanged"] = "onAssetTransactionStatusChanged";
|
|
73
67
|
TaskName["OnAuthorizationCreated"] = "onAuthorizationCreated";
|
|
74
68
|
TaskName["OnEventChanged"] = "onEventChanged";
|
|
@@ -99,10 +93,6 @@ var TaskName;
|
|
|
99
93
|
* 決済資産取引返却
|
|
100
94
|
*/
|
|
101
95
|
TaskName["ReturnPayTransaction"] = "returnPayTransaction";
|
|
102
|
-
/**
|
|
103
|
-
* ポイント特典返却
|
|
104
|
-
*/
|
|
105
|
-
TaskName["ReturnPointAward"] = "returnPointAward";
|
|
106
96
|
/**
|
|
107
97
|
* 予約資産取引返却
|
|
108
98
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IPointAward } from './action/transfer/moneyTransfer';
|
|
2
1
|
import { IAdvanceBookingRequirement as IActualAdvanceBookingRequirement } from './advanceBookingRequirement';
|
|
3
2
|
import { ItemAvailability } from './itemAvailability';
|
|
4
3
|
import { IAddOn, ICategory, IEligibleCategoryCode, IEligibleMonetaryAmount, IName, IOffer } from './offer';
|
|
@@ -36,7 +35,7 @@ export interface IItemOffered {
|
|
|
36
35
|
/**
|
|
37
36
|
* 特典
|
|
38
37
|
*/
|
|
39
|
-
pointAward?:
|
|
38
|
+
pointAward?: never;
|
|
40
39
|
}
|
|
41
40
|
/**
|
|
42
41
|
* 単価オファーの価格仕様
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { IParticipantAsSeller } from '../../../action';
|
|
2
|
-
import { ISimpleOrder } from '../../../order';
|
|
3
|
-
import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../give';
|
|
4
|
-
export type IAgent = IParticipantAsSeller;
|
|
5
|
-
export declare enum ObjectType {
|
|
6
|
-
PointAward = "PointAward"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* ポイント特典付与対象
|
|
10
|
-
*/
|
|
11
|
-
export interface IObject {
|
|
12
|
-
typeOf: ObjectType;
|
|
13
|
-
/**
|
|
14
|
-
* 入金識別子
|
|
15
|
-
*/
|
|
16
|
-
identifier?: string;
|
|
17
|
-
amount: number;
|
|
18
|
-
/**
|
|
19
|
-
* 入金先カード
|
|
20
|
-
*/
|
|
21
|
-
toLocation: {
|
|
22
|
-
/**
|
|
23
|
-
* 入金先カード番号
|
|
24
|
-
* 口座番号ではないので注意
|
|
25
|
-
*/
|
|
26
|
-
accountNumber: string;
|
|
27
|
-
issuedThrough: {
|
|
28
|
-
/**
|
|
29
|
-
* カード発行サービスID
|
|
30
|
-
*/
|
|
31
|
-
id: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
description: string;
|
|
35
|
-
}
|
|
36
|
-
export type IResult = any;
|
|
37
|
-
/**
|
|
38
|
-
* 目的は注文
|
|
39
|
-
* 注文に対する特典としてポイントが付与される仕組み
|
|
40
|
-
*/
|
|
41
|
-
export type IPurpose = ISimpleOrder;
|
|
42
|
-
export type IPotentialActions = any;
|
|
43
|
-
export interface IAttributes extends IBaseAttributes<IObject, IResult> {
|
|
44
|
-
agent: IAgent;
|
|
45
|
-
purpose: IPurpose;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* ポイント特典付与アクション
|
|
49
|
-
*/
|
|
50
|
-
export type IAction = IBaseAction<IAttributes>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IParticipant, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
|
|
2
|
-
import { ActionType } from '../../actionType';
|
|
3
|
-
export type IAgent = IParticipant;
|
|
4
|
-
export type IRecipient = IParticipant;
|
|
5
|
-
export type IObject = any;
|
|
6
|
-
export type IResult = any;
|
|
7
|
-
export type ILocation = any;
|
|
8
|
-
export interface IAttributes<TObject, TResult> extends IBaseAttributes<ActionType.GiveAction, TObject, TResult> {
|
|
9
|
-
recipient: IRecipient;
|
|
10
|
-
fromLocation?: ILocation;
|
|
11
|
-
toLocation?: ILocation;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 付与アクションインターフェース
|
|
15
|
-
*/
|
|
16
|
-
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = IBaseAction<TAttributes>;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AccountTransactionType } from '../../account/transactionType';
|
|
2
|
-
import { IParticipantAsProject, IParticipantAsPerson, IParticipantAsSeller, IParticipant, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
|
|
3
|
-
import { ActionType } from '../../actionType';
|
|
4
|
-
import { IPaymentCard } from '../../assetTransaction/moneyTransfer';
|
|
5
|
-
import { AssetTransactionType } from '../../assetTransactionType';
|
|
6
|
-
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
7
|
-
import { PermitType } from '../../permit';
|
|
8
|
-
/**
|
|
9
|
-
* 進行中取引
|
|
10
|
-
*/
|
|
11
|
-
export interface IPendingTransaction {
|
|
12
|
-
typeOf: AccountTransactionType;
|
|
13
|
-
identifier?: string;
|
|
14
|
-
transactionNumber: string;
|
|
15
|
-
}
|
|
16
|
-
export type IAgent = IParticipantAsProject | IParticipantAsPerson | IParticipantAsSeller;
|
|
17
|
-
export type IRecipient = IParticipant;
|
|
18
|
-
/**
|
|
19
|
-
* 匿名ロケーション
|
|
20
|
-
*/
|
|
21
|
-
export interface IAnonymousLocation {
|
|
22
|
-
id?: string;
|
|
23
|
-
identifier?: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
typeOf: string;
|
|
26
|
-
}
|
|
27
|
-
export { IPaymentCard };
|
|
28
|
-
/**
|
|
29
|
-
* 転送元あるいは転送先の場所インターフェース
|
|
30
|
-
*/
|
|
31
|
-
export type ILocation = IAnonymousLocation | IPaymentCard;
|
|
32
|
-
export interface IObject {
|
|
33
|
-
typeOf: AccountTransactionType;
|
|
34
|
-
transactionNumber?: string;
|
|
35
|
-
/**
|
|
36
|
-
* 取引承認済の場合、進行中取引
|
|
37
|
-
*/
|
|
38
|
-
pendingTransaction?: IPendingTransaction;
|
|
39
|
-
}
|
|
40
|
-
export type IResult = any;
|
|
41
|
-
export type IPotentialActions = any;
|
|
42
|
-
export interface ITransactionPurpose {
|
|
43
|
-
typeOf: AssetTransactionType;
|
|
44
|
-
id: string;
|
|
45
|
-
identifier?: string;
|
|
46
|
-
}
|
|
47
|
-
export type IPurpose = ITransactionPurpose;
|
|
48
|
-
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
49
|
-
export interface IAttributes extends IBaseAttributes<ActionType.MoneyTransfer, IObject, IResult> {
|
|
50
|
-
typeOf: ActionType.MoneyTransfer;
|
|
51
|
-
agent: IAgent;
|
|
52
|
-
recipient: IRecipient;
|
|
53
|
-
purpose: IPurpose;
|
|
54
|
-
/**
|
|
55
|
-
* 金額
|
|
56
|
-
*/
|
|
57
|
-
amount: IAmount;
|
|
58
|
-
/**
|
|
59
|
-
* 転送元
|
|
60
|
-
*/
|
|
61
|
-
fromLocation: ILocation;
|
|
62
|
-
/**
|
|
63
|
-
* 転送先
|
|
64
|
-
*/
|
|
65
|
-
toLocation: ILocation;
|
|
66
|
-
}
|
|
67
|
-
export type IAction = IBaseAction<IAttributes>;
|
|
68
|
-
export type IPointAwardAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
69
|
-
/**
|
|
70
|
-
* ポイント特典
|
|
71
|
-
*/
|
|
72
|
-
export interface IPointAward {
|
|
73
|
-
typeOf: ActionType.MoneyTransfer;
|
|
74
|
-
amount?: IPointAwardAmount;
|
|
75
|
-
/**
|
|
76
|
-
* 特典付与先
|
|
77
|
-
*/
|
|
78
|
-
toLocation?: {
|
|
79
|
-
typeOf: PermitType.Permit;
|
|
80
|
-
/**
|
|
81
|
-
* カード番号
|
|
82
|
-
*/
|
|
83
|
-
identifier: string;
|
|
84
|
-
issuedThrough: {
|
|
85
|
-
/**
|
|
86
|
-
* カード発行サービスID
|
|
87
|
-
*/
|
|
88
|
-
id: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
description?: string;
|
|
92
|
-
recipient?: IRecipient;
|
|
93
|
-
purpose?: {
|
|
94
|
-
/**
|
|
95
|
-
* 特典識別子
|
|
96
|
-
*/
|
|
97
|
-
identifier?: string;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IParticipantAsProject, IParticipantAsSeller } from '../../../action';
|
|
2
|
-
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
|
-
import { ISimpleOrder } from '../../../order';
|
|
4
|
-
import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../return';
|
|
5
|
-
export type IAgent = IParticipantAsProject;
|
|
6
|
-
export type IRecipient = IParticipantAsSeller;
|
|
7
|
-
/**
|
|
8
|
-
* 入金取引識別子で指定する場合のオブジェクト
|
|
9
|
-
*/
|
|
10
|
-
export interface IObjectByTransactionIdentifier {
|
|
11
|
-
typeOf: AssetTransactionType.MoneyTransfer;
|
|
12
|
-
identifier: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 出金元番号で指定する場合のオブジェクト
|
|
16
|
-
*/
|
|
17
|
-
export interface IObjectByTransactionFromLocationIdentifier {
|
|
18
|
-
typeOf: AssetTransactionType.MoneyTransfer;
|
|
19
|
-
object: {
|
|
20
|
-
fromLocation: {
|
|
21
|
-
identifier: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export type IObject = IObjectByTransactionIdentifier | IObjectByTransactionFromLocationIdentifier;
|
|
26
|
-
export type IPurpose = ISimpleOrder;
|
|
27
|
-
export type IResult = any;
|
|
28
|
-
export interface IPotentialActions {
|
|
29
|
-
}
|
|
30
|
-
export interface IAttributes extends IBaseAttributes<IObject, IResult> {
|
|
31
|
-
agent: IAgent;
|
|
32
|
-
recipient: IRecipient;
|
|
33
|
-
potentialActions?: IPotentialActions;
|
|
34
|
-
purpose: IPurpose;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* ポイント特典返却アクション
|
|
38
|
-
*/
|
|
39
|
-
export type IAction = IBaseAction<IAttributes>;
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { IAmount as IMoneyTransferAmount, IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
2
|
-
import { IAgent, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
|
|
3
|
-
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
|
-
import { IExtendId } from '../autoGenerated';
|
|
5
|
-
import { OrderType } from '../order';
|
|
6
|
-
import { PermitType } from '../permit';
|
|
7
|
-
export { IAgent };
|
|
8
|
-
export type IRecipient = IMoneyTransferRecipient & {
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
11
|
-
export type IFromLocation = ILocation;
|
|
12
|
-
export type IToLocation = ILocation;
|
|
13
|
-
/**
|
|
14
|
-
* ペイメントカード
|
|
15
|
-
*/
|
|
16
|
-
export interface IPaymentCard {
|
|
17
|
-
typeOf: PermitType;
|
|
18
|
-
identifier: string;
|
|
19
|
-
accessCode?: string;
|
|
20
|
-
hasNoPermit?: boolean;
|
|
21
|
-
issuedThrough: {
|
|
22
|
-
/**
|
|
23
|
-
* カード発行サービスID
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* トークン化されたペイメントカードンターフェース
|
|
30
|
-
*/
|
|
31
|
-
export type ITokenizedPaymentCard = string;
|
|
32
|
-
/**
|
|
33
|
-
* 転送元としての注文
|
|
34
|
-
*/
|
|
35
|
-
export interface IOrderAsFromLocation {
|
|
36
|
-
typeOf: OrderType;
|
|
37
|
-
confirmationNumber: string;
|
|
38
|
-
orderNumber: string;
|
|
39
|
-
}
|
|
40
|
-
export type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
41
|
-
export type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
|
|
42
|
-
/**
|
|
43
|
-
* 取引対象物
|
|
44
|
-
*/
|
|
45
|
-
export interface IObject {
|
|
46
|
-
/**
|
|
47
|
-
* 金額
|
|
48
|
-
*/
|
|
49
|
-
amount: IMoneyTransferAmount;
|
|
50
|
-
/**
|
|
51
|
-
* 転送元
|
|
52
|
-
*/
|
|
53
|
-
fromLocation: IFromLocation;
|
|
54
|
-
/**
|
|
55
|
-
* 転送先
|
|
56
|
-
*/
|
|
57
|
-
toLocation: IToLocation;
|
|
58
|
-
/**
|
|
59
|
-
* 取引説明
|
|
60
|
-
*/
|
|
61
|
-
description?: string;
|
|
62
|
-
pendingTransaction: IPendingTransaction;
|
|
63
|
-
/**
|
|
64
|
-
* 負の残高でも強制的に出金するかどうか
|
|
65
|
-
*/
|
|
66
|
-
force?: boolean;
|
|
67
|
-
}
|
|
68
|
-
export type IObjectWithoutDetail = IObject;
|
|
69
|
-
export interface IObjectBeforeStart {
|
|
70
|
-
/**
|
|
71
|
-
* 金額
|
|
72
|
-
*/
|
|
73
|
-
amount: IMoneyTransferAmount;
|
|
74
|
-
/**
|
|
75
|
-
* 転送元
|
|
76
|
-
*/
|
|
77
|
-
fromLocation: IFromLocation | IFromLocationBeforeStart;
|
|
78
|
-
/**
|
|
79
|
-
* 転送先
|
|
80
|
-
*/
|
|
81
|
-
toLocation: IToLocation | IToLocationBeforeStart;
|
|
82
|
-
/**
|
|
83
|
-
* 取引説明
|
|
84
|
-
*/
|
|
85
|
-
description?: string;
|
|
86
|
-
/**
|
|
87
|
-
* 口座取引タイプの確認ために指定
|
|
88
|
-
*/
|
|
89
|
-
pendingTransaction: Pick<IPendingTransaction, 'typeOf'>;
|
|
90
|
-
/**
|
|
91
|
-
* 負の残高でも強制的に出金するかどうか
|
|
92
|
-
*/
|
|
93
|
-
force?: boolean;
|
|
94
|
-
}
|
|
95
|
-
export interface IStartParamsWithoutDetail extends IBaseStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectWithoutDetail> {
|
|
96
|
-
recipient: IRecipient;
|
|
97
|
-
}
|
|
98
|
-
export interface IStartParamsBeforeStart extends IBaseStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectBeforeStart> {
|
|
99
|
-
recipient: IRecipient;
|
|
100
|
-
}
|
|
101
|
-
export interface IStartParams extends IBaseStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
|
|
102
|
-
recipient: IRecipient;
|
|
103
|
-
}
|
|
104
|
-
export type IResult = any;
|
|
105
|
-
export type IError = any;
|
|
106
|
-
export interface IPotentialActions {
|
|
107
|
-
/**
|
|
108
|
-
* 通貨転送アクション
|
|
109
|
-
*/
|
|
110
|
-
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
111
|
-
}
|
|
112
|
-
export interface IAttributes extends IBaseAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* 転送取引
|
|
116
|
-
*/
|
|
117
|
-
export type ITransaction = IExtendId<IAttributes>;
|
|
118
|
-
export interface ISearchConditions extends IBaseSearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
119
|
-
object?: {
|
|
120
|
-
fromLocation?: {
|
|
121
|
-
identifier?: {
|
|
122
|
-
$eq?: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
toLocation?: {
|
|
126
|
-
identifier?: {
|
|
127
|
-
$eq?: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
pendingTransaction?: {
|
|
131
|
-
identifier?: {
|
|
132
|
-
$eq?: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AssetTransactionType } from '../assetTransactionType';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export interface IData {
|
|
6
|
-
purpose: {
|
|
7
|
-
typeOf: AssetTransactionType;
|
|
8
|
-
id: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface IAttributes extends ITaskAttributes {
|
|
12
|
-
name: TaskName.CancelMoneyTransfer;
|
|
13
|
-
data: IData;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 通貨転送中止タスクファクトリー
|
|
17
|
-
*/
|
|
18
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IGivePointAwardActionAttributes } from '../action/transfer/give/pointAward';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IGivePointAwardActionAttributes;
|
|
6
|
-
export interface IAttributes extends ITaskAttributes {
|
|
7
|
-
name: TaskName.GivePointAward;
|
|
8
|
-
data: IData;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* ポイント特典付与タスク
|
|
12
|
-
*/
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IMoneyTransferActionAttributes } from '../action/transfer/moneyTransfer';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IMoneyTransferActionAttributes;
|
|
6
|
-
export interface IAttributes extends ITaskAttributes {
|
|
7
|
-
name: TaskName.MoneyTransfer;
|
|
8
|
-
data: IData;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 通貨転送タスクファクトリー
|
|
12
|
-
*/
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IReturnPointAwardActionAttributes } from '../action/transfer/return/pointAward';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ITaskAttributes } from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IReturnPointAwardActionAttributes;
|
|
6
|
-
export interface IAttributes extends ITaskAttributes {
|
|
7
|
-
name: TaskName.ReturnPointAward;
|
|
8
|
-
data: IData;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* ポイントインセンティブ返却タスクインターフェース
|
|
12
|
-
*/
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|