@chevre/factory 4.284.0-alpha.3 → 4.284.0-alpha.4

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.
@@ -1,10 +1,16 @@
1
1
  import { IOrder } from './order';
2
- import { IGood, IOwnershipInfo } from './ownershipInfo';
2
+ import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
3
3
  import { IProject } from './project';
4
4
  import { SortType } from './sortType';
5
5
  export declare type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
6
- export declare type IOwnershipInfoAsObject = Pick<IOwnershipInfo<IGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
7
- export declare type IObject = IOrderAsObject | IOwnershipInfo<IGood>;
6
+ export declare type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThrough, 'id' | 'typeOf'>;
7
+ export declare type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
8
+ issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
9
+ };
10
+ export declare type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
11
+ export declare type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
12
+ export declare type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
13
+ export declare type IObject = IOrderAsObject | IOwnershipInfoAsObject;
8
14
  /**
9
15
  * 承認
10
16
  */
@@ -52,11 +52,14 @@ export interface IEventReservationAsGood {
52
52
  */
53
53
  export declare type IReservation = IBusReservationAsGood | IEventReservationAsGood;
54
54
  export declare type IReservationWithDetail = (IEventReservationAsGood & IEventReservation) | (IBusReservationAsGood & IBusReservation);
55
- export declare type IPermit = Pick<PermitFactory.IPermit, 'identifier' | 'issuedThrough' | 'name' | 'project' | 'typeOf' | 'validFor'>;
55
+ export declare type IPermitIssuedThrough = Pick<PermitFactory.IIssuedThrough, 'id' | 'typeOf' | 'serviceType'>;
56
+ export declare type IPermitAsGood = Pick<PermitFactory.IPermit, 'identifier' | 'typeOf' | 'name' | 'validFor'> & {
57
+ issuedThrough?: IPermitIssuedThrough;
58
+ };
56
59
  /**
57
60
  * 所有対象物 (Product or Service)
58
61
  */
59
- export declare type IGood = IReservation | IPermit;
62
+ export declare type IGood = IReservation | IPermitAsGood;
60
63
  /**
61
64
  * 所有対象物(対象物詳細有)
62
65
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.284.0-alpha.3",
3
+ "version": "4.284.0-alpha.4",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",