@chevre/factory 4.360.0-alpha.0 → 4.360.0-alpha.2
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/action/reserve.d.ts +1 -8
- package/lib/assetTransaction/reserve.d.ts +3 -1
- package/lib/assetTransaction.d.ts +0 -4
- package/lib/assetTransactionType.d.ts +1 -2
- package/lib/assetTransactionType.js +1 -2
- package/lib/event/screeningEvent.d.ts +0 -3
- package/lib/event/screeningEventSeries.d.ts +0 -4
- package/package.json +1 -1
package/lib/action/reserve.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as ActionFactory from '../action';
|
|
2
2
|
import { ActionType } from '../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
|
-
import { OrderType } from '../order';
|
|
5
4
|
import { IAvailableReservationStatusType } from '../reservation';
|
|
6
5
|
import { IReservationFor as IBusReservationFor } from '../reservation/busReservation';
|
|
7
6
|
import { IReservationFor as IEventReservationFor } from '../reservation/event';
|
|
@@ -11,21 +10,15 @@ export type IAgent = ActionFactory.IParticipantAsProject;
|
|
|
11
10
|
export type IReservationFor = (Pick<IBusReservationFor, 'id' | 'typeOf'> | Pick<IEventReservationFor, 'id' | 'typeOf'>) & {
|
|
12
11
|
optimized: boolean;
|
|
13
12
|
};
|
|
14
|
-
export interface
|
|
13
|
+
export interface IObject {
|
|
15
14
|
reservationFor: IReservationFor;
|
|
16
15
|
reservationNumber: string;
|
|
17
16
|
reservationStatus: IAvailableReservationStatusType;
|
|
18
17
|
typeOf: ReservationType.ReservationPackage;
|
|
19
18
|
}
|
|
20
|
-
export type IObject = IReservationPackageAsObject;
|
|
21
19
|
export interface IResult {
|
|
22
20
|
confirmedReservationId?: string;
|
|
23
21
|
}
|
|
24
|
-
export interface IOrderAsReservePurpose {
|
|
25
|
-
typeOf: OrderType.Order;
|
|
26
|
-
confirmationNumber?: string;
|
|
27
|
-
orderNumber?: string;
|
|
28
|
-
}
|
|
29
22
|
export interface IAssetTransactionAsReservePurpose {
|
|
30
23
|
/**
|
|
31
24
|
* 取引タイプ
|
|
@@ -4,6 +4,7 @@ import { ActionType } from '../actionType';
|
|
|
4
4
|
import * as AssetTransactionFactory from '../assetTransaction';
|
|
5
5
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
6
6
|
import { IExtendId } from '../autoGenerated';
|
|
7
|
+
import { IOrder } from '../order';
|
|
7
8
|
import { IPropertyValue } from '../propertyValue';
|
|
8
9
|
import * as ReservationFactory from '../reservation';
|
|
9
10
|
import { IIssuedThrough as IBusReservationIssuedThrough, IReservation as IBusReservation, IReservationFor as IBusReservationReservationFor } from '../reservation/busReservation';
|
|
@@ -194,9 +195,10 @@ export interface IAcceptedOffer4object {
|
|
|
194
195
|
appliesToMovieTicket?: IAcceptedAppliesToMovieTicket;
|
|
195
196
|
};
|
|
196
197
|
}
|
|
198
|
+
export type IOrderAsReservePurpose = Pick<IOrder, 'confirmationNumber' | 'orderNumber' | 'typeOf'>;
|
|
197
199
|
export interface IPotentialActionsParams {
|
|
198
200
|
reserve?: {
|
|
199
|
-
purpose?:
|
|
201
|
+
purpose?: IOrderAsReservePurpose;
|
|
200
202
|
};
|
|
201
203
|
}
|
|
202
204
|
/**
|
|
@@ -3,7 +3,6 @@ import { IExtendId } from './autoGenerated';
|
|
|
3
3
|
import { OrganizationType } from './organizationType';
|
|
4
4
|
import { PersonType } from './personType';
|
|
5
5
|
import { SortType } from './sortType';
|
|
6
|
-
import { IIdentifier } from './thing';
|
|
7
6
|
import { TransactionStatusType } from './transactionStatusType';
|
|
8
7
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
9
8
|
/**
|
|
@@ -16,7 +15,6 @@ export interface IAgentAsSeller {
|
|
|
16
15
|
* 名称は必須
|
|
17
16
|
*/
|
|
18
17
|
name: string;
|
|
19
|
-
identifier?: IIdentifier;
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
22
20
|
* 管理者主体
|
|
@@ -28,7 +26,6 @@ export interface IAgentAsPerson {
|
|
|
28
26
|
* 名称は必須
|
|
29
27
|
*/
|
|
30
28
|
name: string;
|
|
31
|
-
identifier?: IIdentifier;
|
|
32
29
|
}
|
|
33
30
|
/**
|
|
34
31
|
* 資産取引主体は販売者or管理者
|
|
@@ -83,7 +80,6 @@ export interface IStartParams<T extends AssetTransactionType, TAgent extends IAg
|
|
|
83
80
|
* 資産取引属性
|
|
84
81
|
*/
|
|
85
82
|
export type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
86
|
-
purpose?: any;
|
|
87
83
|
/**
|
|
88
84
|
* 取引状態
|
|
89
85
|
*/
|
|
@@ -15,12 +15,11 @@ var AssetTransactionType;
|
|
|
15
15
|
*/
|
|
16
16
|
AssetTransactionType["Reserve"] = "Reserve";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 予約取消
|
|
19
19
|
*/
|
|
20
20
|
AssetTransactionType["CancelReservation"] = "CancelReservation";
|
|
21
21
|
/**
|
|
22
22
|
* 決済
|
|
23
|
-
* PaymentMethod: PaymentCard,CreditCard...
|
|
24
23
|
*/
|
|
25
24
|
AssetTransactionType["Pay"] = "Pay";
|
|
26
25
|
/**
|
|
@@ -172,9 +172,6 @@ export import IName = AnyEventFactory.IName;
|
|
|
172
172
|
* workPerformed->superEvent.workPerformed完全移行(2023-02-20~)
|
|
173
173
|
*/
|
|
174
174
|
export interface IAttributes extends Omit<AnyEventFactory.IAttributes, 'offers' | 'typeOf' | 'workPerformed'> {
|
|
175
|
-
/**
|
|
176
|
-
* コンテンツ
|
|
177
|
-
*/
|
|
178
175
|
/**
|
|
179
176
|
* 親イベント
|
|
180
177
|
* 施設コンテンツに相当
|
|
@@ -97,10 +97,6 @@ export interface ILocation {
|
|
|
97
97
|
* 名称
|
|
98
98
|
*/
|
|
99
99
|
name?: IMultilingualString;
|
|
100
|
-
/**
|
|
101
|
-
* カナ名称
|
|
102
|
-
*/
|
|
103
|
-
kanaName?: string;
|
|
104
100
|
}
|
|
105
101
|
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'project' | 'typeOf' | 'identifier' | 'name' | 'alternativeHeadline' | 'description' | 'duration' | 'endDate' | 'eventStatus' | 'headline' | 'location' | 'offers' | 'startDate' | 'workPerformed' | 'additionalProperty'> {
|
|
106
102
|
/**
|