@chevre/factory 4.348.0-alpha.0 → 4.348.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.
package/lib/product.d.ts CHANGED
@@ -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';
@@ -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.348.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",