@bkper/bkper-api-types 5.26.0 → 5.28.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 +0 -125
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -124,18 +124,6 @@ declare namespace bkper {
|
|
|
124
124
|
* Tell if this app is connectable by a user
|
|
125
125
|
*/
|
|
126
126
|
connectable?: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* The Conversation endpoint URL to respond to conversation messages
|
|
129
|
-
*/
|
|
130
|
-
conversationUrl?: string;
|
|
131
|
-
/**
|
|
132
|
-
* The Conversation endpoint URL to respond to conversation messages in dev mode
|
|
133
|
-
*/
|
|
134
|
-
conversationUrlDev?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Tell if this app is conversational
|
|
137
|
-
*/
|
|
138
|
-
conversational?: boolean;
|
|
139
127
|
/**
|
|
140
128
|
* Tell if the code app is deprecated
|
|
141
129
|
*/
|
|
@@ -516,43 +504,6 @@ declare namespace bkper {
|
|
|
516
504
|
*/
|
|
517
505
|
items?: Connection[];
|
|
518
506
|
}
|
|
519
|
-
export interface Conversation {
|
|
520
|
-
agent?: Agent;
|
|
521
|
-
/**
|
|
522
|
-
* The creation timestamp, in milliseconds
|
|
523
|
-
*/
|
|
524
|
-
createdAt?: string;
|
|
525
|
-
/**
|
|
526
|
-
* The creation date time on RFC3339 format
|
|
527
|
-
*/
|
|
528
|
-
createdOn?: string; // date-time
|
|
529
|
-
/**
|
|
530
|
-
* The unique id that identifies the Conversation
|
|
531
|
-
*/
|
|
532
|
-
id?: string;
|
|
533
|
-
/**
|
|
534
|
-
* The conversation messages
|
|
535
|
-
*/
|
|
536
|
-
messages?: Message[];
|
|
537
|
-
/**
|
|
538
|
-
* The title of the Conversation
|
|
539
|
-
*/
|
|
540
|
-
title?: string;
|
|
541
|
-
/**
|
|
542
|
-
* The last update timestamp, in milliseconds
|
|
543
|
-
*/
|
|
544
|
-
updatedAt?: string;
|
|
545
|
-
/**
|
|
546
|
-
* The last update date time on RFC3339 format
|
|
547
|
-
*/
|
|
548
|
-
updatedOn?: string; // date-time
|
|
549
|
-
}
|
|
550
|
-
export interface ConversationList {
|
|
551
|
-
/**
|
|
552
|
-
* List items
|
|
553
|
-
*/
|
|
554
|
-
items?: Conversation[];
|
|
555
|
-
}
|
|
556
507
|
export interface Count {
|
|
557
508
|
day?: number; // int32
|
|
558
509
|
fuzzyDate?: number; // int32
|
|
@@ -780,39 +731,6 @@ declare namespace bkper {
|
|
|
780
731
|
*/
|
|
781
732
|
items?: Integration[];
|
|
782
733
|
}
|
|
783
|
-
export interface Message {
|
|
784
|
-
agent?: Agent;
|
|
785
|
-
/**
|
|
786
|
-
* The content of the Message
|
|
787
|
-
*/
|
|
788
|
-
content?: string;
|
|
789
|
-
/**
|
|
790
|
-
* The creation timestamp, in milliseconds
|
|
791
|
-
*/
|
|
792
|
-
createdAt?: string;
|
|
793
|
-
/**
|
|
794
|
-
* The creation date time on RFC3339 format
|
|
795
|
-
*/
|
|
796
|
-
createdOn?: string; // date-time
|
|
797
|
-
/**
|
|
798
|
-
* The unique id that identifies the Message
|
|
799
|
-
*/
|
|
800
|
-
id?: string;
|
|
801
|
-
parent?: Message;
|
|
802
|
-
/**
|
|
803
|
-
* The key/value custom properties of the Message
|
|
804
|
-
*/
|
|
805
|
-
properties?: {
|
|
806
|
-
[name: string]: string;
|
|
807
|
-
};
|
|
808
|
-
user?: User;
|
|
809
|
-
}
|
|
810
|
-
export interface MessageList {
|
|
811
|
-
/**
|
|
812
|
-
* List items
|
|
813
|
-
*/
|
|
814
|
-
items?: Message[];
|
|
815
|
-
}
|
|
816
734
|
export interface Query {
|
|
817
735
|
/**
|
|
818
736
|
* The id of agent that created the resource
|
|
@@ -1150,17 +1068,6 @@ declare namespace Paths {
|
|
|
1150
1068
|
export type $200 = bkper.Connection;
|
|
1151
1069
|
}
|
|
1152
1070
|
}
|
|
1153
|
-
namespace BkperV5CreateConversation {
|
|
1154
|
-
export interface BodyParameters {
|
|
1155
|
-
Conversation: Parameters.Conversation;
|
|
1156
|
-
}
|
|
1157
|
-
namespace Parameters {
|
|
1158
|
-
export type Conversation = bkper.Conversation;
|
|
1159
|
-
}
|
|
1160
|
-
namespace Responses {
|
|
1161
|
-
export type $200 = bkper.Conversation;
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
1071
|
namespace BkperV5CreateFile {
|
|
1165
1072
|
export interface BodyParameters {
|
|
1166
1073
|
File: Parameters.File;
|
|
@@ -1205,17 +1112,6 @@ declare namespace Paths {
|
|
|
1205
1112
|
export type $200 = bkper.Integration;
|
|
1206
1113
|
}
|
|
1207
1114
|
}
|
|
1208
|
-
namespace BkperV5CreateMessage {
|
|
1209
|
-
export interface BodyParameters {
|
|
1210
|
-
Message: Parameters.Message;
|
|
1211
|
-
}
|
|
1212
|
-
namespace Parameters {
|
|
1213
|
-
export type Message = bkper.Message;
|
|
1214
|
-
}
|
|
1215
|
-
namespace Responses {
|
|
1216
|
-
export type $200 = bkper.Message;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
1115
|
namespace BkperV5CreateNewBook {
|
|
1220
1116
|
export interface BodyParameters {
|
|
1221
1117
|
Book: Parameters.Book;
|
|
@@ -1384,11 +1280,6 @@ declare namespace Paths {
|
|
|
1384
1280
|
export type $200 = bkper.ConnectionList;
|
|
1385
1281
|
}
|
|
1386
1282
|
}
|
|
1387
|
-
namespace BkperV5ListConversations {
|
|
1388
|
-
namespace Responses {
|
|
1389
|
-
export type $200 = bkper.ConversationList;
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
1283
|
namespace BkperV5ListEvents {
|
|
1393
1284
|
namespace Responses {
|
|
1394
1285
|
export type $200 = bkper.EventList;
|
|
@@ -1409,11 +1300,6 @@ declare namespace Paths {
|
|
|
1409
1300
|
export type $200 = bkper.IntegrationList;
|
|
1410
1301
|
}
|
|
1411
1302
|
}
|
|
1412
|
-
namespace BkperV5ListMessages {
|
|
1413
|
-
namespace Responses {
|
|
1414
|
-
export type $200 = bkper.MessageList;
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
1303
|
namespace BkperV5ListQueries {
|
|
1418
1304
|
namespace Responses {
|
|
1419
1305
|
export type $200 = bkper.QueryList;
|
|
@@ -1521,17 +1407,6 @@ declare namespace Paths {
|
|
|
1521
1407
|
export type $200 = bkper.Query;
|
|
1522
1408
|
}
|
|
1523
1409
|
}
|
|
1524
|
-
namespace BkperV5StreamConversation {
|
|
1525
|
-
export interface BodyParameters {
|
|
1526
|
-
Message: Parameters.Message;
|
|
1527
|
-
}
|
|
1528
|
-
namespace Parameters {
|
|
1529
|
-
export type Message = bkper.Message;
|
|
1530
|
-
}
|
|
1531
|
-
namespace Responses {
|
|
1532
|
-
export type $200 = bkper.Message;
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
1410
|
namespace BkperV5TrashTransaction {
|
|
1536
1411
|
export interface BodyParameters {
|
|
1537
1412
|
Transaction: Parameters.Transaction;
|