@botpress/client 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3520,6 +3520,12 @@ interface GetPublicIntegrationByIdResponse$1 {
3520
3520
  schema: {
3521
3521
  [k: string]: any;
3522
3522
  };
3523
+ /**
3524
+ * Optional attributes
3525
+ */
3526
+ attributes?: {
3527
+ [k: string]: string;
3528
+ };
3523
3529
  };
3524
3530
  };
3525
3531
  actions: {
@@ -3911,6 +3917,12 @@ interface GetPublicIntegrationResponse$1 {
3911
3917
  schema: {
3912
3918
  [k: string]: any;
3913
3919
  };
3920
+ /**
3921
+ * Optional attributes
3922
+ */
3923
+ attributes?: {
3924
+ [k: string]: string;
3925
+ };
3914
3926
  };
3915
3927
  };
3916
3928
  actions: {
@@ -4189,6 +4201,12 @@ interface GetPublicPluginByIdResponse$1 {
4189
4201
  schema: {
4190
4202
  [k: string]: any;
4191
4203
  };
4204
+ /**
4205
+ * Optional attributes
4206
+ */
4207
+ attributes?: {
4208
+ [k: string]: string;
4209
+ };
4192
4210
  };
4193
4211
  };
4194
4212
  actions: {
@@ -4389,6 +4407,12 @@ interface GetPublicPluginResponse$1 {
4389
4407
  schema: {
4390
4408
  [k: string]: any;
4391
4409
  };
4410
+ /**
4411
+ * Optional attributes
4412
+ */
4413
+ attributes?: {
4414
+ [k: string]: string;
4415
+ };
4392
4416
  };
4393
4417
  };
4394
4418
  actions: {
@@ -4565,6 +4589,12 @@ interface CreateBotRequestBody$1 {
4565
4589
  schema: {
4566
4590
  [k: string]: any;
4567
4591
  };
4592
+ /**
4593
+ * Optional attributes
4594
+ */
4595
+ attributes?: {
4596
+ [k: string]: string;
4597
+ };
4568
4598
  };
4569
4599
  };
4570
4600
  recurringEvents?: {
@@ -4913,6 +4943,12 @@ interface CreateBotResponse$1 {
4913
4943
  schema: {
4914
4944
  [k: string]: any;
4915
4945
  };
4946
+ /**
4947
+ * Optional attributes
4948
+ */
4949
+ attributes?: {
4950
+ [k: string]: string;
4951
+ };
4916
4952
  };
4917
4953
  };
4918
4954
  /**
@@ -5123,9 +5159,6 @@ interface UpdateBotRequestBody$1 {
5123
5159
  };
5124
5160
  };
5125
5161
  events?: {
5126
- /**
5127
- * Event Definition
5128
- */
5129
5162
  [k: string]: {
5130
5163
  /**
5131
5164
  * Title of the event
@@ -5138,12 +5171,15 @@ interface UpdateBotRequestBody$1 {
5138
5171
  schema: {
5139
5172
  [k: string]: any;
5140
5173
  };
5174
+ /**
5175
+ * Optional attributes. Set attributes to null to remove them
5176
+ */
5177
+ attributes?: {
5178
+ [k: string]: string | null;
5179
+ };
5141
5180
  } | null;
5142
5181
  };
5143
5182
  actions?: {
5144
- /**
5145
- * Action definition
5146
- */
5147
5183
  [k: string]: {
5148
5184
  /**
5149
5185
  * Title of the action
@@ -5166,10 +5202,10 @@ interface UpdateBotRequestBody$1 {
5166
5202
  };
5167
5203
  };
5168
5204
  /**
5169
- * Optional attributes
5205
+ * Optional attributes. Set attributes to null to remove them
5170
5206
  */
5171
5207
  attributes?: {
5172
- [k: string]: string;
5208
+ [k: string]: string | null;
5173
5209
  };
5174
5210
  } | null;
5175
5211
  };
@@ -5429,6 +5465,12 @@ interface UpdateBotResponse$1 {
5429
5465
  schema: {
5430
5466
  [k: string]: any;
5431
5467
  };
5468
+ /**
5469
+ * Optional attributes
5470
+ */
5471
+ attributes?: {
5472
+ [k: string]: string;
5473
+ };
5432
5474
  };
5433
5475
  };
5434
5476
  /**
@@ -5812,6 +5854,12 @@ interface GetBotResponse$1 {
5812
5854
  schema: {
5813
5855
  [k: string]: any;
5814
5856
  };
5857
+ /**
5858
+ * Optional attributes
5859
+ */
5860
+ attributes?: {
5861
+ [k: string]: string;
5862
+ };
5815
5863
  };
5816
5864
  };
5817
5865
  /**
@@ -7104,6 +7152,12 @@ interface CreateIntegrationRequestBody$1 {
7104
7152
  schema: {
7105
7153
  [k: string]: any;
7106
7154
  };
7155
+ /**
7156
+ * Optional attributes
7157
+ */
7158
+ attributes?: {
7159
+ [k: string]: string;
7160
+ };
7107
7161
  };
7108
7162
  };
7109
7163
  actions?: {
@@ -7579,6 +7633,12 @@ interface CreateIntegrationResponse$1 {
7579
7633
  schema: {
7580
7634
  [k: string]: any;
7581
7635
  };
7636
+ /**
7637
+ * Optional attributes
7638
+ */
7639
+ attributes?: {
7640
+ [k: string]: string;
7641
+ };
7582
7642
  };
7583
7643
  };
7584
7644
  actions: {
@@ -7796,6 +7856,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
7796
7856
  schema: {
7797
7857
  [k: string]: any;
7798
7858
  };
7859
+ /**
7860
+ * Optional attributes
7861
+ */
7862
+ attributes?: {
7863
+ [k: string]: string;
7864
+ };
7799
7865
  };
7800
7866
  };
7801
7867
  actions?: {
@@ -8184,9 +8250,6 @@ interface UpdateIntegrationRequestBody$1 {
8184
8250
  } | null;
8185
8251
  };
8186
8252
  events?: {
8187
- /**
8188
- * Event Definition
8189
- */
8190
8253
  [k: string]: {
8191
8254
  /**
8192
8255
  * Title of the event
@@ -8199,6 +8262,12 @@ interface UpdateIntegrationRequestBody$1 {
8199
8262
  schema: {
8200
8263
  [k: string]: any;
8201
8264
  };
8265
+ /**
8266
+ * Optional attributes. Set attributes to null to remove them
8267
+ */
8268
+ attributes?: {
8269
+ [k: string]: string | null;
8270
+ };
8202
8271
  } | null;
8203
8272
  };
8204
8273
  states?: {
@@ -8585,6 +8654,12 @@ interface UpdateIntegrationResponse$1 {
8585
8654
  schema: {
8586
8655
  [k: string]: any;
8587
8656
  };
8657
+ /**
8658
+ * Optional attributes
8659
+ */
8660
+ attributes?: {
8661
+ [k: string]: string;
8662
+ };
8588
8663
  };
8589
8664
  };
8590
8665
  actions: {
@@ -8866,9 +8941,6 @@ interface ValidateIntegrationUpdateRequestBody$1 {
8866
8941
  } | null;
8867
8942
  };
8868
8943
  events?: {
8869
- /**
8870
- * Event Definition
8871
- */
8872
8944
  [k: string]: {
8873
8945
  /**
8874
8946
  * Title of the event
@@ -8881,6 +8953,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
8881
8953
  schema: {
8882
8954
  [k: string]: any;
8883
8955
  };
8956
+ /**
8957
+ * Optional attributes. Set attributes to null to remove them
8958
+ */
8959
+ attributes?: {
8960
+ [k: string]: string | null;
8961
+ };
8884
8962
  } | null;
8885
8963
  };
8886
8964
  states?: {
@@ -9383,6 +9461,12 @@ interface GetIntegrationResponse$1 {
9383
9461
  schema: {
9384
9462
  [k: string]: any;
9385
9463
  };
9464
+ /**
9465
+ * Optional attributes
9466
+ */
9467
+ attributes?: {
9468
+ [k: string]: string;
9469
+ };
9386
9470
  };
9387
9471
  };
9388
9472
  actions: {
@@ -9793,6 +9877,12 @@ interface GetIntegrationByNameResponse$1 {
9793
9877
  schema: {
9794
9878
  [k: string]: any;
9795
9879
  };
9880
+ /**
9881
+ * Optional attributes
9882
+ */
9883
+ attributes?: {
9884
+ [k: string]: string;
9885
+ };
9796
9886
  };
9797
9887
  };
9798
9888
  actions: {
@@ -9989,6 +10079,12 @@ interface CreateInterfaceRequestBody$1 {
9989
10079
  schema: {
9990
10080
  [k: string]: any;
9991
10081
  };
10082
+ /**
10083
+ * Optional attributes
10084
+ */
10085
+ attributes?: {
10086
+ [k: string]: string;
10087
+ };
9992
10088
  };
9993
10089
  };
9994
10090
  actions?: {
@@ -10053,6 +10149,26 @@ interface CreateInterfaceRequestBody$1 {
10053
10149
  script: string;
10054
10150
  language: string;
10055
10151
  };
10152
+ /**
10153
+ * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
10154
+ */
10155
+ icon?: string;
10156
+ /**
10157
+ * Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
10158
+ */
10159
+ readme?: string;
10160
+ /**
10161
+ * Title of the interface. This is the name that will be displayed in the UI
10162
+ */
10163
+ title?: string;
10164
+ /**
10165
+ * Description of the interface. This is the description that will be displayed in the UI
10166
+ */
10167
+ description?: string;
10168
+ /**
10169
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10170
+ */
10171
+ public?: boolean;
10056
10172
  }
10057
10173
  type CreateInterfaceInput$1 = CreateInterfaceRequestBody$1 & CreateInterfaceRequestHeaders$1 & CreateInterfaceRequestQuery$1 & CreateInterfaceRequestParams$1;
10058
10174
  interface CreateInterfaceResponse$1 {
@@ -10111,6 +10227,12 @@ interface CreateInterfaceResponse$1 {
10111
10227
  schema: {
10112
10228
  [k: string]: any;
10113
10229
  };
10230
+ /**
10231
+ * Optional attributes
10232
+ */
10233
+ attributes?: {
10234
+ [k: string]: string;
10235
+ };
10114
10236
  };
10115
10237
  };
10116
10238
  actions: {
@@ -10175,6 +10297,26 @@ interface CreateInterfaceResponse$1 {
10175
10297
  script: string;
10176
10298
  language: string;
10177
10299
  };
10300
+ /**
10301
+ * Title of the interface. This is the name that will be displayed in the UI
10302
+ */
10303
+ title: string;
10304
+ /**
10305
+ * Description of the interface. This is the description that will be displayed in the UI
10306
+ */
10307
+ description: string;
10308
+ /**
10309
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
10310
+ */
10311
+ iconUrl: string;
10312
+ /**
10313
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
10314
+ */
10315
+ readmeUrl: string;
10316
+ /**
10317
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10318
+ */
10319
+ public: boolean;
10178
10320
  };
10179
10321
  }
10180
10322
 
@@ -10244,6 +10386,12 @@ interface GetInterfaceResponse$1 {
10244
10386
  schema: {
10245
10387
  [k: string]: any;
10246
10388
  };
10389
+ /**
10390
+ * Optional attributes
10391
+ */
10392
+ attributes?: {
10393
+ [k: string]: string;
10394
+ };
10247
10395
  };
10248
10396
  };
10249
10397
  actions: {
@@ -10308,6 +10456,26 @@ interface GetInterfaceResponse$1 {
10308
10456
  script: string;
10309
10457
  language: string;
10310
10458
  };
10459
+ /**
10460
+ * Title of the interface. This is the name that will be displayed in the UI
10461
+ */
10462
+ title: string;
10463
+ /**
10464
+ * Description of the interface. This is the description that will be displayed in the UI
10465
+ */
10466
+ description: string;
10467
+ /**
10468
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
10469
+ */
10470
+ iconUrl: string;
10471
+ /**
10472
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
10473
+ */
10474
+ readmeUrl: string;
10475
+ /**
10476
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10477
+ */
10478
+ public: boolean;
10311
10479
  };
10312
10480
  }
10313
10481
 
@@ -10378,6 +10546,12 @@ interface GetInterfaceByNameResponse$1 {
10378
10546
  schema: {
10379
10547
  [k: string]: any;
10380
10548
  };
10549
+ /**
10550
+ * Optional attributes
10551
+ */
10552
+ attributes?: {
10553
+ [k: string]: string;
10554
+ };
10381
10555
  };
10382
10556
  };
10383
10557
  actions: {
@@ -10442,6 +10616,26 @@ interface GetInterfaceByNameResponse$1 {
10442
10616
  script: string;
10443
10617
  language: string;
10444
10618
  };
10619
+ /**
10620
+ * Title of the interface. This is the name that will be displayed in the UI
10621
+ */
10622
+ title: string;
10623
+ /**
10624
+ * Description of the interface. This is the description that will be displayed in the UI
10625
+ */
10626
+ description: string;
10627
+ /**
10628
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
10629
+ */
10630
+ iconUrl: string;
10631
+ /**
10632
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
10633
+ */
10634
+ readmeUrl: string;
10635
+ /**
10636
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10637
+ */
10638
+ public: boolean;
10445
10639
  };
10446
10640
  }
10447
10641
 
@@ -10472,9 +10666,6 @@ interface UpdateInterfaceRequestBody$1 {
10472
10666
  } | null;
10473
10667
  };
10474
10668
  events?: {
10475
- /**
10476
- * Event Definition
10477
- */
10478
10669
  [k: string]: {
10479
10670
  /**
10480
10671
  * Title of the event
@@ -10487,6 +10678,12 @@ interface UpdateInterfaceRequestBody$1 {
10487
10678
  schema: {
10488
10679
  [k: string]: any;
10489
10680
  };
10681
+ /**
10682
+ * Optional attributes. Set attributes to null to remove them
10683
+ */
10684
+ attributes?: {
10685
+ [k: string]: string | null;
10686
+ };
10490
10687
  } | null;
10491
10688
  };
10492
10689
  actions?: {
@@ -10511,6 +10708,9 @@ interface UpdateInterfaceRequestBody$1 {
10511
10708
  [k: string]: any;
10512
10709
  };
10513
10710
  };
10711
+ /**
10712
+ * Optional attributes. Set attributes to null to remove them
10713
+ */
10514
10714
  attributes?: {
10515
10715
  [k: string]: string | null;
10516
10716
  };
@@ -10545,6 +10745,26 @@ interface UpdateInterfaceRequestBody$1 {
10545
10745
  script: string;
10546
10746
  language: string;
10547
10747
  } | null;
10748
+ /**
10749
+ * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
10750
+ */
10751
+ icon?: string;
10752
+ /**
10753
+ * Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
10754
+ */
10755
+ readme?: string;
10756
+ /**
10757
+ * Title of the interface. This is the name that will be displayed in the UI
10758
+ */
10759
+ title?: string;
10760
+ /**
10761
+ * Description of the interface. This is the description that will be displayed in the UI
10762
+ */
10763
+ description?: string;
10764
+ /**
10765
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10766
+ */
10767
+ public?: boolean;
10548
10768
  }
10549
10769
  type UpdateInterfaceInput$1 = UpdateInterfaceRequestBody$1 & UpdateInterfaceRequestHeaders$1 & UpdateInterfaceRequestQuery$1 & UpdateInterfaceRequestParams$1;
10550
10770
  interface UpdateInterfaceResponse$1 {
@@ -10603,6 +10823,12 @@ interface UpdateInterfaceResponse$1 {
10603
10823
  schema: {
10604
10824
  [k: string]: any;
10605
10825
  };
10826
+ /**
10827
+ * Optional attributes
10828
+ */
10829
+ attributes?: {
10830
+ [k: string]: string;
10831
+ };
10606
10832
  };
10607
10833
  };
10608
10834
  actions: {
@@ -10667,6 +10893,26 @@ interface UpdateInterfaceResponse$1 {
10667
10893
  script: string;
10668
10894
  language: string;
10669
10895
  };
10896
+ /**
10897
+ * Title of the interface. This is the name that will be displayed in the UI
10898
+ */
10899
+ title: string;
10900
+ /**
10901
+ * Description of the interface. This is the description that will be displayed in the UI
10902
+ */
10903
+ description: string;
10904
+ /**
10905
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
10906
+ */
10907
+ iconUrl: string;
10908
+ /**
10909
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
10910
+ */
10911
+ readmeUrl: string;
10912
+ /**
10913
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10914
+ */
10915
+ public: boolean;
10670
10916
  };
10671
10917
  }
10672
10918
 
