@chevre/factory 4.314.0 → 4.315.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.
@@ -180,6 +180,9 @@ export interface ILocation {
180
180
  maximumAttendeeCapacity?: number;
181
181
  }
182
182
  export declare type IName = IMultilingualString;
183
+ export interface IOrganizer {
184
+ id: string;
185
+ }
183
186
  /**
184
187
  * イベント属性
185
188
  */
@@ -231,6 +234,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Event> {
231
234
  * オファー集計
232
235
  */
233
236
  aggregateOffer?: IAggregateOffer;
237
+ organizer: IOrganizer;
234
238
  }
235
239
  /**
236
240
  * イベント
@@ -5,7 +5,6 @@ import { EventType } from '../eventType';
5
5
  import { ILanguage } from '../language';
6
6
  import { IMultilingualString } from '../multilingualString';
7
7
  import { OfferType } from '../offerType';
8
- import { OrganizationType } from '../organizationType';
9
8
  import { PlaceType } from '../placeType';
10
9
  import { PriceCurrency } from '../priceCurrency';
11
10
  /**
@@ -39,9 +38,10 @@ export declare type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier'
39
38
  version?: string;
40
39
  };
41
40
  export interface IOrganizer {
42
- typeOf: OrganizationType.Corporation;
43
- identifier: string;
44
- name: IMultilingualString;
41
+ /**
42
+ * 販売者ID
43
+ */
44
+ id: string;
45
45
  }
46
46
  export interface ICOAInfo {
47
47
  titleBranchNum: string;
@@ -117,7 +117,7 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
117
117
  * 施設
118
118
  */
119
119
  location: ILocation;
120
- organizer?: IOrganizer;
120
+ organizer: IOrganizer;
121
121
  /**
122
122
  * カナ名称
123
123
  */
package/lib/event.d.ts CHANGED
@@ -94,8 +94,14 @@ export interface ISearchConditions<T extends EventType> {
94
94
  page?: number;
95
95
  sort?: ISortOrder;
96
96
  id?: {
97
+ $eq?: string;
97
98
  $in?: string[];
98
99
  };
100
+ organizer?: {
101
+ id?: {
102
+ $eq?: string;
103
+ };
104
+ };
99
105
  project?: {
100
106
  id?: {
101
107
  $eq?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.314.0",
3
+ "version": "4.315.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",