@chevre/factory 4.396.0 → 4.397.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.
@@ -146,6 +146,9 @@ export interface IOffer {
146
146
  unacceptedPaymentMethod?: EventFactory.IUnacceptedPaymentMethodType[];
147
147
  seller: ISeller;
148
148
  }
149
+ /**
150
+ * イベントのルーム
151
+ */
149
152
  export interface ILocation {
150
153
  typeOf: PlaceType.ScreeningRoom;
151
154
  /**
@@ -153,17 +156,20 @@ export interface ILocation {
153
156
  */
154
157
  branchCode: string;
155
158
  /**
156
- * 場所名称
159
+ * ルームの名称を同期
157
160
  */
158
161
  name?: IMultilingualString;
159
- alternateName?: IMultilingualString;
160
- description?: IMultilingualString;
162
+ /**
163
+ * ルームのアドレスを同期
164
+ * COAでは値無し
165
+ */
161
166
  address?: IMultilingualString;
162
167
  /**
163
- * イベント固有のキャパシティ
164
- * 施設のキャパシティに依存しない場合に使用
168
+ * maximumPhysicalAttendeeCapacityへ移行
169
+ * 2025-08-24時点で、まだ実態としては属性が残っている
170
+ * 2025-08-30: 値をunset
165
171
  */
166
- maximumAttendeeCapacity?: number;
172
+ maximumAttendeeCapacity?: never;
167
173
  }
168
174
  export type IName = IMultilingualString;
169
175
  export interface IOrganizer {
@@ -172,9 +178,9 @@ export interface IOrganizer {
172
178
  /**
173
179
  * イベント属性
174
180
  */
175
- export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Event>, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'typeOf'> {
181
+ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Event>, 'maximumPhysicalAttendeeCapacity' | 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'typeOf'> {
176
182
  /**
177
- * 上映場所
183
+ * ルーム
178
184
  */
179
185
  location: ILocation;
180
186
  /**
@@ -218,7 +224,13 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
218
224
  * イベント
219
225
  */
220
226
  export type IEvent = EventFactory.IEvent<IAttributes>;
221
- export type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
227
+ export type ILocation4create = Pick<ILocation, 'branchCode'> & {
228
+ /**
229
+ * イベント固有のキャパシティ
230
+ * 施設のキャパシティに依存しない場合に使用
231
+ */
232
+ maximumAttendeeCapacity?: number;
233
+ };
222
234
  export interface IMemberProgramTier4create {
223
235
  isTierOf: {
224
236
  identifier: string;
@@ -107,7 +107,7 @@ export import IName = AnyEventFactory.IName;
107
107
  /**
108
108
  * イベント属性
109
109
  */
110
- export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
110
+ export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'maximumPhysicalAttendeeCapacity' | 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
111
111
  /**
112
112
  * 親イベント
113
113
  * 施設コンテンツに相当
package/lib/event.d.ts CHANGED
@@ -55,9 +55,14 @@ export interface IAttributes<T extends EventType> {
55
55
  */
56
56
  location?: Omit<PlaceFactory.IPlace, 'project'>;
57
57
  /**
58
- * 最大収容人数
58
+ * 予約集計結果としてのキャパシティ
59
59
  */
60
60
  maximumAttendeeCapacity?: number;
61
+ /**
62
+ * イベント固有のキャパシティ
63
+ * 施設のキャパシティに依存しない場合に使用
64
+ */
65
+ maximumPhysicalAttendeeCapacity?: number;
61
66
  /**
62
67
  * An offer to provide this item—for example, an offer to sell a product,
63
68
  * rent the DVD of a movie, perform a service, or give away tickets to an event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.396.0",
3
+ "version": "4.397.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",