@@ -10716,6 +10962,26 @@ interface ListInterfacesResponse$1 {
10716
10962
  * Version of the [Interface](#schema_interface)
10717
10963
  */
10718
10964
  version: string;
10965
+ /**
10966
+ * Title of the interface. This is the name that will be displayed in the UI
10967
+ */
10968
+ title: string;
10969
+ /**
10970
+ * Description of the interface. This is the description that will be displayed in the UI
10971
+ */
10972
+ description: string;
10973
+ /**
10974
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
10975
+ */
10976
+ iconUrl: string;
10977
+ /**
10978
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
10979
+ */
10980
+ readmeUrl: string;
10981
+ /**
10982
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
10983
+ */
10984
+ public: boolean;
10719
10985
  }[];
10720
10986
  meta: {
10721
10987
  /**
@@ -10793,6 +11059,12 @@ interface CreatePluginRequestBody$1 {
10793
11059
  schema: {
10794
11060
  [k: string]: any;
10795
11061
  };
11062
+ /**
11063
+ * Optional attributes
11064
+ */
11065
+ attributes?: {
11066
+ [k: string]: string;
11067
+ };
10796
11068
  };
10797
11069
  };
10798
11070
  actions?: {
@@ -10987,6 +11259,12 @@ interface CreatePluginResponse$1 {
10987
11259
  schema: {
10988
11260
  [k: string]: any;
10989
11261
  };
11262
+ /**
11263
+ * Optional attributes
11264
+ */
11265
+ attributes?: {
11266
+ [k: string]: string;
11267
+ };
10990
11268
  };
10991
11269
  };
10992
11270
  actions: {
@@ -11186,6 +11464,12 @@ interface GetPluginResponse$1 {
11186
11464
  schema: {
11187
11465
  [k: string]: any;
11188
11466
  };
11467
+ /**
11468
+ * Optional attributes
11469
+ */
11470
+ attributes?: {
11471
+ [k: string]: string;
11472
+ };
11189
11473
  };
11190
11474
  };
11191
11475
  actions: {
@@ -11386,6 +11670,12 @@ interface GetPluginByNameResponse$1 {
11386
11670
  schema: {
11387
11671
  [k: string]: any;
11388
11672
  };
11673
+ /**
11674
+ * Optional attributes
11675
+ */
11676
+ attributes?: {
11677
+ [k: string]: string;
11678
+ };
11389
11679
  };
11390
11680
  };
11391
11681
  actions: {
@@ -11546,9 +11836,6 @@ interface UpdatePluginRequestBody$1 {
11546
11836
  } | null;
11547
11837
  };
11548
11838
  events?: {
11549
- /**
11550
- * Event Definition
11551
- */
11552
11839
  [k: string]: {
11553
11840
  /**
11554
11841
  * Title of the event
@@ -11561,12 +11848,15 @@ interface UpdatePluginRequestBody$1 {
11561
11848
  schema: {
11562
11849
  [k: string]: any;
11563
11850
  };
11851
+ /**
11852
+ * Optional attributes. Set attributes to null to remove them
11853
+ */
11854
+ attributes?: {
11855
+ [k: string]: string | null;
11856
+ };
11564
11857
  } | null;
11565
11858
  };
11566
11859
  actions?: {
11567
- /**
11568
- * Action definition
11569
- */
11570
11860
  [k: string]: {
11571
11861
  /**
11572
11862
  * Title of the action
@@ -11589,10 +11879,10 @@ interface UpdatePluginRequestBody$1 {
11589
11879
  };
11590
11880
  };
11591
11881
  /**
11592
- * Optional attributes
11882
+ * Optional attributes. Set attributes to null to remove them
11593
11883
  */
11594
11884
  attributes?: {
11595
- [k: string]: string;
11885
+ [k: string]: string | null;
11596
11886
  };
11597
11887
  } | null;
11598
11888
  };
@@ -11749,6 +12039,12 @@ interface UpdatePluginResponse$1 {
11749
12039
  schema: {
11750
12040
  [k: string]: any;
11751
12041
  };
12042
+ /**
12043
+ * Optional attributes
12044
+ */
12045
+ attributes?: {
12046
+ [k: string]: string;
12047
+ };
11752
12048
  };
11753
12049
  };
