@botpress/api 1.70.2 → 1.71.1

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.
@@ -3611,6 +3611,85 @@ export declare const state: {
3611
3611
  };
3612
3612
  };
3613
3613
  };
3614
+ captureObservation: {
3615
+ name: string;
3616
+ description: string;
3617
+ method: "post";
3618
+ path: string;
3619
+ requestBody: {
3620
+ description: string;
3621
+ schema: {
3622
+ type: "object";
3623
+ properties: {
3624
+ name: {
3625
+ type: "string";
3626
+ description: string;
3627
+ };
3628
+ data: {
3629
+ type: "object";
3630
+ additionalProperties: true;
3631
+ description: string;
3632
+ };
3633
+ messageId: {
3634
+ type: "string";
3635
+ description: string;
3636
+ };
3637
+ eventId: {
3638
+ type: "string";
3639
+ description: string;
3640
+ };
3641
+ conversationId: {
3642
+ type: "string";
3643
+ description: string;
3644
+ };
3645
+ userId: {
3646
+ type: "string";
3647
+ description: string;
3648
+ };
3649
+ errorId: {
3650
+ type: "string";
3651
+ description: string;
3652
+ };
3653
+ traceId: {
3654
+ type: "string";
3655
+ description: string;
3656
+ };
3657
+ };
3658
+ required: string[];
3659
+ title: string;
3660
+ additionalProperties: false;
3661
+ };
3662
+ };
3663
+ response: {
3664
+ description: string;
3665
+ status: 200;
3666
+ schema: {
3667
+ type: "object";
3668
+ title: string;
3669
+ additionalProperties: false;
3670
+ };
3671
+ };
3672
+ parameters: {
3673
+ "x-bot-id": {
3674
+ in: "header";
3675
+ description: string;
3676
+ type: "string";
3677
+ required: true;
3678
+ };
3679
+ "x-integration-id": {
3680
+ in: "header";
3681
+ description: string;
3682
+ type: "string";
3683
+ required: false;
3684
+ };
3685
+ "x-integration-alias": {
3686
+ in: "header";
3687
+ description: string;
3688
+ type: "string";
3689
+ required: false;
3690
+ };
3691
+ };
3692
+ };
3614
3693
  };
3615
3694
  metadata: {
3616
3695
  title: string;
@@ -3720,6 +3799,7 @@ export declare const state: {
3720
3799
  updateWorkflowBody: true;
3721
3800
  getOrCreateWorkflowBody: true;
3722
3801
  trackAnalyticsBody: true;
3802
+ captureObservationBody: true;
3723
3803
  };
3724
3804
  responses: {
3725
3805
  createConversationResponse: true;
@@ -3770,6 +3850,7 @@ export declare const state: {
3770
3850
  getOrCreateWorkflowResponse: true;
3771
3851
  listTagValuesResponse: true;
3772
3852
  trackAnalyticsResponse: true;
3853
+ captureObservationResponse: true;
3773
3854
  };
3774
3855
  schemas: {
3775
3856
  User: true;
@@ -2732,6 +2732,66 @@ export declare const state: {
2732
2732
  };
2733
2733
  parameters: {};
2734
2734
  };
2735
+ captureObservation: {
2736
+ name: string;
2737
+ description: string;
2738
+ method: "post";
2739
+ path: string;
2740
+ requestBody: {
2741
+ description: string;
2742
+ schema: {
2743
+ type: "object";
2744
+ properties: {
2745
+ name: {
2746
+ type: "string";
2747
+ description: string;
2748
+ };
2749
+ data: {
2750
+ type: "object";
2751
+ additionalProperties: true;
2752
+ description: string;
2753
+ };
2754
+ messageId: {
2755
+ type: "string";
2756
+ description: string;
2757
+ };
2758
+ eventId: {
2759
+ type: "string";
2760
+ description: string;
2761
+ };
2762
+ conversationId: {
2763
+ type: "string";
2764
+ description: string;
2765
+ };
2766
+ userId: {
2767
+ type: "string";
2768
+ description: string;
2769
+ };
2770
+ errorId: {
2771
+ type: "string";
2772
+ description: string;
2773
+ };
2774
+ traceId: {
2775
+ type: "string";
2776
+ description: string;
2777
+ };
2778
+ };
2779
+ required: string[];
2780
+ title: string;
2781
+ additionalProperties: false;
2782
+ };
2783
+ };
2784
+ response: {
2785
+ description: string;
2786
+ status: 200;
2787
+ schema: {
2788
+ type: "object";
2789
+ title: string;
2790
+ additionalProperties: false;
2791
+ };
2792
+ };
2793
+ parameters: {};
2794
+ };
2735
2795
  runVrl: {
2736
2796
  name: string;
2737
2797
  description: string;
@@ -18113,6 +18173,7 @@ export declare const state: {
18113
18173
  updateWorkflowBody: true;
18114
18174
  getOrCreateWorkflowBody: true;
18115
18175
  trackAnalyticsBody: true;
18176
+ captureObservationBody: true;
18116
18177
  runVrlBody: true;
18117
18178
  updateAccountBody: true;
18118
18179
  deleteAccountBody: true;
@@ -18213,6 +18274,7 @@ export declare const state: {
18213
18274
  getOrCreateWorkflowResponse: true;
18214
18275
  listTagValuesResponse: true;
18215
18276
  trackAnalyticsResponse: true;
18277
+ captureObservationResponse: true;
18216
18278
  runVrlResponse: true;
18217
18279
  getAccountResponse: true;
18218
18280
  updateAccountResponse: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.70.2",
3
+ "version": "1.71.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -13,7 +13,7 @@
13
13
  "@botpress/common": "0.5.0",
14
14
  "@botpress/files-api": "0.18.0",
15
15
  "@bpinternal/const": "0.4.2",
16
- "@botpress/smaug": "1.0.0",
16
+ "@botpress/smaug": "1.0.1",
17
17
  "@bpinternal/tables-api": "0.17.2"
18
18
  },
19
19
  "dependencies": {