@chevre/factory 4.347.0-alpha.4 → 4.347.0-alpha.6
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/categoryCode.d.ts
CHANGED
package/lib/categoryCode.js
CHANGED
|
@@ -41,10 +41,14 @@ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, '
|
|
|
41
41
|
/**
|
|
42
42
|
* コンテンツ作成パラメータ
|
|
43
43
|
*/
|
|
44
|
-
export type ICreateParams = Pick<ICreativeWork, 'additionalProperty' | '
|
|
44
|
+
export type ICreateParams = Pick<ICreativeWork, 'additionalProperty' | 'datePublished' | 'duration' | 'headline' | 'identifier' | 'thumbnailUrl' | 'typeOf'> & {
|
|
45
45
|
name?: Pick<IMultilingualString, 'en' | 'ja'>;
|
|
46
46
|
offers: Pick<IOffer, 'availabilityEnds'>;
|
|
47
47
|
distributor?: Pick<IDistributor, 'codeValue'>;
|
|
48
|
+
/**
|
|
49
|
+
* レイティング区分コード
|
|
50
|
+
*/
|
|
51
|
+
contentRating?: string;
|
|
48
52
|
};
|
|
49
53
|
/**
|
|
50
54
|
* ソート条件
|
|
@@ -12,9 +12,9 @@ import { UnitCode } from './unitCode';
|
|
|
12
12
|
export interface IAccounting {
|
|
13
13
|
typeOf: 'Accounting';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 細目
|
|
16
16
|
*/
|
|
17
|
-
operatingRevenue?: IAccountTitle
|
|
17
|
+
operatingRevenue?: Pick<IAccountTitle, 'codeValue' | 'typeOf'>;
|
|
18
18
|
/**
|
|
19
19
|
* 売上金額
|
|
20
20
|
*/
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ItemAvailability } from './itemAvailability';
|
|
|
3
3
|
import { IAddOn, ICategory, IEligibleCategoryCode, IEligibleMonetaryAmount, IName, IOffer } from './offer';
|
|
4
4
|
import { OfferType } from './offerType';
|
|
5
5
|
import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
|
|
6
|
+
import { IAccounting } from './priceSpecification';
|
|
6
7
|
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
7
8
|
import { IProduct, ProductType } from './product';
|
|
8
9
|
import { IQuantitativeValue } from './quantitativeValue';
|
|
@@ -77,7 +78,7 @@ export interface IUnitPriceOffer extends Pick<IOffer, 'acceptedPaymentMethod' |
|
|
|
77
78
|
hasMerchantReturnPolicy?: IHasMerchantReturnPolicy;
|
|
78
79
|
settings?: ISettings;
|
|
79
80
|
}
|
|
80
|
-
export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'additionalProperty' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'color' | 'description' | 'identifier' | 'itemOffered' | 'name' | 'settings' | 'validFrom' | 'validRateLimit' | 'validThrough'> & {
|
|
81
|
+
export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eligibleSubReservation' | 'additionalProperty' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'color' | 'description' | 'identifier' | 'itemOffered' | 'name' | 'settings' | 'validFrom' | 'validRateLimit' | 'validThrough'> & {
|
|
81
82
|
addOn?: {
|
|
82
83
|
itemOffered: {
|
|
83
84
|
/**
|
|
@@ -91,14 +92,18 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'add
|
|
|
91
92
|
eligibleMembershipType?: Pick<IEligibleCategoryCode, 'codeValue'>[];
|
|
92
93
|
eligibleMonetaryAmount?: Pick<IEligibleMonetaryAmount, 'currency' | 'value'>[];
|
|
93
94
|
eligibleSeatingType?: Pick<IEligibleCategoryCode, 'codeValue'>[];
|
|
94
|
-
eligibleSubReservation?: Pick<IEligibleCategoryCode, 'codeValue'>[];
|
|
95
95
|
hasMerchantReturnPolicy?: {
|
|
96
96
|
/**
|
|
97
97
|
* 返品ポリシーコード
|
|
98
98
|
*/
|
|
99
99
|
identifier: string;
|
|
100
100
|
}[];
|
|
101
|
-
priceSpecification: Pick<IUnitPriceOfferPriceSpecification, '
|
|
101
|
+
priceSpecification: Pick<IUnitPriceOfferPriceSpecification, 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'price' | 'referenceQuantity'> & {
|
|
102
|
+
/**
|
|
103
|
+
* 勘定内容
|
|
104
|
+
*/
|
|
105
|
+
accounting?: Pick<IAccounting, 'accountsReceivable' | 'operatingRevenue'>;
|
|
106
|
+
};
|
|
102
107
|
};
|
|
103
108
|
/**
|
|
104
109
|
* ソート条件
|