@chevre/factory 4.352.0-alpha.16 → 4.352.0-alpha.18
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 +6 -0
- package/lib/seller.d.ts +7 -0
- package/package.json +1 -1
package/lib/iam.d.ts
CHANGED
|
@@ -35,11 +35,17 @@ export type IMemberType = PersonType | CreativeWorkType.WebApplication;
|
|
|
35
35
|
export type IMemberHasRole = Pick<IRole, 'typeOf' | 'roleName'>[];
|
|
36
36
|
export interface IMemberOfRole {
|
|
37
37
|
typeOf: IMemberType;
|
|
38
|
+
/**
|
|
39
|
+
* クライアントID
|
|
40
|
+
*/
|
|
38
41
|
id: string;
|
|
39
42
|
image?: string;
|
|
40
43
|
name?: string;
|
|
41
44
|
username?: string;
|
|
42
45
|
hasRole: IMemberHasRole;
|
|
46
|
+
/**
|
|
47
|
+
* プロジェクトメンバー or 販売者メンバー
|
|
48
|
+
*/
|
|
43
49
|
memberOf: {
|
|
44
50
|
typeOf: OrganizationType.Corporation | OrganizationType.Project;
|
|
45
51
|
id: string;
|
package/lib/seller.d.ts
CHANGED
|
@@ -23,6 +23,12 @@ export interface IPaymentAccepted {
|
|
|
23
23
|
paymentMethodType: string;
|
|
24
24
|
}
|
|
25
25
|
export type IEligibleTransactionDuration = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'typeOf' | 'unitCode'>;
|
|
26
|
+
export interface IEligibleMembership {
|
|
27
|
+
/**
|
|
28
|
+
* メンバーシップトークン検証シークレット(2024-01-31~)
|
|
29
|
+
*/
|
|
30
|
+
secret?: string;
|
|
31
|
+
}
|
|
26
32
|
export interface IMakesOffer extends Pick<IOffer, 'typeOf' | 'availableAtOrFrom'> {
|
|
27
33
|
availableAtOrFrom: IAvailableAtOrFrom[];
|
|
28
34
|
/**
|
|
@@ -33,6 +39,7 @@ export interface IMakesOffer extends Pick<IOffer, 'typeOf' | 'availableAtOrFrom'
|
|
|
33
39
|
* 適用取引期間
|
|
34
40
|
*/
|
|
35
41
|
eligibleTransactionDuration: IEligibleTransactionDuration;
|
|
42
|
+
eligibleMembership?: IEligibleMembership;
|
|
36
43
|
}
|
|
37
44
|
export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'location' | 'telephone' | 'additionalProperty' | 'name' | 'url'> {
|
|
38
45
|
project: Pick<IProject, 'id' | 'typeOf'>;
|