@botpress/api 0.12.1 → 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/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",
@@ -2518,7 +2545,18 @@ export const state = {
2518
2545
  },
2519
2546
  groupedData: {
2520
2547
  type: "object",
2521
- properties: {},
2548
+ additionalProperties: {
2549
+ type: "object",
2550
+ properties: {
2551
+ raw: {
2552
+ type: "string",
2553
+ },
2554
+ pretty: {
2555
+ type: "string",
2556
+ },
2557
+ },
2558
+ required: ["raw"],
2559
+ },
2522
2560
  },
2523
2561
  eventsCount: {
2524
2562
  type: "number",
@@ -2628,7 +2666,18 @@ export const state = {
2628
2666
  },
2629
2667
  data: {
2630
2668
  type: "object",
2631
- properties: {},
2669
+ additionalProperties: {
2670
+ type: "object",
2671
+ properties: {
2672
+ raw: {
2673
+ type: "string",
2674
+ },
2675
+ pretty: {
2676
+ type: "string",
2677
+ },
2678
+ },
2679
+ required: ["raw"],
2680
+ },
2632
2681
  },
2633
2682
  },
2634
2683
  required: ["id", "createdAt", "data"],
@@ -5288,7 +5337,7 @@ export const state = {
5288
5337
  title: "Botpress API",
5289
5338
  description: "API for Botpress Cloud",
5290
5339
  server: "https://api.botpress.cloud",
5291
- version: "0.12.1",
5340
+ version: "0.12.3",
5292
5341
  prefix: "v1",
5293
5342
  },
5294
5343
  errors: [
@@ -6463,7 +6512,19 @@ export const state = {
6463
6512
  },
6464
6513
  groupedData: {
6465
6514
  type: "object",
6466
- additionalProperties: false,
6515
+ additionalProperties: {
6516
+ type: "object",
6517
+ properties: {
6518
+ raw: {
6519
+ type: "string",
6520
+ },
6521
+ pretty: {
6522
+ type: "string",
6523
+ },
6524
+ },
6525
+ required: ["raw"],
6526
+ additionalProperties: false,
6527
+ },
6467
6528
  },
6468
6529
  eventsCount: {
6469
6530
  type: "number",
@@ -6506,7 +6567,19 @@ export const state = {
6506
6567
  },
6507
6568
  data: {
6508
6569
  type: "object",
6509
- additionalProperties: false,
6570
+ additionalProperties: {
6571
+ type: "object",
6572
+ properties: {
6573
+ raw: {
6574
+ type: "string",
6575
+ },
6576
+ pretty: {
6577
+ type: "string",
6578
+ },
6579
+ },
6580
+ required: ["raw"],
6581
+ additionalProperties: false,
6582
+ },
6510
6583
  },
6511
6584
  },
6512
6585
  required: ["id", "createdAt", "data"],
@@ -6542,6 +6615,14 @@ export const state = {
6542
6615
  description:
6543
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.",
6544
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
+ },
6545
6626
  },
6546
6627
  required: ["id", "createdAt", "updatedAt", "tags"],
6547
6628
  description: