@chevre/factory 4.397.0 → 4.398.0-alpha.1

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.
@@ -224,13 +224,13 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
224
224
  * イベント
225
225
  */
226
226
  export type IEvent = EventFactory.IEvent<IAttributes>;
227
- export type ILocation4create = Pick<ILocation, 'branchCode'> & {
227
+ export interface ILocation4create {
228
+ branchCode?: never;
228
229
  /**
229
- * イベント固有のキャパシティ
230
- * 施設のキャパシティに依存しない場合に使用
230
+ * migrate to maximumPhysicalAttendeeCapacity(2025-09-01~)
231
231
  */
232
- maximumAttendeeCapacity?: number;
233
- };
232
+ maximumAttendeeCapacity?: never;
233
+ }
234
234
  export interface IMemberProgramTier4create {
235
235
  isTierOf: {
236
236
  identifier: string;
@@ -290,7 +290,7 @@ export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime'
290
290
  /**
291
291
  * ルームコードとキャパシティを指定
292
292
  */
293
- location: ILocation4create;
293
+ location?: ILocation4create;
294
294
  offers: IOffers4create;
295
295
  };
296
296
  /**
@@ -146,11 +146,11 @@ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
146
146
  */
147
147
  seller: ISeller4create;
148
148
  };
149
- export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty' | 'identifier'> & {
149
+ export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty' | 'identifier' | 'maximumPhysicalAttendeeCapacity'> & {
150
150
  /**
151
151
  * ルームコードとキャパシティを指定
152
152
  */
153
- location: ILocation4create;
153
+ location?: ILocation4create;
154
154
  /**
155
155
  * 施設コンテンツIDを指定
156
156
  */
@@ -160,7 +160,9 @@ export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime'
160
160
  /**
161
161
  * イベント更新パラメータ
162
162
  */
163
- export type IUpdateParams = ICreateParams;
163
+ export type IUpdateParams = Pick<ICreateParams, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'offers' | 'startDate' | 'maximumPhysicalAttendeeCapacity'> & {
164
+ location: Pick<ILocation4create, 'maximumAttendeeCapacity'>;
165
+ };
164
166
  /**
165
167
  * ソート条件
166
168
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.397.0",
3
+ "version": "4.398.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",