@chevre/factory 4.261.0 → 4.263.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.
@@ -85,11 +85,12 @@ export declare type IServiceType = IProductServiceType & {
85
85
  id?: string;
86
86
  };
87
87
  /**
88
- * イベントのサービス
88
+ * 興行
89
89
  */
90
- export interface IService {
90
+ export interface IItemOffered {
91
+ id?: string;
91
92
  /**
92
- * サービス区分
93
+ * 興行区分
93
94
  */
94
95
  serviceType?: IServiceType;
95
96
  /**
@@ -119,7 +120,7 @@ export interface IOffer {
119
120
  */
120
121
  availabilityStarts: Date;
121
122
  eligibleQuantity: IQuantitativeValue<UnitCode.C62>;
122
- itemOffered: IService;
123
+ itemOffered: IItemOffered;
123
124
  /**
124
125
  * オファー供給サービス
125
126
  */
@@ -320,6 +321,9 @@ export interface IOfferSearchConditions {
320
321
  validFrom?: Date;
321
322
  validThrough?: Date;
322
323
  itemOffered?: {
324
+ id?: {
325
+ $in?: string[];
326
+ };
323
327
  serviceType?: {
324
328
  ids?: string[];
325
329
  };
package/lib/event.d.ts CHANGED
@@ -9,7 +9,7 @@ import { IPropertyValue } from './propertyValue';
9
9
  import { SortType } from './sortType';
10
10
  export interface IHasOfferCatalog {
11
11
  typeOf: 'OfferCatalog';
12
- id?: string;
12
+ id: string;
13
13
  identifier?: string;
14
14
  }
15
15
  export interface IAttributes<T extends EventType> {
@@ -1,6 +1,6 @@
1
1
  import { IMultilingualString } from './multilingualString';
2
2
  import { OfferType } from './offerType';
3
- import { IServiceType as IProductServiceType } from './product';
3
+ import { IServiceType as IProductServiceType, ProductType } from './product';
4
4
  import { IProject } from './project';
5
5
  import { IPropertyValue } from './propertyValue';
6
6
  import { SortType } from './sortType';
@@ -9,8 +9,7 @@ export declare type IServiceType = IProductServiceType & {
9
9
  id?: string;
10
10
  };
11
11
  export interface IItemOffered {
12
- typeOf: string;
13
- serviceType?: IServiceType;
12
+ typeOf: ProductType;
14
13
  }
15
14
  export interface IItemListElement {
16
15
  typeOf: OfferType;
package/lib/product.d.ts CHANGED
@@ -31,7 +31,7 @@ export declare enum ProductType {
31
31
  }
32
32
  export interface IHasOfferCatalog {
33
33
  typeOf: 'OfferCatalog';
34
- id?: string;
34
+ id: string;
35
35
  }
36
36
  export declare type IServiceOutput = IPermit & {
37
37
  membershipPointsEarned?: IQuantitativeValue<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.261.0",
3
+ "version": "4.263.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",