@chevre/factory 4.238.0 → 4.239.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.
- package/lib/chevre.d.ts +2 -0
- package/lib/factory/account/transaction.d.ts +8 -4
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +2 -2
- package/lib/factory/action/cancel/reservation.d.ts +3 -4
- package/lib/factory/assetTransaction.d.ts +4 -1
- package/lib/factory/reservation/event.d.ts +2 -0
- package/lib/factory/reservation.d.ts +6 -1
- package/lib/factory/transaction.d.ts +4 -1
- package/package.json +1 -1
package/lib/chevre.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ import * as VoidRegisterServiceTransactionTaskFactory from './factory/task/voidR
|
|
|
159
159
|
import * as VoidReserveTransactionTaskFactory from './factory/task/voidReserveTransaction';
|
|
160
160
|
import { TaskName } from './factory/taskName';
|
|
161
161
|
import { TaskStatus } from './factory/taskStatus';
|
|
162
|
+
import * as AssetTransactionFactory from './factory/assetTransaction';
|
|
162
163
|
import * as CancelReservationAssetTransactionFactory from './factory/assetTransaction/cancelReservation';
|
|
163
164
|
import * as MoneyTransferAssetTransactionFactory from './factory/assetTransaction/moneyTransfer';
|
|
164
165
|
import * as PayAssetTransactionFactory from './factory/assetTransaction/pay';
|
|
@@ -420,6 +421,7 @@ export import taskName = TaskName;
|
|
|
420
421
|
export import taskStatus = TaskStatus;
|
|
421
422
|
export import thing = ThingFactory;
|
|
422
423
|
export declare namespace assetTransaction {
|
|
424
|
+
type IProject = AssetTransactionFactory.IProject;
|
|
423
425
|
type IStartParams<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IStartParams : T extends AssetTransactionType.MoneyTransfer ? MoneyTransferAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IStartParams : T extends AssetTransactionType.RegisterService ? RegisterServiceAssetTransactionFactory.IStartParams : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IStartParams : never;
|
|
424
426
|
type IAttributes<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.IAttributes : T extends AssetTransactionType.MoneyTransfer ? MoneyTransferAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.IAttributes : T extends AssetTransactionType.RegisterService ? RegisterServiceAssetTransactionFactory.IAttributes : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.IAttributes : never;
|
|
425
427
|
type ITransaction<T extends AssetTransactionType> = T extends AssetTransactionType.CancelReservation ? CancelReservationAssetTransactionFactory.ITransaction : T extends AssetTransactionType.MoneyTransfer ? MoneyTransferAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Pay ? PayAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Refund ? RefundAssetTransactionFactory.ITransaction : T extends AssetTransactionType.RegisterService ? RegisterServiceAssetTransactionFactory.ITransaction : T extends AssetTransactionType.Reserve ? ReserveAssetTransactionFactory.ITransaction : never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IExtendId } from '../autoGenerated';
|
|
2
|
-
import {
|
|
2
|
+
import { OrganizationType } from '../organizationType';
|
|
3
3
|
import { TransactionStatusType } from '../transactionStatusType';
|
|
4
4
|
import { TransactionTasksExportationStatus } from '../transactionTasksExportationStatus';
|
|
5
5
|
import * as MoneyTransferActionFactory from './action/moneyTransfer';
|
|
@@ -9,8 +9,12 @@ export import IRecipient = MoneyTransferActionFactory.IRecipient;
|
|
|
9
9
|
export interface ISimpleAccount {
|
|
10
10
|
accountNumber: string;
|
|
11
11
|
}
|
|
12
|
+
export interface IProject {
|
|
13
|
+
id: string;
|
|
14
|
+
typeOf: OrganizationType.Project;
|
|
15
|
+
}
|
|
12
16
|
/**
|
|
13
|
-
*
|
|
17
|
+
* 口座取引開始パラメータ
|
|
14
18
|
*/
|
|
15
19
|
export interface IStartParams<T extends AccountTransactionType, TAgent extends IAgent, TRecipient extends IRecipient, TObject> {
|
|
16
20
|
project: IProject;
|
|
@@ -46,11 +50,11 @@ export interface IStartParams<T extends AccountTransactionType, TAgent extends I
|
|
|
46
50
|
expires: Date;
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
49
|
-
*
|
|
53
|
+
* 口座取引
|
|
50
54
|
*/
|
|
51
55
|
export declare type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
52
56
|
/**
|
|
53
|
-
*
|
|
57
|
+
* 口座取引属性
|
|
54
58
|
*/
|
|
55
59
|
export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
56
60
|
/**
|
|
@@ -66,7 +66,7 @@ export interface IPendingTransaction {
|
|
|
66
66
|
typeOf: AssetTransactionType.Reserve;
|
|
67
67
|
transactionNumber: string;
|
|
68
68
|
}
|
|
69
|
-
export declare type IEvent = Omit<ScreeningEventFactory.IEvent, 'offers' | 'aggregateEntranceGate' | 'aggregateReservation' | 'aggregateOffer' | 'workPerformed'> & {
|
|
69
|
+
export declare type IEvent = Omit<ScreeningEventFactory.IEvent, 'offers' | 'project' | 'additionalProperty' | 'aggregateEntranceGate' | 'aggregateReservation' | 'aggregateOffer' | 'workPerformed' | 'checkInCount' | 'attendeeCount' | 'eventStatus' | 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'alternateName' | 'alternativeHeadline' | 'description' | 'duration' | 'headline' | 'name' | 'location' | 'doorTime' | 'endDate' | 'startDate' | 'coaInfo'> & {
|
|
70
70
|
offers: {
|
|
71
71
|
offeredThrough: ScreeningEventFactory.IOfferedThrough;
|
|
72
72
|
};
|
|
@@ -82,7 +82,7 @@ export declare type IObject<T extends WebAPIFactory.Identifier> = {
|
|
|
82
82
|
* Chevre進行中取引
|
|
83
83
|
*/
|
|
84
84
|
pendingTransaction?: IPendingTransaction;
|
|
85
|
-
} & Omit<IObjectWithoutDetail<T>, 'acceptedOffer'>;
|
|
85
|
+
} & Omit<IObjectWithoutDetail<T>, 'acceptedOffer' | 'reservationFor'>;
|
|
86
86
|
export interface IPurpose {
|
|
87
87
|
typeOf: TransactionType.PlaceOrder;
|
|
88
88
|
id: string;
|
|
@@ -3,19 +3,18 @@ import { ActionType } from '../../actionType';
|
|
|
3
3
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
4
4
|
import { EventType } from '../../eventType';
|
|
5
5
|
import { ProductType } from '../../product';
|
|
6
|
-
import { IReservation as IEventReservation } from '../../reservation/event';
|
|
7
6
|
import { ReservationStatusType } from '../../reservationStatusType';
|
|
8
7
|
import { ReservationType } from '../../reservationType';
|
|
9
8
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
10
9
|
/**
|
|
11
10
|
* 予約取消対象
|
|
12
11
|
*/
|
|
13
|
-
export declare type IObject =
|
|
12
|
+
export declare type IObject = IObject4future;
|
|
14
13
|
export interface IObject4future {
|
|
15
14
|
typeOf: ReservationType.EventReservation;
|
|
16
15
|
id: string;
|
|
17
|
-
issuedThrough
|
|
18
|
-
typeOf
|
|
16
|
+
issuedThrough?: {
|
|
17
|
+
typeOf?: ProductType.EventService;
|
|
19
18
|
};
|
|
20
19
|
reservationFor: {
|
|
21
20
|
typeOf: EventType.ScreeningEvent;
|
|
@@ -2,7 +2,6 @@ import { AssetTransactionType } from './assetTransactionType';
|
|
|
2
2
|
import { IExtendId } from './autoGenerated';
|
|
3
3
|
import { OrganizationType } from './organizationType';
|
|
4
4
|
import { PersonType } from './personType';
|
|
5
|
-
import { IProject } from './project';
|
|
6
5
|
import { SortType } from './sortType';
|
|
7
6
|
import { IIdentifier } from './thing';
|
|
8
7
|
import { TransactionStatusType } from './transactionStatusType';
|
|
@@ -35,6 +34,10 @@ export interface IAgentAsPerson {
|
|
|
35
34
|
* 資産取引主体は販売者or管理者
|
|
36
35
|
*/
|
|
37
36
|
export declare type IAgent = IAgentAsSeller | IAgentAsPerson;
|
|
37
|
+
export interface IProject {
|
|
38
|
+
id: string;
|
|
39
|
+
typeOf: OrganizationType.Project;
|
|
40
|
+
}
|
|
38
41
|
/**
|
|
39
42
|
* 資産取引開始パラメータ
|
|
40
43
|
*/
|
|
@@ -7,6 +7,7 @@ import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../p
|
|
|
7
7
|
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
8
8
|
import { IProject } from '../project';
|
|
9
9
|
import * as ReservationFactory from '../reservation';
|
|
10
|
+
import { ReservationStatusType } from '../reservationStatusType';
|
|
10
11
|
import { ReservationType } from '../reservationType';
|
|
11
12
|
export declare type IOptimizedSuperEvent = Omit<ISuperEvent, 'subtitleLanguage' | 'dubLanguage' | 'organizer' | 'offers' | 'endDate' | 'startDate' | 'doorDate' | 'eventStatus'>;
|
|
12
13
|
export interface IReservationFor {
|
|
@@ -45,6 +46,7 @@ export interface IReservation extends ReservationFactory.IReservation<IPriceSpec
|
|
|
45
46
|
id: string;
|
|
46
47
|
reservationFor: IReservationFor;
|
|
47
48
|
reservationNumber: string;
|
|
49
|
+
reservationStatus: ReservationStatusType;
|
|
48
50
|
reservedTicket: ReservationFactory.ITicket;
|
|
49
51
|
subReservation?: ISubReservation[];
|
|
50
52
|
typeOf: ReservationType.EventReservation;
|
|
@@ -160,7 +160,12 @@ export interface ITicket {
|
|
|
160
160
|
coaTicketInfo?: ICOATicketInfoWithDetails;
|
|
161
161
|
coaReserveAmount?: number;
|
|
162
162
|
}
|
|
163
|
-
export
|
|
163
|
+
export interface IBroker {
|
|
164
|
+
typeOf: PersonType.Person;
|
|
165
|
+
id: string;
|
|
166
|
+
identifier?: IPropertyValue<string>[];
|
|
167
|
+
name?: string;
|
|
168
|
+
}
|
|
164
169
|
export declare type IProgramMembershipUsed = IPermit;
|
|
165
170
|
/**
|
|
166
171
|
* 予約
|
|
@@ -6,7 +6,6 @@ import { IMultilingualString } from './multilingualString';
|
|
|
6
6
|
import { OrganizationType } from './organizationType';
|
|
7
7
|
import { IIdentifier, IPersonAttributes } from './person';
|
|
8
8
|
import { PersonType } from './personType';
|
|
9
|
-
import { IProject } from './project';
|
|
10
9
|
import { SortType } from './sortType';
|
|
11
10
|
import { TransactionStatusType } from './transactionStatusType';
|
|
12
11
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
@@ -52,6 +51,10 @@ export interface IPassportBeforeStart {
|
|
|
52
51
|
*/
|
|
53
52
|
secret: string;
|
|
54
53
|
}
|
|
54
|
+
export interface IProject {
|
|
55
|
+
id: string;
|
|
56
|
+
typeOf: OrganizationType.Project;
|
|
57
|
+
}
|
|
55
58
|
/**
|
|
56
59
|
* 取引開始パラメータ
|
|
57
60
|
*/
|