@chevre/factory 4.322.0 → 4.324.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.
package/lib/invoice.d.ts CHANGED
@@ -66,7 +66,9 @@ export interface IPaymentMethod {
66
66
  typeOf: PaymentServiceType;
67
67
  serviceOutput?: IPaymentServiceOutput;
68
68
  }
69
- export declare type ITotalPaymentDue = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
69
+ export declare type ITotalPaymentDue = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> & {
70
+ value: number;
71
+ };
70
72
  /**
71
73
  * インボイス
72
74
  * {@link https://schema.org/Invoice}
package/lib/offer.d.ts CHANGED
@@ -22,7 +22,9 @@ export interface ICategory {
22
22
  codeValue?: string;
23
23
  }
24
24
  export declare type IEligibleCategoryCode = Pick<ICategoryCode, 'typeOf' | 'id' | 'codeValue' | 'inCodeSet'>;
25
- export declare type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
25
+ export declare type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> & {
26
+ value: number;
27
+ };
26
28
  /**
27
29
  * 適用サブ予約条件
28
30
  */
@@ -3,6 +3,8 @@ import { IExtendId } from '../autoGenerated';
3
3
  import { ICategoryCode } from '../categoryCode';
4
4
  import { CreativeWorkType } from '../creativeWorkType';
5
5
  import { EventType } from '../eventType';
6
+ import { IOfferCatalog } from '../offerCatalog';
7
+ import { OfferType } from '../offerType';
6
8
  import { OrganizationType } from '../organizationType';
7
9
  import { PlaceType } from '../placeType';
8
10
  import { ProductType } from '../product';
@@ -10,7 +12,8 @@ import * as TaskFactory from '../task';
10
12
  import { TaskName } from '../taskName';
11
13
  export declare type AccountTitleType = IAccountTitle['typeOf'];
12
14
  export declare type CategoryCodeType = ICategoryCode['typeOf'];
13
- export declare type IResourceTypeOf = AccountTitleType | CategoryCodeType | CreativeWorkType | EventType.ScreeningEventSeries | OrganizationType.Corporation | PlaceType.MovieTheater | ProductType;
15
+ export declare type OfferCatalogType = IOfferCatalog['typeOf'];
16
+ export declare type IResourceTypeOf = AccountTitleType | CategoryCodeType | CreativeWorkType | EventType.ScreeningEventSeries | OrganizationType.Corporation | PlaceType.MovieTheater | ProductType | OfferCatalogType | OfferType.Offer;
14
17
  export interface IData4common {
15
18
  id: string[];
16
19
  project: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.322.0",
3
+ "version": "4.324.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",