@skyvern/client 0.2.20 → 0.2.21

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/types/ActionType.d.ts +1 -0
  4. package/dist/cjs/api/types/ActionType.js +1 -0
  5. package/dist/cjs/api/types/BlockType.d.ts +1 -0
  6. package/dist/cjs/api/types/BlockType.js +1 -0
  7. package/dist/cjs/api/types/ForLoopBlockLoopBlocksItem.d.ts +4 -1
  8. package/dist/cjs/api/types/ForLoopBlockYamlLoopBlocksItem.d.ts +4 -1
  9. package/dist/cjs/api/types/HumanInteractionBlock.d.ts +51 -0
  10. package/dist/cjs/api/types/HumanInteractionBlock.js +3 -0
  11. package/dist/cjs/api/types/HumanInteractionBlockParametersItem.d.ts +37 -0
  12. package/dist/cjs/api/types/HumanInteractionBlockParametersItem.js +3 -0
  13. package/dist/cjs/api/types/HumanInteractionBlockYaml.d.ts +13 -0
  14. package/dist/cjs/api/types/HumanInteractionBlockYaml.js +3 -0
  15. package/dist/cjs/api/types/WorkflowDefinitionBlocksItem.d.ts +4 -1
  16. package/dist/cjs/api/types/WorkflowDefinitionYamlBlocksItem.d.ts +4 -1
  17. package/dist/cjs/api/types/WorkflowRunBlock.d.ts +3 -0
  18. package/dist/cjs/api/types/index.d.ts +3 -0
  19. package/dist/cjs/api/types/index.js +3 -0
  20. package/dist/cjs/version.d.ts +1 -1
  21. package/dist/cjs/version.js +1 -1
  22. package/dist/esm/Client.mjs +2 -2
  23. package/dist/esm/api/types/ActionType.d.mts +1 -0
  24. package/dist/esm/api/types/ActionType.mjs +1 -0
  25. package/dist/esm/api/types/BlockType.d.mts +1 -0
  26. package/dist/esm/api/types/BlockType.mjs +1 -0
  27. package/dist/esm/api/types/ForLoopBlockLoopBlocksItem.d.mts +4 -1
  28. package/dist/esm/api/types/ForLoopBlockYamlLoopBlocksItem.d.mts +4 -1
  29. package/dist/esm/api/types/HumanInteractionBlock.d.mts +51 -0
  30. package/dist/esm/api/types/HumanInteractionBlock.mjs +2 -0
  31. package/dist/esm/api/types/HumanInteractionBlockParametersItem.d.mts +37 -0
  32. package/dist/esm/api/types/HumanInteractionBlockParametersItem.mjs +2 -0
  33. package/dist/esm/api/types/HumanInteractionBlockYaml.d.mts +13 -0
  34. package/dist/esm/api/types/HumanInteractionBlockYaml.mjs +2 -0
  35. package/dist/esm/api/types/WorkflowDefinitionBlocksItem.d.mts +4 -1
  36. package/dist/esm/api/types/WorkflowDefinitionYamlBlocksItem.d.mts +4 -1
  37. package/dist/esm/api/types/WorkflowRunBlock.d.mts +3 -0
  38. package/dist/esm/api/types/index.d.mts +3 -0
  39. package/dist/esm/api/types/index.mjs +3 -0
  40. package/dist/esm/version.d.mts +1 -1
  41. package/dist/esm/version.mjs +1 -1
  42. package/package.json +2 -2
package/README.md CHANGED
@@ -13,7 +13,7 @@ npm i -s @skyvern/client
13
13
 
14
14
  ## Reference
15
15
 
