@botpress/cognitive 0.1.22 → 0.1.23

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/index.d.ts CHANGED
@@ -3046,15 +3046,17 @@ interface ConfigureIntegrationRequestBody {
3046
3046
  /**
3047
3047
  * Unique identifier of the integration that was installed on the bot
3048
3048
  */
3049
- identifier?: string | null;
3049
+ identifier?: string;
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
- * **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.
3055
+ * Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
3056
3056
  */
3057
- sandboxIdentifiers?: {} | null;
3057
+ sandboxIdentifiers?: {
3058
+ [k: string]: {} | null;
3059
+ } | null;
3058
3060
  }
3059
3061
  type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
3060
3062
  interface ConfigureIntegrationResponse {
@@ -4546,12 +4548,6 @@ interface GetPublicIntegrationByIdResponse {
4546
4548
  schema: {
4547
4549
  [k: string]: any;
4548
4550
  };
4549
- /**
4550
- * Optional attributes
4551
- */
4552
- attributes?: {
4553
- [k: string]: string;
4554
- };
4555
4551
  };
4556
4552
  };
4557
4553
  actions: {
@@ -4579,12 +4575,6 @@ interface GetPublicIntegrationByIdResponse {
4579
4575
  [k: string]: any;
4580
4576
  };
4581
4577
  };
4582
- /**
4583
- * Optional attributes
4584
- */
4585
- attributes?: {
4586
- [k: string]: string;
4587
- };
4588
4578
  };
4589
4579
  };
4590
4580
  /**
@@ -4638,12 +4628,6 @@ interface GetPublicIntegrationByIdResponse {
4638
4628
  };
4639
4629
  };
4640
4630
  };
4641
- /**
4642
- * Optional attributes
4643
- */
4644
- attributes?: {
4645
- [k: string]: string;
4646
- };
4647
4631
  /**
4648
4632
  * Indicates if the integration is a development integration; Dev integrations run locally
4649
4633
  */
@@ -4949,12 +4933,6 @@ interface GetPublicIntegrationResponse {
4949
4933
  schema: {
4950
4934
  [k: string]: any;
4951
4935
  };
4952
- /**
4953
- * Optional attributes
4954
- */
4955
- attributes?: {
4956
- [k: string]: string;
4957
- };
4958
4936
  };
4959
4937
  };
4960
4938
  actions: {
@@ -4982,12 +4960,6 @@ interface GetPublicIntegrationResponse {
4982
4960
  [k: string]: any;
4983
4961
  };
4984
4962
  };
4985
- /**
4986
- * Optional attributes
4987
- */
4988
- attributes?: {
4989
- [k: string]: string;
4990
- };
4991
4963
  };
4992
4964
  };
4993
4965
  /**
@@ -5041,12 +5013,6 @@ interface GetPublicIntegrationResponse {
5041
5013
  };
5042
5014
  };
5043
5015
  };
5044
- /**
5045
- * Optional attributes
5046
- */
5047
- attributes?: {
5048
- [k: string]: string;
5049
- };
5050
5016
  /**
5051
5017
  * Indicates if the integration is a development integration; Dev integrations run locally
5052
5018
  */
@@ -5239,12 +5205,6 @@ interface GetPublicPluginByIdResponse {
5239
5205
  schema: {
5240
5206
  [k: string]: any;
5241
5207
  };
5242
- /**
5243
- * Optional attributes
5244
- */
5245
- attributes?: {
5246
- [k: string]: string;
5247
- };
5248
5208
  };
5249
5209
  };
5250
5210
  actions: {
@@ -5272,12 +5232,6 @@ interface GetPublicPluginByIdResponse {
5272
5232
  [k: string]: any;
5273
5233
  };
5274
5234
  };
5275
- /**
5276
- * Optional attributes
5277
- */
5278
- attributes?: {
5279
- [k: string]: string;
5280
- };
5281
5235
  };
5282
5236
  };
5283
5237
  dependencies: {
@@ -5336,12 +5290,6 @@ interface GetPublicPluginByIdResponse {
5336
5290
  };
5337
5291
  };
5338
5292
  };
5339
- /**
5340
- * Optional attributes
5341
- */
5342
- attributes?: {
5343
- [k: string]: string;
5344
- };
5345
5293
  /**
5346
5294
  * Title of the plugin. This is the name that will be displayed in the UI
5347
5295
  */
@@ -5451,12 +5399,6 @@ interface GetPublicPluginResponse {
5451
5399
  schema: {
5452
5400
  [k: string]: any;
5453
5401
  };
5454
- /**
5455
- * Optional attributes
5456
- */
5457
- attributes?: {
5458
- [k: string]: string;
5459
- };
5460
5402
  };
5461
5403
  };
5462
5404
  actions: {
@@ -5484,12 +5426,6 @@ interface GetPublicPluginResponse {
5484
5426
  [k: string]: any;
5485
5427
  };
5486
5428
  };
5487
- /**
5488
- * Optional attributes
5489
- */
5490
- attributes?: {
5491
- [k: string]: string;
5492
- };
5493
5429
  };
5494
5430
  };
5495
5431
  dependencies: {
@@ -5548,12 +5484,6 @@ interface GetPublicPluginResponse {
5548
5484
  };
5549
5485
  };
5550
5486
  };
5551
- /**
5552
- * Optional attributes
5553
- */
5554
- attributes?: {
5555
- [k: string]: string;
5556
- };
5557
5487
  /**
5558
5488
  * Title of the plugin. This is the name that will be displayed in the UI
5559
5489
  */
@@ -5592,580 +5522,174 @@ interface GetPublicPluginCodeResponse {
5592
5522
  code: string;
5593
5523
  }
5594
5524
 