11754
12050
  actions: {
@@ -12432,6 +12728,11 @@ declare class Client$6 extends Client$7 {
12432
12728
  updatedAt: string;
12433
12729
  name: string;
12434
12730
  version: string;
12731
+ title: string;
12732
+ description: string;
12733
+ iconUrl: string;
12734
+ readmeUrl: string;
12735
+ public: boolean;
12435
12736
  }>;
12436
12737
  activities: (props: {
12437
12738
  botId: string;
@@ -18459,6 +18760,12 @@ interface GetPublicIntegrationByIdResponse {
18459
18760
  schema: {
18460
18761
  [k: string]: any;
18461
18762
  };
18763
+ /**
18764
+ * Optional attributes
18765
+ */
18766
+ attributes?: {
18767
+ [k: string]: string;
18768
+ };
18462
18769
  };
18463
18770
  };
18464
18771
  actions: {
@@ -18850,6 +19157,12 @@ interface GetPublicIntegrationResponse {
18850
19157
  schema: {
18851
19158
  [k: string]: any;
18852
19159
  };
19160
+ /**
19161
+ * Optional attributes
19162
+ */
19163
+ attributes?: {
19164
+ [k: string]: string;
19165
+ };
18853
19166
  };
18854
19167
  };
18855
19168
  actions: {
@@ -19128,6 +19441,12 @@ interface GetPublicPluginByIdResponse {
19128
19441
  schema: {
19129
19442
  [k: string]: any;
19130
19443
  };
19444
+ /**
19445
+ * Optional attributes
19446
+ */
19447
+ attributes?: {
19448
+ [k: string]: string;
19449
+ };
19131
19450
  };
19132
19451
  };
19133
19452
  actions: {
@@ -19328,6 +19647,12 @@ interface GetPublicPluginResponse {
19328
19647
  schema: {
19329
19648
  [k: string]: any;
19330
19649
  };
19650
+ /**
19651
+ * Optional attributes
19652
+ */
19653
+ attributes?: {
19654
+ [k: string]: string;
19655
+ };
19331
19656
  };
19332
19657
  };
19333
19658
  actions: {
@@ -19504,6 +19829,12 @@ interface CreateBotRequestBody {
19504
19829
  schema: {
19505
19830
  [k: string]: any;
19506
19831
  };
19832
+ /**
19833
+ * Optional attributes
19834
+ */
19835
+ attributes?: {
19836
+ [k: string]: string;
19837
+ };
19507
19838
  };
19508
19839
  };
19509
19840
  recurringEvents?: {
@@ -19852,6 +20183,12 @@ interface CreateBotResponse {
19852
20183
  schema: {
19853
20184
  [k: string]: any;
19854
20185
  };
20186
+ /**
20187
+ * Optional attributes
20188
+ */
20189
+ attributes?: {
20190
+ [k: string]: string;
20191
+ };
19855
20192
  };
19856
20193
  };
19857
20194
  /**
@@ -20062,9 +20399,6 @@ interface UpdateBotRequestBody {
20062
20399
  };
20063
20400
  };
20064
20401
  events?: {
20065
- /**
20066
- * Event Definition
20067
- */
20068
20402
  [k: string]: {
20069
20403
  /**
20070
20404
  * Title of the event
@@ -20077,12 +20411,15 @@ interface UpdateBotRequestBody {
20077
20411
  schema: {
20078
20412
  [k: string]: any;
20079
20413
  };
20414
+ /**
20415
+ * Optional attributes. Set attributes to null to remove them
20416
+ */
20417
+ attributes?: {
20418
+ [k: string]: string | null;
20419
+ };
20080
20420
  } | null;
20081
20421
  };
20082
20422
  actions?: {
20083
- /**
20084
- * Action definition
20085
- */
20086
20423
  [k: string]: {
20087
20424
  /**
20088
20425
  * Title of the action
@@ -20105,10 +20442,10 @@ interface UpdateBotRequestBody {
20105
20442
  };
20106
20443
  };
20107
20444
  /**
20108
- * Optional attributes
20445
+ * Optional attributes. Set attributes to null to remove them
20109
20446
  */
20110
20447
  attributes?: {
20111
- [k: string]: string;
20448
+ [k: string]: string | null;
20112
20449
  };
20113
20450
  } | null;
20114
20451
  };
@@ -20368,6 +20705,12 @@ interface UpdateBotResponse {
20368
20705
  schema: {
20369
20706
  [k: string]: any;
20370
20707
  };
20708
+ /**
20709
+ * Optional attributes
20710
+ */
20711
+ attributes?: {
20712
+ [k: string]: string;
20713
+ };
20371
20714
  };
20372
20715
  };
20373
20716
  /**
@@ -20751,6 +21094,12 @@ interface GetBotResponse {
20751
21094
  schema: {
20752
21095
  [k: string]: any;
20753
21096
  };
21097
+ /**
21098
+ * Optional attributes
21099
+ */
21100
+ attributes?: {
21101
+ [k: string]: string;
21102
+ };
20754
21103
  };
20755
21104
  };
20756
21105
  /**
@@ -22044,6 +22393,12 @@ interface CreateIntegrationRequestBody {
22044
22393
  schema: {
22045
22394
  [k: string]: any;
22046
22395
  };
22396
+ /**
22397
+ * Optional attributes
22398
+ */
22399
+ attributes?: {
22400
+ [k: string]: string;
22401
+ };
22047
22402
  };
22048
22403
  };
22049
22404
  actions?: {
@@ -22519,6 +22874,12 @@ interface CreateIntegrationResponse {
22519
22874
  schema: {
22520
22875
  [k: string]: any;
22521
22876
  };
22877
+ /**
22878
+ * Optional attributes
22879
+ */
22880
+ attributes?: {
22881
+ [k: string]: string;
22882
+ };
22522
22883
  };
22523
22884
  };
22524
22885
  actions: {
@@ -22736,6 +23097,12 @@ interface ValidateIntegrationCreationRequestBody {
22736
23097
  schema: {
22737
23098
  [k: string]: any;
22738
23099
  };
23100
+ /**
23101
+ * Optional attributes
23102
+ */
23103
+ attributes?: {
23104
+ [k: string]: string;
23105
+ };
22739
23106
  };
22740
23107
  };
22741
23108
  actions?: {
@@ -23124,9 +23491,6 @@ interface UpdateIntegrationRequestBody {
23124
23491
  } | null;
23125
23492
  };
23126
23493
  events?: {
23127
- /**
23128
- * Event Definition
23129
- */
23130
23494
  [k: string]: {
23131
23495
  /**
23132
23496
  * Title of the event
@@ -23139,6 +23503,12 @@ interface UpdateIntegrationRequestBody {
23139
23503
  schema: {
23140
23504
  [k: string]: any;
23141
23505
  };
23506
+ /**
23507
+ * Optional attributes. Set attributes to null to remove them
23508
+ */
23509
+ attributes?: {
23510
+ [k: string]: string | null;
23511
+ };
23142
23512
  } | null;
23143
23513
  };
