@botpress/client 1.11.0 → 1.13.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
@@ -5172,6 +5172,10 @@ interface CreateBotResponse$1 {
5172
5172
  };
5173
5173
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
5174
5174
  statusReason: string | null;
5175
+ /**
5176
+ * Disabled channels for this integration
5177
+ */
5178
+ disabledChannels: string[];
5175
5179
  /**
5176
5180
  * ID of the [Integration](#schema_integration)
5177
5181
  */
@@ -5206,6 +5210,57 @@ interface CreateBotResponse$1 {
5206
5210
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
5207
5211
  };
5208
5212
  };
5213
+ /**
5214
+ * A mapping of plugin aliases to their configuration
5215
+ */
5216
+ plugins: {
5217
+ [k: string]: {
5218
+ enabled: boolean;
5219
+ /**
5220
+ * Name of the [Plugin](#schema_plugin)
5221
+ */
5222
+ name: string;
5223
+ /**
5224
+ * Version of the [Plugin](#schema_plugin)
5225
+ */
5226
+ version: string;
5227
+ configuration: {
5228
+ [k: string]: any;
5229
+ };
5230
+ /**
5231
+ * ID of the [Plugin](#schema_plugin)
5232
+ */
5233
+ id: string;
5234
+ /**
5235
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
5236
+ */
5237
+ createdAt: string;
5238
+ /**
5239
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
5240
+ */
5241
+ updatedAt: string;
5242
+ /**
5243
+ * Title of the plugin. This is the name that will be displayed in the UI
5244
+ */
5245
+ title: string;
5246
+ /**
5247
+ * Description of the plugin. This is the description that will be displayed in the UI
5248
+ */
5249
+ description: string;
5250
+ /**
5251
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
5252
+ */
5253
+ iconUrl: string;
5254
+ /**
5255
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
5256
+ */
5257
+ readmeUrl: string;
5258
+ /**
5259
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
5260
+ */
5261
+ public: boolean;
5262
+ };
5263
+ };
5209
5264
  /**
5210
5265
  * User object configuration
5211
5266
  */
@@ -5628,6 +5683,22 @@ interface UpdateBotRequestBody$1 {
5628
5683
  configuration?: {
5629
5684
  [k: string]: any;
5630
5685
  };
5686
+ /**
5687
+ * Disabled channels for this integration
5688
+ */
5689
+ disabledChannels?: string[];
5690
+ } | null;
5691
+ };
5692
+ /**
5693
+ * A mapping of plugin aliases to their configuration
5694
+ */
5695
+ plugins?: {
5696
+ [k: string]: {
5697
+ id: string;
5698
+ enabled?: boolean;
5699
+ configuration?: {
5700
+ [k: string]: any;
5701
+ };
5631
5702
  } | null;
5632
5703
  };
5633
5704
  subscriptions?: {
@@ -5694,6 +5765,10 @@ interface UpdateBotResponse$1 {
5694
5765
  };
5695
5766
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
5696
5767
  statusReason: string | null;
5768
+ /**
5769
+ * Disabled channels for this integration
5770
+ */
5771
+ disabledChannels: string[];
5697
5772
  /**
5698
5773
  * ID of the [Integration](#schema_integration)
5699
5774
  */
@@ -5728,6 +5803,57 @@ interface UpdateBotResponse$1 {
5728
5803
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
5729
5804
  };
5730
5805
  };
