@bkper/bkper-api-types 5.6.0 → 5.8.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 +34 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -385,6 +385,11 @@ declare namespace bkper {
385
385
  */
386
386
  items?: Book[];
387
387
  }
388
+ export interface BotResponse {
389
+ agentId?: string;
390
+ message?: string;
391
+ type?: "INFO" | "WARNING" | "ERROR";
392
+ }
388
393
  export interface Collaborator {
389
394
  /**
390
395
  * The id of agent that created the resource
@@ -461,7 +466,15 @@ declare namespace bkper {
461
466
  items?: Connection[];
462
467
  }
463
468
  export interface Count {
469
+ day?: number; // int32
470
+ fuzzyDate?: number; // int32
471
+ month?: number; // int32
464
472
  total?: number; // int64
473
+ year?: number; // int32
474
+ }
475
+ export interface Counts {
476
+ posted?: Count[];
477
+ trashed?: Count[];
465
478
  }
466
479
  export interface Event {
467
480
  agent?: Agent;
@@ -470,10 +483,18 @@ declare namespace bkper {
470
483
  * The id of the Book associated to the Event
471
484
  */
472
485
  bookId?: string;
486
+ /**
487
+ * The list of bot responses associated to the Event
488
+ */
489
+ botResponses?: BotResponse[];
473
490
  /**
474
491
  * The creation timestamp, in milliseconds
475
492
  */
476
493
  createdAt?: string;
494
+ /**
495
+ * The creation date time on RFC3339 format
496
+ */
497
+ createdOn?: string; // date-time
477
498
  data?: EventData;
478
499
  /**
479
500
  * The unique id that identifies the Event
@@ -866,6 +887,11 @@ declare namespace Paths {
866
887
  export type $200 = bkper.Count;
867
888
  }
868
889
  }
890
+ namespace BkperV5CountTransactionsPosted {
891
+ namespace Responses {
892
+ export type $200 = bkper.Counts;
893
+ }
894
+ }
869
895
  namespace BkperV5CreateAccount {
870
896
  export interface BodyParameters {
871
897
  Account: Parameters.Account;
@@ -1154,6 +1180,14 @@ declare namespace Paths {
1154
1180
  export type $200 = bkper.TransactionOperation;
1155
1181
  }
1156
1182
  }
1183
+ namespace BkperV5ReplayEvents {
1184
+ export interface BodyParameters {
1185
+ EventList: Parameters.EventList;
1186
+ }
1187
+ namespace Parameters {
1188
+ export type EventList = bkper.EventList;
1189
+ }
1190
+ }
1157
1191
  namespace BkperV5RestoreTransaction {
1158
1192
  export interface BodyParameters {
1159
1193
  Transaction: Parameters.Transaction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bkper/bkper-api-types",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Typescript definitions for Bkper REST API",
5
5
  "homepage": "https://api.bkper.com",
6
6
  "repository": {