@bkper/bkper-api-types 5.5.1 → 5.7.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 +33 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -460,6 +460,17 @@ declare namespace bkper {
|
|
|
460
460
|
*/
|
|
461
461
|
items?: Connection[];
|
|
462
462
|
}
|
|
463
|
+
export interface Count {
|
|
464
|
+
day?: number; // int32
|
|
465
|
+
fuzzyDate?: number; // int32
|
|
466
|
+
month?: number; // int32
|
|
467
|
+
total?: number; // int64
|
|
468
|
+
year?: number; // int32
|
|
469
|
+
}
|
|
470
|
+
export interface Counts {
|
|
471
|
+
posted?: Count[];
|
|
472
|
+
trashed?: Count[];
|
|
473
|
+
}
|
|
463
474
|
export interface Event {
|
|
464
475
|
agent?: Agent;
|
|
465
476
|
book?: Book;
|
|
@@ -471,6 +482,10 @@ declare namespace bkper {
|
|
|
471
482
|
* The creation timestamp, in milliseconds
|
|
472
483
|
*/
|
|
473
484
|
createdAt?: string;
|
|
485
|
+
/**
|
|
486
|
+
* The creation date time on RFC3339 format
|
|
487
|
+
*/
|
|
488
|
+
createdOn?: string; // date-time
|
|
474
489
|
data?: EventData;
|
|
475
490
|
/**
|
|
476
491
|
* The unique id that identifies the Event
|
|
@@ -858,6 +873,16 @@ declare namespace Paths {
|
|
|
858
873
|
export type TransactionList = bkper.TransactionList;
|
|
859
874
|
}
|
|
860
875
|
}
|
|
876
|
+
namespace BkperV5CountTransactions {
|
|
877
|
+
namespace Responses {
|
|
878
|
+
export type $200 = bkper.Count;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
namespace BkperV5CountTransactionsPosted {
|
|
882
|
+
namespace Responses {
|
|
883
|
+
export type $200 = bkper.Counts;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
861
886
|
namespace BkperV5CreateAccount {
|
|
862
887
|
export interface BodyParameters {
|
|
863
888
|
Account: Parameters.Account;
|
|
@@ -1146,6 +1171,14 @@ declare namespace Paths {
|
|
|
1146
1171
|
export type $200 = bkper.TransactionOperation;
|
|
1147
1172
|
}
|
|
1148
1173
|
}
|
|
1174
|
+
namespace BkperV5ReplayEvents {
|
|
1175
|
+
export interface BodyParameters {
|
|
1176
|
+
EventList: Parameters.EventList;
|
|
1177
|
+
}
|
|
1178
|
+
namespace Parameters {
|
|
1179
|
+
export type EventList = bkper.EventList;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1149
1182
|
namespace BkperV5RestoreTransaction {
|
|
1150
1183
|
export interface BodyParameters {
|
|
1151
1184
|
Transaction: Parameters.Transaction;
|