@chevre/factory 4.303.0 → 4.305.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.
@@ -92,6 +92,11 @@ export declare type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveT
92
92
  * 人数制限
93
93
  */
94
94
  limitCount: number;
95
+ /**
96
+ * 販売可能チケットのsalePrice
97
+ * COA予約確定時に指定するsalePriceと異なる
98
+ */
99
+ salesTicketSalePrice: number;
95
100
  };
96
101
  /**
97
102
  * 座席予約供給情報インターフェース
@@ -74,14 +74,19 @@ export import ICOATicketInfoWithDetails = COAReservationOfferFactory.ICOATicketI
74
74
  /**
75
75
  * 受入COA興行オファー
76
76
  */
77
- export declare type IAcceptedOffer4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'seller' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
77
+ export declare type IAcceptedOffer4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
78
78
  itemOffered: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
79
79
  ticketInfo: ICOATicketInfoWithDetails;
80
80
  /**
81
81
  * COAイベントでは、priceSpecificationで価格を表現しきれないので、numberとしてのpriceが必要
82
82
  */
83
83
  price: number;
84
- priceSpecification: OrderFactory.ITicketPriceSpecification & {
84
+ priceSpecification: OrderFactory.ITicketPriceSpecification;
85
+ };
86
+ export declare type IAcceptedOfferBeforeAuthorize4COA = Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<OfferFactory.IOffer, 'id' | 'name' | 'additionalProperty'> & {
87
+ itemOffered: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
88
+ ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice'>;
89
+ priceSpecification: {
85
90
  appliesToSurfrock?: {
86
91
  identifier?: string;
87
92
  serviceOutput?: {
@@ -16,7 +16,7 @@ export import IAgent = ActionFactory.IParticipantAsProject;
16
16
  export import IRecipient = ActionFactory.IParticipantAsSeller;
17
17
  export interface IOrderAsPayPurpose {
18
18
  typeOf: OrderType.Order;
19
- confirmationNumber?: string;
19
+ confirmationNumber: string;
20
20
  orderNumber?: string;
21
21
  }
22
22
  export interface IAssetTransactionAsPayPurpose {
@@ -29,8 +29,7 @@ export interface ITransactionAsPayPurpose {
29
29
  id: string;
30
30
  }
31
31
  export declare type IReturnActionAsPayPurpose = IReturnOrderActionAttributes;
32
- export declare type IPayPurpose = IOrderAsPayPurpose | IAssetTransactionAsPayPurpose | IReturnActionAsPayPurpose | ITransactionAsPayPurpose;
33
- export declare type IPurpose = IPayPurpose;
32
+ export declare type IPurpose = IOrderAsPayPurpose | IAssetTransactionAsPayPurpose | IReturnActionAsPayPurpose | ITransactionAsPayPurpose;
34
33
  export declare type AvailablePaymentMethodType = string;
35
34
  export interface IPendingTransaction {
36
35
  typeOf: AccountFactory.transactionType;
@@ -1,7 +1,7 @@
1
1
  import * as ActionFactory from '../../action';
2
2
  import { ActionType } from '../../actionType';
3
3
  import { IAttributes as IInformActionAttributes } from '../interact/inform';
4
- import { IPaymentService as IPaymentServiceOnPay, IPayPurpose } from './pay';
4
+ import { IPaymentService as IPaymentServiceOnPay, IPurpose as IPayPurpose } from './pay';
5
5
  export declare type IAgent = ActionFactory.IParticipantAsSeller | ActionFactory.IParticipantAsPerson;
6
6
  export declare type IRecipient = ActionFactory.IParticipant;
7
7
  export declare type IPaymentService = IPaymentServiceOnPay & {
@@ -1,5 +1,5 @@
1
1
  import * as GMO from '@motionpicture/gmo-service';
2
- import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation, IMovieTicket, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
2
+ import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation, IMovieTicket, IOrderAsPayPurpose, IPendingTransaction, IPurpose as IPayPurpose, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
3
3
  import * as AssetTransactionFactory from '../assetTransaction';
4
4
  import { AssetTransactionType } from '../assetTransactionType';
5
5
  import { IExtendId } from '../autoGenerated';
package/lib/invoice.d.ts CHANGED
@@ -29,6 +29,10 @@ export interface IReservation {
29
29
  * priceSpecificationへ完全移行(2022-11-23~)
30
30
  */
31
31
  priceSpecification: IReservationPriceSpecification;
32
+ /**
33
+ * 予約番号
34
+ */
35
+ reservationNumber: string;
32
36
  reservedTicket?: {
33
37
  /**
34
38
  * COAの場合のみチケットトークンが存在(2023-03-14~)
package/lib/task/pay.d.ts CHANGED
@@ -8,6 +8,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * 決済タスクインターフェース
11
+ * 決済タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.303.0",
3
+ "version": "4.305.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",