@chevre/factory 4.227.0 → 4.228.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 +0 -2
- package/lib/chevre.js +2 -4
- package/lib/factory/account.d.ts +17 -5
- package/lib/factory/account.js +15 -1
- package/lib/factory/assetTransaction/moneyTransfer.d.ts +8 -10
- package/lib/factory/assetTransaction.d.ts +11 -8
- 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/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';
|
|
@@ -179,7 +178,6 @@ import * as errors from './factory/errors';
|
|
|
179
178
|
export import errors = errors;
|
|
180
179
|
export import errorCode = ErrorCode;
|
|
181
180
|
export import account = AccountFactory;
|
|
182
|
-
export import accountStatusType = AccountStatusType;
|
|
183
181
|
export import actionStatusType = ActionStatusType;
|
|
184
182
|
export import actionType = ActionType;
|
|
185
183
|
export declare namespace action {
|
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;
|
|
@@ -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;
|
|
@@ -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
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 = {}));
|