sowhat-types 2.0.38 → 2.0.40
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 +43 -12
- package/dist/index.d.ts +43 -12
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -89,15 +89,18 @@ interface AllocateTransactionInput {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
interface PaginationInput {
|
|
92
|
-
offset: number
|
|
93
|
-
limit: number
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
offset: number;
|
|
93
|
+
limit: number;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface TimePaginationInput extends PaginationInput {
|
|
97
|
+
startDate: Date;
|
|
98
|
+
endDate: Date;
|
|
96
99
|
}
|
|
97
100
|
|
|
98
101
|
interface FetchBankAccountTransactionsInput {
|
|
99
102
|
accountId: string;
|
|
100
|
-
pagination:
|
|
103
|
+
pagination: TimePaginationInput;
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
interface UpdateBankAccountTransactionInput {
|
|
@@ -296,17 +299,15 @@ interface BankAccountTransactionCounterpartyResponse {
|
|
|
296
299
|
type: string | null;
|
|
297
300
|
}
|
|
298
301
|
|
|
299
|
-
interface
|
|
300
|
-
|
|
301
|
-
|
|
302
|
+
interface TimePaginationResponse {
|
|
303
|
+
startDate: Date;
|
|
304
|
+
endDate: Date;
|
|
302
305
|
hasMore: boolean;
|
|
303
|
-
startDate: Date | null;
|
|
304
|
-
endDate: Date | null;
|
|
305
306
|
}
|
|
306
307
|
|
|
307
308
|
interface BankAccountTransactionsResponse {
|
|
308
309
|
transactions: BankAccountTransactionResponse[];
|
|
309
|
-
pagination:
|
|
310
|
+
pagination: TimePaginationResponse;
|
|
310
311
|
}
|
|
311
312
|
|
|
312
313
|
interface BankAccountUpdatedResponse {
|
|
@@ -498,6 +499,36 @@ interface AssetsResponse {
|
|
|
498
499
|
otherAssets: OtherAssetResponse[];
|
|
499
500
|
}
|
|
500
501
|
|
|
502
|
+
interface PaginationResponse {
|
|
503
|
+
offset: number;
|
|
504
|
+
limit: number;
|
|
505
|
+
hasMore: boolean;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface ReportValueResponse {
|
|
509
|
+
value: number | null;
|
|
510
|
+
vsLastMonthPercent: number | null;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
interface ReportBudgetResponse {
|
|
514
|
+
incomes: ReportValueResponse;
|
|
515
|
+
expenses: ReportValueResponse;
|
|
516
|
+
savings: ReportValueResponse;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
interface ReportWealthResponse {
|
|
520
|
+
balanceCheckingAccounts: ReportValueResponse;
|
|
521
|
+
balanceSavingsAccounts: ReportValueResponse;
|
|
522
|
+
balanceAssets: ReportValueResponse;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
interface UserReportResponse {
|
|
526
|
+
userId: string;
|
|
527
|
+
reportId: string;
|
|
528
|
+
budget: ReportBudgetResponse | null;
|
|
529
|
+
wealth: ReportWealthResponse;
|
|
530
|
+
}
|
|
531
|
+
|
|
501
532
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
502
533
|
|
|
503
534
|
declare class FilterArgs {
|
|
@@ -505,4 +536,4 @@ declare class FilterArgs {
|
|
|
505
536
|
take: number;
|
|
506
537
|
}
|
|
507
538
|
|
|
508
|
-
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, type UserStatisticsResponse, UserStatusEnum };
|
|
539
|
+
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserReportResponse, type UserResponse, type UserStatisticsResponse, UserStatusEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -89,15 +89,18 @@ interface AllocateTransactionInput {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
interface PaginationInput {
|
|
92
|
-
offset: number
|
|
93
|
-
limit: number
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
offset: number;
|
|
93
|
+
limit: number;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface TimePaginationInput extends PaginationInput {
|
|
97
|
+
startDate: Date;
|
|
98
|
+
endDate: Date;
|
|
96
99
|
}
|
|
97
100
|
|
|
98
101
|
interface FetchBankAccountTransactionsInput {
|
|
99
102
|
accountId: string;
|
|
100
|
-
pagination:
|
|
103
|
+
pagination: TimePaginationInput;
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
interface UpdateBankAccountTransactionInput {
|
|
@@ -296,17 +299,15 @@ interface BankAccountTransactionCounterpartyResponse {
|
|
|
296
299
|
type: string | null;
|
|
297
300
|
}
|
|
298
301
|
|
|
299
|
-
interface
|
|
300
|
-
|
|
301
|
-
|
|
302
|
+
interface TimePaginationResponse {
|
|
303
|
+
startDate: Date;
|
|
304
|
+
endDate: Date;
|
|
302
305
|
hasMore: boolean;
|
|
303
|
-
startDate: Date | null;
|
|
304
|
-
endDate: Date | null;
|
|
305
306
|
}
|
|
306
307
|
|
|
307
308
|
interface BankAccountTransactionsResponse {
|
|
308
309
|
transactions: BankAccountTransactionResponse[];
|
|
309
|
-
pagination:
|
|
310
|
+
pagination: TimePaginationResponse;
|
|
310
311
|
}
|
|
311
312
|
|
|
312
313
|
interface BankAccountUpdatedResponse {
|
|
@@ -498,6 +499,36 @@ interface AssetsResponse {
|
|
|
498
499
|
otherAssets: OtherAssetResponse[];
|
|
499
500
|
}
|
|
500
501
|
|
|
502
|
+
interface PaginationResponse {
|
|
503
|
+
offset: number;
|
|
504
|
+
limit: number;
|
|
505
|
+
hasMore: boolean;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface ReportValueResponse {
|
|
509
|
+
value: number | null;
|
|
510
|
+
vsLastMonthPercent: number | null;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
interface ReportBudgetResponse {
|
|
514
|
+
incomes: ReportValueResponse;
|
|
515
|
+
expenses: ReportValueResponse;
|
|
516
|
+
savings: ReportValueResponse;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
interface ReportWealthResponse {
|
|
520
|
+
balanceCheckingAccounts: ReportValueResponse;
|
|
521
|
+
balanceSavingsAccounts: ReportValueResponse;
|
|
522
|
+
balanceAssets: ReportValueResponse;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
interface UserReportResponse {
|
|
526
|
+
userId: string;
|
|
527
|
+
reportId: string;
|
|
528
|
+
budget: ReportBudgetResponse | null;
|
|
529
|
+
wealth: ReportWealthResponse;
|
|
530
|
+
}
|
|
531
|
+
|
|
501
532
|
type ExactMatch<T, U extends T> = T & Record<keyof T, keyof U>;
|
|
502
533
|
|
|
503
534
|
declare class FilterArgs {
|
|
@@ -505,4 +536,4 @@ declare class FilterArgs {
|
|
|
505
536
|
take: number;
|
|
506
537
|
}
|
|
507
538
|
|
|
508
|
-
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, type UserStatisticsResponse, UserStatusEnum };
|
|
539
|
+
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountUpdatedResponse, type BankAccountsBatchUpdatedResponse, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationsResponse, BudgetTypeEnum, type CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateBudgetExpensesAllocationInput, type CreateBudgetIncomesAllocationInput, type CreateMobilityInput, type CreateOtherAssetInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteBudgetExpensesAllocationInput, type DeleteBudgetIncomesAllocationInput, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetDeletedResponse, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserReportResponse, type UserResponse, type UserStatisticsResponse, UserStatusEnum };
|