sowhat-types 2.0.146 → 2.0.148
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 +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -160,6 +160,21 @@ declare enum UserStatusEnum {
|
|
|
160
160
|
BLACK_LISTED = "BLACK_LISTED"
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
declare enum QuestionCategoryEnum {
|
|
164
|
+
PERSONAL_INFORMATION = "PERSONAL_INFORMATION",
|
|
165
|
+
FINANCIAL_INFORMATION = "FINANCIAL_INFORMATION",
|
|
166
|
+
OTHER = "OTHER"
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare enum QuestionTypeEnum {
|
|
170
|
+
TEXT = "TEXT",
|
|
171
|
+
DATE = "DATE",
|
|
172
|
+
NUMBER = "NUMBER",
|
|
173
|
+
BOOLEAN = "BOOLEAN",
|
|
174
|
+
MULTI_CHOICE = "MULTI_CHOICE",
|
|
175
|
+
SINGLE_CHOICE = "SINGLE_CHOICE"
|
|
176
|
+
}
|
|
177
|
+
|
|
163
178
|
interface AssetCoOwnerInput {
|
|
164
179
|
id: string;
|
|
165
180
|
coOwnershipShare: number;
|
|
@@ -271,6 +286,7 @@ interface CreateBudgetExpensesAllocationInput {
|
|
|
271
286
|
theoricalValuePerMonth: number;
|
|
272
287
|
bankAccountId: string | null;
|
|
273
288
|
budgetId?: string | null;
|
|
289
|
+
fromParentId?: string | null;
|
|
274
290
|
}
|
|
275
291
|
|
|
276
292
|
interface DeleteBudgetExpensesAllocationInput {
|
|
@@ -296,6 +312,7 @@ interface CreateBudgetIncomesAllocationInput {
|
|
|
296
312
|
theoricalValuePerMonth: number;
|
|
297
313
|
bankAccountId: string | null;
|
|
298
314
|
budgetId?: string | null;
|
|
315
|
+
fromParentId?: string | null;
|
|
299
316
|
}
|
|
300
317
|
|
|
301
318
|
interface DeleteBudgetIncomesAllocationInput {
|
|
@@ -912,4 +929,4 @@ declare class FilterArgs {
|
|
|
912
929
|
take: number;
|
|
913
930
|
}
|
|
914
931
|
|
|
915
|
-
export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, 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, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
|
932
|
+
export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, 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, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, QuestionCategoryEnum, QuestionTypeEnum, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -160,6 +160,21 @@ declare enum UserStatusEnum {
|
|
|
160
160
|
BLACK_LISTED = "BLACK_LISTED"
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
declare enum QuestionCategoryEnum {
|
|
164
|
+
PERSONAL_INFORMATION = "PERSONAL_INFORMATION",
|
|
165
|
+
FINANCIAL_INFORMATION = "FINANCIAL_INFORMATION",
|
|
166
|
+
OTHER = "OTHER"
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare enum QuestionTypeEnum {
|
|
170
|
+
TEXT = "TEXT",
|
|
171
|
+
DATE = "DATE",
|
|
172
|
+
NUMBER = "NUMBER",
|
|
173
|
+
BOOLEAN = "BOOLEAN",
|
|
174
|
+
MULTI_CHOICE = "MULTI_CHOICE",
|
|
175
|
+
SINGLE_CHOICE = "SINGLE_CHOICE"
|
|
176
|
+
}
|
|
177
|
+
|
|
163
178
|
interface AssetCoOwnerInput {
|
|
164
179
|
id: string;
|
|
165
180
|
coOwnershipShare: number;
|
|
@@ -271,6 +286,7 @@ interface CreateBudgetExpensesAllocationInput {
|
|
|
271
286
|
theoricalValuePerMonth: number;
|
|
272
287
|
bankAccountId: string | null;
|
|
273
288
|
budgetId?: string | null;
|
|
289
|
+
fromParentId?: string | null;
|
|
274
290
|
}
|
|
275
291
|
|
|
276
292
|
interface DeleteBudgetExpensesAllocationInput {
|
|
@@ -296,6 +312,7 @@ interface CreateBudgetIncomesAllocationInput {
|
|
|
296
312
|
theoricalValuePerMonth: number;
|
|
297
313
|
bankAccountId: string | null;
|
|
298
314
|
budgetId?: string | null;
|
|
315
|
+
fromParentId?: string | null;
|
|
299
316
|
}
|
|
300
317
|
|
|
301
318
|
interface DeleteBudgetIncomesAllocationInput {
|
|
@@ -912,4 +929,4 @@ declare class FilterArgs {
|
|
|
912
929
|
take: number;
|
|
913
930
|
}
|
|
914
931
|
|
|
915
|
-
export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, 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, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
|
932
|
+
export { type AllocateMultipleTransactionsInput, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, AuthenticationMethodEnum, AvailableCurrencyEnum, BUDGET_ID_REGEX, 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 BatchUpdateUserAssetInput, type BatchUpdateUserAssetsInput, 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, EMAIL_REGEX, type ExactMatch, FetchPowensConnectionsTypeEnum, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LegalDocumentResponse, LegalDocumentTypeEnum, type LoanResponse, LoanTypeEnum, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type MultipleTransactionsAllocationResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationResponse, type PowensConnectWebviewResponse, type PowensConnectionDeletedResponse, type PowensConnectionResponse, PowensConnectionStateEnum, type PowensManageWebviewResponse, type PowensReconnectWebviewResponse, PowensUserStatusEnum, QuestionCategoryEnum, QuestionTypeEnum, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, type StockExchangeResponse, SupportedCurrencyEnum, type SwipableBudgetResponse, type SwipableBudgetsResponse, type TransactionAllocatedResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateArgs, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsBalancesResponse, type UserAssetsBatchUpdatedResponse, type UserAssetsResponse, type UserAuthenticatedResponse, type UserBankAccountRefreshedResponse, type UserBankAccountsRefreshedResponse, type UserCoOwnerResponse, type UserConsentResponse, type UserConsentsResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,8 @@ __export(src_exports, {
|
|
|
35
35
|
LoanTypeEnum: () => LoanTypeEnum,
|
|
36
36
|
PowensConnectionStateEnum: () => PowensConnectionStateEnum,
|
|
37
37
|
PowensUserStatusEnum: () => PowensUserStatusEnum,
|
|
38
|
+
QuestionCategoryEnum: () => QuestionCategoryEnum,
|
|
39
|
+
QuestionTypeEnum: () => QuestionTypeEnum,
|
|
38
40
|
SupportedCurrencyEnum: () => SupportedCurrencyEnum,
|
|
39
41
|
UserStatusEnum: () => UserStatusEnum
|
|
40
42
|
});
|
|
@@ -180,6 +182,25 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
|
|
|
180
182
|
return UserStatusEnum2;
|
|
181
183
|
})(UserStatusEnum || {});
|
|
182
184
|
|
|
185
|
+
// src/enums/question-category.enum.ts
|
|
186
|
+
var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
|
|
187
|
+
QuestionCategoryEnum2["PERSONAL_INFORMATION"] = "PERSONAL_INFORMATION";
|
|
188
|
+
QuestionCategoryEnum2["FINANCIAL_INFORMATION"] = "FINANCIAL_INFORMATION";
|
|
189
|
+
QuestionCategoryEnum2["OTHER"] = "OTHER";
|
|
190
|
+
return QuestionCategoryEnum2;
|
|
191
|
+
})(QuestionCategoryEnum || {});
|
|
192
|
+
|
|
193
|
+
// src/enums/question-type.enum.ts
|
|
194
|
+
var QuestionTypeEnum = /* @__PURE__ */ ((QuestionTypeEnum2) => {
|
|
195
|
+
QuestionTypeEnum2["TEXT"] = "TEXT";
|
|
196
|
+
QuestionTypeEnum2["DATE"] = "DATE";
|
|
197
|
+
QuestionTypeEnum2["NUMBER"] = "NUMBER";
|
|
198
|
+
QuestionTypeEnum2["BOOLEAN"] = "BOOLEAN";
|
|
199
|
+
QuestionTypeEnum2["MULTI_CHOICE"] = "MULTI_CHOICE";
|
|
200
|
+
QuestionTypeEnum2["SINGLE_CHOICE"] = "SINGLE_CHOICE";
|
|
201
|
+
return QuestionTypeEnum2;
|
|
202
|
+
})(QuestionTypeEnum || {});
|
|
203
|
+
|
|
183
204
|
// src/args/filter.args.ts
|
|
184
205
|
var FilterArgs = class {
|
|
185
206
|
constructor() {
|
|
@@ -204,6 +225,8 @@ var FilterArgs = class {
|
|
|
204
225
|
LoanTypeEnum,
|
|
205
226
|
PowensConnectionStateEnum,
|
|
206
227
|
PowensUserStatusEnum,
|
|
228
|
+
QuestionCategoryEnum,
|
|
229
|
+
QuestionTypeEnum,
|
|
207
230
|
SupportedCurrencyEnum,
|
|
208
231
|
UserStatusEnum
|
|
209
232
|
});
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/constants/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/legal-document-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 \"./constants\";\nexport * from \"./enums\";\nexport * from \"./inputs\";\nexport * from \"./responses\";\nexport * from \"./exact-match\";\nexport * from \"./args\";\n","export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\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 LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\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 = \"SCA_REQUIRED\",\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 = \"WEBAUTH_REQUIRED\",\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 = \"ADDITIONAL_INFORMATION_NEEDED\",\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 = \"ACTION_NEEDED\",\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 = \"PASSWORD_EXPIRED\",\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 = \"RATE_LIMITING\",\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 = \"WEBSITE_UNAVAILABLE\",\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 = \"NOT_SUPPORTED\",\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;AAAA;AAAA;AAAA;;;ACAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAA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L,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","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/constants/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/legal-document-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/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export * from \"./constants\";\nexport * from \"./enums\";\nexport * from \"./inputs\";\nexport * from \"./responses\";\nexport * from \"./exact-match\";\nexport * from \"./args\";\n","export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\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 LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\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 = \"SCA_REQUIRED\",\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 = \"WEBAUTH_REQUIRED\",\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 = \"ADDITIONAL_INFORMATION_NEEDED\",\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 = \"ACTION_NEEDED\",\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 = \"PASSWORD_EXPIRED\",\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 = \"RATE_LIMITING\",\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 = \"WEBSITE_UNAVAILABLE\",\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 = \"NOT_SUPPORTED\",\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 enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMB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A,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,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,WAAQ;AAHE,SAAAA;AAAA,GAAA;;;ACAL,IAAK,mBAAL,kBAAKC,sBAAL;AACL,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,UAAO;AACP,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
|
package/dist/index.mjs
CHANGED
|
@@ -138,6 +138,25 @@ var UserStatusEnum = /* @__PURE__ */ ((UserStatusEnum2) => {
|
|
|
138
138
|
return UserStatusEnum2;
|
|
139
139
|
})(UserStatusEnum || {});
|
|
140
140
|
|
|
141
|
+
// src/enums/question-category.enum.ts
|
|
142
|
+
var QuestionCategoryEnum = /* @__PURE__ */ ((QuestionCategoryEnum2) => {
|
|
143
|
+
QuestionCategoryEnum2["PERSONAL_INFORMATION"] = "PERSONAL_INFORMATION";
|
|
144
|
+
QuestionCategoryEnum2["FINANCIAL_INFORMATION"] = "FINANCIAL_INFORMATION";
|
|
145
|
+
QuestionCategoryEnum2["OTHER"] = "OTHER";
|
|
146
|
+
return QuestionCategoryEnum2;
|
|
147
|
+
})(QuestionCategoryEnum || {});
|
|
148
|
+
|
|
149
|
+
// src/enums/question-type.enum.ts
|
|
150
|
+
var QuestionTypeEnum = /* @__PURE__ */ ((QuestionTypeEnum2) => {
|
|
151
|
+
QuestionTypeEnum2["TEXT"] = "TEXT";
|
|
152
|
+
QuestionTypeEnum2["DATE"] = "DATE";
|
|
153
|
+
QuestionTypeEnum2["NUMBER"] = "NUMBER";
|
|
154
|
+
QuestionTypeEnum2["BOOLEAN"] = "BOOLEAN";
|
|
155
|
+
QuestionTypeEnum2["MULTI_CHOICE"] = "MULTI_CHOICE";
|
|
156
|
+
QuestionTypeEnum2["SINGLE_CHOICE"] = "SINGLE_CHOICE";
|
|
157
|
+
return QuestionTypeEnum2;
|
|
158
|
+
})(QuestionTypeEnum || {});
|
|
159
|
+
|
|
141
160
|
// src/args/filter.args.ts
|
|
142
161
|
var FilterArgs = class {
|
|
143
162
|
constructor() {
|
|
@@ -161,6 +180,8 @@ export {
|
|
|
161
180
|
LoanTypeEnum,
|
|
162
181
|
PowensConnectionStateEnum,
|
|
163
182
|
PowensUserStatusEnum,
|
|
183
|
+
QuestionCategoryEnum,
|
|
184
|
+
QuestionTypeEnum,
|
|
164
185
|
SupportedCurrencyEnum,
|
|
165
186
|
UserStatusEnum
|
|
166
187
|
};
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/constants/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/legal-document-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 const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\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 LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\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 = \"SCA_REQUIRED\",\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 = \"WEBAUTH_REQUIRED\",\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 = \"ADDITIONAL_INFORMATION_NEEDED\",\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 = \"ACTION_NEEDED\",\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 = \"PASSWORD_EXPIRED\",\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 = \"RATE_LIMITING\",\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 = \"WEBSITE_UNAVAILABLE\",\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 = \"NOT_SUPPORTED\",\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,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,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,kBAAK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InB,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","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum"]}
|
|
1
|
+
{"version":3,"sources":["../src/constants/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/legal-document-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/enums/question-category.enum.ts","../src/enums/question-type.enum.ts","../src/args/filter.args.ts"],"sourcesContent":["export const EMAIL_REGEX =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const BUDGET_ID_REGEX = /^(0[1-9]|1[0-2])-\\d{4}$/;\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 LegalDocumentTypeEnum {\n TERMS_OF_USAGE = \"TERMS_OF_USAGE\",\n PRIVACY_POLICY = \"PRIVACY_POLICY\",\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 = \"SCA_REQUIRED\",\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 = \"WEBAUTH_REQUIRED\",\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 = \"ADDITIONAL_INFORMATION_NEEDED\",\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 = \"ACTION_NEEDED\",\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 = \"PASSWORD_EXPIRED\",\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 = \"RATE_LIMITING\",\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 = \"WEBSITE_UNAVAILABLE\",\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 = \"NOT_SUPPORTED\",\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 enum QuestionCategoryEnum {\n PERSONAL_INFORMATION = \"PERSONAL_INFORMATION\",\n FINANCIAL_INFORMATION = \"FINANCIAL_INFORMATION\",\n OTHER = \"OTHER\",\n}\n","export enum QuestionTypeEnum {\n TEXT = \"TEXT\",\n DATE = \"DATE\",\n NUMBER = \"NUMBER\",\n BOOLEAN = \"BOOLEAN\",\n MULTI_CHOICE = \"MULTI_CHOICE\",\n SINGLE_CHOICE = \"SINGLE_CHOICE\",\n}\n","export class FilterArgs {\n skip = 0;\n take = 25;\n}\n"],"mappings":";AAAO,IAAM,cACX;AAEK,IAAM,kBAAkB;;;ACHxB,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,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Ae;AACf,EAAAA,kBAAA,mBAAgB;AANN,SAAAA;AAAA,GAAA;;;ACAL,IAAM,aAAN,MAAiB;AAAA,EAAjB;AACL,gBAAO;AACP,gBAAO;AAAA;AACT;","names":["AssetTypeEnum","AuthenticationMethodEnum","AvailableCurrencyEnum","BankAccountSchemeNameEnum","BankAccountTransactionTypeEnum","BankAccountTypeEnum","BudgetTypeEnum","FetchPowensConnectionsTypeEnum","LegalDocumentTypeEnum","LoanTypeEnum","PowensConnectionStateEnum","PowensUserStatusEnum","SupportedCurrencyEnum","UserStatusEnum","QuestionCategoryEnum","QuestionTypeEnum"]}
|