@botpress/api 1.18.0 → 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.
@@ -4970,7 +4970,7 @@ export const state = {
4970
4970
  },
4971
4971
  "endDate": {
4972
4972
  "in": "query",
4973
- "description": "End date/time (exclusive)",
4973
+ "description": "End date/time (inclusive)",
4974
4974
  "type": "string",
4975
4975
  "required": true
4976
4976
  }
@@ -4991,7 +4991,7 @@ export const state = {
4991
4991
  },
4992
4992
  "endDateTimeUtc": {
4993
4993
  "type": "string",
4994
- "description": "ISO 8601 date string of the end (exclusive) of the period"
4994
+ "description": "ISO 8601 date string of the end (inclusive) of the period"
4995
4995
  },
4996
4996
  "returningUsers": {
4997
4997
  "type": "integer"
@@ -5155,6 +5155,121 @@ export const state = {
5155
5155
  }
5156
5156
  }
5157
5157
  },
5158
+ "listActionRuns": {
5159
+ "name": "listActionRuns",
5160
+ "description": "List action runs for a specific integration of a bot",
5161
+ "method": "get",
5162
+ "path": "/v1/admin/bots/{id}/action-runs",
5163
+ "section": "bot",
5164
+ "parameters": {
5165
+ "id": {
5166
+ "type": "string",
5167
+ "description": "Bot ID",
5168
+ "in": "path"
5169
+ },
5170
+ "integrationName": {
5171
+ "in": "query",
5172
+ "description": "Integration name",
5173
+ "type": "string",
5174
+ "required": true
5175
+ },
5176
+ "timestampFrom": {
5177
+ "in": "query",
5178
+ "description": "Start timestamp (inclusive)",
5179
+ "type": "string"
5180
+ },
5181
+ "timestampUntil": {
5182
+ "in": "query",
5183
+ "description": "End timestamp (inclusive)",
5184
+ "type": "string"
5185
+ },
5186
+ "nextToken": {
5187
+ "in": "query",
5188
+ "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
5189
+ "type": "string"
5190
+ }
5191
+ },
5192
+ "response": {
5193
+ "description": "Success",
5194
+ "schema": {
5195
+ "type": "object",
5196
+ "properties": {
5197
+ "data": {
5198
+ "type": "array",
5199
+ "items": {
5200
+ "type": "object",
5201
+ "properties": {
5202
+ "timestamp": {
5203
+ "type": "string",
5204
+ "description": "ISO 8601 timestamp of the action run"
5205
+ },
5206
+ "integrationName": {
5207
+ "type": "string"
5208
+ },
5209
+ "actionType": {
5210
+ "type": "string"
5211
+ },
5212
+ "input": {
5213
+ "type": "object",
5214
+ "properties": {},
5215
+ "additionalProperties": true,
5216
+ "description": "Input of the action"
5217
+ },
5218
+ "output": {
5219
+ "type": "object",
5220
+ "properties": {},
5221
+ "additionalProperties": true,
5222
+ "nullable": true,
5223
+ "description": "Output of the action"
5224
+ },
5225
+ "status": {
5226
+ "type": "string",
5227
+ "enum": [
5228
+ "SUCCESS",
5229
+ "FAILURE"
5230
+ ]
5231
+ },
5232
+ "durationMs": {
5233
+ "type": "number"
5234
+ },
5235
+ "cached": {
5236
+ "type": "boolean"
5237
+ },
5238
+ "errorMessage": {
5239
+ "type": "string",
5240
+ "nullable": true
5241
+ }
5242
+ },
5243
+ "required": [
5244
+ "timestamp",
5245
+ "actionType",
5246
+ "input",
5247
+ "output",
5248
+ "status",
5249
+ "durationMs",
5250
+ "cached"
5251
+ ]
5252
+ }
5253
+ },
5254
+ "meta": {
5255
+ "type": "object",
5256
+ "properties": {
5257
+ "nextToken": {
5258
+ "type": "string"
5259
+ }
5260
+ },
5261
+ "additionalProperties": false
5262
+ }
5263
+ },
5264
+ "required": [
5265
+ "data",
5266
+ "meta"
5267
+ ],
5268
+ "title": "listActionRunsResponse",
5269
+ "additionalProperties": false
5270
+ }
5271
+ }
5272
+ },
5158
5273
  "getBotIssue": {
5159
5274
  "name": "getBotIssue",
5160
5275
  "description": "Get Bot Issue",
@@ -9624,22 +9739,6 @@ export const state = {
9624
9739
  "additionalProperties": false
9625
9740
  }
9626
9741
  },
