sowhat-types 2.0.63 → 2.0.64
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 +28 -18
- package/dist/index.d.ts +28 -18
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -224,6 +224,25 @@ interface UpdateBudgetIncomesAllocationInput {
|
|
|
224
224
|
bankAccountId?: string | null;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
interface CreateBudgetSavingsAllocationInput {
|
|
228
|
+
name: string;
|
|
229
|
+
icon: string;
|
|
230
|
+
color: string;
|
|
231
|
+
currency: string;
|
|
232
|
+
initialBalance: number;
|
|
233
|
+
theoricalValuePerMonth: number;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
interface UpdateBudgetSavingsAllocationInput {
|
|
237
|
+
id: string;
|
|
238
|
+
name?: string;
|
|
239
|
+
icon?: string;
|
|
240
|
+
color?: string;
|
|
241
|
+
theoricalValuePerMonth?: number;
|
|
242
|
+
balance?: number;
|
|
243
|
+
currency?: string;
|
|
244
|
+
}
|
|
245
|
+
|
|
227
246
|
interface UpdateUserInput {
|
|
228
247
|
currency?: AvailableCurrencyEnum;
|
|
229
248
|
consentToBudget?: boolean;
|
|
@@ -497,13 +516,11 @@ interface LogoutUserResponse {
|
|
|
497
516
|
isLoggedOut: boolean;
|
|
498
517
|
}
|
|
499
518
|
|
|
500
|
-
interface
|
|
519
|
+
interface SavingsMonthlyOperationResponse {
|
|
501
520
|
id: string;
|
|
502
|
-
applicationDate: Date;
|
|
503
521
|
value: number;
|
|
504
522
|
currency: string;
|
|
505
|
-
|
|
506
|
-
allocationId: string;
|
|
523
|
+
monthId: string;
|
|
507
524
|
}
|
|
508
525
|
|
|
509
526
|
interface BudgetExpensesAllocationDeletedResponse {
|
|
@@ -529,39 +546,32 @@ interface BudgetIncomesAllocationUpdatedResponse {
|
|
|
529
546
|
interface BudgetSavingsAllocationResponse {
|
|
530
547
|
id: string;
|
|
531
548
|
name: string;
|
|
532
|
-
budget: string;
|
|
533
549
|
icon: string;
|
|
534
550
|
color: string;
|
|
535
551
|
theoricalValuePerMonth: number;
|
|
536
|
-
value: number;
|
|
537
552
|
balance: number;
|
|
538
553
|
currency: string;
|
|
539
|
-
|
|
554
|
+
currentMonthlyOperation: SavingsMonthlyOperationResponse | null;
|
|
555
|
+
monthlyOperations: SavingsMonthlyOperationResponse[];
|
|
540
556
|
isDefault: boolean;
|
|
541
|
-
operations: BudgetOperationResponse[];
|
|
542
557
|
createdAt: Date;
|
|
543
558
|
updatedAt: Date | null;
|
|
544
559
|
}
|
|
545
560
|
|
|
546
|
-
interface
|
|
547
|
-
/**
|
|
548
|
-
* e.g. "12-2024"
|
|
549
|
-
*/
|
|
550
|
-
id: string;
|
|
551
|
-
currency: string;
|
|
561
|
+
interface UserSavingsBudgetResponse {
|
|
552
562
|
/**
|
|
553
|
-
* equal total user's savings, i.e. `
|
|
563
|
+
* equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
|
|
554
564
|
*/
|
|
555
|
-
|
|
565
|
+
availableSavingsBalance: number;
|
|
556
566
|
/**
|
|
557
567
|
* It is the value diff between the actual totalBalance and the value of the last report
|
|
558
568
|
* If `null`, there's no last report.
|
|
559
569
|
*/
|
|
560
|
-
vsLastMonth: number | null;
|
|
561
570
|
/**
|
|
562
571
|
* Equal `other assets` total balance
|
|
563
572
|
*/
|
|
564
573
|
lockedInSavingsBalance: number;
|
|
574
|
+
currency: string;
|
|
565
575
|
allocations: BudgetSavingsAllocationResponse[];
|
|
566
576
|
}
|
|
567
577
|
|
|
@@ -668,4 +678,4 @@ declare class FilterArgs {
|
|
|
668
678
|
take: number;
|
|
669
679
|
}
|
|
670
680
|
|
|
671
|
-
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, 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 BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type
|
|
681
|
+
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, 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 BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, 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 FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -224,6 +224,25 @@ interface UpdateBudgetIncomesAllocationInput {
|
|
|
224
224
|
bankAccountId?: string | null;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
interface CreateBudgetSavingsAllocationInput {
|
|
228
|
+
name: string;
|
|
229
|
+
icon: string;
|
|
230
|
+
color: string;
|
|
231
|
+
currency: string;
|
|
232
|
+
initialBalance: number;
|
|
233
|
+
theoricalValuePerMonth: number;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
interface UpdateBudgetSavingsAllocationInput {
|
|
237
|
+
id: string;
|
|
238
|
+
name?: string;
|
|
239
|
+
icon?: string;
|
|
240
|
+
color?: string;
|
|
241
|
+
theoricalValuePerMonth?: number;
|
|
242
|
+
balance?: number;
|
|
243
|
+
currency?: string;
|
|
244
|
+
}
|
|
245
|
+
|
|
227
246
|
interface UpdateUserInput {
|
|
228
247
|
currency?: AvailableCurrencyEnum;
|
|
229
248
|
consentToBudget?: boolean;
|
|
@@ -497,13 +516,11 @@ interface LogoutUserResponse {
|
|
|
497
516
|
isLoggedOut: boolean;
|
|
498
517
|
}
|
|
499
518
|
|
|
500
|
-
interface
|
|
519
|
+
interface SavingsMonthlyOperationResponse {
|
|
501
520
|
id: string;
|
|
502
|
-
applicationDate: Date;
|
|
503
521
|
value: number;
|
|
504
522
|
currency: string;
|
|
505
|
-
|
|
506
|
-
allocationId: string;
|
|
523
|
+
monthId: string;
|
|
507
524
|
}
|
|
508
525
|
|
|
509
526
|
interface BudgetExpensesAllocationDeletedResponse {
|
|
@@ -529,39 +546,32 @@ interface BudgetIncomesAllocationUpdatedResponse {
|
|
|
529
546
|
interface BudgetSavingsAllocationResponse {
|
|
530
547
|
id: string;
|
|
531
548
|
name: string;
|
|
532
|
-
budget: string;
|
|
533
549
|
icon: string;
|
|
534
550
|
color: string;
|
|
535
551
|
theoricalValuePerMonth: number;
|
|
536
|
-
value: number;
|
|
537
552
|
balance: number;
|
|
538
553
|
currency: string;
|
|
539
|
-
|
|
554
|
+
currentMonthlyOperation: SavingsMonthlyOperationResponse | null;
|
|
555
|
+
monthlyOperations: SavingsMonthlyOperationResponse[];
|
|
540
556
|
isDefault: boolean;
|
|
541
|
-
operations: BudgetOperationResponse[];
|
|
542
557
|
createdAt: Date;
|
|
543
558
|
updatedAt: Date | null;
|
|
544
559
|
}
|
|
545
560
|
|
|
546
|
-
interface
|
|
547
|
-
/**
|
|
548
|
-
* e.g. "12-2024"
|
|
549
|
-
*/
|
|
550
|
-
id: string;
|
|
551
|
-
currency: string;
|
|
561
|
+
interface UserSavingsBudgetResponse {
|
|
552
562
|
/**
|
|
553
|
-
* equal total user's savings, i.e. `
|
|
563
|
+
* equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
|
|
554
564
|
*/
|
|
555
|
-
|
|
565
|
+
availableSavingsBalance: number;
|
|
556
566
|
/**
|
|
557
567
|
* It is the value diff between the actual totalBalance and the value of the last report
|
|
558
568
|
* If `null`, there's no last report.
|
|
559
569
|
*/
|
|
560
|
-
vsLastMonth: number | null;
|
|
561
570
|
/**
|
|
562
571
|
* Equal `other assets` total balance
|
|
563
572
|
*/
|
|
564
573
|
lockedInSavingsBalance: number;
|
|
574
|
+
currency: string;
|
|
565
575
|
allocations: BudgetSavingsAllocationResponse[];
|
|
566
576
|
}
|
|
567
577
|
|
|
@@ -668,4 +678,4 @@ declare class FilterArgs {
|
|
|
668
678
|
take: number;
|
|
669
679
|
}
|
|
670
680
|
|
|
671
|
-
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, 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 BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type
|
|
681
|
+
export { type AccessTokensResponse, type AllocateTransactionInput, type AssetCoOwnerInput, type AssetCoOwnerResponse, AssetTypeEnum, type AuthenticationAccessResponse, AuthenticationMethodEnum, AvailableCurrencyEnum, 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 BudgetExpensesAllocationUpdatedResponse, type BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, type BudgetIncomesAllocationUpdatedResponse, type BudgetIncomesAllocationsResponse, type BudgetSavingsAllocationResponse, 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 FetchBankAccountTransactionsInput, type FetchBankAccountsListInput, type FetchUserCoOwnerInput, FilterArgs, type GlobalWealthStatisticsResponse, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, type MobilityUpdatedResponse, type OtherAssetDeletedResponse, type OtherAssetResponse, type OtherAssetUpdatedResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type RealEstateUpdatedResponse, type ReportBudgetResponse, type ReportValueResponse, type ReportWealthResponse, type SavingsMonthlyOperationResponse, SortEnum, type StockExchangeResponse, SupportedCurrencyEnum, type TimePaginationInput, type TimePaginationResponse, type TransactionBudgetAllocationsResponse, type UpdateBankAccountInput, type UpdateBankAccountTransactionInput, type UpdateBudgetExpensesAllocationInput, type UpdateBudgetIncomesAllocationInput, type UpdateBudgetSavingsAllocationInput, type UpdateMobilityInput, type UpdateOtherAssetInput, type UpdateRealEstateInput, type UpdateUserCoOwnerInput, type UpdateUserInput, type UserAssetsResponse, type UserCoOwnerResponse, type UserProfileResponse, type UserReportResponse, type UserSavingsBudgetResponse, type UserStatisticsResponse, UserStatusEnum, type UserUpdatedResponse };
|