sowhat-types 2.0.2 → 2.0.4
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/dist/exact-match.js +2 -1
- package/dist/index.js +20 -4
- package/package.json +4 -4
- package/src/index.ts +4 -0
- package/tsconfig.json +105 -7
- package/index.d.ts +0 -253
- package/index.js +0 -51
- package/index.ts +0 -4
- /package/{exact-match.ts → src/exact-match.ts} +0 -0
package/dist/exact-match.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enums"), exports);
|
|
18
|
+
__exportStar(require("./inputs"), exports);
|
|
19
|
+
__exportStar(require("./responses"), exports);
|
|
20
|
+
__exportStar(require("./exact-match"), exports);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sowhat-types",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "index.
|
|
3
|
+
"version": "2.0.4",
|
|
4
|
+
"description": "Sowhat types",
|
|
5
|
+
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
8
|
"build": "tsc"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "hugobayoud",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"
|
|
13
|
+
"ts-node": "^10.9.2",
|
|
14
14
|
"typescript": "^5.5.4"
|
|
15
15
|
}
|
|
16
16
|
}
|
package/src/index.ts
ADDED
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,108 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
+
|
|
5
|
+
/* Projects */
|
|
6
|
+
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
7
|
+
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
|
8
|
+
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
|
9
|
+
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
|
10
|
+
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
11
|
+
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
12
|
+
|
|
13
|
+
/* Language and Environment */
|
|
14
|
+
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
|
15
|
+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
16
|
+
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
17
|
+
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
18
|
+
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
19
|
+
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
|
|
20
|
+
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
|
|
21
|
+
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
|
|
22
|
+
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
|
23
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
24
|
+
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
25
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
26
|
+
|
|
27
|
+
/* Modules */
|
|
28
|
+
"module": "commonjs" /* Specify what module code is generated. */,
|
|
29
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
30
|
+
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
31
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
32
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
33
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
34
|
+
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
35
|
+
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
36
|
+
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
37
|
+
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
|
38
|
+
// "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|
|
39
|
+
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
|
40
|
+
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
|
41
|
+
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
|
42
|
+
// "resolveJsonModule": true, /* Enable importing .json files. */
|
|
43
|
+
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
|
44
|
+
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
|
45
|
+
|
|
46
|
+
/* JavaScript Support */
|
|
47
|
+
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
48
|
+
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
49
|
+
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
50
|
+
|
|
51
|
+
/* Emit */
|
|
52
|
+
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
53
|
+
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
54
|
+
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
55
|
+
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
56
|
+
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
57
|
+
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
58
|
+
"outDir": "dist" /* Specify an output folder for all emitted files. */,
|
|
59
|
+
// "removeComments": true, /* Disable emitting comments. */
|
|
60
|
+
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
61
|
+
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
62
|
+
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
63
|
+
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
64
|
+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
65
|
+
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
66
|
+
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
67
|
+
// "newLine": "crlf", /* Set the newline character for emitting files. */
|
|
68
|
+
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
69
|
+
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
70
|
+
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
71
|
+
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
72
|
+
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
73
|
+
|
|
74
|
+
/* Interop Constraints */
|
|
75
|
+
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
76
|
+
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
|
77
|
+
// "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
|
|
78
|
+
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
79
|
+
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
|
|
80
|
+
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
81
|
+
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
82
|
+
|
|
83
|
+
/* Type Checking */
|
|
84
|
+
"strict": true /* Enable all strict type-checking options. */,
|
|
85
|
+
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
86
|
+
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
87
|
+
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
88
|
+
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
89
|
+
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
90
|
+
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
91
|
+
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
92
|
+
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
93
|
+
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
94
|
+
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
95
|
+
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
96
|
+
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
97
|
+
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
98
|
+
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
99
|
+
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
100
|
+
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
101
|
+
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
102
|
+
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
103
|
+
|
|
104
|
+
/* Completeness */
|
|
105
|
+
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
106
|
+
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
107
|
+
}
|
|
10
108
|
}
|
package/index.d.ts
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
declare enum AuthenticationMethodEnum {
|
|
2
|
-
PHONE = "PHONE",
|
|
3
|
-
EMAIL = "EMAIL"
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
declare enum MobilityTypeEnum {
|
|
7
|
-
CAR = "CAR",
|
|
8
|
-
MOTORCYCLE = "MOTORCYCLE",
|
|
9
|
-
BICYCLE = "BICYCLE",
|
|
10
|
-
OTHER = "OTHER"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare enum BankAccountSchemeNameEnum {
|
|
14
|
-
IBAN = "IBAN",
|
|
15
|
-
BBAN = "BBAN",
|
|
16
|
-
SORT_CODE_ACCOUNT_NUMBER = "SORT_CODE_ACCOUNT_NUMBER",
|
|
17
|
-
CPAN = "CPAN",
|
|
18
|
-
TPAN = "TPAN"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare enum BankAccountTransactionTypeEnum {
|
|
22
|
-
TRANSFER = "TRANSFER",// Transfer
|
|
23
|
-
ORDER = "ORDER",// Order
|
|
24
|
-
CHECK = "CHECK",// Check
|
|
25
|
-
DEPOSIT = "DEPOSIT",// Mandatory/voluntary deposits, contributions, money transfers
|
|
26
|
-
PAYBACK = "PAYBACK",// Payback
|
|
27
|
-
WITHDRAWAL = "WITHDRAWAL",// Withdrawal
|
|
28
|
-
LOAN_REPAYMENT = "LOAN_REPAYMENT",// Loan payment
|
|
29
|
-
BANK = "BANK",// Bank fees
|
|
30
|
-
CARD = "CARD",// Card operation
|
|
31
|
-
DEFERRED_CARD = "DEFERRED_CARD",// Deferred card operation
|
|
32
|
-
SUMMARY_CARD = "SUMMARY_CARD",// Monthly debit of a deferred card
|
|
33
|
-
UNKNOWN = "UNKNOWN",//Unknown transaction type
|
|
34
|
-
MARKET_ORDER = "MARKET_ORDER",// Market order
|
|
35
|
-
MARKET_FEE = "MARKET_FEE",// Fees regarding a market order
|
|
36
|
-
ARBITRAGE = "ARBITRAGE",// Arbitrage
|
|
37
|
-
PROFIT = "PROFIT"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare enum BankAccountTypeEnum {
|
|
41
|
-
CHECKING = "CHECKING",
|
|
42
|
-
SAVINGS = "SAVINGS",
|
|
43
|
-
OTHER = "OTHER"
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
interface CreateAssetCoOwnerInput {
|
|
47
|
-
id: string;
|
|
48
|
-
coOwnershipShare: number;
|
|
49
|
-
coOwnerFinancialShare: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
interface CreateAssetDateOfAcquisitionInput {
|
|
53
|
-
month: number;
|
|
54
|
-
year: number;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface FetchUserBankAccountsInput {
|
|
58
|
-
userId: string;
|
|
59
|
-
accountId: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
interface CreateMobilityInput {
|
|
63
|
-
userId: string;
|
|
64
|
-
customTitle: string;
|
|
65
|
-
customImage: string | null;
|
|
66
|
-
price: number;
|
|
67
|
-
licenceNumber: string | null;
|
|
68
|
-
dateOfAcquisition: CreateAssetDateOfAcquisitionInput | null;
|
|
69
|
-
mobilityType: MobilityTypeEnum;
|
|
70
|
-
mileage: number | null;
|
|
71
|
-
note: string | null;
|
|
72
|
-
gotLoan: boolean;
|
|
73
|
-
coOwner: CreateAssetCoOwnerInput | null;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface CreateRealEstateInput {
|
|
77
|
-
userId: string;
|
|
78
|
-
gotLoan: boolean;
|
|
79
|
-
customTitle: string;
|
|
80
|
-
customImage: string | null;
|
|
81
|
-
price: number;
|
|
82
|
-
note: string | null;
|
|
83
|
-
isMainResidence: boolean;
|
|
84
|
-
coOwner: CreateAssetCoOwnerInput | null;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
interface BankAccountBalancesResponse {
|
|
88
|
-
/**
|
|
89
|
-
* total balance for checking type accounts
|
|
90
|
-
*/
|
|
91
|
-
checking: number | null;
|
|
92
|
-
/**
|
|
93
|
-
* total incoming balance for checking type accounts
|
|
94
|
-
*/
|
|
95
|
-
incomingChecking: number | null;
|
|
96
|
-
/**
|
|
97
|
-
* total balance for savings type accounts
|
|
98
|
-
*/
|
|
99
|
-
savings: number | null;
|
|
100
|
-
/**
|
|
101
|
-
* total incoming balance for savings type accounts
|
|
102
|
-
*/
|
|
103
|
-
incomingSavings: number | null;
|
|
104
|
-
/**
|
|
105
|
-
* e.g. '€'
|
|
106
|
-
*/
|
|
107
|
-
currency: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface BankAccountOriginalTransactionResponse {
|
|
111
|
-
value: number;
|
|
112
|
-
currency: string;
|
|
113
|
-
commission: number | null;
|
|
114
|
-
commissionCurrency: string | null;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
interface BankAccountTransactionCounterpartyResponse {
|
|
118
|
-
label: string | null;
|
|
119
|
-
accountScheme: BankAccountSchemeNameEnum | null;
|
|
120
|
-
type: string | null;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
interface BankAccountTransactionExtraDataResponse {
|
|
124
|
-
datetime: Date | null;
|
|
125
|
-
counterparty: BankAccountTransactionCounterpartyResponse | null;
|
|
126
|
-
country: string | null;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface BankAccountTransactionWordingResponse {
|
|
130
|
-
original: string;
|
|
131
|
-
stemmed: string;
|
|
132
|
-
simplified: string;
|
|
133
|
-
/**
|
|
134
|
-
* The one that can be edited by the user and update in the transaction by Powens API
|
|
135
|
-
*/
|
|
136
|
-
custom: string | null;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
interface BankAccountTransactionResponse {
|
|
140
|
-
id: string;
|
|
141
|
-
accountId: string;
|
|
142
|
-
date: Date;
|
|
143
|
-
value: number | null;
|
|
144
|
-
currency: string | null;
|
|
145
|
-
wording: BankAccountTransactionWordingResponse;
|
|
146
|
-
coming: boolean;
|
|
147
|
-
active: boolean;
|
|
148
|
-
comment: string | null;
|
|
149
|
-
lastUpdate: Date | null;
|
|
150
|
-
deleted: Date | null;
|
|
151
|
-
cardNumber: string | null;
|
|
152
|
-
type: BankAccountTransactionTypeEnum;
|
|
153
|
-
new: boolean;
|
|
154
|
-
originalTransaction: BankAccountOriginalTransactionResponse | null;
|
|
155
|
-
extraData: BankAccountTransactionExtraDataResponse;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
interface BankAccountTransactionsResponse {
|
|
159
|
-
transactions: BankAccountTransactionResponse[];
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface BankAccountResponse {
|
|
163
|
-
id: number;
|
|
164
|
-
balance: number | null;
|
|
165
|
-
name: string;
|
|
166
|
-
originalName: string;
|
|
167
|
-
currency: string;
|
|
168
|
-
type: BankAccountTypeEnum;
|
|
169
|
-
gotLoan: boolean;
|
|
170
|
-
iban: string | null;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
interface BankAccountsResponse {
|
|
174
|
-
accounts: BankAccountResponse[];
|
|
175
|
-
balances: BankAccountBalancesResponse | null;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
interface CryptocurrencyResponse {
|
|
179
|
-
id: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
interface MobilityDeletedResponse {
|
|
183
|
-
deleted: boolean;
|
|
184
|
-
errorMessage: string | null;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
interface AssetCoOwnerResponse {
|
|
188
|
-
id: string;
|
|
189
|
-
customName: string;
|
|
190
|
-
coOwnershipShare: number;
|
|
191
|
-
coOwnerFinancialShare: number;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
interface AssetDateOfAcquisitionResponse {
|
|
195
|
-
month: number;
|
|
196
|
-
year: number;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
interface MobilityResponse {
|
|
200
|
-
id: string;
|
|
201
|
-
userId: string;
|
|
202
|
-
customImage: string | null;
|
|
203
|
-
customTitle: string;
|
|
204
|
-
price: number;
|
|
205
|
-
licenceNumber: string | null;
|
|
206
|
-
dateOfAcquisition: AssetDateOfAcquisitionResponse | null;
|
|
207
|
-
mobilityType: MobilityTypeEnum;
|
|
208
|
-
mileage: number | null;
|
|
209
|
-
note: string | null;
|
|
210
|
-
gotLoan: boolean;
|
|
211
|
-
coOwner: AssetCoOwnerResponse | null;
|
|
212
|
-
createdAt: Date;
|
|
213
|
-
updatedAt: Date;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
interface OtherAssetResponse {
|
|
217
|
-
id: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
interface RealEstateDeletedResponse {
|
|
221
|
-
deleted: boolean;
|
|
222
|
-
errorMessage: string | null;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
interface RealEstateResponse {
|
|
226
|
-
id: string;
|
|
227
|
-
userId: string;
|
|
228
|
-
gotLoan: boolean;
|
|
229
|
-
customTitle: string;
|
|
230
|
-
customImage: string | null;
|
|
231
|
-
price: number;
|
|
232
|
-
note: string | null;
|
|
233
|
-
isMainResidence: boolean;
|
|
234
|
-
coOwner: AssetCoOwnerResponse | null;
|
|
235
|
-
createdAt: Date;
|
|
236
|
-
updatedAt: Date;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
interface StockExchangeResponse {
|
|
240
|
-
id: string;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
interface AssetsResponse {
|
|
244
|
-
realEstateAssets: RealEstateResponse[];
|
|
245
|
-
mobilityAssets: MobilityResponse[];
|
|
246
|
-
cryptocurrencyAssets: CryptocurrencyResponse[];
|
|
247
|
-
stockExchangeAssets: StockExchangeResponse[];
|
|
248
|
-
otherAssets: OtherAssetResponse[];
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
252
|
-
|
|
253
|
-
export { type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, type AssetsResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionExtraDataResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionWordingResponse, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateMobilityInput, type CreateRealEstateInput, type CryptocurrencyResponse, type ExactMatch, type FetchUserBankAccountsInput, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse };
|
package/index.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var AuthenticationMethodEnum;
|
|
2
|
-
(function (AuthenticationMethodEnum) {
|
|
3
|
-
AuthenticationMethodEnum["PHONE"] = "PHONE";
|
|
4
|
-
AuthenticationMethodEnum["EMAIL"] = "EMAIL";
|
|
5
|
-
})(AuthenticationMethodEnum || (AuthenticationMethodEnum = {}));
|
|
6
|
-
|
|
7
|
-
var MobilityTypeEnum;
|
|
8
|
-
(function (MobilityTypeEnum) {
|
|
9
|
-
MobilityTypeEnum["CAR"] = "CAR";
|
|
10
|
-
MobilityTypeEnum["MOTORCYCLE"] = "MOTORCYCLE";
|
|
11
|
-
MobilityTypeEnum["BICYCLE"] = "BICYCLE";
|
|
12
|
-
MobilityTypeEnum["OTHER"] = "OTHER";
|
|
13
|
-
})(MobilityTypeEnum || (MobilityTypeEnum = {}));
|
|
14
|
-
|
|
15
|
-
var BankAccountSchemeNameEnum;
|
|
16
|
-
(function (BankAccountSchemeNameEnum) {
|
|
17
|
-
BankAccountSchemeNameEnum["IBAN"] = "IBAN";
|
|
18
|
-
BankAccountSchemeNameEnum["BBAN"] = "BBAN";
|
|
19
|
-
BankAccountSchemeNameEnum["SORT_CODE_ACCOUNT_NUMBER"] = "SORT_CODE_ACCOUNT_NUMBER";
|
|
20
|
-
BankAccountSchemeNameEnum["CPAN"] = "CPAN";
|
|
21
|
-
BankAccountSchemeNameEnum["TPAN"] = "TPAN";
|
|
22
|
-
})(BankAccountSchemeNameEnum || (BankAccountSchemeNameEnum = {}));
|
|
23
|
-
|
|
24
|
-
var BankAccountTransactionTypeEnum;
|
|
25
|
-
(function (BankAccountTransactionTypeEnum) {
|
|
26
|
-
BankAccountTransactionTypeEnum["TRANSFER"] = "TRANSFER";
|
|
27
|
-
BankAccountTransactionTypeEnum["ORDER"] = "ORDER";
|
|
28
|
-
BankAccountTransactionTypeEnum["CHECK"] = "CHECK";
|
|
29
|
-
BankAccountTransactionTypeEnum["DEPOSIT"] = "DEPOSIT";
|
|
30
|
-
BankAccountTransactionTypeEnum["PAYBACK"] = "PAYBACK";
|
|
31
|
-
BankAccountTransactionTypeEnum["WITHDRAWAL"] = "WITHDRAWAL";
|
|
32
|
-
BankAccountTransactionTypeEnum["LOAN_REPAYMENT"] = "LOAN_REPAYMENT";
|
|
33
|
-
BankAccountTransactionTypeEnum["BANK"] = "BANK";
|
|
34
|
-
BankAccountTransactionTypeEnum["CARD"] = "CARD";
|
|
35
|
-
BankAccountTransactionTypeEnum["DEFERRED_CARD"] = "DEFERRED_CARD";
|
|
36
|
-
BankAccountTransactionTypeEnum["SUMMARY_CARD"] = "SUMMARY_CARD";
|
|
37
|
-
BankAccountTransactionTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
38
|
-
BankAccountTransactionTypeEnum["MARKET_ORDER"] = "MARKET_ORDER";
|
|
39
|
-
BankAccountTransactionTypeEnum["MARKET_FEE"] = "MARKET_FEE";
|
|
40
|
-
BankAccountTransactionTypeEnum["ARBITRAGE"] = "ARBITRAGE";
|
|
41
|
-
BankAccountTransactionTypeEnum["PROFIT"] = "PROFIT";
|
|
42
|
-
})(BankAccountTransactionTypeEnum || (BankAccountTransactionTypeEnum = {}));
|
|
43
|
-
|
|
44
|
-
var BankAccountTypeEnum;
|
|
45
|
-
(function (BankAccountTypeEnum) {
|
|
46
|
-
BankAccountTypeEnum["CHECKING"] = "CHECKING";
|
|
47
|
-
BankAccountTypeEnum["SAVINGS"] = "SAVINGS";
|
|
48
|
-
BankAccountTypeEnum["OTHER"] = "OTHER";
|
|
49
|
-
})(BankAccountTypeEnum || (BankAccountTypeEnum = {}));
|
|
50
|
-
|
|
51
|
-
export { AuthenticationMethodEnum, BankAccountSchemeNameEnum, BankAccountTransactionTypeEnum, BankAccountTypeEnum, MobilityTypeEnum };
|
package/index.ts
DELETED
|
File without changes
|