@chevre/factory 8.0.0-alpha.5 → 8.0.0-alpha.6
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/trade/pay.d.ts +1 -15
- package/lib/chevre/assetTransaction/pay.d.ts +2 -2
- package/lib/chevre/assetTransaction/reserve.d.ts +1 -2
- package/lib/chevre/authorization.d.ts +2 -22
- package/lib/chevre/index.d.ts +0 -9
- package/lib/chevre/index.js +2 -11
- package/lib/chevre/ownershipInfo.d.ts +2 -3
- package/lib/chevre/permit.d.ts +2 -21
- package/lib/chevre/product.d.ts +5 -69
- package/lib/chevre/product.js +0 -12
- package/lib/chevre/reservation.d.ts +1 -9
- package/lib/chevre/reservedCodeValues.js +3 -7
- package/lib/chevre/service/paymentService.d.ts +3 -3
- package/lib/chevre/taskName.d.ts +0 -1
- package/lib/chevre/taskName.js +1 -1
- package/lib/chevre/transaction/placeOrder.d.ts +0 -8
- package/lib/chevre/unitPriceOffer.d.ts +1 -15
- package/package.json +1 -1
- package/lib/chevre/account/action/moneyTransfer.d.ts +0 -86
- package/lib/chevre/account/action/moneyTransfer.js +0 -2
- package/lib/chevre/account/transaction/deposit.d.ts +0 -27
- package/lib/chevre/account/transaction/deposit.js +0 -2
- package/lib/chevre/account/transaction/transfer.d.ts +0 -32
- package/lib/chevre/account/transaction/transfer.js +0 -2
- package/lib/chevre/account/transaction/withdraw.d.ts +0 -31
- package/lib/chevre/account/transaction/withdraw.js +0 -2
- package/lib/chevre/account/transaction.d.ts +0 -143
- package/lib/chevre/account/transaction.js +0 -2
- package/lib/chevre/account/transactionType.d.ts +0 -17
- package/lib/chevre/account/transactionType.js +0 -21
- package/lib/chevre/account.d.ts +0 -124
- package/lib/chevre/account.js +0 -19
- package/lib/chevre/accountType.d.ts +0 -15
- package/lib/chevre/accountType.js +0 -19
- package/lib/chevre/task/accountMoneyTransfer.d.ts +0 -15
- package/lib/chevre/task/accountMoneyTransfer.js +0 -2
- package/lib/chevre/task/cancelAccountMoneyTransfer.d.ts +0 -19
- package/lib/chevre/task/cancelAccountMoneyTransfer.js +0 -2
- package/lib/chevre/task/registerService.d.ts +0 -13
- package/lib/chevre/task/registerService.js +0 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AccountTransactionType } from '../../account/transactionType';
|
|
2
1
|
import { IParticipantAsProject, IParticipantAsSeller, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
|
|
3
2
|
import { IAttributes as IReturnOrderActionAttributes } from '../../action/transfer/return/order';
|
|
4
3
|
import { ActionType } from '../../actionType';
|
|
@@ -34,19 +33,6 @@ export interface IPurposeAsAssetTransaction {
|
|
|
34
33
|
export type IPurposeAsReturnAction = Pick<IReturnOrderActionAttributes, 'object' | 'typeOf'>;
|
|
35
34
|
export type IPurpose = IOrderAsPayPurpose | IPurposeAsReturnAction;
|
|
36
35
|
export type AvailablePaymentMethodType = string;
|
|
37
|
-
export interface IPendingTransaction {
|
|
38
|
-
typeOf: AccountTransactionType;
|
|
39
|
-
id: string;
|
|
40
|
-
transactionNumber?: string;
|
|
41
|
-
object: {
|
|
42
|
-
fromLocation?: {
|
|
43
|
-
/**
|
|
44
|
-
* 口座番号
|
|
45
|
-
*/
|
|
46
|
-
accountNumber: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
36
|
/**
|
|
51
37
|
* 決済方法インターフェース
|
|
52
38
|
*/
|
|
@@ -87,7 +73,7 @@ export interface IPaymentService {
|
|
|
87
73
|
* 決済方法
|
|
88
74
|
*/
|
|
89
75
|
paymentMethod: IPaymentMethod;
|
|
90
|
-
pendingTransaction?:
|
|
76
|
+
pendingTransaction?: never;
|
|
91
77
|
/**
|
|
92
78
|
* 決済カードリスト
|
|
93
79
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAction as IPayAction, ILocation, IMovieTicket, IOrderAsPayPurpose,
|
|
1
|
+
import { IAction as IPayAction, ILocation, IMovieTicket, IOrderAsPayPurpose, IPlaceOrderRelatedInstrument, IRecipient as IPayRecipient } from '../action/trade/pay';
|
|
2
2
|
import { IAgentAsSeller, ISearchConditions as IBaseSearchConditions, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../assetTransaction';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -122,7 +122,7 @@ export interface IPaymentServiceAsObject {
|
|
|
122
122
|
*/
|
|
123
123
|
id: string;
|
|
124
124
|
paymentMethod: IPaymentMethod;
|
|
125
|
-
pendingTransaction?:
|
|
125
|
+
pendingTransaction?: never;
|
|
126
126
|
accountsReceivablesByServiceType?: never;
|
|
127
127
|
/**
|
|
128
128
|
* 既存決済カード認証アクション(2024-12-13~)
|
|
@@ -4,7 +4,6 @@ import { AssetTransactionType } from '../assetTransactionType';
|
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IOrder } from '../order';
|
|
6
6
|
import { PermitType } from '../permit';
|
|
7
|
-
import { ProductType } from '../product';
|
|
8
7
|
import { IPropertyValue } from '../propertyValue';
|
|
9
8
|
import { ITicketIssuedBy, TicketType, IUnderName as IReservationUnderName, IBroker, ISeat as IReservationSeat } from '../reservation';
|
|
10
9
|
import { IIssuedThrough as IEventReservationIssuedThrough, IPrice as IReservationPrice, IReservation as IEventReservation, IReservationForLegacy as IEventReservationReservationFor, IReservedTicket, ISubReservation as ISubReservation4eventReservation, ITicketType } from '../reservation/event';
|
|
@@ -46,7 +45,7 @@ export interface IPermitIssuedThroughMembershipService {
|
|
|
46
45
|
* メンバーシップ発行サービスID
|
|
47
46
|
*/
|
|
48
47
|
id: string;
|
|
49
|
-
typeOf:
|
|
48
|
+
typeOf: PaymentServiceType.CreditCard;
|
|
50
49
|
};
|
|
51
50
|
typeOf: PermitType.Permit;
|
|
52
51
|
}
|
|
@@ -5,7 +5,7 @@ import { IInvoice } from './invoice';
|
|
|
5
5
|
import { OfferType } from './offerType';
|
|
6
6
|
import { IOrder } from './order';
|
|
7
7
|
import { OrganizationType } from './organizationType';
|
|
8
|
-
import { IOwnershipInfo
|
|
8
|
+
import { IOwnershipInfo } from './ownershipInfo';
|
|
9
9
|
import { PersonType } from './personType';
|
|
10
10
|
import { ProductType } from './product';
|
|
11
11
|
import { IProject } from './project';
|
|
@@ -17,10 +17,6 @@ import { TransactionType } from './transactionType';
|
|
|
17
17
|
* 発券対象の注文
|
|
18
18
|
*/
|
|
19
19
|
export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
|
|
20
|
-
export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThroughAsProduct, 'id' | 'typeOf'>;
|
|
21
|
-
export type IPermitAsTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
|
|
22
|
-
issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
|
|
23
|
-
};
|
|
24
20
|
/**
|
|
25
21
|
* 決済方法チケットの請求情報
|
|
26
22
|
*/
|
|
@@ -49,7 +45,6 @@ export interface IFaceToFacePaymentMethodAsTypeOfGood {
|
|
|
49
45
|
serviceOutput: IInvoiceAsPaymentMethodServiceOutput;
|
|
50
46
|
issuedThrough?: never;
|
|
51
47
|
}
|
|
52
|
-
export type IPermitOwnershipInfo = Pick<IOwnershipInfo<IPermitAsTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
53
48
|
/**
|
|
54
49
|
* 決済方法所有権
|
|
55
50
|
* support(2025-11-11~)
|
|
@@ -63,22 +58,7 @@ export type IFaceToFacePaymentMethodOwnershipInfo = Pick<IOwnershipInfo<IFaceToF
|
|
|
63
58
|
/**
|
|
64
59
|
* Permit所有権あるいは決済方法所有権
|
|
65
60
|
*/
|
|
66
|
-
export type IOwnershipInfoAsObject =
|
|
67
|
-
/**
|
|
68
|
-
* トークン化されたメンバープログラムティア
|
|
69
|
-
*/
|
|
70
|
-
export interface ITokenizedMemberProgramTier {
|
|
71
|
-
/**
|
|
72
|
-
* ティアトークン
|
|
73
|
-
*/
|
|
74
|
-
token: string;
|
|
75
|
-
isTierOf: {
|
|
76
|
-
/**
|
|
77
|
-
* メンバープログラムコード
|
|
78
|
-
*/
|
|
79
|
-
identifier: string;
|
|
80
|
-
};
|
|
81
|
-
}
|
|
61
|
+
export type IOwnershipInfoAsObject = IPaymentMethodOwnershipInfo | IFaceToFacePaymentMethodOwnershipInfo;
|
|
82
62
|
/**
|
|
83
63
|
* 承認対象としての興行オファー
|
|
84
64
|
*/
|
package/lib/chevre/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * as waiter from '@waiter/factory';
|
|
2
2
|
export * as cognito from './cognito';
|
|
3
|
-
export * as account from './account';
|
|
4
3
|
import * as ActionFactory from './action';
|
|
5
4
|
import * as AcceptCOAOfferActionFactory from './action/accept/coaOffer';
|
|
6
5
|
import * as AcceptPayActionFactory from './action/accept/pay';
|
|
@@ -36,7 +35,6 @@ import * as UpdateActionFactory from './action/update/update';
|
|
|
36
35
|
import { ActionStatusType } from './actionStatusType';
|
|
37
36
|
import { ActionType } from './actionType';
|
|
38
37
|
import * as AccountTitleFactory from './accountTitle';
|
|
39
|
-
import { AccountType } from './accountType';
|
|
40
38
|
import * as AdditionalPropertyFactory from './additionalProperty';
|
|
41
39
|
import * as AdvanceBookingRequirementFactory from './advanceBookingRequirement';
|
|
42
40
|
import * as AggregationFactory from './aggregation';
|
|
@@ -146,12 +144,10 @@ import * as TaskNotification from './notification/task';
|
|
|
146
144
|
import * as TransactionNotification from './notification/transaction';
|
|
147
145
|
import * as TaskFactory from './task';
|
|
148
146
|
import * as AcceptCOAOfferTaskFactory from './task/acceptCOAOffer';
|
|
149
|
-
import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
|
|
150
147
|
import * as AggregateOffersTaskFactory from './task/aggregateOffers';
|
|
151
148
|
import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
|
|
152
149
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
153
150
|
import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
|
|
154
|
-
import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
|
|
155
151
|
import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
|
|
156
152
|
import * as CancelReservationTaskFactory from './task/cancelReservation';
|
|
157
153
|
import * as CheckMovieTicketTaskFactory from './task/checkMovieTicket';
|
|
@@ -176,7 +172,6 @@ import * as PayTaskFactory from './task/pay';
|
|
|
176
172
|
import * as PlaceOrderTaskFactory from './task/placeOrder';
|
|
177
173
|
import * as PublishPaymentUrlTaskFactory from './task/publishPaymentUrl';
|
|
178
174
|
import * as RefundTaskFactory from './task/refund';
|
|
179
|
-
import * as RegisterServiceTaskFactory from './task/registerService';
|
|
180
175
|
import * as ReserveTaskFactory from './task/reserve';
|
|
181
176
|
import * as ReturnOrderTaskFactory from './task/returnOrder';
|
|
182
177
|
import * as ReturnPayTransactionTaskFactory from './task/returnPayTransaction';
|
|
@@ -298,7 +293,6 @@ export declare namespace action {
|
|
|
298
293
|
export import reserve = ReserveActionFactory;
|
|
299
294
|
}
|
|
300
295
|
export import accountTitle = AccountTitleFactory;
|
|
301
|
-
export import accountType = AccountType;
|
|
302
296
|
export import additionalProperty = AdditionalPropertyFactory;
|
|
303
297
|
export import advanceBookingRequirement = AdvanceBookingRequirementFactory;
|
|
304
298
|
export import aggregation = AggregationFactory;
|
|
@@ -480,7 +474,6 @@ export declare namespace task {
|
|
|
480
474
|
export import pay = PayTaskFactory;
|
|
481
475
|
export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
482
476
|
export import refund = RefundTaskFactory;
|
|
483
|
-
export import registerService = RegisterServiceTaskFactory;
|
|
484
477
|
export import reserve = ReserveTaskFactory;
|
|
485
478
|
export import sendEmailMessage = SendEmailMessageTaskFactory;
|
|
486
479
|
export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
@@ -491,8 +484,6 @@ export declare namespace task {
|
|
|
491
484
|
export import onEventChanged = OnEventChangedTaskFactory;
|
|
492
485
|
export import onResourceDeleted = OnResourceDeletedTaskFactory;
|
|
493
486
|
export import onResourceUpdated = OnResourceUpdatedTaskFactory;
|
|
494
|
-
export import accountMoneyTransfer = AccountMoneyTransferTaskFactory;
|
|
495
|
-
export import cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
|
|
496
487
|
}
|
|
497
488
|
export declare namespace service {
|
|
498
489
|
export import paymentService = PaymentServiceFactory;
|
package/lib/chevre/index.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person =
|
|
3
|
+
exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.cognito = exports.waiter = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
|
|
5
5
|
exports.waiter = require("@waiter/factory");
|
|
6
6
|
exports.cognito = require("./cognito");
|
|
7
|
-
exports.account = require("./account");
|
|
8
7
|
const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
9
8
|
const AcceptPayActionFactory = require("./action/accept/pay");
|
|
10
9
|
const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
|
|
@@ -37,7 +36,6 @@ const UpdateActionFactory = require("./action/update/update");
|
|
|
37
36
|
const actionStatusType_1 = require("./actionStatusType");
|
|
38
37
|
const actionType_1 = require("./actionType");
|
|
39
38
|
const AccountTitleFactory = require("./accountTitle");
|
|
40
|
-
const accountType_1 = require("./accountType");
|
|
41
39
|
const AdditionalPropertyFactory = require("./additionalProperty");
|
|
42
40
|
const AdvanceBookingRequirementFactory = require("./advanceBookingRequirement");
|
|
43
41
|
const AggregationFactory = require("./aggregation");
|
|
@@ -144,12 +142,10 @@ const ReservationNotification = require("./notification/reservation");
|
|
|
144
142
|
const TaskNotification = require("./notification/task");
|
|
145
143
|
const TransactionNotification = require("./notification/transaction");
|
|
146
144
|
const AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
|
|
147
|
-
const AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
|
|
148
145
|
const AggregateOffersTaskFactory = require("./task/aggregateOffers");
|
|
149
146
|
const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
|
|
150
147
|
const AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
151
148
|
const AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
152
|
-
const CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
153
149
|
const CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
|
|
154
150
|
const CancelReservationTaskFactory = require("./task/cancelReservation");
|
|
155
151
|
const CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
|
|
@@ -171,7 +167,6 @@ const OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
|
|
|
171
167
|
const PayTaskFactory = require("./task/pay");
|
|
172
168
|
const PublishPaymentUrlTaskFactory = require("./task/publishPaymentUrl");
|
|
173
169
|
const RefundTaskFactory = require("./task/refund");
|
|
174
|
-
const RegisterServiceTaskFactory = require("./task/registerService");
|
|
175
170
|
const ReserveTaskFactory = require("./task/reserve");
|
|
176
171
|
const SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
|
|
177
172
|
const SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
|
|
@@ -287,7 +282,6 @@ var action;
|
|
|
287
282
|
action.reserve = ReserveActionFactory;
|
|
288
283
|
})(action || (exports.action = action = {}));
|
|
289
284
|
exports.accountTitle = AccountTitleFactory;
|
|
290
|
-
exports.accountType = accountType_1.AccountType;
|
|
291
285
|
exports.additionalProperty = AdditionalPropertyFactory;
|
|
292
286
|
exports.advanceBookingRequirement = AdvanceBookingRequirementFactory;
|
|
293
287
|
exports.aggregation = AggregationFactory;
|
|
@@ -453,7 +447,6 @@ var task;
|
|
|
453
447
|
task.pay = PayTaskFactory;
|
|
454
448
|
task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
455
449
|
task.refund = RefundTaskFactory;
|
|
456
|
-
task.registerService = RegisterServiceTaskFactory;
|
|
457
450
|
task.reserve = ReserveTaskFactory;
|
|
458
451
|
task.sendEmailMessage = SendEmailMessageTaskFactory;
|
|
459
452
|
task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
@@ -464,8 +457,6 @@ var task;
|
|
|
464
457
|
task.onEventChanged = OnEventChangedTaskFactory;
|
|
465
458
|
task.onResourceDeleted = OnResourceDeletedTaskFactory;
|
|
466
459
|
task.onResourceUpdated = OnResourceUpdatedTaskFactory;
|
|
467
|
-
task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
|
|
468
|
-
task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
|
|
469
460
|
})(task || (exports.task = task = {}));
|
|
470
461
|
var service;
|
|
471
462
|
(function (service) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IInvoice } from './invoice';
|
|
2
2
|
import { OrganizationType } from './organizationType';
|
|
3
|
-
import { IIssuedThroughAsCreditCard, IIssuedThroughAsFaceToFace,
|
|
3
|
+
import { IIssuedThroughAsCreditCard, IIssuedThroughAsFaceToFace, IPermit } from './permit';
|
|
4
4
|
import { PersonType } from './personType';
|
|
5
5
|
import { ProductType } from './product';
|
|
6
6
|
import { IProject } from './project';
|
|
@@ -27,8 +27,7 @@ export interface IEventReservationAsGood {
|
|
|
27
27
|
export type IReservation = IEventReservationAsGood;
|
|
28
28
|
export type IPermitIssuedThroughAsFaceToFace = Pick<IIssuedThroughAsFaceToFace, 'typeOf'>;
|
|
29
29
|
export type IPermitIssuedThroughAsCreditCard = Pick<IIssuedThroughAsCreditCard, 'id' | 'typeOf'>;
|
|
30
|
-
export type
|
|
31
|
-
export type IPermitIssuedThrough = IPermitIssuedThroughAsFaceToFace | IPermitIssuedThroughAsCreditCard | IPermitIssuedThroughAsProduct;
|
|
30
|
+
export type IPermitIssuedThrough = IPermitIssuedThroughAsFaceToFace | IPermitIssuedThroughAsCreditCard;
|
|
32
31
|
export type IPermitAsGood = Pick<IPermit, 'typeOf'> & {
|
|
33
32
|
identifier: string;
|
|
34
33
|
issuedThrough?: IPermitIssuedThrough;
|
package/lib/chevre/permit.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { IAccount } from './account';
|
|
2
|
-
import { IMonetaryAmount } from './monetaryAmount';
|
|
3
1
|
import { IOrganization } from './organization';
|
|
4
|
-
import { IMembershipProduct, IPaymentCardProduct } from './product';
|
|
5
2
|
import { IProject } from './project';
|
|
6
3
|
import { IPropertyValue } from './propertyValue';
|
|
7
4
|
import { IService as IPaymentService, PaymentServiceType } from './service/paymentService';
|
|
@@ -12,6 +9,7 @@ export declare enum PermitType {
|
|
|
12
9
|
* メンバーシップ出力決済サービス(対面決済IF)
|
|
13
10
|
*/
|
|
14
11
|
export interface IIssuedThroughAsFaceToFace {
|
|
12
|
+
id?: never;
|
|
15
13
|
typeOf: PaymentServiceType.FaceToFace;
|
|
16
14
|
}
|
|
17
15
|
/**
|
|
@@ -25,20 +23,7 @@ export type IIssuedThroughAsCreditCard = Pick<IPaymentService, 'id'> & {
|
|
|
25
23
|
serviceType?: never;
|
|
26
24
|
typeOf: PaymentServiceType.CreditCard;
|
|
27
25
|
};
|
|
28
|
-
|
|
29
|
-
* メンバーシップあるいはペイメントカード出力プロダクト
|
|
30
|
-
*/
|
|
31
|
-
export type IIssuedThroughAsProduct = Pick<IMembershipProduct, 'id' | 'serviceType' | 'typeOf'> & {
|
|
32
|
-
id: string;
|
|
33
|
-
} | Pick<IPaymentCardProduct, 'id' | 'serviceType' | 'typeOf'> & {
|
|
34
|
-
id: string;
|
|
35
|
-
};
|
|
36
|
-
export type IIssuedThrough = IIssuedThroughAsFaceToFace | IIssuedThroughAsCreditCard | IIssuedThroughAsProduct;
|
|
37
|
-
export type IPaymentAccount = Pick<IAccount, 'accountNumber' | 'typeOf'>;
|
|
38
|
-
export type IPaymentAccountWithDetail = Pick<IAccount, 'accountNumber' | 'availableBalance' | 'balance' | 'typeOf'>;
|
|
39
|
-
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
40
|
-
export type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
|
|
41
|
-
export type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
|
|
26
|
+
export type IIssuedThrough = IIssuedThroughAsFaceToFace | IIssuedThroughAsCreditCard;
|
|
42
27
|
export type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
|
|
43
28
|
/**
|
|
44
29
|
* A permit issued by an organization, e.g. a parking pass.
|
|
@@ -51,10 +36,6 @@ export interface IPermit {
|
|
|
51
36
|
identifier?: string;
|
|
52
37
|
accessCode?: string;
|
|
53
38
|
additionalProperty?: IPropertyValue<string>[];
|
|
54
|
-
amount?: IAmount;
|
|
55
|
-
depositAmount?: IDepositAmount;
|
|
56
|
-
paymentAmount?: IPaymentAmount;
|
|
57
|
-
paymentAccount?: IPaymentAccount;
|
|
58
39
|
dateIssued?: Date;
|
|
59
40
|
/**
|
|
60
41
|
* The organization issuing the ticket or permit.
|
package/lib/chevre/product.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CategorySetIdentifier, ICategoryCode, ICategoryCodeSet } from './catego
|
|
|
2
2
|
import { IMultilingualString } from './multilingualString';
|
|
3
3
|
import { IName as IOfferName, IOffer as IBaseOffer } from './offer';
|
|
4
4
|
import { OfferType } from './offerType';
|
|
5
|
-
import {
|
|
5
|
+
import { IPermit } from './permit';
|
|
6
6
|
import { IAppliesToCategoryCode, IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
7
7
|
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
8
8
|
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
@@ -20,22 +20,10 @@ export declare enum ProductType {
|
|
|
20
20
|
* 興行
|
|
21
21
|
*/
|
|
22
22
|
EventService = "EventService",
|
|
23
|
-
/**
|
|
24
|
-
* メンバーシップサービス
|
|
25
|
-
*/
|
|
26
|
-
MembershipService = "MembershipService",
|
|
27
|
-
/**
|
|
28
|
-
* ペイメントカード
|
|
29
|
-
*/
|
|
30
|
-
PaymentCard = "PaymentCard",
|
|
31
23
|
/**
|
|
32
24
|
* アドオン
|
|
33
25
|
*/
|
|
34
|
-
Product = "Product"
|
|
35
|
-
/**
|
|
36
|
-
* 旅客サービス
|
|
37
|
-
*/
|
|
38
|
-
Transportation = "Transportation"
|
|
26
|
+
Product = "Product"
|
|
39
27
|
}
|
|
40
28
|
export interface IOfferCatalogItem {
|
|
41
29
|
/**
|
|
@@ -51,30 +39,12 @@ export interface IHasOfferCatalog {
|
|
|
51
39
|
*/
|
|
52
40
|
itemListElement: IOfferCatalogItem[];
|
|
53
41
|
}
|
|
54
|
-
export type IServiceOutput = Pick<IPermit, 'typeOf'
|
|
55
|
-
/**
|
|
56
|
-
* ペイメントカードの場合、通貨区分
|
|
57
|
-
*/
|
|
58
|
-
amount?: Pick<IPermitAmount, 'currency' | 'typeOf'>;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* 外部サービス認証情報
|
|
62
|
-
*/
|
|
63
|
-
export interface ICredentials {
|
|
64
|
-
authorizeServerDomain?: string;
|
|
65
|
-
clientId?: string;
|
|
66
|
-
clientSecret?: string;
|
|
67
|
-
}
|
|
42
|
+
export type IServiceOutput = Pick<IPermit, 'typeOf'>;
|
|
68
43
|
export interface INoCredentials {
|
|
69
44
|
authorizeServerDomain?: never;
|
|
70
45
|
clientId?: never;
|
|
71
46
|
clientSecret?: never;
|
|
72
47
|
}
|
|
73
|
-
export interface IAvailableChannel {
|
|
74
|
-
typeOf: 'ServiceChannel';
|
|
75
|
-
serviceUrl?: string;
|
|
76
|
-
credentials?: ICredentials;
|
|
77
|
-
}
|
|
78
48
|
export interface INoAvailableChannel {
|
|
79
49
|
typeOf: 'ServiceChannel';
|
|
80
50
|
serviceUrl?: never;
|
|
@@ -109,7 +79,7 @@ export interface ICommonAttributes extends Pick<IThing, 'name' | 'description'>
|
|
|
109
79
|
* 興行などのプロダクト
|
|
110
80
|
*/
|
|
111
81
|
export interface IEventServiceProduct extends ICommonAttributes {
|
|
112
|
-
typeOf: ProductType.EventService
|
|
82
|
+
typeOf: ProductType.EventService;
|
|
113
83
|
availableChannel?: INoAvailableChannel;
|
|
114
84
|
serviceOutput?: never;
|
|
115
85
|
/**
|
|
@@ -127,43 +97,11 @@ export interface IAddOnProduct extends ICommonAttributes {
|
|
|
127
97
|
serviceOutput?: never;
|
|
128
98
|
serviceType?: never;
|
|
129
99
|
}
|
|
130
|
-
/**
|
|
131
|
-
* メンバーシッププロダクト
|
|
132
|
-
*/
|
|
133
|
-
export interface IMembershipProduct extends ICommonAttributes {
|
|
134
|
-
typeOf: ProductType.MembershipService;
|
|
135
|
-
availableChannel?: IAvailableChannel;
|
|
136
|
-
/**
|
|
137
|
-
* The tangible thing generated by the service, e.g. a passport, permit, etc.
|
|
138
|
-
*/
|
|
139
|
-
serviceOutput?: IServiceOutput;
|
|
140
|
-
/**
|
|
141
|
-
* The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
|
|
142
|
-
* メンバーシップ区分
|
|
143
|
-
*/
|
|
144
|
-
serviceType?: IServiceType;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* ペイメントカードプロダクト
|
|
148
|
-
*/
|
|
149
|
-
export interface IPaymentCardProduct extends ICommonAttributes {
|
|
150
|
-
typeOf: ProductType.PaymentCard;
|
|
151
|
-
availableChannel?: IAvailableChannel;
|
|
152
|
-
/**
|
|
153
|
-
* The tangible thing generated by the service, e.g. a passport, permit, etc.
|
|
154
|
-
*/
|
|
155
|
-
serviceOutput?: IServiceOutput;
|
|
156
|
-
/**
|
|
157
|
-
* The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
|
|
158
|
-
* 決済方法区分
|
|
159
|
-
*/
|
|
160
|
-
serviceType?: IServiceType;
|
|
161
|
-
}
|
|
162
100
|
/**
|
|
163
101
|
* プロダクト
|
|
164
102
|
* {@link https://schema.org/Product}
|
|
165
103
|
*/
|
|
166
|
-
export type IProduct = IEventServiceProduct | IAddOnProduct
|
|
104
|
+
export type IProduct = IEventServiceProduct | IAddOnProduct;
|
|
167
105
|
export interface IHasOfferCatalogOnCreate {
|
|
168
106
|
/**
|
|
169
107
|
* IDを指定する場合
|
|
@@ -190,8 +128,6 @@ export type ICreateParams = Pick<IProduct, 'typeOf' | 'productID' | 'name' | 'de
|
|
|
190
128
|
/**
|
|
191
129
|
* サービスタイプ
|
|
192
130
|
* 興行->興行区分
|
|
193
|
-
* メンバーシップ->メンバーシップ区分
|
|
194
|
-
* ペイメントカード->決済方法区分
|
|
195
131
|
*/
|
|
196
132
|
serviceType?: Pick<IServiceType, 'codeValue'>;
|
|
197
133
|
};
|
package/lib/chevre/product.js
CHANGED
|
@@ -10,20 +10,8 @@ var ProductType;
|
|
|
10
10
|
* 興行
|
|
11
11
|
*/
|
|
12
12
|
ProductType["EventService"] = "EventService";
|
|
13
|
-
/**
|
|
14
|
-
* メンバーシップサービス
|
|
15
|
-
*/
|
|
16
|
-
ProductType["MembershipService"] = "MembershipService";
|
|
17
|
-
/**
|
|
18
|
-
* ペイメントカード
|
|
19
|
-
*/
|
|
20
|
-
ProductType["PaymentCard"] = "PaymentCard";
|
|
21
13
|
/**
|
|
22
14
|
* アドオン
|
|
23
15
|
*/
|
|
24
16
|
ProductType["Product"] = "Product";
|
|
25
|
-
/**
|
|
26
|
-
* 旅客サービス
|
|
27
|
-
*/
|
|
28
|
-
ProductType["Transportation"] = "Transportation";
|
|
29
17
|
})(ProductType || (exports.ProductType = ProductType = {}));
|
|
@@ -122,15 +122,7 @@ export type IProgramMembershipIssuedThroughCreditCard = Pick<IProgramMembership,
|
|
|
122
122
|
typeOf: PaymentServiceType.CreditCard;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
export type
|
|
126
|
-
identifier: string;
|
|
127
|
-
issuedThrough: {
|
|
128
|
-
id: string;
|
|
129
|
-
serviceType: Pick<IServiceType, 'codeValue'>;
|
|
130
|
-
typeOf: ProductType.MembershipService;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
export type IProgramMembershipUsed = IProgramMembershipIssuedThroughFaceToFace | IProgramMembershipIssuedThroughCreditCard | IProgramMembershipIssuedThroughMembershipService;
|
|
125
|
+
export type IProgramMembershipUsed = IProgramMembershipIssuedThroughFaceToFace | IProgramMembershipIssuedThroughCreditCard;
|
|
134
126
|
export type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
135
127
|
export interface IIssuedThrough {
|
|
136
128
|
typeOf: ProductType.EventService;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RESERVED_CODE_VALUES = void 0;
|
|
4
|
-
const account_1 = require("./account");
|
|
5
4
|
const assetTransactionType_1 = require("./assetTransactionType");
|
|
6
5
|
const certificationStatusEnumeration_1 = require("./certificationStatusEnumeration");
|
|
7
6
|
const creativeWorkType_1 = require("./creativeWorkType");
|
|
@@ -97,10 +96,7 @@ exports.RESERVED_CODE_VALUES = [
|
|
|
97
96
|
priceSpecificationType_1.PriceSpecificationType.PriceSpecification,
|
|
98
97
|
priceSpecificationType_1.PriceSpecificationType.UnitPriceSpecification,
|
|
99
98
|
product_1.ProductType.EventService,
|
|
100
|
-
product_1.ProductType.MembershipService,
|
|
101
|
-
product_1.ProductType.PaymentCard,
|
|
102
99
|
product_1.ProductType.Product,
|
|
103
|
-
product_1.ProductType.Transportation,
|
|
104
100
|
reservationStatusType_1.ReservationStatusType.ReservationCancelled,
|
|
105
101
|
reservationStatusType_1.ReservationStatusType.ReservationConfirmed,
|
|
106
102
|
reservationStatusType_1.ReservationStatusType.ReservationPending,
|
|
@@ -126,9 +122,9 @@ exports.RESERVED_CODE_VALUES = [
|
|
|
126
122
|
unitCode_1.UnitCode.C62,
|
|
127
123
|
unitCode_1.UnitCode.Day,
|
|
128
124
|
unitCode_1.UnitCode.Sec,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
'Deposit',
|
|
126
|
+
'Transfer',
|
|
127
|
+
'Withdraw',
|
|
132
128
|
'MemberProgram',
|
|
133
129
|
'MemberProgramTier',
|
|
134
130
|
'Enduser',
|
|
@@ -3,7 +3,7 @@ import { IMultilingualString } from '../multilingualString';
|
|
|
3
3
|
import { OrganizationType } from '../organizationType';
|
|
4
4
|
import { IPermit } from '../permit';
|
|
5
5
|
import { IPotentialInformAction as IPotentialInformActionTemplate } from '../potentialAction';
|
|
6
|
-
import {
|
|
6
|
+
import { IServiceType } from '../product';
|
|
7
7
|
import { IProject } from '../project';
|
|
8
8
|
import { IPropertyValue } from '../propertyValue';
|
|
9
9
|
import { SortType } from '../sortType';
|
|
@@ -83,7 +83,7 @@ export interface IProvider {
|
|
|
83
83
|
credentials?: IProviderCredentials;
|
|
84
84
|
}
|
|
85
85
|
export interface IAvailableChannelCreditCard {
|
|
86
|
-
typeOf:
|
|
86
|
+
typeOf: 'ServiceChannel';
|
|
87
87
|
/**
|
|
88
88
|
* add paymentServiceChannel ID(2025-02-21~)
|
|
89
89
|
*/
|
|
@@ -96,7 +96,7 @@ export interface IAvailableChannelCreditCard {
|
|
|
96
96
|
totalPaymentDue?: never;
|
|
97
97
|
}
|
|
98
98
|
export interface IAvailableChannelMovieTicket {
|
|
99
|
-
typeOf:
|
|
99
|
+
typeOf: 'ServiceChannel';
|
|
100
100
|
/**
|
|
101
101
|
* add paymentServiceChannel ID(2025-02-21~)
|
|
102
102
|
*/
|
package/lib/chevre/taskName.d.ts
CHANGED
package/lib/chevre/taskName.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { passport } from '@waiter/factory';
|
|
2
|
-
import { AccountType } from '../accountType';
|
|
3
2
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../action/transfer/send/message/email';
|
|
4
3
|
import { IExtendId } from '../autoGenerated';
|
|
5
4
|
import { IClientUser } from '../clientUser';
|
|
@@ -30,13 +29,6 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
30
29
|
*/
|
|
31
30
|
paymentMethodId: string;
|
|
32
31
|
}
|
|
33
|
-
/**
|
|
34
|
-
* 注文特典口座
|
|
35
|
-
*/
|
|
36
|
-
export interface IAwardAccount {
|
|
37
|
-
typeOf: AccountType.Account;
|
|
38
|
-
accountNumber: string;
|
|
39
|
-
}
|
|
40
32
|
export interface IObject {
|
|
41
33
|
clientUser?: Omit<IClientUser, 'scope' | 'scopes'>;
|
|
42
34
|
broker?: Pick<IBroker, 'id' | 'typeOf'>;
|
|
@@ -2,7 +2,6 @@ import { IAdvanceBookingRequirement as IActualAdvanceBookingRequirement } from '
|
|
|
2
2
|
import { ItemAvailability } from './itemAvailability';
|
|
3
3
|
import { IAddOn, ICategory, IEligibleCategoryCode, IName, IOffer } from './offer';
|
|
4
4
|
import { OfferType } from './offerType';
|
|
5
|
-
import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
|
|
6
5
|
import { IAccounting } from './priceSpecification';
|
|
7
6
|
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
8
7
|
import { IAddOnProduct, ProductType } from './product';
|
|
@@ -18,20 +17,7 @@ export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions,
|
|
|
18
17
|
*/
|
|
19
18
|
export interface IItemOffered {
|
|
20
19
|
typeOf: ProductType;
|
|
21
|
-
serviceOutput?:
|
|
22
|
-
/**
|
|
23
|
-
* ペイメントカード初期金額
|
|
24
|
-
*/
|
|
25
|
-
amount?: IPermitAmount;
|
|
26
|
-
/**
|
|
27
|
-
* ペイメントカード入金設定
|
|
28
|
-
*/
|
|
29
|
-
depositAmount?: IDepositAmount;
|
|
30
|
-
/**
|
|
31
|
-
* ペイメントカード決済設定
|
|
32
|
-
*/
|
|
33
|
-
paymentAmount?: IPaymentAmount;
|
|
34
|
-
};
|
|
20
|
+
serviceOutput?: never;
|
|
35
21
|
/**
|
|
36
22
|
* 特典
|
|
37
23
|
*/
|
package/package.json
CHANGED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { AccountType } from '../../accountType';
|
|
2
|
-
import { IParticipant, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
|
|
3
|
-
import { ActionType } from '../../actionType';
|
|
4
|
-
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
5
|
-
import { AccountTransactionType } from '../transactionType';
|
|
6
|
-
export type IAgent = Pick<IParticipant, 'name' | 'typeOf'>;
|
|
7
|
-
export type IRecipient = Pick<IParticipant, 'name' | 'typeOf'>;
|
|
8
|
-
/**
|
|
9
|
-
* 口座以外の匿名ロケーション
|
|
10
|
-
*/
|
|
11
|
-
export interface IAnonymousLocation {
|
|
12
|
-
name?: string;
|
|
13
|
-
/**
|
|
14
|
-
* ロケーションタイプ
|
|
15
|
-
*/
|
|
16
|
-
typeOf: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 口座
|
|
20
|
-
*/
|
|
21
|
-
export interface IAccount {
|
|
22
|
-
typeOf: AccountType.Account;
|
|
23
|
-
/**
|
|
24
|
-
* 通貨
|
|
25
|
-
* 不要なので廃止(2023-02-16~)
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* 口座番号
|
|
29
|
-
*/
|
|
30
|
-
accountNumber: string;
|
|
31
|
-
/**
|
|
32
|
-
* 口座名義
|
|
33
|
-
*/
|
|
34
|
-
name?: string;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 転送元あるいは転送先
|
|
38
|
-
*/
|
|
39
|
-
export type ILocation = IAnonymousLocation | IAccount;
|
|
40
|
-
/**
|
|
41
|
-
* アクションの目的
|
|
42
|
-
* ここでは、取引が目的となる
|
|
43
|
-
*/
|
|
44
|
-
export interface IPurpose {
|
|
45
|
-
/**
|
|
46
|
-
* 取引タイプ
|
|
47
|
-
*/
|
|
48
|
-
typeOf: AccountTransactionType;
|
|
49
|
-
/**
|
|
50
|
-
* 取引ID
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
* 取引番号
|
|
55
|
-
*/
|
|
56
|
-
transactionNumber: string;
|
|
57
|
-
}
|
|
58
|
-
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
|
|
59
|
-
export interface IAttributes extends Pick<IBaseAttributes<ActionType.MoneyTransfer, never, never>, 'project' | 'description'> {
|
|
60
|
-
agent: IAgent;
|
|
61
|
-
recipient?: IRecipient;
|
|
62
|
-
typeOf: ActionType.MoneyTransfer;
|
|
63
|
-
/**
|
|
64
|
-
* どんな取引によって発生した転送アクションか
|
|
65
|
-
*/
|
|
66
|
-
purpose: IPurpose;
|
|
67
|
-
/**
|
|
68
|
-
* 金額
|
|
69
|
-
*/
|
|
70
|
-
amount: IAmount;
|
|
71
|
-
/**
|
|
72
|
-
* 転送元
|
|
73
|
-
*/
|
|
74
|
-
fromLocation: ILocation;
|
|
75
|
-
/**
|
|
76
|
-
* 転送先
|
|
77
|
-
*/
|
|
78
|
-
toLocation: ILocation;
|
|
79
|
-
}
|
|
80
|
-
export type IAction = Pick<IBaseAction<Omit<IAttributes, 'agent' | 'recipient'> & {
|
|
81
|
-
agent: IParticipant;
|
|
82
|
-
object: never;
|
|
83
|
-
}>, 'actionStatus' | 'amount' | 'description' | 'endDate' | 'fromLocation' | 'project' | 'purpose' | 'startDate' | 'toLocation' | 'typeOf' | 'id'> & {
|
|
84
|
-
agent: IAgent;
|
|
85
|
-
recipient?: IRecipient;
|
|
86
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IExtendId } from '../../autoGenerated';
|
|
2
|
-
import { IAccount } from '../action/moneyTransfer';
|
|
3
|
-
import { IStartParams as IBaseStartParams, IObject as IBaseObject, IAttributes as IBaseAttributes, ISimpleAccount, IObjectWithoutDetail as IBaseObjectWithoutDetail } from '../transaction';
|
|
4
|
-
import { AccountTransactionType } from '../transactionType';
|
|
5
|
-
export type IStartParamsWithoutDetail = IBaseStartParams<AccountTransactionType.Deposit, IObjectWithoutDetail>;
|
|
6
|
-
/**
|
|
7
|
-
* 取引開始パラメーター
|
|
8
|
-
*/
|
|
9
|
-
export type IStartParams = IBaseStartParams<AccountTransactionType.Deposit, IObject>;
|
|
10
|
-
export interface IObjectWithoutDetail extends IBaseObjectWithoutDetail {
|
|
11
|
-
toLocation: ISimpleAccount;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 取引対象物
|
|
15
|
-
*/
|
|
16
|
-
export interface IObject extends IBaseObject {
|
|
17
|
-
/**
|
|
18
|
-
* 入金先
|
|
19
|
-
*/
|
|
20
|
-
toLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* 入金取引属性
|
|
24
|
-
*/
|
|
25
|
-
export interface IAttributes extends IBaseAttributes<IStartParams> {
|
|
26
|
-
}
|
|
27
|
-
export type ITransaction = IExtendId<IAttributes>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IExtendId } from '../../autoGenerated';
|
|
2
|
-
import { IAccount } from '../action/moneyTransfer';
|
|
3
|
-
import { IStartParams as IBaseStartParams, IObject as IBaseObject, IAttributes as IBaseAttributes, ISimpleAccount, IObjectWithoutDetail as IBaseObjectWithoutDetail } from '../transaction';
|
|
4
|
-
import { AccountTransactionType } from '../transactionType';
|
|
5
|
-
export type IStartParamsWithoutDetail = IBaseStartParams<AccountTransactionType.Transfer, IObjectWithoutDetail>;
|
|
6
|
-
/**
|
|
7
|
-
* 取引開始パラメーター
|
|
8
|
-
*/
|
|
9
|
-
export type IStartParams = IBaseStartParams<AccountTransactionType.Transfer, IObject>;
|
|
10
|
-
export interface IObjectWithoutDetail extends IBaseObjectWithoutDetail {
|
|
11
|
-
fromLocation: ISimpleAccount;
|
|
12
|
-
toLocation: ISimpleAccount;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 取引対象物
|
|
16
|
-
*/
|
|
17
|
-
export interface IObject extends IBaseObject {
|
|
18
|
-
/**
|
|
19
|
-
* 転送元
|
|
20
|
-
*/
|
|
21
|
-
fromLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
22
|
-
/**
|
|
23
|
-
* 転送先
|
|
24
|
-
*/
|
|
25
|
-
toLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* 転送取引
|
|
29
|
-
*/
|
|
30
|
-
export interface IAttributes extends IBaseAttributes<IStartParams> {
|
|
31
|
-
}
|
|
32
|
-
export type ITransaction = IExtendId<IAttributes>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IExtendId } from '../../autoGenerated';
|
|
2
|
-
import { IAccount } from '../action/moneyTransfer';
|
|
3
|
-
import { IStartParams as IBaseStartParams, IObject as IBaseObject, IAttributes as IBaseAttributes, ISimpleAccount, IObjectWithoutDetail as IBaseObjectWithoutDetail } from '../transaction';
|
|
4
|
-
import { AccountTransactionType } from '../transactionType';
|
|
5
|
-
export type IStartParamsWithoutDetail = IBaseStartParams<AccountTransactionType.Withdraw, IObjectWithoutDetail>;
|
|
6
|
-
/**
|
|
7
|
-
* 取引開始パラメーター
|
|
8
|
-
*/
|
|
9
|
-
export type IStartParams = IBaseStartParams<AccountTransactionType.Withdraw, IObject>;
|
|
10
|
-
export interface IObjectWithoutDetail extends IBaseObjectWithoutDetail {
|
|
11
|
-
fromLocation: ISimpleAccount;
|
|
12
|
-
/**
|
|
13
|
-
* 利用可能金額確認をしない場合、force: true
|
|
14
|
-
*/
|
|
15
|
-
force?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 取引対象物
|
|
19
|
-
*/
|
|
20
|
-
export interface IObject extends IBaseObject {
|
|
21
|
-
/**
|
|
22
|
-
* 出金元
|
|
23
|
-
*/
|
|
24
|
-
fromLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* 出金取引
|
|
28
|
-
*/
|
|
29
|
-
export interface IAttributes extends IBaseAttributes<IStartParams> {
|
|
30
|
-
}
|
|
31
|
-
export type ITransaction = IExtendId<IAttributes>;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { IExtendId } from '../autoGenerated';
|
|
2
|
-
import { OrganizationType } from '../organizationType';
|
|
3
|
-
import { SortType } from '../sortType';
|
|
4
|
-
import { TransactionStatusType } from '../transactionStatusType';
|
|
5
|
-
import { IAgent, IRecipient, IAttributes as IMoneyTransferActionAttributes } from './action/moneyTransfer';
|
|
6
|
-
import { AccountTransactionType } from './transactionType';
|
|
7
|
-
export { IAgent, IRecipient };
|
|
8
|
-
export interface ISimpleAccount {
|
|
9
|
-
accountNumber: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IProject {
|
|
12
|
-
id: string;
|
|
13
|
-
typeOf: OrganizationType.Project;
|
|
14
|
-
}
|
|
15
|
-
export interface IObjectWithoutDetail {
|
|
16
|
-
amount: {
|
|
17
|
-
value: number;
|
|
18
|
-
};
|
|
19
|
-
description?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IObject {
|
|
22
|
-
/**
|
|
23
|
-
* 金額
|
|
24
|
-
*/
|
|
25
|
-
amount: {
|
|
26
|
-
value: number;
|
|
27
|
-
};
|
|
28
|
-
description?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 口座取引開始パラメータ
|
|
32
|
-
*/
|
|
33
|
-
export interface IStartParams<T extends AccountTransactionType, TObject extends IObject> {
|
|
34
|
-
project: IProject;
|
|
35
|
-
/**
|
|
36
|
-
* 取引タイプ
|
|
37
|
-
*/
|
|
38
|
-
typeOf: T;
|
|
39
|
-
/**
|
|
40
|
-
* 取引識別子
|
|
41
|
-
* 同識別子に対する進行中取引のユニークネスは保証される
|
|
42
|
-
*/
|
|
43
|
-
identifier?: string;
|
|
44
|
-
/**
|
|
45
|
-
* 取引番号
|
|
46
|
-
* サービス使用側が指定するグローバルユニークな番号
|
|
47
|
-
* 必須化(2022-09-26~)
|
|
48
|
-
*/
|
|
49
|
-
transactionNumber: string;
|
|
50
|
-
/**
|
|
51
|
-
* 取引主体
|
|
52
|
-
*/
|
|
53
|
-
agent: IAgent;
|
|
54
|
-
/**
|
|
55
|
-
* 取引物受取者
|
|
56
|
-
*/
|
|
57
|
-
recipient: IRecipient;
|
|
58
|
-
/**
|
|
59
|
-
* 取引対象
|
|
60
|
-
*/
|
|
61
|
-
object: TObject;
|
|
62
|
-
/**
|
|
63
|
-
* 取引進行期限
|
|
64
|
-
*/
|
|
65
|
-
expires: Date;
|
|
66
|
-
}
|
|
67
|
-
export interface IPotentialActions {
|
|
68
|
-
moneyTransfer: IMoneyTransferActionAttributes;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* 口座取引属性
|
|
72
|
-
*/
|
|
73
|
-
export type IAttributes<TStartParams> = TStartParams & {
|
|
74
|
-
/**
|
|
75
|
-
* 取引状態
|
|
76
|
-
*/
|
|
77
|
-
status: TransactionStatusType;
|
|
78
|
-
/**
|
|
79
|
-
* 取引開始日時
|
|
80
|
-
*/
|
|
81
|
-
startDate: Date;
|
|
82
|
-
/**
|
|
83
|
-
* 取引終了日時
|
|
84
|
-
*/
|
|
85
|
-
endDate?: Date;
|
|
86
|
-
/**
|
|
87
|
-
* 事後に発生するアクション
|
|
88
|
-
*/
|
|
89
|
-
potentialActions?: IPotentialActions;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* 口座取引
|
|
93
|
-
*/
|
|
94
|
-
export type ITransaction<TStartParams> = IExtendId<IAttributes<TStartParams>>;
|
|
95
|
-
export interface ISortOrder {
|
|
96
|
-
startDate?: SortType;
|
|
97
|
-
}
|
|
98
|
-
export interface ISearchConditions {
|
|
99
|
-
limit?: number;
|
|
100
|
-
page?: number;
|
|
101
|
-
sort?: ISortOrder;
|
|
102
|
-
project?: {
|
|
103
|
-
id?: {
|
|
104
|
-
$eq?: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
typeOf?: {
|
|
108
|
-
$eq?: AccountTransactionType;
|
|
109
|
-
};
|
|
110
|
-
status?: {
|
|
111
|
-
$in?: TransactionStatusType[];
|
|
112
|
-
};
|
|
113
|
-
startDate?: {
|
|
114
|
-
$gte?: Date;
|
|
115
|
-
$lte?: Date;
|
|
116
|
-
};
|
|
117
|
-
identifier?: {
|
|
118
|
-
$eq?: string;
|
|
119
|
-
};
|
|
120
|
-
transactionNumber?: {
|
|
121
|
-
$eq?: string;
|
|
122
|
-
};
|
|
123
|
-
object?: {
|
|
124
|
-
fromLocation?: {
|
|
125
|
-
accountNumber?: {
|
|
126
|
-
$eq?: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
toLocation?: {
|
|
130
|
-
accountNumber?: {
|
|
131
|
-
$eq?: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
location?: {
|
|
135
|
-
/**
|
|
136
|
-
* 口座番号
|
|
137
|
-
*/
|
|
138
|
-
accountNumber?: {
|
|
139
|
-
$eq?: string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountTransactionType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* 口座取引タイプ
|
|
6
|
-
*/
|
|
7
|
-
var AccountTransactionType;
|
|
8
|
-
(function (AccountTransactionType) {
|
|
9
|
-
/**
|
|
10
|
-
* 出金取引
|
|
11
|
-
*/
|
|
12
|
-
AccountTransactionType["Withdraw"] = "Withdraw";
|
|
13
|
-
/**
|
|
14
|
-
* 入金取引
|
|
15
|
-
*/
|
|
16
|
-
AccountTransactionType["Deposit"] = "Deposit";
|
|
17
|
-
/**
|
|
18
|
-
* 転送取引
|
|
19
|
-
*/
|
|
20
|
-
AccountTransactionType["Transfer"] = "Transfer";
|
|
21
|
-
})(AccountTransactionType || (exports.AccountTransactionType = AccountTransactionType = {}));
|
package/lib/chevre/account.d.ts
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { AccountTransactionType } from './account/transactionType';
|
|
2
|
-
import { AccountType } from './accountType';
|
|
3
|
-
import { IProject } from './project';
|
|
4
|
-
import { SortType } from './sortType';
|
|
5
|
-
import * as MoneyTransferActionFactory from './account/action/moneyTransfer';
|
|
6
|
-
import { IAgent as IBaseAgent, IRecipient as IBaseRecipient, IPotentialActions as IBasePotentialActions, ISearchConditions as IBaseSearchConditions } from './account/transaction';
|
|
7
|
-
import * as DepositTransactionFactory from './account/transaction/deposit';
|
|
8
|
-
import * as TransferTransactionFactory from './account/transaction/transfer';
|
|
9
|
-
import * as WithdrawTransactionFactory from './account/transaction/withdraw';
|
|
10
|
-
export declare namespace action {
|
|
11
|
-
export import moneyTransfer = MoneyTransferActionFactory;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace transaction {
|
|
14
|
-
type IAgent = IBaseAgent;
|
|
15
|
-
type IRecipient = IBaseRecipient;
|
|
16
|
-
type IPotentialActions = IBasePotentialActions;
|
|
17
|
-
type ISearchConditions = IBaseSearchConditions;
|
|
18
|
-
type IStartParamsWithoutDetail<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParamsWithoutDetail : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParamsWithoutDetail : never;
|
|
19
|
-
type IStartParams<T extends AccountTransactionType> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IStartParams : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IStartParams : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IStartParams : never;
|
|
20
|
-
type IAttributes<T> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.IAttributes : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.IAttributes : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.IAttributes : never;
|
|
21
|
-
type ITransaction<T> = T extends AccountTransactionType.Deposit ? DepositTransactionFactory.ITransaction : T extends AccountTransactionType.Withdraw ? WithdrawTransactionFactory.ITransaction : T extends AccountTransactionType.Transfer ? TransferTransactionFactory.ITransaction : never;
|
|
22
|
-
export import withdraw = WithdrawTransactionFactory;
|
|
23
|
-
export import deposit = DepositTransactionFactory;
|
|
24
|
-
export import transfer = TransferTransactionFactory;
|
|
25
|
-
}
|
|
26
|
-
export import transactionType = AccountTransactionType;
|
|
27
|
-
/**
|
|
28
|
-
* 進行中取引
|
|
29
|
-
*/
|
|
30
|
-
export interface IPendingTransaction {
|
|
31
|
-
typeOf: AccountTransactionType;
|
|
32
|
-
/**
|
|
33
|
-
* 取引ID
|
|
34
|
-
*/
|
|
35
|
-
id: string;
|
|
36
|
-
/**
|
|
37
|
-
* 取引金額
|
|
38
|
-
*/
|
|
39
|
-
amount: number;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* 口座
|
|
43
|
-
*/
|
|
44
|
-
export interface IAccount {
|
|
45
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
46
|
-
/**
|
|
47
|
-
* 口座種別
|
|
48
|
-
*/
|
|
49
|
-
typeOf: AccountType.Account;
|
|
50
|
-
/**
|
|
51
|
-
* 通貨
|
|
52
|
-
*/
|
|
53
|
-
accountType: string;
|
|
54
|
-
/**
|
|
55
|
-
* 口座番号
|
|
56
|
-
*/
|
|
57
|
-
accountNumber: string;
|
|
58
|
-
/**
|
|
59
|
-
* 口座名義
|
|
60
|
-
*/
|
|
61
|
-
name: string;
|
|
62
|
-
/**
|
|
63
|
-
* 残高
|
|
64
|
-
*/
|
|
65
|
-
balance: number;
|
|
66
|
-
/**
|
|
67
|
-
* 利用可能残高
|
|
68
|
-
*/
|
|
69
|
-
availableBalance: number;
|
|
70
|
-
/**
|
|
71
|
-
* 進行中取引リスト
|
|
72
|
-
*/
|
|
73
|
-
pendingTransactions?: IPendingTransaction[];
|
|
74
|
-
/**
|
|
75
|
-
* 口座開設日時
|
|
76
|
-
*/
|
|
77
|
-
openDate: Date;
|
|
78
|
-
/**
|
|
79
|
-
* 口座閉鎖日時
|
|
80
|
-
*/
|
|
81
|
-
closeDate?: Date;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* ソート条件
|
|
85
|
-
*/
|
|
86
|
-
export interface ISortOrder {
|
|
87
|
-
/**
|
|
88
|
-
* 開設日時順
|
|
89
|
-
*/
|
|
90
|
-
openDate?: SortType;
|
|
91
|
-
}
|
|
92
|
-
export interface IProjectSearchConditions {
|
|
93
|
-
id?: {
|
|
94
|
-
$eq?: string;
|
|
95
|
-
$ne?: string;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* 口座検索条件
|
|
100
|
-
*/
|
|
101
|
-
export interface ISearchConditions {
|
|
102
|
-
limit?: number;
|
|
103
|
-
page?: number;
|
|
104
|
-
sort?: ISortOrder;
|
|
105
|
-
accountNumber?: {
|
|
106
|
-
$eq?: string;
|
|
107
|
-
$in?: string[];
|
|
108
|
-
$regex?: string;
|
|
109
|
-
};
|
|
110
|
-
accountNumbers?: string[];
|
|
111
|
-
accountType?: string;
|
|
112
|
-
name?: {
|
|
113
|
-
$regex?: string;
|
|
114
|
-
};
|
|
115
|
-
openDate?: {
|
|
116
|
-
$gte?: Date;
|
|
117
|
-
$lte?: Date;
|
|
118
|
-
};
|
|
119
|
-
project?: IProjectSearchConditions;
|
|
120
|
-
typeOf?: {
|
|
121
|
-
$eq?: string;
|
|
122
|
-
$in?: string[];
|
|
123
|
-
};
|
|
124
|
-
}
|
package/lib/chevre/account.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transactionType = exports.transaction = exports.action = void 0;
|
|
4
|
-
const transactionType_1 = require("./account/transactionType");
|
|
5
|
-
const MoneyTransferActionFactory = require("./account/action/moneyTransfer");
|
|
6
|
-
const DepositTransactionFactory = require("./account/transaction/deposit");
|
|
7
|
-
const TransferTransactionFactory = require("./account/transaction/transfer");
|
|
8
|
-
const WithdrawTransactionFactory = require("./account/transaction/withdraw");
|
|
9
|
-
var action;
|
|
10
|
-
(function (action) {
|
|
11
|
-
action.moneyTransfer = MoneyTransferActionFactory;
|
|
12
|
-
})(action || (exports.action = action = {}));
|
|
13
|
-
var transaction;
|
|
14
|
-
(function (transaction) {
|
|
15
|
-
transaction.withdraw = WithdrawTransactionFactory;
|
|
16
|
-
transaction.deposit = DepositTransactionFactory;
|
|
17
|
-
transaction.transfer = TransferTransactionFactory;
|
|
18
|
-
})(transaction || (exports.transaction = transaction = {}));
|
|
19
|
-
exports.transactionType = transactionType_1.AccountTransactionType;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 予約済の口座タイプ
|
|
3
|
-
*/
|
|
4
|
-
export declare enum AccountType {
|
|
5
|
-
Account = "Account",
|
|
6
|
-
Checking = "Checking",
|
|
7
|
-
Current = "Current",
|
|
8
|
-
Deposit = "Deposit",
|
|
9
|
-
Loan = "Loan",
|
|
10
|
-
Personal = "Personal",
|
|
11
|
-
Prepaid = "Prepaid",
|
|
12
|
-
Savings = "Savings",
|
|
13
|
-
Transaction = "Transaction",
|
|
14
|
-
Transactional = "Transactional"
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* 予約済の口座タイプ
|
|
6
|
-
*/
|
|
7
|
-
var AccountType;
|
|
8
|
-
(function (AccountType) {
|
|
9
|
-
AccountType["Account"] = "Account";
|
|
10
|
-
AccountType["Checking"] = "Checking";
|
|
11
|
-
AccountType["Current"] = "Current";
|
|
12
|
-
AccountType["Deposit"] = "Deposit";
|
|
13
|
-
AccountType["Loan"] = "Loan";
|
|
14
|
-
AccountType["Personal"] = "Personal";
|
|
15
|
-
AccountType["Prepaid"] = "Prepaid";
|
|
16
|
-
AccountType["Savings"] = "Savings";
|
|
17
|
-
AccountType["Transaction"] = "Transaction";
|
|
18
|
-
AccountType["Transactional"] = "Transactional";
|
|
19
|
-
})(AccountType || (exports.AccountType = AccountType = {}));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 通貨転送タスクファクトリー
|
|
3
|
-
*/
|
|
4
|
-
import { IAttributes as IMoneyTransferActionAttributes } from '../account/action/moneyTransfer';
|
|
5
|
-
import { IExtendId } from '../autoGenerated';
|
|
6
|
-
import { ITaskAttributes } from '../task';
|
|
7
|
-
import { TaskName } from '../taskName';
|
|
8
|
-
export interface IData {
|
|
9
|
-
actionAttributes: IMoneyTransferActionAttributes;
|
|
10
|
-
}
|
|
11
|
-
export interface IAttributes extends ITaskAttributes {
|
|
12
|
-
name: TaskName.AccountMoneyTransfer;
|
|
13
|
-
data: IData;
|
|
14
|
-
}
|
|
15
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 現金転送中止タスクファクトリー
|
|
3
|
-
*/
|
|
4
|
-
import { AccountTransactionType } from '../account/transactionType';
|
|
5
|
-
import { IExtendId } from '../autoGenerated';
|
|
6
|
-
import { ITaskAttributes } from '../task';
|
|
7
|
-
import { TaskName } from '../taskName';
|
|
8
|
-
export interface IData {
|
|
9
|
-
transaction: {
|
|
10
|
-
typeOf: AccountTransactionType;
|
|
11
|
-
id: string;
|
|
12
|
-
transactionNumber?: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface IAttributes extends ITaskAttributes {
|
|
16
|
-
name: TaskName.CancelAccountMoneyTransfer;
|
|
17
|
-
data: IData;
|
|
18
|
-
}
|
|
19
|
-
export type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* サービス登録タスクファクトリー
|
|
3
|
-
*/
|
|
4
|
-
import { IAttributes as IRegisterServiceActionAttributes } from '../action/interact/register/service';
|
|
5
|
-
import { IExtendId } from '../autoGenerated';
|
|
6
|
-
import { ITaskAttributes } from '../task';
|
|
7
|
-
import { TaskName } from '../taskName';
|
|
8
|
-
export type IData = IRegisterServiceActionAttributes[];
|
|
9
|
-
export interface IAttributes extends ITaskAttributes {
|
|
10
|
-
name: TaskName.RegisterService;
|
|
11
|
-
data: IData;
|
|
12
|
-
}
|
|
13
|
-
export type ITask = IExtendId<IAttributes>;
|