@chevre/factory 4.265.0 → 4.266.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.
|
@@ -106,7 +106,7 @@ export interface IItemOffered {
|
|
|
106
106
|
}
|
|
107
107
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
108
108
|
export interface ISeller {
|
|
109
|
-
typeOf: OrganizationType;
|
|
109
|
+
typeOf: OrganizationType.Corporation;
|
|
110
110
|
id: string;
|
|
111
111
|
name?: string | IMultilingualString;
|
|
112
112
|
}
|
package/lib/offer.d.ts
CHANGED
|
@@ -3,12 +3,13 @@ import { ICategoryCode } from './categoryCode';
|
|
|
3
3
|
import { ItemAvailability } from './itemAvailability';
|
|
4
4
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
5
5
|
import { OfferType } from './offerType';
|
|
6
|
+
import { OrganizationType } from './organizationType';
|
|
6
7
|
import { PriceCurrency } from './priceCurrency';
|
|
7
8
|
import { IPriceSpecification } from './priceSpecification';
|
|
8
9
|
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
9
10
|
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
10
11
|
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
11
|
-
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
12
|
+
import { IAppliesToMovieTicket, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
12
13
|
import { PriceSpecificationType } from './priceSpecificationType';
|
|
13
14
|
import { ProductType } from './product';
|
|
14
15
|
import { IProject } from './project';
|
|
@@ -21,7 +22,7 @@ import { UnitCode } from './unitCode';
|
|
|
21
22
|
import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './offer/merchantReturnPolicy';
|
|
22
23
|
import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
+
* オファーカテゴリー
|
|
25
26
|
*/
|
|
26
27
|
export interface ICategory {
|
|
27
28
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
@@ -29,13 +30,13 @@ export interface ICategory {
|
|
|
29
30
|
codeValue?: string;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* アドオン
|
|
33
34
|
*/
|
|
34
35
|
export declare type IAddOn = IOffer;
|
|
35
36
|
export declare type IEligibleCategoryCode = Pick<ICategoryCode, 'project' | 'typeOf' | 'id' | 'codeValue' | 'inCodeSet'>;
|
|
36
37
|
export declare type IEligibleMonetaryAmount = IMonetaryAmount;
|
|
37
38
|
/**
|
|
38
|
-
*
|
|
39
|
+
* 適用サブ予約条件
|
|
39
40
|
*/
|
|
40
41
|
export interface IEligibleSubReservation {
|
|
41
42
|
/**
|
|
@@ -50,15 +51,15 @@ export interface IEligibleSubReservation {
|
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
/**
|
|
53
|
-
*
|
|
54
|
+
* 販売者
|
|
54
55
|
*/
|
|
55
56
|
export interface ISeller {
|
|
56
|
-
typeOf?:
|
|
57
|
+
typeOf?: OrganizationType.Corporation;
|
|
57
58
|
id?: string;
|
|
58
59
|
}
|
|
59
60
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* レート制限
|
|
62
63
|
* どのスコープで何秒に1席までか
|
|
63
64
|
*/
|
|
64
65
|
export interface IValidRateLimit {
|
|
@@ -194,7 +195,7 @@ export interface IOffer extends Pick<IThing, 'name' | 'description' | 'alternate
|
|
|
194
195
|
additionalProperty?: IPropertyValue<string>[];
|
|
195
196
|
}
|
|
196
197
|
/**
|
|
197
|
-
*
|
|
198
|
+
* 単価オファーの提供アイテム
|
|
198
199
|
*/
|
|
199
200
|
export interface IItemOffered {
|
|
200
201
|
typeOf: ProductType;
|
|
@@ -233,7 +234,13 @@ export interface IItemOffered {
|
|
|
233
234
|
};
|
|
234
235
|
}
|
|
235
236
|
/**
|
|
236
|
-
*
|
|
237
|
+
* 単価オファーの価格仕様
|
|
238
|
+
*/
|
|
239
|
+
export declare type IUnitPriceOfferPriceSpecification = Omit<IUnitPriceSpecification, 'appliesToMovieTicket'> & {
|
|
240
|
+
appliesToMovieTicket?: IAppliesToMovieTicket[];
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* 単価オファー
|
|
237
244
|
*/
|
|
238
245
|
export interface IUnitPriceOffer extends Omit<IOffer, 'seller'> {
|
|
239
246
|
/**
|
|
@@ -243,17 +250,17 @@ export interface IUnitPriceOffer extends Omit<IOffer, 'seller'> {
|
|
|
243
250
|
/**
|
|
244
251
|
* 単価仕様
|
|
245
252
|
*/
|
|
246
|
-
priceSpecification?:
|
|
253
|
+
priceSpecification?: IUnitPriceOfferPriceSpecification;
|
|
247
254
|
itemOffered?: IItemOffered;
|
|
248
255
|
}
|
|
249
256
|
/**
|
|
250
|
-
*
|
|
257
|
+
* ソート条件
|
|
251
258
|
*/
|
|
252
259
|
export interface ISortOrder {
|
|
253
260
|
'priceSpecification.price'?: SortType;
|
|
254
261
|
}
|
|
255
262
|
/**
|
|
256
|
-
*
|
|
263
|
+
* 価格仕様検索条件
|
|
257
264
|
*/
|
|
258
265
|
export interface IPriceSpecificationSearchConditions {
|
|
259
266
|
appliesToMovieTicket?: {
|
|
@@ -295,7 +302,7 @@ export interface IPriceSpecificationSearchConditions {
|
|
|
295
302
|
};
|
|
296
303
|
}
|
|
297
304
|
/**
|
|
298
|
-
*
|
|
305
|
+
* 検索条件
|
|
299
306
|
*/
|
|
300
307
|
export interface ISearchConditions {
|
|
301
308
|
limit?: number;
|