@botpress/api 1.41.0 → 1.42.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/api@1.41.0 openapi /home/runner/work/skynet/skynet/packages/public-api
2
+ > @botpress/api@1.42.0 openapi /home/runner/work/skynet/skynet/packages/public-api
3
3
  > es-node openapi/generator.ts && pnpm run build
4
4
 
5
5
  Generating openapi content
@@ -34,18 +34,18 @@ Saving openapi.json file
34
34
 
35
35
  info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
36
36
 
37
- > @botpress/api@1.41.0 build /home/runner/work/skynet/skynet/packages/public-api
37
+ > @botpress/api@1.42.0 build /home/runner/work/skynet/skynet/packages/public-api
38
38
  > pnpm run build:type && pnpm run build:impl
39
39
 
40
40
 
41
- > @botpress/api@1.41.0 build:type /home/runner/work/skynet/skynet/packages/public-api
41
+ > @botpress/api@1.42.0 build:type /home/runner/work/skynet/skynet/packages/public-api
42
42
  > tsc -p tsconfig.package.json --emitDeclarationOnly
43
43
 
44
44
 
45
- > @botpress/api@1.41.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
45
+ > @botpress/api@1.42.0 build:impl /home/runner/work/skynet/skynet/packages/public-api
46
46
  > esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
47
47
 
48
48
 
49
49
  dist/index.js 14.1mb ⚠️
50
50
 
51
- ⚡ Done in 965ms
51
+ ⚡ Done in 1172ms
package/dist/index.js CHANGED
@@ -284769,6 +284769,12 @@ var state = {
284769
284769
  },
284770
284770
  "description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
284771
284771
  "additionalProperties": false
284772
+ },
284773
+ "origin": {
284774
+ "type": "string",
284775
+ "enum": [
284776
+ "synthetic"
284777
+ ]
284772
284778
  }
284773
284779
  },
284774
284780
  "required": [
@@ -284859,6 +284865,12 @@ var state = {
284859
284865
  "description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
284860
284866
  "additionalProperties": false
284861
284867
  },
284868
+ "origin": {
284869
+ "type": "string",
284870
+ "enum": [
284871
+ "synthetic"
284872
+ ]
284873
+ },
284862
284874
  "discriminateByTags": {
284863
284875
  "type": "array",
284864
284876
  "items": {
@@ -286657,7 +286669,7 @@ var state = {
286657
286669
  "title": "Botpress API",
286658
286670
  "description": "API for Botpress Cloud",
286659
286671
  "server": "https://api.botpress.cloud",
286660
- "version": "1.41.0",
286672
+ "version": "1.42.0",
286661
286673
  "prefix": "v1"
286662
286674
  },
286663
286675
  "errors": [
@@ -289525,6 +289537,13 @@ var state = {
289525
289537
  "type": "string"
289526
289538
  },
289527
289539
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) 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."
289540
+ },
289541
+ "origin": {
289542
+ "type": "string",
289543
+ "enum": [
289544
+ "synthetic"
289545
+ ],
289546
+ "description": "Origin of the message (`synthetic`)."
289528
289547
  }
289529
289548
  },
289530
289549
  "required": [
@@ -304607,7 +304626,7 @@ var state2 = {
304607
304626
  "title": "Botpress API",
304608
304627
  "description": "API for Botpress Cloud",
304609
304628
  "server": "https://api.botpress.cloud",
304610
- "version": "1.41.0",
304629
+ "version": "1.42.0",
304611
304630
  "prefix": "v1"
304612
304631
  },
304613
304632
  "errors": [
@@ -307548,6 +307567,13 @@ var state2 = {
307548
307567
  "type": "string"
307549
307568
  },
307550
307569
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) 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."
307570
+ },
307571
+ "origin": {
307572
+ "type": "string",
307573
+ "enum": [
307574
+ "synthetic"
307575
+ ],
307576
+ "description": "Origin of the message (`synthetic`)."
307551
307577
  }
307552
307578
  },
307553
307579
  "required": [
@@ -310570,7 +310596,7 @@ var state3 = {
310570
310596
  "title": "Botpress API",
310571
310597
  "description": "API for Botpress Cloud",
310572
310598
  "server": "https://api.botpress.cloud",
310573
- "version": "1.41.0",
310599
+ "version": "1.42.0",
310574
310600
  "prefix": "v1"
310575
310601
  },
310576
310602
  "errors": [
@@ -313393,6 +313419,13 @@ var state3 = {
313393
313419
  "type": "string"
313394
313420
  },
313395
313421
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) 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."
313422
+ },
313423
+ "origin": {
313424
+ "type": "string",
313425
+ "enum": [
313426
+ "synthetic"
313427
+ ],
313428
+ "description": "Origin of the message (`synthetic`)."
313396
313429
  }
313397
313430
  },
