@chevre/factory 4.355.0 → 4.357.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/authorization.d.ts
CHANGED
|
@@ -17,9 +17,21 @@ export type IObject = IOrderAsObject | IOwnershipInfoAsObject;
|
|
|
17
17
|
export interface IAuthorization {
|
|
18
18
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
19
19
|
typeOf: 'Authorization';
|
|
20
|
+
/**
|
|
21
|
+
* 承認コード
|
|
22
|
+
*/
|
|
20
23
|
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* 承認対象
|
|
26
|
+
*/
|
|
21
27
|
object: IObject;
|
|
28
|
+
/**
|
|
29
|
+
* 有効期間
|
|
30
|
+
*/
|
|
22
31
|
validFrom: Date;
|
|
32
|
+
/**
|
|
33
|
+
* 有効期間
|
|
34
|
+
*/
|
|
23
35
|
validUntil: Date;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
@@ -49,12 +61,13 @@ export interface ISearchConditions {
|
|
|
49
61
|
};
|
|
50
62
|
};
|
|
51
63
|
id?: {
|
|
64
|
+
$eq?: string;
|
|
52
65
|
$in?: string[];
|
|
53
66
|
};
|
|
54
67
|
code?: {
|
|
68
|
+
$eq?: string;
|
|
55
69
|
$in?: string[];
|
|
56
70
|
};
|
|
57
|
-
codes?: string[];
|
|
58
71
|
validFrom?: Date;
|
|
59
72
|
validThrough?: Date;
|
|
60
73
|
object?: IObjectSearchConditions;
|
|
@@ -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;
|