@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/admin/state.ts
CHANGED
|
@@ -4970,7 +4970,7 @@ export const state = {
|
|
|
4970
4970
|
},
|
|
4971
4971
|
"endDate": {
|
|
4972
4972
|
"in": "query",
|
|
4973
|
-
"description": "End date/time (
|
|
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 (
|
|
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",
|
|
@@ -12620,7 +12735,7 @@ export const state = {
|
|
|
12620
12735
|
},
|
|
12621
12736
|
"timestampUntil": {
|
|
12622
12737
|
"in": "query",
|
|
12623
|
-
"description": "Timestamp until (
|
|
12738
|
+
"description": "Timestamp until (inclusive)",
|
|
12624
12739
|
"type": "string"
|
|
12625
12740
|
},
|
|
12626
12741
|
"nextToken": {
|
|
@@ -12722,7 +12837,7 @@ export const state = {
|
|
|
12722
12837
|
},
|
|
12723
12838
|
"dateUntil": {
|
|
12724
12839
|
"in": "query",
|
|
12725
|
-
"description": "Date until (
|
|
12840
|
+
"description": "Date until (inclusive)",
|
|
12726
12841
|
"type": "string"
|
|
12727
12842
|
},
|
|
12728
12843
|
"nextToken": {
|
|
@@ -12949,7 +13064,7 @@ export const state = {
|
|
|
12949
13064
|
"title": "Botpress API",
|
|
12950
13065
|
"description": "API for Botpress Cloud",
|
|
12951
13066
|
"server": "https://api.botpress.cloud",
|
|
12952
|
-
"version": "1.18.
|
|
13067
|
+
"version": "1.18.2",
|
|
12953
13068
|
"prefix": "v1"
|
|
12954
13069
|
},
|
|
12955
13070
|
"errors": [
|
|
@@ -13135,6 +13250,7 @@ export const state = {
|
|
|
13135
13250
|
"getBotLogsResponse": true,
|
|
13136
13251
|
"getBotWebchatResponse": true,
|
|
13137
13252
|
"getBotAnalyticsResponse": true,
|
|
13253
|
+
"listActionRunsResponse": true,
|
|
13138
13254
|
"getBotIssueResponse": true,
|
|
13139
13255
|
"listBotIssuesResponse": true,
|
|
13140
13256
|
"deleteBotIssueResponse": true,
|
|
@@ -16753,6 +16869,7 @@ export const state = {
|
|
|
16753
16869
|
"getBotLogs",
|
|
16754
16870
|
"getBotWebchat",
|
|
16755
16871
|
"getBotAnalytics",
|
|
16872
|
+
"listActionRuns",
|
|
16756
16873
|
"getBotIssue",
|
|
16757
16874
|
"listBotIssues",
|
|
16758
16875
|
"deleteBotIssue",
|