@chevre/factory 4.197.0-alpha.0 → 4.197.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.
- package/lib/factory/order.d.ts +29 -2
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1529
package/lib/factory/order.d.ts
CHANGED
|
@@ -6,19 +6,23 @@ import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplica
|
|
|
6
6
|
import { ICustomer as ICustomerOrganization } from './customer';
|
|
7
7
|
import { EventType } from './eventType';
|
|
8
8
|
import * as MonetaryAmountFactory from './monetaryAmount';
|
|
9
|
+
import { IMultilingualString } from './multilingualString';
|
|
9
10
|
import { IOffer } from './offer';
|
|
10
11
|
import { OrderStatus } from './orderStatus';
|
|
11
12
|
import { OrganizationType } from './organizationType';
|
|
12
13
|
import * as PermitFactory from './permit';
|
|
13
14
|
import { IPerson, IProfile } from './person';
|
|
14
15
|
import { PersonType } from './personType';
|
|
16
|
+
import { PlaceType } from './placeType';
|
|
15
17
|
import { PriceCurrency } from './priceCurrency';
|
|
16
18
|
import { IProduct, ProductType } from './product';
|
|
17
19
|
import { IPropertyValue } from './propertyValue';
|
|
18
|
-
import { IProgramMembershipUsedSearchConditions
|
|
20
|
+
import { IProgramMembershipUsedSearchConditions } from './reservation';
|
|
19
21
|
import * as EventReservationFactory from './reservation/event';
|
|
22
|
+
import { ReservationType } from './reservationType';
|
|
20
23
|
import { ISeller as ISellerOrganization } from './seller';
|
|
21
24
|
import { PaymentServiceType } from './service/paymentService';
|
|
25
|
+
import { IServiceType } from './serviceType';
|
|
22
26
|
import { SortType } from './sortType';
|
|
23
27
|
import { IThing } from './thing';
|
|
24
28
|
export interface IProject {
|
|
@@ -183,13 +187,36 @@ export interface ISimpleOrder extends IThing {
|
|
|
183
187
|
*/
|
|
184
188
|
orderDate: Date;
|
|
185
189
|
}
|
|
190
|
+
export interface IReservationFor4OrderedItem {
|
|
191
|
+
location?: {
|
|
192
|
+
branchCode: string;
|
|
193
|
+
name?: IMultilingualString;
|
|
194
|
+
project: IProject;
|
|
195
|
+
typeOf: PlaceType.ScreeningRoom;
|
|
196
|
+
};
|
|
197
|
+
project: IProject;
|
|
198
|
+
typeOf: EventType.ScreeningEvent;
|
|
199
|
+
id: string;
|
|
200
|
+
name?: IMultilingualString;
|
|
201
|
+
startDate?: Date;
|
|
202
|
+
endDate?: Date;
|
|
203
|
+
}
|
|
204
|
+
export interface IEventServiceAsOrderedItem {
|
|
205
|
+
project: IProject;
|
|
206
|
+
typeOf: ProductType.EventService;
|
|
207
|
+
serviceOutput: {
|
|
208
|
+
typeOf: ReservationType.EventReservation;
|
|
209
|
+
reservationFor: IReservationFor4OrderedItem;
|
|
210
|
+
};
|
|
211
|
+
serviceType?: IServiceType;
|
|
212
|
+
}
|
|
186
213
|
/**
|
|
187
214
|
* 注文アイテム
|
|
188
215
|
* {@link https://schema.org/OrderItem}
|
|
189
216
|
*/
|
|
190
217
|
export interface IOrderedItem {
|
|
191
218
|
typeOf: 'OrderItem';
|
|
192
|
-
orderedItem: IProduct |
|
|
219
|
+
orderedItem: IProduct | IEventServiceAsOrderedItem;
|
|
193
220
|
}
|
|
194
221
|
/**
|
|
195
222
|
* 注文インターフェース
|