@chevre/domain 21.12.0 → 21.13.0-alpha.1
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/example/src/chevre/searchEvents.ts +1 -1
- package/example/src/chevre/searchOrders.ts +1 -1
- package/example/src/chevre/transaction/processReturnOrder.ts +8 -8
- package/example/src/chevre/transaction/startExportTasks.ts +1 -1
- package/example/src/chevre/unsetContainsInPlaceFromMovieTheater.ts +1 -1
- package/example/src/chevre/unsetUnnecessaryFields.ts +1 -1
- package/example/src/chevre/updateOfferCatalogs.ts +1 -1
- package/example/src/chevre/updateTransaction.ts +1 -1
- package/lib/chevre/index.d.ts +1 -2
- package/lib/chevre/index.js +2 -3
- package/lib/chevre/repo/account.js +1 -1
- package/lib/chevre/repo/accountTitle.js +1 -1
- package/lib/chevre/repo/accountTransaction.js +1 -1
- package/lib/chevre/repo/accountingReport.js +1 -1
- package/lib/chevre/repo/action.js +1 -1
- package/lib/chevre/repo/additionalProperty.js +1 -1
- package/lib/chevre/repo/aggregateOffer.js +1 -1
- package/lib/chevre/repo/aggregation.js +1 -1
- package/lib/chevre/repo/assetTransaction.js +1 -1
- package/lib/chevre/repo/categoryCode.js +1 -1
- package/lib/chevre/repo/code.js +1 -1
- package/lib/chevre/repo/comment.js +1 -1
- package/lib/chevre/repo/creativeWork.js +1 -1
- package/lib/chevre/repo/customer.js +1 -1
- package/lib/chevre/repo/emailMessage.js +1 -1
- package/lib/chevre/repo/event.d.ts +2 -2
- package/lib/chevre/repo/event.js +6 -2
- package/lib/chevre/repo/member.js +1 -1
- package/lib/chevre/repo/merchantReturnPolicy.js +1 -1
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -56
- package/lib/chevre/repo/mongoose/schemas/account.js +80 -32
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +4 -90
- package/lib/chevre/repo/mongoose/schemas/accountTitle.js +81 -44
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +4 -95
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +129 -62
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +4 -68
- package/lib/chevre/repo/mongoose/schemas/accountingReport.js +108 -63
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +4 -113
- package/lib/chevre/repo/mongoose/schemas/action.js +345 -215
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +4 -74
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +65 -32
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +4 -73
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.js +258 -155
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -56
- package/lib/chevre/repo/mongoose/schemas/aggregation.js +28 -10
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +4 -113
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +258 -146
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +4 -77
- package/lib/chevre/repo/mongoose/schemas/authorization.js +110 -61
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +4 -86
- package/lib/chevre/repo/mongoose/schemas/categoryCode.js +85 -46
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +4 -89
- package/lib/chevre/repo/mongoose/schemas/comments.js +59 -28
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +4 -104
- package/lib/chevre/repo/mongoose/schemas/creativeWork.js +121 -70
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +4 -86
- package/lib/chevre/repo/mongoose/schemas/customer.js +56 -26
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +4 -80
- package/lib/chevre/repo/mongoose/schemas/emailMessages.js +41 -17
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +4 -158
- package/lib/chevre/repo/mongoose/schemas/event.js +307 -193
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +4 -68
- package/lib/chevre/repo/mongoose/schemas/member.js +65 -37
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +4 -80
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +29 -11
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +4 -91
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +85 -45
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +4 -91
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.js +29 -10
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +4 -73
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.js +37 -12
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +4 -128
- package/lib/chevre/repo/mongoose/schemas/order.js +407 -259
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +4 -86
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.js +187 -111
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +4 -128
- package/lib/chevre/repo/mongoose/schemas/place.js +159 -93
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +4 -92
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.js +94 -49
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +4 -95
- package/lib/chevre/repo/mongoose/schemas/product.js +109 -61
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +4 -83
- package/lib/chevre/repo/mongoose/schemas/project.js +20 -9
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +4 -143
- package/lib/chevre/repo/mongoose/schemas/reservation.js +377 -229
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +4 -65
- package/lib/chevre/repo/mongoose/schemas/role.js +43 -19
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +4 -95
- package/lib/chevre/repo/mongoose/schemas/seller.js +96 -51
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +4 -65
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.js +112 -63
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +4 -95
- package/lib/chevre/repo/mongoose/schemas/task.js +214 -126
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +4 -80
- package/lib/chevre/repo/mongoose/schemas/telemetry.js +44 -24
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +4 -107
- package/lib/chevre/repo/mongoose/schemas/transaction.js +291 -176
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +4 -65
- package/lib/chevre/repo/mongoose/schemas/trip.js +20 -9
- package/lib/chevre/repo/offer.js +5 -4
- package/lib/chevre/repo/offerCatalog.d.ts +1 -1
- package/lib/chevre/repo/offerCatalog.js +2 -2
- package/lib/chevre/repo/offerCatalogItem.js +1 -1
- package/lib/chevre/repo/offerItemCondition.js +1 -1
- package/lib/chevre/repo/order.js +1 -1
- package/lib/chevre/repo/ownershipInfo.js +1 -1
- package/lib/chevre/repo/paymentServiceProvider.js +1 -1
- package/lib/chevre/repo/permit.js +1 -1
- package/lib/chevre/repo/place/hasPOS.js +1 -1
- package/lib/chevre/repo/place.js +1 -1
- package/lib/chevre/repo/priceSpecification.js +1 -1
- package/lib/chevre/repo/product.js +1 -1
- package/lib/chevre/repo/productOffer.js +1 -1
- package/lib/chevre/repo/project.js +1 -1
- package/lib/chevre/repo/reservation.js +1 -1
- package/lib/chevre/repo/role.js +1 -1
- package/lib/chevre/repo/seller.js +1 -1
- package/lib/chevre/repo/serviceOutput.js +1 -1
- package/lib/chevre/repo/task.js +1 -1
- package/lib/chevre/repo/telemetry.js +1 -1
- package/lib/chevre/repo/transaction.js +1 -1
- package/lib/chevre/repo/trip.js +1 -1
- package/lib/chevre/repository.d.ts +160 -137
- package/lib/chevre/repository.js +531 -223
- package/lib/chevre/service/account.d.ts +2 -2
- package/lib/chevre/service/accountTransaction/deposit.d.ts +2 -2
- package/lib/chevre/service/accountTransaction/transfer.d.ts +2 -2
- package/lib/chevre/service/accountTransaction/withdraw.d.ts +2 -2
- package/lib/chevre/service/accountTransaction.d.ts +1 -1
- package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +7 -7
- package/lib/chevre/service/aggregation/event/aggregateUseActionsOnEvent.d.ts +6 -6
- package/lib/chevre/service/aggregation/event/findEventOffers.d.ts +4 -4
- package/lib/chevre/service/aggregation/event/importFromCOA.d.ts +1 -1
- package/lib/chevre/service/aggregation/project.d.ts +3 -3
- package/lib/chevre/service/aggregation/system.d.ts +5 -5
- package/lib/chevre/service/assetTransaction/cancelReservation.d.ts +4 -4
- package/lib/chevre/service/assetTransaction/moneyTransfer.d.ts +4 -4
- package/lib/chevre/service/assetTransaction/moneyTransfer.js +1 -1
- package/lib/chevre/service/assetTransaction/pay/account/validation.d.ts +1 -1
- package/lib/chevre/service/assetTransaction/pay.d.ts +10 -10
- package/lib/chevre/service/assetTransaction/refund.d.ts +4 -4
- package/lib/chevre/service/assetTransaction/registerService.d.ts +8 -8
- package/lib/chevre/service/assetTransaction/reserve.d.ts +14 -14
- package/lib/chevre/service/assetTransaction.d.ts +2 -2
- package/lib/chevre/service/code.d.ts +2 -2
- package/lib/chevre/service/code.js +1 -2
- package/lib/chevre/service/delivery.d.ts +5 -5
- package/lib/chevre/service/event/createEvent.d.ts +4 -4
- package/lib/chevre/service/event.d.ts +7 -7
- package/lib/chevre/service/iam.d.ts +2 -2
- package/lib/chevre/service/moneyTransfer.d.ts +5 -5
- package/lib/chevre/service/notification.d.ts +2 -2
- package/lib/chevre/service/offer/event/authorize.d.ts +15 -15
- package/lib/chevre/service/offer/event/cancel.d.ts +7 -7
- package/lib/chevre/service/offer/event/importFromCOA.d.ts +3 -3
- package/lib/chevre/service/offer/event/searchEventTicketOffers.d.ts +7 -7
- package/lib/chevre/service/offer/event/voidTransaction.d.ts +7 -7
- package/lib/chevre/service/offer/eventServiceByCOA/validateAcceptedOffers.d.ts +1 -1
- package/lib/chevre/service/offer/eventServiceByCOA.d.ts +5 -5
- package/lib/chevre/service/offer/moneyTransfer/authorize.d.ts +6 -6
- package/lib/chevre/service/offer/moneyTransfer/returnMoneyTransfer.d.ts +5 -5
- package/lib/chevre/service/offer/moneyTransfer/settleTransaction.d.ts +2 -2
- package/lib/chevre/service/offer/moneyTransfer/voidTransaction.d.ts +3 -3
- package/lib/chevre/service/offer/product/searchProductOffers.d.ts +3 -3
- package/lib/chevre/service/offer/product.d.ts +14 -14
- package/lib/chevre/service/offer.d.ts +6 -6
- package/lib/chevre/service/order/confirmPayTransaction.d.ts +10 -10
- package/lib/chevre/service/order/deleteOrder.d.ts +5 -5
- package/lib/chevre/service/order/findPlaceOrderTransaction.d.ts +1 -1
- package/lib/chevre/service/order/onAssetTransactionStatusChanged.d.ts +5 -5
- package/lib/chevre/service/order/onOrderStatusChanged.d.ts +2 -2
- package/lib/chevre/service/order/onOrderUpdated.d.ts +1 -1
- package/lib/chevre/service/order/payOrder.d.ts +4 -4
- package/lib/chevre/service/order/placeOrder.d.ts +6 -6
- package/lib/chevre/service/order/returnOrder.d.ts +6 -6
- package/lib/chevre/service/order/sendOrder.d.ts +6 -6
- package/lib/chevre/service/payment/any/onPaid.d.ts +3 -3
- package/lib/chevre/service/payment/any/onPaymentStatusChanged/onPaid.d.ts +1 -1
- package/lib/chevre/service/payment/any/onPaymentStatusChanged/onRefunded.d.ts +1 -1
- package/lib/chevre/service/payment/any/onPaymentStatusChanged.d.ts +2 -2
- package/lib/chevre/service/payment/any/onRefund.d.ts +3 -3
- package/lib/chevre/service/payment/any.d.ts +10 -10
- package/lib/chevre/service/payment/creditCard.d.ts +6 -6
- package/lib/chevre/service/payment/faceToFace.d.ts +6 -6
- package/lib/chevre/service/payment/movieTicket/checkByIdentifier.d.ts +2 -2
- package/lib/chevre/service/payment/movieTicket/getCredentials.d.ts +1 -1
- package/lib/chevre/service/payment/movieTicket/validation.d.ts +5 -5
- package/lib/chevre/service/payment/movieTicket.d.ts +6 -6
- package/lib/chevre/service/payment/paymentCard.d.ts +7 -7
- package/lib/chevre/service/payment.d.ts +9 -9
- package/lib/chevre/service/permit.d.ts +2 -2
- package/lib/chevre/service/product.d.ts +3 -3
- package/lib/chevre/service/project.d.ts +16 -16
- package/lib/chevre/service/report/telemetry.d.ts +19 -16
- package/lib/chevre/service/reserve/cancelReservation.d.ts +3 -3
- package/lib/chevre/service/reserve/checkInReservation.d.ts +5 -5
- package/lib/chevre/service/reserve/confirmReservation.d.ts +4 -4
- package/lib/chevre/service/reserve/potentialActions/onReservationCanceled.d.ts +1 -1
- package/lib/chevre/service/reserve/potentialActions/onReservationCheckedIn.d.ts +2 -2
- package/lib/chevre/service/reserve/potentialActions/onReservationConfirmed.d.ts +1 -1
- package/lib/chevre/service/reserve/potentialActions/onReservationUsed.d.ts +1 -1
- package/lib/chevre/service/reserve/useReservation.d.ts +5 -5
- package/lib/chevre/service/reserve/verifyToken4reservation.d.ts +1 -1
- package/lib/chevre/service/task/onResourceUpdated/onHasPOSUpdated.d.ts +2 -2
- package/lib/chevre/service/task/onResourceUpdated/onOfferCatalogUpdated.d.ts +3 -3
- package/lib/chevre/service/task/onResourceUpdated/onResourceDeleted.d.ts +15 -15
- package/lib/chevre/service/task/onResourceUpdated/syncOfferCatalog.d.ts +2 -2
- package/lib/chevre/service/task.d.ts +1 -1
- package/lib/chevre/service/task.js +3 -4
- package/lib/chevre/service/transaction/deleteTransaction.d.ts +9 -9
- package/lib/chevre/service/transaction/moneyTransfer.d.ts +9 -9
- package/lib/chevre/service/transaction/orderProgramMembership/findPaymentCardPermit.d.ts +2 -2
- package/lib/chevre/service/transaction/placeOrder.d.ts +2 -2
- package/lib/chevre/service/transaction/placeOrderInProgress.d.ts +7 -7
- package/lib/chevre/service/transaction/returnOrder.d.ts +10 -10
- package/lib/chevre/service/transaction.d.ts +2 -2
- package/lib/chevre/settings.d.ts +1 -0
- package/lib/chevre/settings.js +2 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* 開設、閉鎖等、口座アクション実行など
|
|
4
4
|
*/
|
|
5
5
|
import * as factory from '../factory';
|
|
6
|
-
import { MongoRepository as AccountRepo } from '../repo/account';
|
|
7
|
-
import { MongoRepository as AccountTransactionRepo } from '../repo/accountTransaction';
|
|
6
|
+
import type { MongoRepository as AccountRepo } from '../repo/account';
|
|
7
|
+
import type { MongoRepository as AccountTransactionRepo } from '../repo/accountTransaction';
|
|
8
8
|
export type IOpenOperation<T> = (repos: {
|
|
9
9
|
account: AccountRepo;
|
|
10
10
|
}) => Promise<T>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* 入金取引サービス
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../factory';
|
|
5
|
-
import { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
-
import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
5
|
+
import type { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
+
import type { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
7
7
|
export type IStartOperation<T> = (repos: {
|
|
8
8
|
account: AccountRepo;
|
|
9
9
|
accountTransaction: AccountTransactionRepo;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* 転送取引サービス
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../factory';
|
|
5
|
-
import { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
-
import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
5
|
+
import type { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
+
import type { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
7
7
|
export type IStartOperation<T> = (repos: {
|
|
8
8
|
account: AccountRepo;
|
|
9
9
|
accountTransaction: AccountTransactionRepo;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* 出金取引サービス
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../factory';
|
|
5
|
-
import { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
-
import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
5
|
+
import type { MongoRepository as AccountRepo } from '../../repo/account';
|
|
6
|
+
import type { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
|
|
7
7
|
export type IStartOperation<T> = (repos: {
|
|
8
8
|
account: AccountRepo;
|
|
9
9
|
accountTransaction: AccountTransactionRepo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 口座取引サービス
|
|
3
3
|
*/
|
|
4
|
-
import { MongoRepository as AccountTransactionRepo } from '../repo/accountTransaction';
|
|
4
|
+
import type { MongoRepository as AccountTransactionRepo } from '../repo/accountTransaction';
|
|
5
5
|
import * as factory from '../factory';
|
|
6
6
|
import * as DepositTransactionService from './accountTransaction/deposit';
|
|
7
7
|
import * as TransferTransactionService from './accountTransaction/transfer';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IMinimizedIndividualEvent, MongoRepository as EventRepo } from '../../../repo/event';
|
|
2
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
2
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
4
|
import { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
5
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
6
|
-
import { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
5
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
6
|
+
import type { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
7
7
|
import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
8
|
-
import { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
9
|
-
import { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
10
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
8
|
+
import type { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
9
|
+
import type { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
10
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
11
11
|
import * as factory from '../../../factory';
|
|
12
12
|
export type IAggregateScreeningEventOperation<T> = (repos: {
|
|
13
13
|
event: EventRepo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
2
|
-
import { MongoRepository as EventRepo } from '../../../repo/event';
|
|
3
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
4
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
5
|
-
import { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
6
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
2
|
+
import type { MongoRepository as EventRepo } from '../../../repo/event';
|
|
3
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
4
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
5
|
+
import type { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
6
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
7
7
|
export type IAggregateOperation<T> = (repos: {
|
|
8
8
|
action: ActionRepo;
|
|
9
9
|
event: EventRepo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMinimizedIndividualEvent } from '../../../repo/event';
|
|
2
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
1
|
+
import type { IMinimizedIndividualEvent } from '../../../repo/event';
|
|
2
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
5
5
|
import * as factory from '../../../factory';
|
|
6
6
|
/**
|
|
7
7
|
* イベントオファー検索
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
2
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
3
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
1
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
2
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
3
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
4
4
|
export type IAggregateOperation<T> = (repos: {
|
|
5
5
|
project: ProjectRepo;
|
|
6
6
|
reservation: ReservationRepo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
2
2
|
import { MongoRepository as AggregationRepo } from '../../repo/aggregation';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
5
|
-
import { MongoRepository as TasKRepo } from '../../repo/task';
|
|
6
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
5
|
+
import type { MongoRepository as TasKRepo } from '../../repo/task';
|
|
6
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
7
7
|
type AggregateDurationUnit = 'days' | 'hours';
|
|
8
8
|
declare function aggregateEvent(params: {
|
|
9
9
|
aggregateDurationUnit: AggregateDurationUnit;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
4
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
4
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
export type IStartOperation<T> = (repos: {
|
|
7
7
|
project: ProjectRepo;
|
|
8
8
|
reservation: ReservationRepo;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
4
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
4
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
export type IStartOperation<T> = (repos: {
|
|
7
7
|
product: ProductRepo;
|
|
8
8
|
project: ProjectRepo;
|
|
@@ -16,7 +16,7 @@ exports.exportTasksById = exports.cancel = exports.confirm = exports.start = voi
|
|
|
16
16
|
const moment = require("moment");
|
|
17
17
|
const factory = require("../../factory");
|
|
18
18
|
const pecorinoapi = require("../../pecorinoapi");
|
|
19
|
-
// import { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
|
|
19
|
+
// import type { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
|
|
20
20
|
const MoneyTransferService = require("../moneyTransfer");
|
|
21
21
|
const potentialActions_1 = require("./moneyTransfer/potentialActions");
|
|
22
22
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ペイメントカード決済取引バリデーション
|
|
3
3
|
*/
|
|
4
|
-
import { MongoRepository as SellerRepo } from '../../../../repo/seller';
|
|
4
|
+
import type { MongoRepository as SellerRepo } from '../../../../repo/seller';
|
|
5
5
|
import * as factory from '../../../../factory';
|
|
6
6
|
export declare function validateAccount(params: factory.assetTransaction.pay.IStartParamsWithoutDetail): (repos: {
|
|
7
7
|
seller: SellerRepo;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as GMO from '@motionpicture/gmo-service';
|
|
5
5
|
import * as factory from '../../factory';
|
|
6
|
-
import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
|
|
7
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
8
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
9
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
10
|
-
import { MongoRepository as OrderRepo } from '../../repo/order';
|
|
11
|
-
import { CognitoRepository as PersonRepo } from '../../repo/person';
|
|
12
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
13
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
14
|
-
import { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
15
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
|
+
import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
|
|
7
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
8
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
9
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
10
|
+
import type { MongoRepository as OrderRepo } from '../../repo/order';
|
|
11
|
+
import type { CognitoRepository as PersonRepo } from '../../repo/person';
|
|
12
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
13
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
14
|
+
import type { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
15
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
16
16
|
import * as MovieTicketPayment from '../payment/movieTicket';
|
|
17
17
|
export interface IStartOperationRepos {
|
|
18
18
|
accountingReport: AccountingReportRepo;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
export interface IStartOperationRepos {
|
|
7
7
|
action: ActionRepo;
|
|
8
8
|
product: ProductRepo;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as AccountRepo } from '../../repo/account';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
5
|
-
import { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
|
|
6
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
7
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
8
|
-
import { MongoRepository as ServiceOutputRepo } from '../../repo/serviceOutput';
|
|
9
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as AccountRepo } from '../../repo/account';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
5
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
|
|
6
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
7
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
8
|
+
import type { MongoRepository as ServiceOutputRepo } from '../../repo/serviceOutput';
|
|
9
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
10
10
|
export type IStartOperation<T> = (repos: {
|
|
11
11
|
account: AccountRepo;
|
|
12
12
|
offer: OfferRepo;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
-
import { IMinimizedIndividualEvent, MongoRepository as EventRepo } from '../../repo/event';
|
|
5
|
-
import { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
6
|
-
import { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
|
|
7
|
-
import { MongoRepository as OrderRepo } from '../../repo/order';
|
|
8
|
-
import { MongoRepository as PlaceRepo } from '../../repo/place';
|
|
9
|
-
import { MongoRepository as PriceSpecificationRepo } from '../../repo/priceSpecification';
|
|
10
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
11
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
12
|
-
import { RedisRepository as OfferRateLimitRepo } from '../../repo/rateLimit/offer';
|
|
13
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
14
|
-
import { StockHolderRepository as StockHolderRepo } from '../../repo/stockHolder';
|
|
15
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
|
+
import type { IMinimizedIndividualEvent, MongoRepository as EventRepo } from '../../repo/event';
|
|
5
|
+
import type { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
6
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
|
|
7
|
+
import type { MongoRepository as OrderRepo } from '../../repo/order';
|
|
8
|
+
import type { MongoRepository as PlaceRepo } from '../../repo/place';
|
|
9
|
+
import type { MongoRepository as PriceSpecificationRepo } from '../../repo/priceSpecification';
|
|
10
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
11
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
12
|
+
import type { RedisRepository as OfferRateLimitRepo } from '../../repo/rateLimit/offer';
|
|
13
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
14
|
+
import type { StockHolderRepository as StockHolderRepo } from '../../repo/stockHolder';
|
|
15
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
16
16
|
export interface IStartOperationRepos {
|
|
17
17
|
stockHolder: StockHolderRepo;
|
|
18
18
|
event: EventRepo;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* 取引サービス
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../factory';
|
|
5
|
-
import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
|
|
6
|
-
import { MongoRepository as TaskRepo } from '../repo/task';
|
|
5
|
+
import type { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
|
|
6
|
+
import type { MongoRepository as TaskRepo } from '../repo/task';
|
|
7
7
|
import * as CancelReservationTransactionService from './assetTransaction/cancelReservation';
|
|
8
8
|
import * as MoneyTransferTransactionService from './assetTransaction/moneyTransfer';
|
|
9
9
|
import * as PayTransactionService from './assetTransaction/pay';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../repo/action';
|
|
2
|
-
import { MongoRepository as AuthorizationRepo } from '../repo/code';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../repo/action';
|
|
2
|
+
import type { MongoRepository as AuthorizationRepo } from '../repo/code';
|
|
3
3
|
import * as factory from '../factory';
|
|
4
4
|
export type IToken = string;
|
|
5
5
|
export type ICode = string;
|
|
@@ -14,7 +14,6 @@ exports.verifyToken = exports.getToken = void 0;
|
|
|
14
14
|
* 承認サービス
|
|
15
15
|
*/
|
|
16
16
|
const jwt = require("jsonwebtoken");
|
|
17
|
-
const code_1 = require("../repo/code");
|
|
18
17
|
const factory = require("../factory");
|
|
19
18
|
const credentials_1 = require("../credentials");
|
|
20
19
|
/**
|
|
@@ -32,7 +31,7 @@ function getToken(params) {
|
|
|
32
31
|
});
|
|
33
32
|
const authorization = authorizations.shift();
|
|
34
33
|
if (authorization === undefined) {
|
|
35
|
-
throw new factory.errors.NotFound(
|
|
34
|
+
throw new factory.errors.NotFound('Authorization');
|
|
36
35
|
}
|
|
37
36
|
const data = authorization.object;
|
|
38
37
|
return new Promise((resolve, reject) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
-
import { MongoRepository as AssetRepo } from '../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../repo/product';
|
|
5
|
-
import { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
-
import { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetRepo } from '../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../repo/product';
|
|
5
|
+
import type { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
+
import type { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
|
|
7
7
|
import { createOwnershipInfosFromOrder } from './delivery/factory';
|
|
8
8
|
/**
|
|
9
9
|
* 特典付与
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
-
import { MongoRepository as PlaceRepo } from '../../repo/place';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
+
import type { MongoRepository as PlaceRepo } from '../../repo/place';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
export declare function createEvent(params: factory.task.createEvent.IData): (repos: {
|
|
7
7
|
action: ActionRepo;
|
|
8
8
|
event: EventRepo;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../repo/action';
|
|
2
|
-
import { MongoRepository as CategoryCodeRepo } from '../repo/categoryCode';
|
|
3
|
-
import { MongoRepository as EventRepo } from '../repo/event';
|
|
4
|
-
import { MongoRepository as PlaceRepo } from '../repo/place';
|
|
5
|
-
import { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
-
import { MongoRepository as SellerRepo } from '../repo/seller';
|
|
7
|
-
import { MongoRepository as TaskRepo } from '../repo/task';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../repo/action';
|
|
2
|
+
import type { MongoRepository as CategoryCodeRepo } from '../repo/categoryCode';
|
|
3
|
+
import type { MongoRepository as EventRepo } from '../repo/event';
|
|
4
|
+
import type { MongoRepository as PlaceRepo } from '../repo/place';
|
|
5
|
+
import type { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
+
import type { MongoRepository as SellerRepo } from '../repo/seller';
|
|
7
|
+
import type { MongoRepository as TaskRepo } from '../repo/task';
|
|
8
8
|
import * as factory from '../factory';
|
|
9
9
|
import { createEvent } from './event/createEvent';
|
|
10
10
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* IAMサービス
|
|
3
3
|
*/
|
|
4
|
-
import { MongoRepository as MemberRepo } from '../repo/member';
|
|
5
|
-
import { MongoRepository as RoleRepo } from '../repo/role';
|
|
4
|
+
import type { MongoRepository as MemberRepo } from '../repo/member';
|
|
5
|
+
import type { MongoRepository as RoleRepo } from '../repo/role';
|
|
6
6
|
import * as factory from '../factory';
|
|
7
7
|
export type IPermission = string;
|
|
8
8
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../repo/product';
|
|
5
|
-
import { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
-
import { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../repo/product';
|
|
5
|
+
import type { MongoRepository as ProjectRepo } from '../repo/project';
|
|
6
|
+
import type { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
|
|
7
7
|
export type IAuthorizeOperation<T> = (repos: {
|
|
8
8
|
product: ProductRepo;
|
|
9
9
|
project: ProjectRepo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
-
import { MongoRepository as ProjectRepo } from '../repo/project';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../repo/action';
|
|
3
|
+
import type { MongoRepository as ProjectRepo } from '../repo/project';
|
|
4
4
|
export type Operation<T> = (repos: {
|
|
5
5
|
accessToken: string;
|
|
6
6
|
}) => Promise<T>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as EventRepo } from '../../../repo/event';
|
|
5
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
6
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
7
|
-
import { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
8
|
-
import { MongoRepository as PriceSpecificationRepo } from '../../../repo/priceSpecification';
|
|
9
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
10
|
-
import { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
11
|
-
import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
12
|
-
import { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
13
|
-
import { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
14
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
15
|
-
import { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
16
|
-
import { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as EventRepo } from '../../../repo/event';
|
|
5
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
6
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
7
|
+
import type { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
8
|
+
import type { MongoRepository as PriceSpecificationRepo } from '../../../repo/priceSpecification';
|
|
9
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
10
|
+
import type { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
11
|
+
import type { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
12
|
+
import type { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
13
|
+
import type { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
14
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
15
|
+
import type { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
16
|
+
import type { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
17
17
|
import { IObjectWithoutDetail } from './factory';
|
|
18
18
|
interface IAuthorizeRepos {
|
|
19
19
|
action: ActionRepo;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
-
import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
5
|
-
import { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
6
|
-
import { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
7
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
8
|
-
import { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
+
import type { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
5
|
+
import type { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
6
|
+
import type { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
7
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
8
|
+
import type { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
9
9
|
interface ICancelRepos {
|
|
10
10
|
action: ActionRepo;
|
|
11
11
|
assetTransaction: AssetTransactionRepo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as COA from '@motionpicture/coa-service';
|
|
2
|
-
import { MongoRepository as CategoryCodeRepo } from '../../../repo/categoryCode';
|
|
3
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
4
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
2
|
+
import type { MongoRepository as CategoryCodeRepo } from '../../../repo/categoryCode';
|
|
3
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
4
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
5
5
|
export declare function importFromCOA(params: {
|
|
6
6
|
project: {
|
|
7
7
|
id: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MongoRepository as EventRepo } from '../../../repo/event';
|
|
2
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
-
import { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
5
|
-
import { MongoRepository as PriceSpecificationRepo } from '../../../repo/priceSpecification';
|
|
6
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
7
|
-
import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
1
|
+
import type { MongoRepository as EventRepo } from '../../../repo/event';
|
|
2
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
+
import type { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
5
|
+
import type { MongoRepository as PriceSpecificationRepo } from '../../../repo/priceSpecification';
|
|
6
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
7
|
+
import type { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
8
8
|
import * as factory from '../../../factory';
|
|
9
9
|
interface ISearchEventTicketOffersRepos {
|
|
10
10
|
event: EventRepo;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
-
import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
5
|
-
import { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
6
|
-
import { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
7
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
8
|
-
import { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
+
import type { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/offer';
|
|
5
|
+
import type { MongoRepository as ReservationRepo } from '../../../repo/reservation';
|
|
6
|
+
import type { StockHolderRepository as StockHolderRepo } from '../../../repo/stockHolder';
|
|
7
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
8
|
+
import type { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
9
9
|
export import WebAPIIdentifier = factory.service.webAPI.Identifier;
|
|
10
10
|
interface IVoidTransactionRepos {
|
|
11
11
|
action: ActionRepo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
2
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
3
3
|
import { IAcceptedOffer4COA } from './factory';
|
|
4
4
|
export type IAcceptedOfferBeforeAuthorize4COA = factory.action.authorize.offer.seatReservation.IAcceptedOfferBeforeAuthorize4COA;
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
2
|
-
import { MongoRepository as CategoryCodeRepo } from '../../repo/categoryCode';
|
|
3
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
-
import { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
5
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
2
|
+
import type { MongoRepository as CategoryCodeRepo } from '../../repo/categoryCode';
|
|
3
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
+
import type { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
5
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
6
6
|
import { IAcceptedOfferBeforeAuthorize4COA } from './eventServiceByCOA/validateAcceptedOffers';
|
|
7
7
|
import * as factory from '../../factory';
|
|
8
8
|
export import WebAPIIdentifier = factory.service.webAPI.Identifier;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
5
|
-
import { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
6
|
-
import { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
7
|
-
import { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
5
|
+
import type { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
6
|
+
import type { MongoRepository as TransactionRepo } from '../../../repo/transaction';
|
|
7
|
+
import type { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
8
8
|
interface IAuthorizeRepos {
|
|
9
9
|
action: ActionRepo;
|
|
10
10
|
product: ProductRepo;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
5
|
-
import { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
6
|
-
import { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
5
|
+
import type { MongoRepository as ProjectRepo } from '../../../repo/project';
|
|
6
|
+
import type { RedisRepository as TransactionNumberRepo } from '../../../repo/transactionNumber';
|
|
7
7
|
/**
|
|
8
8
|
* 入金を返却する
|
|
9
9
|
*/
|