@chevre/factory 4.348.0-alpha.0 → 4.349.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.
@@ -107,6 +107,7 @@ export interface ISearchConditions {
107
107
  };
108
108
  identifier?: {
109
109
  $eq?: string;
110
+ $in?: string[];
110
111
  $regex?: string;
111
112
  };
112
113
  name?: string;
package/lib/product.d.ts CHANGED
@@ -95,7 +95,7 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
95
95
  name?: Pick<IMultilingualString, 'en' | 'ja'>;
96
96
  /**
97
97
  * The product identifier, such as ISBN. For example: meta itemprop="productID" content="isbn:123-456-789".
98
- * プロジェクト内でユニークなプロダクトID
98
+ * プロジェクト内でユニークなプロダクトコード
99
99
  */
100
100
  productID: string;
101
101
  /**
@@ -166,8 +166,8 @@ export interface ISearchConditions {
166
166
  };
167
167
  };
168
168
  typeOf?: {
169
- $eq?: string;
170
- $in?: string[];
169
+ $eq?: ProductType;
170
+ $in?: ProductType[];
171
171
  };
172
172
  offers?: {
173
173
  $elemMatch?: {
@@ -1,7 +1,7 @@
1
1
  import { IInvoice } from '../invoice';
2
2
  import { IMultilingualString } from '../multilingualString';
3
3
  import { IIssuedThrough, IPermit } from '../permit';
4
- import { IAvailableChannel as IProductAvailableChannel, IServiceType } from '../product';
4
+ import { IAvailableChannel as IProductAvailableChannel, ISearchConditions as ISearchProductConditions, IServiceType } from '../product';
5
5
  import { IProject } from '../project';
6
6
  import { IPropertyValue } from '../propertyValue';
7
7
  import { ISeller } from '../seller';
@@ -104,7 +104,7 @@ export interface IService extends Pick<IThing, 'name' | 'description'> {
104
104
  name?: Pick<IMultilingualString, 'en' | 'ja'>;
105
105
  /**
106
106
  * The product identifier, such as ISBN.
107
- * プロジェクト内でユニークなプロダクトID
107
+ * プロジェクト内でユニークなプロダクトコード
108
108
  */
109
109
  productID: string;
110
110
  /**
@@ -119,3 +119,9 @@ export interface IService extends Pick<IThing, 'name' | 'description'> {
119
119
  serviceType: IServiceType;
120
120
  additionalProperty?: IPropertyValue<string>[];
121
121
  }
122
+ export type ISearchConditions = Omit<ISearchProductConditions, 'typeOf'> & {
123
+ typeOf?: {
124
+ $eq?: PaymentServiceType;
125
+ $in?: PaymentServiceType[];
126
+ };
127
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.348.0-alpha.0",
3
+ "version": "4.349.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",