@chevre/factory 4.331.0 → 4.333.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.
@@ -36,17 +36,19 @@ export interface IOffer extends Pick<OfferFactory.IOffer, 'priceCurrency' | 'pro
36
36
  */
37
37
  availabilityEndsGraceTimeOnPOS: IAvailabilityEndsGraceTime;
38
38
  }
39
- export declare type POSType = 'POS';
40
39
  /**
41
- * POS
42
- * 管理者が識別しやすいようPOSの属性を指定します
40
+ * 施設の操作するPoints-of-Sales
43
41
  */
44
42
  export interface IPOS {
45
- typeOf: POSType;
46
43
  /**
47
44
  * コード
45
+ * @deprecated Use branchCode(2023-09-27~)
48
46
  */
49
47
  id: string;
48
+ /**
49
+ * コード
50
+ */
51
+ branchCode: string;
50
52
  /**
51
53
  * 名称
52
54
  */
package/lib/project.d.ts CHANGED
@@ -60,23 +60,28 @@ export interface ISettings {
60
60
  useMyCreditCards?: boolean;
61
61
  useUsernameAsGMOMemberId?: boolean;
62
62
  }
63
+ export interface ISubscription {
64
+ identifier?: string;
65
+ /**
66
+ * プロダクトとしての興行管理を利用するかどうか
67
+ */
68
+ useEventServiceAsProduct?: boolean;
69
+ /**
70
+ * サブカタログ管理を利用するかどうか
71
+ */
72
+ useOfferCatalogItem?: boolean;
73
+ }
63
74
  /**
64
75
  * プロジェクト
65
76
  */
66
- export interface IProject extends IOrganization {
77
+ export interface IProject extends Pick<IOrganization, 'id' | 'logo' | 'name' | 'typeOf'> {
67
78
  typeOf: OrganizationType.Project;
68
79
  id: string;
69
80
  alternateName?: string;
70
81
  description?: string;
71
82
  name?: string;
72
83
  settings?: ISettings;
73
- subscription?: {
74
- identifier?: string;
75
- /**
76
- * プロダクトとしての興行管理を利用するかどうか
77
- */
78
- useEventServiceAsProduct?: boolean;
79
- };
84
+ subscription?: ISubscription;
80
85
  }
81
86
  /**
82
87
  * ソート条件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.331.0",
3
+ "version": "4.333.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",