@botpress/client 1.35.0 → 1.37.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 +1265 -1454
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -108,7 +108,8 @@ interface CreateConversationResponse$1 {
|
|
|
108
108
|
*/
|
|
109
109
|
id: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* @deprecated
|
|
112
|
+
* Unused. This field will be removed in the future.
|
|
112
113
|
*/
|
|
113
114
|
currentTaskId?: string;
|
|
114
115
|
/**
|
|
@@ -137,6 +138,10 @@ interface CreateConversationResponse$1 {
|
|
|
137
138
|
tags: {
|
|
138
139
|
[k: string]: string;
|
|
139
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* Number of messages in the conversation
|
|
143
|
+
*/
|
|
144
|
+
messageCount: number;
|
|
140
145
|
};
|
|
141
146
|
}
|
|
142
147
|
|
|
@@ -160,7 +165,8 @@ interface GetConversationResponse$1 {
|
|
|
160
165
|
*/
|
|
161
166
|
id: string;
|
|
162
167
|
/**
|
|
163
|
-
*
|
|
168
|
+
* @deprecated
|
|
169
|
+
* Unused. This field will be removed in the future.
|
|
164
170
|
*/
|
|
165
171
|
currentTaskId?: string;
|
|
166
172
|
/**
|
|
@@ -189,6 +195,10 @@ interface GetConversationResponse$1 {
|
|
|
189
195
|
tags: {
|
|
190
196
|
[k: string]: string;
|
|
191
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Number of messages in the conversation
|
|
200
|
+
*/
|
|
201
|
+
messageCount: number;
|
|
192
202
|
};
|
|
193
203
|
}
|
|
194
204
|
|
|
@@ -219,7 +229,8 @@ interface ListConversationsResponse$1 {
|
|
|
219
229
|
*/
|
|
220
230
|
id: string;
|
|
221
231
|
/**
|
|
222
|
-
*
|
|
232
|
+
* @deprecated
|
|
233
|
+
* Unused. This field will be removed in the future.
|
|
223
234
|
*/
|
|
224
235
|
currentTaskId?: string;
|
|
225
236
|
/**
|
|
@@ -248,6 +259,10 @@ interface ListConversationsResponse$1 {
|
|
|
248
259
|
tags: {
|
|
249
260
|
[k: string]: string;
|
|
250
261
|
};
|
|
262
|
+
/**
|
|
263
|
+
* Number of messages in the conversation
|
|
264
|
+
*/
|
|
265
|
+
messageCount: number;
|
|
251
266
|
}[];
|
|
252
267
|
meta: {
|
|
253
268
|
/**
|
|
@@ -295,7 +310,8 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
295
310
|
*/
|
|
296
311
|
id: string;
|
|
297
312
|
/**
|
|
298
|
-
*
|
|
313
|
+
* @deprecated
|
|
314
|
+
* Unused. This field will be removed in the future.
|
|
299
315
|
*/
|
|
300
316
|
currentTaskId?: string;
|
|
301
317
|
/**
|
|
@@ -324,6 +340,13 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
324
340
|
tags: {
|
|
325
341
|
[k: string]: string;
|
|
326
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* Number of messages in the conversation
|
|
345
|
+
*/
|
|
346
|
+
messageCount: number;
|
|
347
|
+
};
|
|
348
|
+
meta: {
|
|
349
|
+
created: boolean;
|
|
327
350
|
};
|
|
328
351
|
}
|
|
329
352
|
|
|
@@ -335,6 +358,10 @@ interface UpdateConversationRequestParams$1 {
|
|
|
335
358
|
id: string;
|
|
336
359
|
}
|
|
337
360
|
interface UpdateConversationRequestBody$1 {
|
|
361
|
+
/**
|
|
362
|
+
* @deprecated
|
|
363
|
+
* Unused. This parameter will be ignored if provided and should not be used when updating a conversation.
|
|
364
|
+
*/
|
|
338
365
|
currentTaskId?: string;
|
|
339
366
|
/**
|
|
340
367
|
* Tags for the [Conversation](#schema_conversation)
|
|
@@ -354,7 +381,8 @@ interface UpdateConversationResponse$1 {
|
|
|
354
381
|
*/
|
|
355
382
|
id: string;
|
|
356
383
|
/**
|
|
357
|
-
*
|
|
384
|
+
* @deprecated
|
|
385
|
+
* Unused. This field will be removed in the future.
|
|
358
386
|
*/
|
|
359
387
|
currentTaskId?: string;
|
|
360
388
|
/**
|
|
@@ -383,6 +411,10 @@ interface UpdateConversationResponse$1 {
|
|
|
383
411
|
tags: {
|
|
384
412
|
[k: string]: string;
|
|
385
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Number of messages in the conversation
|
|
416
|
+
*/
|
|
417
|
+
messageCount: number;
|
|
386
418
|
};
|
|
387
419
|
}
|
|
388
420
|
|
|
@@ -438,6 +470,12 @@ interface ListParticipantsResponse$1 {
|
|
|
438
470
|
* Picture URL of the [User](#schema_user)
|
|
439
471
|
*/
|
|
440
472
|
pictureUrl?: string;
|
|
473
|
+
/**
|
|
474
|
+
* Optional properties
|
|
475
|
+
*/
|
|
476
|
+
properties?: {
|
|
477
|
+
[k: string]: string;
|
|
478
|
+
};
|
|
441
479
|
/**
|
|
442
480
|
* Optional attributes
|
|
443
481
|
*/
|
|
@@ -498,6 +536,12 @@ interface AddParticipantResponse$1 {
|
|
|
498
536
|
* Picture URL of the [User](#schema_user)
|
|
499
537
|
*/
|
|
500
538
|
pictureUrl?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Optional properties
|
|
541
|
+
*/
|
|
542
|
+
properties?: {
|
|
543
|
+
[k: string]: string;
|
|
544
|
+
};
|
|
501
545
|
/**
|
|
502
546
|
* Optional attributes
|
|
503
547
|
*/
|
|
@@ -549,6 +593,12 @@ interface GetParticipantResponse$1 {
|
|
|
549
593
|
* Picture URL of the [User](#schema_user)
|
|
550
594
|
*/
|
|
551
595
|
pictureUrl?: string;
|
|
596
|
+
/**
|
|
597
|
+
* Optional properties
|
|
598
|
+
*/
|
|
599
|
+
properties?: {
|
|
600
|
+
[k: string]: string;
|
|
601
|
+
};
|
|
552
602
|
/**
|
|
553
603
|
* Optional attributes
|
|
554
604
|
*/
|
|
@@ -900,7 +950,7 @@ interface GetOrCreateMessageRequestBody$1 {
|
|
|
900
950
|
/**
|
|
901
951
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
902
952
|
*/
|
|
903
|
-
payload
|
|
953
|
+
payload?: {
|
|
904
954
|
[k: string]: any;
|
|
905
955
|
};
|
|
906
956
|
/**
|
|
@@ -991,6 +1041,9 @@ interface GetOrCreateMessageResponse$1 {
|
|
|
991
1041
|
*/
|
|
992
1042
|
origin?: "synthetic";
|
|
993
1043
|
};
|
|
1044
|
+
meta: {
|
|
1045
|
+
created: boolean;
|
|
1046
|
+
};
|
|
994
1047
|
}
|
|
995
1048
|
|
|
996
1049
|
interface GetMessageRequestHeaders$1 {
|
|
@@ -1242,7 +1295,14 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1242
1295
|
*/
|
|
1243
1296
|
pictureUrl?: string;
|
|
1244
1297
|
/**
|
|
1245
|
-
* Optional
|
|
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.
|
|
1246
1306
|
*/
|
|
1247
1307
|
attributes?: {
|
|
1248
1308
|
[k: string]: string;
|
|
@@ -1330,6 +1390,12 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1330
1390
|
* Picture URL of the [User](#schema_user)
|
|
1331
1391
|
*/
|
|
1332
1392
|
pictureUrl?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* Optional properties
|
|
1395
|
+
*/
|
|
1396
|
+
properties?: {
|
|
1397
|
+
[k: string]: string;
|
|
1398
|
+
};
|
|
1333
1399
|
/**
|
|
1334
1400
|
* Optional attributes
|
|
1335
1401
|
*/
|
|
@@ -1346,7 +1412,8 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1346
1412
|
*/
|
|
1347
1413
|
id: string;
|
|
1348
1414
|
/**
|
|
1349
|
-
*
|
|
1415
|
+
* @deprecated
|
|
1416
|
+
* Unused. This field will be removed in the future.
|
|
1350
1417
|
*/
|
|
1351
1418
|
currentTaskId?: string;
|
|
1352
1419
|
/**
|
|
@@ -1375,6 +1442,10 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1375
1442
|
tags: {
|
|
1376
1443
|
[k: string]: string;
|
|
1377
1444
|
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Number of messages in the conversation
|
|
1447
|
+
*/
|
|
1448
|
+
messageCount: number;
|
|
1378
1449
|
};
|
|
1379
1450
|
/**
|
|
1380
1451
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -1549,7 +1620,14 @@ interface CreateUserRequestBody$1 {
|
|
|
1549
1620
|
*/
|
|
1550
1621
|
pictureUrl?: string;
|
|
1551
1622
|
/**
|
|
1552
|
-
* Optional
|
|
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.
|
|
1553
1631
|
*/
|
|
1554
1632
|
attributes?: {
|
|
1555
1633
|
[k: string]: string;
|
|
@@ -1587,6 +1665,12 @@ interface CreateUserResponse$1 {
|
|
|
1587
1665
|
* Picture URL of the [User](#schema_user)
|
|
1588
1666
|
*/
|
|
1589
1667
|
pictureUrl?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Optional properties
|
|
1670
|
+
*/
|
|
1671
|
+
properties?: {
|
|
1672
|
+
[k: string]: string;
|
|
1673
|
+
};
|
|
1590
1674
|
/**
|
|
1591
1675
|
* Optional attributes
|
|
1592
1676
|
*/
|
|
@@ -1637,6 +1721,12 @@ interface GetUserResponse$1 {
|
|
|
1637
1721
|
* Picture URL of the [User](#schema_user)
|
|
1638
1722
|
*/
|
|
1639
1723
|
pictureUrl?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* Optional properties
|
|
1726
|
+
*/
|
|
1727
|
+
properties?: {
|
|
1728
|
+
[k: string]: string;
|
|
1729
|
+
};
|
|
1640
1730
|
/**
|
|
1641
1731
|
* Optional attributes
|
|
1642
1732
|
*/
|
|
@@ -1693,6 +1783,12 @@ interface ListUsersResponse$1 {
|
|
|
1693
1783
|
* Picture URL of the [User](#schema_user)
|
|
1694
1784
|
*/
|
|
1695
1785
|
pictureUrl?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Optional properties
|
|
1788
|
+
*/
|
|
1789
|
+
properties?: {
|
|
1790
|
+
[k: string]: string;
|
|
1791
|
+
};
|
|
1696
1792
|
/**
|
|
1697
1793
|
* Optional attributes
|
|
1698
1794
|
*/
|
|
@@ -1735,7 +1831,14 @@ interface GetOrCreateUserRequestBody$1 {
|
|
|
1735
1831
|
*/
|
|
1736
1832
|
pictureUrl?: string;
|
|
1737
1833
|
/**
|
|
1738
|
-
* Optional
|
|
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.
|
|
1739
1842
|
*/
|
|
1740
1843
|
attributes?: {
|
|
1741
1844
|
[k: string]: string;
|
|
@@ -1777,6 +1880,12 @@ interface GetOrCreateUserResponse$1 {
|
|
|
1777
1880
|
* Picture URL of the [User](#schema_user)
|
|
1778
1881
|
*/
|
|
1779
1882
|
pictureUrl?: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Optional properties
|
|
1885
|
+
*/
|
|
1886
|
+
properties?: {
|
|
1887
|
+
[k: string]: string;
|
|
1888
|
+
};
|
|
1780
1889
|
/**
|
|
1781
1890
|
* Optional attributes
|
|
1782
1891
|
*/
|
|
@@ -1784,6 +1893,9 @@ interface GetOrCreateUserResponse$1 {
|
|
|
1784
1893
|
[k: string]: string;
|
|
1785
1894
|
};
|
|
1786
1895
|
};
|
|
1896
|
+
meta: {
|
|
1897
|
+
created: boolean;
|
|
1898
|
+
};
|
|
1787
1899
|
}
|
|
1788
1900
|
|
|
1789
1901
|
interface UpdateUserRequestHeaders$1 {
|
|
@@ -1809,11 +1921,18 @@ interface UpdateUserRequestBody$1 {
|
|
|
1809
1921
|
*/
|
|
1810
1922
|
pictureUrl?: string | null;
|
|
1811
1923
|
/**
|
|
1812
|
-
*
|
|
1924
|
+
* @deprecated
|
|
1925
|
+
* DEPRECATED - Use properties instead.
|
|
1813
1926
|
*/
|
|
1814
1927
|
attributes?: {
|
|
1815
1928
|
[k: string]: string | null;
|
|
1816
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
|
+
};
|
|
1817
1936
|
}
|
|
1818
1937
|
type UpdateUserInput$1 = UpdateUserRequestBody$1 & UpdateUserRequestHeaders$1 & UpdateUserRequestQuery$1 & UpdateUserRequestParams$1;
|
|
1819
1938
|
interface UpdateUserResponse$1 {
|
|
@@ -1847,6 +1966,12 @@ interface UpdateUserResponse$1 {
|
|
|
1847
1966
|
* Picture URL of the [User](#schema_user)
|
|
1848
1967
|
*/
|
|
1849
1968
|
pictureUrl?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* Optional properties
|
|
1971
|
+
*/
|
|
1972
|
+
properties?: {
|
|
1973
|
+
[k: string]: string;
|
|
1974
|
+
};
|
|
1850
1975
|
/**
|
|
1851
1976
|
* Optional attributes
|
|
1852
1977
|
*/
|
|
@@ -1874,7 +1999,7 @@ interface SetStateExpiryRequestHeaders$1 {
|
|
|
1874
1999
|
interface SetStateExpiryRequestQuery$1 {
|
|
1875
2000
|
}
|
|
1876
2001
|
interface SetStateExpiryRequestParams$1 {
|
|
1877
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
2002
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
1878
2003
|
id: string;
|
|
1879
2004
|
name: string;
|
|
1880
2005
|
}
|
|
@@ -1919,9 +2044,9 @@ interface SetStateExpiryResponse$1 {
|
|
|
1919
2044
|
*/
|
|
1920
2045
|
name: string;
|
|
1921
2046
|
/**
|
|
1922
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
2047
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
1923
2048
|
*/
|
|
1924
|
-
type: "conversation" | "user" | "bot" | "
|
|
2049
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
1925
2050
|
/**
|
|
1926
2051
|
* Payload is the content of the state defined by your bot.
|
|
1927
2052
|
*/
|
|
@@ -1936,7 +2061,7 @@ interface GetStateRequestHeaders$1 {
|
|
|
1936
2061
|
interface GetStateRequestQuery$1 {
|
|
1937
2062
|
}
|
|
1938
2063
|
interface GetStateRequestParams$1 {
|
|
1939
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
2064
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
1940
2065
|
id: string;
|
|
1941
2066
|
name: string;
|
|
1942
2067
|
}
|
|
@@ -1977,9 +2102,9 @@ interface GetStateResponse$1 {
|
|
|
1977
2102
|
*/
|
|
1978
2103
|
name: string;
|
|
1979
2104
|
/**
|
|
1980
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
2105
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
1981
2106
|
*/
|
|
1982
|
-
type: "conversation" | "user" | "bot" | "
|
|
2107
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
1983
2108
|
/**
|
|
1984
2109
|
* Payload is the content of the state defined by your bot.
|
|
1985
2110
|
*/
|
|
@@ -1997,7 +2122,7 @@ interface SetStateRequestHeaders$1 {
|
|
|
1997
2122
|
interface SetStateRequestQuery$1 {
|
|
1998
2123
|
}
|
|
1999
2124
|
interface SetStateRequestParams$1 {
|
|
2000
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
2125
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2001
2126
|
id: string;
|
|
2002
2127
|
name: string;
|
|
2003
2128
|
}
|
|
@@ -2048,9 +2173,9 @@ interface SetStateResponse$1 {
|
|
|
2048
2173
|
*/
|
|
2049
2174
|
name: string;
|
|
2050
2175
|
/**
|
|
2051
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
2176
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
2052
2177
|
*/
|
|
2053
|
-
type: "conversation" | "user" | "bot" | "
|
|
2178
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2054
2179
|
/**
|
|
2055
2180
|
* Payload is the content of the state defined by your bot.
|
|
2056
2181
|
*/
|
|
@@ -2065,7 +2190,7 @@ interface GetOrSetStateRequestHeaders$1 {
|
|
|
2065
2190
|
interface GetOrSetStateRequestQuery$1 {
|
|
2066
2191
|
}
|
|
2067
2192
|
interface GetOrSetStateRequestParams$1 {
|
|
2068
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
2193
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2069
2194
|
id: string;
|
|
2070
2195
|
name: string;
|
|
2071
2196
|
}
|
|
@@ -2116,9 +2241,9 @@ interface GetOrSetStateResponse$1 {
|
|
|
2116
2241
|
*/
|
|
2117
2242
|
name: string;
|
|
2118
2243
|
/**
|
|
2119
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
2244
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
2120
2245
|
*/
|
|
2121
|
-
type: "conversation" | "user" | "bot" | "
|
|
2246
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2122
2247
|
/**
|
|
2123
2248
|
* Payload is the content of the state defined by your bot.
|
|
2124
2249
|
*/
|
|
@@ -2136,7 +2261,7 @@ interface PatchStateRequestHeaders$1 {
|
|
|
2136
2261
|
interface PatchStateRequestQuery$1 {
|
|
2137
2262
|
}
|
|
2138
2263
|
interface PatchStateRequestParams$1 {
|
|
2139
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
2264
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2140
2265
|
id: string;
|
|
2141
2266
|
name: string;
|
|
2142
2267
|
}
|
|
@@ -2183,9 +2308,9 @@ interface PatchStateResponse$1 {
|
|
|
2183
2308
|
*/
|
|
2184
2309
|
name: string;
|
|
2185
2310
|
/**
|
|
2186
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
2311
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
2187
2312
|
*/
|
|
2188
|
-
type: "conversation" | "user" | "bot" | "
|
|
2313
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
2189
2314
|
/**
|
|
2190
2315
|
* Payload is the content of the state defined by your bot.
|
|
2191
2316
|
*/
|
|
@@ -2250,409 +2375,6 @@ type ConfigureIntegrationInput$1 = ConfigureIntegrationRequestBody$1 & Configure
|
|
|
2250
2375
|
interface ConfigureIntegrationResponse$1 {
|
|
2251
2376
|
}
|
|
2252
2377
|
|
|
2253
|
-
interface GetTaskRequestHeaders$1 {
|
|
2254
|
-
}
|
|
2255
|
-
interface GetTaskRequestQuery$1 {
|
|
2256
|
-
}
|
|
2257
|
-
interface GetTaskRequestParams$1 {
|
|
2258
|
-
id: string;
|
|
2259
|
-
}
|
|
2260
|
-
interface GetTaskRequestBody$1 {
|
|
2261
|
-
}
|
|
2262
|
-
type GetTaskInput$1 = GetTaskRequestBody$1 & GetTaskRequestHeaders$1 & GetTaskRequestQuery$1 & GetTaskRequestParams$1;
|
|
2263
|
-
interface GetTaskResponse$1 {
|
|
2264
|
-
/**
|
|
2265
|
-
* Task definition
|
|
2266
|
-
*/
|
|
2267
|
-
task: {
|
|
2268
|
-
/**
|
|
2269
|
-
* Id of the [Task](#schema_task)
|
|
2270
|
-
*/
|
|
2271
|
-
id: string;
|
|
2272
|
-
/**
|
|
2273
|
-
* Title describing the task
|
|
2274
|
-
*/
|
|
2275
|
-
title: string;
|
|
2276
|
-
/**
|
|
2277
|
-
* All the notes related to the execution of the current task
|
|
2278
|
-
*/
|
|
2279
|
-
description: string;
|
|
2280
|
-
/**
|
|
2281
|
-
* Type of the task
|
|
2282
|
-
*/
|
|
2283
|
-
type: string;
|
|
2284
|
-
/**
|
|
2285
|
-
* Content related to the task
|
|
2286
|
-
*/
|
|
2287
|
-
data: {
|
|
2288
|
-
[k: string]: any;
|
|
2289
|
-
};
|
|
2290
|
-
/**
|
|
2291
|
-
* Status of the task
|
|
2292
|
-
*/
|
|
2293
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
2294
|
-
/**
|
|
2295
|
-
* Parent task id is the parent task that created this task
|
|
2296
|
-
*/
|
|
2297
|
-
parentTaskId?: string;
|
|
2298
|
-
/**
|
|
2299
|
-
* Conversation id related to this task
|
|
2300
|
-
*/
|
|
2301
|
-
conversationId?: string;
|
|
2302
|
-
/**
|
|
2303
|
-
* Specific user related to this task
|
|
2304
|
-
*/
|
|
2305
|
-
userId?: string;
|
|
2306
|
-
/**
|
|
2307
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2308
|
-
*/
|
|
2309
|
-
timeoutAt: string;
|
|
2310
|
-
/**
|
|
2311
|
-
* Creation date of the task in ISO 8601 format
|
|
2312
|
-
*/
|
|
2313
|
-
createdAt: string;
|
|
2314
|
-
/**
|
|
2315
|
-
* Updating date of the task in ISO 8601 format
|
|
2316
|
-
*/
|
|
2317
|
-
updatedAt: string;
|
|
2318
|
-
/**
|
|
2319
|
-
* If the task fails this is the reason behind it
|
|
2320
|
-
*/
|
|
2321
|
-
failureReason?: string;
|
|
2322
|
-
/**
|
|
2323
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
2324
|
-
*/
|
|
2325
|
-
tags: {
|
|
2326
|
-
[k: string]: string;
|
|
2327
|
-
};
|
|
2328
|
-
};
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
interface CreateTaskRequestHeaders$1 {
|
|
2332
|
-
}
|
|
2333
|
-
interface CreateTaskRequestQuery$1 {
|
|
2334
|
-
}
|
|
2335
|
-
interface CreateTaskRequestParams$1 {
|
|
2336
|
-
}
|
|
2337
|
-
interface CreateTaskRequestBody$1 {
|
|
2338
|
-
/**
|
|
2339
|
-
* Title describing the task
|
|
2340
|
-
*/
|
|
2341
|
-
title?: string;
|
|
2342
|
-
/**
|
|
2343
|
-
* All the notes related to the execution of the current task
|
|
2344
|
-
*/
|
|
2345
|
-
description?: string;
|
|
2346
|
-
/**
|
|
2347
|
-
* Type of the task
|
|
2348
|
-
*/
|
|
2349
|
-
type: string;
|
|
2350
|
-
/**
|
|
2351
|
-
* Content related to the task
|
|
2352
|
-
*/
|
|
2353
|
-
data?: {
|
|
2354
|
-
[k: string]: any;
|
|
2355
|
-
};
|
|
2356
|
-
/**
|
|
2357
|
-
* Parent task id is the parent task that created this task
|
|
2358
|
-
*/
|
|
2359
|
-
parentTaskId?: string;
|
|
2360
|
-
/**
|
|
2361
|
-
* Conversation id related to this task
|
|
2362
|
-
*/
|
|
2363
|
-
conversationId: string;
|
|
2364
|
-
/**
|
|
2365
|
-
* Specific user related to this task
|
|
2366
|
-
*/
|
|
2367
|
-
userId?: string;
|
|
2368
|
-
/**
|
|
2369
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2370
|
-
*/
|
|
2371
|
-
timeoutAt?: string;
|
|
2372
|
-
/**
|
|
2373
|
-
* Tags for the [Task](#schema_task)
|
|
2374
|
-
*/
|
|
2375
|
-
tags?: {
|
|
2376
|
-
[k: string]: string;
|
|
2377
|
-
};
|
|
2378
|
-
}
|
|
2379
|
-
type CreateTaskInput$1 = CreateTaskRequestBody$1 & CreateTaskRequestHeaders$1 & CreateTaskRequestQuery$1 & CreateTaskRequestParams$1;
|
|
2380
|
-
interface CreateTaskResponse$1 {
|
|
2381
|
-
/**
|
|
2382
|
-
* Task definition
|
|
2383
|
-
*/
|
|
2384
|
-
task: {
|
|
2385
|
-
/**
|
|
2386
|
-
* Id of the [Task](#schema_task)
|
|
2387
|
-
*/
|
|
2388
|
-
id: string;
|
|
2389
|
-
/**
|
|
2390
|
-
* Title describing the task
|
|
2391
|
-
*/
|
|
2392
|
-
title: string;
|
|
2393
|
-
/**
|
|
2394
|
-
* All the notes related to the execution of the current task
|
|
2395
|
-
*/
|
|
2396
|
-
description: string;
|
|
2397
|
-
/**
|
|
2398
|
-
* Type of the task
|
|
2399
|
-
*/
|
|
2400
|
-
type: string;
|
|
2401
|
-
/**
|
|
2402
|
-
* Content related to the task
|
|
2403
|
-
*/
|
|
2404
|
-
data: {
|
|
2405
|
-
[k: string]: any;
|
|
2406
|
-
};
|
|
2407
|
-
/**
|
|
2408
|
-
* Status of the task
|
|
2409
|
-
*/
|
|
2410
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
2411
|
-
/**
|
|
2412
|
-
* Parent task id is the parent task that created this task
|
|
2413
|
-
*/
|
|
2414
|
-
parentTaskId?: string;
|
|
2415
|
-
/**
|
|
2416
|
-
* Conversation id related to this task
|
|
2417
|
-
*/
|
|
2418
|
-
conversationId?: string;
|
|
2419
|
-
/**
|
|
2420
|
-
* Specific user related to this task
|
|
2421
|
-
*/
|
|
2422
|
-
userId?: string;
|
|
2423
|
-
/**
|
|
2424
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2425
|
-
*/
|
|
2426
|
-
timeoutAt: string;
|
|
2427
|
-
/**
|
|
2428
|
-
* Creation date of the task in ISO 8601 format
|
|
2429
|
-
*/
|
|
2430
|
-
createdAt: string;
|
|
2431
|
-
/**
|
|
2432
|
-
* Updating date of the task in ISO 8601 format
|
|
2433
|
-
*/
|
|
2434
|
-
updatedAt: string;
|
|
2435
|
-
/**
|
|
2436
|
-
* If the task fails this is the reason behind it
|
|
2437
|
-
*/
|
|
2438
|
-
failureReason?: string;
|
|
2439
|
-
/**
|
|
2440
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
2441
|
-
*/
|
|
2442
|
-
tags: {
|
|
2443
|
-
[k: string]: string;
|
|
2444
|
-
};
|
|
2445
|
-
};
|
|
2446
|
-
}
|
|
2447
|
-
|
|
2448
|
-
interface UpdateTaskRequestHeaders$1 {
|
|
2449
|
-
}
|
|
2450
|
-
interface UpdateTaskRequestQuery$1 {
|
|
2451
|
-
}
|
|
2452
|
-
interface UpdateTaskRequestParams$1 {
|
|
2453
|
-
id: string;
|
|
2454
|
-
}
|
|
2455
|
-
interface UpdateTaskRequestBody$1 {
|
|
2456
|
-
/**
|
|
2457
|
-
* Title describing the task
|
|
2458
|
-
*/
|
|
2459
|
-
title?: string;
|
|
2460
|
-
/**
|
|
2461
|
-
* All the notes related to the execution of the current task
|
|
2462
|
-
*/
|
|
2463
|
-
description?: string;
|
|
2464
|
-
/**
|
|
2465
|
-
* Content related to the task
|
|
2466
|
-
*/
|
|
2467
|
-
data?: {
|
|
2468
|
-
[k: string]: any;
|
|
2469
|
-
};
|
|
2470
|
-
/**
|
|
2471
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2472
|
-
*/
|
|
2473
|
-
timeoutAt?: string;
|
|
2474
|
-
/**
|
|
2475
|
-
* Status of the task
|
|
2476
|
-
*/
|
|
2477
|
-
status?: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
2478
|
-
/**
|
|
2479
|
-
* Tags for the [Task](#schema_task)
|
|
2480
|
-
*/
|
|
2481
|
-
tags?: {
|
|
2482
|
-
[k: string]: string;
|
|
2483
|
-
};
|
|
2484
|
-
}
|
|
2485
|
-
type UpdateTaskInput$1 = UpdateTaskRequestBody$1 & UpdateTaskRequestHeaders$1 & UpdateTaskRequestQuery$1 & UpdateTaskRequestParams$1;
|
|
2486
|
-
interface UpdateTaskResponse$1 {
|
|
2487
|
-
/**
|
|
2488
|
-
* Task definition
|
|
2489
|
-
*/
|
|
2490
|
-
task: {
|
|
2491
|
-
/**
|
|
2492
|
-
* Id of the [Task](#schema_task)
|
|
2493
|
-
*/
|
|
2494
|
-
id: string;
|
|
2495
|
-
/**
|
|
2496
|
-
* Title describing the task
|
|
2497
|
-
*/
|
|
2498
|
-
title: string;
|
|
2499
|
-
/**
|
|
2500
|
-
* All the notes related to the execution of the current task
|
|
2501
|
-
*/
|
|
2502
|
-
description: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* Type of the task
|
|
2505
|
-
*/
|
|
2506
|
-
type: string;
|
|
2507
|
-
/**
|
|
2508
|
-
* Content related to the task
|
|
2509
|
-
*/
|
|
2510
|
-
data: {
|
|
2511
|
-
[k: string]: any;
|
|
2512
|
-
};
|
|
2513
|
-
/**
|
|
2514
|
-
* Status of the task
|
|
2515
|
-
*/
|
|
2516
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
2517
|
-
/**
|
|
2518
|
-
* Parent task id is the parent task that created this task
|
|
2519
|
-
*/
|
|
2520
|
-
parentTaskId?: string;
|
|
2521
|
-
/**
|
|
2522
|
-
* Conversation id related to this task
|
|
2523
|
-
*/
|
|
2524
|
-
conversationId?: string;
|
|
2525
|
-
/**
|
|
2526
|
-
* Specific user related to this task
|
|
2527
|
-
*/
|
|
2528
|
-
userId?: string;
|
|
2529
|
-
/**
|
|
2530
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2531
|
-
*/
|
|
2532
|
-
timeoutAt: string;
|
|
2533
|
-
/**
|
|
2534
|
-
* Creation date of the task in ISO 8601 format
|
|
2535
|
-
*/
|
|
2536
|
-
createdAt: string;
|
|
2537
|
-
/**
|
|
2538
|
-
* Updating date of the task in ISO 8601 format
|
|
2539
|
-
*/
|
|
2540
|
-
updatedAt: string;
|
|
2541
|
-
/**
|
|
2542
|
-
* If the task fails this is the reason behind it
|
|
2543
|
-
*/
|
|
2544
|
-
failureReason?: string;
|
|
2545
|
-
/**
|
|
2546
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
2547
|
-
*/
|
|
2548
|
-
tags: {
|
|
2549
|
-
[k: string]: string;
|
|
2550
|
-
};
|
|
2551
|
-
};
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
|
-
interface DeleteTaskRequestHeaders$1 {
|
|
2555
|
-
}
|
|
2556
|
-
interface DeleteTaskRequestQuery$1 {
|
|
2557
|
-
}
|
|
2558
|
-
interface DeleteTaskRequestParams$1 {
|
|
2559
|
-
id: string;
|
|
2560
|
-
}
|
|
2561
|
-
interface DeleteTaskRequestBody$1 {
|
|
2562
|
-
}
|
|
2563
|
-
type DeleteTaskInput$1 = DeleteTaskRequestBody$1 & DeleteTaskRequestHeaders$1 & DeleteTaskRequestQuery$1 & DeleteTaskRequestParams$1;
|
|
2564
|
-
interface DeleteTaskResponse$1 {
|
|
2565
|
-
}
|
|
2566
|
-
|
|
2567
|
-
interface ListTasksRequestHeaders$1 {
|
|
2568
|
-
}
|
|
2569
|
-
interface ListTasksRequestQuery$1 {
|
|
2570
|
-
nextToken?: string;
|
|
2571
|
-
tags?: {
|
|
2572
|
-
[k: string]: string;
|
|
2573
|
-
};
|
|
2574
|
-
conversationId?: string;
|
|
2575
|
-
userId?: string;
|
|
2576
|
-
parentTaskId?: string;
|
|
2577
|
-
status?: ("pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled")[];
|
|
2578
|
-
type?: string;
|
|
2579
|
-
}
|
|
2580
|
-
interface ListTasksRequestParams$1 {
|
|
2581
|
-
}
|
|
2582
|
-
interface ListTasksRequestBody$1 {
|
|
2583
|
-
}
|
|
2584
|
-
type ListTasksInput$1 = ListTasksRequestBody$1 & ListTasksRequestHeaders$1 & ListTasksRequestQuery$1 & ListTasksRequestParams$1;
|
|
2585
|
-
interface ListTasksResponse$1 {
|
|
2586
|
-
tasks: {
|
|
2587
|
-
/**
|
|
2588
|
-
* Id of the [Task](#schema_task)
|
|
2589
|
-
*/
|
|
2590
|
-
id: string;
|
|
2591
|
-
/**
|
|
2592
|
-
* Title describing the task
|
|
2593
|
-
*/
|
|
2594
|
-
title: string;
|
|
2595
|
-
/**
|
|
2596
|
-
* All the notes related to the execution of the current task
|
|
2597
|
-
*/
|
|
2598
|
-
description: string;
|
|
2599
|
-
/**
|
|
2600
|
-
* Type of the task
|
|
2601
|
-
*/
|
|
2602
|
-
type: string;
|
|
2603
|
-
/**
|
|
2604
|
-
* Content related to the task
|
|
2605
|
-
*/
|
|
2606
|
-
data: {
|
|
2607
|
-
[k: string]: any;
|
|
2608
|
-
};
|
|
2609
|
-
/**
|
|
2610
|
-
* Status of the task
|
|
2611
|
-
*/
|
|
2612
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
2613
|
-
/**
|
|
2614
|
-
* Parent task id is the parent task that created this task
|
|
2615
|
-
*/
|
|
2616
|
-
parentTaskId?: string;
|
|
2617
|
-
/**
|
|
2618
|
-
* Conversation id related to this task
|
|
2619
|
-
*/
|
|
2620
|
-
conversationId?: string;
|
|
2621
|
-
/**
|
|
2622
|
-
* Specific user related to this task
|
|
2623
|
-
*/
|
|
2624
|
-
userId?: string;
|
|
2625
|
-
/**
|
|
2626
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
2627
|
-
*/
|
|
2628
|
-
timeoutAt: string;
|
|
2629
|
-
/**
|
|
2630
|
-
* Creation date of the task in ISO 8601 format
|
|
2631
|
-
*/
|
|
2632
|
-
createdAt: string;
|
|
2633
|
-
/**
|
|
2634
|
-
* Updating date of the task in ISO 8601 format
|
|
2635
|
-
*/
|
|
2636
|
-
updatedAt: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* If the task fails this is the reason behind it
|
|
2639
|
-
*/
|
|
2640
|
-
failureReason?: string;
|
|
2641
|
-
/**
|
|
2642
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
2643
|
-
*/
|
|
2644
|
-
tags: {
|
|
2645
|
-
[k: string]: string;
|
|
2646
|
-
};
|
|
2647
|
-
}[];
|
|
2648
|
-
meta: {
|
|
2649
|
-
/**
|
|
2650
|
-
* 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.
|
|
2651
|
-
*/
|
|
2652
|
-
nextToken?: string;
|
|
2653
|
-
};
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
2378
|
interface CreateWorkflowRequestHeaders$1 {
|
|
2657
2379
|
}
|
|
2658
2380
|
interface CreateWorkflowRequestQuery$1 {
|
|
@@ -3234,6 +2956,10 @@ interface CaptureObservationRequestQuery$1 {
|
|
|
3234
2956
|
interface CaptureObservationRequestParams$1 {
|
|
3235
2957
|
}
|
|
3236
2958
|
interface CaptureObservationRequestBody$1 {
|
|
2959
|
+
/**
|
|
2960
|
+
* Caller-defined identifier for the observation (e.g. llmz context ID). Uniqueness is not enforced nor guaranteed.
|
|
2961
|
+
*/
|
|
2962
|
+
id?: string;
|
|
3237
2963
|
/**
|
|
3238
2964
|
* Name of the observation
|
|
3239
2965
|
*/
|
|
@@ -3316,11 +3042,6 @@ declare class Client$b {
|
|
|
3316
3042
|
readonly patchState: (input: PatchStateInput$1) => Promise<PatchStateResponse$1>;
|
|
3317
3043
|
readonly callAction: (input: CallActionInput$1) => Promise<CallActionResponse$1>;
|
|
3318
3044
|
readonly configureIntegration: (input: ConfigureIntegrationInput$1) => Promise<ConfigureIntegrationResponse$1>;
|
|
3319
|
-
readonly getTask: (input: GetTaskInput$1) => Promise<GetTaskResponse$1>;
|
|
3320
|
-
readonly createTask: (input: CreateTaskInput$1) => Promise<CreateTaskResponse$1>;
|
|
3321
|
-
readonly updateTask: (input: UpdateTaskInput$1) => Promise<UpdateTaskResponse$1>;
|
|
3322
|
-
readonly deleteTask: (input: DeleteTaskInput$1) => Promise<DeleteTaskResponse$1>;
|
|
3323
|
-
readonly listTasks: (input: ListTasksInput$1) => Promise<ListTasksResponse$1>;
|
|
3324
3045
|
readonly createWorkflow: (input: CreateWorkflowInput$1) => Promise<CreateWorkflowResponse$1>;
|
|
3325
3046
|
readonly getWorkflow: (input: GetWorkflowInput$1) => Promise<GetWorkflowResponse$1>;
|
|
3326
3047
|
readonly updateWorkflow: (input: UpdateWorkflowInput$1) => Promise<UpdateWorkflowResponse$1>;
|
|
@@ -3369,6 +3090,7 @@ declare class Client$a extends Client$b {
|
|
|
3369
3090
|
tags: {
|
|
3370
3091
|
[k: string]: string;
|
|
3371
3092
|
};
|
|
3093
|
+
messageCount: number;
|
|
3372
3094
|
}>;
|
|
3373
3095
|
participants: (props: {
|
|
3374
3096
|
id: string;
|
|
@@ -3381,6 +3103,9 @@ declare class Client$a extends Client$b {
|
|
|
3381
3103
|
};
|
|
3382
3104
|
name?: string;
|
|
3383
3105
|
pictureUrl?: string;
|
|
3106
|
+
properties?: {
|
|
3107
|
+
[k: string]: string;
|
|
3108
|
+
};
|
|
3384
3109
|
attributes?: {
|
|
3385
3110
|
[k: string]: string;
|
|
3386
3111
|
};
|
|
@@ -3447,36 +3172,10 @@ declare class Client$a extends Client$b {
|
|
|
3447
3172
|
};
|
|
3448
3173
|
name?: string;
|
|
3449
3174
|
pictureUrl?: string;
|
|
3450
|
-
|
|
3175
|
+
properties?: {
|
|
3451
3176
|
[k: string]: string;
|
|
3452
3177
|
};
|
|
3453
|
-
|
|
3454
|
-
tasks: (props: {
|
|
3455
|
-
status?: ("timeout" | "pending" | "failed" | "in_progress" | "completed" | "blocked" | "paused" | "cancelled")[] | undefined;
|
|
3456
|
-
tags?: {
|
|
3457
|
-
[x: string]: string;
|
|
3458
|
-
} | undefined;
|
|
3459
|
-
type?: string | undefined;
|
|
3460
|
-
userId?: string | undefined;
|
|
3461
|
-
conversationId?: string | undefined;
|
|
3462
|
-
parentTaskId?: string | undefined;
|
|
3463
|
-
}) => AsyncCollection<{
|
|
3464
|
-
id: string;
|
|
3465
|
-
title: string;
|
|
3466
|
-
description: string;
|
|
3467
|
-
type: string;
|
|
3468
|
-
data: {
|
|
3469
|
-
[k: string]: any;
|
|
3470
|
-
};
|
|
3471
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
3472
|
-
parentTaskId?: string;
|
|
3473
|
-
conversationId?: string;
|
|
3474
|
-
userId?: string;
|
|
3475
|
-
timeoutAt: string;
|
|
3476
|
-
createdAt: string;
|
|
3477
|
-
updatedAt: string;
|
|
3478
|
-
failureReason?: string;
|
|
3479
|
-
tags: {
|
|
3178
|
+
attributes?: {
|
|
3480
3179
|
[k: string]: string;
|
|
3481
3180
|
};
|
|
3482
3181
|
}>;
|
|
@@ -3772,6 +3471,12 @@ interface ListPublicIntegrationsResponse$1 {
|
|
|
3772
3471
|
*/
|
|
3773
3472
|
interfaces?: string[];
|
|
3774
3473
|
};
|
|
3474
|
+
/**
|
|
3475
|
+
* Optional key-value attributes from the integration definition
|
|
3476
|
+
*/
|
|
3477
|
+
attributes?: {
|
|
3478
|
+
[k: string]: string;
|
|
3479
|
+
};
|
|
3775
3480
|
}[];
|
|
3776
3481
|
meta: {
|
|
3777
3482
|
/**
|
|
@@ -4746,9 +4451,9 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4746
4451
|
states: {
|
|
4747
4452
|
[k: string]: {
|
|
4748
4453
|
/**
|
|
4749
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
4454
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
4750
4455
|
*/
|
|
4751
|
-
type: "conversation" | "user" | "bot"
|
|
4456
|
+
type: "conversation" | "user" | "bot";
|
|
4752
4457
|
/**
|
|
4753
4458
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4754
4459
|
*/
|
|
@@ -4874,6 +4579,26 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4874
4579
|
};
|
|
4875
4580
|
};
|
|
4876
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
|
+
};
|
|
4877
4602
|
/**
|
|
4878
4603
|
* Optional attributes
|
|
4879
4604
|
*/
|
|
@@ -4975,9 +4700,9 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
|
|
|
4975
4700
|
states: {
|
|
4976
4701
|
[k: string]: {
|
|
4977
4702
|
/**
|
|
4978
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
4703
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
4979
4704
|
*/
|
|
4980
|
-
type: "conversation" | "user" | "bot"
|
|
4705
|
+
type: "conversation" | "user" | "bot";
|
|
4981
4706
|
/**
|
|
4982
4707
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
4983
4708
|
*/
|
|
@@ -5103,6 +4828,26 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
|
|
|
5103
4828
|
};
|
|
5104
4829
|
};
|
|
5105
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
|
+
};
|
|
5106
4851
|
/**
|
|
5107
4852
|
* Optional attributes
|
|
5108
4853
|
*/
|
|
@@ -5196,9 +4941,9 @@ interface GetPublicPluginResponse$1 {
|
|
|
5196
4941
|
states: {
|
|
5197
4942
|
[k: string]: {
|
|
5198
4943
|
/**
|
|
5199
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
4944
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
5200
4945
|
*/
|
|
5201
|
-
type: "conversation" | "user" | "bot"
|
|
4946
|
+
type: "conversation" | "user" | "bot";
|
|
5202
4947
|
/**
|
|
5203
4948
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
5204
4949
|
*/
|
|
@@ -5324,6 +5069,26 @@ interface GetPublicPluginResponse$1 {
|
|
|
5324
5069
|
};
|
|
5325
5070
|
};
|
|
5326
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
|
+
};
|
|
5327
5092
|
/**
|
|
5328
5093
|
* Optional attributes
|
|
5329
5094
|
*/
|
|
@@ -5784,9 +5549,9 @@ interface CreateBotRequestBody$1 {
|
|
|
5784
5549
|
states?: {
|
|
5785
5550
|
[k: string]: {
|
|
5786
5551
|
/**
|
|
5787
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
5552
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
5788
5553
|
*/
|
|
5789
|
-
type: "conversation" | "user" | "bot"
|
|
5554
|
+
type: "conversation" | "user" | "bot";
|
|
5790
5555
|
/**
|
|
5791
5556
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
5792
5557
|
*/
|
|
@@ -6222,9 +5987,9 @@ interface CreateBotResponse$1 {
|
|
|
6222
5987
|
states: {
|
|
6223
5988
|
[k: string]: {
|
|
6224
5989
|
/**
|
|
6225
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
5990
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
6226
5991
|
*/
|
|
6227
|
-
type: "conversation" | "user" | "bot"
|
|
5992
|
+
type: "conversation" | "user" | "bot";
|
|
6228
5993
|
/**
|
|
6229
5994
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
6230
5995
|
*/
|
|
@@ -6550,9 +6315,9 @@ interface UpdateBotRequestBody$1 {
|
|
|
6550
6315
|
states?: {
|
|
6551
6316
|
[k: string]: {
|
|
6552
6317
|
/**
|
|
6553
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
6318
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
6554
6319
|
*/
|
|
6555
|
-
type: "conversation" | "user" | "bot"
|
|
6320
|
+
type: "conversation" | "user" | "bot";
|
|
6556
6321
|
/**
|
|
6557
6322
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
6558
6323
|
*/
|
|
@@ -6902,9 +6667,9 @@ interface UpdateBotResponse$1 {
|
|
|
6902
6667
|
states: {
|
|
6903
6668
|
[k: string]: {
|
|
6904
6669
|
/**
|
|
6905
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
6670
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
6906
6671
|
*/
|
|
6907
|
-
type: "conversation" | "user" | "bot"
|
|
6672
|
+
type: "conversation" | "user" | "bot";
|
|
6908
6673
|
/**
|
|
6909
6674
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
6910
6675
|
*/
|
|
@@ -7410,9 +7175,9 @@ interface GetBotResponse$1 {
|
|
|
7410
7175
|
states: {
|
|
7411
7176
|
[k: string]: {
|
|
7412
7177
|
/**
|
|
7413
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
7178
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
7414
7179
|
*/
|
|
7415
|
-
type: "conversation" | "user" | "bot"
|
|
7180
|
+
type: "conversation" | "user" | "bot";
|
|
7416
7181
|
/**
|
|
7417
7182
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
7418
7183
|
*/
|
|
@@ -11135,6 +10900,12 @@ interface ListIntegrationsResponse$1 {
|
|
|
11135
10900
|
handle: string | null;
|
|
11136
10901
|
name: string;
|
|
11137
10902
|
};
|
|
10903
|
+
/**
|
|
10904
|
+
* Optional key-value attributes from the integration definition
|
|
10905
|
+
*/
|
|
10906
|
+
attributes?: {
|
|
10907
|
+
[k: string]: string;
|
|
10908
|
+
};
|
|
11138
10909
|
}[];
|
|
11139
10910
|
meta: {
|
|
11140
10911
|
/**
|
|
@@ -13057,9 +12828,9 @@ interface CreatePluginRequestBody$1 {
|
|
|
13057
12828
|
states?: {
|
|
13058
12829
|
[k: string]: {
|
|
13059
12830
|
/**
|
|
13060
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
12831
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
13061
12832
|
*/
|
|
13062
|
-
type: "conversation" | "user" | "bot"
|
|
12833
|
+
type: "conversation" | "user" | "bot";
|
|
13063
12834
|
/**
|
|
13064
12835
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
13065
12836
|
*/
|
|
@@ -13169,6 +12940,26 @@ interface CreatePluginRequestBody$1 {
|
|
|
13169
12940
|
};
|
|
13170
12941
|
};
|
|
13171
12942
|
};
|
|
12943
|
+
/**
|
|
12944
|
+
* Message object configuration
|
|
12945
|
+
*/
|
|
12946
|
+
message?: {
|
|
12947
|
+
tags: {
|
|
12948
|
+
/**
|
|
12949
|
+
* Definition of a tag that can be provided on the object
|
|
12950
|
+
*/
|
|
12951
|
+
[k: string]: {
|
|
12952
|
+
/**
|
|
12953
|
+
* Title of the tag
|
|
12954
|
+
*/
|
|
12955
|
+
title?: string;
|
|
12956
|
+
/**
|
|
12957
|
+
* Description of the tag
|
|
12958
|
+
*/
|
|
12959
|
+
description?: string;
|
|
12960
|
+
};
|
|
12961
|
+
};
|
|
12962
|
+
};
|
|
13172
12963
|
/**
|
|
13173
12964
|
* Optional attributes
|
|
13174
12965
|
*/
|
|
@@ -13297,9 +13088,9 @@ interface CreatePluginResponse$1 {
|
|
|
13297
13088
|
states: {
|
|
13298
13089
|
[k: string]: {
|
|
13299
13090
|
/**
|
|
13300
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
13091
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
13301
13092
|
*/
|
|
13302
|
-
type: "conversation" | "user" | "bot"
|
|
13093
|
+
type: "conversation" | "user" | "bot";
|
|
13303
13094
|
/**
|
|
13304
13095
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
13305
13096
|
*/
|
|
@@ -13425,6 +13216,26 @@ interface CreatePluginResponse$1 {
|
|
|
13425
13216
|
};
|
|
13426
13217
|
};
|
|
13427
13218
|
};
|
|
13219
|
+
/**
|
|
13220
|
+
* Message object configuration
|
|
13221
|
+
*/
|
|
13222
|
+
message: {
|
|
13223
|
+
tags: {
|
|
13224
|
+
/**
|
|
13225
|
+
* Definition of a tag that can be provided on the object
|
|
13226
|
+
*/
|
|
13227
|
+
[k: string]: {
|
|
13228
|
+
/**
|
|
13229
|
+
* Title of the tag
|
|
13230
|
+
*/
|
|
13231
|
+
title?: string;
|
|
13232
|
+
/**
|
|
13233
|
+
* Description of the tag
|
|
13234
|
+
*/
|
|
13235
|
+
description?: string;
|
|
13236
|
+
};
|
|
13237
|
+
};
|
|
13238
|
+
};
|
|
13428
13239
|
/**
|
|
13429
13240
|
* Optional attributes
|
|
13430
13241
|
*/
|
|
@@ -13517,9 +13328,9 @@ interface GetPluginResponse$1 {
|
|
|
13517
13328
|
states: {
|
|
13518
13329
|
[k: string]: {
|
|
13519
13330
|
/**
|
|
13520
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
13331
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
13521
13332
|
*/
|
|
13522
|
-
type: "conversation" | "user" | "bot"
|
|
13333
|
+
type: "conversation" | "user" | "bot";
|
|
13523
13334
|
/**
|
|
13524
13335
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
13525
13336
|
*/
|
|
@@ -13645,6 +13456,26 @@ interface GetPluginResponse$1 {
|
|
|
13645
13456
|
};
|
|
13646
13457
|
};
|
|
13647
13458
|
};
|
|
13459
|
+
/**
|
|
13460
|
+
* Message object configuration
|
|
13461
|
+
*/
|
|
13462
|
+
message: {
|
|
13463
|
+
tags: {
|
|
13464
|
+
/**
|
|
13465
|
+
* Definition of a tag that can be provided on the object
|
|
13466
|
+
*/
|
|
13467
|
+
[k: string]: {
|
|
13468
|
+
/**
|
|
13469
|
+
* Title of the tag
|
|
13470
|
+
*/
|
|
13471
|
+
title?: string;
|
|
13472
|
+
/**
|
|
13473
|
+
* Description of the tag
|
|
13474
|
+
*/
|
|
13475
|
+
description?: string;
|
|
13476
|
+
};
|
|
13477
|
+
};
|
|
13478
|
+
};
|
|
13648
13479
|
/**
|
|
13649
13480
|
* Optional attributes
|
|
13650
13481
|
*/
|
|
@@ -13746,9 +13577,9 @@ interface GetDereferencedPluginResponse$1 {
|
|
|
13746
13577
|
states: {
|
|
13747
13578
|
[k: string]: {
|
|
13748
13579
|
/**
|
|
13749
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
13580
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
13750
13581
|
*/
|
|
13751
|
-
type: "conversation" | "user" | "bot"
|
|
13582
|
+
type: "conversation" | "user" | "bot";
|
|
13752
13583
|
/**
|
|
13753
13584
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
13754
13585
|
*/
|
|
@@ -13874,6 +13705,26 @@ interface GetDereferencedPluginResponse$1 {
|
|
|
13874
13705
|
};
|
|
13875
13706
|
};
|
|
13876
13707
|
};
|
|
13708
|
+
/**
|
|
13709
|
+
* Message object configuration
|
|
13710
|
+
*/
|
|
13711
|
+
message: {
|
|
13712
|
+
tags: {
|
|
13713
|
+
/**
|
|
13714
|
+
* Definition of a tag that can be provided on the object
|
|
13715
|
+
*/
|
|
13716
|
+
[k: string]: {
|
|
13717
|
+
/**
|
|
13718
|
+
* Title of the tag
|
|
13719
|
+
*/
|
|
13720
|
+
title?: string;
|
|
13721
|
+
/**
|
|
13722
|
+
* Description of the tag
|
|
13723
|
+
*/
|
|
13724
|
+
description?: string;
|
|
13725
|
+
};
|
|
13726
|
+
};
|
|
13727
|
+
};
|
|
13877
13728
|
/**
|
|
13878
13729
|
* Optional attributes
|
|
13879
13730
|
*/
|
|
@@ -13967,9 +13818,9 @@ interface GetPluginByNameResponse$1 {
|
|
|
13967
13818
|
states: {
|
|
13968
13819
|
[k: string]: {
|
|
13969
13820
|
/**
|
|
13970
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
13821
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
13971
13822
|
*/
|
|
13972
|
-
type: "conversation" | "user" | "bot"
|
|
13823
|
+
type: "conversation" | "user" | "bot";
|
|
13973
13824
|
/**
|
|
13974
13825
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
13975
13826
|
*/
|
|
@@ -14095,6 +13946,26 @@ interface GetPluginByNameResponse$1 {
|
|
|
14095
13946
|
};
|
|
14096
13947
|
};
|
|
14097
13948
|
};
|
|
13949
|
+
/**
|
|
13950
|
+
* Message object configuration
|
|
13951
|
+
*/
|
|
13952
|
+
message: {
|
|
13953
|
+
tags: {
|
|
13954
|
+
/**
|
|
13955
|
+
* Definition of a tag that can be provided on the object
|
|
13956
|
+
*/
|
|
13957
|
+
[k: string]: {
|
|
13958
|
+
/**
|
|
13959
|
+
* Title of the tag
|
|
13960
|
+
*/
|
|
13961
|
+
title?: string;
|
|
13962
|
+
/**
|
|
13963
|
+
* Description of the tag
|
|
13964
|
+
*/
|
|
13965
|
+
description?: string;
|
|
13966
|
+
};
|
|
13967
|
+
};
|
|
13968
|
+
};
|
|
14098
13969
|
/**
|
|
14099
13970
|
* Optional attributes
|
|
14100
13971
|
*/
|
|
@@ -14163,9 +14034,9 @@ interface UpdatePluginRequestBody$1 {
|
|
|
14163
14034
|
states?: {
|
|
14164
14035
|
[k: string]: {
|
|
14165
14036
|
/**
|
|
14166
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
14037
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
14167
14038
|
*/
|
|
14168
|
-
type: "conversation" | "user" | "bot"
|
|
14039
|
+
type: "conversation" | "user" | "bot";
|
|
14169
14040
|
/**
|
|
14170
14041
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
14171
14042
|
*/
|
|
@@ -14263,6 +14134,23 @@ interface UpdatePluginRequestBody$1 {
|
|
|
14263
14134
|
} | null;
|
|
14264
14135
|
};
|
|
14265
14136
|
};
|
|
14137
|
+
message?: {
|
|
14138
|
+
tags: {
|
|
14139
|
+
/**
|
|
14140
|
+
* Definition of a tag that can be provided on the object
|
|
14141
|
+
*/
|
|
14142
|
+
[k: string]: {
|
|
14143
|
+
/**
|
|
14144
|
+
* Title of the tag
|
|
14145
|
+
*/
|
|
14146
|
+
title?: string;
|
|
14147
|
+
/**
|
|
14148
|
+
* Description of the tag
|
|
14149
|
+
*/
|
|
14150
|
+
description?: string;
|
|
14151
|
+
} | null;
|
|
14152
|
+
};
|
|
14153
|
+
};
|
|
14266
14154
|
/**
|
|
14267
14155
|
* Optional attributes. Set attributes to null to remove them
|
|
14268
14156
|
*/
|
|
@@ -14391,9 +14279,9 @@ interface UpdatePluginResponse$1 {
|
|
|
14391
14279
|
states: {
|
|
14392
14280
|
[k: string]: {
|
|
14393
14281
|
/**
|
|
14394
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
14282
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
14395
14283
|
*/
|
|
14396
|
-
type: "conversation" | "user" | "bot"
|
|
14284
|
+
type: "conversation" | "user" | "bot";
|
|
14397
14285
|
/**
|
|
14398
14286
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
14399
14287
|
*/
|
|
@@ -14519,6 +14407,26 @@ interface UpdatePluginResponse$1 {
|
|
|
14519
14407
|
};
|
|
14520
14408
|
};
|
|
14521
14409
|
};
|
|
14410
|
+
/**
|
|
14411
|
+
* Message object configuration
|
|
14412
|
+
*/
|
|
14413
|
+
message: {
|
|
14414
|
+
tags: {
|
|
14415
|
+
/**
|
|
14416
|
+
* Definition of a tag that can be provided on the object
|
|
14417
|
+
*/
|
|
14418
|
+
[k: string]: {
|
|
14419
|
+
/**
|
|
14420
|
+
* Title of the tag
|
|
14421
|
+
*/
|
|
14422
|
+
title?: string;
|
|
14423
|
+
/**
|
|
14424
|
+
* Description of the tag
|
|
14425
|
+
*/
|
|
14426
|
+
description?: string;
|
|
14427
|
+
};
|
|
14428
|
+
};
|
|
14429
|
+
};
|
|
14522
14430
|
/**
|
|
14523
14431
|
* Optional attributes
|
|
14524
14432
|
*/
|
|
@@ -15062,6 +14970,9 @@ declare class Client$8 extends Client$9 {
|
|
|
15062
14970
|
actions?: string[];
|
|
15063
14971
|
interfaces?: string[];
|
|
15064
14972
|
};
|
|
14973
|
+
attributes?: {
|
|
14974
|
+
[k: string]: string;
|
|
14975
|
+
};
|
|
15065
14976
|
}>;
|
|
15066
14977
|
bots: (props: {
|
|
15067
14978
|
tags?: {
|
|
@@ -15153,6 +15064,9 @@ declare class Client$8 extends Client$9 {
|
|
|
15153
15064
|
handle: string | null;
|
|
15154
15065
|
name: string;
|
|
15155
15066
|
};
|
|
15067
|
+
attributes?: {
|
|
15068
|
+
[k: string]: string;
|
|
15069
|
+
};
|
|
15156
15070
|
}>;
|
|
15157
15071
|
interfaces: (props: {
|
|
15158
15072
|
name?: string | undefined;
|
|
@@ -15259,12 +15173,12 @@ interface GetBillingAddressRequestBody {
|
|
|
15259
15173
|
type GetBillingAddressInput = GetBillingAddressRequestBody & GetBillingAddressRequestHeaders & GetBillingAddressRequestQuery & GetBillingAddressRequestParams;
|
|
15260
15174
|
interface GetBillingAddressResponse {
|
|
15261
15175
|
address: {
|
|
15262
|
-
lineOne
|
|
15176
|
+
lineOne: string;
|
|
15263
15177
|
lineTwo?: string;
|
|
15264
|
-
city
|
|
15178
|
+
city: string;
|
|
15265
15179
|
state?: string;
|
|
15266
|
-
postalCode
|
|
15267
|
-
country
|
|
15180
|
+
postalCode: string;
|
|
15181
|
+
country: string;
|
|
15268
15182
|
} | null;
|
|
15269
15183
|
}
|
|
15270
15184
|
|
|
@@ -15275,12 +15189,12 @@ interface SetBillingAddressRequestQuery {
|
|
|
15275
15189
|
interface SetBillingAddressRequestParams {
|
|
15276
15190
|
}
|
|
15277
15191
|
interface SetBillingAddressRequestBody {
|
|
15278
|
-
lineOne
|
|
15192
|
+
lineOne: string;
|
|
15279
15193
|
lineTwo?: string;
|
|
15280
|
-
city
|
|
15194
|
+
city: string;
|
|
15281
15195
|
state?: string;
|
|
15282
|
-
postalCode
|
|
15283
|
-
country
|
|
15196
|
+
postalCode: string;
|
|
15197
|
+
country: string;
|
|
15284
15198
|
}
|
|
15285
15199
|
type SetBillingAddressInput = SetBillingAddressRequestBody & SetBillingAddressRequestHeaders & SetBillingAddressRequestQuery & SetBillingAddressRequestParams;
|
|
15286
15200
|
interface SetBillingAddressResponse {
|
|
@@ -15476,6 +15390,7 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15476
15390
|
[k: string]: {
|
|
15477
15391
|
quantity: number;
|
|
15478
15392
|
effectiveDate: string;
|
|
15393
|
+
autoAdjusted?: boolean;
|
|
15479
15394
|
};
|
|
15480
15395
|
};
|
|
15481
15396
|
};
|
|
@@ -18097,9 +18012,13 @@ interface DuplicateTableResponse$1 {
|
|
|
18097
18012
|
updatedAt?: string;
|
|
18098
18013
|
};
|
|
18099
18014
|
/**
|
|
18100
|
-
* The total number of rows present in the table.
|
|
18015
|
+
* The total number of rows present in the source table.
|
|
18101
18016
|
*/
|
|
18102
18017
|
rows: number;
|
|
18018
|
+
job?: {
|
|
18019
|
+
id: string;
|
|
18020
|
+
status: string;
|
|
18021
|
+
};
|
|
18103
18022
|
}
|
|
18104
18023
|
|
|
18105
18024
|
interface ExportTableRequestHeaders$1 {
|
|
@@ -18119,7 +18038,7 @@ interface ExportTableResponse$1 {
|
|
|
18119
18038
|
id: string;
|
|
18120
18039
|
botId: string;
|
|
18121
18040
|
tableId: string;
|
|
18122
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18041
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
18123
18042
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
18124
18043
|
progress?: number;
|
|
18125
18044
|
inputFileId: string | null;
|
|
@@ -18144,7 +18063,7 @@ interface GetTableJobsResponse$1 {
|
|
|
18144
18063
|
id: string;
|
|
18145
18064
|
botId: string;
|
|
18146
18065
|
tableId: string;
|
|
18147
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18066
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
18148
18067
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
18149
18068
|
progress?: number;
|
|
18150
18069
|
inputFileId: string | null;
|
|
@@ -18173,7 +18092,7 @@ interface ImportTableResponse$1 {
|
|
|
18173
18092
|
id: string;
|
|
18174
18093
|
botId: string;
|
|
18175
18094
|
tableId: string;
|
|
18176
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
18095
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
18177
18096
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
18178
18097
|
progress?: number;
|
|
18179
18098
|
inputFileId: string | null;
|
|
@@ -18749,7 +18668,7 @@ interface DeleteTableRowsRequestBody$1 {
|
|
|
18749
18668
|
*/
|
|
18750
18669
|
ids?: number[];
|
|
18751
18670
|
/**
|
|
18752
|
-
* Filter to apply when deleting rows. Example: \{ "
|
|
18671
|
+
* 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" \} \}
|
|
18753
18672
|
*/
|
|
18754
18673
|
filter?: {
|
|
18755
18674
|
[k: string]: any;
|
|
@@ -18762,6 +18681,10 @@ interface DeleteTableRowsRequestBody$1 {
|
|
|
18762
18681
|
type DeleteTableRowsInput$1 = DeleteTableRowsRequestBody$1 & DeleteTableRowsRequestHeaders$1 & DeleteTableRowsRequestQuery$1 & DeleteTableRowsRequestParams$1;
|
|
18763
18682
|
interface DeleteTableRowsResponse$1 {
|
|
18764
18683
|
deletedRows: number;
|
|
18684
|
+
job?: {
|
|
18685
|
+
id: string;
|
|
18686
|
+
status: string;
|
|
18687
|
+
};
|
|
18765
18688
|
}
|
|
18766
18689
|
|
|
18767
18690
|
interface UpdateTableRowsRequestHeaders$1 {
|
|
@@ -19026,7 +18949,8 @@ interface CreateConversationResponse {
|
|
|
19026
18949
|
*/
|
|
19027
18950
|
id: string;
|
|
19028
18951
|
/**
|
|
19029
|
-
*
|
|
18952
|
+
* @deprecated
|
|
18953
|
+
* Unused. This field will be removed in the future.
|
|
19030
18954
|
*/
|
|
19031
18955
|
currentTaskId?: string;
|
|
19032
18956
|
/**
|
|
@@ -19055,6 +18979,10 @@ interface CreateConversationResponse {
|
|
|
19055
18979
|
tags: {
|
|
19056
18980
|
[k: string]: string;
|
|
19057
18981
|
};
|
|
18982
|
+
/**
|
|
18983
|
+
* Number of messages in the conversation
|
|
18984
|
+
*/
|
|
18985
|
+
messageCount: number;
|
|
19058
18986
|
};
|
|
19059
18987
|
}
|
|
19060
18988
|
|
|
@@ -19078,7 +19006,8 @@ interface GetConversationResponse {
|
|
|
19078
19006
|
*/
|
|
19079
19007
|
id: string;
|
|
19080
19008
|
/**
|
|
19081
|
-
*
|
|
19009
|
+
* @deprecated
|
|
19010
|
+
* Unused. This field will be removed in the future.
|
|
19082
19011
|
*/
|
|
19083
19012
|
currentTaskId?: string;
|
|
19084
19013
|
/**
|
|
@@ -19107,6 +19036,10 @@ interface GetConversationResponse {
|
|
|
19107
19036
|
tags: {
|
|
19108
19037
|
[k: string]: string;
|
|
19109
19038
|
};
|
|
19039
|
+
/**
|
|
19040
|
+
* Number of messages in the conversation
|
|
19041
|
+
*/
|
|
19042
|
+
messageCount: number;
|
|
19110
19043
|
};
|
|
19111
19044
|
}
|
|
19112
19045
|
|
|
@@ -19137,7 +19070,8 @@ interface ListConversationsResponse {
|
|
|
19137
19070
|
*/
|
|
19138
19071
|
id: string;
|
|
19139
19072
|
/**
|
|
19140
|
-
*
|
|
19073
|
+
* @deprecated
|
|
19074
|
+
* Unused. This field will be removed in the future.
|
|
19141
19075
|
*/
|
|
19142
19076
|
currentTaskId?: string;
|
|
19143
19077
|
/**
|
|
@@ -19166,6 +19100,10 @@ interface ListConversationsResponse {
|
|
|
19166
19100
|
tags: {
|
|
19167
19101
|
[k: string]: string;
|
|
19168
19102
|
};
|
|
19103
|
+
/**
|
|
19104
|
+
* Number of messages in the conversation
|
|
19105
|
+
*/
|
|
19106
|
+
messageCount: number;
|
|
19169
19107
|
}[];
|
|
19170
19108
|
meta: {
|
|
19171
19109
|
/**
|
|
@@ -19213,7 +19151,8 @@ interface GetOrCreateConversationResponse {
|
|
|
19213
19151
|
*/
|
|
19214
19152
|
id: string;
|
|
19215
19153
|
/**
|
|
19216
|
-
*
|
|
19154
|
+
* @deprecated
|
|
19155
|
+
* Unused. This field will be removed in the future.
|
|
19217
19156
|
*/
|
|
19218
19157
|
currentTaskId?: string;
|
|
19219
19158
|
/**
|
|
@@ -19242,6 +19181,13 @@ interface GetOrCreateConversationResponse {
|
|
|
19242
19181
|
tags: {
|
|
19243
19182
|
[k: string]: string;
|
|
19244
19183
|
};
|
|
19184
|
+
/**
|
|
19185
|
+
* Number of messages in the conversation
|
|
19186
|
+
*/
|
|
19187
|
+
messageCount: number;
|
|
19188
|
+
};
|
|
19189
|
+
meta: {
|
|
19190
|
+
created: boolean;
|
|
19245
19191
|
};
|
|
19246
19192
|
}
|
|
19247
19193
|
|
|
@@ -19253,6 +19199,10 @@ interface UpdateConversationRequestParams {
|
|
|
19253
19199
|
id: string;
|
|
19254
19200
|
}
|
|
19255
19201
|
interface UpdateConversationRequestBody {
|
|
19202
|
+
/**
|
|
19203
|
+
* @deprecated
|
|
19204
|
+
* Unused. This parameter will be ignored if provided and should not be used when updating a conversation.
|
|
19205
|
+
*/
|
|
19256
19206
|
currentTaskId?: string;
|
|
19257
19207
|
/**
|
|
19258
19208
|
* Tags for the [Conversation](#schema_conversation)
|
|
@@ -19272,7 +19222,8 @@ interface UpdateConversationResponse {
|
|
|
19272
19222
|
*/
|
|
19273
19223
|
id: string;
|
|
19274
19224
|
/**
|
|
19275
|
-
*
|
|
19225
|
+
* @deprecated
|
|
19226
|
+
* Unused. This field will be removed in the future.
|
|
19276
19227
|
*/
|
|
19277
19228
|
currentTaskId?: string;
|
|
19278
19229
|
/**
|
|
@@ -19301,6 +19252,10 @@ interface UpdateConversationResponse {
|
|
|
19301
19252
|
tags: {
|
|
19302
19253
|
[k: string]: string;
|
|
19303
19254
|
};
|
|
19255
|
+
/**
|
|
19256
|
+
* Number of messages in the conversation
|
|
19257
|
+
*/
|
|
19258
|
+
messageCount: number;
|
|
19304
19259
|
};
|
|
19305
19260
|
}
|
|
19306
19261
|
|
|
@@ -19356,6 +19311,12 @@ interface ListParticipantsResponse {
|
|
|
19356
19311
|
* Picture URL of the [User](#schema_user)
|
|
19357
19312
|
*/
|
|
19358
19313
|
pictureUrl?: string;
|
|
19314
|
+
/**
|
|
19315
|
+
* Optional properties
|
|
19316
|
+
*/
|
|
19317
|
+
properties?: {
|
|
19318
|
+
[k: string]: string;
|
|
19319
|
+
};
|
|
19359
19320
|
/**
|
|
19360
19321
|
* Optional attributes
|
|
19361
19322
|
*/
|
|
@@ -19416,6 +19377,12 @@ interface AddParticipantResponse {
|
|
|
19416
19377
|
* Picture URL of the [User](#schema_user)
|
|
19417
19378
|
*/
|
|
19418
19379
|
pictureUrl?: string;
|
|
19380
|
+
/**
|
|
19381
|
+
* Optional properties
|
|
19382
|
+
*/
|
|
19383
|
+
properties?: {
|
|
19384
|
+
[k: string]: string;
|
|
19385
|
+
};
|
|
19419
19386
|
/**
|
|
19420
19387
|
* Optional attributes
|
|
19421
19388
|
*/
|
|
@@ -19467,6 +19434,12 @@ interface GetParticipantResponse {
|
|
|
19467
19434
|
* Picture URL of the [User](#schema_user)
|
|
19468
19435
|
*/
|
|
19469
19436
|
pictureUrl?: string;
|
|
19437
|
+
/**
|
|
19438
|
+
* Optional properties
|
|
19439
|
+
*/
|
|
19440
|
+
properties?: {
|
|
19441
|
+
[k: string]: string;
|
|
19442
|
+
};
|
|
19470
19443
|
/**
|
|
19471
19444
|
* Optional attributes
|
|
19472
19445
|
*/
|
|
@@ -19818,7 +19791,7 @@ interface GetOrCreateMessageRequestBody {
|
|
|
19818
19791
|
/**
|
|
19819
19792
|
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
19820
19793
|
*/
|
|
19821
|
-
payload
|
|
19794
|
+
payload?: {
|
|
19822
19795
|
[k: string]: any;
|
|
19823
19796
|
};
|
|
19824
19797
|
/**
|
|
@@ -19909,6 +19882,9 @@ interface GetOrCreateMessageResponse {
|
|
|
19909
19882
|
*/
|
|
19910
19883
|
origin?: "synthetic";
|
|
19911
19884
|
};
|
|
19885
|
+
meta: {
|
|
19886
|
+
created: boolean;
|
|
19887
|
+
};
|
|
19912
19888
|
}
|
|
19913
19889
|
|
|
19914
19890
|
interface GetMessageRequestHeaders {
|
|
@@ -20160,7 +20136,14 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
20160
20136
|
*/
|
|
20161
20137
|
pictureUrl?: string;
|
|
20162
20138
|
/**
|
|
20163
|
-
* Optional
|
|
20139
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20140
|
+
*/
|
|
20141
|
+
properties?: {
|
|
20142
|
+
[k: string]: string;
|
|
20143
|
+
};
|
|
20144
|
+
/**
|
|
20145
|
+
* @deprecated
|
|
20146
|
+
* DEPRECATED - Use properties instead.
|
|
20164
20147
|
*/
|
|
20165
20148
|
attributes?: {
|
|
20166
20149
|
[k: string]: string;
|
|
@@ -20248,6 +20231,12 @@ interface InitializeIncomingMessageResponse {
|
|
|
20248
20231
|
* Picture URL of the [User](#schema_user)
|
|
20249
20232
|
*/
|
|
20250
20233
|
pictureUrl?: string;
|
|
20234
|
+
/**
|
|
20235
|
+
* Optional properties
|
|
20236
|
+
*/
|
|
20237
|
+
properties?: {
|
|
20238
|
+
[k: string]: string;
|
|
20239
|
+
};
|
|
20251
20240
|
/**
|
|
20252
20241
|
* Optional attributes
|
|
20253
20242
|
*/
|
|
@@ -20264,7 +20253,8 @@ interface InitializeIncomingMessageResponse {
|
|
|
20264
20253
|
*/
|
|
20265
20254
|
id: string;
|
|
20266
20255
|
/**
|
|
20267
|
-
*
|
|
20256
|
+
* @deprecated
|
|
20257
|
+
* Unused. This field will be removed in the future.
|
|
20268
20258
|
*/
|
|
20269
20259
|
currentTaskId?: string;
|
|
20270
20260
|
/**
|
|
@@ -20293,6 +20283,10 @@ interface InitializeIncomingMessageResponse {
|
|
|
20293
20283
|
tags: {
|
|
20294
20284
|
[k: string]: string;
|
|
20295
20285
|
};
|
|
20286
|
+
/**
|
|
20287
|
+
* Number of messages in the conversation
|
|
20288
|
+
*/
|
|
20289
|
+
messageCount: number;
|
|
20296
20290
|
};
|
|
20297
20291
|
/**
|
|
20298
20292
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -20467,7 +20461,14 @@ interface CreateUserRequestBody {
|
|
|
20467
20461
|
*/
|
|
20468
20462
|
pictureUrl?: string;
|
|
20469
20463
|
/**
|
|
20470
|
-
* Optional
|
|
20464
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20465
|
+
*/
|
|
20466
|
+
properties?: {
|
|
20467
|
+
[k: string]: string;
|
|
20468
|
+
};
|
|
20469
|
+
/**
|
|
20470
|
+
* @deprecated
|
|
20471
|
+
* DEPRECATED - Use properties instead.
|
|
20471
20472
|
*/
|
|
20472
20473
|
attributes?: {
|
|
20473
20474
|
[k: string]: string;
|
|
@@ -20505,6 +20506,12 @@ interface CreateUserResponse {
|
|
|
20505
20506
|
* Picture URL of the [User](#schema_user)
|
|
20506
20507
|
*/
|
|
20507
20508
|
pictureUrl?: string;
|
|
20509
|
+
/**
|
|
20510
|
+
* Optional properties
|
|
20511
|
+
*/
|
|
20512
|
+
properties?: {
|
|
20513
|
+
[k: string]: string;
|
|
20514
|
+
};
|
|
20508
20515
|
/**
|
|
20509
20516
|
* Optional attributes
|
|
20510
20517
|
*/
|
|
@@ -20555,6 +20562,12 @@ interface GetUserResponse {
|
|
|
20555
20562
|
* Picture URL of the [User](#schema_user)
|
|
20556
20563
|
*/
|
|
20557
20564
|
pictureUrl?: string;
|
|
20565
|
+
/**
|
|
20566
|
+
* Optional properties
|
|
20567
|
+
*/
|
|
20568
|
+
properties?: {
|
|
20569
|
+
[k: string]: string;
|
|
20570
|
+
};
|
|
20558
20571
|
/**
|
|
20559
20572
|
* Optional attributes
|
|
20560
20573
|
*/
|
|
@@ -20611,6 +20624,12 @@ interface ListUsersResponse {
|
|
|
20611
20624
|
* Picture URL of the [User](#schema_user)
|
|
20612
20625
|
*/
|
|
20613
20626
|
pictureUrl?: string;
|
|
20627
|
+
/**
|
|
20628
|
+
* Optional properties
|
|
20629
|
+
*/
|
|
20630
|
+
properties?: {
|
|
20631
|
+
[k: string]: string;
|
|
20632
|
+
};
|
|
20614
20633
|
/**
|
|
20615
20634
|
* Optional attributes
|
|
20616
20635
|
*/
|
|
@@ -20653,7 +20672,14 @@ interface GetOrCreateUserRequestBody {
|
|
|
20653
20672
|
*/
|
|
20654
20673
|
pictureUrl?: string;
|
|
20655
20674
|
/**
|
|
20656
|
-
* Optional
|
|
20675
|
+
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20676
|
+
*/
|
|
20677
|
+
properties?: {
|
|
20678
|
+
[k: string]: string;
|
|
20679
|
+
};
|
|
20680
|
+
/**
|
|
20681
|
+
* @deprecated
|
|
20682
|
+
* DEPRECATED - Use properties instead.
|
|
20657
20683
|
*/
|
|
20658
20684
|
attributes?: {
|
|
20659
20685
|
[k: string]: string;
|
|
@@ -20695,6 +20721,12 @@ interface GetOrCreateUserResponse {
|
|
|
20695
20721
|
* Picture URL of the [User](#schema_user)
|
|
20696
20722
|
*/
|
|
20697
20723
|
pictureUrl?: string;
|
|
20724
|
+
/**
|
|
20725
|
+
* Optional properties
|
|
20726
|
+
*/
|
|
20727
|
+
properties?: {
|
|
20728
|
+
[k: string]: string;
|
|
20729
|
+
};
|
|
20698
20730
|
/**
|
|
20699
20731
|
* Optional attributes
|
|
20700
20732
|
*/
|
|
@@ -20702,6 +20734,9 @@ interface GetOrCreateUserResponse {
|
|
|
20702
20734
|
[k: string]: string;
|
|
20703
20735
|
};
|
|
20704
20736
|
};
|
|
20737
|
+
meta: {
|
|
20738
|
+
created: boolean;
|
|
20739
|
+
};
|
|
20705
20740
|
}
|
|
20706
20741
|
|
|
20707
20742
|
interface UpdateUserRequestHeaders {
|
|
@@ -20727,11 +20762,18 @@ interface UpdateUserRequestBody {
|
|
|
20727
20762
|
*/
|
|
20728
20763
|
pictureUrl?: string | null;
|
|
20729
20764
|
/**
|
|
20730
|
-
*
|
|
20765
|
+
* @deprecated
|
|
20766
|
+
* DEPRECATED - Use properties instead.
|
|
20731
20767
|
*/
|
|
20732
20768
|
attributes?: {
|
|
20733
20769
|
[k: string]: string | null;
|
|
20734
20770
|
};
|
|
20771
|
+
/**
|
|
20772
|
+
* 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.
|
|
20773
|
+
*/
|
|
20774
|
+
properties?: {
|
|
20775
|
+
[k: string]: string | null;
|
|
20776
|
+
};
|
|
20735
20777
|
}
|
|
20736
20778
|
type UpdateUserInput = UpdateUserRequestBody & UpdateUserRequestHeaders & UpdateUserRequestQuery & UpdateUserRequestParams;
|
|
20737
20779
|
interface UpdateUserResponse {
|
|
@@ -20765,6 +20807,12 @@ interface UpdateUserResponse {
|
|
|
20765
20807
|
* Picture URL of the [User](#schema_user)
|
|
20766
20808
|
*/
|
|
20767
20809
|
pictureUrl?: string;
|
|
20810
|
+
/**
|
|
20811
|
+
* Optional properties
|
|
20812
|
+
*/
|
|
20813
|
+
properties?: {
|
|
20814
|
+
[k: string]: string;
|
|
20815
|
+
};
|
|
20768
20816
|
/**
|
|
20769
20817
|
* Optional attributes
|
|
20770
20818
|
*/
|
|
@@ -20792,7 +20840,7 @@ interface SetStateExpiryRequestHeaders {
|
|
|
20792
20840
|
interface SetStateExpiryRequestQuery {
|
|
20793
20841
|
}
|
|
20794
20842
|
interface SetStateExpiryRequestParams {
|
|
20795
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
20843
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20796
20844
|
id: string;
|
|
20797
20845
|
name: string;
|
|
20798
20846
|
}
|
|
@@ -20837,9 +20885,9 @@ interface SetStateExpiryResponse {
|
|
|
20837
20885
|
*/
|
|
20838
20886
|
name: string;
|
|
20839
20887
|
/**
|
|
20840
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
20888
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
20841
20889
|
*/
|
|
20842
|
-
type: "conversation" | "user" | "bot" | "
|
|
20890
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20843
20891
|
/**
|
|
20844
20892
|
* Payload is the content of the state defined by your bot.
|
|
20845
20893
|
*/
|
|
@@ -20854,7 +20902,7 @@ interface GetStateRequestHeaders {
|
|
|
20854
20902
|
interface GetStateRequestQuery {
|
|
20855
20903
|
}
|
|
20856
20904
|
interface GetStateRequestParams {
|
|
20857
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
20905
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20858
20906
|
id: string;
|
|
20859
20907
|
name: string;
|
|
20860
20908
|
}
|
|
@@ -20895,9 +20943,9 @@ interface GetStateResponse {
|
|
|
20895
20943
|
*/
|
|
20896
20944
|
name: string;
|
|
20897
20945
|
/**
|
|
20898
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
20946
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
20899
20947
|
*/
|
|
20900
|
-
type: "conversation" | "user" | "bot" | "
|
|
20948
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20901
20949
|
/**
|
|
20902
20950
|
* Payload is the content of the state defined by your bot.
|
|
20903
20951
|
*/
|
|
@@ -20915,7 +20963,7 @@ interface SetStateRequestHeaders {
|
|
|
20915
20963
|
interface SetStateRequestQuery {
|
|
20916
20964
|
}
|
|
20917
20965
|
interface SetStateRequestParams {
|
|
20918
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
20966
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20919
20967
|
id: string;
|
|
20920
20968
|
name: string;
|
|
20921
20969
|
}
|
|
@@ -20966,9 +21014,9 @@ interface SetStateResponse {
|
|
|
20966
21014
|
*/
|
|
20967
21015
|
name: string;
|
|
20968
21016
|
/**
|
|
20969
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
21017
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
20970
21018
|
*/
|
|
20971
|
-
type: "conversation" | "user" | "bot" | "
|
|
21019
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20972
21020
|
/**
|
|
20973
21021
|
* Payload is the content of the state defined by your bot.
|
|
20974
21022
|
*/
|
|
@@ -20983,7 +21031,7 @@ interface GetOrSetStateRequestHeaders {
|
|
|
20983
21031
|
interface GetOrSetStateRequestQuery {
|
|
20984
21032
|
}
|
|
20985
21033
|
interface GetOrSetStateRequestParams {
|
|
20986
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
21034
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
20987
21035
|
id: string;
|
|
20988
21036
|
name: string;
|
|
20989
21037
|
}
|
|
@@ -21034,9 +21082,9 @@ interface GetOrSetStateResponse {
|
|
|
21034
21082
|
*/
|
|
21035
21083
|
name: string;
|
|
21036
21084
|
/**
|
|
21037
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
21085
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
21038
21086
|
*/
|
|
21039
|
-
type: "conversation" | "user" | "bot" | "
|
|
21087
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
21040
21088
|
/**
|
|
21041
21089
|
* Payload is the content of the state defined by your bot.
|
|
21042
21090
|
*/
|
|
@@ -21054,7 +21102,7 @@ interface PatchStateRequestHeaders {
|
|
|
21054
21102
|
interface PatchStateRequestQuery {
|
|
21055
21103
|
}
|
|
21056
21104
|
interface PatchStateRequestParams {
|
|
21057
|
-
type: "conversation" | "user" | "bot" | "integration" | "
|
|
21105
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
21058
21106
|
id: string;
|
|
21059
21107
|
name: string;
|
|
21060
21108
|
}
|
|
@@ -21101,9 +21149,9 @@ interface PatchStateResponse {
|
|
|
21101
21149
|
*/
|
|
21102
21150
|
name: string;
|
|
21103
21151
|
/**
|
|
21104
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
21152
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
21105
21153
|
*/
|
|
21106
|
-
type: "conversation" | "user" | "bot" | "
|
|
21154
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
21107
21155
|
/**
|
|
21108
21156
|
* Payload is the content of the state defined by your bot.
|
|
21109
21157
|
*/
|
|
@@ -21168,409 +21216,6 @@ type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureInte
|
|
|
21168
21216
|
interface ConfigureIntegrationResponse {
|
|
21169
21217
|
}
|
|
21170
21218
|
|
|
21171
|
-
interface GetTaskRequestHeaders {
|
|
21172
|
-
}
|
|
21173
|
-
interface GetTaskRequestQuery {
|
|
21174
|
-
}
|
|
21175
|
-
interface GetTaskRequestParams {
|
|
21176
|
-
id: string;
|
|
21177
|
-
}
|
|
21178
|
-
interface GetTaskRequestBody {
|
|
21179
|
-
}
|
|
21180
|
-
type GetTaskInput = GetTaskRequestBody & GetTaskRequestHeaders & GetTaskRequestQuery & GetTaskRequestParams;
|
|
21181
|
-
interface GetTaskResponse {
|
|
21182
|
-
/**
|
|
21183
|
-
* Task definition
|
|
21184
|
-
*/
|
|
21185
|
-
task: {
|
|
21186
|
-
/**
|
|
21187
|
-
* Id of the [Task](#schema_task)
|
|
21188
|
-
*/
|
|
21189
|
-
id: string;
|
|
21190
|
-
/**
|
|
21191
|
-
* Title describing the task
|
|
21192
|
-
*/
|
|
21193
|
-
title: string;
|
|
21194
|
-
/**
|
|
21195
|
-
* All the notes related to the execution of the current task
|
|
21196
|
-
*/
|
|
21197
|
-
description: string;
|
|
21198
|
-
/**
|
|
21199
|
-
* Type of the task
|
|
21200
|
-
*/
|
|
21201
|
-
type: string;
|
|
21202
|
-
/**
|
|
21203
|
-
* Content related to the task
|
|
21204
|
-
*/
|
|
21205
|
-
data: {
|
|
21206
|
-
[k: string]: any;
|
|
21207
|
-
};
|
|
21208
|
-
/**
|
|
21209
|
-
* Status of the task
|
|
21210
|
-
*/
|
|
21211
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
21212
|
-
/**
|
|
21213
|
-
* Parent task id is the parent task that created this task
|
|
21214
|
-
*/
|
|
21215
|
-
parentTaskId?: string;
|
|
21216
|
-
/**
|
|
21217
|
-
* Conversation id related to this task
|
|
21218
|
-
*/
|
|
21219
|
-
conversationId?: string;
|
|
21220
|
-
/**
|
|
21221
|
-
* Specific user related to this task
|
|
21222
|
-
*/
|
|
21223
|
-
userId?: string;
|
|
21224
|
-
/**
|
|
21225
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21226
|
-
*/
|
|
21227
|
-
timeoutAt: string;
|
|
21228
|
-
/**
|
|
21229
|
-
* Creation date of the task in ISO 8601 format
|
|
21230
|
-
*/
|
|
21231
|
-
createdAt: string;
|
|
21232
|
-
/**
|
|
21233
|
-
* Updating date of the task in ISO 8601 format
|
|
21234
|
-
*/
|
|
21235
|
-
updatedAt: string;
|
|
21236
|
-
/**
|
|
21237
|
-
* If the task fails this is the reason behind it
|
|
21238
|
-
*/
|
|
21239
|
-
failureReason?: string;
|
|
21240
|
-
/**
|
|
21241
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
21242
|
-
*/
|
|
21243
|
-
tags: {
|
|
21244
|
-
[k: string]: string;
|
|
21245
|
-
};
|
|
21246
|
-
};
|
|
21247
|
-
}
|
|
21248
|
-
|
|
21249
|
-
interface CreateTaskRequestHeaders {
|
|
21250
|
-
}
|
|
21251
|
-
interface CreateTaskRequestQuery {
|
|
21252
|
-
}
|
|
21253
|
-
interface CreateTaskRequestParams {
|
|
21254
|
-
}
|
|
21255
|
-
interface CreateTaskRequestBody {
|
|
21256
|
-
/**
|
|
21257
|
-
* Title describing the task
|
|
21258
|
-
*/
|
|
21259
|
-
title?: string;
|
|
21260
|
-
/**
|
|
21261
|
-
* All the notes related to the execution of the current task
|
|
21262
|
-
*/
|
|
21263
|
-
description?: string;
|
|
21264
|
-
/**
|
|
21265
|
-
* Type of the task
|
|
21266
|
-
*/
|
|
21267
|
-
type: string;
|
|
21268
|
-
/**
|
|
21269
|
-
* Content related to the task
|
|
21270
|
-
*/
|
|
21271
|
-
data?: {
|
|
21272
|
-
[k: string]: any;
|
|
21273
|
-
};
|
|
21274
|
-
/**
|
|
21275
|
-
* Parent task id is the parent task that created this task
|
|
21276
|
-
*/
|
|
21277
|
-
parentTaskId?: string;
|
|
21278
|
-
/**
|
|
21279
|
-
* Conversation id related to this task
|
|
21280
|
-
*/
|
|
21281
|
-
conversationId: string;
|
|
21282
|
-
/**
|
|
21283
|
-
* Specific user related to this task
|
|
21284
|
-
*/
|
|
21285
|
-
userId?: string;
|
|
21286
|
-
/**
|
|
21287
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21288
|
-
*/
|
|
21289
|
-
timeoutAt?: string;
|
|
21290
|
-
/**
|
|
21291
|
-
* Tags for the [Task](#schema_task)
|
|
21292
|
-
*/
|
|
21293
|
-
tags?: {
|
|
21294
|
-
[k: string]: string;
|
|
21295
|
-
};
|
|
21296
|
-
}
|
|
21297
|
-
type CreateTaskInput = CreateTaskRequestBody & CreateTaskRequestHeaders & CreateTaskRequestQuery & CreateTaskRequestParams;
|
|
21298
|
-
interface CreateTaskResponse {
|
|
21299
|
-
/**
|
|
21300
|
-
* Task definition
|
|
21301
|
-
*/
|
|
21302
|
-
task: {
|
|
21303
|
-
/**
|
|
21304
|
-
* Id of the [Task](#schema_task)
|
|
21305
|
-
*/
|
|
21306
|
-
id: string;
|
|
21307
|
-
/**
|
|
21308
|
-
* Title describing the task
|
|
21309
|
-
*/
|
|
21310
|
-
title: string;
|
|
21311
|
-
/**
|
|
21312
|
-
* All the notes related to the execution of the current task
|
|
21313
|
-
*/
|
|
21314
|
-
description: string;
|
|
21315
|
-
/**
|
|
21316
|
-
* Type of the task
|
|
21317
|
-
*/
|
|
21318
|
-
type: string;
|
|
21319
|
-
/**
|
|
21320
|
-
* Content related to the task
|
|
21321
|
-
*/
|
|
21322
|
-
data: {
|
|
21323
|
-
[k: string]: any;
|
|
21324
|
-
};
|
|
21325
|
-
/**
|
|
21326
|
-
* Status of the task
|
|
21327
|
-
*/
|
|
21328
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
21329
|
-
/**
|
|
21330
|
-
* Parent task id is the parent task that created this task
|
|
21331
|
-
*/
|
|
21332
|
-
parentTaskId?: string;
|
|
21333
|
-
/**
|
|
21334
|
-
* Conversation id related to this task
|
|
21335
|
-
*/
|
|
21336
|
-
conversationId?: string;
|
|
21337
|
-
/**
|
|
21338
|
-
* Specific user related to this task
|
|
21339
|
-
*/
|
|
21340
|
-
userId?: string;
|
|
21341
|
-
/**
|
|
21342
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21343
|
-
*/
|
|
21344
|
-
timeoutAt: string;
|
|
21345
|
-
/**
|
|
21346
|
-
* Creation date of the task in ISO 8601 format
|
|
21347
|
-
*/
|
|
21348
|
-
createdAt: string;
|
|
21349
|
-
/**
|
|
21350
|
-
* Updating date of the task in ISO 8601 format
|
|
21351
|
-
*/
|
|
21352
|
-
updatedAt: string;
|
|
21353
|
-
/**
|
|
21354
|
-
* If the task fails this is the reason behind it
|
|
21355
|
-
*/
|
|
21356
|
-
failureReason?: string;
|
|
21357
|
-
/**
|
|
21358
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
21359
|
-
*/
|
|
21360
|
-
tags: {
|
|
21361
|
-
[k: string]: string;
|
|
21362
|
-
};
|
|
21363
|
-
};
|
|
21364
|
-
}
|
|
21365
|
-
|
|
21366
|
-
interface UpdateTaskRequestHeaders {
|
|
21367
|
-
}
|
|
21368
|
-
interface UpdateTaskRequestQuery {
|
|
21369
|
-
}
|
|
21370
|
-
interface UpdateTaskRequestParams {
|
|
21371
|
-
id: string;
|
|
21372
|
-
}
|
|
21373
|
-
interface UpdateTaskRequestBody {
|
|
21374
|
-
/**
|
|
21375
|
-
* Title describing the task
|
|
21376
|
-
*/
|
|
21377
|
-
title?: string;
|
|
21378
|
-
/**
|
|
21379
|
-
* All the notes related to the execution of the current task
|
|
21380
|
-
*/
|
|
21381
|
-
description?: string;
|
|
21382
|
-
/**
|
|
21383
|
-
* Content related to the task
|
|
21384
|
-
*/
|
|
21385
|
-
data?: {
|
|
21386
|
-
[k: string]: any;
|
|
21387
|
-
};
|
|
21388
|
-
/**
|
|
21389
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21390
|
-
*/
|
|
21391
|
-
timeoutAt?: string;
|
|
21392
|
-
/**
|
|
21393
|
-
* Status of the task
|
|
21394
|
-
*/
|
|
21395
|
-
status?: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
21396
|
-
/**
|
|
21397
|
-
* Tags for the [Task](#schema_task)
|
|
21398
|
-
*/
|
|
21399
|
-
tags?: {
|
|
21400
|
-
[k: string]: string;
|
|
21401
|
-
};
|
|
21402
|
-
}
|
|
21403
|
-
type UpdateTaskInput = UpdateTaskRequestBody & UpdateTaskRequestHeaders & UpdateTaskRequestQuery & UpdateTaskRequestParams;
|
|
21404
|
-
interface UpdateTaskResponse {
|
|
21405
|
-
/**
|
|
21406
|
-
* Task definition
|
|
21407
|
-
*/
|
|
21408
|
-
task: {
|
|
21409
|
-
/**
|
|
21410
|
-
* Id of the [Task](#schema_task)
|
|
21411
|
-
*/
|
|
21412
|
-
id: string;
|
|
21413
|
-
/**
|
|
21414
|
-
* Title describing the task
|
|
21415
|
-
*/
|
|
21416
|
-
title: string;
|
|
21417
|
-
/**
|
|
21418
|
-
* All the notes related to the execution of the current task
|
|
21419
|
-
*/
|
|
21420
|
-
description: string;
|
|
21421
|
-
/**
|
|
21422
|
-
* Type of the task
|
|
21423
|
-
*/
|
|
21424
|
-
type: string;
|
|
21425
|
-
/**
|
|
21426
|
-
* Content related to the task
|
|
21427
|
-
*/
|
|
21428
|
-
data: {
|
|
21429
|
-
[k: string]: any;
|
|
21430
|
-
};
|
|
21431
|
-
/**
|
|
21432
|
-
* Status of the task
|
|
21433
|
-
*/
|
|
21434
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
21435
|
-
/**
|
|
21436
|
-
* Parent task id is the parent task that created this task
|
|
21437
|
-
*/
|
|
21438
|
-
parentTaskId?: string;
|
|
21439
|
-
/**
|
|
21440
|
-
* Conversation id related to this task
|
|
21441
|
-
*/
|
|
21442
|
-
conversationId?: string;
|
|
21443
|
-
/**
|
|
21444
|
-
* Specific user related to this task
|
|
21445
|
-
*/
|
|
21446
|
-
userId?: string;
|
|
21447
|
-
/**
|
|
21448
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21449
|
-
*/
|
|
21450
|
-
timeoutAt: string;
|
|
21451
|
-
/**
|
|
21452
|
-
* Creation date of the task in ISO 8601 format
|
|
21453
|
-
*/
|
|
21454
|
-
createdAt: string;
|
|
21455
|
-
/**
|
|
21456
|
-
* Updating date of the task in ISO 8601 format
|
|
21457
|
-
*/
|
|
21458
|
-
updatedAt: string;
|
|
21459
|
-
/**
|
|
21460
|
-
* If the task fails this is the reason behind it
|
|
21461
|
-
*/
|
|
21462
|
-
failureReason?: string;
|
|
21463
|
-
/**
|
|
21464
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
21465
|
-
*/
|
|
21466
|
-
tags: {
|
|
21467
|
-
[k: string]: string;
|
|
21468
|
-
};
|
|
21469
|
-
};
|
|
21470
|
-
}
|
|
21471
|
-
|
|
21472
|
-
interface DeleteTaskRequestHeaders {
|
|
21473
|
-
}
|
|
21474
|
-
interface DeleteTaskRequestQuery {
|
|
21475
|
-
}
|
|
21476
|
-
interface DeleteTaskRequestParams {
|
|
21477
|
-
id: string;
|
|
21478
|
-
}
|
|
21479
|
-
interface DeleteTaskRequestBody {
|
|
21480
|
-
}
|
|
21481
|
-
type DeleteTaskInput = DeleteTaskRequestBody & DeleteTaskRequestHeaders & DeleteTaskRequestQuery & DeleteTaskRequestParams;
|
|
21482
|
-
interface DeleteTaskResponse {
|
|
21483
|
-
}
|
|
21484
|
-
|
|
21485
|
-
interface ListTasksRequestHeaders {
|
|
21486
|
-
}
|
|
21487
|
-
interface ListTasksRequestQuery {
|
|
21488
|
-
nextToken?: string;
|
|
21489
|
-
tags?: {
|
|
21490
|
-
[k: string]: string;
|
|
21491
|
-
};
|
|
21492
|
-
conversationId?: string;
|
|
21493
|
-
userId?: string;
|
|
21494
|
-
parentTaskId?: string;
|
|
21495
|
-
status?: ("pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled")[];
|
|
21496
|
-
type?: string;
|
|
21497
|
-
}
|
|
21498
|
-
interface ListTasksRequestParams {
|
|
21499
|
-
}
|
|
21500
|
-
interface ListTasksRequestBody {
|
|
21501
|
-
}
|
|
21502
|
-
type ListTasksInput = ListTasksRequestBody & ListTasksRequestHeaders & ListTasksRequestQuery & ListTasksRequestParams;
|
|
21503
|
-
interface ListTasksResponse {
|
|
21504
|
-
tasks: {
|
|
21505
|
-
/**
|
|
21506
|
-
* Id of the [Task](#schema_task)
|
|
21507
|
-
*/
|
|
21508
|
-
id: string;
|
|
21509
|
-
/**
|
|
21510
|
-
* Title describing the task
|
|
21511
|
-
*/
|
|
21512
|
-
title: string;
|
|
21513
|
-
/**
|
|
21514
|
-
* All the notes related to the execution of the current task
|
|
21515
|
-
*/
|
|
21516
|
-
description: string;
|
|
21517
|
-
/**
|
|
21518
|
-
* Type of the task
|
|
21519
|
-
*/
|
|
21520
|
-
type: string;
|
|
21521
|
-
/**
|
|
21522
|
-
* Content related to the task
|
|
21523
|
-
*/
|
|
21524
|
-
data: {
|
|
21525
|
-
[k: string]: any;
|
|
21526
|
-
};
|
|
21527
|
-
/**
|
|
21528
|
-
* Status of the task
|
|
21529
|
-
*/
|
|
21530
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
21531
|
-
/**
|
|
21532
|
-
* Parent task id is the parent task that created this task
|
|
21533
|
-
*/
|
|
21534
|
-
parentTaskId?: string;
|
|
21535
|
-
/**
|
|
21536
|
-
* Conversation id related to this task
|
|
21537
|
-
*/
|
|
21538
|
-
conversationId?: string;
|
|
21539
|
-
/**
|
|
21540
|
-
* Specific user related to this task
|
|
21541
|
-
*/
|
|
21542
|
-
userId?: string;
|
|
21543
|
-
/**
|
|
21544
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
21545
|
-
*/
|
|
21546
|
-
timeoutAt: string;
|
|
21547
|
-
/**
|
|
21548
|
-
* Creation date of the task in ISO 8601 format
|
|
21549
|
-
*/
|
|
21550
|
-
createdAt: string;
|
|
21551
|
-
/**
|
|
21552
|
-
* Updating date of the task in ISO 8601 format
|
|
21553
|
-
*/
|
|
21554
|
-
updatedAt: string;
|
|
21555
|
-
/**
|
|
21556
|
-
* If the task fails this is the reason behind it
|
|
21557
|
-
*/
|
|
21558
|
-
failureReason?: string;
|
|
21559
|
-
/**
|
|
21560
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
21561
|
-
*/
|
|
21562
|
-
tags: {
|
|
21563
|
-
[k: string]: string;
|
|
21564
|
-
};
|
|
21565
|
-
}[];
|
|
21566
|
-
meta: {
|
|
21567
|
-
/**
|
|
21568
|
-
* 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.
|
|
21569
|
-
*/
|
|
21570
|
-
nextToken?: string;
|
|
21571
|
-
};
|
|
21572
|
-
}
|
|
21573
|
-
|
|
21574
21219
|
interface CreateWorkflowRequestHeaders {
|
|
21575
21220
|
}
|
|
21576
21221
|
interface CreateWorkflowRequestQuery {
|
|
@@ -22152,6 +21797,10 @@ interface CaptureObservationRequestQuery {
|
|
|
22152
21797
|
interface CaptureObservationRequestParams {
|
|
22153
21798
|
}
|
|
22154
21799
|
interface CaptureObservationRequestBody {
|
|
21800
|
+
/**
|
|
21801
|
+
* Caller-defined identifier for the observation (e.g. llmz context ID). Uniqueness is not enforced nor guaranteed.
|
|
21802
|
+
*/
|
|
21803
|
+
id?: string;
|
|
22155
21804
|
/**
|
|
22156
21805
|
* Name of the observation
|
|
22157
21806
|
*/
|
|
@@ -22460,6 +22109,12 @@ interface ListPublicIntegrationsResponse {
|
|
|
22460
22109
|
*/
|
|
22461
22110
|
interfaces?: string[];
|
|
22462
22111
|
};
|
|
22112
|
+
/**
|
|
22113
|
+
* Optional key-value attributes from the integration definition
|
|
22114
|
+
*/
|
|
22115
|
+
attributes?: {
|
|
22116
|
+
[k: string]: string;
|
|
22117
|
+
};
|
|
22463
22118
|
}[];
|
|
22464
22119
|
meta: {
|
|
22465
22120
|
/**
|
|
@@ -23371,26 +23026,275 @@ interface ListPublicPluginsResponse {
|
|
|
23371
23026
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23372
23027
|
*/
|
|
23373
23028
|
lifecycleStatus: "published" | "deprecated";
|
|
23374
|
-
}[];
|
|
23375
|
-
meta: {
|
|
23376
|
-
/**
|
|
23377
|
-
* 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.
|
|
23378
|
-
*/
|
|
23379
|
-
nextToken?: string;
|
|
23029
|
+
}[];
|
|
23030
|
+
meta: {
|
|
23031
|
+
/**
|
|
23032
|
+
* 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.
|
|
23033
|
+
*/
|
|
23034
|
+
nextToken?: string;
|
|
23035
|
+
};
|
|
23036
|
+
}
|
|
23037
|
+
|
|
23038
|
+
interface GetPublicPluginByIdRequestHeaders {
|
|
23039
|
+
}
|
|
23040
|
+
interface GetPublicPluginByIdRequestQuery {
|
|
23041
|
+
}
|
|
23042
|
+
interface GetPublicPluginByIdRequestParams {
|
|
23043
|
+
id: string;
|
|
23044
|
+
}
|
|
23045
|
+
interface GetPublicPluginByIdRequestBody {
|
|
23046
|
+
}
|
|
23047
|
+
type GetPublicPluginByIdInput = GetPublicPluginByIdRequestBody & GetPublicPluginByIdRequestHeaders & GetPublicPluginByIdRequestQuery & GetPublicPluginByIdRequestParams;
|
|
23048
|
+
interface GetPublicPluginByIdResponse {
|
|
23049
|
+
plugin: {
|
|
23050
|
+
/**
|
|
23051
|
+
* ID of the [Plugin](#schema_plugin)
|
|
23052
|
+
*/
|
|
23053
|
+
id: string;
|
|
23054
|
+
/**
|
|
23055
|
+
* Name of the [Plugin](#schema_plugin)
|
|
23056
|
+
*/
|
|
23057
|
+
name: string;
|
|
23058
|
+
/**
|
|
23059
|
+
* Version of the [Plugin](#schema_plugin)
|
|
23060
|
+
*/
|
|
23061
|
+
version: string;
|
|
23062
|
+
/**
|
|
23063
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
23064
|
+
*/
|
|
23065
|
+
createdAt: string;
|
|
23066
|
+
/**
|
|
23067
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
23068
|
+
*/
|
|
23069
|
+
updatedAt: string;
|
|
23070
|
+
/**
|
|
23071
|
+
* Configuration definition
|
|
23072
|
+
*/
|
|
23073
|
+
configuration: {
|
|
23074
|
+
/**
|
|
23075
|
+
* Title of the configuration
|
|
23076
|
+
*/
|
|
23077
|
+
title?: string;
|
|
23078
|
+
/**
|
|
23079
|
+
* Description of the configuration
|
|
23080
|
+
*/
|
|
23081
|
+
description?: string;
|
|
23082
|
+
/**
|
|
23083
|
+
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
23084
|
+
*/
|
|
23085
|
+
schema: {
|
|
23086
|
+
[k: string]: any;
|
|
23087
|
+
};
|
|
23088
|
+
};
|
|
23089
|
+
states: {
|
|
23090
|
+
[k: string]: {
|
|
23091
|
+
/**
|
|
23092
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
23093
|
+
*/
|
|
23094
|
+
type: "conversation" | "user" | "bot";
|
|
23095
|
+
/**
|
|
23096
|
+
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
23097
|
+
*/
|
|
23098
|
+
schema: {
|
|
23099
|
+
[k: string]: any;
|
|
23100
|
+
};
|
|
23101
|
+
/**
|
|
23102
|
+
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
23103
|
+
*/
|
|
23104
|
+
expiry?: number;
|
|
23105
|
+
};
|
|
23106
|
+
};
|
|
23107
|
+
events: {
|
|
23108
|
+
/**
|
|
23109
|
+
* Event Definition
|
|
23110
|
+
*/
|
|
23111
|
+
[k: string]: {
|
|
23112
|
+
/**
|
|
23113
|
+
* Title of the event
|
|
23114
|
+
*/
|
|
23115
|
+
title?: string;
|
|
23116
|
+
/**
|
|
23117
|
+
* Description of the event
|
|
23118
|
+
*/
|
|
23119
|
+
description?: string;
|
|
23120
|
+
schema: {
|
|
23121
|
+
[k: string]: any;
|
|
23122
|
+
};
|
|
23123
|
+
/**
|
|
23124
|
+
* Optional attributes
|
|
23125
|
+
*/
|
|
23126
|
+
attributes?: {
|
|
23127
|
+
[k: string]: string;
|
|
23128
|
+
};
|
|
23129
|
+
};
|
|
23130
|
+
};
|
|
23131
|
+
actions: {
|
|
23132
|
+
/**
|
|
23133
|
+
* Action definition
|
|
23134
|
+
*/
|
|
23135
|
+
[k: string]: {
|
|
23136
|
+
/**
|
|
23137
|
+
* Title of the action
|
|
23138
|
+
*/
|
|
23139
|
+
title?: string;
|
|
23140
|
+
/**
|
|
23141
|
+
* Description of the action
|
|
23142
|
+
*/
|
|
23143
|
+
description?: string;
|
|
23144
|
+
billable?: boolean;
|
|
23145
|
+
cacheable?: boolean;
|
|
23146
|
+
input: {
|
|
23147
|
+
schema: {
|
|
23148
|
+
[k: string]: any;
|
|
23149
|
+
};
|
|
23150
|
+
};
|
|
23151
|
+
output: {
|
|
23152
|
+
schema: {
|
|
23153
|
+
[k: string]: any;
|
|
23154
|
+
};
|
|
23155
|
+
};
|
|
23156
|
+
/**
|
|
23157
|
+
* Optional attributes
|
|
23158
|
+
*/
|
|
23159
|
+
attributes?: {
|
|
23160
|
+
[k: string]: string;
|
|
23161
|
+
};
|
|
23162
|
+
};
|
|
23163
|
+
};
|
|
23164
|
+
dependencies: {
|
|
23165
|
+
interfaces: {
|
|
23166
|
+
[k: string]: {
|
|
23167
|
+
id: string;
|
|
23168
|
+
name: string;
|
|
23169
|
+
version: string;
|
|
23170
|
+
};
|
|
23171
|
+
};
|
|
23172
|
+
integrations: {
|
|
23173
|
+
[k: string]: {
|
|
23174
|
+
id: string;
|
|
23175
|
+
name: string;
|
|
23176
|
+
version: string;
|
|
23177
|
+
};
|
|
23178
|
+
};
|
|
23179
|
+
};
|
|
23180
|
+
/**
|
|
23181
|
+
* User object configuration
|
|
23182
|
+
*/
|
|
23183
|
+
user: {
|
|
23184
|
+
tags: {
|
|
23185
|
+
/**
|
|
23186
|
+
* Definition of a tag that can be provided on the object
|
|
23187
|
+
*/
|
|
23188
|
+
[k: string]: {
|
|
23189
|
+
/**
|
|
23190
|
+
* Title of the tag
|
|
23191
|
+
*/
|
|
23192
|
+
title?: string;
|
|
23193
|
+
/**
|
|
23194
|
+
* Description of the tag
|
|
23195
|
+
*/
|
|
23196
|
+
description?: string;
|
|
23197
|
+
};
|
|
23198
|
+
};
|
|
23199
|
+
};
|
|
23200
|
+
/**
|
|
23201
|
+
* Conversation object configuration
|
|
23202
|
+
*/
|
|
23203
|
+
conversation: {
|
|
23204
|
+
tags: {
|
|
23205
|
+
/**
|
|
23206
|
+
* Definition of a tag that can be provided on the object
|
|
23207
|
+
*/
|
|
23208
|
+
[k: string]: {
|
|
23209
|
+
/**
|
|
23210
|
+
* Title of the tag
|
|
23211
|
+
*/
|
|
23212
|
+
title?: string;
|
|
23213
|
+
/**
|
|
23214
|
+
* Description of the tag
|
|
23215
|
+
*/
|
|
23216
|
+
description?: string;
|
|
23217
|
+
};
|
|
23218
|
+
};
|
|
23219
|
+
};
|
|
23220
|
+
/**
|
|
23221
|
+
* Message object configuration
|
|
23222
|
+
*/
|
|
23223
|
+
message: {
|
|
23224
|
+
tags: {
|
|
23225
|
+
/**
|
|
23226
|
+
* Definition of a tag that can be provided on the object
|
|
23227
|
+
*/
|
|
23228
|
+
[k: string]: {
|
|
23229
|
+
/**
|
|
23230
|
+
* Title of the tag
|
|
23231
|
+
*/
|
|
23232
|
+
title?: string;
|
|
23233
|
+
/**
|
|
23234
|
+
* Description of the tag
|
|
23235
|
+
*/
|
|
23236
|
+
description?: string;
|
|
23237
|
+
};
|
|
23238
|
+
};
|
|
23239
|
+
};
|
|
23240
|
+
/**
|
|
23241
|
+
* Optional attributes
|
|
23242
|
+
*/
|
|
23243
|
+
attributes?: {
|
|
23244
|
+
[k: string]: string;
|
|
23245
|
+
};
|
|
23246
|
+
/**
|
|
23247
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
23248
|
+
*/
|
|
23249
|
+
title: string;
|
|
23250
|
+
/**
|
|
23251
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
23252
|
+
*/
|
|
23253
|
+
description: string;
|
|
23254
|
+
/**
|
|
23255
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
23256
|
+
*/
|
|
23257
|
+
iconUrl: string;
|
|
23258
|
+
/**
|
|
23259
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
23260
|
+
*/
|
|
23261
|
+
readmeUrl: string;
|
|
23262
|
+
/**
|
|
23263
|
+
* @deprecated
|
|
23264
|
+
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
23265
|
+
*/
|
|
23266
|
+
public: boolean;
|
|
23267
|
+
/**
|
|
23268
|
+
* The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
|
|
23269
|
+
*/
|
|
23270
|
+
visibility: "public" | "private" | "unlisted";
|
|
23271
|
+
/**
|
|
23272
|
+
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23273
|
+
*/
|
|
23274
|
+
lifecycleStatus: "published" | "deprecated";
|
|
23380
23275
|
};
|
|
23381
23276
|
}
|
|
23382
23277
|
|
|
23383
|
-
interface
|
|
23278
|
+
interface GetDereferencedPublicPluginByIdRequestHeaders {
|
|
23384
23279
|
}
|
|
23385
|
-
interface
|
|
23280
|
+
interface GetDereferencedPublicPluginByIdRequestQuery {
|
|
23281
|
+
/**
|
|
23282
|
+
* Mapping of interface aliases to integration IDs
|
|
23283
|
+
*/
|
|
23284
|
+
interfaces: {
|
|
23285
|
+
/**
|
|
23286
|
+
* integration id
|
|
23287
|
+
*/
|
|
23288
|
+
[k: string]: string;
|
|
23289
|
+
};
|
|
23386
23290
|
}
|
|
23387
|
-
interface
|
|
23291
|
+
interface GetDereferencedPublicPluginByIdRequestParams {
|
|
23388
23292
|
id: string;
|
|
23389
23293
|
}
|
|
23390
|
-
interface
|
|
23294
|
+
interface GetDereferencedPublicPluginByIdRequestBody {
|
|
23391
23295
|
}
|
|
23392
|
-
type
|
|
23393
|
-
interface
|
|
23296
|
+
type GetDereferencedPublicPluginByIdInput = GetDereferencedPublicPluginByIdRequestBody & GetDereferencedPublicPluginByIdRequestHeaders & GetDereferencedPublicPluginByIdRequestQuery & GetDereferencedPublicPluginByIdRequestParams;
|
|
23297
|
+
interface GetDereferencedPublicPluginByIdResponse {
|
|
23394
23298
|
plugin: {
|
|
23395
23299
|
/**
|
|
23396
23300
|
* ID of the [Plugin](#schema_plugin)
|
|
@@ -23434,9 +23338,9 @@ interface GetPublicPluginByIdResponse {
|
|
|
23434
23338
|
states: {
|
|
23435
23339
|
[k: string]: {
|
|
23436
23340
|
/**
|
|
23437
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
23341
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
23438
23342
|
*/
|
|
23439
|
-
type: "conversation" | "user" | "bot"
|
|
23343
|
+
type: "conversation" | "user" | "bot";
|
|
23440
23344
|
/**
|
|
23441
23345
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
23442
23346
|
*/
|
|
@@ -23563,218 +23467,9 @@ interface GetPublicPluginByIdResponse {
|
|
|
23563
23467
|
};
|
|
23564
23468
|
};
|
|
23565
23469
|
/**
|
|
23566
|
-
*
|
|
23567
|
-
*/
|
|
23568
|
-
attributes?: {
|
|
23569
|
-
[k: string]: string;
|
|
23570
|
-
};
|
|
23571
|
-
/**
|
|
23572
|
-
* Title of the plugin. This is the name that will be displayed in the UI
|
|
23573
|
-
*/
|
|
23574
|
-
title: string;
|
|
23575
|
-
/**
|
|
23576
|
-
* Description of the plugin. This is the description that will be displayed in the UI
|
|
23577
|
-
*/
|
|
23578
|
-
description: string;
|
|
23579
|
-
/**
|
|
23580
|
-
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
23581
|
-
*/
|
|
23582
|
-
iconUrl: string;
|
|
23583
|
-
/**
|
|
23584
|
-
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
23585
|
-
*/
|
|
23586
|
-
readmeUrl: string;
|
|
23587
|
-
/**
|
|
23588
|
-
* @deprecated
|
|
23589
|
-
* [DEPRECATED] Indicates if the plugin is public. Please use the "visibility" parameter instead.
|
|
23590
|
-
*/
|
|
23591
|
-
public: boolean;
|
|
23592
|
-
/**
|
|
23593
|
-
* The plugin's visibility. Public plugins are available to all and cannot be updated without creating a new version. Unlisted plugins behave identically to public plugins, but they are not listed in the plugin hub. By default, plugins are private and only accessible to the workspace that created them.
|
|
23594
|
-
*/
|
|
23595
|
-
visibility: "public" | "private" | "unlisted";
|
|
23596
|
-
/**
|
|
23597
|
-
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23598
|
-
*/
|
|
23599
|
-
lifecycleStatus: "published" | "deprecated";
|
|
23600
|
-
};
|
|
23601
|
-
}
|
|
23602
|
-
|
|
23603
|
-
interface GetDereferencedPublicPluginByIdRequestHeaders {
|
|
23604
|
-
}
|
|
23605
|
-
interface GetDereferencedPublicPluginByIdRequestQuery {
|
|
23606
|
-
/**
|
|
23607
|
-
* Mapping of interface aliases to integration IDs
|
|
23608
|
-
*/
|
|
23609
|
-
interfaces: {
|
|
23610
|
-
/**
|
|
23611
|
-
* integration id
|
|
23612
|
-
*/
|
|
23613
|
-
[k: string]: string;
|
|
23614
|
-
};
|
|
23615
|
-
}
|
|
23616
|
-
interface GetDereferencedPublicPluginByIdRequestParams {
|
|
23617
|
-
id: string;
|
|
23618
|
-
}
|
|
23619
|
-
interface GetDereferencedPublicPluginByIdRequestBody {
|
|
23620
|
-
}
|
|
23621
|
-
type GetDereferencedPublicPluginByIdInput = GetDereferencedPublicPluginByIdRequestBody & GetDereferencedPublicPluginByIdRequestHeaders & GetDereferencedPublicPluginByIdRequestQuery & GetDereferencedPublicPluginByIdRequestParams;
|
|
23622
|
-
interface GetDereferencedPublicPluginByIdResponse {
|
|
23623
|
-
plugin: {
|
|
23624
|
-
/**
|
|
23625
|
-
* ID of the [Plugin](#schema_plugin)
|
|
23626
|
-
*/
|
|
23627
|
-
id: string;
|
|
23628
|
-
/**
|
|
23629
|
-
* Name of the [Plugin](#schema_plugin)
|
|
23630
|
-
*/
|
|
23631
|
-
name: string;
|
|
23632
|
-
/**
|
|
23633
|
-
* Version of the [Plugin](#schema_plugin)
|
|
23634
|
-
*/
|
|
23635
|
-
version: string;
|
|
23636
|
-
/**
|
|
23637
|
-
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
23638
|
-
*/
|
|
23639
|
-
createdAt: string;
|
|
23640
|
-
/**
|
|
23641
|
-
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
23642
|
-
*/
|
|
23643
|
-
updatedAt: string;
|
|
23644
|
-
/**
|
|
23645
|
-
* Configuration definition
|
|
23646
|
-
*/
|
|
23647
|
-
configuration: {
|
|
23648
|
-
/**
|
|
23649
|
-
* Title of the configuration
|
|
23650
|
-
*/
|
|
23651
|
-
title?: string;
|
|
23652
|
-
/**
|
|
23653
|
-
* Description of the configuration
|
|
23654
|
-
*/
|
|
23655
|
-
description?: string;
|
|
23656
|
-
/**
|
|
23657
|
-
* Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
|
|
23658
|
-
*/
|
|
23659
|
-
schema: {
|
|
23660
|
-
[k: string]: any;
|
|
23661
|
-
};
|
|
23662
|
-
};
|
|
23663
|
-
states: {
|
|
23664
|
-
[k: string]: {
|
|
23665
|
-
/**
|
|
23666
|
-
* Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
|
|
23667
|
-
*/
|
|
23668
|
-
type: "conversation" | "user" | "bot" | "task";
|
|
23669
|
-
/**
|
|
23670
|
-
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
23671
|
-
*/
|
|
23672
|
-
schema: {
|
|
23673
|
-
[k: string]: any;
|
|
23674
|
-
};
|
|
23675
|
-
/**
|
|
23676
|
-
* Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
|
|
23677
|
-
*/
|
|
23678
|
-
expiry?: number;
|
|
23679
|
-
};
|
|
23680
|
-
};
|
|
23681
|
-
events: {
|
|
23682
|
-
/**
|
|
23683
|
-
* Event Definition
|
|
23684
|
-
*/
|
|
23685
|
-
[k: string]: {
|
|
23686
|
-
/**
|
|
23687
|
-
* Title of the event
|
|
23688
|
-
*/
|
|
23689
|
-
title?: string;
|
|
23690
|
-
/**
|
|
23691
|
-
* Description of the event
|
|
23692
|
-
*/
|
|
23693
|
-
description?: string;
|
|
23694
|
-
schema: {
|
|
23695
|
-
[k: string]: any;
|
|
23696
|
-
};
|
|
23697
|
-
/**
|
|
23698
|
-
* Optional attributes
|
|
23699
|
-
*/
|
|
23700
|
-
attributes?: {
|
|
23701
|
-
[k: string]: string;
|
|
23702
|
-
};
|
|
23703
|
-
};
|
|
23704
|
-
};
|
|
23705
|
-
actions: {
|
|
23706
|
-
/**
|
|
23707
|
-
* Action definition
|
|
23708
|
-
*/
|
|
23709
|
-
[k: string]: {
|
|
23710
|
-
/**
|
|
23711
|
-
* Title of the action
|
|
23712
|
-
*/
|
|
23713
|
-
title?: string;
|
|
23714
|
-
/**
|
|
23715
|
-
* Description of the action
|
|
23716
|
-
*/
|
|
23717
|
-
description?: string;
|
|
23718
|
-
billable?: boolean;
|
|
23719
|
-
cacheable?: boolean;
|
|
23720
|
-
input: {
|
|
23721
|
-
schema: {
|
|
23722
|
-
[k: string]: any;
|
|
23723
|
-
};
|
|
23724
|
-
};
|
|
23725
|
-
output: {
|
|
23726
|
-
schema: {
|
|
23727
|
-
[k: string]: any;
|
|
23728
|
-
};
|
|
23729
|
-
};
|
|
23730
|
-
/**
|
|
23731
|
-
* Optional attributes
|
|
23732
|
-
*/
|
|
23733
|
-
attributes?: {
|
|
23734
|
-
[k: string]: string;
|
|
23735
|
-
};
|
|
23736
|
-
};
|
|
23737
|
-
};
|
|
23738
|
-
dependencies: {
|
|
23739
|
-
interfaces: {
|
|
23740
|
-
[k: string]: {
|
|
23741
|
-
id: string;
|
|
23742
|
-
name: string;
|
|
23743
|
-
version: string;
|
|
23744
|
-
};
|
|
23745
|
-
};
|
|
23746
|
-
integrations: {
|
|
23747
|
-
[k: string]: {
|
|
23748
|
-
id: string;
|
|
23749
|
-
name: string;
|
|
23750
|
-
version: string;
|
|
23751
|
-
};
|
|
23752
|
-
};
|
|
23753
|
-
};
|
|
23754
|
-
/**
|
|
23755
|
-
* User object configuration
|
|
23756
|
-
*/
|
|
23757
|
-
user: {
|
|
23758
|
-
tags: {
|
|
23759
|
-
/**
|
|
23760
|
-
* Definition of a tag that can be provided on the object
|
|
23761
|
-
*/
|
|
23762
|
-
[k: string]: {
|
|
23763
|
-
/**
|
|
23764
|
-
* Title of the tag
|
|
23765
|
-
*/
|
|
23766
|
-
title?: string;
|
|
23767
|
-
/**
|
|
23768
|
-
* Description of the tag
|
|
23769
|
-
*/
|
|
23770
|
-
description?: string;
|
|
23771
|
-
};
|
|
23772
|
-
};
|
|
23773
|
-
};
|
|
23774
|
-
/**
|
|
23775
|
-
* Conversation object configuration
|
|
23470
|
+
* Message object configuration
|
|
23776
23471
|
*/
|
|
23777
|
-
|
|
23472
|
+
message: {
|
|
23778
23473
|
tags: {
|
|
23779
23474
|
/**
|
|
23780
23475
|
* Definition of a tag that can be provided on the object
|
|
@@ -23884,9 +23579,9 @@ interface GetPublicPluginResponse {
|
|
|
23884
23579
|
states: {
|
|
23885
23580
|
[k: string]: {
|
|
23886
23581
|
/**
|
|
23887
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
23582
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
23888
23583
|
*/
|
|
23889
|
-
type: "conversation" | "user" | "bot"
|
|
23584
|
+
type: "conversation" | "user" | "bot";
|
|
23890
23585
|
/**
|
|
23891
23586
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
23892
23587
|
*/
|
|
@@ -24012,6 +23707,26 @@ interface GetPublicPluginResponse {
|
|
|
24012
23707
|
};
|
|
24013
23708
|
};
|
|
24014
23709
|
};
|
|
23710
|
+
/**
|
|
23711
|
+
* Message object configuration
|
|
23712
|
+
*/
|
|
23713
|
+
message: {
|
|
23714
|
+
tags: {
|
|
23715
|
+
/**
|
|
23716
|
+
* Definition of a tag that can be provided on the object
|
|
23717
|
+
*/
|
|
23718
|
+
[k: string]: {
|
|
23719
|
+
/**
|
|
23720
|
+
* Title of the tag
|
|
23721
|
+
*/
|
|
23722
|
+
title?: string;
|
|
23723
|
+
/**
|
|
23724
|
+
* Description of the tag
|
|
23725
|
+
*/
|
|
23726
|
+
description?: string;
|
|
23727
|
+
};
|
|
23728
|
+
};
|
|
23729
|
+
};
|
|
24015
23730
|
/**
|
|
24016
23731
|
* Optional attributes
|
|
24017
23732
|
*/
|
|
@@ -24472,9 +24187,9 @@ interface CreateBotRequestBody {
|
|
|
24472
24187
|
states?: {
|
|
24473
24188
|
[k: string]: {
|
|
24474
24189
|
/**
|
|
24475
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
24190
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
24476
24191
|
*/
|
|
24477
|
-
type: "conversation" | "user" | "bot"
|
|
24192
|
+
type: "conversation" | "user" | "bot";
|
|
24478
24193
|
/**
|
|
24479
24194
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
24480
24195
|
*/
|
|
@@ -24910,9 +24625,9 @@ interface CreateBotResponse {
|
|
|
24910
24625
|
states: {
|
|
24911
24626
|
[k: string]: {
|
|
24912
24627
|
/**
|
|
24913
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
24628
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
24914
24629
|
*/
|
|
24915
|
-
type: "conversation" | "user" | "bot"
|
|
24630
|
+
type: "conversation" | "user" | "bot";
|
|
24916
24631
|
/**
|
|
24917
24632
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
24918
24633
|
*/
|
|
@@ -25238,9 +24953,9 @@ interface UpdateBotRequestBody {
|
|
|
25238
24953
|
states?: {
|
|
25239
24954
|
[k: string]: {
|
|
25240
24955
|
/**
|
|
25241
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
24956
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
25242
24957
|
*/
|
|
25243
|
-
type: "conversation" | "user" | "bot"
|
|
24958
|
+
type: "conversation" | "user" | "bot";
|
|
25244
24959
|
/**
|
|
25245
24960
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
25246
24961
|
*/
|
|
@@ -25590,9 +25305,9 @@ interface UpdateBotResponse {
|
|
|
25590
25305
|
states: {
|
|
25591
25306
|
[k: string]: {
|
|
25592
25307
|
/**
|
|
25593
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
25308
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
25594
25309
|
*/
|
|
25595
|
-
type: "conversation" | "user" | "bot"
|
|
25310
|
+
type: "conversation" | "user" | "bot";
|
|
25596
25311
|
/**
|
|
25597
25312
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
25598
25313
|
*/
|
|
@@ -26098,9 +25813,9 @@ interface GetBotResponse {
|
|
|
26098
25813
|
states: {
|
|
26099
25814
|
[k: string]: {
|
|
26100
25815
|
/**
|
|
26101
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
25816
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
26102
25817
|
*/
|
|
26103
|
-
type: "conversation" | "user" | "bot"
|
|
25818
|
+
type: "conversation" | "user" | "bot";
|
|
26104
25819
|
/**
|
|
26105
25820
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
26106
25821
|
*/
|
|
@@ -29824,6 +29539,12 @@ interface ListIntegrationsResponse {
|
|
|
29824
29539
|
handle: string | null;
|
|
29825
29540
|
name: string;
|
|
29826
29541
|
};
|
|
29542
|
+
/**
|
|
29543
|
+
* Optional key-value attributes from the integration definition
|
|
29544
|
+
*/
|
|
29545
|
+
attributes?: {
|
|
29546
|
+
[k: string]: string;
|
|
29547
|
+
};
|
|
29827
29548
|
}[];
|
|
29828
29549
|
meta: {
|
|
29829
29550
|
/**
|
|
@@ -31746,9 +31467,9 @@ interface CreatePluginRequestBody {
|
|
|
31746
31467
|
states?: {
|
|
31747
31468
|
[k: string]: {
|
|
31748
31469
|
/**
|
|
31749
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
31470
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
31750
31471
|
*/
|
|
31751
|
-
type: "conversation" | "user" | "bot"
|
|
31472
|
+
type: "conversation" | "user" | "bot";
|
|
31752
31473
|
/**
|
|
31753
31474
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
31754
31475
|
*/
|
|
@@ -31858,6 +31579,26 @@ interface CreatePluginRequestBody {
|
|
|
31858
31579
|
};
|
|
31859
31580
|
};
|
|
31860
31581
|
};
|
|
31582
|
+
/**
|
|
31583
|
+
* Message object configuration
|
|
31584
|
+
*/
|
|
31585
|
+
message?: {
|
|
31586
|
+
tags: {
|
|
31587
|
+
/**
|
|
31588
|
+
* Definition of a tag that can be provided on the object
|
|
31589
|
+
*/
|
|
31590
|
+
[k: string]: {
|
|
31591
|
+
/**
|
|
31592
|
+
* Title of the tag
|
|
31593
|
+
*/
|
|
31594
|
+
title?: string;
|
|
31595
|
+
/**
|
|
31596
|
+
* Description of the tag
|
|
31597
|
+
*/
|
|
31598
|
+
description?: string;
|
|
31599
|
+
};
|
|
31600
|
+
};
|
|
31601
|
+
};
|
|
31861
31602
|
/**
|
|
31862
31603
|
* Optional attributes
|
|
31863
31604
|
*/
|
|
@@ -31986,9 +31727,9 @@ interface CreatePluginResponse {
|
|
|
31986
31727
|
states: {
|
|
31987
31728
|
[k: string]: {
|
|
31988
31729
|
/**
|
|
31989
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
31730
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
31990
31731
|
*/
|
|
31991
|
-
type: "conversation" | "user" | "bot"
|
|
31732
|
+
type: "conversation" | "user" | "bot";
|
|
31992
31733
|
/**
|
|
31993
31734
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
31994
31735
|
*/
|
|
@@ -32114,6 +31855,26 @@ interface CreatePluginResponse {
|
|
|
32114
31855
|
};
|
|
32115
31856
|
};
|
|
32116
31857
|
};
|
|
31858
|
+
/**
|
|
31859
|
+
* Message object configuration
|
|
31860
|
+
*/
|
|
31861
|
+
message: {
|
|
31862
|
+
tags: {
|
|
31863
|
+
/**
|
|
31864
|
+
* Definition of a tag that can be provided on the object
|
|
31865
|
+
*/
|
|
31866
|
+
[k: string]: {
|
|
31867
|
+
/**
|
|
31868
|
+
* Title of the tag
|
|
31869
|
+
*/
|
|
31870
|
+
title?: string;
|
|
31871
|
+
/**
|
|
31872
|
+
* Description of the tag
|
|
31873
|
+
*/
|
|
31874
|
+
description?: string;
|
|
31875
|
+
};
|
|
31876
|
+
};
|
|
31877
|
+
};
|
|
32117
31878
|
/**
|
|
32118
31879
|
* Optional attributes
|
|
32119
31880
|
*/
|
|
@@ -32206,9 +31967,9 @@ interface GetPluginResponse {
|
|
|
32206
31967
|
states: {
|
|
32207
31968
|
[k: string]: {
|
|
32208
31969
|
/**
|
|
32209
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
31970
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
32210
31971
|
*/
|
|
32211
|
-
type: "conversation" | "user" | "bot"
|
|
31972
|
+
type: "conversation" | "user" | "bot";
|
|
32212
31973
|
/**
|
|
32213
31974
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
32214
31975
|
*/
|
|
@@ -32334,6 +32095,26 @@ interface GetPluginResponse {
|
|
|
32334
32095
|
};
|
|
32335
32096
|
};
|
|
32336
32097
|
};
|
|
32098
|
+
/**
|
|
32099
|
+
* Message object configuration
|
|
32100
|
+
*/
|
|
32101
|
+
message: {
|
|
32102
|
+
tags: {
|
|
32103
|
+
/**
|
|
32104
|
+
* Definition of a tag that can be provided on the object
|
|
32105
|
+
*/
|
|
32106
|
+
[k: string]: {
|
|
32107
|
+
/**
|
|
32108
|
+
* Title of the tag
|
|
32109
|
+
*/
|
|
32110
|
+
title?: string;
|
|
32111
|
+
/**
|
|
32112
|
+
* Description of the tag
|
|
32113
|
+
*/
|
|
32114
|
+
description?: string;
|
|
32115
|
+
};
|
|
32116
|
+
};
|
|
32117
|
+
};
|
|
32337
32118
|
/**
|
|
32338
32119
|
* Optional attributes
|
|
32339
32120
|
*/
|
|
@@ -32435,9 +32216,9 @@ interface GetDereferencedPluginResponse {
|
|
|
32435
32216
|
states: {
|
|
32436
32217
|
[k: string]: {
|
|
32437
32218
|
/**
|
|
32438
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
32219
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
32439
32220
|
*/
|
|
32440
|
-
type: "conversation" | "user" | "bot"
|
|
32221
|
+
type: "conversation" | "user" | "bot";
|
|
32441
32222
|
/**
|
|
32442
32223
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
32443
32224
|
*/
|
|
@@ -32563,6 +32344,26 @@ interface GetDereferencedPluginResponse {
|
|
|
32563
32344
|
};
|
|
32564
32345
|
};
|
|
32565
32346
|
};
|
|
32347
|
+
/**
|
|
32348
|
+
* Message object configuration
|
|
32349
|
+
*/
|
|
32350
|
+
message: {
|
|
32351
|
+
tags: {
|
|
32352
|
+
/**
|
|
32353
|
+
* Definition of a tag that can be provided on the object
|
|
32354
|
+
*/
|
|
32355
|
+
[k: string]: {
|
|
32356
|
+
/**
|
|
32357
|
+
* Title of the tag
|
|
32358
|
+
*/
|
|
32359
|
+
title?: string;
|
|
32360
|
+
/**
|
|
32361
|
+
* Description of the tag
|
|
32362
|
+
*/
|
|
32363
|
+
description?: string;
|
|
32364
|
+
};
|
|
32365
|
+
};
|
|
32366
|
+
};
|
|
32566
32367
|
/**
|
|
32567
32368
|
* Optional attributes
|
|
32568
32369
|
*/
|
|
@@ -32656,9 +32457,9 @@ interface GetPluginByNameResponse {
|
|
|
32656
32457
|
states: {
|
|
32657
32458
|
[k: string]: {
|
|
32658
32459
|
/**
|
|
32659
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
32460
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
32660
32461
|
*/
|
|
32661
|
-
type: "conversation" | "user" | "bot"
|
|
32462
|
+
type: "conversation" | "user" | "bot";
|
|
32662
32463
|
/**
|
|
32663
32464
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
32664
32465
|
*/
|
|
@@ -32784,6 +32585,26 @@ interface GetPluginByNameResponse {
|
|
|
32784
32585
|
};
|
|
32785
32586
|
};
|
|
32786
32587
|
};
|
|
32588
|
+
/**
|
|
32589
|
+
* Message object configuration
|
|
32590
|
+
*/
|
|
32591
|
+
message: {
|
|
32592
|
+
tags: {
|
|
32593
|
+
/**
|
|
32594
|
+
* Definition of a tag that can be provided on the object
|
|
32595
|
+
*/
|
|
32596
|
+
[k: string]: {
|
|
32597
|
+
/**
|
|
32598
|
+
* Title of the tag
|
|
32599
|
+
*/
|
|
32600
|
+
title?: string;
|
|
32601
|
+
/**
|
|
32602
|
+
* Description of the tag
|
|
32603
|
+
*/
|
|
32604
|
+
description?: string;
|
|
32605
|
+
};
|
|
32606
|
+
};
|
|
32607
|
+
};
|
|
32787
32608
|
/**
|
|
32788
32609
|
* Optional attributes
|
|
32789
32610
|
*/
|
|
@@ -32852,9 +32673,9 @@ interface UpdatePluginRequestBody {
|
|
|
32852
32673
|
states?: {
|
|
32853
32674
|
[k: string]: {
|
|
32854
32675
|
/**
|
|
32855
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
32676
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
32856
32677
|
*/
|
|
32857
|
-
type: "conversation" | "user" | "bot"
|
|
32678
|
+
type: "conversation" | "user" | "bot";
|
|
32858
32679
|
/**
|
|
32859
32680
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
32860
32681
|
*/
|
|
@@ -32952,6 +32773,23 @@ interface UpdatePluginRequestBody {
|
|
|
32952
32773
|
} | null;
|
|
32953
32774
|
};
|
|
32954
32775
|
};
|
|
32776
|
+
message?: {
|
|
32777
|
+
tags: {
|
|
32778
|
+
/**
|
|
32779
|
+
* Definition of a tag that can be provided on the object
|
|
32780
|
+
*/
|
|
32781
|
+
[k: string]: {
|
|
32782
|
+
/**
|
|
32783
|
+
* Title of the tag
|
|
32784
|
+
*/
|
|
32785
|
+
title?: string;
|
|
32786
|
+
/**
|
|
32787
|
+
* Description of the tag
|
|
32788
|
+
*/
|
|
32789
|
+
description?: string;
|
|
32790
|
+
} | null;
|
|
32791
|
+
};
|
|
32792
|
+
};
|
|
32955
32793
|
/**
|
|
32956
32794
|
* Optional attributes. Set attributes to null to remove them
|
|
32957
32795
|
*/
|
|
@@ -33080,9 +32918,9 @@ interface UpdatePluginResponse {
|
|
|
33080
32918
|
states: {
|
|
33081
32919
|
[k: string]: {
|
|
33082
32920
|
/**
|
|
33083
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
32921
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
33084
32922
|
*/
|
|
33085
|
-
type: "conversation" | "user" | "bot"
|
|
32923
|
+
type: "conversation" | "user" | "bot";
|
|
33086
32924
|
/**
|
|
33087
32925
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
33088
32926
|
*/
|
|
@@ -33208,6 +33046,26 @@ interface UpdatePluginResponse {
|
|
|
33208
33046
|
};
|
|
33209
33047
|
};
|
|
33210
33048
|
};
|
|
33049
|
+
/**
|
|
33050
|
+
* Message object configuration
|
|
33051
|
+
*/
|
|
33052
|
+
message: {
|
|
33053
|
+
tags: {
|
|
33054
|
+
/**
|
|
33055
|
+
* Definition of a tag that can be provided on the object
|
|
33056
|
+
*/
|
|
33057
|
+
[k: string]: {
|
|
33058
|
+
/**
|
|
33059
|
+
* Title of the tag
|
|
33060
|
+
*/
|
|
33061
|
+
title?: string;
|
|
33062
|
+
/**
|
|
33063
|
+
* Description of the tag
|
|
33064
|
+
*/
|
|
33065
|
+
description?: string;
|
|
33066
|
+
};
|
|
33067
|
+
};
|
|
33068
|
+
};
|
|
33211
33069
|
/**
|
|
33212
33070
|
* Optional attributes
|
|
33213
33071
|
*/
|
|
@@ -35347,168 +35205,172 @@ interface CreateTableResponse {
|
|
|
35347
35205
|
*/
|
|
35348
35206
|
updatedAt?: string;
|
|
35349
35207
|
};
|
|
35350
|
-
}
|
|
35351
|
-
|
|
35352
|
-
interface DuplicateTableRequestHeaders {
|
|
35353
|
-
}
|
|
35354
|
-
interface DuplicateTableRequestQuery {
|
|
35355
|
-
}
|
|
35356
|
-
interface DuplicateTableRequestParams {
|
|
35357
|
-
sourceTableId: string;
|
|
35358
|
-
}
|
|
35359
|
-
interface DuplicateTableRequestBody {
|
|
35360
|
-
tableName?: string;
|
|
35361
|
-
/**
|
|
35362
|
-
* Only duplicate the schema, not the content
|
|
35363
|
-
*/
|
|
35364
|
-
schemaOnly?: boolean;
|
|
35208
|
+
}
|
|
35209
|
+
|
|
35210
|
+
interface DuplicateTableRequestHeaders {
|
|
35211
|
+
}
|
|
35212
|
+
interface DuplicateTableRequestQuery {
|
|
35213
|
+
}
|
|
35214
|
+
interface DuplicateTableRequestParams {
|
|
35215
|
+
sourceTableId: string;
|
|
35216
|
+
}
|
|
35217
|
+
interface DuplicateTableRequestBody {
|
|
35218
|
+
tableName?: string;
|
|
35219
|
+
/**
|
|
35220
|
+
* Only duplicate the schema, not the content
|
|
35221
|
+
*/
|
|
35222
|
+
schemaOnly?: boolean;
|
|
35223
|
+
/**
|
|
35224
|
+
* Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.
|
|
35225
|
+
*/
|
|
35226
|
+
factor?: number;
|
|
35227
|
+
}
|
|
35228
|
+
type DuplicateTableInput = DuplicateTableRequestBody & DuplicateTableRequestHeaders & DuplicateTableRequestQuery & DuplicateTableRequestParams;
|
|
35229
|
+
interface DuplicateTableResponse {
|
|
35230
|
+
table: {
|
|
35231
|
+
/**
|
|
35232
|
+
* Unique identifier for the table
|
|
35233
|
+
*/
|
|
35234
|
+
id: string;
|
|
35235
|
+
/**
|
|
35236
|
+
* Required. This name is used to identify your table.
|
|
35237
|
+
*/
|
|
35238
|
+
name: string;
|
|
35239
|
+
/**
|
|
35240
|
+
* The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
|
|
35241
|
+
*/
|
|
35242
|
+
factor?: number;
|
|
35243
|
+
/**
|
|
35244
|
+
* A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
35245
|
+
*/
|
|
35246
|
+
frozen?: boolean;
|
|
35247
|
+
/**
|
|
35248
|
+
* Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
|
|
35249
|
+
*/
|
|
35250
|
+
keyColumn?: string | null;
|
|
35251
|
+
schema: {
|
|
35252
|
+
$schema?: string;
|
|
35253
|
+
/**
|
|
35254
|
+
* List of keys/columns in the table.
|
|
35255
|
+
*/
|
|
35256
|
+
properties: {
|
|
35257
|
+
[k: string]: {
|
|
35258
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35259
|
+
format?: "date-time";
|
|
35260
|
+
description?: string;
|
|
35261
|
+
/**
|
|
35262
|
+
* String properties must match this pattern
|
|
35263
|
+
*/
|
|
35264
|
+
pattern?: string;
|
|
35265
|
+
/**
|
|
35266
|
+
* String properties must be one of these values
|
|
35267
|
+
*/
|
|
35268
|
+
enum?: string[];
|
|
35269
|
+
/**
|
|
35270
|
+
* Defines the shape of items in an array
|
|
35271
|
+
*/
|
|
35272
|
+
items?: {
|
|
35273
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35274
|
+
[k: string]: any;
|
|
35275
|
+
};
|
|
35276
|
+
nullable?: boolean;
|
|
35277
|
+
properties?: {
|
|
35278
|
+
[k: string]: {
|
|
35279
|
+
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35280
|
+
[k: string]: any;
|
|
35281
|
+
};
|
|
35282
|
+
};
|
|
35283
|
+
"x-zui": {
|
|
35284
|
+
index: number;
|
|
35285
|
+
/**
|
|
35286
|
+
* [deprecated] ID of the column.
|
|
35287
|
+
*/
|
|
35288
|
+
id?: string;
|
|
35289
|
+
/**
|
|
35290
|
+
* Indicates if the column is vectorized and searchable.
|
|
35291
|
+
*/
|
|
35292
|
+
searchable?: boolean;
|
|
35293
|
+
/**
|
|
35294
|
+
* Indicates if the field is hidden in the UI
|
|
35295
|
+
*/
|
|
35296
|
+
hidden?: boolean;
|
|
35297
|
+
/**
|
|
35298
|
+
* Order of the column in the UI
|
|
35299
|
+
*/
|
|
35300
|
+
order?: number;
|
|
35301
|
+
/**
|
|
35302
|
+
* Width of the column in the UI
|
|
35303
|
+
*/
|
|
35304
|
+
width?: number;
|
|
35305
|
+
/**
|
|
35306
|
+
* ID of the schema
|
|
35307
|
+
*/
|
|
35308
|
+
schemaId?: string;
|
|
35309
|
+
computed?: {
|
|
35310
|
+
action: "ai" | "code" | "workflow";
|
|
35311
|
+
dependencies?: string[];
|
|
35312
|
+
/**
|
|
35313
|
+
* Prompt when action is "ai"
|
|
35314
|
+
*/
|
|
35315
|
+
prompt?: string;
|
|
35316
|
+
/**
|
|
35317
|
+
* Code to execute when action is "code"
|
|
35318
|
+
*/
|
|
35319
|
+
code?: string;
|
|
35320
|
+
/**
|
|
35321
|
+
* Model to use when action is "ai"
|
|
35322
|
+
*/
|
|
35323
|
+
model?: string;
|
|
35324
|
+
/**
|
|
35325
|
+
* ID of Workflow to execute when action is "workflow"
|
|
35326
|
+
*/
|
|
35327
|
+
workflowId?: string;
|
|
35328
|
+
enabled?: boolean;
|
|
35329
|
+
};
|
|
35330
|
+
/**
|
|
35331
|
+
* TypeScript typings for the column. Recommended if the type is "object", ex: "\{ foo: string; bar: number \}"
|
|
35332
|
+
*/
|
|
35333
|
+
typings?: string;
|
|
35334
|
+
};
|
|
35335
|
+
};
|
|
35336
|
+
};
|
|
35337
|
+
/**
|
|
35338
|
+
* Additional properties can be provided, but they will be ignored if no column matches.
|
|
35339
|
+
*/
|
|
35340
|
+
additionalProperties: true;
|
|
35341
|
+
/**
|
|
35342
|
+
* Array of required properties.
|
|
35343
|
+
*/
|
|
35344
|
+
required?: string[];
|
|
35345
|
+
type: "object";
|
|
35346
|
+
};
|
|
35347
|
+
/**
|
|
35348
|
+
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
35349
|
+
*/
|
|
35350
|
+
tags?: {
|
|
35351
|
+
[k: string]: string;
|
|
35352
|
+
};
|
|
35353
|
+
/**
|
|
35354
|
+
* Indicates if the table is enabled for computation.
|
|
35355
|
+
*/
|
|
35356
|
+
isComputeEnabled?: boolean;
|
|
35357
|
+
/**
|
|
35358
|
+
* Timestamp of table creation.
|
|
35359
|
+
*/
|
|
35360
|
+
createdAt?: string;
|
|
35361
|
+
/**
|
|
35362
|
+
* Timestamp of the last table update.
|
|
35363
|
+
*/
|
|
35364
|
+
updatedAt?: string;
|
|
35365
|
+
};
|
|
35365
35366
|
/**
|
|
35366
|
-
*
|
|
35367
|
+
* The total number of rows present in the source table.
|
|
35367
35368
|
*/
|
|
35368
|
-
|
|
35369
|
-
|
|
35370
|
-
type DuplicateTableInput = DuplicateTableRequestBody & DuplicateTableRequestHeaders & DuplicateTableRequestQuery & DuplicateTableRequestParams;
|
|
35371
|
-
interface DuplicateTableResponse {
|
|
35372
|
-
table: {
|
|
35373
|
-
/**
|
|
35374
|
-
* Unique identifier for the table
|
|
35375
|
-
*/
|
|
35369
|
+
rows: number;
|
|
35370
|
+
job?: {
|
|
35376
35371
|
id: string;
|
|
35377
|
-
|
|
35378
|
-
* Required. This name is used to identify your table.
|
|
35379
|
-
*/
|
|
35380
|
-
name: string;
|
|
35381
|
-
/**
|
|
35382
|
-
* The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
|
|
35383
|
-
*/
|
|
35384
|
-
factor?: number;
|
|
35385
|
-
/**
|
|
35386
|
-
* A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
|
|
35387
|
-
*/
|
|
35388
|
-
frozen?: boolean;
|
|
35389
|
-
/**
|
|
35390
|
-
* Designate a column as the primary unique identifier for this table. When set, a unique index is automatically created on this column, enabling significantly faster upsert operations. All values in this column must be unique across the table. When set to null, the key index is removed.
|
|
35391
|
-
*/
|
|
35392
|
-
keyColumn?: string | null;
|
|
35393
|
-
schema: {
|
|
35394
|
-
$schema?: string;
|
|
35395
|
-
/**
|
|
35396
|
-
* List of keys/columns in the table.
|
|
35397
|
-
*/
|
|
35398
|
-
properties: {
|
|
35399
|
-
[k: string]: {
|
|
35400
|
-
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35401
|
-
format?: "date-time";
|
|
35402
|
-
description?: string;
|
|
35403
|
-
/**
|
|
35404
|
-
* String properties must match this pattern
|
|
35405
|
-
*/
|
|
35406
|
-
pattern?: string;
|
|
35407
|
-
/**
|
|
35408
|
-
* String properties must be one of these values
|
|
35409
|
-
*/
|
|
35410
|
-
enum?: string[];
|
|
35411
|
-
/**
|
|
35412
|
-
* Defines the shape of items in an array
|
|
35413
|
-
*/
|
|
35414
|
-
items?: {
|
|
35415
|
-
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35416
|
-
[k: string]: any;
|
|
35417
|
-
};
|
|
35418
|
-
nullable?: boolean;
|
|
35419
|
-
properties?: {
|
|
35420
|
-
[k: string]: {
|
|
35421
|
-
type: "string" | "number" | "boolean" | "object" | "array" | "null";
|
|
35422
|
-
[k: string]: any;
|
|
35423
|
-
};
|
|
35424
|
-
};
|
|
35425
|
-
"x-zui": {
|
|
35426
|
-
index: number;
|
|
35427
|
-
/**
|
|
35428
|
-
* [deprecated] ID of the column.
|
|
35429
|
-
*/
|
|
35430
|
-
id?: string;
|
|
35431
|
-
/**
|
|
35432
|
-
* Indicates if the column is vectorized and searchable.
|
|
35433
|
-
*/
|
|
35434
|
-
searchable?: boolean;
|
|
35435
|
-
/**
|
|
35436
|
-
* Indicates if the field is hidden in the UI
|
|
35437
|
-
*/
|
|
35438
|
-
hidden?: boolean;
|
|
35439
|
-
/**
|
|
35440
|
-
* Order of the column in the UI
|
|
35441
|
-
*/
|
|
35442
|
-
order?: number;
|
|
35443
|
-
/**
|
|
35444
|
-
* Width of the column in the UI
|
|
35445
|
-
*/
|
|
35446
|
-
width?: number;
|
|
35447
|
-
/**
|
|
35448
|
-
* ID of the schema
|
|
35449
|
-
*/
|
|
35450
|
-
schemaId?: string;
|
|
35451
|
-
computed?: {
|
|
35452
|
-
action: "ai" | "code" | "workflow";
|
|
35453
|
-
dependencies?: string[];
|
|
35454
|
-
/**
|
|
35455
|
-
* Prompt when action is "ai"
|
|
35456
|
-
*/
|
|
35457
|
-
prompt?: string;
|
|
35458
|
-
/**
|
|
35459
|
-
* Code to execute when action is "code"
|
|
35460
|
-
*/
|
|
35461
|
-
code?: string;
|
|
35462
|
-
/**
|
|
35463
|
-
* Model to use when action is "ai"
|
|
35464
|
-
*/
|
|
35465
|
-
model?: string;
|
|
35466
|
-
/**
|
|
35467
|
-
* ID of Workflow to execute when action is "workflow"
|
|
35468
|
-
*/
|
|
35469
|
-
workflowId?: string;
|
|
35470
|
-
enabled?: boolean;
|
|
35471
|
-
};
|
|
35472
|
-
/**
|
|
35473
|
-
* TypeScript typings for the column. Recommended if the type is "object", ex: "\{ foo: string; bar: number \}"
|
|
35474
|
-
*/
|
|
35475
|
-
typings?: string;
|
|
35476
|
-
};
|
|
35477
|
-
};
|
|
35478
|
-
};
|
|
35479
|
-
/**
|
|
35480
|
-
* Additional properties can be provided, but they will be ignored if no column matches.
|
|
35481
|
-
*/
|
|
35482
|
-
additionalProperties: true;
|
|
35483
|
-
/**
|
|
35484
|
-
* Array of required properties.
|
|
35485
|
-
*/
|
|
35486
|
-
required?: string[];
|
|
35487
|
-
type: "object";
|
|
35488
|
-
};
|
|
35489
|
-
/**
|
|
35490
|
-
* Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
|
|
35491
|
-
*/
|
|
35492
|
-
tags?: {
|
|
35493
|
-
[k: string]: string;
|
|
35494
|
-
};
|
|
35495
|
-
/**
|
|
35496
|
-
* Indicates if the table is enabled for computation.
|
|
35497
|
-
*/
|
|
35498
|
-
isComputeEnabled?: boolean;
|
|
35499
|
-
/**
|
|
35500
|
-
* Timestamp of table creation.
|
|
35501
|
-
*/
|
|
35502
|
-
createdAt?: string;
|
|
35503
|
-
/**
|
|
35504
|
-
* Timestamp of the last table update.
|
|
35505
|
-
*/
|
|
35506
|
-
updatedAt?: string;
|
|
35372
|
+
status: string;
|
|
35507
35373
|
};
|
|
35508
|
-
/**
|
|
35509
|
-
* The total number of rows present in the table.
|
|
35510
|
-
*/
|
|
35511
|
-
rows: number;
|
|
35512
35374
|
}
|
|
35513
35375
|
|
|
35514
35376
|
interface ExportTableRequestHeaders {
|
|
@@ -35528,7 +35390,7 @@ interface ExportTableResponse {
|
|
|
35528
35390
|
id: string;
|
|
35529
35391
|
botId: string;
|
|
35530
35392
|
tableId: string;
|
|
35531
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35393
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
35532
35394
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
35533
35395
|
progress?: number;
|
|
35534
35396
|
inputFileId: string | null;
|
|
@@ -35553,7 +35415,7 @@ interface GetTableJobsResponse {
|
|
|
35553
35415
|
id: string;
|
|
35554
35416
|
botId: string;
|
|
35555
35417
|
tableId: string;
|
|
35556
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35418
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
35557
35419
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
35558
35420
|
progress?: number;
|
|
35559
35421
|
inputFileId: string | null;
|
|
@@ -35582,7 +35444,7 @@ interface ImportTableResponse {
|
|
|
35582
35444
|
id: string;
|
|
35583
35445
|
botId: string;
|
|
35584
35446
|
tableId: string;
|
|
35585
|
-
type: "export" | "import" | "clear_column" | "clear_vectors";
|
|
35447
|
+
type: "export" | "import" | "clear_column" | "clear_vectors" | "delete_rows" | "duplicate_table";
|
|
35586
35448
|
status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
|
|
35587
35449
|
progress?: number;
|
|
35588
35450
|
inputFileId: string | null;
|
|
@@ -36158,7 +36020,7 @@ interface DeleteTableRowsRequestBody {
|
|
|
36158
36020
|
*/
|
|
36159
36021
|
ids?: number[];
|
|
36160
36022
|
/**
|
|
36161
|
-
* Filter to apply when deleting rows. Example: \{ "
|
|
36023
|
+
* 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" \} \}
|
|
36162
36024
|
*/
|
|
36163
36025
|
filter?: {
|
|
36164
36026
|
[k: string]: any;
|
|
@@ -36171,6 +36033,10 @@ interface DeleteTableRowsRequestBody {
|
|
|
36171
36033
|
type DeleteTableRowsInput = DeleteTableRowsRequestBody & DeleteTableRowsRequestHeaders & DeleteTableRowsRequestQuery & DeleteTableRowsRequestParams;
|
|
36172
36034
|
interface DeleteTableRowsResponse {
|
|
36173
36035
|
deletedRows: number;
|
|
36036
|
+
job?: {
|
|
36037
|
+
id: string;
|
|
36038
|
+
status: string;
|
|
36039
|
+
};
|
|
36174
36040
|
}
|
|
36175
36041
|
|
|
36176
36042
|
interface UpdateTableRowsRequestHeaders {
|
|
@@ -36575,9 +36441,9 @@ interface Bot {
|
|
|
36575
36441
|
states: {
|
|
36576
36442
|
[k: string]: {
|
|
36577
36443
|
/**
|
|
36578
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
36444
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
36579
36445
|
*/
|
|
36580
|
-
type: "conversation" | "user" | "bot"
|
|
36446
|
+
type: "conversation" | "user" | "bot";
|
|
36581
36447
|
/**
|
|
36582
36448
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
36583
36449
|
*/
|
|
@@ -37343,9 +37209,9 @@ interface Plugin {
|
|
|
37343
37209
|
states: {
|
|
37344
37210
|
[k: string]: {
|
|
37345
37211
|
/**
|
|
37346
|
-
* Type of the [State](#schema_state) (`conversation`, `user
|
|
37212
|
+
* Type of the [State](#schema_state) (`conversation`, `user` or `bot`)
|
|
37347
37213
|
*/
|
|
37348
|
-
type: "conversation" | "user" | "bot"
|
|
37214
|
+
type: "conversation" | "user" | "bot";
|
|
37349
37215
|
/**
|
|
37350
37216
|
* Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
|
|
37351
37217
|
*/
|
|
@@ -37471,6 +37337,26 @@ interface Plugin {
|
|
|
37471
37337
|
};
|
|
37472
37338
|
};
|
|
37473
37339
|
};
|
|
37340
|
+
/**
|
|
37341
|
+
* Message object configuration
|
|
37342
|
+
*/
|
|
37343
|
+
message: {
|
|
37344
|
+
tags: {
|
|
37345
|
+
/**
|
|
37346
|
+
* Definition of a tag that can be provided on the object
|
|
37347
|
+
*/
|
|
37348
|
+
[k: string]: {
|
|
37349
|
+
/**
|
|
37350
|
+
* Title of the tag
|
|
37351
|
+
*/
|
|
37352
|
+
title?: string;
|
|
37353
|
+
/**
|
|
37354
|
+
* Description of the tag
|
|
37355
|
+
*/
|
|
37356
|
+
description?: string;
|
|
37357
|
+
};
|
|
37358
|
+
};
|
|
37359
|
+
};
|
|
37474
37360
|
/**
|
|
37475
37361
|
* Optional attributes
|
|
37476
37362
|
*/
|
|
@@ -37644,6 +37530,12 @@ interface User {
|
|
|
37644
37530
|
* Picture URL of the [User](#schema_user)
|
|
37645
37531
|
*/
|
|
37646
37532
|
pictureUrl?: string;
|
|
37533
|
+
/**
|
|
37534
|
+
* Optional properties
|
|
37535
|
+
*/
|
|
37536
|
+
properties?: {
|
|
37537
|
+
[k: string]: string;
|
|
37538
|
+
};
|
|
37647
37539
|
/**
|
|
37648
37540
|
* Optional attributes
|
|
37649
37541
|
*/
|
|
@@ -37660,7 +37552,8 @@ interface Conversation {
|
|
|
37660
37552
|
*/
|
|
37661
37553
|
id: string;
|
|
37662
37554
|
/**
|
|
37663
|
-
*
|
|
37555
|
+
* @deprecated
|
|
37556
|
+
* Unused. This field will be removed in the future.
|
|
37664
37557
|
*/
|
|
37665
37558
|
currentTaskId?: string;
|
|
37666
37559
|
/**
|
|
@@ -37689,6 +37582,10 @@ interface Conversation {
|
|
|
37689
37582
|
tags: {
|
|
37690
37583
|
[k: string]: string;
|
|
37691
37584
|
};
|
|
37585
|
+
/**
|
|
37586
|
+
* Number of messages in the conversation
|
|
37587
|
+
*/
|
|
37588
|
+
messageCount: number;
|
|
37692
37589
|
}
|
|
37693
37590
|
/**
|
|
37694
37591
|
* The event object represents an action or an occurrence.
|
|
@@ -37812,9 +37709,9 @@ interface State {
|
|
|
37812
37709
|
*/
|
|
37813
37710
|
name: string;
|
|
37814
37711
|
/**
|
|
37815
|
-
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `
|
|
37712
|
+
* Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `integration` or `workflow`) that the state is related to
|
|
37816
37713
|
*/
|
|
37817
|
-
type: "conversation" | "user" | "bot" | "
|
|
37714
|
+
type: "conversation" | "user" | "bot" | "integration" | "workflow";
|
|
37818
37715
|
/**
|
|
37819
37716
|
* Payload is the content of the state defined by your bot.
|
|
37820
37717
|
*/
|
|
@@ -37822,71 +37719,6 @@ interface State {
|
|
|
37822
37719
|
[k: string]: any;
|
|
37823
37720
|
};
|
|
37824
37721
|
}
|
|
37825
|
-
/**
|
|
37826
|
-
* Task definition
|
|
37827
|
-
*/
|
|
37828
|
-
interface Task {
|
|
37829
|
-
/**
|
|
37830
|
-
* Id of the [Task](#schema_task)
|
|
37831
|
-
*/
|
|
37832
|
-
id: string;
|
|
37833
|
-
/**
|
|
37834
|
-
* Title describing the task
|
|
37835
|
-
*/
|
|
37836
|
-
title: string;
|
|
37837
|
-
/**
|
|
37838
|
-
* All the notes related to the execution of the current task
|
|
37839
|
-
*/
|
|
37840
|
-
description: string;
|
|
37841
|
-
/**
|
|
37842
|
-
* Type of the task
|
|
37843
|
-
*/
|
|
37844
|
-
type: string;
|
|
37845
|
-
/**
|
|
37846
|
-
* Content related to the task
|
|
37847
|
-
*/
|
|
37848
|
-
data: {
|
|
37849
|
-
[k: string]: any;
|
|
37850
|
-
};
|
|
37851
|
-
/**
|
|
37852
|
-
* Status of the task
|
|
37853
|
-
*/
|
|
37854
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
37855
|
-
/**
|
|
37856
|
-
* Parent task id is the parent task that created this task
|
|
37857
|
-
*/
|
|
37858
|
-
parentTaskId?: string;
|
|
37859
|
-
/**
|
|
37860
|
-
* Conversation id related to this task
|
|
37861
|
-
*/
|
|
37862
|
-
conversationId?: string;
|
|
37863
|
-
/**
|
|
37864
|
-
* Specific user related to this task
|
|
37865
|
-
*/
|
|
37866
|
-
userId?: string;
|
|
37867
|
-
/**
|
|
37868
|
-
* The timeout date where the task should be failed in the ISO 8601 format
|
|
37869
|
-
*/
|
|
37870
|
-
timeoutAt: string;
|
|
37871
|
-
/**
|
|
37872
|
-
* Creation date of the task in ISO 8601 format
|
|
37873
|
-
*/
|
|
37874
|
-
createdAt: string;
|
|
37875
|
-
/**
|
|
37876
|
-
* Updating date of the task in ISO 8601 format
|
|
37877
|
-
*/
|
|
37878
|
-
updatedAt: string;
|
|
37879
|
-
/**
|
|
37880
|
-
* If the task fails this is the reason behind it
|
|
37881
|
-
*/
|
|
37882
|
-
failureReason?: string;
|
|
37883
|
-
/**
|
|
37884
|
-
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Task](#schema_task). Individual keys can be unset by posting an empty value to them.
|
|
37885
|
-
*/
|
|
37886
|
-
tags: {
|
|
37887
|
-
[k: string]: string;
|
|
37888
|
-
};
|
|
37889
|
-
}
|
|
37890
37722
|
/**
|
|
37891
37723
|
* Workflow definition
|
|
37892
37724
|
*/
|
|
@@ -38308,11 +38140,6 @@ declare class Client$1 {
|
|
|
38308
38140
|
readonly patchState: (input: PatchStateInput) => Promise<PatchStateResponse>;
|
|
38309
38141
|
readonly callAction: (input: CallActionInput) => Promise<CallActionResponse>;
|
|
38310
38142
|
readonly configureIntegration: (input: ConfigureIntegrationInput) => Promise<ConfigureIntegrationResponse>;
|
|
38311
|
-
readonly getTask: (input: GetTaskInput) => Promise<GetTaskResponse>;
|
|
38312
|
-
readonly createTask: (input: CreateTaskInput) => Promise<CreateTaskResponse>;
|
|
38313
|
-
readonly updateTask: (input: UpdateTaskInput) => Promise<UpdateTaskResponse>;
|
|
38314
|
-
readonly deleteTask: (input: DeleteTaskInput) => Promise<DeleteTaskResponse>;
|
|
38315
|
-
readonly listTasks: (input: ListTasksInput) => Promise<ListTasksResponse>;
|
|
38316
38143
|
readonly createWorkflow: (input: CreateWorkflowInput) => Promise<CreateWorkflowResponse>;
|
|
38317
38144
|
readonly getWorkflow: (input: GetWorkflowInput) => Promise<GetWorkflowResponse>;
|
|
38318
38145
|
readonly updateWorkflow: (input: UpdateWorkflowInput) => Promise<UpdateWorkflowResponse>;
|
|
@@ -38506,6 +38333,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38506
38333
|
tags: {
|
|
38507
38334
|
[k: string]: string;
|
|
38508
38335
|
};
|
|
38336
|
+
messageCount: number;
|
|
38509
38337
|
}>;
|
|
38510
38338
|
participants: (props: {
|
|
38511
38339
|
id: string;
|
|
@@ -38518,6 +38346,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38518
38346
|
};
|
|
38519
38347
|
name?: string;
|
|
38520
38348
|
pictureUrl?: string;
|
|
38349
|
+
properties?: {
|
|
38350
|
+
[k: string]: string;
|
|
38351
|
+
};
|
|
38521
38352
|
attributes?: {
|
|
38522
38353
|
[k: string]: string;
|
|
38523
38354
|
};
|
|
@@ -38584,36 +38415,10 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38584
38415
|
};
|
|
38585
38416
|
name?: string;
|
|
38586
38417
|
pictureUrl?: string;
|
|
38587
|
-
|
|
38418
|
+
properties?: {
|
|
38588
38419
|
[k: string]: string;
|
|
38589
38420
|
};
|
|
38590
|
-
|
|
38591
|
-
tasks: (props: {
|
|
38592
|
-
status?: ("timeout" | "pending" | "failed" | "in_progress" | "completed" | "blocked" | "paused" | "cancelled")[] | undefined;
|
|
38593
|
-
tags?: {
|
|
38594
|
-
[x: string]: string;
|
|
38595
|
-
} | undefined;
|
|
38596
|
-
type?: string | undefined;
|
|
38597
|
-
userId?: string | undefined;
|
|
38598
|
-
conversationId?: string | undefined;
|
|
38599
|
-
parentTaskId?: string | undefined;
|
|
38600
|
-
}) => AsyncCollection<{
|
|
38601
|
-
id: string;
|
|
38602
|
-
title: string;
|
|
38603
|
-
description: string;
|
|
38604
|
-
type: string;
|
|
38605
|
-
data: {
|
|
38606
|
-
[k: string]: any;
|
|
38607
|
-
};
|
|
38608
|
-
status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
|
|
38609
|
-
parentTaskId?: string;
|
|
38610
|
-
conversationId?: string;
|
|
38611
|
-
userId?: string;
|
|
38612
|
-
timeoutAt: string;
|
|
38613
|
-
createdAt: string;
|
|
38614
|
-
updatedAt: string;
|
|
38615
|
-
failureReason?: string;
|
|
38616
|
-
tags: {
|
|
38421
|
+
attributes?: {
|
|
38617
38422
|
[k: string]: string;
|
|
38618
38423
|
};
|
|
38619
38424
|
}>;
|
|
@@ -38657,6 +38462,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38657
38462
|
actions?: string[];
|
|
38658
38463
|
interfaces?: string[];
|
|
38659
38464
|
};
|
|
38465
|
+
attributes?: {
|
|
38466
|
+
[k: string]: string;
|
|
38467
|
+
};
|
|
38660
38468
|
}>;
|
|
38661
38469
|
bots: (props: {
|
|
38662
38470
|
tags?: {
|
|
@@ -38740,6 +38548,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38740
38548
|
handle: string | null;
|
|
38741
38549
|
name: string;
|
|
38742
38550
|
};
|
|
38551
|
+
attributes?: {
|
|
38552
|
+
[k: string]: string;
|
|
38553
|
+
};
|
|
38743
38554
|
}>;
|
|
38744
38555
|
interfaces: (props: {
|
|
38745
38556
|
name?: string | undefined;
|
|
@@ -38917,7 +38728,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38917
38728
|
conversationId?: string | undefined;
|
|
38918
38729
|
name?: string | undefined;
|
|
38919
38730
|
parentWorkflowId?: string | undefined;
|
|
38920
|
-
statuses?: ("pending" | "failed" | "in_progress" | "
|
|
38731
|
+
statuses?: ("pending" | "failed" | "in_progress" | "listening" | "completed" | "paused" | "timedout" | "cancelled")[] | undefined;
|
|
38921
38732
|
}) => AsyncCollection<{
|
|
38922
38733
|
id: string;
|
|
38923
38734
|
name: string;
|
|
@@ -39182,4 +38993,4 @@ declare class UploadFileError extends Error {
|
|
|
39182
38993
|
constructor(message: string, innerError?: AxiosError | undefined, file?: UpsertFileResponse["file"] | undefined);
|
|
39183
38994
|
}
|
|
39184
38995
|
|
|
39185
|
-
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, OperationTimeoutError, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table,
|
|
38996
|
+
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, OperationTimeoutError, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceGoneError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, 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 };
|