23144
23514
  states?: {
@@ -23525,6 +23895,12 @@ interface UpdateIntegrationResponse {
23525
23895
  schema: {
23526
23896
  [k: string]: any;
23527
23897
  };
23898
+ /**
23899
+ * Optional attributes
23900
+ */
23901
+ attributes?: {
23902
+ [k: string]: string;
23903
+ };
23528
23904
  };
23529
23905
  };
23530
23906
  actions: {
@@ -23804,11 +24180,8 @@ interface ValidateIntegrationUpdateRequestBody {
23804
24180
  [k: string]: string | null;
23805
24181
  };
23806
24182
  } | null;
23807
- };
23808
- events?: {
23809
- /**
23810
- * Event Definition
23811
- */
24183
+ };
24184
+ events?: {
23812
24185
  [k: string]: {
23813
24186
  /**
23814
24187
  * Title of the event
@@ -23821,6 +24194,12 @@ interface ValidateIntegrationUpdateRequestBody {
23821
24194
  schema: {
23822
24195
  [k: string]: any;
23823
24196
  };
24197
+ /**
24198
+ * Optional attributes. Set attributes to null to remove them
24199
+ */
24200
+ attributes?: {
24201
+ [k: string]: string | null;
24202
+ };
23824
24203
  } | null;
23825
24204
  };
23826
24205
  states?: {
@@ -24323,6 +24702,12 @@ interface GetIntegrationResponse {
24323
24702
  schema: {
24324
24703
  [k: string]: any;
24325
24704
  };
24705
+ /**
24706
+ * Optional attributes
24707
+ */
24708
+ attributes?: {
24709
+ [k: string]: string;
24710
+ };
24326
24711
  };
24327
24712
  };
24328
24713
  actions: {
@@ -24733,6 +25118,12 @@ interface GetIntegrationByNameResponse {
24733
25118
  schema: {
24734
25119
  [k: string]: any;
24735
25120
  };
25121
+ /**
25122
+ * Optional attributes
25123
+ */
25124
+ attributes?: {
25125
+ [k: string]: string;
25126
+ };
24736
25127
  };
24737
25128
  };
24738
25129
  actions: {
@@ -24929,6 +25320,12 @@ interface CreateInterfaceRequestBody {
24929
25320
  schema: {
24930
25321
  [k: string]: any;
24931
25322
  };
25323
+ /**
25324
+ * Optional attributes
25325
+ */
25326
+ attributes?: {
25327
+ [k: string]: string;
25328
+ };
24932
25329
  };
24933
25330
  };
24934
25331
  actions?: {
@@ -24993,6 +25390,26 @@ interface CreateInterfaceRequestBody {
24993
25390
  script: string;
24994
25391
  language: string;
24995
25392
  };
25393
+ /**
25394
+ * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
25395
+ */
25396
+ icon?: string;
25397
+ /**
25398
+ * Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
25399
+ */
25400
+ readme?: string;
25401
+ /**
25402
+ * Title of the interface. This is the name that will be displayed in the UI
25403
+ */
25404
+ title?: string;
25405
+ /**
25406
+ * Description of the interface. This is the description that will be displayed in the UI
25407
+ */
25408
+ description?: string;
25409
+ /**
25410
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
25411
+ */
25412
+ public?: boolean;
24996
25413
  }
24997
25414
  type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
24998
25415
  interface CreateInterfaceResponse {
@@ -25051,6 +25468,12 @@ interface CreateInterfaceResponse {
25051
25468
  schema: {
25052
25469
  [k: string]: any;
25053
25470
  };
25471
+ /**
25472
+ * Optional attributes
25473
+ */
25474
+ attributes?: {
25475
+ [k: string]: string;
25476
+ };
25054
25477
  };
25055
25478
  };
25056
25479
  actions: {
@@ -25115,6 +25538,26 @@ interface CreateInterfaceResponse {
25115
25538
  script: string;
25116
25539
  language: string;
25117
25540
  };
25541
+ /**
25542
+ * Title of the interface. This is the name that will be displayed in the UI
25543
+ */
25544
+ title: string;
25545
+ /**
25546
+ * Description of the interface. This is the description that will be displayed in the UI
25547
+ */
25548
+ description: string;
25549
+ /**
25550
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
25551
+ */
25552
+ iconUrl: string;
25553
+ /**
25554
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
25555
+ */
25556
+ readmeUrl: string;
25557
+ /**
25558
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
25559
+ */
25560
+ public: boolean;
25118
25561
  };
25119
25562
  }
25120
25563
 
@@ -25184,6 +25627,12 @@ interface GetInterfaceResponse {
25184
25627
  schema: {
25185
25628
  [k: string]: any;
25186
25629
  };
25630
+ /**
25631
+ * Optional attributes
25632
+ */
25633
+ attributes?: {
25634
+ [k: string]: string;
25635
+ };
25187
25636
  };
25188
25637
  };
25189
25638
  actions: {
@@ -25248,6 +25697,26 @@ interface GetInterfaceResponse {
25248
25697
  script: string;
25249
25698
  language: string;
25250
25699
  };
25700
+ /**
25701
+ * Title of the interface. This is the name that will be displayed in the UI
25702
+ */
25703
+ title: string;
25704
+ /**
25705
+ * Description of the interface. This is the description that will be displayed in the UI
25706
+ */
25707
+ description: string;
25708
+ /**
25709
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
25710
+ */
25711
+ iconUrl: string;
25712
+ /**
25713
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
25714
+ */
25715
+ readmeUrl: string;
25716
+ /**
25717
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
25718
+ */
25719
+ public: boolean;
25251
25720
  };
25252
25721
  }
25253
25722
 
