@botpress/client 0.22.0 → 0.23.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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +11 -11
- package/dist/bundle.cjs.map +4 -4
- package/dist/gen/index.d.ts +18 -0
- package/dist/gen/models.d.ts +83 -0
- package/dist/gen/operations/createInterface.d.ts +172 -0
- package/dist/gen/operations/deleteInterface.d.ts +21 -0
- package/dist/gen/operations/getInterface.d.ts +104 -0
- package/dist/gen/operations/getInterfaceByName.d.ts +105 -0
- package/dist/gen/operations/listBots.d.ts +2 -0
- package/dist/gen/operations/listInterfaces.d.ts +49 -0
- package/dist/gen/operations/updateInterface.d.ts +165 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/dist/types.d.ts +1 -1
- package/package.json +5 -5
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Client as AutoGeneratedClient } from './gen';
|
|
3
|
-
import { UpsertFileInput } from './gen/operations/upsertFile';
|
|
4
3
|
import { GetFileResponse } from './gen/operations/getFile';
|
|
4
|
+
import { UpsertFileInput } from './gen/operations/upsertFile';
|
|
5
5
|
export type { Message, Conversation, User, State, Event, File, Bot, Integration, Issue, IssueEvent, Account, Workspace, Usage, } from './gen/models';
|
|
6
6
|
type UploadFileInput = Omit<UpsertFileInput, 'size'> & {
|
|
7
7
|
content?: Buffer | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Botpress Client",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"https": false
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
-
"type
|
|
15
|
+
"check:type": "tsc --noEmit",
|
|
16
16
|
"build:type": "tsc --emitDeclarationOnly --declaration",
|
|
17
17
|
"build:browser": "ts-node -T ./build.ts --browser",
|
|
18
18
|
"build:node": "ts-node -T ./build.ts --node",
|
|
19
19
|
"build:bundle": "ts-node -T ./build.ts --bundle",
|
|
20
20
|
"build": "pnpm build:type && pnpm build:node && pnpm build:browser && pnpm build:bundle",
|
|
21
21
|
"generate": "ts-node ./openapi.ts",
|
|
22
|
-
"test": "pnpm run e2e:test",
|
|
23
22
|
"test:manual": "vitest tests/manual/file-upload",
|
|
24
|
-
"e2e
|
|
23
|
+
"test:e2e": "ts-node -T ./tests/e2e/node.ts && ts-node -T ./tests/e2e/browser",
|
|
24
|
+
"test": "pnpm run test:e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"axios": "^1.6.1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type-fest": "^3.4.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@botpress/api": "0.
|
|
33
|
+
"@botpress/api": "0.32.1",
|
|
34
34
|
"@types/qs": "^6.9.7",
|
|
35
35
|
"esbuild": "^0.16.12",
|
|
36
36
|
"lodash": "^4.17.21",
|