@chevre/domain 24.0.0-alpha.40 → 24.0.0-alpha.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chevre/repo/accountTitle.d.ts +3 -3
- package/lib/chevre/repo/action/pay.d.ts +9 -0
- package/lib/chevre/repo/action/pay.js +13 -0
- package/lib/chevre/repo/action/refund.d.ts +9 -0
- package/lib/chevre/repo/action/refund.js +13 -0
- package/lib/chevre/repo/action.d.ts +3 -3
- package/lib/chevre/repo/additionalProperty.js +2 -2
- package/lib/chevre/repo/advanceBookingRequirement.d.ts +1 -3
- package/lib/chevre/repo/advanceBookingRequirement.js +2 -2
- package/lib/chevre/repo/aggregateOffer.d.ts +5 -9
- package/lib/chevre/repo/aggregateOffer.js +3 -3
- package/lib/chevre/repo/assetTransaction.d.ts +3 -3
- package/lib/chevre/repo/assetTransaction.js +12 -6
- package/lib/chevre/repo/categoryCode.d.ts +4 -6
- package/lib/chevre/repo/categoryCode.js +2 -2
- package/lib/chevre/repo/comment.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.js +3 -3
- package/lib/chevre/repo/customer.d.ts +3 -3
- package/lib/chevre/repo/customer.js +2 -2
- package/lib/chevre/repo/emailMessage.js +1 -1
- package/lib/chevre/repo/event.d.ts +6 -6
- package/lib/chevre/repo/event.js +10 -4
- package/lib/chevre/repo/eventSeries.d.ts +6 -6
- package/lib/chevre/repo/eventSeries.js +2 -2
- package/lib/chevre/repo/identity.d.ts +4 -6
- package/lib/chevre/repo/identityProvider.d.ts +4 -6
- package/lib/chevre/repo/identityProvider.js +2 -2
- package/lib/chevre/repo/issuer.d.ts +3 -3
- package/lib/chevre/repo/issuer.js +3 -3
- package/lib/chevre/repo/member.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.js +1 -1
- package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/identity.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/message.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/note.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +2 -2
- package/lib/chevre/repo/movieTicketType.d.ts +1 -3
- package/lib/chevre/repo/movieTicketType.js +2 -2
- package/lib/chevre/repo/offer/offerInCatalogReadOnly.d.ts +1 -3
- package/lib/chevre/repo/offer/unitPriceInCatalog.d.ts +1 -3
- package/lib/chevre/repo/offerCatalog.d.ts +3 -3
- package/lib/chevre/repo/offerCatalog.js +5 -4
- package/lib/chevre/repo/offerCatalogItem.js +4 -4
- package/lib/chevre/repo/offerItemCondition.js +2 -2
- package/lib/chevre/repo/order.d.ts +3 -3
- package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
- package/lib/chevre/repo/passport.js +1 -1
- package/lib/chevre/repo/paymentService.d.ts +1 -3
- package/lib/chevre/repo/paymentService.js +2 -2
- package/lib/chevre/repo/paymentServiceChannel.d.ts +1 -3
- package/lib/chevre/repo/paymentServiceChannel.js +2 -2
- package/lib/chevre/repo/person.js +2 -2
- package/lib/chevre/repo/place/busStop.js +1 -1
- package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
- package/lib/chevre/repo/place/movieTheater.js +10 -4
- package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
- package/lib/chevre/repo/place/screeningRoom.js +2 -2
- package/lib/chevre/repo/place/seat.d.ts +2 -4
- package/lib/chevre/repo/potentialAction.d.ts +4 -6
- package/lib/chevre/repo/potentialAction.js +2 -2
- package/lib/chevre/repo/priceSpecification.d.ts +3 -3
- package/lib/chevre/repo/priceSpecification.js +2 -2
- package/lib/chevre/repo/product.d.ts +5 -9
- package/lib/chevre/repo/product.js +3 -3
- package/lib/chevre/repo/productModel.js +2 -2
- package/lib/chevre/repo/project.d.ts +3 -3
- package/lib/chevre/repo/rateLimit/offer.js +1 -1
- package/lib/chevre/repo/reservation.d.ts +4 -6
- package/lib/chevre/repo/seller.d.ts +5 -9
- package/lib/chevre/repo/seller.js +2 -2
- package/lib/chevre/repo/sellerReturnPolicy.d.ts +1 -3
- package/lib/chevre/repo/sellerReturnPolicy.js +2 -2
- package/lib/chevre/repo/task.d.ts +3 -3
- package/lib/chevre/repo/task.js +1 -1
- package/lib/chevre/repo/transaction.d.ts +3 -3
- package/lib/chevre/repo/transactionProcess.js +1 -1
- package/lib/chevre/repo/trip.d.ts +4 -12
- package/lib/chevre/repo/trip.js +3 -3
- package/lib/chevre/repo/webSite.d.ts +1 -3
- package/lib/chevre/repo/webSite.js +3 -2
- package/lib/chevre/repository.d.ts +10 -0
- package/lib/chevre/repository.js +22 -0
- package/lib/chevre/service/assetTransaction/moneyTransfer.js +8 -5
- package/lib/chevre/service/assetTransaction/pay/confirm.d.ts +1 -1
- package/lib/chevre/service/assetTransaction/pay/exportTasksById.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/publishPaymentUrl.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/start/factory.js +2 -1
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorize.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/pay/start.d.ts +6 -0
- package/lib/chevre/service/assetTransaction/reserve/start/createSubReservations.js +6 -3
- package/lib/chevre/service/delivery/factory.js +2 -1
- package/lib/chevre/service/event/saveScreeningEvents.js +2 -2
- package/lib/chevre/service/event.js +1 -1
- package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
- package/lib/chevre/service/notification/triggerWebhook.js +1 -1
- package/lib/chevre/service/offer/event/authorize.js +2 -1
- package/lib/chevre/service/offer/event/searchEventTicketOffers.js +2 -1
- package/lib/chevre/service/offer/event/searchOffersByIds.js +2 -1
- package/lib/chevre/service/offer/event/voidTransaction.js +6 -3
- package/lib/chevre/service/offer/event/voidTransactionByActionId.js +2 -1
- package/lib/chevre/service/offer/eventServiceByCOA/authorize.d.ts +1 -1
- package/lib/chevre/service/offer/eventServiceByCOA/changeOffers.d.ts +1 -1
- package/lib/chevre/service/offer/eventServiceByCOA/findAcceptAction.js +2 -1
- package/lib/chevre/service/offer/product.js +1 -1
- package/lib/chevre/service/order/confirmPayTransaction.d.ts +1 -1
- package/lib/chevre/service/order/onAssetTransactionStatusChanged.js +2 -1
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned.js +4 -2
- package/lib/chevre/service/payment/any/authorize.d.ts +6 -0
- package/lib/chevre/service/payment/any/findAcceptAction.js +2 -1
- package/lib/chevre/service/payment/any/findAuthorizeAction.js +2 -1
- package/lib/chevre/service/payment/any/findCheckAction.js +2 -1
- package/lib/chevre/service/payment/any/invalidatePaymentUrl.js +2 -1
- package/lib/chevre/service/payment/any/onPayActionCompleted.d.ts +6 -2
- package/lib/chevre/service/payment/any/onPayActionCompleted.js +7 -2
- package/lib/chevre/service/payment/any/onPaymentStatusChanged.d.ts +10 -5
- package/lib/chevre/service/payment/any/onPaymentStatusChanged.js +21 -11
- package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.d.ts +12 -10
- package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.js +9 -6
- package/lib/chevre/service/payment/any/processVoidPayTransaction.js +2 -1
- package/lib/chevre/service/payment/any/verifyTicketTokenAsNeeded.js +2 -1
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard.js +1 -1
- package/lib/chevre/service/payment/creditCard/payCreditCard.d.ts +6 -0
- package/lib/chevre/service/payment/creditCard/refundCreditCard.d.ts +6 -0
- package/lib/chevre/service/payment/creditCard/refundCreditCard.js +1 -1
- package/lib/chevre/service/payment/faceToFace.d.ts +10 -0
- package/lib/chevre/service/payment/factory/createPayObjectServiceOutput.js +2 -1
- package/lib/chevre/service/payment/factory.js +4 -2
- package/lib/chevre/service/payment/movieTicket/authorize.d.ts +6 -0
- package/lib/chevre/service/payment/movieTicket/authorize.js +1 -1
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.d.ts +12 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.js +72 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.d.ts +8 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.js +29 -0
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.d.ts +7 -1
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.js +4 -71
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket.d.ts +6 -0
- package/lib/chevre/service/payment/movieTicket/validation.d.ts +1 -2
- package/lib/chevre/service/payment/movieTicket/validation.js +37 -29
- package/lib/chevre/service/payment/movieTicket/voidTransaction.d.ts +6 -0
- package/lib/chevre/service/payment/paymentCard.d.ts +10 -0
- package/lib/chevre/service/permit.js +4 -2
- package/lib/chevre/service/reserve/factory.d.ts +1 -1
- package/lib/chevre/service/reserve/findByCode.js +2 -1
- package/lib/chevre/service/reserve/searchByOrder.js +2 -1
- package/lib/chevre/service/reserve/verifyToken4reservation.js +2 -1
- package/lib/chevre/service/task/authorizePayment.js +6 -0
- package/lib/chevre/service/task/confirmReserveTransaction.js +4 -2
- package/lib/chevre/service/task/invalidatePaymentUrl.js +6 -0
- package/lib/chevre/service/task/onResourceUpdated.js +1 -1
- package/lib/chevre/service/task/pay.js +6 -0
- package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/payByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/payByTask.js +2 -1
- package/lib/chevre/service/task/payment/refundByTask.d.ts +6 -0
- package/lib/chevre/service/task/payment/voidPaymentByTask.d.ts +6 -0
- package/lib/chevre/service/task/refund.js +6 -0
- package/lib/chevre/service/task/returnReserveTransaction.js +2 -1
- package/lib/chevre/service/task/voidPayment.js +6 -0
- package/lib/chevre/service/transaction/deleteTransaction.js +4 -2
- package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.js +2 -1
- package/lib/chevre/service/transaction/returnOrder/exportTasks/factory.js +2 -1
- package/lib/chevre/service/transaction/returnOrder/potentialActions/returnPaymentMethod.js +2 -2
- package/lib/chevre/service/transaction/returnOrder/preStart/getReturnPolicyByProject.js +5 -3
- package/lib/chevre/service/validation/validateOrder.js +4 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.iam.IMember;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Member";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = factory.unitPriceOffer.IOfferMerchantReturnPolicy;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "MerchantReturnPolicy";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -17,9 +17,9 @@ export type IEmailMessage = factory.creativeWork.message.email.ICreativeWork & {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
type IDocType = Omit<IEmailMessage, 'id'>;
|
|
20
|
-
type IModel = Model<IDocType,
|
|
20
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
21
21
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
22
|
-
type ISchema = Schema<IDocType, IModel,
|
|
22
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
23
23
|
declare const modelName = "Message";
|
|
24
24
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
25
25
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.movieTicketType.IMovieTicketType, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "MovieTicketType";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -5,9 +5,9 @@ type IDocType = Pick<factory.creativeWork.noteDigitalDocument.INoteDigitalDocume
|
|
|
5
5
|
about: factory.creativeWork.noteDigitalDocument.IAbout;
|
|
6
6
|
provider: factory.creativeWork.noteDigitalDocument.IProviderAsProject | factory.creativeWork.noteDigitalDocument.IProviderAsSeller;
|
|
7
7
|
};
|
|
8
|
-
type IModel = Model<IDocType,
|
|
8
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
9
9
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
10
|
-
type ISchema = Schema<IDocType, IModel,
|
|
10
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
11
11
|
declare const modelName = "Note";
|
|
12
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
13
13
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ export type IDocType = Omit<factory.offerCatalog.IOfferCatalog, 'id'> & {
|
|
|
6
6
|
alternateName?: any;
|
|
7
7
|
dateSynced?: Date;
|
|
8
8
|
};
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "OfferCatalog";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ export type IDocType = Omit<factory.offerCatalog.IOfferCatalog, 'id'> & {
|
|
|
6
6
|
alternateName?: any;
|
|
7
7
|
dateSynced?: Date;
|
|
8
8
|
};
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "OfferCatalogItem";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.offerItemCondition.IOfferItemCondition, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "OfferItemCondition";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = Omit<factory.order.IOrder, 'id'> & {
|
|
5
5
|
acceptedOffers?: factory.order.IAcceptedOffer<factory.order.IItemOffered>[];
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "Order";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = Omit<factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>, 'id'> & {
|
|
5
5
|
_id: string;
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "OwnershipInfo";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IDocType = Omit<factory.service.paymentService.IService, 'id'> & {
|
|
5
5
|
provider?: factory.service.paymentService.IProvider[];
|
|
6
6
|
};
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "PaymentService";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.serviceChannel.IServiceChannel, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "PaymentServiceChannel";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -31,9 +31,9 @@ interface IReservationPackage {
|
|
|
31
31
|
expires: Date;
|
|
32
32
|
}
|
|
33
33
|
type IDocType = IReservationPackage;
|
|
34
|
-
type IModel = Model<IDocType,
|
|
34
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
35
35
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
36
|
-
type ISchema = Schema<IDocType, IModel,
|
|
36
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
37
37
|
declare const modelName = "PendingReservation";
|
|
38
38
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
39
39
|
declare function createSchema(): ISchema;
|
|
@@ -16,9 +16,9 @@ interface IAggregateReservation {
|
|
|
16
16
|
expires: Date;
|
|
17
17
|
}
|
|
18
18
|
type IDocType = IAggregateReservation;
|
|
19
|
-
type IModel = Model<IDocType,
|
|
19
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
20
20
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
21
|
-
type ISchema = Schema<IDocType, IModel,
|
|
21
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
22
22
|
declare const modelName = "PendingReservationAggregate";
|
|
23
23
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
24
24
|
declare function createSchema(): ISchema;
|
|
@@ -10,9 +10,9 @@ type IDocType = Omit<factory.place.screeningRoom.IPlace, 'containsPlace'> & {
|
|
|
10
10
|
smokingAllowed?: boolean;
|
|
11
11
|
containsPlace: ISeatSection[];
|
|
12
12
|
};
|
|
13
|
-
type IModel = Model<IDocType,
|
|
13
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
14
14
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
15
|
-
type ISchema = Schema<IDocType, IModel,
|
|
15
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
16
16
|
declare const modelName = "Place";
|
|
17
17
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
18
18
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import * as factory from '../../../factory';
|
|
3
3
|
import { IVirtuals } from '../virtuals';
|
|
4
4
|
type IDocType = Omit<factory.potentialAction.IPotentialAction, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "PotentialAction";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -7,9 +7,9 @@ export type IDocType = (ICategoryCodeChargeSpecification | IMovieTicketTypeCharg
|
|
|
7
7
|
validFrom?: Date;
|
|
8
8
|
validThrough?: Date;
|
|
9
9
|
};
|
|
10
|
-
type IModel = Model<IDocType,
|
|
10
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
11
11
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
12
|
-
type ISchema = Schema<IDocType, IModel,
|
|
12
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
13
13
|
declare const modelName = "PriceSpecification";
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
15
15
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
@@ -6,9 +6,9 @@ interface IDocTypeAsProductOffer {
|
|
|
6
6
|
offers?: never;
|
|
7
7
|
}
|
|
8
8
|
type IDocType = IDocTypeAsProduct & IDocTypeAsProductOffer;
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Product";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -24,9 +24,9 @@ export interface IProductModel {
|
|
|
24
24
|
}[];
|
|
25
25
|
}
|
|
26
26
|
type IDocType = Omit<IProductModel, 'id'>;
|
|
27
|
-
type IModel = Model<IDocType,
|
|
27
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
28
28
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
29
|
-
type ISchema = Schema<IDocType, IModel,
|
|
29
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
30
30
|
declare const modelName = "ProductModel";
|
|
31
31
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
32
32
|
declare function createSchema(): ISchema;
|
|
@@ -5,9 +5,9 @@ type IDocType = Omit<factory.productOffer.IProductOffer, 'acceptedPaymentMethod'
|
|
|
5
5
|
acceptedPaymentMethod?: factory.productOffer.IAcceptedPaymentMethod;
|
|
6
6
|
validForMemberTier?: factory.productOffer.IValidForMemberTier;
|
|
7
7
|
};
|
|
8
|
-
type IModel = Model<IDocType,
|
|
8
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
9
9
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
10
|
-
type ISchema = Schema<IDocType, IModel,
|
|
10
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
11
11
|
declare const modelName = "ProductOffer";
|
|
12
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
13
13
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ type IDocType = Omit<factory.project.IProject, 'id'> & {
|
|
|
6
6
|
aggregateReservation?: any;
|
|
7
7
|
makesOffer?: factory.project.IMakesOffer[];
|
|
8
8
|
};
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Project";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ type IDocType = (Omit<factory.reservation.IReservation<factory.reservationType.E
|
|
|
6
6
|
bookingAgent?: any;
|
|
7
7
|
previousReservationStatus?: factory.reservationStatusType;
|
|
8
8
|
};
|
|
9
|
-
type IModel = Model<IDocType,
|
|
9
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
10
10
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
11
|
-
type ISchema = Schema<IDocType, IModel,
|
|
11
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
12
12
|
declare const modelName = "Reservation";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -3,9 +3,9 @@ import * as factory from '../../../factory';
|
|
|
3
3
|
import { IVirtuals } from '../virtuals';
|
|
4
4
|
export type IWebAPI = Omit<factory.service.webAPI.IServiceWithChannel, 'id'>;
|
|
5
5
|
type IDocType = IWebAPI;
|
|
6
|
-
type IModel = Model<IDocType,
|
|
6
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
7
7
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
8
|
-
type ISchema = Schema<IDocType, IModel,
|
|
8
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
9
9
|
declare const modelName = "ReserveInterface";
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
11
11
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Pick<factory.role.organizationRole.IRole, 'permissions' | 'roleName' | 'typeOf' | 'member' | 'memberOf'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Role";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.schedule.IEventWithSchedule, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Schedule";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.seller.ISeller, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Seller";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.sellerReturnPolicy.ISellerReturnPolicy, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "SellerReturnPolicy";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -10,9 +10,9 @@ interface IOpeningHoursSpecification {
|
|
|
10
10
|
validThrough: Date;
|
|
11
11
|
}
|
|
12
12
|
type IDocType = IOpeningHoursSpecification;
|
|
13
|
-
type IModel = Model<IDocType,
|
|
13
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
14
14
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
15
|
-
type ISchema = Schema<IDocType, IModel,
|
|
15
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
16
16
|
declare const modelName = "Service.AvailableHour";
|
|
17
17
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
18
18
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.permit.IPermit, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "ServiceOutput";
|
|
9
9
|
declare function createSchema(): ISchema;
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
@@ -183,9 +183,9 @@ export interface ISetting {
|
|
|
183
183
|
useMongo4transactionNumberFrom?: Date;
|
|
184
184
|
}
|
|
185
185
|
type IDocType = ISetting;
|
|
186
|
-
type IModel = Model<IDocType,
|
|
186
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
187
187
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
188
|
-
type ISchema = Schema<IDocType, IModel,
|
|
188
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
189
189
|
declare const modelName = "Setting";
|
|
190
190
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
191
191
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.task.ITask<factory.taskName>, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Task";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -20,9 +20,9 @@ export interface ITicket {
|
|
|
20
20
|
issuedBy: ITicketIssuedBy;
|
|
21
21
|
}
|
|
22
22
|
type IDocType = Omit<ITicket, 'id'>;
|
|
23
|
-
type IModel = Model<IDocType,
|
|
23
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
24
24
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
25
|
-
type ISchema = Schema<IDocType, IModel,
|
|
25
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
26
26
|
declare const modelName = "Ticket";
|
|
27
27
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
28
28
|
declare function createSchema(): ISchema;
|
|
@@ -4,9 +4,9 @@ import * as factory from '../../../factory';
|
|
|
4
4
|
type IPlaceOrder = Omit<factory.transaction.placeOrder.ITransaction, 'id'>;
|
|
5
5
|
type IReturnOrder = Omit<factory.transaction.returnOrder.ITransaction, 'id'>;
|
|
6
6
|
type IDocType = IPlaceOrder | IReturnOrder;
|
|
7
|
-
type IModel = Model<IDocType,
|
|
7
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
8
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel,
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
10
10
|
declare const modelName = "Transaction";
|
|
11
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
12
|
declare function createSchema(): ISchema;
|
|
@@ -32,9 +32,9 @@ interface IDataFeed {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
type IDocType = IDataFeed;
|
|
35
|
-
type IModel = Model<IDocType,
|
|
35
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
36
36
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
37
|
-
type ISchema = Schema<IDocType, IModel,
|
|
37
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
38
38
|
declare const modelName = "TransactionNumber";
|
|
39
39
|
declare function createSchema(): ISchema;
|
|
40
40
|
export { createSchema, IDocType, IModel, modelName, DataCatalogIdentifier };
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.trip.ITrip<factory.tripType>, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "Trip";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -2,9 +2,9 @@ import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from '
|
|
|
2
2
|
import { IVirtuals } from '../virtuals';
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IDocType = Omit<factory.creativeWork.certification.webSite.ICertification, 'id'>;
|
|
5
|
-
type IModel = Model<IDocType,
|
|
5
|
+
type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
|
|
6
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel,
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, Record<string, never>, Record<string, never>, IVirtuals, Record<string, never>, ISchemaDefinition, IDocType>;
|
|
8
8
|
declare const modelName = "WebSite";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -12,9 +12,7 @@ export declare class MovieTicketTypeRepo {
|
|
|
12
12
|
private readonly categoryCodeModel;
|
|
13
13
|
constructor(connection: Connection);
|
|
14
14
|
static CREATE_MONGO_CONDITIONS(params: factory.movieTicketType.ISearchConditions): FilterQuery<IDocType>[];
|
|
15
|
-
static CREATE_AGGREGATE_PROJECTION(inclusion: IKeyOfProjection[]):
|
|
16
|
-
[field: string]: AnyExpression;
|
|
17
|
-
};
|
|
15
|
+
static CREATE_AGGREGATE_PROJECTION(inclusion: IKeyOfProjection[]): Record<string, AnyExpression>;
|
|
18
16
|
/**
|
|
19
17
|
* 決済カード区分検索
|
|
20
18
|
*/
|
|
@@ -203,7 +203,7 @@ class MovieTicketTypeRepo {
|
|
|
203
203
|
let savedId;
|
|
204
204
|
// let doc: HydratedDocument<{ _id: Types.ObjectId }> | null;
|
|
205
205
|
if (typeof params.id !== 'string') {
|
|
206
|
-
const { id, $unset, ...creatingDoc } = params.attributes;
|
|
206
|
+
const { id, $unset, ...creatingDoc } = params.attributes; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
207
207
|
const createResult = await this.categoryCodeModel.create(creatingDoc);
|
|
208
208
|
// doc = createResult;
|
|
209
209
|
if (typeof createResult.id !== 'string') {
|
|
@@ -213,7 +213,7 @@ class MovieTicketTypeRepo {
|
|
|
213
213
|
}
|
|
214
214
|
else {
|
|
215
215
|
// 上書き禁止属性を除外(2022-08-24~)
|
|
216
|
-
const { id, codeValue, inCodeSet, project, typeOf, $unset, ...updateFields } = params.attributes;
|
|
216
|
+
const { id, codeValue, inCodeSet, project, typeOf, $unset, ...updateFields } = params.attributes; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
217
217
|
const doc = await this.categoryCodeModel.findOneAndUpdate({ _id: { $eq: params.id } }, {
|
|
218
218
|
$set: updateFields,
|
|
219
219
|
...($unset !== undefined) ? { $unset } : undefined
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
2
|
type KeyOfOffer = keyof Omit<factory.unitPriceOffer.IUnitPriceOffer, 'id'>;
|
|
3
|
-
type IProjection =
|
|
4
|
-
[key in KeyOfOffer]?: 0 | 1;
|
|
5
|
-
};
|
|
3
|
+
type IProjection = Partial<Record<KeyOfOffer, 0 | 1>>;
|
|
6
4
|
type IOfferInCatalog = factory.unitPriceOffer.IUnitPriceOffer & {
|
|
7
5
|
/**
|
|
8
6
|
* 集計オファー内インデックス
|
|
@@ -10,9 +10,7 @@ export declare class OfferRepo implements OfferInCatalogReadOnlyRepo {
|
|
|
10
10
|
private readonly offerCatalogModel;
|
|
11
11
|
private readonly offerCatalogItemModel;
|
|
12
12
|
constructor(connection: Connection);
|
|
13
|
-
static CREATE_AGGREGATE_OFFERS_PROJECTION(params: IProjection):
|
|
14
|
-
[field: string]: AnyExpression;
|
|
15
|
-
};
|
|
13
|
+
static CREATE_AGGREGATE_OFFERS_PROJECTION(params: IProjection): Record<string, AnyExpression>;
|
|
16
14
|
/**
|
|
17
15
|
* カタログIDで単価オファーを全て検索する
|
|
18
16
|
* 必ずカタログデータから単価オファーIDを参照する
|
|
@@ -169,7 +169,7 @@ export declare class OfferCatalogRepo {
|
|
|
169
169
|
id: string;
|
|
170
170
|
};
|
|
171
171
|
}): Promise<void>;
|
|
172
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown,
|
|
172
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.offerCatalog.IOfferCatalog, "id"> & {
|
|
173
173
|
_id: string;
|
|
174
174
|
alternateName?: any;
|
|
175
175
|
dateSynced?: Date;
|
|
@@ -177,7 +177,7 @@ export declare class OfferCatalogRepo {
|
|
|
177
177
|
_id: string;
|
|
178
178
|
}> & {
|
|
179
179
|
__v: number;
|
|
180
|
-
},
|
|
180
|
+
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.offerCatalog.IOfferCatalog, "id"> & {
|
|
181
181
|
_id: string;
|
|
182
182
|
alternateName?: any;
|
|
183
183
|
dateSynced?: Date;
|
|
@@ -185,7 +185,7 @@ export declare class OfferCatalogRepo {
|
|
|
185
185
|
_id: string;
|
|
186
186
|
}> & {
|
|
187
187
|
__v: number;
|
|
188
|
-
}
|
|
188
|
+
}) | null>;
|
|
189
189
|
unsetUnnecessaryFields(params: {
|
|
190
190
|
filter: FilterQuery<factory.offerCatalog.IOfferCatalog>;
|
|
191
191
|
$unset: any;
|