@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.
- package/dist/index.js +247 -83
- package/dist/src/gen/admin/state.d.ts +102 -32
- package/dist/src/gen/runtime/state.d.ts +0 -3
- package/dist/src/gen/state.d.ts +102 -35
- 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 -37
- 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 -40
- 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",
|
|
@@ -12219,22 +12331,6 @@ export const state = {
|
|
|
12219
12331
|
"additionalProperties": false
|
|
12220
12332
|
}
|
|
12221
12333
|
},
|
|
12222
|
-
"sandbox": {
|
|
12223
|
-
"type": "object",
|
|
12224
|
-
"properties": {
|
|
12225
|
-
"identifierExtractScript": {
|
|
12226
|
-
"type": "string",
|
|
12227
|
-
"maxLength": 2000,
|
|
12228
|
-
"nullable": true
|
|
12229
|
-
},
|
|
12230
|
-
"messageExtractScript": {
|
|
12231
|
-
"type": "string",
|
|
12232
|
-
"maxLength": 2000,
|
|
12233
|
-
"nullable": true
|
|
12234
|
-
}
|
|
12235
|
-
},
|
|
12236
|
-
"additionalProperties": false
|
|
12237
|
-
},
|
|
12238
12334
|
"attributes": {
|
|
12239
12335
|
"type": "object",
|
|
12240
12336
|
"additionalProperties": {
|
|
@@ -12827,22 +12923,6 @@ export const state = {
|
|
|
12827
12923
|
"additionalProperties": false
|
|
12828
12924
|
}
|
|
12829
12925
|
},
|
|
12830
|
-
"sandbox": {
|
|
12831
|
-
"type": "object",
|
|
12832
|
-
"properties": {
|
|
12833
|
-
"identifierExtractScript": {
|
|
12834
|
-
"type": "string",
|
|
12835
|
-
"maxLength": 2000,
|
|
12836
|
-
"nullable": true
|
|
12837
|
-
},
|
|
12838
|
-
"messageExtractScript": {
|
|
12839
|
-
"type": "string",
|
|
12840
|
-
"maxLength": 2000,
|
|
12841
|
-
"nullable": true
|
|
12842
|
-
}
|
|
12843
|
-
},
|
|
12844
|
-
"additionalProperties": false
|
|
12845
|
-
},
|
|
12846
12926
|
"attributes": {
|
|
12847
12927
|
"type": "object",
|
|
12848
12928
|
"additionalProperties": {
|
|
@@ -15247,7 +15327,7 @@ export const state = {
|
|
|
15247
15327
|
},
|
|
15248
15328
|
"timestampUntil": {
|
|
15249
15329
|
"in": "query",
|
|
15250
|
-
"description": "Timestamp until (
|
|
15330
|
+
"description": "Timestamp until (inclusive)",
|
|
15251
15331
|
"type": "string"
|
|
15252
15332
|
},
|
|
15253
15333
|
"nextToken": {
|
|
@@ -15349,7 +15429,7 @@ export const state = {
|
|
|
15349
15429
|
},
|
|
15350
15430
|
"dateUntil": {
|
|
15351
15431
|
"in": "query",
|
|
15352
|
-
"description": "Date until (
|
|
15432
|
+
"description": "Date until (inclusive)",
|
|
15353
15433
|
"type": "string"
|
|
15354
15434
|
},
|
|
15355
15435
|
"nextToken": {
|
|
@@ -18421,7 +18501,7 @@ export const state = {
|
|
|
18421
18501
|
"title": "Botpress API",
|
|
18422
18502
|
"description": "API for Botpress Cloud",
|
|
18423
18503
|
"server": "https://api.botpress.cloud",
|
|
18424
|
-
"version": "1.18.
|
|
18504
|
+
"version": "1.18.2",
|
|
18425
18505
|
"prefix": "v1"
|
|
18426
18506
|
},
|
|
18427
18507
|
"errors": [
|
|
@@ -18692,6 +18772,7 @@ export const state = {
|
|
|
18692
18772
|
"getBotLogsResponse": true,
|
|
18693
18773
|
"getBotWebchatResponse": true,
|
|
18694
18774
|
"getBotAnalyticsResponse": true,
|
|
18775
|
+
"listActionRunsResponse": true,
|
|
18695
18776
|
"getBotIssueResponse": true,
|
|
18696
18777
|
"listBotIssuesResponse": true,
|
|
18697
18778
|
"deleteBotIssueResponse": true,
|
|
@@ -22396,6 +22477,7 @@ export const state = {
|
|
|
22396
22477
|
"getBotLogs",
|
|
22397
22478
|
"getBotWebchat",
|
|
22398
22479
|
"getBotAnalytics",
|
|
22480
|
+
"listActionRuns",
|
|
22399
22481
|
"getBotIssue",
|
|
22400
22482
|
"listBotIssues",
|
|
22401
22483
|
"deleteBotIssue",
|