@chevre/factory 4.357.0 → 4.359.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.
@@ -15,16 +15,21 @@ export interface ILocation {
15
15
  */
16
16
  identifier: string;
17
17
  }
18
- export type IPotentialActions = any;
19
18
  export interface IInstrument {
19
+ /**
20
+ * JWT
21
+ */
20
22
  token?: string;
23
+ /**
24
+ * 承認コード
25
+ */
26
+ ticketToken?: string;
21
27
  typeOf: ObjectType.Ticket;
22
28
  }
23
29
  export interface IAttributes extends UseActionFactory.IAttributes<IObject, IResult> {
24
30
  agent: IAgent;
25
- instrument?: IInstrument;
31
+ instrument: IInstrument;
26
32
  location?: ILocation;
27
- potentialActions?: IPotentialActions;
28
33
  }
29
34
  /**
30
35
  * 予約使用アクション
@@ -4,7 +4,6 @@ import * as PermitFactory from './permit';
4
4
  import { PersonType } from './personType';
5
5
  import * as ProductFactory from './product';
6
6
  import { IProject } from './project';
7
- import { IPropertyValue } from './propertyValue';
8
7
  import { IReservation as IBusReservation } from './reservation/busReservation';
9
8
  import { IReservation as IEventReservation } from './reservation/event';
10
9
  import { ReservationType } from './reservationType';
@@ -64,24 +63,22 @@ export type IGood = IReservation | IPermitAsGood;
64
63
  * 所有対象物(対象物詳細有)
65
64
  */
66
65
  export type IGoodWithDetail = IReservationWithDetail | PermitFactory.IPermit;
67
- /**
68
- * 所有者
69
- */
70
66
  export interface IOwnerAsOrganization {
71
67
  typeOf: OrganizationType.Organization;
72
68
  id: string;
73
- identifier?: IPropertyValue<string>[];
74
69
  }
75
70
  export interface IOwnerAsPerson {
76
71
  typeOf: PersonType;
77
72
  id: string;
78
- identifier?: IPropertyValue<string>[];
79
73
  }
80
74
  export interface IOwnerAsWebApplication {
81
75
  typeOf: CreativeWorkType.WebApplication;
82
76
  id: string;
83
- identifier?: IPropertyValue<string>[];
84
77
  }
78
+ /**
79
+ * 所有者
80
+ * 個人情報排除するように
81
+ */
85
82
  export type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
86
83
  export interface IAcquiredFrom {
87
84
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.357.0",
3
+ "version": "4.359.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",