@chevre/factory 4.356.0 → 4.358.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.
|
@@ -15,16 +15,21 @@ export interface ILocation {
|
|
|
15
15
|
*/
|
|
16
16
|
identifier: string;
|
|
17
17
|
}
|
|
18
|
-
export type IPotentialActions = any;
|
|
19
18
|
export interface IInstrument {
|
|
19
|
+
/**
|
|
20
|
+
* JWT
|
|
21
|
+
*/
|
|
20
22
|
token?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 承認コード
|
|
25
|
+
*/
|
|
26
|
+
ticketToken?: string;
|
|
21
27
|
typeOf: ObjectType.Ticket;
|
|
22
28
|
}
|
|
23
29
|
export interface IAttributes extends UseActionFactory.IAttributes<IObject, IResult> {
|
|
24
30
|
agent: IAgent;
|
|
25
|
-
instrument
|
|
31
|
+
instrument: IInstrument;
|
|
26
32
|
location?: ILocation;
|
|
27
|
-
potentialActions?: IPotentialActions;
|
|
28
33
|
}
|
|
29
34
|
/**
|
|
30
35
|
* 予約使用アクション
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as CreativeWorkFactory from '../creativeWork';
|
|
2
2
|
import { CreativeWorkType } from '../creativeWorkType';
|
|
3
3
|
import { IOrder } from '../order';
|
|
4
|
+
import { OrganizationType } from '../organizationType';
|
|
4
5
|
import { IPerson } from '../person';
|
|
5
6
|
import { IProject } from '../project';
|
|
6
7
|
import { SortType } from '../sortType';
|
|
@@ -10,6 +11,13 @@ export type IAboutAsOrder = Pick<IOrder, 'orderNumber' | 'typeOf'> & {
|
|
|
10
11
|
export type IAbout = IAboutAsOrder;
|
|
11
12
|
export type ICreator = Pick<IPerson, 'id' | 'typeOf'>;
|
|
12
13
|
export type IEditor = Pick<IPerson, 'id' | 'typeOf'>;
|
|
14
|
+
export interface IProvider {
|
|
15
|
+
/**
|
|
16
|
+
* 販売者ID
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
typeOf: OrganizationType.Corporation;
|
|
20
|
+
}
|
|
13
21
|
/**
|
|
14
22
|
* メモ
|
|
15
23
|
*/
|
|
@@ -26,8 +34,18 @@ export interface INoteDigitalDocument extends Pick<CreativeWorkFactory.ICreative
|
|
|
26
34
|
about: IAbout;
|
|
27
35
|
dateCreated: Date;
|
|
28
36
|
dateModified?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* 作成者
|
|
39
|
+
*/
|
|
29
40
|
creator: ICreator;
|
|
41
|
+
/**
|
|
42
|
+
* 変更者
|
|
43
|
+
*/
|
|
30
44
|
editor?: IEditor;
|
|
45
|
+
provider: IProvider;
|
|
46
|
+
/**
|
|
47
|
+
* バージョン
|
|
48
|
+
*/
|
|
31
49
|
version: string;
|
|
32
50
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
33
51
|
}
|
|
@@ -52,6 +70,11 @@ export interface ISearchConditions {
|
|
|
52
70
|
$eq?: string;
|
|
53
71
|
};
|
|
54
72
|
};
|
|
73
|
+
provider?: {
|
|
74
|
+
id?: {
|
|
75
|
+
$eq?: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
55
78
|
about?: {
|
|
56
79
|
id?: {
|
|
57
80
|
$eq?: string;
|