@mcdylanproperenterprise/nodejs-proper-money-types 0.0.13 → 0.0.14

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 +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.ts CHANGED
@@ -7,7 +7,6 @@ import {
7
7
  ETransactionCategoryType,
8
8
  EVerificationOneTimePasswordType,
9
9
  } from "./enum";
10
- import { EGetTransactionsBySort, EGetTransactionsByType } from "./enum";
11
10
 
12
11
  export type TJwtTokenObject = {
13
12
  userId: string;
@@ -245,6 +244,12 @@ export type TGetTransactionResponse = {
245
244
  };
246
245
  };
247
246
 
247
+ export type TGetTransactionDetailQuery = {
248
+ id: string;
249
+ };
250
+
251
+ export type TGetTransactionDetailResponse = TTransaction;
252
+
248
253
  export type TTransactionCategory = {
249
254
  _id: string;
250
255
  name: string;
@@ -325,6 +330,12 @@ export type TGetTransactionLabelResponse = {
325
330
  };
326
331
  };
327
332
 
333
+ export type TGetTransactionLabelDetailsQuery = {
334
+ ids: string[];
335
+ };
336
+
337
+ export type TGetTransactionLabelDetailsResponse = TTransactionLabel[];
338
+
328
339
  export type TPostTransactionLabelCreateBody = {
329
340
  name: string;
330
341
  };