@chevre/factory 4.259.0-alpha.5 → 4.259.0-alpha.6

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.
@@ -1,15 +1,15 @@
1
1
  import { IMultilingualString } from '../multilingualString';
2
2
  import * as OfferFactory from '../offer';
3
- import { IOrganization } from '../organization';
4
3
  import * as PlaceFactory from '../place';
5
4
  import { PlaceType } from '../placeType';
6
5
  import { IQuantitativeValue } from '../quantitativeValue';
6
+ import { ISeller } from '../seller';
7
7
  import { UnitCode } from '../unitCode';
8
8
  import { IPlace as IScreeningRoom } from './screeningRoom';
9
9
  /**
10
10
  * 施設に対するオファーインターフェース
11
11
  */
12
- export interface IOffer extends OfferFactory.IOffer {
12
+ export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'project' | 'typeOf' | 'eligibleQuantity'> {
13
13
  /**
14
14
  * イベント開始前の販売猶予期間
15
15
  */
@@ -26,11 +26,28 @@ export declare type POSType = 'POS';
26
26
  */
27
27
  export interface IPOS {
28
28
  typeOf: POSType;
29
+ /**
30
+ * コード
31
+ */
29
32
  id: string;
33
+ /**
34
+ * 名称
35
+ */
30
36
  name: string;
31
37
  }
32
- export declare type IEntranceGate = PlaceFactory.IPlace;
33
- export declare type IParentOrganization = IOrganization;
38
+ /**
39
+ * 入場ゲート
40
+ */
41
+ export declare type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
42
+ typeOf: PlaceType.Place;
43
+ identifier: string;
44
+ };
45
+ /**
46
+ * 親組織
47
+ */
48
+ export declare type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
49
+ id: string;
50
+ };
34
51
  /**
35
52
  * place interface without screening room
36
53
  */
@@ -40,9 +57,9 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
40
57
  /**
41
58
  * ルーム数
42
59
  */
43
- screenCount: number;
60
+ screenCount?: number;
44
61
  /**
45
- * 枝番号
62
+ * 施設コード
46
63
  */
47
64
  branchCode: string;
48
65
  /**
@@ -5,7 +5,7 @@ import { IPlace as IScreeningRoomSection } from './screeningRoomSection';
5
5
  /**
6
6
  * ルームインターフェース
7
7
  */
8
- export interface IPlace extends PlaceFactory.IPlace {
8
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'address' | 'containedInPlace' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
9
9
  typeOf: PlaceType.ScreeningRoom;
10
10
  /**
11
11
  * セクションリスト
@@ -4,7 +4,7 @@ import { IPlace as ISeat, IPlaceWithOffer as ISeatWithOffer } from './seat';
4
4
  /**
5
5
  * セクションインターフェース
6
6
  */
7
- export interface IPlace extends PlaceFactory.IPlace {
7
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'name' | 'containedInPlace' | 'containsPlace' | 'additionalProperty'> {
8
8
  typeOf: PlaceType.ScreeningRoomSection;
9
9
  /**
10
10
  * 座席リスト
@@ -27,7 +27,7 @@ export declare type ISeatingType = string | string[];
27
27
  /**
28
28
  * 座席インターフェース
29
29
  */
30
- export interface IPlace extends PlaceFactory.IPlace {
30
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'containedInPlace' | 'additionalProperty' | 'name'> {
31
31
  typeOf: PlaceType.Seat;
32
32
  /**
33
33
  * 枝番号
@@ -15,6 +15,7 @@ export interface IPlace extends IThing {
15
15
  containedInPlace?: IPlace;
16
16
  containsPlace?: IPlace[];
17
17
  maximumAttendeeCapacity?: number;
18
+ name?: IMultilingualString;
18
19
  openingHoursSpecification?: any;
19
20
  openSeatingAllowed?: boolean;
20
21
  smokingAllowed?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.259.0-alpha.5",
3
+ "version": "4.259.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",