@botpress/api 0.60.0 → 0.61.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/src/gen/state.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /* prettier-ignore */
4
4
  import * as opapi from '@bpinternal/opapi'
5
- 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'>
5
+ 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' | 'tag' | 'bot' | 'integration' | 'interface' | 'plugin' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>
6
6
  export const state = {
7
7
  "operations": {
8
8
  "createConversation": {
@@ -2442,6 +2442,74 @@ export const state = {
2442
2442
  },
2443
2443
  "parameters": {}
2444
2444
  },
2445
+ "listTagValues": {
2446
+ "name": "listTagValues",
2447
+ "description": "Get a bot tag values",
2448
+ "method": "get",
2449
+ "path": "/v1/chat/tags/{key}/values",
2450
+ "section": "tag",
2451
+ "parameters": {
2452
+ "nextToken": {
2453
+ "in": "query",
2454
+ "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
2455
+ "type": "string"
2456
+ },
2457
+ "key": {
2458
+ "in": "path",
2459
+ "type": "string",
2460
+ "description": "Tag key"
2461
+ },
2462
+ "type": {
2463
+ "in": "query",
2464
+ "type": "string",
2465
+ "description": "Tag type",
2466
+ "required": true,
2467
+ "enum": [
2468
+ "user",
2469
+ "conversation",
2470
+ "message"
2471
+ ]
2472
+ }
2473
+ },
2474
+ "response": {
2475
+ "description": "Empty response",
2476
+ "schema": {
2477
+ "type": "object",
2478
+ "properties": {
2479
+ "tags": {
2480
+ "type": "array",
2481
+ "items": {
2482
+ "type": "object",
2483
+ "properties": {
2484
+ "value": {
2485
+ "type": "string"
2486
+ }
2487
+ },
2488
+ "required": [
2489
+ "value"
2490
+ ]
2491
+ }
2492
+ },
2493
+ "meta": {
2494
+ "type": "object",
2495
+ "properties": {
2496
+ "nextToken": {
2497
+ "type": "string",
2498
+ "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."
2499
+ }
2500
+ },
2501
+ "additionalProperties": false
2502
+ }
2503
+ },
2504
+ "required": [
2505
+ "tags",
2506
+ "meta"
2507
+ ],
2508
+ "title": "listTagValuesResponse",
2509
+ "additionalProperties": false
2510
+ }
2511
+ }
2512
+ },
2445
2513
  "trackAnalytics": {
2446
2514
  "name": "trackAnalytics",
2447
2515
  "description": "Add an event to the analytics",
@@ -13555,7 +13623,7 @@ export const state = {
13555
13623
  "title": "Botpress API",
13556
13624
  "description": "API for Botpress Cloud",
13557
13625
  "server": "https://api.botpress.cloud",
13558
- "version": "0.60.0",
13626
+ "version": "0.61.0",
13559
13627
  "prefix": "v1"
13560
13628
  },
13561
13629
  "errors": [
@@ -13789,6 +13857,7 @@ export const state = {
13789
13857
  "deleteWorkflowResponse": true,
13790
13858
  "listWorkflowsResponse": true,
13791
13859
  "getOrCreateWorkflowResponse": true,
13860
+ "listTagValuesResponse": true,
13792
13861
  "trackAnalyticsResponse": true,
13793
13862
  "runVrlResponse": true,
13794
13863
  "getAccountResponse": true,
@@ -17183,6 +17252,14 @@ export const state = {
17183
17252
  ],
17184
17253
  "schema": "Workflow"
17185
17254
  },
17255
+ {
17256
+ "description": "",
17257
+ "title": "Tag",
17258
+ "name": "tag",
17259
+ "operations": [
17260
+ "listTagValues"
17261
+ ]
17262
+ },
17186
17263
  {
17187
17264
  "title": "Bot",
17188
17265
  "description": "",