@botpress/api 0.52.0 → 0.53.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.js +860 -1
- package/dist/src/gen/state.d.ts +756 -1
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +861 -2
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as opapi from '@bpinternal/opapi';
|
|
2
|
-
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'bot' | 'integration' | 'interface' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
2
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Plugin' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Workflow' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'state' | 'hub' | 'action' | 'task' | 'workflow' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
5
|
createConversation: {
|
|
@@ -8917,6 +8917,556 @@ export declare const state: {
|
|
|
8917
8917
|
};
|
|
8918
8918
|
};
|
|
8919
8919
|
};
|
|
8920
|
+
createPlugin: {
|
|
8921
|
+
name: string;
|
|
8922
|
+
description: string;
|
|
8923
|
+
method: "post";
|
|
8924
|
+
path: string;
|
|
8925
|
+
parameters: {};
|
|
8926
|
+
requestBody: {
|
|
8927
|
+
description: string;
|
|
8928
|
+
schema: {
|
|
8929
|
+
type: "object";
|
|
8930
|
+
properties: {
|
|
8931
|
+
name: {
|
|
8932
|
+
type: "string";
|
|
8933
|
+
maxLength: number;
|
|
8934
|
+
description: string;
|
|
8935
|
+
};
|
|
8936
|
+
version: {
|
|
8937
|
+
type: "string";
|
|
8938
|
+
maxLength: number;
|
|
8939
|
+
description: string;
|
|
8940
|
+
};
|
|
8941
|
+
configuration: {
|
|
8942
|
+
type: "object";
|
|
8943
|
+
properties: {
|
|
8944
|
+
title: {
|
|
8945
|
+
type: "string";
|
|
8946
|
+
maxLength: number;
|
|
8947
|
+
description: string;
|
|
8948
|
+
};
|
|
8949
|
+
description: {
|
|
8950
|
+
type: "string";
|
|
8951
|
+
maxLength: number;
|
|
8952
|
+
description: string;
|
|
8953
|
+
};
|
|
8954
|
+
schema: {
|
|
8955
|
+
type: "object";
|
|
8956
|
+
additionalProperties: true;
|
|
8957
|
+
description: string;
|
|
8958
|
+
};
|
|
8959
|
+
};
|
|
8960
|
+
required: string[];
|
|
8961
|
+
description: string;
|
|
8962
|
+
additionalProperties: false;
|
|
8963
|
+
};
|
|
8964
|
+
states: {
|
|
8965
|
+
type: "object";
|
|
8966
|
+
additionalProperties: {
|
|
8967
|
+
type: "object";
|
|
8968
|
+
properties: {
|
|
8969
|
+
type: {
|
|
8970
|
+
type: "string";
|
|
8971
|
+
enum: string[];
|
|
8972
|
+
description: string;
|
|
8973
|
+
};
|
|
8974
|
+
schema: {
|
|
8975
|
+
type: "object";
|
|
8976
|
+
additionalProperties: true;
|
|
8977
|
+
description: string;
|
|
8978
|
+
};
|
|
8979
|
+
expiry: {
|
|
8980
|
+
type: "number";
|
|
8981
|
+
minimum: number;
|
|
8982
|
+
description: string;
|
|
8983
|
+
};
|
|
8984
|
+
};
|
|
8985
|
+
required: string[];
|
|
8986
|
+
additionalProperties: false;
|
|
8987
|
+
};
|
|
8988
|
+
};
|
|
8989
|
+
events: {
|
|
8990
|
+
type: "object";
|
|
8991
|
+
additionalProperties: {
|
|
8992
|
+
type: "object";
|
|
8993
|
+
properties: {
|
|
8994
|
+
title: {
|
|
8995
|
+
type: "string";
|
|
8996
|
+
maxLength: number;
|
|
8997
|
+
description: string;
|
|
8998
|
+
};
|
|
8999
|
+
description: {
|
|
9000
|
+
type: "string";
|
|
9001
|
+
maxLength: number;
|
|
9002
|
+
description: string;
|
|
9003
|
+
};
|
|
9004
|
+
schema: {
|
|
9005
|
+
type: "object";
|
|
9006
|
+
additionalProperties: true;
|
|
9007
|
+
};
|
|
9008
|
+
};
|
|
9009
|
+
required: string[];
|
|
9010
|
+
description: string;
|
|
9011
|
+
additionalProperties: false;
|
|
9012
|
+
};
|
|
9013
|
+
};
|
|
9014
|
+
actions: {
|
|
9015
|
+
type: "object";
|
|
9016
|
+
additionalProperties: {
|
|
9017
|
+
type: "object";
|
|
9018
|
+
properties: {
|
|
9019
|
+
title: {
|
|
9020
|
+
type: "string";
|
|
9021
|
+
maxLength: number;
|
|
9022
|
+
description: string;
|
|
9023
|
+
};
|
|
9024
|
+
description: {
|
|
9025
|
+
type: "string";
|
|
9026
|
+
maxLength: number;
|
|
9027
|
+
description: string;
|
|
9028
|
+
};
|
|
9029
|
+
billable: {
|
|
9030
|
+
type: "boolean";
|
|
9031
|
+
};
|
|
9032
|
+
cacheable: {
|
|
9033
|
+
type: "boolean";
|
|
9034
|
+
};
|
|
9035
|
+
input: {
|
|
9036
|
+
type: "object";
|
|
9037
|
+
properties: {
|
|
9038
|
+
schema: {
|
|
9039
|
+
type: "object";
|
|
9040
|
+
additionalProperties: true;
|
|
9041
|
+
};
|
|
9042
|
+
};
|
|
9043
|
+
required: string[];
|
|
9044
|
+
additionalProperties: false;
|
|
9045
|
+
};
|
|
9046
|
+
output: {
|
|
9047
|
+
type: "object";
|
|
9048
|
+
properties: {
|
|
9049
|
+
schema: {
|
|
9050
|
+
type: "object";
|
|
9051
|
+
additionalProperties: true;
|
|
9052
|
+
};
|
|
9053
|
+
};
|
|
9054
|
+
required: string[];
|
|
9055
|
+
additionalProperties: false;
|
|
9056
|
+
};
|
|
9057
|
+
};
|
|
9058
|
+
required: string[];
|
|
9059
|
+
description: string;
|
|
9060
|
+
additionalProperties: false;
|
|
9061
|
+
};
|
|
9062
|
+
};
|
|
9063
|
+
user: {
|
|
9064
|
+
type: "object";
|
|
9065
|
+
properties: {
|
|
9066
|
+
tags: {
|
|
9067
|
+
type: "object";
|
|
9068
|
+
additionalProperties: {
|
|
9069
|
+
type: "object";
|
|
9070
|
+
properties: {
|
|
9071
|
+
title: {
|
|
9072
|
+
type: "string";
|
|
9073
|
+
maxLength: number;
|
|
9074
|
+
description: string;
|
|
9075
|
+
};
|
|
9076
|
+
description: {
|
|
9077
|
+
type: "string";
|
|
9078
|
+
maxLength: number;
|
|
9079
|
+
description: string;
|
|
9080
|
+
};
|
|
9081
|
+
};
|
|
9082
|
+
description: string;
|
|
9083
|
+
additionalProperties: false;
|
|
9084
|
+
};
|
|
9085
|
+
};
|
|
9086
|
+
};
|
|
9087
|
+
required: string[];
|
|
9088
|
+
description: string;
|
|
9089
|
+
additionalProperties: false;
|
|
9090
|
+
};
|
|
9091
|
+
code: {
|
|
9092
|
+
type: "string";
|
|
9093
|
+
};
|
|
9094
|
+
};
|
|
9095
|
+
required: string[];
|
|
9096
|
+
title: string;
|
|
9097
|
+
additionalProperties: false;
|
|
9098
|
+
};
|
|
9099
|
+
};
|
|
9100
|
+
section: "plugin";
|
|
9101
|
+
response: {
|
|
9102
|
+
description: string;
|
|
9103
|
+
schema: {
|
|
9104
|
+
type: "object";
|
|
9105
|
+
properties: {
|
|
9106
|
+
plugin: {
|
|
9107
|
+
$ref: string;
|
|
9108
|
+
};
|
|
9109
|
+
};
|
|
9110
|
+
required: string[];
|
|
9111
|
+
title: string;
|
|
9112
|
+
additionalProperties: false;
|
|
9113
|
+
};
|
|
9114
|
+
};
|
|
9115
|
+
};
|
|
9116
|
+
getPlugin: {
|
|
9117
|
+
name: string;
|
|
9118
|
+
description: string;
|
|
9119
|
+
method: "get";
|
|
9120
|
+
path: string;
|
|
9121
|
+
parameters: {
|
|
9122
|
+
id: {
|
|
9123
|
+
in: "path";
|
|
9124
|
+
type: "string";
|
|
9125
|
+
description: string;
|
|
9126
|
+
};
|
|
9127
|
+
};
|
|
9128
|
+
section: "plugin";
|
|
9129
|
+
response: {
|
|
9130
|
+
description: string;
|
|
9131
|
+
schema: {
|
|
9132
|
+
type: "object";
|
|
9133
|
+
properties: {
|
|
9134
|
+
plugin: {
|
|
9135
|
+
$ref: string;
|
|
9136
|
+
};
|
|
9137
|
+
};
|
|
9138
|
+
required: string[];
|
|
9139
|
+
title: string;
|
|
9140
|
+
additionalProperties: false;
|
|
9141
|
+
};
|
|
9142
|
+
};
|
|
9143
|
+
};
|
|
9144
|
+
getPluginByName: {
|
|
9145
|
+
name: string;
|
|
9146
|
+
description: string;
|
|
9147
|
+
method: "get";
|
|
9148
|
+
path: string;
|
|
9149
|
+
parameters: {
|
|
9150
|
+
name: {
|
|
9151
|
+
in: "path";
|
|
9152
|
+
type: "string";
|
|
9153
|
+
description: string;
|
|
9154
|
+
};
|
|
9155
|
+
version: {
|
|
9156
|
+
in: "path";
|
|
9157
|
+
type: "string";
|
|
9158
|
+
description: string;
|
|
9159
|
+
};
|
|
9160
|
+
};
|
|
9161
|
+
section: "plugin";
|
|
9162
|
+
response: {
|
|
9163
|
+
description: string;
|
|
9164
|
+
schema: {
|
|
9165
|
+
type: "object";
|
|
9166
|
+
properties: {
|
|
9167
|
+
plugin: {
|
|
9168
|
+
$ref: string;
|
|
9169
|
+
};
|
|
9170
|
+
};
|
|
9171
|
+
required: string[];
|
|
9172
|
+
title: string;
|
|
9173
|
+
additionalProperties: false;
|
|
9174
|
+
};
|
|
9175
|
+
};
|
|
9176
|
+
};
|
|
9177
|
+
updatePlugin: {
|
|
9178
|
+
name: string;
|
|
9179
|
+
description: string;
|
|
9180
|
+
method: "put";
|
|
9181
|
+
path: string;
|
|
9182
|
+
parameters: {
|
|
9183
|
+
id: {
|
|
9184
|
+
in: "path";
|
|
9185
|
+
type: "string";
|
|
9186
|
+
description: string;
|
|
9187
|
+
};
|
|
9188
|
+
};
|
|
9189
|
+
requestBody: {
|
|
9190
|
+
description: string;
|
|
9191
|
+
schema: {
|
|
9192
|
+
type: "object";
|
|
9193
|
+
properties: {
|
|
9194
|
+
configuration: {
|
|
9195
|
+
type: "object";
|
|
9196
|
+
properties: {
|
|
9197
|
+
title: {
|
|
9198
|
+
type: "string";
|
|
9199
|
+
maxLength: number;
|
|
9200
|
+
description: string;
|
|
9201
|
+
};
|
|
9202
|
+
description: {
|
|
9203
|
+
type: "string";
|
|
9204
|
+
maxLength: number;
|
|
9205
|
+
description: string;
|
|
9206
|
+
};
|
|
9207
|
+
schema: {
|
|
9208
|
+
type: "object";
|
|
9209
|
+
additionalProperties: true;
|
|
9210
|
+
description: string;
|
|
9211
|
+
};
|
|
9212
|
+
};
|
|
9213
|
+
required: string[];
|
|
9214
|
+
description: string;
|
|
9215
|
+
nullable: true;
|
|
9216
|
+
additionalProperties: false;
|
|
9217
|
+
};
|
|
9218
|
+
states: {
|
|
9219
|
+
type: "object";
|
|
9220
|
+
additionalProperties: {
|
|
9221
|
+
type: "object";
|
|
9222
|
+
properties: {
|
|
9223
|
+
type: {
|
|
9224
|
+
type: "string";
|
|
9225
|
+
enum: string[];
|
|
9226
|
+
description: string;
|
|
9227
|
+
};
|
|
9228
|
+
schema: {
|
|
9229
|
+
type: "object";
|
|
9230
|
+
additionalProperties: true;
|
|
9231
|
+
description: string;
|
|
9232
|
+
};
|
|
9233
|
+
expiry: {
|
|
9234
|
+
type: "number";
|
|
9235
|
+
minimum: number;
|
|
9236
|
+
description: string;
|
|
9237
|
+
};
|
|
9238
|
+
};
|
|
9239
|
+
required: string[];
|
|
9240
|
+
nullable: true;
|
|
9241
|
+
additionalProperties: false;
|
|
9242
|
+
};
|
|
9243
|
+
};
|
|
9244
|
+
events: {
|
|
9245
|
+
type: "object";
|
|
9246
|
+
additionalProperties: {
|
|
9247
|
+
type: "object";
|
|
9248
|
+
properties: {
|
|
9249
|
+
title: {
|
|
9250
|
+
type: "string";
|
|
9251
|
+
maxLength: number;
|
|
9252
|
+
description: string;
|
|
9253
|
+
};
|
|
9254
|
+
description: {
|
|
9255
|
+
type: "string";
|
|
9256
|
+
maxLength: number;
|
|
9257
|
+
description: string;
|
|
9258
|
+
};
|
|
9259
|
+
schema: {
|
|
9260
|
+
type: "object";
|
|
9261
|
+
additionalProperties: true;
|
|
9262
|
+
};
|
|
9263
|
+
};
|
|
9264
|
+
required: string[];
|
|
9265
|
+
description: string;
|
|
9266
|
+
nullable: true;
|
|
9267
|
+
additionalProperties: false;
|
|
9268
|
+
};
|
|
9269
|
+
};
|
|
9270
|
+
actions: {
|
|
9271
|
+
type: "object";
|
|
9272
|
+
additionalProperties: {
|
|
9273
|
+
type: "object";
|
|
9274
|
+
properties: {
|
|
9275
|
+
title: {
|
|
9276
|
+
type: "string";
|
|
9277
|
+
maxLength: number;
|
|
9278
|
+
description: string;
|
|
9279
|
+
};
|
|
9280
|
+
description: {
|
|
9281
|
+
type: "string";
|
|
9282
|
+
maxLength: number;
|
|
9283
|
+
description: string;
|
|
9284
|
+
};
|
|
9285
|
+
billable: {
|
|
9286
|
+
type: "boolean";
|
|
9287
|
+
};
|
|
9288
|
+
cacheable: {
|
|
9289
|
+
type: "boolean";
|
|
9290
|
+
};
|
|
9291
|
+
input: {
|
|
9292
|
+
type: "object";
|
|
9293
|
+
properties: {
|
|
9294
|
+
schema: {
|
|
9295
|
+
type: "object";
|
|
9296
|
+
additionalProperties: true;
|
|
9297
|
+
};
|
|
9298
|
+
};
|
|
9299
|
+
required: string[];
|
|
9300
|
+
additionalProperties: false;
|
|
9301
|
+
};
|
|
9302
|
+
output: {
|
|
9303
|
+
type: "object";
|
|
9304
|
+
properties: {
|
|
9305
|
+
schema: {
|
|
9306
|
+
type: "object";
|
|
9307
|
+
additionalProperties: true;
|
|
9308
|
+
};
|
|
9309
|
+
};
|
|
9310
|
+
required: string[];
|
|
9311
|
+
additionalProperties: false;
|
|
9312
|
+
};
|
|
9313
|
+
};
|
|
9314
|
+
required: string[];
|
|
9315
|
+
description: string;
|
|
9316
|
+
nullable: true;
|
|
9317
|
+
additionalProperties: false;
|
|
9318
|
+
};
|
|
9319
|
+
};
|
|
9320
|
+
user: {
|
|
9321
|
+
type: "object";
|
|
9322
|
+
properties: {
|
|
9323
|
+
tags: {
|
|
9324
|
+
type: "object";
|
|
9325
|
+
additionalProperties: {
|
|
9326
|
+
type: "object";
|
|
9327
|
+
properties: {
|
|
9328
|
+
title: {
|
|
9329
|
+
type: "string";
|
|
9330
|
+
maxLength: number;
|
|
9331
|
+
description: string;
|
|
9332
|
+
};
|
|
9333
|
+
description: {
|
|
9334
|
+
type: "string";
|
|
9335
|
+
maxLength: number;
|
|
9336
|
+
description: string;
|
|
9337
|
+
};
|
|
9338
|
+
};
|
|
9339
|
+
description: string;
|
|
9340
|
+
additionalProperties: false;
|
|
9341
|
+
};
|
|
9342
|
+
};
|
|
9343
|
+
};
|
|
9344
|
+
required: string[];
|
|
9345
|
+
description: string;
|
|
9346
|
+
nullable: true;
|
|
9347
|
+
additionalProperties: false;
|
|
9348
|
+
};
|
|
9349
|
+
code: {
|
|
9350
|
+
type: "string";
|
|
9351
|
+
};
|
|
9352
|
+
};
|
|
9353
|
+
title: string;
|
|
9354
|
+
additionalProperties: false;
|
|
9355
|
+
};
|
|
9356
|
+
};
|
|
9357
|
+
section: "plugin";
|
|
9358
|
+
response: {
|
|
9359
|
+
description: string;
|
|
9360
|
+
schema: {
|
|
9361
|
+
type: "object";
|
|
9362
|
+
properties: {
|
|
9363
|
+
plugin: {
|
|
9364
|
+
$ref: string;
|
|
9365
|
+
};
|
|
9366
|
+
};
|
|
9367
|
+
required: string[];
|
|
9368
|
+
title: string;
|
|
9369
|
+
additionalProperties: false;
|
|
9370
|
+
};
|
|
9371
|
+
};
|
|
9372
|
+
};
|
|
9373
|
+
deletePlugin: {
|
|
9374
|
+
name: string;
|
|
9375
|
+
description: string;
|
|
9376
|
+
method: "delete";
|
|
9377
|
+
path: string;
|
|
9378
|
+
parameters: {
|
|
9379
|
+
id: {
|
|
9380
|
+
in: "path";
|
|
9381
|
+
type: "string";
|
|
9382
|
+
description: string;
|
|
9383
|
+
};
|
|
9384
|
+
};
|
|
9385
|
+
section: "plugin";
|
|
9386
|
+
response: {
|
|
9387
|
+
description: string;
|
|
9388
|
+
schema: {
|
|
9389
|
+
type: "object";
|
|
9390
|
+
title: string;
|
|
9391
|
+
additionalProperties: false;
|
|
9392
|
+
};
|
|
9393
|
+
};
|
|
9394
|
+
};
|
|
9395
|
+
listPlugins: {
|
|
9396
|
+
name: string;
|
|
9397
|
+
description: string;
|
|
9398
|
+
method: "get";
|
|
9399
|
+
path: string;
|
|
9400
|
+
section: "plugin";
|
|
9401
|
+
parameters: {
|
|
9402
|
+
nextToken: {
|
|
9403
|
+
in: "query";
|
|
9404
|
+
description: string;
|
|
9405
|
+
type: "string";
|
|
9406
|
+
};
|
|
9407
|
+
name: {
|
|
9408
|
+
in: "query";
|
|
9409
|
+
type: "string";
|
|
9410
|
+
description: string;
|
|
9411
|
+
};
|
|
9412
|
+
};
|
|
9413
|
+
response: {
|
|
9414
|
+
description: string;
|
|
9415
|
+
schema: {
|
|
9416
|
+
type: "object";
|
|
9417
|
+
properties: {
|
|
9418
|
+
plugins: {
|
|
9419
|
+
type: "array";
|
|
9420
|
+
items: {
|
|
9421
|
+
type: "object";
|
|
9422
|
+
properties: {
|
|
9423
|
+
id: {
|
|
9424
|
+
type: "string";
|
|
9425
|
+
minLength: number;
|
|
9426
|
+
maxLength: number;
|
|
9427
|
+
description: string;
|
|
9428
|
+
};
|
|
9429
|
+
createdAt: {
|
|
9430
|
+
type: "string";
|
|
9431
|
+
format: string;
|
|
9432
|
+
description: string;
|
|
9433
|
+
};
|
|
9434
|
+
updatedAt: {
|
|
9435
|
+
type: "string";
|
|
9436
|
+
format: string;
|
|
9437
|
+
description: string;
|
|
9438
|
+
};
|
|
9439
|
+
name: {
|
|
9440
|
+
type: "string";
|
|
9441
|
+
maxLength: number;
|
|
9442
|
+
description: string;
|
|
9443
|
+
};
|
|
9444
|
+
version: {
|
|
9445
|
+
type: "string";
|
|
9446
|
+
maxLength: number;
|
|
9447
|
+
description: string;
|
|
9448
|
+
};
|
|
9449
|
+
};
|
|
9450
|
+
required: string[];
|
|
9451
|
+
};
|
|
9452
|
+
};
|
|
9453
|
+
meta: {
|
|
9454
|
+
type: "object";
|
|
9455
|
+
properties: {
|
|
9456
|
+
nextToken: {
|
|
9457
|
+
type: "string";
|
|
9458
|
+
description: string;
|
|
9459
|
+
};
|
|
9460
|
+
};
|
|
9461
|
+
additionalProperties: false;
|
|
9462
|
+
};
|
|
9463
|
+
};
|
|
9464
|
+
required: string[];
|
|
9465
|
+
title: string;
|
|
9466
|
+
additionalProperties: false;
|
|
9467
|
+
};
|
|
9468
|
+
};
|
|
9469
|
+
};
|
|
8920
9470
|
getUsage: {
|
|
8921
9471
|
name: string;
|
|
8922
9472
|
path: string;
|
|
@@ -11050,6 +11600,8 @@ export declare const state: {
|
|
|
11050
11600
|
requestIntegrationVerificationBody: true;
|
|
11051
11601
|
createInterfaceBody: true;
|
|
11052
11602
|
updateInterfaceBody: true;
|
|
11603
|
+
createPluginBody: true;
|
|
11604
|
+
updatePluginBody: true;
|
|
11053
11605
|
changeAISpendQuotaBody: true;
|
|
11054
11606
|
introspectBody: true;
|
|
11055
11607
|
upsertFileBody: true;
|
|
@@ -11177,6 +11729,12 @@ export declare const state: {
|
|
|
11177
11729
|
updateInterfaceResponse: true;
|
|
11178
11730
|
deleteInterfaceResponse: true;
|
|
11179
11731
|
listInterfacesResponse: true;
|
|
11732
|
+
createPluginResponse: true;
|
|
11733
|
+
getPluginResponse: true;
|
|
11734
|
+
getPluginByNameResponse: true;
|
|
11735
|
+
updatePluginResponse: true;
|
|
11736
|
+
deletePluginResponse: true;
|
|
11737
|
+
listPluginsResponse: true;
|
|
11180
11738
|
getUsageResponse: true;
|
|
11181
11739
|
getMultipleUsagesResponse: true;
|
|
11182
11740
|
listUsageHistoryResponse: true;
|
|
@@ -11210,6 +11768,7 @@ export declare const state: {
|
|
|
11210
11768
|
Bot: true;
|
|
11211
11769
|
Integration: true;
|
|
11212
11770
|
Interface: true;
|
|
11771
|
+
Plugin: true;
|
|
11213
11772
|
Workspace: true;
|
|
11214
11773
|
WorkspaceMember: true;
|
|
11215
11774
|
Account: true;
|
|
@@ -12384,6 +12943,196 @@ export declare const state: {
|
|
|
12384
12943
|
additionalProperties: false;
|
|
12385
12944
|
};
|
|
12386
12945
|
};
|
|
12946
|
+
Plugin: {
|
|
12947
|
+
section: "plugin";
|
|
12948
|
+
schema: {
|
|
12949
|
+
type: "object";
|
|
12950
|
+
properties: {
|
|
12951
|
+
id: {
|
|
12952
|
+
type: "string";
|
|
12953
|
+
minLength: number;
|
|
12954
|
+
maxLength: number;
|
|
12955
|
+
description: string;
|
|
12956
|
+
};
|
|
12957
|
+
name: {
|
|
12958
|
+
type: "string";
|
|
12959
|
+
maxLength: number;
|
|
12960
|
+
description: string;
|
|
12961
|
+
};
|
|
12962
|
+
version: {
|
|
12963
|
+
type: "string";
|
|
12964
|
+
maxLength: number;
|
|
12965
|
+
description: string;
|
|
12966
|
+
};
|
|
12967
|
+
createdAt: {
|
|
12968
|
+
type: "string";
|
|
12969
|
+
format: string;
|
|
12970
|
+
description: string;
|
|
12971
|
+
};
|
|
12972
|
+
updatedAt: {
|
|
12973
|
+
type: "string";
|
|
12974
|
+
format: string;
|
|
12975
|
+
description: string;
|
|
12976
|
+
};
|
|
12977
|
+
configuration: {
|
|
12978
|
+
type: "object";
|
|
12979
|
+
properties: {
|
|
12980
|
+
title: {
|
|
12981
|
+
type: "string";
|
|
12982
|
+
maxLength: number;
|
|
12983
|
+
description: string;
|
|
12984
|
+
};
|
|
12985
|
+
description: {
|
|
12986
|
+
type: "string";
|
|
12987
|
+
maxLength: number;
|
|
12988
|
+
description: string;
|
|
12989
|
+
};
|
|
12990
|
+
schema: {
|
|
12991
|
+
type: "object";
|
|
12992
|
+
additionalProperties: true;
|
|
12993
|
+
description: string;
|
|
12994
|
+
};
|
|
12995
|
+
};
|
|
12996
|
+
required: string[];
|
|
12997
|
+
description: string;
|
|
12998
|
+
additionalProperties: false;
|
|
12999
|
+
};
|
|
13000
|
+
states: {
|
|
13001
|
+
type: "object";
|
|
13002
|
+
additionalProperties: {
|
|
13003
|
+
type: "object";
|
|
13004
|
+
properties: {
|
|
13005
|
+
type: {
|
|
13006
|
+
type: "string";
|
|
13007
|
+
enum: string[];
|
|
13008
|
+
description: string;
|
|
13009
|
+
};
|
|
13010
|
+
schema: {
|
|
13011
|
+
type: "object";
|
|
13012
|
+
additionalProperties: true;
|
|
13013
|
+
description: string;
|
|
13014
|
+
};
|
|
13015
|
+
expiry: {
|
|
13016
|
+
type: "number";
|
|
13017
|
+
minimum: number;
|
|
13018
|
+
description: string;
|
|
13019
|
+
};
|
|
13020
|
+
};
|
|
13021
|
+
required: string[];
|
|
13022
|
+
additionalProperties: false;
|
|
13023
|
+
};
|
|
13024
|
+
};
|
|
13025
|
+
events: {
|
|
13026
|
+
type: "object";
|
|
13027
|
+
additionalProperties: {
|
|
13028
|
+
type: "object";
|
|
13029
|
+
properties: {
|
|
13030
|
+
title: {
|
|
13031
|
+
type: "string";
|
|
13032
|
+
maxLength: number;
|
|
13033
|
+
description: string;
|
|
13034
|
+
};
|
|
13035
|
+
description: {
|
|
13036
|
+
type: "string";
|
|
13037
|
+
maxLength: number;
|
|
13038
|
+
description: string;
|
|
13039
|
+
};
|
|
13040
|
+
schema: {
|
|
13041
|
+
type: "object";
|
|
13042
|
+
additionalProperties: true;
|
|
13043
|
+
};
|
|
13044
|
+
};
|
|
13045
|
+
required: string[];
|
|
13046
|
+
description: string;
|
|
13047
|
+
additionalProperties: false;
|
|
13048
|
+
};
|
|
13049
|
+
};
|
|
13050
|
+
actions: {
|
|
13051
|
+
type: "object";
|
|
13052
|
+
additionalProperties: {
|
|
13053
|
+
type: "object";
|
|
13054
|
+
properties: {
|
|
13055
|
+
title: {
|
|
13056
|
+
type: "string";
|
|
13057
|
+
maxLength: number;
|
|
13058
|
+
description: string;
|
|
13059
|
+
};
|
|
13060
|
+
description: {
|
|
13061
|
+
type: "string";
|
|
13062
|
+
maxLength: number;
|
|
13063
|
+
description: string;
|
|
13064
|
+
};
|
|
13065
|
+
billable: {
|
|
13066
|
+
type: "boolean";
|
|
13067
|
+
};
|
|
13068
|
+
cacheable: {
|
|
13069
|
+
type: "boolean";
|
|
13070
|
+
};
|
|
13071
|
+
input: {
|
|
13072
|
+
type: "object";
|
|
13073
|
+
properties: {
|
|
13074
|
+
schema: {
|
|
13075
|
+
type: "object";
|
|
13076
|
+
additionalProperties: true;
|
|
13077
|
+
};
|
|
13078
|
+
};
|
|
13079
|
+
required: string[];
|
|
13080
|
+
additionalProperties: false;
|
|
13081
|
+
};
|
|
13082
|
+
output: {
|
|
13083
|
+
type: "object";
|
|
13084
|
+
properties: {
|
|
13085
|
+
schema: {
|
|
13086
|
+
type: "object";
|
|
13087
|
+
additionalProperties: true;
|
|
13088
|
+
};
|
|
13089
|
+
};
|
|
13090
|
+
required: string[];
|
|
13091
|
+
additionalProperties: false;
|
|
13092
|
+
};
|
|
13093
|
+
};
|
|
13094
|
+
required: string[];
|
|
13095
|
+
description: string;
|
|
13096
|
+
additionalProperties: false;
|
|
13097
|
+
};
|
|
13098
|
+
};
|
|
13099
|
+
user: {
|
|
13100
|
+
type: "object";
|
|
13101
|
+
properties: {
|
|
13102
|
+
tags: {
|
|
13103
|
+
type: "object";
|
|
13104
|
+
additionalProperties: {
|
|
13105
|
+
type: "object";
|
|
13106
|
+
properties: {
|
|
13107
|
+
title: {
|
|
13108
|
+
type: "string";
|
|
13109
|
+
maxLength: number;
|
|
13110
|
+
description: string;
|
|
13111
|
+
};
|
|
13112
|
+
description: {
|
|
13113
|
+
type: "string";
|
|
13114
|
+
maxLength: number;
|
|
13115
|
+
description: string;
|
|
13116
|
+
};
|
|
13117
|
+
};
|
|
13118
|
+
description: string;
|
|
13119
|
+
additionalProperties: false;
|
|
13120
|
+
};
|
|
13121
|
+
};
|
|
13122
|
+
};
|
|
13123
|
+
required: string[];
|
|
13124
|
+
description: string;
|
|
13125
|
+
additionalProperties: false;
|
|
13126
|
+
};
|
|
13127
|
+
code: {
|
|
13128
|
+
type: "string";
|
|
13129
|
+
};
|
|
13130
|
+
};
|
|
13131
|
+
required: string[];
|
|
13132
|
+
description: string;
|
|
13133
|
+
additionalProperties: false;
|
|
13134
|
+
};
|
|
13135
|
+
};
|
|
12387
13136
|
Workspace: {
|
|
12388
13137
|
section: "workspace";
|
|
12389
13138
|
schema: {
|
|
@@ -13652,6 +14401,12 @@ export declare const state: {
|
|
|
13652
14401
|
name: "interface";
|
|
13653
14402
|
operations: string[];
|
|
13654
14403
|
schema: string;
|
|
14404
|
+
} | {
|
|
14405
|
+
title: string;
|
|
14406
|
+
description: string;
|
|
14407
|
+
name: "plugin";
|
|
14408
|
+
operations: string[];
|
|
14409
|
+
schema: string;
|
|
13655
14410
|
} | {
|
|
13656
14411
|
title: string;
|
|
13657
14412
|
description: string;
|