@botpress/client 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs +9 -9
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +715 -4
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3610,6 +3610,12 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3610
3610
|
};
|
|
3611
3611
|
};
|
|
3612
3612
|
};
|
|
3613
|
+
/**
|
|
3614
|
+
* Optional attributes
|
|
3615
|
+
*/
|
|
3616
|
+
attributes?: {
|
|
3617
|
+
[k: string]: string;
|
|
3618
|
+
};
|
|
3613
3619
|
/**
|
|
3614
3620
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
3615
3621
|
*/
|
|
@@ -4007,6 +4013,12 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
4007
4013
|
};
|
|
4008
4014
|
};
|
|
4009
4015
|
};
|
|
4016
|
+
/**
|
|
4017
|
+
* Optional attributes
|
|
4018
|
+
*/
|
|
4019
|
+
attributes?: {
|
|
4020
|
+
[k: string]: string;
|
|
4021
|
+
};
|
|
4010
4022
|
/**
|
|
4011
4023
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
4012
4024
|
*/
|
|
@@ -4296,6 +4308,12 @@ interface GetPublicPluginByIdResponse$1 {
|
|
|
4296
4308
|
};
|
|
4297
4309
|
};
|
|
4298
4310
|
};
|
|
4311
|
+
/**
|
|
4312
|
+
* Optional attributes
|
|
4313
|
+
*/
|
|
4314
|
+
attributes?: {
|
|
4315
|
+
[k: string]: string;
|
|
4316
|
+
};
|
|
4299
4317
|
/**
|
|
4300
4318
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4301
4319
|
*/
|
|
@@ -4502,6 +4520,12 @@ interface GetPublicPluginResponse$1 {
|
|
|
4502
4520
|
};
|
|
4503
4521
|
};
|
|
4504
4522
|
};
|
|
4523
|
+
/**
|
|
4524
|
+
* Optional attributes
|
|
4525
|
+
*/
|
|
4526
|
+
attributes?: {
|
|
4527
|
+
[k: string]: string;
|
|
4528
|
+
};
|
|
4505
4529
|
/**
|
|
4506
4530
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
4507
4531
|
*/
|
|
@@ -4739,6 +4763,12 @@ interface GetPublicInterfaceByIdResponse$1 {
|
|
|
4739
4763
|
script: string;
|
|
4740
4764
|
language: string;
|
|
4741
4765
|
};
|
|
4766
|
+
/**
|
|
4767
|
+
* Optional attributes
|
|
4768
|
+
*/
|
|
4769
|
+
attributes?: {
|
|
4770
|
+
[k: string]: string;
|
|
4771
|
+
};
|
|
4742
4772
|
/**
|
|
4743
4773
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
4744
4774
|
*/
|
|
@@ -4899,6 +4929,12 @@ interface GetPublicInterfaceResponse$1 {
|
|
|
4899
4929
|
script: string;
|
|
4900
4930
|
language: string;
|
|
4901
4931
|
};
|
|
4932
|
+
/**
|
|
4933
|
+
* Optional attributes
|
|
4934
|
+
*/
|
|
4935
|
+
attributes?: {
|
|
4936
|
+
[k: string]: string;
|
|
4937
|
+
};
|
|
4902
4938
|
/**
|
|
4903
4939
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
4904
4940
|
*/
|
|
@@ -5101,7 +5137,7 @@ interface CreateBotRequestBody$1 {
|
|
|
5101
5137
|
};
|
|
5102
5138
|
};
|
|
5103
5139
|
/**
|
|
5104
|
-
*
|
|
5140
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
5105
5141
|
*/
|
|
5106
5142
|
tags?: {
|
|
5107
5143
|
[k: string]: string;
|
|
@@ -5210,6 +5246,57 @@ interface CreateBotResponse$1 {
|
|
|
5210
5246
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
5211
5247
|
};
|
|
5212
5248
|
};
|
|
5249
|
+
/**
|
|
5250
|
+
* A mapping of plugin aliases to their configuration
|
|
5251
|
+
*/
|
|
5252
|
+
plugins: {
|
|
5253
|
+
[k: string]: {
|
|
5254
|
+
enabled: boolean;
|
|
5255
|
+
/**
|
|
5256
|
+
* Name of the [Plugin](#schema_plugin)
|
|
5257
|
+
*/
|
|
5258
|
+
name: string;
|
|
5259
|
+
/**
|
|
5260
|
+
* Version of the [Plugin](#schema_plugin)
|
|
5261
|
+
*/
|
|
5262
|
+
version: string;
|
|
5263
|
+
configuration: {
|
|
5264
|
+
[k: string]: any;
|
|
5265
|
+
};
|
|
5266
|
+
/**
|
|
5267
|
+
* ID of the [Plugin](#schema_plugin)
|
|
5268
|
+
*/
|
|
5269
|
+
id: string;
|
|
5270
|
+
/**
|
|
5271
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
5272
|
+
*/
|
|
5273
|
+
createdAt: string;
|
|
5274
|
+
/**
|
|
5275
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
5276
|
+
*/
|
|
5277
|
+
updatedAt: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5280
|
+
*/
|
|
5281
|
+
title: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
5284
|
+
*/
|
|
5285
|
+
description: string;
|
|
5286
|
+
/**
|
|
5287
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
5288
|
+
*/
|
|
5289
|
+
iconUrl: string;
|
|
5290
|
+
/**
|
|
5291
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
5292
|
+
*/
|
|
5293
|
+
readmeUrl: string;
|
|
5294
|
+
/**
|
|
5295
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
5296
|
+
*/
|
|
5297
|
+
public: boolean;
|
|
5298
|
+
};
|
|
5299
|
+
};
|
|
5213
5300
|
/**
|
|
5214
5301
|
* User object configuration
|
|
5215
5302
|
*/
|
|
@@ -5481,7 +5568,7 @@ interface UpdateBotRequestBody$1 {
|
|
|
5481
5568
|
};
|
|
5482
5569
|
};
|
|
5483
5570
|
/**
|
|
5484
|
-
*
|
|
5571
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
5485
5572
|
*/
|
|
5486
5573
|
tags?: {
|
|
5487
5574
|
[k: string]: string;
|
|
@@ -5638,6 +5725,18 @@ interface UpdateBotRequestBody$1 {
|
|
|
5638
5725
|
disabledChannels?: string[];
|
|
5639
5726
|
} | null;
|
|
5640
5727
|
};
|
|
5728
|
+
/**
|
|
5729
|
+
* A mapping of plugin aliases to their configuration
|
|
5730
|
+
*/
|
|
5731
|
+
plugins?: {
|
|
5732
|
+
[k: string]: {
|
|
5733
|
+
id: string;
|
|
5734
|
+
enabled?: boolean;
|
|
5735
|
+
configuration?: {
|
|
5736
|
+
[k: string]: any;
|
|
5737
|
+
};
|
|
5738
|
+
} | null;
|
|
5739
|
+
};
|
|
5641
5740
|
subscriptions?: {
|
|
5642
5741
|
events: {
|
|
5643
5742
|
[k: string]: {} | null;
|
|
@@ -5740,6 +5839,57 @@ interface UpdateBotResponse$1 {
|
|
|
5740
5839
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
5741
5840
|
};
|
|
5742
5841
|
};
|
|
5842
|
+
/**
|
|
5843
|
+
* A mapping of plugin aliases to their configuration
|
|
5844
|
+
*/
|
|
5845
|
+
plugins: {
|
|
5846
|
+
[k: string]: {
|
|
5847
|
+
enabled: boolean;
|
|
5848
|
+
/**
|
|
5849
|
+
* Name of the [Plugin](#schema_plugin)
|
|
5850
|
+
*/
|
|
5851
|
+
name: string;
|
|
5852
|
+
/**
|
|
5853
|
+
* Version of the [Plugin](#schema_plugin)
|
|
5854
|
+
*/
|
|
5855
|
+
version: string;
|
|
5856
|
+
configuration: {
|
|
5857
|
+
[k: string]: any;
|
|
5858
|
+
};
|
|
5859
|
+
/**
|
|
5860
|
+
* ID of the [Plugin](#schema_plugin)
|
|
5861
|
+
*/
|
|
5862
|
+
id: string;
|
|
5863
|
+
/**
|
|
5864
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
5865
|
+
*/
|
|
5866
|
+
createdAt: string;
|
|
5867
|
+
/**
|
|
5868
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
5869
|
+
*/
|
|
5870
|
+
updatedAt: string;
|
|
5871
|
+
/**
|
|
5872
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
5873
|
+
*/
|
|
5874
|
+
title: string;
|
|
5875
|
+
/**
|
|
5876
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
5877
|
+
*/
|
|
5878
|
+
description: string;
|
|
5879
|
+
/**
|
|
5880
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
5881
|
+
*/
|
|
5882
|
+
iconUrl: string;
|
|
5883
|
+
/**
|
|
5884
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
5885
|
+
*/
|
|
5886
|
+
readmeUrl: string;
|
|
5887
|
+
/**
|
|
5888
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
5889
|
+
*/
|
|
5890
|
+
public: boolean;
|
|
5891
|
+
};
|
|
5892
|
+
};
|
|
5743
5893
|
/**
|
|
5744
5894
|
* User object configuration
|
|
5745
5895
|
*/
|
|
@@ -6133,6 +6283,57 @@ interface GetBotResponse$1 {
|
|
|
6133
6283
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
6134
6284
|
};
|
|
6135
6285
|
};
|
|
6286
|
+
/**
|
|
6287
|
+
* A mapping of plugin aliases to their configuration
|
|
6288
|
+
*/
|
|
6289
|
+
plugins: {
|
|
6290
|
+
[k: string]: {
|
|
6291
|
+
enabled: boolean;
|
|
6292
|
+
/**
|
|
6293
|
+
* Name of the [Plugin](#schema_plugin)
|
|
6294
|
+
*/
|
|
6295
|
+
name: string;
|
|
6296
|
+
/**
|
|
6297
|
+
* Version of the [Plugin](#schema_plugin)
|
|
6298
|
+
*/
|
|
6299
|
+
version: string;
|
|
6300
|
+
configuration: {
|
|
6301
|
+
[k: string]: any;
|
|
6302
|
+
};
|
|
6303
|
+
/**
|
|
6304
|
+
* ID of the [Plugin](#schema_plugin)
|
|
6305
|
+
*/
|
|
6306
|
+
id: string;
|
|
6307
|
+
/**
|
|
6308
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6309
|
+
*/
|
|
6310
|
+
createdAt: string;
|
|
6311
|
+
/**
|
|
6312
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
6313
|
+
*/
|
|
6314
|
+
updatedAt: string;
|
|
6315
|
+
/**
|
|
6316
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
6317
|
+
*/
|
|
6318
|
+
title: string;
|
|
6319
|
+
/**
|
|
6320
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
6321
|
+
*/
|
|
6322
|
+
description: string;
|
|
6323
|
+
/**
|
|
6324
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
6325
|
+
*/
|
|
6326
|
+
iconUrl: string;
|
|
6327
|
+
/**
|
|
6328
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
6329
|
+
*/
|
|
6330
|
+
readmeUrl: string;
|
|
6331
|
+
/**
|
|
6332
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
6333
|
+
*/
|
|
6334
|
+
public: boolean;
|
|
6335
|
+
};
|
|
6336
|
+
};
|
|
6136
6337
|
/**
|
|
6137
6338
|
* User object configuration
|
|
6138
6339
|
*/
|
|
@@ -7608,6 +7809,12 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
7608
7809
|
};
|
|
7609
7810
|
};
|
|
7610
7811
|
};
|
|
7812
|
+
/**
|
|
7813
|
+
* Optional attributes
|
|
7814
|
+
*/
|
|
7815
|
+
attributes?: {
|
|
7816
|
+
[k: string]: string;
|
|
7817
|
+
};
|
|
7611
7818
|
identifier?: {
|
|
7612
7819
|
fallbackHandlerScript?: string;
|
|
7613
7820
|
extractScript?: string;
|
|
@@ -8122,6 +8329,12 @@ interface CreateIntegrationResponse$1 {
|
|
|
8122
8329
|
};
|
|
8123
8330
|
};
|
|
8124
8331
|
};
|
|
8332
|
+
/**
|
|
8333
|
+
* Optional attributes
|
|
8334
|
+
*/
|
|
8335
|
+
attributes?: {
|
|
8336
|
+
[k: string]: string;
|
|
8337
|
+
};
|
|
8125
8338
|
/**
|
|
8126
8339
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
8127
8340
|
*/
|
|
@@ -8312,6 +8525,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
8312
8525
|
};
|
|
8313
8526
|
};
|
|
8314
8527
|
};
|
|
8528
|
+
/**
|
|
8529
|
+
* Optional attributes
|
|
8530
|
+
*/
|
|
8531
|
+
attributes?: {
|
|
8532
|
+
[k: string]: string;
|
|
8533
|
+
};
|
|
8315
8534
|
identifier?: {
|
|
8316
8535
|
fallbackHandlerScript?: string;
|
|
8317
8536
|
extractScript?: string;
|
|
@@ -8764,6 +8983,12 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
8764
8983
|
identifierExtractScript?: string | null;
|
|
8765
8984
|
messageExtractScript?: string | null;
|
|
8766
8985
|
};
|
|
8986
|
+
/**
|
|
8987
|
+
* Optional attributes. Set attributes to null to remove them
|
|
8988
|
+
*/
|
|
8989
|
+
attributes?: {
|
|
8990
|
+
[k: string]: string | null;
|
|
8991
|
+
};
|
|
8767
8992
|
/**
|
|
8768
8993
|
* 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.
|
|
8769
8994
|
*/
|
|
@@ -9143,6 +9368,12 @@ interface UpdateIntegrationResponse$1 {
|
|
|
9143
9368
|
};
|
|
9144
9369
|
};
|
|
9145
9370
|
};
|
|
9371
|
+
/**
|
|
9372
|
+
* Optional attributes
|
|
9373
|
+
*/
|
|
9374
|
+
attributes?: {
|
|
9375
|
+
[k: string]: string;
|
|
9376
|
+
};
|
|
9146
9377
|
/**
|
|
9147
9378
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9148
9379
|
*/
|
|
@@ -9455,6 +9686,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
9455
9686
|
identifierExtractScript?: string | null;
|
|
9456
9687
|
messageExtractScript?: string | null;
|
|
9457
9688
|
};
|
|
9689
|
+
/**
|
|
9690
|
+
* Optional attributes. Set attributes to null to remove them
|
|
9691
|
+
*/
|
|
9692
|
+
attributes?: {
|
|
9693
|
+
[k: string]: string | null;
|
|
9694
|
+
};
|
|
9458
9695
|
/**
|
|
9459
9696
|
* 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.
|
|
9460
9697
|
*/
|
|
@@ -9950,6 +10187,12 @@ interface GetIntegrationResponse$1 {
|
|
|
9950
10187
|
};
|
|
9951
10188
|
};
|
|
9952
10189
|
};
|
|
10190
|
+
/**
|
|
10191
|
+
* Optional attributes
|
|
10192
|
+
*/
|
|
10193
|
+
attributes?: {
|
|
10194
|
+
[k: string]: string;
|
|
10195
|
+
};
|
|
9953
10196
|
/**
|
|
9954
10197
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
9955
10198
|
*/
|
|
@@ -10367,6 +10610,12 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
10367
10610
|
};
|
|
10368
10611
|
};
|
|
10369
10612
|
};
|
|
10613
|
+
/**
|
|
10614
|
+
* Optional attributes
|
|
10615
|
+
*/
|
|
10616
|
+
attributes?: {
|
|
10617
|
+
[k: string]: string;
|
|
10618
|
+
};
|
|
10370
10619
|
/**
|
|
10371
10620
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
10372
10621
|
*/
|
|
@@ -10547,6 +10796,12 @@ interface CreateInterfaceRequestBody$1 {
|
|
|
10547
10796
|
script: string;
|
|
10548
10797
|
language: string;
|
|
10549
10798
|
};
|
|
10799
|
+
/**
|
|
10800
|
+
* Optional attributes
|
|
10801
|
+
*/
|
|
10802
|
+
attributes?: {
|
|
10803
|
+
[k: string]: string;
|
|
10804
|
+
};
|
|
10550
10805
|
/**
|
|
10551
10806
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
10552
10807
|
*/
|
|
@@ -10695,6 +10950,12 @@ interface CreateInterfaceResponse$1 {
|
|
|
10695
10950
|
script: string;
|
|
10696
10951
|
language: string;
|
|
10697
10952
|
};
|
|
10953
|
+
/**
|
|
10954
|
+
* Optional attributes
|
|
10955
|
+
*/
|
|
10956
|
+
attributes?: {
|
|
10957
|
+
[k: string]: string;
|
|
10958
|
+
};
|
|
10698
10959
|
/**
|
|
10699
10960
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
10700
10961
|
*/
|
|
@@ -10854,6 +11115,12 @@ interface GetInterfaceResponse$1 {
|
|
|
10854
11115
|
script: string;
|
|
10855
11116
|
language: string;
|
|
10856
11117
|
};
|
|
11118
|
+
/**
|
|
11119
|
+
* Optional attributes
|
|
11120
|
+
*/
|
|
11121
|
+
attributes?: {
|
|
11122
|
+
[k: string]: string;
|
|
11123
|
+
};
|
|
10857
11124
|
/**
|
|
10858
11125
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
10859
11126
|
*/
|
|
@@ -11014,6 +11281,12 @@ interface GetInterfaceByNameResponse$1 {
|
|
|
11014
11281
|
script: string;
|
|
11015
11282
|
language: string;
|
|
11016
11283
|
};
|
|
11284
|
+
/**
|
|
11285
|
+
* Optional attributes
|
|
11286
|
+
*/
|
|
11287
|
+
attributes?: {
|
|
11288
|
+
[k: string]: string;
|
|
11289
|
+
};
|
|
11017
11290
|
/**
|
|
11018
11291
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11019
11292
|
*/
|
|
@@ -11143,6 +11416,12 @@ interface UpdateInterfaceRequestBody$1 {
|
|
|
11143
11416
|
script: string;
|
|
11144
11417
|
language: string;
|
|
11145
11418
|
} | null;
|
|
11419
|
+
/**
|
|
11420
|
+
* Optional attributes. Set attributes to null to remove them
|
|
11421
|
+
*/
|
|
11422
|
+
attributes?: {
|
|
11423
|
+
[k: string]: string | null;
|
|
11424
|
+
};
|
|
11146
11425
|
/**
|
|
11147
11426
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
11148
11427
|
*/
|
|
@@ -11291,6 +11570,12 @@ interface UpdateInterfaceResponse$1 {
|
|
|
11291
11570
|
script: string;
|
|
11292
11571
|
language: string;
|
|
11293
11572
|
};
|
|
11573
|
+
/**
|
|
11574
|
+
* Optional attributes
|
|
11575
|
+
*/
|
|
11576
|
+
attributes?: {
|
|
11577
|
+
[k: string]: string;
|
|
11578
|
+
};
|
|
11294
11579
|
/**
|
|
11295
11580
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
11296
11581
|
*/
|
|
@@ -11551,6 +11836,12 @@ interface CreatePluginRequestBody$1 {
|
|
|
11551
11836
|
};
|
|
11552
11837
|
};
|
|
11553
11838
|
};
|
|
11839
|
+
/**
|
|
11840
|
+
* Optional attributes
|
|
11841
|
+
*/
|
|
11842
|
+
attributes?: {
|
|
11843
|
+
[k: string]: string;
|
|
11844
|
+
};
|
|
11554
11845
|
code: {
|
|
11555
11846
|
/**
|
|
11556
11847
|
* Code of plugin bundled for Node.JS
|
|
@@ -11755,6 +12046,12 @@ interface CreatePluginResponse$1 {
|
|
|
11755
12046
|
};
|
|
11756
12047
|
};
|
|
11757
12048
|
};
|
|
12049
|
+
/**
|
|
12050
|
+
* Optional attributes
|
|
12051
|
+
*/
|
|
12052
|
+
attributes?: {
|
|
12053
|
+
[k: string]: string;
|
|
12054
|
+
};
|
|
11758
12055
|
/**
|
|
11759
12056
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
11760
12057
|
*/
|
|
@@ -11960,6 +12257,12 @@ interface GetPluginResponse$1 {
|
|
|
11960
12257
|
};
|
|
11961
12258
|
};
|
|
11962
12259
|
};
|
|
12260
|
+
/**
|
|
12261
|
+
* Optional attributes
|
|
12262
|
+
*/
|
|
12263
|
+
attributes?: {
|
|
12264
|
+
[k: string]: string;
|
|
12265
|
+
};
|
|
11963
12266
|
/**
|
|
11964
12267
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
11965
12268
|
*/
|
|
@@ -12166,6 +12469,12 @@ interface GetPluginByNameResponse$1 {
|
|
|
12166
12469
|
};
|
|
12167
12470
|
};
|
|
12168
12471
|
};
|
|
12472
|
+
/**
|
|
12473
|
+
* Optional attributes
|
|
12474
|
+
*/
|
|
12475
|
+
attributes?: {
|
|
12476
|
+
[k: string]: string;
|
|
12477
|
+
};
|
|
12169
12478
|
/**
|
|
12170
12479
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12171
12480
|
*/
|
|
@@ -12331,6 +12640,12 @@ interface UpdatePluginRequestBody$1 {
|
|
|
12331
12640
|
} | null;
|
|
12332
12641
|
};
|
|
12333
12642
|
};
|
|
12643
|
+
/**
|
|
12644
|
+
* Optional attributes. Set attributes to null to remove them
|
|
12645
|
+
*/
|
|
12646
|
+
attributes?: {
|
|
12647
|
+
[k: string]: string | null;
|
|
12648
|
+
};
|
|
12334
12649
|
code?: {
|
|
12335
12650
|
/**
|
|
12336
12651
|
* Code of plugin bundled for Node.JS
|
|
@@ -12535,6 +12850,12 @@ interface UpdatePluginResponse$1 {
|
|
|
12535
12850
|
};
|
|
12536
12851
|
};
|
|
12537
12852
|
};
|
|
12853
|
+
/**
|
|
12854
|
+
* Optional attributes
|
|
12855
|
+
*/
|
|
12856
|
+
attributes?: {
|
|
12857
|
+
[k: string]: string;
|
|
12858
|
+
};
|
|
12538
12859
|
/**
|
|
12539
12860
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
12540
12861
|
*/
|
|
@@ -19295,6 +19616,12 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
19295
19616
|
};
|
|
19296
19617
|
};
|
|
19297
19618
|
};
|
|
19619
|
+
/**
|
|
19620
|
+
* Optional attributes
|
|
19621
|
+
*/
|
|
19622
|
+
attributes?: {
|
|
19623
|
+
[k: string]: string;
|
|
19624
|
+
};
|
|
19298
19625
|
/**
|
|
19299
19626
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
19300
19627
|
*/
|
|
@@ -19692,6 +20019,12 @@ interface GetPublicIntegrationResponse {
|
|
|
19692
20019
|
};
|
|
19693
20020
|
};
|
|
19694
20021
|
};
|
|
20022
|
+
/**
|
|
20023
|
+
* Optional attributes
|
|
20024
|
+
*/
|
|
20025
|
+
attributes?: {
|
|
20026
|
+
[k: string]: string;
|
|
20027
|
+
};
|
|
19695
20028
|
/**
|
|
19696
20029
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
19697
20030
|
*/
|
|
@@ -19981,6 +20314,12 @@ interface GetPublicPluginByIdResponse {
|
|
|
19981
20314
|
};
|
|
19982
20315
|
};
|
|
19983
20316
|
};
|
|
20317
|
+
/**
|
|
20318
|
+
* Optional attributes
|
|
20319
|
+
*/
|
|
20320
|
+
attributes?: {
|
|
20321
|
+
[k: string]: string;
|
|
20322
|
+
};
|
|
19984
20323
|
/**
|
|
19985
20324
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
19986
20325
|
*/
|
|
@@ -20187,6 +20526,12 @@ interface GetPublicPluginResponse {
|
|
|
20187
20526
|
};
|
|
20188
20527
|
};
|
|
20189
20528
|
};
|
|
20529
|
+
/**
|
|
20530
|
+
* Optional attributes
|
|
20531
|
+
*/
|
|
20532
|
+
attributes?: {
|
|
20533
|
+
[k: string]: string;
|
|
20534
|
+
};
|
|
20190
20535
|
/**
|
|
20191
20536
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
20192
20537
|
*/
|
|
@@ -20424,6 +20769,12 @@ interface GetPublicInterfaceByIdResponse {
|
|
|
20424
20769
|
script: string;
|
|
20425
20770
|
language: string;
|
|
20426
20771
|
};
|
|
20772
|
+
/**
|
|
20773
|
+
* Optional attributes
|
|
20774
|
+
*/
|
|
20775
|
+
attributes?: {
|
|
20776
|
+
[k: string]: string;
|
|
20777
|
+
};
|
|
20427
20778
|
/**
|
|
20428
20779
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
20429
20780
|
*/
|
|
@@ -20584,6 +20935,12 @@ interface GetPublicInterfaceResponse {
|
|
|
20584
20935
|
script: string;
|
|
20585
20936
|
language: string;
|
|
20586
20937
|
};
|
|
20938
|
+
/**
|
|
20939
|
+
* Optional attributes
|
|
20940
|
+
*/
|
|
20941
|
+
attributes?: {
|
|
20942
|
+
[k: string]: string;
|
|
20943
|
+
};
|
|
20587
20944
|
/**
|
|
20588
20945
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
20589
20946
|
*/
|
|
@@ -20786,7 +21143,7 @@ interface CreateBotRequestBody {
|
|
|
20786
21143
|
};
|
|
20787
21144
|
};
|
|
20788
21145
|
/**
|
|
20789
|
-
*
|
|
21146
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
20790
21147
|
*/
|
|
20791
21148
|
tags?: {
|
|
20792
21149
|
[k: string]: string;
|
|
@@ -20895,6 +21252,57 @@ interface CreateBotResponse {
|
|
|
20895
21252
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
20896
21253
|
};
|
|
20897
21254
|
};
|
|
21255
|
+
/**
|
|
21256
|
+
* A mapping of plugin aliases to their configuration
|
|
21257
|
+
*/
|
|
21258
|
+
plugins: {
|
|
21259
|
+
[k: string]: {
|
|
21260
|
+
enabled: boolean;
|
|
21261
|
+
/**
|
|
21262
|
+
* Name of the [Plugin](#schema_plugin)
|
|
21263
|
+
*/
|
|
21264
|
+
name: string;
|
|
21265
|
+
/**
|
|
21266
|
+
* Version of the [Plugin](#schema_plugin)
|
|
21267
|
+
*/
|
|
21268
|
+
version: string;
|
|
21269
|
+
configuration: {
|
|
21270
|
+
[k: string]: any;
|
|
21271
|
+
};
|
|
21272
|
+
/**
|
|
21273
|
+
* ID of the [Plugin](#schema_plugin)
|
|
21274
|
+
*/
|
|
21275
|
+
id: string;
|
|
21276
|
+
/**
|
|
21277
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
21278
|
+
*/
|
|
21279
|
+
createdAt: string;
|
|
21280
|
+
/**
|
|
21281
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
21282
|
+
*/
|
|
21283
|
+
updatedAt: string;
|
|
21284
|
+
/**
|
|
21285
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
21286
|
+
*/
|
|
21287
|
+
title: string;
|
|
21288
|
+
/**
|
|
21289
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
21290
|
+
*/
|
|
21291
|
+
description: string;
|
|
21292
|
+
/**
|
|
21293
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
21294
|
+
*/
|
|
21295
|
+
iconUrl: string;
|
|
21296
|
+
/**
|
|
21297
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
21298
|
+
*/
|
|
21299
|
+
readmeUrl: string;
|
|
21300
|
+
/**
|
|
21301
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
21302
|
+
*/
|
|
21303
|
+
public: boolean;
|
|
21304
|
+
};
|
|
21305
|
+
};
|
|
20898
21306
|
/**
|
|
20899
21307
|
* User object configuration
|
|
20900
21308
|
*/
|
|
@@ -21166,7 +21574,7 @@ interface UpdateBotRequestBody {
|
|
|
21166
21574
|
};
|
|
21167
21575
|
};
|
|
21168
21576
|
/**
|
|
21169
|
-
*
|
|
21577
|
+
* Optional attributes of the [Bot](#schema_bot)
|
|
21170
21578
|
*/
|
|
21171
21579
|
tags?: {
|
|
21172
21580
|
[k: string]: string;
|
|
@@ -21323,6 +21731,18 @@ interface UpdateBotRequestBody {
|
|
|
21323
21731
|
disabledChannels?: string[];
|
|
21324
21732
|
} | null;
|
|
21325
21733
|
};
|
|
21734
|
+
/**
|
|
21735
|
+
* A mapping of plugin aliases to their configuration
|
|
21736
|
+
*/
|
|
21737
|
+
plugins?: {
|
|
21738
|
+
[k: string]: {
|
|
21739
|
+
id: string;
|
|
21740
|
+
enabled?: boolean;
|
|
21741
|
+
configuration?: {
|
|
21742
|
+
[k: string]: any;
|
|
21743
|
+
};
|
|
21744
|
+
} | null;
|
|
21745
|
+
};
|
|
21326
21746
|
subscriptions?: {
|
|
21327
21747
|
events: {
|
|
21328
21748
|
[k: string]: {} | null;
|
|
@@ -21425,6 +21845,57 @@ interface UpdateBotResponse {
|
|
|
21425
21845
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
21426
21846
|
};
|
|
21427
21847
|
};
|
|
21848
|
+
/**
|
|
21849
|
+
* A mapping of plugin aliases to their configuration
|
|
21850
|
+
*/
|
|
21851
|
+
plugins: {
|
|
21852
|
+
[k: string]: {
|
|
21853
|
+
enabled: boolean;
|
|
21854
|
+
/**
|
|
21855
|
+
* Name of the [Plugin](#schema_plugin)
|
|
21856
|
+
*/
|
|
21857
|
+
name: string;
|
|
21858
|
+
/**
|
|
21859
|
+
* Version of the [Plugin](#schema_plugin)
|
|
21860
|
+
*/
|
|
21861
|
+
version: string;
|
|
21862
|
+
configuration: {
|
|
21863
|
+
[k: string]: any;
|
|
21864
|
+
};
|
|
21865
|
+
/**
|
|
21866
|
+
* ID of the [Plugin](#schema_plugin)
|
|
21867
|
+
*/
|
|
21868
|
+
id: string;
|
|
21869
|
+
/**
|
|
21870
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
21871
|
+
*/
|
|
21872
|
+
createdAt: string;
|
|
21873
|
+
/**
|
|
21874
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
21875
|
+
*/
|
|
21876
|
+
updatedAt: string;
|
|
21877
|
+
/**
|
|
21878
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
21879
|
+
*/
|
|
21880
|
+
title: string;
|
|
21881
|
+
/**
|
|
21882
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
21883
|
+
*/
|
|
21884
|
+
description: string;
|
|
21885
|
+
/**
|
|
21886
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
21887
|
+
*/
|
|
21888
|
+
iconUrl: string;
|
|
21889
|
+
/**
|
|
21890
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
21891
|
+
*/
|
|
21892
|
+
readmeUrl: string;
|
|
21893
|
+
/**
|
|
21894
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
21895
|
+
*/
|
|
21896
|
+
public: boolean;
|
|
21897
|
+
};
|
|
21898
|
+
};
|
|
21428
21899
|
/**
|
|
21429
21900
|
* User object configuration
|
|
21430
21901
|
*/
|
|
@@ -21818,6 +22289,57 @@ interface GetBotResponse {
|
|
|
21818
22289
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
21819
22290
|
};
|
|
21820
22291
|
};
|
|
22292
|
+
/**
|
|
22293
|
+
* A mapping of plugin aliases to their configuration
|
|
22294
|
+
*/
|
|
22295
|
+
plugins: {
|
|
22296
|
+
[k: string]: {
|
|
22297
|
+
enabled: boolean;
|
|
22298
|
+
/**
|
|
22299
|
+
* Name of the [Plugin](#schema_plugin)
|
|
22300
|
+
*/
|
|
22301
|
+
name: string;
|
|
22302
|
+
/**
|
|
22303
|
+
* Version of the [Plugin](#schema_plugin)
|
|
22304
|
+
*/
|
|
22305
|
+
version: string;
|
|
22306
|
+
configuration: {
|
|
22307
|
+
[k: string]: any;
|
|
22308
|
+
};
|
|
22309
|
+
/**
|
|
22310
|
+
* ID of the [Plugin](#schema_plugin)
|
|
22311
|
+
*/
|
|
22312
|
+
id: string;
|
|
22313
|
+
/**
|
|
22314
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
22315
|
+
*/
|
|
22316
|
+
createdAt: string;
|
|
22317
|
+
/**
|
|
22318
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
22319
|
+
*/
|
|
22320
|
+
updatedAt: string;
|
|
22321
|
+
/**
|
|
22322
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
22323
|
+
*/
|
|
22324
|
+
title: string;
|
|
22325
|
+
/**
|
|
22326
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
22327
|
+
*/
|
|
22328
|
+
description: string;
|
|
22329
|
+
/**
|
|
22330
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
22331
|
+
*/
|
|
22332
|
+
iconUrl: string;
|
|
22333
|
+
/**
|
|
22334
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
22335
|
+
*/
|
|
22336
|
+
readmeUrl: string;
|
|
22337
|
+
/**
|
|
22338
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
22339
|
+
*/
|
|
22340
|
+
public: boolean;
|
|
22341
|
+
};
|
|
22342
|
+
};
|
|
21821
22343
|
/**
|
|
21822
22344
|
* User object configuration
|
|
21823
22345
|
*/
|
|
@@ -23294,6 +23816,12 @@ interface CreateIntegrationRequestBody {
|
|
|
23294
23816
|
};
|
|
23295
23817
|
};
|
|
23296
23818
|
};
|
|
23819
|
+
/**
|
|
23820
|
+
* Optional attributes
|
|
23821
|
+
*/
|
|
23822
|
+
attributes?: {
|
|
23823
|
+
[k: string]: string;
|
|
23824
|
+
};
|
|
23297
23825
|
identifier?: {
|
|
23298
23826
|
fallbackHandlerScript?: string;
|
|
23299
23827
|
extractScript?: string;
|
|
@@ -23808,6 +24336,12 @@ interface CreateIntegrationResponse {
|
|
|
23808
24336
|
};
|
|
23809
24337
|
};
|
|
23810
24338
|
};
|
|
24339
|
+
/**
|
|
24340
|
+
* Optional attributes
|
|
24341
|
+
*/
|
|
24342
|
+
attributes?: {
|
|
24343
|
+
[k: string]: string;
|
|
24344
|
+
};
|
|
23811
24345
|
/**
|
|
23812
24346
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
23813
24347
|
*/
|
|
@@ -23998,6 +24532,12 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
23998
24532
|
};
|
|
23999
24533
|
};
|
|
24000
24534
|
};
|
|
24535
|
+
/**
|
|
24536
|
+
* Optional attributes
|
|
24537
|
+
*/
|
|
24538
|
+
attributes?: {
|
|
24539
|
+
[k: string]: string;
|
|
24540
|
+
};
|
|
24001
24541
|
identifier?: {
|
|
24002
24542
|
fallbackHandlerScript?: string;
|
|
24003
24543
|
extractScript?: string;
|
|
@@ -24450,6 +24990,12 @@ interface UpdateIntegrationRequestBody {
|
|
|
24450
24990
|
identifierExtractScript?: string | null;
|
|
24451
24991
|
messageExtractScript?: string | null;
|
|
24452
24992
|
};
|
|
24993
|
+
/**
|
|
24994
|
+
* Optional attributes. Set attributes to null to remove them
|
|
24995
|
+
*/
|
|
24996
|
+
attributes?: {
|
|
24997
|
+
[k: string]: string | null;
|
|
24998
|
+
};
|
|
24453
24999
|
/**
|
|
24454
25000
|
* 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.
|
|
24455
25001
|
*/
|
|
@@ -24829,6 +25375,12 @@ interface UpdateIntegrationResponse {
|
|
|
24829
25375
|
};
|
|
24830
25376
|
};
|
|
24831
25377
|
};
|
|
25378
|
+
/**
|
|
25379
|
+
* Optional attributes
|
|
25380
|
+
*/
|
|
25381
|
+
attributes?: {
|
|
25382
|
+
[k: string]: string;
|
|
25383
|
+
};
|
|
24832
25384
|
/**
|
|
24833
25385
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
24834
25386
|
*/
|
|
@@ -25141,6 +25693,12 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
25141
25693
|
identifierExtractScript?: string | null;
|
|
25142
25694
|
messageExtractScript?: string | null;
|
|
25143
25695
|
};
|
|
25696
|
+
/**
|
|
25697
|
+
* Optional attributes. Set attributes to null to remove them
|
|
25698
|
+
*/
|
|
25699
|
+
attributes?: {
|
|
25700
|
+
[k: string]: string | null;
|
|
25701
|
+
};
|
|
25144
25702
|
/**
|
|
25145
25703
|
* 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.
|
|
25146
25704
|
*/
|
|
@@ -25636,6 +26194,12 @@ interface GetIntegrationResponse {
|
|
|
25636
26194
|
};
|
|
25637
26195
|
};
|
|
25638
26196
|
};
|
|
26197
|
+
/**
|
|
26198
|
+
* Optional attributes
|
|
26199
|
+
*/
|
|
26200
|
+
attributes?: {
|
|
26201
|
+
[k: string]: string;
|
|
26202
|
+
};
|
|
25639
26203
|
/**
|
|
25640
26204
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
25641
26205
|
*/
|
|
@@ -26053,6 +26617,12 @@ interface GetIntegrationByNameResponse {
|
|
|
26053
26617
|
};
|
|
26054
26618
|
};
|
|
26055
26619
|
};
|
|
26620
|
+
/**
|
|
26621
|
+
* Optional attributes
|
|
26622
|
+
*/
|
|
26623
|
+
attributes?: {
|
|
26624
|
+
[k: string]: string;
|
|
26625
|
+
};
|
|
26056
26626
|
/**
|
|
26057
26627
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
26058
26628
|
*/
|
|
@@ -26233,6 +26803,12 @@ interface CreateInterfaceRequestBody {
|
|
|
26233
26803
|
script: string;
|
|
26234
26804
|
language: string;
|
|
26235
26805
|
};
|
|
26806
|
+
/**
|
|
26807
|
+
* Optional attributes
|
|
26808
|
+
*/
|
|
26809
|
+
attributes?: {
|
|
26810
|
+
[k: string]: string;
|
|
26811
|
+
};
|
|
26236
26812
|
/**
|
|
26237
26813
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
26238
26814
|
*/
|
|
@@ -26381,6 +26957,12 @@ interface CreateInterfaceResponse {
|
|
|
26381
26957
|
script: string;
|
|
26382
26958
|
language: string;
|
|
26383
26959
|
};
|
|
26960
|
+
/**
|
|
26961
|
+
* Optional attributes
|
|
26962
|
+
*/
|
|
26963
|
+
attributes?: {
|
|
26964
|
+
[k: string]: string;
|
|
26965
|
+
};
|
|
26384
26966
|
/**
|
|
26385
26967
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26386
26968
|
*/
|
|
@@ -26540,6 +27122,12 @@ interface GetInterfaceResponse {
|
|
|
26540
27122
|
script: string;
|
|
26541
27123
|
language: string;
|
|
26542
27124
|
};
|
|
27125
|
+
/**
|
|
27126
|
+
* Optional attributes
|
|
27127
|
+
*/
|
|
27128
|
+
attributes?: {
|
|
27129
|
+
[k: string]: string;
|
|
27130
|
+
};
|
|
26543
27131
|
/**
|
|
26544
27132
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26545
27133
|
*/
|
|
@@ -26700,6 +27288,12 @@ interface GetInterfaceByNameResponse {
|
|
|
26700
27288
|
script: string;
|
|
26701
27289
|
language: string;
|
|
26702
27290
|
};
|
|
27291
|
+
/**
|
|
27292
|
+
* Optional attributes
|
|
27293
|
+
*/
|
|
27294
|
+
attributes?: {
|
|
27295
|
+
[k: string]: string;
|
|
27296
|
+
};
|
|
26703
27297
|
/**
|
|
26704
27298
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26705
27299
|
*/
|
|
@@ -26829,6 +27423,12 @@ interface UpdateInterfaceRequestBody {
|
|
|
26829
27423
|
script: string;
|
|
26830
27424
|
language: string;
|
|
26831
27425
|
} | null;
|
|
27426
|
+
/**
|
|
27427
|
+
* Optional attributes. Set attributes to null to remove them
|
|
27428
|
+
*/
|
|
27429
|
+
attributes?: {
|
|
27430
|
+
[k: string]: string | null;
|
|
27431
|
+
};
|
|
26832
27432
|
/**
|
|
26833
27433
|
* Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
|
|
26834
27434
|
*/
|
|
@@ -26977,6 +27577,12 @@ interface UpdateInterfaceResponse {
|
|
|
26977
27577
|
script: string;
|
|
26978
27578
|
language: string;
|
|
26979
27579
|
};
|
|
27580
|
+
/**
|
|
27581
|
+
* Optional attributes
|
|
27582
|
+
*/
|
|
27583
|
+
attributes?: {
|
|
27584
|
+
[k: string]: string;
|
|
27585
|
+
};
|
|
26980
27586
|
/**
|
|
26981
27587
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
26982
27588
|
*/
|
|
@@ -27237,6 +27843,12 @@ interface CreatePluginRequestBody {
|
|
|
27237
27843
|
};
|
|
27238
27844
|
};
|
|
27239
27845
|
};
|
|
27846
|
+
/**
|
|
27847
|
+
* Optional attributes
|
|
27848
|
+
*/
|
|
27849
|
+
attributes?: {
|
|
27850
|
+
[k: string]: string;
|
|
27851
|
+
};
|
|
27240
27852
|
code: {
|
|
27241
27853
|
/**
|
|
27242
27854
|
* Code of plugin bundled for Node.JS
|
|
@@ -27441,6 +28053,12 @@ interface CreatePluginResponse {
|
|
|
27441
28053
|
};
|
|
27442
28054
|
};
|
|
27443
28055
|
};
|
|
28056
|
+
/**
|
|
28057
|
+
* Optional attributes
|
|
28058
|
+
*/
|
|
28059
|
+
attributes?: {
|
|
28060
|
+
[k: string]: string;
|
|
28061
|
+
};
|
|
27444
28062
|
/**
|
|
27445
28063
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
27446
28064
|
*/
|
|
@@ -27646,6 +28264,12 @@ interface GetPluginResponse {
|
|
|
27646
28264
|
};
|
|
27647
28265
|
};
|
|
27648
28266
|
};
|
|
28267
|
+
/**
|
|
28268
|
+
* Optional attributes
|
|
28269
|
+
*/
|
|
28270
|
+
attributes?: {
|
|
28271
|
+
[k: string]: string;
|
|
28272
|
+
};
|
|
27649
28273
|
/**
|
|
27650
28274
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
27651
28275
|
*/
|
|
@@ -27852,6 +28476,12 @@ interface GetPluginByNameResponse {
|
|
|
27852
28476
|
};
|
|
27853
28477
|
};
|
|
27854
28478
|
};
|
|
28479
|
+
/**
|
|
28480
|
+
* Optional attributes
|
|
28481
|
+
*/
|
|
28482
|
+
attributes?: {
|
|
28483
|
+
[k: string]: string;
|
|
28484
|
+
};
|
|
27855
28485
|
/**
|
|
27856
28486
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
27857
28487
|
*/
|
|
@@ -28017,6 +28647,12 @@ interface UpdatePluginRequestBody {
|
|
|
28017
28647
|
} | null;
|
|
28018
28648
|
};
|
|
28019
28649
|
};
|
|
28650
|
+
/**
|
|
28651
|
+
* Optional attributes. Set attributes to null to remove them
|
|
28652
|
+
*/
|
|
28653
|
+
attributes?: {
|
|
28654
|
+
[k: string]: string | null;
|
|
28655
|
+
};
|
|
28020
28656
|
code?: {
|
|
28021
28657
|
/**
|
|
28022
28658
|
* Code of plugin bundled for Node.JS
|
|
@@ -28221,6 +28857,12 @@ interface UpdatePluginResponse {
|
|
|
28221
28857
|
};
|
|
28222
28858
|
};
|
|
28223
28859
|
};
|
|
28860
|
+
/**
|
|
28861
|
+
* Optional attributes
|
|
28862
|
+
*/
|
|
28863
|
+
attributes?: {
|
|
28864
|
+
[k: string]: string;
|
|
28865
|
+
};
|
|
28224
28866
|
/**
|
|
28225
28867
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
28226
28868
|
*/
|
|
@@ -31225,6 +31867,57 @@ interface Bot {
|
|
|
31225
31867
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
31226
31868
|
};
|
|
31227
31869
|
};
|
|
31870
|
+
/**
|
|
31871
|
+
* A mapping of plugin aliases to their configuration
|
|
31872
|
+
*/
|
|
31873
|
+
plugins: {
|
|
31874
|
+
[k: string]: {
|
|
31875
|
+
enabled: boolean;
|
|
31876
|
+
/**
|
|
31877
|
+
* Name of the [Plugin](#schema_plugin)
|
|
31878
|
+
*/
|
|
31879
|
+
name: string;
|
|
31880
|
+
/**
|
|
31881
|
+
* Version of the [Plugin](#schema_plugin)
|
|
31882
|
+
*/
|
|
31883
|
+
version: string;
|
|
31884
|
+
configuration: {
|
|
31885
|
+
[k: string]: any;
|
|
31886
|
+
};
|
|
31887
|
+
/**
|
|
31888
|
+
* ID of the [Plugin](#schema_plugin)
|
|
31889
|
+
*/
|
|
31890
|
+
id: string;
|
|
31891
|
+
/**
|
|
31892
|
+
* Creation date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
31893
|
+
*/
|
|
31894
|
+
createdAt: string;
|
|
31895
|
+
/**
|
|
31896
|
+
* Updating date of the [Plugin](#schema_plugin) in ISO 8601 format
|
|
31897
|
+
*/
|
|
31898
|
+
updatedAt: string;
|
|
31899
|
+
/**
|
|
31900
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
31901
|
+
*/
|
|
31902
|
+
title: string;
|
|
31903
|
+
/**
|
|
31904
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
31905
|
+
*/
|
|
31906
|
+
description: string;
|
|
31907
|
+
/**
|
|
31908
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
31909
|
+
*/
|
|
31910
|
+
iconUrl: string;
|
|
31911
|
+
/**
|
|
31912
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
31913
|
+
*/
|
|
31914
|
+
readmeUrl: string;
|
|
31915
|
+
/**
|
|
31916
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
31917
|
+
*/
|
|
31918
|
+
public: boolean;
|
|
31919
|
+
};
|
|
31920
|
+
};
|
|
31228
31921
|
/**
|
|
31229
31922
|
* User object configuration
|
|
31230
31923
|
*/
|
|
@@ -31804,6 +32497,12 @@ interface Integration {
|
|
|
31804
32497
|
};
|
|
31805
32498
|
};
|
|
31806
32499
|
};
|
|
32500
|
+
/**
|
|
32501
|
+
* Optional attributes
|
|
32502
|
+
*/
|
|
32503
|
+
attributes?: {
|
|
32504
|
+
[k: string]: string;
|
|
32505
|
+
};
|
|
31807
32506
|
/**
|
|
31808
32507
|
* Indicates if the integration is a development integration; Dev integrations run locally
|
|
31809
32508
|
*/
|
|
@@ -31962,6 +32661,12 @@ interface Interface {
|
|
|
31962
32661
|
script: string;
|
|
31963
32662
|
language: string;
|
|
31964
32663
|
};
|
|
32664
|
+
/**
|
|
32665
|
+
* Optional attributes
|
|
32666
|
+
*/
|
|
32667
|
+
attributes?: {
|
|
32668
|
+
[k: string]: string;
|
|
32669
|
+
};
|
|
31965
32670
|
/**
|
|
31966
32671
|
* Title of the interface. This is the name that will be displayed in the UI
|
|
31967
32672
|
*/
|
|
@@ -32154,6 +32859,12 @@ interface Plugin {
|
|
|
32154
32859
|
};
|
|
32155
32860
|
};
|
|
32156
32861
|
};
|
|
32862
|
+
/**
|
|
32863
|
+
* Optional attributes
|
|
32864
|
+
*/
|
|
32865
|
+
attributes?: {
|
|
32866
|
+
[k: string]: string;
|
|
32867
|
+
};
|
|
32157
32868
|
/**
|
|
32158
32869
|
* Title of the plugin. This is the name that will be displayed in the UI
|
|
32159
32870
|
*/
|