@chevre/factory 4.227.0 → 4.230.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chevre.d.ts +4 -5
- package/lib/chevre.js +2 -4
- package/lib/factory/account.d.ts +17 -5
- package/lib/factory/account.js +15 -1
- package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +1 -2
- package/lib/factory/action.d.ts +4 -3
- package/lib/factory/assetTransaction/moneyTransfer.d.ts +8 -10
- package/lib/factory/assetTransaction.d.ts +11 -8
- package/lib/factory/seller.d.ts +2 -0
- package/lib/factory/task/confirmRegisterServiceTransaction.d.ts +13 -0
- package/lib/factory/task/confirmRegisterServiceTransaction.js +2 -0
- package/lib/factory/taskName.d.ts +4 -0
- package/lib/factory/taskName.js +4 -0
- package/lib/factory/transaction/placeOrder.d.ts +1 -3
- package/lib/factory/transaction/returnOrder.d.ts +8 -8
- package/lib/factory/transaction.d.ts +7 -3
- package/package.json +1 -1
- package/lib/factory/accountStatusType.d.ts +0 -13
- package/lib/factory/accountStatusType.js +0 -17
package/lib/chevre.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import * as cognito from './cognito';
|
|
|
6
6
|
export import cognito = cognito;
|
|
7
7
|
export import waiter = waiter;
|
|
8
8
|
import * as AccountFactory from './factory/account';
|
|
9
|
-
import { AccountStatusType } from './factory/accountStatusType';
|
|
10
9
|
import * as ActionFactory from './factory/action';
|
|
11
10
|
import * as AuthorizeActionFactory from './factory/action/authorize';
|
|
12
11
|
import * as PointAwardAuthorizeActionFactory from './factory/action/authorize/award/point';
|
|
@@ -130,6 +129,7 @@ import * as ConfirmPayTaskFactory from './factory/task/confirmPay';
|
|
|
130
129
|
import * as ConfirmPayTransactionTaskFactory from './factory/task/confirmPayTransaction';
|
|
131
130
|
import * as ConfirmRefundTaskFactory from './factory/task/confirmRefund';
|
|
132
131
|
import * as ConfirmRegisterServiceTaskFactory from './factory/task/confirmRegisterService';
|
|
132
|
+
import * as ConfirmRegisterServiceTransactionTaskFactory from './factory/task/confirmRegisterServiceTransaction';
|
|
133
133
|
import * as ConfirmReservationTaskFactory from './factory/task/confirmReservation';
|
|
134
134
|
import * as ConfirmReserveTransactionTaskFactory from './factory/task/confirmReserveTransaction';
|
|
135
135
|
import * as DeleteAuthorizationTaskFactory from './factory/task/deleteAuthorization';
|
|
@@ -179,7 +179,6 @@ import * as errors from './factory/errors';
|
|
|
179
179
|
export import errors = errors;
|
|
180
180
|
export import errorCode = ErrorCode;
|
|
181
181
|
export import account = AccountFactory;
|
|
182
|
-
export import accountStatusType = AccountStatusType;
|
|
183
182
|
export import actionStatusType = ActionStatusType;
|
|
184
183
|
export import actionType = ActionType;
|
|
185
184
|
export declare namespace action {
|
|
@@ -388,9 +387,9 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
388
387
|
export import reservationType = ReservationType;
|
|
389
388
|
export import seller = SellerFactory;
|
|
390
389
|
export declare namespace task {
|
|
391
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
392
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
393
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
390
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
391
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
392
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
394
393
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
395
394
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
396
395
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
package/lib/chevre.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report =
|
|
3
|
+
exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -10,7 +10,6 @@ var cognito = require("./cognito");
|
|
|
10
10
|
exports.cognito = cognito;
|
|
11
11
|
exports.waiter = waiter;
|
|
12
12
|
var AccountFactory = require("./factory/account");
|
|
13
|
-
var accountStatusType_1 = require("./factory/accountStatusType");
|
|
14
13
|
var PointAwardAuthorizeActionFactory = require("./factory/action/authorize/award/point");
|
|
15
14
|
var AuthorizeMoneyTransferOfferActionFactory = require("./factory/action/authorize/offer/moneyTransfer");
|
|
16
15
|
var AuthorizeProductOfferActionFactory = require("./factory/action/authorize/offer/product");
|
|
@@ -145,7 +144,6 @@ var errors = require("./factory/errors");
|
|
|
145
144
|
exports.errors = errors;
|
|
146
145
|
exports.errorCode = errorCode_1.ErrorCode;
|
|
147
146
|
exports.account = AccountFactory;
|
|
148
|
-
exports.accountStatusType = accountStatusType_1.AccountStatusType;
|
|
149
147
|
exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
150
148
|
exports.actionType = actionType_1.ActionType;
|
|
151
149
|
var action;
|
package/lib/factory/account.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AccountTransactionType } from './account/transactionType';
|
|
2
|
-
import { AccountStatusType } from './accountStatusType';
|
|
3
2
|
import { AccountType } from './accountType';
|
|
4
3
|
import { IProject } from './project';
|
|
5
4
|
import { SortType } from './sortType';
|
|
@@ -8,6 +7,19 @@ import * as TransactionFactory from './account/transaction';
|
|
|
8
7
|
import * as DepositTransactionFactory from './account/transaction/deposit';
|
|
9
8
|
import * as TransferTransactionFactory from './account/transaction/transfer';
|
|
10
9
|
import * as WithdrawTransactionFactory from './account/transaction/withdraw';
|
|
10
|
+
/**
|
|
11
|
+
* 口座ステータスタイプ
|
|
12
|
+
*/
|
|
13
|
+
export declare enum AccountStatusType {
|
|
14
|
+
/**
|
|
15
|
+
* 開設済
|
|
16
|
+
*/
|
|
17
|
+
Opened = "Opened",
|
|
18
|
+
/**
|
|
19
|
+
* 解約済
|
|
20
|
+
*/
|
|
21
|
+
Closed = "Closed"
|
|
22
|
+
}
|
|
11
23
|
export declare namespace action {
|
|
12
24
|
export import moneyTransfer = MoneyTransferActionFactory;
|
|
13
25
|
}
|
|
@@ -23,7 +35,7 @@ export declare namespace transaction {
|
|
|
23
35
|
}
|
|
24
36
|
export import transactionType = AccountTransactionType;
|
|
25
37
|
/**
|
|
26
|
-
*
|
|
38
|
+
* 進行中取引
|
|
27
39
|
*/
|
|
28
40
|
export interface IPendingTransaction {
|
|
29
41
|
typeOf: AccountTransactionType;
|
|
@@ -37,7 +49,7 @@ export interface IPendingTransaction {
|
|
|
37
49
|
amount: number;
|
|
38
50
|
}
|
|
39
51
|
/**
|
|
40
|
-
*
|
|
52
|
+
* 口座
|
|
41
53
|
*/
|
|
42
54
|
export interface IAccount {
|
|
43
55
|
project: IProject;
|
|
@@ -83,7 +95,7 @@ export interface IAccount {
|
|
|
83
95
|
status?: AccountStatusType;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
86
|
-
*
|
|
98
|
+
* ソート条件
|
|
87
99
|
*/
|
|
88
100
|
export interface ISortOrder {
|
|
89
101
|
/**
|
|
@@ -98,7 +110,7 @@ export interface IProjectSearchConditions {
|
|
|
98
110
|
};
|
|
99
111
|
}
|
|
100
112
|
/**
|
|
101
|
-
*
|
|
113
|
+
* 口座検索条件
|
|
102
114
|
*/
|
|
103
115
|
export interface ISearchConditions {
|
|
104
116
|
limit?: number;
|
package/lib/factory/account.js
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transactionType = exports.transaction = exports.action = void 0;
|
|
3
|
+
exports.transactionType = exports.transaction = exports.action = exports.AccountStatusType = void 0;
|
|
4
4
|
var transactionType_1 = require("./account/transactionType");
|
|
5
5
|
var MoneyTransferActionFactory = require("./account/action/moneyTransfer");
|
|
6
6
|
var DepositTransactionFactory = require("./account/transaction/deposit");
|
|
7
7
|
var TransferTransactionFactory = require("./account/transaction/transfer");
|
|
8
8
|
var WithdrawTransactionFactory = require("./account/transaction/withdraw");
|
|
9
|
+
/**
|
|
10
|
+
* 口座ステータスタイプ
|
|
11
|
+
*/
|
|
12
|
+
var AccountStatusType;
|
|
13
|
+
(function (AccountStatusType) {
|
|
14
|
+
/**
|
|
15
|
+
* 開設済
|
|
16
|
+
*/
|
|
17
|
+
AccountStatusType["Opened"] = "Opened";
|
|
18
|
+
/**
|
|
19
|
+
* 解約済
|
|
20
|
+
*/
|
|
21
|
+
AccountStatusType["Closed"] = "Closed";
|
|
22
|
+
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|
|
9
23
|
var action;
|
|
10
24
|
(function (action) {
|
|
11
25
|
action.moneyTransfer = MoneyTransferActionFactory;
|
|
@@ -4,7 +4,6 @@ import * as MoneyTransferTransactionFactory from '../../../assetTransaction/mone
|
|
|
4
4
|
import { IOffer } from '../../../offer';
|
|
5
5
|
import * as OrderFactory from '../../../order';
|
|
6
6
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
7
|
-
import { ISeller } from '../../../seller';
|
|
8
7
|
import { TransactionType } from '../../../transactionType';
|
|
9
8
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
10
9
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
@@ -21,7 +20,7 @@ export interface IResult {
|
|
|
21
20
|
export import IItemOffered = OrderFactory.IMoneyTransfer;
|
|
22
21
|
export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'availability' | 'availableAtOrFrom'> {
|
|
23
22
|
itemOffered: IItemOffered;
|
|
24
|
-
seller:
|
|
23
|
+
seller: ActionFactory.IParticipantAsSeller;
|
|
25
24
|
}
|
|
26
25
|
export declare type IObject = IAcceptedOffer;
|
|
27
26
|
export interface ITransactionPurpose {
|
package/lib/factory/action.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ActionType } from './actionType';
|
|
|
3
3
|
import { IExtendId } from './autoGenerated';
|
|
4
4
|
import { CreativeWorkType } from './creativeWorkType';
|
|
5
5
|
import { ICustomer } from './customer';
|
|
6
|
-
import { IMultilingualString } from './multilingualString';
|
|
7
6
|
import { OrganizationType } from './organizationType';
|
|
8
7
|
import { IPersonAttributes } from './person';
|
|
9
8
|
import { IProject } from './project';
|
|
@@ -20,7 +19,9 @@ export declare type IParticipantAsPerson = IPersonAttributes & {
|
|
|
20
19
|
name?: string;
|
|
21
20
|
url?: string;
|
|
22
21
|
};
|
|
23
|
-
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'
|
|
22
|
+
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'name' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'> & {
|
|
23
|
+
name?: string;
|
|
24
|
+
};
|
|
24
25
|
export interface IParticipantAsProject {
|
|
25
26
|
typeOf: OrganizationType.Project;
|
|
26
27
|
id: string;
|
|
@@ -28,7 +29,7 @@ export interface IParticipantAsProject {
|
|
|
28
29
|
url?: string;
|
|
29
30
|
}
|
|
30
31
|
export declare type IParticipantAsCustomer = Omit<ICustomer, 'name' | 'branchCode' | 'contactPoint' | 'project' | 'additionalProperty'> & {
|
|
31
|
-
name?: string
|
|
32
|
+
name?: string;
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
34
35
|
* アクションへの関係者
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
2
|
+
import * as AssetTransactionFactory from '../assetTransaction';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
6
6
|
import { OrderType } from '../order';
|
|
7
7
|
import { PermitType } from '../permit';
|
|
8
|
-
export
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
8
|
+
export import IAgent = AssetTransactionFactory.IAgent;
|
|
11
9
|
export declare type IRecipient = IMoneyTransferRecipient & {
|
|
12
10
|
name: string;
|
|
13
11
|
};
|
|
@@ -92,13 +90,13 @@ export interface IObjectBeforeStart {
|
|
|
92
90
|
*/
|
|
93
91
|
force?: boolean;
|
|
94
92
|
}
|
|
95
|
-
export interface IStartParamsWithoutDetail extends
|
|
93
|
+
export interface IStartParamsWithoutDetail extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectWithoutDetail> {
|
|
96
94
|
recipient: IRecipient;
|
|
97
95
|
}
|
|
98
|
-
export interface IStartParamsBeforeStart extends
|
|
96
|
+
export interface IStartParamsBeforeStart extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectBeforeStart> {
|
|
99
97
|
recipient: IRecipient;
|
|
100
98
|
}
|
|
101
|
-
export interface IStartParams extends
|
|
99
|
+
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
|
|
102
100
|
recipient: IRecipient;
|
|
103
101
|
}
|
|
104
102
|
export declare type IResult = any;
|
|
@@ -109,13 +107,13 @@ export interface IPotentialActions {
|
|
|
109
107
|
*/
|
|
110
108
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
111
109
|
}
|
|
112
|
-
export interface IAttributes extends
|
|
110
|
+
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
113
111
|
}
|
|
114
112
|
/**
|
|
115
113
|
* 転送取引
|
|
116
114
|
*/
|
|
117
115
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
118
|
-
export interface ISearchConditions extends
|
|
116
|
+
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
119
117
|
object?: {
|
|
120
118
|
fromLocation?: {
|
|
121
119
|
identifier?: {
|
|
@@ -31,11 +31,14 @@ export interface IAgentAsPerson {
|
|
|
31
31
|
name: string;
|
|
32
32
|
identifier?: IIdentifier;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* 資産取引主体は販売者or管理者
|
|
36
|
+
*/
|
|
34
37
|
export declare type IAgent = IAgentAsSeller | IAgentAsPerson;
|
|
35
38
|
/**
|
|
36
|
-
*
|
|
39
|
+
* 資産取引開始パラメータ
|
|
37
40
|
*/
|
|
38
|
-
export interface IStartParams<T extends AssetTransactionType, TAgent, TRecipient, TObject> {
|
|
41
|
+
export interface IStartParams<T extends AssetTransactionType, TAgent extends IAgent, TRecipient, TObject> {
|
|
39
42
|
project: IProject;
|
|
40
43
|
/**
|
|
41
44
|
* 取引タイプ
|
|
@@ -67,11 +70,7 @@ export interface IStartParams<T extends AssetTransactionType, TAgent, TRecipient
|
|
|
67
70
|
expires: Date;
|
|
68
71
|
}
|
|
69
72
|
/**
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
73
|
-
/**
|
|
74
|
-
* 取引属性インターフェース
|
|
73
|
+
* 資産取引属性
|
|
75
74
|
*/
|
|
76
75
|
export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
77
76
|
purpose?: any;
|
|
@@ -109,7 +108,11 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
109
108
|
potentialActions?: TPotentialActions;
|
|
110
109
|
};
|
|
111
110
|
/**
|
|
112
|
-
*
|
|
111
|
+
* 資産取引
|
|
112
|
+
*/
|
|
113
|
+
export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
114
|
+
/**
|
|
115
|
+
* ソート条件
|
|
113
116
|
*/
|
|
114
117
|
export interface ISortOrder {
|
|
115
118
|
startDate?: SortType;
|
package/lib/factory/seller.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IMultilingualString } from './multilingualString';
|
|
1
2
|
import { IOrganization } from './organization';
|
|
2
3
|
import { OrganizationType } from './organizationType';
|
|
3
4
|
import { IProject } from './project';
|
|
@@ -21,6 +22,7 @@ export interface ISeller extends IOrganization {
|
|
|
21
22
|
* The geographic area where a service or offered item is provided.
|
|
22
23
|
*/
|
|
23
24
|
branchCode?: string;
|
|
25
|
+
name: IMultilingualString;
|
|
24
26
|
/**
|
|
25
27
|
* A pointer to products or services offered by the organization or person.
|
|
26
28
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
export declare type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
|
+
name: TaskName.ConfirmRegisterServiceTransaction;
|
|
8
|
+
data: IData;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* サービス登録資産取引確定タスク
|
|
12
|
+
*/
|
|
13
|
+
export declare type ITask = IExtendId<IAttributes>;
|
package/lib/factory/taskName.js
CHANGED
|
@@ -23,14 +23,14 @@ export declare enum Reason {
|
|
|
23
23
|
Seller = "Seller"
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 返品可能な注文
|
|
27
27
|
*/
|
|
28
28
|
export interface IReturnableOrder {
|
|
29
29
|
confirmationNumber: string;
|
|
30
30
|
orderNumber: string;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* 注文返品開始パラメータ
|
|
34
34
|
*/
|
|
35
35
|
export interface IStartParamsWithoutDetail {
|
|
36
36
|
project: IProject;
|
|
@@ -45,7 +45,7 @@ export interface IStartParamsWithoutDetail {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* 取引開始パラメータ
|
|
49
49
|
*/
|
|
50
50
|
export interface IStartParams extends TransactionFactory.IStartParams<TransactionType.ReturnOrder, IAgent, undefined, IObject> {
|
|
51
51
|
/**
|
|
@@ -125,7 +125,7 @@ export interface IConfirmParams {
|
|
|
125
125
|
potentialActions?: IPotentialActionsParams;
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* 取引対象物
|
|
129
129
|
*/
|
|
130
130
|
export interface IObject {
|
|
131
131
|
order: IReturnableOrder[];
|
|
@@ -138,12 +138,12 @@ export interface IPotentialActions {
|
|
|
138
138
|
*/
|
|
139
139
|
returnOrder: IReturnOrderActionAttributes[];
|
|
140
140
|
}
|
|
141
|
-
export declare type ITransaction = IExtendId<IAttributes>;
|
|
142
|
-
/**
|
|
143
|
-
* 返品取引インターフェース
|
|
144
|
-
*/
|
|
145
141
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
146
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* 返品取引
|
|
145
|
+
*/
|
|
146
|
+
export declare type ITransaction = IExtendId<IAttributes>;
|
|
147
147
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<TransactionType.ReturnOrder> {
|
|
148
148
|
object?: {
|
|
149
149
|
order?: {
|
|
@@ -2,10 +2,11 @@ import * as waiter from '@waiter/factory';
|
|
|
2
2
|
import { IExtendId } from './autoGenerated';
|
|
3
3
|
import * as EmailFactory from './creativeWork/message/email';
|
|
4
4
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
5
|
+
import { IMultilingualString } from './multilingualString';
|
|
6
|
+
import { OrganizationType } from './organizationType';
|
|
5
7
|
import * as PersonFactory from './person';
|
|
6
8
|
import { PersonType } from './personType';
|
|
7
9
|
import { IProject } from './project';
|
|
8
|
-
import * as SellerFactory from './seller';
|
|
9
10
|
import { SortType } from './sortType';
|
|
10
11
|
import { TransactionStatusType } from './transactionStatusType';
|
|
11
12
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
@@ -17,9 +18,12 @@ export declare type IPersonAgent = PersonFactory.IPerson;
|
|
|
17
18
|
export declare type IAgent = Omit<IWebApplicationAgent | PersonFactory.IPerson, IOmittedProfileAttributes>;
|
|
18
19
|
/**
|
|
19
20
|
* 販売者
|
|
20
|
-
* 最適化(2022-05-20~)
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export interface ISeller {
|
|
23
|
+
typeOf: OrganizationType.Corporation;
|
|
24
|
+
id: string;
|
|
25
|
+
name: IMultilingualString;
|
|
26
|
+
}
|
|
23
27
|
/**
|
|
24
28
|
* Eメール送信パラメータ
|
|
25
29
|
*/
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountStatusType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* 口座ステータスタイプ
|
|
6
|
-
*/
|
|
7
|
-
var AccountStatusType;
|
|
8
|
-
(function (AccountStatusType) {
|
|
9
|
-
/**
|
|
10
|
-
* 開設済
|
|
11
|
-
*/
|
|
12
|
-
AccountStatusType["Opened"] = "Opened";
|
|
13
|
-
/**
|
|
14
|
-
* 解約済
|
|
15
|
-
*/
|
|
16
|
-
AccountStatusType["Closed"] = "Closed";
|
|
17
|
-
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|