@botpress/client 1.28.0 → 1.30.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/dist/bundle.cjs +15 -15
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +1067 -132
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ type SimplifyObject<T extends object> = T extends infer O ? {
|
|
|
31
31
|
[K in keyof O]: Simplify<O[K]>;
|
|
32
32
|
} : never;
|
|
33
33
|
type Simplify<T> = T extends (...args: infer A) => infer R ? (...args: SimplifyTuple<A>) => Simplify<R> : T extends Array<infer E> ? Array<Simplify<E>> : T extends ReadonlyArray<infer E> ? ReadonlyArray<Simplify<E>> : T extends Promise<infer R> ? Promise<Simplify<R>> : T extends Buffer ? Buffer : T extends object ? SimplifyObject<T> : T;
|
|
34
|
-
type Operation$
|
|
34
|
+
type Operation$6<C extends Record<string, AsyncFunc>> = Simplify<keyof {
|
|
35
35
|
[K in keyof C as C[K] extends AsyncFunc ? K : never]: C[K];
|
|
36
36
|
}>;
|
|
37
37
|
type Inputs<C extends Record<string, AsyncFunc>> = Simplify<{
|
|
38
|
-
[T in Operation$
|
|
38
|
+
[T in Operation$6<C>]: Parameters<C[Cast<T, keyof C>]>[0];
|
|
39
39
|
}>;
|
|
40
40
|
type Outputs<C extends Record<string, AsyncFunc>> = Simplify<{
|
|
41
|
-
[T in Operation$
|
|
41
|
+
[T in Operation$6<C>]: Awaited<ReturnType<C[Cast<T, keyof C>]>>;
|
|
42
42
|
}>;
|
|
43
43
|
|
|
44
44
|
type PageLister<R> = (t: {
|
|
@@ -58,21 +58,21 @@ declare class AsyncCollection<T> {
|
|
|
58
58
|
}): Promise<T[]>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
type Primitive$
|
|
62
|
-
type Value$
|
|
63
|
-
type QueryValue$
|
|
64
|
-
type AnyQueryParams$
|
|
65
|
-
type HeaderValue$
|
|
66
|
-
type AnyHeaderParams$
|
|
67
|
-
type AnyBodyParams$
|
|
68
|
-
type ParsedRequest$
|
|
61
|
+
type Primitive$5 = string | number | boolean;
|
|
62
|
+
type Value$5<P extends Primitive$5> = P | P[] | Record<string, P>;
|
|
63
|
+
type QueryValue$5 = Value$5<string> | Value$5<boolean> | Value$5<number> | undefined;
|
|
64
|
+
type AnyQueryParams$5 = Record<string, QueryValue$5>;
|
|
65
|
+
type HeaderValue$5 = string | undefined;
|
|
66
|
+
type AnyHeaderParams$5 = Record<string, HeaderValue$5>;
|
|
67
|
+
type AnyBodyParams$5 = Record<string, any>;
|
|
68
|
+
type ParsedRequest$5 = {
|
|
69
69
|
method: string;
|
|
70
70
|
path: string;
|
|
71
|
-
query: AnyQueryParams$
|
|
72
|
-
headers: AnyHeaderParams$
|
|
73
|
-
body: AnyBodyParams$
|
|
71
|
+
query: AnyQueryParams$5;
|
|
72
|
+
headers: AnyHeaderParams$5;
|
|
73
|
+
body: AnyBodyParams$5;
|
|
74
74
|
};
|
|
75
|
-
declare const toAxiosRequest$
|
|
75
|
+
declare const toAxiosRequest$5: (req: ParsedRequest$5) => AxiosRequestConfig;
|
|
76
76
|
|
|
77
77
|
interface CreateConversationRequestHeaders$1 {
|
|
78
78
|
}
|
|
@@ -1195,6 +1195,303 @@ type DeleteMessageInput$1 = DeleteMessageRequestBody$1 & DeleteMessageRequestHea
|
|
|
1195
1195
|
interface DeleteMessageResponse$1 {
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
+
interface InitializeIncomingMessageRequestHeaders$1 {
|
|
1199
|
+
}
|
|
1200
|
+
interface InitializeIncomingMessageRequestQuery$1 {
|
|
1201
|
+
}
|
|
1202
|
+
interface InitializeIncomingMessageRequestParams$1 {
|
|
1203
|
+
}
|
|
1204
|
+
interface InitializeIncomingMessageRequestBody$1 {
|
|
1205
|
+
userId?: string;
|
|
1206
|
+
user?: {
|
|
1207
|
+
/**
|
|
1208
|
+
* Tags for the [User](#schema_user)
|
|
1209
|
+
*/
|
|
1210
|
+
tags: {
|
|
1211
|
+
[k: string]: string;
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* @deprecated
|
|
1215
|
+
* [DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.
|
|
1216
|
+
*/
|
|
1217
|
+
integrationName?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Name of the user
|
|
1220
|
+
*/
|
|
1221
|
+
name?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* URI of the user picture
|
|
1224
|
+
*/
|
|
1225
|
+
pictureUrl?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1228
|
+
*/
|
|
1229
|
+
discriminateByTags: string[];
|
|
1230
|
+
};
|
|
1231
|
+
conversationId?: string;
|
|
1232
|
+
conversation?: {
|
|
1233
|
+
/**
|
|
1234
|
+
* Channel name
|
|
1235
|
+
*/
|
|
1236
|
+
channel: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* Tags for the [Conversation](#schema_conversation)
|
|
1239
|
+
*/
|
|
1240
|
+
tags: {
|
|
1241
|
+
[k: string]: string;
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* @deprecated
|
|
1245
|
+
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
1246
|
+
*/
|
|
1247
|
+
integrationName?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1250
|
+
*/
|
|
1251
|
+
discriminateByTags: string[];
|
|
1252
|
+
};
|
|
1253
|
+
message?: {
|
|
1254
|
+
/**
|
|
1255
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
1256
|
+
*/
|
|
1257
|
+
payload: {
|
|
1258
|
+
[k: string]: any;
|
|
1259
|
+
};
|
|
1260
|
+
/**
|
|
1261
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
1262
|
+
*/
|
|
1263
|
+
type: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) 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.
|
|
1266
|
+
*/
|
|
1267
|
+
tags: {
|
|
1268
|
+
[k: string]: string;
|
|
1269
|
+
};
|
|
1270
|
+
origin?: "synthetic";
|
|
1271
|
+
/**
|
|
1272
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1273
|
+
*/
|
|
1274
|
+
discriminateByTags: string[];
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
type InitializeIncomingMessageInput$1 = InitializeIncomingMessageRequestBody$1 & InitializeIncomingMessageRequestHeaders$1 & InitializeIncomingMessageRequestQuery$1 & InitializeIncomingMessageRequestParams$1;
|
|
1278
|
+
interface InitializeIncomingMessageResponse$1 {
|
|
1279
|
+
/**
|
|
1280
|
+
* The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
|
|
1281
|
+
*/
|
|
1282
|
+
user: {
|
|
1283
|
+
/**
|
|
1284
|
+
* Id of the [User](#schema_user)
|
|
1285
|
+
*/
|
|
1286
|
+
id: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* Creation date of the [User](#schema_user) in ISO 8601 format
|
|
1289
|
+
*/
|
|
1290
|
+
createdAt: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Updating date of the [User](#schema_user) in ISO 8601 format
|
|
1293
|
+
*/
|
|
1294
|
+
updatedAt: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) 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.
|
|
1297
|
+
*/
|
|
1298
|
+
tags: {
|
|
1299
|
+
[k: string]: string;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* Name of the [User](#schema_user)
|
|
1303
|
+
*/
|
|
1304
|
+
name?: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Picture URL of the [User](#schema_user)
|
|
1307
|
+
*/
|
|
1308
|
+
pictureUrl?: string;
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* The [Conversation](#schema_conversation) object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration's channels. For example, a Slack channel represents a conversation.
|
|
1312
|
+
*/
|
|
1313
|
+
conversation: {
|
|
1314
|
+
/**
|
|
1315
|
+
* Id of the [Conversation](#schema_conversation)
|
|
1316
|
+
*/
|
|
1317
|
+
id: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* Id of the current [Task](#schema_task)
|
|
1320
|
+
*/
|
|
1321
|
+
currentTaskId?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Id of the current [Workflow](#schema_workflow)
|
|
1324
|
+
*/
|
|
1325
|
+
currentWorkflowId?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
1328
|
+
*/
|
|
1329
|
+
createdAt: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
1332
|
+
*/
|
|
1333
|
+
updatedAt: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Name of the channel where the [Conversation](#schema_conversation) is happening
|
|
1336
|
+
*/
|
|
1337
|
+
channel: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Name of the integration that created the [Conversation](#schema_conversation)
|
|
1340
|
+
*/
|
|
1341
|
+
integration: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* 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.
|
|
1344
|
+
*/
|
|
1345
|
+
tags: {
|
|
1346
|
+
[k: string]: string;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
1351
|
+
*/
|
|
1352
|
+
message?: {
|
|
1353
|
+
/**
|
|
1354
|
+
* Id of the [Message](#schema_message)
|
|
1355
|
+
*/
|
|
1356
|
+
id: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
1359
|
+
*/
|
|
1360
|
+
createdAt: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Update date of the [Message](#schema_message) in ISO 8601 format
|
|
1363
|
+
*/
|
|
1364
|
+
updatedAt: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
1367
|
+
*/
|
|
1368
|
+
type: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
1371
|
+
*/
|
|
1372
|
+
payload: {
|
|
1373
|
+
[k: string]: any;
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* Direction of the message (`incoming` or `outgoing`).
|
|
1377
|
+
*/
|
|
1378
|
+
direction: "incoming" | "outgoing";
|
|
1379
|
+
/**
|
|
1380
|
+
* ID of the [User](#schema_user)
|
|
1381
|
+
*/
|
|
1382
|
+
userId: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* ID of the [Conversation](#schema_conversation)
|
|
1385
|
+
*/
|
|
1386
|
+
conversationId: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* 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.
|
|
1389
|
+
*/
|
|
1390
|
+
tags: {
|
|
1391
|
+
[k: string]: string;
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* Origin of the message (`synthetic`).
|
|
1395
|
+
*/
|
|
1396
|
+
origin?: "synthetic";
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
interface ImportMessagesRequestHeaders$1 {
|
|
1401
|
+
}
|
|
1402
|
+
interface ImportMessagesRequestQuery$1 {
|
|
1403
|
+
}
|
|
1404
|
+
interface ImportMessagesRequestParams$1 {
|
|
1405
|
+
}
|
|
1406
|
+
interface ImportMessagesRequestBody$1 {
|
|
1407
|
+
/**
|
|
1408
|
+
* @maxItems 100
|
|
1409
|
+
*/
|
|
1410
|
+
messages: {
|
|
1411
|
+
/**
|
|
1412
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
1413
|
+
*/
|
|
1414
|
+
payload: {
|
|
1415
|
+
[k: string]: any;
|
|
1416
|
+
};
|
|
1417
|
+
/**
|
|
1418
|
+
* ID of the [User](#schema_user)
|
|
1419
|
+
*/
|
|
1420
|
+
userId: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* ID of the [Conversation](#schema_conversation)
|
|
1423
|
+
*/
|
|
1424
|
+
conversationId: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
1427
|
+
*/
|
|
1428
|
+
type: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) 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.
|
|
1431
|
+
*/
|
|
1432
|
+
tags: {
|
|
1433
|
+
[k: string]: string;
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
1437
|
+
*/
|
|
1438
|
+
createdAt: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1441
|
+
*/
|
|
1442
|
+
discriminateByTags: string[];
|
|
1443
|
+
}[];
|
|
1444
|
+
}
|
|
1445
|
+
type ImportMessagesInput$1 = ImportMessagesRequestBody$1 & ImportMessagesRequestHeaders$1 & ImportMessagesRequestQuery$1 & ImportMessagesRequestParams$1;
|
|
1446
|
+
interface ImportMessagesResponse$1 {
|
|
1447
|
+
messages: {
|
|
1448
|
+
/**
|
|
1449
|
+
* Id of the [Message](#schema_message)
|
|
1450
|
+
*/
|
|
1451
|
+
id: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
1454
|
+
*/
|
|
1455
|
+
createdAt: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Update date of the [Message](#schema_message) in ISO 8601 format
|
|
1458
|
+
*/
|
|
1459
|
+
updatedAt: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
1462
|
+
*/
|
|
1463
|
+
type: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
1466
|
+
*/
|
|
1467
|
+
payload: {
|
|
1468
|
+
[k: string]: any;
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* Direction of the message (`incoming` or `outgoing`).
|
|
1472
|
+
*/
|
|
1473
|
+
direction: "incoming" | "outgoing";
|
|
1474
|
+
/**
|
|
1475
|
+
* ID of the [User](#schema_user)
|
|
1476
|
+
*/
|
|
1477
|
+
userId: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* ID of the [Conversation](#schema_conversation)
|
|
1480
|
+
*/
|
|
1481
|
+
conversationId: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* 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.
|
|
1484
|
+
*/
|
|
1485
|
+
tags: {
|
|
1486
|
+
[k: string]: string;
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* Origin of the message (`synthetic`).
|
|
1490
|
+
*/
|
|
1491
|
+
origin?: "synthetic";
|
|
1492
|
+
}[];
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1198
1495
|
interface CreateUserRequestHeaders$1 {
|
|
1199
1496
|
}
|
|
1200
1497
|
interface CreateUserRequestQuery$1 {
|
|
@@ -1309,6 +1606,11 @@ interface ListUsersRequestQuery$1 {
|
|
|
1309
1606
|
tags?: {
|
|
1310
1607
|
[k: string]: string;
|
|
1311
1608
|
};
|
|
1609
|
+
afterDate?: string;
|
|
1610
|
+
beforeDate?: string;
|
|
1611
|
+
rangeField?: "updatedAt" | "createdAt";
|
|
1612
|
+
sortField?: "updatedAt" | "createdAt";
|
|
1613
|
+
sortDirection?: "asc" | "desc";
|
|
1312
1614
|
}
|
|
1313
1615
|
interface ListUsersRequestParams$1 {
|
|
1314
1616
|
}
|
|
@@ -2847,14 +3149,14 @@ type TrackAnalyticsInput$1 = TrackAnalyticsRequestBody$1 & TrackAnalyticsRequest
|
|
|
2847
3149
|
interface TrackAnalyticsResponse$1 {
|
|
2848
3150
|
}
|
|
2849
3151
|
|
|
2850
|
-
type ClientProps$
|
|
2851
|
-
toAxiosRequest: typeof toAxiosRequest$
|
|
2852
|
-
toApiError: typeof toApiError$
|
|
3152
|
+
type ClientProps$b = {
|
|
3153
|
+
toAxiosRequest: typeof toAxiosRequest$5;
|
|
3154
|
+
toApiError: typeof toApiError$5;
|
|
2853
3155
|
};
|
|
2854
|
-
declare class Client$
|
|
3156
|
+
declare class Client$b {
|
|
2855
3157
|
private axiosInstance;
|
|
2856
3158
|
private props;
|
|
2857
|
-
constructor(axiosInstance: AxiosInstance, props?: Partial<ClientProps$
|
|
3159
|
+
constructor(axiosInstance: AxiosInstance, props?: Partial<ClientProps$b>);
|
|
2858
3160
|
readonly createConversation: (input: CreateConversationInput$1) => Promise<CreateConversationResponse$1>;
|
|
2859
3161
|
readonly getConversation: (input: GetConversationInput$1) => Promise<GetConversationResponse$1>;
|
|
2860
3162
|
readonly listConversations: (input: ListConversationsInput$1) => Promise<ListConversationsResponse$1>;
|
|
@@ -2875,6 +3177,8 @@ declare class Client$9 {
|
|
|
2875
3177
|
readonly updateMessage: (input: UpdateMessageInput$1) => Promise<UpdateMessageResponse$1>;
|
|
2876
3178
|
readonly listMessages: (input: ListMessagesInput$1) => Promise<ListMessagesResponse$1>;
|
|
2877
3179
|
readonly deleteMessage: (input: DeleteMessageInput$1) => Promise<DeleteMessageResponse$1>;
|
|
3180
|
+
readonly initializeIncomingMessage: (input: InitializeIncomingMessageInput$1) => Promise<InitializeIncomingMessageResponse$1>;
|
|
3181
|
+
readonly importMessages: (input: ImportMessagesInput$1) => Promise<ImportMessagesResponse$1>;
|
|
2878
3182
|
readonly createUser: (input: CreateUserInput$1) => Promise<CreateUserResponse$1>;
|
|
2879
3183
|
readonly getUser: (input: GetUserInput$1) => Promise<GetUserResponse$1>;
|
|
2880
3184
|
readonly listUsers: (input: ListUsersInput$1) => Promise<ListUsersResponse$1>;
|
|
@@ -2902,21 +3206,21 @@ declare class Client$9 {
|
|
|
2902
3206
|
readonly listTagValues: (input: ListTagValuesInput$1) => Promise<ListTagValuesResponse$1>;
|
|
2903
3207
|
readonly trackAnalytics: (input: TrackAnalyticsInput$1) => Promise<TrackAnalyticsResponse$1>;
|
|
2904
3208
|
}
|
|
2905
|
-
declare function toApiError$
|
|
3209
|
+
declare function toApiError$5(err: unknown): Error;
|
|
2906
3210
|
|
|
2907
|
-
type IClient$
|
|
2908
|
-
type Operation$
|
|
2909
|
-
type ClientInputs$
|
|
2910
|
-
type ClientOutputs$
|
|
2911
|
-
type ClientProps$
|
|
3211
|
+
type IClient$5 = Simplify<Client$b>;
|
|
3212
|
+
type Operation$5 = Operation$6<IClient$5>;
|
|
3213
|
+
type ClientInputs$5 = Inputs<IClient$5>;
|
|
3214
|
+
type ClientOutputs$5 = Outputs<IClient$5>;
|
|
3215
|
+
type ClientProps$a = CommonClientProps & {
|
|
2912
3216
|
token: string;
|
|
2913
3217
|
botId: string;
|
|
2914
3218
|
integrationId?: string;
|
|
2915
3219
|
integrationAlias?: string;
|
|
2916
3220
|
};
|
|
2917
|
-
declare class Client$
|
|
3221
|
+
declare class Client$a extends Client$b {
|
|
2918
3222
|
readonly config: Readonly<ClientConfig>;
|
|
2919
|
-
constructor(clientProps: ClientProps$
|
|
3223
|
+
constructor(clientProps: ClientProps$a);
|
|
2920
3224
|
get list(): {
|
|
2921
3225
|
conversations: (props: {
|
|
2922
3226
|
tags?: {
|
|
@@ -3000,7 +3304,12 @@ declare class Client$8 extends Client$9 {
|
|
|
3000
3304
|
tags?: {
|
|
3001
3305
|
[x: string]: string;
|
|
3002
3306
|
} | undefined;
|
|
3307
|
+
sortField?: "updatedAt" | "createdAt" | undefined;
|
|
3308
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
3309
|
+
afterDate?: string | undefined;
|
|
3310
|
+
beforeDate?: string | undefined;
|
|
3003
3311
|
conversationId?: string | undefined;
|
|
3312
|
+
rangeField?: "updatedAt" | "createdAt" | undefined;
|
|
3004
3313
|
}) => AsyncCollection<{
|
|
3005
3314
|
id: string;
|
|
3006
3315
|
createdAt: string;
|
|
@@ -3043,25 +3352,25 @@ declare class Client$8 extends Client$9 {
|
|
|
3043
3352
|
};
|
|
3044
3353
|
}
|
|
3045
3354
|
|
|
3046
|
-
declare namespace index$
|
|
3047
|
-
export { Client$
|
|
3355
|
+
declare namespace index$4 {
|
|
3356
|
+
export { Client$a as Client, type ClientInputs$5 as ClientInputs, type ClientOutputs$5 as ClientOutputs, type ClientProps$a as ClientProps, type Operation$5 as Operation };
|
|
3048
3357
|
}
|
|
3049
3358
|
|
|
3050
|
-
type Primitive$
|
|
3051
|
-
type Value$
|
|
3052
|
-
type QueryValue$
|
|
3053
|
-
type AnyQueryParams$
|
|
3054
|
-
type HeaderValue$
|
|
3055
|
-
type AnyHeaderParams$
|
|
3056
|
-
type AnyBodyParams$
|
|
3057
|
-
type ParsedRequest$
|
|
3359
|
+
type Primitive$4 = string | number | boolean;
|
|
3360
|
+
type Value$4<P extends Primitive$4> = P | P[] | Record<string, P>;
|
|
3361
|
+
type QueryValue$4 = Value$4<string> | Value$4<boolean> | Value$4<number> | undefined;
|
|
3362
|
+
type AnyQueryParams$4 = Record<string, QueryValue$4>;
|
|
3363
|
+
type HeaderValue$4 = string | undefined;
|
|
3364
|
+
type AnyHeaderParams$4 = Record<string, HeaderValue$4>;
|
|
3365
|
+
type AnyBodyParams$4 = Record<string, any>;
|
|
3366
|
+
type ParsedRequest$4 = {
|
|
3058
3367
|
method: string;
|
|
3059
3368
|
path: string;
|
|
3060
|
-
query: AnyQueryParams$
|
|
3061
|
-
headers: AnyHeaderParams$
|
|
3062
|
-
body: AnyBodyParams$
|
|
3369
|
+
query: AnyQueryParams$4;
|
|
3370
|
+
headers: AnyHeaderParams$4;
|
|
3371
|
+
body: AnyBodyParams$4;
|
|
3063
3372
|
};
|
|
3064
|
-
declare const toAxiosRequest$
|
|
3373
|
+
declare const toAxiosRequest$4: (req: ParsedRequest$4) => AxiosRequestConfig;
|
|
3065
3374
|
|
|
3066
3375
|
interface RunVrlRequestHeaders$1 {
|
|
3067
3376
|
}
|
|
@@ -5935,7 +6244,7 @@ interface CreateBotResponse$1 {
|
|
|
5935
6244
|
/**
|
|
5936
6245
|
* Status of the bot
|
|
5937
6246
|
*/
|
|
5938
|
-
status: "active" | "deploying";
|
|
6247
|
+
status: "active" | "deploying" | "deleting";
|
|
5939
6248
|
/**
|
|
5940
6249
|
* Media files associated with the [Bot](#schema_bot)
|
|
5941
6250
|
*/
|
|
@@ -6615,7 +6924,7 @@ interface UpdateBotResponse$1 {
|
|
|
6615
6924
|
/**
|
|
6616
6925
|
* Status of the bot
|
|
6617
6926
|
*/
|
|
6618
|
-
status: "active" | "deploying";
|
|
6927
|
+
status: "active" | "deploying" | "deleting";
|
|
6619
6928
|
/**
|
|
6620
6929
|
* Media files associated with the [Bot](#schema_bot)
|
|
6621
6930
|
*/
|
|
@@ -7106,7 +7415,7 @@ interface GetBotResponse$1 {
|
|
|
7106
7415
|
/**
|
|
7107
7416
|
* Status of the bot
|
|
7108
7417
|
*/
|
|
7109
|
-
status: "active" | "deploying";
|
|
7418
|
+
status: "active" | "deploying" | "deleting";
|
|
7110
7419
|
/**
|
|
7111
7420
|
* Media files associated with the [Bot](#schema_bot)
|
|
7112
7421
|
*/
|
|
@@ -7886,7 +8195,7 @@ interface GetWorkspaceResponse$1 {
|
|
|
7886
8195
|
interface ListWorkspaceUsagesRequestHeaders$1 {
|
|
7887
8196
|
}
|
|
7888
8197
|
interface ListWorkspaceUsagesRequestQuery$1 {
|
|
7889
|
-
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" | "indexed_file_count";
|
|
8198
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7890
8199
|
period?: string;
|
|
7891
8200
|
}
|
|
7892
8201
|
interface ListWorkspaceUsagesRequestParams$1 {
|
|
@@ -7916,14 +8225,14 @@ interface ListWorkspaceUsagesResponse$1 {
|
|
|
7916
8225
|
/**
|
|
7917
8226
|
* Usage type that can be used
|
|
7918
8227
|
*/
|
|
7919
|
-
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" | "indexed_file_count";
|
|
8228
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7920
8229
|
}[];
|
|
7921
8230
|
}
|
|
7922
8231
|
|
|
7923
8232
|
interface BreakDownWorkspaceUsageByBotRequestHeaders$1 {
|
|
7924
8233
|
}
|
|
7925
8234
|
interface BreakDownWorkspaceUsageByBotRequestQuery$1 {
|
|
7926
|
-
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" | "indexed_file_count";
|
|
8235
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7927
8236
|
period?: string;
|
|
7928
8237
|
}
|
|
7929
8238
|
interface BreakDownWorkspaceUsageByBotRequestParams$1 {
|
|
@@ -7950,7 +8259,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody$1 {
|
|
|
7950
8259
|
type GetAllWorkspaceQuotaCompletionInput$1 = GetAllWorkspaceQuotaCompletionRequestBody$1 & GetAllWorkspaceQuotaCompletionRequestHeaders$1 & GetAllWorkspaceQuotaCompletionRequestQuery$1 & GetAllWorkspaceQuotaCompletionRequestParams$1;
|
|
7951
8260
|
interface GetAllWorkspaceQuotaCompletionResponse$1 {
|
|
7952
8261
|
[k: string]: {
|
|
7953
|
-
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" | "indexed_file_count";
|
|
8262
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7954
8263
|
completion: number;
|
|
7955
8264
|
};
|
|
7956
8265
|
}
|
|
@@ -7958,7 +8267,7 @@ interface GetAllWorkspaceQuotaCompletionResponse$1 {
|
|
|
7958
8267
|
interface GetWorkspaceQuotaRequestHeaders$1 {
|
|
7959
8268
|
}
|
|
7960
8269
|
interface GetWorkspaceQuotaRequestQuery$1 {
|
|
7961
|
-
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" | "indexed_file_count";
|
|
8270
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7962
8271
|
period?: string;
|
|
7963
8272
|
}
|
|
7964
8273
|
interface GetWorkspaceQuotaRequestParams$1 {
|
|
@@ -7980,7 +8289,7 @@ interface GetWorkspaceQuotaResponse$1 {
|
|
|
7980
8289
|
/**
|
|
7981
8290
|
* Usage type that can be used
|
|
7982
8291
|
*/
|
|
7983
|
-
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" | "indexed_file_count";
|
|
8292
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
7984
8293
|
};
|
|
7985
8294
|
}
|
|
7986
8295
|
|
|
@@ -8008,7 +8317,7 @@ interface ListWorkspaceQuotasResponse$1 {
|
|
|
8008
8317
|
/**
|
|
8009
8318
|
* Usage type that can be used
|
|
8010
8319
|
*/
|
|
8011
|
-
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" | "indexed_file_count";
|
|
8320
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
8012
8321
|
}[];
|
|
8013
8322
|
}
|
|
8014
8323
|
|
|
@@ -14151,7 +14460,7 @@ interface GetPluginCodeResponse$1 {
|
|
|
14151
14460
|
interface GetUsageRequestHeaders$1 {
|
|
14152
14461
|
}
|
|
14153
14462
|
interface GetUsageRequestQuery$1 {
|
|
14154
|
-
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" | "indexed_file_count";
|
|
14463
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14155
14464
|
period?: string;
|
|
14156
14465
|
}
|
|
14157
14466
|
interface GetUsageRequestParams$1 {
|
|
@@ -14181,7 +14490,7 @@ interface GetUsageResponse$1 {
|
|
|
14181
14490
|
/**
|
|
14182
14491
|
* Usage type that can be used
|
|
14183
14492
|
*/
|
|
14184
|
-
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" | "indexed_file_count";
|
|
14493
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14185
14494
|
};
|
|
14186
14495
|
}
|
|
14187
14496
|
|
|
@@ -14218,14 +14527,14 @@ interface GetMultipleUsagesResponse$1 {
|
|
|
14218
14527
|
/**
|
|
14219
14528
|
* Usage type that can be used
|
|
14220
14529
|
*/
|
|
14221
|
-
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" | "indexed_file_count";
|
|
14530
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14222
14531
|
}[];
|
|
14223
14532
|
}
|
|
14224
14533
|
|
|
14225
14534
|
interface ListUsageHistoryRequestHeaders$1 {
|
|
14226
14535
|
}
|
|
14227
14536
|
interface ListUsageHistoryRequestQuery$1 {
|
|
14228
|
-
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" | "indexed_file_count";
|
|
14537
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14229
14538
|
}
|
|
14230
14539
|
interface ListUsageHistoryRequestParams$1 {
|
|
14231
14540
|
id: string;
|
|
@@ -14254,14 +14563,14 @@ interface ListUsageHistoryResponse$1 {
|
|
|
14254
14563
|
/**
|
|
14255
14564
|
* Usage type that can be used
|
|
14256
14565
|
*/
|
|
14257
|
-
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" | "indexed_file_count";
|
|
14566
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14258
14567
|
}[];
|
|
14259
14568
|
}
|
|
14260
14569
|
|
|
14261
14570
|
interface ListUsageActivityRequestHeaders$1 {
|
|
14262
14571
|
}
|
|
14263
14572
|
interface ListUsageActivityRequestQuery$1 {
|
|
14264
|
-
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" | "indexed_file_count";
|
|
14573
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14265
14574
|
timestampFrom?: string;
|
|
14266
14575
|
timestampUntil?: string;
|
|
14267
14576
|
nextToken?: string;
|
|
@@ -14289,7 +14598,7 @@ interface ListUsageActivityResponse$1 {
|
|
|
14289
14598
|
interface ListUsageActivityDailyRequestHeaders$1 {
|
|
14290
14599
|
}
|
|
14291
14600
|
interface ListUsageActivityDailyRequestQuery$1 {
|
|
14292
|
-
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" | "indexed_file_count";
|
|
14601
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14293
14602
|
dateFrom?: string;
|
|
14294
14603
|
dateUntil?: string;
|
|
14295
14604
|
nextToken?: string;
|
|
@@ -14380,14 +14689,14 @@ interface IntrospectResponse$1 {
|
|
|
14380
14689
|
userId: string;
|
|
14381
14690
|
}
|
|
14382
14691
|
|
|
14383
|
-
type ClientProps$
|
|
14384
|
-
toAxiosRequest: typeof toAxiosRequest$
|
|
14385
|
-
toApiError: typeof toApiError$
|
|
14692
|
+
type ClientProps$9 = {
|
|
14693
|
+
toAxiosRequest: typeof toAxiosRequest$4;
|
|
14694
|
+
toApiError: typeof toApiError$4;
|
|
14386
14695
|
};
|
|
14387
|
-
declare class Client$
|
|
14696
|
+
declare class Client$9 {
|
|
14388
14697
|
private axiosInstance;
|
|
14389
14698
|
private props;
|
|
14390
|
-
constructor(axiosInstance: AxiosInstance, props?: Partial<ClientProps$
|
|
14699
|
+
constructor(axiosInstance: AxiosInstance, props?: Partial<ClientProps$9>);
|
|
14391
14700
|
readonly runVrl: (input: RunVrlInput$1) => Promise<RunVrlResponse$1>;
|
|
14392
14701
|
readonly getAccount: (input: GetAccountInput$1) => Promise<GetAccountResponse$1>;
|
|
14393
14702
|
readonly updateAccount: (input: UpdateAccountInput$1) => Promise<UpdateAccountResponse$1>;
|
|
@@ -14497,19 +14806,19 @@ declare class Client$7 {
|
|
|
14497
14806
|
readonly listActivities: (input: ListActivitiesInput$1) => Promise<ListActivitiesResponse$1>;
|
|
14498
14807
|
readonly introspect: (input: IntrospectInput$1) => Promise<IntrospectResponse$1>;
|
|
14499
14808
|
}
|
|
14500
|
-
declare function toApiError$
|
|
14809
|
+
declare function toApiError$4(err: unknown): Error;
|
|
14501
14810
|
|
|
14502
|
-
type IClient$
|
|
14503
|
-
type Operation$
|
|
14504
|
-
type ClientInputs$
|
|
14505
|
-
type ClientOutputs$
|
|
14506
|
-
type ClientProps$
|
|
14811
|
+
type IClient$4 = Simplify<Client$9>;
|
|
14812
|
+
type Operation$4 = Operation$6<IClient$4>;
|
|
14813
|
+
type ClientInputs$4 = Inputs<IClient$4>;
|
|
14814
|
+
type ClientOutputs$4 = Outputs<IClient$4>;
|
|
14815
|
+
type ClientProps$8 = CommonClientProps & {
|
|
14507
14816
|
workspaceId?: string;
|
|
14508
14817
|
token: string;
|
|
14509
14818
|
};
|
|
14510
|
-
declare class Client$
|
|
14819
|
+
declare class Client$8 extends Client$9 {
|
|
14511
14820
|
readonly config: Readonly<ClientConfig>;
|
|
14512
|
-
constructor(clientProps: ClientProps$
|
|
14821
|
+
constructor(clientProps: ClientProps$8);
|
|
14513
14822
|
get list(): {
|
|
14514
14823
|
publicIntegrations: (props: {
|
|
14515
14824
|
search?: string | undefined;
|
|
@@ -14672,7 +14981,7 @@ declare class Client$6 extends Client$7 {
|
|
|
14672
14981
|
createdAt: string;
|
|
14673
14982
|
}>;
|
|
14674
14983
|
usageActivity: (props: {
|
|
14675
|
-
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" | "indexed_file_count";
|
|
14984
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14676
14985
|
id: string;
|
|
14677
14986
|
timestampFrom?: string | undefined;
|
|
14678
14987
|
timestampUntil?: string | undefined;
|
|
@@ -14685,7 +14994,7 @@ declare class Client$6 extends Client$7 {
|
|
|
14685
14994
|
};
|
|
14686
14995
|
}>;
|
|
14687
14996
|
usageActivityDaily: (props: {
|
|
14688
|
-
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" | "indexed_file_count";
|
|
14997
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
14689
14998
|
id: string;
|
|
14690
14999
|
dateFrom?: string | undefined;
|
|
14691
15000
|
dateUntil?: string | undefined;
|
|
@@ -14703,6 +15012,319 @@ declare class Client$6 extends Client$7 {
|
|
|
14703
15012
|
};
|
|
14704
15013
|
}
|
|
14705
15014
|
|
|
15015
|
+
declare namespace index$3 {
|
|
15016
|
+
export { Client$8 as Client, type ClientInputs$4 as ClientInputs, type ClientOutputs$4 as ClientOutputs, type ClientProps$8 as ClientProps, type Operation$4 as Operation };
|
|
15017
|
+
}
|
|
15018
|
+
|
|
15019
|
+
type Primitive$3 = string | number | boolean;
|
|
15020
|
+
type Value$3<P extends Primitive$3> = P | P[] | Record<string, P>;
|
|
15021
|
+
type QueryValue$3 = Value$3<string> | Value$3<boolean> | Value$3<number> | undefined;
|
|
15022
|
+
type AnyQueryParams$3 = Record<string, QueryValue$3>;
|
|
15023
|
+
type HeaderValue$3 = string | undefined;
|
|
15024
|
+
type AnyHeaderParams$3 = Record<string, HeaderValue$3>;
|
|
15025
|
+
type AnyBodyParams$3 = Record<string, any>;
|
|
15026
|
+
type ParsedRequest$3 = {
|
|
15027
|
+
method: string;
|
|
15028
|
+
path: string;
|
|
15029
|
+
query: AnyQueryParams$3;
|
|
15030
|
+
headers: AnyHeaderParams$3;
|
|
15031
|
+
body: AnyBodyParams$3;
|
|
15032
|
+
};
|
|
15033
|
+
declare const toAxiosRequest$3: (req: ParsedRequest$3) => AxiosRequestConfig;
|
|
15034
|
+
|
|
15035
|
+
interface GetPlanRequestHeaders {
|
|
15036
|
+
}
|
|
15037
|
+
interface GetPlanRequestQuery {
|
|
15038
|
+
}
|
|
15039
|
+
interface GetPlanRequestParams {
|
|
15040
|
+
planId: string;
|
|
15041
|
+
}
|
|
15042
|
+
interface GetPlanRequestBody {
|
|
15043
|
+
}
|
|
15044
|
+
type GetPlanInput = GetPlanRequestBody & GetPlanRequestHeaders & GetPlanRequestQuery & GetPlanRequestParams;
|
|
15045
|
+
interface GetPlanResponse {
|
|
15046
|
+
id: string;
|
|
15047
|
+
name: string;
|
|
15048
|
+
description: string;
|
|
15049
|
+
providerProductId: string;
|
|
15050
|
+
prices: {
|
|
15051
|
+
[k: string]: {
|
|
15052
|
+
providerPriceId: string;
|
|
15053
|
+
amount: number;
|
|
15054
|
+
currency: "usd";
|
|
15055
|
+
interval: "month" | "year";
|
|
15056
|
+
metadata?: {
|
|
15057
|
+
[k: string]: string;
|
|
15058
|
+
};
|
|
15059
|
+
};
|
|
15060
|
+
};
|
|
15061
|
+
features: {
|
|
15062
|
+
[k: string]: any;
|
|
15063
|
+
};
|
|
15064
|
+
metadata?: {
|
|
15065
|
+
[k: string]: string;
|
|
15066
|
+
};
|
|
15067
|
+
}
|
|
15068
|
+
|
|
15069
|
+
interface ListPlansRequestHeaders {
|
|
15070
|
+
}
|
|
15071
|
+
interface ListPlansRequestQuery {
|
|
15072
|
+
}
|
|
15073
|
+
interface ListPlansRequestParams {
|
|
15074
|
+
}
|
|
15075
|
+
interface ListPlansRequestBody {
|
|
15076
|
+
}
|
|
15077
|
+
type ListPlansInput = ListPlansRequestBody & ListPlansRequestHeaders & ListPlansRequestQuery & ListPlansRequestParams;
|
|
15078
|
+
type ListPlansResponse = {
|
|
15079
|
+
id: string;
|
|
15080
|
+
name: string;
|
|
15081
|
+
description: string;
|
|
15082
|
+
providerProductId: string;
|
|
15083
|
+
prices: {
|
|
15084
|
+
[k: string]: {
|
|
15085
|
+
providerPriceId: string;
|
|
15086
|
+
amount: number;
|
|
15087
|
+
currency: "usd";
|
|
15088
|
+
interval: "month" | "year";
|
|
15089
|
+
metadata?: {
|
|
15090
|
+
[k: string]: string;
|
|
15091
|
+
};
|
|
15092
|
+
};
|
|
15093
|
+
};
|
|
15094
|
+
features: {
|
|
15095
|
+
[k: string]: any | null;
|
|
15096
|
+
};
|
|
15097
|
+
metadata?: {
|
|
15098
|
+
[k: string]: string;
|
|
15099
|
+
};
|
|
15100
|
+
}[];
|
|
15101
|
+
|
|
15102
|
+
interface GetAddonRequestHeaders {
|
|
15103
|
+
}
|
|
15104
|
+
interface GetAddonRequestQuery {
|
|
15105
|
+
}
|
|
15106
|
+
interface GetAddonRequestParams {
|
|
15107
|
+
addonId: string;
|
|
15108
|
+
}
|
|
15109
|
+
interface GetAddonRequestBody {
|
|
15110
|
+
}
|
|
15111
|
+
type GetAddonInput = GetAddonRequestBody & GetAddonRequestHeaders & GetAddonRequestQuery & GetAddonRequestParams;
|
|
15112
|
+
interface GetAddonResponse {
|
|
15113
|
+
id: string;
|
|
15114
|
+
name: string;
|
|
15115
|
+
description: string;
|
|
15116
|
+
providerProductId: string;
|
|
15117
|
+
prices: {
|
|
15118
|
+
[k: string]: {
|
|
15119
|
+
providerPriceId: string;
|
|
15120
|
+
amount: number;
|
|
15121
|
+
currency: "usd";
|
|
15122
|
+
interval: "month" | "year";
|
|
15123
|
+
metadata?: {
|
|
15124
|
+
[k: string]: string;
|
|
15125
|
+
};
|
|
15126
|
+
};
|
|
15127
|
+
};
|
|
15128
|
+
feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
|
|
15129
|
+
increment: number;
|
|
15130
|
+
metadata?: {
|
|
15131
|
+
[k: string]: string;
|
|
15132
|
+
};
|
|
15133
|
+
}
|
|
15134
|
+
|
|
15135
|
+
interface ListAddonsRequestHeaders {
|
|
15136
|
+
}
|
|
15137
|
+
interface ListAddonsRequestQuery {
|
|
15138
|
+
}
|
|
15139
|
+
interface ListAddonsRequestParams {
|
|
15140
|
+
}
|
|
15141
|
+
interface ListAddonsRequestBody {
|
|
15142
|
+
}
|
|
15143
|
+
type ListAddonsInput = ListAddonsRequestBody & ListAddonsRequestHeaders & ListAddonsRequestQuery & ListAddonsRequestParams;
|
|
15144
|
+
type ListAddonsResponse = {
|
|
15145
|
+
id: string;
|
|
15146
|
+
name: string;
|
|
15147
|
+
description: string;
|
|
15148
|
+
providerProductId: string;
|
|
15149
|
+
prices: {
|
|
15150
|
+
[k: string]: {
|
|
15151
|
+
providerPriceId: string;
|
|
15152
|
+
amount: number;
|
|
15153
|
+
currency: "usd";
|
|
15154
|
+
interval: "month" | "year";
|
|
15155
|
+
metadata?: {
|
|
15156
|
+
[k: string]: string;
|
|
15157
|
+
};
|
|
15158
|
+
};
|
|
15159
|
+
};
|
|
15160
|
+
feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions";
|
|
15161
|
+
increment: number;
|
|
15162
|
+
metadata?: {
|
|
15163
|
+
[k: string]: string;
|
|
15164
|
+
};
|
|
15165
|
+
}[];
|
|
15166
|
+
|
|
15167
|
+
interface ListInvoicesRequestHeaders {
|
|
15168
|
+
}
|
|
15169
|
+
interface ListInvoicesRequestQuery {
|
|
15170
|
+
nextToken?: string;
|
|
15171
|
+
}
|
|
15172
|
+
interface ListInvoicesRequestParams {
|
|
15173
|
+
}
|
|
15174
|
+
interface ListInvoicesRequestBody {
|
|
15175
|
+
}
|
|
15176
|
+
type ListInvoicesInput = ListInvoicesRequestBody & ListInvoicesRequestHeaders & ListInvoicesRequestQuery & ListInvoicesRequestParams;
|
|
15177
|
+
/**
|
|
15178
|
+
* List of invoices with pagination.
|
|
15179
|
+
*/
|
|
15180
|
+
interface ListInvoicesResponse {
|
|
15181
|
+
invoices: {
|
|
15182
|
+
id: string;
|
|
15183
|
+
amount: number;
|
|
15184
|
+
currency: string;
|
|
15185
|
+
status: "draft" | "open" | "paid" | "uncollectible" | "void";
|
|
15186
|
+
createdAt: string;
|
|
15187
|
+
periodStart: string | null;
|
|
15188
|
+
periodEnd: string | null;
|
|
15189
|
+
dueDate: string | null;
|
|
15190
|
+
pdfUrl: string | null;
|
|
15191
|
+
}[];
|
|
15192
|
+
meta: {
|
|
15193
|
+
/**
|
|
15194
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
15195
|
+
*/
|
|
15196
|
+
nextToken?: string;
|
|
15197
|
+
};
|
|
15198
|
+
}
|
|
15199
|
+
|
|
15200
|
+
interface PayInvoiceRequestHeaders {
|
|
15201
|
+
}
|
|
15202
|
+
interface PayInvoiceRequestQuery {
|
|
15203
|
+
}
|
|
15204
|
+
interface PayInvoiceRequestParams {
|
|
15205
|
+
invoiceId: string;
|
|
15206
|
+
}
|
|
15207
|
+
interface PayInvoiceRequestBody {
|
|
15208
|
+
idempotencyKey?: string;
|
|
15209
|
+
}
|
|
15210
|
+
type PayInvoiceInput = PayInvoiceRequestBody & PayInvoiceRequestHeaders & PayInvoiceRequestQuery & PayInvoiceRequestParams;
|
|
15211
|
+
interface PayInvoiceResponse {
|
|
15212
|
+
id: string;
|
|
15213
|
+
amount: number;
|
|
15214
|
+
currency: string;
|
|
15215
|
+
status: "draft" | "open" | "paid" | "uncollectible" | "void";
|
|
15216
|
+
createdAt: string;
|
|
15217
|
+
periodStart: string | null;
|
|
15218
|
+
periodEnd: string | null;
|
|
15219
|
+
dueDate: string | null;
|
|
15220
|
+
pdfUrl: string | null;
|
|
15221
|
+
}
|
|
15222
|
+
|
|
15223
|
+
interface GetPaymentMethodRequestHeaders {
|
|
15224
|
+
}
|
|
15225
|
+
interface GetPaymentMethodRequestQuery {
|
|
15226
|
+
}
|
|
15227
|
+
interface GetPaymentMethodRequestParams {
|
|
15228
|
+
}
|
|
15229
|
+
interface GetPaymentMethodRequestBody {
|
|
15230
|
+
}
|
|
15231
|
+
type GetPaymentMethodInput = GetPaymentMethodRequestBody & GetPaymentMethodRequestHeaders & GetPaymentMethodRequestQuery & GetPaymentMethodRequestParams;
|
|
15232
|
+
interface GetPaymentMethodResponse {
|
|
15233
|
+
paymentMethod: {
|
|
15234
|
+
id: string;
|
|
15235
|
+
type: string;
|
|
15236
|
+
card: {
|
|
15237
|
+
brand: string;
|
|
15238
|
+
lastFour: string;
|
|
15239
|
+
expMonth: number;
|
|
15240
|
+
expYear: number;
|
|
15241
|
+
} | null;
|
|
15242
|
+
} | null;
|
|
15243
|
+
}
|
|
15244
|
+
|
|
15245
|
+
interface SetPaymentMethodRequestHeaders {
|
|
15246
|
+
}
|
|
15247
|
+
interface SetPaymentMethodRequestQuery {
|
|
15248
|
+
}
|
|
15249
|
+
interface SetPaymentMethodRequestParams {
|
|
15250
|
+
}
|
|
15251
|
+
interface SetPaymentMethodRequestBody {
|
|
15252
|
+
/**
|
|
15253
|
+
* Stripe payment method ID
|
|
15254
|
+
*/
|
|
15255
|
+
paymentMethodId: string;
|
|
15256
|
+
}
|
|
15257
|
+
type SetPaymentMethodInput = SetPaymentMethodRequestBody & SetPaymentMethodRequestHeaders & SetPaymentMethodRequestQuery & SetPaymentMethodRequestParams;
|
|
15258
|
+
interface SetPaymentMethodResponse {
|
|
15259
|
+
id: string;
|
|
15260
|
+
type: string;
|
|
15261
|
+
card: {
|
|
15262
|
+
brand: string;
|
|
15263
|
+
lastFour: string;
|
|
15264
|
+
expMonth: number;
|
|
15265
|
+
expYear: number;
|
|
15266
|
+
} | null;
|
|
15267
|
+
}
|
|
15268
|
+
|
|
15269
|
+
interface CreatePaymentMethodIntentRequestHeaders {
|
|
15270
|
+
}
|
|
15271
|
+
interface CreatePaymentMethodIntentRequestQuery {
|
|
15272
|
+
}
|
|
15273
|
+
interface CreatePaymentMethodIntentRequestParams {
|
|
15274
|
+
}
|
|
15275
|
+
interface CreatePaymentMethodIntentRequestBody {
|
|
15276
|
+
}
|
|
15277
|
+
type CreatePaymentMethodIntentInput = CreatePaymentMethodIntentRequestBody & CreatePaymentMethodIntentRequestHeaders & CreatePaymentMethodIntentRequestQuery & CreatePaymentMethodIntentRequestParams;
|
|
15278
|
+
interface CreatePaymentMethodIntentResponse {
|
|
15279
|
+
clientSecret: string;
|
|
15280
|
+
}
|
|
15281
|
+
|
|
15282
|
+
type ClientProps$7 = {
|
|
15283
|
+
toAxiosRequest: typeof toAxiosRequest$3;
|
|
15284
|
+
toApiError: typeof toApiError$3;
|
|
15285
|
+
};
|
|
15286
|
+
declare class Client$7 {
|
|
15287
|
+
private axiosInstance;
|
|
15288
|
+
private props;
|
|
15289
|
+
constructor(axiosInstance: AxiosInstance, props?: Partial<ClientProps$7>);
|
|
15290
|
+
readonly getPlan: (input: GetPlanInput) => Promise<GetPlanResponse>;
|
|
15291
|
+
readonly listPlans: (input: ListPlansInput) => Promise<ListPlansResponse>;
|
|
15292
|
+
readonly getAddon: (input: GetAddonInput) => Promise<GetAddonResponse>;
|
|
15293
|
+
readonly listAddons: (input: ListAddonsInput) => Promise<ListAddonsResponse>;
|
|
15294
|
+
readonly listInvoices: (input: ListInvoicesInput) => Promise<ListInvoicesResponse>;
|
|
15295
|
+
readonly payInvoice: (input: PayInvoiceInput) => Promise<PayInvoiceResponse>;
|
|
15296
|
+
readonly getPaymentMethod: (input: GetPaymentMethodInput) => Promise<GetPaymentMethodResponse>;
|
|
15297
|
+
readonly setPaymentMethod: (input: SetPaymentMethodInput) => Promise<SetPaymentMethodResponse>;
|
|
15298
|
+
readonly createPaymentMethodIntent: (input: CreatePaymentMethodIntentInput) => Promise<CreatePaymentMethodIntentResponse>;
|
|
15299
|
+
}
|
|
15300
|
+
declare function toApiError$3(err: unknown): Error;
|
|
15301
|
+
|
|
15302
|
+
type IClient$3 = Simplify<Client$7>;
|
|
15303
|
+
type Operation$3 = Operation$6<IClient$3>;
|
|
15304
|
+
type ClientInputs$3 = Inputs<IClient$3>;
|
|
15305
|
+
type ClientOutputs$3 = Outputs<IClient$3>;
|
|
15306
|
+
type ClientProps$6 = CommonClientProps & {
|
|
15307
|
+
workspaceId: string;
|
|
15308
|
+
token: string;
|
|
15309
|
+
};
|
|
15310
|
+
declare class Client$6 extends Client$7 {
|
|
15311
|
+
readonly config: Readonly<ClientConfig>;
|
|
15312
|
+
constructor(clientProps: ClientProps$6);
|
|
15313
|
+
get list(): {
|
|
15314
|
+
listInvoices: (props: {}) => AsyncCollection<{
|
|
15315
|
+
id: string;
|
|
15316
|
+
amount: number;
|
|
15317
|
+
currency: string;
|
|
15318
|
+
status: "draft" | "open" | "paid" | "uncollectible" | "void";
|
|
15319
|
+
createdAt: string;
|
|
15320
|
+
periodStart: string | null;
|
|
15321
|
+
periodEnd: string | null;
|
|
15322
|
+
dueDate: string | null;
|
|
15323
|
+
pdfUrl: string | null;
|
|
15324
|
+
}>;
|
|
15325
|
+
};
|
|
15326
|
+
}
|
|
15327
|
+
|
|
14706
15328
|
declare namespace index$2 {
|
|
14707
15329
|
export { Client$6 as Client, type ClientInputs$3 as ClientInputs, type ClientOutputs$3 as ClientOutputs, type ClientProps$6 as ClientProps, type Operation$3 as Operation };
|
|
14708
15330
|
}
|
|
@@ -15006,6 +15628,7 @@ interface ListFilesRequestQuery$1 {
|
|
|
15006
15628
|
* @maxItems 50
|
|
15007
15629
|
*/
|
|
15008
15630
|
ids?: string[];
|
|
15631
|
+
indexed?: boolean;
|
|
15009
15632
|
}
|
|
15010
15633
|
interface ListFilesRequestParams$1 {
|
|
15011
15634
|
}
|
|
@@ -15843,7 +16466,7 @@ type UploadFileOutput = UpsertFileResponse$1;
|
|
|
15843
16466
|
type IClient$2 = Simplify<Client$5 & {
|
|
15844
16467
|
uploadFile: (input: UploadFileInput) => Promise<UploadFileOutput>;
|
|
15845
16468
|
}>;
|
|
15846
|
-
type Operation$2 = Operation$
|
|
16469
|
+
type Operation$2 = Operation$6<IClient$2>;
|
|
15847
16470
|
type ClientInputs$2 = Inputs<IClient$2>;
|
|
15848
16471
|
type ClientOutputs$2 = Outputs<IClient$2>;
|
|
15849
16472
|
type ClientProps$4 = CommonClientProps & {
|
|
@@ -15861,6 +16484,7 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
15861
16484
|
sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
|
|
15862
16485
|
sortDirection?: "asc" | "desc" | undefined;
|
|
15863
16486
|
ids?: string[] | undefined;
|
|
16487
|
+
indexed?: boolean | undefined;
|
|
15864
16488
|
}) => AsyncCollection<{
|
|
15865
16489
|
id: string;
|
|
15866
16490
|
botId: string;
|
|
@@ -16808,7 +17432,7 @@ interface ExportTableResponse$1 {
|
|
|
16808
17432
|
id: string;
|
|
16809
17433
|
botId: string;
|
|
16810
17434
|
tableId: string;
|
|
16811
|
-
type: "export" | "import";
|
|
17435
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
16812
17436
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
16813
17437
|
progress?: number;
|
|
16814
17438
|
inputFileId: string | null;
|
|
@@ -16833,7 +17457,7 @@ interface GetTableJobsResponse$1 {
|
|
|
16833
17457
|
id: string;
|
|
16834
17458
|
botId: string;
|
|
16835
17459
|
tableId: string;
|
|
16836
|
-
type: "export" | "import";
|
|
17460
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
16837
17461
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
16838
17462
|
progress?: number;
|
|
16839
17463
|
inputFileId: string | null;
|
|
@@ -16862,7 +17486,7 @@ interface ImportTableResponse$1 {
|
|
|
16862
17486
|
id: string;
|
|
16863
17487
|
botId: string;
|
|
16864
17488
|
tableId: string;
|
|
16865
|
-
type: "export" | "import";
|
|
17489
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
16866
17490
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
16867
17491
|
progress?: number;
|
|
16868
17492
|
inputFileId: string | null;
|
|
@@ -17647,7 +18271,7 @@ declare class Client$3 {
|
|
|
17647
18271
|
declare function toApiError$1(err: unknown): Error;
|
|
17648
18272
|
|
|
17649
18273
|
type IClient$1 = Simplify<Client$3>;
|
|
17650
|
-
type Operation$1 = Operation$
|
|
18274
|
+
type Operation$1 = Operation$6<IClient$1>;
|
|
17651
18275
|
type ClientInputs$1 = Inputs<IClient$1>;
|
|
17652
18276
|
type ClientOutputs$1 = Outputs<IClient$1>;
|
|
17653
18277
|
type ClientProps$2 = CommonClientProps & {
|
|
@@ -18718,24 +19342,245 @@ interface UpdateMessageResponse {
|
|
|
18718
19342
|
};
|
|
18719
19343
|
}
|
|
18720
19344
|
|
|
18721
|
-
interface ListMessagesRequestHeaders {
|
|
19345
|
+
interface ListMessagesRequestHeaders {
|
|
19346
|
+
}
|
|
19347
|
+
interface ListMessagesRequestQuery {
|
|
19348
|
+
nextToken?: string;
|
|
19349
|
+
conversationId?: string;
|
|
19350
|
+
tags?: {
|
|
19351
|
+
[k: string]: string;
|
|
19352
|
+
};
|
|
19353
|
+
afterDate?: string;
|
|
19354
|
+
beforeDate?: string;
|
|
19355
|
+
}
|
|
19356
|
+
interface ListMessagesRequestParams {
|
|
19357
|
+
}
|
|
19358
|
+
interface ListMessagesRequestBody {
|
|
19359
|
+
}
|
|
19360
|
+
type ListMessagesInput = ListMessagesRequestBody & ListMessagesRequestHeaders & ListMessagesRequestQuery & ListMessagesRequestParams;
|
|
19361
|
+
interface ListMessagesResponse {
|
|
19362
|
+
messages: {
|
|
19363
|
+
/**
|
|
19364
|
+
* Id of the [Message](#schema_message)
|
|
19365
|
+
*/
|
|
19366
|
+
id: string;
|
|
19367
|
+
/**
|
|
19368
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
19369
|
+
*/
|
|
19370
|
+
createdAt: string;
|
|
19371
|
+
/**
|
|
19372
|
+
* Update date of the [Message](#schema_message) in ISO 8601 format
|
|
19373
|
+
*/
|
|
19374
|
+
updatedAt: string;
|
|
19375
|
+
/**
|
|
19376
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
19377
|
+
*/
|
|
19378
|
+
type: string;
|
|
19379
|
+
/**
|
|
19380
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19381
|
+
*/
|
|
19382
|
+
payload: {
|
|
19383
|
+
[k: string]: any;
|
|
19384
|
+
};
|
|
19385
|
+
/**
|
|
19386
|
+
* Direction of the message (`incoming` or `outgoing`).
|
|
19387
|
+
*/
|
|
19388
|
+
direction: "incoming" | "outgoing";
|
|
19389
|
+
/**
|
|
19390
|
+
* ID of the [User](#schema_user)
|
|
19391
|
+
*/
|
|
19392
|
+
userId: string;
|
|
19393
|
+
/**
|
|
19394
|
+
* ID of the [Conversation](#schema_conversation)
|
|
19395
|
+
*/
|
|
19396
|
+
conversationId: string;
|
|
19397
|
+
/**
|
|
19398
|
+
* 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.
|
|
19399
|
+
*/
|
|
19400
|
+
tags: {
|
|
19401
|
+
[k: string]: string;
|
|
19402
|
+
};
|
|
19403
|
+
/**
|
|
19404
|
+
* Origin of the message (`synthetic`).
|
|
19405
|
+
*/
|
|
19406
|
+
origin?: "synthetic";
|
|
19407
|
+
}[];
|
|
19408
|
+
meta: {
|
|
19409
|
+
/**
|
|
19410
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
19411
|
+
*/
|
|
19412
|
+
nextToken?: string;
|
|
19413
|
+
};
|
|
19414
|
+
}
|
|
19415
|
+
|
|
19416
|
+
interface DeleteMessageRequestHeaders {
|
|
18722
19417
|
}
|
|
18723
|
-
interface
|
|
18724
|
-
nextToken?: string;
|
|
18725
|
-
conversationId?: string;
|
|
18726
|
-
tags?: {
|
|
18727
|
-
[k: string]: string;
|
|
18728
|
-
};
|
|
18729
|
-
afterDate?: string;
|
|
18730
|
-
beforeDate?: string;
|
|
19418
|
+
interface DeleteMessageRequestQuery {
|
|
18731
19419
|
}
|
|
18732
|
-
interface
|
|
19420
|
+
interface DeleteMessageRequestParams {
|
|
19421
|
+
id: string;
|
|
18733
19422
|
}
|
|
18734
|
-
interface
|
|
19423
|
+
interface DeleteMessageRequestBody {
|
|
18735
19424
|
}
|
|
18736
|
-
type
|
|
18737
|
-
interface
|
|
18738
|
-
|
|
19425
|
+
type DeleteMessageInput = DeleteMessageRequestBody & DeleteMessageRequestHeaders & DeleteMessageRequestQuery & DeleteMessageRequestParams;
|
|
19426
|
+
interface DeleteMessageResponse {
|
|
19427
|
+
}
|
|
19428
|
+
|
|
19429
|
+
interface InitializeIncomingMessageRequestHeaders {
|
|
19430
|
+
}
|
|
19431
|
+
interface InitializeIncomingMessageRequestQuery {
|
|
19432
|
+
}
|
|
19433
|
+
interface InitializeIncomingMessageRequestParams {
|
|
19434
|
+
}
|
|
19435
|
+
interface InitializeIncomingMessageRequestBody {
|
|
19436
|
+
userId?: string;
|
|
19437
|
+
user?: {
|
|
19438
|
+
/**
|
|
19439
|
+
* Tags for the [User](#schema_user)
|
|
19440
|
+
*/
|
|
19441
|
+
tags: {
|
|
19442
|
+
[k: string]: string;
|
|
19443
|
+
};
|
|
19444
|
+
/**
|
|
19445
|
+
* @deprecated
|
|
19446
|
+
* [DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.
|
|
19447
|
+
*/
|
|
19448
|
+
integrationName?: string;
|
|
19449
|
+
/**
|
|
19450
|
+
* Name of the user
|
|
19451
|
+
*/
|
|
19452
|
+
name?: string;
|
|
19453
|
+
/**
|
|
19454
|
+
* URI of the user picture
|
|
19455
|
+
*/
|
|
19456
|
+
pictureUrl?: string;
|
|
19457
|
+
/**
|
|
19458
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19459
|
+
*/
|
|
19460
|
+
discriminateByTags: string[];
|
|
19461
|
+
};
|
|
19462
|
+
conversationId?: string;
|
|
19463
|
+
conversation?: {
|
|
19464
|
+
/**
|
|
19465
|
+
* Channel name
|
|
19466
|
+
*/
|
|
19467
|
+
channel: string;
|
|
19468
|
+
/**
|
|
19469
|
+
* Tags for the [Conversation](#schema_conversation)
|
|
19470
|
+
*/
|
|
19471
|
+
tags: {
|
|
19472
|
+
[k: string]: string;
|
|
19473
|
+
};
|
|
19474
|
+
/**
|
|
19475
|
+
* @deprecated
|
|
19476
|
+
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
19477
|
+
*/
|
|
19478
|
+
integrationName?: string;
|
|
19479
|
+
/**
|
|
19480
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19481
|
+
*/
|
|
19482
|
+
discriminateByTags: string[];
|
|
19483
|
+
};
|
|
19484
|
+
message?: {
|
|
19485
|
+
/**
|
|
19486
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19487
|
+
*/
|
|
19488
|
+
payload: {
|
|
19489
|
+
[k: string]: any;
|
|
19490
|
+
};
|
|
19491
|
+
/**
|
|
19492
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
19493
|
+
*/
|
|
19494
|
+
type: string;
|
|
19495
|
+
/**
|
|
19496
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) 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.
|
|
19497
|
+
*/
|
|
19498
|
+
tags: {
|
|
19499
|
+
[k: string]: string;
|
|
19500
|
+
};
|
|
19501
|
+
origin?: "synthetic";
|
|
19502
|
+
/**
|
|
19503
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19504
|
+
*/
|
|
19505
|
+
discriminateByTags: string[];
|
|
19506
|
+
};
|
|
19507
|
+
}
|
|
19508
|
+
type InitializeIncomingMessageInput = InitializeIncomingMessageRequestBody & InitializeIncomingMessageRequestHeaders & InitializeIncomingMessageRequestQuery & InitializeIncomingMessageRequestParams;
|
|
19509
|
+
interface InitializeIncomingMessageResponse {
|
|
19510
|
+
/**
|
|
19511
|
+
* The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
|
|
19512
|
+
*/
|
|
19513
|
+
user: {
|
|
19514
|
+
/**
|
|
19515
|
+
* Id of the [User](#schema_user)
|
|
19516
|
+
*/
|
|
19517
|
+
id: string;
|
|
19518
|
+
/**
|
|
19519
|
+
* Creation date of the [User](#schema_user) in ISO 8601 format
|
|
19520
|
+
*/
|
|
19521
|
+
createdAt: string;
|
|
19522
|
+
/**
|
|
19523
|
+
* Updating date of the [User](#schema_user) in ISO 8601 format
|
|
19524
|
+
*/
|
|
19525
|
+
updatedAt: string;
|
|
19526
|
+
/**
|
|
19527
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) 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.
|
|
19528
|
+
*/
|
|
19529
|
+
tags: {
|
|
19530
|
+
[k: string]: string;
|
|
19531
|
+
};
|
|
19532
|
+
/**
|
|
19533
|
+
* Name of the [User](#schema_user)
|
|
19534
|
+
*/
|
|
19535
|
+
name?: string;
|
|
19536
|
+
/**
|
|
19537
|
+
* Picture URL of the [User](#schema_user)
|
|
19538
|
+
*/
|
|
19539
|
+
pictureUrl?: string;
|
|
19540
|
+
};
|
|
19541
|
+
/**
|
|
19542
|
+
* The [Conversation](#schema_conversation) object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration's channels. For example, a Slack channel represents a conversation.
|
|
19543
|
+
*/
|
|
19544
|
+
conversation: {
|
|
19545
|
+
/**
|
|
19546
|
+
* Id of the [Conversation](#schema_conversation)
|
|
19547
|
+
*/
|
|
19548
|
+
id: string;
|
|
19549
|
+
/**
|
|
19550
|
+
* Id of the current [Task](#schema_task)
|
|
19551
|
+
*/
|
|
19552
|
+
currentTaskId?: string;
|
|
19553
|
+
/**
|
|
19554
|
+
* Id of the current [Workflow](#schema_workflow)
|
|
19555
|
+
*/
|
|
19556
|
+
currentWorkflowId?: string;
|
|
19557
|
+
/**
|
|
19558
|
+
* Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19559
|
+
*/
|
|
19560
|
+
createdAt: string;
|
|
19561
|
+
/**
|
|
19562
|
+
* Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
|
|
19563
|
+
*/
|
|
19564
|
+
updatedAt: string;
|
|
19565
|
+
/**
|
|
19566
|
+
* Name of the channel where the [Conversation](#schema_conversation) is happening
|
|
19567
|
+
*/
|
|
19568
|
+
channel: string;
|
|
19569
|
+
/**
|
|
19570
|
+
* Name of the integration that created the [Conversation](#schema_conversation)
|
|
19571
|
+
*/
|
|
19572
|
+
integration: string;
|
|
19573
|
+
/**
|
|
19574
|
+
* 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.
|
|
19575
|
+
*/
|
|
19576
|
+
tags: {
|
|
19577
|
+
[k: string]: string;
|
|
19578
|
+
};
|
|
19579
|
+
};
|
|
19580
|
+
/**
|
|
19581
|
+
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
19582
|
+
*/
|
|
19583
|
+
message?: {
|
|
18739
19584
|
/**
|
|
18740
19585
|
* Id of the [Message](#schema_message)
|
|
18741
19586
|
*/
|
|
@@ -18780,26 +19625,102 @@ interface ListMessagesResponse {
|
|
|
18780
19625
|
* Origin of the message (`synthetic`).
|
|
18781
19626
|
*/
|
|
18782
19627
|
origin?: "synthetic";
|
|
18783
|
-
}[];
|
|
18784
|
-
meta: {
|
|
18785
|
-
/**
|
|
18786
|
-
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
18787
|
-
*/
|
|
18788
|
-
nextToken?: string;
|
|
18789
19628
|
};
|
|
18790
19629
|
}
|
|
18791
19630
|
|
|
18792
|
-
interface
|
|
19631
|
+
interface ImportMessagesRequestHeaders {
|
|
18793
19632
|
}
|
|
18794
|
-
interface
|
|
19633
|
+
interface ImportMessagesRequestQuery {
|
|
18795
19634
|
}
|
|
18796
|
-
interface
|
|
18797
|
-
id: string;
|
|
19635
|
+
interface ImportMessagesRequestParams {
|
|
18798
19636
|
}
|
|
18799
|
-
interface
|
|
19637
|
+
interface ImportMessagesRequestBody {
|
|
19638
|
+
/**
|
|
19639
|
+
* @maxItems 100
|
|
19640
|
+
*/
|
|
19641
|
+
messages: {
|
|
19642
|
+
/**
|
|
19643
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19644
|
+
*/
|
|
19645
|
+
payload: {
|
|
19646
|
+
[k: string]: any;
|
|
19647
|
+
};
|
|
19648
|
+
/**
|
|
19649
|
+
* ID of the [User](#schema_user)
|
|
19650
|
+
*/
|
|
19651
|
+
userId: string;
|
|
19652
|
+
/**
|
|
19653
|
+
* ID of the [Conversation](#schema_conversation)
|
|
19654
|
+
*/
|
|
19655
|
+
conversationId: string;
|
|
19656
|
+
/**
|
|
19657
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
19658
|
+
*/
|
|
19659
|
+
type: string;
|
|
19660
|
+
/**
|
|
19661
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) 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.
|
|
19662
|
+
*/
|
|
19663
|
+
tags: {
|
|
19664
|
+
[k: string]: string;
|
|
19665
|
+
};
|
|
19666
|
+
/**
|
|
19667
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
19668
|
+
*/
|
|
19669
|
+
createdAt: string;
|
|
19670
|
+
/**
|
|
19671
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19672
|
+
*/
|
|
19673
|
+
discriminateByTags: string[];
|
|
19674
|
+
}[];
|
|
18800
19675
|
}
|
|
18801
|
-
type
|
|
18802
|
-
interface
|
|
19676
|
+
type ImportMessagesInput = ImportMessagesRequestBody & ImportMessagesRequestHeaders & ImportMessagesRequestQuery & ImportMessagesRequestParams;
|
|
19677
|
+
interface ImportMessagesResponse {
|
|
19678
|
+
messages: {
|
|
19679
|
+
/**
|
|
19680
|
+
* Id of the [Message](#schema_message)
|
|
19681
|
+
*/
|
|
19682
|
+
id: string;
|
|
19683
|
+
/**
|
|
19684
|
+
* Creation date of the [Message](#schema_message) in ISO 8601 format
|
|
19685
|
+
*/
|
|
19686
|
+
createdAt: string;
|
|
19687
|
+
/**
|
|
19688
|
+
* Update date of the [Message](#schema_message) in ISO 8601 format
|
|
19689
|
+
*/
|
|
19690
|
+
updatedAt: string;
|
|
19691
|
+
/**
|
|
19692
|
+
* Type of the [Message](#schema_message) represents the resource type that the message is related to
|
|
19693
|
+
*/
|
|
19694
|
+
type: string;
|
|
19695
|
+
/**
|
|
19696
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19697
|
+
*/
|
|
19698
|
+
payload: {
|
|
19699
|
+
[k: string]: any;
|
|
19700
|
+
};
|
|
19701
|
+
/**
|
|
19702
|
+
* Direction of the message (`incoming` or `outgoing`).
|
|
19703
|
+
*/
|
|
19704
|
+
direction: "incoming" | "outgoing";
|
|
19705
|
+
/**
|
|
19706
|
+
* ID of the [User](#schema_user)
|
|
19707
|
+
*/
|
|
19708
|
+
userId: string;
|
|
19709
|
+
/**
|
|
19710
|
+
* ID of the [Conversation](#schema_conversation)
|
|
19711
|
+
*/
|
|
19712
|
+
conversationId: string;
|
|
19713
|
+
/**
|
|
19714
|
+
* 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.
|
|
19715
|
+
*/
|
|
19716
|
+
tags: {
|
|
19717
|
+
[k: string]: string;
|
|
19718
|
+
};
|
|
19719
|
+
/**
|
|
19720
|
+
* Origin of the message (`synthetic`).
|
|
19721
|
+
*/
|
|
19722
|
+
origin?: "synthetic";
|
|
19723
|
+
}[];
|
|
18803
19724
|
}
|
|
18804
19725
|
|
|
18805
19726
|
interface CreateUserRequestHeaders {
|
|
@@ -18916,6 +19837,11 @@ interface ListUsersRequestQuery {
|
|
|
18916
19837
|
tags?: {
|
|
18917
19838
|
[k: string]: string;
|
|
18918
19839
|
};
|
|
19840
|
+
afterDate?: string;
|
|
19841
|
+
beforeDate?: string;
|
|
19842
|
+
rangeField?: "updatedAt" | "createdAt";
|
|
19843
|
+
sortField?: "updatedAt" | "createdAt";
|
|
19844
|
+
sortDirection?: "asc" | "desc";
|
|
18919
19845
|
}
|
|
18920
19846
|
interface ListUsersRequestParams {
|
|
18921
19847
|
}
|
|
@@ -23326,7 +24252,7 @@ interface CreateBotResponse {
|
|
|
23326
24252
|
/**
|
|
23327
24253
|
* Status of the bot
|
|
23328
24254
|
*/
|
|
23329
|
-
status: "active" | "deploying";
|
|
24255
|
+
status: "active" | "deploying" | "deleting";
|
|
23330
24256
|
/**
|
|
23331
24257
|
* Media files associated with the [Bot](#schema_bot)
|
|
23332
24258
|
*/
|
|
@@ -24006,7 +24932,7 @@ interface UpdateBotResponse {
|
|
|
24006
24932
|
/**
|
|
24007
24933
|
* Status of the bot
|
|
24008
24934
|
*/
|
|
24009
|
-
status: "active" | "deploying";
|
|
24935
|
+
status: "active" | "deploying" | "deleting";
|
|
24010
24936
|
/**
|
|
24011
24937
|
* Media files associated with the [Bot](#schema_bot)
|
|
24012
24938
|
*/
|
|
@@ -24497,7 +25423,7 @@ interface GetBotResponse {
|
|
|
24497
25423
|
/**
|
|
24498
25424
|
* Status of the bot
|
|
24499
25425
|
*/
|
|
24500
|
-
status: "active" | "deploying";
|
|
25426
|
+
status: "active" | "deploying" | "deleting";
|
|
24501
25427
|
/**
|
|
24502
25428
|
* Media files associated with the [Bot](#schema_bot)
|
|
24503
25429
|
*/
|
|
@@ -25277,7 +26203,7 @@ interface GetWorkspaceResponse {
|
|
|
25277
26203
|
interface ListWorkspaceUsagesRequestHeaders {
|
|
25278
26204
|
}
|
|
25279
26205
|
interface ListWorkspaceUsagesRequestQuery {
|
|
25280
|
-
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" | "indexed_file_count";
|
|
26206
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25281
26207
|
period?: string;
|
|
25282
26208
|
}
|
|
25283
26209
|
interface ListWorkspaceUsagesRequestParams {
|
|
@@ -25307,14 +26233,14 @@ interface ListWorkspaceUsagesResponse {
|
|
|
25307
26233
|
/**
|
|
25308
26234
|
* Usage type that can be used
|
|
25309
26235
|
*/
|
|
25310
|
-
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" | "indexed_file_count";
|
|
26236
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25311
26237
|
}[];
|
|
25312
26238
|
}
|
|
25313
26239
|
|
|
25314
26240
|
interface BreakDownWorkspaceUsageByBotRequestHeaders {
|
|
25315
26241
|
}
|
|
25316
26242
|
interface BreakDownWorkspaceUsageByBotRequestQuery {
|
|
25317
|
-
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" | "indexed_file_count";
|
|
26243
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25318
26244
|
period?: string;
|
|
25319
26245
|
}
|
|
25320
26246
|
interface BreakDownWorkspaceUsageByBotRequestParams {
|
|
@@ -25341,7 +26267,7 @@ interface GetAllWorkspaceQuotaCompletionRequestBody {
|
|
|
25341
26267
|
type GetAllWorkspaceQuotaCompletionInput = GetAllWorkspaceQuotaCompletionRequestBody & GetAllWorkspaceQuotaCompletionRequestHeaders & GetAllWorkspaceQuotaCompletionRequestQuery & GetAllWorkspaceQuotaCompletionRequestParams;
|
|
25342
26268
|
interface GetAllWorkspaceQuotaCompletionResponse {
|
|
25343
26269
|
[k: string]: {
|
|
25344
|
-
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" | "indexed_file_count";
|
|
26270
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25345
26271
|
completion: number;
|
|
25346
26272
|
};
|
|
25347
26273
|
}
|
|
@@ -25349,7 +26275,7 @@ interface GetAllWorkspaceQuotaCompletionResponse {
|
|
|
25349
26275
|
interface GetWorkspaceQuotaRequestHeaders {
|
|
25350
26276
|
}
|
|
25351
26277
|
interface GetWorkspaceQuotaRequestQuery {
|
|
25352
|
-
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" | "indexed_file_count";
|
|
26278
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25353
26279
|
period?: string;
|
|
25354
26280
|
}
|
|
25355
26281
|
interface GetWorkspaceQuotaRequestParams {
|
|
@@ -25371,7 +26297,7 @@ interface GetWorkspaceQuotaResponse {
|
|
|
25371
26297
|
/**
|
|
25372
26298
|
* Usage type that can be used
|
|
25373
26299
|
*/
|
|
25374
|
-
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" | "indexed_file_count";
|
|
26300
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25375
26301
|
};
|
|
25376
26302
|
}
|
|
25377
26303
|
|
|
@@ -25399,7 +26325,7 @@ interface ListWorkspaceQuotasResponse {
|
|
|
25399
26325
|
/**
|
|
25400
26326
|
* Usage type that can be used
|
|
25401
26327
|
*/
|
|
25402
|
-
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" | "indexed_file_count";
|
|
26328
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
25403
26329
|
}[];
|
|
25404
26330
|
}
|
|
25405
26331
|
|
|
@@ -31543,7 +32469,7 @@ interface GetPluginCodeResponse {
|
|
|
31543
32469
|
interface GetUsageRequestHeaders {
|
|
31544
32470
|
}
|
|
31545
32471
|
interface GetUsageRequestQuery {
|
|
31546
|
-
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" | "indexed_file_count";
|
|
32472
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31547
32473
|
period?: string;
|
|
31548
32474
|
}
|
|
31549
32475
|
interface GetUsageRequestParams {
|
|
@@ -31573,7 +32499,7 @@ interface GetUsageResponse {
|
|
|
31573
32499
|
/**
|
|
31574
32500
|
* Usage type that can be used
|
|
31575
32501
|
*/
|
|
31576
|
-
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" | "indexed_file_count";
|
|
32502
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31577
32503
|
};
|
|
31578
32504
|
}
|
|
31579
32505
|
|
|
@@ -31610,14 +32536,14 @@ interface GetMultipleUsagesResponse {
|
|
|
31610
32536
|
/**
|
|
31611
32537
|
* Usage type that can be used
|
|
31612
32538
|
*/
|
|
31613
|
-
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" | "indexed_file_count";
|
|
32539
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31614
32540
|
}[];
|
|
31615
32541
|
}
|
|
31616
32542
|
|
|
31617
32543
|
interface ListUsageHistoryRequestHeaders {
|
|
31618
32544
|
}
|
|
31619
32545
|
interface ListUsageHistoryRequestQuery {
|
|
31620
|
-
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" | "indexed_file_count";
|
|
32546
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31621
32547
|
}
|
|
31622
32548
|
interface ListUsageHistoryRequestParams {
|
|
31623
32549
|
id: string;
|
|
@@ -31646,14 +32572,14 @@ interface ListUsageHistoryResponse {
|
|
|
31646
32572
|
/**
|
|
31647
32573
|
* Usage type that can be used
|
|
31648
32574
|
*/
|
|
31649
|
-
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" | "indexed_file_count";
|
|
32575
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31650
32576
|
}[];
|
|
31651
32577
|
}
|
|
31652
32578
|
|
|
31653
32579
|
interface ListUsageActivityRequestHeaders {
|
|
31654
32580
|
}
|
|
31655
32581
|
interface ListUsageActivityRequestQuery {
|
|
31656
|
-
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" | "indexed_file_count";
|
|
32582
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31657
32583
|
timestampFrom?: string;
|
|
31658
32584
|
timestampUntil?: string;
|
|
31659
32585
|
nextToken?: string;
|
|
@@ -31681,7 +32607,7 @@ interface ListUsageActivityResponse {
|
|
|
31681
32607
|
interface ListUsageActivityDailyRequestHeaders {
|
|
31682
32608
|
}
|
|
31683
32609
|
interface ListUsageActivityDailyRequestQuery {
|
|
31684
|
-
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" | "indexed_file_count";
|
|
32610
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
31685
32611
|
dateFrom?: string;
|
|
31686
32612
|
dateUntil?: string;
|
|
31687
32613
|
nextToken?: string;
|
|
@@ -32055,6 +32981,7 @@ interface ListFilesRequestQuery {
|
|
|
32055
32981
|
* @maxItems 50
|
|
32056
32982
|
*/
|
|
32057
32983
|
ids?: string[];
|
|
32984
|
+
indexed?: boolean;
|
|
32058
32985
|
}
|
|
32059
32986
|
interface ListFilesRequestParams {
|
|
32060
32987
|
}
|
|
@@ -33721,7 +34648,7 @@ interface ExportTableResponse {
|
|
|
33721
34648
|
id: string;
|
|
33722
34649
|
botId: string;
|
|
33723
34650
|
tableId: string;
|
|
33724
|
-
type: "export" | "import";
|
|
34651
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
33725
34652
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
33726
34653
|
progress?: number;
|
|
33727
34654
|
inputFileId: string | null;
|
|
@@ -33746,7 +34673,7 @@ interface GetTableJobsResponse {
|
|
|
33746
34673
|
id: string;
|
|
33747
34674
|
botId: string;
|
|
33748
34675
|
tableId: string;
|
|
33749
|
-
type: "export" | "import";
|
|
34676
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
33750
34677
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
33751
34678
|
progress?: number;
|
|
33752
34679
|
inputFileId: string | null;
|
|
@@ -33775,7 +34702,7 @@ interface ImportTableResponse {
|
|
|
33775
34702
|
id: string;
|
|
33776
34703
|
botId: string;
|
|
33777
34704
|
tableId: string;
|
|
33778
|
-
type: "export" | "import";
|
|
34705
|
+
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
33779
34706
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
33780
34707
|
progress?: number;
|
|
33781
34708
|
inputFileId: string | null;
|
|
@@ -34929,7 +35856,7 @@ interface Bot {
|
|
|
34929
35856
|
/**
|
|
34930
35857
|
* Status of the bot
|
|
34931
35858
|
*/
|
|
34932
|
-
status: "active" | "deploying";
|
|
35859
|
+
status: "active" | "deploying" | "deleting";
|
|
34933
35860
|
/**
|
|
34934
35861
|
* Media files associated with the [Bot](#schema_bot)
|
|
34935
35862
|
*/
|
|
@@ -35756,7 +36683,7 @@ interface Usage {
|
|
|
35756
36683
|
/**
|
|
35757
36684
|
* Usage type that can be used
|
|
35758
36685
|
*/
|
|
35759
|
-
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" | "indexed_file_count";
|
|
36686
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
35760
36687
|
}
|
|
35761
36688
|
interface Issue {
|
|
35762
36689
|
id: string;
|
|
@@ -36476,6 +37403,8 @@ declare class Client$1 {
|
|
|
36476
37403
|
readonly updateMessage: (input: UpdateMessageInput) => Promise<UpdateMessageResponse>;
|
|
36477
37404
|
readonly listMessages: (input: ListMessagesInput) => Promise<ListMessagesResponse>;
|
|
36478
37405
|
readonly deleteMessage: (input: DeleteMessageInput) => Promise<DeleteMessageResponse>;
|
|
37406
|
+
readonly initializeIncomingMessage: (input: InitializeIncomingMessageInput) => Promise<InitializeIncomingMessageResponse>;
|
|
37407
|
+
readonly importMessages: (input: ImportMessagesInput) => Promise<ImportMessagesResponse>;
|
|
36479
37408
|
readonly createUser: (input: CreateUserInput) => Promise<CreateUserResponse>;
|
|
36480
37409
|
readonly getUser: (input: GetUserInput) => Promise<GetUserResponse>;
|
|
36481
37410
|
readonly listUsers: (input: ListUsersInput) => Promise<ListUsersResponse>;
|
|
@@ -36648,7 +37577,7 @@ declare function toApiError(err: unknown): Error;
|
|
|
36648
37577
|
type IClient = Simplify<Client$1 & {
|
|
36649
37578
|
uploadFile: (input: UploadFileInput) => Promise<UploadFileOutput>;
|
|
36650
37579
|
}>;
|
|
36651
|
-
type Operation = Operation$
|
|
37580
|
+
type Operation = Operation$6<IClient>;
|
|
36652
37581
|
type ClientInputs = Inputs<IClient>;
|
|
36653
37582
|
type ClientOutputs = Outputs<IClient>;
|
|
36654
37583
|
type ClientProps = CommonClientProps & {
|
|
@@ -36744,7 +37673,12 @@ declare class Client extends Client$1 implements IClient {
|
|
|
36744
37673
|
tags?: {
|
|
36745
37674
|
[x: string]: string;
|
|
36746
37675
|
} | undefined;
|
|
37676
|
+
sortField?: "updatedAt" | "createdAt" | undefined;
|
|
37677
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
37678
|
+
afterDate?: string | undefined;
|
|
37679
|
+
beforeDate?: string | undefined;
|
|
36747
37680
|
conversationId?: string | undefined;
|
|
37681
|
+
rangeField?: "updatedAt" | "createdAt" | undefined;
|
|
36748
37682
|
}) => AsyncCollection<{
|
|
36749
37683
|
id: string;
|
|
36750
37684
|
createdAt: string;
|
|
@@ -36990,6 +37924,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
36990
37924
|
sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
|
|
36991
37925
|
sortDirection?: "asc" | "desc" | undefined;
|
|
36992
37926
|
ids?: string[] | undefined;
|
|
37927
|
+
indexed?: boolean | undefined;
|
|
36993
37928
|
}) => AsyncCollection<{
|
|
36994
37929
|
id: string;
|
|
36995
37930
|
botId: string;
|
|
@@ -37047,7 +37982,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
37047
37982
|
};
|
|
37048
37983
|
}>;
|
|
37049
37984
|
usageActivity: (props: {
|
|
37050
|
-
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" | "indexed_file_count";
|
|
37985
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
37051
37986
|
id: string;
|
|
37052
37987
|
timestampFrom?: string | undefined;
|
|
37053
37988
|
timestampUntil?: string | undefined;
|
|
@@ -37060,7 +37995,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
37060
37995
|
};
|
|
37061
37996
|
}>;
|
|
37062
37997
|
usageActivityDaily: (props: {
|
|
37063
|
-
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" | "indexed_file_count";
|
|
37998
|
+
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" | "indexed_file_count" | "file_max_size_bytes";
|
|
37064
37999
|
id: string;
|
|
37065
38000
|
dateFrom?: string | undefined;
|
|
37066
38001
|
dateUntil?: string | undefined;
|
|
@@ -37341,4 +38276,4 @@ declare class UploadFileError extends Error {
|
|
|
37341
38276
|
constructor(message: string, innerError?: AxiosError | undefined, file?: UpsertFileResponse["file"] | undefined);
|
|
37342
38277
|
}
|
|
37343
38278
|
|
|
37344
|
-
export { type Account, type Activity, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientProps, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type Headers, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, type Task, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Version, type Workflow, type Workspace, type WorkspaceMember, index$
|
|
38279
|
+
export { type Account, type Activity, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientProps, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type Headers, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, type Task, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Version, type Workflow, type Workspace, type WorkspaceMember, index$3 as admin, index$2 as billing, errorFrom, index$1 as files, isApiError, index$4 as runtime, index as tables };
|