@chevre/domain 21.13.0-alpha.0 → 21.13.0-alpha.2
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 +5 -2
- package/example/src/chevre/searchOrders.ts +1 -1
- package/example/src/chevre/task/executeTasks.ts +1 -1
- package/example/src/chevre/transaction/findPaymentCardPermit.ts +2 -2
- package/example/src/chevre/transaction/processReturnOrder.ts +9 -9
- 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/errorHandler.d.ts +2 -2
- package/lib/chevre/errorHandler.js +38 -19
- package/lib/chevre/index.d.ts +5 -5
- package/lib/chevre/index.js +31 -12
- package/lib/chevre/repo/account.d.ts +1 -1
- package/lib/chevre/repo/accountTitle.d.ts +1 -1
- package/lib/chevre/repo/accountTransaction.d.ts +1 -1
- package/lib/chevre/repo/accountingReport.d.ts +1 -1
- package/lib/chevre/repo/accountingReport.js +1 -1
- package/lib/chevre/repo/action.d.ts +1 -1
- package/lib/chevre/repo/additionalProperty.d.ts +1 -1
- package/lib/chevre/repo/aggregateOffer.d.ts +1 -1
- package/lib/chevre/repo/aggregation.d.ts +1 -1
- package/lib/chevre/repo/assetTransaction.d.ts +1 -1
- package/lib/chevre/repo/categoryCode.d.ts +1 -1
- package/lib/chevre/repo/code.d.ts +1 -1
- package/lib/chevre/repo/comment.d.ts +1 -1
- package/lib/chevre/repo/creativeWork.d.ts +1 -1
- package/lib/chevre/repo/customer.d.ts +1 -1
- package/lib/chevre/repo/emailMessage.d.ts +1 -1
- package/lib/chevre/repo/event.d.ts +2 -2
- package/lib/chevre/repo/event.js +7 -3
- package/lib/chevre/repo/member.d.ts +1 -1
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +1 -1
- package/lib/chevre/repo/mongoose/writeConcern.d.ts +1 -1
- package/lib/chevre/repo/offer.js +2 -1
- package/lib/chevre/repo/offerCatalog.d.ts +1 -1
- package/lib/chevre/repo/offerCatalog.js +1 -1
- package/lib/chevre/repo/offerItemCondition.d.ts +1 -1
- package/lib/chevre/repo/order.d.ts +1 -1
- package/lib/chevre/repo/order.js +1 -1
- package/lib/chevre/repo/ownershipInfo.d.ts +1 -1
- package/lib/chevre/repo/ownershipInfo.js +1 -1
- package/lib/chevre/repo/permit.d.ts +1 -1
- package/lib/chevre/repo/place.d.ts +1 -1
- package/lib/chevre/repo/priceSpecification.d.ts +1 -1
- package/lib/chevre/repo/product.d.ts +1 -1
- package/lib/chevre/repo/project.d.ts +1 -1
- package/lib/chevre/repo/reservation.d.ts +1 -1
- package/lib/chevre/repo/role.d.ts +1 -1
- package/lib/chevre/repo/serviceOutput.d.ts +1 -1
- package/lib/chevre/repo/stockHolder.d.ts +2 -2
- package/lib/chevre/repo/task.d.ts +1 -1
- package/lib/chevre/repo/telemetry.d.ts +1 -1
- package/lib/chevre/repo/transaction.d.ts +1 -1
- package/lib/chevre/repo/trip.d.ts +1 -1
- package/lib/chevre/repository.d.ts +203 -171
- package/lib/chevre/repository.js +646 -269
- 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/cancelReservation.js +2 -2
- 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 +3 -3
- package/lib/chevre/service/task.js +12 -7
- 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/placeOrderInProgress.js +2 -2
- package/lib/chevre/service/transaction/returnOrder.d.ts +10 -10
- package/lib/chevre/service/transaction/returnOrder.js +1 -1
- package/lib/chevre/service/transaction.d.ts +2 -2
- package/lib/chevre/service.d.ts +73 -39
- package/lib/chevre/service.js +255 -39
- package/package.json +1 -1
- package/example/src/chevre/searchSendEmailActions.ts +0 -44
- package/example/src/chevre/searchTasks.ts +0 -31
- package/example/src/chevre/searchTransactions.ts +0 -25
- package/example/src/chevre/sendEmailMessage.ts +0 -80
- package/example/src/chevre/syncCatalogs2aggregateOffers.ts +0 -87
|
@@ -2,35 +2,38 @@
|
|
|
2
2
|
* データ測定サービス
|
|
3
3
|
* 実験的実装中
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
6
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
7
|
+
import type { MongoRepository as TelemetryRepo } from '../../repo/telemetry';
|
|
8
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
6
9
|
import * as factory from '../../factory';
|
|
7
10
|
export type TelemetryOperation<T> = (repos: {
|
|
8
|
-
telemetry:
|
|
11
|
+
telemetry: TelemetryRepo;
|
|
9
12
|
}) => Promise<T>;
|
|
10
13
|
export type TaskOperation<T> = (repos: {
|
|
11
|
-
task:
|
|
14
|
+
task: TaskRepo;
|
|
12
15
|
}) => Promise<T>;
|
|
13
16
|
export type TransactionOperation<T> = (repos: {
|
|
14
|
-
transaction:
|
|
17
|
+
transaction: TransactionRepo;
|
|
15
18
|
}) => Promise<T>;
|
|
16
19
|
export type TaskAndTransactionOperation<T> = (repos: {
|
|
17
|
-
task:
|
|
18
|
-
transaction:
|
|
20
|
+
task: TaskRepo;
|
|
21
|
+
transaction: TransactionRepo;
|
|
19
22
|
}) => Promise<T>;
|
|
20
23
|
export type TaskAndTransactionAndActionOperation<T> = (repos: {
|
|
21
|
-
task:
|
|
22
|
-
transaction:
|
|
23
|
-
action:
|
|
24
|
+
task: TaskRepo;
|
|
25
|
+
transaction: TransactionRepo;
|
|
26
|
+
action: ActionRepo;
|
|
24
27
|
}) => Promise<T>;
|
|
25
28
|
export type TransactionAndActionOperation<T> = (repos: {
|
|
26
|
-
transaction:
|
|
27
|
-
action:
|
|
29
|
+
transaction: TransactionRepo;
|
|
30
|
+
action: ActionRepo;
|
|
28
31
|
}) => Promise<T>;
|
|
29
32
|
export type TaskAndTelemetryAndTransactionOperation<T> = (repos: {
|
|
30
|
-
task:
|
|
31
|
-
telemetry:
|
|
32
|
-
transaction:
|
|
33
|
-
action:
|
|
33
|
+
task: TaskRepo;
|
|
34
|
+
telemetry: TelemetryRepo;
|
|
35
|
+
transaction: TransactionRepo;
|
|
36
|
+
action: ActionRepo;
|
|
34
37
|
}) => Promise<T>;
|
|
35
38
|
export interface IGlobalFlowTaskResultByName {
|
|
36
39
|
name: factory.taskName;
|
|
@@ -288,7 +291,7 @@ export declare function search(searchConditions: {
|
|
|
288
291
|
scope: TelemetryScope;
|
|
289
292
|
purpose: TelemetryPurposeType;
|
|
290
293
|
}): (repos: {
|
|
291
|
-
telemetry:
|
|
294
|
+
telemetry: TelemetryRepo;
|
|
292
295
|
}) => Promise<ITelemetry[]>;
|
|
293
296
|
/**
|
|
294
297
|
* フロー測定データを作成する
|
|
@@ -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';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
4
4
|
import { RedisRepository as OfferRateLimitRepo } from '../../repo/rateLimit/offer';
|
|
5
5
|
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
6
6
|
import { StockHolderRepository as StockHolderRepo } from '../../repo/stockHolder';
|
|
7
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
7
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
8
8
|
/**
|
|
9
9
|
* 進行中の予約をキャンセルする
|
|
10
10
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
2
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
1
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
2
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
3
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
interface ICheckInReservationParams {
|
|
7
7
|
project: {
|
|
8
8
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
-
import { MongoRepository as AssetTrasactionRepo } from '../../repo/assetTransaction';
|
|
4
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { MongoRepository as AssetTrasactionRepo } from '../../repo/assetTransaction';
|
|
4
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
6
6
|
/**
|
|
7
7
|
* 予約を確定する
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 予約取消時アクション
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../../factory';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
6
6
|
type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
|
|
7
7
|
type IBusReservation = factory.reservation.IReservation<factory.reservationType.BusReservation>;
|
|
8
8
|
export declare function onReservationCanceled(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoRepository as EventRepo } from '../../../repo/event';
|
|
2
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
1
|
+
import type { MongoRepository as EventRepo } from '../../../repo/event';
|
|
2
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
3
3
|
export declare function onReservationCheckedIn(params: {
|
|
4
4
|
project: {
|
|
5
5
|
id: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 予約確定時アクション
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../../factory';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
6
6
|
type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
|
|
7
7
|
/**
|
|
8
8
|
* 予約確定後のアクション
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 予約使用時アクション
|
|
3
3
|
*/
|
|
4
4
|
import * as factory from '../../../factory';
|
|
5
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
5
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
6
6
|
type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
|
|
7
7
|
export type IUseReservationAction = factory.action.consume.use.reservation.IAction;
|
|
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 OrderRepo } from '../../repo/order';
|
|
5
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
6
|
-
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 OrderRepo } from '../../repo/order';
|
|
5
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
6
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
7
7
|
import { IUseReservationAction } from './potentialActions/onReservationUsed';
|
|
8
8
|
/**
|
|
9
9
|
* 予約使用
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
3
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
2
|
+
import type { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
3
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
4
4
|
export declare function createInformHasPOSTasks(params: {
|
|
5
5
|
project: {
|
|
6
6
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
3
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
-
import { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
2
|
+
import type { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
3
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
+
import type { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
5
5
|
/**
|
|
6
6
|
* オファーカタログ変更時処理
|
|
7
7
|
*/
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as AccountTitleRepo } from '../../../repo/accountTitle';
|
|
3
|
-
import { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
4
|
-
import { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
5
|
-
import { MongoRepository as CategoryCodeRepo } from '../../../repo/categoryCode';
|
|
6
|
-
import { MongoRepository as CreativeWorkRepo } from '../../../repo/creativeWork';
|
|
7
|
-
import { MongoRepository as EventRepo } from '../../../repo/event';
|
|
8
|
-
import { MongoRepository as MemberRepo } from '../../../repo/member';
|
|
9
|
-
import { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
10
|
-
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
11
|
-
import { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
12
|
-
import { MongoRepository as PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider';
|
|
13
|
-
import { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
14
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
15
|
-
import { MongoRepository as ProductOfferRepo } from '../../../repo/productOffer';
|
|
16
|
-
import { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
2
|
+
import type { MongoRepository as AccountTitleRepo } from '../../../repo/accountTitle';
|
|
3
|
+
import type { MongoRepository as ActionRepo } from '../../../repo/action';
|
|
4
|
+
import type { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
5
|
+
import type { MongoRepository as CategoryCodeRepo } from '../../../repo/categoryCode';
|
|
6
|
+
import type { MongoRepository as CreativeWorkRepo } from '../../../repo/creativeWork';
|
|
7
|
+
import type { MongoRepository as EventRepo } from '../../../repo/event';
|
|
8
|
+
import type { MongoRepository as MemberRepo } from '../../../repo/member';
|
|
9
|
+
import type { MongoRepository as OfferRepo } from '../../../repo/offer';
|
|
10
|
+
import type { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
11
|
+
import type { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
12
|
+
import type { MongoRepository as PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider';
|
|
13
|
+
import type { MongoRepository as PlaceRepo } from '../../../repo/place';
|
|
14
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
15
|
+
import type { MongoRepository as ProductOfferRepo } from '../../../repo/productOffer';
|
|
16
|
+
import type { MongoRepository as TaskRepo } from '../../../repo/task';
|
|
17
17
|
export declare function onResourceDeleted(params: factory.task.onResourceUpdated.IData): (repos: {
|
|
18
18
|
accountTitle: AccountTitleRepo;
|
|
19
19
|
action: ActionRepo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
2
|
+
import type { MongoRepository as AggregateOfferRepo } from '../../../repo/aggregateOffer';
|
|
3
3
|
import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
|
|
4
|
-
import { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
4
|
+
import type { MongoRepository as OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
|
|
5
5
|
/**
|
|
6
6
|
* カタログのitemListElementを集計オファーへ同期する
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Connection } from 'mongoose';
|
|
2
|
-
import { RedisClientType } from 'redis';
|
|
1
|
+
import type { Connection } from 'mongoose';
|
|
2
|
+
import type { RedisClientType } from 'redis';
|
|
3
3
|
import * as factory from '../factory';
|
|
4
|
-
import { MongoRepository as TaskRepo } from '../repo/task';
|
|
4
|
+
import type { MongoRepository as TaskRepo } from '../repo/task';
|
|
5
5
|
export interface IConnectionSettings {
|
|
6
6
|
/**
|
|
7
7
|
* MongoDBコネクション
|
|
@@ -15,8 +15,6 @@ exports.notifyAbortedTasks = exports.abort = exports.retry = exports.execute = e
|
|
|
15
15
|
*/
|
|
16
16
|
const createDebug = require("debug");
|
|
17
17
|
const factory = require("../factory");
|
|
18
|
-
const task_1 = require("../repo/task");
|
|
19
|
-
const NotificationService = require("./notification");
|
|
20
18
|
const factory_1 = require("./notification/factory");
|
|
21
19
|
const credentials_1 = require("../credentials");
|
|
22
20
|
const settings_1 = require("../settings");
|
|
@@ -25,7 +23,7 @@ const DEFAULT_EXECUTOR_NAME = `${process.env.GAE_APPLICATION}:${process.env.GAE_
|
|
|
25
23
|
function executeById(params) {
|
|
26
24
|
return (settings) => __awaiter(this, void 0, void 0, function* () {
|
|
27
25
|
var _a;
|
|
28
|
-
const taskRepo = new
|
|
26
|
+
const taskRepo = new (yield Promise.resolve().then(() => require('../repo/task'))).MongoRepository(settings.connection);
|
|
29
27
|
// 未実行のタスクを取得
|
|
30
28
|
// tslint:disable-next-line:no-null-keyword
|
|
31
29
|
let task = null;
|
|
@@ -55,7 +53,7 @@ exports.executeById = executeById;
|
|
|
55
53
|
function executeByName(params) {
|
|
56
54
|
return (settings) => __awaiter(this, void 0, void 0, function* () {
|
|
57
55
|
var _a;
|
|
58
|
-
const taskRepo = new
|
|
56
|
+
const taskRepo = new (yield Promise.resolve().then(() => require('../repo/task'))).MongoRepository(settings.connection);
|
|
59
57
|
// 未実行のタスクを取得
|
|
60
58
|
// tslint:disable-next-line:no-null-keyword
|
|
61
59
|
let task = null;
|
|
@@ -85,7 +83,7 @@ exports.executeByName = executeByName;
|
|
|
85
83
|
function execute(task) {
|
|
86
84
|
const now = new Date();
|
|
87
85
|
return (settings) => __awaiter(this, void 0, void 0, function* () {
|
|
88
|
-
const taskRepo = new
|
|
86
|
+
const taskRepo = new (yield Promise.resolve().then(() => require('../repo/task'))).MongoRepository(settings.connection);
|
|
89
87
|
try {
|
|
90
88
|
// タスク名の関数が定義されていなければ、TypeErrorとなる
|
|
91
89
|
const { call } = yield Promise.resolve(`${`./task/${task.name}`}`).then(s => require(s));
|
|
@@ -123,6 +121,7 @@ function retry(params) {
|
|
|
123
121
|
});
|
|
124
122
|
}
|
|
125
123
|
exports.retry = retry;
|
|
124
|
+
let notification;
|
|
126
125
|
/**
|
|
127
126
|
* トライ可能回数が0に達したタスクを実行中止する
|
|
128
127
|
*/
|
|
@@ -139,9 +138,12 @@ function abort(params) {
|
|
|
139
138
|
if (settings_1.ABORTED_TASKS_WITHOUT_REPORT.includes(abortedTask.name)) {
|
|
140
139
|
return;
|
|
141
140
|
}
|
|
141
|
+
if (notification === undefined) {
|
|
142
|
+
notification = yield Promise.resolve().then(() => require('./notification'));
|
|
143
|
+
}
|
|
142
144
|
// 開発者へ報告
|
|
143
145
|
const message = (0, factory_1.task2lineNotify)({ task: abortedTask });
|
|
144
|
-
yield
|
|
146
|
+
yield notification.report2developers(message.subject, message.content)({
|
|
145
147
|
accessToken: credentials_1.credentials.lineNotify.accessTokenAlert
|
|
146
148
|
});
|
|
147
149
|
}
|
|
@@ -158,9 +160,12 @@ function notifyAbortedTasks(params) {
|
|
|
158
160
|
// return !ABORTED_TASKS_WITHOUT_REPORT.includes(task.name);
|
|
159
161
|
// });
|
|
160
162
|
if (abortedTasks.length > 0) {
|
|
163
|
+
if (notification === undefined) {
|
|
164
|
+
notification = yield Promise.resolve().then(() => require('./notification'));
|
|
165
|
+
}
|
|
161
166
|
// 開発者へ報告
|
|
162
167
|
const message = (0, factory_1.tasks2lineNotify)({ tasks: abortedTasks });
|
|
163
|
-
yield
|
|
168
|
+
yield notification.report2developers(message.subject, message.content)({
|
|
164
169
|
accessToken: credentials_1.credentials.lineNotify.accessTokenAlert
|
|
165
170
|
});
|
|
166
171
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
|
|
3
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
4
|
-
import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
5
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
6
|
-
import { MongoRepository as OrderRepo } from '../../repo/order';
|
|
7
|
-
import { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
|
|
8
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
9
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
10
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
2
|
+
import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
|
|
3
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
4
|
+
import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
|
|
5
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
6
|
+
import type { MongoRepository as OrderRepo } from '../../repo/order';
|
|
7
|
+
import type { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
|
|
8
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
9
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
10
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
11
11
|
/**
|
|
12
12
|
* 取引に関わるリソースを削除する
|
|
13
13
|
* 冪等性を確保すること
|
|
@@ -1,13 +1,13 @@
|
|
|
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 OrderRepo } from '../../repo/order';
|
|
5
|
-
import { MongoRepository as ProductRepo } from '../../repo/product';
|
|
6
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
7
|
-
import { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
8
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
9
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
10
|
-
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 OrderRepo } from '../../repo/order';
|
|
5
|
+
import type { MongoRepository as ProductRepo } from '../../repo/product';
|
|
6
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
7
|
+
import type { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
8
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
9
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
10
|
+
import type { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
|
|
11
11
|
import { IPassportValidator as IWaiterPassportValidator } from './validation';
|
|
12
12
|
export interface IStartOperationRepos {
|
|
13
13
|
action: ActionRepo;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* findPaymentCardPermit
|
|
3
3
|
*/
|
|
4
|
-
import { MongoRepository as OwnershipInfoRepo } from '../../../repo/ownershipInfo';
|
|
5
|
-
import { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
4
|
+
import type { MongoRepository as OwnershipInfoRepo } from '../../../repo/ownershipInfo';
|
|
5
|
+
import type { MongoRepository as ProductRepo } from '../../../repo/product';
|
|
6
6
|
import * as factory from '../../../factory';
|
|
7
7
|
/**
|
|
8
8
|
* 所有ペイメントカードを検索
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
1
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
2
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
3
3
|
export type ITaskAndTransactionOperation<T> = (repos: {
|
|
4
4
|
task: TaskRepo;
|
|
5
5
|
transaction: TransactionRepo;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
-
import { RedisRepository as ConfirmationNumberRepo } from '../../repo/confirmationNumber';
|
|
4
|
-
import { MongoRepository as EmailMessageRepo } from '../../repo/emailMessage';
|
|
5
|
-
import { RedisRepository as OrderNumberRepo } from '../../repo/orderNumber';
|
|
6
|
-
import { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
7
|
-
import { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
8
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
2
|
+
import type { MongoRepository as ActionRepo } from '../../repo/action';
|
|
3
|
+
import type { RedisRepository as ConfirmationNumberRepo } from '../../repo/confirmationNumber';
|
|
4
|
+
import type { MongoRepository as EmailMessageRepo } from '../../repo/emailMessage';
|
|
5
|
+
import type { RedisRepository as OrderNumberRepo } from '../../repo/orderNumber';
|
|
6
|
+
import type { MongoRepository as ProjectRepo } from '../../repo/project';
|
|
7
|
+
import type { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
8
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
9
9
|
import { IPassportValidator as IWaiterPassportValidator } from './validation';
|
|
10
10
|
export declare const POINT_AWARD_IDENTIFIER_NAME = "pointAwardIdentifiers";
|
|
11
11
|
export interface IStartOperationRepos {
|
|
@@ -64,7 +64,7 @@ function start(params) {
|
|
|
64
64
|
transaction = yield repos.transaction.start(startParams);
|
|
65
65
|
}
|
|
66
66
|
catch (error) {
|
|
67
|
-
if ((0, errorHandler_1.isMongoError)(error)) {
|
|
67
|
+
if (yield (0, errorHandler_1.isMongoError)(error)) {
|
|
68
68
|
// no op
|
|
69
69
|
}
|
|
70
70
|
throw error;
|
|
@@ -139,7 +139,7 @@ function confirm(params) {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
catch (error) {
|
|
142
|
-
if ((0, errorHandler_1.isMongoError)(error)) {
|
|
142
|
+
if (yield (0, errorHandler_1.isMongoError)(error)) {
|
|
143
143
|
// 万が一同一注文番号で確定しようとすると、MongoDBでE11000 duplicate key errorが発生する
|
|
144
144
|
// message: 'E11000 duplicate key error collection: prodttts.transactions index:result.order.orderNumber_1 dup key:...',
|
|
145
145
|
if (error.code === errorHandler_1.MongoErrorCode.DuplicateKey) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { MongoRepository as EmailMessageRepo } from '../../repo/emailMessage';
|
|
3
|
-
import { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
-
import { MongoRepository as MerchantReturnPolicyRepo } from '../../repo/merchantReturnPolicy';
|
|
5
|
-
import { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
6
|
-
import { MongoRepository as OfferItemConditionRepo } from '../../repo/offerItemCondition';
|
|
7
|
-
import { MongoRepository as OrderRepo } from '../../repo/order';
|
|
8
|
-
import { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
9
|
-
import { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
10
|
-
import { MongoRepository as TaskRepo } from '../../repo/task';
|
|
11
|
-
import { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
2
|
+
import type { MongoRepository as EmailMessageRepo } from '../../repo/emailMessage';
|
|
3
|
+
import type { MongoRepository as EventRepo } from '../../repo/event';
|
|
4
|
+
import type { MongoRepository as MerchantReturnPolicyRepo } from '../../repo/merchantReturnPolicy';
|
|
5
|
+
import type { MongoRepository as OfferRepo } from '../../repo/offer';
|
|
6
|
+
import type { MongoRepository as OfferItemConditionRepo } from '../../repo/offerItemCondition';
|
|
7
|
+
import type { MongoRepository as OrderRepo } from '../../repo/order';
|
|
8
|
+
import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
|
|
9
|
+
import type { MongoRepository as SellerRepo } from '../../repo/seller';
|
|
10
|
+
import type { MongoRepository as TaskRepo } from '../../repo/task';
|
|
11
|
+
import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
|
|
12
12
|
export interface IStartOperationRepos {
|
|
13
13
|
event: EventRepo;
|
|
14
14
|
merchantReturnPolicy: MerchantReturnPolicyRepo;
|
|
@@ -121,7 +121,7 @@ function start(params) {
|
|
|
121
121
|
returnOrderTransaction = yield repos.transaction.start(returnOrderAttributes);
|
|
122
122
|
}
|
|
123
123
|
catch (error) {
|
|
124
|
-
if ((0, errorHandler_1.isMongoError)(error)) {
|
|
124
|
+
if (yield (0, errorHandler_1.isMongoError)(error)) {
|
|
125
125
|
// 同一取引に対して返品取引を作成しようとすると、MongoDBでE11000 duplicate key errorが発生する
|
|
126
126
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
127
127
|
/* istanbul ignore else */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { MongoRepository as TaskRepo } from '../repo/task';
|
|
3
|
-
import { MongoRepository as TransactionRepo } from '../repo/transaction';
|
|
2
|
+
import type { MongoRepository as TaskRepo } from '../repo/task';
|
|
3
|
+
import type { MongoRepository as TransactionRepo } from '../repo/transaction';
|
|
4
4
|
import { deleteTransaction } from './transaction/deleteTransaction';
|
|
5
5
|
import * as MoneyTransferTransactionService from './transaction/moneyTransfer';
|
|
6
6
|
import * as PlaceOrderTransactionService from './transaction/placeOrder';
|
package/lib/chevre/service.d.ts
CHANGED
|
@@ -5,46 +5,80 @@ import * as AccountTransactionIdentifierFactory from './factory/accountTransacti
|
|
|
5
5
|
import * as EventFactory from './factory/event';
|
|
6
6
|
import * as OrderFactory from './factory/order';
|
|
7
7
|
import * as ReservedAgentIdentifireNamesFactory from './factory/reservedAgentIdentifireNames';
|
|
8
|
-
import * as AccountService from './service/account';
|
|
9
|
-
import * as AccountTransactionService from './service/accountTransaction';
|
|
10
|
-
import * as AggregationService from './service/aggregation';
|
|
11
|
-
import * as AssetTransactionService from './service/assetTransaction';
|
|
12
|
-
import * as CodeService from './service/code';
|
|
13
|
-
import * as DeliveryService from './service/delivery';
|
|
14
|
-
import * as EventService from './service/event';
|
|
15
|
-
import * as IAMService from './service/iam';
|
|
16
|
-
import * as NotificationService from './service/notification';
|
|
17
|
-
import * as OfferService from './service/offer';
|
|
18
|
-
import * as OrderService from './service/order';
|
|
19
|
-
import * as AnyPaymentService from './service/payment/any';
|
|
20
|
-
import * as PermitService from './service/permit';
|
|
21
|
-
import * as ProjectService from './service/project';
|
|
22
|
-
import * as ReportService from './service/report';
|
|
23
|
-
import * as ReserveService from './service/reserve';
|
|
24
|
-
import * as TaskService from './service/task';
|
|
25
|
-
import * as TransactionService from './service/transaction';
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
|
|
8
|
+
import type * as AccountService from './service/account';
|
|
9
|
+
import type * as AccountTransactionService from './service/accountTransaction';
|
|
10
|
+
import type * as AggregationService from './service/aggregation';
|
|
11
|
+
import type * as AssetTransactionService from './service/assetTransaction';
|
|
12
|
+
import type * as CodeService from './service/code';
|
|
13
|
+
import type * as DeliveryService from './service/delivery';
|
|
14
|
+
import type * as EventService from './service/event';
|
|
15
|
+
import type * as IAMService from './service/iam';
|
|
16
|
+
import type * as NotificationService from './service/notification';
|
|
17
|
+
import type * as OfferService from './service/offer';
|
|
18
|
+
import type * as OrderService from './service/order';
|
|
19
|
+
import type * as AnyPaymentService from './service/payment/any';
|
|
20
|
+
import type * as PermitService from './service/permit';
|
|
21
|
+
import type * as ProjectService from './service/project';
|
|
22
|
+
import type * as ReportService from './service/report';
|
|
23
|
+
import type * as ReserveService from './service/reserve';
|
|
24
|
+
import type * as TaskService from './service/task';
|
|
25
|
+
import type * as TransactionService from './service/transaction';
|
|
26
|
+
export declare namespace account {
|
|
27
|
+
function createService(): Promise<typeof AccountService>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace accountTransaction {
|
|
30
|
+
function createService(): Promise<typeof AccountTransactionService>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace aggregation {
|
|
33
|
+
function createService(): Promise<typeof AggregationService>;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace assetTransaction {
|
|
36
|
+
function createService(): Promise<typeof AssetTransactionService>;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace code {
|
|
39
|
+
function createService(): Promise<typeof CodeService>;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace delivery {
|
|
42
|
+
function createService(): Promise<typeof DeliveryService>;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace event {
|
|
45
|
+
function createService(): Promise<typeof EventService>;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace iam {
|
|
48
|
+
function createService(): Promise<typeof IAMService>;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace notification {
|
|
51
|
+
function createService(): Promise<typeof NotificationService>;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace offer {
|
|
54
|
+
function createService(): Promise<typeof OfferService>;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace order {
|
|
57
|
+
function createService(): Promise<typeof OrderService>;
|
|
58
|
+
}
|
|
38
59
|
export declare namespace payment {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export
|
|
47
|
-
|
|
60
|
+
namespace any {
|
|
61
|
+
function createService(): Promise<typeof AnyPaymentService>;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export declare namespace permit {
|
|
65
|
+
function createService(): Promise<typeof PermitService>;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace project {
|
|
68
|
+
function createService(): Promise<typeof ProjectService>;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace report {
|
|
71
|
+
function createService(): Promise<typeof ReportService>;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace reserve {
|
|
74
|
+
function createService(): Promise<typeof ReserveService>;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace task {
|
|
77
|
+
function createService(): Promise<typeof TaskService>;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace transaction {
|
|
80
|
+
function createService(): Promise<typeof TransactionService>;
|
|
81
|
+
}
|
|
48
82
|
export declare namespace factory {
|
|
49
83
|
export import accountTransactionIdentifier = AccountTransactionIdentifierFactory;
|
|
50
84
|
export import event = EventFactory;
|