sowhat-types 2.0.21 → 2.0.23

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 CHANGED
@@ -66,8 +66,10 @@ declare enum UserStatusEnum {
66
66
  }
67
67
 
68
68
  interface PaginationInput {
69
- offset: number;
70
- limit: number;
69
+ offset: number | null;
70
+ limit: number | null;
71
+ startDate: Date | null;
72
+ endDate: Date | null;
71
73
  }
72
74
 
73
75
  interface FetchBankAccountTransactionsInput {
@@ -192,7 +194,7 @@ interface BankAccountBalancesResponse {
192
194
  interface BankAccountOriginalTransactionResponse {
193
195
  value: number;
194
196
  currency: string;
195
- commission: number | null;
197
+ commission: number;
196
198
  commissionCurrency: string | null;
197
199
  }
198
200
 
@@ -202,40 +204,22 @@ interface BankAccountTransactionCounterpartyResponse {
202
204
  type: string | null;
203
205
  }
204
206
 
205
- interface BankAccountTransactionExtraDataResponse {
206
- datetime: Date | null;
207
- counterparty: BankAccountTransactionCounterpartyResponse | null;
208
- country: string | null;
209
- }
210
-
211
- interface BankAccountTransactionWordingResponse {
212
- original: string;
213
- stemmed: string;
214
- simplified: string;
215
- /**
216
- * The one that can be edited by the user and update in the transaction by Powens API
217
- */
218
- custom: string | null;
219
- }
220
-
221
207
  interface BankAccountTransactionResponse {
222
208
  id: string;
223
209
  accountId: string;
210
+ applicationDate: Date;
224
211
  date: Date;
225
- applicationDate: string;
226
212
  value: number | null;
227
213
  currency: string | null;
228
- wording: BankAccountTransactionWordingResponse;
214
+ name: string;
229
215
  coming: boolean;
230
216
  active: boolean;
231
- comment: string | null;
217
+ note: string | null;
232
218
  lastUpdate: Date | null;
233
219
  deleted: Date | null;
234
- cardNumber: string | null;
235
220
  type: BankAccountTransactionTypeEnum;
236
- new: boolean;
237
221
  originalTransaction: BankAccountOriginalTransactionResponse | null;
238
- extraData: BankAccountTransactionExtraDataResponse;
222
+ country: string | null;
239
223
  }
240
224
 
241
225
  interface PaginationResponse {
@@ -443,4 +427,4 @@ declare class FilterArgs {
443
427
  take: number;
444
428
  }
445
429
 
446
- export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionExtraDataResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionWordingResponse, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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 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, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
430
+ export { type AccessTokensResponse, 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 BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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 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, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/dist/index.d.ts CHANGED
@@ -66,8 +66,10 @@ declare enum UserStatusEnum {
66
66
  }
67
67
 
68
68
  interface PaginationInput {
69
- offset: number;
70
- limit: number;
69
+ offset: number | null;
70
+ limit: number | null;
71
+ startDate: Date | null;
72
+ endDate: Date | null;
71
73
  }
72
74
 
73
75
  interface FetchBankAccountTransactionsInput {
@@ -192,7 +194,7 @@ interface BankAccountBalancesResponse {
192
194
  interface BankAccountOriginalTransactionResponse {
193
195
  value: number;
194
196
  currency: string;
195
- commission: number | null;
197
+ commission: number;
196
198
  commissionCurrency: string | null;
197
199
  }
198
200
 
@@ -202,40 +204,22 @@ interface BankAccountTransactionCounterpartyResponse {
202
204
  type: string | null;
203
205
  }
204
206
 
205
- interface BankAccountTransactionExtraDataResponse {
206
- datetime: Date | null;
207
- counterparty: BankAccountTransactionCounterpartyResponse | null;
208
- country: string | null;
209
- }
210
-
211
- interface BankAccountTransactionWordingResponse {
212
- original: string;
213
- stemmed: string;
214
- simplified: string;
215
- /**
216
- * The one that can be edited by the user and update in the transaction by Powens API
217
- */
218
- custom: string | null;
219
- }
220
-
221
207
  interface BankAccountTransactionResponse {
222
208
  id: string;
223
209
  accountId: string;
210
+ applicationDate: Date;
224
211
  date: Date;
225
- applicationDate: string;
226
212
  value: number | null;
227
213
  currency: string | null;
228
- wording: BankAccountTransactionWordingResponse;
214
+ name: string;
229
215
  coming: boolean;
230
216
  active: boolean;
231
- comment: string | null;
217
+ note: string | null;
232
218
  lastUpdate: Date | null;
233
219
  deleted: Date | null;
234
- cardNumber: string | null;
235
220
  type: BankAccountTransactionTypeEnum;
236
- new: boolean;
237
221
  originalTransaction: BankAccountOriginalTransactionResponse | null;
238
- extraData: BankAccountTransactionExtraDataResponse;
222
+ country: string | null;
239
223
  }
240
224
 
241
225
  interface PaginationResponse {
@@ -443,4 +427,4 @@ declare class FilterArgs {
443
427
  take: number;
444
428
  }
445
429
 
446
- export { type AccessTokensResponse, type AssetCoOwnerResponse, type AssetDateOfAcquisitionResponse, AssetTypeEnum, type AssetsResponse, type AuthenticationAccessResponse, AuthenticationMethodEnum, type BankAccountBalancesResponse, type BankAccountOriginalTransactionResponse, type BankAccountResponse, BankAccountSchemeNameEnum, type BankAccountTransactionCounterpartyResponse, type BankAccountTransactionExtraDataResponse, type BankAccountTransactionResponse, BankAccountTransactionTypeEnum, type BankAccountTransactionWordingResponse, type BankAccountTransactionsResponse, BankAccountTypeEnum, type BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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 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, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
430
+ export { type AccessTokensResponse, 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 BankAccountsResponse, type BudgetExpensesAllocationDeletedResponse, type BudgetExpensesAllocationResponse, type BudgetIncomesAllocationDeletedResponse, type BudgetIncomesAllocationResponse, 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 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, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.21",
3
+ "version": "2.0.23",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",