@bkper/bkper-api-types 5.16.0 → 5.17.1
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 +44 -25
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -120,6 +120,10 @@ declare namespace bkper {
|
|
|
120
120
|
* The Conversation endpoint URL to respond to conversation messages in dev mode
|
|
121
121
|
*/
|
|
122
122
|
conversationUrlDev?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Tell if this app is conversational
|
|
125
|
+
*/
|
|
126
|
+
conversational?: boolean;
|
|
123
127
|
/**
|
|
124
128
|
* Tell if the code app is deprecated
|
|
125
129
|
*/
|
|
@@ -482,6 +486,7 @@ declare namespace bkper {
|
|
|
482
486
|
items?: Connection[];
|
|
483
487
|
}
|
|
484
488
|
export interface Conversation {
|
|
489
|
+
agent?: Agent;
|
|
485
490
|
/**
|
|
486
491
|
* The creation timestamp, in milliseconds
|
|
487
492
|
*/
|
|
@@ -728,10 +733,6 @@ declare namespace bkper {
|
|
|
728
733
|
}
|
|
729
734
|
export interface Message {
|
|
730
735
|
agent?: Agent;
|
|
731
|
-
/**
|
|
732
|
-
* The id of the Book in the context of the Message
|
|
733
|
-
*/
|
|
734
|
-
bookId?: string;
|
|
735
736
|
/**
|
|
736
737
|
* The content of the Message
|
|
737
738
|
*/
|
|
@@ -748,6 +749,13 @@ declare namespace bkper {
|
|
|
748
749
|
* The unique id that identifies the Message
|
|
749
750
|
*/
|
|
750
751
|
id?: string;
|
|
752
|
+
parent?: Message;
|
|
753
|
+
/**
|
|
754
|
+
* The key/value custom properties of the Message
|
|
755
|
+
*/
|
|
756
|
+
properties?: {
|
|
757
|
+
[name: string]: string;
|
|
758
|
+
};
|
|
751
759
|
user?: User;
|
|
752
760
|
}
|
|
753
761
|
export interface MessageList {
|
|
@@ -992,17 +1000,6 @@ declare namespace Paths {
|
|
|
992
1000
|
export type $200 = bkper.Collaborator;
|
|
993
1001
|
}
|
|
994
1002
|
}
|
|
995
|
-
namespace BkperV5ChatWithApp {
|
|
996
|
-
export interface BodyParameters {
|
|
997
|
-
Conversation: Parameters.Conversation;
|
|
998
|
-
}
|
|
999
|
-
namespace Parameters {
|
|
1000
|
-
export type Conversation = bkper.Conversation;
|
|
1001
|
-
}
|
|
1002
|
-
namespace Responses {
|
|
1003
|
-
export type $200 = bkper.Conversation;
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
1003
|
namespace BkperV5CheckTransaction {
|
|
1007
1004
|
export interface BodyParameters {
|
|
1008
1005
|
Transaction: Parameters.Transaction;
|
|
@@ -1087,6 +1084,17 @@ declare namespace Paths {
|
|
|
1087
1084
|
export type $200 = bkper.Connection;
|
|
1088
1085
|
}
|
|
1089
1086
|
}
|
|
1087
|
+
namespace BkperV5CreateConversation {
|
|
1088
|
+
export interface BodyParameters {
|
|
1089
|
+
Conversation: Parameters.Conversation;
|
|
1090
|
+
}
|
|
1091
|
+
namespace Parameters {
|
|
1092
|
+
export type Conversation = bkper.Conversation;
|
|
1093
|
+
}
|
|
1094
|
+
namespace Responses {
|
|
1095
|
+
export type $200 = bkper.Conversation;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1090
1098
|
namespace BkperV5CreateFile {
|
|
1091
1099
|
export interface BodyParameters {
|
|
1092
1100
|
File: Parameters.File;
|
|
@@ -1131,6 +1139,17 @@ declare namespace Paths {
|
|
|
1131
1139
|
export type $200 = bkper.Integration;
|
|
1132
1140
|
}
|
|
1133
1141
|
}
|
|
1142
|
+
namespace BkperV5CreateMessage {
|
|
1143
|
+
export interface BodyParameters {
|
|
1144
|
+
Message: Parameters.Message;
|
|
1145
|
+
}
|
|
1146
|
+
namespace Parameters {
|
|
1147
|
+
export type Message = bkper.Message;
|
|
1148
|
+
}
|
|
1149
|
+
namespace Responses {
|
|
1150
|
+
export type $200 = bkper.Message;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1134
1153
|
namespace BkperV5CreateNewBook {
|
|
1135
1154
|
export interface BodyParameters {
|
|
1136
1155
|
Book: Parameters.Book;
|
|
@@ -1259,16 +1278,6 @@ declare namespace Paths {
|
|
|
1259
1278
|
export type $200 = bkper.AccountList;
|
|
1260
1279
|
}
|
|
1261
1280
|
}
|
|
1262
|
-
namespace BkperV5ListAppConversationMessages {
|
|
1263
|
-
namespace Responses {
|
|
1264
|
-
export type $200 = bkper.MessageList;
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
namespace BkperV5ListAppConversations {
|
|
1268
|
-
namespace Responses {
|
|
1269
|
-
export type $200 = bkper.ConversationList;
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
1281
|
namespace BkperV5ListApps {
|
|
1273
1282
|
namespace Responses {
|
|
1274
1283
|
export type $200 = bkper.AppList;
|
|
@@ -1299,6 +1308,11 @@ declare namespace Paths {
|
|
|
1299
1308
|
export type $200 = bkper.ConnectionList;
|
|
1300
1309
|
}
|
|
1301
1310
|
}
|
|
1311
|
+
namespace BkperV5ListConversations {
|
|
1312
|
+
namespace Responses {
|
|
1313
|
+
export type $200 = bkper.ConversationList;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1302
1316
|
namespace BkperV5ListEvents {
|
|
1303
1317
|
namespace Responses {
|
|
1304
1318
|
export type $200 = bkper.EventList;
|
|
@@ -1319,6 +1333,11 @@ declare namespace Paths {
|
|
|
1319
1333
|
export type $200 = bkper.IntegrationList;
|
|
1320
1334
|
}
|
|
1321
1335
|
}
|
|
1336
|
+
namespace BkperV5ListMessages {
|
|
1337
|
+
namespace Responses {
|
|
1338
|
+
export type $200 = bkper.MessageList;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1322
1341
|
namespace BkperV5ListQueries {
|
|
1323
1342
|
namespace Responses {
|
|
1324
1343
|
export type $200 = bkper.QueryList;
|