313398
313431
  "required": [
@@ -315662,7 +315695,7 @@ var state4 = {
315662
315695
  "title": "Botpress API",
315663
315696
  "description": "API for Botpress Cloud",
315664
315697
  "server": "https://api.botpress.cloud",
315665
- "version": "1.41.0",
315698
+ "version": "1.42.0",
315666
315699
  "prefix": "v1"
315667
315700
  },
315668
315701
  "errors": [
@@ -318492,6 +318525,13 @@ var state4 = {
318492
318525
  "type": "string"
318493
318526
  },
318494
318527
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) 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."
318528
+ },
318529
+ "origin": {
318530
+ "type": "string",
318531
+ "enum": [
318532
+ "synthetic"
318533
+ ],
318534
+ "description": "Origin of the message (`synthetic`)."
318495
318535
  }
318496
318536
  },
318497
318537
  "required": [
@@ -320278,6 +320318,12 @@ var state5 = {
320278
320318
  },
320279
320319
  "description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
320280
320320
  "additionalProperties": false
320321
+ },
320322
+ "origin": {
320323
+ "type": "string",
320324
+ "enum": [
320325
+ "synthetic"
320326
+ ]
320281
320327
  }
320282
320328
  },
320283
320329
  "required": [
@@ -320368,6 +320414,12 @@ var state5 = {
320368
320414
  "description": "Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.",
320369
320415
  "additionalProperties": false
320370
320416
  },
320417
+ "origin": {
320418
+ "type": "string",
320419
+ "enum": [
320420
+ "synthetic"
320421
+ ]
320422
+ },
320371
320423
  "discriminateByTags": {
320372
320424
  "type": "array",
320373
320425
  "items": {
@@ -339214,7 +339266,7 @@ var state5 = {
339214
339266
  "title": "Botpress API",
339215
339267
  "description": "API for Botpress Cloud",
339216
339268
  "server": "https://api.botpress.cloud",
339217
- "version": "1.41.0",
339269
+ "version": "1.42.0",
339218
339270
  "prefix": "v1"
339219
339271
  },
339220
339272
  "errors": [
@@ -342274,6 +342326,13 @@ var state5 = {
342274
342326
  "type": "string"
342275
342327
  },
342276
342328
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) 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."
342329
+ },
342330
+ "origin": {
342331
+ "type": "string",
342332
+ "enum": [
342333
+ "synthetic"
342334
+ ],
342335
+ "description": "Origin of the message (`synthetic`)."
342277
342336
  }
342278
342337
  },
342279
342338
  "required": [
@@ -14769,6 +14769,11 @@ export declare const state: {
14769
14769
  };
14770
14770
  description: string;
14771
14771
  };
14772
+ origin: {
14773
+ type: "string";
14774
+ enum: string[];
14775
+ description: string;
14776
+ };
14772
14777
  };
14773
14778
  required: string[];
14774
14779
  description: string;
@@ -3871,6 +3871,11 @@ export declare const state: {
3871
3871
  };
3872
3872
  description: string;
3873
3873
  };
3874
+ origin: {
3875
+ type: "string";
3876
+ enum: string[];
3877
+ description: string;
3878
+ };
3874
3879
  };
3875
3880
  required: string[];
3876
3881
  description: string;
@@ -685,6 +685,10 @@ export declare const state: {
685
685
  description: string;
686
686
  additionalProperties: false;
687
687
  };
688
+ origin: {
689
+ type: "string";
690
+ enum: string[];
691
+ };
688
692
  };
689
693
  required: string[];
690
694
  title: string;
@@ -766,6 +770,10 @@ export declare const state: {
766
770
  description: string;
767
771
  additionalProperties: false;
768
772
  };
773
+ origin: {
774
+ type: "string";
775
+ enum: string[];
776
+ };
769
777
  discriminateByTags: {
770
778
  type: "array";
771
779
  items: {
@@ -4735,6 +4743,11 @@ export declare const state: {
4735
4743
  };
4736
4744
  description: string;
4737
4745
  };
4746
+ origin: {
4747
+ type: "string";
4748
+ enum: string[];
4749
+ description: string;
4750
+ };
4738
4751
  };
4739
4752
  required: string[];
4740
4753
  description: string;
@@ -685,6 +685,10 @@ export declare const state: {
685
685
  description: string;
686
686
  additionalProperties: false;
687
687
  };
688
+ origin: {
689
+ type: "string";
690
+ enum: string[];
691
+ };
688
692
  };
689
693
  required: string[];
690
694
  title: string;
@@ -766,6 +770,10 @@ export declare const state: {
766
770
  description: string;
767
771
  additionalProperties: false;
768
772
  };
773
+ origin: {
774
+ type: "string";
775
+ enum: string[];
776
+ };
769
777
  discriminateByTags: {
770
778
  type: "array";
771
779
  items: {
@@ -19883,6 +19891,11 @@ export declare const state: {
19883
19891
  };
19884
19892
  description: string;
19885
19893
  };
19894
+ origin: {
19895
+ type: "string";
19896
+ enum: string[];
19897
+ description: string;
19898
+ };
19886
19899
  };
19887
19900
  required: string[];
19888
19901
  description: string;
@@ -3412,6 +3412,11 @@ export declare const state: {
3412
3412
  };
3413
3413
  description: string;
3414
3414
  };
3415
+ origin: {
3416
+ type: "string";
3417
+ enum: string[];
3418
+ description: string;
3419
+ };
3415
3420
  };
3416
3421
  required: string[];
3417
3422
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.41.0",
3
+ "version": "1.42.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {