@botpress/client 1.40.0 → 1.42.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 +642 -392
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,12 @@ interface CreateConversationRequestBody$1 {
|
|
|
96
96
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
97
97
|
*/
|
|
98
98
|
integrationName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
101
|
+
*/
|
|
102
|
+
properties?: {
|
|
103
|
+
[k: string]: string;
|
|
104
|
+
};
|
|
99
105
|
}
|
|
100
106
|
type CreateConversationInput$1 = CreateConversationRequestBody$1 & CreateConversationRequestHeaders$1 & CreateConversationRequestQuery$1 & CreateConversationRequestParams$1;
|
|
101
107
|
interface CreateConversationResponse$1 {
|
|
@@ -142,6 +148,12 @@ interface CreateConversationResponse$1 {
|
|
|
142
148
|
* Number of messages in the conversation
|
|
143
149
|
*/
|
|
144
150
|
messageCount: number;
|
|
151
|
+
/**
|
|
152
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
153
|
+
*/
|
|
154
|
+
properties?: {
|
|
155
|
+
[k: string]: string;
|
|
156
|
+
};
|
|
145
157
|
};
|
|
146
158
|
}
|
|
147
159
|
|
|
@@ -199,6 +211,12 @@ interface GetConversationResponse$1 {
|
|
|
199
211
|
* Number of messages in the conversation
|
|
200
212
|
*/
|
|
201
213
|
messageCount: number;
|
|
214
|
+
/**
|
|
215
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
216
|
+
*/
|
|
217
|
+
properties?: {
|
|
218
|
+
[k: string]: string;
|
|
219
|
+
};
|
|
202
220
|
};
|
|
203
221
|
}
|
|
204
222
|
|
|
@@ -216,6 +234,8 @@ interface ListConversationsRequestQuery$1 {
|
|
|
216
234
|
channel?: string;
|
|
217
235
|
afterDate?: string;
|
|
218
236
|
beforeDate?: string;
|
|
237
|
+
minMessageCount?: number;
|
|
238
|
+
maxMessageCount?: number;
|
|
219
239
|
}
|
|
220
240
|
interface ListConversationsRequestParams$1 {
|
|
221
241
|
}
|
|
@@ -263,6 +283,12 @@ interface ListConversationsResponse$1 {
|
|
|
263
283
|
* Number of messages in the conversation
|
|
264
284
|
*/
|
|
265
285
|
messageCount: number;
|
|
286
|
+
/**
|
|
287
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
288
|
+
*/
|
|
289
|
+
properties?: {
|
|
290
|
+
[k: string]: string;
|
|
291
|
+
};
|
|
266
292
|
}[];
|
|
267
293
|
meta: {
|
|
268
294
|
/**
|
|
@@ -294,6 +320,12 @@ interface GetOrCreateConversationRequestBody$1 {
|
|
|
294
320
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
295
321
|
*/
|
|
296
322
|
integrationName?: string;
|
|
323
|
+
/**
|
|
324
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
325
|
+
*/
|
|
326
|
+
properties?: {
|
|
327
|
+
[k: string]: string;
|
|
328
|
+
};
|
|
297
329
|
/**
|
|
298
330
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
299
331
|
*/
|
|
@@ -344,6 +376,12 @@ interface GetOrCreateConversationResponse$1 {
|
|
|
344
376
|
* Number of messages in the conversation
|
|
345
377
|
*/
|
|
346
378
|
messageCount: number;
|
|
379
|
+
/**
|
|
380
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
381
|
+
*/
|
|
382
|
+
properties?: {
|
|
383
|
+
[k: string]: string;
|
|
384
|
+
};
|
|
347
385
|
};
|
|
348
386
|
meta: {
|
|
349
387
|
created: boolean;
|
|
@@ -369,6 +407,12 @@ interface UpdateConversationRequestBody$1 {
|
|
|
369
407
|
tags?: {
|
|
370
408
|
[k: string]: string;
|
|
371
409
|
};
|
|
410
|
+
/**
|
|
411
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
412
|
+
*/
|
|
413
|
+
properties?: {
|
|
414
|
+
[k: string]: string | null;
|
|
415
|
+
};
|
|
372
416
|
}
|
|
373
417
|
type UpdateConversationInput$1 = UpdateConversationRequestBody$1 & UpdateConversationRequestHeaders$1 & UpdateConversationRequestQuery$1 & UpdateConversationRequestParams$1;
|
|
374
418
|
interface UpdateConversationResponse$1 {
|
|
@@ -415,6 +459,12 @@ interface UpdateConversationResponse$1 {
|
|
|
415
459
|
* Number of messages in the conversation
|
|
416
460
|
*/
|
|
417
461
|
messageCount: number;
|
|
462
|
+
/**
|
|
463
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
464
|
+
*/
|
|
465
|
+
properties?: {
|
|
466
|
+
[k: string]: string;
|
|
467
|
+
};
|
|
418
468
|
};
|
|
419
469
|
}
|
|
420
470
|
|
|
@@ -1295,7 +1345,7 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1295
1345
|
*/
|
|
1296
1346
|
pictureUrl?: string;
|
|
1297
1347
|
/**
|
|
1298
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1348
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1299
1349
|
*/
|
|
1300
1350
|
properties?: {
|
|
1301
1351
|
[k: string]: string;
|
|
@@ -1329,6 +1379,12 @@ interface InitializeIncomingMessageRequestBody$1 {
|
|
|
1329
1379
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
1330
1380
|
*/
|
|
1331
1381
|
integrationName?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1384
|
+
*/
|
|
1385
|
+
properties?: {
|
|
1386
|
+
[k: string]: string;
|
|
1387
|
+
};
|
|
1332
1388
|
/**
|
|
1333
1389
|
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1334
1390
|
*/
|
|
@@ -1446,6 +1502,12 @@ interface InitializeIncomingMessageResponse$1 {
|
|
|
1446
1502
|
* Number of messages in the conversation
|
|
1447
1503
|
*/
|
|
1448
1504
|
messageCount: number;
|
|
1505
|
+
/**
|
|
1506
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1507
|
+
*/
|
|
1508
|
+
properties?: {
|
|
1509
|
+
[k: string]: string;
|
|
1510
|
+
};
|
|
1449
1511
|
};
|
|
1450
1512
|
/**
|
|
1451
1513
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -1620,7 +1682,7 @@ interface CreateUserRequestBody$1 {
|
|
|
1620
1682
|
*/
|
|
1621
1683
|
pictureUrl?: string;
|
|
1622
1684
|
/**
|
|
1623
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1685
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1624
1686
|
*/
|
|
1625
1687
|
properties?: {
|
|
1626
1688
|
[k: string]: string;
|
|
@@ -1831,7 +1893,7 @@ interface GetOrCreateUserRequestBody$1 {
|
|
|
1831
1893
|
*/
|
|
1832
1894
|
pictureUrl?: string;
|
|
1833
1895
|
/**
|
|
1834
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1896
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
1835
1897
|
*/
|
|
1836
1898
|
properties?: {
|
|
1837
1899
|
[k: string]: string;
|
|
@@ -1928,7 +1990,7 @@ interface UpdateUserRequestBody$1 {
|
|
|
1928
1990
|
[k: string]: string | null;
|
|
1929
1991
|
};
|
|
1930
1992
|
/**
|
|
1931
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
1993
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
1932
1994
|
*/
|
|
1933
1995
|
properties?: {
|
|
1934
1996
|
[k: string]: string | null;
|
|
@@ -2953,6 +3015,9 @@ interface GetOrCreateWorkflowResponse$1 {
|
|
|
2953
3015
|
[k: string]: string;
|
|
2954
3016
|
};
|
|
2955
3017
|
};
|
|
3018
|
+
meta: {
|
|
3019
|
+
created: boolean;
|
|
3020
|
+
};
|
|
2956
3021
|
}
|
|
2957
3022
|
|
|
2958
3023
|
interface ListTagValuesRequestHeaders$1 {
|
|
@@ -3123,6 +3188,8 @@ declare class Client$a extends Client$b {
|
|
|
3123
3188
|
participantIds?: string[] | undefined;
|
|
3124
3189
|
afterDate?: string | undefined;
|
|
3125
3190
|
beforeDate?: string | undefined;
|
|
3191
|
+
minMessageCount?: number | undefined;
|
|
3192
|
+
maxMessageCount?: number | undefined;
|
|
3126
3193
|
}) => AsyncCollection<{
|
|
3127
3194
|
id: string;
|
|
3128
3195
|
currentTaskId?: string;
|
|
@@ -3135,6 +3202,9 @@ declare class Client$a extends Client$b {
|
|
|
3135
3202
|
[k: string]: string;
|
|
3136
3203
|
};
|
|
3137
3204
|
messageCount: number;
|
|
3205
|
+
properties?: {
|
|
3206
|
+
[k: string]: string;
|
|
3207
|
+
};
|
|
3138
3208
|
}>;
|
|
3139
3209
|
participants: (props: {
|
|
3140
3210
|
id: string;
|
|
@@ -3890,12 +3960,6 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3890
3960
|
};
|
|
3891
3961
|
};
|
|
3892
3962
|
};
|
|
3893
|
-
/**
|
|
3894
|
-
* Optional attributes
|
|
3895
|
-
*/
|
|
3896
|
-
attributes?: {
|
|
3897
|
-
[k: string]: string;
|
|
3898
|
-
};
|
|
3899
3963
|
/**
|
|
3900
3964
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
3901
3965
|
*/
|
|
@@ -3937,6 +4001,12 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3937
4001
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
3938
4002
|
*/
|
|
3939
4003
|
secrets: string[];
|
|
4004
|
+
/**
|
|
4005
|
+
* Optional key-value attributes from the integration definition
|
|
4006
|
+
*/
|
|
4007
|
+
attributes?: {
|
|
4008
|
+
[k: string]: string;
|
|
4009
|
+
};
|
|
3940
4010
|
ownerWorkspace: {
|
|
3941
4011
|
id: string;
|
|
3942
4012
|
handle: string | null;
|
|
@@ -4310,12 +4380,6 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4310
4380
|
};
|
|
4311
4381
|
};
|
|
4312
4382
|
};
|
|
4313
|
-
/**
|
|
4314
|
-
* Optional attributes
|
|
4315
|
-
*/
|
|
4316
|
-
attributes?: {
|
|
4317
|
-
[k: string]: string;
|
|
4318
|
-
};
|
|
4319
4383
|
/**
|
|
4320
4384
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
4321
4385
|
*/
|
|
@@ -4357,6 +4421,12 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4357
4421
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
4358
4422
|
*/
|
|
4359
4423
|
secrets: string[];
|
|
4424
|
+
/**
|
|
4425
|
+
* Optional key-value attributes from the integration definition
|
|
4426
|
+
*/
|
|
4427
|
+
attributes?: {
|
|
4428
|
+
[k: string]: string;
|
|
4429
|
+
};
|
|
4360
4430
|
ownerWorkspace: {
|
|
4361
4431
|
id: string;
|
|
4362
4432
|
handle: string | null;
|
|
@@ -4643,12 +4713,6 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4643
4713
|
};
|
|
4644
4714
|
};
|
|
4645
4715
|
};
|
|
4646
|
-
/**
|
|
4647
|
-
* Optional attributes
|
|
4648
|
-
*/
|
|
4649
|
-
attributes?: {
|
|
4650
|
-
[k: string]: string;
|
|
4651
|
-
};
|
|
4652
4716
|
/**
|
|
4653
4717
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4654
4718
|
*/
|
|
@@ -4678,6 +4742,12 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4678
4742
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
4679
4743
|
*/
|
|
4680
4744
|
lifecycleStatus: "published" | "deprecated";
|
|
4745
|
+
/**
|
|
4746
|
+
* Optional key-value attributes from the plugin definition
|
|
4747
|
+
*/
|
|
4748
|
+
attributes?: {
|
|
4749
|
+
[k: string]: string;
|
|
4750
|
+
};
|
|
4681
4751
|
};
|
|
4682
4752
|
}
|
|
4683
4753
|
|
|
@@ -4892,12 +4962,6 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
|
|
|
4892
4962
|
};
|
|
4893
4963
|
};
|
|
4894
4964
|
};
|
|
4895
|
-
/**
|
|
4896
|
-
* Optional attributes
|
|
4897
|
-
*/
|
|
4898
|
-
attributes?: {
|
|
4899
|
-
[k: string]: string;
|
|
4900
|
-
};
|
|
4901
4965
|
/**
|
|
4902
4966
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4903
4967
|
*/
|
|
@@ -4927,6 +4991,12 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
|
|
|
4927
4991
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
4928
4992
|
*/
|
|
4929
4993
|
lifecycleStatus: "published" | "deprecated";
|
|
4994
|
+
/**
|
|
4995
|
+
* Optional key-value attributes from the plugin definition
|
|
4996
|
+
*/
|
|
4997
|
+
attributes?: {
|
|
4998
|
+
[k: string]: string;
|
|
4999
|
+
};
|
|
4930
5000
|
};
|
|
4931
5001
|
}
|
|
4932
5002
|
|
|
@@ -5133,12 +5203,6 @@ interface GetPublicPluginResponse$1 {
|
|
|
5133
5203
|
};
|
|
5134
5204
|
};
|
|
5135
5205
|
};
|
|
5136
|
-
/**
|
|
5137
|
-
* Optional attributes
|
|
5138
|
-
*/
|
|
5139
|
-
attributes?: {
|
|
5140
|
-
[k: string]: string;
|
|
5141
|
-
};
|
|
5142
5206
|
/**
|
|
5143
5207
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5144
5208
|
*/
|
|
@@ -5168,6 +5232,12 @@ interface GetPublicPluginResponse$1 {
|
|
|
5168
5232
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
5169
5233
|
*/
|
|
5170
5234
|
lifecycleStatus: "published" | "deprecated";
|
|
5235
|
+
/**
|
|
5236
|
+
* Optional key-value attributes from the plugin definition
|
|
5237
|
+
*/
|
|
5238
|
+
attributes?: {
|
|
5239
|
+
[k: string]: string;
|
|
5240
|
+
};
|
|
5171
5241
|
};
|
|
5172
5242
|
}
|
|
5173
5243
|
|
|
@@ -5385,12 +5455,6 @@ interface GetPublicInterfaceByIdResponse$1 {
|
|
|
5385
5455
|
script: string;
|
|
5386
5456
|
language: string;
|
|
5387
5457
|
};
|
|
5388
|
-
/**
|
|
5389
|
-
* Optional attributes
|
|
5390
|
-
*/
|
|
5391
|
-
attributes?: {
|
|
5392
|
-
[k: string]: string;
|
|
5393
|
-
};
|
|
5394
5458
|
/**
|
|
5395
5459
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
5396
5460
|
*/
|
|
@@ -5411,6 +5475,12 @@ interface GetPublicInterfaceByIdResponse$1 {
|
|
|
5411
5475
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
5412
5476
|
*/
|
|
5413
5477
|
public: boolean;
|
|
5478
|
+
/**
|
|
5479
|
+
* Optional key-value attributes from the interface definition
|
|
5480
|
+
*/
|
|
5481
|
+
attributes?: {
|
|
5482
|
+
[k: string]: string;
|
|
5483
|
+
};
|
|
5414
5484
|
};
|
|
5415
5485
|
}
|
|
5416
5486
|
|
|
@@ -5551,12 +5621,6 @@ interface GetPublicInterfaceResponse$1 {
|
|
|
5551
5621
|
script: string;
|
|
5552
5622
|
language: string;
|
|
5553
5623
|
};
|
|
5554
|
-
/**
|
|
5555
|
-
* Optional attributes
|
|
5556
|
-
*/
|
|
5557
|
-
attributes?: {
|
|
5558
|
-
[k: string]: string;
|
|
5559
|
-
};
|
|
5560
5624
|
/**
|
|
5561
5625
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
5562
5626
|
*/
|
|
@@ -5577,6 +5641,12 @@ interface GetPublicInterfaceResponse$1 {
|
|
|
5577
5641
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
5578
5642
|
*/
|
|
5579
5643
|
public: boolean;
|
|
5644
|
+
/**
|
|
5645
|
+
* Optional key-value attributes from the interface definition
|
|
5646
|
+
*/
|
|
5647
|
+
attributes?: {
|
|
5648
|
+
[k: string]: string;
|
|
5649
|
+
};
|
|
5580
5650
|
};
|
|
5581
5651
|
}
|
|
5582
5652
|
|
|
@@ -5801,6 +5871,10 @@ interface CreateBotRequestBody$1 {
|
|
|
5801
5871
|
* Type of the [Bot](#schema_bot)
|
|
5802
5872
|
*/
|
|
5803
5873
|
type?: "studio" | "adk" | "desk";
|
|
5874
|
+
/**
|
|
5875
|
+
* Maximum execution time (in seconds).
|
|
5876
|
+
*/
|
|
5877
|
+
maxExecutionTime?: number;
|
|
5804
5878
|
}
|
|
5805
5879
|
type CreateBotInput$1 = CreateBotRequestBody$1 & CreateBotRequestHeaders$1 & CreateBotRequestQuery$1 & CreateBotRequestParams$1;
|
|
5806
5880
|
interface CreateBotResponse$1 {
|
|
@@ -6491,10 +6565,6 @@ interface UpdateBotRequestBody$1 {
|
|
|
6491
6565
|
[k: string]: string | null;
|
|
6492
6566
|
};
|
|
6493
6567
|
layers?: string[];
|
|
6494
|
-
/**
|
|
6495
|
-
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
6496
|
-
*/
|
|
6497
|
-
shouldMergePlugins?: boolean;
|
|
6498
6568
|
/**
|
|
6499
6569
|
* Type of the [Bot](#schema_bot)
|
|
6500
6570
|
*/
|
|
@@ -6966,6 +7036,8 @@ interface ListBotsRequestQuery$1 {
|
|
|
6966
7036
|
tags?: {
|
|
6967
7037
|
[k: string]: string;
|
|
6968
7038
|
};
|
|
7039
|
+
integrationNames?: string[];
|
|
7040
|
+
pluginNames?: string[];
|
|
6969
7041
|
nextToken?: string;
|
|
6970
7042
|
sortField?: "createdAt" | "updatedAt";
|
|
6971
7043
|
sortDirection?: "asc" | "desc";
|
|
@@ -7013,7 +7085,6 @@ interface ListBotsResponse$1 {
|
|
|
7013
7085
|
interface GetBotRequestHeaders$1 {
|
|
7014
7086
|
}
|
|
7015
7087
|
interface GetBotRequestQuery$1 {
|
|
7016
|
-
shouldMergePlugins?: boolean;
|
|
7017
7088
|
}
|
|
7018
7089
|
interface GetBotRequestParams$1 {
|
|
7019
7090
|
id: string;
|
|
@@ -8162,7 +8233,7 @@ interface CreateWorkspaceResponse$1 {
|
|
|
8162
8233
|
updatedAt: string;
|
|
8163
8234
|
botCount: number;
|
|
8164
8235
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8165
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8236
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8166
8237
|
blocked: boolean;
|
|
8167
8238
|
spendingLimit: number;
|
|
8168
8239
|
about?: string;
|
|
@@ -8216,7 +8287,7 @@ interface GetWorkspaceResponse$1 {
|
|
|
8216
8287
|
updatedAt: string;
|
|
8217
8288
|
botCount: number;
|
|
8218
8289
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8219
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8290
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8220
8291
|
blocked: boolean;
|
|
8221
8292
|
spendingLimit: number;
|
|
8222
8293
|
about?: string;
|
|
@@ -8388,7 +8459,7 @@ interface UpdateWorkspaceResponse$3 {
|
|
|
8388
8459
|
updatedAt: string;
|
|
8389
8460
|
botCount: number;
|
|
8390
8461
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8391
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8462
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8392
8463
|
blocked: boolean;
|
|
8393
8464
|
spendingLimit: number;
|
|
8394
8465
|
about?: string;
|
|
@@ -8445,7 +8516,7 @@ interface UpdateWorkspaceResponse$2 {
|
|
|
8445
8516
|
updatedAt: string;
|
|
8446
8517
|
botCount: number;
|
|
8447
8518
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
8448
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
8519
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
8449
8520
|
blocked: boolean;
|
|
8450
8521
|
spendingLimit: number;
|
|
8451
8522
|
about?: string;
|
|
@@ -8873,12 +8944,6 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
8873
8944
|
};
|
|
8874
8945
|
};
|
|
8875
8946
|
};
|
|
8876
|
-
/**
|
|
8877
|
-
* Optional attributes
|
|
8878
|
-
*/
|
|
8879
|
-
attributes?: {
|
|
8880
|
-
[k: string]: string;
|
|
8881
|
-
};
|
|
8882
8947
|
identifier?: {
|
|
8883
8948
|
fallbackHandlerScript?: string;
|
|
8884
8949
|
extractScript?: string;
|
|
@@ -9063,6 +9128,12 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
9063
9128
|
*/
|
|
9064
9129
|
visibility?: "public" | "private" | "unlisted";
|
|
9065
9130
|
layers?: string[];
|
|
9131
|
+
/**
|
|
9132
|
+
* Optional key-value attributes from the integration definition
|
|
9133
|
+
*/
|
|
9134
|
+
attributes?: {
|
|
9135
|
+
[k: string]: string;
|
|
9136
|
+
};
|
|
9066
9137
|
}
|
|
9067
9138
|
type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
|
|
9068
9139
|
interface CreateIntegrationResponse$1 {
|
|
@@ -9415,12 +9486,6 @@ interface CreateIntegrationResponse$1 {
|
|
|
9415
9486
|
};
|
|
9416
9487
|
};
|
|
9417
9488
|
};
|
|
9418
|
-
/**
|
|
9419
|
-
* Optional attributes
|
|
9420
|
-
*/
|
|
9421
|
-
attributes?: {
|
|
9422
|
-
[k: string]: string;
|
|
9423
|
-
};
|
|
9424
9489
|
/**
|
|
9425
9490
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9426
9491
|
*/
|
|
@@ -9462,6 +9527,12 @@ interface CreateIntegrationResponse$1 {
|
|
|
9462
9527
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
9463
9528
|
*/
|
|
9464
9529
|
secrets: string[];
|
|
9530
|
+
/**
|
|
9531
|
+
* Optional key-value attributes from the integration definition
|
|
9532
|
+
*/
|
|
9533
|
+
attributes?: {
|
|
9534
|
+
[k: string]: string;
|
|
9535
|
+
};
|
|
9465
9536
|
};
|
|
9466
9537
|
}
|
|
9467
9538
|
|
|
@@ -9620,12 +9691,6 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
9620
9691
|
};
|
|
9621
9692
|
};
|
|
9622
9693
|
};
|
|
9623
|
-
/**
|
|
9624
|
-
* Optional attributes
|
|
9625
|
-
*/
|
|
9626
|
-
attributes?: {
|
|
9627
|
-
[k: string]: string;
|
|
9628
|
-
};
|
|
9629
9694
|
identifier?: {
|
|
9630
9695
|
fallbackHandlerScript?: string;
|
|
9631
9696
|
extractScript?: string;
|
|
@@ -9810,6 +9875,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
9810
9875
|
*/
|
|
9811
9876
|
visibility?: "public" | "private" | "unlisted";
|
|
9812
9877
|
layers?: string[];
|
|
9878
|
+
/**
|
|
9879
|
+
* Optional key-value attributes from the integration definition
|
|
9880
|
+
*/
|
|
9881
|
+
attributes?: {
|
|
9882
|
+
[k: string]: string;
|
|
9883
|
+
};
|
|
9813
9884
|
}
|
|
9814
9885
|
type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
|
|
9815
9886
|
interface ValidateIntegrationCreationResponse$1 {
|
|
@@ -9872,12 +9943,12 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
9872
9943
|
} | null;
|
|
9873
9944
|
};
|
|
9874
9945
|
/**
|
|
9875
|
-
* **EXPERIMENTAL**
|
|
9946
|
+
* **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
|
|
9876
9947
|
*/
|
|
9877
9948
|
extraOperations?: {
|
|
9878
9949
|
[k: string]: {
|
|
9879
9950
|
enabled: boolean;
|
|
9880
|
-
};
|
|
9951
|
+
} | null;
|
|
9881
9952
|
};
|
|
9882
9953
|
sdkVersion?: string;
|
|
9883
9954
|
channels?: {
|
|
@@ -10102,7 +10173,7 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
10102
10173
|
} | null;
|
|
10103
10174
|
};
|
|
10104
10175
|
/**
|
|
10105
|
-
* Optional attributes. Set attributes to null to remove them
|
|
10176
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
10106
10177
|
*/
|
|
10107
10178
|
attributes?: {
|
|
10108
10179
|
[k: string]: string | null;
|
|
@@ -10499,12 +10570,6 @@ interface UpdateIntegrationResponse$1 {
|
|
|
10499
10570
|
};
|
|
10500
10571
|
};
|
|
10501
10572
|
};
|
|
10502
|
-
/**
|
|
10503
|
-
* Optional attributes
|
|
10504
|
-
*/
|
|
10505
|
-
attributes?: {
|
|
10506
|
-
[k: string]: string;
|
|
10507
|
-
};
|
|
10508
10573
|
/**
|
|
10509
10574
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10510
10575
|
*/
|
|
@@ -10546,6 +10611,12 @@ interface UpdateIntegrationResponse$1 {
|
|
|
10546
10611
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
10547
10612
|
*/
|
|
10548
10613
|
secrets: string[];
|
|
10614
|
+
/**
|
|
10615
|
+
* Optional key-value attributes from the integration definition
|
|
10616
|
+
*/
|
|
10617
|
+
attributes?: {
|
|
10618
|
+
[k: string]: string;
|
|
10619
|
+
};
|
|
10549
10620
|
};
|
|
10550
10621
|
}
|
|
10551
10622
|
|
|
@@ -10623,12 +10694,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
10623
10694
|
} | null;
|
|
10624
10695
|
};
|
|
10625
10696
|
/**
|
|
10626
|
-
* **EXPERIMENTAL**
|
|
10697
|
+
* **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
|
|
10627
10698
|
*/
|
|
10628
10699
|
extraOperations?: {
|
|
10629
10700
|
[k: string]: {
|
|
10630
10701
|
enabled: boolean;
|
|
10631
|
-
};
|
|
10702
|
+
} | null;
|
|
10632
10703
|
};
|
|
10633
10704
|
sdkVersion?: string;
|
|
10634
10705
|
channels?: {
|
|
@@ -10853,7 +10924,7 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
10853
10924
|
} | null;
|
|
10854
10925
|
};
|
|
10855
10926
|
/**
|
|
10856
|
-
* Optional attributes. Set attributes to null to remove them
|
|
10927
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
10857
10928
|
*/
|
|
10858
10929
|
attributes?: {
|
|
10859
10930
|
[k: string]: string | null;
|
|
@@ -11381,12 +11452,6 @@ interface GetIntegrationResponse$1 {
|
|
|
11381
11452
|
};
|
|
11382
11453
|
};
|
|
11383
11454
|
};
|
|
11384
|
-
/**
|
|
11385
|
-
* Optional attributes
|
|
11386
|
-
*/
|
|
11387
|
-
attributes?: {
|
|
11388
|
-
[k: string]: string;
|
|
11389
|
-
};
|
|
11390
11455
|
/**
|
|
11391
11456
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
11392
11457
|
*/
|
|
@@ -11428,6 +11493,12 @@ interface GetIntegrationResponse$1 {
|
|
|
11428
11493
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
11429
11494
|
*/
|
|
11430
11495
|
secrets: string[];
|
|
11496
|
+
/**
|
|
11497
|
+
* Optional key-value attributes from the integration definition
|
|
11498
|
+
*/
|
|
11499
|
+
attributes?: {
|
|
11500
|
+
[k: string]: string;
|
|
11501
|
+
};
|
|
11431
11502
|
};
|
|
11432
11503
|
}
|
|
11433
11504
|
|
|
@@ -11821,12 +11892,6 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
11821
11892
|
};
|
|
11822
11893
|
};
|
|
11823
11894
|
};
|
|
11824
|
-
/**
|
|
11825
|
-
* Optional attributes
|
|
11826
|
-
*/
|
|
11827
|
-
attributes?: {
|
|
11828
|
-
[k: string]: string;
|
|
11829
|
-
};
|
|
11830
11895
|
/**
|
|
11831
11896
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
11832
11897
|
*/
|
|
@@ -11868,6 +11933,12 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
11868
11933
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
11869
11934
|
*/
|
|
11870
11935
|
secrets: string[];
|
|
11936
|
+
/**
|
|
11937
|
+
* Optional key-value attributes from the integration definition
|
|
11938
|
+
*/
|
|
11939
|
+
attributes?: {
|
|
11940
|
+
[k: string]: string;
|
|
11941
|
+
};
|
|
11871
11942
|
};
|
|
11872
11943
|
}
|
|
11873
11944
|
|
|
@@ -12016,12 +12087,6 @@ interface CreateInterfaceRequestBody$1 {
|
|
|
12016
12087
|
script: string;
|
|
12017
12088
|
language: string;
|
|
12018
12089
|
};
|
|
12019
|
-
/**
|
|
12020
|
-
* Optional attributes
|
|
12021
|
-
*/
|
|
12022
|
-
attributes?: {
|
|
12023
|
-
[k: string]: string;
|
|
12024
|
-
};
|
|
12025
12090
|
sdkVersion?: string;
|
|
12026
12091
|
/**
|
|
12027
12092
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
@@ -12043,6 +12108,12 @@ interface CreateInterfaceRequestBody$1 {
|
|
|
12043
12108
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12044
12109
|
*/
|
|
12045
12110
|
public?: boolean;
|
|
12111
|
+
/**
|
|
12112
|
+
* Optional key-value attributes from the interface definition
|
|
12113
|
+
*/
|
|
12114
|
+
attributes?: {
|
|
12115
|
+
[k: string]: string;
|
|
12116
|
+
};
|
|
12046
12117
|
}
|
|
12047
12118
|
type CreateInterfaceInput$1 = CreateInterfaceRequestBody$1 & CreateInterfaceRequestHeaders$1 & CreateInterfaceRequestQuery$1 & CreateInterfaceRequestParams$1;
|
|
12048
12119
|
interface CreateInterfaceResponse$1 {
|
|
@@ -12171,12 +12242,6 @@ interface CreateInterfaceResponse$1 {
|
|
|
12171
12242
|
script: string;
|
|
12172
12243
|
language: string;
|
|
12173
12244
|
};
|
|
12174
|
-
/**
|
|
12175
|
-
* Optional attributes
|
|
12176
|
-
*/
|
|
12177
|
-
attributes?: {
|
|
12178
|
-
[k: string]: string;
|
|
12179
|
-
};
|
|
12180
12245
|
/**
|
|
12181
12246
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12182
12247
|
*/
|
|
@@ -12197,6 +12262,12 @@ interface CreateInterfaceResponse$1 {
|
|
|
12197
12262
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12198
12263
|
*/
|
|
12199
12264
|
public: boolean;
|
|
12265
|
+
/**
|
|
12266
|
+
* Optional key-value attributes from the interface definition
|
|
12267
|
+
*/
|
|
12268
|
+
attributes?: {
|
|
12269
|
+
[k: string]: string;
|
|
12270
|
+
};
|
|
12200
12271
|
};
|
|
12201
12272
|
}
|
|
12202
12273
|
|
|
@@ -12336,12 +12407,6 @@ interface GetInterfaceResponse$1 {
|
|
|
12336
12407
|
script: string;
|
|
12337
12408
|
language: string;
|
|
12338
12409
|
};
|
|
12339
|
-
/**
|
|
12340
|
-
* Optional attributes
|
|
12341
|
-
*/
|
|
12342
|
-
attributes?: {
|
|
12343
|
-
[k: string]: string;
|
|
12344
|
-
};
|
|
12345
12410
|
/**
|
|
12346
12411
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12347
12412
|
*/
|
|
@@ -12362,6 +12427,12 @@ interface GetInterfaceResponse$1 {
|
|
|
12362
12427
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12363
12428
|
*/
|
|
12364
12429
|
public: boolean;
|
|
12430
|
+
/**
|
|
12431
|
+
* Optional key-value attributes from the interface definition
|
|
12432
|
+
*/
|
|
12433
|
+
attributes?: {
|
|
12434
|
+
[k: string]: string;
|
|
12435
|
+
};
|
|
12365
12436
|
};
|
|
12366
12437
|
}
|
|
12367
12438
|
|
|
@@ -12502,12 +12573,6 @@ interface GetInterfaceByNameResponse$1 {
|
|
|
12502
12573
|
script: string;
|
|
12503
12574
|
language: string;
|
|
12504
12575
|
};
|
|
12505
|
-
/**
|
|
12506
|
-
* Optional attributes
|
|
12507
|
-
*/
|
|
12508
|
-
attributes?: {
|
|
12509
|
-
[k: string]: string;
|
|
12510
|
-
};
|
|
12511
12576
|
/**
|
|
12512
12577
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12513
12578
|
*/
|
|
@@ -12528,6 +12593,12 @@ interface GetInterfaceByNameResponse$1 {
|
|
|
12528
12593
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12529
12594
|
*/
|
|
12530
12595
|
public: boolean;
|
|
12596
|
+
/**
|
|
12597
|
+
* Optional key-value attributes from the interface definition
|
|
12598
|
+
*/
|
|
12599
|
+
attributes?: {
|
|
12600
|
+
[k: string]: string;
|
|
12601
|
+
};
|
|
12531
12602
|
};
|
|
12532
12603
|
}
|
|
12533
12604
|
|
|
@@ -12637,12 +12708,6 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
12637
12708
|
script: string;
|
|
12638
12709
|
language: string;
|
|
12639
12710
|
} | null;
|
|
12640
|
-
/**
|
|
12641
|
-
* Optional attributes. Set attributes to null to remove them
|
|
12642
|
-
*/
|
|
12643
|
-
attributes?: {
|
|
12644
|
-
[k: string]: string | null;
|
|
12645
|
-
};
|
|
12646
12711
|
sdkVersion?: string;
|
|
12647
12712
|
/**
|
|
12648
12713
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
@@ -12664,6 +12729,12 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
12664
12729
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12665
12730
|
*/
|
|
12666
12731
|
public?: boolean;
|
|
12732
|
+
/**
|
|
12733
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
12734
|
+
*/
|
|
12735
|
+
attributes?: {
|
|
12736
|
+
[k: string]: string | null;
|
|
12737
|
+
};
|
|
12667
12738
|
}
|
|
12668
12739
|
type UpdateInterfaceInput$1 = UpdateInterfaceRequestBody$1 & UpdateInterfaceRequestHeaders$1 & UpdateInterfaceRequestQuery$1 & UpdateInterfaceRequestParams$1;
|
|
12669
12740
|
interface UpdateInterfaceResponse$1 {
|
|
@@ -12792,12 +12863,6 @@ interface UpdateInterfaceResponse$1 {
|
|
|
12792
12863
|
script: string;
|
|
12793
12864
|
language: string;
|
|
12794
12865
|
};
|
|
12795
|
-
/**
|
|
12796
|
-
* Optional attributes
|
|
12797
|
-
*/
|
|
12798
|
-
attributes?: {
|
|
12799
|
-
[k: string]: string;
|
|
12800
|
-
};
|
|
12801
12866
|
/**
|
|
12802
12867
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
12803
12868
|
*/
|
|
@@ -12818,6 +12883,12 @@ interface UpdateInterfaceResponse$1 {
|
|
|
12818
12883
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12819
12884
|
*/
|
|
12820
12885
|
public: boolean;
|
|
12886
|
+
/**
|
|
12887
|
+
* Optional key-value attributes from the interface definition
|
|
12888
|
+
*/
|
|
12889
|
+
attributes?: {
|
|
12890
|
+
[k: string]: string;
|
|
12891
|
+
};
|
|
12821
12892
|
};
|
|
12822
12893
|
}
|
|
12823
12894
|
|
|
@@ -13066,12 +13137,6 @@ interface CreatePluginRequestBody$1 {
|
|
|
13066
13137
|
};
|
|
13067
13138
|
};
|
|
13068
13139
|
};
|
|
13069
|
-
/**
|
|
13070
|
-
* Optional attributes
|
|
13071
|
-
*/
|
|
13072
|
-
attributes?: {
|
|
13073
|
-
[k: string]: string;
|
|
13074
|
-
};
|
|
13075
13140
|
sdkVersion?: string;
|
|
13076
13141
|
code: {
|
|
13077
13142
|
/**
|
|
@@ -13148,6 +13213,12 @@ interface CreatePluginRequestBody$1 {
|
|
|
13148
13213
|
};
|
|
13149
13214
|
};
|
|
13150
13215
|
};
|
|
13216
|
+
/**
|
|
13217
|
+
* Optional key-value attributes from the plugin definition
|
|
13218
|
+
*/
|
|
13219
|
+
attributes?: {
|
|
13220
|
+
[k: string]: string;
|
|
13221
|
+
};
|
|
13151
13222
|
}
|
|
13152
13223
|
type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
|
|
13153
13224
|
interface CreatePluginResponse$1 {
|
|
@@ -13342,12 +13413,6 @@ interface CreatePluginResponse$1 {
|
|
|
13342
13413
|
};
|
|
13343
13414
|
};
|
|
13344
13415
|
};
|
|
13345
|
-
/**
|
|
13346
|
-
* Optional attributes
|
|
13347
|
-
*/
|
|
13348
|
-
attributes?: {
|
|
13349
|
-
[k: string]: string;
|
|
13350
|
-
};
|
|
13351
13416
|
/**
|
|
13352
13417
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
13353
13418
|
*/
|
|
@@ -13377,6 +13442,12 @@ interface CreatePluginResponse$1 {
|
|
|
13377
13442
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
13378
13443
|
*/
|
|
13379
13444
|
lifecycleStatus: "published" | "deprecated";
|
|
13445
|
+
/**
|
|
13446
|
+
* Optional key-value attributes from the plugin definition
|
|
13447
|
+
*/
|
|
13448
|
+
attributes?: {
|
|
13449
|
+
[k: string]: string;
|
|
13450
|
+
};
|
|
13380
13451
|
};
|
|
13381
13452
|
}
|
|
13382
13453
|
|
|
@@ -13582,12 +13653,6 @@ interface GetPluginResponse$1 {
|
|
|
13582
13653
|
};
|
|
13583
13654
|
};
|
|
13584
13655
|
};
|
|
13585
|
-
/**
|
|
13586
|
-
* Optional attributes
|
|
13587
|
-
*/
|
|
13588
|
-
attributes?: {
|
|
13589
|
-
[k: string]: string;
|
|
13590
|
-
};
|
|
13591
13656
|
/**
|
|
13592
13657
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
13593
13658
|
*/
|
|
@@ -13617,6 +13682,12 @@ interface GetPluginResponse$1 {
|
|
|
13617
13682
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
13618
13683
|
*/
|
|
13619
13684
|
lifecycleStatus: "published" | "deprecated";
|
|
13685
|
+
/**
|
|
13686
|
+
* Optional key-value attributes from the plugin definition
|
|
13687
|
+
*/
|
|
13688
|
+
attributes?: {
|
|
13689
|
+
[k: string]: string;
|
|
13690
|
+
};
|
|
13620
13691
|
};
|
|
13621
13692
|
}
|
|
13622
13693
|
|
|
@@ -13831,12 +13902,6 @@ interface GetDereferencedPluginResponse$1 {
|
|
|
13831
13902
|
};
|
|
13832
13903
|
};
|
|
13833
13904
|
};
|
|
13834
|
-
/**
|
|
13835
|
-
* Optional attributes
|
|
13836
|
-
*/
|
|
13837
|
-
attributes?: {
|
|
13838
|
-
[k: string]: string;
|
|
13839
|
-
};
|
|
13840
13905
|
/**
|
|
13841
13906
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
13842
13907
|
*/
|
|
@@ -13866,6 +13931,12 @@ interface GetDereferencedPluginResponse$1 {
|
|
|
13866
13931
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
13867
13932
|
*/
|
|
13868
13933
|
lifecycleStatus: "published" | "deprecated";
|
|
13934
|
+
/**
|
|
13935
|
+
* Optional key-value attributes from the plugin definition
|
|
13936
|
+
*/
|
|
13937
|
+
attributes?: {
|
|
13938
|
+
[k: string]: string;
|
|
13939
|
+
};
|
|
13869
13940
|
};
|
|
13870
13941
|
}
|
|
13871
13942
|
|
|
@@ -14072,12 +14143,6 @@ interface GetPluginByNameResponse$1 {
|
|
|
14072
14143
|
};
|
|
14073
14144
|
};
|
|
14074
14145
|
};
|
|
14075
|
-
/**
|
|
14076
|
-
* Optional attributes
|
|
14077
|
-
*/
|
|
14078
|
-
attributes?: {
|
|
14079
|
-
[k: string]: string;
|
|
14080
|
-
};
|
|
14081
14146
|
/**
|
|
14082
14147
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
14083
14148
|
*/
|
|
@@ -14107,6 +14172,12 @@ interface GetPluginByNameResponse$1 {
|
|
|
14107
14172
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
14108
14173
|
*/
|
|
14109
14174
|
lifecycleStatus: "published" | "deprecated";
|
|
14175
|
+
/**
|
|
14176
|
+
* Optional key-value attributes from the plugin definition
|
|
14177
|
+
*/
|
|
14178
|
+
attributes?: {
|
|
14179
|
+
[k: string]: string;
|
|
14180
|
+
};
|
|
14110
14181
|
};
|
|
14111
14182
|
}
|
|
14112
14183
|
|
|
@@ -14257,12 +14328,6 @@ interface UpdatePluginRequestBody$1 {
|
|
|
14257
14328
|
} | null;
|
|
14258
14329
|
};
|
|
14259
14330
|
};
|
|
14260
|
-
/**
|
|
14261
|
-
* Optional attributes. Set attributes to null to remove them
|
|
14262
|
-
*/
|
|
14263
|
-
attributes?: {
|
|
14264
|
-
[k: string]: string | null;
|
|
14265
|
-
};
|
|
14266
14331
|
sdkVersion?: string;
|
|
14267
14332
|
code?: {
|
|
14268
14333
|
/**
|
|
@@ -14339,6 +14404,12 @@ interface UpdatePluginRequestBody$1 {
|
|
|
14339
14404
|
} | null;
|
|
14340
14405
|
};
|
|
14341
14406
|
};
|
|
14407
|
+
/**
|
|
14408
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
14409
|
+
*/
|
|
14410
|
+
attributes?: {
|
|
14411
|
+
[k: string]: string | null;
|
|
14412
|
+
};
|
|
14342
14413
|
}
|
|
14343
14414
|
type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
|
|
14344
14415
|
interface UpdatePluginResponse$1 {
|
|
@@ -14533,12 +14604,6 @@ interface UpdatePluginResponse$1 {
|
|
|
14533
14604
|
};
|
|
14534
14605
|
};
|
|
14535
14606
|
};
|
|
14536
|
-
/**
|
|
14537
|
-
* Optional attributes
|
|
14538
|
-
*/
|
|
14539
|
-
attributes?: {
|
|
14540
|
-
[k: string]: string;
|
|
14541
|
-
};
|
|
14542
14607
|
/**
|
|
14543
14608
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
14544
14609
|
*/
|
|
@@ -14568,6 +14633,12 @@ interface UpdatePluginResponse$1 {
|
|
|
14568
14633
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
14569
14634
|
*/
|
|
14570
14635
|
lifecycleStatus: "published" | "deprecated";
|
|
14636
|
+
/**
|
|
14637
|
+
* Optional key-value attributes from the plugin definition
|
|
14638
|
+
*/
|
|
14639
|
+
attributes?: {
|
|
14640
|
+
[k: string]: string;
|
|
14641
|
+
};
|
|
14571
14642
|
};
|
|
14572
14643
|
}
|
|
14573
14644
|
|
|
@@ -15088,6 +15159,8 @@ declare class Client$8 extends Client$9 {
|
|
|
15088
15159
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
15089
15160
|
sortDirection?: "asc" | "desc" | undefined;
|
|
15090
15161
|
dev?: boolean | undefined;
|
|
15162
|
+
integrationNames?: string[] | undefined;
|
|
15163
|
+
pluginNames?: string[] | undefined;
|
|
15091
15164
|
}) => AsyncCollection<{
|
|
15092
15165
|
id: string;
|
|
15093
15166
|
createdAt: string;
|
|
@@ -15324,10 +15397,16 @@ interface GetPlanResponse$1 {
|
|
|
15324
15397
|
description: string;
|
|
15325
15398
|
prices: {
|
|
15326
15399
|
month?: {
|
|
15400
|
+
/**
|
|
15401
|
+
* Price in dollars
|
|
15402
|
+
*/
|
|
15327
15403
|
amount: number;
|
|
15328
15404
|
currency: string;
|
|
15329
15405
|
};
|
|
15330
15406
|
year?: {
|
|
15407
|
+
/**
|
|
15408
|
+
* Price in dollars
|
|
15409
|
+
*/
|
|
15331
15410
|
amount: number;
|
|
15332
15411
|
currency: string;
|
|
15333
15412
|
};
|
|
@@ -15356,10 +15435,16 @@ interface GetPlanResponse {
|
|
|
15356
15435
|
description: string;
|
|
15357
15436
|
prices: {
|
|
15358
15437
|
month?: {
|
|
15438
|
+
/**
|
|
15439
|
+
* Price in dollars
|
|
15440
|
+
*/
|
|
15359
15441
|
amount: number;
|
|
15360
15442
|
currency: string;
|
|
15361
15443
|
};
|
|
15362
15444
|
year?: {
|
|
15445
|
+
/**
|
|
15446
|
+
* Price in dollars
|
|
15447
|
+
*/
|
|
15363
15448
|
amount: number;
|
|
15364
15449
|
currency: string;
|
|
15365
15450
|
};
|
|
@@ -15386,9 +15471,15 @@ interface GetAddonResponse$1 {
|
|
|
15386
15471
|
id: string;
|
|
15387
15472
|
name: string;
|
|
15388
15473
|
description: string;
|
|
15474
|
+
/**
|
|
15475
|
+
* Addon unit price in dollars per month
|
|
15476
|
+
*/
|
|
15389
15477
|
price: number;
|
|
15390
|
-
feature: "
|
|
15478
|
+
feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
|
|
15391
15479
|
increment: number;
|
|
15480
|
+
increments?: {
|
|
15481
|
+
[k: string]: number;
|
|
15482
|
+
};
|
|
15392
15483
|
metadata?: {
|
|
15393
15484
|
[k: string]: string;
|
|
15394
15485
|
};
|
|
@@ -15408,9 +15499,15 @@ interface GetAddonResponse {
|
|
|
15408
15499
|
id: string;
|
|
15409
15500
|
name: string;
|
|
15410
15501
|
description: string;
|
|
15502
|
+
/**
|
|
15503
|
+
* Addon unit price in dollars per month
|
|
15504
|
+
*/
|
|
15411
15505
|
price: number;
|
|
15412
|
-
feature: "
|
|
15506
|
+
feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
|
|
15413
15507
|
increment: number;
|
|
15508
|
+
increments?: {
|
|
15509
|
+
[k: string]: number;
|
|
15510
|
+
};
|
|
15414
15511
|
metadata?: {
|
|
15415
15512
|
[k: string]: string;
|
|
15416
15513
|
};
|
|
@@ -15466,6 +15563,9 @@ interface GetSubscriptionResponse {
|
|
|
15466
15563
|
promotionCode: string | null;
|
|
15467
15564
|
name: string | null;
|
|
15468
15565
|
percentOff: number | null;
|
|
15566
|
+
/**
|
|
15567
|
+
* Discount amount in dollars, or null if percent-based
|
|
15568
|
+
*/
|
|
15469
15569
|
amountOff: number | null;
|
|
15470
15570
|
currency: string | null;
|
|
15471
15571
|
duration: "forever" | "once" | "repeating";
|
|
@@ -15512,12 +15612,12 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15512
15612
|
plan: {
|
|
15513
15613
|
planId: string;
|
|
15514
15614
|
interval: "month" | "year";
|
|
15515
|
-
effectiveDate: string;
|
|
15615
|
+
effectiveDate: string | null;
|
|
15516
15616
|
};
|
|
15517
15617
|
addons: {
|
|
15518
15618
|
[k: string]: {
|
|
15519
15619
|
quantity: number;
|
|
15520
|
-
effectiveDate: string;
|
|
15620
|
+
effectiveDate: string | null;
|
|
15521
15621
|
autoAdjusted?: boolean;
|
|
15522
15622
|
};
|
|
15523
15623
|
};
|
|
@@ -15528,37 +15628,41 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15528
15628
|
* Prorated charges due immediately (0 for downgrades)
|
|
15529
15629
|
*/
|
|
15530
15630
|
immediate: {
|
|
15631
|
+
/**
|
|
15632
|
+
* Sum of proration line items only (not next-cycle charges)
|
|
15633
|
+
*/
|
|
15531
15634
|
total: number;
|
|
15635
|
+
/**
|
|
15636
|
+
* Customer account balance applied (negative = credit used)
|
|
15637
|
+
*/
|
|
15638
|
+
accountBalance: number;
|
|
15639
|
+
/**
|
|
15640
|
+
* Actual amount charged after credits applied
|
|
15641
|
+
*/
|
|
15642
|
+
amountDue: number;
|
|
15532
15643
|
lineItems: {
|
|
15533
|
-
type: "plan" | "addon" | "proration_credit" | "discount";
|
|
15534
|
-
id: string;
|
|
15535
|
-
description: string;
|
|
15536
|
-
amount: number;
|
|
15537
|
-
quantity?: number;
|
|
15538
|
-
}[];
|
|
15539
|
-
};
|
|
15540
|
-
/**
|
|
15541
|
-
* Monthly recurring cost (addons, or plan if monthly interval)
|
|
15542
|
-
*/
|
|
15543
|
-
monthly: {
|
|
15544
|
-
total: number;
|
|
15545
|
-
lineItems: {
|
|
15546
|
-
type: "plan" | "addon" | "proration_credit" | "discount";
|
|
15644
|
+
type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
|
|
15547
15645
|
id: string;
|
|
15548
15646
|
description: string;
|
|
15647
|
+
/**
|
|
15648
|
+
* Line item amount in dollars
|
|
15649
|
+
*/
|
|
15549
15650
|
amount: number;
|
|
15550
15651
|
quantity?: number;
|
|
15551
15652
|
}[];
|
|
15552
15653
|
};
|
|
15553
15654
|
/**
|
|
15554
|
-
*
|
|
15655
|
+
* Recurring cost for the next billing cycle (plan + addons combined)
|
|
15555
15656
|
*/
|
|
15556
|
-
|
|
15657
|
+
nextCycle: {
|
|
15557
15658
|
total: number;
|
|
15558
15659
|
lineItems: {
|
|
15559
|
-
type: "plan" | "addon" | "proration_credit" | "discount";
|
|
15660
|
+
type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
|
|
15560
15661
|
id: string;
|
|
15561
15662
|
description: string;
|
|
15663
|
+
/**
|
|
15664
|
+
* Line item amount in dollars
|
|
15665
|
+
*/
|
|
15562
15666
|
amount: number;
|
|
15563
15667
|
quantity?: number;
|
|
15564
15668
|
}[];
|
|
@@ -15573,6 +15677,9 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15573
15677
|
promotionCode: string | null;
|
|
15574
15678
|
name: string | null;
|
|
15575
15679
|
percentOff: number | null;
|
|
15680
|
+
/**
|
|
15681
|
+
* Discount amount in dollars, or null if percent-based
|
|
15682
|
+
*/
|
|
15576
15683
|
amountOff: number | null;
|
|
15577
15684
|
currency: string | null;
|
|
15578
15685
|
duration: "forever" | "once" | "repeating";
|
|
@@ -15580,7 +15687,10 @@ interface PreviewSubscriptionUpdateResponse {
|
|
|
15580
15687
|
start: string;
|
|
15581
15688
|
end: string | null;
|
|
15582
15689
|
}[];
|
|
15583
|
-
|
|
15690
|
+
/**
|
|
15691
|
+
* Date of the next billing cycle (1st of next month for new subscriptions)
|
|
15692
|
+
*/
|
|
15693
|
+
nextBillingDate: string;
|
|
15584
15694
|
}
|
|
15585
15695
|
|
|
15586
15696
|
interface SetPlanRequestHeaders {
|
|
@@ -15646,6 +15756,9 @@ interface SetPlanResponse {
|
|
|
15646
15756
|
promotionCode: string | null;
|
|
15647
15757
|
name: string | null;
|
|
15648
15758
|
percentOff: number | null;
|
|
15759
|
+
/**
|
|
15760
|
+
* Discount amount in dollars, or null if percent-based
|
|
15761
|
+
*/
|
|
15649
15762
|
amountOff: number | null;
|
|
15650
15763
|
currency: string | null;
|
|
15651
15764
|
duration: "forever" | "once" | "repeating";
|
|
@@ -15718,6 +15831,9 @@ interface SetAddonsResponse {
|
|
|
15718
15831
|
promotionCode: string | null;
|
|
15719
15832
|
name: string | null;
|
|
15720
15833
|
percentOff: number | null;
|
|
15834
|
+
/**
|
|
15835
|
+
* Discount amount in dollars, or null if percent-based
|
|
15836
|
+
*/
|
|
15721
15837
|
amountOff: number | null;
|
|
15722
15838
|
currency: string | null;
|
|
15723
15839
|
duration: "forever" | "once" | "repeating";
|
|
@@ -15780,6 +15896,9 @@ interface SetCancelAtPeriodEndResponse {
|
|
|
15780
15896
|
promotionCode: string | null;
|
|
15781
15897
|
name: string | null;
|
|
15782
15898
|
percentOff: number | null;
|
|
15899
|
+
/**
|
|
15900
|
+
* Discount amount in dollars, or null if percent-based
|
|
15901
|
+
*/
|
|
15783
15902
|
amountOff: number | null;
|
|
15784
15903
|
currency: string | null;
|
|
15785
15904
|
duration: "forever" | "once" | "repeating";
|
|
@@ -15905,7 +16024,7 @@ interface CreateCreditGrantResponse {
|
|
|
15905
16024
|
* Dollar value of the credit grant (e.g. 10 = $10.00 USD)
|
|
15906
16025
|
*/
|
|
15907
16026
|
amount: number;
|
|
15908
|
-
feature: "
|
|
16027
|
+
feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
|
|
15909
16028
|
/**
|
|
15910
16029
|
* Start of the period (inclusive)
|
|
15911
16030
|
*/
|
|
@@ -15931,6 +16050,9 @@ type ListInvoicesInput = ListInvoicesRequestBody & ListInvoicesRequestHeaders &
|
|
|
15931
16050
|
interface ListInvoicesResponse {
|
|
15932
16051
|
invoices: {
|
|
15933
16052
|
id: string;
|
|
16053
|
+
/**
|
|
16054
|
+
* Invoice amount in dollars
|
|
16055
|
+
*/
|
|
15934
16056
|
amount: number;
|
|
15935
16057
|
currency: string;
|
|
15936
16058
|
status: "draft" | "open" | "paid" | "uncollectible" | "void";
|
|
@@ -15961,6 +16083,9 @@ interface PayInvoiceRequestBody {
|
|
|
15961
16083
|
type PayInvoiceInput = PayInvoiceRequestBody & PayInvoiceRequestHeaders & PayInvoiceRequestQuery & PayInvoiceRequestParams;
|
|
15962
16084
|
interface PayInvoiceResponse {
|
|
15963
16085
|
id: string;
|
|
16086
|
+
/**
|
|
16087
|
+
* Invoice amount in dollars
|
|
16088
|
+
*/
|
|
15964
16089
|
amount: number;
|
|
15965
16090
|
currency: string;
|
|
15966
16091
|
status: "draft" | "open" | "paid" | "uncollectible" | "void";
|
|
@@ -16043,6 +16168,50 @@ interface GetQuotasResponse {
|
|
|
16043
16168
|
[k: string]: number;
|
|
16044
16169
|
}
|
|
16045
16170
|
|
|
16171
|
+
interface GetWorkspaceUsageRequestHeaders {
|
|
16172
|
+
}
|
|
16173
|
+
interface GetWorkspaceUsageRequestQuery {
|
|
16174
|
+
}
|
|
16175
|
+
interface GetWorkspaceUsageRequestParams {
|
|
16176
|
+
}
|
|
16177
|
+
interface GetWorkspaceUsageRequestBody {
|
|
16178
|
+
/**
|
|
16179
|
+
* The billing feature to query usage for
|
|
16180
|
+
*/
|
|
16181
|
+
feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
|
|
16182
|
+
/**
|
|
16183
|
+
* Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
|
|
16184
|
+
*/
|
|
16185
|
+
period: string;
|
|
16186
|
+
}
|
|
16187
|
+
type GetWorkspaceUsageInput = GetWorkspaceUsageRequestBody & GetWorkspaceUsageRequestHeaders & GetWorkspaceUsageRequestQuery & GetWorkspaceUsageRequestParams;
|
|
16188
|
+
interface GetWorkspaceUsageResponse {
|
|
16189
|
+
usage?: number;
|
|
16190
|
+
quota: number;
|
|
16191
|
+
}
|
|
16192
|
+
|
|
16193
|
+
interface GetWorkspaceUsagesRequestHeaders {
|
|
16194
|
+
}
|
|
16195
|
+
interface GetWorkspaceUsagesRequestQuery {
|
|
16196
|
+
}
|
|
16197
|
+
interface GetWorkspaceUsagesRequestParams {
|
|
16198
|
+
}
|
|
16199
|
+
interface GetWorkspaceUsagesRequestBody {
|
|
16200
|
+
/**
|
|
16201
|
+
* Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
|
|
16202
|
+
*/
|
|
16203
|
+
period: string;
|
|
16204
|
+
}
|
|
16205
|
+
type GetWorkspaceUsagesInput = GetWorkspaceUsagesRequestBody & GetWorkspaceUsagesRequestHeaders & GetWorkspaceUsagesRequestQuery & GetWorkspaceUsagesRequestParams;
|
|
16206
|
+
interface GetWorkspaceUsagesResponse {
|
|
16207
|
+
quotas: {
|
|
16208
|
+
[k: string]: {
|
|
16209
|
+
usage?: number;
|
|
16210
|
+
quota: number;
|
|
16211
|
+
};
|
|
16212
|
+
};
|
|
16213
|
+
}
|
|
16214
|
+
|
|
16046
16215
|
type ClientProps$7 = {
|
|
16047
16216
|
toAxiosRequest: typeof toAxiosRequest$3;
|
|
16048
16217
|
toApiError: typeof toApiError$3;
|
|
@@ -16075,6 +16244,8 @@ declare class Client$7 {
|
|
|
16075
16244
|
readonly setPaymentMethod: (input: SetPaymentMethodInput) => Promise<SetPaymentMethodResponse>;
|
|
16076
16245
|
readonly createPaymentMethodIntent: (input: CreatePaymentMethodIntentInput) => Promise<CreatePaymentMethodIntentResponse>;
|
|
16077
16246
|
readonly getQuotas: (input: GetQuotasInput) => Promise<GetQuotasResponse>;
|
|
16247
|
+
readonly getWorkspaceUsage: (input: GetWorkspaceUsageInput) => Promise<GetWorkspaceUsageResponse>;
|
|
16248
|
+
readonly getWorkspaceUsages: (input: GetWorkspaceUsagesInput) => Promise<GetWorkspaceUsagesResponse>;
|
|
16078
16249
|
}
|
|
16079
16250
|
declare function toApiError$3(err: unknown): Error;
|
|
16080
16251
|
|
|
@@ -19114,6 +19285,12 @@ interface CreateConversationRequestBody {
|
|
|
19114
19285
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
19115
19286
|
*/
|
|
19116
19287
|
integrationName?: string;
|
|
19288
|
+
/**
|
|
19289
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19290
|
+
*/
|
|
19291
|
+
properties?: {
|
|
19292
|
+
[k: string]: string;
|
|
19293
|
+
};
|
|
19117
19294
|
}
|
|
19118
19295
|
type CreateConversationInput = CreateConversationRequestBody & CreateConversationRequestHeaders & CreateConversationRequestQuery & CreateConversationRequestParams;
|
|
19119
19296
|
interface CreateConversationResponse {
|
|
@@ -19160,6 +19337,12 @@ interface CreateConversationResponse {
|
|
|
19160
19337
|
* Number of messages in the conversation
|
|
19161
19338
|
*/
|
|
19162
19339
|
messageCount: number;
|
|
19340
|
+
/**
|
|
19341
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19342
|
+
*/
|
|
19343
|
+
properties?: {
|
|
19344
|
+
[k: string]: string;
|
|
19345
|
+
};
|
|
19163
19346
|
};
|
|
19164
19347
|
}
|
|
19165
19348
|
|
|
@@ -19217,6 +19400,12 @@ interface GetConversationResponse {
|
|
|
19217
19400
|
* Number of messages in the conversation
|
|
19218
19401
|
*/
|
|
19219
19402
|
messageCount: number;
|
|
19403
|
+
/**
|
|
19404
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19405
|
+
*/
|
|
19406
|
+
properties?: {
|
|
19407
|
+
[k: string]: string;
|
|
19408
|
+
};
|
|
19220
19409
|
};
|
|
19221
19410
|
}
|
|
19222
19411
|
|
|
@@ -19234,6 +19423,8 @@ interface ListConversationsRequestQuery {
|
|
|
19234
19423
|
channel?: string;
|
|
19235
19424
|
afterDate?: string;
|
|
19236
19425
|
beforeDate?: string;
|
|
19426
|
+
minMessageCount?: number;
|
|
19427
|
+
maxMessageCount?: number;
|
|
19237
19428
|
}
|
|
19238
19429
|
interface ListConversationsRequestParams {
|
|
19239
19430
|
}
|
|
@@ -19281,6 +19472,12 @@ interface ListConversationsResponse {
|
|
|
19281
19472
|
* Number of messages in the conversation
|
|
19282
19473
|
*/
|
|
19283
19474
|
messageCount: number;
|
|
19475
|
+
/**
|
|
19476
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19477
|
+
*/
|
|
19478
|
+
properties?: {
|
|
19479
|
+
[k: string]: string;
|
|
19480
|
+
};
|
|
19284
19481
|
}[];
|
|
19285
19482
|
meta: {
|
|
19286
19483
|
/**
|
|
@@ -19312,6 +19509,12 @@ interface GetOrCreateConversationRequestBody {
|
|
|
19312
19509
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
19313
19510
|
*/
|
|
19314
19511
|
integrationName?: string;
|
|
19512
|
+
/**
|
|
19513
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19514
|
+
*/
|
|
19515
|
+
properties?: {
|
|
19516
|
+
[k: string]: string;
|
|
19517
|
+
};
|
|
19315
19518
|
/**
|
|
19316
19519
|
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
19317
19520
|
*/
|
|
@@ -19362,6 +19565,12 @@ interface GetOrCreateConversationResponse {
|
|
|
19362
19565
|
* Number of messages in the conversation
|
|
19363
19566
|
*/
|
|
19364
19567
|
messageCount: number;
|
|
19568
|
+
/**
|
|
19569
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19570
|
+
*/
|
|
19571
|
+
properties?: {
|
|
19572
|
+
[k: string]: string;
|
|
19573
|
+
};
|
|
19365
19574
|
};
|
|
19366
19575
|
meta: {
|
|
19367
19576
|
created: boolean;
|
|
@@ -19387,6 +19596,12 @@ interface UpdateConversationRequestBody {
|
|
|
19387
19596
|
tags?: {
|
|
19388
19597
|
[k: string]: string;
|
|
19389
19598
|
};
|
|
19599
|
+
/**
|
|
19600
|
+
* **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.
|
|
19601
|
+
*/
|
|
19602
|
+
properties?: {
|
|
19603
|
+
[k: string]: string | null;
|
|
19604
|
+
};
|
|
19390
19605
|
}
|
|
19391
19606
|
type UpdateConversationInput = UpdateConversationRequestBody & UpdateConversationRequestHeaders & UpdateConversationRequestQuery & UpdateConversationRequestParams;
|
|
19392
19607
|
interface UpdateConversationResponse {
|
|
@@ -19433,6 +19648,12 @@ interface UpdateConversationResponse {
|
|
|
19433
19648
|
* Number of messages in the conversation
|
|
19434
19649
|
*/
|
|
19435
19650
|
messageCount: number;
|
|
19651
|
+
/**
|
|
19652
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
19653
|
+
*/
|
|
19654
|
+
properties?: {
|
|
19655
|
+
[k: string]: string;
|
|
19656
|
+
};
|
|
19436
19657
|
};
|
|
19437
19658
|
}
|
|
19438
19659
|
|
|
@@ -20313,7 +20534,7 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
20313
20534
|
*/
|
|
20314
20535
|
pictureUrl?: string;
|
|
20315
20536
|
/**
|
|
20316
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20537
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20317
20538
|
*/
|
|
20318
20539
|
properties?: {
|
|
20319
20540
|
[k: string]: string;
|
|
@@ -20347,6 +20568,12 @@ interface InitializeIncomingMessageRequestBody {
|
|
|
20347
20568
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
20348
20569
|
*/
|
|
20349
20570
|
integrationName?: string;
|
|
20571
|
+
/**
|
|
20572
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20573
|
+
*/
|
|
20574
|
+
properties?: {
|
|
20575
|
+
[k: string]: string;
|
|
20576
|
+
};
|
|
20350
20577
|
/**
|
|
20351
20578
|
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
20352
20579
|
*/
|
|
@@ -20464,6 +20691,12 @@ interface InitializeIncomingMessageResponse {
|
|
|
20464
20691
|
* Number of messages in the conversation
|
|
20465
20692
|
*/
|
|
20466
20693
|
messageCount: number;
|
|
20694
|
+
/**
|
|
20695
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20696
|
+
*/
|
|
20697
|
+
properties?: {
|
|
20698
|
+
[k: string]: string;
|
|
20699
|
+
};
|
|
20467
20700
|
};
|
|
20468
20701
|
/**
|
|
20469
20702
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
@@ -20638,7 +20871,7 @@ interface CreateUserRequestBody {
|
|
|
20638
20871
|
*/
|
|
20639
20872
|
pictureUrl?: string;
|
|
20640
20873
|
/**
|
|
20641
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20874
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20642
20875
|
*/
|
|
20643
20876
|
properties?: {
|
|
20644
20877
|
[k: string]: string;
|
|
@@ -20849,7 +21082,7 @@ interface GetOrCreateUserRequestBody {
|
|
|
20849
21082
|
*/
|
|
20850
21083
|
pictureUrl?: string;
|
|
20851
21084
|
/**
|
|
20852
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
21085
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
20853
21086
|
*/
|
|
20854
21087
|
properties?: {
|
|
20855
21088
|
[k: string]: string;
|
|
@@ -20946,7 +21179,7 @@ interface UpdateUserRequestBody {
|
|
|
20946
21179
|
[k: string]: string | null;
|
|
20947
21180
|
};
|
|
20948
21181
|
/**
|
|
20949
|
-
* EXPERIMENTAL - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
21182
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations. Set individual properties to null to remove them.
|
|
20950
21183
|
*/
|
|
20951
21184
|
properties?: {
|
|
20952
21185
|
[k: string]: string | null;
|
|
@@ -21971,6 +22204,9 @@ interface GetOrCreateWorkflowResponse {
|
|
|
21971
22204
|
[k: string]: string;
|
|
21972
22205
|
};
|
|
21973
22206
|
};
|
|
22207
|
+
meta: {
|
|
22208
|
+
created: boolean;
|
|
22209
|
+
};
|
|
21974
22210
|
}
|
|
21975
22211
|
|
|
21976
22212
|
interface ListTagValuesRequestHeaders {
|
|
@@ -22705,12 +22941,6 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
22705
22941
|
};
|
|
22706
22942
|
};
|
|
22707
22943
|
};
|
|
22708
|
-
/**
|
|
22709
|
-
* Optional attributes
|
|
22710
|
-
*/
|
|
22711
|
-
attributes?: {
|
|
22712
|
-
[k: string]: string;
|
|
22713
|
-
};
|
|
22714
22944
|
/**
|
|
22715
22945
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
22716
22946
|
*/
|
|
@@ -22752,6 +22982,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
22752
22982
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
22753
22983
|
*/
|
|
22754
22984
|
secrets: string[];
|
|
22985
|
+
/**
|
|
22986
|
+
* Optional key-value attributes from the integration definition
|
|
22987
|
+
*/
|
|
22988
|
+
attributes?: {
|
|
22989
|
+
[k: string]: string;
|
|
22990
|
+
};
|
|
22755
22991
|
ownerWorkspace: {
|
|
22756
22992
|
id: string;
|
|
22757
22993
|
handle: string | null;
|
|
@@ -23125,12 +23361,6 @@ interface GetPublicIntegrationResponse {
|
|
|
23125
23361
|
};
|
|
23126
23362
|
};
|
|
23127
23363
|
};
|
|
23128
|
-
/**
|
|
23129
|
-
* Optional attributes
|
|
23130
|
-
*/
|
|
23131
|
-
attributes?: {
|
|
23132
|
-
[k: string]: string;
|
|
23133
|
-
};
|
|
23134
23364
|
/**
|
|
23135
23365
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
23136
23366
|
*/
|
|
@@ -23172,6 +23402,12 @@ interface GetPublicIntegrationResponse {
|
|
|
23172
23402
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
23173
23403
|
*/
|
|
23174
23404
|
secrets: string[];
|
|
23405
|
+
/**
|
|
23406
|
+
* Optional key-value attributes from the integration definition
|
|
23407
|
+
*/
|
|
23408
|
+
attributes?: {
|
|
23409
|
+
[k: string]: string;
|
|
23410
|
+
};
|
|
23175
23411
|
ownerWorkspace: {
|
|
23176
23412
|
id: string;
|
|
23177
23413
|
handle: string | null;
|
|
@@ -23458,12 +23694,6 @@ interface GetPublicPluginByIdResponse {
|
|
|
23458
23694
|
};
|
|
23459
23695
|
};
|
|
23460
23696
|
};
|
|
23461
|
-
/**
|
|
23462
|
-
* Optional attributes
|
|
23463
|
-
*/
|
|
23464
|
-
attributes?: {
|
|
23465
|
-
[k: string]: string;
|
|
23466
|
-
};
|
|
23467
23697
|
/**
|
|
23468
23698
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
23469
23699
|
*/
|
|
@@ -23493,6 +23723,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
23493
23723
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23494
23724
|
*/
|
|
23495
23725
|
lifecycleStatus: "published" | "deprecated";
|
|
23726
|
+
/**
|
|
23727
|
+
* Optional key-value attributes from the plugin definition
|
|
23728
|
+
*/
|
|
23729
|
+
attributes?: {
|
|
23730
|
+
[k: string]: string;
|
|
23731
|
+
};
|
|
23496
23732
|
};
|
|
23497
23733
|
}
|
|
23498
23734
|
|
|
@@ -23707,12 +23943,6 @@ interface GetDereferencedPublicPluginByIdResponse {
|
|
|
23707
23943
|
};
|
|
23708
23944
|
};
|
|
23709
23945
|
};
|
|
23710
|
-
/**
|
|
23711
|
-
* Optional attributes
|
|
23712
|
-
*/
|
|
23713
|
-
attributes?: {
|
|
23714
|
-
[k: string]: string;
|
|
23715
|
-
};
|
|
23716
23946
|
/**
|
|
23717
23947
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
23718
23948
|
*/
|
|
@@ -23742,6 +23972,12 @@ interface GetDereferencedPublicPluginByIdResponse {
|
|
|
23742
23972
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23743
23973
|
*/
|
|
23744
23974
|
lifecycleStatus: "published" | "deprecated";
|
|
23975
|
+
/**
|
|
23976
|
+
* Optional key-value attributes from the plugin definition
|
|
23977
|
+
*/
|
|
23978
|
+
attributes?: {
|
|
23979
|
+
[k: string]: string;
|
|
23980
|
+
};
|
|
23745
23981
|
};
|
|
23746
23982
|
}
|
|
23747
23983
|
|
|
@@ -23948,12 +24184,6 @@ interface GetPublicPluginResponse {
|
|
|
23948
24184
|
};
|
|
23949
24185
|
};
|
|
23950
24186
|
};
|
|
23951
|
-
/**
|
|
23952
|
-
* Optional attributes
|
|
23953
|
-
*/
|
|
23954
|
-
attributes?: {
|
|
23955
|
-
[k: string]: string;
|
|
23956
|
-
};
|
|
23957
24187
|
/**
|
|
23958
24188
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
23959
24189
|
*/
|
|
@@ -23983,6 +24213,12 @@ interface GetPublicPluginResponse {
|
|
|
23983
24213
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
23984
24214
|
*/
|
|
23985
24215
|
lifecycleStatus: "published" | "deprecated";
|
|
24216
|
+
/**
|
|
24217
|
+
* Optional key-value attributes from the plugin definition
|
|
24218
|
+
*/
|
|
24219
|
+
attributes?: {
|
|
24220
|
+
[k: string]: string;
|
|
24221
|
+
};
|
|
23986
24222
|
};
|
|
23987
24223
|
}
|
|
23988
24224
|
|
|
@@ -24200,12 +24436,6 @@ interface GetPublicInterfaceByIdResponse {
|
|
|
24200
24436
|
script: string;
|
|
24201
24437
|
language: string;
|
|
24202
24438
|
};
|
|
24203
|
-
/**
|
|
24204
|
-
* Optional attributes
|
|
24205
|
-
*/
|
|
24206
|
-
attributes?: {
|
|
24207
|
-
[k: string]: string;
|
|
24208
|
-
};
|
|
24209
24439
|
/**
|
|
24210
24440
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
24211
24441
|
*/
|
|
@@ -24226,6 +24456,12 @@ interface GetPublicInterfaceByIdResponse {
|
|
|
24226
24456
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
24227
24457
|
*/
|
|
24228
24458
|
public: boolean;
|
|
24459
|
+
/**
|
|
24460
|
+
* Optional key-value attributes from the interface definition
|
|
24461
|
+
*/
|
|
24462
|
+
attributes?: {
|
|
24463
|
+
[k: string]: string;
|
|
24464
|
+
};
|
|
24229
24465
|
};
|
|
24230
24466
|
}
|
|
24231
24467
|
|
|
@@ -24366,12 +24602,6 @@ interface GetPublicInterfaceResponse {
|
|
|
24366
24602
|
script: string;
|
|
24367
24603
|
language: string;
|
|
24368
24604
|
};
|
|
24369
|
-
/**
|
|
24370
|
-
* Optional attributes
|
|
24371
|
-
*/
|
|
24372
|
-
attributes?: {
|
|
24373
|
-
[k: string]: string;
|
|
24374
|
-
};
|
|
24375
24605
|
/**
|
|
24376
24606
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
24377
24607
|
*/
|
|
@@ -24392,6 +24622,12 @@ interface GetPublicInterfaceResponse {
|
|
|
24392
24622
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
24393
24623
|
*/
|
|
24394
24624
|
public: boolean;
|
|
24625
|
+
/**
|
|
24626
|
+
* Optional key-value attributes from the interface definition
|
|
24627
|
+
*/
|
|
24628
|
+
attributes?: {
|
|
24629
|
+
[k: string]: string;
|
|
24630
|
+
};
|
|
24395
24631
|
};
|
|
24396
24632
|
}
|
|
24397
24633
|
|
|
@@ -24616,6 +24852,10 @@ interface CreateBotRequestBody {
|
|
|
24616
24852
|
* Type of the [Bot](#schema_bot)
|
|
24617
24853
|
*/
|
|
24618
24854
|
type?: "studio" | "adk" | "desk";
|
|
24855
|
+
/**
|
|
24856
|
+
* Maximum execution time (in seconds).
|
|
24857
|
+
*/
|
|
24858
|
+
maxExecutionTime?: number;
|
|
24619
24859
|
}
|
|
24620
24860
|
type CreateBotInput = CreateBotRequestBody & CreateBotRequestHeaders & CreateBotRequestQuery & CreateBotRequestParams;
|
|
24621
24861
|
interface CreateBotResponse {
|
|
@@ -25306,10 +25546,6 @@ interface UpdateBotRequestBody {
|
|
|
25306
25546
|
[k: string]: string | null;
|
|
25307
25547
|
};
|
|
25308
25548
|
layers?: string[];
|
|
25309
|
-
/**
|
|
25310
|
-
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
25311
|
-
*/
|
|
25312
|
-
shouldMergePlugins?: boolean;
|
|
25313
25549
|
/**
|
|
25314
25550
|
* Type of the [Bot](#schema_bot)
|
|
25315
25551
|
*/
|
|
@@ -25781,6 +26017,8 @@ interface ListBotsRequestQuery {
|
|
|
25781
26017
|
tags?: {
|
|
25782
26018
|
[k: string]: string;
|
|
25783
26019
|
};
|
|
26020
|
+
integrationNames?: string[];
|
|
26021
|
+
pluginNames?: string[];
|
|
25784
26022
|
nextToken?: string;
|
|
25785
26023
|
sortField?: "createdAt" | "updatedAt";
|
|
25786
26024
|
sortDirection?: "asc" | "desc";
|
|
@@ -25828,7 +26066,6 @@ interface ListBotsResponse {
|
|
|
25828
26066
|
interface GetBotRequestHeaders {
|
|
25829
26067
|
}
|
|
25830
26068
|
interface GetBotRequestQuery {
|
|
25831
|
-
shouldMergePlugins?: boolean;
|
|
25832
26069
|
}
|
|
25833
26070
|
interface GetBotRequestParams {
|
|
25834
26071
|
id: string;
|
|
@@ -26977,7 +27214,7 @@ interface CreateWorkspaceResponse {
|
|
|
26977
27214
|
updatedAt: string;
|
|
26978
27215
|
botCount: number;
|
|
26979
27216
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
26980
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27217
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
26981
27218
|
blocked: boolean;
|
|
26982
27219
|
spendingLimit: number;
|
|
26983
27220
|
about?: string;
|
|
@@ -27031,7 +27268,7 @@ interface GetWorkspaceResponse {
|
|
|
27031
27268
|
updatedAt: string;
|
|
27032
27269
|
botCount: number;
|
|
27033
27270
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27034
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27271
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27035
27272
|
blocked: boolean;
|
|
27036
27273
|
spendingLimit: number;
|
|
27037
27274
|
about?: string;
|
|
@@ -27203,7 +27440,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
27203
27440
|
updatedAt: string;
|
|
27204
27441
|
botCount: number;
|
|
27205
27442
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27206
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27443
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27207
27444
|
blocked: boolean;
|
|
27208
27445
|
spendingLimit: number;
|
|
27209
27446
|
about?: string;
|
|
@@ -27260,7 +27497,7 @@ interface UpdateWorkspaceResponse {
|
|
|
27260
27497
|
updatedAt: string;
|
|
27261
27498
|
botCount: number;
|
|
27262
27499
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
27263
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
27500
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
27264
27501
|
blocked: boolean;
|
|
27265
27502
|
spendingLimit: number;
|
|
27266
27503
|
about?: string;
|
|
@@ -27689,12 +27926,6 @@ interface CreateIntegrationRequestBody {
|
|
|
27689
27926
|
};
|
|
27690
27927
|
};
|
|
27691
27928
|
};
|
|
27692
|
-
/**
|
|
27693
|
-
* Optional attributes
|
|
27694
|
-
*/
|
|
27695
|
-
attributes?: {
|
|
27696
|
-
[k: string]: string;
|
|
27697
|
-
};
|
|
27698
27929
|
identifier?: {
|
|
27699
27930
|
fallbackHandlerScript?: string;
|
|
27700
27931
|
extractScript?: string;
|
|
@@ -27879,6 +28110,12 @@ interface CreateIntegrationRequestBody {
|
|
|
27879
28110
|
*/
|
|
27880
28111
|
visibility?: "public" | "private" | "unlisted";
|
|
27881
28112
|
layers?: string[];
|
|
28113
|
+
/**
|
|
28114
|
+
* Optional key-value attributes from the integration definition
|
|
28115
|
+
*/
|
|
28116
|
+
attributes?: {
|
|
28117
|
+
[k: string]: string;
|
|
28118
|
+
};
|
|
27882
28119
|
}
|
|
27883
28120
|
type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
|
|
27884
28121
|
interface CreateIntegrationResponse {
|
|
@@ -28231,12 +28468,6 @@ interface CreateIntegrationResponse {
|
|
|
28231
28468
|
};
|
|
28232
28469
|
};
|
|
28233
28470
|
};
|
|
28234
|
-
/**
|
|
28235
|
-
* Optional attributes
|
|
28236
|
-
*/
|
|
28237
|
-
attributes?: {
|
|
28238
|
-
[k: string]: string;
|
|
28239
|
-
};
|
|
28240
28471
|
/**
|
|
28241
28472
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
28242
28473
|
*/
|
|
@@ -28278,6 +28509,12 @@ interface CreateIntegrationResponse {
|
|
|
28278
28509
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
28279
28510
|
*/
|
|
28280
28511
|
secrets: string[];
|
|
28512
|
+
/**
|
|
28513
|
+
* Optional key-value attributes from the integration definition
|
|
28514
|
+
*/
|
|
28515
|
+
attributes?: {
|
|
28516
|
+
[k: string]: string;
|
|
28517
|
+
};
|
|
28281
28518
|
};
|
|
28282
28519
|
}
|
|
28283
28520
|
|
|
@@ -28436,12 +28673,6 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
28436
28673
|
};
|
|
28437
28674
|
};
|
|
28438
28675
|
};
|
|
28439
|
-
/**
|
|
28440
|
-
* Optional attributes
|
|
28441
|
-
*/
|
|
28442
|
-
attributes?: {
|
|
28443
|
-
[k: string]: string;
|
|
28444
|
-
};
|
|
28445
28676
|
identifier?: {
|
|
28446
28677
|
fallbackHandlerScript?: string;
|
|
28447
28678
|
extractScript?: string;
|
|
@@ -28626,6 +28857,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
28626
28857
|
*/
|
|
28627
28858
|
visibility?: "public" | "private" | "unlisted";
|
|
28628
28859
|
layers?: string[];
|
|
28860
|
+
/**
|
|
28861
|
+
* Optional key-value attributes from the integration definition
|
|
28862
|
+
*/
|
|
28863
|
+
attributes?: {
|
|
28864
|
+
[k: string]: string;
|
|
28865
|
+
};
|
|
28629
28866
|
}
|
|
28630
28867
|
type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
|
|
28631
28868
|
interface ValidateIntegrationCreationResponse {
|
|
@@ -28688,12 +28925,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
28688
28925
|
} | null;
|
|
28689
28926
|
};
|
|
28690
28927
|
/**
|
|
28691
|
-
* **EXPERIMENTAL**
|
|
28928
|
+
* **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
|
|
28692
28929
|
*/
|
|
28693
28930
|
extraOperations?: {
|
|
28694
28931
|
[k: string]: {
|
|
28695
28932
|
enabled: boolean;
|
|
28696
|
-
};
|
|
28933
|
+
} | null;
|
|
28697
28934
|
};
|
|
28698
28935
|
sdkVersion?: string;
|
|
28699
28936
|
channels?: {
|
|
@@ -28918,7 +29155,7 @@ interface UpdateIntegrationRequestBody {
|
|
|
28918
29155
|
} | null;
|
|
28919
29156
|
};
|
|
28920
29157
|
/**
|
|
28921
|
-
* Optional attributes. Set attributes to null to remove them
|
|
29158
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
28922
29159
|
*/
|
|
28923
29160
|
attributes?: {
|
|
28924
29161
|
[k: string]: string | null;
|
|
@@ -29315,12 +29552,6 @@ interface UpdateIntegrationResponse {
|
|
|
29315
29552
|
};
|
|
29316
29553
|
};
|
|
29317
29554
|
};
|
|
29318
|
-
/**
|
|
29319
|
-
* Optional attributes
|
|
29320
|
-
*/
|
|
29321
|
-
attributes?: {
|
|
29322
|
-
[k: string]: string;
|
|
29323
|
-
};
|
|
29324
29555
|
/**
|
|
29325
29556
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
29326
29557
|
*/
|
|
@@ -29362,6 +29593,12 @@ interface UpdateIntegrationResponse {
|
|
|
29362
29593
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
29363
29594
|
*/
|
|
29364
29595
|
secrets: string[];
|
|
29596
|
+
/**
|
|
29597
|
+
* Optional key-value attributes from the integration definition
|
|
29598
|
+
*/
|
|
29599
|
+
attributes?: {
|
|
29600
|
+
[k: string]: string;
|
|
29601
|
+
};
|
|
29365
29602
|
};
|
|
29366
29603
|
}
|
|
29367
29604
|
|
|
@@ -29439,12 +29676,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
29439
29676
|
} | null;
|
|
29440
29677
|
};
|
|
29441
29678
|
/**
|
|
29442
|
-
* **EXPERIMENTAL**
|
|
29679
|
+
* **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
|
|
29443
29680
|
*/
|
|
29444
29681
|
extraOperations?: {
|
|
29445
29682
|
[k: string]: {
|
|
29446
29683
|
enabled: boolean;
|
|
29447
|
-
};
|
|
29684
|
+
} | null;
|
|
29448
29685
|
};
|
|
29449
29686
|
sdkVersion?: string;
|
|
29450
29687
|
channels?: {
|
|
@@ -29669,7 +29906,7 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
29669
29906
|
} | null;
|
|
29670
29907
|
};
|
|
29671
29908
|
/**
|
|
29672
|
-
* Optional attributes. Set attributes to null to remove them
|
|
29909
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
29673
29910
|
*/
|
|
29674
29911
|
attributes?: {
|
|
29675
29912
|
[k: string]: string | null;
|
|
@@ -30197,12 +30434,6 @@ interface GetIntegrationResponse {
|
|
|
30197
30434
|
};
|
|
30198
30435
|
};
|
|
30199
30436
|
};
|
|
30200
|
-
/**
|
|
30201
|
-
* Optional attributes
|
|
30202
|
-
*/
|
|
30203
|
-
attributes?: {
|
|
30204
|
-
[k: string]: string;
|
|
30205
|
-
};
|
|
30206
30437
|
/**
|
|
30207
30438
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
30208
30439
|
*/
|
|
@@ -30244,6 +30475,12 @@ interface GetIntegrationResponse {
|
|
|
30244
30475
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
30245
30476
|
*/
|
|
30246
30477
|
secrets: string[];
|
|
30478
|
+
/**
|
|
30479
|
+
* Optional key-value attributes from the integration definition
|
|
30480
|
+
*/
|
|
30481
|
+
attributes?: {
|
|
30482
|
+
[k: string]: string;
|
|
30483
|
+
};
|
|
30247
30484
|
};
|
|
30248
30485
|
}
|
|
30249
30486
|
|
|
@@ -30637,12 +30874,6 @@ interface GetIntegrationByNameResponse {
|
|
|
30637
30874
|
};
|
|
30638
30875
|
};
|
|
30639
30876
|
};
|
|
30640
|
-
/**
|
|
30641
|
-
* Optional attributes
|
|
30642
|
-
*/
|
|
30643
|
-
attributes?: {
|
|
30644
|
-
[k: string]: string;
|
|
30645
|
-
};
|
|
30646
30877
|
/**
|
|
30647
30878
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
30648
30879
|
*/
|
|
@@ -30684,6 +30915,12 @@ interface GetIntegrationByNameResponse {
|
|
|
30684
30915
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
30685
30916
|
*/
|
|
30686
30917
|
secrets: string[];
|
|
30918
|
+
/**
|
|
30919
|
+
* Optional key-value attributes from the integration definition
|
|
30920
|
+
*/
|
|
30921
|
+
attributes?: {
|
|
30922
|
+
[k: string]: string;
|
|
30923
|
+
};
|
|
30687
30924
|
};
|
|
30688
30925
|
}
|
|
30689
30926
|
|
|
@@ -30832,12 +31069,6 @@ interface CreateInterfaceRequestBody {
|
|
|
30832
31069
|
script: string;
|
|
30833
31070
|
language: string;
|
|
30834
31071
|
};
|
|
30835
|
-
/**
|
|
30836
|
-
* Optional attributes
|
|
30837
|
-
*/
|
|
30838
|
-
attributes?: {
|
|
30839
|
-
[k: string]: string;
|
|
30840
|
-
};
|
|
30841
31072
|
sdkVersion?: string;
|
|
30842
31073
|
/**
|
|
30843
31074
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
@@ -30859,6 +31090,12 @@ interface CreateInterfaceRequestBody {
|
|
|
30859
31090
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
30860
31091
|
*/
|
|
30861
31092
|
public?: boolean;
|
|
31093
|
+
/**
|
|
31094
|
+
* Optional key-value attributes from the interface definition
|
|
31095
|
+
*/
|
|
31096
|
+
attributes?: {
|
|
31097
|
+
[k: string]: string;
|
|
31098
|
+
};
|
|
30862
31099
|
}
|
|
30863
31100
|
type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
|
|
30864
31101
|
interface CreateInterfaceResponse {
|
|
@@ -30987,12 +31224,6 @@ interface CreateInterfaceResponse {
|
|
|
30987
31224
|
script: string;
|
|
30988
31225
|
language: string;
|
|
30989
31226
|
};
|
|
30990
|
-
/**
|
|
30991
|
-
* Optional attributes
|
|
30992
|
-
*/
|
|
30993
|
-
attributes?: {
|
|
30994
|
-
[k: string]: string;
|
|
30995
|
-
};
|
|
30996
31227
|
/**
|
|
30997
31228
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
30998
31229
|
*/
|
|
@@ -31013,6 +31244,12 @@ interface CreateInterfaceResponse {
|
|
|
31013
31244
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
31014
31245
|
*/
|
|
31015
31246
|
public: boolean;
|
|
31247
|
+
/**
|
|
31248
|
+
* Optional key-value attributes from the interface definition
|
|
31249
|
+
*/
|
|
31250
|
+
attributes?: {
|
|
31251
|
+
[k: string]: string;
|
|
31252
|
+
};
|
|
31016
31253
|
};
|
|
31017
31254
|
}
|
|
31018
31255
|
|
|
@@ -31152,12 +31389,6 @@ interface GetInterfaceResponse {
|
|
|
31152
31389
|
script: string;
|
|
31153
31390
|
language: string;
|
|
31154
31391
|
};
|
|
31155
|
-
/**
|
|
31156
|
-
* Optional attributes
|
|
31157
|
-
*/
|
|
31158
|
-
attributes?: {
|
|
31159
|
-
[k: string]: string;
|
|
31160
|
-
};
|
|
31161
31392
|
/**
|
|
31162
31393
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
31163
31394
|
*/
|
|
@@ -31178,6 +31409,12 @@ interface GetInterfaceResponse {
|
|
|
31178
31409
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
31179
31410
|
*/
|
|
31180
31411
|
public: boolean;
|
|
31412
|
+
/**
|
|
31413
|
+
* Optional key-value attributes from the interface definition
|
|
31414
|
+
*/
|
|
31415
|
+
attributes?: {
|
|
31416
|
+
[k: string]: string;
|
|
31417
|
+
};
|
|
31181
31418
|
};
|
|
31182
31419
|
}
|
|
31183
31420
|
|
|
@@ -31318,12 +31555,6 @@ interface GetInterfaceByNameResponse {
|
|
|
31318
31555
|
script: string;
|
|
31319
31556
|
language: string;
|
|
31320
31557
|
};
|
|
31321
|
-
/**
|
|
31322
|
-
* Optional attributes
|
|
31323
|
-
*/
|
|
31324
|
-
attributes?: {
|
|
31325
|
-
[k: string]: string;
|
|
31326
|
-
};
|
|
31327
31558
|
/**
|
|
31328
31559
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
31329
31560
|
*/
|
|
@@ -31344,6 +31575,12 @@ interface GetInterfaceByNameResponse {
|
|
|
31344
31575
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
31345
31576
|
*/
|
|
31346
31577
|
public: boolean;
|
|
31578
|
+
/**
|
|
31579
|
+
* Optional key-value attributes from the interface definition
|
|
31580
|
+
*/
|
|
31581
|
+
attributes?: {
|
|
31582
|
+
[k: string]: string;
|
|
31583
|
+
};
|
|
31347
31584
|
};
|
|
31348
31585
|
}
|
|
31349
31586
|
|
|
@@ -31453,12 +31690,6 @@ interface UpdateInterfaceRequestBody {
|
|
|
31453
31690
|
script: string;
|
|
31454
31691
|
language: string;
|
|
31455
31692
|
} | null;
|
|
31456
|
-
/**
|
|
31457
|
-
* Optional attributes. Set attributes to null to remove them
|
|
31458
|
-
*/
|
|
31459
|
-
attributes?: {
|
|
31460
|
-
[k: string]: string | null;
|
|
31461
|
-
};
|
|
31462
31693
|
sdkVersion?: string;
|
|
31463
31694
|
/**
|
|
31464
31695
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
@@ -31480,6 +31711,12 @@ interface UpdateInterfaceRequestBody {
|
|
|
31480
31711
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
31481
31712
|
*/
|
|
31482
31713
|
public?: boolean;
|
|
31714
|
+
/**
|
|
31715
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
31716
|
+
*/
|
|
31717
|
+
attributes?: {
|
|
31718
|
+
[k: string]: string | null;
|
|
31719
|
+
};
|
|
31483
31720
|
}
|
|
31484
31721
|
type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
|
|
31485
31722
|
interface UpdateInterfaceResponse {
|
|
@@ -31608,12 +31845,6 @@ interface UpdateInterfaceResponse {
|
|
|
31608
31845
|
script: string;
|
|
31609
31846
|
language: string;
|
|
31610
31847
|
};
|
|
31611
|
-
/**
|
|
31612
|
-
* Optional attributes
|
|
31613
|
-
*/
|
|
31614
|
-
attributes?: {
|
|
31615
|
-
[k: string]: string;
|
|
31616
|
-
};
|
|
31617
31848
|
/**
|
|
31618
31849
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
31619
31850
|
*/
|
|
@@ -31634,6 +31865,12 @@ interface UpdateInterfaceResponse {
|
|
|
31634
31865
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
31635
31866
|
*/
|
|
31636
31867
|
public: boolean;
|
|
31868
|
+
/**
|
|
31869
|
+
* Optional key-value attributes from the interface definition
|
|
31870
|
+
*/
|
|
31871
|
+
attributes?: {
|
|
31872
|
+
[k: string]: string;
|
|
31873
|
+
};
|
|
31637
31874
|
};
|
|
31638
31875
|
}
|
|
31639
31876
|
|
|
@@ -31882,12 +32119,6 @@ interface CreatePluginRequestBody {
|
|
|
31882
32119
|
};
|
|
31883
32120
|
};
|
|
31884
32121
|
};
|
|
31885
|
-
/**
|
|
31886
|
-
* Optional attributes
|
|
31887
|
-
*/
|
|
31888
|
-
attributes?: {
|
|
31889
|
-
[k: string]: string;
|
|
31890
|
-
};
|
|
31891
32122
|
sdkVersion?: string;
|
|
31892
32123
|
code: {
|
|
31893
32124
|
/**
|
|
@@ -31964,6 +32195,12 @@ interface CreatePluginRequestBody {
|
|
|
31964
32195
|
};
|
|
31965
32196
|
};
|
|
31966
32197
|
};
|
|
32198
|
+
/**
|
|
32199
|
+
* Optional key-value attributes from the plugin definition
|
|
32200
|
+
*/
|
|
32201
|
+
attributes?: {
|
|
32202
|
+
[k: string]: string;
|
|
32203
|
+
};
|
|
31967
32204
|
}
|
|
31968
32205
|
type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
|
|
31969
32206
|
interface CreatePluginResponse {
|
|
@@ -32158,12 +32395,6 @@ interface CreatePluginResponse {
|
|
|
32158
32395
|
};
|
|
32159
32396
|
};
|
|
32160
32397
|
};
|
|
32161
|
-
/**
|
|
32162
|
-
* Optional attributes
|
|
32163
|
-
*/
|
|
32164
|
-
attributes?: {
|
|
32165
|
-
[k: string]: string;
|
|
32166
|
-
};
|
|
32167
32398
|
/**
|
|
32168
32399
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32169
32400
|
*/
|
|
@@ -32193,6 +32424,12 @@ interface CreatePluginResponse {
|
|
|
32193
32424
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
32194
32425
|
*/
|
|
32195
32426
|
lifecycleStatus: "published" | "deprecated";
|
|
32427
|
+
/**
|
|
32428
|
+
* Optional key-value attributes from the plugin definition
|
|
32429
|
+
*/
|
|
32430
|
+
attributes?: {
|
|
32431
|
+
[k: string]: string;
|
|
32432
|
+
};
|
|
32196
32433
|
};
|
|
32197
32434
|
}
|
|
32198
32435
|
|
|
@@ -32398,12 +32635,6 @@ interface GetPluginResponse {
|
|
|
32398
32635
|
};
|
|
32399
32636
|
};
|
|
32400
32637
|
};
|
|
32401
|
-
/**
|
|
32402
|
-
* Optional attributes
|
|
32403
|
-
*/
|
|
32404
|
-
attributes?: {
|
|
32405
|
-
[k: string]: string;
|
|
32406
|
-
};
|
|
32407
32638
|
/**
|
|
32408
32639
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32409
32640
|
*/
|
|
@@ -32433,6 +32664,12 @@ interface GetPluginResponse {
|
|
|
32433
32664
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
32434
32665
|
*/
|
|
32435
32666
|
lifecycleStatus: "published" | "deprecated";
|
|
32667
|
+
/**
|
|
32668
|
+
* Optional key-value attributes from the plugin definition
|
|
32669
|
+
*/
|
|
32670
|
+
attributes?: {
|
|
32671
|
+
[k: string]: string;
|
|
32672
|
+
};
|
|
32436
32673
|
};
|
|
32437
32674
|
}
|
|
32438
32675
|
|
|
@@ -32647,12 +32884,6 @@ interface GetDereferencedPluginResponse {
|
|
|
32647
32884
|
};
|
|
32648
32885
|
};
|
|
32649
32886
|
};
|
|
32650
|
-
/**
|
|
32651
|
-
* Optional attributes
|
|
32652
|
-
*/
|
|
32653
|
-
attributes?: {
|
|
32654
|
-
[k: string]: string;
|
|
32655
|
-
};
|
|
32656
32887
|
/**
|
|
32657
32888
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32658
32889
|
*/
|
|
@@ -32682,6 +32913,12 @@ interface GetDereferencedPluginResponse {
|
|
|
32682
32913
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
32683
32914
|
*/
|
|
32684
32915
|
lifecycleStatus: "published" | "deprecated";
|
|
32916
|
+
/**
|
|
32917
|
+
* Optional key-value attributes from the plugin definition
|
|
32918
|
+
*/
|
|
32919
|
+
attributes?: {
|
|
32920
|
+
[k: string]: string;
|
|
32921
|
+
};
|
|
32685
32922
|
};
|
|
32686
32923
|
}
|
|
32687
32924
|
|
|
@@ -32888,12 +33125,6 @@ interface GetPluginByNameResponse {
|
|
|
32888
33125
|
};
|
|
32889
33126
|
};
|
|
32890
33127
|
};
|
|
32891
|
-
/**
|
|
32892
|
-
* Optional attributes
|
|
32893
|
-
*/
|
|
32894
|
-
attributes?: {
|
|
32895
|
-
[k: string]: string;
|
|
32896
|
-
};
|
|
32897
33128
|
/**
|
|
32898
33129
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32899
33130
|
*/
|
|
@@ -32923,6 +33154,12 @@ interface GetPluginByNameResponse {
|
|
|
32923
33154
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
32924
33155
|
*/
|
|
32925
33156
|
lifecycleStatus: "published" | "deprecated";
|
|
33157
|
+
/**
|
|
33158
|
+
* Optional key-value attributes from the plugin definition
|
|
33159
|
+
*/
|
|
33160
|
+
attributes?: {
|
|
33161
|
+
[k: string]: string;
|
|
33162
|
+
};
|
|
32926
33163
|
};
|
|
32927
33164
|
}
|
|
32928
33165
|
|
|
@@ -33073,12 +33310,6 @@ interface UpdatePluginRequestBody {
|
|
|
33073
33310
|
} | null;
|
|
33074
33311
|
};
|
|
33075
33312
|
};
|
|
33076
|
-
/**
|
|
33077
|
-
* Optional attributes. Set attributes to null to remove them
|
|
33078
|
-
*/
|
|
33079
|
-
attributes?: {
|
|
33080
|
-
[k: string]: string | null;
|
|
33081
|
-
};
|
|
33082
33313
|
sdkVersion?: string;
|
|
33083
33314
|
code?: {
|
|
33084
33315
|
/**
|
|
@@ -33155,6 +33386,12 @@ interface UpdatePluginRequestBody {
|
|
|
33155
33386
|
} | null;
|
|
33156
33387
|
};
|
|
33157
33388
|
};
|
|
33389
|
+
/**
|
|
33390
|
+
* Optional key-value attributes. Set attributes to null to remove them
|
|
33391
|
+
*/
|
|
33392
|
+
attributes?: {
|
|
33393
|
+
[k: string]: string | null;
|
|
33394
|
+
};
|
|
33158
33395
|
}
|
|
33159
33396
|
type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
|
|
33160
33397
|
interface UpdatePluginResponse {
|
|
@@ -33349,12 +33586,6 @@ interface UpdatePluginResponse {
|
|
|
33349
33586
|
};
|
|
33350
33587
|
};
|
|
33351
33588
|
};
|
|
33352
|
-
/**
|
|
33353
|
-
* Optional attributes
|
|
33354
|
-
*/
|
|
33355
|
-
attributes?: {
|
|
33356
|
-
[k: string]: string;
|
|
33357
|
-
};
|
|
33358
33589
|
/**
|
|
33359
33590
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
33360
33591
|
*/
|
|
@@ -33384,6 +33615,12 @@ interface UpdatePluginResponse {
|
|
|
33384
33615
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
33385
33616
|
*/
|
|
33386
33617
|
lifecycleStatus: "published" | "deprecated";
|
|
33618
|
+
/**
|
|
33619
|
+
* Optional key-value attributes from the plugin definition
|
|
33620
|
+
*/
|
|
33621
|
+
attributes?: {
|
|
33622
|
+
[k: string]: string;
|
|
33623
|
+
};
|
|
33387
33624
|
};
|
|
33388
33625
|
}
|
|
33389
33626
|
|
|
@@ -37257,12 +37494,6 @@ interface Integration {
|
|
|
37257
37494
|
};
|
|
37258
37495
|
};
|
|
37259
37496
|
};
|
|
37260
|
-
/**
|
|
37261
|
-
* Optional attributes
|
|
37262
|
-
*/
|
|
37263
|
-
attributes?: {
|
|
37264
|
-
[k: string]: string;
|
|
37265
|
-
};
|
|
37266
37497
|
/**
|
|
37267
37498
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
37268
37499
|
*/
|
|
@@ -37304,6 +37535,12 @@ interface Integration {
|
|
|
37304
37535
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
37305
37536
|
*/
|
|
37306
37537
|
secrets: string[];
|
|
37538
|
+
/**
|
|
37539
|
+
* Optional key-value attributes from the integration definition
|
|
37540
|
+
*/
|
|
37541
|
+
attributes?: {
|
|
37542
|
+
[k: string]: string;
|
|
37543
|
+
};
|
|
37307
37544
|
}
|
|
37308
37545
|
interface Interface {
|
|
37309
37546
|
/**
|
|
@@ -37430,12 +37667,6 @@ interface Interface {
|
|
|
37430
37667
|
script: string;
|
|
37431
37668
|
language: string;
|
|
37432
37669
|
};
|
|
37433
|
-
/**
|
|
37434
|
-
* Optional attributes
|
|
37435
|
-
*/
|
|
37436
|
-
attributes?: {
|
|
37437
|
-
[k: string]: string;
|
|
37438
|
-
};
|
|
37439
37670
|
/**
|
|
37440
37671
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
37441
37672
|
*/
|
|
@@ -37456,6 +37687,12 @@ interface Interface {
|
|
|
37456
37687
|
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
37457
37688
|
*/
|
|
37458
37689
|
public: boolean;
|
|
37690
|
+
/**
|
|
37691
|
+
* Optional key-value attributes from the interface definition
|
|
37692
|
+
*/
|
|
37693
|
+
attributes?: {
|
|
37694
|
+
[k: string]: string;
|
|
37695
|
+
};
|
|
37459
37696
|
}
|
|
37460
37697
|
interface Plugin {
|
|
37461
37698
|
/**
|
|
@@ -37648,12 +37885,6 @@ interface Plugin {
|
|
|
37648
37885
|
};
|
|
37649
37886
|
};
|
|
37650
37887
|
};
|
|
37651
|
-
/**
|
|
37652
|
-
* Optional attributes
|
|
37653
|
-
*/
|
|
37654
|
-
attributes?: {
|
|
37655
|
-
[k: string]: string;
|
|
37656
|
-
};
|
|
37657
37888
|
/**
|
|
37658
37889
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
37659
37890
|
*/
|
|
@@ -37683,6 +37914,12 @@ interface Plugin {
|
|
|
37683
37914
|
* The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
|
|
37684
37915
|
*/
|
|
37685
37916
|
lifecycleStatus: "published" | "deprecated";
|
|
37917
|
+
/**
|
|
37918
|
+
* Optional key-value attributes from the plugin definition
|
|
37919
|
+
*/
|
|
37920
|
+
attributes?: {
|
|
37921
|
+
[k: string]: string;
|
|
37922
|
+
};
|
|
37686
37923
|
}
|
|
37687
37924
|
interface Workspace {
|
|
37688
37925
|
id: string;
|
|
@@ -37692,7 +37929,7 @@ interface Workspace {
|
|
|
37692
37929
|
updatedAt: string;
|
|
37693
37930
|
botCount: number;
|
|
37694
37931
|
billingVersion: "v1" | "v2" | "v3" | "v4";
|
|
37695
|
-
plan: "community" | "team" | "enterprise" | "plus";
|
|
37932
|
+
plan: "community" | "team" | "enterprise" | "plus" | "managed";
|
|
37696
37933
|
blocked: boolean;
|
|
37697
37934
|
spendingLimit: number;
|
|
37698
37935
|
about?: string;
|
|
@@ -37877,6 +38114,12 @@ interface Conversation {
|
|
|
37877
38114
|
* Number of messages in the conversation
|
|
37878
38115
|
*/
|
|
37879
38116
|
messageCount: number;
|
|
38117
|
+
/**
|
|
38118
|
+
* **EXPERIMENTAL** - Optional shared properties that can be accessed and modified by both the bot and any of its integrations.
|
|
38119
|
+
*/
|
|
38120
|
+
properties?: {
|
|
38121
|
+
[k: string]: string;
|
|
38122
|
+
};
|
|
37880
38123
|
}
|
|
37881
38124
|
/**
|
|
37882
38125
|
* The event object represents an action or an occurrence.
|
|
@@ -38622,6 +38865,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38622
38865
|
participantIds?: string[] | undefined;
|
|
38623
38866
|
afterDate?: string | undefined;
|
|
38624
38867
|
beforeDate?: string | undefined;
|
|
38868
|
+
minMessageCount?: number | undefined;
|
|
38869
|
+
maxMessageCount?: number | undefined;
|
|
38625
38870
|
}) => AsyncCollection<{
|
|
38626
38871
|
id: string;
|
|
38627
38872
|
currentTaskId?: string;
|
|
@@ -38634,6 +38879,9 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38634
38879
|
[k: string]: string;
|
|
38635
38880
|
};
|
|
38636
38881
|
messageCount: number;
|
|
38882
|
+
properties?: {
|
|
38883
|
+
[k: string]: string;
|
|
38884
|
+
};
|
|
38637
38885
|
}>;
|
|
38638
38886
|
participants: (props: {
|
|
38639
38887
|
id: string;
|
|
@@ -38773,6 +39021,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
38773
39021
|
sortField?: "createdAt" | "updatedAt" | undefined;
|
|
38774
39022
|
sortDirection?: "asc" | "desc" | undefined;
|
|
38775
39023
|
dev?: boolean | undefined;
|
|
39024
|
+
integrationNames?: string[] | undefined;
|
|
39025
|
+
pluginNames?: string[] | undefined;
|
|
38776
39026
|
}) => AsyncCollection<{
|
|
38777
39027
|
id: string;
|
|
38778
39028
|
createdAt: string;
|