@botpress/client 1.40.0 → 1.41.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 +13 -13
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +182 -20
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,12 @@ interface CreateConversationRequestBody$1 {
|
|
|
96
96
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
97
97
|
*/
|
|
98
98
|
integrationName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
101
|
+
*/
|
|
102
|
+
properties?: {
|
|
103
|
+
[k: string]: string;
|
|
104
|
+
};
|
|
99
105
|
}
|
|
100
106
|
type CreateConversationInput$1 = CreateConversationRequestBody$1 & CreateConversationRequestHeaders$1 & CreateConversationRequestQuery$1 & CreateConversationRequestParams$1;
|
|
101
107
|
interface CreateConversationResponse$1 {
|
|
@@ -142,6 +148,12 @@ interface CreateConversationResponse$1 {
|
|
|
142
148
|
* Number of messages in the conversation
|
|
143
149
|
*/
|
|
144
150
|
messageCount: number;
|
|
151
|
+
/**
|
|
152
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
153
|
+
*/
|
|
154
|
+
properties?: {
|
|
155
|
+
[k: string]: string;
|
|
156
|
+
};
|
|
145
157
|
};
|
|
146
158
|
}
|
|
147
159
|
|
|
@@ -199,6 +211,12 @@ interface GetConversationResponse$1 {
|
|
|
199
211
|
* Number of messages in the conversation
|
|
200
212
|
*/
|
|
201
213
|
messageCount: number;
|
|
214
|
+
/**
|
|
215
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
216
|
+
*/
|
|
217
|
+
properties?: {
|
|
218
|
+
[k: string]: string;
|
|
219
|
+
};
|
|
202
220
|
};
|
|
203
221
|
}
|
|
204
222
|
|
|
@@ -216,6 +234,8 @@ interface ListConversationsRequestQuery$1 {
|
|
|
216
234
|
channel?: string;
|
|
217
235
|
afterDate?: string;
|
|
218
236
|
beforeDate?: string;
|
|
237
|
+
minMessageCount?: number;
|
|
238
|
+
maxMessageCount?: number;
|
|
219
239
|
}
|
|
220
240
|
interface ListConversationsRequestParams$1 {
|
|
221
241
|
}
|
|
@@ -263,6 +283,12 @@ interface ListConversationsResponse$1 {
|
|
|
263
283
|
* Number of messages in the conversation
|
|
264
284
|
*/
|
|
265
285
|
messageCount: number;
|
|
286
|
+
/**
|
|
287
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
288
|
+
*/
|
|
289
|
+
properties?: {
|
|
290
|
+
[k: string]: string;
|
|
291
|
+
};
|
|
266
292
|
}[];
|
|
267
293
|
meta: {
|
|
268
294
|
/**
|
|
@@ -294,6 +320,12 @@ interface GetOrCreateConversationRequestBody$1 {
|
|
|
294
320
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
295
321
|
*/
|
|
296
322
|
integrationName?: string;
|
|
323
|
+
/**
|
|
324
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
325
|
+
*/
|
|
326
|
+
properties?: {
|
|
327
|
+
[k: string]: string;
|
|
328
|
+
};
|
|
297
329
|
/**
|
|
298
330
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation 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.
|
|
299
331
|
*/
|
|
@@ -344,6 +376,12 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
344
376
|
* Number of messages in the conversation
|
|
345
377
|
*/
|
|
346
378
|
messageCount: number;
|
|
379
|
+
/**
|
|
380
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
381
|
+
*/
|
|
382
|
+
properties?: {
|
|
383
|
+
[k: string]: string;
|
|
384
|
+
};
|
|
347
385
|
};
|
|
348
386
|
meta: {
|
|
349
387
|
created: boolean;
|
|
@@ -369,6 +407,12 @@ interface UpdateConversationRequestBody$1 {
|
|
|
369
407
|
tags?: {
|
|
370
408
|
[k: string]: string;
|
|
371
409
|
};
|
|
410
|
+
/**
|
|
411
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
412
|
+
*/
|
|
413
|
+
properties?: {
|
|
414
|
+
[k: string]: string | null;
|
|
415
|
+
};
|
|
372
416
|
}
|
|
373
417
|
type UpdateConversationInput$1 = UpdateConversationRequestBody$1 & UpdateConversationRequestHeaders$1 & UpdateConversationRequestQuery$1 & UpdateConversationRequestParams$1;
|
|
374
418
|
interface UpdateConversationResponse$1 {
|
|
@@ -415,6 +459,12 @@ interface UpdateConversationResponse$1 {
|
|
|
415
459
|
* Number of messages in the conversation
|
|
416
460
|
*/
|
|
417
461
|
messageCount: number;
|
|
462
|
+
/**
|
|
463
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
464
|
+
*/
|
|
465
|
+
properties?: {
|
|
466
|
+
[k: string]: string;
|
|
467
|
+
};
|
|
418
468
|
};
|
|
419
469
|
}
|
|
420
470
|
|
|
@@ -1295,7 +1345,7 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1295
1345
|
*/
|
|
1296
1346
|
pictureUrl?: string;
|
|
1297
1347
|
/**
|
|
1298
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1348
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1299
1349
|
*/
|
|
1300
1350
|
properties?: {
|
|
1301
1351
|
[k: string]: string;
|
|
@@ -1329,6 +1379,12 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1329
1379
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
1330
1380
|
*/
|
|
1331
1381
|
integrationName?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1384
|
+
*/
|
|
1385
|
+
properties?: {
|
|
1386
|
+
[k: string]: string;
|
|
1387
|
+
};
|
|
1332
1388
|
/**
|
|
1333
1389
|
* 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.
|
|
1334
1390
|
*/
|
|
@@ -1446,6 +1502,12 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1446
1502
|
* Number of messages in the conversation
|
|
1447
1503
|
*/
|
|
1448
1504
|
messageCount: number;
|
|
1505
|
+
/**
|
|
1506
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1507
|
+
*/
|
|
1508
|
+
properties?: {
|
|
1509
|
+
[k: string]: string;
|
|
1510
|
+
};
|
|
1449
1511
|
};
|
|
1450
1512
|
/**
|
|
1451
1513
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -1620,7 +1682,7 @@ interface CreateUserRequestBody$1 {
|
|
|
1620
1682
|
*/
|
|
1621
1683
|
pictureUrl?: string;
|
|
1622
1684
|
/**
|
|
1623
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1685
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1624
1686
|
*/
|
|
1625
1687
|
properties?: {
|
|
1626
1688
|
[k: string]: string;
|
|
@@ -1831,7 +1893,7 @@ interface GetOrCreateUserRequestBody$1 {
|
|
|
1831
1893
|
*/
|
|
1832
1894
|
pictureUrl?: string;
|
|
1833
1895
|
/**
|
|
1834
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1896
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1835
1897
|
*/
|
|
1836
1898
|
properties?: {
|
|
1837
1899
|
[k: string]: string;
|
|
@@ -1928,7 +1990,7 @@ interface UpdateUserRequestBody$1 {
|
|
|
1928
1990
|
[k: string]: string | null;
|
|
1929
1991
|
};
|
|
1930
1992
|
/**
|
|
1931
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
1993
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
1932
1994
|
*/
|
|
1933
1995
|
properties?: {
|
|
1934
1996
|
[k: string]: string | null;
|
|
@@ -3123,6 +3185,8 @@ declare class Client$a extends Client$b {
|
|
|
3123
3185
|
participantIds?: string[] | undefined;
|
|
3124
3186
|
afterDate?: string | undefined;
|
|
3125
3187
|
beforeDate?: string | undefined;
|
|
3188
|
+
minMessageCount?: number | undefined;
|
|
3189
|
+
maxMessageCount?: number | undefined;
|
|
3126
3190
|
}) => AsyncCollection<{
|
|
3127
3191
|
id: string;
|
|
3128
3192
|
currentTaskId?: string;
|
|
@@ -3135,6 +3199,9 @@ declare class Client$a extends Client$b {
|
|
|
3135
3199
|
[k: string]: string;
|
|
3136
3200
|
};
|
|
3137
3201
|
messageCount: number;
|
|
3202
|
+
properties?: {
|
|
3203
|
+
[k: string]: string;
|
|
3204
|
+
};
|
|
3138
3205
|
}>;
|
|
3139
3206
|
participants: (props: {
|
|
3140
3207
|
id: string;
|
|
@@ -5801,6 +5868,10 @@ interface CreateBotRequestBody$1 {
|
|
|
5801
5868
|
* Type of the [Bot](#schema_bot)
|
|
5802
5869
|
*/
|
|
5803
5870
|
type?: "studio" | "adk" | "desk";
|
|
5871
|
+
/**
|
|
5872
|
+
* Maximum execution time (in seconds).
|
|
5873
|
+
*/
|
|
5874
|
+
maxExecutionTime?: number;
|
|
5804
5875
|
}
|
|
5805
5876
|
type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
|
|
5806
5877
|
interface CreateBotResponse$1 {
|
|
@@ -6966,6 +7037,8 @@ interface ListBotsRequestQuery$1 {
|
|
|
6966
7037
|
tags?: {
|
|
6967
7038
|
[k: string]: string;
|
|
6968
7039
|
};
|
|
7040
|
+
integrationNames?: string[];
|
|
7041
|
+
pluginNames?: string[];
|
|
6969
7042
|
nextToken?: string;
|
|
6970
7043
|
sortField?: "createdAt" | "updatedAt";
|
|
6971
7044
|
sortDirection?: "asc" | "desc";
|
|
@@ -8162,7 +8235,7 @@ interface CreateWorkspaceResponse$1 {
|
|
|
8162
8235
|
updatedAt: string;
|
|
8163
8236
|
botCount: number;
|
|
8164
8237
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8165
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8238
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8166
8239
|
blocked: boolean;
|
|
8167
8240
|
spendingLimit: number;
|
|
8168
8241
|
about?: string;
|
|
@@ -8216,7 +8289,7 @@ interface GetWorkspaceResponse$1 {
|
|
|
8216
8289
|
updatedAt: string;
|
|
8217
8290
|
botCount: number;
|
|
8218
8291
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8219
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8292
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8220
8293
|
blocked: boolean;
|
|
8221
8294
|
spendingLimit: number;
|
|
8222
8295
|
about?: string;
|
|
@@ -8388,7 +8461,7 @@ interface UpdateWorkspaceResponse$3 {
|
|
|
8388
8461
|
updatedAt: string;
|
|
8389
8462
|
botCount: number;
|
|
8390
8463
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8391
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8464
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8392
8465
|
blocked: boolean;
|
|
8393
8466
|
spendingLimit: number;
|
|
8394
8467
|
about?: string;
|
|
@@ -8445,7 +8518,7 @@ interface UpdateWorkspaceResponse$2 {
|
|
|
8445
8518
|
updatedAt: string;
|
|
8446
8519
|
botCount: number;
|
|
8447
8520
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8448
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8521
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8449
8522
|
blocked: boolean;
|
|
8450
8523
|
spendingLimit: number;
|
|
8451
8524
|
about?: string;
|
|
@@ -15088,6 +15161,8 @@ declare class Client$8 extends Client$9 {
|
|
|
15088
15161
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
15089
15162
|
sortDirection?: "asc" | "desc" | undefined;
|
|
15090
15163
|
dev?: boolean | undefined;
|
|
15164
|
+
integrationNames?: string[] | undefined;
|
|
15165
|
+
pluginNames?: string[] | undefined;
|
|
15091
15166
|
}) => AsyncCollection<{
|
|
15092
15167
|
id: string;
|
|
15093
15168
|
createdAt: string;
|
|
@@ -15387,8 +15462,11 @@ interface GetAddonResponse$1 {
|
|
|
15387
15462
|
name: string;
|
|
15388
15463
|
description: string;
|
|
15389
15464
|
price: number;
|
|
15390
|
-
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";
|
|
15465
|
+
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" | "indexed_file_count" | "saved_versions";
|
|
15391
15466
|
increment: number;
|
|
15467
|
+
increments?: {
|
|
15468
|
+
[k: string]: number;
|
|
15469
|
+
};
|
|
15392
15470
|
metadata?: {
|
|
15393
15471
|
[k: string]: string;
|
|
15394
15472
|
};
|
|
@@ -15409,8 +15487,11 @@ interface GetAddonResponse {
|
|
|
15409
15487
|
name: string;
|
|
15410
15488
|
description: string;
|
|
15411
15489
|
price: number;
|
|
15412
|
-
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";
|
|
15490
|
+
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" | "indexed_file_count" | "saved_versions";
|
|
15413
15491
|
increment: number;
|
|
15492
|
+
increments?: {
|
|
15493
|
+
[k: string]: number;
|
|
15494
|
+
};
|
|
15414
15495
|
metadata?: {
|
|
15415
15496
|
[k: string]: string;
|
|
15416
15497
|
};
|
|
@@ -15905,7 +15986,7 @@ interface CreateCreditGrantResponse {
|
|
|
15905
15986
|
* Dollar value of the credit grant (e.g. 10 = $10.00 USD)
|
|
15906
15987
|
*/
|
|
15907
15988
|
amount: number;
|
|
15908
|
-
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";
|
|
15989
|
+
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" | "indexed_file_count" | "saved_versions";
|
|
15909
15990
|
/**
|
|
15910
15991
|
* Start of the period (inclusive)
|
|
15911
15992
|
*/
|
|
@@ -19114,6 +19195,12 @@ interface CreateConversationRequestBody {
|
|
|
19114
19195
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
19115
19196
|
*/
|
|
19116
19197
|
integrationName?: string;
|
|
19198
|
+
/**
|
|
19199
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19200
|
+
*/
|
|
19201
|
+
properties?: {
|
|
19202
|
+
[k: string]: string;
|
|
19203
|
+
};
|
|
19117
19204
|
}
|
|
19118
19205
|
type CreateConversationInput = CreateConversationRequestBody & CreateConversationRequestHeaders & CreateConversationRequestQuery & CreateConversationRequestParams;
|
|
19119
19206
|
interface CreateConversationResponse {
|
|
@@ -19160,6 +19247,12 @@ interface CreateConversationResponse {
|
|
|
19160
19247
|
* Number of messages in the conversation
|
|
19161
19248
|
*/
|
|
19162
19249
|
messageCount: number;
|
|
19250
|
+
/**
|
|
19251
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19252
|
+
*/
|
|
19253
|
+
properties?: {
|
|
19254
|
+
[k: string]: string;
|
|
19255
|
+
};
|
|
19163
19256
|
};
|
|
19164
19257
|
}
|
|
19165
19258
|
|
|
@@ -19217,6 +19310,12 @@ interface GetConversationResponse {
|
|
|
19217
19310
|
* Number of messages in the conversation
|
|
19218
19311
|
*/
|
|
19219
19312
|
messageCount: number;
|
|
19313
|
+
/**
|
|
19314
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19315
|
+
*/
|
|
19316
|
+
properties?: {
|
|
19317
|
+
[k: string]: string;
|
|
19318
|
+
};
|
|
19220
19319
|
};
|
|
19221
19320
|
}
|
|
19222
19321
|
|
|
@@ -19234,6 +19333,8 @@ interface ListConversationsRequestQuery {
|
|
|
19234
19333
|
channel?: string;
|
|
19235
19334
|
afterDate?: string;
|
|
19236
19335
|
beforeDate?: string;
|
|
19336
|
+
minMessageCount?: number;
|
|
19337
|
+
maxMessageCount?: number;
|
|
19237
19338
|
}
|
|
19238
19339
|
interface ListConversationsRequestParams {
|
|
19239
19340
|
}
|
|
@@ -19281,6 +19382,12 @@ interface ListConversationsResponse {
|
|
|
19281
19382
|
* Number of messages in the conversation
|
|
19282
19383
|
*/
|
|
19283
19384
|
messageCount: number;
|
|
19385
|
+
/**
|
|
19386
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19387
|
+
*/
|
|
19388
|
+
properties?: {
|
|
19389
|
+
[k: string]: string;
|
|
19390
|
+
};
|
|
19284
19391
|
}[];
|
|
19285
19392
|
meta: {
|
|
19286
19393
|
/**
|
|
@@ -19312,6 +19419,12 @@ interface GetOrCreateConversationRequestBody {
|
|
|
19312
19419
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
19313
19420
|
*/
|
|
19314
19421
|
integrationName?: string;
|
|
19422
|
+
/**
|
|
19423
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19424
|
+
*/
|
|
19425
|
+
properties?: {
|
|
19426
|
+
[k: string]: string;
|
|
19427
|
+
};
|
|
19315
19428
|
/**
|
|
19316
19429
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation 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.
|
|
19317
19430
|
*/
|
|
@@ -19362,6 +19475,12 @@ interface GetOrCreateConversationResponse {
|
|
|
19362
19475
|
* Number of messages in the conversation
|
|
19363
19476
|
*/
|
|
19364
19477
|
messageCount: number;
|
|
19478
|
+
/**
|
|
19479
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19480
|
+
*/
|
|
19481
|
+
properties?: {
|
|
19482
|
+
[k: string]: string;
|
|
19483
|
+
};
|
|
19365
19484
|
};
|
|
19366
19485
|
meta: {
|
|
19367
19486
|
created: boolean;
|
|
@@ -19387,6 +19506,12 @@ interface UpdateConversationRequestBody {
|
|
|
19387
19506
|
tags?: {
|
|
19388
19507
|
[k: string]: string;
|
|
19389
19508
|
};
|
|
19509
|
+
/**
|
|
19510
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
19511
|
+
*/
|
|
19512
|
+
properties?: {
|
|
19513
|
+
[k: string]: string | null;
|
|
19514
|
+
};
|
|
19390
19515
|
}
|
|
19391
19516
|
type UpdateConversationInput = UpdateConversationRequestBody & UpdateConversationRequestHeaders & UpdateConversationRequestQuery & UpdateConversationRequestParams;
|
|
19392
19517
|
interface UpdateConversationResponse {
|
|
@@ -19433,6 +19558,12 @@ interface UpdateConversationResponse {
|
|
|
19433
19558
|
* Number of messages in the conversation
|
|
19434
19559
|
*/
|
|
19435
19560
|
messageCount: number;
|
|
19561
|
+
/**
|
|
19562
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19563
|
+
*/
|
|
19564
|
+
properties?: {
|
|
19565
|
+
[k: string]: string;
|
|
19566
|
+
};
|
|
19436
19567
|
};
|
|
19437
19568
|
}
|
|
19438
19569
|
|
|
@@ -20313,7 +20444,7 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
20313
20444
|
*/
|
|
20314
20445
|
pictureUrl?: string;
|
|
20315
20446
|
/**
|
|
20316
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20447
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20317
20448
|
*/
|
|
20318
20449
|
properties?: {
|
|
20319
20450
|
[k: string]: string;
|
|
@@ -20347,6 +20478,12 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
20347
20478
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
20348
20479
|
*/
|
|
20349
20480
|
integrationName?: string;
|
|
20481
|
+
/**
|
|
20482
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20483
|
+
*/
|
|
20484
|
+
properties?: {
|
|
20485
|
+
[k: string]: string;
|
|
20486
|
+
};
|
|
20350
20487
|
/**
|
|
20351
20488
|
* 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.
|
|
20352
20489
|
*/
|
|
@@ -20464,6 +20601,12 @@ interface InitializeIncomingMessageResponse {
|
|
|
20464
20601
|
* Number of messages in the conversation
|
|
20465
20602
|
*/
|
|
20466
20603
|
messageCount: number;
|
|
20604
|
+
/**
|
|
20605
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20606
|
+
*/
|
|
20607
|
+
properties?: {
|
|
20608
|
+
[k: string]: string;
|
|
20609
|
+
};
|
|
20467
20610
|
};
|
|
20468
20611
|
/**
|
|
20469
20612
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -20638,7 +20781,7 @@ interface CreateUserRequestBody {
|
|
|
20638
20781
|
*/
|
|
20639
20782
|
pictureUrl?: string;
|
|
20640
20783
|
/**
|
|
20641
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20784
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20642
20785
|
*/
|
|
20643
20786
|
properties?: {
|
|
20644
20787
|
[k: string]: string;
|
|
@@ -20849,7 +20992,7 @@ interface GetOrCreateUserRequestBody {
|
|
|
20849
20992
|
*/
|
|
20850
20993
|
pictureUrl?: string;
|
|
20851
20994
|
/**
|
|
20852
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20995
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20853
20996
|
*/
|
|
20854
20997
|
properties?: {
|
|
20855
20998
|
[k: string]: string;
|
|
@@ -20946,7 +21089,7 @@ interface UpdateUserRequestBody {
|
|
|
20946
21089
|
[k: string]: string | null;
|
|
20947
21090
|
};
|
|
20948
21091
|
/**
|
|
20949
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
21092
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
20950
21093
|
*/
|
|
20951
21094
|
properties?: {
|
|
20952
21095
|
[k: string]: string | null;
|
|
@@ -24616,6 +24759,10 @@ interface CreateBotRequestBody {
|
|
|
24616
24759
|
* Type of the [Bot](#schema_bot)
|
|
24617
24760
|
*/
|
|
24618
24761
|
type?: "studio" | "adk" | "desk";
|
|
24762
|
+
/**
|
|
24763
|
+
* Maximum execution time (in seconds).
|
|
24764
|
+
*/
|
|
24765
|
+
maxExecutionTime?: number;
|
|
24619
24766
|
}
|
|
24620
24767
|
type CreateBotInput = CreateBotRequestBody & CreateBotRequestHeaders & CreateBotRequestQuery & CreateBotRequestParams;
|
|
24621
24768
|
interface CreateBotResponse {
|
|
@@ -25781,6 +25928,8 @@ interface ListBotsRequestQuery {
|
|
|
25781
25928
|
tags?: {
|
|
25782
25929
|
[k: string]: string;
|
|
25783
25930
|
};
|
|
25931
|
+
integrationNames?: string[];
|
|
25932
|
+
pluginNames?: string[];
|
|
25784
25933
|
nextToken?: string;
|
|
25785
25934
|
sortField?: "createdAt" | "updatedAt";
|
|
25786
25935
|
sortDirection?: "asc" | "desc";
|
|
@@ -26977,7 +27126,7 @@ interface CreateWorkspaceResponse {
|
|
|
26977
27126
|
updatedAt: string;
|
|
26978
27127
|
botCount: number;
|
|
26979
27128
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
26980
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27129
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
26981
27130
|
blocked: boolean;
|
|
26982
27131
|
spendingLimit: number;
|
|
26983
27132
|
about?: string;
|
|
@@ -27031,7 +27180,7 @@ interface GetWorkspaceResponse {
|
|
|
27031
27180
|
updatedAt: string;
|
|
27032
27181
|
botCount: number;
|
|
27033
27182
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27034
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27183
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27035
27184
|
blocked: boolean;
|
|
27036
27185
|
spendingLimit: number;
|
|
27037
27186
|
about?: string;
|
|
@@ -27203,7 +27352,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
27203
27352
|
updatedAt: string;
|
|
27204
27353
|
botCount: number;
|
|
27205
27354
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27206
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27355
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27207
27356
|
blocked: boolean;
|
|
27208
27357
|
spendingLimit: number;
|
|
27209
27358
|
about?: string;
|
|
@@ -27260,7 +27409,7 @@ interface UpdateWorkspaceResponse {
|
|
|
27260
27409
|
updatedAt: string;
|
|
27261
27410
|
botCount: number;
|
|
27262
27411
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27263
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27412
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27264
27413
|
blocked: boolean;
|
|
27265
27414
|
spendingLimit: number;
|
|
27266
27415
|
about?: string;
|
|
@@ -37692,7 +37841,7 @@ interface Workspace {
|
|
|
37692
37841
|
updatedAt: string;
|
|
37693
37842
|
botCount: number;
|
|
37694
37843
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
37695
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
37844
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
37696
37845
|
blocked: boolean;
|
|
37697
37846
|
spendingLimit: number;
|
|
37698
37847
|
about?: string;
|
|
@@ -37877,6 +38026,12 @@ interface Conversation {
|
|
|
37877
38026
|
* Number of messages in the conversation
|
|
37878
38027
|
*/
|
|
37879
38028
|
messageCount: number;
|
|
38029
|
+
/**
|
|
38030
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
38031
|
+
*/
|
|
38032
|
+
properties?: {
|
|
38033
|
+
[k: string]: string;
|
|
38034
|
+
};
|
|
37880
38035
|
}
|
|
37881
38036
|
/**
|
|
37882
38037
|
* The event object represents an action or an occurrence.
|
|
@@ -38622,6 +38777,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38622
38777
|
participantIds?: string[] | undefined;
|
|
38623
38778
|
afterDate?: string | undefined;
|
|
38624
38779
|
beforeDate?: string | undefined;
|
|
38780
|
+
minMessageCount?: number | undefined;
|
|
38781
|
+
maxMessageCount?: number | undefined;
|
|
38625
38782
|
}) => AsyncCollection<{
|
|
38626
38783
|
id: string;
|
|
38627
38784
|
currentTaskId?: string;
|
|
@@ -38634,6 +38791,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38634
38791
|
[k: string]: string;
|
|
38635
38792
|
};
|
|
38636
38793
|
messageCount: number;
|
|
38794
|
+
properties?: {
|
|
38795
|
+
[k: string]: string;
|
|
38796
|
+
};
|
|
38637
38797
|
}>;
|
|
38638
38798
|
participants: (props: {
|
|
38639
38799
|
id: string;
|
|
@@ -38773,6 +38933,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38773
38933
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
38774
38934
|
sortDirection?: "asc" | "desc" | undefined;
|
|
38775
38935
|
dev?: boolean | undefined;
|
|
38936
|
+
integrationNames?: string[] | undefined;
|
|
38937
|
+
pluginNames?: string[] | undefined;
|
|
38776
38938
|
}) => AsyncCollection<{
|
|
38777
38939
|
id: string;
|
|
38778
38940
|
createdAt: string;
|