5806
+ /**
5807
+ * A mapping of plugin aliases to their configuration
5808
+ */
5809
+ plugins: {
5810
+ [k: string]: {
5811
+ enabled: boolean;
5812
+ /**
5813
+ * Name of the [Plugin](#schema_plugin)
5814
+ */
5815
+ name: string;
5816
+ /**
5817
+ * Version of the [Plugin](#schema_plugin)
5818
+ */
5819
+ version: string;
5820
+ configuration: {
5821
+ [k: string]: any;
5822
+ };
5823
+ /**
5824
+ * ID of the [Plugin](#schema_plugin)
5825
+ */
5826
+ id: string;
5827
+ /**
5828
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
5829
+ */
5830
+ createdAt: string;
5831
+ /**
5832
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
5833
+ */
5834
+ updatedAt: string;
5835
+ /**
5836
+ * Title of the plugin. This is the name that will be displayed in the UI
5837
+ */
5838
+ title: string;
5839
+ /**
5840
+ * Description of the plugin. This is the description that will be displayed in the UI
5841
+ */
5842
+ description: string;
5843
+ /**
5844
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
5845
+ */
5846
+ iconUrl: string;
5847
+ /**
5848
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
5849
+ */
5850
+ readmeUrl: string;
5851
+ /**
5852
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
5853
+ */
5854
+ public: boolean;
5855
+ };
5856
+ };
5731
5857
  /**
5732
5858
  * User object configuration
5733
5859
  */
@@ -6083,6 +6209,10 @@ interface GetBotResponse$1 {
6083
6209
  };
6084
6210
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
6085
6211
  statusReason: string | null;
6212
+ /**
6213
+ * Disabled channels for this integration
6214
+ */
6215
+ disabledChannels: string[];
6086
6216
  /**
6087
6217
  * ID of the [Integration](#schema_integration)
6088
6218
  */
@@ -6117,6 +6247,57 @@ interface GetBotResponse$1 {
6117
6247
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
6118
6248
  };
6119
6249
  };
6250
+ /**
6251
+ * A mapping of plugin aliases to their configuration
6252
+ */
6253
+ plugins: {
6254
+ [k: string]: {
6255
+ enabled: boolean;
6256
+ /**
6257
+ * Name of the [Plugin](#schema_plugin)
6258
+ */
6259
+ name: string;
6260
+ /**
6261
+ * Version of the [Plugin](#schema_plugin)
6262
+ */
6263
+ version: string;
6264
+ configuration: {
6265
+ [k: string]: any;
6266
+ };
6267
+ /**
6268
+ * ID of the [Plugin](#schema_plugin)
6269
+ */
6270
+ id: string;
6271
+ /**
6272
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
6273
+ */
6274
+ createdAt: string;
6275
+ /**
6276
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
6277
+ */
6278
+ updatedAt: string;
6279
+ /**
6280
+ * Title of the plugin. This is the name that will be displayed in the UI
6281
+ */
6282
+ title: string;
6283
+ /**
6284
+ * Description of the plugin. This is the description that will be displayed in the UI
6285
+ */
6286
+ description: string;
6287
+ /**
6288
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
6289
+ */
6290
+ iconUrl: string;
6291
+ /**
6292
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
6293
+ */
6294
+ readmeUrl: string;
6295
+ /**
6296
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
6297
+ */
6298
+ public: boolean;
6299
+ };
6300
+ };
6120
6301
  /**
6121
6302
  * User object configuration
6122
6303
  */
@@ -20841,6 +21022,10 @@ interface CreateBotResponse {
20841
21022
  };
20842
21023
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
20843
21024
  statusReason: string | null;
21025
+ /**
21026
+ * Disabled channels for this integration
21027
+ */
21028
+ disabledChannels: string[];
20844
21029
  /**
20845
21030
  * ID of the [Integration](#schema_integration)
20846
21031
  */
@@ -20875,6 +21060,57 @@ interface CreateBotResponse {
20875
21060
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
20876
21061
  };
20877
21062
  };
