@chevre/factory 4.274.0-alpha.0 → 4.274.0-alpha.1
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/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
- package/lib/priceSpecification/movieTicketTypeChargeSpecification.d.ts +1 -1
- package/lib/priceSpecification/unitPriceSpecification.d.ts +1 -1
- package/lib/priceSpecification.d.ts +5 -10
- package/lib/unitPriceOffer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export declare type IAppliesToCategoryCode = Pick<ICategoryCode, 'project' | 'ty
|
|
|
5
5
|
/**
|
|
6
6
|
* 区分加算料金
|
|
7
7
|
*/
|
|
8
|
-
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.CategoryCodeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | '
|
|
8
|
+
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.CategoryCodeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting'> {
|
|
9
9
|
price: number;
|
|
10
10
|
/**
|
|
11
11
|
* 適用カテゴリーコード
|
|
@@ -21,7 +21,7 @@ export interface IAppliesToMovieTicket {
|
|
|
21
21
|
/**
|
|
22
22
|
* 決済カード加算料金
|
|
23
23
|
*/
|
|
24
|
-
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.MovieTicketTypeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | '
|
|
24
|
+
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.MovieTicketTypeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting'> {
|
|
25
25
|
price: number;
|
|
26
26
|
/**
|
|
27
27
|
* 適用上映方式
|
|
@@ -22,7 +22,7 @@ export interface IAppliesToAddOn {
|
|
|
22
22
|
/**
|
|
23
23
|
* 単価仕様
|
|
24
24
|
*/
|
|
25
|
-
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | '
|
|
25
|
+
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting' | 'eligibleQuantity' | 'eligibleTransactionVolume'> {
|
|
26
26
|
price: number;
|
|
27
27
|
/**
|
|
28
28
|
* 基準数量
|
|
@@ -7,7 +7,7 @@ import { IQuantitativeValue } from './quantitativeValue';
|
|
|
7
7
|
import { SortType } from './sortType';
|
|
8
8
|
import { UnitCode } from './unitCode';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 勘定
|
|
11
11
|
*/
|
|
12
12
|
export interface IAccounting {
|
|
13
13
|
typeOf: 'Accounting';
|
|
@@ -25,18 +25,15 @@ export interface IAccounting {
|
|
|
25
25
|
accountsReceivable?: number;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* 価格仕様
|
|
29
29
|
*/
|
|
30
30
|
export interface IPriceSpecification<T extends PriceSpecificationType> {
|
|
31
|
-
project
|
|
31
|
+
project?: Pick<IProject, 'id' | 'typeOf'>;
|
|
32
32
|
id?: string;
|
|
33
33
|
typeOf: T;
|
|
34
34
|
name?: string | IMultilingualString;
|
|
35
|
-
description?: string | IMultilingualString;
|
|
36
35
|
eligibleQuantity?: IQuantitativeValue<UnitCode>;
|
|
37
36
|
eligibleTransactionVolume?: IPriceSpecification<PriceSpecificationType>;
|
|
38
|
-
maxPrice?: number;
|
|
39
|
-
minPrice?: number;
|
|
40
37
|
/**
|
|
41
38
|
* 発生金額
|
|
42
39
|
*/
|
|
@@ -45,8 +42,6 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
|
|
|
45
42
|
* 通貨
|
|
46
43
|
*/
|
|
47
44
|
priceCurrency: PriceCurrency;
|
|
48
|
-
validFrom?: Date;
|
|
49
|
-
validThrough?: Date;
|
|
50
45
|
valueAddedTaxIncluded: boolean;
|
|
51
46
|
/**
|
|
52
47
|
* 勘定内容
|
|
@@ -54,13 +49,13 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
|
|
|
54
49
|
accounting?: IAccounting;
|
|
55
50
|
}
|
|
56
51
|
/**
|
|
57
|
-
*
|
|
52
|
+
* 価格仕様ソート条件
|
|
58
53
|
*/
|
|
59
54
|
export interface ISortOrder {
|
|
60
55
|
price?: SortType;
|
|
61
56
|
}
|
|
62
57
|
/**
|
|
63
|
-
*
|
|
58
|
+
* 価格仕様検索条件
|
|
64
59
|
*/
|
|
65
60
|
export interface ISearchConditions<T extends PriceSpecificationType> {
|
|
66
61
|
limit?: number;
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface IItemOffered {
|
|
|
51
51
|
/**
|
|
52
52
|
* 単価オファーの価格仕様
|
|
53
53
|
*/
|
|
54
|
-
export declare type IUnitPriceOfferPriceSpecification = Omit<IUnitPriceSpecification, 'appliesToMovieTicket'> & {
|
|
54
|
+
export declare type IUnitPriceOfferPriceSpecification = Omit<IUnitPriceSpecification, 'appliesToMovieTicket' | 'project'> & {
|
|
55
55
|
appliesToMovieTicket?: IAppliesToMovieTicket[];
|
|
56
56
|
};
|
|
57
57
|
export interface IAddOnItemOffered extends Pick<IProduct, 'typeOf' | 'id' | 'name'> {
|