@botpress/api 1.0.0 → 1.2.0
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 +219 -23
- package/dist/src/gen/admin/state.d.ts +83 -6
- package/dist/src/gen/files/state.d.ts +5 -0
- package/dist/src/gen/state.d.ts +88 -6
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +101 -10
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +8 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +108 -10
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/src/gen/runtime/state.ts
CHANGED
package/src/gen/state.ts
CHANGED
|
@@ -3005,6 +3005,12 @@ export const state = {
|
|
|
3005
3005
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
3006
3006
|
"type": "string"
|
|
3007
3007
|
},
|
|
3008
|
+
"limit": {
|
|
3009
|
+
"in": "query",
|
|
3010
|
+
"description": "Maximum number of results to return per page",
|
|
3011
|
+
"type": "number",
|
|
3012
|
+
"required": false
|
|
3013
|
+
},
|
|
3008
3014
|
"name": {
|
|
3009
3015
|
"type": "string",
|
|
3010
3016
|
"description": "Integration Name",
|
|
@@ -3014,6 +3020,59 @@ export const state = {
|
|
|
3014
3020
|
"type": "string",
|
|
3015
3021
|
"description": "Integration version. Either a semver version or tag \"latest\"",
|
|
3016
3022
|
"in": "query"
|
|
3023
|
+
},
|
|
3024
|
+
"interfaceId": {
|
|
3025
|
+
"type": "string",
|
|
3026
|
+
"description": "Filter integrations by implemented interface ID",
|
|
3027
|
+
"in": "query"
|
|
3028
|
+
},
|
|
3029
|
+
"interfaceName": {
|
|
3030
|
+
"type": "string",
|
|
3031
|
+
"description": "Filter integrations by implemented interface name (strict match)",
|
|
3032
|
+
"in": "query"
|
|
3033
|
+
},
|
|
3034
|
+
"installedByBotId": {
|
|
3035
|
+
"in": "query",
|
|
3036
|
+
"description": "Bot ID. Required when filtering for installed integrations",
|
|
3037
|
+
"type": "string",
|
|
3038
|
+
"required": false
|
|
3039
|
+
},
|
|
3040
|
+
"verificationStatus": {
|
|
3041
|
+
"type": "string",
|
|
3042
|
+
"description": "Filter integrations by verification status",
|
|
3043
|
+
"in": "query",
|
|
3044
|
+
"enum": [
|
|
3045
|
+
"unapproved",
|
|
3046
|
+
"pending",
|
|
3047
|
+
"approved",
|
|
3048
|
+
"rejected"
|
|
3049
|
+
]
|
|
3050
|
+
},
|
|
3051
|
+
"search": {
|
|
3052
|
+
"type": "string",
|
|
3053
|
+
"description": "Search integrations by name, description, actions, and interfaces. Responses include a matchedOn field indicating which fields matched the search.",
|
|
3054
|
+
"in": "query"
|
|
3055
|
+
},
|
|
3056
|
+
"sortBy": {
|
|
3057
|
+
"type": "string",
|
|
3058
|
+
"description": "Sort integrations by field",
|
|
3059
|
+
"in": "query",
|
|
3060
|
+
"enum": [
|
|
3061
|
+
"popularity",
|
|
3062
|
+
"name",
|
|
3063
|
+
"createdAt",
|
|
3064
|
+
"updatedAt",
|
|
3065
|
+
"installCount"
|
|
3066
|
+
]
|
|
3067
|
+
},
|
|
3068
|
+
"direction": {
|
|
3069
|
+
"type": "string",
|
|
3070
|
+
"description": "Sort direction (asc or desc)",
|
|
3071
|
+
"in": "query",
|
|
3072
|
+
"enum": [
|
|
3073
|
+
"asc",
|
|
3074
|
+
"desc"
|
|
3075
|
+
]
|
|
3017
3076
|
}
|
|
3018
3077
|
},
|
|
3019
3078
|
"response": {
|
|
@@ -3115,6 +3174,38 @@ export const state = {
|
|
|
3115
3174
|
"installs",
|
|
3116
3175
|
"views"
|
|
3117
3176
|
]
|
|
3177
|
+
},
|
|
3178
|
+
"matchedOn": {
|
|
3179
|
+
"type": "object",
|
|
3180
|
+
"properties": {
|
|
3181
|
+
"name": {
|
|
3182
|
+
"type": "boolean",
|
|
3183
|
+
"description": "Whether the integration name matched the search term"
|
|
3184
|
+
},
|
|
3185
|
+
"title": {
|
|
3186
|
+
"type": "boolean",
|
|
3187
|
+
"description": "Whether the integration title matched the search term"
|
|
3188
|
+
},
|
|
3189
|
+
"description": {
|
|
3190
|
+
"type": "boolean",
|
|
3191
|
+
"description": "Whether the integration description matched the search term"
|
|
3192
|
+
},
|
|
3193
|
+
"actions": {
|
|
3194
|
+
"type": "array",
|
|
3195
|
+
"items": {
|
|
3196
|
+
"type": "string"
|
|
3197
|
+
},
|
|
3198
|
+
"description": "Action names that matched the search term"
|
|
3199
|
+
},
|
|
3200
|
+
"interfaces": {
|
|
3201
|
+
"type": "array",
|
|
3202
|
+
"items": {
|
|
3203
|
+
"type": "string"
|
|
3204
|
+
},
|
|
3205
|
+
"description": "Interface names that matched the search term"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"description": "Metadata about which fields matched the search criteria"
|
|
3118
3209
|
}
|
|
3119
3210
|
},
|
|
3120
3211
|
"required": [
|
|
@@ -10824,15 +10915,6 @@ export const state = {
|
|
|
10824
10915
|
"description": "Filter integrations by implemented interface name (strict match)",
|
|
10825
10916
|
"in": "query"
|
|
10826
10917
|
},
|
|
10827
|
-
"visibility": {
|
|
10828
|
-
"type": "string",
|
|
10829
|
-
"description": "Filter integrations by visibility (public, private)",
|
|
10830
|
-
"in": "query",
|
|
10831
|
-
"enum": [
|
|
10832
|
-
"public",
|
|
10833
|
-
"private"
|
|
10834
|
-
]
|
|
10835
|
-
},
|
|
10836
10918
|
"installedByBotId": {
|
|
10837
10919
|
"in": "query",
|
|
10838
10920
|
"description": "Bot ID. Required when filtering for installed integrations",
|
|
@@ -10876,6 +10958,15 @@ export const state = {
|
|
|
10876
10958
|
"desc"
|
|
10877
10959
|
]
|
|
10878
10960
|
},
|
|
10961
|
+
"visibility": {
|
|
10962
|
+
"type": "string",
|
|
10963
|
+
"description": "Filter integrations by visibility (public, private)",
|
|
10964
|
+
"in": "query",
|
|
10965
|
+
"enum": [
|
|
10966
|
+
"public",
|
|
10967
|
+
"private"
|
|
10968
|
+
]
|
|
10969
|
+
},
|
|
10879
10970
|
"dev": {
|
|
10880
10971
|
"in": "query",
|
|
10881
10972
|
"description": "If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
|
|
@@ -13325,6 +13416,13 @@ export const state = {
|
|
|
13325
13416
|
},
|
|
13326
13417
|
"additionalProperties": false
|
|
13327
13418
|
},
|
|
13419
|
+
"stack": {
|
|
13420
|
+
"type": "string",
|
|
13421
|
+
"enum": [
|
|
13422
|
+
"realtime-v1"
|
|
13423
|
+
],
|
|
13424
|
+
"description": "Internal setting, cannot be set manually."
|
|
13425
|
+
},
|
|
13328
13426
|
"vision": {
|
|
13329
13427
|
"type": "object",
|
|
13330
13428
|
"properties": {
|
|
@@ -15953,7 +16051,7 @@ export const state = {
|
|
|
15953
16051
|
"title": "Botpress API",
|
|
15954
16052
|
"description": "API for Botpress Cloud",
|
|
15955
16053
|
"server": "https://api.botpress.cloud",
|
|
15956
|
-
"version": "1.
|
|
16054
|
+
"version": "1.2.0",
|
|
15957
16055
|
"prefix": "v1"
|
|
15958
16056
|
},
|
|
15959
16057
|
"errors": [
|