@chevre/factory 4.389.0-alpha.20 → 4.389.0-alpha.21

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,12 @@
1
1
  import { CreativeWorkType } from './creativeWorkType';
2
2
  import { IMember, IMemberOfRole } from './iam';
3
+ import { IInvoice } from './invoice';
3
4
  import { IOrder } from './order';
4
5
  import { OrganizationType } from './organizationType';
5
6
  import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThroughAsFaceToFace, IPermitIssuedThroughAsProduct } from './ownershipInfo';
6
7
  import { PersonType } from './personType';
7
8
  import { IProject } from './project';
9
+ import { PaymentServiceType } from './service/paymentService';
8
10
  import { SortType } from './sortType';
9
11
  import { TransactionType } from './transactionType';
10
12
  export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
@@ -20,7 +22,16 @@ export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject;
20
22
  export type IRoleAsObject = Pick<IMember, 'member' | 'typeOf'> & {
21
23
  member: Pick<IMemberOfRole, 'hasRole' | 'id' | 'memberOf' | 'typeOf'>;
22
24
  };
23
- export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject;
25
+ /**
26
+ * 決済サービス発行のチケット
27
+ */
28
+ export type IInvoiceAsObject = Pick<IInvoice, 'paymentMethodId' | 'typeOf'> & {
29
+ issuedThrough: {
30
+ id: string;
31
+ typeOf: PaymentServiceType.MovieTicket;
32
+ };
33
+ };
34
+ export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject | IInvoiceAsObject;
24
35
  export interface IAudienceAsPlaceOrder {
25
36
  /**
26
37
  * 取引ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.389.0-alpha.20",
3
+ "version": "4.389.0-alpha.21",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",