@botpress/client 0.23.1 → 0.24.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/.turbo/turbo-build.log +12 -6
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +11 -11
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +10910 -4
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +4 -4
- package/package.json +4 -3
- package/dist/client.d.ts +0 -10
- package/dist/config.d.ts +0 -2
- package/dist/errors.d.ts +0 -41
- package/dist/gen/errors.d.ts +0 -211
- package/dist/gen/index.d.ts +0 -389
- package/dist/gen/models.d.ts +0 -1264
- package/dist/gen/operations/addParticipant.d.ts +0 -56
- package/dist/gen/operations/breakDownWorkspaceUsageByBot.d.ts +0 -27
- package/dist/gen/operations/callAction.d.ts +0 -36
- package/dist/gen/operations/changeAISpendQuota.d.ts +0 -21
- package/dist/gen/operations/chargeWorkspaceUnpaidInvoices.d.ts +0 -40
- package/dist/gen/operations/checkHandleAvailability.d.ts +0 -24
- package/dist/gen/operations/configureIntegration.d.ts +0 -24
- package/dist/gen/operations/createBot.d.ts +0 -487
- package/dist/gen/operations/createConversation.d.ts +0 -70
- package/dist/gen/operations/createEvent.d.ts +0 -95
- package/dist/gen/operations/createIntegration.d.ts +0 -573
- package/dist/gen/operations/createIntegrationApiKey.d.ts +0 -29
- package/dist/gen/operations/createInterface.d.ts +0 -172
- package/dist/gen/operations/createMessage.d.ts +0 -98
- package/dist/gen/operations/createPersonalAccessToken.d.ts +0 -33
- package/dist/gen/operations/createTable.d.ts +0 -151
- package/dist/gen/operations/createTableRows.d.ts +0 -71
- package/dist/gen/operations/createTask.d.ts +0 -125
- package/dist/gen/operations/createUser.d.ts +0 -70
- package/dist/gen/operations/createWorkspace.d.ts +0 -38
- package/dist/gen/operations/createWorkspaceMember.d.ts +0 -29
- package/dist/gen/operations/deleteBot.d.ts +0 -21
- package/dist/gen/operations/deleteBotIssue.d.ts +0 -22
- package/dist/gen/operations/deleteConversation.d.ts +0 -21
- package/dist/gen/operations/deleteFile.d.ts +0 -21
- package/dist/gen/operations/deleteIntegration.d.ts +0 -21
- package/dist/gen/operations/deleteIntegrationApiKey.d.ts +0 -21
- package/dist/gen/operations/deleteInterface.d.ts +0 -21
- package/dist/gen/operations/deleteMessage.d.ts +0 -21
- package/dist/gen/operations/deletePersonalAccessToken.d.ts +0 -21
- package/dist/gen/operations/deleteTable.d.ts +0 -21
- package/dist/gen/operations/deleteTableRows.d.ts +0 -36
- package/dist/gen/operations/deleteTask.d.ts +0 -21
- package/dist/gen/operations/deleteUser.d.ts +0 -21
- package/dist/gen/operations/deleteWorkspace.d.ts +0 -21
- package/dist/gen/operations/deleteWorkspaceMember.d.ts +0 -21
- package/dist/gen/operations/duplicateTable.d.ts +0 -137
- package/dist/gen/operations/findTableRows.d.ts +0 -94
- package/dist/gen/operations/getAccount.d.ts +0 -31
- package/dist/gen/operations/getAccountPreference.d.ts +0 -22
- package/dist/gen/operations/getAllWorkspaceQuotaCompletion.d.ts +0 -24
- package/dist/gen/operations/getAuditRecords.d.ts +0 -38
- package/dist/gen/operations/getBot.d.ts +0 -308
- package/dist/gen/operations/getBotAnalytics.d.ts +0 -49
- package/dist/gen/operations/getBotIssue.d.ts +0 -39
- package/dist/gen/operations/getBotLogs.d.ts +0 -30
- package/dist/gen/operations/getBotWebchat.d.ts +0 -23
- package/dist/gen/operations/getConversation.d.ts +0 -56
- package/dist/gen/operations/getEvent.d.ts +0 -61
- package/dist/gen/operations/getFile.d.ts +0 -85
- package/dist/gen/operations/getIntegration.d.ts +0 -315
- package/dist/gen/operations/getIntegrationByName.d.ts +0 -316
- package/dist/gen/operations/getIntegrationLogs.d.ts +0 -30
- package/dist/gen/operations/getInterface.d.ts +0 -104
- package/dist/gen/operations/getInterfaceByName.d.ts +0 -105
- package/dist/gen/operations/getMessage.d.ts +0 -62
- package/dist/gen/operations/getMultipleUsages.d.ts +0 -45
- package/dist/gen/operations/getOrCreateConversation.d.ts +0 -70
- package/dist/gen/operations/getOrCreateMessage.d.ts +0 -98
- package/dist/gen/operations/getOrCreateTable.d.ts +0 -164
- package/dist/gen/operations/getOrCreateUser.d.ts +0 -70
- package/dist/gen/operations/getOrSetState.d.ts +0 -76
- package/dist/gen/operations/getParticipant.d.ts +0 -53
- package/dist/gen/operations/getPublicIntegration.d.ts +0 -321
- package/dist/gen/operations/getPublicIntegrationById.d.ts +0 -320
- package/dist/gen/operations/getPublicWorkspace.d.ts +0 -31
- package/dist/gen/operations/getState.d.ts +0 -66
- package/dist/gen/operations/getTable.d.ts +0 -136
- package/dist/gen/operations/getTableRow.d.ts +0 -53
- package/dist/gen/operations/getTask.d.ts +0 -86
- package/dist/gen/operations/getUpcomingInvoice.d.ts +0 -29
- package/dist/gen/operations/getUsage.d.ts +0 -45
- package/dist/gen/operations/getUser.d.ts +0 -52
- package/dist/gen/operations/getWorkspace.d.ts +0 -38
- package/dist/gen/operations/getWorkspaceMember.d.ts +0 -27
- package/dist/gen/operations/getWorkspaceQuota.d.ts +0 -37
- package/dist/gen/operations/introspect.d.ts +0 -24
- package/dist/gen/operations/listActivities.d.ts +0 -42
- package/dist/gen/operations/listBotIssueEvents.d.ts +0 -32
- package/dist/gen/operations/listBotIssues.d.ts +0 -45
- package/dist/gen/operations/listBots.d.ts +0 -46
- package/dist/gen/operations/listConversations.d.ts +0 -64
- package/dist/gen/operations/listEvents.d.ts +0 -69
- package/dist/gen/operations/listFiles.d.ts +0 -94
- package/dist/gen/operations/listIntegrationApiKeys.d.ts +0 -26
- package/dist/gen/operations/listIntegrations.d.ts +0 -68
- package/dist/gen/operations/listInterfaces.d.ts +0 -49
- package/dist/gen/operations/listMessages.d.ts +0 -69
- package/dist/gen/operations/listParticipants.d.ts +0 -56
- package/dist/gen/operations/listPersonalAccessTokens.d.ts +0 -25
- package/dist/gen/operations/listPublicIntegrations.d.ts +0 -72
- package/dist/gen/operations/listPublicWorkspaces.d.ts +0 -42
- package/dist/gen/operations/listTables.d.ts +0 -126
- package/dist/gen/operations/listTasks.d.ts +0 -97
- package/dist/gen/operations/listUsageHistory.d.ts +0 -44
- package/dist/gen/operations/listUsers.d.ts +0 -59
- package/dist/gen/operations/listWorkspaceInvoices.d.ts +0 -57
- package/dist/gen/operations/listWorkspaceMembers.d.ts +0 -36
- package/dist/gen/operations/listWorkspaceQuotas.d.ts +0 -36
- package/dist/gen/operations/listWorkspaceUsages.d.ts +0 -45
- package/dist/gen/operations/listWorkspaces.d.ts +0 -47
- package/dist/gen/operations/patchState.d.ts +0 -72
- package/dist/gen/operations/removeParticipant.d.ts +0 -22
- package/dist/gen/operations/renameTableColumn.d.ts +0 -132
- package/dist/gen/operations/runVrl.d.ts +0 -28
- package/dist/gen/operations/searchFiles.d.ts +0 -56
- package/dist/gen/operations/setAccountPreference.d.ts +0 -22
- package/dist/gen/operations/setState.d.ts +0 -76
- package/dist/gen/operations/setWorkspacePaymentMethod.d.ts +0 -37
- package/dist/gen/operations/trackAnalytics.d.ts +0 -22
- package/dist/gen/operations/transferBot.d.ts +0 -25
- package/dist/gen/operations/updateAccount.d.ts +0 -34
- package/dist/gen/operations/updateBot.d.ts +0 -486
- package/dist/gen/operations/updateConversation.d.ts +0 -63
- package/dist/gen/operations/updateFileMetadata.d.ts +0 -95
- package/dist/gen/operations/updateIntegration.d.ts +0 -562
- package/dist/gen/operations/updateInterface.d.ts +0 -165
- package/dist/gen/operations/updateMessage.d.ts +0 -68
- package/dist/gen/operations/updateTable.d.ts +0 -152
- package/dist/gen/operations/updateTableRows.d.ts +0 -74
- package/dist/gen/operations/updateTask.d.ts +0 -114
- package/dist/gen/operations/updateUser.d.ts +0 -66
- package/dist/gen/operations/updateWorkspace.d.ts +0 -50
- package/dist/gen/operations/updateWorkspaceMember.d.ts +0 -29
- package/dist/gen/operations/upsertFile.d.ts +0 -114
- package/dist/gen/operations/upsertTableRows.d.ts +0 -107
- package/dist/gen/to-axios.d.ts +0 -16
- package/dist/types.d.ts +0 -49
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
export interface GetIntegrationByNameRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetIntegrationByNameRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface GetIntegrationByNameRequestParams {
|
|
6
|
-
name: string;
|
|
7
|
-
version: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetIntegrationByNameRequestBody {
|
|
10
|
-
}
|
|
11
|
-
export type GetIntegrationByNameInput = GetIntegrationByNameRequestBody & GetIntegrationByNameRequestHeaders & GetIntegrationByNameRequestQuery & GetIntegrationByNameRequestParams;
|
|
12
|
-
export type GetIntegrationByNameRequest = {
|
|
13
|
-
headers: GetIntegrationByNameRequestHeaders;
|
|
14
|
-
query: GetIntegrationByNameRequestQuery;
|
|
15
|
-
params: GetIntegrationByNameRequestParams;
|
|
16
|
-
body: GetIntegrationByNameRequestBody;
|
|
17
|
-
};
|
|
18
|
-
export declare const parseReq: (input: GetIntegrationByNameInput) => GetIntegrationByNameRequest & {
|
|
19
|
-
path: string;
|
|
20
|
-
};
|
|
21
|
-
export interface GetIntegrationByNameResponse {
|
|
22
|
-
integration: {
|
|
23
|
-
/**
|
|
24
|
-
* ID of the [Integration](#schema_integration)
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* Creation date of the [Integration](#schema_integration) in ISO 8601 format
|
|
29
|
-
*/
|
|
30
|
-
createdAt: string;
|
|
31
|
-
/**
|
|
32
|
-
* Updating date of the [Integration](#schema_integration) in ISO 8601 format
|
|
33
|
-
*/
|
|
34
|
-
updatedAt: string;
|
|
35
|
-
/**
|
|
36
|
-
* Global identifier configuration of the [Integration](#schema_integration)
|
|
37
|
-
*/
|
|
38
|
-
identifier: {
|
|
39
|
-
/**
|
|
40
|
-
* VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
|
|
41
|
-
*/
|
|
42
|
-
fallbackHandlerScript?: string;
|
|
43
|
-
/**
|
|
44
|
-
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
|
|
45
|
-
*/
|
|
46
|
-
extractScript?: string;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* URL of the [Integration](#schema_integration)
|
|
50
|
-
*/
|
|
51
|
-
url: string;
|
|
52
|
-
/**
|
|
53
|
-
* Name of the [Integration](#schema_integration)
|
|
54
|
-
*/
|
|
55
|
-
name: string;
|
|
56
|
-
/**
|
|
57
|
-
* Version of the [Integration](#schema_integration)
|
|
58
|
-
*/
|
|
59
|
-
version: string;
|
|
60
|
-
interfaces: {
|
|
61
|
-
[k: string]: {
|
|
62
|
-
id: string;
|
|
63
|
-
entities: {
|
|
64
|
-
[k: string]: {
|
|
65
|
-
name: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
actions: {
|
|
69
|
-
[k: string]: {
|
|
70
|
-
name: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
events: {
|
|
74
|
-
[k: string]: {
|
|
75
|
-
name: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Configuration definition
|
|
82
|
-
*/
|
|
83
|
-
configuration: {
|
|
84
|
-
/**
|
|
85
|
-
* Identifier configuration of the [Integration](#schema_integration)
|
|
86
|
-
*/
|
|
87
|
-
identifier: {
|
|
88
|
-
linkTemplateScript?: string;
|
|
89
|
-
required: boolean;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
93
|
-
*/
|
|
94
|
-
schema?: {
|
|
95
|
-
[k: string]: any;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
channels: {
|
|
99
|
-
/**
|
|
100
|
-
* Channel definition
|
|
101
|
-
*/
|
|
102
|
-
[k: string]: {
|
|
103
|
-
/**
|
|
104
|
-
* Title of the channel
|
|
105
|
-
*/
|
|
106
|
-
title?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Description of the channel
|
|
109
|
-
*/
|
|
110
|
-
description?: string;
|
|
111
|
-
messages: {
|
|
112
|
-
/**
|
|
113
|
-
* Message definition
|
|
114
|
-
*/
|
|
115
|
-
[k: string]: {
|
|
116
|
-
schema: {
|
|
117
|
-
[k: string]: any;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* Conversation object configuration
|
|
123
|
-
*/
|
|
124
|
-
conversation: {
|
|
125
|
-
tags: {
|
|
126
|
-
/**
|
|
127
|
-
* Definition of a tag that can be provided on the object
|
|
128
|
-
*/
|
|
129
|
-
[k: string]: {
|
|
130
|
-
/**
|
|
131
|
-
* Title of the tag
|
|
132
|
-
*/
|
|
133
|
-
title?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Description of the tag
|
|
136
|
-
*/
|
|
137
|
-
description?: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
|
|
142
|
-
*/
|
|
143
|
-
creation: {
|
|
144
|
-
/**
|
|
145
|
-
* Enable conversation creation
|
|
146
|
-
*/
|
|
147
|
-
enabled: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* The list of tags that are required to be specified when calling the API directly to create a conversation.
|
|
150
|
-
*/
|
|
151
|
-
requiredTags: string[];
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Message object configuration
|
|
156
|
-
*/
|
|
157
|
-
message: {
|
|
158
|
-
tags: {
|
|
159
|
-
/**
|
|
160
|
-
* Definition of a tag that can be provided on the object
|
|
161
|
-
*/
|
|
162
|
-
[k: string]: {
|
|
163
|
-
/**
|
|
164
|
-
* Title of the tag
|
|
165
|
-
*/
|
|
166
|
-
title?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Description of the tag
|
|
169
|
-
*/
|
|
170
|
-
description?: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
states: {
|
|
177
|
-
/**
|
|
178
|
-
* State definition
|
|
179
|
-
*/
|
|
180
|
-
[k: string]: {
|
|
181
|
-
/**
|
|
182
|
-
* Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
|
|
183
|
-
*/
|
|
184
|
-
type: "conversation" | "user" | "integration";
|
|
185
|
-
/**
|
|
186
|
-
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
187
|
-
*/
|
|
188
|
-
schema: {
|
|
189
|
-
[k: string]: any;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
events: {
|
|
194
|
-
/**
|
|
195
|
-
* Event Definition
|
|
196
|
-
*/
|
|
197
|
-
[k: string]: {
|
|
198
|
-
/**
|
|
199
|
-
* Title of the event
|
|
200
|
-
*/
|
|
201
|
-
title?: string;
|
|
202
|
-
/**
|
|
203
|
-
* Description of the event
|
|
204
|
-
*/
|
|
205
|
-
description?: string;
|
|
206
|
-
schema: {
|
|
207
|
-
[k: string]: any;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
actions: {
|
|
212
|
-
/**
|
|
213
|
-
* Action definition
|
|
214
|
-
*/
|
|
215
|
-
[k: string]: {
|
|
216
|
-
/**
|
|
217
|
-
* Title of the action
|
|
218
|
-
*/
|
|
219
|
-
title?: string;
|
|
220
|
-
/**
|
|
221
|
-
* Description of the action
|
|
222
|
-
*/
|
|
223
|
-
description?: string;
|
|
224
|
-
input: {
|
|
225
|
-
schema: {
|
|
226
|
-
[k: string]: any;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
output: {
|
|
230
|
-
schema: {
|
|
231
|
-
[k: string]: any;
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* User object configuration
|
|
238
|
-
*/
|
|
239
|
-
user: {
|
|
240
|
-
tags: {
|
|
241
|
-
/**
|
|
242
|
-
* Definition of a tag that can be provided on the object
|
|
243
|
-
*/
|
|
244
|
-
[k: string]: {
|
|
245
|
-
/**
|
|
246
|
-
* Title of the tag
|
|
247
|
-
*/
|
|
248
|
-
title?: string;
|
|
249
|
-
/**
|
|
250
|
-
* Description of the tag
|
|
251
|
-
*/
|
|
252
|
-
description?: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
/**
|
|
256
|
-
* The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
|
|
257
|
-
*/
|
|
258
|
-
creation: {
|
|
259
|
-
/**
|
|
260
|
-
* Enable user creation
|
|
261
|
-
*/
|
|
262
|
-
enabled: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* The list of tags that are required to be specified when calling the API directly to create a user.
|
|
265
|
-
*/
|
|
266
|
-
requiredTags: string[];
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
entities: {
|
|
270
|
-
/**
|
|
271
|
-
* Entity definition
|
|
272
|
-
*/
|
|
273
|
-
[k: string]: {
|
|
274
|
-
/**
|
|
275
|
-
* Title of the entity
|
|
276
|
-
*/
|
|
277
|
-
title?: string;
|
|
278
|
-
/**
|
|
279
|
-
* Description of the entity
|
|
280
|
-
*/
|
|
281
|
-
description?: string;
|
|
282
|
-
schema: {
|
|
283
|
-
[k: string]: any;
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
/**
|
|
288
|
-
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
289
|
-
*/
|
|
290
|
-
dev: boolean;
|
|
291
|
-
/**
|
|
292
|
-
* Title of the integration. This is the name that will be displayed in the UI
|
|
293
|
-
*/
|
|
294
|
-
title: string;
|
|
295
|
-
/**
|
|
296
|
-
* Description of the integration. This is the description that will be displayed in the UI
|
|
297
|
-
*/
|
|
298
|
-
description: string;
|
|
299
|
-
/**
|
|
300
|
-
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
301
|
-
*/
|
|
302
|
-
iconUrl: string;
|
|
303
|
-
/**
|
|
304
|
-
* URL of the readme of the integration. This is the readme that will be displayed in the UI
|
|
305
|
-
*/
|
|
306
|
-
readmeUrl: string;
|
|
307
|
-
/**
|
|
308
|
-
* Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
309
|
-
*/
|
|
310
|
-
public: boolean;
|
|
311
|
-
/**
|
|
312
|
-
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
313
|
-
*/
|
|
314
|
-
secrets: string[];
|
|
315
|
-
};
|
|
316
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export interface GetIntegrationLogsRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetIntegrationLogsRequestQuery {
|
|
4
|
-
timeStart: string;
|
|
5
|
-
timeEnd: string;
|
|
6
|
-
nextToken?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetIntegrationLogsRequestParams {
|
|
9
|
-
id: string;
|
|
10
|
-
}
|
|
11
|
-
export interface GetIntegrationLogsRequestBody {
|
|
12
|
-
}
|
|
13
|
-
export type GetIntegrationLogsInput = GetIntegrationLogsRequestBody & GetIntegrationLogsRequestHeaders & GetIntegrationLogsRequestQuery & GetIntegrationLogsRequestParams;
|
|
14
|
-
export type GetIntegrationLogsRequest = {
|
|
15
|
-
headers: GetIntegrationLogsRequestHeaders;
|
|
16
|
-
query: GetIntegrationLogsRequestQuery;
|
|
17
|
-
params: GetIntegrationLogsRequestParams;
|
|
18
|
-
body: GetIntegrationLogsRequestBody;
|
|
19
|
-
};
|
|
20
|
-
export declare const parseReq: (input: GetIntegrationLogsInput) => GetIntegrationLogsRequest & {
|
|
21
|
-
path: string;
|
|
22
|
-
};
|
|
23
|
-
export interface GetIntegrationLogsResponse {
|
|
24
|
-
logs: {
|
|
25
|
-
timestamp: string;
|
|
26
|
-
level: string;
|
|
27
|
-
message: string;
|
|
28
|
-
}[];
|
|
29
|
-
nextToken?: string;
|
|
30
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
export interface GetInterfaceRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetInterfaceRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface GetInterfaceRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetInterfaceRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type GetInterfaceInput = GetInterfaceRequestBody & GetInterfaceRequestHeaders & GetInterfaceRequestQuery & GetInterfaceRequestParams;
|
|
11
|
-
export type GetInterfaceRequest = {
|
|
12
|
-
headers: GetInterfaceRequestHeaders;
|
|
13
|
-
query: GetInterfaceRequestQuery;
|
|
14
|
-
params: GetInterfaceRequestParams;
|
|
15
|
-
body: GetInterfaceRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: GetInterfaceInput) => GetInterfaceRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface GetInterfaceResponse {
|
|
21
|
-
interface: {
|
|
22
|
-
/**
|
|
23
|
-
* ID of the [Interface](#schema_interface)
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
28
|
-
*/
|
|
29
|
-
createdAt: string;
|
|
30
|
-
/**
|
|
31
|
-
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
32
|
-
*/
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the [Interface](#schema_interface)
|
|
36
|
-
*/
|
|
37
|
-
name: string;
|
|
38
|
-
/**
|
|
39
|
-
* Version of the [Interface](#schema_interface)
|
|
40
|
-
*/
|
|
41
|
-
version: string;
|
|
42
|
-
events: {
|
|
43
|
-
/**
|
|
44
|
-
* Event Definition
|
|
45
|
-
*/
|
|
46
|
-
[k: string]: {
|
|
47
|
-
/**
|
|
48
|
-
* Title of the event
|
|
49
|
-
*/
|
|
50
|
-
title?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Description of the event
|
|
53
|
-
*/
|
|
54
|
-
description?: string;
|
|
55
|
-
schema: {
|
|
56
|
-
[k: string]: any;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
actions: {
|
|
61
|
-
/**
|
|
62
|
-
* Action definition
|
|
63
|
-
*/
|
|
64
|
-
[k: string]: {
|
|
65
|
-
/**
|
|
66
|
-
* Title of the action
|
|
67
|
-
*/
|
|
68
|
-
title?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Description of the action
|
|
71
|
-
*/
|
|
72
|
-
description?: string;
|
|
73
|
-
input: {
|
|
74
|
-
schema: {
|
|
75
|
-
[k: string]: any;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
output: {
|
|
79
|
-
schema: {
|
|
80
|
-
[k: string]: any;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
entities: {
|
|
86
|
-
/**
|
|
87
|
-
* Entity definition
|
|
88
|
-
*/
|
|
89
|
-
[k: string]: {
|
|
90
|
-
/**
|
|
91
|
-
* Title of the entity
|
|
92
|
-
*/
|
|
93
|
-
title?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Description of the entity
|
|
96
|
-
*/
|
|
97
|
-
description?: string;
|
|
98
|
-
schema: {
|
|
99
|
-
[k: string]: any;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export interface GetInterfaceByNameRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetInterfaceByNameRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface GetInterfaceByNameRequestParams {
|
|
6
|
-
name: string;
|
|
7
|
-
version: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetInterfaceByNameRequestBody {
|
|
10
|
-
}
|
|
11
|
-
export type GetInterfaceByNameInput = GetInterfaceByNameRequestBody & GetInterfaceByNameRequestHeaders & GetInterfaceByNameRequestQuery & GetInterfaceByNameRequestParams;
|
|
12
|
-
export type GetInterfaceByNameRequest = {
|
|
13
|
-
headers: GetInterfaceByNameRequestHeaders;
|
|
14
|
-
query: GetInterfaceByNameRequestQuery;
|
|
15
|
-
params: GetInterfaceByNameRequestParams;
|
|
16
|
-
body: GetInterfaceByNameRequestBody;
|
|
17
|
-
};
|
|
18
|
-
export declare const parseReq: (input: GetInterfaceByNameInput) => GetInterfaceByNameRequest & {
|
|
19
|
-
path: string;
|
|
20
|
-
};
|
|
21
|
-
export interface GetInterfaceByNameResponse {
|
|
22
|
-
interface: {
|
|
23
|
-
/**
|
|
24
|
-
* ID of the [Interface](#schema_interface)
|
|
25
|
-
*/
|
|
26
|
-
id: string;
|
|
27
|
-
/**
|
|
28
|
-
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
29
|
-
*/
|
|
30
|
-
createdAt: string;
|
|
31
|
-
/**
|
|
32
|
-
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
33
|
-
*/
|
|
34
|
-
updatedAt: string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the [Interface](#schema_interface)
|
|
37
|
-
*/
|
|
38
|
-
name: string;
|
|
39
|
-
/**
|
|
40
|
-
* Version of the [Interface](#schema_interface)
|
|
41
|
-
*/
|
|
42
|
-
version: string;
|
|
43
|
-
events: {
|
|
44
|
-
/**
|
|
45
|
-
* Event Definition
|
|
46
|
-
*/
|
|
47
|
-
[k: string]: {
|
|
48
|
-
/**
|
|
49
|
-
* Title of the event
|
|
50
|
-
*/
|
|
51
|
-
title?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Description of the event
|
|
54
|
-
*/
|
|
55
|
-
description?: string;
|
|
56
|
-
schema: {
|
|
57
|
-
[k: string]: any;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
actions: {
|
|
62
|
-
/**
|
|
63
|
-
* Action definition
|
|
64
|
-
*/
|
|
65
|
-
[k: string]: {
|
|
66
|
-
/**
|
|
67
|
-
* Title of the action
|
|
68
|
-
*/
|
|
69
|
-
title?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Description of the action
|
|
72
|
-
*/
|
|
73
|
-
description?: string;
|
|
74
|
-
input: {
|
|
75
|
-
schema: {
|
|
76
|
-
[k: string]: any;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
output: {
|
|
80
|
-
schema: {
|
|
81
|
-
[k: string]: any;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
entities: {
|
|
87
|
-
/**
|
|
88
|
-
* Entity definition
|
|
89
|
-
*/
|
|
90
|
-
[k: string]: {
|
|
91
|
-
/**
|
|
92
|
-
* Title of the entity
|
|
93
|
-
*/
|
|
94
|
-
title?: string;
|
|
95
|
-
/**
|
|
96
|
-
* Description of the entity
|
|
97
|
-
*/
|
|
98
|
-
description?: string;
|
|
99
|
-
schema: {
|
|
100
|
-
[k: string]: any;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export interface GetMessageRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetMessageRequestQuery {
|
|
4
|
-
}
|
|
5
|
-
export interface GetMessageRequestParams {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetMessageRequestBody {
|
|
9
|
-
}
|
|
10
|
-
export type GetMessageInput = GetMessageRequestBody & GetMessageRequestHeaders & GetMessageRequestQuery & GetMessageRequestParams;
|
|
11
|
-
export type GetMessageRequest = {
|
|
12
|
-
headers: GetMessageRequestHeaders;
|
|
13
|
-
query: GetMessageRequestQuery;
|
|
14
|
-
params: GetMessageRequestParams;
|
|
15
|
-
body: GetMessageRequestBody;
|
|
16
|
-
};
|
|
17
|
-
export declare const parseReq: (input: GetMessageInput) => GetMessageRequest & {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
export interface GetMessageResponse {
|
|
21
|
-
/**
|
|
22
|
-
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
23
|
-
*/
|
|
24
|
-
message: {
|
|
25
|
-
/**
|
|
26
|
-
* Id of the [Message](#schema_message)
|
|
27
|
-
*/
|
|
28
|
-
id: string;
|
|
29
|
-
/**
|
|
30
|
-
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
31
|
-
*/
|
|
32
|
-
createdAt: string;
|
|
33
|
-
/**
|
|
34
|
-
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
35
|
-
*/
|
|
36
|
-
type: string;
|
|
37
|
-
/**
|
|
38
|
-
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
39
|
-
*/
|
|
40
|
-
payload: {
|
|
41
|
-
[k: string]: any;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Direction of the message (`incoming` or `outgoing`).
|
|
45
|
-
*/
|
|
46
|
-
direction: "incoming" | "outgoing";
|
|
47
|
-
/**
|
|
48
|
-
* ID of the [User](#schema_user)
|
|
49
|
-
*/
|
|
50
|
-
userId: string;
|
|
51
|
-
/**
|
|
52
|
-
* ID of the [Conversation](#schema_conversation)
|
|
53
|
-
*/
|
|
54
|
-
conversationId: string;
|
|
55
|
-
/**
|
|
56
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
|
|
57
|
-
*/
|
|
58
|
-
tags: {
|
|
59
|
-
[k: string]: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export interface GetMultipleUsagesRequestHeaders {
|
|
2
|
-
}
|
|
3
|
-
export interface GetMultipleUsagesRequestQuery {
|
|
4
|
-
types: string[];
|
|
5
|
-
ids: string[];
|
|
6
|
-
period?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetMultipleUsagesRequestParams {
|
|
9
|
-
}
|
|
10
|
-
export interface GetMultipleUsagesRequestBody {
|
|
11
|
-
}
|
|
12
|
-
export type GetMultipleUsagesInput = GetMultipleUsagesRequestBody & GetMultipleUsagesRequestHeaders & GetMultipleUsagesRequestQuery & GetMultipleUsagesRequestParams;
|
|
13
|
-
export type GetMultipleUsagesRequest = {
|
|
14
|
-
headers: GetMultipleUsagesRequestHeaders;
|
|
15
|
-
query: GetMultipleUsagesRequestQuery;
|
|
16
|
-
params: GetMultipleUsagesRequestParams;
|
|
17
|
-
body: GetMultipleUsagesRequestBody;
|
|
18
|
-
};
|
|
19
|
-
export declare const parseReq: (input: GetMultipleUsagesInput) => GetMultipleUsagesRequest & {
|
|
20
|
-
path: string;
|
|
21
|
-
};
|
|
22
|
-
export interface GetMultipleUsagesResponse {
|
|
23
|
-
usages: {
|
|
24
|
-
/**
|
|
25
|
-
* Id of the usage that it is linked to. It can either be a workspace id or a bot id
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
* Period of the quota that it is applied to
|
|
30
|
-
*/
|
|
31
|
-
period: string;
|
|
32
|
-
/**
|
|
33
|
-
* Value of the current usage
|
|
34
|
-
*/
|
|
35
|
-
value: number;
|
|
36
|
-
/**
|
|
37
|
-
* Quota of the current usage
|
|
38
|
-
*/
|
|
39
|
-
quota: number;
|
|
40
|
-
/**
|
|
41
|
-
* Usage type that can be used
|
|
42
|
-
*/
|
|
43
|
-
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
|
|
44
|
-
}[];
|
|
45
|
-
}
|