@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.
@@ -706,6 +706,14 @@ export declare const state: {
706
706
  type: "string";
707
707
  description: string;
708
708
  };
709
+ name: {
710
+ type: "string";
711
+ description: string;
712
+ };
713
+ pictureUrl: {
714
+ type: "string";
715
+ description: string;
716
+ };
709
717
  };
710
718
  required: string[];
711
719
  title: string;
@@ -837,6 +845,14 @@ export declare const state: {
837
845
  type: "string";
838
846
  description: string;
839
847
  };
848
+ name: {
849
+ type: "string";
850
+ description: string;
851
+ };
852
+ pictureUrl: {
853
+ type: "string";
854
+ description: string;
855
+ };
840
856
  };
841
857
  required: string[];
842
858
  title: string;
@@ -881,9 +897,20 @@ export declare const state: {
881
897
  type: "object";
882
898
  additionalProperties: {
883
899
  type: "string";
900
+ maxLength: number;
884
901
  };
885
902
  description: string;
886
903
  };
904
+ name: {
905
+ type: "string";
906
+ nullable: true;
907
+ description: string;
908
+ };
909
+ pictureUrl: {
910
+ type: "string";
911
+ nullable: true;
912
+ description: string;
913
+ };
887
914
  };
888
915
  required: string[];
889
916
  title: string;
@@ -2375,7 +2402,18 @@ export declare const state: {
2375
2402
  };
2376
2403
  groupedData: {
2377
2404
  type: "object";
2378
- properties: {};
2405
+ additionalProperties: {
2406
+ type: "object";
2407
+ properties: {
2408
+ raw: {
2409
+ type: "string";
2410
+ };
2411
+ pretty: {
2412
+ type: "string";
2413
+ };
2414
+ };
2415
+ required: string[];
2416
+ };
2379
2417
  };
2380
2418
  eventsCount: {
2381
2419
  type: "number";
@@ -2473,7 +2511,18 @@ export declare const state: {
2473
2511
  };
2474
2512
  data: {
2475
2513
  type: "object";
2476
- properties: {};
2514
+ additionalProperties: {
2515
+ type: "object";
2516
+ properties: {
2517
+ raw: {
2518
+ type: "string";
2519
+ };
2520
+ pretty: {
2521
+ type: "string";
2522
+ };
2523
+ };
2524
+ required: string[];
2525
+ };
2477
2526
  };
2478
2527
  };
2479
2528
  required: string[];
@@ -5833,7 +5882,19 @@ export declare const state: {
5833
5882
  };
5834
5883
  groupedData: {
5835
5884
  type: "object";
5836
- additionalProperties: false;
5885
+ additionalProperties: {
5886
+ type: "object";
5887
+ properties: {
5888
+ raw: {
5889
+ type: "string";
5890
+ };
5891
+ pretty: {
5892
+ type: "string";
5893
+ };
5894
+ };
5895
+ required: string[];
5896
+ additionalProperties: false;
5897
+ };
5837
5898
  };
5838
5899
  eventsCount: {
5839
5900
  type: "number";
@@ -5865,7 +5926,19 @@ export declare const state: {
5865
5926
  };
5866
5927
  data: {
5867
5928
  type: "object";
5868
- additionalProperties: false;
5929
+ additionalProperties: {
5930
+ type: "object";
5931
+ properties: {
5932
+ raw: {
5933
+ type: "string";
5934
+ };
5935
+ pretty: {
5936
+ type: "string";
5937
+ };
5938
+ };
5939
+ required: string[];
5940
+ additionalProperties: false;
5941
+ };
5869
5942
  };
5870
5943
  };
5871
5944
  required: string[];
@@ -5898,6 +5971,14 @@ export declare const state: {
5898
5971
  };
5899
5972
  description: string;
5900
5973
  };
5974
+ name: {
5975
+ type: "string";
5976
+ description: string;
5977
+ };
5978
+ pictureUrl: {
5979
+ type: "string";
5980
+ description: string;
5981
+ };
5901
5982
  };
5902
5983
  required: string[];
5903
5984
  description: string;
package/dist/index.js CHANGED
@@ -426589,6 +426589,14 @@ var state = {
426589
426589
  integrationName: {
426590
426590
  type: "string",
426591
426591
  description: "Name of the integration to which the user creation will be delegated"
426592
+ },
426593
+ name: {
426594
+ type: "string",
426595
+ description: "Name of the user"
426596
+ },
426597
+ pictureUrl: {
426598
+ type: "string",
426599
+ description: "URL of the user picture"
426592
426600
  }
426593
426601
  },
