@botpress/api 0.12.2 → 0.12.3
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/gen/state.d.ts +35 -0
- package/dist/index.js +37 -2
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +36 -1
package/src/gen/state.ts
CHANGED
|
@@ -763,6 +763,14 @@ export const state = {
|
|
|
763
763
|
description:
|
|
764
764
|
"Name of the integration to which the user creation will be delegated",
|
|
765
765
|
},
|
|
766
|
+
name: {
|
|
767
|
+
type: "string",
|
|
768
|
+
description: "Name of the user",
|
|
769
|
+
},
|
|
770
|
+
pictureUrl: {
|
|
771
|
+
type: "string",
|
|
772
|
+
description: "URL of the user picture",
|
|
773
|
+
},
|
|
766
774
|
},
|
|
767
775
|
required: ["tags"],
|
|
768
776
|
title: "createUserBody",
|
|
@@ -903,6 +911,14 @@ export const state = {
|
|
|
903
911
|
description:
|
|
904
912
|
"Name of the integration to which the user creation will be delegated",
|
|
905
913
|
},
|
|
914
|
+
name: {
|
|
915
|
+
type: "string",
|
|
916
|
+
description: "Name of the user",
|
|
917
|
+
},
|
|
918
|
+
pictureUrl: {
|
|
919
|
+
type: "string",
|
|
920
|
+
description: "URL of the user picture",
|
|
921
|
+
},
|
|
906
922
|
},
|
|
907
923
|
required: ["tags"],
|
|
908
924
|
title: "getOrCreateUserBody",
|
|
@@ -949,9 +965,20 @@ export const state = {
|
|
|
949
965
|
type: "object",
|
|
950
966
|
additionalProperties: {
|
|
951
967
|
type: "string",
|
|
968
|
+
maxLength: 500,
|
|
952
969
|
},
|
|
953
970
|
description: "Tags for the [User](#schema_user)",
|
|
954
971
|
},
|
|
972
|
+
name: {
|
|
973
|
+
type: "string",
|
|
974
|
+
nullable: true,
|
|
975
|
+
description: "Name of the user",
|
|
976
|
+
},
|
|
977
|
+
pictureUrl: {
|
|
978
|
+
type: "string",
|
|
979
|
+
nullable: true,
|
|
980
|
+
description: "URL of the user picture",
|
|
981
|
+
},
|
|
955
982
|
},
|
|
956
983
|
required: ["tags"],
|
|
957
984
|
title: "updateUserBody",
|
|
@@ -5310,7 +5337,7 @@ export const state = {
|
|
|
5310
5337
|
title: "Botpress API",
|
|
5311
5338
|
description: "API for Botpress Cloud",
|
|
5312
5339
|
server: "https://api.botpress.cloud",
|
|
5313
|
-
version: "0.12.
|
|
5340
|
+
version: "0.12.3",
|
|
5314
5341
|
prefix: "v1",
|
|
5315
5342
|
},
|
|
5316
5343
|
errors: [
|
|
@@ -6588,6 +6615,14 @@ export const state = {
|
|
|
6588
6615
|
description:
|
|
6589
6616
|
"Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
|
|
6590
6617
|
},
|
|
6618
|
+
name: {
|
|
6619
|
+
type: "string",
|
|
6620
|
+
description: "Name of the [User](#schema_user)",
|
|
6621
|
+
},
|
|
6622
|
+
pictureUrl: {
|
|
6623
|
+
type: "string",
|
|
6624
|
+
description: "Picture URL of the [User](#schema_user)",
|
|
6625
|
+
},
|
|
6591
6626
|
},
|
|
6592
6627
|
required: ["id", "createdAt", "updatedAt", "tags"],
|
|
6593
6628
|
description:
|