@@ -25318,6 +25787,12 @@ interface GetInterfaceByNameResponse {
25318
25787
  schema: {
25319
25788
  [k: string]: any;
25320
25789
  };
25790
+ /**
25791
+ * Optional attributes
25792
+ */
25793
+ attributes?: {
25794
+ [k: string]: string;
25795
+ };
25321
25796
  };
25322
25797
  };
25323
25798
  actions: {
@@ -25382,6 +25857,26 @@ interface GetInterfaceByNameResponse {
25382
25857
  script: string;
25383
25858
  language: string;
25384
25859
  };
25860
+ /**
25861
+ * Title of the interface. This is the name that will be displayed in the UI
25862
+ */
25863
+ title: string;
25864
+ /**
25865
+ * Description of the interface. This is the description that will be displayed in the UI
25866
+ */
25867
+ description: string;
25868
+ /**
25869
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
25870
+ */
25871
+ iconUrl: string;
25872
+ /**
25873
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
25874
+ */
25875
+ readmeUrl: string;
25876
+ /**
25877
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
25878
+ */
25879
+ public: boolean;
25385
25880
  };
25386
25881
  }
25387
25882
 
@@ -25412,9 +25907,6 @@ interface UpdateInterfaceRequestBody {
25412
25907
  } | null;
25413
25908
  };
25414
25909
  events?: {
25415
- /**
25416
- * Event Definition
25417
- */
25418
25910
  [k: string]: {
25419
25911
  /**
25420
25912
  * Title of the event
@@ -25427,6 +25919,12 @@ interface UpdateInterfaceRequestBody {
25427
25919
  schema: {
25428
25920
  [k: string]: any;
25429
25921
  };
25922
+ /**
25923
+ * Optional attributes. Set attributes to null to remove them
25924
+ */
25925
+ attributes?: {
25926
+ [k: string]: string | null;
25927
+ };
25430
25928
  } | null;
25431
25929
  };
25432
25930
  actions?: {
@@ -25451,6 +25949,9 @@ interface UpdateInterfaceRequestBody {
25451
25949
  [k: string]: any;
25452
25950
  };
25453
25951
  };
25952
+ /**
25953
+ * Optional attributes. Set attributes to null to remove them
25954
+ */
25454
25955
  attributes?: {
25455
25956
  [k: string]: string | null;
25456
25957
  };
@@ -25485,6 +25986,26 @@ interface UpdateInterfaceRequestBody {
25485
25986
  script: string;
25486
25987
  language: string;
25487
25988
  } | null;
25989
+ /**
25990
+ * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
25991
+ */
25992
+ icon?: string;
25993
+ /**
25994
+ * Base64 encoded markdown of the interface readme. The readme is specific to each interface versions.
25995
+ */
25996
+ readme?: string;
25997
+ /**
25998
+ * Title of the interface. This is the name that will be displayed in the UI
25999
+ */
26000
+ title?: string;
26001
+ /**
26002
+ * Description of the interface. This is the description that will be displayed in the UI
26003
+ */
26004
+ description?: string;
26005
+ /**
26006
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
26007
+ */
26008
+ public?: boolean;
25488
26009
  }
25489
26010
  type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
25490
26011
  interface UpdateInterfaceResponse {
@@ -25543,6 +26064,12 @@ interface UpdateInterfaceResponse {
25543
26064
  schema: {
25544
26065
  [k: string]: any;
25545
26066
  };
26067
+ /**
26068
+ * Optional attributes
26069
+ */
26070
+ attributes?: {
26071
+ [k: string]: string;
26072
+ };
25546
26073
  };
25547
26074
  };
25548
26075
  actions: {
@@ -25607,6 +26134,26 @@ interface UpdateInterfaceResponse {
25607
26134
  script: string;
25608
26135
  language: string;
25609
26136
  };
26137
+ /**
26138
+ * Title of the interface. This is the name that will be displayed in the UI
26139
+ */
26140
+ title: string;
26141
+ /**
26142
+ * Description of the interface. This is the description that will be displayed in the UI
26143
+ */
26144
+ description: string;
26145
+ /**
26146
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
26147
+ */
26148
+ iconUrl: string;
26149
+ /**
26150
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
26151
+ */
26152
+ readmeUrl: string;
26153
+ /**
26154
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
26155
+ */
26156
+ public: boolean;
25610
26157
  };
25611
26158
  }
25612
26159
 
@@ -25656,6 +26203,26 @@ interface ListInterfacesResponse {
25656
26203
  * Version of the [Interface](#schema_interface)
25657
26204
  */
25658
26205
  version: string;
26206
+ /**
26207
+ * Title of the interface. This is the name that will be displayed in the UI
26208
+ */
26209
+ title: string;
26210
+ /**
26211
+ * Description of the interface. This is the description that will be displayed in the UI
26212
+ */
26213
+ description: string;
26214
+ /**
26215
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
26216
+ */
26217
+ iconUrl: string;
26218
+ /**
26219
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
26220
+ */
26221
+ readmeUrl: string;
26222
+ /**
26223
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
26224
+ */
26225
+ public: boolean;
25659
26226
  }[];
25660
26227
  meta: {
25661
26228
  /**
@@ -25733,6 +26300,12 @@ interface CreatePluginRequestBody {
25733
26300
  schema: {
25734
26301
  [k: string]: any;
25735
26302
  };
26303
+ /**
26304
+ * Optional attributes
26305
+ */
26306
+ attributes?: {
26307
+ [k: string]: string;
26308
+ };
25736
26309
  };
25737
26310
  };
25738
26311
  actions?: {
@@ -25927,6 +26500,12 @@ interface CreatePluginResponse {
25927
26500
  schema: {
25928
26501
  [k: string]: any;
25929
26502
  };
26503
+ /**
26504
+ * Optional attributes
26505
+ */
26506
+ attributes?: {
26507
+ [k: string]: string;
26508
+ };
25930
26509
  };
25931
26510
  };
