Skip to content

Commit

Permalink
COAイベントのoffersを本家に統一
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Mar 28, 2024
1 parent 13cb46c commit 3396e66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
- 経理レポートの返金アクションをFailedActionStatusに対応
- 決済承認アクションのobjectを最適化
- イベントの予約集計IFを最適化
- COAイベントのoffersを本家に統一

### Deprecated

Expand Down
6 changes: 4 additions & 2 deletions src/event/anyEvent.ts
Expand Up @@ -128,8 +128,10 @@ export interface ISeller {
*/
id: string;
name?: IMultilingualString;
// アプリケーション対応(2022-11-18~)
makesOffer: ISellerMakesOffer[];
/**
* アプリケーションごとのオファー
*/
makesOffer: ISellerMakesOffer[]; // アプリケーション対応(2022-11-18~)
}
export import IEligibleQuantity = OfferFactory.IEligibleQuantity;
/**
Expand Down
6 changes: 2 additions & 4 deletions src/event/screeningEvent.ts
Expand Up @@ -86,12 +86,10 @@ export interface IOffer {
unacceptedPaymentMethod?: EventFactory.IUnacceptedPaymentMethodType[];
seller: ISeller;
}
export type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough'> & {
// 追加(2023-06-20~)
itemOffered: {
export type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough' | 'eligibleQuantity' | 'seller'> & {
itemOffered: { // 追加(2023-06-20~)
serviceOutput: Pick<IServiceOutput, 'reservedTicket'>;
};

};
export interface ICOAInfo {
theaterCode: string;
Expand Down

0 comments on commit 3396e66

Please sign in to comment.