@bkper/bkper-api-types 5.8.1 → 5.10.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 +110 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -58,8 +58,6 @@ declare namespace bkper {
|
|
|
58
58
|
export interface AccountBalances {
|
|
59
59
|
archived?: boolean;
|
|
60
60
|
balances?: Balance[];
|
|
61
|
-
checkedCumulativeBalance?: string;
|
|
62
|
-
checkedPeriodBalance?: string;
|
|
63
61
|
credit?: boolean;
|
|
64
62
|
cumulativeBalance?: string;
|
|
65
63
|
cumulativeCredit?: string;
|
|
@@ -74,8 +72,6 @@ declare namespace bkper {
|
|
|
74
72
|
properties?: {
|
|
75
73
|
[name: string]: string;
|
|
76
74
|
};
|
|
77
|
-
uncheckedCumulativeBalance?: string;
|
|
78
|
-
uncheckedPeriodBalance?: string;
|
|
79
75
|
}
|
|
80
76
|
export interface AccountList {
|
|
81
77
|
/**
|
|
@@ -116,10 +112,6 @@ declare namespace bkper {
|
|
|
116
112
|
* Tell if this app is connectable by a user
|
|
117
113
|
*/
|
|
118
114
|
connectable?: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* The executable Google Apps Script deployment ID
|
|
121
|
-
*/
|
|
122
|
-
deploymentId?: string;
|
|
123
115
|
/**
|
|
124
116
|
* Tell if the code app is deprecated
|
|
125
117
|
*/
|
|
@@ -213,10 +205,6 @@ declare namespace bkper {
|
|
|
213
205
|
* The Google OAuth Scopes used by the app
|
|
214
206
|
*/
|
|
215
207
|
scopes?: string[];
|
|
216
|
-
/**
|
|
217
|
-
* The executable Google Apps Script ID
|
|
218
|
-
*/
|
|
219
|
-
scriptId?: string;
|
|
220
208
|
/**
|
|
221
209
|
* The user emails to enable the App while not yet published
|
|
222
210
|
*/
|
|
@@ -257,8 +245,6 @@ declare namespace bkper {
|
|
|
257
245
|
count?: number; // int32
|
|
258
246
|
}
|
|
259
247
|
export interface Balance {
|
|
260
|
-
checkedCumulativeBalance?: string;
|
|
261
|
-
checkedPeriodBalance?: string;
|
|
262
248
|
cumulativeBalance?: string;
|
|
263
249
|
cumulativeCredit?: string;
|
|
264
250
|
cumulativeDebit?: string;
|
|
@@ -268,8 +254,6 @@ declare namespace bkper {
|
|
|
268
254
|
periodBalance?: string;
|
|
269
255
|
periodCredit?: string;
|
|
270
256
|
periodDebit?: string;
|
|
271
|
-
uncheckedCumulativeBalance?: string;
|
|
272
|
-
uncheckedPeriodBalance?: string;
|
|
273
257
|
year?: number; // int32
|
|
274
258
|
}
|
|
275
259
|
export interface Balances {
|
|
@@ -378,6 +362,10 @@ declare namespace bkper {
|
|
|
378
362
|
* The total transactions posted on current year
|
|
379
363
|
*/
|
|
380
364
|
totalTransactionsCurrentYear?: number; // int64
|
|
365
|
+
/**
|
|
366
|
+
* The Visibility of the Book
|
|
367
|
+
*/
|
|
368
|
+
visibility?: "PUBLIC" | "PRIVATE";
|
|
381
369
|
}
|
|
382
370
|
export interface BookList {
|
|
383
371
|
/**
|
|
@@ -437,6 +425,17 @@ declare namespace bkper {
|
|
|
437
425
|
* The username of the Collection owner
|
|
438
426
|
*/
|
|
439
427
|
ownerUsername?: string;
|
|
428
|
+
permission?: "OWNER" | "EDITOR" | "POSTER" | "RECORDER" | "VIEWER" | "NONE";
|
|
429
|
+
/**
|
|
430
|
+
* The last update timestamp, in milliseconds
|
|
431
|
+
*/
|
|
432
|
+
updatedAt?: string;
|
|
433
|
+
}
|
|
434
|
+
export interface CollectionList {
|
|
435
|
+
/**
|
|
436
|
+
* List items
|
|
437
|
+
*/
|
|
438
|
+
items?: Collection[];
|
|
440
439
|
}
|
|
441
440
|
export interface Connection {
|
|
442
441
|
/**
|
|
@@ -620,8 +619,6 @@ declare namespace bkper {
|
|
|
620
619
|
export interface GroupBalances {
|
|
621
620
|
accountBalances?: AccountBalances[];
|
|
622
621
|
balances?: Balance[];
|
|
623
|
-
checkedCumulativeBalance?: string;
|
|
624
|
-
checkedPeriodBalance?: string;
|
|
625
622
|
credit?: boolean;
|
|
626
623
|
cumulativeBalance?: string;
|
|
627
624
|
cumulativeCredit?: string;
|
|
@@ -636,8 +633,6 @@ declare namespace bkper {
|
|
|
636
633
|
properties?: {
|
|
637
634
|
[name: string]: string;
|
|
638
635
|
};
|
|
639
|
-
uncheckedCumulativeBalance?: string;
|
|
640
|
-
uncheckedPeriodBalance?: string;
|
|
641
636
|
}
|
|
642
637
|
export interface GroupList {
|
|
643
638
|
/**
|
|
@@ -702,6 +697,22 @@ declare namespace bkper {
|
|
|
702
697
|
*/
|
|
703
698
|
items?: Query[];
|
|
704
699
|
}
|
|
700
|
+
export interface Template {
|
|
701
|
+
bookId?: string;
|
|
702
|
+
bookLink?: string;
|
|
703
|
+
category?: string;
|
|
704
|
+
description?: string;
|
|
705
|
+
imageUrl?: string;
|
|
706
|
+
name?: string;
|
|
707
|
+
sheetsLink?: string;
|
|
708
|
+
timesUsed?: number; // int32
|
|
709
|
+
}
|
|
710
|
+
export interface TemplateList {
|
|
711
|
+
/**
|
|
712
|
+
* List items
|
|
713
|
+
*/
|
|
714
|
+
items?: Template[];
|
|
715
|
+
}
|
|
705
716
|
export interface Transaction {
|
|
706
717
|
/**
|
|
707
718
|
* The id of agent that created the resource
|
|
@@ -801,6 +812,10 @@ declare namespace bkper {
|
|
|
801
812
|
* The user public avatar url
|
|
802
813
|
*/
|
|
803
814
|
avatarUrl?: string;
|
|
815
|
+
/**
|
|
816
|
+
* True if user already had any bank connection
|
|
817
|
+
*/
|
|
818
|
+
bankConnections?: boolean;
|
|
804
819
|
/**
|
|
805
820
|
* True if billing is enabled for the user
|
|
806
821
|
*/
|
|
@@ -852,6 +867,17 @@ declare namespace bkper {
|
|
|
852
867
|
}
|
|
853
868
|
}
|
|
854
869
|
declare namespace Paths {
|
|
870
|
+
namespace BkperV5AddBooksToCollection {
|
|
871
|
+
export interface BodyParameters {
|
|
872
|
+
BookList: Parameters.BookList;
|
|
873
|
+
}
|
|
874
|
+
namespace Parameters {
|
|
875
|
+
export type BookList = bkper.BookList;
|
|
876
|
+
}
|
|
877
|
+
namespace Responses {
|
|
878
|
+
export type $200 = bkper.BookList;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
855
881
|
namespace BkperV5AddCollaborator {
|
|
856
882
|
export interface BodyParameters {
|
|
857
883
|
Collaborator: Parameters.Collaborator;
|
|
@@ -925,6 +951,17 @@ declare namespace Paths {
|
|
|
925
951
|
export type $200 = bkper.App;
|
|
926
952
|
}
|
|
927
953
|
}
|
|
954
|
+
namespace BkperV5CreateCollection {
|
|
955
|
+
export interface BodyParameters {
|
|
956
|
+
Collection: Parameters.Collection;
|
|
957
|
+
}
|
|
958
|
+
namespace Parameters {
|
|
959
|
+
export type Collection = bkper.Collection;
|
|
960
|
+
}
|
|
961
|
+
namespace Responses {
|
|
962
|
+
export type $200 = bkper.Collection;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
928
965
|
namespace BkperV5CreateConnection {
|
|
929
966
|
export interface BodyParameters {
|
|
930
967
|
Connection: Parameters.Connection;
|
|
@@ -980,6 +1017,11 @@ declare namespace Paths {
|
|
|
980
1017
|
export type $200 = bkper.Integration;
|
|
981
1018
|
}
|
|
982
1019
|
}
|
|
1020
|
+
namespace BkperV5CreateNewBook {
|
|
1021
|
+
namespace Responses {
|
|
1022
|
+
export type $200 = bkper.Book;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
983
1025
|
namespace BkperV5CreateTransaction {
|
|
984
1026
|
export interface BodyParameters {
|
|
985
1027
|
Transaction: Parameters.Transaction;
|
|
@@ -1007,6 +1049,11 @@ declare namespace Paths {
|
|
|
1007
1049
|
export type $200 = bkper.Account;
|
|
1008
1050
|
}
|
|
1009
1051
|
}
|
|
1052
|
+
namespace BkperV5DeleteCollection {
|
|
1053
|
+
namespace Responses {
|
|
1054
|
+
export type $200 = bkper.BookList;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1010
1057
|
namespace BkperV5DeleteConnection {
|
|
1011
1058
|
namespace Responses {
|
|
1012
1059
|
export type $200 = bkper.Connection;
|
|
@@ -1102,6 +1149,11 @@ declare namespace Paths {
|
|
|
1102
1149
|
export type $200 = bkper.BookList;
|
|
1103
1150
|
}
|
|
1104
1151
|
}
|
|
1152
|
+
namespace BkperV5ListCollections {
|
|
1153
|
+
namespace Responses {
|
|
1154
|
+
export type $200 = bkper.CollectionList;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1105
1157
|
namespace BkperV5ListConnectionIntegrations {
|
|
1106
1158
|
namespace Responses {
|
|
1107
1159
|
export type $200 = bkper.IntegrationList;
|
|
@@ -1137,6 +1189,11 @@ declare namespace Paths {
|
|
|
1137
1189
|
export type $200 = bkper.QueryList;
|
|
1138
1190
|
}
|
|
1139
1191
|
}
|
|
1192
|
+
namespace BkperV5ListTemplates {
|
|
1193
|
+
namespace Responses {
|
|
1194
|
+
export type $200 = bkper.TemplateList;
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1140
1197
|
namespace BkperV5ListTransactions {
|
|
1141
1198
|
namespace Responses {
|
|
1142
1199
|
export type $200 = bkper.TransactionList;
|
|
@@ -1164,6 +1221,17 @@ declare namespace Paths {
|
|
|
1164
1221
|
export type $200 = bkper.TransactionOperation;
|
|
1165
1222
|
}
|
|
1166
1223
|
}
|
|
1224
|
+
namespace BkperV5RemoveBooksFromCollection {
|
|
1225
|
+
export interface BodyParameters {
|
|
1226
|
+
BookList: Parameters.BookList;
|
|
1227
|
+
}
|
|
1228
|
+
namespace Parameters {
|
|
1229
|
+
export type BookList = bkper.BookList;
|
|
1230
|
+
}
|
|
1231
|
+
namespace Responses {
|
|
1232
|
+
export type $200 = bkper.BookList;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1167
1235
|
namespace BkperV5RemoveCollaborator {
|
|
1168
1236
|
namespace Responses {
|
|
1169
1237
|
export type $200 = bkper.Collaborator;
|
|
@@ -1281,6 +1349,17 @@ declare namespace Paths {
|
|
|
1281
1349
|
export type $200 = bkper.Book;
|
|
1282
1350
|
}
|
|
1283
1351
|
}
|
|
1352
|
+
namespace BkperV5UpdateCollection {
|
|
1353
|
+
export interface BodyParameters {
|
|
1354
|
+
Collection: Parameters.Collection;
|
|
1355
|
+
}
|
|
1356
|
+
namespace Parameters {
|
|
1357
|
+
export type Collection = bkper.Collection;
|
|
1358
|
+
}
|
|
1359
|
+
namespace Responses {
|
|
1360
|
+
export type $200 = bkper.Collection;
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1284
1363
|
namespace BkperV5UpdateConnection {
|
|
1285
1364
|
export interface BodyParameters {
|
|
1286
1365
|
Connection: Parameters.Connection;
|
|
@@ -1325,4 +1404,15 @@ declare namespace Paths {
|
|
|
1325
1404
|
export type $200 = bkper.TransactionOperation;
|
|
1326
1405
|
}
|
|
1327
1406
|
}
|
|
1407
|
+
namespace BkperV5UpdateTransactionsBatch {
|
|
1408
|
+
export interface BodyParameters {
|
|
1409
|
+
TransactionList: Parameters.TransactionList;
|
|
1410
|
+
}
|
|
1411
|
+
namespace Parameters {
|
|
1412
|
+
export type TransactionList = bkper.TransactionList;
|
|
1413
|
+
}
|
|
1414
|
+
namespace Responses {
|
|
1415
|
+
export type $200 = bkper.TransactionList;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1328
1418
|
}
|