@chevre/factory 4.280.0-alpha.3 → 4.280.0-alpha.5
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.
|
@@ -19,8 +19,8 @@ export declare enum ObjectType {
|
|
|
19
19
|
SeatReservation = "SeatReservation"
|
|
20
20
|
}
|
|
21
21
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
22
|
-
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ?
|
|
23
|
-
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ?
|
|
22
|
+
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
|
|
23
|
+
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
|
|
24
24
|
export declare type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
|
|
25
25
|
/**
|
|
26
26
|
* 承認アクション結果
|
|
@@ -42,10 +42,12 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
|
42
42
|
requestEndpoint?: string;
|
|
43
43
|
/**
|
|
44
44
|
* 外部サービスへのリクエスト
|
|
45
|
+
* COAの場合存在する
|
|
45
46
|
*/
|
|
46
47
|
requestBody: IRequestBody<T>;
|
|
47
48
|
/**
|
|
48
49
|
* 外部サービスからのレスポンス
|
|
50
|
+
* COAの場合存在する
|
|
49
51
|
*/
|
|
50
52
|
responseBody: IResponseBody<T>;
|
|
51
53
|
acceptedOffers?: IResultAcceptedOffer[];
|
|
@@ -8,7 +8,7 @@ export declare type IObject4COA = COA.factory.reserve.IUpdReserveArgs & {
|
|
|
8
8
|
transactionNumber: string;
|
|
9
9
|
typeOf: 'COAReserveTransaction';
|
|
10
10
|
};
|
|
11
|
-
export declare type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | '
|
|
11
|
+
export declare type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | 'potentialActions'> & {
|
|
12
12
|
transactionNumber: string;
|
|
13
13
|
typeOf: AssetTransactionType.Reserve;
|
|
14
14
|
};
|
|
@@ -162,16 +162,6 @@ export interface IAcceptedOffer4object {
|
|
|
162
162
|
* 確定時予約
|
|
163
163
|
* 指定することで、予約属性を確定時に上書きすることができる
|
|
164
164
|
*/
|
|
165
|
-
export interface IConfirmingReservation {
|
|
166
|
-
id: string;
|
|
167
|
-
reservedTicket?: {
|
|
168
|
-
/**
|
|
169
|
-
* チケット発行者
|
|
170
|
-
*/
|
|
171
|
-
issuedBy?: ReservationFactory.IUnderName;
|
|
172
|
-
};
|
|
173
|
-
underName?: ReservationFactory.IUnderName;
|
|
174
|
-
}
|
|
175
165
|
export interface IPotentialActionsParams {
|
|
176
166
|
reserve?: {
|
|
177
167
|
purpose?: ReserveActionFactory.IOrderAsReservePurpose;
|
|
@@ -183,12 +173,6 @@ export interface IPotentialActionsParams {
|
|
|
183
173
|
export interface IConfirmParams {
|
|
184
174
|
id?: string;
|
|
185
175
|
transactionNumber?: string;
|
|
186
|
-
object?: {
|
|
187
|
-
/**
|
|
188
|
-
* 最終的な予約の属性を指定
|
|
189
|
-
*/
|
|
190
|
-
reservations: IConfirmingReservation[];
|
|
191
|
-
};
|
|
192
176
|
potentialActions?: IPotentialActionsParams;
|
|
193
177
|
}
|
|
194
178
|
export interface IResult {
|