@chevre/factory 11.0.0-alpha.3 → 11.0.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.
@@ -1,10 +1,9 @@
1
1
  import { IEntranceGate, IPlace as IMovieTheater, IPOS } from '../place/movieTheater';
2
2
  import { IPlace as IScreeningRoom } from '../place/screeningRoom';
3
- export type IContainsPlace = Pick<IScreeningRoom, 'branchCode' | 'name' | 'typeOf' | 'additionalProperty' | 'address'>;
4
3
  /**
5
4
  * ルーム通知
6
5
  */
7
- export type IRoomAsNotification = IContainsPlace & {
6
+ export type IRoomAsNotification = Pick<IScreeningRoom, 'branchCode' | 'name' | 'typeOf' | 'additionalProperty' | 'address'> & {
8
7
  /**
9
8
  * 施設IDとルームコードで一意性を担保するので、現時点でルームIDは通知しない(2026-01-16~)
10
9
  */
@@ -29,10 +29,9 @@ export interface IOffer extends Pick<IBaseOffer, 'typeOf' | 'eligibleQuantity'>
29
29
  availabilityEndsGraceTime: IAvailabilityEndsGraceTime;
30
30
  }
31
31
  /**
32
- * 施設の操作するPoints-of-Sales
32
+ * 施設のPOS
33
33
  */
34
34
  export interface IPOS {
35
- id?: never;
36
35
  /**
37
36
  * コード
38
37
  */
@@ -59,10 +58,6 @@ export interface IPlace extends Pick<IBasePlace, 'additionalProperty' | 'branchC
59
58
  * 施設コード
60
59
  */
61
60
  branchCode: string;
62
- /**
63
- * 入場ゲート
64
- */
65
- hasEntranceGate?: IEntranceGate[];
66
61
  /**
67
62
  * 名称
68
63
  */
@@ -34,11 +34,8 @@ export interface IMakesOffer extends Pick<IOffer, 'typeOf'> {
34
34
  */
35
35
  eligibleTransactionDuration: IEligibleTransactionDuration;
36
36
  }
37
- export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'location' | 'telephone' | 'additionalProperty' | 'name' | 'url'> {
37
+ export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'telephone' | 'additionalProperty' | 'name' | 'url'> {
38
38
  project: Pick<IProject, 'id' | 'typeOf'>;
39
- /**
40
- * The geographic area where a service or offered item is provided.
41
- */
42
39
  branchCode: string;
43
40
  /**
44
41
  * Indicates a MerchantReturnPolicy that may be applicable.
@@ -49,7 +46,6 @@ export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'location
49
46
  * 各アプリケーションに対するオファー
50
47
  */
51
48
  makesOffer?: IMakesOffer[];
52
- paymentAccepted?: IPaymentAccepted[];
53
49
  typeOf: OrganizationType.Corporation;
54
50
  }
55
51
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "11.0.0-alpha.3",
3
+ "version": "11.0.0",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [