@chevre/factory 4.324.0 → 4.325.0-alpha.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.
@@ -8,7 +8,7 @@ export declare enum StringValue {
8
8
  * A point value or interval for product characteristics and other purposes.
9
9
  * {@link https://schema.org/QuantitativeValue}
10
10
  */
11
- export interface IQuantitativeValue<T extends UnitCode | string> extends Pick<IThing, 'name'> {
11
+ export interface IQuantitativeValue<T extends UnitCode | string> extends Pick<IThing, 'description' | 'name'> {
12
12
  /**
13
13
  * The upper value of some characteristic or property.
14
14
  */
@@ -5,7 +5,9 @@ import { OfferType } from './offerType';
5
5
  import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
6
6
  import { IAppliesToMovieTicket, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
7
7
  import { IProduct, ProductType } from './product';
8
+ import { IQuantitativeValue } from './quantitativeValue';
8
9
  import { SortType } from './sortType';
10
+ import { UnitCode } from './unitCode';
9
11
  import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './unitPriceOffer/merchantReturnPolicy';
10
12
  export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
11
13
  id: string;
@@ -49,10 +51,17 @@ export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCur
49
51
  export interface ISettings {
50
52
  ignoreCategoryCodeChargeSpec?: boolean;
51
53
  }
54
+ export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
55
+ }
52
56
  /**
53
57
  * 単価オファー
54
58
  */
55
59
  export interface IUnitPriceOffer extends Pick<IOffer, 'project' | 'typeOf' | 'priceCurrency' | 'id' | 'identifier' | 'name' | 'description' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'itemOffered' | 'priceSpecification' | 'additionalProperty' | 'color' | 'category' | 'eligibleSeatingType' | 'eligibleMembershipType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'validFrom' | 'validThrough' | 'validRateLimit'> {
60
+ /**
61
+ * The amount of time that is required between accepting the offer and the actual usage of the resource or service.
62
+ * 事前予約要件(興行オファー承認日時とイベント開始日時の差)
63
+ */
64
+ advanceBookingRequirement?: IAdvanceBookingRequirement;
56
65
  availability: ItemAvailability;
57
66
  /**
58
67
  * コード
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.324.0",
3
+ "version": "4.325.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",