@chevre/factory 4.367.0-alpha.6 → 4.367.0-alpha.8
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/action/authorize.d.ts +2 -14
- package/lib/action/consume/use.d.ts +1 -3
- package/lib/order.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import * as ActionFactory from '../action';
|
|
2
2
|
import { ActionType } from '../actionType';
|
|
3
|
-
/**
|
|
4
|
-
* 承認対象インターフェース
|
|
5
|
-
*/
|
|
6
3
|
export type IObject = any;
|
|
7
|
-
/**
|
|
8
|
-
* 承認結果インターフェース
|
|
9
|
-
*/
|
|
10
4
|
export type IResult = any;
|
|
11
|
-
/**
|
|
12
|
-
* 承認目的インターフェース
|
|
13
|
-
*/
|
|
14
5
|
export type IPurpose = any;
|
|
15
|
-
/**
|
|
16
|
-
* アクション属性インターフェース
|
|
17
|
-
*/
|
|
18
6
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.AuthorizeAction, TObject, TResult> {
|
|
19
|
-
purpose
|
|
7
|
+
purpose?: IPurpose;
|
|
20
8
|
recipient: ActionFactory.IParticipant;
|
|
21
9
|
}
|
|
22
10
|
/**
|
|
23
|
-
*
|
|
11
|
+
* 承認アクション
|
|
24
12
|
*/
|
|
25
13
|
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -2,9 +2,7 @@ import * as ActionFactory from '../../action';
|
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
export type IObject = any;
|
|
4
4
|
export type IResult = any;
|
|
5
|
-
export
|
|
6
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.UseAction, TObject, TResult> {
|
|
7
|
-
purpose?: IPurpose;
|
|
5
|
+
export interface IAttributes<TObject, TResult> extends Pick<ActionFactory.IAttributes<ActionType.UseAction, TObject, TResult>, 'typeOf' | 'result' | 'project' | 'object' | 'location' | 'error' | 'instrument' | 'agent'> {
|
|
8
6
|
}
|
|
9
7
|
/**
|
|
10
8
|
* 使用アクション
|
package/lib/order.d.ts
CHANGED
|
@@ -503,6 +503,14 @@ export interface IAcceptedOffersSearchConditions {
|
|
|
503
503
|
* 使用メンバーシップ
|
|
504
504
|
*/
|
|
505
505
|
programMembershipUsed?: IProgramMembershipUsedSearchConditions;
|
|
506
|
+
reservedTicket?: {
|
|
507
|
+
/**
|
|
508
|
+
* 予約チケット識別子
|
|
509
|
+
*/
|
|
510
|
+
identifier?: {
|
|
511
|
+
$eq?: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
506
514
|
};
|
|
507
515
|
serialNumber?: {
|
|
508
516
|
$eq?: string;
|