@chevre/factory 4.302.0 → 4.304.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.
@@ -92,6 +92,11 @@ export declare type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveT
92
92
  * 人数制限
93
93
  */
94
94
  limitCount: number;
95
+ /**
96
+ * 販売可能チケットのsalePrice
97
+ * COA予約確定時に指定するsalePriceと異なる
98
+ */
99
+ salesTicketSalePrice: number;
95
100
  };
96
101
  /**
97
102
  * 座席予約供給情報インターフェース
@@ -74,14 +74,19 @@ export import ICOATicketInfoWithDetails = COAReservationOfferFactory.ICOATicketI
74
74
  /**
75
75
  * 受入COA興行オファー
76
76
  */
77
- export declare type IAcceptedOffer4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'seller' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
77
+ export declare type IAcceptedOffer4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
78
78
  itemOffered: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
79
79
  ticketInfo: ICOATicketInfoWithDetails;
80
80
  /**
81
81
  * COAイベントでは、priceSpecificationで価格を表現しきれないので、numberとしてのpriceが必要
82
82
  */
83
83
  price: number;
84
- priceSpecification: OrderFactory.ITicketPriceSpecification & {
84
+ priceSpecification: OrderFactory.ITicketPriceSpecification;
85
+ };
86
+ export declare type IAcceptedOfferBeforeAuthorize4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'id' | 'name' | 'additionalProperty'> & {
87
+ itemOffered: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
88
+ ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice'>;
89
+ priceSpecification: {
85
90
  appliesToSurfrock?: {
86
91
  identifier?: string;
87
92
  serviceOutput?: {
package/lib/product.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ICategoryCode } from './categoryCode';
2
2
  import { IMultilingualString } from './multilingualString';
3
- import { IAddOn as IBaseAddOn, IName as IOfferName, IOffer as IBaseOffer } from './offer';
3
+ import { IName as IOfferName, IOffer as IBaseOffer } from './offer';
4
4
  import { OfferType } from './offerType';
5
5
  import { IPermit } from './permit';
6
6
  import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
@@ -227,19 +227,13 @@ export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, '
227
227
  * プロダクトオファーの価格仕様
228
228
  */
229
229
  export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
230
- export declare type ITicketAddOn = Pick<IBaseAddOn, 'id' | 'identifier' | 'itemOffered' | 'priceCurrency' | 'typeOf' | 'validFrom' | 'validThrough'> & {
231
- priceSpecification: ITicketUnitPriceComponent;
232
- };
233
- export declare type IAddOnItemOffered = Pick<IProduct, 'typeOf' | 'id' | 'name'>;
234
- export declare type IMinimizedTicketAddOn = Pick<IBaseAddOn, 'typeOf' | 'priceCurrency'> & {
235
- itemOffered: IAddOnItemOffered;
236
- };
230
+ export import IMinimizedTicketAddOn = UnitPriceOfferFactory.IAddOn4unitPriceOffer;
237
231
  /**
238
232
  * プロダクトオファー
239
233
  * strict definition(2023-02-24~)
240
234
  */
241
235
  export interface ITicketOffer extends Pick<IBaseOffer, 'name' | 'description' | 'alternateName' | 'color' | 'typeOf' | 'id' | 'availability' | 'availableAtOrFrom' | 'category' | 'eligibleMembershipType' | 'eligibleSeatingType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'eligibleQuantity' | 'offeredThrough' | 'priceCurrency' | 'validFrom' | 'validThrough' | 'validRateLimit' | 'additionalProperty'> {
242
- addOn?: ITicketAddOn[] | IMinimizedTicketAddOn[];
236
+ addOn?: IMinimizedTicketAddOn[];
243
237
  identifier: string;
244
238
  name: IOfferName;
245
239
  priceSpecification: ITicketPriceSpecification;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.302.0",
3
+ "version": "4.304.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",