@botpress/api 0.77.0 → 0.79.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/dist/index.js CHANGED
@@ -282805,6 +282805,14 @@ var state = {
282805
282805
  "maxLength": 200,
282806
282806
  "description": "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
282807
282807
  "deprecated": true
282808
+ },
282809
+ "discriminateByTags": {
282810
+ "type": "array",
282811
+ "items": {
282812
+ "type": "string",
282813
+ "maxLength": 500
282814
+ },
282815
+ "description": 'Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
282808
282816
  }
282809
282817
  },
282810
282818
  "required": [
@@ -283401,6 +283409,14 @@ var state = {
283401
283409
  },
283402
283410
  "description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
283403
283411
  "additionalProperties": false
283412
+ },
283413
+ "discriminateByTags": {
283414
+ "type": "array",
283415
+ "items": {
283416
+ "type": "string",
283417
+ "maxLength": 500
283418
+ },
283419
+ "description": 'Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
283404
283420
  }
283405
283421
  },
283406
283422
  "required": [
@@ -283780,6 +283796,14 @@ var state = {
283780
283796
  "type": "string",
283781
283797
  "maxLength": 4e4,
283782
283798
  "description": "URI of the user picture"
283799
+ },
283800
+ "discriminateByTags": {
283801
+ "type": "array",
283802
+ "items": {
283803
+ "type": "string",
283804
+ "maxLength": 500
283805
+ },
283806
+ "description": 'Optional list of tag names to use for strict matching when looking up existing users. If provided, all specified tags must match exactly for a user to be considered a match. For example, with an existing user whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.'
283783
283807
  }
283784
283808
  },
283785
283809
  "required": [
@@ -291412,7 +291436,8 @@ var state = {
291412
291436
  "type": "object",
291413
291437
  "additionalProperties": {
291414
291438
  "type": "string",
291415
- "maxLength": 2e4
291439
+ "maxLength": 2e4,
291440
+ "nullable": true
291416
291441
  },
291417
291442
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
291418
291443
  },
@@ -291977,7 +292002,8 @@ var state = {
291977
292002
  "type": "object",
291978
292003
  "additionalProperties": {
291979
292004
  "type": "string",
291980
- "maxLength": 2e4
292005
+ "maxLength": 2e4,
292006
+ "nullable": true
291981
292007
  },
291982
292008
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
291983
292009
  },
@@ -297984,7 +298010,7 @@ var state = {
297984
298010
  "title": "Botpress API",
297985
298011
  "description": "API for Botpress Cloud",
297986
298012
  "server": "https://api.botpress.cloud",
297987
- "version": "0.77.0",
298013
+ "version": "0.79.0",
297988
298014
  "prefix": "v1"
297989
298015
  },
297990
298016
  "errors": [
@@ -191,6 +191,14 @@ export declare const state: {
191
191
  description: string;
192
192
  deprecated: true;
193
193
  };
194
+ discriminateByTags: {
195
+ type: "array";
196
+ items: {
197
+ type: "string";
198
+ maxLength: number;
199
+ };
200
+ description: string;
201
+ };
194
202
  };
195
203
  required: string[];
196
204
  title: string;
@@ -747,6 +755,14 @@ export declare const state: {
747
755
  description: string;
748
756
  additionalProperties: false;
749
757
  };
758
+ discriminateByTags: {
759
+ type: "array";
760
+ items: {
761
+ type: "string";
762
+ maxLength: number;
763
+ };
764
+ description: string;
765
+ };
750
766
  };
751
767
  required: string[];
752
768
  title: string;
@@ -1100,6 +1116,14 @@ export declare const state: {
1100
1116
  maxLength: number;
1101
1117
  description: string;
1102
1118
  };
1119
+ discriminateByTags: {
1120
+ type: "array";
1121
+ items: {
1122
+ type: "string";
1123
+ maxLength: number;
1124
+ };
1125
+ description: string;
1126
+ };
1103
1127
  };
1104
1128
  required: string[];
1105
1129
  title: string;
@@ -7694,6 +7718,7 @@ export declare const state: {
7694
7718
  additionalProperties: {
7695
7719
  type: "string";
7696
7720
  maxLength: number;
7721
+ nullable: true;
7697
7722
  };
7698
7723
  description: string;
7699
7724
  };
@@ -8216,6 +8241,7 @@ export declare const state: {
8216
8241
  additionalProperties: {
8217
8242
  type: "string";
8218
8243
  maxLength: number;
8244
+ nullable: true;
8219
8245
  };
8220
8246
  description: string;
8221
8247
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {