@chevre/factory 4.259.0-alpha.5 → 4.259.0-alpha.8
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/factory/action/authorize/offer/product.d.ts +2 -2
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +5 -5
- package/lib/factory/action/consume/use/reservation.d.ts +2 -1
- package/lib/factory/action/interact/confirm/pay.d.ts +1 -2
- package/lib/factory/action/trade/pay.d.ts +1 -1
- package/lib/factory/action/trade/refund.d.ts +1 -1
- package/lib/factory/categoryCode.d.ts +4 -1
- package/lib/factory/event/screeningEventSeries.d.ts +29 -32
- package/lib/factory/event.d.ts +1 -4
- package/lib/factory/iam.d.ts +7 -2
- package/lib/factory/invoice.d.ts +1 -1
- package/lib/factory/offer.d.ts +4 -3
- package/lib/factory/order.d.ts +17 -3
- package/lib/factory/ownershipInfo.d.ts +1 -1
- package/lib/factory/permit.d.ts +0 -2
- package/lib/factory/place/movieTheater.d.ts +28 -8
- package/lib/factory/place/screeningRoom.d.ts +1 -1
- package/lib/factory/place/screeningRoomSection.d.ts +1 -1
- package/lib/factory/place/seat.d.ts +1 -1
- package/lib/factory/place.d.ts +1 -1
- package/lib/factory/priceSpecification.d.ts +9 -1
- package/lib/factory/reservation/event.d.ts +1 -0
- package/lib/factory/reservation.d.ts +5 -4
- package/lib/factory/seller.d.ts +1 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ export interface IResult {
|
|
|
32
32
|
price: number;
|
|
33
33
|
priceCurrency: PriceCurrency;
|
|
34
34
|
acceptedOffers: IResultAcceptedOffer;
|
|
35
|
-
requestBody
|
|
36
|
-
responseBody:
|
|
35
|
+
requestBody: RegisterServiceTransactionFactory.IStartParamsWithoutDetail;
|
|
36
|
+
responseBody: RegisterServiceTransactionFactory.ITransaction;
|
|
37
37
|
}
|
|
38
38
|
export interface IPurpose {
|
|
39
39
|
typeOf: TransactionType.PlaceOrder;
|
|
@@ -17,7 +17,7 @@ export declare enum ObjectType {
|
|
|
17
17
|
SeatReservation = "SeatReservation"
|
|
18
18
|
}
|
|
19
19
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
20
|
-
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs :
|
|
20
|
+
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.IStartParamsWithoutDetail : never;
|
|
21
21
|
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.ITransaction : ReserveTransactionFactory.ITransaction;
|
|
22
22
|
export declare type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
|
|
23
23
|
/**
|
|
@@ -41,7 +41,7 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
|
41
41
|
/**
|
|
42
42
|
* 外部サービスへのリクエスト
|
|
43
43
|
*/
|
|
44
|
-
requestBody
|
|
44
|
+
requestBody: IRequestBody<T>;
|
|
45
45
|
/**
|
|
46
46
|
* 外部サービスからのレスポンス
|
|
47
47
|
*/
|
|
@@ -72,9 +72,9 @@ export interface IObjectWithoutDetail4COA {
|
|
|
72
72
|
id: string;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
export declare type IAcceptedOffer<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOffer4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOffer4chevre :
|
|
76
|
-
export declare type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre :
|
|
77
|
-
export declare type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre :
|
|
75
|
+
export declare type IAcceptedOffer<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOffer4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOffer4chevre : never;
|
|
76
|
+
export declare type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre : never;
|
|
77
|
+
export declare type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre : never;
|
|
78
78
|
export interface IPendingTransaction {
|
|
79
79
|
typeOf: AssetTransactionType.Reserve;
|
|
80
80
|
transactionNumber: string;
|
|
@@ -4,7 +4,8 @@ import { IReservation } from '../../../reservation/event';
|
|
|
4
4
|
import * as UseActionFactory from '../use';
|
|
5
5
|
export declare type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
6
6
|
export declare type IObject = IReservation[];
|
|
7
|
-
export
|
|
7
|
+
export interface IResult {
|
|
8
|
+
}
|
|
8
9
|
export interface ILocation {
|
|
9
10
|
typeOf: PlaceType.Place;
|
|
10
11
|
/**
|
|
@@ -96,7 +96,7 @@ export interface IPaymentService {
|
|
|
96
96
|
serviceOutput?: IPaymentServiceOutput;
|
|
97
97
|
}
|
|
98
98
|
export declare type IObject = IPaymentService[];
|
|
99
|
-
export declare type IInformPayment = IInformActionAttributes<
|
|
99
|
+
export declare type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
100
100
|
export interface IPotentialActions {
|
|
101
101
|
informPayment?: IInformPayment[];
|
|
102
102
|
}
|
|
@@ -9,7 +9,7 @@ export declare type IPaymentService = IPaymentServiceOnPay & {
|
|
|
9
9
|
};
|
|
10
10
|
export declare type IObject = IPaymentService[];
|
|
11
11
|
export declare type IResult = any;
|
|
12
|
-
export declare type IInformPayment = IInformActionAttributes<
|
|
12
|
+
export declare type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
13
13
|
export interface IPotentialActions {
|
|
14
14
|
informPayment?: IInformPayment[];
|
|
15
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IProject } from './project';
|
|
2
2
|
import { IPropertyValue } from './propertyValue';
|
|
3
|
+
import { SortType } from './sortType';
|
|
3
4
|
import { IThing } from './thing';
|
|
4
5
|
export declare enum CategorySetIdentifier {
|
|
5
6
|
/**
|
|
@@ -77,7 +78,9 @@ export interface ICategoryCode extends IThing {
|
|
|
77
78
|
export interface ISearchConditions {
|
|
78
79
|
limit?: number;
|
|
79
80
|
page?: number;
|
|
80
|
-
sort?:
|
|
81
|
+
sort?: {
|
|
82
|
+
codeValue?: SortType;
|
|
83
|
+
};
|
|
81
84
|
project?: {
|
|
82
85
|
id?: {
|
|
83
86
|
$eq?: string;
|
|
@@ -32,7 +32,7 @@ export interface ISoundFormat {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare type IWorkPerformed = Pick<IMovie, 'project' | 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'>;
|
|
34
34
|
export interface IOrganizer {
|
|
35
|
-
typeOf: OrganizationType;
|
|
35
|
+
typeOf: OrganizationType.Corporation;
|
|
36
36
|
identifier: string;
|
|
37
37
|
name: IMultilingualString;
|
|
38
38
|
}
|
|
@@ -66,7 +66,27 @@ export interface ICOAInfo {
|
|
|
66
66
|
*/
|
|
67
67
|
dateMvtkBegin: string;
|
|
68
68
|
}
|
|
69
|
-
export interface
|
|
69
|
+
export interface ILocation {
|
|
70
|
+
project: IProject;
|
|
71
|
+
typeOf: PlaceType.MovieTheater;
|
|
72
|
+
/**
|
|
73
|
+
* 施設ID
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
/**
|
|
77
|
+
* コード
|
|
78
|
+
*/
|
|
79
|
+
branchCode: string;
|
|
80
|
+
/**
|
|
81
|
+
* 名称
|
|
82
|
+
*/
|
|
83
|
+
name?: IMultilingualString;
|
|
84
|
+
/**
|
|
85
|
+
* カナ名称
|
|
86
|
+
*/
|
|
87
|
+
kanaName?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface IAttributes extends Omit<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'alternateName' | 'doorTime' | 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'> {
|
|
70
90
|
/**
|
|
71
91
|
* 字幕利用可能言語
|
|
72
92
|
*/
|
|
@@ -88,47 +108,25 @@ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventTy
|
|
|
88
108
|
*/
|
|
89
109
|
workPerformed: IWorkPerformed;
|
|
90
110
|
/**
|
|
91
|
-
*
|
|
111
|
+
* 施設
|
|
92
112
|
*/
|
|
93
|
-
location:
|
|
94
|
-
project: IProject;
|
|
95
|
-
typeOf: PlaceType.MovieTheater;
|
|
96
|
-
/**
|
|
97
|
-
* 場所ID
|
|
98
|
-
*/
|
|
99
|
-
id: string;
|
|
100
|
-
/**
|
|
101
|
-
* 施設コード
|
|
102
|
-
*/
|
|
103
|
-
branchCode: string;
|
|
104
|
-
/**
|
|
105
|
-
* 場所名称
|
|
106
|
-
*/
|
|
107
|
-
name?: IMultilingualString;
|
|
108
|
-
/**
|
|
109
|
-
* 場所名称(カナ)
|
|
110
|
-
*/
|
|
111
|
-
kanaName?: string;
|
|
112
|
-
alternateName?: IMultilingualString;
|
|
113
|
-
description?: IMultilingualString;
|
|
114
|
-
address?: IMultilingualString;
|
|
115
|
-
};
|
|
113
|
+
location: ILocation;
|
|
116
114
|
organizer?: IOrganizer;
|
|
117
115
|
/**
|
|
118
|
-
*
|
|
116
|
+
* カナ名称
|
|
119
117
|
*/
|
|
120
118
|
kanaName: string;
|
|
121
119
|
/**
|
|
122
|
-
*
|
|
120
|
+
* 名称
|
|
123
121
|
*/
|
|
124
122
|
name: IMultilingualString;
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
124
|
+
* 終了日時
|
|
127
125
|
* ISO 8601 date format
|
|
128
126
|
*/
|
|
129
127
|
endDate?: Date;
|
|
130
128
|
/**
|
|
131
|
-
*
|
|
129
|
+
* 開始日時
|
|
132
130
|
* ISO 8601 date format
|
|
133
131
|
*/
|
|
134
132
|
startDate?: Date;
|
|
@@ -142,7 +140,6 @@ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventTy
|
|
|
142
140
|
*/
|
|
143
141
|
coaInfo?: ICOAInfo;
|
|
144
142
|
}
|
|
145
|
-
export declare type IAttributes = Omit<IEventSeriesAttributes, 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'>;
|
|
146
143
|
/**
|
|
147
144
|
* 施設コンテンツ
|
|
148
145
|
*/
|
|
@@ -170,7 +167,7 @@ export interface ISearchConditions extends EventFactory.ISearchConditions<EventT
|
|
|
170
167
|
};
|
|
171
168
|
workPerformed?: {
|
|
172
169
|
/**
|
|
173
|
-
*
|
|
170
|
+
* コンテンツコード
|
|
174
171
|
*/
|
|
175
172
|
identifiers?: string[];
|
|
176
173
|
};
|
package/lib/factory/event.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface IAttributes<T extends EventType> {
|
|
|
21
21
|
/**
|
|
22
22
|
* イベント識別子
|
|
23
23
|
*/
|
|
24
|
-
identifier?:
|
|
24
|
+
identifier?: string;
|
|
25
25
|
/**
|
|
26
26
|
* イベント名称
|
|
27
27
|
*/
|
|
@@ -95,9 +95,6 @@ export declare type IEvent<T extends IAttributes<EventType>> = T & {
|
|
|
95
95
|
* ソート条件インターフェース
|
|
96
96
|
*/
|
|
97
97
|
export interface ISortOrder {
|
|
98
|
-
name?: string;
|
|
99
|
-
doorTime?: SortType;
|
|
100
|
-
endDate?: SortType;
|
|
101
98
|
startDate?: SortType;
|
|
102
99
|
}
|
|
103
100
|
export interface ISearchConditions<T extends EventType> {
|
package/lib/factory/iam.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreativeWorkType } from './creativeWorkType';
|
|
2
2
|
import { OrganizationType } from './organizationType';
|
|
3
3
|
import { PersonType } from './personType';
|
|
4
|
+
import { SortType } from './sortType';
|
|
4
5
|
export declare enum RoleType {
|
|
5
6
|
OrganizationRole = "OrganizationRole"
|
|
6
7
|
}
|
|
@@ -19,7 +20,9 @@ export interface IRole {
|
|
|
19
20
|
export interface IRoleSearchConditions {
|
|
20
21
|
limit?: number;
|
|
21
22
|
page?: number;
|
|
22
|
-
sort?:
|
|
23
|
+
sort?: {
|
|
24
|
+
roleName?: SortType;
|
|
25
|
+
};
|
|
23
26
|
roleName?: {
|
|
24
27
|
$eq?: string;
|
|
25
28
|
$in?: string[];
|
|
@@ -49,7 +52,9 @@ export interface IMember {
|
|
|
49
52
|
export interface ISearchConditions {
|
|
50
53
|
limit?: number;
|
|
51
54
|
page?: number;
|
|
52
|
-
sort?:
|
|
55
|
+
sort?: {
|
|
56
|
+
'member.id'?: SortType;
|
|
57
|
+
};
|
|
53
58
|
id?: {
|
|
54
59
|
$eq?: string;
|
|
55
60
|
};
|
package/lib/factory/invoice.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { PaymentServiceType } from './service/paymentService';
|
|
|
7
7
|
export declare type IBroker = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
8
8
|
export declare type IProvider = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
9
9
|
export interface IReferenceOrder extends OrderFactory.IOrder {
|
|
10
|
-
acceptedOffers: OrderFactory.IAcceptedOffer<
|
|
10
|
+
acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
|
|
11
11
|
}
|
|
12
12
|
export interface IMovieTicketAsPaymentServiceOutput {
|
|
13
13
|
/**
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export interface ICategory {
|
|
|
27
27
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
28
28
|
id?: string;
|
|
29
29
|
codeValue?: string;
|
|
30
|
-
name?: any;
|
|
31
30
|
}
|
|
32
31
|
/**
|
|
33
32
|
* アドオンインターフェース
|
|
@@ -71,6 +70,9 @@ export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy,
|
|
|
71
70
|
identifier: string;
|
|
72
71
|
})[];
|
|
73
72
|
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
73
|
+
export interface IAvailableAtOrFrom {
|
|
74
|
+
id: string;
|
|
75
|
+
}
|
|
74
76
|
/**
|
|
75
77
|
* offer interface
|
|
76
78
|
* An offer to transfer some rights to an item or to provide a service
|
|
@@ -106,7 +108,7 @@ export interface IOffer extends IThing {
|
|
|
106
108
|
/**
|
|
107
109
|
* The place(s) from which the offer can be obtained (e.g. store locations).
|
|
108
110
|
*/
|
|
109
|
-
availableAtOrFrom?:
|
|
111
|
+
availableAtOrFrom?: IAvailableAtOrFrom[];
|
|
110
112
|
/**
|
|
111
113
|
* A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.
|
|
112
114
|
*/
|
|
@@ -149,7 +151,6 @@ export interface IOffer extends IThing {
|
|
|
149
151
|
* The item being offered.
|
|
150
152
|
*/
|
|
151
153
|
itemOffered?: any;
|
|
152
|
-
offeredBy?: any;
|
|
153
154
|
/**
|
|
154
155
|
* オファー供給サービス
|
|
155
156
|
*/
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { PlaceType } from './placeType';
|
|
|
18
18
|
import { PriceCurrency } from './priceCurrency';
|
|
19
19
|
import { IProduct, ProductType } from './product';
|
|
20
20
|
import { IPropertyValue } from './propertyValue';
|
|
21
|
-
import { IProgramMembershipUsedSearchConditions } from './reservation';
|
|
21
|
+
import { IProgramMembershipUsedSearchConditions, ITicket, ITicketType } from './reservation';
|
|
22
22
|
import * as EventReservationFactory from './reservation/event';
|
|
23
23
|
import { ReservationType } from './reservationType';
|
|
24
24
|
import { IServiceType } from './serviceType';
|
|
@@ -83,7 +83,21 @@ export interface IDiscount {
|
|
|
83
83
|
*/
|
|
84
84
|
discountCurrency: string;
|
|
85
85
|
}
|
|
86
|
-
export declare type
|
|
86
|
+
export declare type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'project' | 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
87
|
+
export declare type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
|
|
88
|
+
workPerformed: IWorkPerformed;
|
|
89
|
+
};
|
|
90
|
+
export declare type IReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
|
|
91
|
+
superEvent: ISuperEvent;
|
|
92
|
+
};
|
|
93
|
+
export declare type IReservedTicketType = Pick<ITicketType, 'additionalProperty' | 'description' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'project' | 'typeOf'>;
|
|
94
|
+
export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
|
|
95
|
+
ticketType: ITicketType;
|
|
96
|
+
};
|
|
97
|
+
export declare type IReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'project' | 'reservationNumber' | 'typeOf'> & {
|
|
98
|
+
reservationFor: IReservationFor;
|
|
99
|
+
reservedTicket: IReservedTicket;
|
|
100
|
+
};
|
|
87
101
|
export declare type IPermit = Omit<PermitFactory.IPermit, 'accessCode' | 'additionalProperty' | 'depositAmount' | 'paymentAmount' | 'paymentAccount' | 'issuedBy'>;
|
|
88
102
|
export interface IMoneyTransferPendingTransaction {
|
|
89
103
|
typeOf: AssetTransactionType.MoneyTransfer;
|
|
@@ -115,7 +129,7 @@ export interface IMoneyTransfer {
|
|
|
115
129
|
* 注文アイテム
|
|
116
130
|
*/
|
|
117
131
|
export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
118
|
-
export declare type IOfferOptimized4acceptedOffer =
|
|
132
|
+
export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'project' | 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency' | 'priceSpecification'>;
|
|
119
133
|
/**
|
|
120
134
|
* 受け入れオファー
|
|
121
135
|
*/
|
package/lib/factory/permit.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ export interface IPermit extends IThing {
|
|
|
34
34
|
/**
|
|
35
35
|
* The target audience for this permit.
|
|
36
36
|
*/
|
|
37
|
-
permitAudience?: any;
|
|
38
37
|
/**
|
|
39
38
|
* The duration of validity of a permit or similar thing.
|
|
40
39
|
*/
|
|
@@ -46,7 +45,6 @@ export interface IPermit extends IThing {
|
|
|
46
45
|
/**
|
|
47
46
|
* The geographic area where a permit or similar thing is valid.
|
|
48
47
|
*/
|
|
49
|
-
validIn?: any;
|
|
50
48
|
/**
|
|
51
49
|
* The date when the item is no longer valid.
|
|
52
50
|
*/
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { IMultilingualString } from '../multilingualString';
|
|
2
2
|
import * as OfferFactory from '../offer';
|
|
3
|
-
import { IOrganization } from '../organization';
|
|
4
3
|
import * as PlaceFactory from '../place';
|
|
5
4
|
import { PlaceType } from '../placeType';
|
|
6
5
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
6
|
+
import { ISeller } from '../seller';
|
|
7
|
+
import { SortType } from '../sortType';
|
|
7
8
|
import { UnitCode } from '../unitCode';
|
|
8
9
|
import { IPlace as IScreeningRoom } from './screeningRoom';
|
|
9
10
|
/**
|
|
10
11
|
* 施設に対するオファーインターフェース
|
|
11
12
|
*/
|
|
12
|
-
export interface IOffer extends OfferFactory.IOffer {
|
|
13
|
+
export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'project' | 'typeOf' | 'eligibleQuantity'> {
|
|
13
14
|
/**
|
|
14
15
|
* イベント開始前の販売猶予期間
|
|
15
16
|
*/
|
|
@@ -26,11 +27,28 @@ export declare type POSType = 'POS';
|
|
|
26
27
|
*/
|
|
27
28
|
export interface IPOS {
|
|
28
29
|
typeOf: POSType;
|
|
30
|
+
/**
|
|
31
|
+
* コード
|
|
32
|
+
*/
|
|
29
33
|
id: string;
|
|
34
|
+
/**
|
|
35
|
+
* 名称
|
|
36
|
+
*/
|
|
30
37
|
name: string;
|
|
31
38
|
}
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
/**
|
|
40
|
+
* 入場ゲート
|
|
41
|
+
*/
|
|
42
|
+
export declare type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
|
|
43
|
+
typeOf: PlaceType.Place;
|
|
44
|
+
identifier: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* 親組織
|
|
48
|
+
*/
|
|
49
|
+
export declare type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
34
52
|
/**
|
|
35
53
|
* place interface without screening room
|
|
36
54
|
*/
|
|
@@ -40,9 +58,9 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
|
|
|
40
58
|
/**
|
|
41
59
|
* ルーム数
|
|
42
60
|
*/
|
|
43
|
-
screenCount
|
|
61
|
+
screenCount?: number;
|
|
44
62
|
/**
|
|
45
|
-
*
|
|
63
|
+
* 施設コード
|
|
46
64
|
*/
|
|
47
65
|
branchCode: string;
|
|
48
66
|
/**
|
|
@@ -58,7 +76,7 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
|
|
|
58
76
|
*/
|
|
59
77
|
name: IMultilingualString;
|
|
60
78
|
/**
|
|
61
|
-
*
|
|
79
|
+
* カナ名称
|
|
62
80
|
*/
|
|
63
81
|
kanaName: string;
|
|
64
82
|
/**
|
|
@@ -86,7 +104,9 @@ export declare type IPlace = IPlaceWithoutScreeningRoom & {
|
|
|
86
104
|
/**
|
|
87
105
|
* ソート条件インターフェース
|
|
88
106
|
*/
|
|
89
|
-
export
|
|
107
|
+
export interface ISortOrder {
|
|
108
|
+
branchCode?: SortType;
|
|
109
|
+
}
|
|
90
110
|
export interface ISearchConditions {
|
|
91
111
|
limit?: number;
|
|
92
112
|
page?: number;
|
|
@@ -5,7 +5,7 @@ import { IPlace as IScreeningRoomSection } from './screeningRoomSection';
|
|
|
5
5
|
/**
|
|
6
6
|
* ルームインターフェース
|
|
7
7
|
*/
|
|
8
|
-
export interface IPlace extends PlaceFactory.IPlace {
|
|
8
|
+
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'address' | 'containedInPlace' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
|
|
9
9
|
typeOf: PlaceType.ScreeningRoom;
|
|
10
10
|
/**
|
|
11
11
|
* セクションリスト
|
|
@@ -4,7 +4,7 @@ import { IPlace as ISeat, IPlaceWithOffer as ISeatWithOffer } from './seat';
|
|
|
4
4
|
/**
|
|
5
5
|
* セクションインターフェース
|
|
6
6
|
*/
|
|
7
|
-
export interface IPlace extends PlaceFactory.IPlace {
|
|
7
|
+
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'containedInPlace' | 'containsPlace' | 'additionalProperty'> {
|
|
8
8
|
typeOf: PlaceType.ScreeningRoomSection;
|
|
9
9
|
/**
|
|
10
10
|
* 座席リスト
|
|
@@ -27,7 +27,7 @@ export declare type ISeatingType = string | string[];
|
|
|
27
27
|
/**
|
|
28
28
|
* 座席インターフェース
|
|
29
29
|
*/
|
|
30
|
-
export interface IPlace extends PlaceFactory.IPlace {
|
|
30
|
+
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'containedInPlace' | 'additionalProperty' | 'name'> {
|
|
31
31
|
typeOf: PlaceType.Seat;
|
|
32
32
|
/**
|
|
33
33
|
* 枝番号
|
package/lib/factory/place.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface IPlace extends IThing {
|
|
|
15
15
|
containedInPlace?: IPlace;
|
|
16
16
|
containsPlace?: IPlace[];
|
|
17
17
|
maximumAttendeeCapacity?: number;
|
|
18
|
-
|
|
18
|
+
name?: IMultilingualString;
|
|
19
19
|
openSeatingAllowed?: boolean;
|
|
20
20
|
smokingAllowed?: boolean;
|
|
21
21
|
telephone?: string;
|
|
@@ -77,7 +77,15 @@ export interface ISearchConditions<T extends PriceSpecificationType> {
|
|
|
77
77
|
ids?: string[];
|
|
78
78
|
typeOf?: T;
|
|
79
79
|
appliesToCategoryCode?: {
|
|
80
|
-
$elemMatch?:
|
|
80
|
+
$elemMatch?: {
|
|
81
|
+
codeValue?: {
|
|
82
|
+
$eq?: string;
|
|
83
|
+
$in?: string[];
|
|
84
|
+
};
|
|
85
|
+
'inCodeSet.identifier'?: {
|
|
86
|
+
$eq?: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
81
89
|
codeValue?: {
|
|
82
90
|
$eq?: string;
|
|
83
91
|
$in?: string[];
|
|
@@ -50,6 +50,7 @@ export interface ISubReservation {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
52
52
|
id: string;
|
|
53
|
+
issuedThrough: ReservationFactory.IIssuedThrough;
|
|
53
54
|
reservationFor: IReservationFor;
|
|
54
55
|
reservationNumber: string;
|
|
55
56
|
reservationStatus: ReservationStatusType;
|
|
@@ -167,6 +167,10 @@ export interface IBroker {
|
|
|
167
167
|
name?: string;
|
|
168
168
|
}
|
|
169
169
|
export declare type IProgramMembershipUsed = IPermit;
|
|
170
|
+
export interface IIssuedThrough {
|
|
171
|
+
typeOf: ProductType.EventService;
|
|
172
|
+
serviceType?: IServiceType;
|
|
173
|
+
}
|
|
170
174
|
/**
|
|
171
175
|
* 予約
|
|
172
176
|
* Describes a reservation for travel, dining or an event. Some reservations require tickets.
|
|
@@ -211,10 +215,7 @@ export interface IReservation<T extends IPriceSpecification> extends IThing {
|
|
|
211
215
|
/**
|
|
212
216
|
* Web page where reservation can be confirmed.
|
|
213
217
|
*/
|
|
214
|
-
issuedThrough?:
|
|
215
|
-
typeOf: ProductType.EventService;
|
|
216
|
-
serviceType?: IServiceType;
|
|
217
|
-
};
|
|
218
|
+
issuedThrough?: IIssuedThrough;
|
|
218
219
|
/**
|
|
219
220
|
* Time the reservation was last modified.
|
|
220
221
|
*/
|
package/lib/factory/seller.d.ts
CHANGED