@botpress/client 2.8.0 → 2.9.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.d.ts CHANGED
@@ -814,7 +814,7 @@ interface CreateEventResponse$1 {
814
814
  * ID of the [Message](#schema_message) to link the event to.
815
815
  */
816
816
  messageId?: string;
817
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
817
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
818
818
  /**
819
819
  * Reason why the event failed to be processed
820
820
  */
@@ -867,7 +867,7 @@ interface GetEventResponse$1 {
867
867
  * ID of the [Message](#schema_message) to link the event to.
868
868
  */
869
869
  messageId?: string;
870
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
870
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
871
871
  /**
872
872
  * Reason why the event failed to be processed
873
873
  */
@@ -885,7 +885,7 @@ interface ListEventsRequestQuery$1 {
885
885
  userId?: string;
886
886
  messageId?: string;
887
887
  workflowId?: string;
888
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled";
888
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | "canceled" | "delegated";
889
889
  }
890
890
  interface ListEventsRequestParams$1 {
891
891
  }
@@ -924,7 +924,7 @@ interface ListEventsResponse$1 {
924
924
  * ID of the [Message](#schema_message) to link the event to.
925
925
  */
926
926
  messageId?: string;
927
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
927
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
928
928
  /**
929
929
  * Reason why the event failed to be processed
930
930
  */
@@ -3381,7 +3381,7 @@ declare class Client$a extends Client$b {
3381
3381
  conversationId?: string | undefined;
3382
3382
  workflowId?: string | undefined;
3383
3383
  messageId?: string | undefined;
3384
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
3384
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | "canceled" | "delegated" | undefined;
3385
3385
  }) => AsyncCollection<{
3386
3386
  id: string;
3387
3387
  createdAt: string;
@@ -3392,7 +3392,7 @@ declare class Client$a extends Client$b {
3392
3392
  conversationId?: string;
3393
3393
  userId?: string;
3394
3394
  messageId?: string;
3395
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
3395
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
3396
3396
  failureReason: string | null;
3397
3397
  }>;
3398
3398
  messages: (props: {
@@ -7896,6 +7896,10 @@ interface GetBotLogsResponse$1 {
7896
7896
  workflowId?: string;
7897
7897
  userId?: string;
7898
7898
  conversationId?: string;
7899
+ /**
7900
+ * ID of the bot trace the log was written in.
7901
+ */
7902
+ traceId?: string;
7899
7903
  }[];
7900
7904
  nextToken?: string;
7901
7905
  }
@@ -11931,6 +11935,10 @@ interface GetIntegrationLogsResponse$1 {
11931
11935
  workflowId?: string;
11932
11936
  userId?: string;
11933
11937
  conversationId?: string;
11938
+ /**
11939
+ * ID of the bot trace the log was written in.
11940
+ */
11941
+ traceId?: string;
11934
11942
  }[];
11935
11943
  nextToken?: string;
11936
11944
  }
@@ -20739,7 +20747,7 @@ interface CreateEventResponse {
20739
20747
  * ID of the [Message](#schema_message) to link the event to.
20740
20748
  */
20741
20749
  messageId?: string;
20742
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
20750
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
20743
20751
  /**
20744
20752
  * Reason why the event failed to be processed
20745
20753
  */
@@ -20792,7 +20800,7 @@ interface GetEventResponse {
20792
20800
  * ID of the [Message](#schema_message) to link the event to.
20793
20801
  */
20794
20802
  messageId?: string;
20795
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
20803
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
20796
20804
  /**
20797
20805
  * Reason why the event failed to be processed
20798
20806
  */
@@ -20810,7 +20818,7 @@ interface ListEventsRequestQuery {
20810
20818
  userId?: string;
20811
20819
  messageId?: string;
20812
20820
  workflowId?: string;
20813
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled";
20821
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | "canceled" | "delegated";
20814
20822
  }
20815
20823
  interface ListEventsRequestParams {
20816
20824
  }
@@ -20849,7 +20857,7 @@ interface ListEventsResponse {
20849
20857
  * ID of the [Message](#schema_message) to link the event to.
20850
20858
  */
20851
20859
  messageId?: string;
20852
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
20860
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
20853
20861
  /**
20854
20862
  * Reason why the event failed to be processed
20855
20863
  */
@@ -27587,6 +27595,10 @@ interface GetBotLogsResponse {
27587
27595
  workflowId?: string;
27588
27596
  userId?: string;
27589
27597
  conversationId?: string;
27598
+ /**
27599
+ * ID of the bot trace the log was written in.
27600
+ */
27601
+ traceId?: string;
27590
27602
  }[];
27591
27603
  nextToken?: string;
27592
27604
  }
@@ -31623,6 +31635,10 @@ interface GetIntegrationLogsResponse {
31623
31635
  workflowId?: string;
31624
31636
  userId?: string;
31625
31637
  conversationId?: string;
31638
+ /**
31639
+ * ID of the bot trace the log was written in.
31640
+ */
31641
+ traceId?: string;
31626
31642
  }[];
31627
31643
  nextToken?: string;
31628
31644
  }
@@ -39328,7 +39344,7 @@ interface Event {
39328
39344
  * ID of the [Message](#schema_message) to link the event to.
39329
39345
  */
39330
39346
  messageId?: string;
39331
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
39347
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
39332
39348
  /**
39333
39349
  * Reason why the event failed to be processed
39334
39350
  */
@@ -40098,7 +40114,7 @@ declare class Client extends Client$1 implements IClient {
40098
40114
  conversationId?: string | undefined;
40099
40115
  workflowId?: string | undefined;
40100
40116
  messageId?: string | undefined;
40101
- status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
40117
+ status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | "canceled" | "delegated" | undefined;
40102
40118
  }) => AsyncCollection<{
40103
40119
  id: string;
40104
40120
  createdAt: string;
@@ -40109,7 +40125,7 @@ declare class Client extends Client$1 implements IClient {
40109
40125
  conversationId?: string;
40110
40126
  userId?: string;
40111
40127
  messageId?: string;
40112
- status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled";
40128
+ status: "pending" | "processed" | "ignored" | "failed" | "scheduled" | "canceled" | "delegated";
40113
40129
  failureReason: string | null;
40114
40130
  }>;
40115
40131
  messages: (props: {