@chevre/factory 5.4.0-alpha.3 → 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.
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/task/syncResourcesFromCOA.d.ts +35 -0
- package/lib/task/syncResourcesFromCOA.js +2 -0
- package/lib/taskName.d.ts +1 -0
- package/lib/taskName.js +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -212,6 +212,7 @@ import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
|
|
|
212
212
|
import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
|
|
213
213
|
import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
|
|
214
214
|
import * as SendOrderTaskFactory from './task/sendOrder';
|
|
215
|
+
import * as SyncResourcesFromCOATaskFactory from './task/syncResourcesFromCOA';
|
|
215
216
|
import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
|
|
216
217
|
import * as UseReservationTaskFactory from './task/useReservation';
|
|
217
218
|
import * as VoidMoneyTransferTransactionTaskFactory from './task/voidMoneyTransferTransaction';
|
|
@@ -551,6 +552,7 @@ export declare namespace task {
|
|
|
551
552
|
export import registerService = RegisterServiceTaskFactory;
|
|
552
553
|
export import reserve = ReserveTaskFactory;
|
|
553
554
|
export import sendEmailMessage = SendEmailMessageTaskFactory;
|
|
555
|
+
export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
554
556
|
export import triggerWebhook = TriggerWebhookTaskFactory;
|
|
555
557
|
export import useReservation = UseReservationTaskFactory;
|
|
556
558
|
export import voidPayment = VoidPaymentTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -192,6 +192,7 @@ var RefundTaskFactory = require("./task/refund");
|
|
|
192
192
|
var RegisterServiceTaskFactory = require("./task/registerService");
|
|
193
193
|
var ReserveTaskFactory = require("./task/reserve");
|
|
194
194
|
var SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
|
|
195
|
+
var SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
|
|
195
196
|
var TriggerWebhookTaskFactory = require("./task/triggerWebhook");
|
|
196
197
|
var UseReservationTaskFactory = require("./task/useReservation");
|
|
197
198
|
var VoidPaymentTaskFactory = require("./task/voidPayment");
|
|
@@ -550,6 +551,7 @@ var task;
|
|
|
550
551
|
task.registerService = RegisterServiceTaskFactory;
|
|
551
552
|
task.reserve = ReserveTaskFactory;
|
|
552
553
|
task.sendEmailMessage = SendEmailMessageTaskFactory;
|
|
554
|
+
task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
553
555
|
task.triggerWebhook = TriggerWebhookTaskFactory;
|
|
554
556
|
task.useReservation = UseReservationTaskFactory;
|
|
555
557
|
task.voidPayment = VoidPaymentTaskFactory;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import { EventType } from '../eventType';
|
|
4
|
+
import * as TaskFactory from '../task';
|
|
5
|
+
import { TaskName } from '../taskName';
|
|
6
|
+
export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication;
|
|
7
|
+
export interface IReplaceEventSeriesAction {
|
|
8
|
+
agent: IAgent;
|
|
9
|
+
object: {
|
|
10
|
+
locationBranchCode: string;
|
|
11
|
+
titleCode: string;
|
|
12
|
+
titleBranchNum: string;
|
|
13
|
+
typeOf: EventType.ScreeningEventSeries;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface IReplaceEventsAction {
|
|
17
|
+
agent: IAgent;
|
|
18
|
+
object: {
|
|
19
|
+
locationBranchCode: string;
|
|
20
|
+
roomCode: string;
|
|
21
|
+
titleCode: string;
|
|
22
|
+
titleBranchNum: string;
|
|
23
|
+
startDate: Date;
|
|
24
|
+
typeOf: EventType.ScreeningEvent;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type IData = IReplaceEventSeriesAction | IReplaceEventsAction;
|
|
28
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
29
|
+
name: TaskName.SyncResourcesFromCOA;
|
|
30
|
+
data: IData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* リソース同期タスク
|
|
34
|
+
*/
|
|
35
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/taskName.d.ts
CHANGED
package/lib/taskName.js
CHANGED