5595
- interface ListPublicInterfacesRequestHeaders {
5596
- }
5597
- interface ListPublicInterfacesRequestQuery {
5598
- nextToken?: string;
5599
- name?: string;
5600
- version?: string;
5525
+ interface CreateBotRequestHeaders {
5601
5526
  }
5602
- interface ListPublicInterfacesRequestParams {
5527
+ interface CreateBotRequestQuery {
5603
5528
  }
5604
- interface ListPublicInterfacesRequestBody {
5529
+ interface CreateBotRequestParams {
5605
5530
  }
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;
5531
+ interface CreateBotRequestBody {
5532
+ /**
5533
+ * A mapping of states to their definition
5534
+ */
5535
+ states?: {
5536
+ [k: string]: {
5537
+ /**
5538
+ * Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
5539
+ */
5540
+ type: "conversation" | "user" | "bot" | "task";
5541
+ /**
5542
+ * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
5543
+ */
5544
+ schema: {
5545
+ [k: string]: any;
5546
+ };
5547
+ /**
5548
+ * Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
5549
+ */
5550
+ expiry?: number;
5551
+ };
5655
5552
  };
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: {
5553
+ /**
5554
+ * Events definition
5555
+ */
5556
+ events?: {
5670
5557
  /**
5671
- * ID of the [Interface](#schema_interface)
5558
+ * Event Definition
5672
5559
  */
5673
- id: string;
5560
+ [k: string]: {
5561
+ /**
5562
+ * Title of the event
5563
+ */
5564
+ title?: string;
5565
+ /**
5566
+ * Description of the event
5567
+ */
5568
+ description?: string;
5569
+ schema: {
5570
+ [k: string]: any;
5571
+ };
5572
+ };
5573
+ };
5574
+ recurringEvents?: {
5575
+ [k: string]: {
5576
+ schedule: {
5577
+ cron: string;
5578
+ };
5579
+ type: string;
5580
+ payload: {
5581
+ [k: string]: any;
5582
+ };
5583
+ };
5584
+ };
5585
+ /**
5586
+ * Subscriptions of the bot
5587
+ */
5588
+ subscriptions?: {
5674
5589
  /**
5675
- * Creation date of the [Interface](#schema_interface) in ISO 8601 format
5590
+ * Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
5676
5591
  */
5677
- createdAt: string;
5592
+ events: {
5593
+ [k: string]: {};
5594
+ } | null;
5595
+ };
5596
+ /**
5597
+ * Actions definition
5598
+ */
5599
+ actions?: {
5678
5600
  /**
5679
- * Updating date of the [Interface](#schema_interface) in ISO 8601 format
5601
+ * Action definition
5680
5602
  */
5681
- updatedAt: string;
5603
+ [k: string]: {
5604
+ /**
5605
+ * Title of the action
5606
+ */
5607
+ title?: string;
5608
+ /**
5609
+ * Description of the action
5610
+ */
5611
+ description?: string;
5612
+ billable?: boolean;
5613
+ cacheable?: boolean;
5614
+ input: {
5615
+ schema: {
5616
+ [k: string]: any;
5617
+ };
5618
+ };
5619
+ output: {
5620
+ schema: {
5621
+ [k: string]: any;
5622
+ };
5623
+ };
5624
+ };
5625
+ };
5626
+ configuration?: {
5682
5627
  /**
5683
- * Name of the [Interface](#schema_interface)
5628
+ * Configuration data
5684
5629
  */
5685
- name: string;
5630
+ data?: {
5631
+ [k: string]: any;
5632
+ };
5686
5633
  /**
5687
- * Version of the [Interface](#schema_interface)
5634
+ * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
5688
5635
  */
5689
- version: string;
5690
- entities: {
5636
+ schema?: {
5637
+ [k: string]: any;
5638
+ };
5639
+ };
5640
+ user?: {
5641
+ tags?: {
5691
5642
  /**
5692
- * Entity definition
5643
+ * Definition of a tag that can be provided on the object
5693
5644
  */
5694
5645
  [k: string]: {
5695
5646
  /**
5696
- * Title of the entity
5647
+ * Title of the tag
5697
5648
  */
5698
5649
  title?: string;
5699
5650
  /**
5700
- * Description of the entity
5651
+ * Description of the tag
5701
5652
  */
5702
5653
  description?: string;
5703
- schema: {
5704
- [k: string]: any;
5705
- };
5706
5654
  };
5707
5655
  };
5708
- events: {
5656
+ };
5657
+ conversation?: {
5658
+ tags?: {
5709
5659
  /**
5710
- * Event Definition
5660
+ * Definition of a tag that can be provided on the object
5711
5661
  */
5712
5662
  [k: string]: {
5713
5663
  /**
5714
- * Title of the event
5664
+ * Title of the tag
5715
5665
  */
5716
5666
  title?: string;
5717
5667
  /**
5718
- * Description of the event
5668
+ * Description of the tag
5719
5669
  */
5720
5670
  description?: string;
5721
- schema: {
5722
- [k: string]: any;
5723
- };
5724
- /**
5725
- * Optional attributes
5726
- */
5727
- attributes?: {
5728
- [k: string]: string;
5729
- };
5730
5671
  };
5731
5672
  };
5732
- actions: {
5673
+ };
5674
+ message?: {
5675
+ tags?: {
5733
5676
  /**
5734
- * Action definition
5677
+ * Definition of a tag that can be provided on the object
5735
5678
  */
5736
5679
  [k: string]: {
5737
5680
  /**
5738
- * Title of the action
5681
+ * Title of the tag
5739
5682
  */
5740
5683
  title?: string;
5741
5684
  /**
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
-
5989
- interface CreateBotRequestHeaders {
5990
- }
5991
- interface CreateBotRequestQuery {
5992
- }
5993
- interface CreateBotRequestParams {
5994
- }
5995
- interface CreateBotRequestBody {
5996
- /**
5997
- * A mapping of states to their definition
5998
- */
5999
- states?: {
6000
- [k: string]: {
6001
- /**
6002
- * Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)
6003
- */
6004
- type: "conversation" | "user" | "bot" | "task";
6005
- /**
6006
- * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
6007
- */
6008
- schema: {
6009
- [k: string]: any;
6010
- };
6011
- /**
6012
- * Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn't expire.
6013
- */
6014
- expiry?: number;
6015
- };
6016
- };
6017
- /**
6018
- * Events definition
6019
- */
6020
- events?: {
6021
- /**
6022
- * Event Definition
6023
- */
6024
- [k: string]: {
6025
- /**
6026
- * Title of the event
6027
- */
6028
- title?: string;
6029
- /**
6030
- * Description of the event
6031
- */
6032
- description?: string;
6033
- schema: {
6034
- [k: string]: any;
6035
- };
6036
- /**
6037
- * Optional attributes
6038
- */
6039
- attributes?: {
6040
- [k: string]: string;
6041
- };
6042
- };
6043
- };
6044
- recurringEvents?: {
6045
- [k: string]: {
6046
- schedule: {
6047
- cron: string;
6048
- };
6049
- type: string;
6050
- payload: {
6051
- [k: string]: any;
6052
- };
6053
- };
6054
- };
6055
- /**
6056
- * Subscriptions of the bot
6057
- */
6058
- subscriptions?: {
6059
- /**
6060
- * Events that the bot is currently subscribed on (ex: "slack:reactionAdded"). If null, the bot is subscribed to all events.
6061
- */
6062
- events: {
6063
- [k: string]: {};
6064
- } | null;
6065
- };
6066
- /**
6067
- * Actions definition
6068
- */
6069
- actions?: {
6070
- /**
6071
- * Action definition
6072
- */
6073
- [k: string]: {
6074
- /**
6075
- * Title of the action
6076
- */
6077
- title?: string;
6078
- /**
6079
- * Description of the action
6080
- */
6081
- description?: string;
6082
- billable?: boolean;
6083
- cacheable?: boolean;
6084
- input: {
6085
- schema: {
6086
- [k: string]: any;
6087
- };
6088
- };
6089
- output: {
6090
- schema: {
6091
- [k: string]: any;
6092
- };
6093
- };
6094
- /**
6095
- * Optional attributes
6096
- */
6097
- attributes?: {
6098
- [k: string]: string;
6099
- };
6100
- };
6101
- };
6102
- configuration?: {
6103
- /**
6104
- * Configuration data
6105
- */
6106
- data?: {
6107
- [k: string]: any;
6108
- };
6109
- /**
6110
- * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
6111
- */
6112
- schema?: {
6113
- [k: string]: any;
6114
- };
6115
- };
6116
- user?: {
6117
- tags?: {
6118
- /**
6119
- * Definition of a tag that can be provided on the object
6120
- */
6121
- [k: string]: {
6122
- /**
6123
- * Title of the tag
6124
- */
6125
- title?: string;
6126
- /**
6127
- * Description of the tag
6128
- */
6129
- description?: string;
6130
- };
6131
- };
6132
- };
6133
- conversation?: {
6134
- tags?: {
6135
- /**
6136
- * Definition of a tag that can be provided on the object
6137
- */
6138
- [k: string]: {
6139
- /**
6140
- * Title of the tag
6141
- */
6142
- title?: string;
6143
- /**
6144
- * Description of the tag
6145
- */
6146
- description?: string;
6147
- };
6148
- };
6149
- };
6150
- message?: {
6151
- tags?: {
6152
- /**
6153
- * Definition of a tag that can be provided on the object
6154
- */
6155
- [k: string]: {
6156
- /**
6157
- * Title of the tag
6158
- */
6159
- title?: string;
6160
- /**
6161
- * Description of the tag
5685
+ * Description of the tag
6162
5686
  */
6163
5687
  description?: string;
6164
5688
  };
6165
5689
  };
6166
5690
  };
6167
5691
  /**
6168
- * Optional attributes of the [Bot](#schema_bot)
5692
+ * Tags of the [Bot](#schema_bot)
6169
5693
  */
6170
5694
  tags?: {
6171
5695
  [k: string]: string;
@@ -6236,10 +5760,6 @@ interface CreateBotResponse {
6236
5760
  };
6237
5761
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
6238
5762
  statusReason: string | null;
6239
- /**
6240
- * Disabled channels for this integration
6241
- */
6242
- disabledChannels: string[];
6243
5763
  /**
6244
5764
  * ID of the [Integration](#schema_integration)
6245
5765
  */
@@ -6274,57 +5794,6 @@ interface CreateBotResponse {
6274
5794
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
6275
5795
  };
6276
5796
  };
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
- };
6328
5797
  /**
6329
5798
  * User object configuration
6330
5799
  */
@@ -6442,12 +5911,6 @@ interface CreateBotResponse {
6442
5911
  schema: {
6443
5912
  [k: string]: any;
6444
5913
  };
6445
- /**
6446
- * Optional attributes
6447
- */
6448
- attributes?: {
6449
- [k: string]: string;
6450
- };
6451
5914
  };
6452
5915
  };
6453
5916
  /**
@@ -6511,12 +5974,6 @@ interface CreateBotResponse {
6511
5974
  [k: string]: any;
6512
5975
  };
6513
5976
  };
6514
- /**
6515
- * Optional attributes
6516
- */
6517
- attributes?: {
6518
- [k: string]: string;
6519
- };
6520
5977
  };
6521
5978
  };
6522
5979
  /**
@@ -6596,7 +6053,7 @@ interface UpdateBotRequestBody {
6596
6053
  };
6597
6054
  };
6598
6055
  /**
6599
- * Optional attributes of the [Bot](#schema_bot)
6056
+ * Tags of the [Bot](#schema_bot)
6600
6057
  */
6601
6058
  tags?: {
6602
6059
  [k: string]: string;
@@ -6658,6 +6115,9 @@ interface UpdateBotRequestBody {
6658
6115
  };
6659
6116
  };
6660
6117
  events?: {
6118
+ /**
6119
+ * Event Definition
6120
+ */
6661
6121
  [k: string]: {
6662
6122
  /**
6663
6123
  * Title of the event
@@ -6670,15 +6130,12 @@ interface UpdateBotRequestBody {
6670
6130
  schema: {
6671
6131
  [k: string]: any;
6672
6132
  };
6673
- /**
6674
- * Optional attributes. Set attributes to null to remove them
6675
- */
6676
- attributes?: {
6677
- [k: string]: string | null;
6678
- };
6679
6133
  } | null;
6680
6134
  };
6681
6135
  actions?: {
6136
+ /**
6137
+ * Action definition
6138
+ */
6682
6139
  [k: string]: {
6683
6140
  /**
6684
6141
  * Title of the action
@@ -6700,12 +6157,6 @@ interface UpdateBotRequestBody {
6700
6157
  [k: string]: any;
6701
6158
  };
6702
6159
  };
6703
- /**
6704
- * Optional attributes. Set attributes to null to remove them
6705
- */
6706
- attributes?: {
6707
- [k: string]: string | null;
6708
- };
6709
6160
  } | null;
6710
6161
  };
6711
6162
  states?: {
@@ -6747,22 +6198,6 @@ interface UpdateBotRequestBody {
6747
6198
  configuration?: {
6748
6199
  [k: string]: any;
6749
6200
  };
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;
6763
- configuration?: {
6764
- [k: string]: any;
6765
- };
6766
6201
  } | null;
6767
6202
  };
6768
6203
  subscriptions?: {
@@ -6799,123 +6234,68 @@ interface UpdateBotResponse {
6799
6234
  */
6800
6235
  createdAt: string;
6801
6236
  /**
6802
- * Updating date of the [Bot](#schema_bot) in ISO 8601 format
6803
- */
6804
- updatedAt: string;
6805
- /**
6806
- * Signing secret of the [Bot](#schema_bot)
6807
- */
6808
- signingSecret: string;
6809
- /**
6810
- * A mapping of integrations to their configuration
6811
- */
6812
- integrations: {
6813
- [k: string]: {
6814
- enabled: boolean;
6815
- /**
6816
- * Name of the [Integration](#schema_integration)
6817
- */
6818
- name: string;
6819
- /**
6820
- * Version of the [Integration](#schema_integration)
6821
- */
6822
- version: string;
6823
- webhookUrl: string;
6824
- webhookId: string;
6825
- identifier?: string;
6826
- configurationType: string | null;
6827
- configuration: {
6828
- [k: string]: any;
6829
- };
6830
- status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
6831
- statusReason: string | null;
6832
- /**
6833
- * Disabled channels for this integration
6834
- */
6835
- disabledChannels: string[];
6836
- /**
6837
- * ID of the [Integration](#schema_integration)
6838
- */
6839
- id: string;
6840
- /**
6841
- * Creation date of the [Integration](#schema_integration) in ISO 8601 format
6842
- */
6843
- createdAt: string;
6844
- /**
6845
- * Updating date of the [Integration](#schema_integration) in ISO 8601 format
6846
- */
6847
- updatedAt: string;
6848
- /**
6849
- * Title of the integration. This is the name that will be displayed in the UI
6850
- */
6851
- title: string;
6852
- /**
6853
- * Description of the integration. This is the description that will be displayed in the UI
6854
- */
6855
- description: string;
6856
- /**
6857
- * URL of the icon of the integration. This is the icon that will be displayed in the UI
6858
- */
6859
- iconUrl: string;
6860
- /**
6861
- * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6862
- */
6863
- public: boolean;
6864
- /**
6865
- * Status of the integration version verification
6866
- */
6867
- verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
6868
- };
6869
- };
6237
+ * Updating date of the [Bot](#schema_bot) in ISO 8601 format
6238
+ */
6239
+ updatedAt: string;
6240
+ /**
6241
+ * Signing secret of the [Bot](#schema_bot)
6242
+ */
6243
+ signingSecret: string;
6870
6244
  /**
6871
- * A mapping of plugin aliases to their configuration
6245
+ * A mapping of integrations to their configuration
6872
6246
  */
6873
- plugins: {
6247
+ integrations: {
6874
6248
  [k: string]: {
6875
6249
  enabled: boolean;
6876
6250
  /**
6877
- * Name of the [Plugin](#schema_plugin)
6251
+ * Name of the [Integration](#schema_integration)
6878
6252
  */
6879
6253
  name: string;
6880
6254
  /**
6881
- * Version of the [Plugin](#schema_plugin)
6255
+ * Version of the [Integration](#schema_integration)
6882
6256
  */
6883
6257
  version: string;
6258
+ webhookUrl: string;
6259
+ webhookId: string;
6260
+ identifier?: string;
6261
+ configurationType: string | null;
6884
6262
  configuration: {
6885
6263
  [k: string]: any;
6886
6264
  };
6265
+ status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
6266
+ statusReason: string | null;
6887
6267
  /**
6888
- * ID of the [Plugin](#schema_plugin)
6268
+ * ID of the [Integration](#schema_integration)
6889
6269
  */
6890
6270
  id: string;
6891
6271
  /**
6892
- * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
6272
+ * Creation date of the [Integration](#schema_integration) in ISO 8601 format
6893
6273
  */
6894
6274
  createdAt: string;
6895
6275
  /**
6896
- * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
6276
+ * Updating date of the [Integration](#schema_integration) in ISO 8601 format
6897
6277
  */
6898
6278
  updatedAt: string;
6899
6279
  /**
6900
- * Title of the plugin. This is the name that will be displayed in the UI
6280
+ * Title of the integration. This is the name that will be displayed in the UI
6901
6281
  */
6902
6282
  title: string;
6903
6283
  /**
6904
- * Description of the plugin. This is the description that will be displayed in the UI
6284
+ * Description of the integration. This is the description that will be displayed in the UI
6905
6285
  */
6906
6286
  description: string;
6907
6287
  /**
6908
- * URL of the icon of the plugin. This is the icon that will be displayed in the UI
6288
+ * URL of the icon of the integration. This is the icon that will be displayed in the UI
6909
6289
  */
6910
6290
  iconUrl: string;
6911
6291
  /**
6912
- * URL of the readme of the plugin. This is the readme that will be displayed in the UI
6292
+ * Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
6913
6293
  */
6914
- readmeUrl: string;
6294
+ public: boolean;
6915
6295
  /**
6916
- * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
6296
+ * Status of the integration version verification
6917
6297
  */
6918
- public: boolean;
6298
+ verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
6919
6299
  };
6920
6300
  };
6921
6301
  /**
@@ -7035,12 +6415,6 @@ interface UpdateBotResponse {
7035
6415
  schema: {
7036
6416
  [k: string]: any;
7037
6417
  };
7038
- /**
7039
- * Optional attributes
7040
- */
7041
- attributes?: {
7042
- [k: string]: string;
7043
- };
7044
6418
  };
7045
6419
  };
7046
6420
  /**
@@ -7104,12 +6478,6 @@ interface UpdateBotResponse {
7104
6478
  [k: string]: any;
7105
6479
  };
7106
6480
  };
7107
- /**
7108
- * Optional attributes
7109
- */
7110
- attributes?: {
7111
- [k: string]: string;
7112
- };
7113
6481
  };
7114
6482
  };
7115
6483
  /**
@@ -7273,10 +6641,6 @@ interface GetBotResponse {
7273
6641
  };
7274
6642
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
7275
6643
  statusReason: string | null;
7276
- /**
7277
- * Disabled channels for this integration
7278
- */
7279
- disabledChannels: string[];
7280
6644
  /**
7281
6645
  * ID of the [Integration](#schema_integration)
7282
6646
  */
@@ -7311,57 +6675,6 @@ interface GetBotResponse {
7311
6675
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
7312
6676
  };
7313
6677
  };
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
- };
7365
6678
  /**
7366
6679
  * User object configuration
7367
6680
  */
@@ -7479,12 +6792,6 @@ interface GetBotResponse {
7479
6792
  schema: {
7480
6793
  [k: string]: any;
7481
6794
  };
7482
- /**
7483
- * Optional attributes
7484
- */
7485
- attributes?: {
7486
- [k: string]: string;
7487
- };
7488
6795
  };
7489
6796
  };
7490
6797
  /**
@@ -7548,12 +6855,6 @@ interface GetBotResponse {
7548
6855
  [k: string]: any;
7549
6856
  };
7550
6857
  };
7551
- /**
7552
- * Optional attributes
7553
- */
7554
- attributes?: {
7555
- [k: string]: string;
7556
- };
7557
6858
  };
7558
6859
  };
7559
6860
  /**
@@ -7624,7 +6925,6 @@ interface GetBotLogsRequestQuery {
7624
6925
  userId?: string;
7625
6926
  workflowId?: string;
7626
6927
  conversationId?: string;
7627
- messageContains?: string;
7628
6928
  nextToken?: string;
7629
6929
  }
7630
6930
  interface GetBotLogsRequestParams {
@@ -7953,72 +7253,6 @@ interface GetIntegrationShareableIdResponse {
7953
7253
  isExpired: boolean;
7954
7254
  }
7955
7255
 
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
-
8022
7256
  interface ListWorkspaceInvoicesRequestHeaders {
8023
7257
  }
8024
7258
  interface ListWorkspaceInvoicesRequestQuery {
@@ -8793,12 +8027,6 @@ interface CreateIntegrationRequestBody {
8793
8027
  schema: {
8794
8028
  [k: string]: any;
8795
8029
  };
8796
- /**
8797
- * Optional attributes
8798
- */
8799
- attributes?: {
8800
- [k: string]: string;
8801
- };
8802
8030
  };
8803
8031
  };
