@chevre/domain 26.0.0-alpha.41 → 26.0.0-alpha.43
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/repo/action/cancel.d.ts +25 -0
- package/lib/chevre/repo/action/cancel.js +47 -0
- package/lib/chevre/repo/action/confirm.d.ts +11 -0
- package/lib/chevre/repo/action/confirm.js +16 -0
- package/lib/chevre/repo/action/order.d.ts +21 -0
- package/lib/chevre/repo/action/order.js +35 -0
- package/lib/chevre/repo/action/reserve.d.ts +21 -0
- package/lib/chevre/repo/action/reserve.js +37 -0
- package/lib/chevre/repo/action/returnAction.d.ts +11 -0
- package/lib/chevre/repo/action/returnAction.js +16 -0
- package/lib/chevre/repo/adminAction.d.ts +8 -2
- package/lib/chevre/repo/adminAction.js +6 -0
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +4 -14
- package/lib/chevre/repository.d.ts +15 -5
- package/lib/chevre/repository.js +35 -13
- package/lib/chevre/service/assetTransaction/pay/confirm.d.ts +0 -10
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorize.d.ts +0 -1
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.d.ts +0 -1
- package/lib/chevre/service/assetTransaction/pay/start.d.ts +0 -1
- package/lib/chevre/service/assetTransaction/refund.d.ts +0 -1
- package/lib/chevre/service/assetTransaction/reserve/cancel.d.ts +4 -2
- package/lib/chevre/service/assetTransaction/reserve/confirm.d.ts +4 -2
- package/lib/chevre/service/assetTransaction/reserveCOA/cancel.d.ts +7 -3
- package/lib/chevre/service/offer/event/authorize.d.ts +0 -1
- package/lib/chevre/service/offer/event/issueEventOfferTicket.d.ts +0 -1
- package/lib/chevre/service/offer/event/voidTransaction/processVoidTransaction4chevre.d.ts +4 -2
- package/lib/chevre/service/offer/event/voidTransaction/processVoidTransaction4coa.d.ts +7 -3
- package/lib/chevre/service/offer/event/voidTransaction.d.ts +4 -2
- package/lib/chevre/service/offer/event/voidTransaction.js +2 -2
- package/lib/chevre/service/offer/event/voidTransactionByActionId.d.ts +4 -2
- package/lib/chevre/service/offer/event/voidTransactionByActionId.js +1 -1
- package/lib/chevre/service/order/confirmPayTransaction.d.ts +4 -10
- package/lib/chevre/service/order/confirmPayTransaction.js +3 -10
- package/lib/chevre/service/order/placeOrder/createPlacingOrderFromExistingTransaction.d.ts +4 -2
- package/lib/chevre/service/order/placeOrder/createPlacingOrderFromExistingTransaction.js +2 -2
- package/lib/chevre/service/order/placeOrder.d.ts +6 -4
- package/lib/chevre/service/order/placeOrder.js +9 -17
- package/lib/chevre/service/order/returnOrder.d.ts +4 -2
- package/lib/chevre/service/order/returnOrder.js +3 -3
- package/lib/chevre/service/payment/any/authorize/fixTransactionNumber.d.ts +0 -1
- package/lib/chevre/service/payment/any/authorize/handlePrePublishedPaymentMethodIdOnAuthorizing.d.ts +0 -1
- package/lib/chevre/service/payment/any/authorize.d.ts +0 -1
- package/lib/chevre/service/payment/any/invalidatePaymentUrl.d.ts +0 -1
- package/lib/chevre/service/payment/any/onPayActionCompleted.d.ts +0 -1
- package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.d.ts +0 -1
- package/lib/chevre/service/payment/any/processVoidPayTransaction.d.ts +0 -1
- package/lib/chevre/service/payment/any/voidPayTransaction.d.ts +0 -1
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard.d.ts +0 -1
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard3ds.d.ts +0 -1
- package/lib/chevre/service/payment/creditCard/authorize.d.ts +0 -1
- package/lib/chevre/service/payment/creditCard/payCreditCard.d.ts +0 -1
- package/lib/chevre/service/payment/creditCard/refundCreditCard.d.ts +0 -1
- package/lib/chevre/service/payment/faceToFace.d.ts +0 -2
- package/lib/chevre/service/payment/movieTicket/authorize.d.ts +0 -1
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.d.ts +0 -1
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket.d.ts +0 -1
- package/lib/chevre/service/reserve/cancelReservation.d.ts +7 -3
- package/lib/chevre/service/reserve/cancelReservation.js +12 -22
- package/lib/chevre/service/reserve/checkInReservation.d.ts +4 -2
- package/lib/chevre/service/reserve/confirmReservation.d.ts +4 -2
- package/lib/chevre/service/reserve/confirmReservation.js +9 -35
- package/lib/chevre/service/reserve/useReservation.d.ts +2 -2
- package/lib/chevre/service/reserveCOA/cancelReservation.d.ts +4 -2
- package/lib/chevre/service/reserveCOA/cancelReservation.js +3 -3
- package/lib/chevre/service/task/cancelPendingReservation.js +3 -3
- package/lib/chevre/service/task/cancelReservation.js +3 -5
- package/lib/chevre/service/task/confirmPayTransaction.js +11 -12
- package/lib/chevre/service/task/confirmReserveTransaction.d.ts +6 -2
- package/lib/chevre/service/task/confirmReserveTransaction.js +9 -5
- package/lib/chevre/service/task/invalidatePaymentUrl.js +0 -1
- package/lib/chevre/service/task/onAuthorizationCreated.js +4 -13
- package/lib/chevre/service/task/onResourceUpdated.js +0 -2
- package/lib/chevre/service/task/pay.js +0 -1
- package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.d.ts +0 -1
- package/lib/chevre/service/task/payment/payByTask.d.ts +0 -1
- package/lib/chevre/service/task/payment/refundByTask.d.ts +0 -1
- package/lib/chevre/service/task/payment/voidPaymentByTask.d.ts +0 -2
- package/lib/chevre/service/task/placeOrder.js +8 -6
- package/lib/chevre/service/task/refund.js +0 -1
- package/lib/chevre/service/task/reserve.js +3 -6
- package/lib/chevre/service/task/returnOrder.js +2 -3
- package/lib/chevre/service/task/returnPayTransaction.js +7 -14
- package/lib/chevre/service/task/returnReserveTransaction.js +5 -5
- package/lib/chevre/service/task/useReservation.js +3 -3
- package/lib/chevre/service/task/voidPayment.js +0 -2
- package/lib/chevre/service/task/voidReserveTransaction.js +2 -2
- package/package.json +1 -1
- package/lib/chevre/repo/action.d.ts +0 -23
- package/lib/chevre/repo/action.js +0 -22
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import { factory } from '../../factory';
|
|
3
|
+
import { ActionProcessRepo } from './anyAction/actionProcess';
|
|
4
|
+
export type ICancelAction = factory.action.cancel.coaReserve.IAction | factory.action.cancel.reservation.IAction;
|
|
5
|
+
export type IActionRecipe = factory.action.cancel.coaReserve.ICancelPendingCOAReserveRecipe;
|
|
6
|
+
/**
|
|
7
|
+
* 予約取消アクションリポジトリ
|
|
8
|
+
*/
|
|
9
|
+
export declare class CancelActionRepo extends ActionProcessRepo<ICancelAction, IActionRecipe> {
|
|
10
|
+
constructor(connection: Connection);
|
|
11
|
+
/**
|
|
12
|
+
* 完了済取消アクション検索
|
|
13
|
+
*/
|
|
14
|
+
findCompletedCancelAction(params: {
|
|
15
|
+
object: {
|
|
16
|
+
reservationNumber: string;
|
|
17
|
+
};
|
|
18
|
+
purpose: {
|
|
19
|
+
/**
|
|
20
|
+
* 予約取引ID
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
}): Promise<Pick<ICancelAction, 'id'> | null>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelActionRepo = void 0;
|
|
4
|
+
const factory_1 = require("../../factory");
|
|
5
|
+
const actionProcess_1 = require("./anyAction/actionProcess");
|
|
6
|
+
const settings_1 = require("../../settings");
|
|
7
|
+
/**
|
|
8
|
+
* 予約取消アクションリポジトリ
|
|
9
|
+
*/
|
|
10
|
+
class CancelActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
11
|
+
constructor(connection) {
|
|
12
|
+
super({ connection }, {
|
|
13
|
+
expireAfterSeconds: actionProcess_1.DEFAULT_EXPIRE_AFTER_SECONDS,
|
|
14
|
+
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 完了済取消アクション検索
|
|
19
|
+
*/
|
|
20
|
+
async findCompletedCancelAction(params) {
|
|
21
|
+
const query = this.actionModel.findOne({
|
|
22
|
+
// limit: 1,
|
|
23
|
+
// page: 1,
|
|
24
|
+
// actionStatus: { $in: [factory.actionStatusType.CompletedActionStatus] },
|
|
25
|
+
// typeOf: { $eq: factory.actionType.CancelAction },
|
|
26
|
+
// object: {
|
|
27
|
+
// typeOf: { $eq: factory.reservationType.ReservationPackage },
|
|
28
|
+
// reservationNumber: { $eq: reserveTransaction.transactionNumber }
|
|
29
|
+
// },
|
|
30
|
+
// purpose: {
|
|
31
|
+
// id: { $in: [params.purpose.id] },
|
|
32
|
+
// typeOf: { $in: [params.purpose.typeOf] }
|
|
33
|
+
// }
|
|
34
|
+
actionStatus: { $eq: factory_1.factory.actionStatusType.CompletedActionStatus },
|
|
35
|
+
typeOf: { $eq: factory_1.factory.actionType.CancelAction },
|
|
36
|
+
'object.reservationNumber': { $exists: true, $eq: params.object.reservationNumber },
|
|
37
|
+
'purpose.id': { $exists: true, $eq: params.purpose.id }
|
|
38
|
+
}, {
|
|
39
|
+
_id: 0,
|
|
40
|
+
id: { $toString: '$_id' }
|
|
41
|
+
});
|
|
42
|
+
return query.setOptions({ maxTimeMS: settings_1.MONGO_MAX_TIME_MS })
|
|
43
|
+
.lean()
|
|
44
|
+
.exec();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CancelActionRepo = CancelActionRepo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import { factory } from '../../factory';
|
|
3
|
+
import { ActionProcessRepo } from './anyAction/actionProcess';
|
|
4
|
+
export type IConfirmAction = factory.action.interact.confirm.pay.IAction | factory.action.interact.confirm.reservation.IAction;
|
|
5
|
+
export type IActionRecipe = factory.action.interact.confirm.reservation.IConfirmCOAReserveRecipe;
|
|
6
|
+
/**
|
|
7
|
+
* 資産取引確定アクションリポジトリ
|
|
8
|
+
*/
|
|
9
|
+
export declare class ConfirmActionRepo extends ActionProcessRepo<IConfirmAction, IActionRecipe> {
|
|
10
|
+
constructor(connection: Connection);
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfirmActionRepo = void 0;
|
|
4
|
+
const actionProcess_1 = require("./anyAction/actionProcess");
|
|
5
|
+
/**
|
|
6
|
+
* 資産取引確定アクションリポジトリ
|
|
7
|
+
*/
|
|
8
|
+
class ConfirmActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
9
|
+
constructor(connection) {
|
|
10
|
+
super({ connection }, {
|
|
11
|
+
expireAfterSeconds: actionProcess_1.DEFAULT_EXPIRE_AFTER_SECONDS,
|
|
12
|
+
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ConfirmActionRepo = ConfirmActionRepo;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import { factory } from '../../factory';
|
|
3
|
+
import { ActionProcessRepo } from './anyAction/actionProcess';
|
|
4
|
+
export type IOrderAction = factory.action.trade.order.IAction;
|
|
5
|
+
/**
|
|
6
|
+
* 注文アクションリポジトリ
|
|
7
|
+
*/
|
|
8
|
+
export declare class OrderActionRepo extends ActionProcessRepo<IOrderAction, never> {
|
|
9
|
+
constructor(connection: Connection);
|
|
10
|
+
/**
|
|
11
|
+
* 完了済予約アクション検索
|
|
12
|
+
*/
|
|
13
|
+
findCompletedOrderAction(params: {
|
|
14
|
+
object: {
|
|
15
|
+
orderNumber: string;
|
|
16
|
+
};
|
|
17
|
+
purpose: {
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
}): Promise<Pick<IOrderAction, 'id'> | null>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderActionRepo = void 0;
|
|
4
|
+
const factory_1 = require("../../factory");
|
|
5
|
+
const actionProcess_1 = require("./anyAction/actionProcess");
|
|
6
|
+
const settings_1 = require("../../settings");
|
|
7
|
+
/**
|
|
8
|
+
* 注文アクションリポジトリ
|
|
9
|
+
*/
|
|
10
|
+
class OrderActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
11
|
+
constructor(connection) {
|
|
12
|
+
super({ connection }, {
|
|
13
|
+
expireAfterSeconds: actionProcess_1.DEFAULT_EXPIRE_AFTER_SECONDS,
|
|
14
|
+
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 完了済予約アクション検索
|
|
19
|
+
*/
|
|
20
|
+
async findCompletedOrderAction(params) {
|
|
21
|
+
const query = this.actionModel.findOne({
|
|
22
|
+
actionStatus: { $eq: factory_1.factory.actionStatusType.CompletedActionStatus },
|
|
23
|
+
typeOf: { $eq: factory_1.factory.actionType.OrderAction },
|
|
24
|
+
'object.orderNumber': { $exists: true, $eq: params.object.orderNumber },
|
|
25
|
+
'purpose.id': { $exists: true, $eq: params.purpose.id }
|
|
26
|
+
}, {
|
|
27
|
+
_id: 0,
|
|
28
|
+
id: { $toString: '$_id' }
|
|
29
|
+
});
|
|
30
|
+
return query.setOptions({ maxTimeMS: settings_1.MONGO_MAX_TIME_MS })
|
|
31
|
+
.lean()
|
|
32
|
+
.exec();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.OrderActionRepo = OrderActionRepo;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import { factory } from '../../factory';
|
|
3
|
+
import { ActionProcessRepo } from './anyAction/actionProcess';
|
|
4
|
+
export type IReserveAction = factory.action.reserve.IAction;
|
|
5
|
+
/**
|
|
6
|
+
* 予約アクションリポジトリ
|
|
7
|
+
*/
|
|
8
|
+
export declare class ReserveActionRepo extends ActionProcessRepo<IReserveAction, never> {
|
|
9
|
+
constructor(connection: Connection);
|
|
10
|
+
/**
|
|
11
|
+
* 完了済予約アクション検索
|
|
12
|
+
*/
|
|
13
|
+
findCompletedReserveAction(params: {
|
|
14
|
+
purpose: {
|
|
15
|
+
/**
|
|
16
|
+
* 予約取引ID
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
}): Promise<Pick<IReserveAction, 'id'> | null>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReserveActionRepo = void 0;
|
|
4
|
+
const factory_1 = require("../../factory");
|
|
5
|
+
const actionProcess_1 = require("./anyAction/actionProcess");
|
|
6
|
+
const settings_1 = require("../../settings");
|
|
7
|
+
/**
|
|
8
|
+
* 予約アクションリポジトリ
|
|
9
|
+
*/
|
|
10
|
+
class ReserveActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
11
|
+
constructor(connection) {
|
|
12
|
+
super({ connection }, {
|
|
13
|
+
expireAfterSeconds: actionProcess_1.DEFAULT_EXPIRE_AFTER_SECONDS,
|
|
14
|
+
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 完了済予約アクション検索
|
|
19
|
+
*/
|
|
20
|
+
async findCompletedReserveAction(params) {
|
|
21
|
+
const query = this.actionModel.findOne({
|
|
22
|
+
actionStatus: { $eq: factory_1.factory.actionStatusType.CompletedActionStatus },
|
|
23
|
+
typeOf: { $eq: factory_1.factory.actionType.ReserveAction },
|
|
24
|
+
// object: {
|
|
25
|
+
// typeOf: { $eq: actionAttributes.object.typeOf }
|
|
26
|
+
// },
|
|
27
|
+
'purpose.id': { $exists: true, $eq: params.purpose.id }
|
|
28
|
+
}, {
|
|
29
|
+
_id: 0,
|
|
30
|
+
id: { $toString: '$_id' }
|
|
31
|
+
});
|
|
32
|
+
return query.setOptions({ maxTimeMS: settings_1.MONGO_MAX_TIME_MS })
|
|
33
|
+
.lean()
|
|
34
|
+
.exec();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ReserveActionRepo = ReserveActionRepo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import { factory } from '../../factory';
|
|
3
|
+
import { ActionProcessRepo } from './anyAction/actionProcess';
|
|
4
|
+
export type IReturnAction = factory.action.transfer.returnAction.invoice.IAction | factory.action.transfer.returnAction.order.IAction | factory.action.transfer.returnAction.reserveTransaction.IAction;
|
|
5
|
+
export type IActionRecipe = factory.action.transfer.returnAction.reserveTransaction.IReturnCOAReserveRecipe;
|
|
6
|
+
/**
|
|
7
|
+
* 返品(返却)アクションリポジトリ
|
|
8
|
+
*/
|
|
9
|
+
export declare class ReturnActionRepo extends ActionProcessRepo<IReturnAction, IActionRecipe> {
|
|
10
|
+
constructor(connection: Connection);
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReturnActionRepo = void 0;
|
|
4
|
+
const actionProcess_1 = require("./anyAction/actionProcess");
|
|
5
|
+
/**
|
|
6
|
+
* 返品(返却)アクションリポジトリ
|
|
7
|
+
*/
|
|
8
|
+
class ReturnActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
9
|
+
constructor(connection) {
|
|
10
|
+
super({ connection }, {
|
|
11
|
+
expireAfterSeconds: actionProcess_1.DEFAULT_EXPIRE_AFTER_SECONDS,
|
|
12
|
+
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ReturnActionRepo = ReturnActionRepo;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { Connection, FilterQuery } from 'mongoose';
|
|
2
2
|
import { factory } from '../factory';
|
|
3
3
|
import type { IDocType } from './mongoose/schemas/action';
|
|
4
|
-
import { IAction, ActionProcessRepo } from './action/anyAction/actionProcess';
|
|
5
|
-
|
|
4
|
+
import { IKeyOfProjection, IAction, IActionRecipe, ActionProcessRepo } from './action/anyAction/actionProcess';
|
|
5
|
+
type IAvailableActionRecipe = IActionRecipe<Exclude<factory.recipe.RecipeCategory, factory.recipe.RecipeCategory.publishPaymentUrl | factory.recipe.RecipeCategory.checkMovieTicket | factory.recipe.RecipeCategory.acceptCOAOffer | factory.recipe.RecipeCategory.authorizeInvoice | factory.recipe.RecipeCategory.authorizeInvoice3ds | factory.recipe.RecipeCategory.payCreditCard | factory.recipe.RecipeCategory.payMovieTicket | factory.recipe.RecipeCategory.refundCreditCard | factory.recipe.RecipeCategory.refundMovieTicket>>;
|
|
6
|
+
type StartableActionType = factory.actionType;
|
|
6
7
|
export type IAction4transaction<T extends factory.actionType.AcceptAction | factory.actionType.AuthorizeAction> = T extends factory.actionType.AcceptAction ? factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction : T extends factory.actionType.AuthorizeAction ? (factory.action.authorize.offer.eventService.IAction | factory.action.authorize.paymentMethod.any.IAction) : never;
|
|
7
8
|
export interface IDeleteActionResult {
|
|
8
9
|
identifier: string;
|
|
@@ -13,6 +14,10 @@ export interface IDeleteActionResult {
|
|
|
13
14
|
*/
|
|
14
15
|
export declare class AdminActionRepo extends ActionProcessRepo<IAction<StartableActionType>, IAvailableActionRecipe> {
|
|
15
16
|
constructor(connection: Connection);
|
|
17
|
+
/**
|
|
18
|
+
* 汎用アクション検索
|
|
19
|
+
*/
|
|
20
|
+
adminFindAnyActions(params: factory.action.ISearchConditions, inclusion: IKeyOfProjection[]): Promise<IAction<factory.actionType>[]>;
|
|
16
21
|
/**
|
|
17
22
|
* 取引に対するアクションを検索する
|
|
18
23
|
*/
|
|
@@ -85,3 +90,4 @@ export declare class AdminActionRepo extends ActionProcessRepo<IAction<Startable
|
|
|
85
90
|
$unset: any;
|
|
86
91
|
}): Promise<import("mongoose").UpdateWriteOpResult>;
|
|
87
92
|
}
|
|
93
|
+
export {};
|
|
@@ -13,6 +13,12 @@ class AdminActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
|
13
13
|
recipeExpireAfterSeconds: actionProcess_1.RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* 汎用アクション検索
|
|
18
|
+
*/
|
|
19
|
+
async adminFindAnyActions(params, inclusion) {
|
|
20
|
+
return this.findAnyActions(params, inclusion);
|
|
21
|
+
}
|
|
16
22
|
/**
|
|
17
23
|
* 取引に対するアクションを検索する
|
|
18
24
|
*/
|
|
@@ -38,25 +38,15 @@ export interface IStorageSettings {
|
|
|
38
38
|
* default:365
|
|
39
39
|
*/
|
|
40
40
|
transactionConfirmedInDays?: number;
|
|
41
|
+
/**
|
|
42
|
+
* イベント終了日時からn日後まで座席をロックする
|
|
43
|
+
*/
|
|
44
|
+
stockHoldAfterEventEndInDays?: number;
|
|
41
45
|
/**
|
|
42
46
|
* 取引保管期間(Canceled)
|
|
43
47
|
* default:7
|
|
44
48
|
*/
|
|
45
49
|
transactionCanceledInDays?: number;
|
|
46
|
-
authorizationInDays?: number;
|
|
47
|
-
actionInDays?: number;
|
|
48
|
-
assetTransactionInDays?: number;
|
|
49
|
-
taskInDays?: number;
|
|
50
|
-
eventInDays?: number;
|
|
51
|
-
/**
|
|
52
|
-
* メッセージ保管日数
|
|
53
|
-
* 2026-06-28~
|
|
54
|
-
*/
|
|
55
|
-
messageInDays?: number;
|
|
56
|
-
/**
|
|
57
|
-
* イベント終了日時からn日後まで座席をロックする
|
|
58
|
-
*/
|
|
59
|
-
stockHoldAfterEventEndInDays?: number;
|
|
60
50
|
}
|
|
61
51
|
interface IQuotaSettings {
|
|
62
52
|
codeExpiresInSecondsDefault?: number;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import type { AcceptedOfferRepo } from './repo/acceptedOffer';
|
|
5
5
|
import type { AccountingReportRepo } from './repo/accountingReport';
|
|
6
6
|
import type { AccountTitleRepo } from './repo/accountTitle';
|
|
7
|
-
import type { ActionRepo } from './repo/action';
|
|
8
7
|
import type { AcceptCOAOfferActionRepo } from './repo/action/acceptCOAOffer';
|
|
9
8
|
import type { AcceptPayActionRepo } from './repo/action/acceptPay';
|
|
10
9
|
import type { AuthorizeInvoiceActionRepo } from './repo/action/authorizeInvoice';
|
|
@@ -17,6 +16,9 @@ import type { PayActionRepo } from './repo/action/pay';
|
|
|
17
16
|
import type { RefundActionRepo } from './repo/action/refund';
|
|
18
17
|
import type { UpdateActionRepo } from './repo/action/update';
|
|
19
18
|
import type { UseActionRepo } from './repo/action/use';
|
|
19
|
+
import type { CancelActionRepo } from './repo/action/cancel';
|
|
20
|
+
import type { OrderActionRepo } from './repo/action/order';
|
|
21
|
+
import type { ConfirmActionRepo } from './repo/action/confirm';
|
|
20
22
|
import type { AsyncActionRepo } from './repo/asyncAction';
|
|
21
23
|
import type { AdditionalPropertyRepo } from './repo/additionalProperty';
|
|
22
24
|
import type { AdminActionRepo } from './repo/adminAction';
|
|
@@ -123,10 +125,6 @@ export type AccountTitle = AccountTitleRepo;
|
|
|
123
125
|
export declare namespace AccountTitle {
|
|
124
126
|
function createInstance(...params: ConstructorParameters<typeof AccountTitleRepo>): Promise<AccountTitleRepo>;
|
|
125
127
|
}
|
|
126
|
-
export type Action = ActionRepo;
|
|
127
|
-
export declare namespace Action {
|
|
128
|
-
function createInstance(...params: ConstructorParameters<typeof ActionRepo>): Promise<ActionRepo>;
|
|
129
|
-
}
|
|
130
128
|
export declare namespace action {
|
|
131
129
|
type AcceptCOAOffer = AcceptCOAOfferActionRepo;
|
|
132
130
|
namespace AcceptCOAOffer {
|
|
@@ -176,6 +174,18 @@ export declare namespace action {
|
|
|
176
174
|
namespace Use {
|
|
177
175
|
function createInstance(...params: ConstructorParameters<typeof UseActionRepo>): Promise<UseActionRepo>;
|
|
178
176
|
}
|
|
177
|
+
type Cancel = CancelActionRepo;
|
|
178
|
+
namespace Cancel {
|
|
179
|
+
function createInstance(...params: ConstructorParameters<typeof CancelActionRepo>): Promise<CancelActionRepo>;
|
|
180
|
+
}
|
|
181
|
+
type Order = OrderActionRepo;
|
|
182
|
+
namespace Order {
|
|
183
|
+
function createInstance(...params: ConstructorParameters<typeof OrderActionRepo>): Promise<OrderActionRepo>;
|
|
184
|
+
}
|
|
185
|
+
type Confirm = ConfirmActionRepo;
|
|
186
|
+
namespace Confirm {
|
|
187
|
+
function createInstance(...params: ConstructorParameters<typeof ConfirmActionRepo>): Promise<ConfirmActionRepo>;
|
|
188
|
+
}
|
|
179
189
|
}
|
|
180
190
|
export type AdditionalProperty = AdditionalPropertyRepo;
|
|
181
191
|
export declare namespace AdditionalProperty {
|
package/lib/chevre/repository.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Offer = exports.OfferItemCondition = exports.OfferCatalogItem = exports.OfferCatalog = exports.NoteAboutOrder = exports.Note = exports.MovieTicketType = exports.Message = exports.MerchantReturnPolicy = exports.MemberProgram = exports.Member = exports.Issuer = exports.IdentityProvider = exports.Identity = exports.EventSeries = exports.EventSellerMakesOffer = exports.EventOffer = exports.Event = exports.EmailMessage = exports.CustomerType = exports.Customer = exports.Credentials = exports.CreativeWork = exports.ConfirmationNumber = exports.Authorization = exports.CategoryCode = exports.assetTransaction = exports.AssetTransaction = exports.Aggregation = exports.AggregateReservation = exports.AggregateOrder = exports.AggregateOffer = exports.AggregateAssetTransaction = exports.AggregateTransaction = exports.AggregateTask = exports.AggregateScheduledTask = exports.AggregateUseAction = exports.AggregateAction = exports.AdminTransaction = exports.AdminTask = exports.AdminScheduledTask = exports.AdminAsyncAction = exports.AdminAssetTransaction = exports.AdminAction = exports.AdditionalProperty = exports.action = exports.
|
|
4
|
-
exports.WebSite = exports.rateLimit = exports.TransactionProcess = exports.TransactionNumber = exports.transaction = exports.Transaction = exports.Ticket = exports.AsyncAction = exports.TaskDelayed = exports.Task = exports.ScheduledTask = exports.StockHolder = exports.setting = exports.Setting = exports.ServiceAvailableHour = exports.SellerReturnPolicy = exports.SellerPaymentAccepted = exports.SellerMakesOffer = exports.Seller = exports.Schedule = exports.Role = exports.ReserveInterface = exports.Reservation = exports.ProjectMakesOffer = exports.Project = exports.ProductHasOfferCatalog = exports.Product = exports.PriceSpecification = exports.PotentialAction = exports.place = exports.Person = exports.PendingReservation = exports.PaymentServiceProvider = exports.PaymentServiceChannel = exports.PaymentService = exports.Passport = exports.OrderNumber = exports.OrderInTransaction =
|
|
3
|
+
exports.Order = exports.Offer = exports.OfferItemCondition = exports.OfferCatalogItem = exports.OfferCatalog = exports.NoteAboutOrder = exports.Note = exports.MovieTicketType = exports.Message = exports.MerchantReturnPolicy = exports.MemberProgram = exports.Member = exports.Issuer = exports.IdentityProvider = exports.Identity = exports.EventSeries = exports.EventSellerMakesOffer = exports.EventOffer = exports.Event = exports.EmailMessage = exports.CustomerType = exports.Customer = exports.Credentials = exports.CreativeWork = exports.ConfirmationNumber = exports.Authorization = exports.CategoryCode = exports.assetTransaction = exports.AssetTransaction = exports.Aggregation = exports.AggregateReservation = exports.AggregateOrder = exports.AggregateOffer = exports.AggregateAssetTransaction = exports.AggregateTransaction = exports.AggregateTask = exports.AggregateScheduledTask = exports.AggregateUseAction = exports.AggregateAction = exports.AdminTransaction = exports.AdminTask = exports.AdminScheduledTask = exports.AdminAsyncAction = exports.AdminAssetTransaction = exports.AdminAction = exports.AdditionalProperty = exports.action = exports.AccountTitle = exports.AccountingReport = exports.AcceptedOffer = void 0;
|
|
4
|
+
exports.WebSite = exports.rateLimit = exports.TransactionProcess = exports.TransactionNumber = exports.transaction = exports.Transaction = exports.Ticket = exports.AsyncAction = exports.TaskDelayed = exports.Task = exports.ScheduledTask = exports.StockHolder = exports.setting = exports.Setting = exports.ServiceAvailableHour = exports.SellerReturnPolicy = exports.SellerPaymentAccepted = exports.SellerMakesOffer = exports.Seller = exports.Schedule = exports.Role = exports.ReserveInterface = exports.Reservation = exports.ProjectMakesOffer = exports.Project = exports.ProductHasOfferCatalog = exports.Product = exports.PriceSpecification = exports.PotentialAction = exports.place = exports.Person = exports.PendingReservation = exports.PaymentServiceProvider = exports.PaymentServiceChannel = exports.PaymentService = exports.Passport = exports.OrderNumber = exports.OrderInTransaction = void 0;
|
|
5
5
|
var AcceptedOffer;
|
|
6
6
|
(function (AcceptedOffer) {
|
|
7
7
|
let repo;
|
|
@@ -35,17 +35,6 @@ var AccountTitle;
|
|
|
35
35
|
}
|
|
36
36
|
AccountTitle.createInstance = createInstance;
|
|
37
37
|
})(AccountTitle || (exports.AccountTitle = AccountTitle = {}));
|
|
38
|
-
var Action;
|
|
39
|
-
(function (Action) {
|
|
40
|
-
let repo;
|
|
41
|
-
async function createInstance(...params) {
|
|
42
|
-
if (repo === undefined) {
|
|
43
|
-
repo = (await import('./repo/action.js')).ActionRepo;
|
|
44
|
-
}
|
|
45
|
-
return new repo(...params);
|
|
46
|
-
}
|
|
47
|
-
Action.createInstance = createInstance;
|
|
48
|
-
})(Action || (exports.Action = Action = {}));
|
|
49
38
|
var action;
|
|
50
39
|
(function (action) {
|
|
51
40
|
let AcceptCOAOffer;
|
|
@@ -180,6 +169,39 @@ var action;
|
|
|
180
169
|
}
|
|
181
170
|
Use.createInstance = createInstance;
|
|
182
171
|
})(Use = action.Use || (action.Use = {}));
|
|
172
|
+
let Cancel;
|
|
173
|
+
(function (Cancel) {
|
|
174
|
+
let repo;
|
|
175
|
+
async function createInstance(...params) {
|
|
176
|
+
if (repo === undefined) {
|
|
177
|
+
repo = (await import('./repo/action/cancel.js')).CancelActionRepo;
|
|
178
|
+
}
|
|
179
|
+
return new repo(...params);
|
|
180
|
+
}
|
|
181
|
+
Cancel.createInstance = createInstance;
|
|
182
|
+
})(Cancel = action.Cancel || (action.Cancel = {}));
|
|
183
|
+
let Order;
|
|
184
|
+
(function (Order) {
|
|
185
|
+
let repo;
|
|
186
|
+
async function createInstance(...params) {
|
|
187
|
+
if (repo === undefined) {
|
|
188
|
+
repo = (await import('./repo/action/order.js')).OrderActionRepo;
|
|
189
|
+
}
|
|
190
|
+
return new repo(...params);
|
|
191
|
+
}
|
|
192
|
+
Order.createInstance = createInstance;
|
|
193
|
+
})(Order = action.Order || (action.Order = {}));
|
|
194
|
+
let Confirm;
|
|
195
|
+
(function (Confirm) {
|
|
196
|
+
let repo;
|
|
197
|
+
async function createInstance(...params) {
|
|
198
|
+
if (repo === undefined) {
|
|
199
|
+
repo = (await import('./repo/action/confirm.js')).ConfirmActionRepo;
|
|
200
|
+
}
|
|
201
|
+
return new repo(...params);
|
|
202
|
+
}
|
|
203
|
+
Confirm.createInstance = createInstance;
|
|
204
|
+
})(Confirm = action.Confirm || (action.Confirm = {}));
|
|
183
205
|
})(action || (exports.action = action = {}));
|
|
184
206
|
var AdditionalProperty;
|
|
185
207
|
(function (AdditionalProperty) {
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { factory } from '../../../factory';
|
|
2
|
-
import type { AcceptedOfferRepo } from '../../../repo/acceptedOffer';
|
|
3
|
-
import type { AccountingReportRepo } from '../../../repo/accountingReport';
|
|
4
|
-
import type { ActionRepo } from '../../../repo/action';
|
|
5
2
|
import type { AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
6
|
-
import type { EventRepo } from '../../../repo/event';
|
|
7
3
|
import type { OrderRepo } from '../../../repo/order';
|
|
8
|
-
import type { TaskRepo } from '../../../repo/task';
|
|
9
4
|
export interface IConfirmRepos {
|
|
10
|
-
acceptedOffer: AcceptedOfferRepo;
|
|
11
|
-
action: ActionRepo;
|
|
12
|
-
accountingReport: AccountingReportRepo;
|
|
13
5
|
assetTransaction: AssetTransactionRepo;
|
|
14
|
-
event: EventRepo;
|
|
15
6
|
order: OrderRepo;
|
|
16
|
-
task: TaskRepo;
|
|
17
7
|
}
|
|
18
8
|
export type IConfirmOperation<T> = (repos: IConfirmRepos) => Promise<T>;
|
|
19
9
|
/**
|
|
@@ -16,7 +16,6 @@ import type { TaskRepo } from '../../../../repo/task';
|
|
|
16
16
|
import { IPaymentAgencyTransaction } from '../../../payment/creditCard';
|
|
17
17
|
export interface IProcessAuthorizeOperationRepos {
|
|
18
18
|
accountingReport: AccountingReportRepo;
|
|
19
|
-
action?: never;
|
|
20
19
|
actions: {
|
|
21
20
|
pay: PayActionRepo;
|
|
22
21
|
refund: RefundActionRepo;
|
|
@@ -19,7 +19,6 @@ import type { TaskRepo } from '../../../repo/task';
|
|
|
19
19
|
import { IPaymentAgencyTransaction } from '../../payment/creditCard';
|
|
20
20
|
export interface IStartOperationRepos {
|
|
21
21
|
accountingReport: AccountingReportRepo;
|
|
22
|
-
action?: never;
|
|
23
22
|
actions: {
|
|
24
23
|
pay: PayActionRepo;
|
|
25
24
|
refund: RefundActionRepo;
|
|
@@ -6,7 +6,6 @@ import type { PotentialActionRepo } from '../../repo/potentialAction';
|
|
|
6
6
|
import type { ProductRepo } from '../../repo/product';
|
|
7
7
|
import type { TaskRepo } from '../../repo/task';
|
|
8
8
|
export interface IStartOperationRepos {
|
|
9
|
-
action?: never;
|
|
10
9
|
actions: {
|
|
11
10
|
pay: PayActionRepo;
|
|
12
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntegrationSettingRepo as Settings } from '../../../repo/setting/integration';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CancelActionRepo } from '../../../repo/action/cancel';
|
|
3
3
|
import type { AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
4
|
import type { OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
5
5
|
import type { ReservationRepo } from '../../../repo/reservation';
|
|
@@ -7,7 +7,9 @@ import type { SettingRepo } from '../../../repo/setting';
|
|
|
7
7
|
import type { StockHolderRepo } from '../../../repo/stockHolder';
|
|
8
8
|
import type { TaskRepo } from '../../../repo/task';
|
|
9
9
|
type ICancelOperation<T> = (repos: {
|
|
10
|
-
|
|
10
|
+
actions: {
|
|
11
|
+
cancel: CancelActionRepo;
|
|
12
|
+
};
|
|
11
13
|
stockHolder: StockHolderRepo;
|
|
12
14
|
offerRateLimit: OfferRateLimitRepo;
|
|
13
15
|
reservation: ReservationRepo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { factory } from '../../../factory';
|
|
2
2
|
import type { IntegrationSettingRepo as Settings } from '../../../repo/setting/integration';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ReserveActionRepo } from '../../../repo/action/reserve';
|
|
4
4
|
import type { AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
5
5
|
import type { AuthorizationRepo } from '../../../repo/authorization';
|
|
6
6
|
import type { OrderRepo } from '../../../repo/order';
|
|
@@ -8,7 +8,9 @@ import type { ReservationRepo } from '../../../repo/reservation';
|
|
|
8
8
|
import type { SettingRepo } from '../../../repo/setting';
|
|
9
9
|
import type { TaskRepo } from '../../../repo/task';
|
|
10
10
|
interface IConfirmRepo {
|
|
11
|
-
|
|
11
|
+
actions: {
|
|
12
|
+
reserve: ReserveActionRepo;
|
|
13
|
+
};
|
|
12
14
|
assetTransaction: AssetTransactionRepo;
|
|
13
15
|
code: AuthorizationRepo;
|
|
14
16
|
order: OrderRepo;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import type { COA } from '@motionpicture/coa-service';
|
|
2
2
|
import { factory } from '../../../factory';
|
|
3
|
-
import {
|
|
3
|
+
import { CancelActionRepo } from '../../../repo/action/cancel';
|
|
4
4
|
import { AcceptCOAOfferActionRepo } from '../../../repo/action/acceptCOAOffer';
|
|
5
5
|
import { TaskRepo } from '../../../repo/task';
|
|
6
6
|
interface ICancelRepos {
|
|
7
|
-
|
|
7
|
+
actions: {
|
|
8
|
+
cancel: CancelActionRepo;
|
|
9
|
+
};
|
|
8
10
|
reserveService: COA.service.Reserve;
|
|
9
11
|
task: TaskRepo;
|
|
10
12
|
}
|
|
11
13
|
interface ICancelByAcceptActionRepos {
|
|
12
|
-
|
|
14
|
+
actions: {
|
|
15
|
+
cancel: CancelActionRepo;
|
|
16
|
+
};
|
|
13
17
|
acceptCOAOfferAction: AcceptCOAOfferActionRepo;
|
|
14
18
|
reserveService: COA.service.Reserve;
|
|
15
19
|
task: TaskRepo;
|
|
@@ -25,7 +25,6 @@ import type { TicketRepo } from '../../../repo/ticket';
|
|
|
25
25
|
import type { PlaceOrderRepo } from '../../../repo/transaction/placeOrder';
|
|
26
26
|
import type { TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
27
27
|
interface IAuthorizeRepos {
|
|
28
|
-
action?: never;
|
|
29
28
|
authorizeOfferAction: AuthorizeOfferActionRepo;
|
|
30
29
|
assetTransaction: AssetTransactionRepo;
|
|
31
30
|
authorization: AuthorizationRepo;
|
|
@@ -9,7 +9,6 @@ import type { MemberProgramRepo } from '../../../repo/memberProgram';
|
|
|
9
9
|
import type { TicketRepo } from '../../../repo/ticket';
|
|
10
10
|
import type { PlaceOrderRepo } from '../../../repo/transaction/placeOrder';
|
|
11
11
|
interface IIssueEventOfferTicketRepos {
|
|
12
|
-
action?: never;
|
|
13
12
|
authorizeTicketedObjectAction: AuthorizeTicketedObjectActionRepo;
|
|
14
13
|
authorization: AuthorizationRepo;
|
|
15
14
|
event: EventRepo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { factory } from '../../../../factory';
|
|
2
2
|
import type { IntegrationSettingRepo as Settings } from '../../../../repo/setting/integration';
|
|
3
|
-
import type {
|
|
3
|
+
import type { CancelActionRepo } from '../../../../repo/action/cancel';
|
|
4
4
|
import type { AssetTransactionRepo } from '../../../../repo/assetTransaction';
|
|
5
5
|
import type { OrderInTransactionRepo } from '../../../../repo/orderInTransaction';
|
|
6
6
|
import type { OfferRateLimitRepo } from '../../../../repo/rateLimit/offer';
|
|
@@ -9,7 +9,9 @@ import type { SettingRepo } from '../../../../repo/setting';
|
|
|
9
9
|
import type { StockHolderRepo } from '../../../../repo/stockHolder';
|
|
10
10
|
import type { TaskRepo } from '../../../../repo/task';
|
|
11
11
|
interface IVoidTransactionRepos {
|
|
12
|
-
|
|
12
|
+
actions: {
|
|
13
|
+
cancel: CancelActionRepo;
|
|
14
|
+
};
|
|
13
15
|
assetTransaction: AssetTransactionRepo;
|
|
14
16
|
stockHolder: StockHolderRepo;
|
|
15
17
|
offerRateLimit: OfferRateLimitRepo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { COA } from '@motionpicture/coa-service';
|
|
2
2
|
import { factory } from '../../../../factory';
|
|
3
|
-
import {
|
|
3
|
+
import { CancelActionRepo } from '../../../../repo/action/cancel';
|
|
4
4
|
import { AcceptCOAOfferActionRepo } from '../../../../repo/action/acceptCOAOffer';
|
|
5
5
|
import { TaskRepo } from '../../../../repo/task';
|
|
6
6
|
declare function processVoidTransaction4coa(params: {
|
|
@@ -11,7 +11,9 @@ declare function processVoidTransaction4coa(params: {
|
|
|
11
11
|
*/
|
|
12
12
|
asyncCancelPendingReservation: boolean;
|
|
13
13
|
}): (repos: {
|
|
14
|
-
|
|
14
|
+
actions: {
|
|
15
|
+
cancel: CancelActionRepo;
|
|
16
|
+
};
|
|
15
17
|
acceptCOAOfferAction: AcceptCOAOfferActionRepo;
|
|
16
18
|
reserveService: COA.service.Reserve;
|
|
17
19
|
task: TaskRepo;
|
|
@@ -24,7 +26,9 @@ declare function processVoidTransactionByAcceptAction4coa(params: {
|
|
|
24
26
|
*/
|
|
25
27
|
asyncCancelPendingReservation: boolean;
|
|
26
28
|
}): (repos: {
|
|
27
|
-
|
|
29
|
+
actions: {
|
|
30
|
+
cancel: CancelActionRepo;
|
|
31
|
+
};
|
|
28
32
|
acceptCOAOfferAction: AcceptCOAOfferActionRepo;
|
|
29
33
|
reserveService: COA.service.Reserve;
|
|
30
34
|
task: TaskRepo;
|