@chevre/factory 4.274.0-alpha.1 → 4.274.0-alpha.2

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.
package/lib/index.d.ts CHANGED
@@ -341,6 +341,8 @@ export declare namespace place {
341
341
  export import placeType = PlaceType;
342
342
  export declare namespace priceSpecification {
343
343
  export import IAccounting = PriceSpecificationFactory.IAccounting;
344
+ export import IEligibleQuantity = PriceSpecificationFactory.IEligibleQuantity;
345
+ export import IEligibleTransactionVolume = PriceSpecificationFactory.IEligibleTransactionVolume;
344
346
  type IPriceSpecification<T extends PriceSpecificationType> = T extends PriceSpecificationType.CategoryCodeChargeSpecification ? CategoryCodeChargeSpecificationFactory.IPriceSpecification : T extends PriceSpecificationType.MovieTicketTypeChargeSpecification ? MovieTicketTypeChargeSpecificationFactory.IPriceSpecification : T extends PriceSpecificationType.UnitPriceSpecification ? UnitPriceSpecificationFactory.IPriceSpecification : PriceSpecificationFactory.IPriceSpecification<PriceSpecificationType>;
345
347
  type ISearchConditions<T extends PriceSpecificationType> = PriceSpecificationFactory.ISearchConditions<T>;
346
348
  export import unitPrice = UnitPriceSpecificationFactory;
@@ -11,7 +11,7 @@ export declare type IAppliesToMovieTicket = Pick<IMovieTicketTypeChargeSpecAppli
11
11
  */
12
12
  identifier?: string;
13
13
  };
14
- export declare type IReferenceQuantity = Pick<IQuantitativeValue<UnitCode>, 'typeOf' | 'value' | 'unitCode'>;
14
+ export declare type IReferenceQuantity = Pick<IQuantitativeValue<UnitCode>, 'typeOf' | 'value' | 'unitCode' | 'minValue'>;
15
15
  export declare type IAppliesToAddOnItemOffered = Pick<IProduct, 'id' | 'name' | 'productID' | 'typeOf'>;
16
16
  export interface IAppliesToAddOn {
17
17
  typeOf: OfferType.Offer;
@@ -24,6 +24,8 @@ export interface IAccounting {
24
24
  */
25
25
  accountsReceivable?: number;
26
26
  }
27
+ export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
28
+ export declare type IEligibleTransactionVolume = Pick<IPriceSpecification<PriceSpecificationType>, 'typeOf' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'>;
27
29
  /**
28
30
  * 価格仕様
29
31
  */
@@ -32,8 +34,8 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
32
34
  id?: string;
33
35
  typeOf: T;
34
36
  name?: string | IMultilingualString;
35
- eligibleQuantity?: IQuantitativeValue<UnitCode>;
36
- eligibleTransactionVolume?: IPriceSpecification<PriceSpecificationType>;
37
+ eligibleQuantity?: IEligibleQuantity;
38
+ eligibleTransactionVolume?: IEligibleTransactionVolume;
37
39
  /**
38
40
  * 発生金額
39
41
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.274.0-alpha.1",
3
+ "version": "4.274.0-alpha.2",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",