25932
26511
  actions: {
@@ -26126,6 +26705,12 @@ interface GetPluginResponse {
26126
26705
  schema: {
26127
26706
  [k: string]: any;
26128
26707
  };
26708
+ /**
26709
+ * Optional attributes
26710
+ */
26711
+ attributes?: {
26712
+ [k: string]: string;
26713
+ };
26129
26714
  };
26130
26715
  };
26131
26716
  actions: {
@@ -26326,6 +26911,12 @@ interface GetPluginByNameResponse {
26326
26911
  schema: {
26327
26912
  [k: string]: any;
26328
26913
  };
26914
+ /**
26915
+ * Optional attributes
26916
+ */
26917
+ attributes?: {
26918
+ [k: string]: string;
26919
+ };
26329
26920
  };
26330
26921
  };
26331
26922
  actions: {
@@ -26486,9 +27077,6 @@ interface UpdatePluginRequestBody {
26486
27077
  } | null;
26487
27078
  };
26488
27079
  events?: {
26489
- /**
26490
- * Event Definition
26491
- */
26492
27080
  [k: string]: {
26493
27081
  /**
26494
27082
  * Title of the event
@@ -26501,12 +27089,15 @@ interface UpdatePluginRequestBody {
26501
27089
  schema: {
26502
27090
  [k: string]: any;
26503
27091
  };
27092
+ /**
27093
+ * Optional attributes. Set attributes to null to remove them
27094
+ */
27095
+ attributes?: {
27096
+ [k: string]: string | null;
27097
+ };
26504
27098
  } | null;
26505
27099
  };
26506
27100
  actions?: {
26507
- /**
26508
- * Action definition
26509
- */
26510
27101
  [k: string]: {
26511
27102
  /**
26512
27103
  * Title of the action
@@ -26529,10 +27120,10 @@ interface UpdatePluginRequestBody {
26529
27120
  };
26530
27121
  };
26531
27122
  /**
26532
- * Optional attributes
27123
+ * Optional attributes. Set attributes to null to remove them
26533
27124
  */
26534
27125
  attributes?: {
26535
- [k: string]: string;
27126
+ [k: string]: string | null;
26536
27127
  };
26537
27128
  } | null;
26538
27129
  };
@@ -26689,6 +27280,12 @@ interface UpdatePluginResponse {
26689
27280
  schema: {
26690
27281
  [k: string]: any;
26691
27282
  };
27283
+ /**
27284
+ * Optional attributes
27285
+ */
27286
+ attributes?: {
27287
+ [k: string]: string;
27288
+ };
26692
27289
  };
26693
27290
  };
26694
27291
  actions: {
@@ -29863,6 +30460,12 @@ interface Bot {
29863
30460
  schema: {
29864
30461
  [k: string]: any;
29865
30462
  };
30463
+ /**
30464
+ * Optional attributes
30465
+ */
30466
+ attributes?: {
30467
+ [k: string]: string;
30468
+ };
29866
30469
  };
29867
30470
  };
29868
30471
  /**
@@ -30227,6 +30830,12 @@ interface Integration {
30227
30830
  schema: {
30228
30831
  [k: string]: any;
30229
30832
  };
30833
+ /**
30834
+ * Optional attributes
30835
+ */
30836
+ attributes?: {
30837
+ [k: string]: string;
30838
+ };
30230
30839
  };
30231
30840
  };
30232
30841
  actions: {
@@ -30401,6 +31010,12 @@ interface Interface {
30401
31010
  schema: {
30402
31011
  [k: string]: any;
30403
31012
  };
31013
+ /**
31014
+ * Optional attributes
31015
+ */
31016
+ attributes?: {
31017
+ [k: string]: string;
31018
+ };
30404
31019
  };
30405
31020
  };
30406
31021
  actions: {
@@ -30465,6 +31080,26 @@ interface Interface {
30465
31080
  script: string;
30466
31081
  language: string;
30467
31082
  };
31083
+ /**
31084
+ * Title of the interface. This is the name that will be displayed in the UI
31085
+ */
31086
+ title: string;
31087
+ /**
31088
+ * Description of the interface. This is the description that will be displayed in the UI
31089
+ */
31090
+ description: string;
31091
+ /**
31092
+ * URL of the icon of the interface. This is the icon that will be displayed in the UI
31093
+ */
31094
+ iconUrl: string;
31095
+ /**
31096
+ * URL of the readme of the interface. This is the readme that will be displayed in the UI
31097
+ */
31098
+ readmeUrl: string;
31099
+ /**
31100
+ * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31101
+ */
31102
+ public: boolean;
30468
31103
  }
30469
31104
  interface Plugin {
30470
31105
  /**
@@ -30540,6 +31175,12 @@ interface Plugin {
30540
31175
  schema: {
30541
31176
  [k: string]: any;
30542
31177
  };
31178
+ /**
31179
+ * Optional attributes
31180
+ */
31181
+ attributes?: {
31182
+ [k: string]: string;
31183
+ };
30543
31184
  };
30544
31185
  };
30545
31186
  actions: {
@@ -31817,6 +32458,11 @@ declare class Client extends Client$1 implements IClient {
31817
32458
  updatedAt: string;
31818
32459
  name: string;
31819
32460
  version: string;
32461
+ title: string;
32462
+ description: string;
32463
+ iconUrl: string;
32464
+ readmeUrl: string;
32465
+ public: boolean;
31820
32466
  }>;
31821
32467
  activities: (props: {
31822
32468
  botId: string;