@chevre/factory 4.389.0-alpha.21 → 4.389.0-alpha.22
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 +11 -10
- package/lib/ownershipInfo.d.ts +12 -1
- package/package.json +1 -1
package/lib/authorization.d.ts
CHANGED
|
@@ -14,24 +14,25 @@ export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThroughAs
|
|
|
14
14
|
export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
|
|
15
15
|
issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
|
|
16
16
|
};
|
|
17
|
-
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
18
|
-
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject;
|
|
19
|
-
/**
|
|
20
|
-
* 承認対象としてのIAMメンバー
|
|
21
|
-
*/
|
|
22
|
-
export type IRoleAsObject = Pick<IMember, 'member' | 'typeOf'> & {
|
|
23
|
-
member: Pick<IMemberOfRole, 'hasRole' | 'id' | 'memberOf' | 'typeOf'>;
|
|
24
|
-
};
|
|
25
17
|
/**
|
|
26
18
|
* 決済サービス発行のチケット
|
|
27
19
|
*/
|
|
28
|
-
export type
|
|
20
|
+
export type IInvoiceAsObjectTypeOfGood = Pick<IInvoice, 'paymentMethodId' | 'typeOf'> & {
|
|
29
21
|
issuedThrough: {
|
|
30
22
|
id: string;
|
|
31
23
|
typeOf: PaymentServiceType.MovieTicket;
|
|
32
24
|
};
|
|
33
25
|
};
|
|
34
|
-
export type
|
|
26
|
+
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
27
|
+
export type IInvoiceOwnershipInfoAsObject = Pick<IOwnershipInfo<IInvoiceAsObjectTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
28
|
+
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IInvoiceOwnershipInfoAsObject;
|
|
29
|
+
/**
|
|
30
|
+
* 承認対象としてのIAMメンバー
|
|
31
|
+
*/
|
|
32
|
+
export type IRoleAsObject = Pick<IMember, 'member' | 'typeOf'> & {
|
|
33
|
+
member: Pick<IMemberOfRole, 'hasRole' | 'id' | 'memberOf' | 'typeOf'>;
|
|
34
|
+
};
|
|
35
|
+
export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject;
|
|
35
36
|
export interface IAudienceAsPlaceOrder {
|
|
36
37
|
/**
|
|
37
38
|
* 取引ID
|
package/lib/ownershipInfo.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CreativeWorkType } from './creativeWorkType';
|
|
2
|
+
import { IInvoice } from './invoice';
|
|
2
3
|
import { OrganizationType } from './organizationType';
|
|
3
4
|
import * as PermitFactory from './permit';
|
|
4
5
|
import { PersonType } from './personType';
|
|
@@ -58,10 +59,20 @@ export type IPermitAsGood = Pick<PermitFactory.IPermit, 'identifier' | 'typeOf'
|
|
|
58
59
|
identifier: string;
|
|
59
60
|
issuedThrough?: IPermitIssuedThrough;
|
|
60
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* 所有対象としての請求
|
|
64
|
+
* 決済承認時にチケットとして利用される
|
|
65
|
+
*/
|
|
66
|
+
export type InvoiceAsGood = Pick<IInvoice, 'paymentMethodId' | 'typeOf'> & {
|
|
67
|
+
issuedThrough: {
|
|
68
|
+
id: string;
|
|
69
|
+
typeOf: IInvoice['paymentMethod']['typeOf'];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
61
72
|
/**
|
|
62
73
|
* 所有対象物 (Product or Service)
|
|
63
74
|
*/
|
|
64
|
-
export type IGood = IReservation | IPermitAsGood;
|
|
75
|
+
export type IGood = IReservation | IPermitAsGood | InvoiceAsGood;
|
|
65
76
|
/**
|
|
66
77
|
* 所有対象物(対象物詳細有)
|
|
67
78
|
*/
|