@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.
@@ -5,7 +5,7 @@ import { SortType } from './sortType';
5
5
  import { IThing } from './thing';
6
6
  export declare enum CategorySetIdentifier {
7
7
  /**
8
- * レーティングタイプ
8
+ * レイティング区分
9
9
  */
10
10
  ContentRatingType = "ContentRatingType",
11
11
  /**
@@ -4,7 +4,7 @@ exports.CategorySetIdentifier = void 0;
4
4
  var CategorySetIdentifier;
5
5
  (function (CategorySetIdentifier) {
6
6
  /**
7
- * レーティングタイプ
7
+ * レイティング区分
8
8
  */
9
9
  CategorySetIdentifier["ContentRatingType"] = "ContentRatingType";
10
10
  /**
@@ -41,10 +41,14 @@ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, '
41
41
  /**
42
42
  * コンテンツ作成パラメータ
43
43
  */
44
- export type ICreateParams = Pick<ICreativeWork, 'additionalProperty' | 'contentRating' | 'datePublished' | 'duration' | 'headline' | 'identifier' | 'thumbnailUrl' | 'typeOf'> & {
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
  */
@@ -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, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'price' | 'referenceQuantity'>;
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
  * ソート条件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.347.0-alpha.4",
3
+ "version": "4.347.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",