8804
8032
  actions?: {
@@ -8826,12 +8054,6 @@ interface CreateIntegrationRequestBody {
8826
8054
  [k: string]: any;
8827
8055
  };
8828
8056
  };
8829
- /**
8830
- * Optional attributes
8831
- */
8832
- attributes?: {
8833
- [k: string]: string;
8834
- };
8835
8057
  };
8836
8058
  };
8837
8059
  entities?: {
@@ -8852,12 +8074,6 @@ interface CreateIntegrationRequestBody {
8852
8074
  };
8853
8075
  };
8854
8076
  };
8855
- /**
8856
- * Optional attributes
8857
- */
8858
- attributes?: {
8859
- [k: string]: string;
8860
- };
8861
8077
  identifier?: {
8862
8078
  fallbackHandlerScript?: string;
8863
8079
  extractScript?: string;
@@ -9280,12 +8496,6 @@ interface CreateIntegrationResponse {
9280
8496
  schema: {
9281
8497
  [k: string]: any;
9282
8498
  };
9283
- /**
9284
- * Optional attributes
9285
- */
9286
- attributes?: {
9287
- [k: string]: string;
9288
- };
9289
8499
  };
9290
8500
  };
9291
8501
  actions: {
@@ -9313,12 +8523,6 @@ interface CreateIntegrationResponse {
9313
8523
  [k: string]: any;
9314
8524
  };
9315
8525
  };
