@chevre/factory 4.369.0-alpha.7 → 4.369.0-alpha.9
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.
|
@@ -18,11 +18,13 @@ export type IObject = OrderFactory.ISimpleOrder & {
|
|
|
18
18
|
* 注文配送結果としての所有権
|
|
19
19
|
*/
|
|
20
20
|
export type IResult = IOwnershipInfo<IGood>[];
|
|
21
|
+
export type ISendEmailMessage = Pick<ISendEmailMessageActionAttributes, 'object'>;
|
|
21
22
|
export interface IPotentialActions {
|
|
22
23
|
/**
|
|
23
24
|
* Eメール送信アクション
|
|
25
|
+
* 注文処理後のメッセージ送信として機能しているので注意
|
|
24
26
|
*/
|
|
25
|
-
sendEmailMessage?:
|
|
27
|
+
sendEmailMessage?: ISendEmailMessage[];
|
|
26
28
|
}
|
|
27
29
|
export interface IAttributes extends SendActionFactory.IAttributes<IObject, IResult> {
|
|
28
30
|
agent: IAgent;
|
package/lib/authorization.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreativeWorkType } from './creativeWorkType';
|
|
2
|
-
import {
|
|
2
|
+
import { IMember, IMemberOfRole } from './iam';
|
|
3
3
|
import { IOrder } from './order';
|
|
4
4
|
import { OrganizationType } from './organizationType';
|
|
5
5
|
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
|
|
@@ -14,8 +14,13 @@ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'type
|
|
|
14
14
|
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
15
15
|
export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
16
16
|
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* 承認対象としてのIAMメンバー
|
|
19
|
+
*/
|
|
20
|
+
export type IRoleAsObject = Pick<IMember, 'member' | 'typeOf'> & {
|
|
21
|
+
member: Pick<IMemberOfRole, 'hasRole' | 'id' | 'memberOf' | 'typeOf'>;
|
|
22
|
+
};
|
|
23
|
+
export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject;
|
|
19
24
|
export interface IAudience {
|
|
20
25
|
/**
|
|
21
26
|
* クライアントID
|