16
- A full reference for this library is available [here](https://github.com/Skyvern-AI/skyvern-typescript/blob/HEAD/./reference.md).
16
+ A full reference for this library is available [here](https://www.skyvern.com/docs/api-reference/api-reference).
17
17
 
18
18
  ## Usage
19
19
 
@@ -56,8 +56,8 @@ class SkyvernClient {
56
56
  "x-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@skyvern/client",
59
- "X-Fern-SDK-Version": "0.2.20",
60
- "User-Agent": "@skyvern/client/0.2.20",
59
+ "X-Fern-SDK-Version": "0.2.21",
60
+ "User-Agent": "@skyvern/client/0.2.21",
61
61
  "X-Fern-Runtime": core.RUNTIME.type,
62
62
  "X-Fern-Runtime-Version": core.RUNTIME.version,
63
63
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,6 +11,7 @@ export declare const ActionType: {
11
11
  readonly Terminate: "terminate";
12
12
  readonly Complete: "complete";
13
13
  readonly ReloadPage: "reload_page";
14
+ readonly ClosePage: "close_page";
14
15
  readonly Extract: "extract";
15
16
  readonly VerificationCode: "verification_code";
16
17
  readonly GotoUrl: "goto_url";
@@ -15,6 +15,7 @@ exports.ActionType = {
15
15
  Terminate: "terminate",
16
16
  Complete: "complete",
17
17
  ReloadPage: "reload_page",
18
+ ClosePage: "close_page",
18
19
  Extract: "extract",
19
20
  VerificationCode: "verification_code",
20
21
  GotoUrl: "goto_url",
@@ -19,5 +19,6 @@ export declare const BlockType: {
19
19
  readonly GotoUrl: "goto_url";
20
20
  readonly PdfParser: "pdf_parser";
21
21
  readonly HttpRequest: "http_request";
22
+ readonly HumanInteraction: "human_interaction";
22
23
  };
23
24
  export type BlockType = (typeof BlockType)[keyof typeof BlockType];
@@ -23,4 +23,5 @@ exports.BlockType = {
23
23
  GotoUrl: "goto_url",
24
24
  PdfParser: "pdf_parser",
25
25
  HttpRequest: "http_request",
26
+ HumanInteraction: "human_interaction",
26
27
  };
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.js";
2
- export type ForLoopBlockLoopBlocksItem = Skyvern.ForLoopBlockLoopBlocksItem.Action | Skyvern.ForLoopBlockLoopBlocksItem.Code | Skyvern.ForLoopBlockLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Extraction | Skyvern.ForLoopBlockLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockLoopBlocksItem.HttpRequest | Skyvern.ForLoopBlockLoopBlocksItem.Login | Skyvern.ForLoopBlockLoopBlocksItem.Navigation | Skyvern.ForLoopBlockLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockLoopBlocksItem.Task | Skyvern.ForLoopBlockLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Validation | Skyvern.ForLoopBlockLoopBlocksItem.Wait;
2
+ export type ForLoopBlockLoopBlocksItem = Skyvern.ForLoopBlockLoopBlocksItem.Action | Skyvern.ForLoopBlockLoopBlocksItem.Code | Skyvern.ForLoopBlockLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Extraction | Skyvern.ForLoopBlockLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockLoopBlocksItem.HttpRequest | Skyvern.ForLoopBlockLoopBlocksItem.HumanInteraction | Skyvern.ForLoopBlockLoopBlocksItem.Login | Skyvern.ForLoopBlockLoopBlocksItem.Navigation | Skyvern.ForLoopBlockLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockLoopBlocksItem.Task | Skyvern.ForLoopBlockLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Validation | Skyvern.ForLoopBlockLoopBlocksItem.Wait;
3
3
  export declare namespace ForLoopBlockLoopBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlock {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace ForLoopBlockLoopBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlock {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlock {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlock {
35
38
  block_type: "login";
36
39
  }
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.js";
2
- export type ForLoopBlockYamlLoopBlocksItem = Skyvern.ForLoopBlockYamlLoopBlocksItem.Task | Skyvern.ForLoopBlockYamlLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockYamlLoopBlocksItem.Code | Skyvern.ForLoopBlockYamlLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockYamlLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockYamlLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.Validation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Action | Skyvern.ForLoopBlockYamlLoopBlocksItem.Navigation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Extraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.Login | Skyvern.ForLoopBlockYamlLoopBlocksItem.Wait | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockYamlLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockYamlLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockYamlLoopBlocksItem.HttpRequest;
2
+ export type ForLoopBlockYamlLoopBlocksItem = Skyvern.ForLoopBlockYamlLoopBlocksItem.Task | Skyvern.ForLoopBlockYamlLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockYamlLoopBlocksItem.Code | Skyvern.ForLoopBlockYamlLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockYamlLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockYamlLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.Validation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Action | Skyvern.ForLoopBlockYamlLoopBlocksItem.Navigation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Extraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.Login | Skyvern.ForLoopBlockYamlLoopBlocksItem.Wait | Skyvern.ForLoopBlockYamlLoopBlocksItem.HumanInteraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockYamlLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockYamlLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockYamlLoopBlocksItem.HttpRequest;
3
3
  export declare namespace ForLoopBlockYamlLoopBlocksItem {
4
4
  interface Task extends Skyvern.TaskBlockYaml {
5
5
  block_type: "task";
@@ -46,6 +46,9 @@ export declare namespace ForLoopBlockYamlLoopBlocksItem {
46
46
  interface Wait extends Skyvern.WaitBlockYaml {
47
47
  block_type: "wait";
48
48
  }
49
+ interface HumanInteraction extends Skyvern.HumanInteractionBlockYaml {
50
+ block_type: "human_interaction";
51
+ }
49
52
  interface FileDownload extends Skyvern.FileDownloadBlockYaml {
50
53
  block_type: "file_download";
51
54
  }
@@ -0,0 +1,51 @@
1
+ import type * as Skyvern from "../index.js";
2
+ /**
3
+ * A block for human/agent interaction.
4
+ *
5
+ * For the first pass at this, the implicit behaviour is that the user is given a single binary
6
+ * choice (a go//no-go).
7
+ *
8
+ * If the human:
9
+ * - chooses positively, the workflow continues
10
+ * - chooses negatively, the workflow is terminated
11
+ * - does not respond within the timeout period, the workflow terminates
12
+ */
13
+ export interface HumanInteractionBlock {
14
+ label: string;
15
+ output_parameter: Skyvern.OutputParameter;
16
+ continue_on_failure?: boolean;
17
+ model?: Record<string, unknown>;
18
+ disable_cache?: boolean;
19
+ task_type?: string;
20
+ url?: string;
21
+ title?: string;
22
+ engine?: Skyvern.RunEngine;
23
+ complete_criterion?: string;
24
+ terminate_criterion?: string;
25
+ navigation_goal?: string;
26
+ data_extraction_goal?: string;
27
+ data_schema?: HumanInteractionBlock.DataSchema;
28
+ error_code_mapping?: Record<string, string | undefined>;
29
+ max_retries?: number;
30
+ max_steps_per_run?: number;
31
+ parameters?: Skyvern.HumanInteractionBlockParametersItem[];
32
+ complete_on_download?: boolean;
33
+ download_suffix?: string;
34
+ totp_verification_url?: string;
35
+ totp_identifier?: string;
36
+ cache_actions?: boolean;
37
+ complete_verification?: boolean;
38
+ include_action_history_in_verification?: boolean;
39
+ download_timeout?: number;
40
+ instructions?: string;
41
+ positive_descriptor?: string;
42
+ negative_descriptor?: string;
43
+ timeout_seconds?: number;
44
+ sender?: string;
45
+ recipients?: string[];
46
+ subject?: string;
47
+ body?: string;
48
+ }
49
+ export declare namespace HumanInteractionBlock {
50
+ type DataSchema = Record<string, unknown> | unknown[] | string;
51
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
1
+ import type * as Skyvern from "../index.js";
2
+ export type HumanInteractionBlockParametersItem = Skyvern.HumanInteractionBlockParametersItem.AwsSecret | Skyvern.HumanInteractionBlockParametersItem.AzureSecret | Skyvern.HumanInteractionBlockParametersItem.AzureVaultCredential | Skyvern.HumanInteractionBlockParametersItem.BitwardenCreditCardData | Skyvern.HumanInteractionBlockParametersItem.BitwardenLoginCredential | Skyvern.HumanInteractionBlockParametersItem.BitwardenSensitiveInformation | Skyvern.HumanInteractionBlockParametersItem.Context | Skyvern.HumanInteractionBlockParametersItem.Credential | Skyvern.HumanInteractionBlockParametersItem.Onepassword | Skyvern.HumanInteractionBlockParametersItem.Output | Skyvern.HumanInteractionBlockParametersItem.Workflow;
3
+ export declare namespace HumanInteractionBlockParametersItem {
4
+ interface AwsSecret extends Skyvern.AwsSecretParameter {
5
+ parameter_type: "aws_secret";
6
+ }
7
+ interface AzureSecret extends Skyvern.AzureSecretParameter {
8
+ parameter_type: "azure_secret";
9
+ }
10
+ interface AzureVaultCredential extends Skyvern.AzureVaultCredentialParameter {
11
+ parameter_type: "azure_vault_credential";
12
+ }
13
+ interface BitwardenCreditCardData extends Skyvern.BitwardenCreditCardDataParameter {
14
+ parameter_type: "bitwarden_credit_card_data";
15
+ }
16
+ interface BitwardenLoginCredential extends Skyvern.BitwardenLoginCredentialParameter {
17
+ parameter_type: "bitwarden_login_credential";
18
+ }
19
+ interface BitwardenSensitiveInformation extends Skyvern.BitwardenSensitiveInformationParameter {
20
+ parameter_type: "bitwarden_sensitive_information";
21
+ }
22
+ interface Context extends Skyvern.ContextParameter {
23
+ parameter_type: "context";
24
+ }
25
+ interface Credential extends Skyvern.CredentialParameter {
26
+ parameter_type: "credential";
27
+ }
28
+ interface Onepassword extends Skyvern.OnePasswordCredentialParameter {
29
+ parameter_type: "onepassword";
30
+ }
31
+ interface Output extends Skyvern.OutputParameter {
32
+ parameter_type: "output";
33
+ }
34
+ interface Workflow extends Skyvern.WorkflowParameter {
35
+ parameter_type: "workflow";
36
+ }
37
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface HumanInteractionBlockYaml {
2
+ label: string;
3
+ continue_on_failure?: boolean;
4
+ model?: Record<string, unknown>;
5
+ instructions?: string;
6
+ positive_descriptor?: string;
7
+ negative_descriptor?: string;
8
+ timeout_seconds: number;
9
+ sender: string;
10
+ recipients: string[];
11
+ subject: string;
12
+ body: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.js";
2
- export type WorkflowDefinitionBlocksItem = Skyvern.WorkflowDefinitionBlocksItem.Action | Skyvern.WorkflowDefinitionBlocksItem.Code | Skyvern.WorkflowDefinitionBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Extraction | Skyvern.WorkflowDefinitionBlocksItem.FileDownload | Skyvern.WorkflowDefinitionBlocksItem.FileUpload | Skyvern.WorkflowDefinitionBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionBlocksItem.ForLoop | Skyvern.WorkflowDefinitionBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionBlocksItem.Login | Skyvern.WorkflowDefinitionBlocksItem.Navigation | Skyvern.WorkflowDefinitionBlocksItem.PdfParser | Skyvern.WorkflowDefinitionBlocksItem.SendEmail | Skyvern.WorkflowDefinitionBlocksItem.Task | Skyvern.WorkflowDefinitionBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Validation | Skyvern.WorkflowDefinitionBlocksItem.Wait;
2
+ export type WorkflowDefinitionBlocksItem = Skyvern.WorkflowDefinitionBlocksItem.Action | Skyvern.WorkflowDefinitionBlocksItem.Code | Skyvern.WorkflowDefinitionBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Extraction | Skyvern.WorkflowDefinitionBlocksItem.FileDownload | Skyvern.WorkflowDefinitionBlocksItem.FileUpload | Skyvern.WorkflowDefinitionBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionBlocksItem.ForLoop | Skyvern.WorkflowDefinitionBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionBlocksItem.HumanInteraction | Skyvern.WorkflowDefinitionBlocksItem.Login | Skyvern.WorkflowDefinitionBlocksItem.Navigation | Skyvern.WorkflowDefinitionBlocksItem.PdfParser | Skyvern.WorkflowDefinitionBlocksItem.SendEmail | Skyvern.WorkflowDefinitionBlocksItem.Task | Skyvern.WorkflowDefinitionBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Validation | Skyvern.WorkflowDefinitionBlocksItem.Wait;
3
3
  export declare namespace WorkflowDefinitionBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlock {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace WorkflowDefinitionBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlock {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlock {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlock {
35
38
  block_type: "login";
36
39
  }
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.js";
2
- export type WorkflowDefinitionYamlBlocksItem = Skyvern.WorkflowDefinitionYamlBlocksItem.Action | Skyvern.WorkflowDefinitionYamlBlocksItem.Code | Skyvern.WorkflowDefinitionYamlBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Extraction | Skyvern.WorkflowDefinitionYamlBlocksItem.FileDownload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUpload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionYamlBlocksItem.ForLoop | Skyvern.WorkflowDefinitionYamlBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionYamlBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionYamlBlocksItem.Login | Skyvern.WorkflowDefinitionYamlBlocksItem.Navigation | Skyvern.WorkflowDefinitionYamlBlocksItem.PdfParser | Skyvern.WorkflowDefinitionYamlBlocksItem.SendEmail | Skyvern.WorkflowDefinitionYamlBlocksItem.Task | Skyvern.WorkflowDefinitionYamlBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionYamlBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionYamlBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Validation | Skyvern.WorkflowDefinitionYamlBlocksItem.Wait;
2
+ export type WorkflowDefinitionYamlBlocksItem = Skyvern.WorkflowDefinitionYamlBlocksItem.Action | Skyvern.WorkflowDefinitionYamlBlocksItem.Code | Skyvern.WorkflowDefinitionYamlBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Extraction | Skyvern.WorkflowDefinitionYamlBlocksItem.FileDownload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUpload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionYamlBlocksItem.ForLoop | Skyvern.WorkflowDefinitionYamlBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionYamlBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionYamlBlocksItem.HumanInteraction | Skyvern.WorkflowDefinitionYamlBlocksItem.Login | Skyvern.WorkflowDefinitionYamlBlocksItem.Navigation | Skyvern.WorkflowDefinitionYamlBlocksItem.PdfParser | Skyvern.WorkflowDefinitionYamlBlocksItem.SendEmail | Skyvern.WorkflowDefinitionYamlBlocksItem.Task | Skyvern.WorkflowDefinitionYamlBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionYamlBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionYamlBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Validation | Skyvern.WorkflowDefinitionYamlBlocksItem.Wait;
3
3
  export declare namespace WorkflowDefinitionYamlBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlockYaml {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace WorkflowDefinitionYamlBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlockYaml {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlockYaml {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlockYaml {
35
38
  block_type: "login";
36
39
  }
@@ -33,6 +33,9 @@ export interface WorkflowRunBlock {
33
33
  attachments?: string[];
34
34
  subject?: string;
35
35
  body?: string;
36
+ instructions?: string;
37
+ positive_descriptor?: string;
38
+ negative_descriptor?: string;
36
39
  }
37
40
  export declare namespace WorkflowRunBlock {
38
41
  type Output = Record<string, unknown> | unknown[] | string;
@@ -58,6 +58,9 @@ export * from "./HttpRequestBlock.js";
58
58
  export * from "./HttpRequestBlockParametersItem.js";
59
59
  export * from "./HttpRequestBlockYaml.js";
60
60
  export * from "./HttpValidationError.js";
61
+ export * from "./HumanInteractionBlock.js";
62
+ export * from "./HumanInteractionBlockParametersItem.js";
63
+ export * from "./HumanInteractionBlockYaml.js";
61
64
  export * from "./InputOrSelectContext.js";
62
65
  export * from "./LoginBlock.js";
63
66
  export * from "./LoginBlockParametersItem.js";
@@ -74,6 +74,9 @@ __exportStar(require("./HttpRequestBlock.js"), exports);
74
74
  __exportStar(require("./HttpRequestBlockParametersItem.js"), exports);
75
75
  __exportStar(require("./HttpRequestBlockYaml.js"), exports);
76
76
  __exportStar(require("./HttpValidationError.js"), exports);
77
+ __exportStar(require("./HumanInteractionBlock.js"), exports);
78
+ __exportStar(require("./HumanInteractionBlockParametersItem.js"), exports);
79
+ __exportStar(require("./HumanInteractionBlockYaml.js"), exports);
77
80
  __exportStar(require("./InputOrSelectContext.js"), exports);
78
81
  __exportStar(require("./LoginBlock.js"), exports);
79
82
  __exportStar(require("./LoginBlockParametersItem.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.20";
1
+ export declare const SDK_VERSION = "0.2.21";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.2.20";
4
+ exports.SDK_VERSION = "0.2.21";
@@ -20,8 +20,8 @@ export class SkyvernClient {
20
20
  "x-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@skyvern/client",
23
- "X-Fern-SDK-Version": "0.2.20",
24
- "User-Agent": "@skyvern/client/0.2.20",
23
+ "X-Fern-SDK-Version": "0.2.21",
24
+ "User-Agent": "@skyvern/client/0.2.21",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -11,6 +11,7 @@ export declare const ActionType: {
11
11
  readonly Terminate: "terminate";
12
12
  readonly Complete: "complete";
13
13
  readonly ReloadPage: "reload_page";
14
+ readonly ClosePage: "close_page";
14
15
  readonly Extract: "extract";
15
16
  readonly VerificationCode: "verification_code";
16
17
  readonly GotoUrl: "goto_url";
@@ -12,6 +12,7 @@ export const ActionType = {
12
12
  Terminate: "terminate",
13
13
  Complete: "complete",
14
14
  ReloadPage: "reload_page",
15
+ ClosePage: "close_page",
15
16
  Extract: "extract",
16
17
  VerificationCode: "verification_code",
17
18
  GotoUrl: "goto_url",
@@ -19,5 +19,6 @@ export declare const BlockType: {
19
19
  readonly GotoUrl: "goto_url";
20
20
  readonly PdfParser: "pdf_parser";
21
21
  readonly HttpRequest: "http_request";
22
+ readonly HumanInteraction: "human_interaction";
22
23
  };
23
24
  export type BlockType = (typeof BlockType)[keyof typeof BlockType];
@@ -20,4 +20,5 @@ export const BlockType = {
20
20
  GotoUrl: "goto_url",
21
21
  PdfParser: "pdf_parser",
22
22
  HttpRequest: "http_request",
23
+ HumanInteraction: "human_interaction",
23
24
  };
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.mjs";
2
- export type ForLoopBlockLoopBlocksItem = Skyvern.ForLoopBlockLoopBlocksItem.Action | Skyvern.ForLoopBlockLoopBlocksItem.Code | Skyvern.ForLoopBlockLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Extraction | Skyvern.ForLoopBlockLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockLoopBlocksItem.HttpRequest | Skyvern.ForLoopBlockLoopBlocksItem.Login | Skyvern.ForLoopBlockLoopBlocksItem.Navigation | Skyvern.ForLoopBlockLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockLoopBlocksItem.Task | Skyvern.ForLoopBlockLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Validation | Skyvern.ForLoopBlockLoopBlocksItem.Wait;
2
+ export type ForLoopBlockLoopBlocksItem = Skyvern.ForLoopBlockLoopBlocksItem.Action | Skyvern.ForLoopBlockLoopBlocksItem.Code | Skyvern.ForLoopBlockLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Extraction | Skyvern.ForLoopBlockLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockLoopBlocksItem.HttpRequest | Skyvern.ForLoopBlockLoopBlocksItem.HumanInteraction | Skyvern.ForLoopBlockLoopBlocksItem.Login | Skyvern.ForLoopBlockLoopBlocksItem.Navigation | Skyvern.ForLoopBlockLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockLoopBlocksItem.Task | Skyvern.ForLoopBlockLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockLoopBlocksItem.Validation | Skyvern.ForLoopBlockLoopBlocksItem.Wait;
3
3
  export declare namespace ForLoopBlockLoopBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlock {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace ForLoopBlockLoopBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlock {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlock {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlock {
35
38
  block_type: "login";
36
39
  }
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.mjs";
2
- export type ForLoopBlockYamlLoopBlocksItem = Skyvern.ForLoopBlockYamlLoopBlocksItem.Task | Skyvern.ForLoopBlockYamlLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockYamlLoopBlocksItem.Code | Skyvern.ForLoopBlockYamlLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockYamlLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockYamlLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.Validation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Action | Skyvern.ForLoopBlockYamlLoopBlocksItem.Navigation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Extraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.Login | Skyvern.ForLoopBlockYamlLoopBlocksItem.Wait | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockYamlLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockYamlLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockYamlLoopBlocksItem.HttpRequest;
2
+ export type ForLoopBlockYamlLoopBlocksItem = Skyvern.ForLoopBlockYamlLoopBlocksItem.Task | Skyvern.ForLoopBlockYamlLoopBlocksItem.ForLoop | Skyvern.ForLoopBlockYamlLoopBlocksItem.Code | Skyvern.ForLoopBlockYamlLoopBlocksItem.TextPrompt | Skyvern.ForLoopBlockYamlLoopBlocksItem.DownloadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.UploadToS3 | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUpload | Skyvern.ForLoopBlockYamlLoopBlocksItem.SendEmail | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileUrlParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.Validation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Action | Skyvern.ForLoopBlockYamlLoopBlocksItem.Navigation | Skyvern.ForLoopBlockYamlLoopBlocksItem.Extraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.Login | Skyvern.ForLoopBlockYamlLoopBlocksItem.Wait | Skyvern.ForLoopBlockYamlLoopBlocksItem.HumanInteraction | Skyvern.ForLoopBlockYamlLoopBlocksItem.FileDownload | Skyvern.ForLoopBlockYamlLoopBlocksItem.GotoUrl | Skyvern.ForLoopBlockYamlLoopBlocksItem.PdfParser | Skyvern.ForLoopBlockYamlLoopBlocksItem.TaskV2 | Skyvern.ForLoopBlockYamlLoopBlocksItem.HttpRequest;
3
3
  export declare namespace ForLoopBlockYamlLoopBlocksItem {
4
4
  interface Task extends Skyvern.TaskBlockYaml {
5
5
  block_type: "task";
@@ -46,6 +46,9 @@ export declare namespace ForLoopBlockYamlLoopBlocksItem {
46
46
  interface Wait extends Skyvern.WaitBlockYaml {
47
47
  block_type: "wait";
48
48
  }
49
+ interface HumanInteraction extends Skyvern.HumanInteractionBlockYaml {
50
+ block_type: "human_interaction";
51
+ }
49
52
  interface FileDownload extends Skyvern.FileDownloadBlockYaml {
50
53
  block_type: "file_download";
51
54
  }
@@ -0,0 +1,51 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ /**
3
+ * A block for human/agent interaction.
4
+ *
5
+ * For the first pass at this, the implicit behaviour is that the user is given a single binary
6
+ * choice (a go//no-go).
7
+ *
8
+ * If the human:
9
+ * - chooses positively, the workflow continues
10
+ * - chooses negatively, the workflow is terminated
11
+ * - does not respond within the timeout period, the workflow terminates
12
+ */
13
+ export interface HumanInteractionBlock {
14
+ label: string;
15
+ output_parameter: Skyvern.OutputParameter;
16
+ continue_on_failure?: boolean;
17
+ model?: Record<string, unknown>;
18
+ disable_cache?: boolean;
19
+ task_type?: string;
20
+ url?: string;
21
+ title?: string;
22
+ engine?: Skyvern.RunEngine;
23
+ complete_criterion?: string;
24
+ terminate_criterion?: string;
25
+ navigation_goal?: string;
26
+ data_extraction_goal?: string;
27
+ data_schema?: HumanInteractionBlock.DataSchema;
28
+ error_code_mapping?: Record<string, string | undefined>;
29
+ max_retries?: number;
30
+ max_steps_per_run?: number;
31
+ parameters?: Skyvern.HumanInteractionBlockParametersItem[];
32
+ complete_on_download?: boolean;
33
+ download_suffix?: string;
34
+ totp_verification_url?: string;
35
+ totp_identifier?: string;
36
+ cache_actions?: boolean;
37
+ complete_verification?: boolean;
38
+ include_action_history_in_verification?: boolean;
39
+ download_timeout?: number;
40
+ instructions?: string;
41
+ positive_descriptor?: string;
42
+ negative_descriptor?: string;
43
+ timeout_seconds?: number;
44
+ sender?: string;
45
+ recipients?: string[];
46
+ subject?: string;
47
+ body?: string;
48
+ }
49
+ export declare namespace HumanInteractionBlock {
50
+ type DataSchema = Record<string, unknown> | unknown[] | string;
51
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,37 @@
1
+ import type * as Skyvern from "../index.mjs";
2
+ export type HumanInteractionBlockParametersItem = Skyvern.HumanInteractionBlockParametersItem.AwsSecret | Skyvern.HumanInteractionBlockParametersItem.AzureSecret | Skyvern.HumanInteractionBlockParametersItem.AzureVaultCredential | Skyvern.HumanInteractionBlockParametersItem.BitwardenCreditCardData | Skyvern.HumanInteractionBlockParametersItem.BitwardenLoginCredential | Skyvern.HumanInteractionBlockParametersItem.BitwardenSensitiveInformation | Skyvern.HumanInteractionBlockParametersItem.Context | Skyvern.HumanInteractionBlockParametersItem.Credential | Skyvern.HumanInteractionBlockParametersItem.Onepassword | Skyvern.HumanInteractionBlockParametersItem.Output | Skyvern.HumanInteractionBlockParametersItem.Workflow;
3
+ export declare namespace HumanInteractionBlockParametersItem {
4
+ interface AwsSecret extends Skyvern.AwsSecretParameter {
5
+ parameter_type: "aws_secret";
6
+ }
7
+ interface AzureSecret extends Skyvern.AzureSecretParameter {
8
+ parameter_type: "azure_secret";
9
+ }
10
+ interface AzureVaultCredential extends Skyvern.AzureVaultCredentialParameter {
11
+ parameter_type: "azure_vault_credential";
12
+ }
13
+ interface BitwardenCreditCardData extends Skyvern.BitwardenCreditCardDataParameter {
14
+ parameter_type: "bitwarden_credit_card_data";
15
+ }
16
+ interface BitwardenLoginCredential extends Skyvern.BitwardenLoginCredentialParameter {
17
+ parameter_type: "bitwarden_login_credential";
18
+ }
19
+ interface BitwardenSensitiveInformation extends Skyvern.BitwardenSensitiveInformationParameter {
20
+ parameter_type: "bitwarden_sensitive_information";
21
+ }
22
+ interface Context extends Skyvern.ContextParameter {
23
+ parameter_type: "context";
24
+ }
25
+ interface Credential extends Skyvern.CredentialParameter {
26
+ parameter_type: "credential";
27
+ }
28
+ interface Onepassword extends Skyvern.OnePasswordCredentialParameter {
29
+ parameter_type: "onepassword";
30
+ }
31
+ interface Output extends Skyvern.OutputParameter {
32
+ parameter_type: "output";
33
+ }
34
+ interface Workflow extends Skyvern.WorkflowParameter {
35
+ parameter_type: "workflow";
36
+ }
37
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ export interface HumanInteractionBlockYaml {
2
+ label: string;
3
+ continue_on_failure?: boolean;
4
+ model?: Record<string, unknown>;
5
+ instructions?: string;
6
+ positive_descriptor?: string;
7
+ negative_descriptor?: string;
8
+ timeout_seconds: number;
9
+ sender: string;
10
+ recipients: string[];
11
+ subject: string;
12
+ body: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.mjs";
2
- export type WorkflowDefinitionBlocksItem = Skyvern.WorkflowDefinitionBlocksItem.Action | Skyvern.WorkflowDefinitionBlocksItem.Code | Skyvern.WorkflowDefinitionBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Extraction | Skyvern.WorkflowDefinitionBlocksItem.FileDownload | Skyvern.WorkflowDefinitionBlocksItem.FileUpload | Skyvern.WorkflowDefinitionBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionBlocksItem.ForLoop | Skyvern.WorkflowDefinitionBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionBlocksItem.Login | Skyvern.WorkflowDefinitionBlocksItem.Navigation | Skyvern.WorkflowDefinitionBlocksItem.PdfParser | Skyvern.WorkflowDefinitionBlocksItem.SendEmail | Skyvern.WorkflowDefinitionBlocksItem.Task | Skyvern.WorkflowDefinitionBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Validation | Skyvern.WorkflowDefinitionBlocksItem.Wait;
2
+ export type WorkflowDefinitionBlocksItem = Skyvern.WorkflowDefinitionBlocksItem.Action | Skyvern.WorkflowDefinitionBlocksItem.Code | Skyvern.WorkflowDefinitionBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Extraction | Skyvern.WorkflowDefinitionBlocksItem.FileDownload | Skyvern.WorkflowDefinitionBlocksItem.FileUpload | Skyvern.WorkflowDefinitionBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionBlocksItem.ForLoop | Skyvern.WorkflowDefinitionBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionBlocksItem.HumanInteraction | Skyvern.WorkflowDefinitionBlocksItem.Login | Skyvern.WorkflowDefinitionBlocksItem.Navigation | Skyvern.WorkflowDefinitionBlocksItem.PdfParser | Skyvern.WorkflowDefinitionBlocksItem.SendEmail | Skyvern.WorkflowDefinitionBlocksItem.Task | Skyvern.WorkflowDefinitionBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionBlocksItem.Validation | Skyvern.WorkflowDefinitionBlocksItem.Wait;
3
3
  export declare namespace WorkflowDefinitionBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlock {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace WorkflowDefinitionBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlock {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlock {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlock {
35
38
  block_type: "login";
36
39
  }
@@ -1,5 +1,5 @@
1
1
  import type * as Skyvern from "../index.mjs";
2
- export type WorkflowDefinitionYamlBlocksItem = Skyvern.WorkflowDefinitionYamlBlocksItem.Action | Skyvern.WorkflowDefinitionYamlBlocksItem.Code | Skyvern.WorkflowDefinitionYamlBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Extraction | Skyvern.WorkflowDefinitionYamlBlocksItem.FileDownload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUpload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionYamlBlocksItem.ForLoop | Skyvern.WorkflowDefinitionYamlBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionYamlBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionYamlBlocksItem.Login | Skyvern.WorkflowDefinitionYamlBlocksItem.Navigation | Skyvern.WorkflowDefinitionYamlBlocksItem.PdfParser | Skyvern.WorkflowDefinitionYamlBlocksItem.SendEmail | Skyvern.WorkflowDefinitionYamlBlocksItem.Task | Skyvern.WorkflowDefinitionYamlBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionYamlBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionYamlBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Validation | Skyvern.WorkflowDefinitionYamlBlocksItem.Wait;
2
+ export type WorkflowDefinitionYamlBlocksItem = Skyvern.WorkflowDefinitionYamlBlocksItem.Action | Skyvern.WorkflowDefinitionYamlBlocksItem.Code | Skyvern.WorkflowDefinitionYamlBlocksItem.DownloadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Extraction | Skyvern.WorkflowDefinitionYamlBlocksItem.FileDownload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUpload | Skyvern.WorkflowDefinitionYamlBlocksItem.FileUrlParser | Skyvern.WorkflowDefinitionYamlBlocksItem.ForLoop | Skyvern.WorkflowDefinitionYamlBlocksItem.GotoUrl | Skyvern.WorkflowDefinitionYamlBlocksItem.HttpRequest | Skyvern.WorkflowDefinitionYamlBlocksItem.HumanInteraction | Skyvern.WorkflowDefinitionYamlBlocksItem.Login | Skyvern.WorkflowDefinitionYamlBlocksItem.Navigation | Skyvern.WorkflowDefinitionYamlBlocksItem.PdfParser | Skyvern.WorkflowDefinitionYamlBlocksItem.SendEmail | Skyvern.WorkflowDefinitionYamlBlocksItem.Task | Skyvern.WorkflowDefinitionYamlBlocksItem.TaskV2 | Skyvern.WorkflowDefinitionYamlBlocksItem.TextPrompt | Skyvern.WorkflowDefinitionYamlBlocksItem.UploadToS3 | Skyvern.WorkflowDefinitionYamlBlocksItem.Validation | Skyvern.WorkflowDefinitionYamlBlocksItem.Wait;
3
3
  export declare namespace WorkflowDefinitionYamlBlocksItem {
4
4
  interface Action extends Skyvern.ActionBlockYaml {
5
5
  block_type: "action";
@@ -31,6 +31,9 @@ export declare namespace WorkflowDefinitionYamlBlocksItem {
31
31
  interface HttpRequest extends Skyvern.HttpRequestBlockYaml {
32
32
  block_type: "http_request";
33
33
  }
34
+ interface HumanInteraction extends Skyvern.HumanInteractionBlockYaml {
35
+ block_type: "human_interaction";
36
+ }
34
37
  interface Login extends Skyvern.LoginBlockYaml {
35
38
  block_type: "login";
36
39
  }
@@ -33,6 +33,9 @@ export interface WorkflowRunBlock {
33
33
  attachments?: string[];
34
34
  subject?: string;
35
35
  body?: string;
36
+ instructions?: string;
37
+ positive_descriptor?: string;
38
+ negative_descriptor?: string;
36
39
  }
37
40
  export declare namespace WorkflowRunBlock {
38
41
  type Output = Record<string, unknown> | unknown[] | string;
@@ -58,6 +58,9 @@ export * from "./HttpRequestBlock.mjs";
58
58
  export * from "./HttpRequestBlockParametersItem.mjs";
59
59
  export * from "./HttpRequestBlockYaml.mjs";
60
60
  export * from "./HttpValidationError.mjs";
61
+ export * from "./HumanInteractionBlock.mjs";
62
+ export * from "./HumanInteractionBlockParametersItem.mjs";
63
+ export * from "./HumanInteractionBlockYaml.mjs";
61
64
  export * from "./InputOrSelectContext.mjs";
62
65
  export * from "./LoginBlock.mjs";
63
66
  export * from "./LoginBlockParametersItem.mjs";
@@ -58,6 +58,9 @@ export * from "./HttpRequestBlock.mjs";
58
58
  export * from "./HttpRequestBlockParametersItem.mjs";
59
59
  export * from "./HttpRequestBlockYaml.mjs";
60
60
  export * from "./HttpValidationError.mjs";
61
+ export * from "./HumanInteractionBlock.mjs";
62
+ export * from "./HumanInteractionBlockParametersItem.mjs";
63
+ export * from "./HumanInteractionBlockYaml.mjs";
61
64
  export * from "./InputOrSelectContext.mjs";
62
65
  export * from "./LoginBlock.mjs";
63
66
  export * from "./LoginBlockParametersItem.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.20";
1
+ export declare const SDK_VERSION = "0.2.21";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.2.20";
1
+ export const SDK_VERSION = "0.2.21";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@skyvern/client",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "private": false,
5
- "repository": "github:Skyvern-AI/skyvern-typescript",
5
+ "repository": "github:Skyvern-AI/skyvern",
6
6
  "type": "commonjs",
7
7
  "main": "./dist/cjs/index.js",
8
8
  "module": "./dist/esm/index.mjs",