@chevre/factory 4.341.0 → 4.342.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/merchantReturnPolicy.d.ts +1 -1
- package/lib/project.d.ts +3 -3
- package/lib/thing.d.ts +1 -0
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ export type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'> & {
|
|
|
51
51
|
};
|
|
52
52
|
export type ICustomerRemorseReturnFees = ReturnFeesEnumeration;
|
|
53
53
|
export type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
|
|
54
|
-
export interface IMerchantReturnPolicy extends Pick<IThing, 'name' | 'url'> {
|
|
54
|
+
export interface IMerchantReturnPolicy extends Pick<IThing, 'name' | 'sameAs' | 'url'> {
|
|
55
55
|
typeOf: 'MerchantReturnPolicy';
|
|
56
56
|
/**
|
|
57
57
|
* 適用決済方法
|
package/lib/project.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IMerchantReturnPolicy } from './merchantReturnPolicy';
|
|
1
2
|
import { IOrganization } from './organization';
|
|
2
3
|
import { OrganizationType } from './organizationType';
|
|
3
4
|
import { SortType } from './sortType';
|
|
@@ -23,8 +24,6 @@ export interface IOnPaymentStatusChanged {
|
|
|
23
24
|
export interface IOnReservationUsed {
|
|
24
25
|
informAction?: IInformParams[];
|
|
25
26
|
}
|
|
26
|
-
export interface ICognitoSettings {
|
|
27
|
-
}
|
|
28
27
|
/**
|
|
29
28
|
* 注文ステータス変更時イベント
|
|
30
29
|
*/
|
|
@@ -51,7 +50,6 @@ export interface ISendEmailMessageSettings {
|
|
|
51
50
|
*/
|
|
52
51
|
export interface ISettings {
|
|
53
52
|
importEventsInWeeks?: number;
|
|
54
|
-
cognito?: ICognitoSettings;
|
|
55
53
|
onOrderStatusChanged?: IOnOrderStatusChanged;
|
|
56
54
|
webhook?: IWebhookSettings;
|
|
57
55
|
sendEmailMessage?: ISendEmailMessageSettings;
|
|
@@ -71,6 +69,7 @@ export interface ISubscription {
|
|
|
71
69
|
*/
|
|
72
70
|
useOfferCatalogItem?: boolean;
|
|
73
71
|
}
|
|
72
|
+
export type IHasMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'sameAs' | 'typeOf'>;
|
|
74
73
|
/**
|
|
75
74
|
* プロジェクト
|
|
76
75
|
*/
|
|
@@ -79,6 +78,7 @@ export interface IProject extends Pick<IOrganization, 'id' | 'logo' | 'name' | '
|
|
|
79
78
|
id: string;
|
|
80
79
|
alternateName?: string;
|
|
81
80
|
description?: string;
|
|
81
|
+
hasMerchantReturnPolicy?: IHasMerchantReturnPolicy;
|
|
82
82
|
name?: string;
|
|
83
83
|
settings?: ISettings;
|
|
84
84
|
subscription?: ISubscription;
|
package/lib/thing.d.ts
CHANGED