@chevre/factory 4.263.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.
- package/lib/action/cancel/reservation.d.ts +1 -2
- package/lib/action/check/paymentMethod/movieTicket.d.ts +1 -1
- package/lib/event/screeningEvent.d.ts +7 -1
- package/lib/event.d.ts +0 -9
- package/lib/offer.d.ts +20 -13
- package/lib/order.d.ts +2 -2
- package/lib/reservation/event.d.ts +3 -1
- package/lib/reservation.d.ts +3 -1
- package/package.json +1 -1
|
@@ -9,8 +9,7 @@ export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
|
9
9
|
/**
|
|
10
10
|
* 予約取消対象
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
export interface IObject4future {
|
|
12
|
+
export interface IObject {
|
|
14
13
|
typeOf: ReservationType.EventReservation;
|
|
15
14
|
id: string;
|
|
16
15
|
issuedThrough?: {
|
|
@@ -89,6 +89,12 @@ export declare type IServiceType = IProductServiceType & {
|
|
|
89
89
|
*/
|
|
90
90
|
export interface IItemOffered {
|
|
91
91
|
id?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 興行名称
|
|
94
|
+
*/
|
|
95
|
+
name?: {
|
|
96
|
+
ja?: string;
|
|
97
|
+
};
|
|
92
98
|
/**
|
|
93
99
|
* 興行区分
|
|
94
100
|
*/
|
|
@@ -100,7 +106,7 @@ export interface IItemOffered {
|
|
|
100
106
|
}
|
|
101
107
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
102
108
|
export interface ISeller {
|
|
103
|
-
typeOf: OrganizationType;
|
|
109
|
+
typeOf: OrganizationType.Corporation;
|
|
104
110
|
id: string;
|
|
105
111
|
name?: string | IMultilingualString;
|
|
106
112
|
}
|
package/lib/event.d.ts
CHANGED
|
@@ -7,11 +7,6 @@ import * as PlaceFactory from './place';
|
|
|
7
7
|
import { IProject } from './project';
|
|
8
8
|
import { IPropertyValue } from './propertyValue';
|
|
9
9
|
import { SortType } from './sortType';
|
|
10
|
-
export interface IHasOfferCatalog {
|
|
11
|
-
typeOf: 'OfferCatalog';
|
|
12
|
-
id: string;
|
|
13
|
-
identifier?: string;
|
|
14
|
-
}
|
|
15
10
|
export interface IAttributes<T extends EventType> {
|
|
16
11
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
17
12
|
/**
|
|
@@ -52,10 +47,6 @@ export interface IAttributes<T extends EventType> {
|
|
|
52
47
|
* イベントがキャンセル、あるいは、延期された場合に主に使用されます。
|
|
53
48
|
*/
|
|
54
49
|
eventStatus: EventStatusType;
|
|
55
|
-
/**
|
|
56
|
-
* Indicates an OfferCatalog listing for this Organization, Person, or Service.
|
|
57
|
-
*/
|
|
58
|
-
hasOfferCatalog?: IHasOfferCatalog;
|
|
59
50
|
headline?: IMultilingualString;
|
|
60
51
|
/**
|
|
61
52
|
* イベントが実行される場所
|
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;
|
package/lib/order.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { IPerson, IProfile } from './person';
|
|
|
16
16
|
import { PersonType } from './personType';
|
|
17
17
|
import { PlaceType } from './placeType';
|
|
18
18
|
import { PriceCurrency } from './priceCurrency';
|
|
19
|
-
import { IProduct,
|
|
19
|
+
import { IProduct, ProductType } from './product';
|
|
20
20
|
import { IPropertyValue } from './propertyValue';
|
|
21
21
|
import { IProgramMembershipUsedSearchConditions, ITicket, ITicketType } from './reservation';
|
|
22
22
|
import * as EventReservationFactory from './reservation/event';
|
|
@@ -236,7 +236,7 @@ export interface IEventServiceAsOrderedItem {
|
|
|
236
236
|
typeOf: ReservationType.EventReservation | ReservationType.ReservationPackage;
|
|
237
237
|
reservationFor: IReservationFor4OrderedItem;
|
|
238
238
|
};
|
|
239
|
-
serviceType?:
|
|
239
|
+
serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
|
|
240
240
|
}
|
|
241
241
|
export declare type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
|
|
242
242
|
/**
|
|
@@ -45,12 +45,14 @@ export interface ISubReservation {
|
|
|
45
45
|
ticketedSeat: ReservationFactory.ISeat;
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
+
export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
|
|
49
|
+
export import IIssuedThrough = ReservationFactory.IIssuedThrough;
|
|
48
50
|
/**
|
|
49
51
|
* イベント予約
|
|
50
52
|
*/
|
|
51
53
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
52
54
|
id: string;
|
|
53
|
-
issuedThrough:
|
|
55
|
+
issuedThrough: IIssuedThrough;
|
|
54
56
|
reservationFor: IReservationFor;
|
|
55
57
|
reservationNumber: string;
|
|
56
58
|
reservationStatus: ReservationStatusType;
|
package/lib/reservation.d.ts
CHANGED
|
@@ -166,9 +166,11 @@ export interface IBroker {
|
|
|
166
166
|
name?: string;
|
|
167
167
|
}
|
|
168
168
|
export declare type IProgramMembershipUsed = IPermit;
|
|
169
|
+
export declare type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
169
170
|
export interface IIssuedThrough {
|
|
170
171
|
typeOf: ProductType.EventService;
|
|
171
|
-
serviceType?:
|
|
172
|
+
serviceType?: IServiceTypeOfIssuedThrough;
|
|
173
|
+
id?: string;
|
|
172
174
|
}
|
|
173
175
|
/**
|
|
174
176
|
* 予約
|