@chevre/factory 4.281.0-alpha.1 → 4.281.0-alpha.2
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/event/anyEvent.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare type IServiceType = IProductServiceType & {
|
|
|
92
92
|
* 旅客サービス
|
|
93
93
|
*/
|
|
94
94
|
export interface IItemOffered {
|
|
95
|
-
id
|
|
95
|
+
id: string;
|
|
96
96
|
/**
|
|
97
97
|
* プロダクト名称
|
|
98
98
|
*/
|
|
@@ -108,6 +108,7 @@ export interface IItemOffered {
|
|
|
108
108
|
*/
|
|
109
109
|
serviceOutput?: IServiceOutput;
|
|
110
110
|
typeOf: ProductType.Transportation;
|
|
111
|
+
availableChannel: ReservationFactory.IServiceChannel;
|
|
111
112
|
}
|
|
112
113
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier.Chevre>;
|
|
113
114
|
export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
|
|
@@ -237,6 +238,22 @@ export declare type ISeller4create = Pick<ISeller, 'makesOffer'> & {
|
|
|
237
238
|
*/
|
|
238
239
|
makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
|
|
239
240
|
};
|
|
241
|
+
export declare type IItemOffered4create = Pick<IItemOffered, 'id' | 'serviceOutput'> & {
|
|
242
|
+
availableChannel: {
|
|
243
|
+
serviceLocation: {
|
|
244
|
+
/**
|
|
245
|
+
* ルームコード
|
|
246
|
+
*/
|
|
247
|
+
branchCode: string;
|
|
248
|
+
containedInPlace: {
|
|
249
|
+
/**
|
|
250
|
+
* 施設ID
|
|
251
|
+
*/
|
|
252
|
+
id: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
240
257
|
export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
241
258
|
/**
|
|
242
259
|
* 最大予約数を指定
|
|
@@ -245,7 +262,7 @@ export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
|
245
262
|
/**
|
|
246
263
|
* 興行IDと座席有無を指定
|
|
247
264
|
*/
|
|
248
|
-
itemOffered:
|
|
265
|
+
itemOffered: IItemOffered4create;
|
|
249
266
|
/**
|
|
250
267
|
* 販売者IDとアプリケーション設定
|
|
251
268
|
*/
|
|
@@ -35,15 +35,15 @@ export declare type IServiceType = IProductServiceType & {
|
|
|
35
35
|
* 興行
|
|
36
36
|
*/
|
|
37
37
|
export interface IItemOffered {
|
|
38
|
-
id
|
|
38
|
+
id: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* プロダクト名称
|
|
41
41
|
*/
|
|
42
42
|
name?: {
|
|
43
43
|
ja?: string;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* サービス区分
|
|
47
47
|
*/
|
|
48
48
|
serviceType?: IServiceType;
|
|
49
49
|
/**
|
|
@@ -51,6 +51,7 @@ export interface IItemOffered {
|
|
|
51
51
|
*/
|
|
52
52
|
serviceOutput?: IServiceOutput;
|
|
53
53
|
typeOf: ProductType.EventService;
|
|
54
|
+
availableChannel: ReservationFactory.IServiceChannel;
|
|
54
55
|
}
|
|
55
56
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
56
57
|
export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
|
package/lib/index.d.ts
CHANGED
|
@@ -385,6 +385,10 @@ export declare namespace reservation {
|
|
|
385
385
|
type ITicketIssuedBy<T extends ReservationType> = T extends ReservationType.BusReservation ? ReservationFactory.ITicketIssuedBy : T extends ReservationType.EventReservation ? ReservationFactory.ITicketIssuedBy : ReservationFactory.ITicketIssuedBy;
|
|
386
386
|
type TicketType<T extends ReservationType> = T extends ReservationType.BusReservation ? ReservationFactory.TicketType : T extends ReservationType.EventReservation ? ReservationFactory.TicketType : ReservationFactory.TicketType;
|
|
387
387
|
type ITicketType<T extends ReservationType> = T extends ReservationType.BusReservation ? ReservationFactory.ITicketType : T extends ReservationType.EventReservation ? ReservationFactory.ITicketType : ReservationFactory.ITicketType;
|
|
388
|
+
export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
|
|
389
|
+
export import IServiceLocationContainedInPlace = ReservationFactory.IServiceLocationContainedInPlace;
|
|
390
|
+
export import IServiceLocation = ReservationFactory.IServiceLocation;
|
|
391
|
+
export import IServiceChannel = ReservationFactory.IServiceChannel;
|
|
388
392
|
}
|
|
389
393
|
export import reservationStatusType = ReservationStatusType;
|
|
390
394
|
export import reservationType = ReservationType;
|
|
@@ -14,10 +14,10 @@ export interface ISubReservation {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
|
|
17
|
-
export interface IIssuedThrough {
|
|
17
|
+
export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
18
18
|
typeOf: ProductType.Transportation;
|
|
19
19
|
serviceType?: IServiceTypeOfIssuedThrough;
|
|
20
|
-
id
|
|
20
|
+
id: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* イベント予約
|
|
@@ -40,10 +40,10 @@ export interface ISubReservation {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
|
|
43
|
-
export interface IIssuedThrough {
|
|
43
|
+
export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
44
44
|
typeOf: ProductType.EventService;
|
|
45
45
|
serviceType?: IServiceTypeOfIssuedThrough;
|
|
46
|
-
id
|
|
46
|
+
id: string;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* イベント予約
|
package/lib/reservation.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import { OfferType } from './offerType';
|
|
|
6
6
|
import { OrganizationType } from './organizationType';
|
|
7
7
|
import { IPermit } from './permit';
|
|
8
8
|
import { PersonType } from './personType';
|
|
9
|
+
import * as MovieTheaterFactory from './place/movieTheater';
|
|
10
|
+
import * as ScreeningRoomFactory from './place/screeningRoom';
|
|
9
11
|
import * as SeatFactory from './place/seat';
|
|
10
12
|
import { PlaceType } from './placeType';
|
|
11
13
|
import { PriceCurrency } from './priceCurrency';
|
|
@@ -166,10 +168,22 @@ export interface IBroker {
|
|
|
166
168
|
}
|
|
167
169
|
export declare type IProgramMembershipUsed = IPermit;
|
|
168
170
|
export declare type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
171
|
+
export declare type IServiceLocationContainedInPlace = Pick<MovieTheaterFactory.IPlaceWithoutScreeningRoom, 'typeOf' | 'id' | 'branchCode'> & {
|
|
172
|
+
name?: IMultilingualString;
|
|
173
|
+
};
|
|
174
|
+
export declare type IServiceLocation = Pick<ScreeningRoomFactory.IPlace, 'typeOf' | 'branchCode'> & {
|
|
175
|
+
containedInPlace: IServiceLocationContainedInPlace;
|
|
176
|
+
name?: IMultilingualString;
|
|
177
|
+
};
|
|
178
|
+
export interface IServiceChannel {
|
|
179
|
+
typeOf: 'ServiceChannel';
|
|
180
|
+
serviceLocation: IServiceLocation;
|
|
181
|
+
}
|
|
169
182
|
export interface IIssuedThrough {
|
|
170
183
|
typeOf: ProductType.Transportation | ProductType.EventService;
|
|
171
184
|
serviceType?: IServiceTypeOfIssuedThrough;
|
|
172
|
-
id
|
|
185
|
+
id: string;
|
|
186
|
+
availableChannel: IServiceChannel;
|
|
173
187
|
}
|
|
174
188
|
/**
|
|
175
189
|
* 予約
|