9316
- /**
9317
- * Optional attributes
9318
- */
9319
- attributes?: {
9320
- [k: string]: string;
9321
- };
9322
8526
  };
9323
8527
  };
9324
8528
  /**
@@ -9372,12 +8576,6 @@ interface CreateIntegrationResponse {
9372
8576
  };
9373
8577
  };
9374
8578
  };
9375
- /**
9376
- * Optional attributes
9377
- */
9378
- attributes?: {
9379
- [k: string]: string;
9380
- };
9381
8579
  /**
9382
8580
  * Indicates if the integration is a development integration; Dev integrations run locally
9383
8581
  */
@@ -9509,12 +8707,6 @@ interface ValidateIntegrationCreationRequestBody {
9509
8707
  schema: {
9510
8708
  [k: string]: any;
9511
8709
  };
9512
- /**
9513
- * Optional attributes
9514
- */
9515
- attributes?: {
9516
- [k: string]: string;
9517
- };
9518
8710
  };
9519
8711
  };
9520
8712
  actions?: {
@@ -9542,12 +8734,6 @@ interface ValidateIntegrationCreationRequestBody {
9542
8734
  [k: string]: any;
9543
8735
  };
9544
8736
  };
9545
- /**
9546
- * Optional attributes
9547
- */
9548
- attributes?: {
9549
- [k: string]: string;
9550
- };
9551
8737
  };
