@chevre/factory 4.231.0 → 4.232.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.
@@ -2,12 +2,10 @@ import { ActionStatusType } from './actionStatusType';
2
2
  import { ActionType } from './actionType';
3
3
  import { IExtendId } from './autoGenerated';
4
4
  import { CreativeWorkType } from './creativeWorkType';
5
- import { ICustomer } from './customer';
6
5
  import { OrganizationType } from './organizationType';
7
6
  import { IPersonAttributes } from './person';
8
7
  import { IProject } from './project';
9
8
  import { IPropertyValue } from './propertyValue';
10
- import { ISeller } from './seller';
11
9
  import { SortType } from './sortType';
12
10
  export interface IParticipantAsWebApplication {
13
11
  typeOf: CreativeWorkType.WebApplication;
@@ -15,22 +13,28 @@ export interface IParticipantAsWebApplication {
15
13
  name?: string;
16
14
  url?: string;
17
15
  }
18
- export declare type IParticipantAsPerson = IPersonAttributes & {
16
+ export declare type IParticipantAsPerson = Omit<IPersonAttributes, 'identifier' | 'memberOf'> & {
19
17
  name?: string;
20
18
  url?: string;
21
19
  };
22
- export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'name' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'> & {
20
+ export interface IParticipantAsSeller {
21
+ typeOf: OrganizationType.Corporation;
22
+ id: string;
23
23
  name?: string;
24
- };
24
+ url?: string;
25
+ }
25
26
  export interface IParticipantAsProject {
26
27
  typeOf: OrganizationType.Project;
27
28
  id: string;
28
29
  name?: string;
29
30
  url?: string;
30
31
  }
31
- export declare type IParticipantAsCustomer = Omit<ICustomer, 'name' | 'branchCode' | 'contactPoint' | 'project' | 'additionalProperty'> & {
32
+ export interface IParticipantAsCustomer {
33
+ typeOf: OrganizationType.Organization;
34
+ id: string;
32
35
  name?: string;
33
- };
36
+ url?: string;
37
+ }
34
38
  /**
35
39
  * アクションへの関係者
36
40
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.231.0",
3
+ "version": "4.232.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",