@chevre/factory 5.2.0-alpha.12 → 5.2.0-alpha.13

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.
@@ -6,7 +6,9 @@ import { IOrder } from './order';
6
6
  import { OrganizationType } from './organizationType';
7
7
  import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThroughAsCreditCard, IPermitIssuedThroughAsFaceToFace, IPermitIssuedThroughAsProduct } from './ownershipInfo';
8
8
  import { PersonType } from './personType';
9
+ import { ProductType } from './product';
9
10
  import { IProject } from './project';
11
+ import { ReservationType } from './reservationType';
10
12
  import { PaymentServiceType } from './service/paymentService';
11
13
  import { SortType } from './sortType';
12
14
  import { TransactionType } from './transactionType';
@@ -78,23 +80,38 @@ export interface ITokenizedMemberProgramTier {
78
80
  };
79
81
  }
80
82
  export type IOfferToken = string;
83
+ /**
84
+ * 承認対象としての興行オファー
85
+ */
81
86
  export interface IOfferAsObject {
82
87
  typeOf: OfferType.Offer;
88
+ itemOffered: {
89
+ typeOf: ProductType.EventService;
90
+ serviceOutput: {
91
+ typeOf: ReservationType.ReservationPackage;
92
+ reservationFor: {
93
+ /**
94
+ * イベントID
95
+ */
96
+ id: string;
97
+ };
98
+ };
99
+ };
83
100
  /**
84
- * メンバープログラムティアトークン
85
- * メンバープログラムティアごとにオファー有効期間が管理されている場合、検証されたトークンに基づいて有効期間が検証されます
101
+ * 拡張イベントオファーコード
102
+ * 拡張イベントオファー試用の場合、必須
86
103
  */
87
- validForMemberTier?: ITokenizedMemberProgramTier;
104
+ identifier?: string;
88
105
  /**
89
106
  * support オファートークン
90
107
  * 2025-10-21~
91
108
  */
92
109
  token?: IOfferToken;
93
110
  /**
94
- * アプリケーションオファーコード
95
- * オファートークン指定の場合、必須
111
+ * メンバープログラムティアトークン
112
+ * メンバープログラムティアごとにオファー有効期間が管理されている場合、検証されたトークンに基づいて有効期間が検証されます
96
113
  */
97
- identifier?: string;
114
+ validForMemberTier?: ITokenizedMemberProgramTier;
98
115
  }
99
116
  export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject | IOfferAsObject;
100
117
  export interface IAudienceAsPlaceOrder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "5.2.0-alpha.12",
3
+ "version": "5.2.0-alpha.13",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",