@chevre/domain 24.0.0-alpha.28 → 24.0.0-alpha.29

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 (103) hide show
  1. package/lib/chevre/repo/accountTitle.d.ts +3 -3
  2. package/lib/chevre/repo/accountTransaction.js +1 -2
  3. package/lib/chevre/repo/action.d.ts +3 -3
  4. package/lib/chevre/repo/aggregateAction.js +0 -1
  5. package/lib/chevre/repo/aggregateOffer.d.ts +3 -3
  6. package/lib/chevre/repo/assetTransaction.d.ts +4 -9
  7. package/lib/chevre/repo/categoryCode.d.ts +3 -3
  8. package/lib/chevre/repo/comment.d.ts +3 -3
  9. package/lib/chevre/repo/creativeWork.d.ts +3 -3
  10. package/lib/chevre/repo/customer.d.ts +3 -3
  11. package/lib/chevre/repo/event.d.ts +4 -4
  12. package/lib/chevre/repo/eventSeries.d.ts +4 -4
  13. package/lib/chevre/repo/identity.d.ts +3 -3
  14. package/lib/chevre/repo/identityProvider.d.ts +3 -3
  15. package/lib/chevre/repo/issuer.d.ts +3 -3
  16. package/lib/chevre/repo/member.d.ts +3 -3
  17. package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
  18. package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +3 -2
  19. package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -3
  20. package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +4 -3
  21. package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +5 -4
  22. package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +3 -2
  23. package/lib/chevre/repo/mongoose/schemas/action.d.ts +3 -2
  24. package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +4 -3
  25. package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +3 -2
  26. package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +3 -2
  27. package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +3 -2
  28. package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +3 -2
  29. package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +4 -3
  30. package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -3
  31. package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +4 -3
  32. package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +3 -2
  33. package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +3 -2
  34. package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +3 -2
  35. package/lib/chevre/repo/mongoose/schemas/comments.d.ts +4 -3
  36. package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +3 -2
  37. package/lib/chevre/repo/mongoose/schemas/customer.d.ts +3 -2
  38. package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +3 -2
  39. package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +4 -3
  40. package/lib/chevre/repo/mongoose/schemas/event.d.ts +3 -2
  41. package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +3 -2
  42. package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +3 -2
  43. package/lib/chevre/repo/mongoose/schemas/identity.d.ts +3 -2
  44. package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +3 -2
  45. package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +3 -2
  46. package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +3 -2
  47. package/lib/chevre/repo/mongoose/schemas/member.d.ts +4 -3
  48. package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +4 -3
  49. package/lib/chevre/repo/mongoose/schemas/message.d.ts +3 -2
  50. package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +3 -2
  51. package/lib/chevre/repo/mongoose/schemas/note.d.ts +3 -2
  52. package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +3 -2
  53. package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +3 -2
  54. package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +3 -2
  55. package/lib/chevre/repo/mongoose/schemas/order.d.ts +4 -3
  56. package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +3 -2
  57. package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +3 -2
  58. package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +3 -2
  59. package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +4 -3
  60. package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +4 -3
  61. package/lib/chevre/repo/mongoose/schemas/place.d.ts +3 -2
  62. package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +3 -2
  63. package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +3 -2
  64. package/lib/chevre/repo/mongoose/schemas/product.d.ts +3 -2
  65. package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +4 -3
  66. package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +3 -2
  67. package/lib/chevre/repo/mongoose/schemas/project.d.ts +3 -2
  68. package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +4 -3
  69. package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +4 -3
  70. package/lib/chevre/repo/mongoose/schemas/role.d.ts +3 -2
  71. package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +4 -3
  72. package/lib/chevre/repo/mongoose/schemas/seller.d.ts +3 -2
  73. package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +3 -2
  74. package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +3 -2
  75. package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +4 -3
  76. package/lib/chevre/repo/mongoose/schemas/setting.d.ts +3 -2
  77. package/lib/chevre/repo/mongoose/schemas/task.d.ts +3 -2
  78. package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +4 -3
  79. package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +3 -2
  80. package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +3 -2
  81. package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +3 -2
  82. package/lib/chevre/repo/mongoose/schemas/trip.d.ts +4 -3
  83. package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +3 -2
  84. package/lib/chevre/repo/mongoose/virtuals.d.ts +3 -0
  85. package/lib/chevre/repo/mongoose/virtuals.js +2 -0
  86. package/lib/chevre/repo/offerCatalog.d.ts +3 -3
  87. package/lib/chevre/repo/order.d.ts +4 -9
  88. package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
  89. package/lib/chevre/repo/paymentService.d.ts +1 -14
  90. package/lib/chevre/repo/paymentService.js +5 -5
  91. package/lib/chevre/repo/pendingReservation.js +0 -1
  92. package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
  93. package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
  94. package/lib/chevre/repo/potentialAction.d.ts +3 -3
  95. package/lib/chevre/repo/priceSpecification.d.ts +7 -5
  96. package/lib/chevre/repo/priceSpecification.js +9 -7
  97. package/lib/chevre/repo/product.d.ts +4 -4
  98. package/lib/chevre/repo/project.d.ts +3 -3
  99. package/lib/chevre/repo/reservation.d.ts +4 -15
  100. package/lib/chevre/repo/seller.d.ts +3 -3
  101. package/lib/chevre/repo/task.d.ts +3 -3
  102. package/lib/chevre/repo/transaction.d.ts +4 -3
  103. package/package.json +1 -1
