@chevre/factory 5.2.0 → 5.3.0-alpha.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.
@@ -276,12 +276,12 @@ export interface ITokenizedMemberProgramTier {
276
276
  };
277
277
  }
278
278
  /**
279
- * オファートークンの中身
280
- * 予約対象イベント識別子、オファー有効期間、アプリケーションオファーコード、対象数量を定義する
279
+ * イベントオファートークンの中身
280
+ * 予約対象イベント、オファー有効期間、イベントオファーコード、対象数量を定義する
281
281
  */
282
- export interface IOfferTokenPayload {
282
+ export interface IEventOfferTokenPayload {
283
283
  /**
284
- * アプリケーションオファーコード
284
+ * イベントオファーコード
285
285
  */
286
286
  identifier: string;
287
287
  /**
@@ -299,14 +299,22 @@ export interface IOfferTokenPayload {
299
299
  eligibleQuantity: {
300
300
  maxValue: number;
301
301
  };
302
+ /**
303
+ * 対象イベント
304
+ */
302
305
  itemOffered: {
303
306
  /**
304
- * イベント識別子
307
+ * イベントID
305
308
  */
306
- identifier: string;
309
+ id: string;
307
310
  };
308
311
  }
309
- export type IOfferToken = string;
312
+ /**
313
+ * イベントオファートークン
314
+ * 外部組織がイベントオファーを定義する場合に使用
315
+ * トークンの中身については @see IEventOfferTokenPayload
316
+ */
317
+ export type IEventOfferToken = string;
310
318
  export interface IObjectWithoutDetail {
311
319
  acceptedOffer?: IAcceptedTicketOfferWithoutDetail[];
312
320
  broker?: ReservationFactory.IBroker;
@@ -1,3 +1,4 @@
1
+ import { IEventOfferToken } from './assetTransaction/reserve';
1
2
  import { CreativeWorkType } from './creativeWorkType';
2
3
  import { IMember, IMemberOfRole } from './iam';
3
4
  import { IInvoice } from './invoice';
@@ -72,7 +73,6 @@ export interface ITokenizedMemberProgramTier {
72
73
  identifier: string;
73
74
  };
74
75
  }
75
- export type IOfferToken = string;
76
76
  /**
77
77
  * 承認対象としての興行オファー
78
78
  */
@@ -96,10 +96,10 @@ export interface IOfferAsObject {
96
96
  */
97
97
  id?: string;
98
98
  /**
99
- * support オファートークン
99
+ * イベントオファートークン
100
100
  * 2025-10-21~
101
101
  */
102
- token?: IOfferToken;
102
+ token?: IEventOfferToken;
103
103
  /**
104
104
  * メンバープログラムティアトークン
105
105
  * メンバープログラムティアごとにオファー有効期間が管理されている場合、検証されたトークンに基づいて有効期間が検証されます
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "5.2.0",
3
+ "version": "5.3.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",