@chevre/factory 4.324.0-alpha.5 → 4.324.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'> {
package/lib/seller.d.ts CHANGED
@@ -69,6 +69,9 @@ export interface ISearchConditions {
69
69
  $regex?: string;
70
70
  };
71
71
  hasMerchantReturnPolicy?: {
72
+ applicablePaymentMethod?: {
73
+ $eq?: string;
74
+ };
72
75
  itemCondition?: {
73
76
  id?: {
74
77
  $eq?: string;
@@ -91,4 +94,9 @@ export interface ISearchConditions {
91
94
  $nin?: IPropertyValue<string>[];
92
95
  $elemMatch?: any;
93
96
  };
97
+ paymentAccepted?: {
98
+ paymentMethodType?: {
99
+ $eq?: string;
100
+ };
101
+ };
94
102
  }
@@ -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'> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.324.0-alpha.5",
3
+ "version": "4.324.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",