@botpress/client 1.16.0 → 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/bundle.cjs +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +31 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -34628,6 +34628,37 @@ declare class Client extends Client$1 implements IClient {
|
|
|
34628
34628
|
source?: string;
|
|
34629
34629
|
};
|
|
34630
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
|
+
}>;
|
|
34631
34662
|
};
|
|
34632
34663
|
/**
|
|
34633
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.
|