@mcdylanproperenterprise/nodejs-proper-money-types 0.0.8 → 0.0.10
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/package.json +1 -1
- package/types.ts +14 -1
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -232,6 +232,8 @@ export type TPostTransactionDeleteBody = {
|
|
|
232
232
|
export type TGetTransactionQuery = {
|
|
233
233
|
page: number;
|
|
234
234
|
limit: number;
|
|
235
|
+
transactionCategoryId: string | undefined;
|
|
236
|
+
transactionLabelId: string | undefined;
|
|
235
237
|
};
|
|
236
238
|
|
|
237
239
|
export type TGetTransactionResponse = {
|
|
@@ -255,8 +257,19 @@ export type TTransactionCategory = {
|
|
|
255
257
|
createdAt: Date;
|
|
256
258
|
};
|
|
257
259
|
|
|
260
|
+
export type TGetTransactionCategoryQuery = {
|
|
261
|
+
q: string;
|
|
262
|
+
page: string;
|
|
263
|
+
limit: string;
|
|
264
|
+
};
|
|
265
|
+
|
|
258
266
|
export type TGetTransactionCategoryResponse = {
|
|
259
|
-
|
|
267
|
+
data: TTransactionCategory[];
|
|
268
|
+
pagination: {
|
|
269
|
+
last_visible_page: number;
|
|
270
|
+
has_next_page: boolean;
|
|
271
|
+
total_items: number;
|
|
272
|
+
};
|
|
260
273
|
};
|
|
261
274
|
|
|
262
275
|
export type TPostTransactionCategoryCreateBody = {
|