@botpress/cognitive 0.1.23 → 0.1.25
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/.turbo/turbo-build.log +28 -15
- package/build.ts +4 -3
- package/dist/index.cjs +0 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +1345 -46
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
- package/.turbo/turbo-generate.log +0 -5
- package/bp_modules/llm/definition/actions/generateContent/index.ts +0 -14
- package/bp_modules/llm/definition/actions/generateContent/input.ts +0 -133
- package/bp_modules/llm/definition/actions/generateContent/output.ts +0 -81
- package/bp_modules/llm/definition/actions/index.ts +0 -12
- package/bp_modules/llm/definition/actions/listLanguageModels/index.ts +0 -14
- package/bp_modules/llm/definition/actions/listLanguageModels/input.ts +0 -8
- package/bp_modules/llm/definition/actions/listLanguageModels/output.ts +0 -45
- package/bp_modules/llm/definition/channels/index.ts +0 -6
- package/bp_modules/llm/definition/entities/index.ts +0 -9
- package/bp_modules/llm/definition/entities/modelRef.ts +0 -10
- package/bp_modules/llm/definition/events/index.ts +0 -6
- package/bp_modules/llm/definition/index.ts +0 -23
- package/bp_modules/llm/index.ts +0 -16
package/dist/index.d.ts
CHANGED
|
@@ -3046,17 +3046,15 @@ interface ConfigureIntegrationRequestBody {
|
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Unique identifier of the integration that was installed on the bot
|
|
3048
3048
|
*/
|
|
3049
|
-
identifier?: string;
|
|
3049
|
+
identifier?: string | null;
|
|
3050
3050
|
/**
|
|
3051
3051
|
* Recurring schedule on which `register()` will be called on the integration
|
|
3052
3052
|
*/
|
|
3053
3053
|
scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
|
|
3054
3054
|
/**
|
|
3055
|
-
* Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers.
|
|
3055
|
+
* **EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.
|
|
3056
3056
|
*/
|
|
3057
|
-
sandboxIdentifiers?: {
|
|
3058
|
-
[k: string]: {} | null;
|
|
3059
|
-
} | null;
|
|
3057
|
+
sandboxIdentifiers?: {} | null;
|
|
3060
3058
|
}
|
|
3061
3059
|
type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
|
|
3062
3060
|
interface ConfigureIntegrationResponse {
|
|
@@ -4548,6 +4546,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
4548
4546
|
schema: {
|
|
4549
4547
|
[k: string]: any;
|
|
4550
4548
|
};
|
|
4549
|
+
/**
|
|
4550
|
+
* Optional attributes
|
|
4551
|
+
*/
|
|
4552
|
+
attributes?: {
|
|
4553
|
+
[k: string]: string;
|
|
4554
|
+
};
|
|
4551
4555
|
};
|
|
4552
4556
|
};
|
|
4553
4557
|
actions: {
|
|
@@ -4575,6 +4579,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
4575
4579
|
[k: string]: any;
|
|
4576
4580
|
};
|
|
4577
4581
|
};
|
|
4582
|
+
/**
|
|
4583
|
+
* Optional attributes
|
|
4584
|
+
*/
|
|
4585
|
+
attributes?: {
|
|
4586
|
+
[k: string]: string;
|
|
4587
|
+
};
|
|
4578
4588
|
};
|
|
4579
4589
|
};
|
|
4580
4590
|
/**
|
|
@@ -4628,6 +4638,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
4628
4638
|
};
|
|
4629
4639
|
};
|
|
4630
4640
|
};
|
|
4641
|
+
/**
|
|
4642
|
+
* Optional attributes
|
|
4643
|
+
*/
|
|
4644
|
+
attributes?: {
|
|
4645
|
+
[k: string]: string;
|
|
4646
|
+
};
|
|
4631
4647
|
/**
|
|
4632
4648
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
4633
4649
|
*/
|
|
@@ -4933,6 +4949,12 @@ interface GetPublicIntegrationResponse {
|
|
|
4933
4949
|
schema: {
|
|
4934
4950
|
[k: string]: any;
|
|
4935
4951
|
};
|
|
4952
|
+
/**
|
|
4953
|
+
* Optional attributes
|
|
4954
|
+
*/
|
|
4955
|
+
attributes?: {
|
|
4956
|
+
[k: string]: string;
|
|
4957
|
+
};
|
|
4936
4958
|
};
|
|
4937
4959
|
};
|
|
4938
4960
|
actions: {
|
|
@@ -4960,6 +4982,12 @@ interface GetPublicIntegrationResponse {
|
|
|
4960
4982
|
[k: string]: any;
|
|
4961
4983
|
};
|
|
4962
4984
|
};
|
|
4985
|
+
/**
|
|
4986
|
+
* Optional attributes
|
|
4987
|
+
*/
|
|
4988
|
+
attributes?: {
|
|
4989
|
+
[k: string]: string;
|
|
4990
|
+
};
|
|
4963
4991
|
};
|
|
4964
4992
|
};
|
|
4965
4993
|
/**
|
|
@@ -5013,6 +5041,12 @@ interface GetPublicIntegrationResponse {
|
|
|
5013
5041
|
};
|
|
5014
5042
|
};
|
|
5015
5043
|
};
|
|
5044
|
+
/**
|
|
5045
|
+
* Optional attributes
|
|
5046
|
+
*/
|
|
5047
|
+
attributes?: {
|
|
5048
|
+
[k: string]: string;
|
|
5049
|
+
};
|
|
5016
5050
|
/**
|
|
5017
5051
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
5018
5052
|
*/
|
|
@@ -5205,6 +5239,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
5205
5239
|
schema: {
|
|
5206
5240
|
[k: string]: any;
|
|
5207
5241
|
};
|
|
5242
|
+
/**
|
|
5243
|
+
* Optional attributes
|
|
5244
|
+
*/
|
|
5245
|
+
attributes?: {
|
|
5246
|
+
[k: string]: string;
|
|
5247
|
+
};
|
|
5208
5248
|
};
|
|
5209
5249
|
};
|
|
5210
5250
|
actions: {
|
|
@@ -5232,6 +5272,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
5232
5272
|
[k: string]: any;
|
|
5233
5273
|
};
|
|
5234
5274
|
};
|
|
5275
|
+
/**
|
|
5276
|
+
* Optional attributes
|
|
5277
|
+
*/
|
|
5278
|
+
attributes?: {
|
|
5279
|
+
[k: string]: string;
|
|
5280
|
+
};
|
|
5235
5281
|
};
|
|
5236
5282
|
};
|
|
5237
5283
|
dependencies: {
|
|
@@ -5290,6 +5336,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
5290
5336
|
};
|
|
5291
5337
|
};
|
|
5292
5338
|
};
|
|
5339
|
+
/**
|
|
5340
|
+
* Optional attributes
|
|
5341
|
+
*/
|
|
5342
|
+
attributes?: {
|
|
5343
|
+
[k: string]: string;
|
|
5344
|
+
};
|
|
5293
5345
|
/**
|
|
5294
5346
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5295
5347
|
*/
|
|
@@ -5399,6 +5451,12 @@ interface GetPublicPluginResponse {
|
|
|
5399
5451
|
schema: {
|
|
5400
5452
|
[k: string]: any;
|
|
5401
5453
|
};
|
|
5454
|
+
/**
|
|
5455
|
+
* Optional attributes
|
|
5456
|
+
*/
|
|
5457
|
+
attributes?: {
|
|
5458
|
+
[k: string]: string;
|
|
5459
|
+
};
|
|
5402
5460
|
};
|
|
5403
5461
|
};
|
|
5404
5462
|
actions: {
|
|
@@ -5426,6 +5484,12 @@ interface GetPublicPluginResponse {
|
|
|
5426
5484
|
[k: string]: any;
|
|
5427
5485
|
};
|
|
5428
5486
|
};
|
|
5487
|
+
/**
|
|
5488
|
+
* Optional attributes
|
|
5489
|
+
*/
|
|
5490
|
+
attributes?: {
|
|
5491
|
+
[k: string]: string;
|
|
5492
|
+
};
|
|
5429
5493
|
};
|
|
5430
5494
|
};
|
|
5431
5495
|
dependencies: {
|
|
@@ -5484,6 +5548,12 @@ interface GetPublicPluginResponse {
|
|
|
5484
5548
|
};
|
|
5485
5549
|
};
|
|
5486
5550
|
};
|
|
5551
|
+
/**
|
|
5552
|
+
* Optional attributes
|
|
5553
|
+
*/
|
|
5554
|
+
attributes?: {
|
|
5555
|
+
[k: string]: string;
|
|
5556
|
+
};
|
|
5487
5557
|
/**
|
|
5488
5558
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5489
5559
|
*/
|
|
@@ -5522,6 +5592,400 @@ interface GetPublicPluginCodeResponse {
|
|
|
5522
5592
|
code: string;
|
|
5523
5593
|
}
|
|
5524
5594
|
|
|
5595
|
+
interface ListPublicInterfacesRequestHeaders {
|
|
5596
|
+
}
|
|
5597
|
+
interface ListPublicInterfacesRequestQuery {
|
|
5598
|
+
nextToken?: string;
|
|
5599
|
+
name?: string;
|
|
5600
|
+
version?: string;
|
|
5601
|
+
}
|
|
5602
|
+
interface ListPublicInterfacesRequestParams {
|
|
5603
|
+
}
|
|
5604
|
+
interface ListPublicInterfacesRequestBody {
|
|
5605
|
+
}
|
|
5606
|
+
type ListPublicInterfacesInput = ListPublicInterfacesRequestBody & ListPublicInterfacesRequestHeaders & ListPublicInterfacesRequestQuery & ListPublicInterfacesRequestParams;
|
|
5607
|
+
interface ListPublicInterfacesResponse {
|
|
5608
|
+
interfaces: {
|
|
5609
|
+
/**
|
|
5610
|
+
* ID of the [Interface](#schema_interface)
|
|
5611
|
+
*/
|
|
5612
|
+
id: string;
|
|
5613
|
+
/**
|
|
5614
|
+
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5615
|
+
*/
|
|
5616
|
+
createdAt: string;
|
|
5617
|
+
/**
|
|
5618
|
+
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5619
|
+
*/
|
|
5620
|
+
updatedAt: string;
|
|
5621
|
+
/**
|
|
5622
|
+
* Name of the [Interface](#schema_interface)
|
|
5623
|
+
*/
|
|
5624
|
+
name: string;
|
|
5625
|
+
/**
|
|
5626
|
+
* Version of the [Interface](#schema_interface)
|
|
5627
|
+
*/
|
|
5628
|
+
version: string;
|
|
5629
|
+
/**
|
|
5630
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
5631
|
+
*/
|
|
5632
|
+
title: string;
|
|
5633
|
+
/**
|
|
5634
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
5635
|
+
*/
|
|
5636
|
+
description: string;
|
|
5637
|
+
/**
|
|
5638
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
5639
|
+
*/
|
|
5640
|
+
iconUrl: string;
|
|
5641
|
+
/**
|
|
5642
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
5643
|
+
*/
|
|
5644
|
+
readmeUrl: string;
|
|
5645
|
+
/**
|
|
5646
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
5647
|
+
*/
|
|
5648
|
+
public: boolean;
|
|
5649
|
+
}[];
|
|
5650
|
+
meta: {
|
|
5651
|
+
/**
|
|
5652
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
5653
|
+
*/
|
|
5654
|
+
nextToken?: string;
|
|
5655
|
+
};
|
|
5656
|
+
}
|
|
5657
|
+
|
|
5658
|
+
interface GetPublicInterfaceByIdRequestHeaders {
|
|
5659
|
+
}
|
|
5660
|
+
interface GetPublicInterfaceByIdRequestQuery {
|
|
5661
|
+
}
|
|
5662
|
+
interface GetPublicInterfaceByIdRequestParams {
|
|
5663
|
+
id: string;
|
|
5664
|
+
}
|
|
5665
|
+
interface GetPublicInterfaceByIdRequestBody {
|
|
5666
|
+
}
|
|
5667
|
+
type GetPublicInterfaceByIdInput = GetPublicInterfaceByIdRequestBody & GetPublicInterfaceByIdRequestHeaders & GetPublicInterfaceByIdRequestQuery & GetPublicInterfaceByIdRequestParams;
|
|
5668
|
+
interface GetPublicInterfaceByIdResponse {
|
|
5669
|
+
interface: {
|
|
5670
|
+
/**
|
|
5671
|
+
* ID of the [Interface](#schema_interface)
|
|
5672
|
+
*/
|
|
5673
|
+
id: string;
|
|
5674
|
+
/**
|
|
5675
|
+
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5676
|
+
*/
|
|
5677
|
+
createdAt: string;
|
|
5678
|
+
/**
|
|
5679
|
+
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5680
|
+
*/
|
|
5681
|
+
updatedAt: string;
|
|
5682
|
+
/**
|
|
5683
|
+
* Name of the [Interface](#schema_interface)
|
|
5684
|
+
*/
|
|
5685
|
+
name: string;
|
|
5686
|
+
/**
|
|
5687
|
+
* Version of the [Interface](#schema_interface)
|
|
5688
|
+
*/
|
|
5689
|
+
version: string;
|
|
5690
|
+
entities: {
|
|
5691
|
+
/**
|
|
5692
|
+
* Entity definition
|
|
5693
|
+
*/
|
|
5694
|
+
[k: string]: {
|
|
5695
|
+
/**
|
|
5696
|
+
* Title of the entity
|
|
5697
|
+
*/
|
|
5698
|
+
title?: string;
|
|
5699
|
+
/**
|
|
5700
|
+
* Description of the entity
|
|
5701
|
+
*/
|
|
5702
|
+
description?: string;
|
|
5703
|
+
schema: {
|
|
5704
|
+
[k: string]: any;
|
|
5705
|
+
};
|
|
5706
|
+
};
|
|
5707
|
+
};
|
|
5708
|
+
events: {
|
|
5709
|
+
/**
|
|
5710
|
+
* Event Definition
|
|
5711
|
+
*/
|
|
5712
|
+
[k: string]: {
|
|
5713
|
+
/**
|
|
5714
|
+
* Title of the event
|
|
5715
|
+
*/
|
|
5716
|
+
title?: string;
|
|
5717
|
+
/**
|
|
5718
|
+
* Description of the event
|
|
5719
|
+
*/
|
|
5720
|
+
description?: string;
|
|
5721
|
+
schema: {
|
|
5722
|
+
[k: string]: any;
|
|
5723
|
+
};
|
|
5724
|
+
/**
|
|
5725
|
+
* Optional attributes
|
|
5726
|
+
*/
|
|
5727
|
+
attributes?: {
|
|
5728
|
+
[k: string]: string;
|
|
5729
|
+
};
|
|
5730
|
+
};
|
|
5731
|
+
};
|
|
5732
|
+
actions: {
|
|
5733
|
+
/**
|
|
5734
|
+
* Action definition
|
|
5735
|
+
*/
|
|
5736
|
+
[k: string]: {
|
|
5737
|
+
/**
|
|
5738
|
+
* Title of the action
|
|
5739
|
+
*/
|
|
5740
|
+
title?: string;
|
|
5741
|
+
/**
|
|
5742
|
+
* Description of the action
|
|
5743
|
+
*/
|
|
5744
|
+
description?: string;
|
|
5745
|
+
billable?: boolean;
|
|
5746
|
+
cacheable?: boolean;
|
|
5747
|
+
input: {
|
|
5748
|
+
schema: {
|
|
5749
|
+
[k: string]: any;
|
|
5750
|
+
};
|
|
5751
|
+
};
|
|
5752
|
+
output: {
|
|
5753
|
+
schema: {
|
|
5754
|
+
[k: string]: any;
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
/**
|
|
5758
|
+
* Optional attributes
|
|
5759
|
+
*/
|
|
5760
|
+
attributes?: {
|
|
5761
|
+
[k: string]: string;
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5765
|
+
channels: {
|
|
5766
|
+
[k: string]: {
|
|
5767
|
+
/**
|
|
5768
|
+
* Title of the channel
|
|
5769
|
+
*/
|
|
5770
|
+
title?: string;
|
|
5771
|
+
/**
|
|
5772
|
+
* Description of the channel
|
|
5773
|
+
*/
|
|
5774
|
+
description?: string;
|
|
5775
|
+
messages: {
|
|
5776
|
+
/**
|
|
5777
|
+
* Message definition
|
|
5778
|
+
*/
|
|
5779
|
+
[k: string]: {
|
|
5780
|
+
schema: {
|
|
5781
|
+
[k: string]: any;
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
5785
|
+
};
|
|
5786
|
+
};
|
|
5787
|
+
/**
|
|
5788
|
+
* Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
|
|
5789
|
+
*/
|
|
5790
|
+
nameTemplate?: {
|
|
5791
|
+
script: string;
|
|
5792
|
+
language: string;
|
|
5793
|
+
};
|
|
5794
|
+
/**
|
|
5795
|
+
* Optional attributes
|
|
5796
|
+
*/
|
|
5797
|
+
attributes?: {
|
|
5798
|
+
[k: string]: string;
|
|
5799
|
+
};
|
|
5800
|
+
/**
|
|
5801
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
5802
|
+
*/
|
|
5803
|
+
title: string;
|
|
5804
|
+
/**
|
|
5805
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
5806
|
+
*/
|
|
5807
|
+
description: string;
|
|
5808
|
+
/**
|
|
5809
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
5810
|
+
*/
|
|
5811
|
+
iconUrl: string;
|
|
5812
|
+
/**
|
|
5813
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
5814
|
+
*/
|
|
5815
|
+
readmeUrl: string;
|
|
5816
|
+
/**
|
|
5817
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
5818
|
+
*/
|
|
5819
|
+
public: boolean;
|
|
5820
|
+
};
|
|
5821
|
+
}
|
|
5822
|
+
|
|
5823
|
+
interface GetPublicInterfaceRequestHeaders {
|
|
5824
|
+
}
|
|
5825
|
+
interface GetPublicInterfaceRequestQuery {
|
|
5826
|
+
}
|
|
5827
|
+
interface GetPublicInterfaceRequestParams {
|
|
5828
|
+
name: string;
|
|
5829
|
+
version: string;
|
|
5830
|
+
}
|
|
5831
|
+
interface GetPublicInterfaceRequestBody {
|
|
5832
|
+
}
|
|
5833
|
+
type GetPublicInterfaceInput = GetPublicInterfaceRequestBody & GetPublicInterfaceRequestHeaders & GetPublicInterfaceRequestQuery & GetPublicInterfaceRequestParams;
|
|
5834
|
+
interface GetPublicInterfaceResponse {
|
|
5835
|
+
interface: {
|
|
5836
|
+
/**
|
|
5837
|
+
* ID of the [Interface](#schema_interface)
|
|
5838
|
+
*/
|
|
5839
|
+
id: string;
|
|
5840
|
+
/**
|
|
5841
|
+
* Creation date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5842
|
+
*/
|
|
5843
|
+
createdAt: string;
|
|
5844
|
+
/**
|
|
5845
|
+
* Updating date of the [Interface](#schema_interface) in ISO 8601 format
|
|
5846
|
+
*/
|
|
5847
|
+
updatedAt: string;
|
|
5848
|
+
/**
|
|
5849
|
+
* Name of the [Interface](#schema_interface)
|
|
5850
|
+
*/
|
|
5851
|
+
name: string;
|
|
5852
|
+
/**
|
|
5853
|
+
* Version of the [Interface](#schema_interface)
|
|
5854
|
+
*/
|
|
5855
|
+
version: string;
|
|
5856
|
+
entities: {
|
|
5857
|
+
/**
|
|
5858
|
+
* Entity definition
|
|
5859
|
+
*/
|
|
5860
|
+
[k: string]: {
|
|
5861
|
+
/**
|
|
5862
|
+
* Title of the entity
|
|
5863
|
+
*/
|
|
5864
|
+
title?: string;
|
|
5865
|
+
/**
|
|
5866
|
+
* Description of the entity
|
|
5867
|
+
*/
|
|
5868
|
+
description?: string;
|
|
5869
|
+
schema: {
|
|
5870
|
+
[k: string]: any;
|
|
5871
|
+
};
|
|
5872
|
+
};
|
|
5873
|
+
};
|
|
5874
|
+
events: {
|
|
5875
|
+
/**
|
|
5876
|
+
* Event Definition
|
|
5877
|
+
*/
|
|
5878
|
+
[k: string]: {
|
|
5879
|
+
/**
|
|
5880
|
+
* Title of the event
|
|
5881
|
+
*/
|
|
5882
|
+
title?: string;
|
|
5883
|
+
/**
|
|
5884
|
+
* Description of the event
|
|
5885
|
+
*/
|
|
5886
|
+
description?: string;
|
|
5887
|
+
schema: {
|
|
5888
|
+
[k: string]: any;
|
|
5889
|
+
};
|
|
5890
|
+
/**
|
|
5891
|
+
* Optional attributes
|
|
5892
|
+
*/
|
|
5893
|
+
attributes?: {
|
|
5894
|
+
[k: string]: string;
|
|
5895
|
+
};
|
|
5896
|
+
};
|
|
5897
|
+
};
|
|
5898
|
+
actions: {
|
|
5899
|
+
/**
|
|
5900
|
+
* Action definition
|
|
5901
|
+
*/
|
|
5902
|
+
[k: string]: {
|
|
5903
|
+
/**
|
|
5904
|
+
* Title of the action
|
|
5905
|
+
*/
|
|
5906
|
+
title?: string;
|
|
5907
|
+
/**
|
|
5908
|
+
* Description of the action
|
|
5909
|
+
*/
|
|
5910
|
+
description?: string;
|
|
5911
|
+
billable?: boolean;
|
|
5912
|
+
cacheable?: boolean;
|
|
5913
|
+
input: {
|
|
5914
|
+
schema: {
|
|
5915
|
+
[k: string]: any;
|
|
5916
|
+
};
|
|
5917
|
+
};
|
|
5918
|
+
output: {
|
|
5919
|
+
schema: {
|
|
5920
|
+
[k: string]: any;
|
|
5921
|
+
};
|
|
5922
|
+
};
|
|
5923
|
+
/**
|
|
5924
|
+
* Optional attributes
|
|
5925
|
+
*/
|
|
5926
|
+
attributes?: {
|
|
5927
|
+
[k: string]: string;
|
|
5928
|
+
};
|
|
5929
|
+
};
|
|
5930
|
+
};
|
|
5931
|
+
channels: {
|
|
5932
|
+
[k: string]: {
|
|
5933
|
+
/**
|
|
5934
|
+
* Title of the channel
|
|
5935
|
+
*/
|
|
5936
|
+
title?: string;
|
|
5937
|
+
/**
|
|
5938
|
+
* Description of the channel
|
|
5939
|
+
*/
|
|
5940
|
+
description?: string;
|
|
5941
|
+
messages: {
|
|
5942
|
+
/**
|
|
5943
|
+
* Message definition
|
|
5944
|
+
*/
|
|
5945
|
+
[k: string]: {
|
|
5946
|
+
schema: {
|
|
5947
|
+
[k: string]: any;
|
|
5948
|
+
};
|
|
5949
|
+
};
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
};
|
|
5953
|
+
/**
|
|
5954
|
+
* Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
|
|
5955
|
+
*/
|
|
5956
|
+
nameTemplate?: {
|
|
5957
|
+
script: string;
|
|
5958
|
+
language: string;
|
|
5959
|
+
};
|
|
5960
|
+
/**
|
|
5961
|
+
* Optional attributes
|
|
5962
|
+
*/
|
|
5963
|
+
attributes?: {
|
|
5964
|
+
[k: string]: string;
|
|
5965
|
+
};
|
|
5966
|
+
/**
|
|
5967
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
5968
|
+
*/
|
|
5969
|
+
title: string;
|
|
5970
|
+
/**
|
|
5971
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
5972
|
+
*/
|
|
5973
|
+
description: string;
|
|
5974
|
+
/**
|
|
5975
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
5976
|
+
*/
|
|
5977
|
+
iconUrl: string;
|
|
5978
|
+
/**
|
|
5979
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
5980
|
+
*/
|
|
5981
|
+
readmeUrl: string;
|
|
5982
|
+
/**
|
|
5983
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
5984
|
+
*/
|
|
5985
|
+
public: boolean;
|
|
5986
|
+
};
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5525
5989
|
interface CreateBotRequestHeaders {
|
|
5526
5990
|
}
|
|
5527
5991
|
interface CreateBotRequestQuery {
|
|
@@ -5569,6 +6033,12 @@ interface CreateBotRequestBody {
|
|
|
5569
6033
|
schema: {
|
|
5570
6034
|
[k: string]: any;
|
|
5571
6035
|
};
|
|
6036
|
+
/**
|
|
6037
|
+
* Optional attributes
|
|
6038
|
+
*/
|
|
6039
|
+
attributes?: {
|
|
6040
|
+
[k: string]: string;
|
|
6041
|
+
};
|
|
5572
6042
|
};
|
|
5573
6043
|
};
|
|
5574
6044
|
recurringEvents?: {
|
|
@@ -5621,6 +6091,12 @@ interface CreateBotRequestBody {
|
|
|
5621
6091
|
[k: string]: any;
|
|
5622
6092
|
};
|
|
5623
6093
|
};
|
|
6094
|
+
/**
|
|
6095
|
+
* Optional attributes
|
|
6096
|
+
*/
|
|
6097
|
+
attributes?: {
|
|
6098
|
+
[k: string]: string;
|
|
6099
|
+
};
|
|
5624
6100
|
};
|
|
5625
6101
|
};
|
|
5626
6102
|
configuration?: {
|
|
@@ -5689,7 +6165,7 @@ interface CreateBotRequestBody {
|
|
|
5689
6165
|
};
|
|
5690
6166
|
};
|
|
5691
6167
|
/**
|
|
5692
|
-
*
|
|
6168
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
5693
6169
|
*/
|
|
5694
6170
|
tags?: {
|
|
5695
6171
|
[k: string]: string;
|
|
@@ -5760,6 +6236,10 @@ interface CreateBotResponse {
|
|
|
5760
6236
|
};
|
|
5761
6237
|
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
5762
6238
|
statusReason: string | null;
|
|
6239
|
+
/**
|
|
6240
|
+
* Disabled channels for this integration
|
|
6241
|
+
*/
|
|
6242
|
+
disabledChannels: string[];
|
|
5763
6243
|
/**
|
|
5764
6244
|
* ID of the [Integration](#schema_integration)
|
|
5765
6245
|
*/
|
|
@@ -5794,6 +6274,57 @@ interface CreateBotResponse {
|
|
|
5794
6274
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
5795
6275
|
};
|
|
5796
6276
|
};
|
|
6277
|
+
/**
|
|
6278
|
+
* A mapping of plugin aliases to their configuration
|
|
6279
|
+
*/
|
|
6280
|
+
plugins: {
|
|
6281
|
+
[k: string]: {
|
|
6282
|
+
enabled: boolean;
|
|
6283
|
+
/**
|
|
6284
|
+
* Name of the [Plugin](#schema_plugin)
|
|
6285
|
+
*/
|
|
6286
|
+
name: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Version of the [Plugin](#schema_plugin)
|
|
6289
|
+
*/
|
|
6290
|
+
version: string;
|
|
6291
|
+
configuration: {
|
|
6292
|
+
[k: string]: any;
|
|
6293
|
+
};
|
|
6294
|
+
/**
|
|
6295
|
+
* ID of the [Plugin](#schema_plugin)
|
|
6296
|
+
*/
|
|
6297
|
+
id: string;
|
|
6298
|
+
/**
|
|
6299
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6300
|
+
*/
|
|
6301
|
+
createdAt: string;
|
|
6302
|
+
/**
|
|
6303
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6304
|
+
*/
|
|
6305
|
+
updatedAt: string;
|
|
6306
|
+
/**
|
|
6307
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
6308
|
+
*/
|
|
6309
|
+
title: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
6312
|
+
*/
|
|
6313
|
+
description: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6316
|
+
*/
|
|
6317
|
+
iconUrl: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6320
|
+
*/
|
|
6321
|
+
readmeUrl: string;
|
|
6322
|
+
/**
|
|
6323
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
6324
|
+
*/
|
|
6325
|
+
public: boolean;
|
|
6326
|
+
};
|
|
6327
|
+
};
|
|
5797
6328
|
/**
|
|
5798
6329
|
* User object configuration
|
|
5799
6330
|
*/
|
|
@@ -5911,6 +6442,12 @@ interface CreateBotResponse {
|
|
|
5911
6442
|
schema: {
|
|
5912
6443
|
[k: string]: any;
|
|
5913
6444
|
};
|
|
6445
|
+
/**
|
|
6446
|
+
* Optional attributes
|
|
6447
|
+
*/
|
|
6448
|
+
attributes?: {
|
|
6449
|
+
[k: string]: string;
|
|
6450
|
+
};
|
|
5914
6451
|
};
|
|
5915
6452
|
};
|
|
5916
6453
|
/**
|
|
@@ -5974,6 +6511,12 @@ interface CreateBotResponse {
|
|
|
5974
6511
|
[k: string]: any;
|
|
5975
6512
|
};
|
|
5976
6513
|
};
|
|
6514
|
+
/**
|
|
6515
|
+
* Optional attributes
|
|
6516
|
+
*/
|
|
6517
|
+
attributes?: {
|
|
6518
|
+
[k: string]: string;
|
|
6519
|
+
};
|
|
5977
6520
|
};
|
|
5978
6521
|
};
|
|
5979
6522
|
/**
|
|
@@ -6053,7 +6596,7 @@ interface UpdateBotRequestBody {
|
|
|
6053
6596
|
};
|
|
6054
6597
|
};
|
|
6055
6598
|
/**
|
|
6056
|
-
*
|
|
6599
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
6057
6600
|
*/
|
|
6058
6601
|
tags?: {
|
|
6059
6602
|
[k: string]: string;
|
|
@@ -6115,9 +6658,6 @@ interface UpdateBotRequestBody {
|
|
|
6115
6658
|
};
|
|
6116
6659
|
};
|
|
6117
6660
|
events?: {
|
|
6118
|
-
/**
|
|
6119
|
-
* Event Definition
|
|
6120
|
-
*/
|
|
6121
6661
|
[k: string]: {
|
|
6122
6662
|
/**
|
|
6123
6663
|
* Title of the event
|
|
@@ -6130,12 +6670,15 @@ interface UpdateBotRequestBody {
|
|
|
6130
6670
|
schema: {
|
|
6131
6671
|
[k: string]: any;
|
|
6132
6672
|
};
|
|
6673
|
+
/**
|
|
6674
|
+
* Optional attributes. Set attributes to null to remove them
|
|
6675
|
+
*/
|
|
6676
|
+
attributes?: {
|
|
6677
|
+
[k: string]: string | null;
|
|
6678
|
+
};
|
|
6133
6679
|
} | null;
|
|
6134
6680
|
};
|
|
6135
6681
|
actions?: {
|
|
6136
|
-
/**
|
|
6137
|
-
* Action definition
|
|
6138
|
-
*/
|
|
6139
6682
|
[k: string]: {
|
|
6140
6683
|
/**
|
|
6141
6684
|
* Title of the action
|
|
@@ -6157,6 +6700,12 @@ interface UpdateBotRequestBody {
|
|
|
6157
6700
|
[k: string]: any;
|
|
6158
6701
|
};
|
|
6159
6702
|
};
|
|
6703
|
+
/**
|
|
6704
|
+
* Optional attributes. Set attributes to null to remove them
|
|
6705
|
+
*/
|
|
6706
|
+
attributes?: {
|
|
6707
|
+
[k: string]: string | null;
|
|
6708
|
+
};
|
|
6160
6709
|
} | null;
|
|
6161
6710
|
};
|
|
6162
6711
|
states?: {
|
|
@@ -6191,10 +6740,26 @@ interface UpdateBotRequestBody {
|
|
|
6191
6740
|
integrations?: {
|
|
6192
6741
|
[k: string]: {
|
|
6193
6742
|
enabled?: boolean;
|
|
6194
|
-
/**
|
|
6195
|
-
* Integration's configuration type. Set to default if null.
|
|
6196
|
-
*/
|
|
6197
|
-
configurationType?: string | null;
|
|
6743
|
+
/**
|
|
6744
|
+
* Integration's configuration type. Set to default if null.
|
|
6745
|
+
*/
|
|
6746
|
+
configurationType?: string | null;
|
|
6747
|
+
configuration?: {
|
|
6748
|
+
[k: string]: any;
|
|
6749
|
+
};
|
|
6750
|
+
/**
|
|
6751
|
+
* Disabled channels for this integration
|
|
6752
|
+
*/
|
|
6753
|
+
disabledChannels?: string[];
|
|
6754
|
+
} | null;
|
|
6755
|
+
};
|
|
6756
|
+
/**
|
|
6757
|
+
* A mapping of plugin aliases to their configuration
|
|
6758
|
+
*/
|
|
6759
|
+
plugins?: {
|
|
6760
|
+
[k: string]: {
|
|
6761
|
+
id: string;
|
|
6762
|
+
enabled?: boolean;
|
|
6198
6763
|
configuration?: {
|
|
6199
6764
|
[k: string]: any;
|
|
6200
6765
|
};
|
|
@@ -6264,6 +6829,10 @@ interface UpdateBotResponse {
|
|
|
6264
6829
|
};
|
|
6265
6830
|
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
6266
6831
|
statusReason: string | null;
|
|
6832
|
+
/**
|
|
6833
|
+
* Disabled channels for this integration
|
|
6834
|
+
*/
|
|
6835
|
+
disabledChannels: string[];
|
|
6267
6836
|
/**
|
|
6268
6837
|
* ID of the [Integration](#schema_integration)
|
|
6269
6838
|
*/
|
|
@@ -6298,6 +6867,57 @@ interface UpdateBotResponse {
|
|
|
6298
6867
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
6299
6868
|
};
|
|
6300
6869
|
};
|
|
6870
|
+
/**
|
|
6871
|
+
* A mapping of plugin aliases to their configuration
|
|
6872
|
+
*/
|
|
6873
|
+
plugins: {
|
|
6874
|
+
[k: string]: {
|
|
6875
|
+
enabled: boolean;
|
|
6876
|
+
/**
|
|
6877
|
+
* Name of the [Plugin](#schema_plugin)
|
|
6878
|
+
*/
|
|
6879
|
+
name: string;
|
|
6880
|
+
/**
|
|
6881
|
+
* Version of the [Plugin](#schema_plugin)
|
|
6882
|
+
*/
|
|
6883
|
+
version: string;
|
|
6884
|
+
configuration: {
|
|
6885
|
+
[k: string]: any;
|
|
6886
|
+
};
|
|
6887
|
+
/**
|
|
6888
|
+
* ID of the [Plugin](#schema_plugin)
|
|
6889
|
+
*/
|
|
6890
|
+
id: string;
|
|
6891
|
+
/**
|
|
6892
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6893
|
+
*/
|
|
6894
|
+
createdAt: string;
|
|
6895
|
+
/**
|
|
6896
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6897
|
+
*/
|
|
6898
|
+
updatedAt: string;
|
|
6899
|
+
/**
|
|
6900
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
6901
|
+
*/
|
|
6902
|
+
title: string;
|
|
6903
|
+
/**
|
|
6904
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
6905
|
+
*/
|
|
6906
|
+
description: string;
|
|
6907
|
+
/**
|
|
6908
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6909
|
+
*/
|
|
6910
|
+
iconUrl: string;
|
|
6911
|
+
/**
|
|
6912
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6913
|
+
*/
|
|
6914
|
+
readmeUrl: string;
|
|
6915
|
+
/**
|
|
6916
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
6917
|
+
*/
|
|
6918
|
+
public: boolean;
|
|
6919
|
+
};
|
|
6920
|
+
};
|
|
6301
6921
|
/**
|
|
6302
6922
|
* User object configuration
|
|
6303
6923
|
*/
|
|
@@ -6415,6 +7035,12 @@ interface UpdateBotResponse {
|
|
|
6415
7035
|
schema: {
|
|
6416
7036
|
[k: string]: any;
|
|
6417
7037
|
};
|
|
7038
|
+
/**
|
|
7039
|
+
* Optional attributes
|
|
7040
|
+
*/
|
|
7041
|
+
attributes?: {
|
|
7042
|
+
[k: string]: string;
|
|
7043
|
+
};
|
|
6418
7044
|
};
|
|
6419
7045
|
};
|
|
6420
7046
|
/**
|
|
@@ -6478,6 +7104,12 @@ interface UpdateBotResponse {
|
|
|
6478
7104
|
[k: string]: any;
|
|
6479
7105
|
};
|
|
6480
7106
|
};
|
|
7107
|
+
/**
|
|
7108
|
+
* Optional attributes
|
|
7109
|
+
*/
|
|
7110
|
+
attributes?: {
|
|
7111
|
+
[k: string]: string;
|
|
7112
|
+
};
|
|
6481
7113
|
};
|
|
6482
7114
|
};
|
|
6483
7115
|
/**
|
|
@@ -6641,6 +7273,10 @@ interface GetBotResponse {
|
|
|
6641
7273
|
};
|
|
6642
7274
|
status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
|
|
6643
7275
|
statusReason: string | null;
|
|
7276
|
+
/**
|
|
7277
|
+
* Disabled channels for this integration
|
|
7278
|
+
*/
|
|
7279
|
+
disabledChannels: string[];
|
|
6644
7280
|
/**
|
|
6645
7281
|
* ID of the [Integration](#schema_integration)
|
|
6646
7282
|
*/
|
|
@@ -6675,6 +7311,57 @@ interface GetBotResponse {
|
|
|
6675
7311
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
6676
7312
|
};
|
|
6677
7313
|
};
|
|
7314
|
+
/**
|
|
7315
|
+
* A mapping of plugin aliases to their configuration
|
|
7316
|
+
*/
|
|
7317
|
+
plugins: {
|
|
7318
|
+
[k: string]: {
|
|
7319
|
+
enabled: boolean;
|
|
7320
|
+
/**
|
|
7321
|
+
* Name of the [Plugin](#schema_plugin)
|
|
7322
|
+
*/
|
|
7323
|
+
name: string;
|
|
7324
|
+
/**
|
|
7325
|
+
* Version of the [Plugin](#schema_plugin)
|
|
7326
|
+
*/
|
|
7327
|
+
version: string;
|
|
7328
|
+
configuration: {
|
|
7329
|
+
[k: string]: any;
|
|
7330
|
+
};
|
|
7331
|
+
/**
|
|
7332
|
+
* ID of the [Plugin](#schema_plugin)
|
|
7333
|
+
*/
|
|
7334
|
+
id: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
7337
|
+
*/
|
|
7338
|
+
createdAt: string;
|
|
7339
|
+
/**
|
|
7340
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
7341
|
+
*/
|
|
7342
|
+
updatedAt: string;
|
|
7343
|
+
/**
|
|
7344
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
7345
|
+
*/
|
|
7346
|
+
title: string;
|
|
7347
|
+
/**
|
|
7348
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
7349
|
+
*/
|
|
7350
|
+
description: string;
|
|
7351
|
+
/**
|
|
7352
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
7353
|
+
*/
|
|
7354
|
+
iconUrl: string;
|
|
7355
|
+
/**
|
|
7356
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
7357
|
+
*/
|
|
7358
|
+
readmeUrl: string;
|
|
7359
|
+
/**
|
|
7360
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
7361
|
+
*/
|
|
7362
|
+
public: boolean;
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
6678
7365
|
/**
|
|
6679
7366
|
* User object configuration
|
|
6680
7367
|
*/
|
|
@@ -6792,6 +7479,12 @@ interface GetBotResponse {
|
|
|
6792
7479
|
schema: {
|
|
6793
7480
|
[k: string]: any;
|
|
6794
7481
|
};
|
|
7482
|
+
/**
|
|
7483
|
+
* Optional attributes
|
|
7484
|
+
*/
|
|
7485
|
+
attributes?: {
|
|
7486
|
+
[k: string]: string;
|
|
7487
|
+
};
|
|
6795
7488
|
};
|
|
6796
7489
|
};
|
|
6797
7490
|
/**
|
|
@@ -6855,6 +7548,12 @@ interface GetBotResponse {
|
|
|
6855
7548
|
[k: string]: any;
|
|
6856
7549
|
};
|
|
6857
7550
|
};
|
|
7551
|
+
/**
|
|
7552
|
+
* Optional attributes
|
|
7553
|
+
*/
|
|
7554
|
+
attributes?: {
|
|
7555
|
+
[k: string]: string;
|
|
7556
|
+
};
|
|
6858
7557
|
};
|
|
6859
7558
|
};
|
|
6860
7559
|
/**
|
|
@@ -6925,6 +7624,7 @@ interface GetBotLogsRequestQuery {
|
|
|
6925
7624
|
userId?: string;
|
|
6926
7625
|
workflowId?: string;
|
|
6927
7626
|
conversationId?: string;
|
|
7627
|
+
messageContains?: string;
|
|
6928
7628
|
nextToken?: string;
|
|
6929
7629
|
}
|
|
6930
7630
|
interface GetBotLogsRequestParams {
|
|
@@ -7253,6 +7953,72 @@ interface GetIntegrationShareableIdResponse {
|
|
|
7253
7953
|
isExpired: boolean;
|
|
7254
7954
|
}
|
|
7255
7955
|
|
|
7956
|
+
interface UnlinkSandboxedConversationsRequestHeaders {
|
|
7957
|
+
}
|
|
7958
|
+
interface UnlinkSandboxedConversationsRequestQuery {
|
|
7959
|
+
}
|
|
7960
|
+
interface UnlinkSandboxedConversationsRequestParams {
|
|
7961
|
+
botId: string;
|
|
7962
|
+
integrationId: string;
|
|
7963
|
+
}
|
|
7964
|
+
interface UnlinkSandboxedConversationsRequestBody {
|
|
7965
|
+
}
|
|
7966
|
+
type UnlinkSandboxedConversationsInput = UnlinkSandboxedConversationsRequestBody & UnlinkSandboxedConversationsRequestHeaders & UnlinkSandboxedConversationsRequestQuery & UnlinkSandboxedConversationsRequestParams;
|
|
7967
|
+
interface UnlinkSandboxedConversationsResponse {
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
interface ListBotApiKeysRequestHeaders {
|
|
7971
|
+
}
|
|
7972
|
+
interface ListBotApiKeysRequestQuery {
|
|
7973
|
+
botId: string;
|
|
7974
|
+
}
|
|
7975
|
+
interface ListBotApiKeysRequestParams {
|
|
7976
|
+
}
|
|
7977
|
+
interface ListBotApiKeysRequestBody {
|
|
7978
|
+
}
|
|
7979
|
+
type ListBotApiKeysInput = ListBotApiKeysRequestBody & ListBotApiKeysRequestHeaders & ListBotApiKeysRequestQuery & ListBotApiKeysRequestParams;
|
|
7980
|
+
interface ListBotApiKeysResponse {
|
|
7981
|
+
baks: {
|
|
7982
|
+
id: string;
|
|
7983
|
+
createdAt: string;
|
|
7984
|
+
note: string;
|
|
7985
|
+
}[];
|
|
7986
|
+
}
|
|
7987
|
+
|
|
7988
|
+
interface CreateBotApiKeyRequestHeaders {
|
|
7989
|
+
}
|
|
7990
|
+
interface CreateBotApiKeyRequestQuery {
|
|
7991
|
+
}
|
|
7992
|
+
interface CreateBotApiKeyRequestParams {
|
|
7993
|
+
}
|
|
7994
|
+
interface CreateBotApiKeyRequestBody {
|
|
7995
|
+
botId: string;
|
|
7996
|
+
note?: string;
|
|
7997
|
+
}
|
|
7998
|
+
type CreateBotApiKeyInput = CreateBotApiKeyRequestBody & CreateBotApiKeyRequestHeaders & CreateBotApiKeyRequestQuery & CreateBotApiKeyRequestParams;
|
|
7999
|
+
interface CreateBotApiKeyResponse {
|
|
8000
|
+
id: string;
|
|
8001
|
+
createdAt: string;
|
|
8002
|
+
note: string;
|
|
8003
|
+
/**
|
|
8004
|
+
* The BAK value. This will only be returned here when created and cannot be retrieved later.
|
|
8005
|
+
*/
|
|
8006
|
+
value: string;
|
|
8007
|
+
}
|
|
8008
|
+
|
|
8009
|
+
interface DeleteBotApiKeyRequestHeaders {
|
|
8010
|
+
}
|
|
8011
|
+
interface DeleteBotApiKeyRequestQuery {
|
|
8012
|
+
}
|
|
8013
|
+
interface DeleteBotApiKeyRequestParams {
|
|
8014
|
+
id: string;
|
|
8015
|
+
}
|
|
8016
|
+
interface DeleteBotApiKeyRequestBody {
|
|
8017
|
+
}
|
|
8018
|
+
type DeleteBotApiKeyInput = DeleteBotApiKeyRequestBody & DeleteBotApiKeyRequestHeaders & DeleteBotApiKeyRequestQuery & DeleteBotApiKeyRequestParams;
|
|
8019
|
+
interface DeleteBotApiKeyResponse {
|
|
8020
|
+
}
|
|
8021
|
+
|
|
7256
8022
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
7257
8023
|
}
|
|
7258
8024
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -8027,6 +8793,12 @@ interface CreateIntegrationRequestBody {
|
|
|
8027
8793
|
schema: {
|
|
8028
8794
|
[k: string]: any;
|
|
8029
8795
|
};
|
|
8796
|
+
/**
|
|
8797
|
+
* Optional attributes
|
|
8798
|
+
*/
|
|
8799
|
+
attributes?: {
|
|
8800
|
+
[k: string]: string;
|
|
8801
|
+
};
|
|
8030
8802
|
};
|
|
8031
8803
|
};
|
|
8032
8804
|
actions?: {
|
|
@@ -8054,6 +8826,12 @@ interface CreateIntegrationRequestBody {
|
|
|
8054
8826
|
[k: string]: any;
|
|
8055
8827
|
};
|
|
8056
8828
|
};
|
|
8829
|
+
/**
|
|
8830
|
+
* Optional attributes
|
|
8831
|
+
*/
|
|
8832
|
+
attributes?: {
|
|
8833
|
+
[k: string]: string;
|
|
8834
|
+
};
|
|
8057
8835
|
};
|
|
8058
8836
|
};
|
|
8059
8837
|
entities?: {
|
|
@@ -8074,6 +8852,12 @@ interface CreateIntegrationRequestBody {
|
|
|
8074
8852
|
};
|
|
8075
8853
|
};
|
|
8076
8854
|
};
|
|
8855
|
+
/**
|
|
8856
|
+
* Optional attributes
|
|
8857
|
+
*/
|
|
8858
|
+
attributes?: {
|
|
8859
|
+
[k: string]: string;
|
|
8860
|
+
};
|
|
8077
8861
|
identifier?: {
|
|
8078
8862
|
fallbackHandlerScript?: string;
|
|
8079
8863
|
extractScript?: string;
|
|
@@ -8496,6 +9280,12 @@ interface CreateIntegrationResponse {
|
|
|
8496
9280
|
schema: {
|
|
8497
9281
|
[k: string]: any;
|
|
8498
9282
|
};
|
|
9283
|
+
/**
|
|
9284
|
+
* Optional attributes
|
|
9285
|
+
*/
|
|
9286
|
+
attributes?: {
|
|
9287
|
+
[k: string]: string;
|
|
9288
|
+
};
|
|
8499
9289
|
};
|
|
8500
9290
|
};
|
|
8501
9291
|
actions: {
|
|
@@ -8523,6 +9313,12 @@ interface CreateIntegrationResponse {
|
|
|
8523
9313
|
[k: string]: any;
|
|
8524
9314
|
};
|
|
8525
9315
|
};
|
|
9316
|
+
/**
|
|
9317
|
+
* Optional attributes
|
|
9318
|
+
*/
|
|
9319
|
+
attributes?: {
|
|
9320
|
+
[k: string]: string;
|
|
9321
|
+
};
|
|
8526
9322
|
};
|
|
8527
9323
|
};
|
|
8528
9324
|
/**
|
|
@@ -8576,6 +9372,12 @@ interface CreateIntegrationResponse {
|
|
|
8576
9372
|
};
|
|
8577
9373
|
};
|
|
8578
9374
|
};
|
|
9375
|
+
/**
|
|
9376
|
+
* Optional attributes
|
|
9377
|
+
*/
|
|
9378
|
+
attributes?: {
|
|
9379
|
+
[k: string]: string;
|
|
9380
|
+
};
|
|
8579
9381
|
/**
|
|
8580
9382
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
8581
9383
|
*/
|
|
@@ -8707,6 +9509,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
8707
9509
|
schema: {
|
|
8708
9510
|
[k: string]: any;
|
|
8709
9511
|
};
|
|
9512
|
+
/**
|
|
9513
|
+
* Optional attributes
|
|
9514
|
+
*/
|
|
9515
|
+
attributes?: {
|
|
9516
|
+
[k: string]: string;
|
|
9517
|
+
};
|
|
8710
9518
|
};
|
|
8711
9519
|
};
|
|
8712
9520
|
actions?: {
|
|
@@ -8734,6 +9542,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
8734
9542
|
[k: string]: any;
|
|
8735
9543
|
};
|
|
8736
9544
|
};
|
|
9545
|
+
/**
|
|
9546
|
+
* Optional attributes
|
|
9547
|
+
*/
|
|
9548
|
+
attributes?: {
|
|
9549
|
+
[k: string]: string;
|
|
9550
|
+
};
|
|
8737
9551
|
};
|
|
8738
9552
|
};
|
|
8739
9553
|
entities?: {
|
|
@@ -8754,6 +9568,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
8754
9568
|
};
|
|
8755
9569
|
};
|
|
8756
9570
|
};
|
|
9571
|
+
/**
|
|
9572
|
+
* Optional attributes
|
|
9573
|
+
*/
|
|
9574
|
+
attributes?: {
|
|
9575
|
+
[k: string]: string;
|
|
9576
|
+
};
|
|
8757
9577
|
identifier?: {
|
|
8758
9578
|
fallbackHandlerScript?: string;
|
|
8759
9579
|
extractScript?: string;
|
|
@@ -9059,9 +9879,6 @@ interface UpdateIntegrationRequestBody {
|
|
|
9059
9879
|
fallbackHandlerScript?: string | null;
|
|
9060
9880
|
};
|
|
9061
9881
|
actions?: {
|
|
9062
|
-
/**
|
|
9063
|
-
* Action definition
|
|
9064
|
-
*/
|
|
9065
9882
|
[k: string]: {
|
|
9066
9883
|
/**
|
|
9067
9884
|
* Title of the action
|
|
@@ -9083,12 +9900,15 @@ interface UpdateIntegrationRequestBody {
|
|
|
9083
9900
|
[k: string]: any;
|
|
9084
9901
|
};
|
|
9085
9902
|
};
|
|
9903
|
+
/**
|
|
9904
|
+
* Optional attributes. Set attributes to null to remove them
|
|
9905
|
+
*/
|
|
9906
|
+
attributes?: {
|
|
9907
|
+
[k: string]: string | null;
|
|
9908
|
+
};
|
|
9086
9909
|
} | null;
|
|
9087
9910
|
};
|
|
9088
9911
|
events?: {
|
|
9089
|
-
/**
|
|
9090
|
-
* Event Definition
|
|
9091
|
-
*/
|
|
9092
9912
|
[k: string]: {
|
|
9093
9913
|
/**
|
|
9094
9914
|
* Title of the event
|
|
@@ -9101,6 +9921,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
9101
9921
|
schema: {
|
|
9102
9922
|
[k: string]: any;
|
|
9103
9923
|
};
|
|
9924
|
+
/**
|
|
9925
|
+
* Optional attributes. Set attributes to null to remove them
|
|
9926
|
+
*/
|
|
9927
|
+
attributes?: {
|
|
9928
|
+
[k: string]: string | null;
|
|
9929
|
+
};
|
|
9104
9930
|
} | null;
|
|
9105
9931
|
};
|
|
9106
9932
|
states?: {
|
|
@@ -9200,6 +10026,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
9200
10026
|
identifierExtractScript?: string | null;
|
|
9201
10027
|
messageExtractScript?: string | null;
|
|
9202
10028
|
};
|
|
10029
|
+
/**
|
|
10030
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10031
|
+
*/
|
|
10032
|
+
attributes?: {
|
|
10033
|
+
[k: string]: string | null;
|
|
10034
|
+
};
|
|
9203
10035
|
/**
|
|
9204
10036
|
* 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.
|
|
9205
10037
|
*/
|
|
@@ -9487,6 +10319,12 @@ interface UpdateIntegrationResponse {
|
|
|
9487
10319
|
schema: {
|
|
9488
10320
|
[k: string]: any;
|
|
9489
10321
|
};
|
|
10322
|
+
/**
|
|
10323
|
+
* Optional attributes
|
|
10324
|
+
*/
|
|
10325
|
+
attributes?: {
|
|
10326
|
+
[k: string]: string;
|
|
10327
|
+
};
|
|
9490
10328
|
};
|
|
9491
10329
|
};
|
|
9492
10330
|
actions: {
|
|
@@ -9514,6 +10352,12 @@ interface UpdateIntegrationResponse {
|
|
|
9514
10352
|
[k: string]: any;
|
|
9515
10353
|
};
|
|
9516
10354
|
};
|
|
10355
|
+
/**
|
|
10356
|
+
* Optional attributes
|
|
10357
|
+
*/
|
|
10358
|
+
attributes?: {
|
|
10359
|
+
[k: string]: string;
|
|
10360
|
+
};
|
|
9517
10361
|
};
|
|
9518
10362
|
};
|
|
9519
10363
|
/**
|
|
@@ -9567,6 +10411,12 @@ interface UpdateIntegrationResponse {
|
|
|
9567
10411
|
};
|
|
9568
10412
|
};
|
|
9569
10413
|
};
|
|
10414
|
+
/**
|
|
10415
|
+
* Optional attributes
|
|
10416
|
+
*/
|
|
10417
|
+
attributes?: {
|
|
10418
|
+
[k: string]: string;
|
|
10419
|
+
};
|
|
9570
10420
|
/**
|
|
9571
10421
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9572
10422
|
*/
|
|
@@ -9732,9 +10582,6 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
9732
10582
|
fallbackHandlerScript?: string | null;
|
|
9733
10583
|
};
|
|
9734
10584
|
actions?: {
|
|
9735
|
-
/**
|
|
9736
|
-
* Action definition
|
|
9737
|
-
*/
|
|
9738
10585
|
[k: string]: {
|
|
9739
10586
|
/**
|
|
9740
10587
|
* Title of the action
|
|
@@ -9756,12 +10603,15 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
9756
10603
|
[k: string]: any;
|
|
9757
10604
|
};
|
|
9758
10605
|
};
|
|
10606
|
+
/**
|
|
10607
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10608
|
+
*/
|
|
10609
|
+
attributes?: {
|
|
10610
|
+
[k: string]: string | null;
|
|
10611
|
+
};
|
|
9759
10612
|
} | null;
|
|
9760
10613
|
};
|
|
9761
10614
|
events?: {
|
|
9762
|
-
/**
|
|
9763
|
-
* Event Definition
|
|
9764
|
-
*/
|
|
9765
10615
|
[k: string]: {
|
|
9766
10616
|
/**
|
|
9767
10617
|
* Title of the event
|
|
@@ -9774,6 +10624,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
9774
10624
|
schema: {
|
|
9775
10625
|
[k: string]: any;
|
|
9776
10626
|
};
|
|
10627
|
+
/**
|
|
10628
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10629
|
+
*/
|
|
10630
|
+
attributes?: {
|
|
10631
|
+
[k: string]: string | null;
|
|
10632
|
+
};
|
|
9777
10633
|
} | null;
|
|
9778
10634
|
};
|
|
9779
10635
|
states?: {
|
|
@@ -9873,6 +10729,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
9873
10729
|
identifierExtractScript?: string | null;
|
|
9874
10730
|
messageExtractScript?: string | null;
|
|
9875
10731
|
};
|
|
10732
|
+
/**
|
|
10733
|
+
* Optional attributes. Set attributes to null to remove them
|
|
10734
|
+
*/
|
|
10735
|
+
attributes?: {
|
|
10736
|
+
[k: string]: string | null;
|
|
10737
|
+
};
|
|
9876
10738
|
/**
|
|
9877
10739
|
* 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.
|
|
9878
10740
|
*/
|
|
@@ -10276,6 +11138,12 @@ interface GetIntegrationResponse {
|
|
|
10276
11138
|
schema: {
|
|
10277
11139
|
[k: string]: any;
|
|
10278
11140
|
};
|
|
11141
|
+
/**
|
|
11142
|
+
* Optional attributes
|
|
11143
|
+
*/
|
|
11144
|
+
attributes?: {
|
|
11145
|
+
[k: string]: string;
|
|
11146
|
+
};
|
|
10279
11147
|
};
|
|
10280
11148
|
};
|
|
10281
11149
|
actions: {
|
|
@@ -10303,6 +11171,12 @@ interface GetIntegrationResponse {
|
|
|
10303
11171
|
[k: string]: any;
|
|
10304
11172
|
};
|
|
10305
11173
|
};
|
|
11174
|
+
/**
|
|
11175
|
+
* Optional attributes
|
|
11176
|
+
*/
|
|
11177
|
+
attributes?: {
|
|
11178
|
+
[k: string]: string;
|
|
11179
|
+
};
|
|
10306
11180
|
};
|
|
10307
11181
|
};
|
|
10308
11182
|
/**
|
|
@@ -10356,6 +11230,12 @@ interface GetIntegrationResponse {
|
|
|
10356
11230
|
};
|
|
10357
11231
|
};
|
|
10358
11232
|
};
|
|
11233
|
+
/**
|
|
11234
|
+
* Optional attributes
|
|
11235
|
+
*/
|
|
11236
|
+
attributes?: {
|
|
11237
|
+
[k: string]: string;
|
|
11238
|
+
};
|
|
10359
11239
|
/**
|
|
10360
11240
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10361
11241
|
*/
|
|
@@ -10399,6 +11279,7 @@ interface GetIntegrationLogsRequestQuery {
|
|
|
10399
11279
|
level?: string;
|
|
10400
11280
|
userId?: string;
|
|
10401
11281
|
conversationId?: string;
|
|
11282
|
+
messageContains?: string;
|
|
10402
11283
|
nextToken?: string;
|
|
10403
11284
|
}
|
|
10404
11285
|
interface GetIntegrationLogsRequestParams {
|
|
@@ -10680,6 +11561,12 @@ interface GetIntegrationByNameResponse {
|
|
|
10680
11561
|
schema: {
|
|
10681
11562
|
[k: string]: any;
|
|
10682
11563
|
};
|
|
11564
|
+
/**
|
|
11565
|
+
* Optional attributes
|
|
11566
|
+
*/
|
|
11567
|
+
attributes?: {
|
|
11568
|
+
[k: string]: string;
|
|
11569
|
+
};
|
|
10683
11570
|
};
|
|
10684
11571
|
};
|
|
10685
11572
|
actions: {
|
|
@@ -10707,6 +11594,12 @@ interface GetIntegrationByNameResponse {
|
|
|
10707
11594
|
[k: string]: any;
|
|
10708
11595
|
};
|
|
10709
11596
|
};
|
|
11597
|
+
/**
|
|
11598
|
+
* Optional attributes
|
|
11599
|
+
*/
|
|
11600
|
+
attributes?: {
|
|
11601
|
+
[k: string]: string;
|
|
11602
|
+
};
|
|
10710
11603
|
};
|
|
10711
11604
|
};
|
|
10712
11605
|
/**
|
|
@@ -10760,6 +11653,12 @@ interface GetIntegrationByNameResponse {
|
|
|
10760
11653
|
};
|
|
10761
11654
|
};
|
|
10762
11655
|
};
|
|
11656
|
+
/**
|
|
11657
|
+
* Optional attributes
|
|
11658
|
+
*/
|
|
11659
|
+
attributes?: {
|
|
11660
|
+
[k: string]: string;
|
|
11661
|
+
};
|
|
10763
11662
|
/**
|
|
10764
11663
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10765
11664
|
*/
|
|
@@ -10870,6 +11769,12 @@ interface CreateInterfaceRequestBody {
|
|
|
10870
11769
|
schema: {
|
|
10871
11770
|
[k: string]: any;
|
|
10872
11771
|
};
|
|
11772
|
+
/**
|
|
11773
|
+
* Optional attributes
|
|
11774
|
+
*/
|
|
11775
|
+
attributes?: {
|
|
11776
|
+
[k: string]: string;
|
|
11777
|
+
};
|
|
10873
11778
|
};
|
|
10874
11779
|
};
|
|
10875
11780
|
actions?: {
|
|
@@ -10897,6 +11802,12 @@ interface CreateInterfaceRequestBody {
|
|
|
10897
11802
|
[k: string]: any;
|
|
10898
11803
|
};
|
|
10899
11804
|
};
|
|
11805
|
+
/**
|
|
11806
|
+
* Optional attributes
|
|
11807
|
+
*/
|
|
11808
|
+
attributes?: {
|
|
11809
|
+
[k: string]: string;
|
|
11810
|
+
};
|
|
10900
11811
|
};
|
|
10901
11812
|
};
|
|
10902
11813
|
channels?: {
|
|
@@ -10922,12 +11833,38 @@ interface CreateInterfaceRequestBody {
|
|
|
10922
11833
|
};
|
|
10923
11834
|
};
|
|
10924
11835
|
/**
|
|
10925
|
-
* Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
|
|
11836
|
+
* Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
|
|
11837
|
+
*/
|
|
11838
|
+
nameTemplate?: {
|
|
11839
|
+
script: string;
|
|
11840
|
+
language: string;
|
|
11841
|
+
};
|
|
11842
|
+
/**
|
|
11843
|
+
* Optional attributes
|
|
11844
|
+
*/
|
|
11845
|
+
attributes?: {
|
|
11846
|
+
[k: string]: string;
|
|
11847
|
+
};
|
|
11848
|
+
/**
|
|
11849
|
+
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
11850
|
+
*/
|
|
11851
|
+
icon?: string;
|
|
11852
|
+
/**
|
|
11853
|
+
* Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
|
|
10926
11854
|
*/
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
11855
|
+
readme?: string;
|
|
11856
|
+
/**
|
|
11857
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
11858
|
+
*/
|
|
11859
|
+
title?: string;
|
|
11860
|
+
/**
|
|
11861
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
11862
|
+
*/
|
|
11863
|
+
description?: string;
|
|
11864
|
+
/**
|
|
11865
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
11866
|
+
*/
|
|
11867
|
+
public?: boolean;
|
|
10931
11868
|
}
|
|
10932
11869
|
type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
|
|
10933
11870
|
interface CreateInterfaceResponse {
|
|
@@ -10986,6 +11923,12 @@ interface CreateInterfaceResponse {
|
|
|
10986
11923
|
schema: {
|
|
10987
11924
|
[k: string]: any;
|
|
10988
11925
|
};
|
|
11926
|
+
/**
|
|
11927
|
+
* Optional attributes
|
|
11928
|
+
*/
|
|
11929
|
+
attributes?: {
|
|
11930
|
+
[k: string]: string;
|
|
11931
|
+
};
|
|
10989
11932
|
};
|
|
10990
11933
|
};
|
|
10991
11934
|
actions: {
|
|
@@ -11013,6 +11956,12 @@ interface CreateInterfaceResponse {
|
|
|
11013
11956
|
[k: string]: any;
|
|
11014
11957
|
};
|
|
11015
11958
|
};
|
|
11959
|
+
/**
|
|
11960
|
+
* Optional attributes
|
|
11961
|
+
*/
|
|
11962
|
+
attributes?: {
|
|
11963
|
+
[k: string]: string;
|
|
11964
|
+
};
|
|
11016
11965
|
};
|
|
11017
11966
|
};
|
|
11018
11967
|
channels: {
|
|
@@ -11044,6 +11993,32 @@ interface CreateInterfaceResponse {
|
|
|
11044
11993
|
script: string;
|
|
11045
11994
|
language: string;
|
|
11046
11995
|
};
|
|
11996
|
+
/**
|
|
11997
|
+
* Optional attributes
|
|
11998
|
+
*/
|
|
11999
|
+
attributes?: {
|
|
12000
|
+
[k: string]: string;
|
|
12001
|
+
};
|
|
12002
|
+
/**
|
|
12003
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12004
|
+
*/
|
|
12005
|
+
title: string;
|
|
12006
|
+
/**
|
|
12007
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12008
|
+
*/
|
|
12009
|
+
description: string;
|
|
12010
|
+
/**
|
|
12011
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
12012
|
+
*/
|
|
12013
|
+
iconUrl: string;
|
|
12014
|
+
/**
|
|
12015
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
12016
|
+
*/
|
|
12017
|
+
readmeUrl: string;
|
|
12018
|
+
/**
|
|
12019
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12020
|
+
*/
|
|
12021
|
+
public: boolean;
|
|
11047
12022
|
};
|
|
11048
12023
|
}
|
|
11049
12024
|
|
|
@@ -11113,6 +12088,12 @@ interface GetInterfaceResponse {
|
|
|
11113
12088
|
schema: {
|
|
11114
12089
|
[k: string]: any;
|
|
11115
12090
|
};
|
|
12091
|
+
/**
|
|
12092
|
+
* Optional attributes
|
|
12093
|
+
*/
|
|
12094
|
+
attributes?: {
|
|
12095
|
+
[k: string]: string;
|
|
12096
|
+
};
|
|
11116
12097
|
};
|
|
11117
12098
|
};
|
|
11118
12099
|
actions: {
|
|
@@ -11140,6 +12121,12 @@ interface GetInterfaceResponse {
|
|
|
11140
12121
|
[k: string]: any;
|
|
11141
12122
|
};
|
|
11142
12123
|
};
|
|
12124
|
+
/**
|
|
12125
|
+
* Optional attributes
|
|
12126
|
+
*/
|
|
12127
|
+
attributes?: {
|
|
12128
|
+
[k: string]: string;
|
|
12129
|
+
};
|
|
11143
12130
|
};
|
|
11144
12131
|
};
|
|
11145
12132
|
channels: {
|
|
@@ -11171,6 +12158,32 @@ interface GetInterfaceResponse {
|
|
|
11171
12158
|
script: string;
|
|
11172
12159
|
language: string;
|
|
11173
12160
|
};
|
|
12161
|
+
/**
|
|
12162
|
+
* Optional attributes
|
|
12163
|
+
*/
|
|
12164
|
+
attributes?: {
|
|
12165
|
+
[k: string]: string;
|
|
12166
|
+
};
|
|
12167
|
+
/**
|
|
12168
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12169
|
+
*/
|
|
12170
|
+
title: string;
|
|
12171
|
+
/**
|
|
12172
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12173
|
+
*/
|
|
12174
|
+
description: string;
|
|
12175
|
+
/**
|
|
12176
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
12177
|
+
*/
|
|
12178
|
+
iconUrl: string;
|
|
12179
|
+
/**
|
|
12180
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
12181
|
+
*/
|
|
12182
|
+
readmeUrl: string;
|
|
12183
|
+
/**
|
|
12184
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12185
|
+
*/
|
|
12186
|
+
public: boolean;
|
|
11174
12187
|
};
|
|
11175
12188
|
}
|
|
11176
12189
|
|
|
@@ -11241,6 +12254,12 @@ interface GetInterfaceByNameResponse {
|
|
|
11241
12254
|
schema: {
|
|
11242
12255
|
[k: string]: any;
|
|
11243
12256
|
};
|
|
12257
|
+
/**
|
|
12258
|
+
* Optional attributes
|
|
12259
|
+
*/
|
|
12260
|
+
attributes?: {
|
|
12261
|
+
[k: string]: string;
|
|
12262
|
+
};
|
|
11244
12263
|
};
|
|
11245
12264
|
};
|
|
11246
12265
|
actions: {
|
|
@@ -11268,6 +12287,12 @@ interface GetInterfaceByNameResponse {
|
|
|
11268
12287
|
[k: string]: any;
|
|
11269
12288
|
};
|
|
11270
12289
|
};
|
|
12290
|
+
/**
|
|
12291
|
+
* Optional attributes
|
|
12292
|
+
*/
|
|
12293
|
+
attributes?: {
|
|
12294
|
+
[k: string]: string;
|
|
12295
|
+
};
|
|
11271
12296
|
};
|
|
11272
12297
|
};
|
|
11273
12298
|
channels: {
|
|
@@ -11299,6 +12324,32 @@ interface GetInterfaceByNameResponse {
|
|
|
11299
12324
|
script: string;
|
|
11300
12325
|
language: string;
|
|
11301
12326
|
};
|
|
12327
|
+
/**
|
|
12328
|
+
* Optional attributes
|
|
12329
|
+
*/
|
|
12330
|
+
attributes?: {
|
|
12331
|
+
[k: string]: string;
|
|
12332
|
+
};
|
|
12333
|
+
/**
|
|
12334
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12335
|
+
*/
|
|
12336
|
+
title: string;
|
|
12337
|
+
/**
|
|
12338
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12339
|
+
*/
|
|
12340
|
+
description: string;
|
|
12341
|
+
/**
|
|
12342
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
12343
|
+
*/
|
|
12344
|
+
iconUrl: string;
|
|
12345
|
+
/**
|
|
12346
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
12347
|
+
*/
|
|
12348
|
+
readmeUrl: string;
|
|
12349
|
+
/**
|
|
12350
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12351
|
+
*/
|
|
12352
|
+
public: boolean;
|
|
11302
12353
|
};
|
|
11303
12354
|
}
|
|
11304
12355
|
|
|
@@ -11329,9 +12380,6 @@ interface UpdateInterfaceRequestBody {
|
|
|
11329
12380
|
} | null;
|
|
11330
12381
|
};
|
|
11331
12382
|
events?: {
|
|
11332
|
-
/**
|
|
11333
|
-
* Event Definition
|
|
11334
|
-
*/
|
|
11335
12383
|
[k: string]: {
|
|
11336
12384
|
/**
|
|
11337
12385
|
* Title of the event
|
|
@@ -11344,12 +12392,15 @@ interface UpdateInterfaceRequestBody {
|
|
|
11344
12392
|
schema: {
|
|
11345
12393
|
[k: string]: any;
|
|
11346
12394
|
};
|
|
12395
|
+
/**
|
|
12396
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12397
|
+
*/
|
|
12398
|
+
attributes?: {
|
|
12399
|
+
[k: string]: string | null;
|
|
12400
|
+
};
|
|
11347
12401
|
} | null;
|
|
11348
12402
|
};
|
|
11349
12403
|
actions?: {
|
|
11350
|
-
/**
|
|
11351
|
-
* Action definition
|
|
11352
|
-
*/
|
|
11353
12404
|
[k: string]: {
|
|
11354
12405
|
/**
|
|
11355
12406
|
* Title of the action
|
|
@@ -11371,6 +12422,12 @@ interface UpdateInterfaceRequestBody {
|
|
|
11371
12422
|
[k: string]: any;
|
|
11372
12423
|
};
|
|
11373
12424
|
};
|
|
12425
|
+
/**
|
|
12426
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12427
|
+
*/
|
|
12428
|
+
attributes?: {
|
|
12429
|
+
[k: string]: string | null;
|
|
12430
|
+
};
|
|
11374
12431
|
} | null;
|
|
11375
12432
|
};
|
|
11376
12433
|
channels?: {
|
|
@@ -11402,6 +12459,32 @@ interface UpdateInterfaceRequestBody {
|
|
|
11402
12459
|
script: string;
|
|
11403
12460
|
language: string;
|
|
11404
12461
|
} | null;
|
|
12462
|
+
/**
|
|
12463
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12464
|
+
*/
|
|
12465
|
+
attributes?: {
|
|
12466
|
+
[k: string]: string | null;
|
|
12467
|
+
};
|
|
12468
|
+
/**
|
|
12469
|
+
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
12470
|
+
*/
|
|
12471
|
+
icon?: string;
|
|
12472
|
+
/**
|
|
12473
|
+
* Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
|
|
12474
|
+
*/
|
|
12475
|
+
readme?: string;
|
|
12476
|
+
/**
|
|
12477
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12478
|
+
*/
|
|
12479
|
+
title?: string;
|
|
12480
|
+
/**
|
|
12481
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12482
|
+
*/
|
|
12483
|
+
description?: string;
|
|
12484
|
+
/**
|
|
12485
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12486
|
+
*/
|
|
12487
|
+
public?: boolean;
|
|
11405
12488
|
}
|
|
11406
12489
|
type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
|
|
11407
12490
|
interface UpdateInterfaceResponse {
|
|
@@ -11460,6 +12543,12 @@ interface UpdateInterfaceResponse {
|
|
|
11460
12543
|
schema: {
|
|
11461
12544
|
[k: string]: any;
|
|
11462
12545
|
};
|
|
12546
|
+
/**
|
|
12547
|
+
* Optional attributes
|
|
12548
|
+
*/
|
|
12549
|
+
attributes?: {
|
|
12550
|
+
[k: string]: string;
|
|
12551
|
+
};
|
|
11463
12552
|
};
|
|
11464
12553
|
};
|
|
11465
12554
|
actions: {
|
|
@@ -11487,6 +12576,12 @@ interface UpdateInterfaceResponse {
|
|
|
11487
12576
|
[k: string]: any;
|
|
11488
12577
|
};
|
|
11489
12578
|
};
|
|
12579
|
+
/**
|
|
12580
|
+
* Optional attributes
|
|
12581
|
+
*/
|
|
12582
|
+
attributes?: {
|
|
12583
|
+
[k: string]: string;
|
|
12584
|
+
};
|
|
11490
12585
|
};
|
|
11491
12586
|
};
|
|
11492
12587
|
channels: {
|
|
@@ -11518,6 +12613,32 @@ interface UpdateInterfaceResponse {
|
|
|
11518
12613
|
script: string;
|
|
11519
12614
|
language: string;
|
|
11520
12615
|
};
|
|
12616
|
+
/**
|
|
12617
|
+
* Optional attributes
|
|
12618
|
+
*/
|
|
12619
|
+
attributes?: {
|
|
12620
|
+
[k: string]: string;
|
|
12621
|
+
};
|
|
12622
|
+
/**
|
|
12623
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12624
|
+
*/
|
|
12625
|
+
title: string;
|
|
12626
|
+
/**
|
|
12627
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12628
|
+
*/
|
|
12629
|
+
description: string;
|
|
12630
|
+
/**
|
|
12631
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
12632
|
+
*/
|
|
12633
|
+
iconUrl: string;
|
|
12634
|
+
/**
|
|
12635
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
12636
|
+
*/
|
|
12637
|
+
readmeUrl: string;
|
|
12638
|
+
/**
|
|
12639
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12640
|
+
*/
|
|
12641
|
+
public: boolean;
|
|
11521
12642
|
};
|
|
11522
12643
|
}
|
|
11523
12644
|
|
|
@@ -11539,6 +12660,7 @@ interface ListInterfacesRequestHeaders {
|
|
|
11539
12660
|
interface ListInterfacesRequestQuery {
|
|
11540
12661
|
nextToken?: string;
|
|
11541
12662
|
name?: string;
|
|
12663
|
+
version?: string;
|
|
11542
12664
|
}
|
|
11543
12665
|
interface ListInterfacesRequestParams {
|
|
11544
12666
|
}
|
|
@@ -11567,6 +12689,26 @@ interface ListInterfacesResponse {
|
|
|
11567
12689
|
* Version of the [Interface](#schema_interface)
|
|
11568
12690
|
*/
|
|
11569
12691
|
version: string;
|
|
12692
|
+
/**
|
|
12693
|
+
* Title of the interface. This is the name that will be displayed in the UI
|
|
12694
|
+
*/
|
|
12695
|
+
title: string;
|
|
12696
|
+
/**
|
|
12697
|
+
* Description of the interface. This is the description that will be displayed in the UI
|
|
12698
|
+
*/
|
|
12699
|
+
description: string;
|
|
12700
|
+
/**
|
|
12701
|
+
* URL of the icon of the interface. This is the icon that will be displayed in the UI
|
|
12702
|
+
*/
|
|
12703
|
+
iconUrl: string;
|
|
12704
|
+
/**
|
|
12705
|
+
* URL of the readme of the interface. This is the readme that will be displayed in the UI
|
|
12706
|
+
*/
|
|
12707
|
+
readmeUrl: string;
|
|
12708
|
+
/**
|
|
12709
|
+
* Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
|
|
12710
|
+
*/
|
|
12711
|
+
public: boolean;
|
|
11570
12712
|
}[];
|
|
11571
12713
|
meta: {
|
|
11572
12714
|
/**
|
|
@@ -11644,6 +12786,12 @@ interface CreatePluginRequestBody {
|
|
|
11644
12786
|
schema: {
|
|
11645
12787
|
[k: string]: any;
|
|
11646
12788
|
};
|
|
12789
|
+
/**
|
|
12790
|
+
* Optional attributes
|
|
12791
|
+
*/
|
|
12792
|
+
attributes?: {
|
|
12793
|
+
[k: string]: string;
|
|
12794
|
+
};
|
|
11647
12795
|
};
|
|
11648
12796
|
};
|
|
11649
12797
|
actions?: {
|
|
@@ -11671,6 +12819,12 @@ interface CreatePluginRequestBody {
|
|
|
11671
12819
|
[k: string]: any;
|
|
11672
12820
|
};
|
|
11673
12821
|
};
|
|
12822
|
+
/**
|
|
12823
|
+
* Optional attributes
|
|
12824
|
+
*/
|
|
12825
|
+
attributes?: {
|
|
12826
|
+
[k: string]: string;
|
|
12827
|
+
};
|
|
11674
12828
|
};
|
|
11675
12829
|
};
|
|
11676
12830
|
/**
|
|
@@ -11725,6 +12879,12 @@ interface CreatePluginRequestBody {
|
|
|
11725
12879
|
};
|
|
11726
12880
|
};
|
|
11727
12881
|
};
|
|
12882
|
+
/**
|
|
12883
|
+
* Optional attributes
|
|
12884
|
+
*/
|
|
12885
|
+
attributes?: {
|
|
12886
|
+
[k: string]: string;
|
|
12887
|
+
};
|
|
11728
12888
|
code: {
|
|
11729
12889
|
/**
|
|
11730
12890
|
* Code of plugin bundled for Node.JS
|
|
@@ -11832,6 +12992,12 @@ interface CreatePluginResponse {
|
|
|
11832
12992
|
schema: {
|
|
11833
12993
|
[k: string]: any;
|
|
11834
12994
|
};
|
|
12995
|
+
/**
|
|
12996
|
+
* Optional attributes
|
|
12997
|
+
*/
|
|
12998
|
+
attributes?: {
|
|
12999
|
+
[k: string]: string;
|
|
13000
|
+
};
|
|
11835
13001
|
};
|
|
11836
13002
|
};
|
|
11837
13003
|
actions: {
|
|
@@ -11859,6 +13025,12 @@ interface CreatePluginResponse {
|
|
|
11859
13025
|
[k: string]: any;
|
|
11860
13026
|
};
|
|
11861
13027
|
};
|
|
13028
|
+
/**
|
|
13029
|
+
* Optional attributes
|
|
13030
|
+
*/
|
|
13031
|
+
attributes?: {
|
|
13032
|
+
[k: string]: string;
|
|
13033
|
+
};
|
|
11862
13034
|
};
|
|
11863
13035
|
};
|
|
11864
13036
|
dependencies: {
|
|
@@ -11917,6 +13089,12 @@ interface CreatePluginResponse {
|
|
|
11917
13089
|
};
|
|
11918
13090
|
};
|
|
11919
13091
|
};
|
|
13092
|
+
/**
|
|
13093
|
+
* Optional attributes
|
|
13094
|
+
*/
|
|
13095
|
+
attributes?: {
|
|
13096
|
+
[k: string]: string;
|
|
13097
|
+
};
|
|
11920
13098
|
/**
|
|
11921
13099
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
11922
13100
|
*/
|
|
@@ -12025,6 +13203,12 @@ interface GetPluginResponse {
|
|
|
12025
13203
|
schema: {
|
|
12026
13204
|
[k: string]: any;
|
|
12027
13205
|
};
|
|
13206
|
+
/**
|
|
13207
|
+
* Optional attributes
|
|
13208
|
+
*/
|
|
13209
|
+
attributes?: {
|
|
13210
|
+
[k: string]: string;
|
|
13211
|
+
};
|
|
12028
13212
|
};
|
|
12029
13213
|
};
|
|
12030
13214
|
actions: {
|
|
@@ -12052,6 +13236,12 @@ interface GetPluginResponse {
|
|
|
12052
13236
|
[k: string]: any;
|
|
12053
13237
|
};
|
|
12054
13238
|
};
|
|
13239
|
+
/**
|
|
13240
|
+
* Optional attributes
|
|
13241
|
+
*/
|
|
13242
|
+
attributes?: {
|
|
13243
|
+
[k: string]: string;
|
|
13244
|
+
};
|
|
12055
13245
|
};
|
|
12056
13246
|
};
|
|
12057
13247
|
dependencies: {
|
|
@@ -12110,6 +13300,12 @@ interface GetPluginResponse {
|
|
|
12110
13300
|
};
|
|
12111
13301
|
};
|
|
12112
13302
|
};
|
|
13303
|
+
/**
|
|
13304
|
+
* Optional attributes
|
|
13305
|
+
*/
|
|
13306
|
+
attributes?: {
|
|
13307
|
+
[k: string]: string;
|
|
13308
|
+
};
|
|
12113
13309
|
/**
|
|
12114
13310
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12115
13311
|
*/
|
|
@@ -12219,6 +13415,12 @@ interface GetPluginByNameResponse {
|
|
|
12219
13415
|
schema: {
|
|
12220
13416
|
[k: string]: any;
|
|
12221
13417
|
};
|
|
13418
|
+
/**
|
|
13419
|
+
* Optional attributes
|
|
13420
|
+
*/
|
|
13421
|
+
attributes?: {
|
|
13422
|
+
[k: string]: string;
|
|
13423
|
+
};
|
|
12222
13424
|
};
|
|
12223
13425
|
};
|
|
12224
13426
|
actions: {
|
|
@@ -12246,6 +13448,12 @@ interface GetPluginByNameResponse {
|
|
|
12246
13448
|
[k: string]: any;
|
|
12247
13449
|
};
|
|
12248
13450
|
};
|
|
13451
|
+
/**
|
|
13452
|
+
* Optional attributes
|
|
13453
|
+
*/
|
|
13454
|
+
attributes?: {
|
|
13455
|
+
[k: string]: string;
|
|
13456
|
+
};
|
|
12249
13457
|
};
|
|
12250
13458
|
};
|
|
12251
13459
|
dependencies: {
|
|
@@ -12304,6 +13512,12 @@ interface GetPluginByNameResponse {
|
|
|
12304
13512
|
};
|
|
12305
13513
|
};
|
|
12306
13514
|
};
|
|
13515
|
+
/**
|
|
13516
|
+
* Optional attributes
|
|
13517
|
+
*/
|
|
13518
|
+
attributes?: {
|
|
13519
|
+
[k: string]: string;
|
|
13520
|
+
};
|
|
12307
13521
|
/**
|
|
12308
13522
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12309
13523
|
*/
|
|
@@ -12373,9 +13587,6 @@ interface UpdatePluginRequestBody {
|
|
|
12373
13587
|
} | null;
|
|
12374
13588
|
};
|
|
12375
13589
|
events?: {
|
|
12376
|
-
/**
|
|
12377
|
-
* Event Definition
|
|
12378
|
-
*/
|
|
12379
13590
|
[k: string]: {
|
|
12380
13591
|
/**
|
|
12381
13592
|
* Title of the event
|
|
@@ -12388,12 +13599,15 @@ interface UpdatePluginRequestBody {
|
|
|
12388
13599
|
schema: {
|
|
12389
13600
|
[k: string]: any;
|
|
12390
13601
|
};
|
|
13602
|
+
/**
|
|
13603
|
+
* Optional attributes. Set attributes to null to remove them
|
|
13604
|
+
*/
|
|
13605
|
+
attributes?: {
|
|
13606
|
+
[k: string]: string | null;
|
|
13607
|
+
};
|
|
12391
13608
|
} | null;
|
|
12392
13609
|
};
|
|
12393
13610
|
actions?: {
|
|
12394
|
-
/**
|
|
12395
|
-
* Action definition
|
|
12396
|
-
*/
|
|
12397
13611
|
[k: string]: {
|
|
12398
13612
|
/**
|
|
12399
13613
|
* Title of the action
|
|
@@ -12415,6 +13629,12 @@ interface UpdatePluginRequestBody {
|
|
|
12415
13629
|
[k: string]: any;
|
|
12416
13630
|
};
|
|
12417
13631
|
};
|
|
13632
|
+
/**
|
|
13633
|
+
* Optional attributes. Set attributes to null to remove them
|
|
13634
|
+
*/
|
|
13635
|
+
attributes?: {
|
|
13636
|
+
[k: string]: string | null;
|
|
13637
|
+
};
|
|
12418
13638
|
} | null;
|
|
12419
13639
|
};
|
|
12420
13640
|
user?: {
|
|
@@ -12463,6 +13683,12 @@ interface UpdatePluginRequestBody {
|
|
|
12463
13683
|
} | null;
|
|
12464
13684
|
};
|
|
12465
13685
|
};
|
|
13686
|
+
/**
|
|
13687
|
+
* Optional attributes. Set attributes to null to remove them
|
|
13688
|
+
*/
|
|
13689
|
+
attributes?: {
|
|
13690
|
+
[k: string]: string | null;
|
|
13691
|
+
};
|
|
12466
13692
|
code?: {
|
|
12467
13693
|
/**
|
|
12468
13694
|
* Code of plugin bundled for Node.JS
|
|
@@ -12570,6 +13796,12 @@ interface UpdatePluginResponse {
|
|
|
12570
13796
|
schema: {
|
|
12571
13797
|
[k: string]: any;
|
|
12572
13798
|
};
|
|
13799
|
+
/**
|
|
13800
|
+
* Optional attributes
|
|
13801
|
+
*/
|
|
13802
|
+
attributes?: {
|
|
13803
|
+
[k: string]: string;
|
|
13804
|
+
};
|
|
12573
13805
|
};
|
|
12574
13806
|
};
|
|
12575
13807
|
actions: {
|
|
@@ -12597,6 +13829,12 @@ interface UpdatePluginResponse {
|
|
|
12597
13829
|
[k: string]: any;
|
|
12598
13830
|
};
|
|
12599
13831
|
};
|
|
13832
|
+
/**
|
|
13833
|
+
* Optional attributes
|
|
13834
|
+
*/
|
|
13835
|
+
attributes?: {
|
|
13836
|
+
[k: string]: string;
|
|
13837
|
+
};
|
|
12600
13838
|
};
|
|
12601
13839
|
};
|
|
12602
13840
|
dependencies: {
|
|
@@ -12655,6 +13893,12 @@ interface UpdatePluginResponse {
|
|
|
12655
13893
|
};
|
|
12656
13894
|
};
|
|
12657
13895
|
};
|
|
13896
|
+
/**
|
|
13897
|
+
* Optional attributes
|
|
13898
|
+
*/
|
|
13899
|
+
attributes?: {
|
|
13900
|
+
[k: string]: string;
|
|
13901
|
+
};
|
|
12658
13902
|
/**
|
|
12659
13903
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12660
13904
|
*/
|
|
@@ -12923,8 +14167,15 @@ interface ListUsageActivityDailyRequestBody {
|
|
|
12923
14167
|
type ListUsageActivityDailyInput = ListUsageActivityDailyRequestBody & ListUsageActivityDailyRequestHeaders & ListUsageActivityDailyRequestQuery & ListUsageActivityDailyRequestParams;
|
|
12924
14168
|
interface ListUsageActivityDailyResponse {
|
|
12925
14169
|
data: {
|
|
14170
|
+
key: string;
|
|
12926
14171
|
date: string;
|
|
12927
14172
|
value: number;
|
|
14173
|
+
metadata?: {
|
|
14174
|
+
botId: string;
|
|
14175
|
+
type: "IntegrationAction" | "FileIndexing";
|
|
14176
|
+
subtype: string;
|
|
14177
|
+
source?: string;
|
|
14178
|
+
};
|
|
12928
14179
|
}[];
|
|
12929
14180
|
meta: {
|
|
12930
14181
|
nextToken?: string;
|
|
@@ -13781,6 +15032,33 @@ interface ListFilePassagesResponse {
|
|
|
13781
15032
|
};
|
|
13782
15033
|
}
|
|
13783
15034
|
|
|
15035
|
+
interface SetFilePassagesRequestHeaders {
|
|
15036
|
+
}
|
|
15037
|
+
interface SetFilePassagesRequestQuery {
|
|
15038
|
+
}
|
|
15039
|
+
interface SetFilePassagesRequestParams {
|
|
15040
|
+
id: string;
|
|
15041
|
+
}
|
|
15042
|
+
interface SetFilePassagesRequestBody {
|
|
15043
|
+
/**
|
|
15044
|
+
* Note: The passages should appear in the array in the same order as they appear in the original document.
|
|
15045
|
+
*/
|
|
15046
|
+
passages: {
|
|
15047
|
+
/**
|
|
15048
|
+
* The content of the passage, supports Markdown formatting.
|
|
15049
|
+
*/
|
|
15050
|
+
content: string;
|
|
15051
|
+
/**
|
|
15052
|
+
* The type should match the Markdown format used for the passage content.
|
|
15053
|
+
*/
|
|
15054
|
+
type?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image";
|
|
15055
|
+
pageNumber?: number;
|
|
15056
|
+
}[];
|
|
15057
|
+
}
|
|
15058
|
+
type SetFilePassagesInput = SetFilePassagesRequestBody & SetFilePassagesRequestHeaders & SetFilePassagesRequestQuery & SetFilePassagesRequestParams;
|
|
15059
|
+
interface SetFilePassagesResponse {
|
|
15060
|
+
}
|
|
15061
|
+
|
|
13784
15062
|
interface ListFileTagsRequestHeaders {
|
|
13785
15063
|
}
|
|
13786
15064
|
interface ListFileTagsRequestQuery {
|
|
@@ -15615,6 +16893,9 @@ declare class Client$1 {
|
|
|
15615
16893
|
readonly getPublicPluginById: (input: GetPublicPluginByIdInput) => Promise<GetPublicPluginByIdResponse>;
|
|
15616
16894
|
readonly getPublicPlugin: (input: GetPublicPluginInput) => Promise<GetPublicPluginResponse>;
|
|
15617
16895
|
readonly getPublicPluginCode: (input: GetPublicPluginCodeInput) => Promise<GetPublicPluginCodeResponse>;
|
|
16896
|
+
readonly listPublicInterfaces: (input: ListPublicInterfacesInput) => Promise<ListPublicInterfacesResponse>;
|
|
16897
|
+
readonly getPublicInterfaceById: (input: GetPublicInterfaceByIdInput) => Promise<GetPublicInterfaceByIdResponse>;
|
|
16898
|
+
readonly getPublicInterface: (input: GetPublicInterfaceInput) => Promise<GetPublicInterfaceResponse>;
|
|
15618
16899
|
readonly createBot: (input: CreateBotInput) => Promise<CreateBotResponse>;
|
|
15619
16900
|
readonly updateBot: (input: UpdateBotInput) => Promise<UpdateBotResponse>;
|
|
15620
16901
|
readonly transferBot: (input: TransferBotInput) => Promise<TransferBotResponse>;
|
|
@@ -15635,6 +16916,10 @@ declare class Client$1 {
|
|
|
15635
16916
|
readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
|
|
15636
16917
|
readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
|
|
15637
16918
|
readonly getIntegrationShareableId: (input: GetIntegrationShareableIdInput) => Promise<GetIntegrationShareableIdResponse>;
|
|
16919
|
+
readonly unlinkSandboxedConversations: (input: UnlinkSandboxedConversationsInput) => Promise<UnlinkSandboxedConversationsResponse>;
|
|
16920
|
+
readonly listBotApiKeys: (input: ListBotApiKeysInput) => Promise<ListBotApiKeysResponse>;
|
|
16921
|
+
readonly createBotApiKey: (input: CreateBotApiKeyInput) => Promise<CreateBotApiKeyResponse>;
|
|
16922
|
+
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
15638
16923
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
15639
16924
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
15640
16925
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|
|
@@ -15699,6 +16984,7 @@ declare class Client$1 {
|
|
|
15699
16984
|
readonly copyFile: (input: CopyFileInput) => Promise<CopyFileResponse>;
|
|
15700
16985
|
readonly searchFiles: (input: SearchFilesInput) => Promise<SearchFilesResponse>;
|
|
15701
16986
|
readonly listFilePassages: (input: ListFilePassagesInput) => Promise<ListFilePassagesResponse>;
|
|
16987
|
+
readonly setFilePassages: (input: SetFilePassagesInput) => Promise<SetFilePassagesResponse>;
|
|
15702
16988
|
readonly listFileTags: (input: ListFileTagsInput) => Promise<ListFileTagsResponse>;
|
|
15703
16989
|
readonly listFileTagValues: (input: ListFileTagValuesInput) => Promise<ListFileTagValuesResponse>;
|
|
15704
16990
|
readonly createKnowledgeBase: (input: CreateKnowledgeBaseInput) => Promise<CreateKnowledgeBaseResponse>;
|
|
@@ -15976,12 +17262,18 @@ declare class Client extends Client$1 implements IClient {
|
|
|
15976
17262
|
}>;
|
|
15977
17263
|
interfaces: (props: {
|
|
15978
17264
|
name?: string | undefined;
|
|
17265
|
+
version?: string | undefined;
|
|
15979
17266
|
}) => AsyncCollection<{
|
|
15980
17267
|
id: string;
|
|
15981
17268
|
createdAt: string;
|
|
15982
17269
|
updatedAt: string;
|
|
15983
17270
|
name: string;
|
|
15984
17271
|
version: string;
|
|
17272
|
+
title: string;
|
|
17273
|
+
description: string;
|
|
17274
|
+
iconUrl: string;
|
|
17275
|
+
readmeUrl: string;
|
|
17276
|
+
public: boolean;
|
|
15985
17277
|
}>;
|
|
15986
17278
|
activities: (props: {
|
|
15987
17279
|
botId: string;
|
|
@@ -16055,8 +17347,15 @@ declare class Client extends Client$1 implements IClient {
|
|
|
16055
17347
|
dateFrom?: string | undefined;
|
|
16056
17348
|
dateUntil?: string | undefined;
|
|
16057
17349
|
}) => AsyncCollection<{
|
|
17350
|
+
key: string;
|
|
16058
17351
|
date: string;
|
|
16059
17352
|
value: number;
|
|
17353
|
+
metadata?: {
|
|
17354
|
+
botId: string;
|
|
17355
|
+
type: "IntegrationAction" | "FileIndexing";
|
|
17356
|
+
subtype: string;
|
|
17357
|
+
source?: string;
|
|
17358
|
+
};
|
|
16060
17359
|
}>;
|
|
16061
17360
|
};
|
|
16062
17361
|
/**
|