@botpress/client 0.33.1 → 0.33.2
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/index.d.ts +68 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/client@0.33.
|
|
2
|
+
> @botpress/client@0.33.2 build /home/runner/work/botpress/botpress/packages/client
|
|
3
3
|
> pnpm build:type && pnpm build:node && pnpm build:browser && pnpm build:bundle
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/client@0.33.
|
|
6
|
+
> @botpress/client@0.33.2 build:type /home/runner/work/botpress/botpress/packages/client
|
|
7
7
|
> tsup ./src/index.ts --dts-resolve --dts-only
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: ./src/index.ts
|
|
10
10
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
11
11
|
[34mCLI[39m tsup v8.0.2
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 3485ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m423.61 KB[39m
|
|
15
15
|
|
|
16
|
-
> @botpress/client@0.33.
|
|
16
|
+
> @botpress/client@0.33.2 build:node /home/runner/work/botpress/botpress/packages/client
|
|
17
17
|
> ts-node -T ./build.ts --node
|
|
18
18
|
|
|
19
19
|
Done
|
|
20
20
|
|
|
21
|
-
> @botpress/client@0.33.
|
|
21
|
+
> @botpress/client@0.33.2 build:browser /home/runner/work/botpress/botpress/packages/client
|
|
22
22
|
> ts-node -T ./build.ts --browser
|
|
23
23
|
|
|
24
24
|
Done
|
|
25
25
|
|
|
26
|
-
> @botpress/client@0.33.
|
|
26
|
+
> @botpress/client@0.33.2 build:bundle /home/runner/work/botpress/botpress/packages/client
|
|
27
27
|
> ts-node -T ./build.ts --bundle
|
|
28
28
|
|
|
29
29
|
Done
|
package/dist/index.d.ts
CHANGED
|
@@ -12150,6 +12150,73 @@ interface State {
|
|
|
12150
12150
|
[k: string]: any;
|
|
12151
12151
|
};
|
|
12152
12152
|
}
|
|
12153
|
+
/**
|
|
12154
|
+
* Workflow definition
|
|
12155
|
+
*/
|
|
12156
|
+
interface Workflow {
|
|
12157
|
+
/**
|
|
12158
|
+
* Id of the [Workflow](#schema_workflow)
|
|
12159
|
+
*/
|
|
12160
|
+
id: string;
|
|
12161
|
+
/**
|
|
12162
|
+
* Name of the workflow
|
|
12163
|
+
*/
|
|
12164
|
+
name: string;
|
|
12165
|
+
/**
|
|
12166
|
+
* Status of the [Workflow](#schema_workflow)
|
|
12167
|
+
*/
|
|
12168
|
+
status: "pending" | "in_progress" | "failed" | "completed" | "listening" | "paused" | "timedout" | "cancelled";
|
|
12169
|
+
/**
|
|
12170
|
+
* Input provided to the [Workflow](#schema_workflow)
|
|
12171
|
+
*/
|
|
12172
|
+
input: {
|
|
12173
|
+
[k: string]: any;
|
|
12174
|
+
};
|
|
12175
|
+
/**
|
|
12176
|
+
* Data returned by the [Workflow](#schema_workflow) output
|
|
12177
|
+
*/
|
|
12178
|
+
output: {
|
|
12179
|
+
[k: string]: any;
|
|
12180
|
+
};
|
|
12181
|
+
/**
|
|
12182
|
+
* Parent [Workflow](#schema_workflow) id is the parent [Workflow](#schema_workflow) that created this [Workflow](#schema_workflow)
|
|
12183
|
+
*/
|
|
12184
|
+
parentWorkflowId?: string;
|
|
12185
|
+
/**
|
|
12186
|
+
* Conversation id related to this [Workflow](#schema_workflow)
|
|
12187
|
+
*/
|
|
12188
|
+
conversationId?: string;
|
|
12189
|
+
/**
|
|
12190
|
+
* User id related to this [Workflow](#schema_workflow)
|
|
12191
|
+
*/
|
|
12192
|
+
userId?: string;
|
|
12193
|
+
/**
|
|
12194
|
+
* Creation date of the [Workflow](#schema_workflow) in ISO 8601 format
|
|
12195
|
+
*/
|
|
12196
|
+
createdAt: string;
|
|
12197
|
+
/**
|
|
12198
|
+
* Updating date of the [Workflow](#schema_workflow) in ISO 8601 format
|
|
12199
|
+
*/
|
|
12200
|
+
updatedAt: string;
|
|
12201
|
+
/**
|
|
12202
|
+
* The date when the [Workflow](#schema_workflow) completed in ISO 8601 format
|
|
12203
|
+
*/
|
|
12204
|
+
completedAt?: string;
|
|
12205
|
+
/**
|
|
12206
|
+
* If the [Workflow](#schema_workflow) fails this is the reason behind it
|
|
12207
|
+
*/
|
|
12208
|
+
failureReason?: string;
|
|
12209
|
+
/**
|
|
12210
|
+
* The timeout date when the [Workflow](#schema_workflow) will fail in the ISO 8601 format
|
|
12211
|
+
*/
|
|
12212
|
+
timeoutAt: string;
|
|
12213
|
+
/**
|
|
12214
|
+
* Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Workflow](#schema_workflow). Individual keys can be unset by posting an empty value to them.
|
|
12215
|
+
*/
|
|
12216
|
+
tags: {
|
|
12217
|
+
[k: string]: string;
|
|
12218
|
+
};
|
|
12219
|
+
}
|
|
12153
12220
|
interface Table {
|
|
12154
12221
|
/**
|
|
12155
12222
|
* Unique identifier for the table
|
|
@@ -13109,4 +13176,4 @@ declare class Client extends Client$1 implements IClient {
|
|
|
13109
13176
|
readonly uploadFile: ({ key, index, tags, contentType, accessPolicies, content, url, expiresAt, publicContentImmediatelyAccessible, }: ClientInputs['uploadFile']) => Promise<ClientOutputs['uploadFile']>;
|
|
13110
13177
|
}
|
|
13111
13178
|
|
|
13112
|
-
export { type Account, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientParams, type ClientProps, type ClientReturn, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type IClient, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Workspace, type WorkspaceMember, errorFrom, isApiError };
|
|
13179
|
+
export { type Account, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientParams, type ClientProps, type ClientReturn, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type IClient, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Workflow, type Workspace, type WorkspaceMember, errorFrom, isApiError };
|