9627
- "sandbox": {
9628
- "type": "object",
9629
- "properties": {
9630
- "identifierExtractScript": {
9631
- "type": "string",
9632
- "maxLength": 2000,
9633
- "nullable": true
9634
- },
9635
- "messageExtractScript": {
9636
- "type": "string",
9637
- "maxLength": 2000,
9638
- "nullable": true
9639
- }
9640
- },
9641
- "additionalProperties": false
9642
- },
9643
9742
  "attributes": {
9644
9743
  "type": "object",
9645
9744
  "additionalProperties": {
@@ -10232,22 +10331,6 @@ export const state = {
10232
10331
  "additionalProperties": false
10233
10332
  }
10234
10333
  },
10235
- "sandbox": {
10236
- "type": "object",
10237
- "properties": {
10238
- "identifierExtractScript": {
10239
- "type": "string",
10240
- "maxLength": 2000,
10241
- "nullable": true
10242
- },
10243
- "messageExtractScript": {
10244
- "type": "string",
10245
- "maxLength": 2000,
10246
- "nullable": true
10247
- }
10248
- },
10249
- "additionalProperties": false
10250
- },
10251
10334
  "attributes": {
10252
10335
  "type": "object",
10253
10336
  "additionalProperties": {
@@ -12652,7 +12735,7 @@ export const state = {
12652
12735
  },
12653
12736
  "timestampUntil": {
12654
12737
  "in": "query",
12655
- "description": "Timestamp until (exclusive)",
12738
+ "description": "Timestamp until (inclusive)",
12656
12739
  "type": "string"
12657
12740
  },
12658
12741
  "nextToken": {
@@ -12754,7 +12837,7 @@ export const state = {
12754
12837
  },
12755
12838
  "dateUntil": {
12756
12839
  "in": "query",
12757
- "description": "Date until (exclusive)",
12840
+ "description": "Date until (inclusive)",
12758
12841
  "type": "string"
12759
12842
  },
12760
12843
  "nextToken": {
@@ -12981,7 +13064,7 @@ export const state = {
12981
13064
  "title": "Botpress API",
12982
13065
  "description": "API for Botpress Cloud",
12983
13066
  "server": "https://api.botpress.cloud",
12984
- "version": "1.18.0",
13067
+ "version": "1.18.2",
12985
13068
  "prefix": "v1"
12986
13069
  },
12987
13070
  "errors": [
@@ -13167,6 +13250,7 @@ export const state = {
13167
13250
  "getBotLogsResponse": true,
13168
13251
  "getBotWebchatResponse": true,
13169
13252
  "getBotAnalyticsResponse": true,
13253
+ "listActionRunsResponse": true,
13170
13254
  "getBotIssueResponse": true,
13171
13255
  "listBotIssuesResponse": true,
13172
13256
  "deleteBotIssueResponse": true,
@@ -16785,6 +16869,7 @@ export const state = {
16785
16869
  "getBotLogs",
16786
16870
  "getBotWebchat",
16787
16871
  "getBotAnalytics",
16872
+ "listActionRuns",
16788
16873
  "getBotIssue",
16789
16874
  "listBotIssues",
16790
16875
  "deleteBotIssue",