@chevre/factory 4.329.0-alpha.3 → 4.329.0-alpha.4

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
@@ -69,6 +69,7 @@ import * as MerchantReturnPolicyFactory from './merchantReturnPolicy';
69
69
  import * as MonetaryAmountFactory from './monetaryAmount';
70
70
  import { IMultilingualString } from './multilingualString';
71
71
  import * as OfferFactory from './offer';
72
+ import * as AggregateOfferFactory from './offer/aggregateOffer';
72
73
  import * as OfferCatalogFactory from './offerCatalog';
73
74
  import * as OfferItemConditionFactory from './offerItemCondition';
74
75
  import { OfferType } from './offerType';
@@ -289,6 +290,7 @@ export declare namespace action {
289
290
  export import accountTitle = AccountTitleFactory;
290
291
  export import accountType = AccountType;
291
292
  export import additionalProperty = AdditionalPropertyFactory;
293
+ export import aggregateOffer = AggregateOfferFactory;
292
294
  export import authorization = AuthorizationFactory;
293
295
  export import categoryCode = CategoryCodeFactory;
294
296
  export import clientUser = ClientUserFactory;
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
4
- exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = void 0;
3
+ exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
4
+ exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = void 0;
5
5
  /**
6
6
  * factory
7
7
  */
@@ -66,6 +66,7 @@ var LanguageFactory = require("./language");
66
66
  var MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
67
67
  var MonetaryAmountFactory = require("./monetaryAmount");
68
68
  var OfferFactory = require("./offer");
69
+ var AggregateOfferFactory = require("./offer/aggregateOffer");
69
70
  var OfferCatalogFactory = require("./offerCatalog");
70
71
  var OfferItemConditionFactory = require("./offerItemCondition");
71
72
  var offerType_1 = require("./offerType");
@@ -271,6 +272,7 @@ var action;
271
272
  exports.accountTitle = AccountTitleFactory;
272
273
  exports.accountType = accountType_1.AccountType;
273
274
  exports.additionalProperty = AdditionalPropertyFactory;
275
+ exports.aggregateOffer = AggregateOfferFactory;
274
276
  exports.authorization = AuthorizationFactory;
275
277
  exports.categoryCode = CategoryCodeFactory;
276
278
  exports.clientUser = ClientUserFactory;
@@ -0,0 +1,13 @@
1
+ import { IUnitPriceOffer } from '../unitPriceOffer';
2
+ export declare type ISubOffer = IUnitPriceOffer;
3
+ /**
4
+ * 集計オファー
5
+ */
6
+ export interface IAggregateOffer extends IUnitPriceOffer {
7
+ /**
8
+ * サブオファー
9
+ * 基本的に1つの基本オファーが含まれる
10
+ * 条件によるバリエーションが存在する場合、2つ以上のオファーが含まれる
11
+ */
12
+ offers: ISubOffer[];
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -53,17 +53,6 @@ export interface ISettings {
53
53
  export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
54
54
  }
55
55
  export declare type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
56
- export declare type ISubOfferPriceSpecification = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'price' | 'typeOf'>;
57
- export interface ISubOffer extends Pick<IOffer, 'typeOf' | 'identifier' | 'name'> {
58
- /**
59
- * コード
60
- */
61
- identifier: string;
62
- /**
63
- * 単価仕様
64
- */
65
- priceSpecification: ISubOfferPriceSpecification;
66
- }
67
56
  /**
68
57
  * 単価オファー
69
58
  */
@@ -79,12 +68,6 @@ export interface IUnitPriceOffer extends Pick<IOffer, 'project' | 'typeOf' | 'pr
79
68
  */
80
69
  identifier: string;
81
70
  name: IName;
82
- /**
83
- * サブオファー
84
- * 基本的に1つの基本オファーが含まれる
85
- * 条件によるバリエーションが存在する場合、2つ以上のオファーが含まれる
86
- */
87
- offers: ISubOffer[];
88
71
  /**
89
72
  * 単価仕様
90
73
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.329.0-alpha.3",
3
+ "version": "4.329.0-alpha.4",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",