@chevre/factory 4.293.0-alpha.0 → 4.293.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.
@@ -1,14 +1,16 @@
1
1
  import * as surfrock from '@surfrock/sdk';
2
2
  import * as ActionFactory from '../../../action';
3
3
  import { OrganizationType } from '../../../organizationType';
4
- import { IMovieTicket } from '../../../paymentMethod/paymentCard/movieTicket';
4
+ import { IServiceOutput as IMovieTicketServiceOutput } from '../../../paymentMethod/paymentCard/movieTicket';
5
5
  import * as CheckActionFactory from '../../check';
6
6
  import * as PayActionFactory from '../../trade/pay';
7
7
  export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
8
8
  export declare type IPurchaseNumberAuthIn = surfrock.service.auth.factory.IPurchaseNumberAuthIn;
9
9
  export declare type IPurchaseNumberAuthResult = surfrock.service.auth.factory.IPurchaseNumberAuthResult;
10
- export declare type IMovieTicketResult = IMovieTicket;
11
- export interface IPaymentService extends PayActionFactory.IPaymentService {
10
+ export declare type IMovieTicket = Omit<PayActionFactory.IMovieTicket, 'serviceOutput'> & {
11
+ serviceOutput: Pick<IMovieTicketServiceOutput, 'reservationFor'>;
12
+ };
13
+ export interface IPaymentService extends Pick<PayActionFactory.IPaymentService, 'id' | 'typeOf' | 'paymentMethod'> {
12
14
  /**
13
15
  * 販売者
14
16
  */
@@ -16,6 +18,7 @@ export interface IPaymentService extends PayActionFactory.IPaymentService {
16
18
  typeOf: OrganizationType.Corporation;
17
19
  id: string;
18
20
  };
21
+ movieTickets?: IMovieTicket[];
19
22
  }
20
23
  export declare type IObject = IPaymentService[];
21
24
  export interface IResult {
@@ -24,7 +27,7 @@ export interface IResult {
24
27
  /**
25
28
  * 認証結果としてのムビチケリスト
26
29
  */
27
- movieTickets: IMovieTicketResult[];
30
+ movieTickets: IMovieTicket[];
28
31
  }
29
32
  export declare type IError = any;
30
33
  /**
@@ -7,7 +7,7 @@ import { AssetTransactionType } from '../../assetTransactionType';
7
7
  import { CreativeWorkType } from '../../creativeWorkType';
8
8
  import { IPaymentServiceOutput, ITotalPaymentDue } from '../../invoice';
9
9
  import { OrderType } from '../../order';
10
- import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
10
+ import { IMovieTicket as IMovieTicketPaymentCard } from '../../paymentMethod/paymentCard/movieTicket';
11
11
  import { IPropertyValue } from '../../propertyValue';
12
12
  import { PaymentServiceType } from '../../service/paymentService';
13
13
  import { TransactionType } from '../../transactionType';
@@ -75,6 +75,7 @@ export interface IPaymentMethod {
75
75
  */
76
76
  additionalProperty: IPropertyValue<string>[];
77
77
  }
78
+ export declare type IMovieTicket = Omit<IMovieTicketPaymentCard, 'project'>;
78
79
  export interface IPaymentService {
79
80
  typeOf: PaymentServiceType;
80
81
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.293.0-alpha.0",
3
+ "version": "4.293.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",