@chevre/factory 4.302.0 → 4.303.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.
Files changed (2) hide show
  1. package/lib/product.d.ts +3 -9
  2. package/package.json +1 -1
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.303.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",