@chevre/factory 4.263.0-alpha.0 → 4.265.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.
@@ -9,8 +9,7 @@ export declare type IAgent = ActionFactory.IParticipantAsProject;
9
9
  /**
10
10
  * 予約取消対象
11
11
  */
12
- export declare type IObject = IObject4future;
13
- export interface IObject4future {
12
+ export interface IObject {
14
13
  typeOf: ReservationType.EventReservation;
15
14
  id: string;
16
15
  issuedThrough?: {
@@ -89,6 +89,12 @@ export declare type IServiceType = IProductServiceType & {
89
89
  */
90
90
  export interface IItemOffered {
91
91
  id?: string;
92
+ /**
93
+ * 興行名称
94
+ */
95
+ name?: {
96
+ ja?: string;
97
+ };
92
98
  /**
93
99
  * 興行区分
94
100
  */
package/lib/event.d.ts CHANGED
@@ -7,11 +7,6 @@ import * as PlaceFactory from './place';
7
7
  import { IProject } from './project';
8
8
  import { IPropertyValue } from './propertyValue';
9
9
  import { SortType } from './sortType';
10
- export interface IHasOfferCatalog {
11
- typeOf: 'OfferCatalog';
12
- id: string;
13
- identifier?: string;
14
- }
15
10
  export interface IAttributes<T extends EventType> {
16
11
  project: Pick<IProject, 'id' | 'typeOf'>;
17
12
  /**
@@ -52,10 +47,6 @@ export interface IAttributes<T extends EventType> {
52
47
  * イベントがキャンセル、あるいは、延期された場合に主に使用されます。
53
48
  */
54
49
  eventStatus: EventStatusType;
55
- /**
56
- * Indicates an OfferCatalog listing for this Organization, Person, or Service.
57
- */
58
- hasOfferCatalog?: IHasOfferCatalog;
59
50
  headline?: IMultilingualString;
60
51
  /**
61
52
  * イベントが実行される場所
@@ -10,7 +10,6 @@ export declare type IServiceType = IProductServiceType & {
10
10
  };
11
11
  export interface IItemOffered {
12
12
  typeOf: ProductType;
13
- serviceType?: IServiceType;
14
13
  }
15
14
  export interface IItemListElement {
16
15
  typeOf: OfferType;
package/lib/order.d.ts CHANGED
@@ -16,7 +16,7 @@ import { IPerson, IProfile } from './person';
16
16
  import { PersonType } from './personType';
17
17
  import { PlaceType } from './placeType';
18
18
  import { PriceCurrency } from './priceCurrency';
19
- import { IProduct, IServiceType, ProductType } from './product';
19
+ import { IProduct, ProductType } from './product';
20
20
  import { IPropertyValue } from './propertyValue';
21
21
  import { IProgramMembershipUsedSearchConditions, ITicket, ITicketType } from './reservation';
22
22
  import * as EventReservationFactory from './reservation/event';
@@ -236,7 +236,7 @@ export interface IEventServiceAsOrderedItem {
236
236
  typeOf: ReservationType.EventReservation | ReservationType.ReservationPackage;
237
237
  reservationFor: IReservationFor4OrderedItem;
238
238
  };
239
- serviceType?: IServiceType;
239
+ serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
240
240
  }
241
241
  export declare type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
242
242
  /**
@@ -45,12 +45,14 @@ export interface ISubReservation {
45
45
  ticketedSeat: ReservationFactory.ISeat;
46
46
  };
47
47
  }
48
+ export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
49
+ export import IIssuedThrough = ReservationFactory.IIssuedThrough;
48
50
  /**
49
51
  * イベント予約
50
52
  */
51
53
  export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
52
54
  id: string;
53
- issuedThrough: ReservationFactory.IIssuedThrough;
55
+ issuedThrough: IIssuedThrough;
54
56
  reservationFor: IReservationFor;
55
57
  reservationNumber: string;
56
58
  reservationStatus: ReservationStatusType;
@@ -166,9 +166,11 @@ export interface IBroker {
166
166
  name?: string;
167
167
  }
168
168
  export declare type IProgramMembershipUsed = IPermit;
169
+ export declare type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
169
170
  export interface IIssuedThrough {
170
171
  typeOf: ProductType.EventService;
171
- serviceType?: IServiceType;
172
+ serviceType?: IServiceTypeOfIssuedThrough;
173
+ id?: string;
172
174
  }
173
175
  /**
174
176
  * 予約
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.263.0-alpha.0",
3
+ "version": "4.265.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",