@botpress/api 0.52.0 → 0.54.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 +1180 -5
- package/dist/src/gen/state.d.ts +1020 -19
- 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 +1181 -6
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;
|
|
@@ -10333,37 +10883,242 @@ export declare const state: {
|
|
|
10333
10883
|
additionalProperties: false;
|
|
10334
10884
|
};
|
|
10335
10885
|
};
|
|
10336
|
-
parameters: {};
|
|
10886
|
+
parameters: {};
|
|
10887
|
+
};
|
|
10888
|
+
duplicateTable: {
|
|
10889
|
+
name: string;
|
|
10890
|
+
path: string;
|
|
10891
|
+
description: string;
|
|
10892
|
+
parameters: {
|
|
10893
|
+
sourceTableId: {
|
|
10894
|
+
type: "string";
|
|
10895
|
+
description: string;
|
|
10896
|
+
in: "path";
|
|
10897
|
+
};
|
|
10898
|
+
};
|
|
10899
|
+
method: "post";
|
|
10900
|
+
requestBody: {
|
|
10901
|
+
description: string;
|
|
10902
|
+
schema: {
|
|
10903
|
+
type: "object";
|
|
10904
|
+
properties: {
|
|
10905
|
+
tableName: {
|
|
10906
|
+
type: "string";
|
|
10907
|
+
};
|
|
10908
|
+
schemaOnly: {
|
|
10909
|
+
type: "boolean";
|
|
10910
|
+
description: string;
|
|
10911
|
+
};
|
|
10912
|
+
factor: {
|
|
10913
|
+
type: "number";
|
|
10914
|
+
description: string;
|
|
10915
|
+
};
|
|
10916
|
+
};
|
|
10917
|
+
title: string;
|
|
10918
|
+
additionalProperties: false;
|
|
10919
|
+
};
|
|
10920
|
+
};
|
|
10921
|
+
section: "tables";
|
|
10922
|
+
response: {
|
|
10923
|
+
description: string;
|
|
10924
|
+
schema: {
|
|
10925
|
+
type: "object";
|
|
10926
|
+
properties: {
|
|
10927
|
+
table: {
|
|
10928
|
+
$ref: string;
|
|
10929
|
+
};
|
|
10930
|
+
rows: {
|
|
10931
|
+
type: "number";
|
|
10932
|
+
description: string;
|
|
10933
|
+
};
|
|
10934
|
+
};
|
|
10935
|
+
required: string[];
|
|
10936
|
+
title: string;
|
|
10937
|
+
additionalProperties: false;
|
|
10938
|
+
};
|
|
10939
|
+
};
|
|
10940
|
+
};
|
|
10941
|
+
exportTable: {
|
|
10942
|
+
name: string;
|
|
10943
|
+
path: string;
|
|
10944
|
+
description: string;
|
|
10945
|
+
parameters: {
|
|
10946
|
+
table: {
|
|
10947
|
+
type: "string";
|
|
10948
|
+
description: string;
|
|
10949
|
+
in: "path";
|
|
10950
|
+
};
|
|
10951
|
+
format: {
|
|
10952
|
+
in: "query";
|
|
10953
|
+
type: "object";
|
|
10954
|
+
description: string;
|
|
10955
|
+
schema: {
|
|
10956
|
+
type: "string";
|
|
10957
|
+
enum: string[];
|
|
10958
|
+
};
|
|
10959
|
+
};
|
|
10960
|
+
compress: {
|
|
10961
|
+
in: "query";
|
|
10962
|
+
type: "object";
|
|
10963
|
+
description: string;
|
|
10964
|
+
schema: {
|
|
10965
|
+
default: boolean;
|
|
10966
|
+
type: "boolean";
|
|
10967
|
+
};
|
|
10968
|
+
};
|
|
10969
|
+
};
|
|
10970
|
+
method: "get";
|
|
10971
|
+
section: "tables";
|
|
10972
|
+
response: {
|
|
10973
|
+
description: string;
|
|
10974
|
+
schema: {
|
|
10975
|
+
type: "object";
|
|
10976
|
+
properties: {
|
|
10977
|
+
job: {
|
|
10978
|
+
type: "object";
|
|
10979
|
+
properties: {
|
|
10980
|
+
id: {
|
|
10981
|
+
type: "string";
|
|
10982
|
+
};
|
|
10983
|
+
botId: {
|
|
10984
|
+
type: "string";
|
|
10985
|
+
};
|
|
10986
|
+
tableId: {
|
|
10987
|
+
type: "string";
|
|
10988
|
+
};
|
|
10989
|
+
type: {
|
|
10990
|
+
type: "string";
|
|
10991
|
+
enum: string[];
|
|
10992
|
+
};
|
|
10993
|
+
status: {
|
|
10994
|
+
type: "string";
|
|
10995
|
+
enum: string[];
|
|
10996
|
+
};
|
|
10997
|
+
progress: {
|
|
10998
|
+
default: number;
|
|
10999
|
+
type: "number";
|
|
11000
|
+
};
|
|
11001
|
+
inputFileId: {
|
|
11002
|
+
type: "string";
|
|
11003
|
+
nullable: true;
|
|
11004
|
+
};
|
|
11005
|
+
outputFileId: {
|
|
11006
|
+
type: "string";
|
|
11007
|
+
nullable: true;
|
|
11008
|
+
};
|
|
11009
|
+
createdAt: {
|
|
11010
|
+
type: "string";
|
|
11011
|
+
format: string;
|
|
11012
|
+
};
|
|
11013
|
+
updatedAt: {
|
|
11014
|
+
type: "string";
|
|
11015
|
+
format: string;
|
|
11016
|
+
};
|
|
11017
|
+
};
|
|
11018
|
+
required: string[];
|
|
11019
|
+
additionalProperties: false;
|
|
11020
|
+
};
|
|
11021
|
+
};
|
|
11022
|
+
required: string[];
|
|
11023
|
+
title: string;
|
|
11024
|
+
additionalProperties: false;
|
|
11025
|
+
};
|
|
11026
|
+
};
|
|
11027
|
+
};
|
|
11028
|
+
getTableJobs: {
|
|
11029
|
+
name: string;
|
|
11030
|
+
path: string;
|
|
11031
|
+
description: string;
|
|
11032
|
+
parameters: {
|
|
11033
|
+
table: {
|
|
11034
|
+
type: "string";
|
|
11035
|
+
description: string;
|
|
11036
|
+
in: "path";
|
|
11037
|
+
};
|
|
11038
|
+
};
|
|
11039
|
+
method: "get";
|
|
11040
|
+
section: "tables";
|
|
11041
|
+
response: {
|
|
11042
|
+
description: string;
|
|
11043
|
+
schema: {
|
|
11044
|
+
type: "object";
|
|
11045
|
+
properties: {
|
|
11046
|
+
jobs: {
|
|
11047
|
+
type: "array";
|
|
11048
|
+
items: {
|
|
11049
|
+
type: "object";
|
|
11050
|
+
properties: {
|
|
11051
|
+
id: {
|
|
11052
|
+
type: "string";
|
|
11053
|
+
};
|
|
11054
|
+
botId: {
|
|
11055
|
+
type: "string";
|
|
11056
|
+
};
|
|
11057
|
+
tableId: {
|
|
11058
|
+
type: "string";
|
|
11059
|
+
};
|
|
11060
|
+
type: {
|
|
11061
|
+
type: "string";
|
|
11062
|
+
enum: string[];
|
|
11063
|
+
};
|
|
11064
|
+
status: {
|
|
11065
|
+
type: "string";
|
|
11066
|
+
enum: string[];
|
|
11067
|
+
};
|
|
11068
|
+
progress: {
|
|
11069
|
+
default: number;
|
|
11070
|
+
type: "number";
|
|
11071
|
+
};
|
|
11072
|
+
inputFileId: {
|
|
11073
|
+
type: "string";
|
|
11074
|
+
nullable: true;
|
|
11075
|
+
};
|
|
11076
|
+
outputFileId: {
|
|
11077
|
+
type: "string";
|
|
11078
|
+
nullable: true;
|
|
11079
|
+
};
|
|
11080
|
+
createdAt: {
|
|
11081
|
+
type: "string";
|
|
11082
|
+
format: string;
|
|
11083
|
+
};
|
|
11084
|
+
updatedAt: {
|
|
11085
|
+
type: "string";
|
|
11086
|
+
format: string;
|
|
11087
|
+
};
|
|
11088
|
+
};
|
|
11089
|
+
required: string[];
|
|
11090
|
+
};
|
|
11091
|
+
};
|
|
11092
|
+
};
|
|
11093
|
+
required: string[];
|
|
11094
|
+
title: string;
|
|
11095
|
+
additionalProperties: false;
|
|
11096
|
+
};
|
|
11097
|
+
};
|
|
10337
11098
|
};
|
|
10338
|
-
|
|
11099
|
+
importTable: {
|
|
10339
11100
|
name: string;
|
|
10340
11101
|
path: string;
|
|
10341
11102
|
description: string;
|
|
11103
|
+
method: "post";
|
|
10342
11104
|
parameters: {
|
|
10343
|
-
|
|
11105
|
+
table: {
|
|
10344
11106
|
type: "string";
|
|
10345
11107
|
description: string;
|
|
10346
11108
|
in: "path";
|
|
10347
11109
|
};
|
|
10348
11110
|
};
|
|
10349
|
-
method: "post";
|
|
10350
11111
|
requestBody: {
|
|
10351
11112
|
description: string;
|
|
10352
11113
|
schema: {
|
|
10353
11114
|
type: "object";
|
|
10354
11115
|
properties: {
|
|
10355
|
-
|
|
11116
|
+
fileId: {
|
|
10356
11117
|
type: "string";
|
|
10357
|
-
};
|
|
10358
|
-
schemaOnly: {
|
|
10359
|
-
type: "boolean";
|
|
10360
|
-
description: string;
|
|
10361
|
-
};
|
|
10362
|
-
factor: {
|
|
10363
|
-
type: "number";
|
|
10364
11118
|
description: string;
|
|
10365
11119
|
};
|
|
10366
11120
|
};
|
|
11121
|
+
required: string[];
|
|
10367
11122
|
title: string;
|
|
10368
11123
|
additionalProperties: false;
|
|
10369
11124
|
};
|
|
@@ -10374,12 +11129,49 @@ export declare const state: {
|
|
|
10374
11129
|
schema: {
|
|
10375
11130
|
type: "object";
|
|
10376
11131
|
properties: {
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
11132
|
+
job: {
|
|
11133
|
+
type: "object";
|
|
11134
|
+
properties: {
|
|
11135
|
+
id: {
|
|
11136
|
+
type: "string";
|
|
11137
|
+
};
|
|
11138
|
+
botId: {
|
|
11139
|
+
type: "string";
|
|
11140
|
+
};
|
|
11141
|
+
tableId: {
|
|
11142
|
+
type: "string";
|
|
11143
|
+
};
|
|
11144
|
+
type: {
|
|
11145
|
+
type: "string";
|
|
11146
|
+
enum: string[];
|
|
11147
|
+
};
|
|
11148
|
+
status: {
|
|
11149
|
+
type: "string";
|
|
11150
|
+
enum: string[];
|
|
11151
|
+
};
|
|
11152
|
+
progress: {
|
|
11153
|
+
default: number;
|
|
11154
|
+
type: "number";
|
|
11155
|
+
};
|
|
11156
|
+
inputFileId: {
|
|
11157
|
+
type: "string";
|
|
11158
|
+
nullable: true;
|
|
11159
|
+
};
|
|
11160
|
+
outputFileId: {
|
|
11161
|
+
type: "string";
|
|
11162
|
+
nullable: true;
|
|
11163
|
+
};
|
|
11164
|
+
createdAt: {
|
|
11165
|
+
type: "string";
|
|
11166
|
+
format: string;
|
|
11167
|
+
};
|
|
11168
|
+
updatedAt: {
|
|
11169
|
+
type: "string";
|
|
11170
|
+
format: string;
|
|
11171
|
+
};
|
|
11172
|
+
};
|
|
11173
|
+
required: string[];
|
|
11174
|
+
additionalProperties: false;
|
|
10383
11175
|
};
|
|
10384
11176
|
};
|
|
10385
11177
|
required: string[];
|
|
@@ -11050,6 +11842,8 @@ export declare const state: {
|
|
|
11050
11842
|
requestIntegrationVerificationBody: true;
|
|
11051
11843
|
createInterfaceBody: true;
|
|
11052
11844
|
updateInterfaceBody: true;
|
|
11845
|
+
createPluginBody: true;
|
|
11846
|
+
updatePluginBody: true;
|
|
11053
11847
|
changeAISpendQuotaBody: true;
|
|
11054
11848
|
introspectBody: true;
|
|
11055
11849
|
upsertFileBody: true;
|
|
@@ -11057,6 +11851,7 @@ export declare const state: {
|
|
|
11057
11851
|
getOrCreateTableBody: true;
|
|
11058
11852
|
createTableBody: true;
|
|
11059
11853
|
duplicateTableBody: true;
|
|
11854
|
+
importTableBody: true;
|
|
11060
11855
|
updateTableBody: true;
|
|
11061
11856
|
renameTableColumnBody: true;
|
|
11062
11857
|
findTableRowsBody: true;
|
|
@@ -11177,6 +11972,12 @@ export declare const state: {
|
|
|
11177
11972
|
updateInterfaceResponse: true;
|
|
11178
11973
|
deleteInterfaceResponse: true;
|
|
11179
11974
|
listInterfacesResponse: true;
|
|
11975
|
+
createPluginResponse: true;
|
|
11976
|
+
getPluginResponse: true;
|
|
11977
|
+
getPluginByNameResponse: true;
|
|
11978
|
+
updatePluginResponse: true;
|
|
11979
|
+
deletePluginResponse: true;
|
|
11980
|
+
listPluginsResponse: true;
|
|
11180
11981
|
getUsageResponse: true;
|
|
11181
11982
|
getMultipleUsagesResponse: true;
|
|
11182
11983
|
listUsageHistoryResponse: true;
|
|
@@ -11196,6 +11997,9 @@ export declare const state: {
|
|
|
11196
11997
|
getOrCreateTableResponse: true;
|
|
11197
11998
|
createTableResponse: true;
|
|
11198
11999
|
duplicateTableResponse: true;
|
|
12000
|
+
exportTableResponse: true;
|
|
12001
|
+
getTableJobsResponse: true;
|
|
12002
|
+
importTableResponse: true;
|
|
11199
12003
|
updateTableResponse: true;
|
|
11200
12004
|
renameTableColumnResponse: true;
|
|
11201
12005
|
deleteTableResponse: true;
|
|
@@ -11210,6 +12014,7 @@ export declare const state: {
|
|
|
11210
12014
|
Bot: true;
|
|
11211
12015
|
Integration: true;
|
|
11212
12016
|
Interface: true;
|
|
12017
|
+
Plugin: true;
|
|
11213
12018
|
Workspace: true;
|
|
11214
12019
|
WorkspaceMember: true;
|
|
11215
12020
|
Account: true;
|
|
@@ -12384,6 +13189,196 @@ export declare const state: {
|
|
|
12384
13189
|
additionalProperties: false;
|
|
12385
13190
|
};
|
|
12386
13191
|
};
|
|
13192
|
+
Plugin: {
|
|
13193
|
+
section: "plugin";
|
|
13194
|
+
schema: {
|
|
13195
|
+
type: "object";
|
|
13196
|
+
properties: {
|
|
13197
|
+
id: {
|
|
13198
|
+
type: "string";
|
|
13199
|
+
minLength: number;
|
|
13200
|
+
maxLength: number;
|
|
13201
|
+
description: string;
|
|
13202
|
+
};
|
|
13203
|
+
name: {
|
|
13204
|
+
type: "string";
|
|
13205
|
+
maxLength: number;
|
|
13206
|
+
description: string;
|
|
13207
|
+
};
|
|
13208
|
+
version: {
|
|
13209
|
+
type: "string";
|
|
13210
|
+
maxLength: number;
|
|
13211
|
+
description: string;
|
|
13212
|
+
};
|
|
13213
|
+
createdAt: {
|
|
13214
|
+
type: "string";
|
|
13215
|
+
format: string;
|
|
13216
|
+
description: string;
|
|
13217
|
+
};
|
|
13218
|
+
updatedAt: {
|
|
13219
|
+
type: "string";
|
|
13220
|
+
format: string;
|
|
13221
|
+
description: string;
|
|
13222
|
+
};
|
|
13223
|
+
configuration: {
|
|
13224
|
+
type: "object";
|
|
13225
|
+
properties: {
|
|
13226
|
+
title: {
|
|
13227
|
+
type: "string";
|
|
13228
|
+
maxLength: number;
|
|
13229
|
+
description: string;
|
|
13230
|
+
};
|
|
13231
|
+
description: {
|
|
13232
|
+
type: "string";
|
|
13233
|
+
maxLength: number;
|
|
13234
|
+
description: string;
|
|
13235
|
+
};
|
|
13236
|
+
schema: {
|
|
13237
|
+
type: "object";
|
|
13238
|
+
additionalProperties: true;
|
|
13239
|
+
description: string;
|
|
13240
|
+
};
|
|
13241
|
+
};
|
|
13242
|
+
required: string[];
|
|
13243
|
+
description: string;
|
|
13244
|
+
additionalProperties: false;
|
|
13245
|
+
};
|
|
13246
|
+
states: {
|
|
13247
|
+
type: "object";
|
|
13248
|
+
additionalProperties: {
|
|
13249
|
+
type: "object";
|
|
13250
|
+
properties: {
|
|
13251
|
+
type: {
|
|
13252
|
+
type: "string";
|
|
13253
|
+
enum: string[];
|
|
13254
|
+
description: string;
|
|
13255
|
+
};
|
|
13256
|
+
schema: {
|
|
13257
|
+
type: "object";
|
|
13258
|
+
additionalProperties: true;
|
|
13259
|
+
description: string;
|
|
13260
|
+
};
|
|
13261
|
+
expiry: {
|
|
13262
|
+
type: "number";
|
|
13263
|
+
minimum: number;
|
|
13264
|
+
description: string;
|
|
13265
|
+
};
|
|
13266
|
+
};
|
|
13267
|
+
required: string[];
|
|
13268
|
+
additionalProperties: false;
|
|
13269
|
+
};
|
|
13270
|
+
};
|
|
13271
|
+
events: {
|
|
13272
|
+
type: "object";
|
|
13273
|
+
additionalProperties: {
|
|
13274
|
+
type: "object";
|
|
13275
|
+
properties: {
|
|
13276
|
+
title: {
|
|
13277
|
+
type: "string";
|
|
13278
|
+
maxLength: number;
|
|
13279
|
+
description: string;
|
|
13280
|
+
};
|
|
13281
|
+
description: {
|
|
13282
|
+
type: "string";
|
|
13283
|
+
maxLength: number;
|
|
13284
|
+
description: string;
|
|
13285
|
+
};
|
|
13286
|
+
schema: {
|
|
13287
|
+
type: "object";
|
|
13288
|
+
additionalProperties: true;
|
|
13289
|
+
};
|
|
13290
|
+
};
|
|
13291
|
+
required: string[];
|
|
13292
|
+
description: string;
|
|
13293
|
+
additionalProperties: false;
|
|
13294
|
+
};
|
|
13295
|
+
};
|
|
13296
|
+
actions: {
|
|
13297
|
+
type: "object";
|
|
13298
|
+
additionalProperties: {
|
|
13299
|
+
type: "object";
|
|
13300
|
+
properties: {
|
|
13301
|
+
title: {
|
|
13302
|
+
type: "string";
|
|
13303
|
+
maxLength: number;
|
|
13304
|
+
description: string;
|
|
13305
|
+
};
|
|
13306
|
+
description: {
|
|
13307
|
+
type: "string";
|
|
13308
|
+
maxLength: number;
|
|
13309
|
+
description: string;
|
|
13310
|
+
};
|
|
13311
|
+
billable: {
|
|
13312
|
+
type: "boolean";
|
|
13313
|
+
};
|
|
13314
|
+
cacheable: {
|
|
13315
|
+
type: "boolean";
|
|
13316
|
+
};
|
|
13317
|
+
input: {
|
|
13318
|
+
type: "object";
|
|
13319
|
+
properties: {
|
|
13320
|
+
schema: {
|
|
13321
|
+
type: "object";
|
|
13322
|
+
additionalProperties: true;
|
|
13323
|
+
};
|
|
13324
|
+
};
|
|
13325
|
+
required: string[];
|
|
13326
|
+
additionalProperties: false;
|
|
13327
|
+
};
|
|
13328
|
+
output: {
|
|
13329
|
+
type: "object";
|
|
13330
|
+
properties: {
|
|
13331
|
+
schema: {
|
|
13332
|
+
type: "object";
|
|
13333
|
+
additionalProperties: true;
|
|
13334
|
+
};
|
|
13335
|
+
};
|
|
13336
|
+
required: string[];
|
|
13337
|
+
additionalProperties: false;
|
|
13338
|
+
};
|
|
13339
|
+
};
|
|
13340
|
+
required: string[];
|
|
13341
|
+
description: string;
|
|
13342
|
+
additionalProperties: false;
|
|
13343
|
+
};
|
|
13344
|
+
};
|
|
13345
|
+
user: {
|
|
13346
|
+
type: "object";
|
|
13347
|
+
properties: {
|
|
13348
|
+
tags: {
|
|
13349
|
+
type: "object";
|
|
13350
|
+
additionalProperties: {
|
|
13351
|
+
type: "object";
|
|
13352
|
+
properties: {
|
|
13353
|
+
title: {
|
|
13354
|
+
type: "string";
|
|
13355
|
+
maxLength: number;
|
|
13356
|
+
description: string;
|
|
13357
|
+
};
|
|
13358
|
+
description: {
|
|
13359
|
+
type: "string";
|
|
13360
|
+
maxLength: number;
|
|
13361
|
+
description: string;
|
|
13362
|
+
};
|
|
13363
|
+
};
|
|
13364
|
+
description: string;
|
|
13365
|
+
additionalProperties: false;
|
|
13366
|
+
};
|
|
13367
|
+
};
|
|
13368
|
+
};
|
|
13369
|
+
required: string[];
|
|
13370
|
+
description: string;
|
|
13371
|
+
additionalProperties: false;
|
|
13372
|
+
};
|
|
13373
|
+
code: {
|
|
13374
|
+
type: "string";
|
|
13375
|
+
};
|
|
13376
|
+
};
|
|
13377
|
+
required: string[];
|
|
13378
|
+
description: string;
|
|
13379
|
+
additionalProperties: false;
|
|
13380
|
+
};
|
|
13381
|
+
};
|
|
12387
13382
|
Workspace: {
|
|
12388
13383
|
section: "workspace";
|
|
12389
13384
|
schema: {
|
|
@@ -13652,6 +14647,12 @@ export declare const state: {
|
|
|
13652
14647
|
name: "interface";
|
|
13653
14648
|
operations: string[];
|
|
13654
14649
|
schema: string;
|
|
14650
|
+
} | {
|
|
14651
|
+
title: string;
|
|
14652
|
+
description: string;
|
|
14653
|
+
name: "plugin";
|
|
14654
|
+
operations: string[];
|
|
14655
|
+
schema: string;
|
|
13655
14656
|
} | {
|
|
13656
14657
|
title: string;
|
|
13657
14658
|
description: string;
|