@chevre/factory 4.280.0-alpha.4 → 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[];
|