sowhat-types 2.0.10 → 2.0.12

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
@@ -76,47 +76,6 @@ interface CreateAssetDateOfAcquisitionInput {
76
76
  year: number;
77
77
  }
78
78
 
79
- interface PaginationInput {
80
- offset: number;
81
- limit: number;
82
- }
83
-
84
- interface FetchBankAccountTransactionsInput {
85
- accountId: string;
86
- pagination: PaginationInput;
87
- }
88
-
89
- interface UpdateBankAccountTransactionInput {
90
- id: string;
91
- newName?: string;
92
- newApplicationDate?: Date;
93
- }
94
-
95
- interface CreateMobilityInput {
96
- userId: string;
97
- customTitle: string;
98
- customImage: string | null;
99
- price: number;
100
- licenceNumber: string | null;
101
- dateOfAcquisition: CreateAssetDateOfAcquisitionInput | null;
102
- mobilityType: MobilityTypeEnum;
103
- mileage: number | null;
104
- note: string | null;
105
- gotLoan: boolean;
106
- coOwner: CreateAssetCoOwnerInput | null;
107
- }
108
-
109
- interface CreateRealEstateInput {
110
- userId: string;
111
- gotLoan: boolean;
112
- customTitle: string;
113
- customImage: string | null;
114
- price: number;
115
- note: string | null;
116
- isMainResidence: boolean;
117
- coOwner: CreateAssetCoOwnerInput | null;
118
- }
119
-
120
79
  interface LogoutUserInput {
121
80
  userId: string;
122
81
  }
@@ -137,6 +96,11 @@ interface FetchUserCoOwnerInput {
137
96
  coOwnerId: string;
138
97
  }
139
98
 
99
+ interface PaginationInput {
100
+ offset: number;
101
+ limit: number;
102
+ }
103
+
140
104
  interface BankAccountBalancesResponse {
141
105
  /**
142
106
  * total balance for checking type accounts
@@ -274,8 +238,19 @@ interface MobilityResponse {
274
238
  updatedAt: Date;
275
239
  }
276
240
 
241
+ interface OtherAssetDeletedResponse {
242
+ deleted: boolean;
243
+ errorMessage: string | null;
244
+ }
245
+
277
246
  interface OtherAssetResponse {
278
247
  id: string;
248
+ name: string;
249
+ value: number;
250
+ imageUrl: string | null;
251
+ note: string | null;
252
+ createdAt: Date;
253
+ updatedAt: Date;
279
254
  }
280
255
 
281
256
  interface RealEstateDeletedResponse {
@@ -368,4 +343,4 @@ declare class FilterArgs {
368
343
  take: number;
369
344
  }
370
345
 
371
- 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateMobilityInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
346
+ 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteUserCoOwnerInput, type ExactMatch, 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 UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/dist/index.d.ts CHANGED
@@ -76,47 +76,6 @@ interface CreateAssetDateOfAcquisitionInput {
76
76
  year: number;
77
77
  }
78
78
 
79
- interface PaginationInput {
80
- offset: number;
81
- limit: number;
82
- }
83
-
84
- interface FetchBankAccountTransactionsInput {
85
- accountId: string;
86
- pagination: PaginationInput;
87
- }
88
-
89
- interface UpdateBankAccountTransactionInput {
90
- id: string;
91
- newName?: string;
92
- newApplicationDate?: Date;
93
- }
94
-
95
- interface CreateMobilityInput {
96
- userId: string;
97
- customTitle: string;
98
- customImage: string | null;
99
- price: number;
100
- licenceNumber: string | null;
101
- dateOfAcquisition: CreateAssetDateOfAcquisitionInput | null;
102
- mobilityType: MobilityTypeEnum;
103
- mileage: number | null;
104
- note: string | null;
105
- gotLoan: boolean;
106
- coOwner: CreateAssetCoOwnerInput | null;
107
- }
108
-
109
- interface CreateRealEstateInput {
110
- userId: string;
111
- gotLoan: boolean;
112
- customTitle: string;
113
- customImage: string | null;
114
- price: number;
115
- note: string | null;
116
- isMainResidence: boolean;
117
- coOwner: CreateAssetCoOwnerInput | null;
118
- }
119
-
120
79
  interface LogoutUserInput {
121
80
  userId: string;
122
81
  }
@@ -137,6 +96,11 @@ interface FetchUserCoOwnerInput {
137
96
  coOwnerId: string;
138
97
  }
139
98
 
99
+ interface PaginationInput {
100
+ offset: number;
101
+ limit: number;
102
+ }
103
+
140
104
  interface BankAccountBalancesResponse {
141
105
  /**
142
106
  * total balance for checking type accounts
@@ -274,8 +238,19 @@ interface MobilityResponse {
274
238
  updatedAt: Date;
275
239
  }
276
240
 
241
+ interface OtherAssetDeletedResponse {
242
+ deleted: boolean;
243
+ errorMessage: string | null;
244
+ }
245
+
277
246
  interface OtherAssetResponse {
278
247
  id: string;
248
+ name: string;
249
+ value: number;
250
+ imageUrl: string | null;
251
+ note: string | null;
252
+ createdAt: Date;
253
+ updatedAt: Date;
279
254
  }
280
255
 
281
256
  interface RealEstateDeletedResponse {
@@ -368,4 +343,4 @@ declare class FilterArgs {
368
343
  take: number;
369
344
  }
370
345
 
371
- 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateMobilityInput, type CreateRealEstateInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteUserCoOwnerInput, type ExactMatch, type FetchBankAccountTransactionsInput, type FetchUserCoOwnerInput, FilterArgs, type LogoutUserInput, type LogoutUserResponse, type MobilityDeletedResponse, type MobilityResponse, MobilityTypeEnum, type OtherAssetResponse, type PaginationInput, type PaginationResponse, PowensUserStatusEnum, type PowensWebviewConnectionResponse, type RealEstateDeletedResponse, type RealEstateResponse, type StockExchangeResponse, type UpdateBankAccountTransactionInput, type UserCoOwnerResponse, type UserResponse, UserStatusEnum };
346
+ 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 CoOwnerDeletedResponse, type CoOwnerResponse, type CreateAssetCoOwnerInput, type CreateAssetDateOfAcquisitionInput, type CreateUserCoOwnerInput, type CryptocurrencyResponse, type DeleteUserCoOwnerInput, type ExactMatch, 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 UserCoOwnerResponse, type UserResponse, UserStatusEnum };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",