@botpress/client 1.15.3 → 1.16.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.
package/dist/index.d.ts CHANGED
@@ -8083,6 +8083,10 @@ interface CreateIntegrationRequestBody$1 {
8083
8083
  };
8084
8084
  };
8085
8085
  };
8086
+ /**
8087
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
8088
+ */
8089
+ messageStatusChangeNotificationsEnabled?: boolean;
8086
8090
  /**
8087
8091
  * 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.
8088
8092
  */
@@ -8799,6 +8803,10 @@ interface ValidateIntegrationCreationRequestBody$1 {
8799
8803
  };
8800
8804
  };
8801
8805
  };
8806
+ /**
8807
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
8808
+ */
8809
+ messageStatusChangeNotificationsEnabled?: boolean;
8802
8810
  /**
8803
8811
  * 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.
8804
8812
  */
@@ -8899,6 +8907,10 @@ interface UpdateIntegrationRequestBody$1 {
8899
8907
  };
8900
8908
  } | null;
8901
8909
  };
8910
+ /**
8911
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
8912
+ */
8913
+ messageStatusChangeNotificationsEnabled?: boolean;
8902
8914
  channels?: {
8903
8915
  [k: string]: {
8904
8916
  /**
@@ -9598,6 +9610,10 @@ interface ValidateIntegrationUpdateRequestBody$1 {
9598
9610
  };
9599
9611
  } | null;
9600
9612
  };
9613
+ /**
9614
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
9615
+ */
9616
+ messageStatusChangeNotificationsEnabled?: boolean;
9601
9617
  channels?: {
9602
9618
  [k: string]: {
9603
9619
  /**
@@ -24284,6 +24300,10 @@ interface CreateIntegrationRequestBody {
24284
24300
  };
24285
24301
  };
24286
24302
  };
24303
+ /**
24304
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
24305
+ */
24306
+ messageStatusChangeNotificationsEnabled?: boolean;
24287
24307
  /**
24288
24308
  * 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.
24289
24309
  */
@@ -25000,6 +25020,10 @@ interface ValidateIntegrationCreationRequestBody {
25000
25020
  };
25001
25021
  };
25002
25022
  };
25023
+ /**
25024
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25025
+ */
25026
+ messageStatusChangeNotificationsEnabled?: boolean;
25003
25027
  /**
25004
25028
  * 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.
25005
25029
  */
@@ -25100,6 +25124,10 @@ interface UpdateIntegrationRequestBody {
25100
25124
  };
25101
25125
  } | null;
25102
25126
  };
25127
+ /**
25128
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25129
+ */
25130
+ messageStatusChangeNotificationsEnabled?: boolean;
25103
25131
  channels?: {
25104
25132
  [k: string]: {
25105
25133
  /**
@@ -25799,6 +25827,10 @@ interface ValidateIntegrationUpdateRequestBody {
25799
25827
  };
25800
25828
  } | null;
25801
25829
  };
25830
+ /**
25831
+ * **EXPERIMENTAL** Whether the integration should be notified when the message status changes
25832
+ */
25833
+ messageStatusChangeNotificationsEnabled?: boolean;
25802
25834
  channels?: {
25803
25835
  [k: string]: {
25804
25836
  /**
@@ -34464,6 +34496,51 @@ declare class Client extends Client$1 implements IClient {
34464
34496
  readmeUrl: string;
34465
34497
  public: boolean;
34466
34498
  }>;
34499
+ publicInterfaces: (props: {
34500
+ name?: string | undefined;
34501
+ version?: string | undefined;
34502
+ }) => AsyncCollection<{
34503
+ id: string;
34504
+ createdAt: string;
34505
+ updatedAt: string;
34506
+ name: string;
34507
+ version: string;
34508
+ title: string;
34509
+ description: string;
34510
+ iconUrl: string;
34511
+ readmeUrl: string;
34512
+ public: boolean;
34513
+ }>;
34514
+ plugins: (props: {
34515
+ name?: string | undefined;
34516
+ version?: string | undefined;
34517
+ }) => AsyncCollection<{
34518
+ id: string;
34519
+ createdAt: string;
34520
+ updatedAt: string;
34521
+ name: string;
34522
+ version: string;
34523
+ title: string;
34524
+ description: string;
34525
+ iconUrl: string;
34526
+ readmeUrl: string;
34527
+ public: boolean;
34528
+ }>;
34529
+ publicPlugins: (props: {
34530
+ name?: string | undefined;
34531
+ version?: string | undefined;
34532
+ }) => AsyncCollection<{
34533
+ id: string;
34534
+ createdAt: string;
34535
+ updatedAt: string;
34536
+ name: string;
34537
+ version: string;
34538
+ title: string;
34539
+ description: string;
34540
+ iconUrl: string;
34541
+ readmeUrl: string;
34542
+ public: boolean;
34543
+ }>;
34467
34544
  activities: (props: {
34468
34545
  botId: string;
34469
34546
  taskId: string;
@@ -34551,6 +34628,37 @@ declare class Client extends Client$1 implements IClient {
34551
34628
  source?: string;
34552
34629
  };
34553
34630
  }>;
34631
+ workflows: (props: {
34632
+ tags?: {
34633
+ [x: string]: string;
34634
+ } | undefined;
34635
+ userId?: string | undefined;
34636
+ conversationId?: string | undefined;
34637
+ name?: string | undefined;
34638
+ parentWorkflowId?: string | undefined;
34639
+ statuses?: ("pending" | "failed" | "in_progress" | "completed" | "paused" | "cancelled" | "listening" | "timedout")[] | undefined;
34640
+ }) => AsyncCollection<{
34641
+ id: string;
34642
+ name: string;
34643
+ status: "pending" | "in_progress" | "failed" | "completed" | "listening" | "paused" | "timedout" | "cancelled";
34644
+ input: {
34645
+ [k: string]: any;
34646
+ };
34647
+ output: {
34648
+ [k: string]: any;
34649
+ };
34650
+ parentWorkflowId?: string;
34651
+ conversationId?: string;
34652
+ userId?: string;
34653
+ createdAt: string;
34654
+ updatedAt: string;
34655
+ completedAt?: string;
34656
+ failureReason?: string;
34657
+ timeoutAt: string;
34658
+ tags: {
34659
+ [k: string]: string;
34660
+ };
34661
+ }>;
34554
34662
  };
34555
34663
  /**
34556
34664
  * Create/update and upload a file in a single step. Returns an object containing the file metadata and the URL to retrieve the file.