@chevre/factory 4.392.0-alpha.3 → 4.392.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.
@@ -157,7 +157,7 @@ export interface IObjectWithoutDetail4COA {
157
157
  /**
158
158
  * 受入COA興行オファー
159
159
  */
160
- export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
160
+ export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty'> & {
161
161
  /**
162
162
  * 単価オファーid
163
163
  */
@@ -176,9 +176,16 @@ export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' |
176
176
  seatNumber?: never;
177
177
  seatSection?: never;
178
178
  };
179
- export type IAcceptedOfferBeforeAuthorize4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'name' | 'additionalProperty'> & {
180
- itemOffered: IAcceptedTicketOfferItemOffered;
179
+ /**
180
+ * 承認前の受入オファー(COA仮予約済)
181
+ */
182
+ export type IAcceptedOfferBeforeAuthorize4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'additionalProperty'> & Pick<IOffer, 'name' | 'additionalProperty'> & {
183
+ itemOffered: Pick<IAcceptedTicketOfferItemOffered, 'serviceOutput'>;
181
184
  ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice' | 'usePoint'>;
185
+ /**
186
+ * 適用surfrock指定
187
+ * interfacesのmemberClients設定に含まれるクライアントでの注文取引であれば、強制的に指定される
188
+ */
182
189
  priceSpecification: IPriceSpecification4COA;
183
190
  };
184
191
  export { IRecipe, IUpdTmpReserveSeatArgs, IUpdTmpReserveSeatResult };
@@ -1,7 +1,16 @@
1
- import { ICategoryCode } from '../categoryCode';
1
+ import { CategorySetIdentifier, ICategoryCode, ICategoryCodeSet } from '../categoryCode';
2
2
  import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
3
3
  import { PriceSpecificationType } from '../priceSpecificationType';
4
- export type IAppliesToCategoryCode = Pick<ICategoryCode, 'typeOf' | 'codeValue' | 'inCodeSet'>;
4
+ /**
5
+ * 区分加算料金でありうる区分分類
6
+ * 2025-01-06定義
7
+ */
8
+ export type IAppliesToCategoryCodeSet = Pick<ICategoryCodeSet, 'identifier' | 'typeOf'> & {
9
+ identifier: CategorySetIdentifier.SoundFormatType | CategorySetIdentifier.SeatingType | CategorySetIdentifier.VideoFormatType;
10
+ };
11
+ export type IAppliesToCategoryCode = Pick<ICategoryCode, 'typeOf' | 'codeValue' | 'inCodeSet'> & {
12
+ inCodeSet: IAppliesToCategoryCodeSet;
13
+ };
5
14
  /**
6
15
  * 区分加算料金
7
16
  */
package/lib/product.d.ts CHANGED
@@ -1,18 +1,16 @@
1
- import { ICategoryCode } from './categoryCode';
1
+ import { CategorySetIdentifier, ICategoryCode, ICategoryCodeSet } from './categoryCode';
2
2
  import { IMultilingualString } from './multilingualString';
3
3
  import { IName as IOfferName, IOffer as IBaseOffer } from './offer';
4
4
  import { OfferType } from './offerType';
5
5
  import { IAmount as IPermitAmount, IPermit } from './permit';
6
- import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
6
+ import { IAppliesToCategoryCode, IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
7
7
  import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
8
8
  import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
9
9
  import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
10
10
  import { IInformParams, IProject } from './project';
11
11
  import { IPropertyValue } from './propertyValue';
12
- import { IQuantitativeValue } from './quantitativeValue';
13
12
  import { SortType } from './sortType';
14
13
  import { IThing } from './thing';
15
- import { UnitCode } from './unitCode';
16
14
  import * as UnitPriceOfferFactory from './unitPriceOffer';
17
15
  /**
18
16
  * プロダクトタイプ
@@ -262,11 +260,37 @@ export interface IServiceOutputSearchConditions {
262
260
  $eq?: string;
263
261
  };
264
262
  }
265
- export type ICategoryCodeChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'id' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
263
+ export type IPriceComponentAppliesToCategoryCode = Pick<IAppliesToCategoryCode, 'typeOf' | 'codeValue' | 'inCodeSet'> & {
264
+ inCodeSet: Pick<ICategoryCodeSet, 'typeOf' | 'identifier'> & {
265
+ identifier: CategorySetIdentifier.SoundFormatType | CategorySetIdentifier.VideoFormatType;
266
+ };
267
+ };
268
+ export type ICategoryCodeChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'id' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'> & {
269
+ appliesToCategoryCode: IPriceComponentAppliesToCategoryCode[];
270
+ };
266
271
  export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'id' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
267
272
  export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
268
- export type ITicketPriceComponent = ICategoryCodeChargePriceComponent | IMovieTicketTypeChargePriceComponent | ITicketUnitPriceComponent;
269
- export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
273
+ export type IPotentialAppliesToSeatingType = Pick<IAppliesToCategoryCode, 'typeOf'> & {
274
+ inCodeSet: Pick<ICategoryCodeSet, 'typeOf'> & {
275
+ identifier: CategorySetIdentifier.SeatingType;
276
+ };
277
+ };
278
+ /**
279
+ * 潜在的な区分加算料金
280
+ */
281
+ export type IPotentialCategoryCodeChargePriceComponent = Pick<ICategoryCodeChargePriceComponent, 'accounting' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'> & {
282
+ appliesToCategoryCode: IPotentialAppliesToSeatingType[];
283
+ id?: never;
284
+ name?: never;
285
+ /**
286
+ * 潜在的なので価格不明
287
+ */
288
+ price?: never;
289
+ };
290
+ /**
291
+ * プロダクトオファーの価格仕様要素
292
+ */
293
+ export type ITicketPriceComponent = ICategoryCodeChargePriceComponent | IMovieTicketTypeChargePriceComponent | ITicketUnitPriceComponent | IPotentialCategoryCodeChargePriceComponent;
270
294
  /**
271
295
  * プロダクトオファーの価格仕様
272
296
  */
@@ -28,6 +28,10 @@ export interface IAvailableChannel {
28
28
  * 会員オファーを利用可能な注文取引クライアント
29
29
  */
30
30
  memberClients?: string[];
31
+ /**
32
+ * 会員クーポンとして利用可能な決済方法区分
33
+ */
34
+ paymentMethodType4membershipCoupon: string;
31
35
  }
32
36
  /**
33
37
  * 外部サービス設定を含むWebAPI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.392.0-alpha.3",
3
+ "version": "4.392.0-alpha.5",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",