@chevre/factory 4.268.0-alpha.5 → 4.269.0-alpha.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/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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
2
2
|
import { IPaymentMethod } from '../paymentMethod';
|
|
3
|
-
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'validThrough'>;
|
|
3
|
+
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'validThrough' | 'value'>;
|
|
4
4
|
/**
|
|
5
5
|
* payment card interface
|
|
6
6
|
*/
|
|
@@ -9,7 +9,6 @@ export interface IPaymentCard extends IPaymentMethod {
|
|
|
9
9
|
/**
|
|
10
10
|
* A cardholder benefit that pays the cardholder a small percentage of their net expenditures.
|
|
11
11
|
*/
|
|
12
|
-
cashBack?: number;
|
|
13
12
|
/**
|
|
14
13
|
* The amount of money.
|
|
15
14
|
*/
|
package/lib/paymentMethod.d.ts
CHANGED
package/lib/permit.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
|
|
|
19
19
|
* {@link https://schema.org/Permit}
|
|
20
20
|
*/
|
|
21
21
|
export interface IPermit extends Pick<IThing, 'name'> {
|
|
22
|
+
name?: string;
|
|
22
23
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
23
24
|
typeOf: PermitType;
|
|
24
25
|
identifier?: string;
|
|
@@ -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
|
}
|