@chevre/factory 4.209.0 → 4.212.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 -9
- package/lib/chevre.js +12 -8
- package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +2 -2
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +14 -61
- package/lib/factory/action/interact/confirm/pay.d.ts +14 -15
- package/lib/factory/action/interact/confirm/pay.js +0 -5
- package/lib/factory/action/interact/confirm/registerService.d.ts +5 -7
- package/lib/factory/action/interact/confirm/reservation.d.ts +6 -11
- package/lib/factory/action/interact/confirm.d.ts +12 -7
- package/lib/factory/action/update/delete/member.d.ts +1 -6
- package/lib/factory/assetTransaction/registerService.d.ts +4 -10
- package/lib/factory/order.d.ts +9 -3
- package/lib/factory/programMembership.d.ts +1 -5
- package/lib/factory/task/confirmCancelReserve.d.ts +1 -1
- package/lib/factory/task/confirmMoneyTransfer.d.ts +3 -3
- package/lib/factory/task/confirmPay.d.ts +3 -3
- package/lib/factory/task/confirmRefund.d.ts +1 -1
- package/lib/factory/task/confirmRegisterService.d.ts +3 -3
- package/lib/factory/task/confirmReservation.d.ts +1 -1
- package/package.json +1 -1
- package/lib/factory/action/interact/register/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/register/programMembership.js +0 -2
- package/lib/factory/action/interact/unRegister/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/unRegister/programMembership.js +0 -2
- package/lib/factory/action/interact/unRegister.d.ts +0 -15
- package/lib/factory/action/interact/unRegister.js +0 -2
package/lib/chevre.d.ts
CHANGED
|
@@ -24,10 +24,7 @@ import * as ConfirmRegisterServiceActionFactory from './factory/action/interact/
|
|
|
24
24
|
import * as ConfirmReservationActionFactory from './factory/action/interact/confirm/reservation';
|
|
25
25
|
import * as InformActionFactory from './factory/action/interact/inform';
|
|
26
26
|
import * as RegisterActionFactory from './factory/action/interact/register';
|
|
27
|
-
import * as RegisterProgramMembershipActionFactory from './factory/action/interact/register/programMembership';
|
|
28
27
|
import * as RegisterServiceActionFactory from './factory/action/interact/register/service';
|
|
29
|
-
import * as UnRegisterActionFactory from './factory/action/interact/unRegister';
|
|
30
|
-
import * as UnRegisterProgramMembershipActionFactory from './factory/action/interact/unRegister/programMembership';
|
|
31
28
|
import * as ReserveActionFactory from './factory/action/reserve';
|
|
32
29
|
import * as OrderActionFactory from './factory/action/trade/order';
|
|
33
30
|
import * as PayActionFactory from './factory/action/trade/pay';
|
|
@@ -229,14 +226,8 @@ export declare namespace action {
|
|
|
229
226
|
namespace register {
|
|
230
227
|
export import IAction = RegisterActionFactory.IAction;
|
|
231
228
|
export import IAttributes = RegisterActionFactory.IAttributes;
|
|
232
|
-
export import programMembership = RegisterProgramMembershipActionFactory;
|
|
233
229
|
export import service = RegisterServiceActionFactory;
|
|
234
230
|
}
|
|
235
|
-
namespace unRegister {
|
|
236
|
-
export import IAction = UnRegisterActionFactory.IAction;
|
|
237
|
-
export import IAttributes = UnRegisterActionFactory.IAttributes;
|
|
238
|
-
export import programMembership = UnRegisterProgramMembershipActionFactory;
|
|
239
|
-
}
|
|
240
231
|
}
|
|
241
232
|
namespace trade {
|
|
242
233
|
export import order = OrderActionFactory;
|
package/lib/chevre.js
CHANGED
|
@@ -25,9 +25,10 @@ var ConfirmPayActionFactory = require("./factory/action/interact/confirm/pay");
|
|
|
25
25
|
var ConfirmRegisterServiceActionFactory = require("./factory/action/interact/confirm/registerService");
|
|
26
26
|
var ConfirmReservationActionFactory = require("./factory/action/interact/confirm/reservation");
|
|
27
27
|
var InformActionFactory = require("./factory/action/interact/inform");
|
|
28
|
-
|
|
28
|
+
// import * as RegisterProgramMembershipActionFactory from './factory/action/interact/register/programMembership';
|
|
29
29
|
var RegisterServiceActionFactory = require("./factory/action/interact/register/service");
|
|
30
|
-
|
|
30
|
+
// import * as UnRegisterActionFactory from './factory/action/interact/unRegister';
|
|
31
|
+
// import * as UnRegisterProgramMembershipActionFactory from './factory/action/interact/unRegister/programMembership';
|
|
31
32
|
var ReserveActionFactory = require("./factory/action/reserve");
|
|
32
33
|
var OrderActionFactory = require("./factory/action/trade/order");
|
|
33
34
|
var PayActionFactory = require("./factory/action/trade/pay");
|
|
@@ -198,15 +199,18 @@ var action;
|
|
|
198
199
|
var register;
|
|
199
200
|
(function (register) {
|
|
200
201
|
// tslint:disable-next-line:no-shadowed-variable
|
|
201
|
-
|
|
202
|
+
// export import programMembership = RegisterProgramMembershipActionFactory;
|
|
202
203
|
// tslint:disable-next-line:no-shadowed-variable
|
|
203
204
|
register.service = RegisterServiceActionFactory;
|
|
204
205
|
})(register = interact.register || (interact.register = {}));
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
206
|
+
// export namespace unRegister {
|
|
207
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
208
|
+
// export import IAction = UnRegisterActionFactory.IAction;
|
|
209
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
210
|
+
// export import IAttributes = UnRegisterActionFactory.IAttributes;
|
|
211
|
+
// // tslint:disable-next-line:no-shadowed-variable
|
|
212
|
+
// export import programMembership = UnRegisterProgramMembershipActionFactory;
|
|
213
|
+
// }
|
|
210
214
|
})(interact = action.interact || (action.interact = {}));
|
|
211
215
|
var trade;
|
|
212
216
|
(function (trade) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
|
+
import * as MoneyTransferTransactionFactory from '../../../assetTransaction/moneyTransfer';
|
|
3
4
|
import { IOffer } from '../../../offer';
|
|
4
5
|
import * as OrderFactory from '../../../order';
|
|
5
6
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
6
7
|
import { ISeller } from '../../../seller';
|
|
7
8
|
import { TransactionType } from '../../../transactionType';
|
|
8
9
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
9
|
-
import { IPendingTransaction as ConfirmMoneyTransferPendingTransaction } from '../../interact/confirm/moneyTransfer';
|
|
10
10
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
11
11
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
12
12
|
export declare type IRequestBody = any;
|
|
13
|
-
export declare type IResponseBody =
|
|
13
|
+
export declare type IResponseBody = MoneyTransferTransactionFactory.ITransaction;
|
|
14
14
|
export import IPendingTransaction = OrderFactory.IMoneyTransferPendingTransaction;
|
|
15
15
|
export interface IResult {
|
|
16
16
|
price: number;
|
|
@@ -1,83 +1,36 @@
|
|
|
1
|
-
import * as AccountFactory from '../../../account';
|
|
2
|
-
import * as ActionFactory from '../../../action';
|
|
3
|
-
import { ActionType } from '../../../actionType';
|
|
4
|
-
import * as MoneyTransferTransactionFactory from '../../../assetTransaction/moneyTransfer';
|
|
5
1
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
6
|
-
import { IMonetaryAmount } from '../../../monetaryAmount';
|
|
7
2
|
import { ISimpleOrder } from '../../../order';
|
|
8
|
-
import { IPropertyValue } from '../../../propertyValue';
|
|
9
3
|
import { TransactionType } from '../../../transactionType';
|
|
10
|
-
|
|
11
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
12
|
-
export declare type IPendingTransaction = MoneyTransferTransactionFactory.ITransaction;
|
|
4
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
13
5
|
/**
|
|
14
6
|
* 匿名ロケーションインターフェース
|
|
15
7
|
*/
|
|
16
|
-
export import IAnonymousLocation = AccountFactory.action.moneyTransfer.IAnonymousLocation;
|
|
17
|
-
export declare type AvailablePaymentMethodType = string;
|
|
18
8
|
/**
|
|
19
9
|
* 決済方法インターフェース
|
|
20
10
|
*/
|
|
21
|
-
export interface IPaymentMethodLocation {
|
|
22
|
-
/**
|
|
23
|
-
* The identifier for the account the payment will be applied to.
|
|
24
|
-
*/
|
|
25
|
-
accountId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* 決済方法タイプ
|
|
28
|
-
*/
|
|
29
|
-
typeOf: AvailablePaymentMethodType;
|
|
30
|
-
/**
|
|
31
|
-
* 決済方法名
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
* An identifier for the method of payment used (e.g.the last 4 digits of the credit card).
|
|
36
|
-
*/
|
|
37
|
-
paymentMethodId: string;
|
|
38
|
-
/**
|
|
39
|
-
* The total amount due.
|
|
40
|
-
*/
|
|
41
|
-
totalPaymentDue?: IMonetaryAmount;
|
|
42
|
-
/**
|
|
43
|
-
* 追加特性
|
|
44
|
-
*/
|
|
45
|
-
additionalProperty: IPropertyValue<string>[];
|
|
46
|
-
}
|
|
47
|
-
export import IPaymentCard = MoneyTransferTransactionFactory.IPaymentCard;
|
|
48
|
-
export import IFromLocationBeforeStart = MoneyTransferTransactionFactory.IFromLocationBeforeStart;
|
|
49
11
|
/**
|
|
50
12
|
* 転送元あるいは転送先の場所インターフェース
|
|
51
13
|
*/
|
|
52
|
-
export declare type ILocation = IAnonymousLocation | IPaymentMethodLocation | IPaymentCard;
|
|
53
14
|
export interface IObject {
|
|
54
|
-
pendingTransaction:
|
|
15
|
+
pendingTransaction: {
|
|
16
|
+
/**
|
|
17
|
+
* 資産取引ID
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
transactionNumber: string;
|
|
55
22
|
typeOf: AssetTransactionType.MoneyTransfer;
|
|
56
23
|
}
|
|
57
|
-
export
|
|
58
|
-
}
|
|
59
|
-
export interface IResult {
|
|
60
|
-
}
|
|
24
|
+
export declare type IResult = any;
|
|
61
25
|
export interface ITransactionPurpose {
|
|
62
26
|
typeOf: TransactionType;
|
|
63
27
|
id: string;
|
|
64
28
|
}
|
|
65
29
|
export declare type IPurpose = ITransactionPurpose | ISimpleOrder;
|
|
66
|
-
export interface IAttributes extends
|
|
67
|
-
typeOf: ActionType.ConfirmAction;
|
|
68
|
-
potentialActions?: IPotentialActions;
|
|
30
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
69
31
|
purpose: IPurpose;
|
|
70
|
-
/**
|
|
71
|
-
* 金額
|
|
72
|
-
*/
|
|
73
|
-
amount: IMonetaryAmount;
|
|
74
|
-
/**
|
|
75
|
-
* 転送元
|
|
76
|
-
*/
|
|
77
|
-
fromLocation: ILocation | IFromLocationBeforeStart;
|
|
78
|
-
/**
|
|
79
|
-
* 転送先
|
|
80
|
-
*/
|
|
81
|
-
toLocation: ILocation;
|
|
82
32
|
}
|
|
83
|
-
|
|
33
|
+
/**
|
|
34
|
+
* 通貨転送確定アクション
|
|
35
|
+
*/
|
|
36
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { IPaymentMethod, ISimpleOrder } from '../../../order';
|
|
1
|
+
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
2
|
+
import { ISimpleOrder } from '../../../order';
|
|
4
3
|
import { IInstrument } from '../../authorize/paymentMethod/any';
|
|
5
|
-
|
|
6
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
4
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
7
5
|
export declare type IPurpose = ISimpleOrder;
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export interface IPaymentService {
|
|
12
|
-
typeOf: ObjectType;
|
|
6
|
+
export interface IPayAssetTransaction {
|
|
7
|
+
typeOf: AssetTransactionType.Pay;
|
|
13
8
|
/**
|
|
14
9
|
* 決済方法
|
|
10
|
+
* 必要最低限に(2022-05-16~)
|
|
15
11
|
*/
|
|
16
|
-
paymentMethod:
|
|
12
|
+
paymentMethod: {
|
|
13
|
+
paymentMethodId: string;
|
|
14
|
+
};
|
|
15
|
+
transactionNumber?: string;
|
|
17
16
|
}
|
|
18
|
-
export declare type IObject =
|
|
17
|
+
export declare type IObject = IPayAssetTransaction[];
|
|
19
18
|
export declare type IResult = any;
|
|
20
|
-
export interface IAttributes extends
|
|
21
|
-
instrument
|
|
19
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
20
|
+
instrument: IInstrument;
|
|
22
21
|
purpose: IPurpose;
|
|
23
22
|
}
|
|
24
23
|
/**
|
|
25
24
|
* 決済確定アクション
|
|
26
25
|
*/
|
|
27
|
-
export declare type IAction =
|
|
26
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectType = void 0;
|
|
4
|
-
var ObjectType;
|
|
5
|
-
(function (ObjectType) {
|
|
6
|
-
ObjectType["PaymentMethod"] = "PaymentMethod";
|
|
7
|
-
})(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import * as ActionFactory from '../../../action';
|
|
2
|
-
import { ActionType } from '../../../actionType';
|
|
3
1
|
import * as RegisterServiceFactory from '../../../assetTransaction/registerService';
|
|
4
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
3
|
import { ISimpleOrder } from '../../../order';
|
|
6
4
|
import * as OrderProgramMembershipFactory from '../../../task/orderProgramMembership';
|
|
5
|
+
import * as ConfirmActionFactory from '../confirm';
|
|
7
6
|
export declare type IObject = RegisterServiceFactory.IConfirmParams & {
|
|
8
7
|
typeOf: AssetTransactionType.RegisterService;
|
|
9
8
|
};
|
|
10
|
-
export interface IResult {
|
|
11
|
-
}
|
|
12
9
|
export declare type IPurpose = ISimpleOrder;
|
|
10
|
+
export declare type IResult = any;
|
|
13
11
|
export interface IPotentialActions {
|
|
14
12
|
orderProgramMembership?: OrderProgramMembershipFactory.IAttributes[];
|
|
15
13
|
}
|
|
16
|
-
export interface IAttributes extends
|
|
14
|
+
export interface IAttributes extends ConfirmActionFactory.IAttributes<IObject, IResult> {
|
|
17
15
|
potentialActions?: IPotentialActions;
|
|
18
16
|
purpose: IPurpose;
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
|
-
*
|
|
19
|
+
* サービス登録確定アクション
|
|
22
20
|
*/
|
|
23
|
-
export declare type IAction =
|
|
21
|
+
export declare type IAction = ConfirmActionFactory.IAction<IAttributes>;
|
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
import * as COA from '@motionpicture/coa-service';
|
|
2
|
-
import * as ActionFactory from '../../../action';
|
|
3
2
|
import * as ReserveTransactionFactory from '../../../assetTransaction/reserve';
|
|
4
3
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
4
|
import { ISimpleOrder } from '../../../order';
|
|
6
5
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
7
6
|
import * as ConfirmActionFactory from '../confirm';
|
|
8
|
-
export declare type
|
|
9
|
-
|
|
7
|
+
export declare type IObject4COA = COA.factory.reserve.IUpdReserveArgs & {
|
|
8
|
+
typeOf: 'COAReserveTransaction';
|
|
9
|
+
};
|
|
10
10
|
export declare type IObject4Chevre = ReserveTransactionFactory.IConfirmParams & {
|
|
11
11
|
typeOf: AssetTransactionType.Reserve;
|
|
12
12
|
};
|
|
13
13
|
export declare type IObject<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObject4COA : IObject4Chevre;
|
|
14
14
|
export declare type IPurpose = ISimpleOrder;
|
|
15
|
-
export
|
|
16
|
-
}
|
|
17
|
-
export interface IPotentialActions {
|
|
18
|
-
}
|
|
15
|
+
export declare type IResult = any;
|
|
19
16
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
20
17
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends ConfirmActionFactory.IAttributes<IObject<T>, IResult> {
|
|
21
|
-
|
|
22
|
-
instrument?: IInstrument<T>;
|
|
23
|
-
potentialActions?: IPotentialActions;
|
|
18
|
+
instrument: IInstrument<T>;
|
|
24
19
|
purpose: IPurpose;
|
|
25
20
|
}
|
|
26
21
|
/**
|
|
27
|
-
*
|
|
22
|
+
* 予約確定アクション
|
|
28
23
|
*/
|
|
29
24
|
export declare type IAction<T extends WebAPIFactory.Identifier> = ConfirmActionFactory.IAction<IAttributes<T>>;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import * as OrderFactory from '../../order';
|
|
4
|
-
|
|
4
|
+
import { IProject } from '../../project';
|
|
5
|
+
import { TransactionType } from '../../transactionType';
|
|
6
|
+
export declare type IAgent = IProject;
|
|
5
7
|
export declare type IObject = any;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
export interface ITransactionPurpose {
|
|
9
|
+
typeOf: TransactionType;
|
|
10
|
+
id: string;
|
|
9
11
|
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
+
export declare type IPurpose = ITransactionPurpose | OrderFactory.ISimpleOrder;
|
|
13
|
+
export declare type IResult = any;
|
|
14
|
+
export declare type IPotentialActions = any;
|
|
15
|
+
export interface IAttributes<TObject, TResult> extends Omit<ActionFactory.IAttributes<ActionType.ConfirmAction, TObject, TResult>, 'description' | 'location' | 'recipient'> {
|
|
16
|
+
agent: IAgent;
|
|
12
17
|
purpose: IPurpose;
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
|
-
*
|
|
20
|
+
* 確定アクション
|
|
16
21
|
*/
|
|
17
22
|
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { IPerson } from '../../../person';
|
|
2
|
-
import { IAttributes as IUnRegisterProgramMembershipActionAttributes } from '../../interact/unRegister/programMembership';
|
|
3
2
|
import * as DeleteActionFactory from '../delete';
|
|
4
3
|
export declare type IObject = IPerson;
|
|
5
4
|
export declare type IResult = any;
|
|
6
5
|
export interface IPotentialActions {
|
|
7
|
-
/**
|
|
8
|
-
* メンバーシップ登録解除アクション
|
|
9
|
-
*/
|
|
10
|
-
unRegisterProgramMembership?: IUnRegisterProgramMembershipActionAttributes[];
|
|
11
6
|
}
|
|
12
7
|
export interface IAttributes extends DeleteActionFactory.IAttributes<IObject, IResult> {
|
|
13
8
|
potentialActions?: IPotentialActions;
|
|
14
9
|
}
|
|
15
10
|
/**
|
|
16
|
-
*
|
|
11
|
+
* 会員削除アクション
|
|
17
12
|
*/
|
|
18
13
|
export declare type IAction = DeleteActionFactory.IAction<IAttributes>;
|
|
@@ -5,7 +5,6 @@ import { AssetTransactionType } from '../assetTransactionType';
|
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { OfferType } from '../offerType';
|
|
7
7
|
import { IProduct, IServiceOutput } from '../product';
|
|
8
|
-
import { IInformParams } from '../project';
|
|
9
8
|
export declare type IStartParamsWithoutDetail = TransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
9
|
/**
|
|
11
10
|
* 取引開始パラメーターインターフェース
|
|
@@ -18,22 +17,17 @@ export interface IAgent {
|
|
|
18
17
|
name: string;
|
|
19
18
|
url?: string;
|
|
20
19
|
}
|
|
21
|
-
export interface IPotentialActionsParams {
|
|
22
|
-
registerService?: {
|
|
23
|
-
potentialActions?: {
|
|
24
|
-
informServiceOutput?: IInformParams[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
20
|
/**
|
|
29
21
|
* 確定パラメーターインターフェース
|
|
30
22
|
*/
|
|
31
23
|
export interface IConfirmParams {
|
|
32
24
|
id?: string;
|
|
33
25
|
transactionNumber?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 取引確定日時を指定する
|
|
28
|
+
* serviceOutputのvalidFromに適用される
|
|
29
|
+
*/
|
|
34
30
|
endDate?: Date;
|
|
35
|
-
object?: any;
|
|
36
|
-
potentialActions?: IPotentialActionsParams;
|
|
37
31
|
}
|
|
38
32
|
export interface IResult {
|
|
39
33
|
}
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IParticipant } from './action';
|
|
2
2
|
import { IPaymentMethodIssuedThrough } from './action/authorize/paymentMethod/any';
|
|
3
|
-
import { IPaymentCard } from './action/interact/confirm/moneyTransfer';
|
|
4
3
|
import { ActionType } from './actionType';
|
|
4
|
+
import { IPaymentCard } from './assetTransaction/moneyTransfer';
|
|
5
5
|
import { AssetTransactionType } from './assetTransactionType';
|
|
6
6
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
7
7
|
import { ICustomer as ICustomerOrganization } from './customer';
|
|
@@ -89,6 +89,9 @@ export declare type IReservation = EventReservationFactory.IReservation;
|
|
|
89
89
|
export declare type IPermit = PermitFactory.IPermit;
|
|
90
90
|
export interface IMoneyTransferPendingTransaction {
|
|
91
91
|
typeOf: AssetTransactionType.MoneyTransfer;
|
|
92
|
+
/**
|
|
93
|
+
* 資産取引番号
|
|
94
|
+
*/
|
|
92
95
|
transactionNumber: string;
|
|
93
96
|
}
|
|
94
97
|
export interface IMoneyTransfer {
|
|
@@ -102,8 +105,11 @@ export interface IMoneyTransfer {
|
|
|
102
105
|
* 転送先
|
|
103
106
|
*/
|
|
104
107
|
toLocation: IPaymentCard;
|
|
105
|
-
object
|
|
106
|
-
|
|
108
|
+
object: {
|
|
109
|
+
/**
|
|
110
|
+
* 入金処理の資産取引
|
|
111
|
+
*/
|
|
112
|
+
pendingTransaction: IMoneyTransferPendingTransaction;
|
|
107
113
|
};
|
|
108
114
|
name?: string;
|
|
109
115
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { IProduct } from './product';
|
|
2
|
-
import { IProject } from './project';
|
|
3
1
|
import { IThing } from './thing';
|
|
4
2
|
export declare enum ProgramMembershipType {
|
|
5
3
|
ProgramMembership = "ProgramMembership"
|
|
@@ -10,12 +8,10 @@ export declare enum ProgramMembershipType {
|
|
|
10
8
|
* {@link https://schema.org/ProgramMembership}
|
|
11
9
|
*/
|
|
12
10
|
export interface IProgramMembership extends IThing {
|
|
13
|
-
|
|
14
|
-
typeOf: string;
|
|
11
|
+
typeOf: ProgramMembershipType;
|
|
15
12
|
/**
|
|
16
13
|
* The service through with the permit was granted.
|
|
17
14
|
*/
|
|
18
|
-
issuedThrough?: IProduct;
|
|
19
15
|
/**
|
|
20
16
|
* A unique identifier for the membership.
|
|
21
17
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IAttributes as
|
|
1
|
+
import { IAttributes as IConfirmMoneyTransferActionAttributes } from '../action/interact/confirm/moneyTransfer';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export declare type IData =
|
|
5
|
+
export declare type IData = IConfirmMoneyTransferActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmMoneyTransfer;
|
|
8
8
|
data: IData;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 通貨転送確定タスク
|
|
12
12
|
*/
|
|
13
13
|
export declare type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IAttributes as
|
|
1
|
+
import { IAttributes as IConfirmPayActionAttributes } from '../action/interact/confirm/pay';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export declare type IData =
|
|
5
|
+
export declare type IData = IConfirmPayActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmPay;
|
|
8
8
|
data: IData;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 決済確定タスク
|
|
12
12
|
*/
|
|
13
13
|
export declare type ITask = IExtendId<IAttributes>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IAttributes as
|
|
1
|
+
import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export declare type IData =
|
|
5
|
+
export declare type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmRegisterService;
|
|
8
8
|
data: IData;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* サービス登録確定タスク
|
|
12
12
|
*/
|
|
13
13
|
export declare type ITask = IExtendId<IAttributes>;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IProgramMembership } from '../../../programMembership';
|
|
2
|
-
import * as RegisterActionFactory from '../register';
|
|
3
|
-
export declare type IObject = IProgramMembership;
|
|
4
|
-
export declare type IResult = any;
|
|
5
|
-
export declare type IPotentialActions = any;
|
|
6
|
-
export interface IAttributes extends RegisterActionFactory.IAttributes<IObject, IResult> {
|
|
7
|
-
potentialActions?: IPotentialActions;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* メンバーシップ登録アクションインターフェース
|
|
11
|
-
*/
|
|
12
|
-
export declare type IAction = RegisterActionFactory.IAction<IAttributes>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IOwnershipInfo, IPermit } from '../../../ownershipInfo';
|
|
2
|
-
import * as UnRegisterActionFactory from '../unRegister';
|
|
3
|
-
export declare type IObject = IOwnershipInfo<IPermit>;
|
|
4
|
-
export declare type IResult = any;
|
|
5
|
-
export declare type IPotentialActions = any;
|
|
6
|
-
export interface IAttributes extends UnRegisterActionFactory.IAttributes<IObject, IResult> {
|
|
7
|
-
potentialActions?: IPotentialActions;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* メンバーシップ登録解除アクションインターフェース
|
|
11
|
-
*/
|
|
12
|
-
export declare type IAction = UnRegisterActionFactory.IAction<IAttributes>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../action';
|
|
2
|
-
import { ActionType } from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
-
export declare type IObject = any;
|
|
6
|
-
export declare type IResult = any;
|
|
7
|
-
export interface IPotentialActions {
|
|
8
|
-
}
|
|
9
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.UnRegisterAction, TObject, TResult> {
|
|
10
|
-
potentialActions?: IPotentialActions;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 登録解除アクションインターフェース
|
|
14
|
-
*/
|
|
15
|
-
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|