@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/dist/index.js
CHANGED
|
@@ -284084,9 +284084,6 @@ var state = {
|
|
|
284084
284084
|
"description": "Add an event to the analytics",
|
|
284085
284085
|
"method": "post",
|
|
284086
284086
|
"path": "/v1/chat/analytics",
|
|
284087
|
-
"disableDefaultParameters": {
|
|
284088
|
-
"x-integration-id": true
|
|
284089
|
-
},
|
|
284090
284087
|
"requestBody": {
|
|
284091
284088
|
"description": "Add an event to the analytics",
|
|
284092
284089
|
"schema": {
|
|
@@ -284126,7 +284123,7 @@ var state = {
|
|
|
284126
284123
|
"title": "Botpress API",
|
|
284127
284124
|
"description": "API for Botpress Cloud",
|
|
284128
284125
|
"server": "https://api.botpress.cloud",
|
|
284129
|
-
"version": "1.18.
|
|
284126
|
+
"version": "1.18.2",
|
|
284130
284127
|
"prefix": "v1"
|
|
284131
284128
|
},
|
|
284132
284129
|
"errors": [
|
|
@@ -292965,7 +292962,7 @@ var state2 = {
|
|
|
292965
292962
|
},
|
|
292966
292963
|
"endDate": {
|
|
292967
292964
|
"in": "query",
|
|
292968
|
-
"description": "End date/time (
|
|
292965
|
+
"description": "End date/time (inclusive)",
|
|
292969
292966
|
"type": "string",
|
|
292970
292967
|
"required": true
|
|
292971
292968
|
}
|
|
@@ -292986,7 +292983,7 @@ var state2 = {
|
|
|
292986
292983
|
},
|
|
292987
292984
|
"endDateTimeUtc": {
|
|
292988
292985
|
"type": "string",
|
|
292989
|
-
"description": "ISO 8601 date string of the end (
|
|
292986
|
+
"description": "ISO 8601 date string of the end (inclusive) of the period"
|
|
292990
292987
|
},
|
|
292991
292988
|
"returningUsers": {
|
|
292992
292989
|
"type": "integer"
|
|
@@ -293150,6 +293147,121 @@ var state2 = {
|
|
|
293150
293147
|
}
|
|
293151
293148
|
}
|
|
293152
293149
|
},
|
|
293150
|
+
"listActionRuns": {
|
|
293151
|
+
"name": "listActionRuns",
|
|
293152
|
+
"description": "List action runs for a specific integration of a bot",
|
|
293153
|
+
"method": "get",
|
|
293154
|
+
"path": "/v1/admin/bots/{id}/action-runs",
|
|
293155
|
+
"section": "bot",
|
|
293156
|
+
"parameters": {
|
|
293157
|
+
"id": {
|
|
293158
|
+
"type": "string",
|
|
293159
|
+
"description": "Bot ID",
|
|
293160
|
+
"in": "path"
|
|
293161
|
+
},
|
|
293162
|
+
"integrationName": {
|
|
293163
|
+
"in": "query",
|
|
293164
|
+
"description": "Integration name",
|
|
293165
|
+
"type": "string",
|
|
293166
|
+
"required": true
|
|
293167
|
+
},
|
|
293168
|
+
"timestampFrom": {
|
|
293169
|
+
"in": "query",
|
|
293170
|
+
"description": "Start timestamp (inclusive)",
|
|
293171
|
+
"type": "string"
|
|
293172
|
+
},
|
|
293173
|
+
"timestampUntil": {
|
|
293174
|
+
"in": "query",
|
|
293175
|
+
"description": "End timestamp (inclusive)",
|
|
293176
|
+
"type": "string"
|
|
293177
|
+
},
|
|
293178
|
+
"nextToken": {
|
|
293179
|
+
"in": "query",
|
|
293180
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
293181
|
+
"type": "string"
|
|
293182
|
+
}
|
|
293183
|
+
},
|
|
293184
|
+
"response": {
|
|
293185
|
+
"description": "Success",
|
|
293186
|
+
"schema": {
|
|
293187
|
+
"type": "object",
|
|
293188
|
+
"properties": {
|
|
293189
|
+
"data": {
|
|
293190
|
+
"type": "array",
|
|
293191
|
+
"items": {
|
|
293192
|
+
"type": "object",
|
|
293193
|
+
"properties": {
|
|
293194
|
+
"timestamp": {
|
|
293195
|
+
"type": "string",
|
|
293196
|
+
"description": "ISO 8601 timestamp of the action run"
|
|
293197
|
+
},
|
|
293198
|
+
"integrationName": {
|
|
293199
|
+
"type": "string"
|
|
293200
|
+
},
|
|
293201
|
+
"actionType": {
|
|
293202
|
+
"type": "string"
|
|
293203
|
+
},
|
|
293204
|
+
"input": {
|
|
293205
|
+
"type": "object",
|
|
293206
|
+
"properties": {},
|
|
293207
|
+
"additionalProperties": true,
|
|
293208
|
+
"description": "Input of the action"
|
|
293209
|
+
},
|
|
293210
|
+
"output": {
|
|
293211
|
+
"type": "object",
|
|
293212
|
+
"properties": {},
|
|
293213
|
+
"additionalProperties": true,
|
|
293214
|
+
"nullable": true,
|
|
293215
|
+
"description": "Output of the action"
|
|
293216
|
+
},
|
|
293217
|
+
"status": {
|
|
293218
|
+
"type": "string",
|
|
293219
|
+
"enum": [
|
|
293220
|
+
"SUCCESS",
|
|
293221
|
+
"FAILURE"
|
|
293222
|
+
]
|
|
293223
|
+
},
|
|
293224
|
+
"durationMs": {
|
|
293225
|
+
"type": "number"
|
|
293226
|
+
},
|
|
293227
|
+
"cached": {
|
|
293228
|
+
"type": "boolean"
|
|
293229
|
+
},
|
|
293230
|
+
"errorMessage": {
|
|
293231
|
+
"type": "string",
|
|
293232
|
+
"nullable": true
|
|
293233
|
+
}
|
|
293234
|
+
},
|
|
293235
|
+
"required": [
|
|
293236
|
+
"timestamp",
|
|
293237
|
+
"actionType",
|
|
293238
|
+
"input",
|
|
293239
|
+
"output",
|
|
293240
|
+
"status",
|
|
293241
|
+
"durationMs",
|
|
293242
|
+
"cached"
|
|
293243
|
+
]
|
|
293244
|
+
}
|
|
293245
|
+
},
|
|
293246
|
+
"meta": {
|
|
293247
|
+
"type": "object",
|
|
293248
|
+
"properties": {
|
|
293249
|
+
"nextToken": {
|
|
293250
|
+
"type": "string"
|
|
293251
|
+
}
|
|
293252
|
+
},
|
|
293253
|
+
"additionalProperties": false
|
|
293254
|
+
}
|
|
293255
|
+
},
|
|
293256
|
+
"required": [
|
|
293257
|
+
"data",
|
|
293258
|
+
"meta"
|
|
293259
|
+
],
|
|
293260
|
+
"title": "listActionRunsResponse",
|
|
293261
|
+
"additionalProperties": false
|
|
293262
|
+
}
|
|
293263
|
+
}
|
|
293264
|
+
},
|
|
293153
293265
|
"getBotIssue": {
|
|
293154
293266
|
"name": "getBotIssue",
|
|
293155
293267
|
"description": "Get Bot Issue",
|
|
@@ -300615,7 +300727,7 @@ var state2 = {
|
|
|
300615
300727
|
},
|
|
300616
300728
|
"timestampUntil": {
|
|
300617
300729
|
"in": "query",
|
|
300618
|
-
"description": "Timestamp until (
|
|
300730
|
+
"description": "Timestamp until (inclusive)",
|
|
300619
300731
|
"type": "string"
|
|
300620
300732
|
},
|
|
300621
300733
|
"nextToken": {
|
|
@@ -300717,7 +300829,7 @@ var state2 = {
|
|
|
300717
300829
|
},
|
|
300718
300830
|
"dateUntil": {
|
|
300719
300831
|
"in": "query",
|
|
300720
|
-
"description": "Date until (
|
|
300832
|
+
"description": "Date until (inclusive)",
|
|
300721
300833
|
"type": "string"
|
|
300722
300834
|
},
|
|
300723
300835
|
"nextToken": {
|
|
@@ -300944,7 +301056,7 @@ var state2 = {
|
|
|
300944
301056
|
"title": "Botpress API",
|
|
300945
301057
|
"description": "API for Botpress Cloud",
|
|
300946
301058
|
"server": "https://api.botpress.cloud",
|
|
300947
|
-
"version": "1.18.
|
|
301059
|
+
"version": "1.18.2",
|
|
300948
301060
|
"prefix": "v1"
|
|
300949
301061
|
},
|
|
300950
301062
|
"errors": [
|
|
@@ -301130,6 +301242,7 @@ var state2 = {
|
|
|
301130
301242
|
"getBotLogsResponse": true,
|
|
301131
301243
|
"getBotWebchatResponse": true,
|
|
301132
301244
|
"getBotAnalyticsResponse": true,
|
|
301245
|
+
"listActionRunsResponse": true,
|
|
301133
301246
|
"getBotIssueResponse": true,
|
|
301134
301247
|
"listBotIssuesResponse": true,
|
|
301135
301248
|
"deleteBotIssueResponse": true,
|
|
@@ -304748,6 +304861,7 @@ var state2 = {
|
|
|
304748
304861
|
"getBotLogs",
|
|
304749
304862
|
"getBotWebchat",
|
|
304750
304863
|
"getBotAnalytics",
|
|
304864
|
+
"listActionRuns",
|
|
304751
304865
|
"getBotIssue",
|
|
304752
304866
|
"listBotIssues",
|
|
304753
304867
|
"deleteBotIssue",
|
|
@@ -306576,7 +306690,7 @@ var state3 = {
|
|
|
306576
306690
|
"title": "Botpress API",
|
|
306577
306691
|
"description": "API for Botpress Cloud",
|
|
306578
306692
|
"server": "https://api.botpress.cloud",
|
|
306579
|
-
"version": "1.18.
|
|
306693
|
+
"version": "1.18.2",
|
|
306580
306694
|
"prefix": "v1"
|
|
306581
306695
|
},
|
|
306582
306696
|
"errors": [
|
|
@@ -311580,7 +311694,7 @@ var state4 = {
|
|
|
311580
311694
|
"title": "Botpress API",
|
|
311581
311695
|
"description": "API for Botpress Cloud",
|
|
311582
311696
|
"server": "https://api.botpress.cloud",
|
|
311583
|
-
"version": "1.18.
|
|
311697
|
+
"version": "1.18.2",
|
|
311584
311698
|
"prefix": "v1"
|
|
311585
311699
|
},
|
|
311586
311700
|
"errors": [
|
|
@@ -317935,9 +318049,6 @@ var state5 = {
|
|
|
317935
318049
|
"description": "Add an event to the analytics",
|
|
317936
318050
|
"method": "post",
|
|
317937
318051
|
"path": "/v1/chat/analytics",
|
|
317938
|
-
"disableDefaultParameters": {
|
|
317939
|
-
"x-integration-id": true
|
|
317940
|
-
},
|
|
317941
318052
|
"requestBody": {
|
|
317942
318053
|
"description": "Add an event to the analytics",
|
|
317943
318054
|
"schema": {
|
|
@@ -322937,7 +323048,7 @@ var state5 = {
|
|
|
322937
323048
|
},
|
|
322938
323049
|
"endDate": {
|
|
322939
323050
|
"in": "query",
|
|
322940
|
-
"description": "End date/time (
|
|
323051
|
+
"description": "End date/time (inclusive)",
|
|
322941
323052
|
"type": "string",
|
|
322942
323053
|
"required": true
|
|
322943
323054
|
}
|
|
@@ -322958,7 +323069,7 @@ var state5 = {
|
|
|
322958
323069
|
},
|
|
322959
323070
|
"endDateTimeUtc": {
|
|
322960
323071
|
"type": "string",
|
|
322961
|
-
"description": "ISO 8601 date string of the end (
|
|
323072
|
+
"description": "ISO 8601 date string of the end (inclusive) of the period"
|
|
322962
323073
|
},
|
|
322963
323074
|
"returningUsers": {
|
|
322964
323075
|
"type": "integer"
|
|
@@ -323122,6 +323233,121 @@ var state5 = {
|
|
|
323122
323233
|
}
|
|
323123
323234
|
}
|
|
323124
323235
|
},
|
|
323236
|
+
"listActionRuns": {
|
|
323237
|
+
"name": "listActionRuns",
|
|
323238
|
+
"description": "List action runs for a specific integration of a bot",
|
|
323239
|
+
"method": "get",
|
|
323240
|
+
"path": "/v1/admin/bots/{id}/action-runs",
|
|
323241
|
+
"section": "bot",
|
|
323242
|
+
"parameters": {
|
|
323243
|
+
"id": {
|
|
323244
|
+
"type": "string",
|
|
323245
|
+
"description": "Bot ID",
|
|
323246
|
+
"in": "path"
|
|
323247
|
+
},
|
|
323248
|
+
"integrationName": {
|
|
323249
|
+
"in": "query",
|
|
323250
|
+
"description": "Integration name",
|
|
323251
|
+
"type": "string",
|
|
323252
|
+
"required": true
|
|
323253
|
+
},
|
|
323254
|
+
"timestampFrom": {
|
|
323255
|
+
"in": "query",
|
|
323256
|
+
"description": "Start timestamp (inclusive)",
|
|
323257
|
+
"type": "string"
|
|
323258
|
+
},
|
|
323259
|
+
"timestampUntil": {
|
|
323260
|
+
"in": "query",
|
|
323261
|
+
"description": "End timestamp (inclusive)",
|
|
323262
|
+
"type": "string"
|
|
323263
|
+
},
|
|
323264
|
+
"nextToken": {
|
|
323265
|
+
"in": "query",
|
|
323266
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
323267
|
+
"type": "string"
|
|
323268
|
+
}
|
|
323269
|
+
},
|
|
323270
|
+
"response": {
|
|
323271
|
+
"description": "Success",
|
|
323272
|
+
"schema": {
|
|
323273
|
+
"type": "object",
|
|
323274
|
+
"properties": {
|
|
323275
|
+
"data": {
|
|
323276
|
+
"type": "array",
|
|
323277
|
+
"items": {
|
|
323278
|
+
"type": "object",
|
|
323279
|
+
"properties": {
|
|
323280
|
+
"timestamp": {
|
|
323281
|
+
"type": "string",
|
|
323282
|
+
"description": "ISO 8601 timestamp of the action run"
|
|
323283
|
+
},
|
|
323284
|
+
"integrationName": {
|
|
323285
|
+
"type": "string"
|
|
323286
|
+
},
|
|
323287
|
+
"actionType": {
|
|
323288
|
+
"type": "string"
|
|
323289
|
+
},
|
|
323290
|
+
"input": {
|
|
323291
|
+
"type": "object",
|
|
323292
|
+
"properties": {},
|
|
323293
|
+
"additionalProperties": true,
|
|
323294
|
+
"description": "Input of the action"
|
|
323295
|
+
},
|
|
323296
|
+
"output": {
|
|
323297
|
+
"type": "object",
|
|
323298
|
+
"properties": {},
|
|
323299
|
+
"additionalProperties": true,
|
|
323300
|
+
"nullable": true,
|
|
323301
|
+
"description": "Output of the action"
|
|
323302
|
+
},
|
|
323303
|
+
"status": {
|
|
323304
|
+
"type": "string",
|
|
323305
|
+
"enum": [
|
|
323306
|
+
"SUCCESS",
|
|
323307
|
+
"FAILURE"
|
|
323308
|
+
]
|
|
323309
|
+
},
|
|
323310
|
+
"durationMs": {
|
|
323311
|
+
"type": "number"
|
|
323312
|
+
},
|
|
323313
|
+
"cached": {
|
|
323314
|
+
"type": "boolean"
|
|
323315
|
+
},
|
|
323316
|
+
"errorMessage": {
|
|
323317
|
+
"type": "string",
|
|
323318
|
+
"nullable": true
|
|
323319
|
+
}
|
|
323320
|
+
},
|
|
323321
|
+
"required": [
|
|
323322
|
+
"timestamp",
|
|
323323
|
+
"actionType",
|
|
323324
|
+
"input",
|
|
323325
|
+
"output",
|
|
323326
|
+
"status",
|
|
323327
|
+
"durationMs",
|
|
323328
|
+
"cached"
|
|
323329
|
+
]
|
|
323330
|
+
}
|
|
323331
|
+
},
|
|
323332
|
+
"meta": {
|
|
323333
|
+
"type": "object",
|
|
323334
|
+
"properties": {
|
|
323335
|
+
"nextToken": {
|
|
323336
|
+
"type": "string"
|
|
323337
|
+
}
|
|
323338
|
+
},
|
|
323339
|
+
"additionalProperties": false
|
|
323340
|
+
}
|
|
323341
|
+
},
|
|
323342
|
+
"required": [
|
|
323343
|
+
"data",
|
|
323344
|
+
"meta"
|
|
323345
|
+
],
|
|
323346
|
+
"title": "listActionRunsResponse",
|
|
323347
|
+
"additionalProperties": false
|
|
323348
|
+
}
|
|
323349
|
+
}
|
|
323350
|
+
},
|
|
323125
323351
|
"getBotIssue": {
|
|
323126
323352
|
"name": "getBotIssue",
|
|
323127
323353
|
"description": "Get Bot Issue",
|
|
@@ -330588,7 +330814,7 @@ var state5 = {
|
|
|
330588
330814
|
},
|
|
330589
330815
|
"timestampUntil": {
|
|
330590
330816
|
"in": "query",
|
|
330591
|
-
"description": "Timestamp until (
|
|
330817
|
+
"description": "Timestamp until (inclusive)",
|
|
330592
330818
|
"type": "string"
|
|
330593
330819
|
},
|
|
330594
330820
|
"nextToken": {
|
|
@@ -330690,7 +330916,7 @@ var state5 = {
|
|
|
330690
330916
|
},
|
|
330691
330917
|
"dateUntil": {
|
|
330692
330918
|
"in": "query",
|
|
330693
|
-
"description": "Date until (
|
|
330919
|
+
"description": "Date until (inclusive)",
|
|
330694
330920
|
"type": "string"
|
|
330695
330921
|
},
|
|
330696
330922
|
"nextToken": {
|
|
@@ -333762,7 +333988,7 @@ var state5 = {
|
|
|
333762
333988
|
"title": "Botpress API",
|
|
333763
333989
|
"description": "API for Botpress Cloud",
|
|
333764
333990
|
"server": "https://api.botpress.cloud",
|
|
333765
|
-
"version": "1.18.
|
|
333991
|
+
"version": "1.18.2",
|
|
333766
333992
|
"prefix": "v1"
|
|
333767
333993
|
},
|
|
333768
333994
|
"errors": [
|
|
@@ -334033,6 +334259,7 @@ var state5 = {
|
|
|
334033
334259
|
"getBotLogsResponse": true,
|
|
334034
334260
|
"getBotWebchatResponse": true,
|
|
334035
334261
|
"getBotAnalyticsResponse": true,
|
|
334262
|
+
"listActionRunsResponse": true,
|
|
334036
334263
|
"getBotIssueResponse": true,
|
|
334037
334264
|
"listBotIssuesResponse": true,
|
|
334038
334265
|
"deleteBotIssueResponse": true,
|
|
@@ -337737,6 +337964,7 @@ var state5 = {
|
|
|
337737
337964
|
"getBotLogs",
|
|
337738
337965
|
"getBotWebchat",
|
|
337739
337966
|
"getBotAnalytics",
|
|
337967
|
+
"listActionRuns",
|
|
337740
337968
|
"getBotIssue",
|
|
337741
337969
|
"listBotIssues",
|
|
337742
337970
|
"deleteBotIssue",
|
|
@@ -4520,6 +4520,107 @@ export declare const state: {
|
|
|
4520
4520
|
};
|
|
4521
4521
|
};
|
|
4522
4522
|
};
|
|
4523
|
+
listActionRuns: {
|
|
4524
|
+
name: string;
|
|
4525
|
+
description: string;
|
|
4526
|
+
method: "get";
|
|
4527
|
+
path: string;
|
|
4528
|
+
section: "bot";
|
|
4529
|
+
parameters: {
|
|
4530
|
+
id: {
|
|
4531
|
+
type: "string";
|
|
4532
|
+
description: string;
|
|
4533
|
+
in: "path";
|
|
4534
|
+
};
|
|
4535
|
+
integrationName: {
|
|
4536
|
+
in: "query";
|
|
4537
|
+
description: string;
|
|
4538
|
+
type: "string";
|
|
4539
|
+
required: true;
|
|
4540
|
+
};
|
|
4541
|
+
timestampFrom: {
|
|
4542
|
+
in: "query";
|
|
4543
|
+
description: string;
|
|
4544
|
+
type: "string";
|
|
4545
|
+
};
|
|
4546
|
+
timestampUntil: {
|
|
4547
|
+
in: "query";
|
|
4548
|
+
description: string;
|
|
4549
|
+
type: "string";
|
|
4550
|
+
};
|
|
4551
|
+
nextToken: {
|
|
4552
|
+
in: "query";
|
|
4553
|
+
description: string;
|
|
4554
|
+
type: "string";
|
|
4555
|
+
};
|
|
4556
|
+
};
|
|
4557
|
+
response: {
|
|
4558
|
+
description: string;
|
|
4559
|
+
schema: {
|
|
4560
|
+
type: "object";
|
|
4561
|
+
properties: {
|
|
4562
|
+
data: {
|
|
4563
|
+
type: "array";
|
|
4564
|
+
items: {
|
|
4565
|
+
type: "object";
|
|
4566
|
+
properties: {
|
|
4567
|
+
timestamp: {
|
|
4568
|
+
type: "string";
|
|
4569
|
+
description: string;
|
|
4570
|
+
};
|
|
4571
|
+
integrationName: {
|
|
4572
|
+
type: "string";
|
|
4573
|
+
};
|
|
4574
|
+
actionType: {
|
|
4575
|
+
type: "string";
|
|
4576
|
+
};
|
|
4577
|
+
input: {
|
|
4578
|
+
type: "object";
|
|
4579
|
+
properties: {};
|
|
4580
|
+
additionalProperties: true;
|
|
4581
|
+
description: string;
|
|
4582
|
+
};
|
|
4583
|
+
output: {
|
|
4584
|
+
type: "object";
|
|
4585
|
+
properties: {};
|
|
4586
|
+
additionalProperties: true;
|
|
4587
|
+
nullable: true;
|
|
4588
|
+
description: string;
|
|
4589
|
+
};
|
|
4590
|
+
status: {
|
|
4591
|
+
type: "string";
|
|
4592
|
+
enum: string[];
|
|
4593
|
+
};
|
|
4594
|
+
durationMs: {
|
|
4595
|
+
type: "number";
|
|
4596
|
+
};
|
|
4597
|
+
cached: {
|
|
4598
|
+
type: "boolean";
|
|
4599
|
+
};
|
|
4600
|
+
errorMessage: {
|
|
4601
|
+
type: "string";
|
|
4602
|
+
nullable: true;
|
|
4603
|
+
};
|
|
4604
|
+
};
|
|
4605
|
+
required: string[];
|
|
4606
|
+
};
|
|
4607
|
+
};
|
|
4608
|
+
meta: {
|
|
4609
|
+
type: "object";
|
|
4610
|
+
properties: {
|
|
4611
|
+
nextToken: {
|
|
4612
|
+
type: "string";
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4615
|
+
additionalProperties: false;
|
|
4616
|
+
};
|
|
4617
|
+
};
|
|
4618
|
+
required: string[];
|
|
4619
|
+
title: string;
|
|
4620
|
+
additionalProperties: false;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4523
4624
|
getBotIssue: {
|
|
4524
4625
|
name: string;
|
|
4525
4626
|
description: string;
|
|
@@ -11521,6 +11622,7 @@ export declare const state: {
|
|
|
11521
11622
|
getBotLogsResponse: true;
|
|
11522
11623
|
getBotWebchatResponse: true;
|
|
11523
11624
|
getBotAnalyticsResponse: true;
|
|
11625
|
+
listActionRunsResponse: true;
|
|
11524
11626
|
getBotIssueResponse: true;
|
|
11525
11627
|
listBotIssuesResponse: true;
|
|
11526
11628
|
deleteBotIssueResponse: true;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -2317,9 +2317,6 @@ export declare const state: {
|
|
|
2317
2317
|
description: string;
|
|
2318
2318
|
method: "post";
|
|
2319
2319
|
path: string;
|
|
2320
|
-
disableDefaultParameters: {
|
|
2321
|
-
"x-integration-id": boolean;
|
|
2322
|
-
};
|
|
2323
2320
|
requestBody: {
|
|
2324
2321
|
description: string;
|
|
2325
2322
|
schema: {
|
|
@@ -6869,6 +6866,107 @@ export declare const state: {
|
|
|
6869
6866
|
};
|
|
6870
6867
|
};
|
|
6871
6868
|
};
|
|
6869
|
+
listActionRuns: {
|
|
6870
|
+
name: string;
|
|
6871
|
+
description: string;
|
|
6872
|
+
method: "get";
|
|
6873
|
+
path: string;
|
|
6874
|
+
section: "bot";
|
|
6875
|
+
parameters: {
|
|
6876
|
+
id: {
|
|
6877
|
+
type: "string";
|
|
6878
|
+
description: string;
|
|
6879
|
+
in: "path";
|
|
6880
|
+
};
|
|
6881
|
+
integrationName: {
|
|
6882
|
+
in: "query";
|
|
6883
|
+
description: string;
|
|
6884
|
+
type: "string";
|
|
6885
|
+
required: true;
|
|
6886
|
+
};
|
|
6887
|
+
timestampFrom: {
|
|
6888
|
+
in: "query";
|
|
6889
|
+
description: string;
|
|
6890
|
+
type: "string";
|
|
6891
|
+
};
|
|
6892
|
+
timestampUntil: {
|
|
6893
|
+
in: "query";
|
|
6894
|
+
description: string;
|
|
6895
|
+
type: "string";
|
|
6896
|
+
};
|
|
6897
|
+
nextToken: {
|
|
6898
|
+
in: "query";
|
|
6899
|
+
description: string;
|
|
6900
|
+
type: "string";
|
|
6901
|
+
};
|
|
6902
|
+
};
|
|
6903
|
+
response: {
|
|
6904
|
+
description: string;
|
|
6905
|
+
schema: {
|
|
6906
|
+
type: "object";
|
|
6907
|
+
properties: {
|
|
6908
|
+
data: {
|
|
6909
|
+
type: "array";
|
|
6910
|
+
items: {
|
|
6911
|
+
type: "object";
|
|
6912
|
+
properties: {
|
|
6913
|
+
timestamp: {
|
|
6914
|
+
type: "string";
|
|
6915
|
+
description: string;
|
|
6916
|
+
};
|
|
6917
|
+
integrationName: {
|
|
6918
|
+
type: "string";
|
|
6919
|
+
};
|
|
6920
|
+
actionType: {
|
|
6921
|
+
type: "string";
|
|
6922
|
+
};
|
|
6923
|
+
input: {
|
|
6924
|
+
type: "object";
|
|
6925
|
+
properties: {};
|
|
6926
|
+
additionalProperties: true;
|
|
6927
|
+
description: string;
|
|
6928
|
+
};
|
|
6929
|
+
output: {
|
|
6930
|
+
type: "object";
|
|
6931
|
+
properties: {};
|
|
6932
|
+
additionalProperties: true;
|
|
6933
|
+
nullable: true;
|
|
6934
|
+
description: string;
|
|
6935
|
+
};
|
|
6936
|
+
status: {
|
|
6937
|
+
type: "string";
|
|
6938
|
+
enum: string[];
|
|
6939
|
+
};
|
|
6940
|
+
durationMs: {
|
|
6941
|
+
type: "number";
|
|
6942
|
+
};
|
|
6943
|
+
cached: {
|
|
6944
|
+
type: "boolean";
|
|
6945
|
+
};
|
|
6946
|
+
errorMessage: {
|
|
6947
|
+
type: "string";
|
|
6948
|
+
nullable: true;
|
|
6949
|
+
};
|
|
6950
|
+
};
|
|
6951
|
+
required: string[];
|
|
6952
|
+
};
|
|
6953
|
+
};
|
|
6954
|
+
meta: {
|
|
6955
|
+
type: "object";
|
|
6956
|
+
properties: {
|
|
6957
|
+
nextToken: {
|
|
6958
|
+
type: "string";
|
|
6959
|
+
};
|
|
6960
|
+
};
|
|
6961
|
+
additionalProperties: false;
|
|
6962
|
+
};
|
|
6963
|
+
};
|
|
6964
|
+
required: string[];
|
|
6965
|
+
title: string;
|
|
6966
|
+
additionalProperties: false;
|
|
6967
|
+
};
|
|
6968
|
+
};
|
|
6969
|
+
};
|
|
6872
6970
|
getBotIssue: {
|
|
6873
6971
|
name: string;
|
|
6874
6972
|
description: string;
|
|
@@ -16419,6 +16517,7 @@ export declare const state: {
|
|
|
16419
16517
|
getBotLogsResponse: true;
|
|
16420
16518
|
getBotWebchatResponse: true;
|
|
16421
16519
|
getBotAnalyticsResponse: true;
|
|
16520
|
+
listActionRunsResponse: true;
|
|
16422
16521
|
getBotIssueResponse: true;
|
|
16423
16522
|
listBotIssuesResponse: true;
|
|
16424
16523
|
deleteBotIssueResponse: true;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './gen/state';
|
|
2
2
|
export declare const api: {
|
|
3
3
|
getModelRef: (name: "Bot" | "Integration" | "Interface" | "Plugin" | "Workspace" | "WorkspaceMember" | "Account" | "Usage" | "Issue" | "IssueEvent" | "Activity" | "Version" | "User" | "Conversation" | "Event" | "Message" | "State" | "Task" | "Workflow" | "Table" | "Column" | "Row" | "File") => import("@bpinternal/opapi").OpenApiZodAny;
|
|
4
|
-
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-
|
|
4
|
+
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<"x-workspace-id", "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "tag" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
5
5
|
exportClient: {
|
|
6
6
|
(dir: string, openapiGeneratorEndpoint: string, postProcessors?: import("@bpinternal/opapi").OpenApiPostProcessors | undefined): Promise<void>;
|
|
7
7
|
(dir: string, props: import("@bpinternal/opapi").GenerateClientProps): Promise<void>;
|
|
@@ -18,7 +18,7 @@ export declare const api: {
|
|
|
18
18
|
export * as runtime from './gen/runtime/state';
|
|
19
19
|
export declare const runtimeApi: {
|
|
20
20
|
getModelRef: (name: "Bot" | "Integration" | "Interface" | "Plugin" | "Workspace" | "WorkspaceMember" | "Account" | "Usage" | "Issue" | "IssueEvent" | "Activity" | "Version" | "User" | "Conversation" | "Event" | "Message" | "State" | "Task" | "Workflow" | "Table" | "Column" | "Row" | "File") => import("@bpinternal/opapi").OpenApiZodAny;
|
|
21
|
-
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<
|
|
21
|
+
addOperation: <Path extends string>(operationProps: import("@bpinternal/opapi").Operation<string, "user" | "conversation" | "event" | "message" | "state" | "hub" | "action" | "task" | "workflow" | "tag" | "bot" | "integration" | "interface" | "plugin" | "workspace" | "workspaceMember" | "account" | "usage" | "quotas" | "helper" | "activity" | "tables" | "files", Path, "zod-schema">) => void;
|
|
22
22
|
exportClient: {
|
|
23
23
|
(dir: string, openapiGeneratorEndpoint: string, postProcessors?: import("@bpinternal/opapi").OpenApiPostProcessors | undefined): Promise<void>;
|
|
24
24
|
(dir: string, props: import("@bpinternal/opapi").GenerateClientProps): Promise<void>;
|