@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.
- package/package.json +1 -1
- package/types.ts +4 -11
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -230,23 +230,16 @@ export type TPostTransactionDeleteBody = {
|
|
|
230
230
|
};
|
|
231
231
|
|
|
232
232
|
export type TGetTransactionQuery = {
|
|
233
|
-
|
|
234
|
-
|
|
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
|
-
|
|
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
|
|