426594
426602
  required: ["tags"],
@@ -426720,6 +426728,14 @@ var state = {
426720
426728
  integrationName: {
426721
426729
  type: "string",
426722
426730
  description: "Name of the integration to which the user creation will be delegated"
426731
+ },
426732
+ name: {
426733
+ type: "string",
426734
+ description: "Name of the user"
426735
+ },
426736
+ pictureUrl: {
426737
+ type: "string",
426738
+ description: "URL of the user picture"
426723
426739
  }
426724
426740
  },
426725
426741
  required: ["tags"],
@@ -426764,9 +426780,20 @@ var state = {
426764
426780
  tags: {
426765
426781
  type: "object",
426766
426782
  additionalProperties: {
426767
- type: "string"
426783
+ type: "string",
426784
+ maxLength: 500
426768
426785
  },
426769
426786
  description: "Tags for the [User](#schema_user)"
426787
+ },
426788
+ name: {
426789
+ type: "string",
426790
+ nullable: true,
426791
+ description: "Name of the user"
426792
+ },
426793
+ pictureUrl: {
426794
+ type: "string",
426795
+ nullable: true,
426796
+ description: "URL of the user picture"
426770
426797
  }
426771
426798
  },
426772
426799
  required: ["tags"],
@@ -428279,7 +428306,18 @@ var state = {
428279
428306
  },
428280
428307
  groupedData: {
428281
428308
  type: "object",
428282
- properties: {}
428309
+ additionalProperties: {
428310
+ type: "object",
428311
+ properties: {
428312
+ raw: {
428313
+ type: "string"
428314
+ },
428315
+ pretty: {
428316
+ type: "string"
428317
+ }
428318
+ },
428319
+ required: ["raw"]
428320
+ }
428283
428321
  },
428284
428322
  eventsCount: {
428285
428323
  type: "number"
@@ -428388,7 +428426,18 @@ var state = {
428388
428426
  },
428389
428427
  data: {
428390
428428
  type: "object",
428391
- properties: {}
428429
+ additionalProperties: {
428430
+ type: "object",
428431
+ properties: {
428432
+ raw: {
428433
+ type: "string"
428434
+ },
428435
+ pretty: {
428436
+ type: "string"
428437
+ }
428438
+ },
428439
+ required: ["raw"]
428440
+ }
428392
428441
  }
428393
428442
  },
428394
428443
  required: ["id", "createdAt", "data"]
@@ -430989,7 +431038,7 @@ var state = {
430989
431038
  title: "Botpress API",
430990
431039
  description: "API for Botpress Cloud",
430991
431040
  server: "https://api.botpress.cloud",
430992
- version: "0.12.1",
431041
+ version: "0.12.3",
430993
431042
  prefix: "v1"
430994
431043
  },
430995
431044
  errors: [
@@ -432116,7 +432165,19 @@ var state = {
432116
432165
  },
432117
432166
  groupedData: {
432118
432167
  type: "object",
432119
- additionalProperties: false
432168
+ additionalProperties: {
432169
+ type: "object",
432170
+ properties: {
432171
+ raw: {
432172
+ type: "string"
432173
+ },
432174
+ pretty: {
432175
+ type: "string"
432176
+ }
432177
+ },
432178
+ required: ["raw"],
432179
+ additionalProperties: false
432180
+ }
432120
432181
  },
432121
432182
  eventsCount: {
432122
432183
  type: "number"
@@ -432159,7 +432220,19 @@ var state = {
432159
432220
  },
432160
432221
  data: {
432161
432222
  type: "object",
432162
- additionalProperties: false
432223
+ additionalProperties: {
432224
+ type: "object",
432225
+ properties: {
432226
+ raw: {
432227
+ type: "string"
432228
+ },
432229
+ pretty: {
432230
+ type: "string"
432231
+ }
432232
+ },
432233
+ required: ["raw"],
432234
+ additionalProperties: false
432235
+ }
432163
432236
  }
432164
432237
  },
432165
432238
  required: ["id", "createdAt", "data"],
@@ -432191,6 +432264,14 @@ var state = {
432191
432264
  type: "string"
432192
432265
  },
432193
432266
  description: "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."
432267
+ },
432268
+ name: {
432269
+ type: "string",
432270
+ description: "Name of the [User](#schema_user)"
432271
+ },
432272
+ pictureUrl: {
432273
+ type: "string",
432274
+ description: "Picture URL of the [User](#schema_user)"
432194
432275
  }
432195
432276
  },
432196
432277
  required: ["id", "createdAt", "updatedAt", "tags"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {