@botpress/client 1.36.0 → 1.38.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 +793 -28
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,10 @@ interface CreateConversationResponse$1 {
|
|
|
138
138
|
tags: {
|
|
139
139
|
[k: string]: string;
|
|
140
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* Number of messages in the conversation
|
|
143
|
+
*/
|
|
144
|
+
messageCount: number;
|
|
141
145
|
};
|
|
142
146
|
}
|
|
143
147
|
|
|
@@ -191,6 +195,10 @@ interface GetConversationResponse$1 {
|
|
|
191
195
|
tags: {
|
|
192
196
|
[k: string]: string;
|
|
193
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Number of messages in the conversation
|
|
200
|
+
*/
|
|
201
|
+
messageCount: number;
|
|
194
202
|
};
|
|
195
203
|
}
|
|
196
204
|
|
|
@@ -251,6 +259,10 @@ interface ListConversationsResponse$1 {
|
|
|
251
259
|
tags: {
|
|
252
260
|
[k: string]: string;
|
|
253
261
|
};
|
|
262
|
+
/**
|
|
263
|
+
* Number of messages in the conversation
|
|
264
|
+
*/
|
|
265
|
+
messageCount: number;
|
|
254
266
|
}[];
|
|
255
267
|
meta: {
|
|
256
268
|
/**
|
|
@@ -328,6 +340,13 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
328
340
|
tags: {
|
|
329
341
|
[k: string]: string;
|
|
330
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* Number of messages in the conversation
|
|
345
|
+
*/
|
|
346
|
+
messageCount: number;
|
|
347
|
+
};
|
|
348
|
+
meta: {
|
|
349
|
+
created: boolean;
|
|
331
350
|
};
|
|
332
351
|
}
|
|
333
352
|
|
|
@@ -392,6 +411,10 @@ interface UpdateConversationResponse$1 {
|
|
|
392
411
|
tags: {
|
|
393
412
|
[k: string]: string;
|
|
394
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Number of messages in the conversation
|
|
416
|
+
*/
|
|
417
|
+
messageCount: number;
|
|
395
418
|
};
|
|
396
419
|
}
|
|
397
420
|
|
|
@@ -447,6 +470,12 @@ interface ListParticipantsResponse$1 {
|
|
|
447
470
|
* Picture URL of the [User](#schema_user)
|
|
448
471
|
*/
|
|
449
472
|
pictureUrl?: string;
|
|
473
|
+
/**
|
|
474
|
+
* Optional properties
|
|
475
|
+
*/
|
|
476
|
+
properties?: {
|
|
477
|
+
[k: string]: string;
|
|
478
|
+
};
|
|
450
479
|
/**
|
|
451
480
|
* Optional attributes
|
|
452
481
|
*/
|
|
@@ -507,6 +536,12 @@ interface AddParticipantResponse$1 {
|
|
|
507
536
|
* Picture URL of the [User](#schema_user)
|
|
508
537
|
*/
|
|
509
538
|
pictureUrl?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Optional properties
|
|
541
|
+
*/
|
|
542
|
+
properties?: {
|
|
543
|
+
[k: string]: string;
|
|
544
|
+
};
|
|
510
545
|
/**
|
|
511
546
|
* Optional attributes
|
|
512
547
|
*/
|
|
@@ -558,6 +593,12 @@ interface GetParticipantResponse$1 {
|
|
|
558
593
|
* Picture URL of the [User](#schema_user)
|
|
559
594
|
*/
|
|
560
595
|
pictureUrl?: string;
|
|
596
|
+
/**
|
|
597
|
+
* Optional properties
|
|
598
|
+
*/
|
|
599
|
+
properties?: {
|
|
600
|
+
[k: string]: string;
|
|
601
|
+
};
|
|
561
602
|
/**
|
|
562
603
|
* Optional attributes
|
|
563
604
|
*/
|
|
@@ -909,7 +950,7 @@ interface GetOrCreateMessageRequestBody$1 {
|
|
|
909
950
|
/**
|
|
910
951
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
911
952
|
*/
|
|
912
|
-
payload
|
|
953
|
+
payload?: {
|
|
913
954
|
[k: string]: any;
|
|
914
955
|
};
|
|
915
956
|
/**
|
|
@@ -1000,6 +1041,9 @@ interface GetOrCreateMessageResponse$1 {
|
|
|
1000
1041
|
*/
|
|
1001
1042
|
origin?: "synthetic";
|
|
1002
1043
|
};
|
|
1044
|
+
meta: {
|
|
1045
|
+
created: boolean;
|
|
1046
|
+
};
|
|
1003
1047
|
}
|
|
1004
1048
|
|
|
1005
1049
|
interface GetMessageRequestHeaders$1 {
|
|
@@ -1251,7 +1295,14 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1251
1295
|
*/
|
|
1252
1296
|
pictureUrl?: string;
|
|
1253
1297
|
/**
|
|
1254
|
-
* EXPERIMENTAL - Optional shared
|
|
1298
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1299
|
+
*/
|
|
1300
|
+
properties?: {
|
|
1301
|
+
[k: string]: string;
|
|
1302
|
+
};
|
|
1303
|
+
/**
|
|
1304
|
+
* @deprecated
|
|
1305
|
+
* DEPRECATED - Use properties instead.
|
|
1255
1306
|
*/
|
|
1256
1307
|
attributes?: {
|
|
1257
1308
|
[k: string]: string;
|
|
@@ -1339,6 +1390,12 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1339
1390
|
* Picture URL of the [User](#schema_user)
|
|
1340
1391
|
*/
|
|
1341
1392
|
pictureUrl?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* Optional properties
|
|
1395
|
+
*/
|
|
1396
|
+
properties?: {
|
|
1397
|
+
[k: string]: string;
|
|
1398
|
+
};
|
|
1342
1399
|
/**
|
|
1343
1400
|
* Optional attributes
|
|
1344
1401
|
*/
|
|
@@ -1385,6 +1442,10 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1385
1442
|
tags: {
|
|
1386
1443
|
[k: string]: string;
|
|
1387
1444
|
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Number of messages in the conversation
|
|
1447
|
+
*/
|
|
1448
|
+
messageCount: number;
|
|
1388
1449
|
};
|
|
1389
1450
|
/**
|
|
1390
1451
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -1559,7 +1620,14 @@ interface CreateUserRequestBody$1 {
|
|
|
1559
1620
|
*/
|
|
1560
1621
|
pictureUrl?: string;
|
|
1561
1622
|
/**
|
|
1562
|
-
* EXPERIMENTAL - Optional shared
|
|
1623
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1624
|
+
*/
|
|
1625
|
+
properties?: {
|
|
1626
|
+
[k: string]: string;
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* @deprecated
|
|
1630
|
+
* DEPRECATED - Use properties instead.
|
|
1563
1631
|
*/
|
|
1564
1632
|
attributes?: {
|
|
1565
1633
|
[k: string]: string;
|
|
@@ -1597,6 +1665,12 @@ interface CreateUserResponse$1 {
|
|
|
1597
1665
|
* Picture URL of the [User](#schema_user)
|
|
1598
1666
|
*/
|
|
1599
1667
|
pictureUrl?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Optional properties
|
|
1670
|
+
*/
|
|
1671
|
+
properties?: {
|
|
1672
|
+
[k: string]: string;
|
|
1673
|
+
};
|
|
1600
1674
|
/**
|
|
1601
1675
|
* Optional attributes
|
|
1602
1676
|
*/
|
|
@@ -1647,6 +1721,12 @@ interface GetUserResponse$1 {
|
|
|
1647
1721
|
* Picture URL of the [User](#schema_user)
|
|
1648
1722
|
*/
|
|
1649
1723
|
pictureUrl?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* Optional properties
|
|
1726
|
+
*/
|
|
1727
|
+
properties?: {
|
|
1728
|
+
[k: string]: string;
|
|
1729
|
+
};
|
|
1650
1730
|
/**
|
|
1651
1731
|
* Optional attributes
|
|
1652
1732
|
*/
|
|
@@ -1703,6 +1783,12 @@ interface ListUsersResponse$1 {
|
|
|
1703
1783
|
* Picture URL of the [User](#schema_user)
|
|
1704
1784
|
*/
|
|
1705
1785
|
pictureUrl?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Optional properties
|
|
1788
|
+
*/
|
|
1789
|
+
properties?: {
|
|
1790
|
+
[k: string]: string;
|
|
1791
|
+
};
|
|
1706
1792
|
/**
|
|
1707
1793
|
* Optional attributes
|
|
1708
1794
|
*/
|
|
@@ -1745,7 +1831,14 @@ interface GetOrCreateUserRequestBody$1 {
|
|
|
1745
1831
|
*/
|
|
1746
1832
|
pictureUrl?: string;
|
|
1747
1833
|
/**
|
|
1748
|
-
* EXPERIMENTAL - Optional shared
|
|
1834
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1835
|
+
*/
|
|
1836
|
+
properties?: {
|
|
1837
|
+
[k: string]: string;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* @deprecated
|
|
1841
|
+
* DEPRECATED - Use properties instead.
|
|
1749
1842
|
*/
|
|
1750
1843
|
attributes?: {
|
|
1751
1844
|
[k: string]: string;
|
|
@@ -1787,6 +1880,12 @@ interface GetOrCreateUserResponse$1 {
|
|
|
1787
1880
|
* Picture URL of the [User](#schema_user)
|
|
1788
1881
|
*/
|
|
1789
1882
|
pictureUrl?: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Optional properties
|
|
1885
|
+
*/
|
|
1886
|
+
properties?: {
|
|
1887
|
+
[k: string]: string;
|
|
1888
|
+
};
|
|
1790
1889
|
/**
|
|
1791
1890
|
* Optional attributes
|
|
1792
1891
|
*/
|
|
@@ -1794,6 +1893,9 @@ interface GetOrCreateUserResponse$1 {
|
|
|
1794
1893
|
[k: string]: string;
|
|
1795
1894
|
};
|
|
1796
1895
|
};
|
|
1896
|
+
meta: {
|
|
1897
|
+
created: boolean;
|
|
1898
|
+
};
|
|
1797
1899
|
}
|
|
1798
1900
|
|
|
1799
1901
|
interface UpdateUserRequestHeaders$1 {
|
|
@@ -1819,11 +1921,18 @@ interface UpdateUserRequestBody$1 {
|
|
|
1819
1921
|
*/
|
|
1820
1922
|
pictureUrl?: string | null;
|
|
1821
1923
|
/**
|
|
1822
|
-
*
|
|
1924
|
+
* @deprecated
|
|
1925
|
+
* DEPRECATED - Use properties instead.
|
|
1823
1926
|
*/
|
|
1824
1927
|
attributes?: {
|
|
1825
1928
|
[k: string]: string | null;
|
|
1826
1929
|
};
|
|
1930
|
+
/**
|
|
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.
|
|
1932
|
+
*/
|
|
1933
|
+
properties?: {
|
|
1934
|
+
[k: string]: string | null;
|
|
1935
|
+
};
|
|
1827
1936
|
}
|
|
1828
1937
|
type UpdateUserInput$1 = UpdateUserRequestBody$1 & UpdateUserRequestHeaders$1 & UpdateUserRequestQuery$1 & UpdateUserRequestParams$1;
|
|
1829
1938
|
interface UpdateUserResponse$1 {
|
|
@@ -1857,6 +1966,12 @@ interface UpdateUserResponse$1 {
|
|
|
1857
1966
|
* Picture URL of the [User](#schema_user)
|
|
1858
1967
|
*/
|
|
1859
1968
|
pictureUrl?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* Optional properties
|
|
1971
|
+
*/
|
|
1972
|
+
properties?: {
|
|
1973
|
+
[k: string]: string;
|
|
1974
|
+
};
|
|
1860
1975
|
/**
|
|
1861
1976
|
* Optional attributes
|
|
1862
1977
|
*/
|
|
@@ -2975,6 +3090,7 @@ declare class Client$a extends Client$b {
|
|
|
2975
3090
|
tags: {
|
|
2976
3091
|
[k: string]: string;
|
|
2977
3092
|
};
|
|
3093
|
+
messageCount: number;
|
|
2978
3094
|
}>;
|
|
2979
3095
|
participants: (props: {
|
|
2980
3096
|
id: string;
|
|
@@ -2987,6 +3103,9 @@ declare class Client$a extends Client$b {
|
|
|
2987
3103
|
};
|
|
2988
3104
|
name?: string;
|
|
2989
3105
|
pictureUrl?: string;
|
|
3106
|
+
properties?: {
|
|
3107
|
+
[k: string]: string;
|
|
3108
|
+
};
|
|
2990
3109
|
attributes?: {
|
|
2991
3110
|
[k: string]: string;
|
|
2992
3111
|
};
|
|
@@ -3053,6 +3172,9 @@ declare class Client$a extends Client$b {
|
|
|
3053
3172
|
};
|
|
3054
3173
|
name?: string;
|
|
3055
3174
|
pictureUrl?: string;
|
|
3175
|
+
properties?: {
|
|
3176
|
+
[k: string]: string;
|
|
3177
|
+
};
|
|
3056
3178
|
attributes?: {
|
|
3057
3179
|
[k: string]: string;
|
|
3058
3180
|
};
|
|
@@ -4457,6 +4579,26 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4457
4579
|
};
|
|
4458
4580
|
};
|
|
4459
4581
|
};
|
|
4582
|
+
/**
|
|
4583
|
+
* Message object configuration
|
|
4584
|
+
*/
|
|
4585
|
+
message: {
|
|
4586
|
+
tags: {
|
|
4587
|
+
/**
|
|
4588
|
+
* Definition of a tag that can be provided on the object
|
|
4589
|
+
*/
|
|
4590
|
+
[k: string]: {
|
|
4591
|
+
/**
|
|
4592
|
+
* Title of the tag
|
|
4593
|
+
*/
|
|
4594
|
+
title?: string;
|
|
4595
|
+
/**
|
|
4596
|
+
* Description of the tag
|
|
4597
|
+
*/
|
|
4598
|
+
description?: string;
|
|
4599
|
+
};
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4460
4602
|
/**
|
|
4461
4603
|
* Optional attributes
|
|
4462
4604
|
*/
|
|
@@ -4686,6 +4828,26 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
|
|
|
4686
4828
|
};
|
|
4687
4829
|
};
|
|
4688
4830
|
};
|
|
4831
|
+
/**
|
|
4832
|
+
* Message object configuration
|
|
4833
|
+
*/
|
|
4834
|
+
message: {
|
|
4835
|
+
tags: {
|
|
4836
|
+
/**
|
|
4837
|
+
* Definition of a tag that can be provided on the object
|
|
4838
|
+
*/
|
|
4839
|
+
[k: string]: {
|
|
4840
|
+
/**
|
|
4841
|
+
* Title of the tag
|
|
4842
|
+
*/
|
|
4843
|
+
title?: string;
|
|
4844
|
+
/**
|
|
4845
|
+
* Description of the tag
|
|
4846
|
+
*/
|
|
4847
|
+
description?: string;
|
|
4848
|
+
};
|
|
4849
|
+
};
|
|
4850
|
+
};
|
|
4689
4851
|
/**
|
|
4690
4852
|
* Optional attributes
|
|
4691
4853
|
*/
|
|
@@ -4907,6 +5069,26 @@ interface GetPublicPluginResponse$1 {
|
|
|
4907
5069
|
};
|
|
4908
5070
|
};
|
|
4909
5071
|
};
|
|
5072
|
+
/**
|
|
5073
|
+
* Message object configuration
|
|
5074
|
+
*/
|
|
5075
|
+
message: {
|
|
5076
|
+
tags: {
|
|
5077
|
+
/**
|
|
5078
|
+
* Definition of a tag that can be provided on the object
|
|
5079
|
+
*/
|
|
5080
|
+
[k: string]: {
|
|
5081
|
+
/**
|
|
5082
|
+
* Title of the tag
|
|
5083
|
+
*/
|
|
5084
|
+
title?: string;
|
|
5085
|
+
/**
|
|
5086
|
+
* Description of the tag
|
|
5087
|
+
*/
|
|
5088
|
+
description?: string;
|
|
5089
|
+
};
|
|
5090
|
+
};
|
|
5091
|
+
};
|
|
4910
5092
|
/**
|
|
4911
5093
|
* Optional attributes
|
|
4912
5094
|
*/
|
|
@@ -5561,6 +5743,12 @@ interface CreateBotRequestBody$1 {
|
|
|
5561
5743
|
* URL of the [Bot](#schema_bot)
|
|
5562
5744
|
*/
|
|
5563
5745
|
url?: string;
|
|
5746
|
+
/**
|
|
5747
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
5748
|
+
*/
|
|
5749
|
+
secrets?: {
|
|
5750
|
+
[k: string]: string;
|
|
5751
|
+
};
|
|
5564
5752
|
/**
|
|
5565
5753
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
5566
5754
|
*/
|
|
@@ -5955,6 +6143,10 @@ interface CreateBotResponse$1 {
|
|
|
5955
6143
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
5956
6144
|
*/
|
|
5957
6145
|
dev: boolean;
|
|
6146
|
+
/**
|
|
6147
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
6148
|
+
*/
|
|
6149
|
+
secrets: string[];
|
|
5958
6150
|
/**
|
|
5959
6151
|
* Id of the user that created the bot
|
|
5960
6152
|
*/
|
|
@@ -6240,6 +6432,12 @@ interface UpdateBotRequestBody$1 {
|
|
|
6240
6432
|
url: string;
|
|
6241
6433
|
name: string;
|
|
6242
6434
|
}[];
|
|
6435
|
+
/**
|
|
6436
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
6437
|
+
*/
|
|
6438
|
+
secrets?: {
|
|
6439
|
+
[k: string]: string | null;
|
|
6440
|
+
};
|
|
6243
6441
|
layers?: string[];
|
|
6244
6442
|
/**
|
|
6245
6443
|
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
@@ -6635,6 +6833,10 @@ interface UpdateBotResponse$1 {
|
|
|
6635
6833
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
6636
6834
|
*/
|
|
6637
6835
|
dev: boolean;
|
|
6836
|
+
/**
|
|
6837
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
6838
|
+
*/
|
|
6839
|
+
secrets: string[];
|
|
6638
6840
|
/**
|
|
6639
6841
|
* Id of the user that created the bot
|
|
6640
6842
|
*/
|
|
@@ -7143,6 +7345,10 @@ interface GetBotResponse$1 {
|
|
|
7143
7345
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
7144
7346
|
*/
|
|
7145
7347
|
dev: boolean;
|
|
7348
|
+
/**
|
|
7349
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
7350
|
+
*/
|
|
7351
|
+
secrets: string[];
|
|
7146
7352
|
/**
|
|
7147
7353
|
* Id of the user that created the bot
|
|
7148
7354
|
*/
|
|
@@ -7721,6 +7927,19 @@ type UpdateBotAllowlistInput$1 = UpdateBotAllowlistRequestBody$1 & UpdateBotAllo
|
|
|
7721
7927
|
interface UpdateBotAllowlistResponse$1 {
|
|
7722
7928
|
}
|
|
7723
7929
|
|
|
7930
|
+
interface MigrateWorkspaceToV4RequestHeaders$1 {
|
|
7931
|
+
}
|
|
7932
|
+
interface MigrateWorkspaceToV4RequestQuery$1 {
|
|
7933
|
+
}
|
|
7934
|
+
interface MigrateWorkspaceToV4RequestParams$1 {
|
|
7935
|
+
id: string;
|
|
7936
|
+
}
|
|
7937
|
+
interface MigrateWorkspaceToV4RequestBody$1 {
|
|
7938
|
+
}
|
|
7939
|
+
type MigrateWorkspaceToV4Input$1 = MigrateWorkspaceToV4RequestBody$1 & MigrateWorkspaceToV4RequestHeaders$1 & MigrateWorkspaceToV4RequestQuery$1 & MigrateWorkspaceToV4RequestParams$1;
|
|
7940
|
+
interface MigrateWorkspaceToV4Response$1 {
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7724
7943
|
interface ListWorkspaceInvoicesRequestHeaders$1 {
|
|
7725
7944
|
}
|
|
7726
7945
|
interface ListWorkspaceInvoicesRequestQuery$1 {
|
|
@@ -12758,6 +12977,26 @@ interface CreatePluginRequestBody$1 {
|
|
|
12758
12977
|
};
|
|
12759
12978
|
};
|
|
12760
12979
|
};
|
|
12980
|
+
/**
|
|
12981
|
+
* Message object configuration
|
|
12982
|
+
*/
|
|
12983
|
+
message?: {
|
|
12984
|
+
tags: {
|
|
12985
|
+
/**
|
|
12986
|
+
* Definition of a tag that can be provided on the object
|
|
12987
|
+
*/
|
|
12988
|
+
[k: string]: {
|
|
12989
|
+
/**
|
|
12990
|
+
* Title of the tag
|
|
12991
|
+
*/
|
|
12992
|
+
title?: string;
|
|
12993
|
+
/**
|
|
12994
|
+
* Description of the tag
|
|
12995
|
+
*/
|
|
12996
|
+
description?: string;
|
|
12997
|
+
};
|
|
12998
|
+
};
|
|
12999
|
+
};
|
|
12761
13000
|
/**
|
|
12762
13001
|
* Optional attributes
|
|
12763
13002
|
*/
|
|
@@ -13014,6 +13253,26 @@ interface CreatePluginResponse$1 {
|
|
|
13014
13253
|
};
|
|
13015
13254
|
};
|
|
13016
13255
|
};
|
|
13256
|
+
/**
|
|
13257
|
+
* Message object configuration
|
|
13258
|
+
*/
|
|
13259
|
+
message: {
|
|
13260
|
+
tags: {
|
|
13261
|
+
/**
|
|
13262
|
+
* Definition of a tag that can be provided on the object
|
|
13263
|
+
*/
|
|
13264
|
+
[k: string]: {
|
|
13265
|
+
/**
|
|
13266
|
+
* Title of the tag
|
|
13267
|
+
*/
|
|
13268
|
+
title?: string;
|
|
13269
|
+
/**
|
|
13270
|
+
* Description of the tag
|
|
13271
|
+
*/
|
|
13272
|
+
description?: string;
|
|
13273
|
+
};
|
|
13274
|
+
};
|
|
13275
|
+
};
|
|
13017
13276
|
/**
|
|
13018
13277
|
* Optional attributes
|
|
13019
13278
|
*/
|
|
@@ -13234,6 +13493,26 @@ interface GetPluginResponse$1 {
|
|
|
13234
13493
|
};
|
|
13235
13494
|
};
|
|
13236
13495
|
};
|
|
13496
|
+
/**
|
|
13497
|
+
* Message object configuration
|
|
13498
|
+
*/
|
|
13499
|
+
message: {
|
|
13500
|
+
tags: {
|
|
13501
|
+
/**
|
|
13502
|
+
* Definition of a tag that can be provided on the object
|
|
13503
|
+
*/
|
|
13504
|
+
[k: string]: {
|
|
13505
|
+
/**
|
|
13506
|
+
* Title of the tag
|
|
13507
|
+
*/
|
|
13508
|
+
title?: string;
|
|
13509
|
+
/**
|
|
13510
|
+
* Description of the tag
|
|
13511
|
+
*/
|
|
13512
|
+
description?: string;
|
|
13513
|
+
};
|
|
13514
|
+
};
|
|
13515
|
+
};
|
|
13237
13516
|
/**
|
|
13238
13517
|
* Optional attributes
|
|
13239
13518
|
*/
|
|
@@ -13463,6 +13742,26 @@ interface GetDereferencedPluginResponse$1 {
|
|
|
13463
13742
|
};
|
|
13464
13743
|
};
|
|
13465
13744
|
};
|
|
13745
|
+
/**
|
|
13746
|
+
* Message object configuration
|
|
13747
|
+
*/
|
|
13748
|
+
message: {
|
|
13749
|
+
tags: {
|
|
13750
|
+
/**
|
|
13751
|
+
* Definition of a tag that can be provided on the object
|
|
13752
|
+
*/
|
|
13753
|
+
[k: string]: {
|
|
13754
|
+
/**
|
|
13755
|
+
* Title of the tag
|
|
13756
|
+
*/
|
|
13757
|
+
title?: string;
|
|
13758
|
+
/**
|
|
13759
|
+
* Description of the tag
|
|
13760
|
+
*/
|
|
13761
|
+
description?: string;
|
|
13762
|
+
};
|
|
13763
|
+
};
|
|
13764
|
+
};
|
|
13466
13765
|
/**
|
|
13467
13766
|
* Optional attributes
|
|
13468
13767
|
*/
|
|
@@ -13684,6 +13983,26 @@ interface GetPluginByNameResponse$1 {
|
|
|
13684
13983
|
};
|
|
13685
13984
|
};
|
|
13686
13985
|
};
|
|
13986
|
+
/**
|
|
13987
|
+
* Message object configuration
|
|
13988
|
+
*/
|
|
13989
|
+
message: {
|
|
13990
|
+
tags: {
|
|
13991
|
+
/**
|
|
13992
|
+
* Definition of a tag that can be provided on the object
|
|
13993
|
+
*/
|
|
13994
|
+
[k: string]: {
|
|
13995
|
+
/**
|
|
13996
|
+
* Title of the tag
|
|
13997
|
+
*/
|
|
13998
|
+
title?: string;
|
|
13999
|
+
/**
|
|
14000
|
+
* Description of the tag
|
|
14001
|
+
*/
|
|
14002
|
+
description?: string;
|
|
14003
|
+
};
|
|
14004
|
+
};
|
|
14005
|
+
};
|
|
13687
14006
|
/**
|
|
13688
14007
|
* Optional attributes
|
|
13689
14008
|
*/
|
|
@@ -13852,6 +14171,23 @@ interface UpdatePluginRequestBody$1 {
|
|
|
13852
14171
|
} | null;
|
|
13853
14172
|
};
|
|
13854
14173
|
};
|
|
14174
|
+
message?: {
|
|
14175
|
+
tags: {
|
|
14176
|
+
/**
|
|
14177
|
+
* Definition of a tag that can be provided on the object
|
|
14178
|
+
*/
|
|
14179
|
+
[k: string]: {
|
|
14180
|
+
/**
|
|
14181
|
+
* Title of the tag
|
|
14182
|
+
*/
|
|
14183
|
+
title?: string;
|
|
14184
|
+
/**
|
|
14185
|
+
* Description of the tag
|
|
14186
|
+
*/
|
|
14187
|
+
description?: string;
|
|
14188
|
+
} | null;
|
|
14189
|
+
};
|
|
14190
|
+
};
|
|
13855
14191
|
/**
|
|
13856
14192
|
* Optional attributes. Set attributes to null to remove them
|
|
13857
14193
|
*/
|
|
@@ -14108,6 +14444,26 @@ interface UpdatePluginResponse$1 {
|
|
|
14108
14444
|
};
|
|
14109
14445
|
};
|
|
14110
14446
|
};
|
|
14447
|
+
/**
|
|
14448
|
+
* Message object configuration
|
|
14449
|
+
*/
|
|
14450
|
+
message: {
|
|
14451
|
+
tags: {
|
|
14452
|
+
/**
|
|
14453
|
+
* Definition of a tag that can be provided on the object
|
|
14454
|
+
*/
|
|
14455
|
+
[k: string]: {
|
|
14456
|
+
/**
|
|
14457
|
+
* Title of the tag
|
|
14458
|
+
*/
|
|
14459
|
+
title?: string;
|
|
14460
|
+
/**
|
|
14461
|
+
* Description of the tag
|
|
14462
|
+
*/
|
|
14463
|
+
description?: string;
|
|
14464
|
+
};
|
|
14465
|
+
};
|
|
14466
|
+
};
|
|
14111
14467
|
/**
|
|
14112
14468
|
* Optional attributes
|
|
14113
14469
|
*/
|
|
@@ -14536,6 +14892,7 @@ declare class Client$9 {
|
|
|
14536
14892
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
|
|
14537
14893
|
readonly getBotAllowlist: (input: GetBotAllowlistInput$1) => Promise<GetBotAllowlistResponse$1>;
|
|
14538
14894
|
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput$1) => Promise<UpdateBotAllowlistResponse$1>;
|
|
14895
|
+
readonly migrateWorkspaceToV4: (input: MigrateWorkspaceToV4Input$1) => Promise<MigrateWorkspaceToV4Response$1>;
|
|
14539
14896
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
|
|
14540
14897
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
|
|
14541
14898
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
|
|
@@ -14854,12 +15211,12 @@ interface GetBillingAddressRequestBody {
|
|
|
14854
15211
|
type GetBillingAddressInput = GetBillingAddressRequestBody & GetBillingAddressRequestHeaders & GetBillingAddressRequestQuery & GetBillingAddressRequestParams;
|
|
14855
15212
|
interface GetBillingAddressResponse {
|
|
14856
15213
|
address: {
|
|
14857
|
-
lineOne
|
|
15214
|
+
lineOne: string;
|
|
14858
15215
|
lineTwo?: string;
|
|
14859
|
-
city
|
|
15216
|
+
city: string;
|
|
14860
15217
|
state?: string;
|
|
14861
|
-
postalCode
|
|
14862
|
-
country
|
|
15218
|
+
postalCode: string;
|
|
15219
|
+
country: string;
|
|
14863
15220
|
} | null;
|
|
14864
15221
|
}
|
|
14865
15222
|
|
|
@@ -14870,12 +15227,12 @@ interface SetBillingAddressRequestQuery {
|
|
|
14870
15227
|
interface SetBillingAddressRequestParams {
|
|
14871
15228
|
}
|
|
14872
15229
|
interface SetBillingAddressRequestBody {
|
|
14873
|
-
lineOne
|
|
15230
|
+
lineOne: string;
|
|
14874
15231
|
lineTwo?: string;
|
|
14875
|
-
city
|
|
15232
|
+
city: string;
|
|
14876
15233
|
state?: string;
|
|
14877
|
-
postalCode
|
|
14878
|
-
country
|
|
15234
|
+
postalCode: string;
|
|
15235
|
+
country: string;
|
|
14879
15236
|
}
|
|
14880
15237
|
type SetBillingAddressInput = SetBillingAddressRequestBody & SetBillingAddressRequestHeaders & SetBillingAddressRequestQuery & SetBillingAddressRequestParams;
|
|
14881
15238
|
interface SetBillingAddressResponse {
|
|
@@ -15071,6 +15428,7 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15071
15428
|
[k: string]: {
|
|
15072
15429
|
quantity: number;
|
|
15073
15430
|
effectiveDate: string;
|
|
15431
|
+
autoAdjusted?: boolean;
|
|
15074
15432
|
};
|
|
15075
15433
|
};
|
|
15076
15434
|
};
|
|
@@ -17692,9 +18050,13 @@ interface DuplicateTableResponse$1 {
|
|
|
17692
18050
|
updatedAt?: string;
|
|
17693
18051
|
};
|
|
17694
18052
|
/**
|
|
17695
|
-
* The total number of rows present in the table.
|
|
18053
|
+
* The total number of rows present in the source table.
|
|
17696
18054
|
*/
|
|
17697
18055
|
rows: number;
|
|
18056
|
+
job?: {
|
|
18057
|
+
id: string;
|
|
18058
|
+
status: string;
|
|
18059
|
+
};
|
|
17698
18060
|
}
|
|
17699
18061
|
|
|
17700
18062
|
interface ExportTableRequestHeaders$1 {
|
|
@@ -17714,7 +18076,7 @@ interface ExportTableResponse$1 {
|
|
|
17714
18076
|
id: string;
|
|
17715
18077
|
botId: string;
|
|
17716
18078
|
tableId: string;
|
|
17717
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18079
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
17718
18080
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
17719
18081
|
progress?: number;
|
|
17720
18082
|
inputFileId: string | null;
|
|
@@ -17739,7 +18101,7 @@ interface GetTableJobsResponse$1 {
|
|
|
17739
18101
|
id: string;
|
|
17740
18102
|
botId: string;
|
|
17741
18103
|
tableId: string;
|
|
17742
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18104
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
17743
18105
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
17744
18106
|
progress?: number;
|
|
17745
18107
|
inputFileId: string | null;
|
|
@@ -17768,7 +18130,7 @@ interface ImportTableResponse$1 {
|
|
|
17768
18130
|
id: string;
|
|
17769
18131
|
botId: string;
|
|
17770
18132
|
tableId: string;
|
|
17771
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18133
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
17772
18134
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
17773
18135
|
progress?: number;
|
|
17774
18136
|
inputFileId: string | null;
|
|
@@ -18344,7 +18706,7 @@ interface DeleteTableRowsRequestBody$1 {
|
|
|
18344
18706
|
*/
|
|
18345
18707
|
ids?: number[];
|
|
18346
18708
|
/**
|
|
18347
|
-
* Filter to apply when deleting rows. Example: \{ "
|
|
18709
|
+
* Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \{ "createdAt": \{ "$lt": "2026-01-01" \} \}
|
|
18348
18710
|
*/
|
|
18349
18711
|
filter?: {
|
|
18350
18712
|
[k: string]: any;
|
|
@@ -18357,6 +18719,10 @@ interface DeleteTableRowsRequestBody$1 {
|
|
|
18357
18719
|
type DeleteTableRowsInput$1 = DeleteTableRowsRequestBody$1 & DeleteTableRowsRequestHeaders$1 & DeleteTableRowsRequestQuery$1 & DeleteTableRowsRequestParams$1;
|
|
18358
18720
|
interface DeleteTableRowsResponse$1 {
|
|
18359
18721
|
deletedRows: number;
|
|
18722
|
+
job?: {
|
|
18723
|
+
id: string;
|
|
18724
|
+
status: string;
|
|
18725
|
+
};
|
|
18360
18726
|
}
|
|
18361
18727
|
|
|
18362
18728
|
interface UpdateTableRowsRequestHeaders$1 {
|
|
@@ -18651,6 +19017,10 @@ interface CreateConversationResponse {
|
|
|
18651
19017
|
tags: {
|
|
18652
19018
|
[k: string]: string;
|
|
18653
19019
|
};
|
|
19020
|
+
/**
|
|
19021
|
+
* Number of messages in the conversation
|
|
19022
|
+
*/
|
|
19023
|
+
messageCount: number;
|
|
18654
19024
|
};
|
|
18655
19025
|
}
|
|
18656
19026
|
|
|
@@ -18704,6 +19074,10 @@ interface GetConversationResponse {
|
|
|
18704
19074
|
tags: {
|
|
18705
19075
|
[k: string]: string;
|
|
18706
19076
|
};
|
|
19077
|
+
/**
|
|
19078
|
+
* Number of messages in the conversation
|
|
19079
|
+
*/
|
|
19080
|
+
messageCount: number;
|
|
18707
19081
|
};
|
|
18708
19082
|
}
|
|
18709
19083
|
|
|
@@ -18764,6 +19138,10 @@ interface ListConversationsResponse {
|
|
|
18764
19138
|
tags: {
|
|
18765
19139
|
[k: string]: string;
|
|
18766
19140
|
};
|
|
19141
|
+
/**
|
|
19142
|
+
* Number of messages in the conversation
|
|
19143
|
+
*/
|
|
19144
|
+
messageCount: number;
|
|
18767
19145
|
}[];
|
|
18768
19146
|
meta: {
|
|
18769
19147
|
/**
|
|
@@ -18841,6 +19219,13 @@ interface GetOrCreateConversationResponse {
|
|
|
18841
19219
|
tags: {
|
|
18842
19220
|
[k: string]: string;
|
|
18843
19221
|
};
|
|
19222
|
+
/**
|
|
19223
|
+
* Number of messages in the conversation
|
|
19224
|
+
*/
|
|
19225
|
+
messageCount: number;
|
|
19226
|
+
};
|
|
19227
|
+
meta: {
|
|
19228
|
+
created: boolean;
|
|
18844
19229
|
};
|
|
18845
19230
|
}
|
|
18846
19231
|
|
|
@@ -18905,6 +19290,10 @@ interface UpdateConversationResponse {
|
|
|
18905
19290
|
tags: {
|
|
18906
19291
|
[k: string]: string;
|
|
18907
19292
|
};
|
|
19293
|
+
/**
|
|
19294
|
+
* Number of messages in the conversation
|
|
19295
|
+
*/
|
|
19296
|
+
messageCount: number;
|
|
18908
19297
|
};
|
|
18909
19298
|
}
|
|
18910
19299
|
|
|
@@ -18960,6 +19349,12 @@ interface ListParticipantsResponse {
|
|
|
18960
19349
|
* Picture URL of the [User](#schema_user)
|
|
18961
19350
|
*/
|
|
18962
19351
|
pictureUrl?: string;
|
|
19352
|
+
/**
|
|
19353
|
+
* Optional properties
|
|
19354
|
+
*/
|
|
19355
|
+
properties?: {
|
|
19356
|
+
[k: string]: string;
|
|
19357
|
+
};
|
|
18963
19358
|
/**
|
|
18964
19359
|
* Optional attributes
|
|
18965
19360
|
*/
|
|
@@ -19020,6 +19415,12 @@ interface AddParticipantResponse {
|
|
|
19020
19415
|
* Picture URL of the [User](#schema_user)
|
|
19021
19416
|
*/
|
|
19022
19417
|
pictureUrl?: string;
|
|
19418
|
+
/**
|
|
19419
|
+
* Optional properties
|
|
19420
|
+
*/
|
|
19421
|
+
properties?: {
|
|
19422
|
+
[k: string]: string;
|
|
19423
|
+
};
|
|
19023
19424
|
/**
|
|
19024
19425
|
* Optional attributes
|
|
19025
19426
|
*/
|
|
@@ -19071,6 +19472,12 @@ interface GetParticipantResponse {
|
|
|
19071
19472
|
* Picture URL of the [User](#schema_user)
|
|
19072
19473
|
*/
|
|
19073
19474
|
pictureUrl?: string;
|
|
19475
|
+
/**
|
|
19476
|
+
* Optional properties
|
|
19477
|
+
*/
|
|
19478
|
+
properties?: {
|
|
19479
|
+
[k: string]: string;
|
|
19480
|
+
};
|
|
19074
19481
|
/**
|
|
19075
19482
|
* Optional attributes
|
|
19076
19483
|
*/
|
|
@@ -19422,7 +19829,7 @@ interface GetOrCreateMessageRequestBody {
|
|
|
19422
19829
|
/**
|
|
19423
19830
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19424
19831
|
*/
|
|
19425
|
-
payload
|
|
19832
|
+
payload?: {
|
|
19426
19833
|
[k: string]: any;
|
|
19427
19834
|
};
|
|
19428
19835
|
/**
|
|
@@ -19513,6 +19920,9 @@ interface GetOrCreateMessageResponse {
|
|
|
19513
19920
|
*/
|
|
19514
19921
|
origin?: "synthetic";
|
|
19515
19922
|
};
|
|
19923
|
+
meta: {
|
|
19924
|
+
created: boolean;
|
|
19925
|
+
};
|
|
19516
19926
|
}
|
|
19517
19927
|
|
|
19518
19928
|
interface GetMessageRequestHeaders {
|
|
@@ -19764,7 +20174,14 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
19764
20174
|
*/
|
|
19765
20175
|
pictureUrl?: string;
|
|
19766
20176
|
/**
|
|
19767
|
-
* EXPERIMENTAL - Optional shared
|
|
20177
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20178
|
+
*/
|
|
20179
|
+
properties?: {
|
|
20180
|
+
[k: string]: string;
|
|
20181
|
+
};
|
|
20182
|
+
/**
|
|
20183
|
+
* @deprecated
|
|
20184
|
+
* DEPRECATED - Use properties instead.
|
|
19768
20185
|
*/
|
|
19769
20186
|
attributes?: {
|
|
19770
20187
|
[k: string]: string;
|
|
@@ -19852,6 +20269,12 @@ interface InitializeIncomingMessageResponse {
|
|
|
19852
20269
|
* Picture URL of the [User](#schema_user)
|
|
19853
20270
|
*/
|
|
19854
20271
|
pictureUrl?: string;
|
|
20272
|
+
/**
|
|
20273
|
+
* Optional properties
|
|
20274
|
+
*/
|
|
20275
|
+
properties?: {
|
|
20276
|
+
[k: string]: string;
|
|
20277
|
+
};
|
|
19855
20278
|
/**
|
|
19856
20279
|
* Optional attributes
|
|
19857
20280
|
*/
|
|
@@ -19898,6 +20321,10 @@ interface InitializeIncomingMessageResponse {
|
|
|
19898
20321
|
tags: {
|
|
19899
20322
|
[k: string]: string;
|
|
19900
20323
|
};
|
|
20324
|
+
/**
|
|
20325
|
+
* Number of messages in the conversation
|
|
20326
|
+
*/
|
|
20327
|
+
messageCount: number;
|
|
19901
20328
|
};
|
|
19902
20329
|
/**
|
|
19903
20330
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -20072,7 +20499,14 @@ interface CreateUserRequestBody {
|
|
|
20072
20499
|
*/
|
|
20073
20500
|
pictureUrl?: string;
|
|
20074
20501
|
/**
|
|
20075
|
-
* EXPERIMENTAL - Optional shared
|
|
20502
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20503
|
+
*/
|
|
20504
|
+
properties?: {
|
|
20505
|
+
[k: string]: string;
|
|
20506
|
+
};
|
|
20507
|
+
/**
|
|
20508
|
+
* @deprecated
|
|
20509
|
+
* DEPRECATED - Use properties instead.
|
|
20076
20510
|
*/
|
|
20077
20511
|
attributes?: {
|
|
20078
20512
|
[k: string]: string;
|
|
@@ -20110,6 +20544,12 @@ interface CreateUserResponse {
|
|
|
20110
20544
|
* Picture URL of the [User](#schema_user)
|
|
20111
20545
|
*/
|
|
20112
20546
|
pictureUrl?: string;
|
|
20547
|
+
/**
|
|
20548
|
+
* Optional properties
|
|
20549
|
+
*/
|
|
20550
|
+
properties?: {
|
|
20551
|
+
[k: string]: string;
|
|
20552
|
+
};
|
|
20113
20553
|
/**
|
|
20114
20554
|
* Optional attributes
|
|
20115
20555
|
*/
|
|
@@ -20160,6 +20600,12 @@ interface GetUserResponse {
|
|
|
20160
20600
|
* Picture URL of the [User](#schema_user)
|
|
20161
20601
|
*/
|
|
20162
20602
|
pictureUrl?: string;
|
|
20603
|
+
/**
|
|
20604
|
+
* Optional properties
|
|
20605
|
+
*/
|
|
20606
|
+
properties?: {
|
|
20607
|
+
[k: string]: string;
|
|
20608
|
+
};
|
|
20163
20609
|
/**
|
|
20164
20610
|
* Optional attributes
|
|
20165
20611
|
*/
|
|
@@ -20216,6 +20662,12 @@ interface ListUsersResponse {
|
|
|
20216
20662
|
* Picture URL of the [User](#schema_user)
|
|
20217
20663
|
*/
|
|
20218
20664
|
pictureUrl?: string;
|
|
20665
|
+
/**
|
|
20666
|
+
* Optional properties
|
|
20667
|
+
*/
|
|
20668
|
+
properties?: {
|
|
20669
|
+
[k: string]: string;
|
|
20670
|
+
};
|
|
20219
20671
|
/**
|
|
20220
20672
|
* Optional attributes
|
|
20221
20673
|
*/
|
|
@@ -20258,7 +20710,14 @@ interface GetOrCreateUserRequestBody {
|
|
|
20258
20710
|
*/
|
|
20259
20711
|
pictureUrl?: string;
|
|
20260
20712
|
/**
|
|
20261
|
-
* EXPERIMENTAL - Optional shared
|
|
20713
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20714
|
+
*/
|
|
20715
|
+
properties?: {
|
|
20716
|
+
[k: string]: string;
|
|
20717
|
+
};
|
|
20718
|
+
/**
|
|
20719
|
+
* @deprecated
|
|
20720
|
+
* DEPRECATED - Use properties instead.
|
|
20262
20721
|
*/
|
|
20263
20722
|
attributes?: {
|
|
20264
20723
|
[k: string]: string;
|
|
@@ -20300,6 +20759,12 @@ interface GetOrCreateUserResponse {
|
|
|
20300
20759
|
* Picture URL of the [User](#schema_user)
|
|
20301
20760
|
*/
|
|
20302
20761
|
pictureUrl?: string;
|
|
20762
|
+
/**
|
|
20763
|
+
* Optional properties
|
|
20764
|
+
*/
|
|
20765
|
+
properties?: {
|
|
20766
|
+
[k: string]: string;
|
|
20767
|
+
};
|
|
20303
20768
|
/**
|
|
20304
20769
|
* Optional attributes
|
|
20305
20770
|
*/
|
|
@@ -20307,6 +20772,9 @@ interface GetOrCreateUserResponse {
|
|
|
20307
20772
|
[k: string]: string;
|
|
20308
20773
|
};
|
|
20309
20774
|
};
|
|
20775
|
+
meta: {
|
|
20776
|
+
created: boolean;
|
|
20777
|
+
};
|
|
20310
20778
|
}
|
|
20311
20779
|
|
|
20312
20780
|
interface UpdateUserRequestHeaders {
|
|
@@ -20332,11 +20800,18 @@ interface UpdateUserRequestBody {
|
|
|
20332
20800
|
*/
|
|
20333
20801
|
pictureUrl?: string | null;
|
|
20334
20802
|
/**
|
|
20335
|
-
*
|
|
20803
|
+
* @deprecated
|
|
20804
|
+
* DEPRECATED - Use properties instead.
|
|
20336
20805
|
*/
|
|
20337
20806
|
attributes?: {
|
|
20338
20807
|
[k: string]: string | null;
|
|
20339
20808
|
};
|
|
20809
|
+
/**
|
|
20810
|
+
* 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.
|
|
20811
|
+
*/
|
|
20812
|
+
properties?: {
|
|
20813
|
+
[k: string]: string | null;
|
|
20814
|
+
};
|
|
20340
20815
|
}
|
|
20341
20816
|
type UpdateUserInput = UpdateUserRequestBody & UpdateUserRequestHeaders & UpdateUserRequestQuery & UpdateUserRequestParams;
|
|
20342
20817
|
interface UpdateUserResponse {
|
|
@@ -20370,6 +20845,12 @@ interface UpdateUserResponse {
|
|
|
20370
20845
|
* Picture URL of the [User](#schema_user)
|
|
20371
20846
|
*/
|
|
20372
20847
|
pictureUrl?: string;
|
|
20848
|
+
/**
|
|
20849
|
+
* Optional properties
|
|
20850
|
+
*/
|
|
20851
|
+
properties?: {
|
|
20852
|
+
[k: string]: string;
|
|
20853
|
+
};
|
|
20373
20854
|
/**
|
|
20374
20855
|
* Optional attributes
|
|
20375
20856
|
*/
|
|
@@ -22774,6 +23255,26 @@ interface GetPublicPluginByIdResponse {
|
|
|
22774
23255
|
};
|
|
22775
23256
|
};
|
|
22776
23257
|
};
|
|
23258
|
+
/**
|
|
23259
|
+
* Message object configuration
|
|
23260
|
+
*/
|
|
23261
|
+
message: {
|
|
23262
|
+
tags: {
|
|
23263
|
+
/**
|
|
23264
|
+
* Definition of a tag that can be provided on the object
|
|
23265
|
+
*/
|
|
23266
|
+
[k: string]: {
|
|
23267
|
+
/**
|
|
23268
|
+
* Title of the tag
|
|
23269
|
+
*/
|
|
23270
|
+
title?: string;
|
|
23271
|
+
/**
|
|
23272
|
+
* Description of the tag
|
|
23273
|
+
*/
|
|
23274
|
+
description?: string;
|
|
23275
|
+
};
|
|
23276
|
+
};
|
|
23277
|
+
};
|
|
22777
23278
|
/**
|
|
22778
23279
|
* Optional attributes
|
|
22779
23280
|
*/
|
|
@@ -23003,6 +23504,26 @@ interface GetDereferencedPublicPluginByIdResponse {
|
|
|
23003
23504
|
};
|
|
23004
23505
|
};
|
|
23005
23506
|
};
|
|
23507
|
+
/**
|
|
23508
|
+
* Message object configuration
|
|
23509
|
+
*/
|
|
23510
|
+
message: {
|
|
23511
|
+
tags: {
|
|
23512
|
+
/**
|
|
23513
|
+
* Definition of a tag that can be provided on the object
|
|
23514
|
+
*/
|
|
23515
|
+
[k: string]: {
|
|
23516
|
+
/**
|
|
23517
|
+
* Title of the tag
|
|
23518
|
+
*/
|
|
23519
|
+
title?: string;
|
|
23520
|
+
/**
|
|
23521
|
+
* Description of the tag
|
|
23522
|
+
*/
|
|
23523
|
+
description?: string;
|
|
23524
|
+
};
|
|
23525
|
+
};
|
|
23526
|
+
};
|
|
23006
23527
|
/**
|
|
23007
23528
|
* Optional attributes
|
|
23008
23529
|
*/
|
|
@@ -23224,6 +23745,26 @@ interface GetPublicPluginResponse {
|
|
|
23224
23745
|
};
|
|
23225
23746
|
};
|
|
23226
23747
|
};
|
|
23748
|
+
/**
|
|
23749
|
+
* Message object configuration
|
|
23750
|
+
*/
|
|
23751
|
+
message: {
|
|
23752
|
+
tags: {
|
|
23753
|
+
/**
|
|
23754
|
+
* Definition of a tag that can be provided on the object
|
|
23755
|
+
*/
|
|
23756
|
+
[k: string]: {
|
|
23757
|
+
/**
|
|
23758
|
+
* Title of the tag
|
|
23759
|
+
*/
|
|
23760
|
+
title?: string;
|
|
23761
|
+
/**
|
|
23762
|
+
* Description of the tag
|
|
23763
|
+
*/
|
|
23764
|
+
description?: string;
|
|
23765
|
+
};
|
|
23766
|
+
};
|
|
23767
|
+
};
|
|
23227
23768
|
/**
|
|
23228
23769
|
* Optional attributes
|
|
23229
23770
|
*/
|
|
@@ -23878,6 +24419,12 @@ interface CreateBotRequestBody {
|
|
|
23878
24419
|
* URL of the [Bot](#schema_bot)
|
|
23879
24420
|
*/
|
|
23880
24421
|
url?: string;
|
|
24422
|
+
/**
|
|
24423
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
24424
|
+
*/
|
|
24425
|
+
secrets?: {
|
|
24426
|
+
[k: string]: string;
|
|
24427
|
+
};
|
|
23881
24428
|
/**
|
|
23882
24429
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
23883
24430
|
*/
|
|
@@ -24272,6 +24819,10 @@ interface CreateBotResponse {
|
|
|
24272
24819
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
24273
24820
|
*/
|
|
24274
24821
|
dev: boolean;
|
|
24822
|
+
/**
|
|
24823
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
24824
|
+
*/
|
|
24825
|
+
secrets: string[];
|
|
24275
24826
|
/**
|
|
24276
24827
|
* Id of the user that created the bot
|
|
24277
24828
|
*/
|
|
@@ -24557,6 +25108,12 @@ interface UpdateBotRequestBody {
|
|
|
24557
25108
|
url: string;
|
|
24558
25109
|
name: string;
|
|
24559
25110
|
}[];
|
|
25111
|
+
/**
|
|
25112
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
25113
|
+
*/
|
|
25114
|
+
secrets?: {
|
|
25115
|
+
[k: string]: string | null;
|
|
25116
|
+
};
|
|
24560
25117
|
layers?: string[];
|
|
24561
25118
|
/**
|
|
24562
25119
|
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
@@ -24952,6 +25509,10 @@ interface UpdateBotResponse {
|
|
|
24952
25509
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
24953
25510
|
*/
|
|
24954
25511
|
dev: boolean;
|
|
25512
|
+
/**
|
|
25513
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
25514
|
+
*/
|
|
25515
|
+
secrets: string[];
|
|
24955
25516
|
/**
|
|
24956
25517
|
* Id of the user that created the bot
|
|
24957
25518
|
*/
|
|
@@ -25460,6 +26021,10 @@ interface GetBotResponse {
|
|
|
25460
26021
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
25461
26022
|
*/
|
|
25462
26023
|
dev: boolean;
|
|
26024
|
+
/**
|
|
26025
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
26026
|
+
*/
|
|
26027
|
+
secrets: string[];
|
|
25463
26028
|
/**
|
|
25464
26029
|
* Id of the user that created the bot
|
|
25465
26030
|
*/
|
|
@@ -26038,6 +26603,19 @@ type UpdateBotAllowlistInput = UpdateBotAllowlistRequestBody & UpdateBotAllowlis
|
|
|
26038
26603
|
interface UpdateBotAllowlistResponse {
|
|
26039
26604
|
}
|
|
26040
26605
|
|
|
26606
|
+
interface MigrateWorkspaceToV4RequestHeaders {
|
|
26607
|
+
}
|
|
26608
|
+
interface MigrateWorkspaceToV4RequestQuery {
|
|
26609
|
+
}
|
|
26610
|
+
interface MigrateWorkspaceToV4RequestParams {
|
|
26611
|
+
id: string;
|
|
26612
|
+
}
|
|
26613
|
+
interface MigrateWorkspaceToV4RequestBody {
|
|
26614
|
+
}
|
|
26615
|
+
type MigrateWorkspaceToV4Input = MigrateWorkspaceToV4RequestBody & MigrateWorkspaceToV4RequestHeaders & MigrateWorkspaceToV4RequestQuery & MigrateWorkspaceToV4RequestParams;
|
|
26616
|
+
interface MigrateWorkspaceToV4Response {
|
|
26617
|
+
}
|
|
26618
|
+
|
|
26041
26619
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
26042
26620
|
}
|
|
26043
26621
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -31076,6 +31654,26 @@ interface CreatePluginRequestBody {
|
|
|
31076
31654
|
};
|
|
31077
31655
|
};
|
|
31078
31656
|
};
|
|
31657
|
+
/**
|
|
31658
|
+
* Message object configuration
|
|
31659
|
+
*/
|
|
31660
|
+
message?: {
|
|
31661
|
+
tags: {
|
|
31662
|
+
/**
|
|
31663
|
+
* Definition of a tag that can be provided on the object
|
|
31664
|
+
*/
|
|
31665
|
+
[k: string]: {
|
|
31666
|
+
/**
|
|
31667
|
+
* Title of the tag
|
|
31668
|
+
*/
|
|
31669
|
+
title?: string;
|
|
31670
|
+
/**
|
|
31671
|
+
* Description of the tag
|
|
31672
|
+
*/
|
|
31673
|
+
description?: string;
|
|
31674
|
+
};
|
|
31675
|
+
};
|
|
31676
|
+
};
|
|
31079
31677
|
/**
|
|
31080
31678
|
* Optional attributes
|
|
31081
31679
|
*/
|
|
@@ -31332,6 +31930,26 @@ interface CreatePluginResponse {
|
|
|
31332
31930
|
};
|
|
31333
31931
|
};
|
|
31334
31932
|
};
|
|
31933
|
+
/**
|
|
31934
|
+
* Message object configuration
|
|
31935
|
+
*/
|
|
31936
|
+
message: {
|
|
31937
|
+
tags: {
|
|
31938
|
+
/**
|
|
31939
|
+
* Definition of a tag that can be provided on the object
|
|
31940
|
+
*/
|
|
31941
|
+
[k: string]: {
|
|
31942
|
+
/**
|
|
31943
|
+
* Title of the tag
|
|
31944
|
+
*/
|
|
31945
|
+
title?: string;
|
|
31946
|
+
/**
|
|
31947
|
+
* Description of the tag
|
|
31948
|
+
*/
|
|
31949
|
+
description?: string;
|
|
31950
|
+
};
|
|
31951
|
+
};
|
|
31952
|
+
};
|
|
31335
31953
|
/**
|
|
31336
31954
|
* Optional attributes
|
|
31337
31955
|
*/
|
|
@@ -31552,6 +32170,26 @@ interface GetPluginResponse {
|
|
|
31552
32170
|
};
|
|
31553
32171
|
};
|
|
31554
32172
|
};
|
|
32173
|
+
/**
|
|
32174
|
+
* Message object configuration
|
|
32175
|
+
*/
|
|
32176
|
+
message: {
|
|
32177
|
+
tags: {
|
|
32178
|
+
/**
|
|
32179
|
+
* Definition of a tag that can be provided on the object
|
|
32180
|
+
*/
|
|
32181
|
+
[k: string]: {
|
|
32182
|
+
/**
|
|
32183
|
+
* Title of the tag
|
|
32184
|
+
*/
|
|
32185
|
+
title?: string;
|
|
32186
|
+
/**
|
|
32187
|
+
* Description of the tag
|
|
32188
|
+
*/
|
|
32189
|
+
description?: string;
|
|
32190
|
+
};
|
|
32191
|
+
};
|
|
32192
|
+
};
|
|
31555
32193
|
/**
|
|
31556
32194
|
* Optional attributes
|
|
31557
32195
|
*/
|
|
@@ -31781,6 +32419,26 @@ interface GetDereferencedPluginResponse {
|
|
|
31781
32419
|
};
|
|
31782
32420
|
};
|
|
31783
32421
|
};
|
|
32422
|
+
/**
|
|
32423
|
+
* Message object configuration
|
|
32424
|
+
*/
|
|
32425
|
+
message: {
|
|
32426
|
+
tags: {
|
|
32427
|
+
/**
|
|
32428
|
+
* Definition of a tag that can be provided on the object
|
|
32429
|
+
*/
|
|
32430
|
+
[k: string]: {
|
|
32431
|
+
/**
|
|
32432
|
+
* Title of the tag
|
|
32433
|
+
*/
|
|
32434
|
+
title?: string;
|
|
32435
|
+
/**
|
|
32436
|
+
* Description of the tag
|
|
32437
|
+
*/
|
|
32438
|
+
description?: string;
|
|
32439
|
+
};
|
|
32440
|
+
};
|
|
32441
|
+
};
|
|
31784
32442
|
/**
|
|
31785
32443
|
* Optional attributes
|
|
31786
32444
|
*/
|
|
@@ -32002,6 +32660,26 @@ interface GetPluginByNameResponse {
|
|
|
32002
32660
|
};
|
|
32003
32661
|
};
|
|
32004
32662
|
};
|
|
32663
|
+
/**
|
|
32664
|
+
* Message object configuration
|
|
32665
|
+
*/
|
|
32666
|
+
message: {
|
|
32667
|
+
tags: {
|
|
32668
|
+
/**
|
|
32669
|
+
* Definition of a tag that can be provided on the object
|
|
32670
|
+
*/
|
|
32671
|
+
[k: string]: {
|
|
32672
|
+
/**
|
|
32673
|
+
* Title of the tag
|
|
32674
|
+
*/
|
|
32675
|
+
title?: string;
|
|
32676
|
+
/**
|
|
32677
|
+
* Description of the tag
|
|
32678
|
+
*/
|
|
32679
|
+
description?: string;
|
|
32680
|
+
};
|
|
32681
|
+
};
|
|
32682
|
+
};
|
|
32005
32683
|
/**
|
|
32006
32684
|
* Optional attributes
|
|
32007
32685
|
*/
|
|
@@ -32170,6 +32848,23 @@ interface UpdatePluginRequestBody {
|
|
|
32170
32848
|
} | null;
|
|
32171
32849
|
};
|
|
32172
32850
|
};
|
|
32851
|
+
message?: {
|
|
32852
|
+
tags: {
|
|
32853
|
+
/**
|
|
32854
|
+
* Definition of a tag that can be provided on the object
|
|
32855
|
+
*/
|
|
32856
|
+
[k: string]: {
|
|
32857
|
+
/**
|
|
32858
|
+
* Title of the tag
|
|
32859
|
+
*/
|
|
32860
|
+
title?: string;
|
|
32861
|
+
/**
|
|
32862
|
+
* Description of the tag
|
|
32863
|
+
*/
|
|
32864
|
+
description?: string;
|
|
32865
|
+
} | null;
|
|
32866
|
+
};
|
|
32867
|
+
};
|
|
32173
32868
|
/**
|
|
32174
32869
|
* Optional attributes. Set attributes to null to remove them
|
|
32175
32870
|
*/
|
|
@@ -32426,6 +33121,26 @@ interface UpdatePluginResponse {
|
|
|
32426
33121
|
};
|
|
32427
33122
|
};
|
|
32428
33123
|
};
|
|
33124
|
+
/**
|
|
33125
|
+
* Message object configuration
|
|
33126
|
+
*/
|
|
33127
|
+
message: {
|
|
33128
|
+
tags: {
|
|
33129
|
+
/**
|
|
33130
|
+
* Definition of a tag that can be provided on the object
|
|
33131
|
+
*/
|
|
33132
|
+
[k: string]: {
|
|
33133
|
+
/**
|
|
33134
|
+
* Title of the tag
|
|
33135
|
+
*/
|
|
33136
|
+
title?: string;
|
|
33137
|
+
/**
|
|
33138
|
+
* Description of the tag
|
|
33139
|
+
*/
|
|
33140
|
+
description?: string;
|
|
33141
|
+
};
|
|
33142
|
+
};
|
|
33143
|
+
};
|
|
32429
33144
|
/**
|
|
32430
33145
|
* Optional attributes
|
|
32431
33146
|
*/
|
|
@@ -34724,9 +35439,13 @@ interface DuplicateTableResponse {
|
|
|
34724
35439
|
updatedAt?: string;
|
|
34725
35440
|
};
|
|
34726
35441
|
/**
|
|
34727
|
-
* The total number of rows present in the table.
|
|
35442
|
+
* The total number of rows present in the source table.
|
|
34728
35443
|
*/
|
|
34729
35444
|
rows: number;
|
|
35445
|
+
job?: {
|
|
35446
|
+
id: string;
|
|
35447
|
+
status: string;
|
|
35448
|
+
};
|
|
34730
35449
|
}
|
|
34731
35450
|
|
|
34732
35451
|
interface ExportTableRequestHeaders {
|
|
@@ -34746,7 +35465,7 @@ interface ExportTableResponse {
|
|
|
34746
35465
|
id: string;
|
|
34747
35466
|
botId: string;
|
|
34748
35467
|
tableId: string;
|
|
34749
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35468
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
34750
35469
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
34751
35470
|
progress?: number;
|
|
34752
35471
|
inputFileId: string | null;
|
|
@@ -34771,7 +35490,7 @@ interface GetTableJobsResponse {
|
|
|
34771
35490
|
id: string;
|
|
34772
35491
|
botId: string;
|
|
34773
35492
|
tableId: string;
|
|
34774
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35493
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
34775
35494
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
34776
35495
|
progress?: number;
|
|
34777
35496
|
inputFileId: string | null;
|
|
@@ -34800,7 +35519,7 @@ interface ImportTableResponse {
|
|
|
34800
35519
|
id: string;
|
|
34801
35520
|
botId: string;
|
|
34802
35521
|
tableId: string;
|
|
34803
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35522
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
34804
35523
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
34805
35524
|
progress?: number;
|
|
34806
35525
|
inputFileId: string | null;
|
|
@@ -35376,7 +36095,7 @@ interface DeleteTableRowsRequestBody {
|
|
|
35376
36095
|
*/
|
|
35377
36096
|
ids?: number[];
|
|
35378
36097
|
/**
|
|
35379
|
-
* Filter to apply when deleting rows. Example: \{ "
|
|
36098
|
+
* Filter to apply when deleting rows. Deletion with a filter is performed asynchronously in batches and returns a job object to track progress. Example: \{ "createdAt": \{ "$lt": "2026-01-01" \} \}
|
|
35380
36099
|
*/
|
|
35381
36100
|
filter?: {
|
|
35382
36101
|
[k: string]: any;
|
|
@@ -35389,6 +36108,10 @@ interface DeleteTableRowsRequestBody {
|
|
|
35389
36108
|
type DeleteTableRowsInput = DeleteTableRowsRequestBody & DeleteTableRowsRequestHeaders & DeleteTableRowsRequestQuery & DeleteTableRowsRequestParams;
|
|
35390
36109
|
interface DeleteTableRowsResponse {
|
|
35391
36110
|
deletedRows: number;
|
|
36111
|
+
job?: {
|
|
36112
|
+
id: string;
|
|
36113
|
+
status: string;
|
|
36114
|
+
};
|
|
35392
36115
|
}
|
|
35393
36116
|
|
|
35394
36117
|
interface UpdateTableRowsRequestHeaders {
|
|
@@ -35943,6 +36666,10 @@ interface Bot {
|
|
|
35943
36666
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
35944
36667
|
*/
|
|
35945
36668
|
dev: boolean;
|
|
36669
|
+
/**
|
|
36670
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
36671
|
+
*/
|
|
36672
|
+
secrets: string[];
|
|
35946
36673
|
/**
|
|
35947
36674
|
* Id of the user that created the bot
|
|
35948
36675
|
*/
|
|
@@ -36689,6 +37416,26 @@ interface Plugin {
|
|
|
36689
37416
|
};
|
|
36690
37417
|
};
|
|
36691
37418
|
};
|
|
37419
|
+
/**
|
|
37420
|
+
* Message object configuration
|
|
37421
|
+
*/
|
|
37422
|
+
message: {
|
|
37423
|
+
tags: {
|
|
37424
|
+
/**
|
|
37425
|
+
* Definition of a tag that can be provided on the object
|
|
37426
|
+
*/
|
|
37427
|
+
[k: string]: {
|
|
37428
|
+
/**
|
|
37429
|
+
* Title of the tag
|
|
37430
|
+
*/
|
|
37431
|
+
title?: string;
|
|
37432
|
+
/**
|
|
37433
|
+
* Description of the tag
|
|
37434
|
+
*/
|
|
37435
|
+
description?: string;
|
|
37436
|
+
};
|
|
37437
|
+
};
|
|
37438
|
+
};
|
|
36692
37439
|
/**
|
|
36693
37440
|
* Optional attributes
|
|
36694
37441
|
*/
|
|
@@ -36862,6 +37609,12 @@ interface User {
|
|
|
36862
37609
|
* Picture URL of the [User](#schema_user)
|
|
36863
37610
|
*/
|
|
36864
37611
|
pictureUrl?: string;
|
|
37612
|
+
/**
|
|
37613
|
+
* Optional properties
|
|
37614
|
+
*/
|
|
37615
|
+
properties?: {
|
|
37616
|
+
[k: string]: string;
|
|
37617
|
+
};
|
|
36865
37618
|
/**
|
|
36866
37619
|
* Optional attributes
|
|
36867
37620
|
*/
|
|
@@ -36908,6 +37661,10 @@ interface Conversation {
|
|
|
36908
37661
|
tags: {
|
|
36909
37662
|
[k: string]: string;
|
|
36910
37663
|
};
|
|
37664
|
+
/**
|
|
37665
|
+
* Number of messages in the conversation
|
|
37666
|
+
*/
|
|
37667
|
+
messageCount: number;
|
|
36911
37668
|
}
|
|
36912
37669
|
/**
|
|
36913
37670
|
* The event object represents an action or an occurrence.
|
|
@@ -37521,6 +38278,7 @@ declare class Client$1 {
|
|
|
37521
38278
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
37522
38279
|
readonly getBotAllowlist: (input: GetBotAllowlistInput) => Promise<GetBotAllowlistResponse>;
|
|
37523
38280
|
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput) => Promise<UpdateBotAllowlistResponse>;
|
|
38281
|
+
readonly migrateWorkspaceToV4: (input: MigrateWorkspaceToV4Input) => Promise<MigrateWorkspaceToV4Response>;
|
|
37524
38282
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
37525
38283
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
37526
38284
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|
|
@@ -37655,6 +38413,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
37655
38413
|
tags: {
|
|
37656
38414
|
[k: string]: string;
|
|
37657
38415
|
};
|
|
38416
|
+
messageCount: number;
|
|
37658
38417
|
}>;
|
|
37659
38418
|
participants: (props: {
|
|
37660
38419
|
id: string;
|
|
@@ -37667,6 +38426,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
37667
38426
|
};
|
|
37668
38427
|
name?: string;
|
|
37669
38428
|
pictureUrl?: string;
|
|
38429
|
+
properties?: {
|
|
38430
|
+
[k: string]: string;
|
|
38431
|
+
};
|
|
37670
38432
|
attributes?: {
|
|
37671
38433
|
[k: string]: string;
|
|
37672
38434
|
};
|
|
@@ -37733,6 +38495,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
37733
38495
|
};
|
|
37734
38496
|
name?: string;
|
|
37735
38497
|
pictureUrl?: string;
|
|
38498
|
+
properties?: {
|
|
38499
|
+
[k: string]: string;
|
|
38500
|
+
};
|
|
37736
38501
|
attributes?: {
|
|
37737
38502
|
[k: string]: string;
|
|
37738
38503
|
};
|