@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.
- package/lib/chevre/repo/accountTitle.d.ts +3 -3
- package/lib/chevre/repo/accountTransaction.js +1 -2
- package/lib/chevre/repo/action.d.ts +3 -3
- package/lib/chevre/repo/aggregateAction.js +0 -1
- package/lib/chevre/repo/aggregateOffer.d.ts +3 -3
- package/lib/chevre/repo/assetTransaction.d.ts +4 -9
- package/lib/chevre/repo/categoryCode.d.ts +3 -3
- package/lib/chevre/repo/comment.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.d.ts +3 -3
- package/lib/chevre/repo/customer.d.ts +3 -3
- package/lib/chevre/repo/event.d.ts +4 -4
- package/lib/chevre/repo/eventSeries.d.ts +4 -4
- package/lib/chevre/repo/identity.d.ts +3 -3
- package/lib/chevre/repo/identityProvider.d.ts +3 -3
- package/lib/chevre/repo/issuer.d.ts +3 -3
- package/lib/chevre/repo/member.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
- package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +5 -4
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/identity.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/message.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/note.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +3 -2
- package/lib/chevre/repo/mongoose/virtuals.d.ts +3 -0
- package/lib/chevre/repo/mongoose/virtuals.js +2 -0
- package/lib/chevre/repo/offerCatalog.d.ts +3 -3
- package/lib/chevre/repo/order.d.ts +4 -9
- package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
- package/lib/chevre/repo/paymentService.d.ts +1 -14
- package/lib/chevre/repo/paymentService.js +5 -5
- package/lib/chevre/repo/pendingReservation.js +0 -1
- package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
- package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
- package/lib/chevre/repo/potentialAction.d.ts +3 -3
- package/lib/chevre/repo/priceSpecification.d.ts +7 -5
- package/lib/chevre/repo/priceSpecification.js +9 -7
- package/lib/chevre/repo/product.d.ts +4 -4
- package/lib/chevre/repo/project.d.ts +3 -3
- package/lib/chevre/repo/reservation.d.ts +4 -15
- package/lib/chevre/repo/seller.d.ts +3 -3
- package/lib/chevre/repo/task.d.ts +3 -3
- package/lib/chevre/repo/transaction.d.ts +4 -3
- 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,
|
|
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,
|
|
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, {},
|
|
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<(
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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/
|
|
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
|
-
})
|
|
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