@mcdylanproperenterprise/nodejs-proper-money-types 0.0.11 → 0.0.13
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 +15 -3
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -261,6 +261,7 @@ export type TGetTransactionCategoryQuery = {
|
|
|
261
261
|
q: string;
|
|
262
262
|
page: number;
|
|
263
263
|
limit: number;
|
|
264
|
+
type: ETransactionCategoryType;
|
|
264
265
|
};
|
|
265
266
|
|
|
266
267
|
export type TGetTransactionCategoryResponse = {
|
|
@@ -280,7 +281,7 @@ export type TPostTransactionCategoryCreateBody = {
|
|
|
280
281
|
};
|
|
281
282
|
|
|
282
283
|
export type TPostTransactionCategoryCreateResponse = {
|
|
283
|
-
|
|
284
|
+
id: string;
|
|
284
285
|
};
|
|
285
286
|
|
|
286
287
|
export type TPostTransactionCategoryUpdateBody = {
|
|
@@ -309,8 +310,19 @@ export type TTransactionLabel = {
|
|
|
309
310
|
createdAt: Date;
|
|
310
311
|
};
|
|
311
312
|
|
|
313
|
+
export type TGetTransactionLabelQuery = {
|
|
314
|
+
q: string;
|
|
315
|
+
page: number;
|
|
316
|
+
limit: number;
|
|
317
|
+
};
|
|
318
|
+
|
|
312
319
|
export type TGetTransactionLabelResponse = {
|
|
313
|
-
|
|
320
|
+
data: TTransactionLabel[];
|
|
321
|
+
pagination: {
|
|
322
|
+
last_visible_page: number;
|
|
323
|
+
has_next_page: boolean;
|
|
324
|
+
total_items: number;
|
|
325
|
+
};
|
|
314
326
|
};
|
|
315
327
|
|
|
316
328
|
export type TPostTransactionLabelCreateBody = {
|
|
@@ -318,7 +330,7 @@ export type TPostTransactionLabelCreateBody = {
|
|
|
318
330
|
};
|
|
319
331
|
|
|
320
332
|
export type TPostTransactionLabelCreateResponse = {
|
|
321
|
-
|
|
333
|
+
id: string;
|
|
322
334
|
};
|
|
323
335
|
|
|
324
336
|
export type TPostTransactionLabelUpdateBody = {
|