@@ -50,7 +50,7 @@ export declare class ProjectRepo {
50
50
  deleteById(params: {
51
51
  id: string;
52
52
  }): Promise<void>;
53
- getCursor(conditions: FilterQuery<factory.project.IProject>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, {}, {}> & Omit<factory.project.IProject, "id"> & {
53
+ getCursor(conditions: FilterQuery<factory.project.IProject>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<factory.project.IProject, "id"> & {
54
54
  _id: string;
55
55
  aggregateReservation?: any;
56
56
  makesOffer?: factory.project.IMakesOffer[];
@@ -58,7 +58,7 @@ export declare class ProjectRepo {
58
58
  _id: string;
59
59
  }> & {
60
60
  __v: number;
61
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, {}, {}> & Omit<factory.project.IProject, "id"> & {
61
+ }, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<factory.project.IProject, "id"> & {
62
62
  _id: string;
63
63
  aggregateReservation?: any;
64
64
  makesOffer?: factory.project.IMakesOffer[];
@@ -66,7 +66,7 @@ export declare class ProjectRepo {
66
66
  _id: string;
67
67
  }> & {
68
68
  __v: number;
69
- }) | null>;
69
+ }, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
70
70
  unsetUnnecessaryFields(params: {
71
71
  filter: any;
72
72
  $unset: any;
@@ -1,5 +1,6 @@
1
1
  import type { BulkWriteResult } from 'mongodb';
2
2
  import type { Connection, FilterQuery, UpdateWriteOpResult } from 'mongoose';
3
+ import { IDocType } from './mongoose/schemas/reservation';
3
4
  import * as factory from '../factory';
4
5
  export interface IUpdatePartiallyParams {
5
6
  additionalTicketText?: string;
@@ -125,11 +126,7 @@ export declare class ReservationRepo {
125
126
  $in: string[];
126
127
  };
127
128
  }): Promise<string[]>;
128
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, (Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> | Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id">) & {
129
- _id: string;
130
- bookingAgent?: any;
131
- previousReservationStatus?: factory.reservationStatusType;
132
- }, {}, {}> & ((Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> & {
129
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> & {
133
130
  _id: string;
134
131
  bookingAgent?: any;
135
132
  previousReservationStatus?: factory.reservationStatusType;
@@ -145,15 +142,7 @@ export declare class ReservationRepo {
145
142
  _id: string;
146
143
  }> & {
147
144
  __v: number;
148
- })), import("mongoose").QueryOptions<(Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> | Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id">) & {
149
- _id: string;
150
- bookingAgent?: any;
151
- previousReservationStatus?: factory.reservationStatusType;
152
- }>, (import("mongoose").Document<unknown, {}, (Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> | Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id">) & {
153
- _id: string;
154
- bookingAgent?: any;
155
- previousReservationStatus?: factory.reservationStatusType;
156
- }, {}, {}> & ((Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> & {
145
+ }), "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(Omit<import("@chevre/factory/lib/reservation/busReservation").IReservation, "id"> & {
157
146
  _id: string;
158
147
  bookingAgent?: any;
159
148
  previousReservationStatus?: factory.reservationStatusType;
@@ -169,7 +158,7 @@ export declare class ReservationRepo {
169
158
  _id: string;
170
159
  }> & {
171
160
  __v: number;
172
- }))) | null>;
161
+ }), "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
173
162
  unsetUnnecessaryFields(params: {
174
163
  filter: any;
175
164
  $unset: any;
@@ -76,15 +76,15 @@ export declare class SellerRepo {
76
76
  id: string;
77
77
  makesOffer: factory.seller.IMakesOffer;
78
78
  }): Promise<void>;
79
- getCursor(conditions: FilterQuery<factory.seller.ISeller>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, {}, {}> & IDocType & {
79
+ getCursor(conditions: FilterQuery<factory.seller.ISeller>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
80
80
  _id: Types.ObjectId;
81
81
  } & {
82
82
  __v: number;
83
- }, QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, {}, {}> & IDocType & {
83
+ }, "id"> & import("./mongoose/virtuals").IVirtuals, QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
84
84
  _id: Types.ObjectId;
85
85
  } & {
86
86
  __v: number;
87
- }) | null>;
87
+ }, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
88
88
  unsetUnnecessaryFields(params: {
89
89
  filter: any;
90
90
  $unset: any;
@@ -229,15 +229,15 @@ export declare class TaskRepo {
229
229
  }): Promise<{
230
230
  count: number;
231
231
  }>;
232
- getCursor(conditions: FilterQuery<factory.task.ITask<factory.taskName>>, projection: ProjectionType<factory.task.ITask<factory.taskName>>): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, {}, {}> & IDocType & {
232
+ getCursor(conditions: FilterQuery<factory.task.ITask<factory.taskName>>, projection: ProjectionType<factory.task.ITask<factory.taskName>>): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
233
233
  _id: import("mongoose").Types.ObjectId;
234
234
  } & {
235
235
  __v: number;
236
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, {}, {}> & IDocType & {
236
+ }, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
237
237
  _id: import("mongoose").Types.ObjectId;
238
238
  } & {
239
239
  __v: number;
240
- }) | null>;
240
+ }, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
241
241
  unsetUnnecessaryFields(params: {
242
242
  filter: FilterQuery<factory.task.ITask<factory.taskName>>;
243
243
  $unset: AnyKeys<factory.task.ITask<factory.taskName>>;
@@ -1,5 +1,6 @@
1
1
  import type { Connection } from 'mongoose';
2
2
  import * as factory from '../factory';
3
+ import { IDocType } from './mongoose/schemas/transaction';
3
4
  interface IAggregationByStatus {
4
5
  transactionCount: number;
5
6
  avgDuration: number;
@@ -125,7 +126,7 @@ export declare class TransactionRepo {
125
126
  $lt: Date;
126
127
  };
127
128
  }): Promise<import("mongodb").DeleteResult>;
128
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("./mongoose/schemas/transaction").IDocType, {}, {}> & (({
129
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<({
129
130
  object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
130
131
  error?: any;
131
132
  project: import("@chevre/factory/lib/transaction").IProject;
@@ -182,7 +183,7 @@ export declare class TransactionRepo {
182
183
  _id: import("mongoose").Types.ObjectId;
183
184
  } & {
184
185
  __v: number;
185
- })), import("mongoose").QueryOptions<import("./mongoose/schemas/transaction").IDocType>, (import("mongoose").Document<unknown, {}, import("./mongoose/schemas/transaction").IDocType, {}, {}> & (({
186
+ }), "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<({
186
187
  object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
187
188
  error?: any;
188
189
  project: import("@chevre/factory/lib/transaction").IProject;
@@ -239,7 +240,7 @@ export declare class TransactionRepo {
239
240
  _id: import("mongoose").Types.ObjectId;
240
241
  } & {
241
242
  __v: number;
242
- }))) | null>;
243
+ }), "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
243
244
  aggregatePlaceOrder(params: {
244
245
  project?: {
245
246
  id?: {
package/package.json CHANGED
@@ -99,5 +99,5 @@
99
99
  "postversion": "git push origin --tags",
100
100
  "prepublishOnly": "npm run clean && npm run build"
101
101
  },
102
- "version": "24.0.0-alpha.28"
102
+ "version": "24.0.0-alpha.29"
103
103
  }