sowhat-types 2.0.62 → 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 +58 -18
- package/dist/index.d.ts +58 -18
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -191,6 +191,16 @@ interface DeleteBudgetExpensesAllocationInput {
|
|
|
191
191
|
id: string;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
interface UpdateBudgetExpensesAllocationInput {
|
|
195
|
+
id: string;
|
|
196
|
+
name?: string;
|
|
197
|
+
icon?: string;
|
|
198
|
+
color?: string;
|
|
199
|
+
currency?: string;
|
|
200
|
+
theoricalValuePerMonth?: number;
|
|
201
|
+
bankAccountId?: string | null;
|
|
202
|
+
}
|
|
203
|
+
|
|
194
204
|
interface CreateBudgetIncomesAllocationInput {
|
|
195
205
|
name: string;
|
|
196
206
|
icon: string;
|
|
@@ -204,6 +214,35 @@ interface DeleteBudgetIncomesAllocationInput {
|
|
|
204
214
|
id: string;
|
|
205
215
|
}
|
|
206
216
|
|
|
217
|
+
interface UpdateBudgetIncomesAllocationInput {
|
|
218
|
+
id: string;
|
|
219
|
+
name?: string;
|
|
220
|
+
icon?: string;
|
|
221
|
+
color?: string;
|
|
222
|
+
currency?: string;
|
|
223
|
+
theoricalValuePerMonth?: number;
|
|
224
|
+
bankAccountId?: string | null;
|
|
225
|
+
}
|
|
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
|
+
|
|
207
246
|
interface UpdateUserInput {
|
|
208
247
|
currency?: AvailableCurrencyEnum;
|
|
209
248
|
consentToBudget?: boolean;
|
|
@@ -477,13 +516,11 @@ interface LogoutUserResponse {
|
|
|
477
516
|
isLoggedOut: boolean;
|
|
478
517
|
}
|
|
479
518
|
|
|
480
|
-
interface
|
|
519
|
+
interface SavingsMonthlyOperationResponse {
|
|
481
520
|
id: string;
|
|
482
|
-
applicationDate: Date;
|
|
483
521
|
value: number;
|
|
484
522
|
currency: string;
|
|
485
|
-
|
|
486
|
-
allocationId: string;
|
|
523
|
+
monthId: string;
|
|
487
524
|
}
|
|
488
525
|
|
|
489
526
|
interface BudgetExpensesAllocationDeletedResponse {
|
|
@@ -491,47 +528,50 @@ interface BudgetExpensesAllocationDeletedResponse {
|
|
|
491
528
|
errorMessage: string | null;
|
|
492
529
|
}
|
|
493
530
|
|
|
531
|
+
interface BudgetExpensesAllocationUpdatedResponse {
|
|
532
|
+
updated: boolean;
|
|
533
|
+
errorMessage: string | null;
|
|
534
|
+
}
|
|
535
|
+
|
|
494
536
|
interface BudgetIncomesAllocationDeletedResponse {
|
|
495
537
|
deleted: boolean;
|
|
496
538
|
errorMessage: string | null;
|
|
497
539
|
}
|
|
498
540
|
|
|
541
|
+
interface BudgetIncomesAllocationUpdatedResponse {
|
|
542
|
+
updated: boolean;
|
|
543
|
+
errorMessage: string | null;
|
|
544
|
+
}
|
|
545
|
+
|
|
499
546
|
interface BudgetSavingsAllocationResponse {
|
|
500
547
|
id: string;
|
|
501
548
|
name: string;
|
|
502
|
-
budget: string;
|
|
503
549
|
icon: string;
|
|
504
550
|
color: string;
|
|
505
551
|
theoricalValuePerMonth: number;
|
|
506
|
-
value: number;
|
|
507
552
|
balance: number;
|
|
508
553
|
currency: string;
|
|
509
|
-
|
|
554
|
+
currentMonthlyOperation: SavingsMonthlyOperationResponse | null;
|
|
555
|
+
monthlyOperations: SavingsMonthlyOperationResponse[];
|
|
510
556
|
isDefault: boolean;
|
|
511
|
-
operations: BudgetOperationResponse[];
|
|
512
557
|
createdAt: Date;
|
|
513
558
|
updatedAt: Date | null;
|
|
514
559
|
}
|
|
515
560
|
|
|
516
|
-
interface
|
|
561
|
+
interface UserSavingsBudgetResponse {
|
|
517
562
|
/**
|
|
518
|
-
* e.
|
|
563
|
+
* equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
|
|
519
564
|
*/
|
|
520
|
-
|
|
521
|
-
currency: string;
|
|
522
|
-
/**
|
|
523
|
-
* equal total user's savings, i.e. `other assets` + `sum of savings bank accounts`
|
|
524
|
-
*/
|
|
525
|
-
totalBalance: number;
|
|
565
|
+
availableSavingsBalance: number;
|
|
526
566
|
/**
|
|
527
567
|
* It is the value diff between the actual totalBalance and the value of the last report
|
|
528
568
|
* If `null`, there's no last report.
|
|
529
569
|
*/
|
|
530
|
-
vsLastMonth: number | null;
|
|
531
570
|
/**
|
|
532
571
|
* Equal `other assets` total balance
|
|
533
572
|
*/
|
|
534
573
|
lockedInSavingsBalance: number;
|
|
574
|
+
currency: string;
|
|
535
575
|
allocations: BudgetSavingsAllocationResponse[];
|
|
536
576
|
}
|
|
537
577
|
|
|
@@ -638,4 +678,4 @@ declare class FilterArgs {
|
|
|
638
678
|
take: number;
|
|
639
679
|
}
|
|
640
680
|
|
|
641
|
-
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 BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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
|
@@ -191,6 +191,16 @@ interface DeleteBudgetExpensesAllocationInput {
|
|
|
191
191
|
id: string;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
interface UpdateBudgetExpensesAllocationInput {
|
|
195
|
+
id: string;
|
|
196
|
+
name?: string;
|
|
197
|
+
icon?: string;
|
|
198
|
+
color?: string;
|
|
199
|
+
currency?: string;
|
|
200
|
+
theoricalValuePerMonth?: number;
|
|
201
|
+
bankAccountId?: string | null;
|
|
202
|
+
}
|
|
203
|
+
|
|
194
204
|
interface CreateBudgetIncomesAllocationInput {
|
|
195
205
|
name: string;
|
|
196
206
|
icon: string;
|
|
@@ -204,6 +214,35 @@ interface DeleteBudgetIncomesAllocationInput {
|
|
|
204
214
|
id: string;
|
|
205
215
|
}
|
|
206
216
|
|
|
217
|
+
interface UpdateBudgetIncomesAllocationInput {
|
|
218
|
+
id: string;
|
|
219
|
+
name?: string;
|
|
220
|
+
icon?: string;
|
|
221
|
+
color?: string;
|
|
222
|
+
currency?: string;
|
|
223
|
+
theoricalValuePerMonth?: number;
|
|
224
|
+
bankAccountId?: string | null;
|
|
225
|
+
}
|
|
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
|
+
|
|
207
246
|
interface UpdateUserInput {
|
|
208
247
|
currency?: AvailableCurrencyEnum;
|
|
209
248
|
consentToBudget?: boolean;
|
|
@@ -477,13 +516,11 @@ interface LogoutUserResponse {
|
|
|
477
516
|
isLoggedOut: boolean;
|
|
478
517
|
}
|
|
479
518
|
|
|
480
|
-
interface
|
|
519
|
+
interface SavingsMonthlyOperationResponse {
|
|
481
520
|
id: string;
|
|
482
|
-
applicationDate: Date;
|
|
483
521
|
value: number;
|
|
484
522
|
currency: string;
|
|
485
|
-
|
|
486
|
-
allocationId: string;
|
|
523
|
+
monthId: string;
|
|
487
524
|
}
|
|
488
525
|
|
|
489
526
|
interface BudgetExpensesAllocationDeletedResponse {
|
|
@@ -491,47 +528,50 @@ interface BudgetExpensesAllocationDeletedResponse {
|
|
|
491
528
|
errorMessage: string | null;
|
|
492
529
|
}
|
|
493
530
|
|
|
531
|
+
interface BudgetExpensesAllocationUpdatedResponse {
|
|
532
|
+
updated: boolean;
|
|
533
|
+
errorMessage: string | null;
|
|
534
|
+
}
|
|
535
|
+
|
|
494
536
|
interface BudgetIncomesAllocationDeletedResponse {
|
|
495
537
|
deleted: boolean;
|
|
496
538
|
errorMessage: string | null;
|
|
497
539
|
}
|
|
498
540
|
|
|
541
|
+
interface BudgetIncomesAllocationUpdatedResponse {
|
|
542
|
+
updated: boolean;
|
|
543
|
+
errorMessage: string | null;
|
|
544
|
+
}
|
|
545
|
+
|
|
499
546
|
interface BudgetSavingsAllocationResponse {
|
|
500
547
|
id: string;
|
|
501
548
|
name: string;
|
|
502
|
-
budget: string;
|
|
503
549
|
icon: string;
|
|
504
550
|
color: string;
|
|
505
551
|
theoricalValuePerMonth: number;
|
|
506
|
-
value: number;
|
|
507
552
|
balance: number;
|
|
508
553
|
currency: string;
|
|
509
|
-
|
|
554
|
+
currentMonthlyOperation: SavingsMonthlyOperationResponse | null;
|
|
555
|
+
monthlyOperations: SavingsMonthlyOperationResponse[];
|
|
510
556
|
isDefault: boolean;
|
|
511
|
-
operations: BudgetOperationResponse[];
|
|
512
557
|
createdAt: Date;
|
|
513
558
|
updatedAt: Date | null;
|
|
514
559
|
}
|
|
515
560
|
|
|
516
|
-
interface
|
|
561
|
+
interface UserSavingsBudgetResponse {
|
|
517
562
|
/**
|
|
518
|
-
* e.
|
|
563
|
+
* equal total user's savings, i.e. `sum of savings bank accounts of type SAVING`
|
|
519
564
|
*/
|
|
520
|
-
|
|
521
|
-
currency: string;
|
|
522
|
-
/**
|
|
523
|
-
* equal total user's savings, i.e. `other assets` + `sum of savings bank accounts`
|
|
524
|
-
*/
|
|
525
|
-
totalBalance: number;
|
|
565
|
+
availableSavingsBalance: number;
|
|
526
566
|
/**
|
|
527
567
|
* It is the value diff between the actual totalBalance and the value of the last report
|
|
528
568
|
* If `null`, there's no last report.
|
|
529
569
|
*/
|
|
530
|
-
vsLastMonth: number | null;
|
|
531
570
|
/**
|
|
532
571
|
* Equal `other assets` total balance
|
|
533
572
|
*/
|
|
534
573
|
lockedInSavingsBalance: number;
|
|
574
|
+
currency: string;
|
|
535
575
|
allocations: BudgetSavingsAllocationResponse[];
|
|
536
576
|
}
|
|
537
577
|
|
|
@@ -638,4 +678,4 @@ declare class FilterArgs {
|
|
|
638
678
|
take: number;
|
|
639
679
|
}
|
|
640
680
|
|
|
641
|
-
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 BudgetExpensesAllocationsResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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 };
|