@chevre/factory 4.352.0-alpha.10 → 4.352.0-alpha.12

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.
@@ -17,7 +17,13 @@ export type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFact
17
17
  export declare enum ObjectType {
18
18
  SeatReservation = "SeatReservation"
19
19
  }
20
- export type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
20
+ export type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T> & {
21
+ /**
22
+ * Chevre->予約取引番号
23
+ * COA->仮予約番号
24
+ */
25
+ transactionNumber?: string;
26
+ };
21
27
  export type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
22
28
  export type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
23
29
  export type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
@@ -135,7 +141,7 @@ export type IObject<T extends WebAPIFactory.Identifier> = {
135
141
  /**
136
142
  * 進行中取引
137
143
  */
138
- pendingTransaction?: IPendingTransaction<T>;
144
+ pendingTransaction: IPendingTransaction<T>;
139
145
  } & Omit<IObjectWithoutDetail<T>, 'acceptedOffer' | 'reservationFor'>;
140
146
  export interface IPurpose {
141
147
  typeOf: TransactionType.PlaceOrder;
@@ -1,6 +1,7 @@
1
1
  import * as ActionFactory from '../../../action';
2
2
  import { ActionType } from '../../../actionType';
3
3
  import * as MoneyTransferTransactionFactory from '../../../assetTransaction/moneyTransfer';
4
+ import { AssetTransactionType } from '../../../assetTransactionType';
4
5
  import { IOffer } from '../../../offer';
5
6
  import * as OrderFactory from '../../../order';
6
7
  import { PriceCurrency } from '../../../priceCurrency';
@@ -31,9 +32,14 @@ export interface ITransactionPurpose {
31
32
  }
32
33
  export type IPurpose = ITransactionPurpose;
33
34
  export type IError = any;
35
+ export interface IInstrument {
36
+ typeOf: AssetTransactionType.MoneyTransfer;
37
+ transactionNumber: string;
38
+ }
34
39
  export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
35
40
  typeOf: ActionType.AuthorizeAction;
36
41
  agent: IAgent;
42
+ instrument: IInstrument;
37
43
  recipient: IRecipient;
38
44
  object: IObject;
39
45
  purpose: IPurpose;
package/lib/action.d.ts CHANGED
@@ -113,6 +113,11 @@ export interface ISearchConditions {
113
113
  $in?: string[];
114
114
  };
115
115
  };
116
+ instrument?: {
117
+ transactionNumber?: {
118
+ $eq?: string;
119
+ };
120
+ };
116
121
  location?: {
117
122
  id?: {
118
123
  $eq?: string;
package/lib/order.d.ts CHANGED
@@ -186,6 +186,10 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
186
186
  */
187
187
  itemOffered: T;
188
188
  priceSpecification?: ITicketPriceSpecification;
189
+ /**
190
+ * 資産取引を特定する番号(2024-01-30~)
191
+ */
192
+ serialNumber?: string;
189
193
  }
190
194
  /**
191
195
  * 販売者
@@ -529,6 +533,9 @@ export interface IAcceptedOffersSearchConditions {
529
533
  */
530
534
  programMembershipUsed?: IProgramMembershipUsedSearchConditions;
531
535
  };
536
+ serialNumber?: {
537
+ $eq?: string;
538
+ };
532
539
  }
533
540
  /**
534
541
  * 注文検索条件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.352.0-alpha.10",
3
+ "version": "4.352.0-alpha.12",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",