9552
8738
  };
9553
8739
  entities?: {
@@ -9568,12 +8754,6 @@ interface ValidateIntegrationCreationRequestBody {
9568
8754
  };
9569
8755
  };
9570
8756
  };
9571
- /**
9572
- * Optional attributes
9573
- */
9574
- attributes?: {
9575
- [k: string]: string;
9576
- };
9577
8757
  identifier?: {
9578
8758
  fallbackHandlerScript?: string;
9579
8759
  extractScript?: string;
@@ -9879,6 +9059,9 @@ interface UpdateIntegrationRequestBody {
9879
9059
  fallbackHandlerScript?: string | null;
9880
9060
  };
9881
9061
  actions?: {
9062
+ /**
9063
+ * Action definition
9064
+ */
9882
9065
  [k: string]: {
9883
9066
  /**
9884
9067
  * Title of the action
@@ -9900,15 +9083,12 @@ interface UpdateIntegrationRequestBody {
9900
9083
  [k: string]: any;
9901
9084
  };
9902
9085
  };
9903
- /**
9904
- * Optional attributes. Set attributes to null to remove them
9905
- */
9906
- attributes?: {
9907
- [k: string]: string | null;
9908
- };
9909
9086
  } | null;
9910
9087
  };
9911
9088
  events?: {
9089
+ /**
9090
+ * Event Definition
9091
+ */
9912
9092
  [k: string]: {
9913
9093
  /**
9914
9094
  * Title of the event
@@ -9921,12 +9101,6 @@ interface UpdateIntegrationRequestBody {
9921
9101
  schema: {
9922
9102
  [k: string]: any;
9923
9103
  };
9924
- /**
9925
- * Optional attributes. Set attributes to null to remove them
9926
- */
9927
- attributes?: {
9928
- [k: string]: string | null;
9929
- };
9930
9104
  } | null;
9931
9105
  };
9932
9106
  states?: {
@@ -10026,12 +9200,6 @@ interface UpdateIntegrationRequestBody {
10026
9200
  identifierExtractScript?: string | null;
10027
9201
  messageExtractScript?: string | null;
10028
9202
  };
10029
- /**
10030
- * Optional attributes. Set attributes to null to remove them
10031
- */
10032
- attributes?: {
10033
- [k: string]: string | null;
10034
- };
10035
9203
  /**
10036
9204
  * 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.
10037
9205
  */
@@ -10319,12 +9487,6 @@ interface UpdateIntegrationResponse {
10319
9487
  schema: {
10320
9488
  [k: string]: any;
10321
9489
  };
10322
- /**
10323
- * Optional attributes
10324
- */
10325
- attributes?: {
10326
- [k: string]: string;
10327
- };
10328
9490
  };
10329
9491
  };
10330
9492
  actions: {
@@ -10352,12 +9514,6 @@ interface UpdateIntegrationResponse {
10352
9514
  [k: string]: any;
10353
9515
  };
10354
9516
  };
10355
- /**
10356
- * Optional attributes
10357
- */
10358
- attributes?: {
10359
- [k: string]: string;
10360
- };
10361
9517
  };
10362
9518
  };
10363
9519
  /**
@@ -10411,12 +9567,6 @@ interface UpdateIntegrationResponse {
10411
9567
  };
10412
9568
  };
10413
9569
  };
10414
- /**
10415
- * Optional attributes
10416
- */
10417
- attributes?: {
10418
- [k: string]: string;
10419
- };
10420
9570
  /**
10421
9571
  * Indicates if the integration is a development integration; Dev integrations run locally
10422
9572
  */
@@ -10582,6 +9732,9 @@ interface ValidateIntegrationUpdateRequestBody {
10582
9732
  fallbackHandlerScript?: string | null;
10583
9733
  };
10584
9734
  actions?: {
9735
+ /**
9736
+ * Action definition
9737
+ */
10585
9738
  [k: string]: {
10586
9739
  /**
10587
9740
  * Title of the action
@@ -10603,15 +9756,12 @@ interface ValidateIntegrationUpdateRequestBody {
10603
9756
  [k: string]: any;
10604
9757
  };
10605
9758
  };
10606
- /**
10607
- * Optional attributes. Set attributes to null to remove them
10608
- */
10609
- attributes?: {
10610
- [k: string]: string | null;
10611
- };
10612
9759
  } | null;
10613
9760
  };
10614
9761
  events?: {
9762
+ /**
9763
+ * Event Definition
9764
+ */
10615
9765
  [k: string]: {
10616
9766
  /**
10617
9767
  * Title of the event
@@ -10624,12 +9774,6 @@ interface ValidateIntegrationUpdateRequestBody {
10624
9774
  schema: {
10625
9775
  [k: string]: any;
10626
9776
  };
10627
- /**
10628
- * Optional attributes. Set attributes to null to remove them
10629
- */
10630
- attributes?: {
10631
- [k: string]: string | null;
10632
- };
10633
9777
  } | null;
10634
9778
  };
10635
9779
  states?: {
@@ -10729,12 +9873,6 @@ interface ValidateIntegrationUpdateRequestBody {
10729
9873
  identifierExtractScript?: string | null;
10730
9874
  messageExtractScript?: string | null;
10731
9875
  };
10732
- /**
10733
- * Optional attributes. Set attributes to null to remove them
10734
- */
10735
- attributes?: {
10736
- [k: string]: string | null;
10737
- };
10738
9876
  /**
10739
9877
  * 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.
10740
9878
  */
@@ -11138,12 +10276,6 @@ interface GetIntegrationResponse {
11138
10276
  schema: {
11139
10277
  [k: string]: any;
11140
10278
  };
11141
- /**
11142
- * Optional attributes
11143
- */
11144
- attributes?: {
11145
- [k: string]: string;
11146
- };
11147
10279
  };
11148
10280
  };
11149
10281
  actions: {
@@ -11171,12 +10303,6 @@ interface GetIntegrationResponse {
11171
10303
  [k: string]: any;
11172
10304
  };
11173
10305
  };
11174
- /**
11175
- * Optional attributes
11176
- */
11177
- attributes?: {
11178
- [k: string]: string;
11179
- };
11180
10306
  };
11181
10307
  };
