@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.
Files changed (219) hide show
  1. package/example/src/chevre/searchEvents.ts +1 -1
  2. package/example/src/chevre/searchOrders.ts +1 -1
  3. package/example/src/chevre/transaction/processReturnOrder.ts +8 -8
  4. package/example/src/chevre/transaction/startExportTasks.ts +1 -1
  5. package/example/src/chevre/unsetContainsInPlaceFromMovieTheater.ts +1 -1
  6. package/example/src/chevre/unsetUnnecessaryFields.ts +1 -1
  7. package/example/src/chevre/updateOfferCatalogs.ts +1 -1
  8. package/example/src/chevre/updateTransaction.ts +1 -1
  9. package/lib/chevre/index.d.ts +1 -2
  10. package/lib/chevre/index.js +2 -3
  11. package/lib/chevre/repo/account.js +1 -1
  12. package/lib/chevre/repo/accountTitle.js +1 -1
  13. package/lib/chevre/repo/accountTransaction.js +1 -1
  14. package/lib/chevre/repo/accountingReport.js +1 -1
  15. package/lib/chevre/repo/action.js +1 -1
  16. package/lib/chevre/repo/additionalProperty.js +1 -1
  17. package/lib/chevre/repo/aggregateOffer.js +1 -1
  18. package/lib/chevre/repo/aggregation.js +1 -1
  19. package/lib/chevre/repo/assetTransaction.js +1 -1
  20. package/lib/chevre/repo/categoryCode.js +1 -1
  21. package/lib/chevre/repo/code.js +1 -1
  22. package/lib/chevre/repo/comment.js +1 -1
  23. package/lib/chevre/repo/creativeWork.js +1 -1
  24. package/lib/chevre/repo/customer.js +1 -1
  25. package/lib/chevre/repo/emailMessage.js +1 -1
  26. package/lib/chevre/repo/event.d.ts +2 -2
  27. package/lib/chevre/repo/event.js +6 -2
  28. package/lib/chevre/repo/member.js +1 -1
  29. package/lib/chevre/repo/merchantReturnPolicy.js +1 -1
  30. package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -56
  31. package/lib/chevre/repo/mongoose/schemas/account.js +80 -32
  32. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +4 -90
  33. package/lib/chevre/repo/mongoose/schemas/accountTitle.js +81 -44
  34. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +4 -95
  35. package/lib/chevre/repo/mongoose/schemas/accountTransaction.js +129 -62
  36. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +4 -68
  37. package/lib/chevre/repo/mongoose/schemas/accountingReport.js +108 -63
  38. package/lib/chevre/repo/mongoose/schemas/action.d.ts +4 -113
  39. package/lib/chevre/repo/mongoose/schemas/action.js +345 -215
  40. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +4 -74
  41. package/lib/chevre/repo/mongoose/schemas/additionalProperty.js +65 -32
  42. package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +4 -73
  43. package/lib/chevre/repo/mongoose/schemas/aggregateOffer.js +258 -155
  44. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -56
  45. package/lib/chevre/repo/mongoose/schemas/aggregation.js +28 -10
  46. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +4 -113
  47. package/lib/chevre/repo/mongoose/schemas/assetTransaction.js +258 -146
  48. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +4 -77
  49. package/lib/chevre/repo/mongoose/schemas/authorization.js +110 -61
  50. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +4 -86
  51. package/lib/chevre/repo/mongoose/schemas/categoryCode.js +85 -46
  52. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +4 -89
  53. package/lib/chevre/repo/mongoose/schemas/comments.js +59 -28
  54. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +4 -104
  55. package/lib/chevre/repo/mongoose/schemas/creativeWork.js +121 -70
  56. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +4 -86
  57. package/lib/chevre/repo/mongoose/schemas/customer.js +56 -26
  58. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +4 -80
  59. package/lib/chevre/repo/mongoose/schemas/emailMessages.js +41 -17
  60. package/lib/chevre/repo/mongoose/schemas/event.d.ts +4 -158
  61. package/lib/chevre/repo/mongoose/schemas/event.js +307 -193
  62. package/lib/chevre/repo/mongoose/schemas/member.d.ts +4 -68
  63. package/lib/chevre/repo/mongoose/schemas/member.js +65 -37
  64. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +4 -80
  65. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.js +29 -11
  66. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +4 -91
  67. package/lib/chevre/repo/mongoose/schemas/offerCatalog.js +85 -45
  68. package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +4 -91
  69. package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.js +29 -10
  70. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +4 -73
  71. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.js +37 -12
  72. package/lib/chevre/repo/mongoose/schemas/order.d.ts +4 -128
  73. package/lib/chevre/repo/mongoose/schemas/order.js +407 -259
  74. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +4 -86
  75. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.js +187 -111
  76. package/lib/chevre/repo/mongoose/schemas/place.d.ts +4 -128
  77. package/lib/chevre/repo/mongoose/schemas/place.js +159 -93
  78. package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +4 -92
  79. package/lib/chevre/repo/mongoose/schemas/priceSpecification.js +94 -49
  80. package/lib/chevre/repo/mongoose/schemas/product.d.ts +4 -95
  81. package/lib/chevre/repo/mongoose/schemas/product.js +109 -61
  82. package/lib/chevre/repo/mongoose/schemas/project.d.ts +4 -83
  83. package/lib/chevre/repo/mongoose/schemas/project.js +20 -9
  84. package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +4 -143
  85. package/lib/chevre/repo/mongoose/schemas/reservation.js +377 -229
  86. package/lib/chevre/repo/mongoose/schemas/role.d.ts +4 -65
  87. package/lib/chevre/repo/mongoose/schemas/role.js +43 -19
  88. package/lib/chevre/repo/mongoose/schemas/seller.d.ts +4 -95
  89. package/lib/chevre/repo/mongoose/schemas/seller.js +96 -51
  90. package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +4 -65
  91. package/lib/chevre/repo/mongoose/schemas/serviceOutput.js +112 -63
  92. package/lib/chevre/repo/mongoose/schemas/task.d.ts +4 -95
  93. package/lib/chevre/repo/mongoose/schemas/task.js +214 -126
  94. package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +4 -80
  95. package/lib/chevre/repo/mongoose/schemas/telemetry.js +44 -24
  96. package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +4 -107
  97. package/lib/chevre/repo/mongoose/schemas/transaction.js +291 -176
  98. package/lib/chevre/repo/mongoose/schemas/trip.d.ts +4 -65
  99. package/lib/chevre/repo/mongoose/schemas/trip.js +20 -9
  100. package/lib/chevre/repo/offer.js +5 -4
  101. package/lib/chevre/repo/offerCatalog.d.ts +1 -1
  102. package/lib/chevre/repo/offerCatalog.js +2 -2
  103. package/lib/chevre/repo/offerCatalogItem.js +1 -1
  104. package/lib/chevre/repo/offerItemCondition.js +1 -1
  105. package/lib/chevre/repo/order.js +1 -1
  106. package/lib/chevre/repo/ownershipInfo.js +1 -1
  107. package/lib/chevre/repo/paymentServiceProvider.js +1 -1
  108. package/lib/chevre/repo/permit.js +1 -1
  109. package/lib/chevre/repo/place/hasPOS.js +1 -1
  110. package/lib/chevre/repo/place.js +1 -1
  111. package/lib/chevre/repo/priceSpecification.js +1 -1
  112. package/lib/chevre/repo/product.js +1 -1
  113. package/lib/chevre/repo/productOffer.js +1 -1
  114. package/lib/chevre/repo/project.js +1 -1
  115. package/lib/chevre/repo/reservation.js +1 -1
  116. package/lib/chevre/repo/role.js +1 -1
  117. package/lib/chevre/repo/seller.js +1 -1
  118. package/lib/chevre/repo/serviceOutput.js +1 -1
  119. package/lib/chevre/repo/task.js +1 -1
  120. package/lib/chevre/repo/telemetry.js +1 -1
  121. package/lib/chevre/repo/transaction.js +1 -1
  122. package/lib/chevre/repo/trip.js +1 -1
  123. package/lib/chevre/repository.d.ts +160 -137
  124. package/lib/chevre/repository.js +531 -223
  125. package/lib/chevre/service/account.d.ts +2 -2
  126. package/lib/chevre/service/accountTransaction/deposit.d.ts +2 -2
  127. package/lib/chevre/service/accountTransaction/transfer.d.ts +2 -2
  128. package/lib/chevre/service/accountTransaction/withdraw.d.ts +2 -2
  129. package/lib/chevre/service/accountTransaction.d.ts +1 -1
  130. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +7 -7
  131. package/lib/chevre/service/aggregation/event/aggregateUseActionsOnEvent.d.ts +6 -6
  132. package/lib/chevre/service/aggregation/event/findEventOffers.d.ts +4 -4
  133. package/lib/chevre/service/aggregation/event/importFromCOA.d.ts +1 -1
  134. package/lib/chevre/service/aggregation/project.d.ts +3 -3
  135. package/lib/chevre/service/aggregation/system.d.ts +5 -5
  136. package/lib/chevre/service/assetTransaction/cancelReservation.d.ts +4 -4
  137. package/lib/chevre/service/assetTransaction/moneyTransfer.d.ts +4 -4
  138. package/lib/chevre/service/assetTransaction/moneyTransfer.js +1 -1
  139. package/lib/chevre/service/assetTransaction/pay/account/validation.d.ts +1 -1
  140. package/lib/chevre/service/assetTransaction/pay.d.ts +10 -10
  141. package/lib/chevre/service/assetTransaction/refund.d.ts +4 -4
  142. package/lib/chevre/service/assetTransaction/registerService.d.ts +8 -8
  143. package/lib/chevre/service/assetTransaction/reserve.d.ts +14 -14
  144. package/lib/chevre/service/assetTransaction.d.ts +2 -2
  145. package/lib/chevre/service/code.d.ts +2 -2
  146. package/lib/chevre/service/code.js +1 -2
  147. package/lib/chevre/service/delivery.d.ts +5 -5
  148. package/lib/chevre/service/event/createEvent.d.ts +4 -4
  149. package/lib/chevre/service/event.d.ts +7 -7
  150. package/lib/chevre/service/iam.d.ts +2 -2
  151. package/lib/chevre/service/moneyTransfer.d.ts +5 -5
  152. package/lib/chevre/service/notification.d.ts +2 -2
  153. package/lib/chevre/service/offer/event/authorize.d.ts +15 -15
  154. package/lib/chevre/service/offer/event/cancel.d.ts +7 -7
  155. package/lib/chevre/service/offer/event/importFromCOA.d.ts +3 -3
  156. package/lib/chevre/service/offer/event/searchEventTicketOffers.d.ts +7 -7
  157. package/lib/chevre/service/offer/event/voidTransaction.d.ts +7 -7
  158. package/lib/chevre/service/offer/eventServiceByCOA/validateAcceptedOffers.d.ts +1 -1
  159. package/lib/chevre/service/offer/eventServiceByCOA.d.ts +5 -5
  160. package/lib/chevre/service/offer/moneyTransfer/authorize.d.ts +6 -6
  161. package/lib/chevre/service/offer/moneyTransfer/returnMoneyTransfer.d.ts +5 -5
  162. package/lib/chevre/service/offer/moneyTransfer/settleTransaction.d.ts +2 -2
  163. package/lib/chevre/service/offer/moneyTransfer/voidTransaction.d.ts +3 -3
  164. package/lib/chevre/service/offer/product/searchProductOffers.d.ts +3 -3
  165. package/lib/chevre/service/offer/product.d.ts +14 -14
  166. package/lib/chevre/service/offer.d.ts +6 -6
  167. package/lib/chevre/service/order/confirmPayTransaction.d.ts +10 -10
  168. package/lib/chevre/service/order/deleteOrder.d.ts +5 -5
  169. package/lib/chevre/service/order/findPlaceOrderTransaction.d.ts +1 -1
  170. package/lib/chevre/service/order/onAssetTransactionStatusChanged.d.ts +5 -5
  171. package/lib/chevre/service/order/onOrderStatusChanged.d.ts +2 -2
  172. package/lib/chevre/service/order/onOrderUpdated.d.ts +1 -1
  173. package/lib/chevre/service/order/payOrder.d.ts +4 -4
  174. package/lib/chevre/service/order/placeOrder.d.ts +6 -6
  175. package/lib/chevre/service/order/returnOrder.d.ts +6 -6
  176. package/lib/chevre/service/order/sendOrder.d.ts +6 -6
  177. package/lib/chevre/service/payment/any/onPaid.d.ts +3 -3
  178. package/lib/chevre/service/payment/any/onPaymentStatusChanged/onPaid.d.ts +1 -1
  179. package/lib/chevre/service/payment/any/onPaymentStatusChanged/onRefunded.d.ts +1 -1
  180. package/lib/chevre/service/payment/any/onPaymentStatusChanged.d.ts +2 -2
  181. package/lib/chevre/service/payment/any/onRefund.d.ts +3 -3
  182. package/lib/chevre/service/payment/any.d.ts +10 -10
  183. package/lib/chevre/service/payment/creditCard.d.ts +6 -6
  184. package/lib/chevre/service/payment/faceToFace.d.ts +6 -6
  185. package/lib/chevre/service/payment/movieTicket/checkByIdentifier.d.ts +2 -2
  186. package/lib/chevre/service/payment/movieTicket/getCredentials.d.ts +1 -1
  187. package/lib/chevre/service/payment/movieTicket/validation.d.ts +5 -5
  188. package/lib/chevre/service/payment/movieTicket.d.ts +6 -6
  189. package/lib/chevre/service/payment/paymentCard.d.ts +7 -7
  190. package/lib/chevre/service/payment.d.ts +9 -9
  191. package/lib/chevre/service/permit.d.ts +2 -2
  192. package/lib/chevre/service/product.d.ts +3 -3
  193. package/lib/chevre/service/project.d.ts +16 -16
  194. package/lib/chevre/service/report/telemetry.d.ts +19 -16
  195. package/lib/chevre/service/reserve/cancelReservation.d.ts +3 -3
  196. package/lib/chevre/service/reserve/checkInReservation.d.ts +5 -5
  197. package/lib/chevre/service/reserve/confirmReservation.d.ts +4 -4
  198. package/lib/chevre/service/reserve/potentialActions/onReservationCanceled.d.ts +1 -1
  199. package/lib/chevre/service/reserve/potentialActions/onReservationCheckedIn.d.ts +2 -2
  200. package/lib/chevre/service/reserve/potentialActions/onReservationConfirmed.d.ts +1 -1
  201. package/lib/chevre/service/reserve/potentialActions/onReservationUsed.d.ts +1 -1
  202. package/lib/chevre/service/reserve/useReservation.d.ts +5 -5
  203. package/lib/chevre/service/reserve/verifyToken4reservation.d.ts +1 -1
  204. package/lib/chevre/service/task/onResourceUpdated/onHasPOSUpdated.d.ts +2 -2
  205. package/lib/chevre/service/task/onResourceUpdated/onOfferCatalogUpdated.d.ts +3 -3
  206. package/lib/chevre/service/task/onResourceUpdated/onResourceDeleted.d.ts +15 -15
  207. package/lib/chevre/service/task/onResourceUpdated/syncOfferCatalog.d.ts +2 -2
  208. package/lib/chevre/service/task.d.ts +1 -1
  209. package/lib/chevre/service/task.js +3 -4
  210. package/lib/chevre/service/transaction/deleteTransaction.d.ts +9 -9
  211. package/lib/chevre/service/transaction/moneyTransfer.d.ts +9 -9
  212. package/lib/chevre/service/transaction/orderProgramMembership/findPaymentCardPermit.d.ts +2 -2
  213. package/lib/chevre/service/transaction/placeOrder.d.ts +2 -2
  214. package/lib/chevre/service/transaction/placeOrderInProgress.d.ts +7 -7
  215. package/lib/chevre/service/transaction/returnOrder.d.ts +10 -10
  216. package/lib/chevre/service/transaction.d.ts +2 -2
  217. package/lib/chevre/settings.d.ts +1 -0
  218. package/lib/chevre/settings.js +2 -1
  219. package/package.json +1 -1
