@chevre/factory 8.0.0-alpha.7 → 8.0.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.
@@ -4,7 +4,7 @@ import { IAbout as INoteAbout } from '../../creativeWork/noteDigitalDocument';
4
4
  import { CreativeWorkType } from '../../creativeWorkType';
5
5
  import { IPerson } from '../../person';
6
6
  import { IInstrumentAsApplication } from './instrumentAsApplication';
7
- import { IEvent as IEventSeries } from '../../event/screeningEventSeries';
7
+ import { IEvent as IEventSeries } from '../../event/eventSeries';
8
8
  import { IAggregateOffer } from '../../offer/aggregateOffer';
9
9
  import { IOfferCatalog } from '../../offerCatalog';
10
10
  import { IGood, IOwnershipInfo } from '../../ownershipInfo';
@@ -1,6 +1,6 @@
1
1
  import { ICreativeWork as IMovie } from '../../../creativeWork/movie';
2
2
  import { CreativeWorkType } from '../../../creativeWorkType';
3
- import { IEvent as IEventSeries } from '../../../event/screeningEventSeries';
3
+ import { IEvent as IEventSeries } from '../../../event/eventSeries';
4
4
  import { EventType } from '../../../eventType';
5
5
  import { IOfferCatalog } from '../../../offerCatalog';
6
6
  import { IOrder } from '../../../order';
@@ -1,6 +1,6 @@
1
1
  import { ICreativeWork as IMovie } from '../../../creativeWork/movie';
2
2
  import { CreativeWorkType } from '../../../creativeWorkType';
3
- import { IEvent as IEventSeries } from '../../../event/screeningEventSeries';
3
+ import { IEvent as IEventSeries } from '../../../event/eventSeries';
4
4
  import { EventType } from '../../../eventType';
5
5
  import { IOfferCatalog } from '../../../offerCatalog';
6
6
  import { IOrder } from '../../../order';
@@ -1,7 +1,7 @@
1
1
  import { ICreativeWork as IMovie } from '../../../creativeWork/movie';
2
2
  import { IAbout as INoteAbout } from '../../../creativeWork/noteDigitalDocument';
3
3
  import { CreativeWorkType } from '../../../creativeWorkType';
4
- import { IEvent as IEventSeries } from '../../../event/screeningEventSeries';
4
+ import { IEvent as IEventSeries } from '../../../event/eventSeries';
5
5
  import { EventType } from '../../../eventType';
6
6
  import { IOfferCatalog } from '../../../offerCatalog';
7
7
  import { OrderType } from '../../../order';
@@ -17,14 +17,6 @@ export interface ISingleOffer {
17
17
  */
18
18
  unacceptedPaymentMethod?: IUnacceptedPaymentMethodType[];
19
19
  }
20
- /**
21
- * 施設コンテンツに対する集約オファー
22
- * 対応決済方法は別リポジトリで管理される
23
- */
24
- export interface IAggregateOffer {
25
- typeOf: OfferType.AggregateOffer;
26
- unacceptedPaymentMethod?: never;
27
- }
28
20
  export interface IVideoFormat {
29
21
  typeOf: string;
30
22
  name: string;
@@ -118,7 +110,6 @@ export interface IAttributes extends Pick<IBaseAttributes<EventType.ScreeningEve
118
110
  * 吹替利用可能言語
119
111
  */
120
112
  dubLanguage?: ILanguage;
121
- videoFormat?: never;
122
113
  /**
123
114
  * 音響方式
124
115
  */
@@ -154,7 +145,7 @@ export interface IAttributes extends Pick<IBaseAttributes<EventType.ScreeningEve
154
145
  /**
155
146
  * 販売情報
156
147
  */
157
- offers?: ISingleOffer | IAggregateOffer;
148
+ offers?: ISingleOffer;
158
149
  /**
159
150
  * その他COA情報
160
151
  */
@@ -217,6 +208,10 @@ export interface ISearchConditions extends Pick<IBaseSearchConditions<EventType.
217
208
  $eq?: string;
218
209
  };
219
210
  };
