@chevre/factory 4.374.0-alpha.11 → 4.374.0-alpha.12
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.
|
@@ -8,16 +8,23 @@ import * as ConfirmActionFactory from '../confirm';
|
|
|
8
8
|
export { IRecipe as IConfirmCOAReserveRecipe };
|
|
9
9
|
export type IAgent = IParticipantAsProject;
|
|
10
10
|
export type IObject4COA = IUpdReserveArgs & {
|
|
11
|
+
/**
|
|
12
|
+
* 取引番号は必須
|
|
13
|
+
*/
|
|
11
14
|
transactionNumber: string;
|
|
12
15
|
typeOf: 'COAReserveTransaction';
|
|
13
16
|
};
|
|
14
17
|
export type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | 'potentialActions'> & {
|
|
18
|
+
/**
|
|
19
|
+
* 取引番号は必須
|
|
20
|
+
*/
|
|
15
21
|
transactionNumber: string;
|
|
16
22
|
typeOf: AssetTransactionType.Reserve;
|
|
17
23
|
};
|
|
18
24
|
export type IObject<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObject4COA : IObject4Chevre;
|
|
19
25
|
export type IPurpose = ISimpleOrder;
|
|
20
|
-
export
|
|
26
|
+
export interface IResult {
|
|
27
|
+
}
|
|
21
28
|
export type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
22
29
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends ConfirmActionFactory.IAttributes<IObject<T>, IResult> {
|
|
23
30
|
agent: IAgent;
|
|
@@ -16,7 +16,7 @@ export interface ITransactionPurpose {
|
|
|
16
16
|
export type IPurpose = ITransactionPurpose | OrderFactory.ISimpleOrder;
|
|
17
17
|
export type IResult = any;
|
|
18
18
|
export type IPotentialActions = any;
|
|
19
|
-
export interface IAttributes<TObject, TResult> extends Pick<ActionFactory.IAttributes<ActionType.ConfirmAction, TObject, TResult>, 'agent' | 'error' | 'object' | 'project' | 'purpose' | 'result' | 'typeOf'> {
|
|
19
|
+
export interface IAttributes<TObject, TResult> extends Pick<ActionFactory.IAttributes<ActionType.ConfirmAction, TObject, TResult>, 'agent' | 'error' | 'object' | 'project' | 'purpose' | 'result' | 'typeOf' | 'sameAs'> {
|
|
20
20
|
agent: IAgent;
|
|
21
21
|
purpose: IPurpose;
|
|
22
22
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -214,6 +214,7 @@ export declare namespace action {
|
|
|
214
214
|
export import IPurpose = ActionFactory.IPurpose;
|
|
215
215
|
export import ISortOrder = ActionFactory.ISortOrder;
|
|
216
216
|
export import ISearchConditions = ActionFactory.ISearchConditions;
|
|
217
|
+
export import ISameAs = ActionFactory.ISameAs;
|
|
217
218
|
namespace accept {
|
|
218
219
|
export import coaOffer = AcceptCOAOfferActionFactory;
|
|
219
220
|
export import pay = AcceptPayActionFactory;
|
package/lib/index.js
CHANGED
|
@@ -171,7 +171,6 @@ exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
|
171
171
|
exports.actionType = actionType_1.ActionType;
|
|
172
172
|
var action;
|
|
173
173
|
(function (action) {
|
|
174
|
-
// export import accept = AcceptActionFactory;
|
|
175
174
|
var accept;
|
|
176
175
|
(function (accept) {
|
|
177
176
|
accept.coaOffer = AcceptCOAOfferActionFactory;
|
|
@@ -7,7 +7,7 @@ export type IObject4COAOptimized = Pick<IObject4COA, 'transactionNumber' | 'type
|
|
|
7
7
|
optimized: boolean;
|
|
8
8
|
};
|
|
9
9
|
export type IObject<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObject4COAOptimized : IObject4Chevre;
|
|
10
|
-
export type IData =
|
|
10
|
+
export type IData = Pick<IConfirmReservationActionAttributes<WebAPIFactory.Identifier>, 'agent' | 'project' | 'purpose' | 'typeOf'> & {
|
|
11
11
|
object: IObject<WebAPIFactory.Identifier>;
|
|
12
12
|
};
|
|
13
13
|
export interface IAttributes extends TaskFactory.IAttributes {
|