@chevre/factory 4.268.0 → 4.269.0-alpha.1
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/iam.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare enum RoleType {
|
|
|
7
7
|
}
|
|
8
8
|
export interface IRole {
|
|
9
9
|
typeOf: RoleType;
|
|
10
|
-
permissions
|
|
10
|
+
permissions: string[];
|
|
11
11
|
roleName: string;
|
|
12
12
|
memberOf: {
|
|
13
13
|
typeOf: OrganizationType.Project;
|
|
@@ -32,19 +32,21 @@ export interface IRoleSearchConditions {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export declare type IMemberType = PersonType | CreativeWorkType.WebApplication;
|
|
35
|
+
export declare type IMemberHasRole = Pick<IRole, 'typeOf' | 'memberOf' | 'roleName'>[];
|
|
36
|
+
export interface IMemberOfRole {
|
|
37
|
+
typeOf: IMemberType;
|
|
38
|
+
id: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
username?: string;
|
|
41
|
+
hasRole: IMemberHasRole;
|
|
42
|
+
}
|
|
35
43
|
export interface IMember {
|
|
36
44
|
typeOf: RoleType;
|
|
37
45
|
project: {
|
|
38
46
|
typeOf: OrganizationType.Project;
|
|
39
47
|
id: string;
|
|
40
48
|
};
|
|
41
|
-
member:
|
|
42
|
-
typeOf: IMemberType;
|
|
43
|
-
id: string;
|
|
44
|
-
name?: string;
|
|
45
|
-
username?: string;
|
|
46
|
-
hasRole: IRole[];
|
|
47
|
-
};
|
|
49
|
+
member: IMemberOfRole;
|
|
48
50
|
}
|
|
49
51
|
/**
|
|
50
52
|
* プロジェクトメンバー検索条件
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IOrder, IOrderedItem, IProductAsOrderedItem } from './order';
|
|
2
|
+
export interface IExternalProductAsOrderedItem extends IProductAsOrderedItem {
|
|
3
|
+
name?: {
|
|
4
|
+
ja?: string;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface IExternalOrderedItem extends IOrderedItem {
|
|
8
|
+
orderedItem: IExternalProductAsOrderedItem;
|
|
9
|
+
}
|
|
10
|
+
export declare type IExternalOrder = Pick<IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'> & {
|
|
11
|
+
orderedItem?: IExternalOrderedItem[];
|
|
12
|
+
};
|
|
@@ -2,7 +2,7 @@ import * as PlaceFactory from '../place';
|
|
|
2
2
|
import { PlaceType } from '../placeType';
|
|
3
3
|
import { IPlace as ISeat, IPlaceWithOffer as ISeatWithOffer } from './seat';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* セクション
|
|
6
6
|
*/
|
|
7
7
|
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'containedInPlace' | 'containsPlace' | 'additionalProperty'> {
|
|
8
8
|
typeOf: PlaceType.ScreeningRoomSection;
|
|
@@ -48,4 +48,7 @@ export interface ISearchConditions {
|
|
|
48
48
|
name?: {
|
|
49
49
|
$regex?: string;
|
|
50
50
|
};
|
|
51
|
+
$projection?: {
|
|
52
|
+
seatCount?: 1;
|
|
53
|
+
};
|
|
51
54
|
}
|
|
@@ -16,12 +16,20 @@ export interface IData {
|
|
|
16
16
|
* 仕入れ期間through
|
|
17
17
|
*/
|
|
18
18
|
importThrough: Date;
|
|
19
|
+
/**
|
|
20
|
+
* 施設を保管するかどうか
|
|
21
|
+
*/
|
|
22
|
+
saveMovieTheater: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* 施設コンテンツを保管するかどうか
|
|
25
|
+
*/
|
|
26
|
+
saveScreeningEventSeries: boolean;
|
|
19
27
|
}
|
|
20
28
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
21
29
|
name: TaskName.ImportEventsFromCOA;
|
|
22
30
|
data: IData;
|
|
23
31
|
}
|
|
24
32
|
/**
|
|
25
|
-
*
|
|
33
|
+
* イベントインポートタスク
|
|
26
34
|
*/
|
|
27
35
|
export declare type ITask = IExtendId<IAttributes>;
|