@botpress/api 0.30.0 → 0.30.1
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 +110 -1
- package/dist/src/gen/state.d.ts +100 -0
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +110 -1
package/src/gen/state.ts
CHANGED
|
@@ -6353,6 +6353,113 @@ export const state = {
|
|
|
6353
6353
|
}
|
|
6354
6354
|
}
|
|
6355
6355
|
},
|
|
6356
|
+
"listPublicWorkspaces": {
|
|
6357
|
+
"name": "listPublicWorkspaces",
|
|
6358
|
+
"description": "List public workspaces",
|
|
6359
|
+
"section": "workspace",
|
|
6360
|
+
"method": "get",
|
|
6361
|
+
"path": "/v1/admin/workspaces/public",
|
|
6362
|
+
"disableDefaultParameters": {
|
|
6363
|
+
"x-workspace-id": true
|
|
6364
|
+
},
|
|
6365
|
+
"parameters": {
|
|
6366
|
+
"nextToken": {
|
|
6367
|
+
"in": "query",
|
|
6368
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
6369
|
+
"type": "string"
|
|
6370
|
+
},
|
|
6371
|
+
"workspaceIds": {
|
|
6372
|
+
"in": "query",
|
|
6373
|
+
"description": "Ids of the workspaces to list",
|
|
6374
|
+
"type": "string[]",
|
|
6375
|
+
"required": false
|
|
6376
|
+
},
|
|
6377
|
+
"search": {
|
|
6378
|
+
"in": "query",
|
|
6379
|
+
"description": "Search query",
|
|
6380
|
+
"type": "string",
|
|
6381
|
+
"required": false
|
|
6382
|
+
}
|
|
6383
|
+
},
|
|
6384
|
+
"response": {
|
|
6385
|
+
"description": "Success",
|
|
6386
|
+
"schema": {
|
|
6387
|
+
"type": "object",
|
|
6388
|
+
"properties": {
|
|
6389
|
+
"workspaces": {
|
|
6390
|
+
"type": "array",
|
|
6391
|
+
"items": {
|
|
6392
|
+
"type": "object",
|
|
6393
|
+
"properties": {
|
|
6394
|
+
"id": {
|
|
6395
|
+
"type": "string"
|
|
6396
|
+
},
|
|
6397
|
+
"name": {
|
|
6398
|
+
"type": "string"
|
|
6399
|
+
},
|
|
6400
|
+
"createdAt": {
|
|
6401
|
+
"type": "string"
|
|
6402
|
+
},
|
|
6403
|
+
"updatedAt": {
|
|
6404
|
+
"type": "string"
|
|
6405
|
+
},
|
|
6406
|
+
"about": {
|
|
6407
|
+
"default": "",
|
|
6408
|
+
"type": "string"
|
|
6409
|
+
},
|
|
6410
|
+
"profilePicture": {
|
|
6411
|
+
"default": "",
|
|
6412
|
+
"type": "string"
|
|
6413
|
+
},
|
|
6414
|
+
"contactEmail": {
|
|
6415
|
+
"default": "",
|
|
6416
|
+
"type": "string"
|
|
6417
|
+
},
|
|
6418
|
+
"website": {
|
|
6419
|
+
"default": "",
|
|
6420
|
+
"type": "string"
|
|
6421
|
+
},
|
|
6422
|
+
"socialAccounts": {
|
|
6423
|
+
"default": [],
|
|
6424
|
+
"type": "array",
|
|
6425
|
+
"items": {
|
|
6426
|
+
"type": "string"
|
|
6427
|
+
}
|
|
6428
|
+
},
|
|
6429
|
+
"handle": {
|
|
6430
|
+
"default": "",
|
|
6431
|
+
"type": "string"
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"required": [
|
|
6435
|
+
"id",
|
|
6436
|
+
"name",
|
|
6437
|
+
"createdAt",
|
|
6438
|
+
"updatedAt"
|
|
6439
|
+
],
|
|
6440
|
+
"title": "getPublicWorkspaceResponse"
|
|
6441
|
+
}
|
|
6442
|
+
},
|
|
6443
|
+
"meta": {
|
|
6444
|
+
"type": "object",
|
|
6445
|
+
"properties": {
|
|
6446
|
+
"nextToken": {
|
|
6447
|
+
"type": "string",
|
|
6448
|
+
"description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
|
|
6449
|
+
}
|
|
6450
|
+
},
|
|
6451
|
+
"additionalProperties": false
|
|
6452
|
+
}
|
|
6453
|
+
},
|
|
6454
|
+
"required": [
|
|
6455
|
+
"workspaces",
|
|
6456
|
+
"meta"
|
|
6457
|
+
],
|
|
6458
|
+
"title": "listPublicWorkspacesResponse",
|
|
6459
|
+
"additionalProperties": false
|
|
6460
|
+
}
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6356
6463
|
"deleteWorkspace": {
|
|
6357
6464
|
"name": "deleteWorkspace",
|
|
6358
6465
|
"description": "Delete workspace",
|
|
@@ -10082,7 +10189,7 @@ export const state = {
|
|
|
10082
10189
|
"title": "Botpress API",
|
|
10083
10190
|
"description": "API for Botpress Cloud",
|
|
10084
10191
|
"server": "https://api.botpress.cloud",
|
|
10085
|
-
"version": "0.30.
|
|
10192
|
+
"version": "0.30.1",
|
|
10086
10193
|
"prefix": "v1"
|
|
10087
10194
|
},
|
|
10088
10195
|
"errors": [
|
|
@@ -10333,6 +10440,7 @@ export const state = {
|
|
|
10333
10440
|
"updateWorkspaceResponse": true,
|
|
10334
10441
|
"checkHandleAvailabilityResponse": true,
|
|
10335
10442
|
"listWorkspacesResponse": true,
|
|
10443
|
+
"listPublicWorkspacesResponse": true,
|
|
10336
10444
|
"deleteWorkspaceResponse": true,
|
|
10337
10445
|
"getAuditRecordsResponse": true,
|
|
10338
10446
|
"listWorkspaceMembersResponse": true,
|
|
@@ -12867,6 +12975,7 @@ export const state = {
|
|
|
12867
12975
|
"updateWorkspace",
|
|
12868
12976
|
"checkHandleAvailability",
|
|
12869
12977
|
"listWorkspaces",
|
|
12978
|
+
"listPublicWorkspaces",
|
|
12870
12979
|
"deleteWorkspace",
|
|
12871
12980
|
"getAuditRecords"
|
|
12872
12981
|
],
|