21063
+ /**
21064
+ * A mapping of plugin aliases to their configuration
21065
+ */
21066
+ plugins: {
21067
+ [k: string]: {
21068
+ enabled: boolean;
21069
+ /**
21070
+ * Name of the [Plugin](#schema_plugin)
21071
+ */
21072
+ name: string;
21073
+ /**
21074
+ * Version of the [Plugin](#schema_plugin)
21075
+ */
21076
+ version: string;
21077
+ configuration: {
21078
+ [k: string]: any;
21079
+ };
21080
+ /**
21081
+ * ID of the [Plugin](#schema_plugin)
21082
+ */
21083
+ id: string;
21084
+ /**
21085
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
21086
+ */
21087
+ createdAt: string;
21088
+ /**
21089
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
21090
+ */
21091
+ updatedAt: string;
21092
+ /**
21093
+ * Title of the plugin. This is the name that will be displayed in the UI
21094
+ */
21095
+ title: string;
21096
+ /**
21097
+ * Description of the plugin. This is the description that will be displayed in the UI
21098
+ */
21099
+ description: string;
21100
+ /**
21101
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
21102
+ */
21103
+ iconUrl: string;
21104
+ /**
21105
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
21106
+ */
21107
+ readmeUrl: string;
21108
+ /**
21109
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
21110
+ */
21111
+ public: boolean;
21112
+ };
21113
+ };
20878
21114
  /**
20879
21115
  * User object configuration
20880
21116
  */
@@ -21297,6 +21533,22 @@ interface UpdateBotRequestBody {
21297
21533
  configuration?: {
21298
21534
  [k: string]: any;
21299
21535
  };
21536
+ /**
21537
+ * Disabled channels for this integration
21538
+ */
21539
+ disabledChannels?: string[];
21540
+ } | null;
21541
+ };
21542
+ /**
21543
+ * A mapping of plugin aliases to their configuration
21544
+ */
21545
+ plugins?: {
21546
+ [k: string]: {
21547
+ id: string;
21548
+ enabled?: boolean;
21549
+ configuration?: {
21550
+ [k: string]: any;
21551
+ };
21300
21552
  } | null;
21301
21553
  };
21302
21554
  subscriptions?: {
@@ -21363,6 +21615,10 @@ interface UpdateBotResponse {
21363
21615
  };
21364
21616
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
21365
21617
  statusReason: string | null;
21618
+ /**
21619
+ * Disabled channels for this integration
21620
+ */
21621
+ disabledChannels: string[];
21366
21622
  /**
21367
21623
  * ID of the [Integration](#schema_integration)
21368
21624
  */
@@ -21397,6 +21653,57 @@ interface UpdateBotResponse {
21397
21653
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
21398
21654
  };
21399
21655
  };
21656
+ /**
21657
+ * A mapping of plugin aliases to their configuration
21658
+ */
21659
+ plugins: {
21660
+ [k: string]: {
21661
+ enabled: boolean;
21662
+ /**
21663
+ * Name of the [Plugin](#schema_plugin)
21664
+ */
21665
+ name: string;
21666
+ /**
21667
+ * Version of the [Plugin](#schema_plugin)
21668
+ */
21669
+ version: string;
21670
+ configuration: {
21671
+ [k: string]: any;
21672
+ };
21673
+ /**
21674
+ * ID of the [Plugin](#schema_plugin)
21675
+ */
21676
+ id: string;
21677
+ /**
21678
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
21679
+ */
21680
+ createdAt: string;
21681
+ /**
21682
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
21683
+ */
21684
+ updatedAt: string;
21685
+ /**
21686
+ * Title of the plugin. This is the name that will be displayed in the UI
21687
+ */
21688
+ title: string;
21689
+ /**
21690
+ * Description of the plugin. This is the description that will be displayed in the UI
21691
+ */
21692
+ description: string;
21693
+ /**
21694
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
21695
+ */
21696
+ iconUrl: string;
21697
+ /**
21698
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
21699
+ */
21700
+ readmeUrl: string;
21701
+ /**
21702
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
21703
+ */
21704
+ public: boolean;
21705
+ };
21706
+ };
21400
21707
  /**
21401
21708
  * User object configuration
21402
21709
  */
@@ -21752,6 +22059,10 @@ interface GetBotResponse {
21752
22059
  };
21753
22060
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
21754
22061
  statusReason: string | null;
22062
+ /**
22063
+ * Disabled channels for this integration
22064
+ */
22065
+ disabledChannels: string[];
21755
22066
  /**
21756
22067
  * ID of the [Integration](#schema_integration)
21757
22068
  */
