@chevre/factory 4.343.0 → 4.345.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.
|
@@ -22,7 +22,12 @@ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' |
|
|
|
22
22
|
export interface IPlaceWithOffer extends IPlace {
|
|
23
23
|
containsPlace: ISeatWithOffer[];
|
|
24
24
|
}
|
|
25
|
+
export interface IProjection {
|
|
26
|
+
containedInPlace?: 1;
|
|
27
|
+
seatCount?: 1;
|
|
28
|
+
}
|
|
25
29
|
export interface ISearchConditions {
|
|
30
|
+
$projection?: IProjection;
|
|
26
31
|
limit?: number;
|
|
27
32
|
page?: number;
|
|
28
33
|
sort?: any;
|
|
@@ -53,9 +58,6 @@ export interface ISearchConditions {
|
|
|
53
58
|
name?: {
|
|
54
59
|
$regex?: string;
|
|
55
60
|
};
|
|
56
|
-
$projection?: {
|
|
57
|
-
seatCount?: 1;
|
|
58
|
-
};
|
|
59
61
|
additionalProperty?: {
|
|
60
62
|
$elemMatch?: {
|
|
61
63
|
name?: {
|
package/lib/product.d.ts
CHANGED
|
@@ -239,7 +239,7 @@ export import IMinimizedTicketAddOn = UnitPriceOfferFactory.IAddOn4unitPriceOffe
|
|
|
239
239
|
* プロダクトオファー
|
|
240
240
|
*/
|
|
241
241
|
export interface ITicketOffer extends Pick<IBaseOffer, 'acceptedPaymentMethod' | // add(2023-11-15~)
|
|
242
|
-
'name' | 'description' | 'alternateName' | 'color' | 'typeOf' | 'id' | 'availability' | '
|
|
242
|
+
'name' | 'description' | 'alternateName' | 'color' | 'typeOf' | 'id' | 'availability' | 'category' | 'eligibleMembershipType' | 'eligibleSeatingType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'eligibleQuantity' | 'offeredThrough' | 'priceCurrency' | 'validFrom' | 'validThrough' | 'validRateLimit' | 'additionalProperty'> {
|
|
243
243
|
addOn?: IMinimizedTicketAddOn[];
|
|
244
244
|
identifier: string;
|
|
245
245
|
name: IOfferName;
|