@chevre/factory 4.313.0-alpha.9 → 4.313.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.
Files changed (46) hide show
  1. package/example/informPayAction.json +8 -1
  2. package/lib/action/cancel/reservation.d.ts +4 -4
  3. package/lib/action/reserve.d.ts +4 -5
  4. package/lib/action/transfer/send/message/email.d.ts +4 -3
  5. package/lib/action/transfer/send/order.d.ts +3 -3
  6. package/lib/action/update/delete/member.d.ts +15 -5
  7. package/lib/action.d.ts +16 -0
  8. package/lib/additionalProperty.d.ts +7 -1
  9. package/lib/assetTransaction/reserve.d.ts +30 -3
  10. package/lib/categoryCode.d.ts +1 -0
  11. package/lib/creativeWork/movie.d.ts +4 -0
  12. package/lib/event/anyEvent.d.ts +1 -0
  13. package/lib/event/screeningEvent.d.ts +7 -2
  14. package/lib/event/screeningEventSeries.d.ts +4 -2
  15. package/lib/index.d.ts +13 -7
  16. package/lib/index.js +10 -2
  17. package/lib/offerItemCondition.d.ts +4 -0
  18. package/lib/order.d.ts +7 -15
  19. package/lib/place/movieTheater.d.ts +1 -1
  20. package/lib/place/screeningRoom.d.ts +9 -1
  21. package/lib/product.d.ts +8 -0
  22. package/lib/report/accountingReport.d.ts +8 -4
  23. package/lib/reservation/busReservation.d.ts +1 -2
  24. package/lib/reservation/event.d.ts +1 -2
  25. package/lib/reservation/pendingReservationPackage.d.ts +24 -0
  26. package/lib/reservation/pendingReservationPackage.js +14 -0
  27. package/lib/reservation.d.ts +7 -6
  28. package/lib/seller.d.ts +7 -0
  29. package/lib/service/paymentService.d.ts +6 -2
  30. package/lib/task/deleteTransaction.d.ts +22 -1
  31. package/lib/task/deleteTransaction.js +9 -0
  32. package/lib/task/onAuthorizationCreated.d.ts +24 -0
  33. package/lib/task/{deleteMember.d.ts → onEventChanged.d.ts} +12 -4
  34. package/lib/task/onResourceUpdated.d.ts +28 -0
  35. package/lib/task/{deleteOrder.d.ts → syncScreeningRooms.d.ts} +11 -4
  36. package/lib/task/syncScreeningRooms.js +2 -0
  37. package/lib/task/useReservation.d.ts +20 -0
  38. package/lib/task/useReservation.js +2 -0
  39. package/lib/taskName.d.ts +36 -34
  40. package/lib/taskName.js +36 -33
  41. package/lib/transaction/returnOrder.d.ts +3 -0
  42. package/package.json +1 -1
  43. package/lib/task/deleteAssetTransaction.d.ts +0 -25
  44. /package/lib/task/{deleteAssetTransaction.js → onAuthorizationCreated.js} +0 -0
  45. /package/lib/task/{deleteMember.js → onEventChanged.js} +0 -0
  46. /package/lib/task/{deleteOrder.js → onResourceUpdated.js} +0 -0
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "paymentMethod": {
6
6
  /**
7
- * ムビチケリスト
7
+ * 決済カードリスト
8
8
  */
9
9
  "serviceOutput": [
10
10
  {
@@ -12,6 +12,13 @@
12
12
  * 購入番号
13
13
  */
14
14
  "identifier": "2127021398",
15
+ "amount": {
16
+ /**
17
+ * 決済カード計上金額
18
+ * 認証レスポンスに値が存在する場合のみ含まれます
19
+ */
20
+ "value": 1200
21
+ },
15
22
  "serviceOutput": {
16
23
  /**
17
24
  * 予約の価格仕様
@@ -3,7 +3,7 @@ import { ActionType } from '../../actionType';
3
3
  import { AssetTransactionType } from '../../assetTransactionType';
4
4
  import { EventType } from '../../eventType';
5
5
  import { ProductType } from '../../product';
6
- import { ReservationStatusType } from '../../reservationStatusType';
6
+ import { IAvailableReservationStatusType } from '../../reservation';
7
7
  import { ReservationType } from '../../reservationType';
8
8
  import { TripType } from '../../tripType';
9
9
  export declare type IAgent = ActionFactory.IParticipantAsProject;
@@ -16,7 +16,7 @@ export interface IReservationPackageAsObject {
16
16
  /**
17
17
  * previousReservationStatusを変更時に指定するために必要
18
18
  */
19
- reservationStatus: ReservationStatusType;
19
+ reservationStatus: IAvailableReservationStatusType;
20
20
  typeOf: ReservationType.ReservationPackage;
21
21
  }
22
22
  export interface IBusReservationAsObject {
@@ -32,7 +32,7 @@ export interface IBusReservationAsObject {
32
32
  /**
33
33
  * previousReservationStatusを変更時に指定するために必要
34
34
  */
35
- reservationStatus: ReservationStatusType;
35
+ reservationStatus: IAvailableReservationStatusType;
36
36
  typeOf: ReservationType.BusReservation;
37
37
  }
38
38
  /**
@@ -51,7 +51,7 @@ export interface IEventReservationAsObject {
51
51
  /**
52
52
  * previousReservationStatusを変更時に指定するために必要
53
53
  */
54
- reservationStatus: ReservationStatusType;
54
+ reservationStatus: IAvailableReservationStatusType;
55
55
  typeOf: ReservationType.EventReservation;
56
56
  }
57
57
  export declare type IObject = IBusReservationAsObject | IEventReservationAsObject | IReservationPackageAsObject;
@@ -2,20 +2,19 @@ import * as ActionFactory from '../action';
2
2
  import { ActionType } from '../actionType';
3
3
  import { AssetTransactionType } from '../assetTransactionType';
4
4
  import { OrderType } from '../order';
5
- import { IUnderName } from '../reservation';
5
+ import { IAvailableReservationStatusType } from '../reservation';
6
6
  import { IReservation as IBusReservation, IReservationFor as IBusReservationFor } from '../reservation/busReservation';
7
7
  import { IReservation as IEventReservation, IReservationFor as IEventReservationFor } from '../reservation/event';
8
- import { ReservationStatusType } from '../reservationStatusType';
9
8
  import { ReservationType } from '../reservationType';
10
9
  import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
11
10
  export declare type IAgent = ActionFactory.IParticipantAsProject;
12
- export declare type ISubReservation = Omit<IBusReservation, 'reservationFor'> | Omit<IEventReservation, 'reservationFor'>;
11
+ export declare type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough';
12
+ export declare type ISubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
13
13
  export declare type IReservationFor = IBusReservationFor | IEventReservationFor;
14
14
  export interface IReservationPackageAsObject {
15
15
  reservationFor: IReservationFor;
16
16
  reservationNumber: string;
17
- reservationStatus: ReservationStatusType;
18
- underName?: IUnderName;
17
+ reservationStatus: IAvailableReservationStatusType;
19
18
  typeOf: ReservationType.ReservationPackage;
20
19
  }
21
20
  export declare type IObject = IReservationPackageAsObject;
@@ -1,9 +1,9 @@
1
- import * as ActionFactory from '../../../../action';
1
+ import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../../action';
2
2
  import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
3
3
  import { ISimpleOrder } from '../../../../order';
4
4
  import * as SendActionFactory from '../../send';
5
- export declare type IAgent = ActionFactory.IParticipantAsProject;
6
- export declare type IRecipient = ActionFactory.IParticipant;
5
+ export declare type IAgent = IParticipantAsProject;
6
+ export declare type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
7
7
  /**
8
8
  * オブジェクト
9
9
  * 「Eメール通知」を送信する
@@ -17,6 +17,7 @@ export interface IAttributes extends SendActionFactory.IAttributes<IObject, IRes
17
17
  agent: IAgent;
18
18
  purpose: IPurpose;
19
19
  potentialActions?: IPotentialActions;
20
+ recipient: IRecipient;
20
21
  }
21
22
  /**
22
23
  * Eメール送信アクション
@@ -1,4 +1,4 @@
1
- import * as ActionFactory from '../../../action';
1
+ import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../action';
2
2
  import * as OrderFactory from '../../../order';
3
3
  import * as OwnershipInfoFactory from '../../../ownershipInfo';
4
4
  import * as WebAPIFactory from '../../../service/webAPI';
@@ -7,8 +7,8 @@ import { IAttributes as IRegisterServiceAttributes } from '../../interact/confir
7
7
  import { IAttributes as IConfirmReservationActionAttributes } from '../../interact/confirm/reservation';
8
8
  import * as SendActionFactory from '../send';
9
9
  import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
10
- export declare type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsProject | ActionFactory.IParticipantAsWebApplication;
11
- export declare type IRecipient = ActionFactory.IParticipant;
10
+ export declare type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
11
+ export declare type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
12
12
  export declare type IObject = OrderFactory.ISimpleOrder;
13
13
  /**
14
14
  * 注文配送結果としての所有権
@@ -1,11 +1,21 @@
1
1
  import { IPerson } from '../../../person';
2
2
  import * as DeleteActionFactory from '../delete';
3
- export declare type IObject = IPerson;
3
+ export declare type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
4
+ /**
5
+ * 新ユーザープールへ移行するかどうか
6
+ */
7
+ migrate?: boolean;
8
+ /**
9
+ * 移行会員通知先
10
+ */
11
+ migratePersonRecipientUrl?: string;
12
+ /**
13
+ * ユーザープールから物理削除するかどうか
14
+ */
15
+ physically?: boolean;
16
+ };
4
17
  export declare type IResult = any;
5
- export interface IPotentialActions {
6
- }
7
- export interface IAttributes extends DeleteActionFactory.IAttributes<IObject, IResult> {
8
- potentialActions?: IPotentialActions;
18
+ export interface IAttributes extends Omit<DeleteActionFactory.IAttributes<IObject, IResult>, 'potentialActions'> {
9
19
  }
10
20
  /**
11
21
  * 会員削除アクション
package/lib/action.d.ts CHANGED
@@ -123,6 +123,18 @@ export interface ISearchConditions {
123
123
  $eq?: string;
124
124
  $in?: string[];
125
125
  };
126
+ movieTickets?: {
127
+ identifier?: {
128
+ $eq?: string;
129
+ };
130
+ serviceOutput?: {
131
+ reservationFor?: {
132
+ id?: {
133
+ $eq?: string;
134
+ };
135
+ };
136
+ };
137
+ };
126
138
  object?: {
127
139
  paymentMethodId?: {
128
140
  $eq?: string;
@@ -136,6 +148,10 @@ export interface ISearchConditions {
136
148
  $eq?: string;
137
149
  };
138
150
  };
151
+ reservationNumber?: {
152
+ $eq?: string;
153
+ $in?: string[];
154
+ };
139
155
  paymentMethod?: {
140
156
  accountId?: {
141
157
  $eq?: string;
@@ -1,13 +1,19 @@
1
+ import { ICategoryCode } from './categoryCode';
1
2
  import { CreativeWorkType } from './creativeWorkType';
2
3
  import { EventType } from './eventType';
3
4
  import { IMultilingualString } from './multilingualString';
5
+ import { IOfferCatalog } from './offerCatalog';
4
6
  import { OfferType } from './offerType';
5
7
  import { OrderType } from './order';
6
8
  import { IProject } from './project';
7
9
  import { PropertyValueType } from './propertyValue';
10
+ import { ISeller } from './seller';
8
11
  import { SortType } from './sortType';
9
12
  import { IThing } from './thing';
10
- export declare type CategorySetIdentifier = CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | 'OfferCatalog' | OfferType.Offer | OrderType.Order;
13
+ export declare type CategoryCodeType = ICategoryCode['typeOf'];
14
+ export declare type OfferCatalogType = IOfferCatalog['typeOf'];
15
+ export declare type SellerType = ISeller['typeOf'];
16
+ export declare type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | SellerType;
11
17
  /**
12
18
  * {@link https://schema.org/CategoryCodeSet}
13
19
  */
@@ -6,8 +6,8 @@ import { AssetTransactionType } from '../assetTransactionType';
6
6
  import { IExtendId } from '../autoGenerated';
7
7
  import { IPropertyValue } from '../propertyValue';
8
8
  import * as ReservationFactory from '../reservation';
9
- import { IReservationFor as IBusReservationReservationFor } from '../reservation/busReservation';
10
- import { IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
9
+ import { IIssuedThrough as IBusReservationIssuedThrough, IReservationFor as IBusReservationReservationFor } from '../reservation/busReservation';
10
+ import { IIssuedThrough as IEventReservationIssuedThrough, IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
11
11
  import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
12
12
  import { ReservationType } from '../reservationType';
13
13
  export import IAgent = AssetTransactionFactory.IAgent;
@@ -209,13 +209,22 @@ export interface IObjectWithoutDetail {
209
209
  }
210
210
  export declare type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
211
211
  export declare type IObjectSubReservation = ReserveActionFactory.ISubReservation;
212
+ export declare type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
213
+ export declare type IMinimizedObjectSubReservation = Pick<ReserveActionFactory.ISubReservation, 'typeOf' | 'id' | 'subReservation'> & {
214
+ reservedTicket: IObjectSubReservationReservedTicket;
215
+ };
216
+ export declare type IIssuedThrough = IBusReservationIssuedThrough | IEventReservationIssuedThrough;
212
217
  /**
213
218
  * 取引対象物
214
219
  */
215
- export interface IObject extends IReservationPackage {
220
+ export interface IObject extends Pick<IReservationPackage, 'broker' | 'reservationStatus' | 'underName' | 'typeOf'> {
216
221
  acceptedOffer?: IAcceptedOffer4object[];
222
+ issuedThrough?: IIssuedThrough;
217
223
  reservationFor?: IReservationFor;
224
+ reservationNumber: string;
218
225
  subReservation?: IObjectSubReservation[];
226
+ disablePendingReservations: boolean;
227
+ useHoldStockByTransactionNumber?: boolean;
219
228
  }
220
229
  export interface IPotentialActions {
221
230
  reserve: ReserveActionFactory.IAttributes[];
@@ -227,8 +236,14 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
227
236
  */
228
237
  export declare type ITransaction = IExtendId<IAttributes>;
229
238
  export interface IObjectSearchConditions {
239
+ reservationFor?: {
240
+ id?: {
241
+ $eq?: string;
242
+ };
243
+ };
230
244
  reservationNumber?: {
231
245
  $eq?: string;
246
+ $in?: string[];
232
247
  };
233
248
  reservations?: {
234
249
  id?: {
@@ -242,6 +257,18 @@ export interface IObjectSearchConditions {
242
257
  $in?: string[];
243
258
  };
244
259
  };
260
+ reservedTicket?: {
261
+ ticketedSeat?: {
262
+ seatNumber?: {
263
+ $eq?: string;
264
+ };
265
+ };
266
+ };
267
+ };
268
+ underName?: {
269
+ id?: {
270
+ $eq?: string;
271
+ };
245
272
  };
246
273
  }
247
274
  export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Reserve> {
@@ -90,6 +90,7 @@ export interface ISearchConditions {
90
90
  };
91
91
  id?: {
92
92
  $eq?: string;
93
+ $in?: string[];
93
94
  };
94
95
  name?: {
95
96
  $regex?: string;
@@ -66,6 +66,10 @@ export interface ISearchConditions {
66
66
  $eq?: string;
67
67
  };
68
68
  };
69
+ id?: {
70
+ $eq?: string;
71
+ $in?: string[];
72
+ };
69
73
  identifier?: string | {
70
74
  $eq?: string;
71
75
  $in?: string[];
@@ -389,6 +389,7 @@ export interface ISearchConditions extends EventFactory.ISearchConditions<EventT
389
389
  */
390
390
  branchCode?: {
391
391
  $eq?: string;
392
+ $in?: string[];
392
393
  };
393
394
  };
394
395
  /**
@@ -92,7 +92,11 @@ export interface IOffer {
92
92
  unacceptedPaymentMethod?: string[];
93
93
  seller: ISeller;
94
94
  }
95
- export declare type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough' | 'priceCurrency'>;
95
+ export declare type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough' | 'priceCurrency'> & {
96
+ itemOffered: {
97
+ serviceOutput: Pick<IServiceOutput, 'reservedTicket'>;
98
+ };
99
+ };
96
100
  export interface ICOAInfo {
97
101
  theaterCode: string;
98
102
  dateJouei: string;
@@ -163,7 +167,7 @@ export declare type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
163
167
  };
164
168
  export declare type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
165
169
  export import ILocation = AnyEventFactory.ILocation;
166
- export declare type ISuperEvent = Omit<ScreeningEventSeriesFactory.IEvent, 'eventStatus' | 'offers' | 'organizer'>;
170
+ export declare type ISuperEvent = Pick<ScreeningEventSeriesFactory.IEvent, 'typeOf' | 'id' | 'videoFormat' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'startDate' | 'endDate' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'>;
167
171
  export import IName = AnyEventFactory.IName;
168
172
  /**
169
173
  * イベント属性
@@ -297,6 +301,7 @@ export interface ISearchConditions extends EventFactory.ISearchConditions<EventT
297
301
  */
298
302
  branchCode?: {
299
303
  $eq?: string;
304
+ $in?: string[];
300
305
  };
301
306
  };
302
307
  /**
@@ -8,14 +8,15 @@ import { OfferType } from '../offerType';
8
8
  import { OrganizationType } from '../organizationType';
9
9
  import { PlaceType } from '../placeType';
10
10
  import { PriceCurrency } from '../priceCurrency';
11
- import { IProject } from '../project';
12
11
  /**
13
12
  * 施設コンテンツに対するオファー
14
13
  */
15
14
  export interface IOffer {
16
- project: Pick<IProject, 'id' | 'typeOf'>;
17
15
  typeOf: OfferType.Offer;
18
16
  priceCurrency: PriceCurrency.JPY;
17
+ /**
18
+ * 利用不可決済方法区分
19
+ */
19
20
  unacceptedPaymentMethod?: string[];
20
21
  }
21
22
  export interface IVideoFormat {
@@ -175,6 +176,7 @@ export interface ISearchConditions extends EventFactory.ISearchConditions<EventT
175
176
  location?: {
176
177
  branchCode?: {
177
178
  $eq?: string;
179
+ $in?: string[];
178
180
  };
179
181
  /**
180
182
  * 施設コードリスト
package/lib/index.d.ts CHANGED
@@ -133,15 +133,15 @@ import * as ConfirmPayTransactionTaskFactory from './task/confirmPayTransaction'
133
133
  import * as ConfirmRegisterServiceTaskFactory from './task/confirmRegisterService';
134
134
  import * as ConfirmRegisterServiceTransactionTaskFactory from './task/confirmRegisterServiceTransaction';
135
135
  import * as ConfirmReserveTransactionTaskFactory from './task/confirmReserveTransaction';
136
- import * as DeleteAssetTransactionTaskFactory from './task/deleteAssetTransaction';
137
- import * as DeleteMemberTaskFactory from './task/deleteMember';
138
- import * as DeleteOrderTaskFactory from './task/deleteOrder';
139
136
  import * as DeleteTransactionTaskFactory from './task/deleteTransaction';
140
137
  import * as GivePointAwardTaskFactory from './task/givePointAward';
141
138
  import * as ImportEventCapacitiesFromCOATaskFactory from './task/importEventCapacitiesFromCOA';
142
139
  import * as ImportEventsFromCOATaskFactory from './task/importEventsFromCOA';
143
140
  import * as ImportOffersFromCOATaskFactory from './task/importOffersFromCOA';
144
141
  import * as MoneyTransferTaskFactory from './task/moneyTransfer';
142
+ import * as OnAuthorizationCreatedTaskFactory from './task/onAuthorizationCreated';
143
+ import * as OnEventChangedTaskFactory from './task/onEventChanged';
144
+ import * as OnResourceUpdatedTaskFactory from './task/onResourceUpdated';
145
145
  import * as OrderProgramMembershipTaskFactory from './task/orderProgramMembership';
146
146
  import * as PayTaskFactory from './task/pay';
147
147
  import * as PlaceOrderTaskFactory from './task/placeOrder';
@@ -155,7 +155,9 @@ import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
155
155
  import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
156
156
  import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
157
157
  import * as SendOrderTaskFactory from './task/sendOrder';
158
+ import * as SyncScreeningRoomsTaskFactory from './task/syncScreeningRooms';
158
159
  import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
160
+ import * as UseReservationTaskFactory from './task/useReservation';
159
161
  import * as VoidMoneyTransferTransactionTaskFactory from './task/voidMoneyTransferTransaction';
160
162
  import * as VoidPaymentTaskFactory from './task/voidPayment';
161
163
  import * as VoidPayTransactionTaskFactory from './task/voidPayTransaction';
@@ -403,9 +405,9 @@ export import reservationStatusType = ReservationStatusType;
403
405
  export import reservationType = ReservationType;
404
406
  export import seller = SellerFactory;
405
407
  export declare namespace task {
406
- type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAssetTransaction ? DeleteAssetTransactionTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
407
- type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAssetTransaction ? DeleteAssetTransactionTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
408
- type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAssetTransaction ? DeleteAssetTransactionTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
408
+ type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.SyncScreeningRooms ? SyncScreeningRoomsTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
409
+ type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.SyncScreeningRooms ? SyncScreeningRoomsTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
410
+ type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.ITask : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.SyncScreeningRooms ? SyncScreeningRoomsTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.UseReservation ? UseReservationTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
409
411
  export import ISearchConditions = TaskFactory.ISearchConditions;
410
412
  export import IExecutionResult = TaskFactory.IExecutionResult;
411
413
  export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
@@ -413,7 +415,6 @@ export declare namespace task {
413
415
  export import cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
414
416
  export import cancelPendingReservation = CancelPendingReservationTaskFactory;
415
417
  export import cancelReservation = CancelReservationTaskFactory;
416
- export import deleteAssetTransaction = DeleteAssetTransactionTaskFactory;
417
418
  export import deleteTransaction = DeleteTransactionTaskFactory;
418
419
  export import importEventCapacitiesFromCOA = ImportEventCapacitiesFromCOATaskFactory;
419
420
  export import importEventsFromCOA = ImportEventsFromCOATaskFactory;
@@ -424,8 +425,13 @@ export declare namespace task {
424
425
  export import registerService = RegisterServiceTaskFactory;
425
426
  export import reserve = ReserveTaskFactory;
426
427
  export import sendEmailMessage = SendEmailMessageTaskFactory;
428
+ export import syncScreeningRooms = SyncScreeningRoomsTaskFactory;
427
429
  export import triggerWebhook = TriggerWebhookTaskFactory;
430
+ export import useReservation = UseReservationTaskFactory;
428
431
  export import voidPayment = VoidPaymentTaskFactory;
432
+ export import onAuthorizationCreated = OnAuthorizationCreatedTaskFactory;
433
+ export import onEventChanged = OnEventChangedTaskFactory;
434
+ export import onResourceUpdated = OnResourceUpdatedTaskFactory;
429
435
  export import orderProgramMembership = OrderProgramMembershipTaskFactory;
430
436
  export import accountMoneyTransfer = AccountMoneyTransferTaskFactory;
431
437
  export import cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
package/lib/index.js CHANGED
@@ -117,19 +117,23 @@ var CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTr
117
117
  var CancelMoneyTransferTaskFactory = require("./task/cancelMoneyTransfer");
118
118
  var CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
119
119
  var CancelReservationTaskFactory = require("./task/cancelReservation");
120
- var DeleteAssetTransactionTaskFactory = require("./task/deleteAssetTransaction");
121
120
  var DeleteTransactionTaskFactory = require("./task/deleteTransaction");
122
121
  var ImportEventCapacitiesFromCOATaskFactory = require("./task/importEventCapacitiesFromCOA");
123
122
  var ImportEventsFromCOATaskFactory = require("./task/importEventsFromCOA");
124
123
  var ImportOffersFromCOATaskFactory = require("./task/importOffersFromCOA");
125
124
  var MoneyTransferTaskFactory = require("./task/moneyTransfer");
125
+ var OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
126
+ var OnEventChangedTaskFactory = require("./task/onEventChanged");
127
+ var OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
126
128
  var OrderProgramMembershipTaskFactory = require("./task/orderProgramMembership");
127
129
  var PayTaskFactory = require("./task/pay");
128
130
  var RefundTaskFactory = require("./task/refund");
129
131
  var RegisterServiceTaskFactory = require("./task/registerService");
130
132
  var ReserveTaskFactory = require("./task/reserve");
131
133
  var SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
134
+ var SyncScreeningRoomsTaskFactory = require("./task/syncScreeningRooms");
132
135
  var TriggerWebhookTaskFactory = require("./task/triggerWebhook");
136
+ var UseReservationTaskFactory = require("./task/useReservation");
133
137
  var VoidPaymentTaskFactory = require("./task/voidPayment");
134
138
  var taskName_1 = require("./taskName");
135
139
  var taskStatus_1 = require("./taskStatus");
@@ -366,7 +370,6 @@ var task;
366
370
  task.cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
367
371
  task.cancelPendingReservation = CancelPendingReservationTaskFactory;
368
372
  task.cancelReservation = CancelReservationTaskFactory;
369
- task.deleteAssetTransaction = DeleteAssetTransactionTaskFactory;
370
373
  task.deleteTransaction = DeleteTransactionTaskFactory;
371
374
  task.importEventCapacitiesFromCOA = ImportEventCapacitiesFromCOATaskFactory;
372
375
  task.importEventsFromCOA = ImportEventsFromCOATaskFactory;
@@ -377,8 +380,13 @@ var task;
377
380
  task.registerService = RegisterServiceTaskFactory;
378
381
  task.reserve = ReserveTaskFactory;
379
382
  task.sendEmailMessage = SendEmailMessageTaskFactory;
383
+ task.syncScreeningRooms = SyncScreeningRoomsTaskFactory;
380
384
  task.triggerWebhook = TriggerWebhookTaskFactory;
385
+ task.useReservation = UseReservationTaskFactory;
381
386
  task.voidPayment = VoidPaymentTaskFactory;
387
+ task.onAuthorizationCreated = OnAuthorizationCreatedTaskFactory;
388
+ task.onEventChanged = OnEventChangedTaskFactory;
389
+ task.onResourceUpdated = OnResourceUpdatedTaskFactory;
382
390
  task.orderProgramMembership = OrderProgramMembershipTaskFactory;
383
391
  task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
384
392
  task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
@@ -15,6 +15,10 @@ export interface IItemOffered {
15
15
  typeOf: ProductType.EventService;
16
16
  serviceOutput?: {
17
17
  typeOf: ReservationType.EventReservation;
18
+ /**
19
+ * 未使用のみ
20
+ */
21
+ onlyUnused?: boolean;
18
22
  reservationFor: {
19
23
  /**
20
24
  * n秒前設定
package/lib/order.d.ts CHANGED
@@ -25,7 +25,6 @@ import * as BusReservationFactory from './reservation/busReservation';
25
25
  import * as EventReservationFactory from './reservation/event';
26
26
  import { ReservationType } from './reservationType';
27
27
  import { SortType } from './sortType';
28
- import { IThing } from './thing';
29
28
  import { IUnitPriceOfferPriceSpecification } from './unitPriceOffer';
30
29
  export interface IProject {
31
30
  typeOf: OrganizationType.Project;
@@ -98,16 +97,16 @@ export declare type IEventAsReservationFor = Omit<EventReservationFactory.IReser
98
97
  export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
99
98
  ticketType: ITicketType;
100
99
  };
101
- export declare type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'project' | 'reservationNumber' | 'typeOf'> & {
100
+ export declare type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
102
101
  reservationFor: ITripAsReservationFor;
103
102
  reservedTicket: IReservedTicket;
104
103
  };
105
- export declare type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'project' | 'reservationNumber' | 'typeOf'> & {
104
+ export declare type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
106
105
  reservationFor: IEventAsReservationFor;
107
106
  reservedTicket: IReservedTicket;
108
107
  };
109
108
  export declare type IReservation = IBusReservation | IEventReservation;
110
- export declare type IPermit = Pick<PermitFactory.IPermit, 'amount' | 'identifier' | 'issuedThrough' | 'name' | 'project' | 'typeOf' | 'validFor'>;
109
+ export declare type IPermit = Pick<PermitFactory.IPermit, 'amount' | 'identifier' | 'issuedThrough' | 'name' | 'typeOf' | 'validFor'>;
111
110
  export interface IMoneyTransferPendingTransaction {
112
111
  typeOf: AssetTransactionType.MoneyTransfer;
113
112
  /**
@@ -139,7 +138,6 @@ export interface IMoneyTransfer {
139
138
  * 注文アイテム
140
139
  */
141
140
  export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
142
- export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency'>;
143
141
  export declare type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
144
142
  export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
145
143
  export declare type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
@@ -151,6 +149,7 @@ export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMov
151
149
  * 承認時に提供される価格仕様
152
150
  */
153
151
  export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
152
+ export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
154
153
  /**
155
154
  * 受け入れオファー
156
155
  */
@@ -159,13 +158,6 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
159
158
  * オファー対象アイテム
160
159
  */
161
160
  itemOffered: T;
162
- /**
163
- * 販売者
164
- */
165
- seller: {
166
- typeOf: OrganizationType.Corporation;
167
- name?: string | IMultilingualString;
168
- };
169
161
  priceSpecification?: ITicketPriceSpecification;
170
162
  }
171
163
  /**
@@ -196,8 +188,8 @@ export declare type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
196
188
  export declare type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
197
189
  export declare type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
198
190
  export declare type IIdentifier = IPropertyValue<string>[];
199
- export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf' | 'name'>;
200
- export interface ISimpleOrder extends Pick<IThing, 'name'> {
191
+ export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
192
+ export interface ISimpleOrder {
201
193
  /**
202
194
  * object type
203
195
  */
@@ -269,7 +261,7 @@ export interface IOrderedItem {
269
261
  * 注文
270
262
  * {@link https://schema.org/Order}
271
263
  */
272
- export interface IOrder extends ISimpleOrder {
264
+ export interface IOrder extends Omit<ISimpleOrder, 'customer'> {
273
265
  id?: string;
274
266
  project: IProject;
275
267
  /**
@@ -68,7 +68,7 @@ export declare type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
68
68
  /**
69
69
  * place interface without screening room
70
70
  */
71
- export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
71
+ export interface IPlaceWithoutScreeningRoom extends Omit<PlaceFactory.IPlace, 'containsPlace'> {
72
72
  typeOf: PlaceType.MovieTheater;
73
73
  id: string;
74
74
  /**
@@ -2,11 +2,18 @@ import { IMultilingualString } from '../multilingualString';
2
2
  import * as PlaceFactory from '../place';
3
3
  import { PlaceType } from '../placeType';
4
4
  import { IPlace as IScreeningRoomSection } from './screeningRoomSection';
5
+ export interface IContainedInPlace {
6
+ id: string;
7
+ typeOf: PlaceType.MovieTheater;
8
+ branchCode: string;
9
+ name: IMultilingualString;
10
+ }
5
11
  /**
6
12
  * ルームインターフェース
7
13
  */
8
- export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'amenityFeature' | 'branchCode' | 'name' | 'address' | 'containedInPlace' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
14
+ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'amenityFeature' | 'branchCode' | 'name' | 'address' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
9
15
  typeOf: PlaceType.ScreeningRoom;
16
+ containedInPlace?: IContainedInPlace;
10
17
  /**
11
18
  * セクションリスト
12
19
  */
@@ -39,6 +46,7 @@ export interface ISearchConditions {
39
46
  };
40
47
  branchCode?: {
41
48
  $eq?: string;
49
+ $in?: string[];
42
50
  $regex?: string;
43
51
  };
44
52
  containedInPlace?: {