@botpress/webchat-client 0.6.1 → 0.7.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/webchat-client@0.6.1 build /home/runner/work/genisys/genisys/packages/webchat-client
2
+ > @botpress/webchat-client@0.7.0 build /home/runner/work/genisys/genisys/packages/webchat-client
3
3
  > openapi-ts && vite build
4
4
 
5
5
  ⏳ Generating from raw OpenAPI specification
@@ -24,6 +24,6 @@ computing gzip size...
24
24
  [vite:dts] Start rollup declaration files...
25
25
  Analysis will use the bundled TypeScript version 5.8.2
26
26
  *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
27
- [vite:dts] Declaration files built in 6133ms.
27
+ [vite:dts] Declaration files built in 5969ms.
28
28
 
29
- ✓ built in 6.44s
29
+ ✓ built in 6.27s
package/dist/index.d.ts CHANGED
@@ -1117,6 +1117,12 @@ export declare type CreateUserBody = {
1117
1117
  * User data. An object or a signed JWT token
1118
1118
  */
1119
1119
  userData?: {} | string;
1120
+ /**
1121
+ * Custom attributes for the user as key-value pairs. Can be an object or a signed JWT token.
1122
+ */
1123
+ attributes?: {
1124
+ [key: string]: string;
1125
+ } | string;
1120
1126
  };
1121
1127
 
1122
1128
  export declare type CreateUserData = {
@@ -4003,6 +4009,12 @@ export declare type UpdateUserBody = {
4003
4009
  * User data. An object or a signed JWT token
4004
4010
  */
4005
4011
  userData?: {} | string | null;
4012
+ /**
4013
+ * Custom attributes for the user as key-value pairs. Can be an object or a signed JWT token. Set a key to null to delete it.
4014
+ */
4015
+ attributes?: {
4016
+ [key: string]: string | null;
4017
+ } | string;
4006
4018
  };
4007
4019
 
4008
4020
  export declare type UpdateUserData = {
@@ -4059,6 +4071,12 @@ export declare type User = {
4059
4071
  * User data
4060
4072
  */
4061
4073
  data?: {};
4074
+ /**
4075
+ * Custom attributes of the user
4076
+ */
4077
+ attributes?: {
4078
+ [key: string]: string;
4079
+ };
4062
4080
  /**
4063
4081
  * Id of the [User](#schema_user)
4064
4082
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/webchat-client",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "eventsource": "^3.0.6"
31
31
  },
32
32
  "devDependencies": {
33
- "@bpinternal/webchat-http-client": "0.10.0",
33
+ "@bpinternal/webchat-http-client": "0.11.0",
34
34
  "@hey-api/client-fetch": "^0.10.0",
35
35
  "@hey-api/openapi-ts": "^0.66.4",
36
36
  "@repo/eslint-config": "workspace:*",