@bkper/bkper-api-types 5.1.4 → 5.2.0

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.
Files changed (2) hide show
  1. package/index.d.ts +66 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -259,6 +259,10 @@ declare namespace bkper {
259
259
  rangeEndLabel?: string;
260
260
  }
261
261
  export interface Book {
262
+ /**
263
+ * The book Accounts
264
+ */
265
+ accounts?: Account[];
262
266
  /**
263
267
  * The id of agent that created the resource
264
268
  */
@@ -284,6 +288,10 @@ declare namespace bkper {
284
288
  * The number of fraction digits (decimal places) of the Book
285
289
  */
286
290
  fractionDigits?: number; // int32
291
+ /**
292
+ * The book account Groups
293
+ */
294
+ groups?: Group[];
287
295
  /**
288
296
  * The unique id that identifies the Book in the system. Found at bookId url param
289
297
  */
@@ -334,6 +342,18 @@ declare namespace bkper {
334
342
  * The time zone offset of the Book, in minutes
335
343
  */
336
344
  timeZoneOffset?: number; // int32
345
+ /**
346
+ * The total transactions posted
347
+ */
348
+ totalTransactions?: number; // int64
349
+ /**
350
+ * The total transactions posted on current month
351
+ */
352
+ totalTransactionsCurrentMonth?: number; // int64
353
+ /**
354
+ * The total transactions posted on current year
355
+ */
356
+ totalTransactionsCurrentYear?: number; // int64
337
357
  }
338
358
  export interface BookList {
339
359
  /**
@@ -674,6 +694,14 @@ declare namespace Paths {
674
694
  export type $200 = bkper.TransactionOperation;
675
695
  }
676
696
  }
697
+ namespace BkperV5CheckTransactionsBatch {
698
+ export interface BodyParameters {
699
+ TransactionList: Parameters.TransactionList;
700
+ }
701
+ namespace Parameters {
702
+ export type TransactionList = bkper.TransactionList;
703
+ }
704
+ }
677
705
  namespace BkperV5CreateAccount {
678
706
  export interface BodyParameters {
679
707
  Account: Parameters.Account;
@@ -886,6 +914,25 @@ declare namespace Paths {
886
914
  export type $200 = bkper.TransactionOperation;
887
915
  }
888
916
  }
917
+ namespace BkperV5TrashTransaction {
918
+ export interface BodyParameters {
919
+ Transaction: Parameters.Transaction;
920
+ }
921
+ namespace Parameters {
922
+ export type Transaction = bkper.Transaction;
923
+ }
924
+ namespace Responses {
925
+ export type $200 = bkper.TransactionOperation;
926
+ }
927
+ }
928
+ namespace BkperV5TrashTransactionsBatch {
929
+ export interface BodyParameters {
930
+ TransactionList: Parameters.TransactionList;
931
+ }
932
+ namespace Parameters {
933
+ export type TransactionList = bkper.TransactionList;
934
+ }
935
+ }
889
936
  namespace BkperV5UncheckTransaction {
890
937
  export interface BodyParameters {
891
938
  Transaction: Parameters.Transaction;
@@ -897,6 +944,25 @@ declare namespace Paths {
897
944
  export type $200 = bkper.TransactionOperation;
898
945
  }
899
946
  }
947
+ namespace BkperV5UncheckTransactionsBatch {
948
+ export interface BodyParameters {
949
+ TransactionList: Parameters.TransactionList;
950
+ }
951
+ namespace Parameters {
952
+ export type TransactionList = bkper.TransactionList;
953
+ }
954
+ }
955
+ namespace BkperV5UntrashTransaction {
956
+ export interface BodyParameters {
957
+ Transaction: Parameters.Transaction;
958
+ }
959
+ namespace Parameters {
960
+ export type Transaction = bkper.Transaction;
961
+ }
962
+ namespace Responses {
963
+ export type $200 = bkper.TransactionOperation;
964
+ }
965
+ }
900
966
  namespace BkperV5UpdateAccount {
901
967
  export interface BodyParameters {
902
968
  Account: Parameters.Account;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bkper/bkper-api-types",
3
- "version": "5.1.4",
3
+ "version": "5.2.0",
4
4
  "description": "Typescript definitions for Bkper REST API",
5
5
  "homepage": "https://api.bkper.com",
6
6
  "repository": {