@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.
Files changed (247) hide show
  1. package/lib/chevre/repo/accountTitle.d.ts +3 -3
  2. package/lib/chevre/repo/action/pay.d.ts +25 -0
  3. package/lib/chevre/repo/action/pay.js +54 -0
  4. package/lib/chevre/repo/action/refund.d.ts +9 -0
  5. package/lib/chevre/repo/action/refund.js +13 -0
  6. package/lib/chevre/repo/action.d.ts +5 -14
  7. package/lib/chevre/repo/action.js +20 -13
  8. package/lib/chevre/repo/additionalProperty.js +2 -2
  9. package/lib/chevre/repo/advanceBookingRequirement.d.ts +1 -3
  10. package/lib/chevre/repo/advanceBookingRequirement.js +2 -2
  11. package/lib/chevre/repo/aggregateOffer.d.ts +5 -9
  12. package/lib/chevre/repo/aggregateOffer.js +3 -3
  13. package/lib/chevre/repo/assetTransaction.d.ts +3 -3
  14. package/lib/chevre/repo/assetTransaction.js +12 -6
  15. package/lib/chevre/repo/categoryCode.d.ts +4 -6
  16. package/lib/chevre/repo/categoryCode.js +2 -2
  17. package/lib/chevre/repo/comment.d.ts +3 -3
  18. package/lib/chevre/repo/creativeWork.d.ts +3 -3
  19. package/lib/chevre/repo/creativeWork.js +3 -3
  20. package/lib/chevre/repo/customer.d.ts +3 -3
  21. package/lib/chevre/repo/customer.js +2 -2
  22. package/lib/chevre/repo/emailMessage.js +1 -1
  23. package/lib/chevre/repo/event.d.ts +6 -6
  24. package/lib/chevre/repo/event.js +10 -4
  25. package/lib/chevre/repo/eventSeries.d.ts +6 -6
  26. package/lib/chevre/repo/eventSeries.js +2 -2
  27. package/lib/chevre/repo/identity.d.ts +4 -6
  28. package/lib/chevre/repo/identityProvider.d.ts +4 -6
  29. package/lib/chevre/repo/identityProvider.js +2 -2
  30. package/lib/chevre/repo/issuer.d.ts +3 -3
  31. package/lib/chevre/repo/issuer.js +3 -3
  32. package/lib/chevre/repo/member.d.ts +3 -3
  33. package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
  34. package/lib/chevre/repo/merchantReturnPolicy.js +1 -1
  35. package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +2 -2
  36. package/lib/chevre/repo/mongoose/schemas/account.d.ts +2 -2
  37. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +2 -2
  38. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +2 -2
  39. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +2 -2
  40. package/lib/chevre/repo/mongoose/schemas/action.d.ts +2 -2
  41. package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +2 -2
  42. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +2 -2
  43. package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +2 -2
  44. package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +2 -2
  45. package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +2 -2
  46. package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +2 -2
  47. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +2 -2
  48. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +2 -2
  49. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +2 -2
  50. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +2 -2
  51. package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +2 -2
  52. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +2 -2
  53. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +2 -2
  54. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +2 -2
  55. package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +2 -2
  56. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +2 -2
  57. package/lib/chevre/repo/mongoose/schemas/event.d.ts +2 -2
  58. package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +2 -2
  59. package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +2 -2
  60. package/lib/chevre/repo/mongoose/schemas/identity.d.ts +2 -2
  61. package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +2 -2
  62. package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +2 -2
  63. package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +2 -2
  64. package/lib/chevre/repo/mongoose/schemas/member.d.ts +2 -2
  65. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +2 -2
  66. package/lib/chevre/repo/mongoose/schemas/message.d.ts +2 -2
  67. package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +2 -2
  68. package/lib/chevre/repo/mongoose/schemas/note.d.ts +2 -2
  69. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +2 -2
  70. package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +2 -2
  71. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +2 -2
  72. package/lib/chevre/repo/mongoose/schemas/order.d.ts +2 -2
  73. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +2 -2
  74. package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +2 -2
  75. package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +2 -2
  76. package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +2 -2
  77. package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +2 -2
  78. package/lib/chevre/repo/mongoose/schemas/place.d.ts +2 -2
  79. package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +2 -2
  80. package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +2 -2
  81. package/lib/chevre/repo/mongoose/schemas/product.d.ts +2 -2
  82. package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +2 -2
  83. package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +2 -2
  84. package/lib/chevre/repo/mongoose/schemas/project.d.ts +2 -2
  85. package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +2 -2
  86. package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +2 -2
  87. package/lib/chevre/repo/mongoose/schemas/role.d.ts +2 -2
  88. package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +2 -2
  89. package/lib/chevre/repo/mongoose/schemas/seller.d.ts +2 -2
  90. package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +2 -2
  91. package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +2 -2
  92. package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +2 -2
  93. package/lib/chevre/repo/mongoose/schemas/setting.d.ts +2 -2
  94. package/lib/chevre/repo/mongoose/schemas/task.d.ts +2 -2
  95. package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +2 -2
  96. package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +2 -2
  97. package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +2 -2
  98. package/lib/chevre/repo/mongoose/schemas/trip.d.ts +2 -2
  99. package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +2 -2
  100. package/lib/chevre/repo/movieTicketType.d.ts +1 -3
  101. package/lib/chevre/repo/movieTicketType.js +2 -2
  102. package/lib/chevre/repo/offer/offerInCatalogReadOnly.d.ts +1 -3
  103. package/lib/chevre/repo/offer/unitPriceInCatalog.d.ts +1 -3
  104. package/lib/chevre/repo/offerCatalog.d.ts +3 -3
  105. package/lib/chevre/repo/offerCatalog.js +5 -4
  106. package/lib/chevre/repo/offerCatalogItem.js +4 -4
  107. package/lib/chevre/repo/offerItemCondition.js +2 -2
  108. package/lib/chevre/repo/order.d.ts +3 -3
  109. package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
  110. package/lib/chevre/repo/passport.js +1 -1
  111. package/lib/chevre/repo/paymentService.d.ts +1 -3
  112. package/lib/chevre/repo/paymentService.js +2 -2
  113. package/lib/chevre/repo/paymentServiceChannel.d.ts +1 -3
  114. package/lib/chevre/repo/paymentServiceChannel.js +2 -2
  115. package/lib/chevre/repo/person.js +2 -2
  116. package/lib/chevre/repo/place/busStop.js +1 -1
  117. package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
  118. package/lib/chevre/repo/place/movieTheater.js +10 -4
  119. package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
  120. package/lib/chevre/repo/place/screeningRoom.js +2 -2
  121. package/lib/chevre/repo/place/seat.d.ts +2 -4
  122. package/lib/chevre/repo/potentialAction.d.ts +4 -6
  123. package/lib/chevre/repo/potentialAction.js +2 -2
  124. package/lib/chevre/repo/priceSpecification.d.ts +3 -3
  125. package/lib/chevre/repo/priceSpecification.js +2 -2
  126. package/lib/chevre/repo/product.d.ts +5 -9
  127. package/lib/chevre/repo/product.js +3 -3
  128. package/lib/chevre/repo/productModel.js +2 -2
  129. package/lib/chevre/repo/project.d.ts +3 -3
  130. package/lib/chevre/repo/rateLimit/offer.js +1 -1
  131. package/lib/chevre/repo/reservation.d.ts +4 -6
  132. package/lib/chevre/repo/seller.d.ts +5 -9
  133. package/lib/chevre/repo/seller.js +2 -2
  134. package/lib/chevre/repo/sellerReturnPolicy.d.ts +1 -3
  135. package/lib/chevre/repo/sellerReturnPolicy.js +2 -2
  136. package/lib/chevre/repo/task.d.ts +3 -3
  137. package/lib/chevre/repo/task.js +1 -1
  138. package/lib/chevre/repo/transaction.d.ts +3 -3
  139. package/lib/chevre/repo/transactionProcess.js +1 -1
  140. package/lib/chevre/repo/trip.d.ts +4 -12
  141. package/lib/chevre/repo/trip.js +3 -3
  142. package/lib/chevre/repo/webSite.d.ts +1 -3
  143. package/lib/chevre/repo/webSite.js +3 -2
  144. package/lib/chevre/repository.d.ts +10 -0
  145. package/lib/chevre/repository.js +22 -0
  146. package/lib/chevre/service/assetTransaction/moneyTransfer.js +8 -5
  147. package/lib/chevre/service/assetTransaction/pay/confirm.d.ts +1 -1
  148. package/lib/chevre/service/assetTransaction/pay/exportTasksById.js +2 -1
  149. package/lib/chevre/service/assetTransaction/pay/publishPaymentUrl.js +2 -1
  150. package/lib/chevre/service/assetTransaction/pay/start/factory.js +2 -1
  151. package/lib/chevre/service/assetTransaction/pay/start/processAuthorize.d.ts +7 -2
  152. package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.d.ts +7 -2
  153. package/lib/chevre/service/assetTransaction/pay/start.d.ts +7 -2
  154. package/lib/chevre/service/assetTransaction/refund.d.ts +5 -2
  155. package/lib/chevre/service/assetTransaction/refund.js +1 -1
  156. package/lib/chevre/service/assetTransaction/reserve/start/createSubReservations.js +6 -3
  157. package/lib/chevre/service/assetTransaction/reserve/start/factory/createStartParams.js +3 -2
  158. package/lib/chevre/service/delivery/factory.js +2 -1
  159. package/lib/chevre/service/event/saveScreeningEvents.js +2 -2
  160. package/lib/chevre/service/event.js +1 -1
  161. package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
  162. package/lib/chevre/service/notification/triggerWebhook.js +1 -1
  163. package/lib/chevre/service/offer/event/authorize.js +2 -1
  164. package/lib/chevre/service/offer/event/searchEventTicketOffers.js +2 -1
  165. package/lib/chevre/service/offer/event/searchOffersByIds.js +2 -1
  166. package/lib/chevre/service/offer/event/voidTransaction.js +6 -3
  167. package/lib/chevre/service/offer/event/voidTransactionByActionId.js +2 -1
  168. package/lib/chevre/service/offer/eventServiceByCOA/authorize/factory.js +14 -11
  169. package/lib/chevre/service/offer/eventServiceByCOA/authorize.d.ts +1 -1
  170. package/lib/chevre/service/offer/eventServiceByCOA/changeOffers.d.ts +1 -1
  171. package/lib/chevre/service/offer/eventServiceByCOA/findAcceptAction.js +2 -1
  172. package/lib/chevre/service/offer/product.js +1 -1
  173. package/lib/chevre/service/order/confirmPayTransaction.d.ts +1 -1
  174. package/lib/chevre/service/order/onAssetTransactionStatusChanged.js +2 -1
  175. package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned.js +4 -2
  176. package/lib/chevre/service/payment/any/authorize.d.ts +7 -2
  177. package/lib/chevre/service/payment/any/findAcceptAction.js +2 -1
  178. package/lib/chevre/service/payment/any/findAuthorizeAction.js +2 -1
  179. package/lib/chevre/service/payment/any/findCheckAction.js +2 -1
  180. package/lib/chevre/service/payment/any/invalidatePaymentUrl.js +2 -1
  181. package/lib/chevre/service/payment/any/onPayActionCompleted.d.ts +7 -2
  182. package/lib/chevre/service/payment/any/onPayActionCompleted.js +7 -2
  183. package/lib/chevre/service/payment/any/onPaymentStatusChanged.d.ts +10 -5
  184. package/lib/chevre/service/payment/any/onPaymentStatusChanged.js +21 -11
  185. package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.d.ts +13 -10
  186. package/lib/chevre/service/payment/any/onRefundActionCompletedOrFailed.js +9 -6
  187. package/lib/chevre/service/payment/any/processVoidPayTransaction.js +2 -1
  188. package/lib/chevre/service/payment/any/verifyTicketTokenAsNeeded.js +2 -1
  189. package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard.js +1 -1
  190. package/lib/chevre/service/payment/creditCard/payCreditCard.d.ts +7 -2
  191. package/lib/chevre/service/payment/creditCard/payCreditCard.js +8 -4
  192. package/lib/chevre/service/payment/creditCard/refundCreditCard.d.ts +7 -2
  193. package/lib/chevre/service/payment/creditCard/refundCreditCard.js +11 -7
  194. package/lib/chevre/service/payment/faceToFace.d.ts +12 -3
  195. package/lib/chevre/service/payment/faceToFace.js +16 -8
  196. package/lib/chevre/service/payment/factory/createPayObjectServiceOutput.js +2 -1
  197. package/lib/chevre/service/payment/factory.js +4 -2
  198. package/lib/chevre/service/payment/movieTicket/authorize.d.ts +7 -2
  199. package/lib/chevre/service/payment/movieTicket/authorize.js +1 -1
  200. package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.d.ts +12 -0
  201. package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.js +72 -0
  202. package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.d.ts +8 -0
  203. package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.js +29 -0
  204. package/lib/chevre/service/payment/movieTicket/payMovieTicket.d.ts +8 -3
  205. package/lib/chevre/service/payment/movieTicket/payMovieTicket.js +14 -77
  206. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.d.ts +14 -0
  207. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.js +49 -0
  208. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.d.ts +14 -0
  209. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.js +46 -0
  210. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.d.ts +12 -0
  211. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.js +72 -0
  212. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.d.ts +8 -0
  213. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.js +60 -0
  214. package/lib/chevre/service/payment/movieTicket/refundMovieTicket.d.ts +8 -3
  215. package/lib/chevre/service/payment/movieTicket/refundMovieTicket.js +20 -125
  216. package/lib/chevre/service/payment/movieTicket/validation.d.ts +1 -2
  217. package/lib/chevre/service/payment/movieTicket/validation.js +37 -29
  218. package/lib/chevre/service/payment/movieTicket/voidTransaction.d.ts +6 -2
  219. package/lib/chevre/service/payment/movieTicket/voidTransaction.js +1 -1
  220. package/lib/chevre/service/payment/paymentCard.d.ts +12 -3
  221. package/lib/chevre/service/payment/paymentCard.js +16 -8
  222. package/lib/chevre/service/permit.js +4 -2
  223. package/lib/chevre/service/reserve/factory.d.ts +1 -1
  224. package/lib/chevre/service/reserve/findByCode.js +2 -1
  225. package/lib/chevre/service/reserve/searchByOrder.js +2 -1
  226. package/lib/chevre/service/reserve/verifyToken4reservation.js +2 -1
  227. package/lib/chevre/service/task/authorizePayment.js +8 -2
  228. package/lib/chevre/service/task/confirmReserveTransaction.js +4 -2
  229. package/lib/chevre/service/task/invalidatePaymentUrl.js +8 -2
  230. package/lib/chevre/service/task/onResourceUpdated.js +1 -1
  231. package/lib/chevre/service/task/pay.js +8 -2
  232. package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.d.ts +7 -2
  233. package/lib/chevre/service/task/payment/payByTask.d.ts +7 -2
  234. package/lib/chevre/service/task/payment/payByTask.js +2 -1
  235. package/lib/chevre/service/task/payment/refundByTask.d.ts +7 -2
  236. package/lib/chevre/service/task/payment/voidPaymentByTask.d.ts +6 -0
  237. package/lib/chevre/service/task/refund.js +8 -2
  238. package/lib/chevre/service/task/returnPayTransaction.js +5 -2
  239. package/lib/chevre/service/task/returnReserveTransaction.js +2 -1
  240. package/lib/chevre/service/task/voidPayment.js +6 -0
  241. package/lib/chevre/service/transaction/deleteTransaction.js +4 -2
  242. package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.js +2 -1
  243. package/lib/chevre/service/transaction/returnOrder/exportTasks/factory.js +2 -1
  244. package/lib/chevre/service/transaction/returnOrder/potentialActions/returnPaymentMethod.js +2 -2
  245. package/lib/chevre/service/transaction/returnOrder/preStart/getReturnPolicyByProject.js +5 -3
  246. package/lib/chevre/service/validation/validateOrder.js +4 -2
  247. 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, {}, {}, IVirtuals>;
