@bkper/bkper-api-types 5.1.6 → 5.3.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.
- package/index.d.ts +61 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare namespace bkper {
|
|
|
9
9
|
*/
|
|
10
10
|
archived?: boolean;
|
|
11
11
|
/**
|
|
12
|
-
* The
|
|
12
|
+
* The current account balance, when querying transactions.
|
|
13
13
|
*/
|
|
14
14
|
balance?: string;
|
|
15
15
|
/**
|
|
@@ -56,6 +56,7 @@ declare namespace bkper {
|
|
|
56
56
|
type?: "ASSET" | "LIABILITY" | "INCOMING" | "OUTGOING";
|
|
57
57
|
}
|
|
58
58
|
export interface AccountBalances {
|
|
59
|
+
archived?: boolean;
|
|
59
60
|
balances?: Balance[];
|
|
60
61
|
checkedCumulativeBalance?: string;
|
|
61
62
|
checkedPeriodBalance?: string;
|
|
@@ -63,6 +64,7 @@ declare namespace bkper {
|
|
|
63
64
|
cumulativeBalance?: string;
|
|
64
65
|
cumulativeCredit?: string;
|
|
65
66
|
cumulativeDebit?: string;
|
|
67
|
+
empty?: boolean;
|
|
66
68
|
name?: string;
|
|
67
69
|
normalizedName?: string;
|
|
68
70
|
periodBalance?: string;
|
|
@@ -216,6 +218,9 @@ declare namespace bkper {
|
|
|
216
218
|
*/
|
|
217
219
|
website?: string;
|
|
218
220
|
}
|
|
221
|
+
export interface AppList {
|
|
222
|
+
items?: App[];
|
|
223
|
+
}
|
|
219
224
|
export interface AppPropertiesSchema {
|
|
220
225
|
account?: AppPropertySchema;
|
|
221
226
|
book?: AppPropertySchema;
|
|
@@ -259,6 +264,10 @@ declare namespace bkper {
|
|
|
259
264
|
rangeEndLabel?: string;
|
|
260
265
|
}
|
|
261
266
|
export interface Book {
|
|
267
|
+
/**
|
|
268
|
+
* The book Accounts
|
|
269
|
+
*/
|
|
270
|
+
accounts?: Account[];
|
|
262
271
|
/**
|
|
263
272
|
* The id of agent that created the resource
|
|
264
273
|
*/
|
|
@@ -284,6 +293,10 @@ declare namespace bkper {
|
|
|
284
293
|
* The number of fraction digits (decimal places) of the Book
|
|
285
294
|
*/
|
|
286
295
|
fractionDigits?: number; // int32
|
|
296
|
+
/**
|
|
297
|
+
* The book account Groups
|
|
298
|
+
*/
|
|
299
|
+
groups?: Group[];
|
|
287
300
|
/**
|
|
288
301
|
* The unique id that identifies the Book in the system. Found at bookId url param
|
|
289
302
|
*/
|
|
@@ -353,6 +366,28 @@ declare namespace bkper {
|
|
|
353
366
|
*/
|
|
354
367
|
items?: Book[];
|
|
355
368
|
}
|
|
369
|
+
export interface Collaborator {
|
|
370
|
+
/**
|
|
371
|
+
* The id of agent that created the resource
|
|
372
|
+
*/
|
|
373
|
+
agentId?: string;
|
|
374
|
+
/**
|
|
375
|
+
* The creation timestamp, in milliseconds
|
|
376
|
+
*/
|
|
377
|
+
createdAt?: string;
|
|
378
|
+
/**
|
|
379
|
+
* The email of the Collaborator
|
|
380
|
+
*/
|
|
381
|
+
email?: string;
|
|
382
|
+
/**
|
|
383
|
+
* The unique id that identifies the Collaborator in the Book
|
|
384
|
+
*/
|
|
385
|
+
id?: string;
|
|
386
|
+
/**
|
|
387
|
+
* The permission the Collaborator has in the Book
|
|
388
|
+
*/
|
|
389
|
+
permission?: "OWNER" | "EDITOR" | "POSTER" | "RECORDER" | "VIEWER" | "NONE";
|
|
390
|
+
}
|
|
356
391
|
export interface Collection {
|
|
357
392
|
/**
|
|
358
393
|
* The id of agent that created the resource
|
|
@@ -675,6 +710,17 @@ declare namespace bkper {
|
|
|
675
710
|
}
|
|
676
711
|
}
|
|
677
712
|
declare namespace Paths {
|
|
713
|
+
namespace BkperV5AddCollaborator {
|
|
714
|
+
export interface BodyParameters {
|
|
715
|
+
Collaborator: Parameters.Collaborator;
|
|
716
|
+
}
|
|
717
|
+
namespace Parameters {
|
|
718
|
+
export type Collaborator = bkper.Collaborator;
|
|
719
|
+
}
|
|
720
|
+
namespace Responses {
|
|
721
|
+
export type $200 = bkper.Collaborator;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
678
724
|
namespace BkperV5CheckTransaction {
|
|
679
725
|
export interface BodyParameters {
|
|
680
726
|
Transaction: Parameters.Transaction;
|
|
@@ -797,6 +843,11 @@ declare namespace Paths {
|
|
|
797
843
|
export type $200 = bkper.Account;
|
|
798
844
|
}
|
|
799
845
|
}
|
|
846
|
+
namespace BkperV5GetBalances {
|
|
847
|
+
namespace Responses {
|
|
848
|
+
export type $200 = bkper.Balances;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
800
851
|
namespace BkperV5GetBook {
|
|
801
852
|
namespace Responses {
|
|
802
853
|
export type $200 = bkper.Book;
|
|
@@ -827,9 +878,9 @@ declare namespace Paths {
|
|
|
827
878
|
export type $200 = bkper.AccountList;
|
|
828
879
|
}
|
|
829
880
|
}
|
|
830
|
-
namespace
|
|
881
|
+
namespace BkperV5ListBookApps {
|
|
831
882
|
namespace Responses {
|
|
832
|
-
export type $200 = bkper.
|
|
883
|
+
export type $200 = bkper.AppList;
|
|
833
884
|
}
|
|
834
885
|
}
|
|
835
886
|
namespace BkperV5ListBooks {
|
|
@@ -837,6 +888,11 @@ declare namespace Paths {
|
|
|
837
888
|
export type $200 = bkper.BookList;
|
|
838
889
|
}
|
|
839
890
|
}
|
|
891
|
+
namespace BkperV5ListEvents {
|
|
892
|
+
namespace Responses {
|
|
893
|
+
export type $200 = bkper.EventList;
|
|
894
|
+
}
|
|
895
|
+
}
|
|
840
896
|
namespace BkperV5ListGroupAccounts {
|
|
841
897
|
namespace Responses {
|
|
842
898
|
export type $200 = bkper.AccountList;
|
|
@@ -879,9 +935,9 @@ declare namespace Paths {
|
|
|
879
935
|
export type $200 = bkper.TransactionOperation;
|
|
880
936
|
}
|
|
881
937
|
}
|
|
882
|
-
namespace
|
|
938
|
+
namespace BkperV5RemoveCollaborator {
|
|
883
939
|
namespace Responses {
|
|
884
|
-
export type $200 = bkper.
|
|
940
|
+
export type $200 = bkper.Collaborator;
|
|
885
941
|
}
|
|
886
942
|
}
|
|
887
943
|
namespace BkperV5RemoveTransaction {
|