11182
10308
  /**
@@ -11230,12 +10356,6 @@ interface GetIntegrationResponse {
11230
10356
  };
11231
10357
  };
11232
10358
  };
11233
- /**
11234
- * Optional attributes
11235
- */
11236
- attributes?: {
11237
- [k: string]: string;
11238
- };
11239
10359
  /**
11240
10360
  * Indicates if the integration is a development integration; Dev integrations run locally
11241
10361
  */
@@ -11279,7 +10399,6 @@ interface GetIntegrationLogsRequestQuery {
11279
10399
  level?: string;
11280
10400
  userId?: string;
11281
10401
  conversationId?: string;
11282
- messageContains?: string;
11283
10402
  nextToken?: string;
11284
10403
  }
11285
10404
  interface GetIntegrationLogsRequestParams {
@@ -11561,12 +10680,6 @@ interface GetIntegrationByNameResponse {
11561
10680
  schema: {
11562
10681
  [k: string]: any;
11563
10682
  };
11564
- /**
11565
- * Optional attributes
11566
- */
11567
- attributes?: {
11568
- [k: string]: string;
11569
- };
11570
10683
  };
11571
10684
  };
11572
10685
  actions: {
@@ -11594,12 +10707,6 @@ interface GetIntegrationByNameResponse {
11594
10707
  [k: string]: any;
11595
10708
  };
11596
10709
  };
11597
- /**
11598
- * Optional attributes
11599
- */
11600
- attributes?: {
11601
- [k: string]: string;
11602
- };
11603
10710
  };
11604
10711
  };
11605
10712
  /**
@@ -11653,12 +10760,6 @@ interface GetIntegrationByNameResponse {
11653
10760
  };
11654
10761
  };
11655
10762
  };
11656
- /**
11657
- * Optional attributes
11658
- */
11659
- attributes?: {
11660
- [k: string]: string;
11661
- };
11662
10763
  /**
11663
10764
  * Indicates if the integration is a development integration; Dev integrations run locally
11664
10765
  */
@@ -11769,12 +10870,6 @@ interface CreateInterfaceRequestBody {
11769
10870
  schema: {
11770
10871
  [k: string]: any;
11771
10872
  };
11772
- /**
11773
- * Optional attributes
11774
- */
11775
- attributes?: {
11776
- [k: string]: string;
11777
- };
11778
10873
  };
11779
10874
  };
11780
10875
  actions?: {
@@ -11802,12 +10897,6 @@ interface CreateInterfaceRequestBody {
11802
10897
  [k: string]: any;
11803
10898
  };
11804
10899
  };
11805
- /**
11806
- * Optional attributes
11807
- */
11808
- attributes?: {
11809
- [k: string]: string;
11810
- };
11811
10900
  };
11812
10901
  };
11813
10902
  channels?: {
@@ -11823,48 +10912,22 @@ interface CreateInterfaceRequestBody {
11823
10912
  messages: {
11824
10913
  /**
11825
10914
  * Message definition
11826
- */
11827
- [k: string]: {
11828
- schema: {
11829
- [k: string]: any;
11830
- };
11831
- };
11832
- };
11833
- };
11834
- };
11835
- /**
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.
11854
- */
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;
10915
+ */
10916
+ [k: string]: {
10917
+ schema: {
10918
+ [k: string]: any;
10919
+ };
10920
+ };
10921
+ };
10922
+ };
10923
+ };
11864
10924
  /**
11865
- * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10925
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
11866
10926
  */
11867
- public?: boolean;
10927
+ nameTemplate?: {
10928
+ script: string;
10929
+ language: string;
10930
+ };
11868
10931
  }
11869
10932
  type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
11870
10933
  interface CreateInterfaceResponse {
@@ -11923,12 +10986,6 @@ interface CreateInterfaceResponse {
11923
10986
  schema: {
11924
10987
  [k: string]: any;
11925
10988
  };
11926
- /**
11927
- * Optional attributes
11928
- */
11929
- attributes?: {
11930
- [k: string]: string;
11931
- };
11932
10989
  };
11933
10990
  };
11934
10991
  actions: {
@@ -11956,12 +11013,6 @@ interface CreateInterfaceResponse {
11956
11013
  [k: string]: any;
11957
11014
  };
11958
11015
  };
11959
- /**
11960
- * Optional attributes
11961
- */
11962
- attributes?: {
11963
- [k: string]: string;
11964
- };
11965
11016
  };
11966
11017
  };
11967
11018
  channels: {
@@ -11993,32 +11044,6 @@ interface CreateInterfaceResponse {
11993
11044
  script: string;
11994
11045
  language: string;
11995
11046
  };
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;
12022
11047
  };
12023
11048
  }
12024
11049
 
@@ -12088,12 +11113,6 @@ interface GetInterfaceResponse {
12088
11113
  schema: {
12089
11114
  [k: string]: any;
12090
11115
  };
12091
- /**
12092
- * Optional attributes
12093
- */
12094
- attributes?: {
12095
- [k: string]: string;
12096
- };
12097
11116
  };
12098
11117
  };
12099
11118
  actions: {
@@ -12121,12 +11140,6 @@ interface GetInterfaceResponse {
12121
11140
  [k: string]: any;
12122
11141
  };
12123
11142
  };
12124
- /**
12125
- * Optional attributes
12126
- */
12127
- attributes?: {
12128
- [k: string]: string;
12129
- };
12130
11143
  };
12131
11144
  };
12132
11145
  channels: {
@@ -12158,32 +11171,6 @@ interface GetInterfaceResponse {
12158
11171
  script: string;
12159
11172
  language: string;
12160
11173
  };
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;
12187
11174
  };
12188
11175
  }
12189
11176
 
@@ -12254,12 +11241,6 @@ interface GetInterfaceByNameResponse {
12254
11241
  schema: {
12255
11242
  [k: string]: any;
12256
11243
  };
12257
- /**
12258
- * Optional attributes
12259
- */
12260
- attributes?: {
12261
- [k: string]: string;
12262
- };
12263
11244
  };
12264
11245
  };
12265
11246
  actions: {
@@ -12287,12 +11268,6 @@ interface GetInterfaceByNameResponse {
12287
11268
  [k: string]: any;
12288
11269
  };
12289
11270
  };
12290
- /**
12291
- * Optional attributes
12292
- */
12293
- attributes?: {
12294
- [k: string]: string;
12295
- };
12296
11271
  };
12297
11272
  };
12298
11273
  channels: {
@@ -12324,32 +11299,6 @@ interface GetInterfaceByNameResponse {
12324
11299
  script: string;
12325
11300
  language: string;
12326
11301
  };
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;
12353
11302
  };
12354
11303
  }
12355
11304
 
@@ -12380,6 +11329,9 @@ interface UpdateInterfaceRequestBody {
12380
11329
  } | null;
12381
11330
  };
12382
11331
  events?: {
11332
+ /**
11333
+ * Event Definition
11334
+ */
12383
11335
  [k: string]: {
12384
11336
  /**
12385
11337
  * Title of the event
@@ -12392,15 +11344,12 @@ interface UpdateInterfaceRequestBody {
12392
11344
  schema: {
12393
11345
  [k: string]: any;
12394
11346
  };
12395
- /**
12396
- * Optional attributes. Set attributes to null to remove them
12397
- */
12398
- attributes?: {
12399
- [k: string]: string | null;
12400
- };
12401
11347
  } | null;
12402
11348
  };