@@ -1,6 +1,6 @@
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
  export declare function settleTransaction(params: factory.task.IData<factory.taskName.ConfirmMoneyTransfer>): (repos: {
5
5
  action: ActionRepo;
6
6
  assetTransaction: AssetTransactionRepo;
@@ -1,7 +1,7 @@
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 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 { MongoRepository as TransactionRepo } from '../../../repo/transaction';
5
5
  export declare function voidTransaction(params: factory.task.IData<factory.taskName.VoidMoneyTransferTransaction>): (repos: {
6
6
  action: ActionRepo;
7
7
  assetTransaction: AssetTransactionRepo;
@@ -1,7 +1,7 @@
1
1
  import * as factory from '../../../factory';
2
- import { MongoRepository as OfferRepo } from '../../../repo/offer';
3
- import { MongoRepository as OfferCatalogRepo } from '../../../repo/offerCatalog';
4
- import { MongoRepository as ProductRepo } from '../../../repo/product';
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
  type ITicketOffer = factory.product.ITicketOffer & {
6
6
  parentOffer?: {
7
7
  id: string;
@@ -1,18 +1,18 @@
1
1
  import * as factory from '../../factory';
2
- import { MongoRepository as AccountRepo } from '../../repo/account';
3
- import { MongoRepository as ActionRepo } from '../../repo/action';
4
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
5
- import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
6
- import { MongoRepository as OfferRepo } from '../../repo/offer';
7
- import { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
8
- import { RedisRepository as OrderNumberRepo } from '../../repo/orderNumber';
9
- import { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
10
- import { MongoRepository as ProductRepo } from '../../repo/product';
11
- import { MongoRepository as ProjectRepo } from '../../repo/project';
12
- import { MongoRepository as ServiceOutputRepo } from '../../repo/serviceOutput';
13
- import { RedisRepository as ServiceOutputIdentifierRepo } from '../../repo/serviceOutputIdentifier';
14
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
15
- import { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
2
+ import type { MongoRepository as AccountRepo } from '../../repo/account';
3
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
4
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
5
+ import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
6
+ import type { MongoRepository as OfferRepo } from '../../repo/offer';
7
+ import type { MongoRepository as OfferCatalogRepo } from '../../repo/offerCatalog';
8
+ import type { RedisRepository as OrderNumberRepo } from '../../repo/orderNumber';
9
+ import type { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
10
+ import type { MongoRepository as ProductRepo } from '../../repo/product';
11
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
12
+ import type { MongoRepository as ServiceOutputRepo } from '../../repo/serviceOutput';
13
+ import type { RedisRepository as ServiceOutputIdentifierRepo } from '../../repo/serviceOutputIdentifier';
14
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
15
+ import type { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
16
16
  export interface IAuthorizeOperationRepos {
17
17
  account: AccountRepo;
18
18
  action: ActionRepo;
@@ -1,9 +1,9 @@
1
- import { MongoRepository as EventRepo } from '../repo/event';
2
- import { MongoRepository as PlaceRepo } from '../repo/place';
3
- import { MongoRepository as PriceSpecificationRepo } from '../repo/priceSpecification';
4
- import { MongoRepository as ProjectRepo } from '../repo/project';
5
- import { StockHolderRepository as StockHolderRepo } from '../repo/stockHolder';
6
- import { MongoRepository as TaskRepo } from '../repo/task';
1
+ import type { MongoRepository as EventRepo } from '../repo/event';
2
+ import type { MongoRepository as PlaceRepo } from '../repo/place';
3
+ import type { MongoRepository as PriceSpecificationRepo } from '../repo/priceSpecification';
4
+ import type { MongoRepository as ProjectRepo } from '../repo/project';
5
+ import type { StockHolderRepository as StockHolderRepo } from '../repo/stockHolder';
6
+ import type { MongoRepository as TaskRepo } from '../repo/task';
7
7
  import * as factory from '../factory';
8
8
  import * as EventOfferService from './offer/event';
9
9
  import * as EventServiceByCOAOfferService from './offer/eventServiceByCOA';
@@ -1,14 +1,14 @@
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 ProductRepo } from '../../repo/product';
8
- import { MongoRepository as ProjectRepo } from '../../repo/project';
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 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 ProductRepo } from '../../repo/product';
8
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
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
  declare function confirmPayTransaction(data: factory.task.IData<factory.taskName.ConfirmPayTransaction>): (repos: {
13
13
  action: ActionRepo;
14
14
  assetTransaction: AssetTransactionRepo;
@@ -1,8 +1,8 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
- import { MongoRepository as EventRepo } from '../../repo/event';
3
- import { MongoRepository as OrderRepo } from '../../repo/order';
4
- import { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
- import { MongoRepository as ReservationRepo } from '../../repo/reservation';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
+ import type { MongoRepository as EventRepo } from '../../repo/event';
3
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
4
+ import type { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
+ import type { MongoRepository as ReservationRepo } from '../../repo/reservation';
6
6
  import * as factory from '../../factory';
7
7
  /**
8
8
  * 注文に関わるリソースを削除する
@@ -1,4 +1,4 @@
1
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
2
2
  import * as factory from '../../factory';
3
3
  export declare function findPlaceOrderTransaction(params: {
4
4
  project: {
@@ -1,8 +1,8 @@
1
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
- import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
3
- import { MongoRepository as OrderRepo } from '../../repo/order';
4
- import { MongoRepository as TaskRepo } from '../../repo/task';
5
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
+ import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
3
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
4
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
5
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
6
6
  import * as factory from '../../factory';
7
7
  declare function onAssetTransactionStatusChanged(params: factory.task.IData<factory.taskName.OnAssetTransactionStatusChanged>): (repos: {
8
8
  assetTransaction: AssetTransactionRepo;
@@ -1,5 +1,5 @@
1
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
- import { MongoRepository as TaskRepo } from '../../repo/task';
1
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
3
3
  import * as factory from '../../factory';
4
4
  import { IExternalOrder } from './onOrderStatusChanged/factory';
5
5
  type IPlaceOrderTransaction = factory.transaction.ITransaction<factory.transactionType.PlaceOrder>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 注文変更時処理
3
3
  */
4
- import { MongoRepository as TaskRepo } from '../../repo/task';
4
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
5
5
  import * as factory from '../../factory';
6
6
  export declare function onOrderUpdated(params: {
7
7
  additionalProperty?: factory.propertyValue.IPropertyValue<string>[];
@@ -1,7 +1,7 @@
1
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
- import { MongoRepository as OrderRepo } from '../../repo/order';
3
- import { MongoRepository as TaskRepo } from '../../repo/task';
4
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
2
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
3
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
4
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
5
5
  import * as factory from '../../factory';
6
6
  /**
7
7
  * 注文を決済する
@@ -1,9 +1,9 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
- import { MongoRepository as ActionRepo } from '../../repo/action';
3
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
4
- import { MongoRepository as OrderRepo } from '../../repo/order';
5
- import { MongoRepository as TaskRepo } from '../../repo/task';
6
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
3
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
4
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
5
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
6
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
7
7
  import { IExternalOrder } from './onOrderStatusChanged';
8
8
  import * as factory from '../../factory';
9
9
  /**
@@ -1,9 +1,9 @@
1
- import { MongoRepository as ActionRepo } from '../../repo/action';
2
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
3
- import { MongoRepository as OrderRepo } from '../../repo/order';
4
- import { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
- import { MongoRepository as TaskRepo } from '../../repo/task';
6
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
2
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
3
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
4
+ import type { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
6
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
7
7
  import * as factory from '../../factory';
8
8
  declare function returnOrder(params: {
9
9
  agent: factory.action.transfer.returnAction.order.IAgent;
@@ -1,9 +1,9 @@
1
- import { MongoRepository as ActionRepo } from '../../repo/action';
2
- import { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
3
- import { MongoRepository as OrderRepo } from '../../repo/order';
4
- import { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
- import { MongoRepository as TaskRepo } from '../../repo/task';
6
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
1
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
2
+ import type { RedisRepository as RegisterServiceInProgressRepo } from '../../repo/action/registerServiceInProgress';
3
+ import type { MongoRepository as OrderRepo } from '../../repo/order';
4
+ import type { MongoRepository as OwnershipInfoRepo } from '../../repo/ownershipInfo';
5
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
6
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
7
7
  import * as factory from '../../factory';
8
8
  type ISendOperation<T> = (repos: {
9
9
  action: ActionRepo;
@@ -2,9 +2,9 @@
2
2
  * 汎用決済サービス
3
3
  */
4
4
  import * as factory from '../../../factory';
5
- import { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
6
- import { MongoRepository as ActionRepo } from '../../../repo/action';
7
- import { MongoRepository as TaskRepo } from '../../../repo/task';
5
+ import type { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
6
+ import type { MongoRepository as ActionRepo } from '../../../repo/action';
7
+ import type { MongoRepository as TaskRepo } from '../../../repo/task';
8
8
  /**
9
9
  * 決済後のアクション
10
10
  */
@@ -1,4 +1,4 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../../../repo/accountingReport';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../../../repo/accountingReport';
2
2
  import * as factory from '../../../../factory';
3
3
  export type IOptimizedPayAction = factory.report.accountingReport.IOptimizedPayAction;
4
4
  export declare function onPaid(params: IOptimizedPayAction): (repos: {
@@ -1,4 +1,4 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../../../repo/accountingReport';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../../../repo/accountingReport';
2
2
  import * as factory from '../../../../factory';
3
3
  export type IOptimizedRefundAction = factory.report.accountingReport.IOptimizedRefundAction;
4
4
  export declare function onRefunded(params: IOptimizedRefundAction): (repos: {
@@ -1,5 +1,5 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
2
- import { MongoRepository as ActionRepo } from '../../../repo/action';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
2
+ import type { MongoRepository as ActionRepo } from '../../../repo/action';
3
3
  import { IOnPaymentStatusChangedParams } from './factory';
4
4
  /**
5
5
  * 決済ステータス変更イベント
@@ -2,9 +2,9 @@
2
2
  * 汎用決済サービス
3
3
  */
4
4
  import * as factory from '../../../factory';
5
- import { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
6
- import { MongoRepository as ActionRepo } from '../../../repo/action';
7
- import { MongoRepository as TaskRepo } from '../../../repo/task';
5
+ import type { MongoRepository as AccountingReportRepo } from '../../../repo/accountingReport';
6
+ import type { MongoRepository as ActionRepo } from '../../../repo/action';
7
+ import type { MongoRepository as TaskRepo } from '../../../repo/task';
8
8
  /**
9
9
  * 返金後のアクション
10
10
  */
@@ -2,17 +2,17 @@
2
2
  * 汎用決済サービス
3
3
  */
4
4
  import * as factory from '../../factory';
5
- import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
6
- import { MongoRepository as ActionRepo } from '../../repo/action';
7
- import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
8
- import { MongoRepository as EventRepo } from '../../repo/event';
5
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
6
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
7
+ import type { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransaction';
8
+ import type { MongoRepository as EventRepo } from '../../repo/event';
9
9
  import { CognitoRepository as PersonRepo } from '../../repo/person';
10
- import { MongoRepository as ProductRepo } from '../../repo/product';
11
- import { MongoRepository as ProjectRepo } from '../../repo/project';
12
- import { MongoRepository as SellerRepo } from '../../repo/seller';
13
- import { MongoRepository as TaskRepo } from '../../repo/task';
14
- import { MongoRepository as TransactionRepo } from '../../repo/transaction';
15
- import { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
10
+ import type { MongoRepository as ProductRepo } from '../../repo/product';
11
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
12
+ import type { MongoRepository as SellerRepo } from '../../repo/seller';
13
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
14
+ import type { MongoRepository as TransactionRepo } from '../../repo/transaction';
15
+ import type { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
16
16
  import * as PayTransactionService from '../assetTransaction/pay';
17
17
  import { onPaymentStatusChanged } from './any/onPaymentStatusChanged';
18
18
  import { person2username } from './any/person2username';
@@ -3,13 +3,13 @@
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';
6
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
7
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
8
8
  import { CognitoRepository as PersonRepo } from '../../repo/person';
9
- import { MongoRepository as ProductRepo } from '../../repo/product';
10
- import { MongoRepository as ProjectRepo } from '../../repo/project';
11
- import { MongoRepository as SellerRepo } from '../../repo/seller';
12
- import { MongoRepository as TaskRepo } from '../../repo/task';
9
+ import type { MongoRepository as ProductRepo } from '../../repo/product';
10
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
11
+ import type { MongoRepository as SellerRepo } from '../../repo/seller';
12
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
13
13
  /**
14
14
  * クレジットカード決済承認
15
15
  */
@@ -2,12 +2,12 @@
2
2
  * 対面決済サービス
3
3
  */
4
4
  import * as factory from '../../factory';
5
- import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
6
- import { MongoRepository as ActionRepo } from '../../repo/action';
7
- import { MongoRepository as ProductRepo } from '../../repo/product';
8
- import { MongoRepository as ProjectRepo } from '../../repo/project';
9
- import { MongoRepository as SellerRepo } from '../../repo/seller';
10
- import { MongoRepository as TaskRepo } from '../../repo/task';
5
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
6
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
7
+ import type { MongoRepository as ProductRepo } from '../../repo/product';
8
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
9
+ import type { MongoRepository as SellerRepo } from '../../repo/seller';
10
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
11
11
  declare function voidTransaction(__: factory.task.voidPayment.IData): (___: {
12
12
  product: ProductRepo;
13
13
  project: ProjectRepo;
@@ -1,6 +1,6 @@
1
1
  import { IMinimizedIndividualEvent } from '../../../repo/event';
2
- import { MongoRepository as ProductRepo } from '../../../repo/product';
3
- import { MongoRepository as ProjectRepo } from '../../../repo/project';
2
+ import type { MongoRepository as ProductRepo } from '../../../repo/product';
3
+ import type { MongoRepository as ProjectRepo } from '../../../repo/project';
4
4
  import * as factory from '../../../factory';
5
5
  interface ICheckResult {
6
6
  purchaseNumberAuthIn: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthIn;
@@ -1,4 +1,4 @@
1
- import { MongoRepository as ProductRepo } from '../../../repo/product';
1
+ import type { MongoRepository as ProductRepo } from '../../../repo/product';
2
2
  import * as factory from '../../../factory';
3
3
  declare function getCredentials(params: {
4
4
  paymentMethodType: string;
@@ -1,9 +1,9 @@
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 ProductRepo } from '../../../repo/product';
5
- import { MongoRepository as ProjectRepo } from '../../../repo/project';
6
- import { MongoRepository as SellerRepo } from '../../../repo/seller';
2
+ import type { MongoRepository as ActionRepo } from '../../../repo/action';
3
+ import type { MongoRepository as EventRepo } from '../../../repo/event';
4
+ import type { MongoRepository as ProductRepo } from '../../../repo/product';
5
+ import type { MongoRepository as ProjectRepo } from '../../../repo/project';
6
+ import type { MongoRepository as SellerRepo } from '../../../repo/seller';
7
7
  export declare function validateMovieTicket(params: factory.assetTransaction.pay.IStartParamsWithoutDetail, paymentServiceId: string, useCheckMovieTicketBeforePay: boolean, useCheckByIdentifierIfNotYet: boolean): (repos: {
8
8
  action: ActionRepo;
9
9
  event: EventRepo;
@@ -1,10 +1,10 @@
1
- import { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
- import { MongoRepository as ActionRepo } from '../../repo/action';
1
+ import type { MongoRepository as AccountingReportRepo } from '../../repo/accountingReport';
2
+ import type { MongoRepository as ActionRepo } from '../../repo/action';
3
3
  import { MongoRepository as EventRepo } from '../../repo/event';
4
- import { MongoRepository as ProductRepo } from '../../repo/product';
5
- import { MongoRepository as ProjectRepo } from '../../repo/project';
6
- import { MongoRepository as SellerRepo } from '../../repo/seller';
7
- import { MongoRepository as TaskRepo } from '../../repo/task';
4
+ import type { MongoRepository as ProductRepo } from '../../repo/product';
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 { ICheckResult } from './movieTicket/checkByIdentifier';
10
10
  interface ICheckOperationRepos {
@@ -1,11 +1,11 @@
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 ProductRepo } from '../../repo/product';
6
- import { MongoRepository as ProjectRepo } from '../../repo/project';
7
- import { MongoRepository as TaskRepo } from '../../repo/task';
8
- import { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
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 ProductRepo } from '../../repo/product';
6
+ import type { MongoRepository as ProjectRepo } from '../../repo/project';
7
+ import type { MongoRepository as TaskRepo } from '../../repo/task';
8
+ import type { RedisRepository as TransactionNumberRepo } from '../../repo/transactionNumber';
9
9
  type IPendingTransaction = Pick<factory.account.transaction.withdraw.ITransaction, 'id' | 'transactionNumber' | 'typeOf'>;
10
10
  declare function authorize(params: factory.assetTransaction.pay.IStartParamsWithoutDetail, paymentServiceId: string): (repos: {
11
11
  product: ProductRepo;
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * 決済サービス
3
3
  */
4
- import { MongoRepository as AccountingReportRepo } from '../repo/accountingReport';
5
- import { MongoRepository as ActionRepo } from '../repo/action';
6
- import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
7
- import { MongoRepository as EventRepo } from '../repo/event';
8
- import { MongoRepository as ProductRepo } from '../repo/product';
9
- import { MongoRepository as ProjectRepo } from '../repo/project';
10
- import { MongoRepository as SellerRepo } from '../repo/seller';
11
- import { MongoRepository as TaskRepo } from '../repo/task';
12
- import { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
4
+ import type { MongoRepository as AccountingReportRepo } from '../repo/accountingReport';
5
+ import type { MongoRepository as ActionRepo } from '../repo/action';
6
+ import type { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
7
+ import type { MongoRepository as EventRepo } from '../repo/event';
8
+ import type { MongoRepository as ProductRepo } from '../repo/product';
9
+ import type { MongoRepository as ProjectRepo } from '../repo/project';
10
+ import type { MongoRepository as SellerRepo } from '../repo/seller';
11
+ import type { MongoRepository as TaskRepo } from '../repo/task';
12
+ import type { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
13
13
  import * as factory from '../factory';
14
14
  /**
15
15
  * 決済確定
@@ -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 ServiceOutputRepo } from '../repo/serviceOutput';
5
+ import type { MongoRepository as AccountRepo } from '../repo/account';
6
+ import type { MongoRepository as ServiceOutputRepo } from '../repo/serviceOutput';
7
7
  /**
8
8
  * 許可証発行
9
9
  */
@@ -1,7 +1,7 @@
1
1
  import * as factory from '../factory';
2
- import { MongoRepository as ActionRepo } from '../repo/action';
3
- import { MongoRepository as ServiceOutputRepo } from '../repo/serviceOutput';
4
- import { MongoRepository as TaskRepo } from '../repo/task';
2
+ import type { MongoRepository as ActionRepo } from '../repo/action';
3
+ import type { MongoRepository as ServiceOutputRepo } from '../repo/serviceOutput';
4
+ import type { MongoRepository as TaskRepo } from '../repo/task';
5
5
  export declare function registerService(params: factory.action.interact.register.service.IAttributes[]): (repos: {
6
6
  action: ActionRepo;
7
7
  serviceOutput: ServiceOutputRepo;
@@ -1,22 +1,22 @@
1
1
  /**
2
2
  * プロジェクトサービス
3
3
  */
4
- import { MongoRepository as AccountTitleRepo } from '../repo/accountTitle';
5
- import { MongoRepository as ActionRepo } from '../repo/action';
6
- import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
7
- import { MongoRepository as CategoryCodeRepo } from '../repo/categoryCode';
8
- import { MongoRepository as CreativeWorkRepo } from '../repo/creativeWork';
9
- import { MongoRepository as EventRepo } from '../repo/event';
10
- import { MongoRepository as MemberRepo } from '../repo/member';
11
- import { MongoRepository as OfferRepo } from '../repo/offer';
12
- import { MongoRepository as OfferCatalogRepo } from '../repo/offerCatalog';
13
- import { MongoRepository as PlaceRepo } from '../repo/place';
14
- import { MongoRepository as PriceSpecificationRepo } from '../repo/priceSpecification';
15
- import { MongoRepository as ProductRepo } from '../repo/product';
16
- import { MongoRepository as ProjectRepo } from '../repo/project';
17
- import { MongoRepository as ReservationRepo } from '../repo/reservation';
18
- import { MongoRepository as SellerRepo } from '../repo/seller';
19
- import { MongoRepository as TaskRepo } from '../repo/task';
4
+ import type { MongoRepository as AccountTitleRepo } from '../repo/accountTitle';
5
+ import type { MongoRepository as ActionRepo } from '../repo/action';
6
+ import type { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
7
+ import type { MongoRepository as CategoryCodeRepo } from '../repo/categoryCode';
8
+ import type { MongoRepository as CreativeWorkRepo } from '../repo/creativeWork';
9
+ import type { MongoRepository as EventRepo } from '../repo/event';
10
+ import type { MongoRepository as MemberRepo } from '../repo/member';
11
+ import type { MongoRepository as OfferRepo } from '../repo/offer';
12
+ import type { MongoRepository as OfferCatalogRepo } from '../repo/offerCatalog';
13
+ import type { MongoRepository as PlaceRepo } from '../repo/place';
14
+ import type { MongoRepository as PriceSpecificationRepo } from '../repo/priceSpecification';
15
+ import type { MongoRepository as ProductRepo } from '../repo/product';
16
+ import type { MongoRepository as ProjectRepo } from '../repo/project';
17
+ import type { MongoRepository as ReservationRepo } from '../repo/reservation';
18
+ import type { MongoRepository as SellerRepo } from '../repo/seller';
19
+ import type { MongoRepository as TaskRepo } from '../repo/task';
20
20
  export declare function deleteProject(params: {
21
21
  id: string;
22
22
  }): (repos: {
@@ -2,35 +2,38 @@
2
2
  * データ測定サービス
3
3
  * 実験的実装中
4
4
  */
5
- import * as repository from '../../repository';
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: repository.Telemetry;
11
+ telemetry: TelemetryRepo;
9
12
  }) => Promise<T>;
10
13
  export type TaskOperation<T> = (repos: {
11
- task: repository.Task;
14
+ task: TaskRepo;
12
15
  }) => Promise<T>;
13
16
  export type TransactionOperation<T> = (repos: {
14
- transaction: repository.Transaction;
17
+ transaction: TransactionRepo;
15
18
  }) => Promise<T>;
16
19
  export type TaskAndTransactionOperation<T> = (repos: {
17
- task: repository.Task;
18
- transaction: repository.Transaction;
20
+ task: TaskRepo;
21
+ transaction: TransactionRepo;
19
22
  }) => Promise<T>;
20
23
  export type TaskAndTransactionAndActionOperation<T> = (repos: {
21
- task: repository.Task;
22
- transaction: repository.Transaction;
23
- action: repository.Action;
24
+ task: TaskRepo;
25
+ transaction: TransactionRepo;
26
+ action: ActionRepo;
24
27
  }) => Promise<T>;
25
28
  export type TransactionAndActionOperation<T> = (repos: {
26
- transaction: repository.Transaction;
27
- action: repository.Action;
29
+ transaction: TransactionRepo;
30
+ action: ActionRepo;
28
31
  }) => Promise<T>;
29
32
  export type TaskAndTelemetryAndTransactionOperation<T> = (repos: {
30
- task: repository.Task;
31
- telemetry: repository.Telemetry;
32
- transaction: repository.Transaction;
33
- action: repository.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: repository.Telemetry;
294
+ telemetry: TelemetryRepo;
292
295
  }) => Promise<ITelemetry[]>;
293
296
  /**
294
297
  * フロー測定データを作成する