sowhat-types 2.0.103 → 2.0.104
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 +8 -3
- package/dist/index.d.ts +8 -3
- 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 +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -54,6 +54,11 @@ declare enum BudgetTypeEnum {
|
|
|
54
54
|
EXPENDITURE = "EXPENDITURE"
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
declare enum FetchPowensConnectionsTypeEnum {
|
|
58
|
+
ALL = "all",
|
|
59
|
+
USER_ACTION_REQUIRED = "user_action_required"
|
|
60
|
+
}
|
|
61
|
+
|
|
57
62
|
declare enum LoanTypeEnum {
|
|
58
63
|
MORTGAGE = "mortgage",
|
|
59
64
|
CONSUMER_CREDIT = "consumercredit",
|
|
@@ -706,9 +711,9 @@ interface UserCoOwnerResponse extends CoOwnerResponse {
|
|
|
706
711
|
numberOfCoOwnAssets: number;
|
|
707
712
|
}
|
|
708
713
|
|
|
709
|
-
interface
|
|
714
|
+
interface PowensConnectionResponse {
|
|
710
715
|
id: string;
|
|
711
|
-
state: PowensConnectionStateEnum;
|
|
716
|
+
state: PowensConnectionStateEnum | null;
|
|
712
717
|
errorMessage: string | null;
|
|
713
718
|
accounts: BankAccountResponse[];
|
|
714
719
|
}
|
|
@@ -796,4 +801,4 @@ declare class FilterArgs {
|
|
|
796
801
|
take: number;
|
|
797
802
|
}
|
|
798
803
|
|
|
799
|
-
export { type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type
|
|
804
|
+
export { type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,11 @@ declare enum BudgetTypeEnum {
|
|
|
54
54
|
EXPENDITURE = "EXPENDITURE"
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
declare enum FetchPowensConnectionsTypeEnum {
|
|
58
|
+
ALL = "all",
|
|
59
|
+
USER_ACTION_REQUIRED = "user_action_required"
|
|
60
|
+
}
|
|
61
|
+
|
|
57
62
|
declare enum LoanTypeEnum {
|
|
58
63
|
MORTGAGE = "mortgage",
|
|
59
64
|
CONSUMER_CREDIT = "consumercredit",
|
|
@@ -706,9 +711,9 @@ interface UserCoOwnerResponse extends CoOwnerResponse {
|
|
|
706
711
|
numberOfCoOwnAssets: number;
|
|
707
712
|
}
|
|
708
713
|
|
|
709
|
-
interface
|
|
714
|
+
interface PowensConnectionResponse {
|
|
710
715
|
id: string;
|
|
711
|
-
state: PowensConnectionStateEnum;
|
|
716
|
+
state: PowensConnectionStateEnum | null;
|
|
712
717
|
errorMessage: string | null;
|
|
713
718
|
accounts: BankAccountResponse[];
|
|
714
719
|
}
|
|
@@ -796,4 +801,4 @@ declare class FilterArgs {
|
|
|
796
801
|
take: number;
|
|
797
802
|
}
|
|
798
803
|
|
|
799
|
-
export { type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type
|
|
804
|
+
export { type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BatchUpdateBudgetSavingsAllocationInput, type BatchUpdateBudgetSavingsAllocationsInput, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsBatchUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsBatchUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetResponse, type BudgetSavingsAllocationDeletedResponse, type BudgetSavingsAllocationResponse, type BudgetSavingsAllocationUpdatedResponse, type BudgetSavingsAllocationsBatchUpdatedResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CoOwnerUpdatedResponse, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateBudgetSavingsAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(src_exports, {
|
|
|
27
27
|
BankAccountTransactionTypeEnum: () => BankAccountTransactionTypeEnum,
|
|
28
28
|
BankAccountTypeEnum: () => BankAccountTypeEnum,
|
|
29
29
|
BudgetTypeEnum: () => BudgetTypeEnum,
|
|
30
|
+
FetchPowensConnectionsTypeEnum: () => FetchPowensConnectionsTypeEnum,
|
|
30
31
|
FilterArgs: () => FilterArgs,
|
|
31
32
|
LoanTypeEnum: () => LoanTypeEnum,
|
|
32
33
|
PowensConnectionStateEnum: () => PowensConnectionStateEnum,
|
|
@@ -106,6 +107,13 @@ var BudgetTypeEnum = /* @__PURE__ */ ((BudgetTypeEnum2) => {
|
|
|
106
107
|
return BudgetTypeEnum2;
|
|
107
108
|
})(BudgetTypeEnum || {});
|
|
108
109
|
|
|
110
|
+
// src/enums/fetch-powens-connections-type.enum.ts
|
|
111
|
+
var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTypeEnum2) => {
|
|
112
|
+
FetchPowensConnectionsTypeEnum2["ALL"] = "all";
|
|
113
|
+
FetchPowensConnectionsTypeEnum2["USER_ACTION_REQUIRED"] = "user_action_required";
|
|
114
|
+
return FetchPowensConnectionsTypeEnum2;
|
|
115
|
+
})(FetchPowensConnectionsTypeEnum || {});
|
|
116
|
+
|
|
109
117
|
// src/enums/loan-type.enum.ts
|
|
110
118
|
var LoanTypeEnum = /* @__PURE__ */ ((LoanTypeEnum2) => {
|
|
111
119
|
LoanTypeEnum2["MORTGAGE"] = "mortgage";
|
|
@@ -174,6 +182,7 @@ var FilterArgs = class {
|
|
|
174
182
|
BankAccountTransactionTypeEnum,
|
|
175
183
|
BankAccountTypeEnum,
|
|
176
184
|
BudgetTypeEnum,
|
|
185
|
+
FetchPowensConnectionsTypeEnum,
|
|
177
186
|
FilterArgs,
|
|
178
187
|
LoanTypeEnum,
|
|
179
188
|
PowensConnectionStateEnum,
|
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/available-currency.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/loan-type.enum.ts","../src/enums/powens-connection-state.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 AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\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 LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCARequired\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"webauthRequired\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"additionalInformationNeeded\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"decoupled\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"validating\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"actionNeeded\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"passwordExpired\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"wrongpass\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"rateLimiting\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"websiteUnavailable\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"bug\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"notSupported\",\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;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,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;AADI,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;AACL,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,8BAA2B;AAC3B,EAAAA,2BAAA,UAAO;AACP,EAAAA,2BAAA,UAAO;AALG,SAAAA;AAAA,GAAA;;;ACAL,IAAK,iCAAL,kBAAKC,oCAAL;AACL,EAAAA,gCAAA,cAAW;AACX,EAAAA,gCAAA,WAAQ;AACR,EAA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A,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","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.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/fetch-powens-connections-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.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 AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\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 LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"all\",\n USER_ACTION_REQUIRED = \"user_action_required\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCARequired\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"webauthRequired\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"additionalInformationNeeded\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"decoupled\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"validating\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"actionNeeded\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"passwordExpired\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"wrongpass\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"rateLimiting\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"websiteUnavailable\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"bug\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"notSupported\",\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;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,0BA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ACL,EAAAA,cAAA,cAAW;AACX,EAAAA,cAAA,qBAAkB;AAClB,EAAAA,cAAA,sBAAmB;AACnB,EAAAA,cAAA,aAAU;AAJA,SAAAA;AAAA,GAAA;;;ACAL,IAAK,4BAAL,kBAAKC,+BAAL;AAKL,EAAAA,2BAAA,kBAAe;AAMf,EAAAA,2BAAA,sBAAmB;AAInB,EAAAA,2BAAA,mCAAgC;AAIhC,EAAAA,2BAAA,eAAY;AAIZ,EAAAA,2BAAA,gBAAa;AAMb,EAAAA,2BAAA,mBAAgB;AAMhB,EAAAA,2BAAA,sBAAmB;AAMnB,EAAAA,2BAAA,eAAY;AAMZ,EAAAA,2BAAA,mBAAgB;AAMhB,EAAAA,2BAAA,yBAAsB;AAMtB,EAAAA,2BAAA,SAAM;AAIN,EAAAA,2BAAA,mBAAgB;AA/DN,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","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
package/dist/index.mjs
CHANGED
|
@@ -68,6 +68,13 @@ var BudgetTypeEnum = /* @__PURE__ */ ((BudgetTypeEnum2) => {
|
|
|
68
68
|
return BudgetTypeEnum2;
|
|
69
69
|
})(BudgetTypeEnum || {});
|
|
70
70
|
|
|
71
|
+
// src/enums/fetch-powens-connections-type.enum.ts
|
|
72
|
+
var FetchPowensConnectionsTypeEnum = /* @__PURE__ */ ((FetchPowensConnectionsTypeEnum2) => {
|
|
73
|
+
FetchPowensConnectionsTypeEnum2["ALL"] = "all";
|
|
74
|
+
FetchPowensConnectionsTypeEnum2["USER_ACTION_REQUIRED"] = "user_action_required";
|
|
75
|
+
return FetchPowensConnectionsTypeEnum2;
|
|
76
|
+
})(FetchPowensConnectionsTypeEnum || {});
|
|
77
|
+
|
|
71
78
|
// src/enums/loan-type.enum.ts
|
|
72
79
|
var LoanTypeEnum = /* @__PURE__ */ ((LoanTypeEnum2) => {
|
|
73
80
|
LoanTypeEnum2["MORTGAGE"] = "mortgage";
|
|
@@ -135,6 +142,7 @@ export {
|
|
|
135
142
|
BankAccountTransactionTypeEnum,
|
|
136
143
|
BankAccountTypeEnum,
|
|
137
144
|
BudgetTypeEnum,
|
|
145
|
+
FetchPowensConnectionsTypeEnum,
|
|
138
146
|
FilterArgs,
|
|
139
147
|
LoanTypeEnum,
|
|
140
148
|
PowensConnectionStateEnum,
|
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/available-currency.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/loan-type.enum.ts","../src/enums/powens-connection-state.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 AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\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 LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCARequired\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"webauthRequired\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"additionalInformationNeeded\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"decoupled\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"validating\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"actionNeeded\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"passwordExpired\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"wrongpass\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"rateLimiting\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"websiteUnavailable\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"bug\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"notSupported\",\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,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,SAAM;A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AAmB;AAInB,EAAAA,2BAAA,mCAAgC;AAIhC,EAAAA,2BAAA,eAAY;AAIZ,EAAAA,2BAAA,gBAAa;AAMb,EAAAA,2BAAA,mBAAgB;AAMhB,EAAAA,2BAAA,sBAAmB;AAMnB,EAAAA,2BAAA,eAAY;AAMZ,EAAAA,2BAAA,mBAAgB;AAMhB,EAAAA,2BAAA,yBAAsB;AAMtB,EAAAA,2BAAA,SAAM;AAIN,EAAAA,2BAAA,mBAAgB;AA/DN,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","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/enums/asset-type.enum.ts","../src/enums/authentication-method.enum.ts","../src/enums/available-currency.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/fetch-powens-connections-type.enum.ts","../src/enums/loan-type.enum.ts","../src/enums/powens-connection-state.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 AvailableCurrencyEnum {\n EUR = \"€\",\n // USD = \"$\",\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 LOAN = \"LOAN\",\n OTHER = \"OTHER\",\n}\n","export enum BudgetTypeEnum {\n INCOME = 'INCOME',\n EXPENDITURE = 'EXPENDITURE',\n}\n","export enum FetchPowensConnectionsTypeEnum {\n ALL = \"all\",\n USER_ACTION_REQUIRED = \"user_action_required\",\n}\n","export enum LoanTypeEnum {\n MORTGAGE = \"mortgage\",\n CONSUMER_CREDIT = \"consumercredit\",\n RESOLVING_CREDIT = \"revolvingcredit\",\n UNKNOWN = \"unknown\",\n}\n","export enum PowensConnectionStateEnum {\n /**\n * An SCA process must be performed to resume the synchronization process.\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n */\n SCA_REQUIRED = \"SCARequired\",\n /**\n * Synchronization is suspended because we need user consent or SCA to proceed. You should present this error prominently.\n * A web-based authentication process is required using the /webauth endpoint.\n * endpoint /webauth: https://docs.powens.com/api-reference/user-connections/connections#webauthurl-object\n */\n WEBAUTH_REQUIRED = \"webauthRequired\",\n /**\n * Additional information is needed to resume synchronization, such as an OTP. Connections in this state have a fields property.\n */\n ADDITIONAL_INFORMATION_NEEDED = \"additionalInformationNeeded\",\n /**\n * User validation is required on a third-party app or device (ex: digital key).\n */\n DECOUPLED = \"decoupled\",\n /**\n * User validation is being processed on our side. This state is temporary.\n */\n VALIDATING = \"validating\",\n /**\n * An action is needed on the website by the user, synchronization is blocked.\n * Synchronization failed because the user needs to perform an action directly on the bank website or app (usually, accept new CGUs or similar one-time actions).\n * You should present this error prominently\n */\n ACTION_NEEDED = \"actionNeeded\",\n /**\n * The password has expired and needs to be changed by the user before the synchronization can be retried.\n * Synchronization failed because the user needs to renew its password on the bank website.\n * You should present this error prominently and prompt the user for his new password afterwards.\n */\n PASSWORD_EXPIRED = \"passwordExpired\",\n /**\n * The authentication on website has failed and new credentials must be obtained from the user. Connections in this state have a fields property\n * Synchronization failed because the credentials we own are invalid or obsolete.\n * You should present this error prominently\n */\n WRONGPASS = \"wrongpass\",\n /**\n * The target website or API is temporarily blocking synchronizations due to rate limiting.\n * Synchronization failed because the target website or API is temporarily blocking synchronizations due to rate limiting.\n * We will retry after a delay and connections in this state will be resumed automatically.\n */\n RATE_LIMITING = \"rateLimiting\",\n /**\n * The connector website or API is unavailable.\n * Synchronization failed because the targeted API or website is temporarily unavailable.\n * We will periodically retry to sync.\n */\n WEBSITE_UNAVAILABLE = \"websiteUnavailable\",\n /**\n * An internal error has occurred during the synchronization.\n * Synchronization failed because of an error from our side. We monitor errors and do our best to fix them quickly.\n * Connections in this state will be resumed automatically after the error is fixed.\n */\n BUG = \"bug\",\n /**\n * The source is not supported on the connector\n */\n NOT_SUPPORTED = \"notSupported\",\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,WAA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num","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|