@chevre/factory 4.327.1 → 4.328.0

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.
@@ -10,6 +10,7 @@ import { IIssuedThrough as IBusReservationIssuedThrough, IReservation as IBusRes
10
10
  import { IIssuedThrough as IEventReservationIssuedThrough, IReservation as IEventReservation, IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
11
11
  import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
12
12
  import { ReservationType } from '../reservationType';
13
+ import { IUnitPriceOffer } from '../unitPriceOffer';
13
14
  export import IAgent = AssetTransactionFactory.IAgent;
14
15
  export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObjectWithoutDetail>;
15
16
  /**
@@ -117,11 +118,23 @@ export interface IAcceptedTicketOfferItemOffered4object {
117
118
  id: string;
118
119
  };
119
120
  }
120
- export interface IAcceptedAddOn {
121
+ /**
122
+ * 予約取引開始時の受入アドオンオファー
123
+ */
124
+ export interface IAcceptedAddOn extends Pick<IUnitPriceOffer, 'id'> {
121
125
  /**
122
- * アドオンID
126
+ * アドオン単価オファーID
123
127
  */
124
128
  id?: string;
129
+ priceSpecification?: {
130
+ referenceQuantity?: {
131
+ /**
132
+ * 数量指定(2023-08-31~)
133
+ * 単価オファーの基準数量で割り切れる必要あり
134
+ */
135
+ value?: number;
136
+ };
137
+ };
125
138
  }
126
139
  export interface ISingleAcceptedAppliesToMovieTicket {
127
140
  /**
@@ -163,7 +176,7 @@ export interface IAcceptedTicketOfferWithoutDetail {
163
176
  */
164
177
  itemOffered?: IAcceptedTicketOfferItemOffered;
165
178
  /**
166
- * 受け入れるアドオン
179
+ * 受入アドオン
167
180
  */
168
181
  addOn?: IAcceptedAddOn[];
169
182
  additionalProperty?: IPropertyValue<string>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.327.1",
3
+ "version": "4.328.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",