@mcdylanproperenterprise/nodejs-proper-money-types 0.0.7 → 0.0.9

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.ts +6 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.ts CHANGED
@@ -230,23 +230,18 @@ export type TPostTransactionDeleteBody = {
230
230
  };
231
231
 
232
232
  export type TGetTransactionQuery = {
233
- sort: EGetTransactionsBySort;
234
- page: string;
235
- limit: string;
236
- targetUserId: string;
237
- _id: string;
238
- type: EGetTransactionsByType;
239
- startTransactedAt: string | null;
240
- endTransactedAt: string | null;
233
+ page: number;
234
+ limit: number;
235
+ transactionCategoryId: string | undefined;
236
+ transactionLabelId: string | undefined;
241
237
  };
242
238
 
243
239
  export type TGetTransactionResponse = {
244
- transactions: TTransaction[];
245
- totalAmount: number;
246
- totalTransactionsLength: number;
240
+ data: TTransaction[];
247
241
  pagination: {
248
242
  last_visible_page: number;
249
243
  has_next_page: boolean;
244
+ total_items: number;
250
245
  };
251
246
  };
252
247