6
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
7
7
  type ISchemaDefinition = SchemaDefinition<IDocType>;
8
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
8
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
9
9
  type ISchemaDefinition = SchemaDefinition<IDocType>;
10
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
20
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
21
21
  type ISchemaDefinition = SchemaDefinition<IDocType>;
22
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
8
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
9
9
  type ISchemaDefinition = SchemaDefinition<IDocType>;
10
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
7
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
8
8
  type ISchemaDefinition = SchemaDefinition<IDocType>;
9
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
7
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
8
8
  type ISchemaDefinition = SchemaDefinition<IDocType>;
9
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
7
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
8
8
  type ISchemaDefinition = SchemaDefinition<IDocType>;
9
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
34
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
35
35
  type ISchemaDefinition = SchemaDefinition<IDocType>;
36
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
19
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
20
20
  type ISchemaDefinition = SchemaDefinition<IDocType>;
21
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
13
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
14
14
  type ISchemaDefinition = SchemaDefinition<IDocType>;
15
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
10
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
11
11
  type ISchemaDefinition = SchemaDefinition<IDocType>;
12
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
27
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
28
28
  type ISchemaDefinition = SchemaDefinition<IDocType>;
29
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
8
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
9
9
  type ISchemaDefinition = SchemaDefinition<IDocType>;
10
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
9
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
10
10
  type ISchemaDefinition = SchemaDefinition<IDocType>;
11
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
6
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
7
7
  type ISchemaDefinition = SchemaDefinition<IDocType>;
8
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
13
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
14
14
  type ISchemaDefinition = SchemaDefinition<IDocType>;
15
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
186
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
187
187
  type ISchemaDefinition = SchemaDefinition<IDocType>;
188
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
23
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
24
24
  type ISchemaDefinition = SchemaDefinition<IDocType>;
25
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
7
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
8
8
  type ISchemaDefinition = SchemaDefinition<IDocType>;
9
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
35
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
36
36
  type ISchemaDefinition = SchemaDefinition<IDocType>;
37
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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, {}, {}, IVirtuals>;
5
+ type IModel = Model<IDocType, Record<string, never>, Record<string, never>, IVirtuals>;
6
6
  type ISchemaDefinition = SchemaDefinition<IDocType>;
7
- type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
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;