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

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 +4 -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.8",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.ts CHANGED
@@ -230,23 +230,16 @@ 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;
241
235
  };
242
236
 
243
237
  export type TGetTransactionResponse = {
244
- transactions: TTransaction[];
245
- totalAmount: number;
246
- totalTransactionsLength: number;
238
+ data: TTransaction[];
247
239
  pagination: {
248
240
  last_visible_page: number;
249
241
  has_next_page: boolean;
242
+ total_items: number;
250
243
  };
251
244
  };
252
245