@chevre/factory 4.278.0-alpha.3 → 4.278.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.
@@ -348,9 +348,21 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
348
348
  */
349
349
  export declare type ISortOrder = EventFactory.ISortOrder;
350
350
  export interface IOfferSearchConditions {
351
+ /**
352
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
353
+ */
351
354
  availableFrom?: Date;
355
+ /**
356
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
357
+ */
352
358
  availableThrough?: Date;
359
+ /**
360
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
361
+ */
353
362
  validFrom?: Date;
363
+ /**
364
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
365
+ */
354
366
  validThrough?: Date;
355
367
  itemOffered?: {
356
368
  id?: {
package/lib/invoice.d.ts CHANGED
@@ -26,8 +26,8 @@ export declare type IReservationPriceSpecification = Pick<IPriceSpecification, '
26
26
  export interface IReservation {
27
27
  /**
28
28
  * 予約価格
29
+ * priceSpecificationへ完全移行(2022-11-23~)
29
30
  */
30
- price?: number;
31
31
  priceSpecification?: IReservationPriceSpecification;
32
32
  }
33
33
  export interface IMovieTicketAsPaymentServiceOutput {
@@ -7,6 +7,14 @@ import { ISeller } from '../seller';
7
7
  import { SortType } from '../sortType';
8
8
  import { UnitCode } from '../unitCode';
9
9
  import { IPlace as IScreeningRoom } from './screeningRoom';
10
+ export interface IAvailabilityStartsGraceTime extends Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'value' | 'unitCode'> {
11
+ unitCode: UnitCode.Day;
12
+ value: number;
13
+ }
14
+ export interface IAvailabilityEndsGraceTime extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'value' | 'unitCode'> {
15
+ unitCode: UnitCode.Sec;
16
+ value: number;
17
+ }
10
18
  /**
11
19
  * 施設に対するオファー
12
20
  */
@@ -14,19 +22,19 @@ export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'pro
14
22
  /**
15
23
  * イベント開始前の販売猶予期間
16
24
  */
17
- availabilityStartsGraceTime?: Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'value' | 'unitCode'>;
25
+ availabilityStartsGraceTime: IAvailabilityStartsGraceTime;
18
26
  /**
19
27
  * イベント開始後の販売猶予期間
20
28
  */
21
- availabilityEndsGraceTime?: Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'value' | 'unitCode'>;
29
+ availabilityEndsGraceTime: IAvailabilityEndsGraceTime;
22
30
  /**
23
31
  * イベント開始前の販売猶予期間(POS)
24
32
  */
25
- availabilityStartsGraceTimeOnPOS: Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'value' | 'unitCode'>;
33
+ availabilityStartsGraceTimeOnPOS: IAvailabilityStartsGraceTime;
26
34
  /**
27
35
  * イベント開始後の販売猶予期間(POS)
28
36
  */
29
- availabilityEndsGraceTimeOnPOS: Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'value' | 'unitCode'>;
37
+ availabilityEndsGraceTimeOnPOS: IAvailabilityEndsGraceTime;
30
38
  }
31
39
  export declare type POSType = 'POS';
32
40
  /**
@@ -101,7 +109,7 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
101
109
  parentOrganization?: IParentOrganization;
102
110
  }
103
111
  /**
104
- * 施設インターフェース
112
+ * 施設
105
113
  */
106
114
  export declare type IPlace = IPlaceWithoutScreeningRoom & {
107
115
  /**
@@ -110,7 +118,7 @@ export declare type IPlace = IPlaceWithoutScreeningRoom & {
110
118
  containsPlace: IScreeningRoom[];
111
119
  };
112
120
  /**
113
- * ソート条件インターフェース
121
+ * 施設ソート条件
114
122
  */
115
123
  export interface ISortOrder {
116
124
  branchCode?: SortType;
package/lib/project.d.ts CHANGED
@@ -71,6 +71,7 @@ export interface IProject extends IOrganization {
71
71
  settings?: ISettings;
72
72
  subscription?: {
73
73
  identifier?: string;
74
+ useEventServiceAsProduct?: boolean;
74
75
  };
75
76
  }
76
77
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.278.0-alpha.3",
3
+ "version": "4.278.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",