@chevre/factory 4.280.0-alpha.4 → 4.280.0-alpha.6

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.
@@ -19,8 +19,8 @@ export declare enum ObjectType {
19
19
  SeatReservation = "SeatReservation"
20
20
  }
21
21
  export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
22
- export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.IStartParamsWithoutDetail : never;
23
- export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.ITransaction : ReserveTransactionFactory.ITransaction;
22
+ export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
23
+ export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
24
24
  export declare type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
25
25
  /**
26
26
  * 承認アクション結果
@@ -42,10 +42,12 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
42
42
  requestEndpoint?: string;
43
43
  /**
44
44
  * 外部サービスへのリクエスト
45
+ * COAの場合存在する
45
46
  */
46
47
  requestBody: IRequestBody<T>;
47
48
  /**
48
49
  * 外部サービスからのレスポンス
50
+ * COAの場合存在する
49
51
  */
50
52
  responseBody: IResponseBody<T>;
51
53
  acceptedOffers?: IResultAcceptedOffer[];
@@ -3,7 +3,6 @@ import { ActionType } from '../actionType';
3
3
  import { AssetTransactionType } from '../assetTransactionType';
4
4
  import { OrderType } from '../order';
5
5
  import { IReservation as IEventReservation } from '../reservation/event';
6
- import { IAttributes as IInformActionAttributes } from './interact/inform';
7
6
  import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
8
7
  export declare type IAgent = ActionFactory.IParticipantAsProject;
9
8
  /**
@@ -30,7 +29,6 @@ export interface IAssetTransactionAsReservePurpose {
30
29
  id: string;
31
30
  }
32
31
  export declare type IPurpose = IOrderAsReservePurpose | IAssetTransactionAsReservePurpose;
33
- export declare type IInformReservation = IInformActionAttributes<IObject, any>;
34
32
  export interface IPotentialActions {
35
33
  moneyTransfer?: IMoneyTransferActionAttributes[];
36
34
  }
package/lib/order.d.ts CHANGED
@@ -93,7 +93,6 @@ export declare type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEv
93
93
  export declare type IReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
94
94
  superEvent: ISuperEvent;
95
95
  };
96
- export declare type IReservedTicketType = Pick<ITicketType, 'additionalProperty' | 'description' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'project' | 'typeOf'>;
97
96
  export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
98
97
  ticketType: ITicketType;
99
98
  };
@@ -27,9 +27,7 @@ export interface ITicketType {
27
27
  id?: string;
28
28
  identifier: string;
29
29
  name?: string | IMultilingualString;
30
- priceCurrency: PriceCurrency;
31
- project: Pick<IProject, 'id' | 'typeOf'>;
32
- typeOf: OfferType;
30
+ typeOf: OfferType.Offer;
33
31
  validRateLimit?: OfferFactory.IValidRateLimit;
34
32
  }
35
33
  export declare type IPriceSpecification = IGenericPriceSpecification<PriceSpecificationType>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.280.0-alpha.4",
3
+ "version": "4.280.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",