sowhat-types 2.0.26 → 2.0.28
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/index.d.mts +48 -25
- package/dist/index.d.ts +48 -25
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -44,6 +44,11 @@ declare enum BankAccountTypeEnum {
|
|
|
44
44
|
OTHER = "OTHER"
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
declare enum BudgetTypeEnum {
|
|
48
|
+
INCOME = "INCOME",
|
|
49
|
+
EXPENDITURE = "EXPENDITURE"
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
declare enum MobilityTypeEnum {
|
|
48
53
|
CAR = "CAR",
|
|
49
54
|
MOTORCYCLE = "MOTORCYCLE",
|
|
@@ -174,6 +179,48 @@ interface FetchUserCoOwnerInput {
|
|
|
174
179
|
coOwnerId: string;
|
|
175
180
|
}
|
|
176
181
|
|
|
182
|
+
interface BudgetExpensesAllocationResponse {
|
|
183
|
+
id: string;
|
|
184
|
+
userId: string;
|
|
185
|
+
name: string;
|
|
186
|
+
budget: string;
|
|
187
|
+
icon: string;
|
|
188
|
+
color: string;
|
|
189
|
+
theoricalValuePerMonth: number;
|
|
190
|
+
note: string | null;
|
|
191
|
+
updatedAt: Date | null;
|
|
192
|
+
createdAt: Date;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
interface BudgetExpensesAllocationsResponse {
|
|
196
|
+
id: string;
|
|
197
|
+
allocations: BudgetExpensesAllocationResponse[];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
interface BudgetIncomesAllocationResponse {
|
|
201
|
+
id: string;
|
|
202
|
+
userId: string;
|
|
203
|
+
name: string;
|
|
204
|
+
budget: string;
|
|
205
|
+
icon: string;
|
|
206
|
+
color: string;
|
|
207
|
+
theoricalValuePerMonth: number;
|
|
208
|
+
note: string | null;
|
|
209
|
+
updatedAt: Date | null;
|
|
210
|
+
createdAt: Date;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface BudgetIncomesAllocationsResponse {
|
|
214
|
+
id: string;
|
|
215
|
+
allocations: BudgetIncomesAllocationResponse[];
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface TransactionBudgetAllocationsResponse {
|
|
219
|
+
type: BudgetTypeEnum;
|
|
220
|
+
mainBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse;
|
|
221
|
+
previousBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse | null;
|
|
222
|
+
}
|
|
223
|
+
|
|
177
224
|
interface BankAccountBalancesResponse {
|
|
178
225
|
/**
|
|
179
226
|
* total balance for checking type accounts
|
|
@@ -356,35 +403,11 @@ interface BudgetExpensesAllocationDeletedResponse {
|
|
|
356
403
|
errorMessage: string | null;
|
|
357
404
|
}
|
|
358
405
|
|
|
359
|
-
interface BudgetExpensesAllocationResponse {
|
|
360
|
-
id: string;
|
|
361
|
-
userId: string;
|
|
362
|
-
name: string;
|
|
363
|
-
icon: string;
|
|
364
|
-
color: string;
|
|
365
|
-
theoricalValuePerMonth: number;
|
|
366
|
-
note: string | null;
|
|
367
|
-
updatedAt: Date | null;
|
|
368
|
-
createdAt: Date;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
406
|
interface BudgetIncomesAllocationDeletedResponse {
|
|
372
407
|
deleted: boolean;
|
|
373
408
|
errorMessage: string | null;
|
|
374
409
|
}
|
|
375
410
|
|
|
376
|
-
interface BudgetIncomesAllocationResponse {
|
|
377
|
-
id: string;
|
|
378
|
-
userId: string;
|
|
379
|
-
name: string;
|
|
380
|
-
icon: string;
|
|
381
|
-
color: string;
|
|
382
|
-
theoricalValuePerMonth: number;
|
|
383
|
-
note: string | null;
|
|
384
|
-
updatedAt: Date | null;
|
|
385
|
-
createdAt: Date;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
411
|
interface CoOwnerDeletedResponse {
|
|
389
412
|
deleted: boolean;
|
|
390
413
|
errorMessage: string | null;
|
|
@@ -436,4 +459,4 @@ declare class FilterArgs {
|
|
|
436
459
|
take: number;
|
|
437
460
|
}
|
|
438
461
|
|
|
439
|
-
export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
|
|
462
|
+
export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,11 @@ declare enum BankAccountTypeEnum {
|
|
|
44
44
|
OTHER = "OTHER"
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
declare enum BudgetTypeEnum {
|
|
48
|
+
INCOME = "INCOME",
|
|
49
|
+
EXPENDITURE = "EXPENDITURE"
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
declare enum MobilityTypeEnum {
|
|
48
53
|
CAR = "CAR",
|
|
49
54
|
MOTORCYCLE = "MOTORCYCLE",
|
|
@@ -174,6 +179,48 @@ interface FetchUserCoOwnerInput {
|
|
|
174
179
|
coOwnerId: string;
|
|
175
180
|
}
|
|
176
181
|
|
|
182
|
+
interface BudgetExpensesAllocationResponse {
|
|
183
|
+
id: string;
|
|
184
|
+
userId: string;
|
|
185
|
+
name: string;
|
|
186
|
+
budget: string;
|
|
187
|
+
icon: string;
|
|
188
|
+
color: string;
|
|
189
|
+
theoricalValuePerMonth: number;
|
|
190
|
+
note: string | null;
|
|
191
|
+
updatedAt: Date | null;
|
|
192
|
+
createdAt: Date;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
interface BudgetExpensesAllocationsResponse {
|
|
196
|
+
id: string;
|
|
197
|
+
allocations: BudgetExpensesAllocationResponse[];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
interface BudgetIncomesAllocationResponse {
|
|
201
|
+
id: string;
|
|
202
|
+
userId: string;
|
|
203
|
+
name: string;
|
|
204
|
+
budget: string;
|
|
205
|
+
icon: string;
|
|
206
|
+
color: string;
|
|
207
|
+
theoricalValuePerMonth: number;
|
|
208
|
+
note: string | null;
|
|
209
|
+
updatedAt: Date | null;
|
|
210
|
+
createdAt: Date;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface BudgetIncomesAllocationsResponse {
|
|
214
|
+
id: string;
|
|
215
|
+
allocations: BudgetIncomesAllocationResponse[];
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface TransactionBudgetAllocationsResponse {
|
|
219
|
+
type: BudgetTypeEnum;
|
|
220
|
+
mainBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse;
|
|
221
|
+
previousBudget: BudgetIncomesAllocationsResponse | BudgetExpensesAllocationsResponse | null;
|
|
222
|
+
}
|
|
223
|
+
|
|
177
224
|
interface BankAccountBalancesResponse {
|
|
178
225
|
/**
|
|
179
226
|
* total balance for checking type accounts
|
|
@@ -356,35 +403,11 @@ interface BudgetExpensesAllocationDeletedResponse {
|
|
|
356
403
|
errorMessage: string | null;
|
|
357
404
|
}
|
|
358
405
|
|
|
359
|
-
interface BudgetExpensesAllocationResponse {
|
|
360
|
-
id: string;
|
|
361
|
-
userId: string;
|
|
362
|
-
name: string;
|
|
363
|
-
icon: string;
|
|
364
|
-
color: string;
|
|
365
|
-
theoricalValuePerMonth: number;
|
|
366
|
-
note: string | null;
|
|
367
|
-
updatedAt: Date | null;
|
|
368
|
-
createdAt: Date;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
406
|
interface BudgetIncomesAllocationDeletedResponse {
|
|
372
407
|
deleted: boolean;
|
|
373
408
|
errorMessage: string | null;
|
|
374
409
|
}
|
|
375
410
|
|
|
376
|
-
interface BudgetIncomesAllocationResponse {
|
|
377
|
-
id: string;
|
|
378
|
-
userId: string;
|
|
379
|
-
name: string;
|
|
380
|
-
icon: string;
|
|
381
|
-
color: string;
|
|
382
|
-
theoricalValuePerMonth: number;
|
|
383
|
-
note: string | null;
|
|
384
|
-
updatedAt: Date | null;
|
|
385
|
-
createdAt: Date;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
411
|
interface CoOwnerDeletedResponse {
|
|
389
412
|
deleted: boolean;
|
|
390
413
|
errorMessage: string | null;
|
|
@@ -436,4 +459,4 @@ declare class FilterArgs {
|
|
|
436
459
|
take: number;
|
|
437
460
|
}
|
|
438
461
|
|
|
439
|
-
export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
|
|
462
|
+
export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(src_exports, {
|
|
|
25
25
|
BankAccountSchemeNameEnum: () => BankAccountSchemeNameEnum,
|
|
26
26
|
BankAccountTransactionTypeEnum: () => BankAccountTransactionTypeEnum,
|
|
27
27
|
BankAccountTypeEnum: () => BankAccountTypeEnum,
|
|
28
|
+
BudgetTypeEnum: () => BudgetTypeEnum,
|
|
28
29
|
FilterArgs: () => FilterArgs,
|
|
29
30
|
MobilityTypeEnum: () => MobilityTypeEnum,
|
|
30
31
|
PowensUserStatusEnum: () => PowensUserStatusEnum,
|
|
@@ -89,6 +90,13 @@ var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
|
|
|
89
90
|
return BankAccountTypeEnum2;
|
|
90
91
|
})(BankAccountTypeEnum || {});
|
|
91
92
|
|
|
93
|
+
// src/enums/budget-type.enum.ts
|
|
94
|
+
var BudgetTypeEnum = /* @__PURE__ */ ((BudgetTypeEnum2) => {
|
|
95
|
+
BudgetTypeEnum2["INCOME"] = "INCOME";
|
|
96
|
+
BudgetTypeEnum2["EXPENDITURE"] = "EXPENDITURE";
|
|
97
|
+
return BudgetTypeEnum2;
|
|
98
|
+
})(BudgetTypeEnum || {});
|
|
99
|
+
|
|
92
100
|
// src/enums/mobility-type.enum.ts
|
|
93
101
|
var MobilityTypeEnum = /* @__PURE__ */ ((MobilityTypeEnum2) => {
|
|
94
102
|
MobilityTypeEnum2["CAR"] = "CAR";
|
|
@@ -138,6 +146,7 @@ var FilterArgs = class {
|
|
|
138
146
|
BankAccountSchemeNameEnum,
|
|
139
147
|
BankAccountTransactionTypeEnum,
|
|
140
148
|
BankAccountTypeEnum,
|
|
149
|
+
BudgetTypeEnum,
|
|
141
150
|
FilterArgs,
|
|
142
151
|
MobilityTypeEnum,
|
|
143
152
|
PowensUserStatusEnum,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/mobility-type.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export * from './enums';\nexport * from './inputs';\nexport * from './responses';\nexport * from './exact-match';\nexport * from './args';\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n OTHER = \"OTHER\",\n}\n","export enum MobilityTypeEnum {\n CAR = \"CAR\",\n MOTORCYCLE = \"MOTORCYCLE\",\n BICYCLE = \"BICYCLE\",\n OTHER = \"OTHER\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed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AA,cAAW;AACX,EAAAA,qBAAA,aAAU;AACV,EAAAA,qBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,SAAM;AACN,EAAAA,kBAAA,gBAAa;AACb,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,WAAQ;AAJE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,uBAAL,kBAAKC,0BAAL;AAEL,EAAAA,sBAAA,gBAAa;AAGb,EAAAA,sBAAA,+BAA4B;AAG5B,EAAAA,sBAAA,cAAW;AAGX,EAAAA,sBAAA,aAAU;AAXA,SAAAA;AAAA,GAAA;;;ACAL,IAAK,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AAHI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,oBAAL;AAEL,EAAAA,gBAAA,eAAY;AAIZ,EAAAA,gBAAA,gBAAa;AAGb,EAAAA,gBAAA,aAAU;AAGV,EAAAA,gBAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","MobilityTypeEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/mobility-type.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export * from './enums';\nexport * from './inputs';\nexport * from './responses';\nexport * from './exact-match';\nexport * from './args';\n","export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum MobilityTypeEnum {\n CAR = \"CAR\",\n MOTORCYCLE = \"MOTORCYCLE\",\n BICYCLE = \"BICYCLE\",\n OTHER = \"OTHER\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,WAAQ;AACR,EAAAA,0BAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;AACL,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,8BAA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,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AAHI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,oBAAL;AAEL,EAAAA,gBAAA,eAAY;AAIZ,EAAAA,gBAAA,gBAAa;AAGb,EAAAA,gBAAA,aAAU;AAGV,EAAAA,gBAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","MobilityTypeEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
package/dist/index.mjs
CHANGED
|
@@ -54,6 +54,13 @@ var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
|
|
|
54
54
|
return BankAccountTypeEnum2;
|
|
55
55
|
})(BankAccountTypeEnum || {});
|
|
56
56
|
|
|
57
|
+
// src/enums/budget-type.enum.ts
|
|
58
|
+
var BudgetTypeEnum = /* @__PURE__ */ ((BudgetTypeEnum2) => {
|
|
59
|
+
BudgetTypeEnum2["INCOME"] = "INCOME";
|
|
60
|
+
BudgetTypeEnum2["EXPENDITURE"] = "EXPENDITURE";
|
|
61
|
+
return BudgetTypeEnum2;
|
|
62
|
+
})(BudgetTypeEnum || {});
|
|
63
|
+
|
|
57
64
|
// src/enums/mobility-type.enum.ts
|
|
58
65
|
var MobilityTypeEnum = /* @__PURE__ */ ((MobilityTypeEnum2) => {
|
|
59
66
|
MobilityTypeEnum2["CAR"] = "CAR";
|
|
@@ -102,6 +109,7 @@ export {
|
|
|
102
109
|
BankAccountSchemeNameEnum,
|
|
103
110
|
BankAccountTransactionTypeEnum,
|
|
104
111
|
BankAccountTypeEnum,
|
|
112
|
+
BudgetTypeEnum,
|
|
105
113
|
FilterArgs,
|
|
106
114
|
MobilityTypeEnum,
|
|
107
115
|
PowensUserStatusEnum,
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/mobility-type.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n OTHER = \"OTHER\",\n}\n","export enum MobilityTypeEnum {\n CAR = \"CAR\",\n MOTORCYCLE = \"MOTORCYCLE\",\n BICYCLE = \"BICYCLE\",\n OTHER = \"OTHER\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from the sowhat app\n BLACK_LISTED = 'BLACK_LISTED',\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";AAAO,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,iBAAc;AACd,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,oBAAiB;AACjB,EAAAA,eAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,WAAQ;AACR,EAAAA,0BAAA,WAAQ;AAFE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;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AHI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,oBAAL;AAEL,EAAAA,gBAAA,eAAY;AAIZ,EAAAA,gBAAA,gBAAa;AAGb,EAAAA,gBAAA,aAAU;AAGV,EAAAA,gBAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","MobilityTypeEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/bank-account-scheme-name.ts","../src/enums/bank-account-transaction-type.enum.ts","../src/enums/bank-account-type.enum.ts","../src/enums/budget-type.enum.ts","../src/enums/mobility-type.enum.ts","../src/enums/powens-user-status.enum.ts","../src/enums/supported-currency-symbol.enum.ts","../src/enums/user-status.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export enum AssetTypeEnum {\n REAL_ESTATE = \"REAL_ESTATE\",\n MOBILITY = \"MOBILITY\",\n STOCK_EXCHANGE = \"STOCK_EXCHANGE\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n OTHER = \"OTHER\",\n}\n","export enum AuthenticationMethodEnum {\n PHONE = \"PHONE\",\n EMAIL = \"EMAIL\",\n}\n","export enum BankAccountSchemeNameEnum {\n IBAN = \"IBAN\",\n BBAN = \"BBAN\",\n SORT_CODE_ACCOUNT_NUMBER = \"SORT_CODE_ACCOUNT_NUMBER\",\n CPAN = \"CPAN\",\n TPAN = \"TPAN\",\n}\n","export enum BankAccountTransactionTypeEnum {\n TRANSFER = \"TRANSFER\", // Transfer\n ORDER = \"ORDER\", // Order\n CHECK = \"CHECK\", // Check\n DEPOSIT = \"DEPOSIT\", // Mandatory/voluntary deposits, contributions, money transfers\n PAYBACK = \"PAYBACK\", // Payback\n WITHDRAWAL = \"WITHDRAWAL\", // Withdrawal\n LOAN_REPAYMENT = \"LOAN_REPAYMENT\", // Loan payment\n BANK = \"BANK\", // Bank fees\n CARD = \"CARD\", // Card operation\n DEFERRED_CARD = \"DEFERRED_CARD\", // Deferred card operation\n SUMMARY_CARD = \"SUMMARY_CARD\", // Monthly debit of a deferred card\n UNKNOWN = \"UNKNOWN\", //Unknown transaction type\n MARKET_ORDER = \"MARKET_ORDER\", // Market order\n MARKET_FEE = \"MARKET_FEE\", // Fees regarding a market order\n ARBITRAGE = \"ARBITRAGE\", // Arbitrage\n PROFIT = \"PROFIT\", // Positive earnings from interests/coupons/dividends\n}\n","export enum BankAccountTypeEnum {\n CHECKING = \"CHECKING\",\n SAVINGS = \"SAVINGS\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum MobilityTypeEnum {\n CAR = \"CAR\",\n MOTORCYCLE = \"MOTORCYCLE\",\n BICYCLE = \"BICYCLE\",\n OTHER = \"OTHER\",\n}\n","export enum PowensUserStatusEnum {\n // User is registered on Powens and got a powens ID and a unique access token\n REGISTERED = 'REGISTERED',\n\n // User is currently trying to make a new connection to their bank account (transition state)\n ATTEMPTING_NEW_CONNECTION = 'ATTEMPTING_NEW_CONNECTION',\n\n // On error in Powens administration console\n ON_ERROR = 'ON_ERROR',\n\n // Powens administration console deleted the user\n DELETED = 'DELETED',\n}\n","export enum SupportedCurrencyEnum {\n EUR = '€',\n USD = '$',\n GBP = '£',\n}\n","export enum UserStatusEnum {\n // Anonymous, does not have a real account on sowhat (= a simple co-owner with no Clerk ID)\n ANONYMOUS = 'ANONYMOUS',\n\n // Real user, got a Clerk account.\n // note: Being registered on clerk first is mandatory to be registered on Powens.\n REGISTERED = 'REGISTERED',\n\n // The user is deleted and can't be used anymore\n DELETED = 'DELETED',\n\n // The user's email and/or phone are black-listed from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AAKC,oBAAL;AACL,EAAAA,gBAAA,YAAS;AACT,EAAAA,gBAAA,iBAAc;AAFJ,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,SAAM;AACN,EAAAA,kBAAA,gBAAa;AACb,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,WAAQ;AAJE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,uBAAL,kBAAKC,0BAAL;AAEL,EAAAA,sBAAA,gBAAa;AAGb,EAAAA,sBAAA,+BAA4B;AAG5B,EAAAA,sBAAA,cAAW;AAGX,EAAAA,sBAAA,aAAU;AAXA,SAAAA;AAAA,GAAA;;;ACAL,IAAK,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AACN,EAAAA,uBAAA,SAAM;AAHI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iBAAL,kBAAKC,oBAAL;AAEL,EAAAA,gBAAA,eAAY;AAIZ,EAAAA,gBAAA,gBAAa;AAGb,EAAAA,gBAAA,aAAU;AAGV,EAAAA,gBAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","MobilityTypeEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sowhat-types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.28",
|
|
4
4
|
"description": "Sowhat types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"author": "hugobayoud",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"devDependencies": {
|
|
18
|
+
"prettier": "^3.3.3",
|
|
18
19
|
"ts-node": "^10.9.2",
|
|
19
20
|
"tsup": "^8.2.3",
|
|
20
21
|
"typescript": "^5.5.4"
|