@chevre/factory 4.233.0 → 4.234.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.
@@ -7,16 +7,12 @@ import { AssetTransactionType } from '../../assetTransactionType';
7
7
  import { IPaymentServiceOutput } from '../../invoice';
8
8
  import { IMonetaryAmount } from '../../monetaryAmount';
9
9
  import { OrderType } from '../../order';
10
- import { OrganizationType } from '../../organizationType';
11
10
  import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
12
11
  import { IPropertyValue } from '../../propertyValue';
13
12
  import { PaymentServiceType } from '../../service/paymentService';
14
13
  import { TransactionType } from '../../transactionType';
15
14
  import { IAttributes as IInformActionAttributes } from '../interact/inform';
16
- export interface IAgent {
17
- id: string;
18
- typeOf: OrganizationType.Project;
19
- }
15
+ export declare type IAgent = ActionFactory.IParticipantAsProject;
20
16
  export import IRecipient = ActionFactory.IParticipantAsSeller;
21
17
  export interface IOrderAsPayPurpose {
22
18
  typeOf: OrderType.Order;
@@ -2,7 +2,7 @@ import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
3
  import { IAttributes as IInformActionAttributes } from '../interact/inform';
4
4
  import { IPaymentService as IPaymentServiceOnPay, IPayPurpose } from './pay';
5
- export declare type IAgent = ActionFactory.IParticipant;
5
+ export declare type IAgent = ActionFactory.IParticipantAsSeller | ActionFactory.IParticipantAsPerson;
6
6
  export declare type IRecipient = ActionFactory.IParticipant;
7
7
  export declare type IPaymentService = IPaymentServiceOnPay & {
8
8
  refundFee?: number;
@@ -13,7 +13,7 @@ export interface IPendingTransaction {
13
13
  identifier?: string;
14
14
  transactionNumber?: string;
15
15
  }
16
- export declare type IAgent = ActionFactory.IParticipant;
16
+ export declare type IAgent = ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsSeller;
17
17
  export declare type IRecipient = ActionFactory.IParticipant;
18
18
  /**
19
19
  * 匿名ロケーション
@@ -234,7 +234,7 @@ export interface ILocation {
234
234
  */
235
235
  maximumAttendeeCapacity?: number;
236
236
  }
237
- export declare type ISuperEvent = ScreeningEventSeriesFactory.IEvent;
237
+ export declare type ISuperEvent = Omit<ScreeningEventSeriesFactory.IEvent, 'eventStatus' | 'offers'>;
238
238
  export declare type IName = IMultilingualString;
239
239
  /**
240
240
  * イベント属性
@@ -10,7 +10,7 @@ import { PlaceType } from '../placeType';
10
10
  import { PriceCurrency } from '../priceCurrency';
11
11
  import { IProject } from '../project';
12
12
  /**
13
- * 施設コンテンツに対するオファーインターフェース
13
+ * 施設コンテンツに対するオファー
14
14
  */
15
15
  export interface IOffer {
16
16
  project: IProject;
@@ -27,7 +27,7 @@ export interface ISoundFormat {
27
27
  name: string;
28
28
  }
29
29
  /**
30
- * コンテンツインターフェース
30
+ * コンテンツ
31
31
  */
32
32
  export declare type IWorkPerformed = IMovie;
33
33
  export interface IOrganizer {
@@ -65,7 +65,7 @@ export interface ICOAInfo {
65
65
  */
66
66
  dateMvtkBegin: string;
67
67
  }
68
- export interface IAttributes extends EventFactory.IAttributes<EventType.ScreeningEventSeries> {
68
+ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventType.ScreeningEventSeries> {
69
69
  /**
70
70
  * 字幕利用可能言語
71
71
  */
@@ -91,9 +91,6 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
91
91
  */
92
92
  location: {
93
93
  project: IProject;
94
- /**
95
- * スキーマタイプ
96
- */
97
94
  typeOf: PlaceType.MovieTheater;
98
95
  /**
99
96
  * 場所ID
@@ -144,16 +141,17 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
144
141
  */
145
142
  coaInfo?: ICOAInfo;
146
143
  }
144
+ export declare type IAttributes = Omit<IEventSeriesAttributes, 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'>;
147
145
  /**
148
- * 施設コンテンツインターフェース
146
+ * 施設コンテンツ
149
147
  */
150
148
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
151
149
  /**
152
- * ソート条件インターフェース
150
+ * ソート条件
153
151
  */
154
152
  export declare type ISortOrder = EventFactory.ISortOrder;
155
153
  /**
156
- * イベントの検索条件インターフェース
154
+ * 検索条件
157
155
  */
158
156
  export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEventSeries> {
159
157
  sort?: ISortOrder;
@@ -8,6 +8,7 @@ import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecific
8
8
  import { IProject } from '../project';
9
9
  import * as ReservationFactory from '../reservation';
10
10
  import { ReservationType } from '../reservationType';
11
+ export declare type IOptimizedSuperEvent = Omit<ISuperEvent, 'subtitleLanguage' | 'dubLanguage' | 'organizer' | 'offers' | 'endDate' | 'startDate' | 'doorDate' | 'eventStatus'>;
11
12
  export interface IReservationFor {
12
13
  endDate: Date;
13
14
  eventStatus: EventStatusType;
@@ -25,7 +26,7 @@ export interface IReservationFor {
25
26
  name: IEventName;
26
27
  project: IProject;
27
28
  startDate: Date;
28
- superEvent: ISuperEvent;
29
+ superEvent: IOptimizedSuperEvent;
29
30
  typeOf: EventType.ScreeningEvent;
30
31
  doorTime?: Date;
31
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.233.0",
3
+ "version": "4.234.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",