@chevre/factory 4.324.0-alpha.6 → 4.325.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.
@@ -18,7 +18,10 @@ export interface IAbout extends Pick<IThing, 'name'> {
18
18
  identifier: AboutIdentifier;
19
19
  name: string;
20
20
  }
21
- export interface IAttributes {
21
+ /**
22
+ * Eメールメッセージ
23
+ */
24
+ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'identifier' | 'name' | 'typeOf'> {
22
25
  project?: Pick<IProject, 'id' | 'typeOf'>;
23
26
  typeOf: CreativeWorkType.EmailMessage;
24
27
  sender: IParticipant;
@@ -26,10 +29,6 @@ export interface IAttributes {
26
29
  about: IAbout;
27
30
  text: string;
28
31
  }
29
- /**
30
- * Eメールメッセージ
31
- */
32
- export declare type ICreativeWork = IAttributes & CreativeWorkFactory.ICreativeWork;
33
32
  export interface ICustomizedParticipant {
34
33
  name?: string;
35
34
  email?: string;
@@ -1,4 +1,5 @@
1
1
  import * as CreativeWorkFactory from '../creativeWork';
2
+ import { CreativeWorkType } from '../creativeWorkType';
2
3
  import { IMultilingualString } from '../multilingualString';
3
4
  import * as OfferFactory from '../offer';
4
5
  import { IProject } from '../project';
@@ -19,7 +20,7 @@ export interface IDistributor {
19
20
  * コンテンツ
20
21
  * {@link https://schema.org/Movie}
21
22
  */
22
- export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
23
+ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, 'additionalProperty' | 'alternativeHeadline' | 'contentRating' | 'copyrightHolder' | 'datePublished' | 'headline' | 'thumbnailUrl' | 'typeOf' | 'name' | 'identifier' | 'id'> {
23
24
  project: Pick<IProject, 'id' | 'typeOf'>;
24
25
  identifier: string;
25
26
  /**
@@ -35,6 +36,7 @@ export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
35
36
  * 配給者
36
37
  */
37
38
  distributor?: IDistributor;
39
+ typeOf: CreativeWorkType.Movie;
38
40
  }
39
41
  /**
40
42
  * ソート条件
@@ -1,7 +1,10 @@
1
1
  import * as CreativeWorkFactory from '../../creativeWork';
2
2
  import { CreativeWorkType } from '../../creativeWorkType';
3
3
  import { IIdentifier } from '../../thing';
4
- export interface IWebApplicationAttributes {
4
+ /**
5
+ * ウェブアプリケーション
6
+ */
7
+ export interface ICreativeWork extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'identifier' | 'typeOf'> {
5
8
  typeOf: CreativeWorkType.WebApplication;
6
9
  /**
7
10
  * アプリケーションクライアントID
@@ -9,7 +12,3 @@ export interface IWebApplicationAttributes {
9
12
  id: string;
10
13
  identifier?: IIdentifier;
11
14
  }
12
- /**
13
- * ウェブアプリケーション
14
- */
15
- export declare type ICreativeWork = CreativeWorkFactory.ICreativeWork & IWebApplicationAttributes;
@@ -7,7 +7,7 @@ export interface ICopyrightHolder {
7
7
  }
8
8
  export declare type IContentRating = COA.factory.master.IKubunNameResult | string;
9
9
  /**
10
- * 作品インターフェース
10
+ * 作品
11
11
  * {@link https://schema.org/CreativeWork}
12
12
  */
13
13
  export interface ICreativeWork extends Pick<IThing, 'name' | 'identifier'> {
@@ -8,7 +8,7 @@ export declare enum StringValue {
8
8
  * A point value or interval for product characteristics and other purposes.
9
9
  * {@link https://schema.org/QuantitativeValue}
10
10
  */
11
- export interface IQuantitativeValue<T extends UnitCode | string> extends Pick<IThing, 'name'> {
11
+ export interface IQuantitativeValue<T extends UnitCode | string> extends Pick<IThing, 'description' | 'name'> {
12
12
  /**
13
13
  * The upper value of some characteristic or property.
14
14
  */
@@ -1,7 +1,7 @@
1
1
  import * as waiter from '@waiter/factory';
2
2
  import { IExtendId } from './autoGenerated';
3
3
  import * as EmailFactory from './creativeWork/message/email';
4
- import { IWebApplicationAttributes } from './creativeWork/softwareApplication/webApplication';
4
+ import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
5
5
  import { IMultilingualString } from './multilingualString';
6
6
  import { OrganizationType } from './organizationType';
7
7
  import { IIdentifier, IPersonAttributes } from './person';
@@ -10,7 +10,7 @@ import { SortType } from './sortType';
10
10
  import { TransactionStatusType } from './transactionStatusType';
11
11
  import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
12
12
  import { TransactionType } from './transactionType';
13
- export interface IAgentAsWebApplication extends Pick<IWebApplicationAttributes, 'id' | 'identifier' | 'typeOf'> {
13
+ export interface IAgentAsWebApplication extends Pick<IWebApplication, 'id' | 'identifier' | 'typeOf'> {
14
14
  name?: string;
15
15
  }
16
16
  export interface IAgentAsPerson extends Pick<IPersonAttributes, 'id' | 'identifier' | 'memberOf' | 'typeOf'> {
@@ -5,7 +5,9 @@ import { OfferType } from './offerType';
5
5
  import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
6
6
  import { IAppliesToMovieTicket, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
7
7
  import { IProduct, ProductType } from './product';
8
+ import { IQuantitativeValue } from './quantitativeValue';
8
9
  import { SortType } from './sortType';
10
+ import { UnitCode } from './unitCode';
9
11
  import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './unitPriceOffer/merchantReturnPolicy';
10
12
  export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
11
13
  id: string;
@@ -49,10 +51,17 @@ export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCur
49
51
  export interface ISettings {
50
52
  ignoreCategoryCodeChargeSpec?: boolean;
51
53
  }
54
+ export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
55
+ }
52
56
  /**
53
57
  * 単価オファー
54
58
  */
55
59
  export interface IUnitPriceOffer extends Pick<IOffer, 'project' | 'typeOf' | 'priceCurrency' | 'id' | 'identifier' | 'name' | 'description' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'itemOffered' | 'priceSpecification' | 'additionalProperty' | 'color' | 'category' | 'eligibleSeatingType' | 'eligibleMembershipType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'validFrom' | 'validThrough' | 'validRateLimit'> {
60
+ /**
61
+ * The amount of time that is required between accepting the offer and the actual usage of the resource or service.
62
+ * 事前予約要件(興行オファー承認日時とイベント開始日時の差)
63
+ */
64
+ advanceBookingRequirement?: IAdvanceBookingRequirement;
56
65
  availability: ItemAvailability;
57
66
  /**
58
67
  * コード
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.324.0-alpha.6",
3
+ "version": "4.325.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",