@chevre/factory 4.389.0-alpha.12 → 4.389.0-alpha.14
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/notification/reservation.d.ts +17 -1
- package/lib/schedule.d.ts +29 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ActionType } from '../actionType';
|
|
1
2
|
import { IProvider, ITicket, IUnderName } from '../reservation';
|
|
2
3
|
import { IIssuedThrough, IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
3
4
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
@@ -81,6 +82,21 @@ export interface IReservation4informUsed {
|
|
|
81
82
|
reservationStatus?: never;
|
|
82
83
|
checkedIn?: never;
|
|
83
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* 予約使用アクション通知
|
|
87
|
+
*/
|
|
88
|
+
export interface IUseAction {
|
|
89
|
+
object: Pick<IReservation4informUsed, 'id' | 'modifiedTime' | 'reservedTicket' | 'typeOf'>;
|
|
90
|
+
typeOf: ActionType.UseAction;
|
|
91
|
+
project: IProject;
|
|
92
|
+
id: string;
|
|
93
|
+
location?: {
|
|
94
|
+
/**
|
|
95
|
+
* 入場ゲートコード
|
|
96
|
+
*/
|
|
97
|
+
identifier: string;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
84
100
|
/**
|
|
85
101
|
* 予約作成通知
|
|
86
102
|
*/
|
|
@@ -105,5 +121,5 @@ export interface IReservationPackage4informPendingCanceled {
|
|
|
105
121
|
reservationStatus: ReservationStatusType.ReservationCancelled;
|
|
106
122
|
typeOf: ReservationType.ReservationPackage;
|
|
107
123
|
}
|
|
108
|
-
export type IReservation4inform = IReservationPackage4informConfirmed | IReservation4informCanceled[] | IReservation4informCheckedIn[] | IReservationPackage4informCheckedIn[] | IReservation4informUsed | IReservationPackage4informPending | IReservationPackage4informPendingCanceled;
|
|
124
|
+
export type IReservation4inform = IReservationPackage4informConfirmed | IReservation4informCanceled[] | IReservation4informCheckedIn[] | IReservationPackage4informCheckedIn[] | IReservation4informUsed | IUseAction | IReservationPackage4informPending | IReservationPackage4informPendingCanceled;
|
|
109
125
|
export {};
|
package/lib/schedule.d.ts
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import { IAvailableAtOrFrom } from './offer';
|
|
2
2
|
import { OrganizationType } from './organizationType';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ISchedule {
|
|
4
|
+
/**
|
|
5
|
+
* The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
|
|
6
|
+
*/
|
|
7
|
+
duration: string;
|
|
8
|
+
/**
|
|
9
|
+
* Indicates the timezone for which the time(s) indicated in the Schedule are given.
|
|
10
|
+
* Asia/Tokyo
|
|
11
|
+
*/
|
|
12
|
+
scheduleTimezone: string;
|
|
13
|
+
/**
|
|
14
|
+
* HH:mm:ss
|
|
15
|
+
*/
|
|
16
|
+
startTime: string;
|
|
17
|
+
/**
|
|
18
|
+
* HH:mm:ss
|
|
19
|
+
*/
|
|
20
|
+
endTime: string;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the frequency at which Events will occur according to a schedule Schedule.
|
|
23
|
+
*/
|
|
24
|
+
repeatFrequency: string;
|
|
25
|
+
typeOf: 'Schedule';
|
|
26
|
+
}
|
|
27
|
+
export interface IEventWithSchedule {
|
|
4
28
|
project: {
|
|
5
29
|
id: string;
|
|
6
30
|
typeOf: OrganizationType.Project;
|
|
@@ -31,6 +55,10 @@ export interface ISchedule4ttts {
|
|
|
31
55
|
*/
|
|
32
56
|
id?: string;
|
|
33
57
|
};
|
|
58
|
+
eventSchedule: ISchedule;
|
|
59
|
+
}
|
|
60
|
+
export interface ISchedule4ttts extends Pick<IEventWithSchedule, 'id' | 'offers' | 'project' | 'superEvent'> {
|
|
61
|
+
eventSchedule?: never;
|
|
34
62
|
duration: number;
|
|
35
63
|
noPerformanceTimes: string[];
|
|
36
64
|
/**
|
|
@@ -48,7 +76,6 @@ export interface ISchedule4ttts {
|
|
|
48
76
|
/**
|
|
49
77
|
* 作成開始が今日から何日後か
|
|
50
78
|
*/
|
|
51
|
-
start: number;
|
|
52
79
|
/**
|
|
53
80
|
* 何日分作成するか
|
|
54
81
|
*/
|