@chevre/factory 4.313.0-alpha.7 → 4.313.0-alpha.9

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.
@@ -43,7 +43,12 @@ export declare enum MerchantReturnEnumeration {
43
43
  MerchantReturnUnspecified = "MerchantReturnUnspecified"
44
44
  }
45
45
  export declare type IRestockingFee = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
46
- export declare type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'>;
46
+ export declare type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'> & {
47
+ id: string;
48
+ name: {
49
+ ja: string;
50
+ };
51
+ };
47
52
  export declare type ICustomerRemorseReturnFees = ReturnFeesEnumeration;
48
53
  export declare type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
49
54
  export interface IMerchantReturnPolicy extends Pick<IThing, 'name' | 'url'> {
@@ -5,13 +5,28 @@ import { IQuantitativeValue } from './quantitativeValue';
5
5
  import { ReservationType } from './reservationType';
6
6
  import { SortType } from './sortType';
7
7
  import { UnitCode } from './unitCode';
8
- declare type IGracePeriodBeforeStart = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
8
+ export declare type IGracePeriodBeforeStart = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
9
+ export interface IGracePeriodBeforeStartInDays {
10
+ period: Pick<IQuantitativeValue<UnitCode.Day>, 'value' | 'typeOf' | 'unitCode'>;
11
+ time: string;
12
+ timezone: string;
13
+ }
9
14
  export interface IItemOffered {
10
15
  typeOf: ProductType.EventService;
11
16
  serviceOutput?: {
12
17
  typeOf: ReservationType.EventReservation;
13
18
  reservationFor: {
19
+ /**
20
+ * n秒前設定
21
+ */
14
22
  gracePeriodBeforeStart?: IGracePeriodBeforeStart;
23
+ /**
24
+ * n日時前のHH:mm:ss設定
25
+ */
26
+ gracePeriodBeforeStartInDays?: {
27
+ max?: IGracePeriodBeforeStartInDays;
28
+ min?: IGracePeriodBeforeStartInDays;
29
+ };
15
30
  };
16
31
  };
17
32
  }
@@ -44,4 +59,3 @@ export interface ISearchConditions {
44
59
  $in?: string[];
45
60
  };
46
61
  }
47
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.313.0-alpha.7",
3
+ "version": "4.313.0-alpha.9",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",