@@ -21786,6 +22097,57 @@ interface GetBotResponse {
21786
22097
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
21787
22098
  };
21788
22099
  };
22100
+ /**
22101
+ * A mapping of plugin aliases to their configuration
22102
+ */
22103
+ plugins: {
22104
+ [k: string]: {
22105
+ enabled: boolean;
22106
+ /**
22107
+ * Name of the [Plugin](#schema_plugin)
22108
+ */
22109
+ name: string;
22110
+ /**
22111
+ * Version of the [Plugin](#schema_plugin)
22112
+ */
22113
+ version: string;
22114
+ configuration: {
22115
+ [k: string]: any;
22116
+ };
22117
+ /**
22118
+ * ID of the [Plugin](#schema_plugin)
22119
+ */
22120
+ id: string;
22121
+ /**
22122
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
22123
+ */
22124
+ createdAt: string;
22125
+ /**
22126
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
22127
+ */
22128
+ updatedAt: string;
22129
+ /**
22130
+ * Title of the plugin. This is the name that will be displayed in the UI
22131
+ */
22132
+ title: string;
22133
+ /**
22134
+ * Description of the plugin. This is the description that will be displayed in the UI
22135
+ */
22136
+ description: string;
22137
+ /**
22138
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
22139
+ */
22140
+ iconUrl: string;
22141
+ /**
22142
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
22143
+ */
22144
+ readmeUrl: string;
22145
+ /**
22146
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
22147
+ */
22148
+ public: boolean;
22149
+ };
22150
+ };
21789
22151
  /**
21790
22152
  * User object configuration
21791
22153
  */
@@ -31155,6 +31517,10 @@ interface Bot {
31155
31517
  };
31156
31518
  status: "registration_pending" | "registered" | "registration_failed" | "unregistration_pending" | "unregistered" | "unregistration_failed";
31157
31519
  statusReason: string | null;
31520
+ /**
31521
+ * Disabled channels for this integration
31522
+ */
31523
+ disabledChannels: string[];
31158
31524
  /**
31159
31525
  * ID of the [Integration](#schema_integration)
31160
31526
  */
@@ -31189,6 +31555,57 @@ interface Bot {
31189
31555
  verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
31190
31556
  };
31191
31557
  };
31558
+ /**
31559
+ * A mapping of plugin aliases to their configuration
31560
+ */
31561
+ plugins: {
31562
+ [k: string]: {
31563
+ enabled: boolean;
31564
+ /**
31565
+ * Name of the [Plugin](#schema_plugin)
31566
+ */
31567
+ name: string;
31568
+ /**
31569
+ * Version of the [Plugin](#schema_plugin)
31570
+ */
31571
+ version: string;
31572
+ configuration: {
31573
+ [k: string]: any;
31574
+ };
31575
+ /**
31576
+ * ID of the [Plugin](#schema_plugin)
31577
+ */
31578
+ id: string;
31579
+ /**
31580
+ * Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
31581
+ */
31582
+ createdAt: string;
31583
+ /**
31584
+ * Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
31585
+ */
31586
+ updatedAt: string;
31587
+ /**
31588
+ * Title of the plugin. This is the name that will be displayed in the UI
31589
+ */
31590
+ title: string;
31591
+ /**
31592
+ * Description of the plugin. This is the description that will be displayed in the UI
31593
+ */
31594
+ description: string;
31595
+ /**
31596
+ * URL of the icon of the plugin. This is the icon that will be displayed in the UI
31597
+ */
31598
+ iconUrl: string;
31599
+ /**
31600
+ * URL of the readme of the plugin. This is the readme that will be displayed in the UI
31601
+ */
31602
+ readmeUrl: string;
31603
+ /**
31604
+ * Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
31605
+ */
31606
+ public: boolean;
31607
+ };
31608
+ };
31192
31609
  /**
31193
31610
  * User object configuration
31194
31611
  */