@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
|
@@ -29,7 +29,7 @@ const offerCatalogItem_1 = require("./mongoose/schemas/offerCatalogItem");
|
|
|
29
29
|
*/
|
|
30
30
|
class MongoRepository {
|
|
31
31
|
constructor(connection) {
|
|
32
|
-
this.offerCatalogItemModel = connection.model(offerCatalogItem_1.modelName, offerCatalogItem_1.
|
|
32
|
+
this.offerCatalogItemModel = connection.model(offerCatalogItem_1.modelName, (0, offerCatalogItem_1.createSchema)());
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:max-func-body-length
|
|
35
35
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -29,7 +29,7 @@ const settings_1 = require("../settings");
|
|
|
29
29
|
*/
|
|
30
30
|
class MongoRepository {
|
|
31
31
|
constructor(connection) {
|
|
32
|
-
this.offerItemConditionModel = connection.model(offerItemCondition_1.modelName, offerItemCondition_1.
|
|
32
|
+
this.offerItemConditionModel = connection.model(offerItemCondition_1.modelName, (0, offerItemCondition_1.createSchema)());
|
|
33
33
|
}
|
|
34
34
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
35
35
|
var _a, _b, _c, _d, _e, _f;
|
package/lib/chevre/repo/order.js
CHANGED
|
@@ -20,7 +20,7 @@ const settings_1 = require("../settings");
|
|
|
20
20
|
*/
|
|
21
21
|
class MongoRepository {
|
|
22
22
|
constructor(connection) {
|
|
23
|
-
this.orderModel = connection.model(order_1.modelName, order_1.
|
|
23
|
+
this.orderModel = connection.model(order_1.modelName, (0, order_1.createSchema)());
|
|
24
24
|
}
|
|
25
25
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
26
26
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -20,7 +20,7 @@ const settings_1 = require("../settings");
|
|
|
20
20
|
*/
|
|
21
21
|
class MongoRepository {
|
|
22
22
|
constructor(connection) {
|
|
23
|
-
this.ownershipInfoModel = connection.model(ownershipInfo_1.modelName, ownershipInfo_1.
|
|
23
|
+
this.ownershipInfoModel = connection.model(ownershipInfo_1.modelName, (0, ownershipInfo_1.createSchema)());
|
|
24
24
|
}
|
|
25
25
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
26
26
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -19,7 +19,7 @@ const settings_1 = require("../settings");
|
|
|
19
19
|
*/
|
|
20
20
|
class MongoRepository {
|
|
21
21
|
constructor(connection) {
|
|
22
|
-
this.productModel = connection.model(product_1.modelName, product_1.
|
|
22
|
+
this.productModel = connection.model(product_1.modelName, (0, product_1.createSchema)());
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* 決済サービスプロバイダー検索
|
|
@@ -17,7 +17,7 @@ const factory = require("../factory");
|
|
|
17
17
|
*/
|
|
18
18
|
class MongoRepository {
|
|
19
19
|
constructor(connection) {
|
|
20
|
-
this.serviceOutputModel = connection.model(serviceOutput_1.modelName, serviceOutput_1.
|
|
20
|
+
this.serviceOutputModel = connection.model(serviceOutput_1.modelName, (0, serviceOutput_1.createSchema)());
|
|
21
21
|
}
|
|
22
22
|
findByIdentifier(params, projection) {
|
|
23
23
|
var _a, _b;
|
|
@@ -19,7 +19,7 @@ const settings_1 = require("../../settings");
|
|
|
19
19
|
*/
|
|
20
20
|
class MongoRepository {
|
|
21
21
|
constructor(connection, operater) {
|
|
22
|
-
this.placeModel = connection.model(place_1.modelName, place_1.
|
|
22
|
+
this.placeModel = connection.model(place_1.modelName, (0, place_1.createSchema)());
|
|
23
23
|
this.operator = operater;
|
|
24
24
|
}
|
|
25
25
|
search(params) {
|
package/lib/chevre/repo/place.js
CHANGED
|
@@ -30,7 +30,7 @@ const settings_1 = require("../settings");
|
|
|
30
30
|
*/
|
|
31
31
|
class MongoRepository {
|
|
32
32
|
constructor(connection) {
|
|
33
|
-
this.placeModel = connection.model(place_1.modelName, place_1.
|
|
33
|
+
this.placeModel = connection.model(place_1.modelName, (0, place_1.createSchema)());
|
|
34
34
|
}
|
|
35
35
|
// tslint:disable-next-line:max-func-body-length
|
|
36
36
|
static CREATE_BUS_STOP_MONGO_CONDITIONS(params) {
|
|
@@ -29,7 +29,7 @@ const settings_1 = require("../settings");
|
|
|
29
29
|
*/
|
|
30
30
|
class MongoRepository {
|
|
31
31
|
constructor(connection) {
|
|
32
|
-
this.priceSpecificationModel = connection.model(priceSpecification_1.modelName, priceSpecification_1.
|
|
32
|
+
this.priceSpecificationModel = connection.model(priceSpecification_1.modelName, (0, priceSpecification_1.createSchema)());
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
35
35
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -29,7 +29,7 @@ const settings_1 = require("../settings");
|
|
|
29
29
|
*/
|
|
30
30
|
class MongoRepository {
|
|
31
31
|
constructor(connection) {
|
|
32
|
-
this.productModel = connection.model(product_1.modelName, product_1.
|
|
32
|
+
this.productModel = connection.model(product_1.modelName, (0, product_1.createSchema)());
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:max-func-body-length
|
|
35
35
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -19,7 +19,7 @@ const settings_1 = require("../settings");
|
|
|
19
19
|
*/
|
|
20
20
|
class MongoRepository {
|
|
21
21
|
constructor(connection) {
|
|
22
|
-
this.productModel = connection.model(product_1.modelName, product_1.
|
|
22
|
+
this.productModel = connection.model(product_1.modelName, (0, product_1.createSchema)());
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* プロダクトオファー検索
|
|
@@ -18,7 +18,7 @@ const settings_1 = require("../settings");
|
|
|
18
18
|
*/
|
|
19
19
|
class MongoRepository {
|
|
20
20
|
constructor(connection) {
|
|
21
|
-
this.projectModel = connection.model(project_1.modelName, project_1.
|
|
21
|
+
this.projectModel = connection.model(project_1.modelName, (0, project_1.createSchema)());
|
|
22
22
|
}
|
|
23
23
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
24
24
|
// MongoDB検索条件
|
|
@@ -18,7 +18,7 @@ const settings_1 = require("../settings");
|
|
|
18
18
|
*/
|
|
19
19
|
class MongoRepository {
|
|
20
20
|
constructor(connection) {
|
|
21
|
-
this.reservationModel = connection.model(reservation_1.modelName, reservation_1.
|
|
21
|
+
this.reservationModel = connection.model(reservation_1.modelName, (0, reservation_1.createSchema)());
|
|
22
22
|
}
|
|
23
23
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
24
24
|
static CREATE_MONGO_CONDITIONS(params) {
|
package/lib/chevre/repo/role.js
CHANGED
|
@@ -21,7 +21,7 @@ var RoleType;
|
|
|
21
21
|
*/
|
|
22
22
|
class MongoRepository {
|
|
23
23
|
constructor(connection) {
|
|
24
|
-
this.roleModel = connection.model(role_1.modelName, role_1.
|
|
24
|
+
this.roleModel = connection.model(role_1.modelName, (0, role_1.createSchema)());
|
|
25
25
|
}
|
|
26
26
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
27
27
|
var _a, _b, _c;
|
|
@@ -30,7 +30,7 @@ const settings_1 = require("../settings");
|
|
|
30
30
|
*/
|
|
31
31
|
class MongoRepository {
|
|
32
32
|
constructor(connection) {
|
|
33
|
-
this.organizationModel = connection.model(seller_1.modelName, seller_1.
|
|
33
|
+
this.organizationModel = connection.model(seller_1.modelName, (0, seller_1.createSchema)());
|
|
34
34
|
}
|
|
35
35
|
// tslint:disable-next-line:max-func-body-length
|
|
36
36
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -18,7 +18,7 @@ const settings_1 = require("../settings");
|
|
|
18
18
|
*/
|
|
19
19
|
class MongoRepository {
|
|
20
20
|
constructor(connection) {
|
|
21
|
-
this.serviceOutputModel = connection.model(serviceOutput_1.modelName, serviceOutput_1.
|
|
21
|
+
this.serviceOutputModel = connection.model(serviceOutput_1.modelName, (0, serviceOutput_1.createSchema)());
|
|
22
22
|
}
|
|
23
23
|
// tslint:disable-next-line:max-func-body-length
|
|
24
24
|
static CREATE_MONGO_CONDITIONS(params) {
|
package/lib/chevre/repo/task.js
CHANGED
|
@@ -27,7 +27,7 @@ const sortOrder4executionOfTasks = {
|
|
|
27
27
|
*/
|
|
28
28
|
class MongoRepository {
|
|
29
29
|
constructor(connection) {
|
|
30
|
-
this.taskModel = connection.model(task_1.modelName, task_1.
|
|
30
|
+
this.taskModel = connection.model(task_1.modelName, (0, task_1.createSchema)());
|
|
31
31
|
}
|
|
32
32
|
// tslint:disable-next-line:max-func-body-length
|
|
33
33
|
static CREATE_MONGO_CONDITIONS(params) {
|
|
@@ -7,7 +7,7 @@ const telemetry_1 = require("./mongoose/schemas/telemetry");
|
|
|
7
7
|
*/
|
|
8
8
|
class MongoRepository {
|
|
9
9
|
constructor(connection) {
|
|
10
|
-
this.telemetryModel = connection.model(telemetry_1.modelName, telemetry_1.
|
|
10
|
+
this.telemetryModel = connection.model(telemetry_1.modelName, (0, telemetry_1.createSchema)());
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.MongoRepository = MongoRepository;
|
|
@@ -20,7 +20,7 @@ const settings_1 = require("../settings");
|
|
|
20
20
|
*/
|
|
21
21
|
class MongoRepository {
|
|
22
22
|
constructor(connection) {
|
|
23
|
-
this.transactionModel = connection.model(transaction_1.modelName, transaction_1.
|
|
23
|
+
this.transactionModel = connection.model(transaction_1.modelName, (0, transaction_1.createSchema)());
|
|
24
24
|
}
|
|
25
25
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
26
26
|
static CREATE_MONGO_CONDITIONS(params) {
|
package/lib/chevre/repo/trip.js
CHANGED
|
@@ -29,7 +29,7 @@ const settings_1 = require("../settings");
|
|
|
29
29
|
*/
|
|
30
30
|
class MongoRepository {
|
|
31
31
|
constructor(connection) {
|
|
32
|
-
this.tripModel = connection.model(trip_1.modelName, trip_1.
|
|
32
|
+
this.tripModel = connection.model(trip_1.modelName, (0, trip_1.createSchema)());
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:cyclomatic-complexity max-func-body-length
|
|
35
35
|
static CREATE_MONGO_CONDITIONS(conditions) {
|
|
@@ -1,163 +1,168 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* リポジトリ
|
|
3
3
|
*/
|
|
4
|
-
import { MongoRepository as AccountRepo } from './repo/account';
|
|
5
|
-
import { MongoRepository as AccountingReportRepo } from './repo/accountingReport';
|
|
6
|
-
import { MongoRepository as AccountTitleRepo } from './repo/accountTitle';
|
|
7
|
-
import { MongoRepository as AccountTransactionRepo } from './repo/accountTransaction';
|
|
8
|
-
import { MongoRepository as ActionRepo } from './repo/action';
|
|
9
|
-
import { MongoRepository as AdditionalPropertyRepo } from './repo/additionalProperty';
|
|
10
|
-
import { MongoRepository as AggregateOfferRepo } from './repo/aggregateOffer';
|
|
11
|
-
import { MongoRepository as AggregationRepo } from './repo/aggregation';
|
|
12
|
-
import { MongoRepository as AssetTransactionRepo } from './repo/assetTransaction';
|
|
13
|
-
import { MongoRepository as CategoryCodeRepo } from './repo/categoryCode';
|
|
14
|
-
import { MongoRepository as CodeRepo } from './repo/code';
|
|
15
|
-
import { MongoRepository as CommentRepo } from './repo/comment';
|
|
16
|
-
import { MongoRepository as CreativeWorkRepo } from './repo/creativeWork';
|
|
17
|
-
import { MongoRepository as CustomerRepo } from './repo/customer';
|
|
18
|
-
import { MongoRepository as EmailMessageRepo } from './repo/emailMessage';
|
|
19
|
-
import { MongoRepository as EventRepo } from './repo/event';
|
|
20
|
-
import { MongoRepository as MemberRepo } from './repo/member';
|
|
21
|
-
import { MongoRepository as MerchantReturnPolicyRepo } from './repo/merchantReturnPolicy';
|
|
22
|
-
import { MongoRepository as OfferRepo } from './repo/offer';
|
|
23
|
-
import { MongoRepository as OfferCatalogRepo } from './repo/offerCatalog';
|
|
24
|
-
import { MongoRepository as OfferCatalogItemRepo } from './repo/offerCatalogItem';
|
|
25
|
-
import { MongoRepository as OfferItemConditionRepo } from './repo/offerItemCondition';
|
|
26
|
-
import { MongoRepository as OrderRepo } from './repo/order';
|
|
27
|
-
import { MongoRepository as OwnershipInfoRepo } from './repo/ownershipInfo';
|
|
28
|
-
import { MongoRepository as PaymentServiceProviderRepo } from './repo/paymentServiceProvider';
|
|
29
|
-
import { MongoRepository as PermitRepo } from './repo/permit';
|
|
30
|
-
import { MongoRepository as PlaceRepo } from './repo/place';
|
|
31
|
-
import { MongoRepository as HasPOSRepo } from './repo/place/hasPOS';
|
|
32
|
-
import { MongoRepository as PriceSpecificationRepo } from './repo/priceSpecification';
|
|
33
|
-
import { MongoRepository as ProductRepo } from './repo/product';
|
|
34
|
-
import { MongoRepository as ProductOfferRepo } from './repo/productOffer';
|
|
35
|
-
import { MongoRepository as ProjectRepo } from './repo/project';
|
|
4
|
+
import type { MongoRepository as AccountRepo } from './repo/account';
|
|
5
|
+
import type { MongoRepository as AccountingReportRepo } from './repo/accountingReport';
|
|
6
|
+
import type { MongoRepository as AccountTitleRepo } from './repo/accountTitle';
|
|
7
|
+
import type { MongoRepository as AccountTransactionRepo } from './repo/accountTransaction';
|
|
8
|
+
import type { MongoRepository as ActionRepo } from './repo/action';
|
|
9
|
+
import type { MongoRepository as AdditionalPropertyRepo } from './repo/additionalProperty';
|
|
10
|
+
import type { MongoRepository as AggregateOfferRepo } from './repo/aggregateOffer';
|
|
11
|
+
import type { MongoRepository as AggregationRepo } from './repo/aggregation';
|
|
12
|
+
import type { MongoRepository as AssetTransactionRepo } from './repo/assetTransaction';
|
|
13
|
+
import type { MongoRepository as CategoryCodeRepo } from './repo/categoryCode';
|
|
14
|
+
import type { MongoRepository as CodeRepo } from './repo/code';
|
|
15
|
+
import type { MongoRepository as CommentRepo } from './repo/comment';
|
|
16
|
+
import type { MongoRepository as CreativeWorkRepo } from './repo/creativeWork';
|
|
17
|
+
import type { MongoRepository as CustomerRepo } from './repo/customer';
|
|
18
|
+
import type { MongoRepository as EmailMessageRepo } from './repo/emailMessage';
|
|
19
|
+
import type { MongoRepository as EventRepo } from './repo/event';
|
|
20
|
+
import type { MongoRepository as MemberRepo } from './repo/member';
|
|
21
|
+
import type { MongoRepository as MerchantReturnPolicyRepo } from './repo/merchantReturnPolicy';
|
|
22
|
+
import type { MongoRepository as OfferRepo } from './repo/offer';
|
|
23
|
+
import type { MongoRepository as OfferCatalogRepo } from './repo/offerCatalog';
|
|
24
|
+
import type { MongoRepository as OfferCatalogItemRepo } from './repo/offerCatalogItem';
|
|
25
|
+
import type { MongoRepository as OfferItemConditionRepo } from './repo/offerItemCondition';
|
|
26
|
+
import type { MongoRepository as OrderRepo } from './repo/order';
|
|
27
|
+
import type { MongoRepository as OwnershipInfoRepo } from './repo/ownershipInfo';
|
|
28
|
+
import type { MongoRepository as PaymentServiceProviderRepo } from './repo/paymentServiceProvider';
|
|
29
|
+
import type { MongoRepository as PermitRepo } from './repo/permit';
|
|
30
|
+
import type { MongoRepository as PlaceRepo } from './repo/place';
|
|
31
|
+
import type { MongoRepository as HasPOSRepo } from './repo/place/hasPOS';
|
|
32
|
+
import type { MongoRepository as PriceSpecificationRepo } from './repo/priceSpecification';
|
|
33
|
+
import type { MongoRepository as ProductRepo } from './repo/product';
|
|
34
|
+
import type { MongoRepository as ProductOfferRepo } from './repo/productOffer';
|
|
35
|
+
import type { MongoRepository as ProjectRepo } from './repo/project';
|
|
36
36
|
import { RedisRepository as OfferRateLimitRepo } from './repo/rateLimit/offer';
|
|
37
|
-
import { MongoRepository as ReservationRepo } from './repo/reservation';
|
|
38
|
-
import { MongoRepository as RoleRepo } from './repo/role';
|
|
39
|
-
import { MongoRepository as SellerRepo } from './repo/seller';
|
|
40
|
-
import { MongoRepository as ServiceOutputRepo } from './repo/serviceOutput';
|
|
37
|
+
import type { MongoRepository as ReservationRepo } from './repo/reservation';
|
|
38
|
+
import type { MongoRepository as RoleRepo } from './repo/role';
|
|
39
|
+
import type { MongoRepository as SellerRepo } from './repo/seller';
|
|
40
|
+
import type { MongoRepository as ServiceOutputRepo } from './repo/serviceOutput';
|
|
41
41
|
import { RedisRepository as ServiceOutputIdentifierRepo } from './repo/serviceOutputIdentifier';
|
|
42
42
|
import { StockHolderRepository as StockHolderRepo } from './repo/stockHolder';
|
|
43
|
-
import { MongoRepository as TaskRepo } from './repo/task';
|
|
44
|
-
import { MongoRepository as TelemetryRepo } from './repo/telemetry';
|
|
45
|
-
import { MongoRepository as TransactionRepo } from './repo/transaction';
|
|
43
|
+
import type { MongoRepository as TaskRepo } from './repo/task';
|
|
44
|
+
import type { MongoRepository as TelemetryRepo } from './repo/telemetry';
|
|
45
|
+
import type { MongoRepository as TransactionRepo } from './repo/transaction';
|
|
46
46
|
import { RedisRepository as TransactionNumberRepo } from './repo/transactionNumber';
|
|
47
|
-
import { MongoRepository as TripRepo } from './repo/trip';
|
|
47
|
+
import type { MongoRepository as TripRepo } from './repo/trip';
|
|
48
48
|
import { RedisRepository as RegisterServiceActionInProgress } from './repo/action/registerServiceInProgress';
|
|
49
49
|
import { RedisRepository as ConfirmationNumberRepo } from './repo/confirmationNumber';
|
|
50
50
|
import { RedisRepository as OrderNumberRepo } from './repo/orderNumber';
|
|
51
51
|
import { GMORepository as CreditCardRepo } from './repo/paymentMethod/creditCard';
|
|
52
52
|
import { CognitoRepository as PersonRepo } from './repo/person';
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export declare class Account extends AccountRepo {
|
|
53
|
+
export type Account = AccountRepo;
|
|
54
|
+
export declare namespace Account {
|
|
55
|
+
function createInstance(...params: ConstructorParameters<typeof AccountRepo>): Promise<AccountRepo>;
|
|
57
56
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export declare class AccountingReport extends AccountingReportRepo {
|
|
57
|
+
export type AccountingReport = AccountingReportRepo;
|
|
58
|
+
export declare namespace AccountingReport {
|
|
59
|
+
function createInstance(...params: ConstructorParameters<typeof AccountingReportRepo>): Promise<AccountingReportRepo>;
|
|
62
60
|
}
|
|
63
|
-
export
|
|
61
|
+
export type AccountTitle = AccountTitleRepo;
|
|
62
|
+
export declare namespace AccountTitle {
|
|
63
|
+
function createInstance(...params: ConstructorParameters<typeof AccountTitleRepo>): Promise<AccountTitleRepo>;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export declare class AccountTransaction extends AccountTransactionRepo {
|
|
65
|
+
export type AccountTransaction = AccountTransactionRepo;
|
|
66
|
+
export declare namespace AccountTransaction {
|
|
67
|
+
function createInstance(...params: ConstructorParameters<typeof AccountTransactionRepo>): Promise<AccountTransactionRepo>;
|
|
69
68
|
}
|
|
70
|
-
export
|
|
69
|
+
export type Action = ActionRepo;
|
|
70
|
+
export declare namespace Action {
|
|
71
|
+
function createInstance(...params: ConstructorParameters<typeof ActionRepo>): Promise<ActionRepo>;
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export declare class AdditionalProperty extends AdditionalPropertyRepo {
|
|
73
|
+
export type AdditionalProperty = AdditionalPropertyRepo;
|
|
74
|
+
export declare namespace AdditionalProperty {
|
|
75
|
+
function createInstance(...params: ConstructorParameters<typeof AdditionalPropertyRepo>): Promise<AdditionalPropertyRepo>;
|
|
76
76
|
}
|
|
77
|
-
export
|
|
77
|
+
export type AggregateOffer = AggregateOfferRepo;
|
|
78
|
+
export declare namespace AggregateOffer {
|
|
79
|
+
function createInstance(...params: ConstructorParameters<typeof AggregateOfferRepo>): Promise<AggregateOfferRepo>;
|
|
78
80
|
}
|
|
79
|
-
export
|
|
81
|
+
export type Aggregation = AggregationRepo;
|
|
82
|
+
export declare namespace Aggregation {
|
|
83
|
+
function createInstance(...params: ConstructorParameters<typeof AggregationRepo>): Promise<AggregationRepo>;
|
|
80
84
|
}
|
|
81
85
|
export declare namespace action {
|
|
82
86
|
class RegisterServiceInProgress extends RegisterServiceActionInProgress {
|
|
83
87
|
}
|
|
84
88
|
}
|
|
85
|
-
export
|
|
89
|
+
export type AssetTransaction = AssetTransactionRepo;
|
|
90
|
+
export declare namespace AssetTransaction {
|
|
91
|
+
function createInstance(...params: ConstructorParameters<typeof AssetTransactionRepo>): Promise<AssetTransactionRepo>;
|
|
86
92
|
}
|
|
87
|
-
export
|
|
93
|
+
export type CategoryCode = CategoryCodeRepo;
|
|
94
|
+
export declare namespace CategoryCode {
|
|
95
|
+
function createInstance(...params: ConstructorParameters<typeof CategoryCodeRepo>): Promise<CategoryCodeRepo>;
|
|
88
96
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export declare class Code extends CodeRepo {
|
|
97
|
+
export type Code = CodeRepo;
|
|
98
|
+
export declare namespace Code {
|
|
99
|
+
function createInstance(...params: ConstructorParameters<typeof CodeRepo>): Promise<CodeRepo>;
|
|
93
100
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export declare class Comment extends CommentRepo {
|
|
101
|
+
export type Comment = CommentRepo;
|
|
102
|
+
export declare namespace Comment {
|
|
103
|
+
function createInstance(...params: ConstructorParameters<typeof CommentRepo>): Promise<CommentRepo>;
|
|
98
104
|
}
|
|
99
105
|
/**
|
|
100
106
|
* 確認番号リポジトリ
|
|
101
107
|
*/
|
|
102
108
|
export declare class ConfirmationNumber extends ConfirmationNumberRepo {
|
|
103
109
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export declare class CreativeWork extends CreativeWorkRepo {
|
|
110
|
+
export type CreativeWork = CreativeWorkRepo;
|
|
111
|
+
export declare namespace CreativeWork {
|
|
112
|
+
function createInstance(...params: ConstructorParameters<typeof CreativeWorkRepo>): Promise<CreativeWorkRepo>;
|
|
108
113
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
export declare class Customer extends CustomerRepo {
|
|
114
|
+
export type Customer = CustomerRepo;
|
|
115
|
+
export declare namespace Customer {
|
|
116
|
+
function createInstance(...params: ConstructorParameters<typeof CustomerRepo>): Promise<CustomerRepo>;
|
|
113
117
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
export declare class EmailMessage extends EmailMessageRepo {
|
|
118
|
+
export type EmailMessage = EmailMessageRepo;
|
|
119
|
+
export declare namespace EmailMessage {
|
|
120
|
+
function createInstance(...params: ConstructorParameters<typeof EmailMessageRepo>): Promise<EmailMessageRepo>;
|
|
118
121
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
export declare class Event extends EventRepo {
|
|
122
|
+
export type Event = EventRepo;
|
|
123
|
+
export declare namespace Event {
|
|
124
|
+
function createInstance(...params: ConstructorParameters<typeof EventRepo>): Promise<EventRepo>;
|
|
123
125
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
export declare class Member extends MemberRepo {
|
|
126
|
+
export type Member = MemberRepo;
|
|
127
|
+
export declare namespace Member {
|
|
128
|
+
function createInstance(...params: ConstructorParameters<typeof MemberRepo>): Promise<MemberRepo>;
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
export declare class MerchantReturnPolicy extends MerchantReturnPolicyRepo {
|
|
130
|
+
export type MerchantReturnPolicy = MerchantReturnPolicyRepo;
|
|
131
|
+
export declare namespace MerchantReturnPolicy {
|
|
132
|
+
function createInstance(...params: ConstructorParameters<typeof MerchantReturnPolicyRepo>): Promise<MerchantReturnPolicyRepo>;
|
|
133
133
|
}
|
|
134
|
-
export
|
|
134
|
+
export type OfferCatalog = OfferCatalogRepo;
|
|
135
|
+
export declare namespace OfferCatalog {
|
|
136
|
+
function createInstance(...params: ConstructorParameters<typeof OfferCatalogRepo>): Promise<OfferCatalogRepo>;
|
|
135
137
|
}
|
|
136
|
-
export
|
|
138
|
+
export type OfferCatalogItem = OfferCatalogItemRepo;
|
|
139
|
+
export declare namespace OfferCatalogItem {
|
|
140
|
+
function createInstance(...params: ConstructorParameters<typeof OfferCatalogItemRepo>): Promise<OfferCatalogItemRepo>;
|
|
137
141
|
}
|
|
138
|
-
export
|
|
142
|
+
export type OfferItemCondition = OfferItemConditionRepo;
|
|
143
|
+
export declare namespace OfferItemCondition {
|
|
144
|
+
function createInstance(...params: ConstructorParameters<typeof OfferItemConditionRepo>): Promise<OfferItemConditionRepo>;
|
|
139
145
|
}
|
|
140
|
-
export
|
|
146
|
+
export type Offer = OfferRepo;
|
|
147
|
+
export declare namespace Offer {
|
|
148
|
+
function createInstance(...params: ConstructorParameters<typeof OfferRepo>): Promise<OfferRepo>;
|
|
141
149
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
export declare class Order extends OrderRepo {
|
|
150
|
+
export type Order = OrderRepo;
|
|
151
|
+
export declare namespace Order {
|
|
152
|
+
function createInstance(...params: ConstructorParameters<typeof OrderRepo>): Promise<OrderRepo>;
|
|
146
153
|
}
|
|
147
154
|
/**
|
|
148
155
|
* 注文番号リポジトリ
|
|
149
156
|
*/
|
|
150
157
|
export declare class OrderNumber extends OrderNumberRepo {
|
|
151
158
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
export declare class OwnershipInfo extends OwnershipInfoRepo {
|
|
159
|
+
export type OwnershipInfo = OwnershipInfoRepo;
|
|
160
|
+
export declare namespace OwnershipInfo {
|
|
161
|
+
function createInstance(...params: ConstructorParameters<typeof OwnershipInfoRepo>): Promise<OwnershipInfoRepo>;
|
|
156
162
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
export declare class PaymentServiceProvider extends PaymentServiceProviderRepo {
|
|
163
|
+
export type PaymentServiceProvider = PaymentServiceProviderRepo;
|
|
164
|
+
export declare namespace PaymentServiceProvider {
|
|
165
|
+
function createInstance(...params: ConstructorParameters<typeof PaymentServiceProviderRepo>): Promise<PaymentServiceProviderRepo>;
|
|
161
166
|
}
|
|
162
167
|
export declare namespace paymentMethod {
|
|
163
168
|
/**
|
|
@@ -171,55 +176,73 @@ export declare namespace paymentMethod {
|
|
|
171
176
|
*/
|
|
172
177
|
export declare class Person extends PersonRepo {
|
|
173
178
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
export declare class Permit extends PermitRepo {
|
|
179
|
+
export type Permit = PermitRepo;
|
|
180
|
+
export declare namespace Permit {
|
|
181
|
+
function createInstance(...params: ConstructorParameters<typeof PermitRepo>): Promise<PermitRepo>;
|
|
178
182
|
}
|
|
179
|
-
export
|
|
183
|
+
export type Place = PlaceRepo;
|
|
184
|
+
export declare namespace Place {
|
|
185
|
+
function createInstance(...params: ConstructorParameters<typeof PlaceRepo>): Promise<PlaceRepo>;
|
|
180
186
|
}
|
|
181
187
|
export declare namespace place {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
class HasPOS extends HasPOSRepo {
|
|
188
|
+
type HasPOS = HasPOSRepo;
|
|
189
|
+
namespace HasPOS {
|
|
190
|
+
function createInstance(...params: ConstructorParameters<typeof HasPOSRepo>): Promise<HasPOSRepo>;
|
|
186
191
|
}
|
|
187
192
|
}
|
|
188
|
-
export
|
|
193
|
+
export type PriceSpecification = PriceSpecificationRepo;
|
|
194
|
+
export declare namespace PriceSpecification {
|
|
195
|
+
function createInstance(...params: ConstructorParameters<typeof PriceSpecificationRepo>): Promise<PriceSpecificationRepo>;
|
|
189
196
|
}
|
|
190
|
-
export
|
|
197
|
+
export type Product = ProductRepo;
|
|
198
|
+
export declare namespace Product {
|
|
199
|
+
function createInstance(...params: ConstructorParameters<typeof ProductRepo>): Promise<ProductRepo>;
|
|
191
200
|
}
|
|
192
|
-
export
|
|
201
|
+
export type ProductOffer = ProductOfferRepo;
|
|
202
|
+
export declare namespace ProductOffer {
|
|
203
|
+
function createInstance(...params: ConstructorParameters<typeof ProductOfferRepo>): Promise<ProductOfferRepo>;
|
|
193
204
|
}
|
|
194
|
-
export
|
|
205
|
+
export type Project = ProjectRepo;
|
|
206
|
+
export declare namespace Project {
|
|
207
|
+
function createInstance(...params: ConstructorParameters<typeof ProjectRepo>): Promise<ProjectRepo>;
|
|
195
208
|
}
|
|
196
|
-
export
|
|
209
|
+
export type Reservation = ReservationRepo;
|
|
210
|
+
export declare namespace Reservation {
|
|
211
|
+
function createInstance(...params: ConstructorParameters<typeof ReservationRepo>): Promise<ReservationRepo>;
|
|
197
212
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
export declare class Role extends RoleRepo {
|
|
213
|
+
export type Role = RoleRepo;
|
|
214
|
+
export declare namespace Role {
|
|
215
|
+
function createInstance(...params: ConstructorParameters<typeof RoleRepo>): Promise<RoleRepo>;
|
|
202
216
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
export declare class Seller extends SellerRepo {
|
|
217
|
+
export type Seller = SellerRepo;
|
|
218
|
+
export declare namespace Seller {
|
|
219
|
+
function createInstance(...params: ConstructorParameters<typeof SellerRepo>): Promise<SellerRepo>;
|
|
207
220
|
}
|
|
208
|
-
export
|
|
221
|
+
export type ServiceOutput = ServiceOutputRepo;
|
|
222
|
+
export declare namespace ServiceOutput {
|
|
223
|
+
function createInstance(...params: ConstructorParameters<typeof ServiceOutputRepo>): Promise<ServiceOutputRepo>;
|
|
209
224
|
}
|
|
210
225
|
export declare class ServiceOutputIdentifier extends ServiceOutputIdentifierRepo {
|
|
211
226
|
}
|
|
212
227
|
export declare class StockHolder extends StockHolderRepo {
|
|
213
228
|
}
|
|
214
|
-
export
|
|
229
|
+
export type Task = TaskRepo;
|
|
230
|
+
export declare namespace Task {
|
|
231
|
+
function createInstance(...params: ConstructorParameters<typeof TaskRepo>): Promise<TaskRepo>;
|
|
215
232
|
}
|
|
216
|
-
export
|
|
233
|
+
export type Telemetry = TelemetryRepo;
|
|
234
|
+
export declare namespace Telemetry {
|
|
235
|
+
function createInstance(...params: ConstructorParameters<typeof TelemetryRepo>): Promise<TelemetryRepo>;
|
|
217
236
|
}
|
|
218
|
-
export
|
|
237
|
+
export type Transaction = TransactionRepo;
|
|
238
|
+
export declare namespace Transaction {
|
|
239
|
+
function createInstance(...params: ConstructorParameters<typeof TransactionRepo>): Promise<TransactionRepo>;
|
|
219
240
|
}
|
|
220
241
|
export declare class TransactionNumber extends TransactionNumberRepo {
|
|
221
242
|
}
|
|
222
|
-
export
|
|
243
|
+
export type Trip = TripRepo;
|
|
244
|
+
export declare namespace Trip {
|
|
245
|
+
function createInstance(...params: ConstructorParameters<typeof TripRepo>): Promise<TripRepo>;
|
|
223
246
|
}
|
|
224
247
|
export declare namespace rateLimit {
|
|
225
248
|
class Offer extends OfferRateLimitRepo {
|