@chevre/factory 5.4.0-alpha.4 → 5.4.0-alpha.5
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.
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action';
|
|
1
2
|
import { IExtendId } from '../autoGenerated';
|
|
2
3
|
import { EventType } from '../eventType';
|
|
3
4
|
import * as TaskFactory from '../task';
|
|
4
5
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
6
|
+
export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication;
|
|
7
|
+
export interface IReplaceEventSeriesAction {
|
|
8
|
+
agent: IAgent;
|
|
6
9
|
object: {
|
|
7
10
|
locationBranchCode: string;
|
|
8
11
|
titleCode: string;
|
|
@@ -10,7 +13,8 @@ export interface ISyncEventSeriesAction {
|
|
|
10
13
|
typeOf: EventType.ScreeningEventSeries;
|
|
11
14
|
};
|
|
12
15
|
}
|
|
13
|
-
export interface
|
|
16
|
+
export interface IReplaceEventsAction {
|
|
17
|
+
agent: IAgent;
|
|
14
18
|
object: {
|
|
15
19
|
locationBranchCode: string;
|
|
16
20
|
roomCode: string;
|
|
@@ -20,7 +24,7 @@ export interface ISyncEventsAction {
|
|
|
20
24
|
typeOf: EventType.ScreeningEvent;
|
|
21
25
|
};
|
|
22
26
|
}
|
|
23
|
-
export type IData =
|
|
27
|
+
export type IData = IReplaceEventSeriesAction | IReplaceEventsAction;
|
|
24
28
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
25
29
|
name: TaskName.SyncResourcesFromCOA;
|
|
26
30
|
data: IData;
|