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