sowhat-types 2.0.39 → 2.0.40

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
@@ -88,19 +88,19 @@ interface AllocateTransactionInput {
88
88
  applicationDate: Date;
89
89
  }
90
90
 
91
- interface TimePaginationInput {
92
- startDate: Date | null;
93
- endDate: Date | null;
91
+ interface PaginationInput {
92
+ offset: number;
93
+ limit: number;
94
94
  }
95
95
 
96
- interface PaginationInput extends TimePaginationInput {
97
- offset: number | null;
98
- limit: number | null;
96
+ interface TimePaginationInput extends PaginationInput {
97
+ startDate: Date;
98
+ endDate: Date;
99
99
  }
100
100
 
101
101
  interface FetchBankAccountTransactionsInput {
102
102
  accountId: string;
103
- pagination: PaginationInput;
103
+ pagination: TimePaginationInput;
104
104
  }
105
105
 
106
106
  interface UpdateBankAccountTransactionInput {
@@ -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
@@ -88,19 +88,19 @@ interface AllocateTransactionInput {
88
88
  applicationDate: Date;
89
89
  }
90
90
 
91
- interface TimePaginationInput {
92
- startDate: Date | null;
93
- endDate: Date | null;
91
+ interface PaginationInput {
92
+ offset: number;
93
+ limit: number;
94
94
  }
95
95
 
96
- interface PaginationInput extends TimePaginationInput {
97
- offset: number | null;
98
- limit: number | null;
96
+ interface TimePaginationInput extends PaginationInput {
97
+ startDate: Date;
98
+ endDate: Date;
99
99
  }
100
100
 
101
101
  interface FetchBankAccountTransactionsInput {
102
102
  accountId: string;
103
- pagination: PaginationInput;
103
+ pagination: TimePaginationInput;
104
104
  }
105
105
 
106
106
  interface UpdateBankAccountTransactionInput {
@@ -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.40",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",