12403
11349
  actions?: {
11350
+ /**
11351
+ * Action definition
11352
+ */
12404
11353
  [k: string]: {
12405
11354
  /**
12406
11355
  * Title of the action
@@ -12422,12 +11371,6 @@ interface UpdateInterfaceRequestBody {
12422
11371
  [k: string]: any;
12423
11372
  };
12424
11373
  };
12425
- /**
12426
- * Optional attributes. Set attributes to null to remove them
12427
- */
12428
- attributes?: {
12429
- [k: string]: string | null;
12430
- };
12431
11374
  } | null;
12432
11375
  };
12433
11376
  channels?: {
@@ -12459,32 +11402,6 @@ interface UpdateInterfaceRequestBody {
12459
11402
  script: string;
12460
11403
  language: string;
12461
11404
  } | 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;
12488
11405
  }
12489
11406
  type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
12490
11407
  interface UpdateInterfaceResponse {
@@ -12543,12 +11460,6 @@ interface UpdateInterfaceResponse {
12543
11460
  schema: {
12544
11461
  [k: string]: any;
12545
11462
  };
12546
- /**
12547
- * Optional attributes
12548
- */
12549
- attributes?: {
12550
- [k: string]: string;
12551
- };
12552
11463
  };
12553
11464
  };
12554
11465
  actions: {
@@ -12576,12 +11487,6 @@ interface UpdateInterfaceResponse {
12576
11487
  [k: string]: any;
12577
11488
  };
12578
11489
  };
12579
- /**
12580
- * Optional attributes
12581
- */
12582
- attributes?: {
12583
- [k: string]: string;
12584
- };
12585
11490
  };
12586
11491
  };
12587
11492
  channels: {
@@ -12613,32 +11518,6 @@ interface UpdateInterfaceResponse {
12613
11518
  script: string;
12614
11519
  language: string;
12615
11520
  };
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;
12642
11521
  };
12643
11522
  }
12644
11523
 
@@ -12660,7 +11539,6 @@ interface ListInterfacesRequestHeaders {
12660
11539
  interface ListInterfacesRequestQuery {
12661
11540
  nextToken?: string;
12662
11541
  name?: string;
12663
- version?: string;
12664
11542
  }
12665
11543
  interface ListInterfacesRequestParams {
12666
11544
  }
@@ -12689,26 +11567,6 @@ interface ListInterfacesResponse {
12689
11567
  * Version of the [Interface](#schema_interface)
12690
11568
  */
12691
11569
  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;
12712
11570
  }[];
12713
11571
  meta: {
12714
11572
  /**
@@ -12786,12 +11644,6 @@ interface CreatePluginRequestBody {
12786
11644
  schema: {
12787
11645
  [k: string]: any;
12788
11646
  };
12789
- /**
12790
- * Optional attributes
12791
- */
12792
- attributes?: {
12793
- [k: string]: string;
12794
- };
12795
11647
  };
12796
11648
  };
12797
11649
  actions?: {
@@ -12819,12 +11671,6 @@ interface CreatePluginRequestBody {
12819
11671
  [k: string]: any;
12820
11672
  };
12821
11673
  };
12822
- /**
12823
- * Optional attributes
12824
- */
12825
- attributes?: {
12826
- [k: string]: string;
12827
- };
12828
11674
  };
12829
11675
  };
12830
11676
  /**
@@ -12879,12 +11725,6 @@ interface CreatePluginRequestBody {
12879
11725
  };
12880
11726
  };
12881
11727
  };
12882
- /**
12883
- * Optional attributes
12884
- */
12885
- attributes?: {
12886
- [k: string]: string;
12887
- };
12888
11728
  code: {
12889
11729
  /**
12890
11730
  * Code of plugin bundled for Node.JS
@@ -12992,12 +11832,6 @@ interface CreatePluginResponse {
12992
11832
  schema: {
12993
11833
  [k: string]: any;
12994
11834
  };
12995
- /**
12996
- * Optional attributes
12997
- */
12998
- attributes?: {
12999
- [k: string]: string;
13000
- };
13001
11835
  };
13002
11836
  };
13003
11837
  actions: {
@@ -13025,12 +11859,6 @@ interface CreatePluginResponse {
13025
11859
  [k: string]: any;
13026
11860
  };
13027
11861
  };
13028
- /**
13029
- * Optional attributes
13030
- */
13031
- attributes?: {
13032
- [k: string]: string;
13033
- };
13034
11862
  };
13035
11863
  };
13036
11864
  dependencies: {
@@ -13089,12 +11917,6 @@ interface CreatePluginResponse {
13089
11917
  };
13090
11918
  };
13091
11919
  };
13092
- /**
13093
- * Optional attributes
13094
- */
13095
- attributes?: {
13096
- [k: string]: string;
13097
- };
13098
11920
  /**
13099
11921
  * Title of the plugin. This is the name that will be displayed in the UI
13100
11922
  */
@@ -13203,12 +12025,6 @@ interface GetPluginResponse {
13203
12025
  schema: {
13204
12026
  [k: string]: any;
13205
12027
  };
13206
- /**
13207
- * Optional attributes
13208
- */
13209
- attributes?: {
13210
- [k: string]: string;
13211
- };
13212
12028
  };
13213
12029
  };
13214
12030
  actions: {
@@ -13236,12 +12052,6 @@ interface GetPluginResponse {
13236
12052
  [k: string]: any;
13237
12053
  };
13238
12054
  };
13239
- /**
13240
- * Optional attributes
13241
- */
13242
- attributes?: {
13243
- [k: string]: string;
13244
- };
13245
12055
  };
13246
12056
  };
13247
12057
  dependencies: {
@@ -13300,12 +12110,6 @@ interface GetPluginResponse {
13300
12110
  };
13301
12111
  };
13302
12112
  };
13303
- /**
13304
- * Optional attributes
13305
- */
13306
- attributes?: {
13307
- [k: string]: string;
13308
- };
13309
12113
  /**
13310
12114
  * Title of the plugin. This is the name that will be displayed in the UI
13311
12115
  */
@@ -13415,12 +12219,6 @@ interface GetPluginByNameResponse {
13415
12219
  schema: {
13416
12220
  [k: string]: any;
13417
12221
  };
13418
- /**
13419
- * Optional attributes
13420
- */
13421
- attributes?: {
13422
- [k: string]: string;
13423
- };
13424
12222
  };
13425
12223
  };
13426
12224
  actions: {
@@ -13448,12 +12246,6 @@ interface GetPluginByNameResponse {
13448
12246
  [k: string]: any;
13449
12247
  };
13450
12248
  };
13451
- /**
13452
- * Optional attributes
13453
- */
13454
- attributes?: {
13455
- [k: string]: string;
13456
- };
13457
12249
  };
13458
12250
  };
13459
12251
  dependencies: {
@@ -13512,12 +12304,6 @@ interface GetPluginByNameResponse {
13512
12304
  };
13513
12305
  };
13514
12306
  };
13515
- /**
13516
- * Optional attributes
13517
- */
13518
- attributes?: {
13519
- [k: string]: string;
13520
- };
13521
12307
  /**
13522
12308
  * Title of the plugin. This is the name that will be displayed in the UI
13523
12309
  */
@@ -13587,6 +12373,9 @@ interface UpdatePluginRequestBody {
13587
12373
  } | null;
13588
12374
  };
