sowhat-types 2.0.39 → 2.0.41

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
@@ -89,18 +89,13 @@ interface AllocateTransactionInput {
89
89
  }
90
90
 
91
91
  interface TimePaginationInput {
92
- startDate: Date | null;
93
- endDate: Date | null;
94
- }
95
-
96
- interface PaginationInput extends TimePaginationInput {
97
- offset: number | null;
98
- limit: number | null;
92
+ startDate: Date;
93
+ endDate: Date;
99
94
  }
100
95
 
101
96
  interface FetchBankAccountTransactionsInput {
102
97
  accountId: string;
103
- pagination: PaginationInput;
98
+ pagination: TimePaginationInput;
104
99
  }
105
100
 
106
101
  interface UpdateBankAccountTransactionInput {
@@ -195,6 +190,11 @@ interface FetchUserCoOwnerInput {
195
190
  coOwnerId: string;
196
191
  }
197
192
 
193
+ interface PaginationInput {
194
+ offset: number;
195
+ limit: number;
196
+ }
197
+
198
198
  interface BankAccountOriginalTransactionResponse {
199
199
  value: number;
200
200
  currency: string;
@@ -299,17 +299,15 @@ interface BankAccountTransactionCounterpartyResponse {
299
299
  type: string | null;
300
300
  }
301
301
 
302
- interface PaginationResponse {
303
- offset: number | null;
304
- limit: number | null;
302
+ interface TimePaginationResponse {
303
+ startDate: Date;
304
+ endDate: Date;
305
305
  hasMore: boolean;
306
- startDate: Date | null;
307
- endDate: Date | null;
308
306
  }
309
307
 
310
308
  interface BankAccountTransactionsResponse {
311
309
  transactions: BankAccountTransactionResponse[];
312
- pagination: PaginationResponse;
310
+ pagination: TimePaginationResponse;
313
311
  }
314
312
 
315
313
  interface BankAccountUpdatedResponse {
@@ -501,6 +499,12 @@ interface AssetsResponse {
501
499
  otherAssets: OtherAssetResponse[];
502
500
  }
503
501
 
502
+ interface PaginationResponse {
503
+ offset: number;
504
+ limit: number;
505
+ hasMore: boolean;
506
+ }
507
+
504
508
  interface ReportValueResponse {
505
509
  value: number | null;
506
510
  vsLastMonthPercent: number | null;
package/dist/index.d.ts CHANGED
@@ -89,18 +89,13 @@ interface AllocateTransactionInput {
89
89
  }
90
90
 
91
91
  interface TimePaginationInput {
92
- startDate: Date | null;
93
- endDate: Date | null;
94
- }
95
-
96
- interface PaginationInput extends TimePaginationInput {
97
- offset: number | null;
98
- limit: number | null;
92
+ startDate: Date;
93
+ endDate: Date;
99
94
  }
100
95
 
101
96
  interface FetchBankAccountTransactionsInput {
102
97
  accountId: string;
103
- pagination: PaginationInput;
98
+ pagination: TimePaginationInput;
104
99
  }
105
100
 
106
101
  interface UpdateBankAccountTransactionInput {
@@ -195,6 +190,11 @@ interface FetchUserCoOwnerInput {
195
190
  coOwnerId: string;
196
191
  }
197
192
 
193
+ interface PaginationInput {
194
+ offset: number;
195
+ limit: number;
196
+ }
197
+
198
198
  interface BankAccountOriginalTransactionResponse {
199
199
  value: number;
200
200
  currency: string;
@@ -299,17 +299,15 @@ interface BankAccountTransactionCounterpartyResponse {
299
299
  type: string | null;
300
300
  }
301
301
 
302
- interface PaginationResponse {
303
- offset: number | null;
304
- limit: number | null;
302
+ interface TimePaginationResponse {
303
+ startDate: Date;
304
+ endDate: Date;
305
305
  hasMore: boolean;
306
- startDate: Date | null;
307
- endDate: Date | null;
308
306
  }
309
307
 
310
308
  interface BankAccountTransactionsResponse {
311
309
  transactions: BankAccountTransactionResponse[];
312
- pagination: PaginationResponse;
310
+ pagination: TimePaginationResponse;
313
311
  }
314
312
 
315
313
  interface BankAccountUpdatedResponse {
@@ -501,6 +499,12 @@ interface AssetsResponse {
501
499
  otherAssets: OtherAssetResponse[];
502
500
  }
503
501
 
502
+ interface PaginationResponse {
503
+ offset: number;
504
+ limit: number;
505
+ hasMore: boolean;
506
+ }
507
+
504
508
  interface ReportValueResponse {
505
509
  value: number | null;
506
510
  vsLastMonthPercent: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.39",
3
+ "version": "2.0.41",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",