211
+ /**
212
+ * 上映方式区分
213
+ * subEvent.videoFormatで検索します
214
+ */
220
215
  videoFormat?: {
221
216
  typeOf?: {
222
217
  $eq?: string;
@@ -1,6 +1,6 @@
1
1
  import type { COAFactory } from '@coasystems/factory';
2
2
  import { IEvent as IBaseEvent, ISearchConditions as IBaseSearchConditions, ISortOrder } from '../event';
3
- import { IEvent as IEventSeries, IUnacceptedPaymentMethodType } from '../event/screeningEventSeries';
3
+ import { IEvent as IEventSeries, IUnacceptedPaymentMethodType } from './eventSeries';
4
4
  import { EventType } from '../eventType';
5
5
  import { OfferType } from '../offerType';
6
6
  import { PlaceType } from '../placeType';
@@ -54,7 +54,7 @@ import * as CustomerFactory from './customer';
54
54
  import * as EncodingFormat from './encodingFormat';
55
55
  import * as entryPoint from './entryPoint';
56
56
  import * as ScreeningEventFactory from './event/screeningEvent';
57
- import * as ScreeningEventSeriesFactory from './event/screeningEventSeries';
57
+ export * as eventSeries from './event/eventSeries';
58
58
  import { EventStatusType } from './eventStatusType';
59
59
  import { EventType } from './eventType';
60
60
  import * as IAMFactory from './iam';
@@ -334,7 +334,6 @@ export import customer = CustomerFactory;
334
334
  export declare namespace event {
335
335
  export import screeningEvent = ScreeningEventFactory;
336
336
  }
337
- export import eventSeries = ScreeningEventSeriesFactory;
338
337
  export import encodingFormat = EncodingFormat;
339
338
  export { entryPoint };
340
339
  export import eventStatusType = EventStatusType;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.cognito = exports.waiter = void 0;
3
+ exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.eventSeries = exports.cognito = exports.waiter = void 0;
4
4
  exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = void 0;
5
5
  exports.waiter = require("@waiter/factory");
6
6
  exports.cognito = require("./cognito");
@@ -57,7 +57,7 @@ const EncodingFormat = require("./encodingFormat");
57
57
  const entryPoint = require("./entryPoint");
58
58
  exports.entryPoint = entryPoint;
59
59
  const ScreeningEventFactory = require("./event/screeningEvent");
60
- const ScreeningEventSeriesFactory = require("./event/screeningEventSeries");
60
+ exports.eventSeries = require("./event/eventSeries");
61
61
  const eventStatusType_1 = require("./eventStatusType");
62
62
  const eventType_1 = require("./eventType");
63
63
  const IAMFactory = require("./iam");
@@ -328,7 +328,6 @@ var event;
328
328
  (function (event) {
329
329
  event.screeningEvent = ScreeningEventFactory;
330
330
  })(event || (exports.event = event = {}));
331
- exports.eventSeries = ScreeningEventSeriesFactory; // reimplement from event.screeningEventSeries
332
331
  exports.encodingFormat = EncodingFormat;
333
332
  exports.eventStatusType = eventStatusType_1.EventStatusType;
334
333
  exports.eventType = eventType_1.EventType;
@@ -1,4 +1,4 @@
1
- import { IEvent as IEventSeries, IVideoFormat } from '../event/screeningEventSeries';
1
+ import { IEvent as IEventSeries, IVideoFormat } from '../event/eventSeries';
2
2
  /**
3
3
  * 外部への施設コンテンツ通知
4
4
  * redefine(2025-11-01~)
@@ -1,5 +1,5 @@
1
1
  import { ILocation as IEventLocation, IName as IEventName, ISuperEvent } from '../event/screeningEvent';
2
- import { IWorkPerformed } from '../event/screeningEventSeries';
2
+ import { IWorkPerformed } from '../event/eventSeries';
3
3
  import { EventType } from '../eventType';
4
4
  import { IMultilingualString } from '../multilingualString';
5
5
  import { ICategory as IOfferCategory, IValidRateLimit } from '../offer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "8.0.0-alpha.7",
3
+ "version": "8.0.0",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [