@chevre/factory 4.278.0-alpha.4 → 4.279.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.
@@ -348,9 +348,21 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
348
348
  */
349
349
  export declare type ISortOrder = EventFactory.ISortOrder;
350
350
  export interface IOfferSearchConditions {
351
+ /**
352
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
353
+ */
351
354
  availableFrom?: Date;
355
+ /**
356
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
357
+ */
352
358
  availableThrough?: Date;
359
+ /**
360
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
361
+ */
353
362
  validFrom?: Date;
363
+ /**
364
+ * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
365
+ */
354
366
  validThrough?: Date;
355
367
  itemOffered?: {
356
368
  id?: {
package/lib/project.d.ts CHANGED
@@ -54,10 +54,6 @@ export interface ISettings {
54
54
  transactionWebhookUrls?: string[];
55
55
  useMyCreditCards?: boolean;
56
56
  useUsernameAsGMOMemberId?: boolean;
57
- /**
58
- * プロダクトとしての興行管理を利用するかどうか
59
- */
60
- useEventServiceAsProduct?: boolean;
61
57
  }
62
58
  /**
63
59
  * プロジェクト
@@ -71,6 +67,9 @@ export interface IProject extends IOrganization {
71
67
  settings?: ISettings;
72
68
  subscription?: {
73
69
  identifier?: string;
70
+ /**
71
+ * プロダクトとしての興行管理を利用するかどうか
72
+ */
74
73
  useEventServiceAsProduct?: boolean;
75
74
  };
76
75
  }
@@ -76,7 +76,7 @@ export interface IObject {
76
76
  }
77
77
  export interface IStartParamsWithoutDetail {
78
78
  project: Pick<IProject, 'id' | 'typeOf'>;
79
- expires: Date;
79
+ expiresInSeconds?: number;
80
80
  agent: IAgent;
81
81
  seller: {
82
82
  id: string;
@@ -95,11 +95,12 @@ export declare type ISeller = TransactionFactory.ISeller;
95
95
  /**
96
96
  * 取引開始パラメーター
97
97
  */
98
- export interface IStartParams extends TransactionFactory.IStartParams<TransactionType.PlaceOrder, IAgent, undefined, IObject> {
98
+ export interface IStartParams extends Omit<TransactionFactory.IStartParams<TransactionType.PlaceOrder, IAgent, undefined, IObject>, 'expires'> {
99
99
  /**
100
100
  * 販売者
101
101
  */
102
102
  seller: ISeller;
103
+ expiresInSeconds: number;
103
104
  }
104
105
  /**
105
106
  * 注文通知パラメータ
@@ -190,7 +191,7 @@ export declare type IError = any;
190
191
  export interface IPotentialActions {
191
192
  order: IOrderActionAttributes;
192
193
  }
193
- export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
194
+ export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
194
195
  }
195
196
  /**
196
197
  * 注文取引
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.278.0-alpha.4",
3
+ "version": "4.279.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",