@genoxio/taxo_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 +3 -2
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
- package/dist/types/api/api.d.ts +0 -7
- package/dist/types/api/api.d.ts.map +0 -1
- package/dist/types/api/api.js +0 -2
- package/dist/types/api/api.js.map +0 -1
- package/dist/types/tink/tink.d.ts +0 -36
- package/dist/types/tink/tink.d.ts.map +0 -1
- package/dist/types/tink/tink.js +0 -3
- package/dist/types/tink/tink.js.map +0 -1
- package/dist/types/user/user.d.ts +0 -5
- package/dist/types/user/user.d.ts.map +0 -1
- package/dist/types/user/user.js +0 -2
- package/dist/types/user/user.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genoxio/taxo_types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Shared types for Taxo app and auth erver",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "Genox Ltd",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "tsx watch src/index.ts",
|
|
21
|
-
"build": "tsc",
|
|
21
|
+
"build": "pnpm run clean && tsc",
|
|
22
|
+
"clean": "rm -rf dist",
|
|
22
23
|
"start": "node dist/index.js",
|
|
23
24
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
24
25
|
},
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type { TinkTransaction, TinkTokenResponse } from "./types/tink/tink.js";
|
|
2
|
-
export type { UserResponse } from "./types/user/user.js";
|
|
3
|
-
export type { TaxoApiResponse } from "./types/api/api.js";
|
|
4
|
-
export type { NINoApiResponse } from "./types/api/api.js";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACzD,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/types/api/api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/types/api/api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,mBAAmB,EAAE,MAAM,CAAA;CAC5B"}
|
package/dist/types/api/api.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/api/api.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export type TinkTokenResponse = {
|
|
2
|
-
access_token: string;
|
|
3
|
-
expires_in: number;
|
|
4
|
-
id_hint: string;
|
|
5
|
-
scope: string;
|
|
6
|
-
token_type: string;
|
|
7
|
-
};
|
|
8
|
-
type TinkDates = {
|
|
9
|
-
booked: string;
|
|
10
|
-
};
|
|
11
|
-
type TinkDescriptions = {
|
|
12
|
-
original: string;
|
|
13
|
-
display: string;
|
|
14
|
-
};
|
|
15
|
-
type TinkValue = {
|
|
16
|
-
scale: string;
|
|
17
|
-
unscaledValue: string;
|
|
18
|
-
};
|
|
19
|
-
type TinkAmount = {
|
|
20
|
-
currencyCode: string;
|
|
21
|
-
value: TinkValue;
|
|
22
|
-
};
|
|
23
|
-
export type TinkTransaction = {
|
|
24
|
-
id: string;
|
|
25
|
-
accountName?: string;
|
|
26
|
-
accountId?: string;
|
|
27
|
-
amount: TinkAmount;
|
|
28
|
-
descriptions: TinkDescriptions;
|
|
29
|
-
dates: TinkDates;
|
|
30
|
-
date?: string;
|
|
31
|
-
bookedDate?: string;
|
|
32
|
-
transactionAmount?: number | string;
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
36
|
-
//# sourceMappingURL=tink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tink.d.ts","sourceRoot":"","sources":["../../../src/types/tink/tink.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAA;AAGD,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AACF,KAAK,UAAU,GAAG;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC"}
|
package/dist/types/tink/tink.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tink.js","sourceRoot":"","sources":["../../../src/types/tink/tink.ts"],"names":[],"mappings":"AAAA,iBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/user/user.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAA"}
|
package/dist/types/user/user.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user/user.ts"],"names":[],"mappings":""}
|