@chevre/factory 4.375.0-alpha.21 → 4.375.0-alpha.23

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.
@@ -21,7 +21,7 @@ export interface IPaymentService extends Pick<PayActionFactory.IPaymentService,
21
21
  typeOf: OrganizationType.Corporation;
22
22
  id: string;
23
23
  };
24
- movieTickets?: IMovieTicket[];
24
+ movieTickets: IMovieTicket[];
25
25
  paymentMethod: {
26
26
  /**
27
27
  * 決済方法区分
@@ -10,11 +10,12 @@ export type IRecipient = Pick<ActionFactory.IParticipantAsCustomer, IRecipientAt
10
10
  export type IObject = Pick<IReferencedInvoice, 'accountId' | 'issuedThrough' | 'paymentMethod' | 'paymentMethodId' | 'totalPaymentDue' | 'name' | 'additionalProperty'> & Pick<IInvoice, 'typeOf'>;
11
11
  export interface IResult {
12
12
  }
13
+ export type IPotentialSendEmailMessageAction = Pick<ISendEmailMessageActionAttributes, 'object'>;
13
14
  export interface IPotentialActions {
14
15
  /**
15
16
  * 返金処理完了を通知するEメール送信アクション
16
17
  */
17
- sendEmailMessage?: ISendEmailMessageActionAttributes[];
18
+ sendEmailMessage?: IPotentialSendEmailMessageAction[];
18
19
  }
19
20
  export type IPurpose = ISimpleOrder;
20
21
  export interface IInstrument {
@@ -1,8 +1,10 @@
1
- import { IAttributes as ICheckMovieTicketActionAttributes } from '../action/check/paymentMethod/movieTicket';
1
+ import { IAttributes as ICheckMovieTicketActionAttributes, IPurpose } from '../action/check/paymentMethod/movieTicket';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import * as TaskFactory from '../task';
4
4
  import { TaskName } from '../taskName';
5
- export type IData = ICheckMovieTicketActionAttributes;
5
+ export interface IData extends Pick<ICheckMovieTicketActionAttributes, 'agent' | 'object' | 'project' | 'purpose' | 'typeOf'> {
6
+ purpose: IPurpose;
7
+ }
6
8
  export interface IAttributes extends TaskFactory.IAttributes {
7
9
  name: TaskName.CheckMovieTicket;
8
10
  data: IData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.375.0-alpha.21",
3
+ "version": "4.375.0-alpha.23",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",