@chevre/factory 4.278.0-alpha.2 → 4.278.0-alpha.4

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/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,22 +7,38 @@ 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
  */
13
21
  export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'project' | 'typeOf' | 'eligibleQuantity'> {
14
22
  /**
15
23
  * イベント開始前の販売猶予期間
16
24
  */
17
- availabilityStartsGraceTime?: IQuantitativeValue<UnitCode.Day>;
25
+ availabilityStartsGraceTime: IAvailabilityStartsGraceTime;
18
26
  /**
19
27
  * イベント開始後の販売猶予期間
20
28
  */
21
- availabilityEndsGraceTime?: IQuantitativeValue<UnitCode.Sec>;
29
+ availabilityEndsGraceTime: IAvailabilityEndsGraceTime;
30
+ /**
31
+ * イベント開始前の販売猶予期間(POS)
32
+ */
33
+ availabilityStartsGraceTimeOnPOS: IAvailabilityStartsGraceTime;
34
+ /**
35
+ * イベント開始後の販売猶予期間(POS)
36
+ */
37
+ availabilityEndsGraceTimeOnPOS: IAvailabilityEndsGraceTime;
22
38
  }
23
39
  export declare type POSType = 'POS';
24
40
  /**
25
- * POSインターフェース
41
+ * POS
26
42
  * 管理者が識別しやすいようPOSの属性を指定します
27
43
  */
28
44
  export interface IPOS {
@@ -93,7 +109,7 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
93
109
  parentOrganization?: IParentOrganization;
94
110
  }
95
111
  /**
96
- * 施設インターフェース
112
+ * 施設
97
113
  */
98
114
  export declare type IPlace = IPlaceWithoutScreeningRoom & {
99
115
  /**
@@ -102,7 +118,7 @@ export declare type IPlace = IPlaceWithoutScreeningRoom & {
102
118
  containsPlace: IScreeningRoom[];
103
119
  };
104
120
  /**
105
- * ソート条件インターフェース
121
+ * 施設ソート条件
106
122
  */
107
123
  export interface ISortOrder {
108
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.2",
3
+ "version": "4.278.0-alpha.4",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",