@chevre/factory 4.258.0 → 4.259.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.
|
@@ -43,6 +43,14 @@ export declare enum MerchantReturnEnumeration {
|
|
|
43
43
|
}
|
|
44
44
|
export interface IMerchantReturnPolicy extends IThing {
|
|
45
45
|
typeOf: 'MerchantReturnPolicy';
|
|
46
|
+
/**
|
|
47
|
+
* The type of return fees if the product is returned due to customer remorse.
|
|
48
|
+
*/
|
|
49
|
+
customerRemorseReturnFees?: ReturnFeesEnumeration;
|
|
50
|
+
/**
|
|
51
|
+
* 決済カード着券取消仕様
|
|
52
|
+
*/
|
|
53
|
+
customerRemorseReturnFeesMovieTicket?: ReturnFeesEnumeration;
|
|
46
54
|
/**
|
|
47
55
|
* Are in-store returns offered?
|
|
48
56
|
*/
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ActionType } from './actionType';
|
|
2
2
|
import { ICategoryCode } from './categoryCode';
|
|
3
3
|
import { ItemAvailability } from './itemAvailability';
|
|
4
|
+
import { IMerchantReturnPolicy } from './merchantReturnPolicy';
|
|
4
5
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
6
|
+
import { IMultilingualString } from './multilingualString';
|
|
5
7
|
import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
6
8
|
import { OfferType } from './offerType';
|
|
7
9
|
import { PriceCurrency } from './priceCurrency';
|
|
@@ -23,7 +25,7 @@ import { UnitCode } from './unitCode';
|
|
|
23
25
|
* オファーカテゴリーインターフェース
|
|
24
26
|
*/
|
|
25
27
|
export interface ICategory {
|
|
26
|
-
project: IProject
|
|
28
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
27
29
|
id?: string;
|
|
28
30
|
codeValue?: string;
|
|
29
31
|
name?: any;
|
|
@@ -65,6 +67,32 @@ export interface IValidRateLimit {
|
|
|
65
67
|
scope: string;
|
|
66
68
|
unitInSeconds: number;
|
|
67
69
|
}
|
|
70
|
+
export declare type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
|
|
71
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
72
|
+
additionalProperty?: IPropertyValue<string>[];
|
|
73
|
+
id?: string;
|
|
74
|
+
identifier: string;
|
|
75
|
+
name?: IMultilingualString;
|
|
76
|
+
};
|
|
77
|
+
export declare type IHasMerchantReturnPolicy = IOfferMerchantReturnPolicy[];
|
|
78
|
+
export interface IOfferMerchantReturnPolicySearchConditions {
|
|
79
|
+
limit?: number;
|
|
80
|
+
page?: number;
|
|
81
|
+
sort?: any;
|
|
82
|
+
project?: {
|
|
83
|
+
id?: {
|
|
84
|
+
$eq?: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
id?: {
|
|
88
|
+
$eq?: string;
|
|
89
|
+
$in?: string[];
|
|
90
|
+
};
|
|
91
|
+
identifier?: {
|
|
92
|
+
$eq?: string;
|
|
93
|
+
$in?: string[];
|
|
94
|
+
};
|
|
95
|
+
}
|
|
68
96
|
/**
|
|
69
97
|
* offer interface
|
|
70
98
|
* An offer to transfer some rights to an item or to provide a service
|
|
@@ -73,7 +101,7 @@ export interface IValidRateLimit {
|
|
|
73
101
|
* {@link https://schema.org/Offer}
|
|
74
102
|
*/
|
|
75
103
|
export interface IOffer extends IThing {
|
|
76
|
-
project: IProject
|
|
104
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
77
105
|
typeOf: OfferType;
|
|
78
106
|
id?: string;
|
|
79
107
|
/**
|
|
@@ -138,6 +166,7 @@ export interface IOffer extends IThing {
|
|
|
138
166
|
* オファーが有効となる地域
|
|
139
167
|
*/
|
|
140
168
|
eligibleRegion?: any;
|
|
169
|
+
hasMerchantReturnPolicy?: IHasMerchantReturnPolicy;
|
|
141
170
|
/**
|
|
142
171
|
* The item being offered.
|
|
143
172
|
*/
|