@chevre/factory 4.278.0-alpha.0 → 4.278.0-alpha.2
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.
|
@@ -105,10 +105,17 @@ export interface IItemOffered {
|
|
|
105
105
|
serviceOutput?: IServiceOutput;
|
|
106
106
|
}
|
|
107
107
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
108
|
+
export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
|
|
109
|
+
availabilityEnds: Date;
|
|
110
|
+
availabilityStarts: Date;
|
|
111
|
+
validFrom: Date;
|
|
112
|
+
validThrough: Date;
|
|
113
|
+
}
|
|
108
114
|
export interface ISeller {
|
|
109
115
|
typeOf: OrganizationType.Corporation;
|
|
110
116
|
id: string;
|
|
111
117
|
name?: string | IMultilingualString;
|
|
118
|
+
makesOffer: ISellerMakesOffer[];
|
|
112
119
|
}
|
|
113
120
|
export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
114
121
|
/**
|
|
@@ -310,6 +317,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
310
317
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
311
318
|
export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
312
319
|
export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
320
|
+
export declare type ISeller4create = Pick<ISeller, 'id' | 'makesOffer'>;
|
|
313
321
|
export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod'> & {
|
|
314
322
|
/**
|
|
315
323
|
* 最大予約数を指定
|
|
@@ -320,9 +328,9 @@ export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabi
|
|
|
320
328
|
*/
|
|
321
329
|
itemOffered: Pick<IItemOffered, 'id' | 'serviceOutput'>;
|
|
322
330
|
/**
|
|
323
|
-
* 販売者ID
|
|
331
|
+
* 販売者IDとアプリケーション設定
|
|
324
332
|
*/
|
|
325
|
-
seller:
|
|
333
|
+
seller: ISeller4create;
|
|
326
334
|
};
|
|
327
335
|
export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
|
|
328
336
|
/**
|
|
@@ -359,6 +367,31 @@ export interface IOfferSearchConditions {
|
|
|
359
367
|
};
|
|
360
368
|
};
|
|
361
369
|
};
|
|
370
|
+
seller?: {
|
|
371
|
+
makesOffer?: {
|
|
372
|
+
$elemMatch?: {
|
|
373
|
+
availabilityEnds?: {
|
|
374
|
+
$gte?: Date;
|
|
375
|
+
$lte?: Date;
|
|
376
|
+
};
|
|
377
|
+
availabilityStarts?: {
|
|
378
|
+
$gte?: Date;
|
|
379
|
+
$lte?: Date;
|
|
380
|
+
};
|
|
381
|
+
validFrom?: {
|
|
382
|
+
$gte?: Date;
|
|
383
|
+
$lte?: Date;
|
|
384
|
+
};
|
|
385
|
+
validThrough?: {
|
|
386
|
+
$gte?: Date;
|
|
387
|
+
$lte?: Date;
|
|
388
|
+
};
|
|
389
|
+
'availableAtOrFrom.id'?: {
|
|
390
|
+
$eq?: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
362
395
|
}
|
|
363
396
|
/**
|
|
364
397
|
* イベント検索条件
|