@chevre/domain 24.0.0-alpha.27 → 24.0.0-alpha.28
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/errorHandler.js +1 -1
- package/lib/chevre/repo/accountTitle.d.ts +7 -3
- package/lib/chevre/repo/action/acceptCOAOffer.js +0 -2
- package/lib/chevre/repo/action/actionProcess.d.ts +1 -1
- package/lib/chevre/repo/action/actionProcess.js +3 -3
- package/lib/chevre/repo/action.d.ts +8 -7
- package/lib/chevre/repo/action.js +0 -2
- package/lib/chevre/repo/aggregateOffer.d.ts +7 -3
- package/lib/chevre/repo/assetTransaction.d.ts +48 -22
- package/lib/chevre/repo/categoryCode.d.ts +8 -3
- package/lib/chevre/repo/comment.d.ts +7 -3
- package/lib/chevre/repo/creativeWork.d.ts +8 -7
- package/lib/chevre/repo/customer.d.ts +8 -3
- package/lib/chevre/repo/event.d.ts +11 -23
- package/lib/chevre/repo/event.js +22 -23
- package/lib/chevre/repo/eventSeries.d.ts +10 -4
- package/lib/chevre/repo/identity.d.ts +12 -3
- package/lib/chevre/repo/identityProvider.d.ts +7 -18
- package/lib/chevre/repo/issuer.d.ts +8 -8
- package/lib/chevre/repo/member.d.ts +7 -3
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +7 -3
- package/lib/chevre/repo/message.js +1 -1
- package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/categoryCode.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/eventOffer.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/identity.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/message.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +3 -1
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +1 -1
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +5 -2
- package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +1 -1
- package/lib/chevre/repo/movieTicketType.d.ts +2 -1
- package/lib/chevre/repo/offerCatalog.d.ts +8 -4
- package/lib/chevre/repo/order.d.ts +10 -4
- package/lib/chevre/repo/ownershipInfo.d.ts +8 -7
- package/lib/chevre/repo/paymentService.d.ts +8 -8
- package/lib/chevre/repo/place/movieTheater.d.ts +7 -3
- package/lib/chevre/repo/place/screeningRoom.d.ts +7 -3
- package/lib/chevre/repo/potentialAction.d.ts +7 -26
- package/lib/chevre/repo/priceSpecification.d.ts +47 -22
- package/lib/chevre/repo/priceSpecification.js +0 -6
- package/lib/chevre/repo/product.d.ts +7 -3
- package/lib/chevre/repo/project.d.ts +8 -11
- package/lib/chevre/repo/reservation.d.ts +18 -6
- package/lib/chevre/repo/reserveInterface.js +4 -4
- package/lib/chevre/repo/role.d.ts +39 -3
- package/lib/chevre/repo/schedule.js +1 -1
- package/lib/chevre/repo/seller.d.ts +7 -50
- package/lib/chevre/repo/task.d.ts +7 -67
- package/lib/chevre/repo/transaction.d.ts +103 -13
- package/package.json +3 -3
|
@@ -125,31 +125,121 @@ export declare class TransactionRepo {
|
|
|
125
125
|
$lt: Date;
|
|
126
126
|
};
|
|
127
127
|
}): Promise<import("mongodb").DeleteResult>;
|
|
128
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("
|
|
129
|
-
|
|
128
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("./mongoose/schemas/transaction").IDocType, {}, {}> & (({
|
|
129
|
+
object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
|
|
130
|
+
error?: any;
|
|
131
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
132
|
+
seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
|
|
133
|
+
typeOf: factory.transactionType.PlaceOrder;
|
|
134
|
+
expires: Date;
|
|
135
|
+
result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
|
|
136
|
+
startDate: Date;
|
|
137
|
+
endDate?: Date | undefined;
|
|
138
|
+
status: factory.transactionStatusType;
|
|
139
|
+
agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
|
|
140
|
+
instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
|
|
141
|
+
potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
|
|
142
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
130
143
|
} & {
|
|
131
144
|
_id: import("mongoose").Types.ObjectId;
|
|
132
|
-
}
|
|
133
|
-
|
|
145
|
+
} & {
|
|
146
|
+
__v: number;
|
|
147
|
+
}) | ({
|
|
148
|
+
object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
|
|
149
|
+
error?: any;
|
|
150
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
151
|
+
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
152
|
+
typeOf: factory.transactionType.ReturnOrder;
|
|
153
|
+
expires: Date;
|
|
154
|
+
result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
|
|
155
|
+
startDate: Date;
|
|
156
|
+
endDate?: Date | undefined;
|
|
157
|
+
status: factory.transactionStatusType;
|
|
158
|
+
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
159
|
+
potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
|
|
160
|
+
recipient?: undefined;
|
|
161
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
134
162
|
} & {
|
|
135
163
|
_id: import("mongoose").Types.ObjectId;
|
|
136
|
-
}
|
|
137
|
-
|
|
164
|
+
} & {
|
|
165
|
+
__v: number;
|
|
166
|
+
}) | ({
|
|
167
|
+
object: import("@chevre/factory/lib/transaction/moneyTransfer").IObject;
|
|
168
|
+
error?: any;
|
|
169
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
170
|
+
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
171
|
+
typeOf: factory.transactionType.MoneyTransfer;
|
|
172
|
+
expires: Date;
|
|
173
|
+
result?: any;
|
|
174
|
+
startDate: Date;
|
|
175
|
+
endDate?: Date | undefined;
|
|
176
|
+
status: factory.transactionStatusType;
|
|
177
|
+
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
178
|
+
potentialActions?: import("@chevre/factory/lib/transaction/moneyTransfer").IPotentialActions | undefined;
|
|
179
|
+
recipient: import("@chevre/factory/lib/transaction/moneyTransfer").IRecipient;
|
|
180
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
138
181
|
} & {
|
|
139
182
|
_id: import("mongoose").Types.ObjectId;
|
|
140
|
-
}
|
|
141
|
-
|
|
183
|
+
} & {
|
|
184
|
+
__v: number;
|
|
185
|
+
})), import("mongoose").QueryOptions<import("./mongoose/schemas/transaction").IDocType>, (import("mongoose").Document<unknown, {}, import("./mongoose/schemas/transaction").IDocType, {}, {}> & (({
|
|
186
|
+
object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
|
|
187
|
+
error?: any;
|
|
188
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
189
|
+
seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
|
|
190
|
+
typeOf: factory.transactionType.PlaceOrder;
|
|
191
|
+
expires: Date;
|
|
192
|
+
result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
|
|
193
|
+
startDate: Date;
|
|
194
|
+
endDate?: Date | undefined;
|
|
195
|
+
status: factory.transactionStatusType;
|
|
196
|
+
agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
|
|
197
|
+
instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
|
|
198
|
+
potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
|
|
199
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
142
200
|
} & {
|
|
143
201
|
_id: import("mongoose").Types.ObjectId;
|
|
144
|
-
}
|
|
145
|
-
|
|
202
|
+
} & {
|
|
203
|
+
__v: number;
|
|
204
|
+
}) | ({
|
|
205
|
+
object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
|
|
206
|
+
error?: any;
|
|
207
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
208
|
+
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
209
|
+
typeOf: factory.transactionType.ReturnOrder;
|
|
210
|
+
expires: Date;
|
|
211
|
+
result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
|
|
212
|
+
startDate: Date;
|
|
213
|
+
endDate?: Date | undefined;
|
|
214
|
+
status: factory.transactionStatusType;
|
|
215
|
+
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
216
|
+
potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
|
|
217
|
+
recipient?: undefined;
|
|
218
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
146
219
|
} & {
|
|
147
220
|
_id: import("mongoose").Types.ObjectId;
|
|
148
|
-
}
|
|
149
|
-
|
|
221
|
+
} & {
|
|
222
|
+
__v: number;
|
|
223
|
+
}) | ({
|
|
224
|
+
object: import("@chevre/factory/lib/transaction/moneyTransfer").IObject;
|
|
225
|
+
error?: any;
|
|
226
|
+
project: import("@chevre/factory/lib/transaction").IProject;
|
|
227
|
+
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
228
|
+
typeOf: factory.transactionType.MoneyTransfer;
|
|
229
|
+
expires: Date;
|
|
230
|
+
result?: any;
|
|
231
|
+
startDate: Date;
|
|
232
|
+
endDate?: Date | undefined;
|
|
233
|
+
status: factory.transactionStatusType;
|
|
234
|
+
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
235
|
+
potentialActions?: import("@chevre/factory/lib/transaction/moneyTransfer").IPotentialActions | undefined;
|
|
236
|
+
recipient: import("@chevre/factory/lib/transaction/moneyTransfer").IRecipient;
|
|
237
|
+
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
150
238
|
} & {
|
|
151
239
|
_id: import("mongoose").Types.ObjectId;
|
|
152
|
-
}
|
|
240
|
+
} & {
|
|
241
|
+
__v: number;
|
|
242
|
+
}))) | null>;
|
|
153
243
|
aggregatePlaceOrder(params: {
|
|
154
244
|
project?: {
|
|
155
245
|
id?: {
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"googleapis": "^85.0.0",
|
|
55
55
|
"jose": "6.0.12",
|
|
56
56
|
"json2csv": "4.5.4",
|
|
57
|
-
"mongoose": "8.0
|
|
57
|
+
"mongoose": "8.23.0",
|
|
58
58
|
"redis": "4.6.5",
|
|
59
59
|
"rimraf": "^2.7.1",
|
|
60
60
|
"size-limit": "12.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vitest": "4.0.18"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"mongoose": "^8.
|
|
66
|
+
"mongoose": "^8.23.0",
|
|
67
67
|
"redis": "^4.6.5"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
@@ -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.
|
|
102
|
+
"version": "24.0.0-alpha.28"
|
|
103
103
|
}
|