@botpress/api 1.18.1 → 1.18.2
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 +247 -19
- package/dist/src/gen/admin/state.d.ts +102 -0
- package/dist/src/gen/runtime/state.d.ts +0 -3
- package/dist/src/gen/state.d.ts +102 -3
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +122 -5
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -4
- package/src/gen/state.ts +122 -8
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/src/gen/runtime/state.ts
CHANGED
|
@@ -2562,9 +2562,6 @@ export const state = {
|
|
|
2562
2562
|
"description": "Add an event to the analytics",
|
|
2563
2563
|
"method": "post",
|
|
2564
2564
|
"path": "/v1/chat/analytics",
|
|
2565
|
-
"disableDefaultParameters": {
|
|
2566
|
-
"x-integration-id": true
|
|
2567
|
-
},
|
|
2568
2565
|
"requestBody": {
|
|
2569
2566
|
"description": "Add an event to the analytics",
|
|
2570
2567
|
"schema": {
|
|
@@ -2604,7 +2601,7 @@ export const state = {
|
|
|
2604
2601
|
"title": "Botpress API",
|
|
2605
2602
|
"description": "API for Botpress Cloud",
|
|
2606
2603
|
"server": "https://api.botpress.cloud",
|
|
2607
|
-
"version": "1.18.
|
|
2604
|
+
"version": "1.18.2",
|
|
2608
2605
|
"prefix": "v1"
|
|
2609
2606
|
},
|
|
2610
2607
|
"errors": [
|
package/src/gen/state.ts
CHANGED
|
@@ -2562,9 +2562,6 @@ export const state = {
|
|
|
2562
2562
|
"description": "Add an event to the analytics",
|
|
2563
2563
|
"method": "post",
|
|
2564
2564
|
"path": "/v1/chat/analytics",
|
|
2565
|
-
"disableDefaultParameters": {
|
|
2566
|
-
"x-integration-id": true
|
|
2567
|
-
},
|
|
2568
2565
|
"requestBody": {
|
|
2569
2566
|
"description": "Add an event to the analytics",
|
|
2570
2567
|
"schema": {
|
|
@@ -7564,7 +7561,7 @@ export const state = {
|
|
|
7564
7561
|
},
|
|
7565
7562
|
"endDate": {
|
|
7566
7563
|
"in": "query",
|
|
7567
|
-
"description": "End date/time (
|
|
7564
|
+
"description": "End date/time (inclusive)",
|
|
7568
7565
|
"type": "string",
|
|
7569
7566
|
"required": true
|
|
7570
7567
|
}
|
|
@@ -7585,7 +7582,7 @@ export const state = {
|
|
|
7585
7582
|
},
|
|
7586
7583
|
"endDateTimeUtc": {
|
|
7587
7584
|
"type": "string",
|
|
7588
|
-
"description": "ISO 8601 date string of the end (
|
|
7585
|
+
"description": "ISO 8601 date string of the end (inclusive) of the period"
|
|
7589
7586
|
},
|
|
7590
7587
|
"returningUsers": {
|
|
7591
7588
|
"type": "integer"
|
|
@@ -7749,6 +7746,121 @@ export const state = {
|
|
|
7749
7746
|
}
|
|
7750
7747
|
}
|
|
7751
7748
|
},
|
|
7749
|
+
"listActionRuns": {
|
|
7750
|
+
"name": "listActionRuns",
|
|
7751
|
+
"description": "List action runs for a specific integration of a bot",
|
|
7752
|
+
"method": "get",
|
|
7753
|
+
"path": "/v1/admin/bots/{id}/action-runs",
|
|
7754
|
+
"section": "bot",
|
|
7755
|
+
"parameters": {
|
|
7756
|
+
"id": {
|
|
7757
|
+
"type": "string",
|
|
7758
|
+
"description": "Bot ID",
|
|
7759
|
+
"in": "path"
|
|
7760
|
+
},
|
|
7761
|
+
"integrationName": {
|
|
7762
|
+
"in": "query",
|
|
7763
|
+
"description": "Integration name",
|
|
7764
|
+
"type": "string",
|
|
7765
|
+
"required": true
|
|
7766
|
+
},
|
|
7767
|
+
"timestampFrom": {
|
|
7768
|
+
"in": "query",
|
|
7769
|
+
"description": "Start timestamp (inclusive)",
|
|
7770
|
+
"type": "string"
|
|
7771
|
+
},
|
|
7772
|
+
"timestampUntil": {
|
|
7773
|
+
"in": "query",
|
|
7774
|
+
"description": "End timestamp (inclusive)",
|
|
7775
|
+
"type": "string"
|
|
7776
|
+
},
|
|
7777
|
+
"nextToken": {
|
|
7778
|
+
"in": "query",
|
|
7779
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
7780
|
+
"type": "string"
|
|
7781
|
+
}
|
|
7782
|
+
},
|
|
7783
|
+
"response": {
|
|
7784
|
+
"description": "Success",
|
|
7785
|
+
"schema": {
|
|
7786
|
+
"type": "object",
|
|
7787
|
+
"properties": {
|
|
7788
|
+
"data": {
|
|
7789
|
+
"type": "array",
|
|
7790
|
+
"items": {
|
|
7791
|
+
"type": "object",
|
|
7792
|
+
"properties": {
|
|
7793
|
+
"timestamp": {
|
|
7794
|
+
"type": "string",
|
|
7795
|
+
"description": "ISO 8601 timestamp of the action run"
|
|
7796
|
+
},
|
|
7797
|
+
"integrationName": {
|
|
7798
|
+
"type": "string"
|
|
7799
|
+
},
|
|
7800
|
+
"actionType": {
|
|
7801
|
+
"type": "string"
|
|
7802
|
+
},
|
|
7803
|
+
"input": {
|
|
7804
|
+
"type": "object",
|
|
7805
|
+
"properties": {},
|
|
7806
|
+
"additionalProperties": true,
|
|
7807
|
+
"description": "Input of the action"
|
|
7808
|
+
},
|
|
7809
|
+
"output": {
|
|
7810
|
+
"type": "object",
|
|
7811
|
+
"properties": {},
|
|
7812
|
+
"additionalProperties": true,
|
|
7813
|
+
"nullable": true,
|
|
7814
|
+
"description": "Output of the action"
|
|
7815
|
+
},
|
|
7816
|
+
"status": {
|
|
7817
|
+
"type": "string",
|
|
7818
|
+
"enum": [
|
|
7819
|
+
"SUCCESS",
|
|
7820
|
+
"FAILURE"
|
|
7821
|
+
]
|
|
7822
|
+
},
|
|
7823
|
+
"durationMs": {
|
|
7824
|
+
"type": "number"
|
|
7825
|
+
},
|
|
7826
|
+
"cached": {
|
|
7827
|
+
"type": "boolean"
|
|
7828
|
+
},
|
|
7829
|
+
"errorMessage": {
|
|
7830
|
+
"type": "string",
|
|
7831
|
+
"nullable": true
|
|
7832
|
+
}
|
|
7833
|
+
},
|
|
7834
|
+
"required": [
|
|
7835
|
+
"timestamp",
|
|
7836
|
+
"actionType",
|
|
7837
|
+
"input",
|
|
7838
|
+
"output",
|
|
7839
|
+
"status",
|
|
7840
|
+
"durationMs",
|
|
7841
|
+
"cached"
|
|
7842
|
+
]
|
|
7843
|
+
}
|
|
7844
|
+
},
|
|
7845
|
+
"meta": {
|
|
7846
|
+
"type": "object",
|
|
7847
|
+
"properties": {
|
|
7848
|
+
"nextToken": {
|
|
7849
|
+
"type": "string"
|
|
7850
|
+
}
|
|
7851
|
+
},
|
|
7852
|
+
"additionalProperties": false
|
|
7853
|
+
}
|
|
7854
|
+
},
|
|
7855
|
+
"required": [
|
|
7856
|
+
"data",
|
|
7857
|
+
"meta"
|
|
7858
|
+
],
|
|
7859
|
+
"title": "listActionRunsResponse",
|
|
7860
|
+
"additionalProperties": false
|
|
7861
|
+
}
|
|
7862
|
+
}
|
|
7863
|
+
},
|
|
7752
7864
|
"getBotIssue": {
|
|
7753
7865
|
"name": "getBotIssue",
|
|
7754
7866
|
"description": "Get Bot Issue",
|
|
@@ -15215,7 +15327,7 @@ export const state = {
|
|
|
15215
15327
|
},
|
|
15216
15328
|
"timestampUntil": {
|
|
15217
15329
|
"in": "query",
|
|
15218
|
-
"description": "Timestamp until (
|
|
15330
|
+
"description": "Timestamp until (inclusive)",
|
|
15219
15331
|
"type": "string"
|
|
15220
15332
|
},
|
|
15221
15333
|
"nextToken": {
|
|
@@ -15317,7 +15429,7 @@ export const state = {
|
|
|
15317
15429
|
},
|
|
15318
15430
|
"dateUntil": {
|
|
15319
15431
|
"in": "query",
|
|
15320
|
-
"description": "Date until (
|
|
15432
|
+
"description": "Date until (inclusive)",
|
|
15321
15433
|
"type": "string"
|
|
15322
15434
|
},
|
|
15323
15435
|
"nextToken": {
|
|
@@ -18389,7 +18501,7 @@ export const state = {
|
|
|
18389
18501
|
"title": "Botpress API",
|
|
18390
18502
|
"description": "API for Botpress Cloud",
|
|
18391
18503
|
"server": "https://api.botpress.cloud",
|
|
18392
|
-
"version": "1.18.
|
|
18504
|
+
"version": "1.18.2",
|
|
18393
18505
|
"prefix": "v1"
|
|
18394
18506
|
},
|
|
18395
18507
|
"errors": [
|
|
@@ -18660,6 +18772,7 @@ export const state = {
|
|
|
18660
18772
|
"getBotLogsResponse": true,
|
|
18661
18773
|
"getBotWebchatResponse": true,
|
|
18662
18774
|
"getBotAnalyticsResponse": true,
|
|
18775
|
+
"listActionRunsResponse": true,
|
|
18663
18776
|
"getBotIssueResponse": true,
|
|
18664
18777
|
"listBotIssuesResponse": true,
|
|
18665
18778
|
"deleteBotIssueResponse": true,
|
|
@@ -22364,6 +22477,7 @@ export const state = {
|
|
|
22364
22477
|
"getBotLogs",
|
|
22365
22478
|
"getBotWebchat",
|
|
22366
22479
|
"getBotAnalytics",
|
|
22480
|
+
"listActionRuns",
|
|
22367
22481
|
"getBotIssue",
|
|
22368
22482
|
"listBotIssues",
|
|
22369
22483
|
"deleteBotIssue",
|