13589
12375
  events?: {
12376
+ /**
12377
+ * Event Definition
12378
+ */
13590
12379
  [k: string]: {
13591
12380
  /**
13592
12381
  * Title of the event
@@ -13599,15 +12388,12 @@ interface UpdatePluginRequestBody {
13599
12388
  schema: {
13600
12389
  [k: string]: any;
13601
12390
  };
13602
- /**
13603
- * Optional attributes. Set attributes to null to remove them
13604
- */
13605
- attributes?: {
13606
- [k: string]: string | null;
13607
- };
13608
12391
  } | null;
13609
12392
  };
13610
12393
  actions?: {
12394
+ /**
12395
+ * Action definition
12396
+ */
13611
12397
  [k: string]: {
13612
12398
  /**
13613
12399
  * Title of the action
@@ -13629,12 +12415,6 @@ interface UpdatePluginRequestBody {
13629
12415
  [k: string]: any;
13630
12416
  };
13631
12417
  };
13632
- /**
13633
- * Optional attributes. Set attributes to null to remove them
13634
- */
13635
- attributes?: {
13636
- [k: string]: string | null;
13637
- };
13638
12418
  } | null;
13639
12419
  };
13640
12420
  user?: {
@@ -13683,12 +12463,6 @@ interface UpdatePluginRequestBody {
13683
12463
  } | null;
13684
12464
  };
13685
12465
  };
13686
- /**
13687
- * Optional attributes. Set attributes to null to remove them
13688
- */
13689
- attributes?: {
13690
- [k: string]: string | null;
13691
- };
13692
12466
  code?: {
13693
12467
  /**
13694
12468
  * Code of plugin bundled for Node.JS
@@ -13796,12 +12570,6 @@ interface UpdatePluginResponse {
13796
12570
  schema: {
13797
12571
  [k: string]: any;
13798
12572
  };
13799
- /**
13800
- * Optional attributes
13801
- */
13802
- attributes?: {
13803
- [k: string]: string;
13804
- };
13805
12573
  };
13806
12574
  };
13807
12575
  actions: {
@@ -13829,12 +12597,6 @@ interface UpdatePluginResponse {
13829
12597
  [k: string]: any;
13830
12598
  };
13831
12599
  };
13832
- /**
13833
- * Optional attributes
13834
- */
13835
- attributes?: {
13836
- [k: string]: string;
13837
- };
13838
12600
  };
13839
12601
  };
13840
12602
  dependencies: {
@@ -13893,12 +12655,6 @@ interface UpdatePluginResponse {
13893
12655
  };
13894
12656
  };
13895
12657
  };
13896
- /**
13897
- * Optional attributes
13898
- */
13899
- attributes?: {
13900
- [k: string]: string;
13901
- };
13902
12658
  /**
13903
12659
  * Title of the plugin. This is the name that will be displayed in the UI
13904
12660
  */
@@ -14167,15 +12923,8 @@ interface ListUsageActivityDailyRequestBody {
14167
12923
  type ListUsageActivityDailyInput = ListUsageActivityDailyRequestBody & ListUsageActivityDailyRequestHeaders & ListUsageActivityDailyRequestQuery & ListUsageActivityDailyRequestParams;
14168
12924
  interface ListUsageActivityDailyResponse {
14169
12925
  data: {
14170
- key: string;
14171
12926
  date: string;
14172
12927
  value: number;
14173
- metadata?: {
14174
- botId: string;
14175
- type: "IntegrationAction" | "FileIndexing";
14176
- subtype: string;
14177
- source?: string;
14178
- };
14179
12928
  }[];
14180
12929
  meta: {
14181
12930
  nextToken?: string;
@@ -15032,33 +13781,6 @@ interface ListFilePassagesResponse {
15032
13781
  };
15033
13782
  }
15034
13783
 
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
-
15062
13784
  interface ListFileTagsRequestHeaders {
15063
13785
  }
15064
13786
  interface ListFileTagsRequestQuery {
@@ -16893,9 +15615,6 @@ declare class Client$1 {
16893
15615
  readonly getPublicPluginById: (input: GetPublicPluginByIdInput) => Promise<GetPublicPluginByIdResponse>;
16894
15616
  readonly getPublicPlugin: (input: GetPublicPluginInput) => Promise<GetPublicPluginResponse>;
16895
15617
  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>;
16899
15618
  readonly createBot: (input: CreateBotInput) => Promise<CreateBotResponse>;
16900
15619
  readonly updateBot: (input: UpdateBotInput) => Promise<UpdateBotResponse>;
16901
15620
  readonly transferBot: (input: TransferBotInput) => Promise<TransferBotResponse>;
@@ -16916,10 +15635,6 @@ declare class Client$1 {
16916
15635
  readonly createIntegrationShareableId: (input: CreateIntegrationShareableIdInput) => Promise<CreateIntegrationShareableIdResponse>;
16917
15636
  readonly deleteIntegrationShareableId: (input: DeleteIntegrationShareableIdInput) => Promise<DeleteIntegrationShareableIdResponse>;
16918
15637
  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>;
16923
15638
  readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
16924
15639
  readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
16925
15640
  readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
@@ -16984,7 +15699,6 @@ declare class Client$1 {
16984
15699
  readonly copyFile: (input: CopyFileInput) => Promise<CopyFileResponse>;
16985
15700
  readonly searchFiles: (input: SearchFilesInput) => Promise<SearchFilesResponse>;
16986
15701
  readonly listFilePassages: (input: ListFilePassagesInput) => Promise<ListFilePassagesResponse>;
16987
- readonly setFilePassages: (input: SetFilePassagesInput) => Promise<SetFilePassagesResponse>;
16988
15702
  readonly listFileTags: (input: ListFileTagsInput) => Promise<ListFileTagsResponse>;
16989
15703
  readonly listFileTagValues: (input: ListFileTagValuesInput) => Promise<ListFileTagValuesResponse>;
16990
15704
  readonly createKnowledgeBase: (input: CreateKnowledgeBaseInput) => Promise<CreateKnowledgeBaseResponse>;
@@ -17262,18 +15976,12 @@ declare class Client extends Client$1 implements IClient {
17262
15976
  }>;
17263
15977
  interfaces: (props: {
17264
15978
  name?: string | undefined;
17265
- version?: string | undefined;
17266
15979
  }) => AsyncCollection<{
17267
15980
  id: string;
17268
15981
  createdAt: string;
17269
15982
  updatedAt: string;
17270
15983
  name: string;
17271
15984
  version: string;
17272
- title: string;
17273
- description: string;
17274
- iconUrl: string;
17275
- readmeUrl: string;
17276
- public: boolean;
17277
15985
  }>;
17278
15986
  activities: (props: {
17279
15987
  botId: string;
@@ -17347,15 +16055,8 @@ declare class Client extends Client$1 implements IClient {
17347
16055
  dateFrom?: string | undefined;
17348
16056
  dateUntil?: string | undefined;
17349
16057
  }) => AsyncCollection<{
17350
- key: string;
17351
16058
  date: string;
17352
16059
  value: number;
17353
- metadata?: {
17354
- botId: string;
17355
- type: "IntegrationAction" | "FileIndexing";
17356
- subtype: string;
17357
- source?: string;
17358
- };
17359
16060
  }>;
17360
16061
  };
17361
16062
  /**