@chevre/domain 24.0.0-alpha.40 → 24.0.0-alpha.42
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 +25 -0
- package/lib/chevre/repo/action/pay.js +54 -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 +5 -14
- package/lib/chevre/repo/action.js +20 -13
- 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 +7 -2
- package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.d.ts +7 -2
- package/lib/chevre/service/assetTransaction/pay/start.d.ts +7 -2
- package/lib/chevre/service/assetTransaction/refund.d.ts +5 -2
- package/lib/chevre/service/assetTransaction/refund.js +1 -1
- package/lib/chevre/service/assetTransaction/reserve/start/createSubReservations.js +6 -3
- package/lib/chevre/service/assetTransaction/reserve/start/factory/createStartParams.js +3 -2
- 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/factory.js +14 -11
- 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 +7 -2
- 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 +7 -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 +13 -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 +7 -2
- package/lib/chevre/service/payment/creditCard/payCreditCard.js +8 -4
- package/lib/chevre/service/payment/creditCard/refundCreditCard.d.ts +7 -2
- package/lib/chevre/service/payment/creditCard/refundCreditCard.js +11 -7
- package/lib/chevre/service/payment/faceToFace.d.ts +12 -3
- package/lib/chevre/service/payment/faceToFace.js +16 -8
- 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 +7 -2
- 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 +8 -3
- package/lib/chevre/service/payment/movieTicket/payMovieTicket.js +14 -77
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.d.ts +14 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.js +49 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.d.ts +14 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.js +46 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.d.ts +12 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.js +72 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.d.ts +8 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.js +60 -0
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket.d.ts +8 -3
- package/lib/chevre/service/payment/movieTicket/refundMovieTicket.js +20 -125
- 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 -2
- package/lib/chevre/service/payment/movieTicket/voidTransaction.js +1 -1
- package/lib/chevre/service/payment/paymentCard.d.ts +12 -3
- package/lib/chevre/service/payment/paymentCard.js +16 -8
- 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 +8 -2
- package/lib/chevre/service/task/confirmReserveTransaction.js +4 -2
- package/lib/chevre/service/task/invalidatePaymentUrl.js +8 -2
- package/lib/chevre/service/task/onResourceUpdated.js +1 -1
- package/lib/chevre/service/task/pay.js +8 -2
- package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.d.ts +7 -2
- package/lib/chevre/service/task/payment/payByTask.d.ts +7 -2
- package/lib/chevre/service/task/payment/payByTask.js +2 -1
- package/lib/chevre/service/task/payment/refundByTask.d.ts +7 -2
- package/lib/chevre/service/task/payment/voidPaymentByTask.d.ts +6 -0
- package/lib/chevre/service/task/refund.js +8 -2
- package/lib/chevre/service/task/returnPayTransaction.js +5 -2
- 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 +2 -2
|
@@ -3,9 +3,9 @@ import { IVirtuals } from '../virtuals';
|
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
export type ICustomerType = Pick<factory.categoryCode.ICategoryCode, 'codeValue' | 'id' | 'name' | 'typeOf'>;
|
|
5
5
|
type IDocType = Omit<ICustomerType, 'id'>;
|
|
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 = "CustomerType";
|
|
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 = factory.creativeWork.message.email.ICreativeWork;
|
|
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 = "EmailMessage";
|
|
9
9
|
declare function createSchema(): ISchema;
|
|
10
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
@@ -6,9 +6,9 @@ type IDocTypeAsScreeningEvent = factory.event.screeningEvent.IAttributes & {
|
|
|
6
6
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
7
7
|
};
|
|
8
8
|
export type IDocType = IDocTypeAsScreeningEvent;
|
|
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 = "Event";
|
|
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 * as factory from '../../../factory';
|
|
3
3
|
import { IVirtuals } from '../virtuals';
|
|
4
4
|
type IDocType = Omit<factory.eventOffer.IEventOffer, '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 = "EventOffer";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -5,9 +5,9 @@ type IDocTypeAsEventSeries = factory.eventSeries.IAttributes & {
|
|
|
5
5
|
_id: string;
|
|
6
6
|
};
|
|
7
7
|
type IDocType = IDocTypeAsEventSeries;
|
|
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 = "EventSeries";
|
|
12
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
13
13
|
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.softwareApplication.ICertification, 'id'> | Omit<factory.creativeWork.certification.webApplication.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 = "Identity";
|
|
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.identityProvider.IIdentityProvider, '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 = "IdentityProvider";
|
|
9
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
10
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ export type IDocType = Omit<factory.issuer.IIssuer, 'id'> & {
|
|
|
6
6
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, 'identifier' | 'typeOf'>[];
|
|
7
7
|
})[];
|
|
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 = "Issuer";
|
|
13
13
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
14
14
|
declare function createSchema(): ISchema;
|
|
@@ -6,9 +6,9 @@ type IGlobalMember = Pick<factory.iam.IMember, 'typeOf'> & {
|
|
|
6
6
|
member: IMemberOfRole;
|
|
7
7
|
};
|
|
8
8
|
type IDocType = IGlobalMember;
|
|
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 = "Member.Global";
|
|
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 = 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;
|