@skyvern/client 0.2.21 → 0.2.23

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 (159) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/Client.d.ts +33 -5
  3. package/dist/cjs/Client.js +134 -37
  4. package/dist/cjs/api/client/requests/CreateWorkflowRequest.d.ts +13 -0
  5. package/dist/cjs/api/client/requests/CreateWorkflowRequest.js +3 -0
  6. package/dist/cjs/api/client/requests/GetWorkflowsRequest.d.ts +6 -1
  7. package/dist/cjs/api/client/requests/RunSdkActionRequest.d.ts +22 -0
  8. package/dist/cjs/api/client/requests/RunSdkActionRequest.js +3 -0
  9. package/dist/cjs/api/client/requests/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/browserProfiles/client/Client.d.ts +69 -0
  11. package/dist/cjs/api/resources/browserProfiles/client/Client.js +309 -0
  12. package/dist/cjs/api/resources/browserProfiles/client/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/browserProfiles/client/index.js +17 -0
  14. package/dist/cjs/api/resources/browserProfiles/client/requests/CreateBrowserProfileRequest.d.ts +16 -0
  15. package/dist/cjs/api/resources/browserProfiles/client/requests/CreateBrowserProfileRequest.js +3 -0
  16. package/dist/cjs/api/resources/browserProfiles/client/requests/ListBrowserProfilesV1BrowserProfilesGetRequest.d.ts +10 -0
  17. package/dist/cjs/api/resources/browserProfiles/client/requests/ListBrowserProfilesV1BrowserProfilesGetRequest.js +3 -0
  18. package/dist/cjs/api/resources/browserProfiles/client/requests/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/browserProfiles/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/browserProfiles/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/browserProfiles/index.js +17 -0
  22. package/dist/cjs/api/resources/index.d.ts +4 -0
  23. package/dist/cjs/api/resources/index.js +8 -1
  24. package/dist/cjs/api/resources/scripts/client/Client.js +1 -1
  25. package/dist/cjs/api/resources/workflows/client/Client.d.ts +108 -0
  26. package/dist/cjs/api/resources/workflows/client/Client.js +465 -0
  27. package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/workflows/client/index.js +17 -0
  29. package/dist/cjs/api/resources/workflows/client/requests/DeleteFolderV1FoldersFolderIdDeleteRequest.d.ts +10 -0
  30. package/dist/cjs/api/resources/workflows/client/requests/DeleteFolderV1FoldersFolderIdDeleteRequest.js +3 -0
  31. package/dist/cjs/api/resources/workflows/client/requests/FolderCreate.d.ts +12 -0
  32. package/dist/cjs/api/resources/workflows/client/requests/FolderCreate.js +3 -0
  33. package/dist/cjs/api/resources/workflows/client/requests/FolderUpdate.d.ts +10 -0
  34. package/dist/cjs/api/resources/workflows/client/requests/FolderUpdate.js +3 -0
  35. package/dist/cjs/api/resources/workflows/client/requests/GetFoldersV1FoldersGetRequest.d.ts +16 -0
  36. package/dist/cjs/api/resources/workflows/client/requests/GetFoldersV1FoldersGetRequest.js +3 -0
  37. package/dist/cjs/api/resources/workflows/client/requests/UpdateWorkflowFolderRequest.d.ts +8 -0
  38. package/dist/cjs/api/resources/workflows/client/requests/UpdateWorkflowFolderRequest.js +3 -0
  39. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +5 -0
  40. package/dist/cjs/api/resources/workflows/client/requests/index.js +2 -0
  41. package/dist/cjs/api/resources/workflows/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/workflows/index.js +17 -0
  43. package/dist/cjs/api/types/ActAction.d.ts +15 -0
  44. package/dist/cjs/api/types/ActAction.js +3 -0
  45. package/dist/cjs/api/types/Action.d.ts +1 -0
  46. package/dist/cjs/api/types/BrowserProfile.d.ts +9 -0
  47. package/dist/cjs/api/types/BrowserProfile.js +3 -0
  48. package/dist/cjs/api/types/ClickAction.d.ts +19 -0
  49. package/dist/cjs/api/types/ClickAction.js +3 -0
  50. package/dist/cjs/api/types/ClickContext.d.ts +4 -0
  51. package/dist/cjs/api/types/ClickContext.js +3 -0
  52. package/dist/cjs/api/types/ExtractAction.d.ts +25 -0
  53. package/dist/cjs/api/types/ExtractAction.js +3 -0
  54. package/dist/cjs/api/types/Folder.d.ts +15 -0
  55. package/dist/cjs/api/types/Folder.js +3 -0
  56. package/dist/cjs/api/types/InputOrSelectContext.d.ts +1 -0
  57. package/dist/cjs/api/types/InputTextAction.d.ts +25 -0
  58. package/dist/cjs/api/types/InputTextAction.js +3 -0
  59. package/dist/cjs/api/types/RunSdkActionRequestAction.d.ts +25 -0
  60. package/dist/cjs/api/types/RunSdkActionRequestAction.js +3 -0
  61. package/dist/cjs/api/types/RunSdkActionResponse.d.ts +9 -0
  62. package/dist/cjs/api/types/RunSdkActionResponse.js +3 -0
  63. package/dist/cjs/api/types/SelectOptionAction.d.ts +21 -0
  64. package/dist/cjs/api/types/SelectOptionAction.js +3 -0
  65. package/dist/cjs/api/types/TaskRunResponse.d.ts +2 -0
  66. package/dist/cjs/api/types/UploadFileAction.d.ts +21 -0
  67. package/dist/cjs/api/types/UploadFileAction.js +3 -0
  68. package/dist/cjs/api/types/Workflow.d.ts +2 -0
  69. package/dist/cjs/api/types/WorkflowCreateYamlRequest.d.ts +1 -0
  70. package/dist/cjs/api/types/WorkflowRunRequest.d.ts +2 -0
  71. package/dist/cjs/api/types/WorkflowRunResponse.d.ts +2 -0
  72. package/dist/cjs/api/types/WorkflowStatus.d.ts +2 -0
  73. package/dist/cjs/api/types/WorkflowStatus.js +2 -0
  74. package/dist/cjs/api/types/index.d.ts +11 -0
  75. package/dist/cjs/api/types/index.js +11 -0
  76. package/dist/cjs/environments.d.ts +3 -3
  77. package/dist/cjs/environments.js +2 -2
  78. package/dist/cjs/version.d.ts +1 -1
  79. package/dist/cjs/version.js +1 -1
  80. package/dist/esm/Client.d.mts +33 -5
  81. package/dist/esm/Client.mjs +132 -35
  82. package/dist/esm/api/client/requests/CreateWorkflowRequest.d.mts +13 -0
  83. package/dist/esm/api/client/requests/CreateWorkflowRequest.mjs +2 -0
  84. package/dist/esm/api/client/requests/GetWorkflowsRequest.d.mts +6 -1
  85. package/dist/esm/api/client/requests/RunSdkActionRequest.d.mts +22 -0
  86. package/dist/esm/api/client/requests/RunSdkActionRequest.mjs +2 -0
  87. package/dist/esm/api/client/requests/index.d.mts +2 -0
  88. package/dist/esm/api/resources/browserProfiles/client/Client.d.mts +69 -0
  89. package/dist/esm/api/resources/browserProfiles/client/Client.mjs +272 -0
  90. package/dist/esm/api/resources/browserProfiles/client/index.d.mts +1 -0
  91. package/dist/esm/api/resources/browserProfiles/client/index.mjs +1 -0
  92. package/dist/esm/api/resources/browserProfiles/client/requests/CreateBrowserProfileRequest.d.mts +16 -0
  93. package/dist/esm/api/resources/browserProfiles/client/requests/CreateBrowserProfileRequest.mjs +2 -0
  94. package/dist/esm/api/resources/browserProfiles/client/requests/ListBrowserProfilesV1BrowserProfilesGetRequest.d.mts +10 -0
  95. package/dist/esm/api/resources/browserProfiles/client/requests/ListBrowserProfilesV1BrowserProfilesGetRequest.mjs +2 -0
  96. package/dist/esm/api/resources/browserProfiles/client/requests/index.d.mts +2 -0
  97. package/dist/esm/api/resources/browserProfiles/client/requests/index.mjs +1 -0
  98. package/dist/esm/api/resources/browserProfiles/index.d.mts +1 -0
  99. package/dist/esm/api/resources/browserProfiles/index.mjs +1 -0
  100. package/dist/esm/api/resources/index.d.mts +4 -0
  101. package/dist/esm/api/resources/index.mjs +4 -0
  102. package/dist/esm/api/resources/scripts/client/Client.mjs +1 -1
  103. package/dist/esm/api/resources/workflows/client/Client.d.mts +108 -0
  104. package/dist/esm/api/resources/workflows/client/Client.mjs +428 -0
  105. package/dist/esm/api/resources/workflows/client/index.d.mts +1 -0
  106. package/dist/esm/api/resources/workflows/client/index.mjs +1 -0
  107. package/dist/esm/api/resources/workflows/client/requests/DeleteFolderV1FoldersFolderIdDeleteRequest.d.mts +10 -0
  108. package/dist/esm/api/resources/workflows/client/requests/DeleteFolderV1FoldersFolderIdDeleteRequest.mjs +2 -0
  109. package/dist/esm/api/resources/workflows/client/requests/FolderCreate.d.mts +12 -0
  110. package/dist/esm/api/resources/workflows/client/requests/FolderCreate.mjs +2 -0
  111. package/dist/esm/api/resources/workflows/client/requests/FolderUpdate.d.mts +10 -0
  112. package/dist/esm/api/resources/workflows/client/requests/FolderUpdate.mjs +2 -0
  113. package/dist/esm/api/resources/workflows/client/requests/GetFoldersV1FoldersGetRequest.d.mts +16 -0
  114. package/dist/esm/api/resources/workflows/client/requests/GetFoldersV1FoldersGetRequest.mjs +2 -0
  115. package/dist/esm/api/resources/workflows/client/requests/UpdateWorkflowFolderRequest.d.mts +8 -0
  116. package/dist/esm/api/resources/workflows/client/requests/UpdateWorkflowFolderRequest.mjs +2 -0
  117. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +5 -0
  118. package/dist/esm/api/resources/workflows/client/requests/index.mjs +1 -0
  119. package/dist/esm/api/resources/workflows/index.d.mts +1 -0
  120. package/dist/esm/api/resources/workflows/index.mjs +1 -0
  121. package/dist/esm/api/types/ActAction.d.mts +15 -0
  122. package/dist/esm/api/types/ActAction.mjs +2 -0
  123. package/dist/esm/api/types/Action.d.mts +1 -0
  124. package/dist/esm/api/types/BrowserProfile.d.mts +9 -0
  125. package/dist/esm/api/types/BrowserProfile.mjs +2 -0
  126. package/dist/esm/api/types/ClickAction.d.mts +19 -0
  127. package/dist/esm/api/types/ClickAction.mjs +2 -0
  128. package/dist/esm/api/types/ClickContext.d.mts +4 -0
  129. package/dist/esm/api/types/ClickContext.mjs +2 -0
  130. package/dist/esm/api/types/ExtractAction.d.mts +25 -0
  131. package/dist/esm/api/types/ExtractAction.mjs +2 -0
  132. package/dist/esm/api/types/Folder.d.mts +15 -0
  133. package/dist/esm/api/types/Folder.mjs +2 -0
  134. package/dist/esm/api/types/InputOrSelectContext.d.mts +1 -0
  135. package/dist/esm/api/types/InputTextAction.d.mts +25 -0
  136. package/dist/esm/api/types/InputTextAction.mjs +2 -0
  137. package/dist/esm/api/types/RunSdkActionRequestAction.d.mts +25 -0
  138. package/dist/esm/api/types/RunSdkActionRequestAction.mjs +2 -0
  139. package/dist/esm/api/types/RunSdkActionResponse.d.mts +9 -0
  140. package/dist/esm/api/types/RunSdkActionResponse.mjs +2 -0
  141. package/dist/esm/api/types/SelectOptionAction.d.mts +21 -0
  142. package/dist/esm/api/types/SelectOptionAction.mjs +2 -0
  143. package/dist/esm/api/types/TaskRunResponse.d.mts +2 -0
  144. package/dist/esm/api/types/UploadFileAction.d.mts +21 -0
  145. package/dist/esm/api/types/UploadFileAction.mjs +2 -0
  146. package/dist/esm/api/types/Workflow.d.mts +2 -0
  147. package/dist/esm/api/types/WorkflowCreateYamlRequest.d.mts +1 -0
  148. package/dist/esm/api/types/WorkflowRunRequest.d.mts +2 -0
  149. package/dist/esm/api/types/WorkflowRunResponse.d.mts +2 -0
  150. package/dist/esm/api/types/WorkflowStatus.d.mts +2 -0
  151. package/dist/esm/api/types/WorkflowStatus.mjs +2 -0
  152. package/dist/esm/api/types/index.d.mts +11 -0
  153. package/dist/esm/api/types/index.mjs +11 -0
  154. package/dist/esm/environments.d.mts +3 -3
  155. package/dist/esm/environments.mjs +2 -2
  156. package/dist/esm/version.d.mts +1 -1
  157. package/dist/esm/version.mjs +1 -1
  158. package/package.json +12 -3
  159. package/reference.md +657 -11
@@ -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,19 @@
1
+ /**
2
+ * Click action parameters.
3
+ */
4
+ export interface ClickAction {
5
+ /** CSS selector for the element */
6
+ selector?: string;
7
+ /** The intention or goal of the click */
8
+ intention?: string;
9
+ /** Additional context data */
10
+ data?: ClickAction.Data;
11
+ /** Timeout in milliseconds */
12
+ timeout?: number;
13
+ }
14
+ export declare namespace ClickAction {
15
+ /**
16
+ * Additional context data
17
+ */
18
+ type Data = string | Record<string, unknown>;
19
+ }
@@ -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,4 @@
1
+ export interface ClickContext {
2
+ thought?: string;
3
+ single_option_click?: boolean;
4
+ }
@@ -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,25 @@
1
+ /**
2
+ * Extract data action parameters.
3
+ */
4
+ export interface ExtractAction {
5
+ /** Extraction prompt */
6
+ prompt?: string;
7
+ /** Schema for extraction */
8
+ extract_schema?: ExtractAction.ExtractSchema;
9
+ /** Error code mapping for extraction */
10
+ error_code_mapping?: Record<string, string | undefined>;
11
+ /** The intention or goal of the extraction */
12
+ intention?: string;
13
+ /** Additional context data */
14
+ data?: ExtractAction.Data;
15
+ }
16
+ export declare namespace ExtractAction {
17
+ /**
18
+ * Schema for extraction
19
+ */
20
+ type ExtractSchema = Record<string, unknown> | unknown[] | string;
21
+ /**
22
+ * Additional context data
23
+ */
24
+ type Data = string | Record<string, unknown>;
25
+ }
@@ -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,15 @@
1
+ /**
2
+ * Response model for a folder
3
+ */
4
+ export interface Folder {
5
+ /** Folder title */
6
+ title: string;
7
+ /** Folder description */
8
+ description?: string;
9
+ folder_id: string;
10
+ organization_id: string;
11
+ /** Number of workflows in this folder */
12
+ workflow_count?: number;
13
+ created_at: string;
14
+ modified_at: string;
15
+ }
@@ -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 });
@@ -5,4 +5,5 @@ export interface InputOrSelectContext {
5
5
  is_search_bar?: boolean;
6
6
  is_location_input?: boolean;
7
7
  is_date_related?: boolean;
8
+ date_format?: string;
8
9
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Input text action parameters.
3
+ */
4
+ export interface InputTextAction {
5
+ /** CSS selector for the element */
6
+ selector?: string;
7
+ /** Value to input */
8
+ value?: string;
9
+ /** The intention or goal of the input */
10
+ intention?: string;
11
+ /** Additional context data */
12
+ data?: InputTextAction.Data;
13
+ /** TOTP identifier for input_text actions */
14
+ totp_identifier?: string;
15
+ /** TOTP URL for input_text actions */
16
+ totp_url?: string;
17
+ /** Timeout in milliseconds */
18
+ timeout?: number;
19
+ }
20
+ export declare namespace InputTextAction {
21
+ /**
22
+ * Additional context data
23
+ */
24
+ type Data = string | Record<string, unknown>;
25
+ }
@@ -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,25 @@
1
+ import type * as Skyvern from "../index.js";
2
+ /**
3
+ * The action to execute with its specific parameters
4
+ */
5
+ export type RunSdkActionRequestAction = Skyvern.RunSdkActionRequestAction.AiAct | Skyvern.RunSdkActionRequestAction.AiClick | Skyvern.RunSdkActionRequestAction.AiInputText | Skyvern.RunSdkActionRequestAction.AiSelectOption | Skyvern.RunSdkActionRequestAction.AiUploadFile | Skyvern.RunSdkActionRequestAction.Extract;
6
+ export declare namespace RunSdkActionRequestAction {
7
+ interface AiAct extends Skyvern.ActAction {
8
+ type: "ai_act";
9
+ }
10
+ interface AiClick extends Skyvern.ClickAction {
11
+ type: "ai_click";
12
+ }
13
+ interface AiInputText extends Skyvern.InputTextAction {
14
+ type: "ai_input_text";
15
+ }
16
+ interface AiSelectOption extends Skyvern.SelectOptionAction {
17
+ type: "ai_select_option";
18
+ }
19
+ interface AiUploadFile extends Skyvern.UploadFileAction {
20
+ type: "ai_upload_file";
21
+ }
22
+ interface Extract extends Skyvern.ExtractAction {
23
+ type: "extract";
24
+ }
25
+ }
@@ -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,9 @@
1
+ /**
2
+ * Response from running an SDK action.
3
+ */
4
+ export interface RunSdkActionResponse {
5
+ /** The workflow run ID used for this action */
6
+ workflow_run_id: string;
7
+ /** The result from the action (e.g., selector, value, extracted data) */
8
+ result?: unknown;
9
+ }
@@ -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,21 @@
1
+ /**
2
+ * Select option action parameters.
3
+ */
4
+ export interface SelectOptionAction {
5
+ /** CSS selector for the element */
6
+ selector?: string;
7
+ /** Value to select */
8
+ value?: string;
9
+ /** The intention or goal of the selection */
10
+ intention?: string;
11
+ /** Additional context data */
12
+ data?: SelectOptionAction.Data;
13
+ /** Timeout in milliseconds */
14
+ timeout?: number;
15
+ }
16
+ export declare namespace SelectOptionAction {
17
+ /**
18
+ * Additional context data
19
+ */
20
+ type Data = string | Record<string, unknown>;
21
+ }
@@ -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 });
@@ -28,6 +28,8 @@ export interface TaskRunResponse {
28
28
  app_url?: string;
29
29
  /** ID of the Skyvern persistent browser session used for this run */
30
30
  browser_session_id?: string;
31
+ /** ID of the browser profile used for this run */
32
+ browser_profile_id?: string;
31
33
  /** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot */
32
34
  max_screenshot_scrolls?: number;
33
35
  /** The script run result */
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Upload file action parameters.
3
+ */
4
+ export interface UploadFileAction {
5
+ /** CSS selector for the element */
6
+ selector?: string;
7
+ /** File URL for upload */
8
+ file_url?: string;
9
+ /** The intention or goal of the upload */
10
+ intention?: string;
11
+ /** Additional context data */
12
+ data?: UploadFileAction.Data;
13
+ /** Timeout in milliseconds */
14
+ timeout?: number;
15
+ }
16
+ export declare namespace UploadFileAction {
17
+ /**
18
+ * Additional context data
19
+ */
20
+ type Data = string | Record<string, unknown>;
21
+ }
@@ -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 });
@@ -22,6 +22,8 @@ export interface Workflow {
22
22
  cache_key?: string;
23
23
  run_sequentially?: boolean;
24
24
  sequential_key?: string;
25
+ folder_id?: string;
26
+ import_error?: string;
25
27
  created_at: string;
26
28
  modified_at: string;
27
29
  deleted_at?: string;
@@ -18,4 +18,5 @@ export interface WorkflowCreateYamlRequest {
18
18
  cache_key?: string;
19
19
  run_sequentially?: boolean;
20
20
  sequential_key?: string;
21
+ folder_id?: string;
21
22
  }
@@ -43,6 +43,8 @@ export interface WorkflowRunRequest {
43
43
  totp_identifier?: string;
44
44
  /** ID of a Skyvern browser session to reuse, having it continue from the current screen state */
45
45
  browser_session_id?: string;
46
+ /** ID of a browser profile to reuse for this workflow run */
47
+ browser_profile_id?: string;
46
48
  /** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot. */
47
49
  max_screenshot_scrolls?: number;
48
50
  /** The extra HTTP headers for the requests in browser. */
@@ -28,6 +28,8 @@ export interface WorkflowRunResponse {
28
28
  app_url?: string;
29
29
  /** ID of the Skyvern persistent browser session used for this run */
30
30
  browser_session_id?: string;
31
+ /** ID of the browser profile used for this run */
32
+ browser_profile_id?: string;
31
33
  /** The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot */
32
34
  max_screenshot_scrolls?: number;
33
35
  /** The script run result */
@@ -2,5 +2,7 @@ export declare const WorkflowStatus: {
2
2
  readonly Published: "published";
3
3
  readonly Draft: "draft";
4
4
  readonly AutoGenerated: "auto_generated";
5
+ readonly Importing: "importing";
6
+ readonly ImportFailed: "import_failed";
5
7
  };
6
8
  export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
@@ -6,4 +6,6 @@ exports.WorkflowStatus = {
6
6
  Published: "published",
7
7
  Draft: "draft",
8
8
  AutoGenerated: "auto_generated",
9
+ Importing: "importing",
10
+ ImportFailed: "import_failed",
9
11
  };
@@ -1,3 +1,4 @@
1
+ export * from "./ActAction.js";
1
2
  export * from "./Action.js";
2
3
  export * from "./ActionBlock.js";
3
4
  export * from "./ActionBlockParametersItem.js";
@@ -18,7 +19,10 @@ export * from "./BitwardenLoginCredentialParameterYaml.js";
18
19
  export * from "./BitwardenSensitiveInformationParameter.js";
19
20
  export * from "./BitwardenSensitiveInformationParameterYaml.js";
20
21
  export * from "./BlockType.js";
22
+ export * from "./BrowserProfile.js";
21
23
  export * from "./BrowserSessionResponse.js";
24
+ export * from "./ClickAction.js";
25
+ export * from "./ClickContext.js";
22
26
  export * from "./CodeBlock.js";
23
27
  export * from "./CodeBlockParametersItem.js";
24
28
  export * from "./CodeBlockYaml.js";
@@ -33,6 +37,7 @@ export * from "./CredentialTypeOutput.js";
33
37
  export * from "./CreditCardCredentialResponse.js";
34
38
  export * from "./DownloadToS3Block.js";
35
39
  export * from "./DownloadToS3BlockYaml.js";
40
+ export * from "./ExtractAction.js";
36
41
  export * from "./ExtractionBlock.js";
37
42
  export * from "./ExtractionBlockParametersItem.js";
38
43
  export * from "./ExtractionBlockYaml.js";
@@ -48,6 +53,7 @@ export * from "./FileStorageType.js";
48
53
  export * from "./FileType.js";
49
54
  export * from "./FileUploadBlock.js";
50
55
  export * from "./FileUploadBlockYaml.js";
56
+ export * from "./Folder.js";
51
57
  export * from "./ForLoopBlock.js";
52
58
  export * from "./ForLoopBlockLoopBlocksItem.js";
53
59
  export * from "./ForLoopBlockLoopOver.js";
@@ -62,6 +68,7 @@ export * from "./HumanInteractionBlock.js";
62
68
  export * from "./HumanInteractionBlockParametersItem.js";
63
69
  export * from "./HumanInteractionBlockYaml.js";
64
70
  export * from "./InputOrSelectContext.js";
71
+ export * from "./InputTextAction.js";
65
72
  export * from "./LoginBlock.js";
66
73
  export * from "./LoginBlockParametersItem.js";
67
74
  export * from "./LoginBlockYaml.js";
@@ -80,11 +87,14 @@ export * from "./PdfParserBlock.js";
80
87
  export * from "./PdfParserBlockYaml.js";
81
88
  export * from "./ProxyLocation.js";
82
89
  export * from "./RunEngine.js";
90
+ export * from "./RunSdkActionRequestAction.js";
91
+ export * from "./RunSdkActionResponse.js";
83
92
  export * from "./RunStatus.js";
84
93
  export * from "./Script.js";
85
94
  export * from "./ScriptFileCreate.js";
86
95
  export * from "./ScriptRunResponse.js";
87
96
  export * from "./SelectOption.js";
97
+ export * from "./SelectOptionAction.js";
88
98
  export * from "./SendEmailBlock.js";
89
99
  export * from "./SendEmailBlockYaml.js";
90
100
  export * from "./SkyvernForgeSdkSchemasCredentialsCredentialType.js";
@@ -104,6 +114,7 @@ export * from "./ThoughtScenario.js";
104
114
  export * from "./ThoughtType.js";
105
115
  export * from "./TotpCode.js";
106
116
  export * from "./TotpType.js";
117
+ export * from "./UploadFileAction.js";
107
118
  export * from "./UploadToS3Block.js";
108
119
  export * from "./UploadToS3BlockYaml.js";
109
120
  export * from "./UrlBlock.js";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ActAction.js"), exports);
17
18
  __exportStar(require("./Action.js"), exports);
18
19
  __exportStar(require("./ActionBlock.js"), exports);
19
20
  __exportStar(require("./ActionBlockParametersItem.js"), exports);
@@ -34,7 +35,10 @@ __exportStar(require("./BitwardenLoginCredentialParameterYaml.js"), exports);
34
35
  __exportStar(require("./BitwardenSensitiveInformationParameter.js"), exports);
35
36
  __exportStar(require("./BitwardenSensitiveInformationParameterYaml.js"), exports);
36
37
  __exportStar(require("./BlockType.js"), exports);
38
+ __exportStar(require("./BrowserProfile.js"), exports);
37
39
  __exportStar(require("./BrowserSessionResponse.js"), exports);
40
+ __exportStar(require("./ClickAction.js"), exports);
41
+ __exportStar(require("./ClickContext.js"), exports);
38
42
  __exportStar(require("./CodeBlock.js"), exports);
39
43
  __exportStar(require("./CodeBlockParametersItem.js"), exports);
40
44
  __exportStar(require("./CodeBlockYaml.js"), exports);
@@ -49,6 +53,7 @@ __exportStar(require("./CredentialTypeOutput.js"), exports);
49
53
  __exportStar(require("./CreditCardCredentialResponse.js"), exports);
50
54
  __exportStar(require("./DownloadToS3Block.js"), exports);
51
55
  __exportStar(require("./DownloadToS3BlockYaml.js"), exports);
56
+ __exportStar(require("./ExtractAction.js"), exports);
52
57
  __exportStar(require("./ExtractionBlock.js"), exports);
53
58
  __exportStar(require("./ExtractionBlockParametersItem.js"), exports);
54
59
  __exportStar(require("./ExtractionBlockYaml.js"), exports);
@@ -64,6 +69,7 @@ __exportStar(require("./FileStorageType.js"), exports);
64
69
  __exportStar(require("./FileType.js"), exports);
65
70
  __exportStar(require("./FileUploadBlock.js"), exports);
66
71
  __exportStar(require("./FileUploadBlockYaml.js"), exports);
72
+ __exportStar(require("./Folder.js"), exports);
67
73
  __exportStar(require("./ForLoopBlock.js"), exports);
68
74
  __exportStar(require("./ForLoopBlockLoopBlocksItem.js"), exports);
69
75
  __exportStar(require("./ForLoopBlockLoopOver.js"), exports);
@@ -78,6 +84,7 @@ __exportStar(require("./HumanInteractionBlock.js"), exports);
78
84
  __exportStar(require("./HumanInteractionBlockParametersItem.js"), exports);
79
85
  __exportStar(require("./HumanInteractionBlockYaml.js"), exports);
80
86
  __exportStar(require("./InputOrSelectContext.js"), exports);
87
+ __exportStar(require("./InputTextAction.js"), exports);
81
88
  __exportStar(require("./LoginBlock.js"), exports);
82
89
  __exportStar(require("./LoginBlockParametersItem.js"), exports);
83
90
  __exportStar(require("./LoginBlockYaml.js"), exports);
@@ -96,11 +103,14 @@ __exportStar(require("./PdfParserBlock.js"), exports);
96
103
  __exportStar(require("./PdfParserBlockYaml.js"), exports);
97
104
  __exportStar(require("./ProxyLocation.js"), exports);
98
105
  __exportStar(require("./RunEngine.js"), exports);
106
+ __exportStar(require("./RunSdkActionRequestAction.js"), exports);
107
+ __exportStar(require("./RunSdkActionResponse.js"), exports);
99
108
  __exportStar(require("./RunStatus.js"), exports);
100
109
  __exportStar(require("./Script.js"), exports);
101
110
  __exportStar(require("./ScriptFileCreate.js"), exports);
102
111
  __exportStar(require("./ScriptRunResponse.js"), exports);
103
112
  __exportStar(require("./SelectOption.js"), exports);
113
+ __exportStar(require("./SelectOptionAction.js"), exports);
104
114
  __exportStar(require("./SendEmailBlock.js"), exports);
105
115
  __exportStar(require("./SendEmailBlockYaml.js"), exports);
106
116
  __exportStar(require("./SkyvernForgeSdkSchemasCredentialsCredentialType.js"), exports);
@@ -120,6 +130,7 @@ __exportStar(require("./ThoughtScenario.js"), exports);
120
130
  __exportStar(require("./ThoughtType.js"), exports);
121
131
  __exportStar(require("./TotpCode.js"), exports);
122
132
  __exportStar(require("./TotpType.js"), exports);
133
+ __exportStar(require("./UploadFileAction.js"), exports);
123
134
  __exportStar(require("./UploadToS3Block.js"), exports);
124
135
  __exportStar(require("./UploadToS3BlockYaml.js"), exports);
125
136
  __exportStar(require("./UrlBlock.js"), exports);
@@ -1,6 +1,6 @@
1
1
  export declare const SkyvernEnvironment: {
2
- readonly Production: "https://api.skyvern.com";
2
+ readonly Cloud: "https://api.skyvern.com";
3
3
  readonly Staging: "https://api-staging.skyvern.com";
4
- readonly Development: "http://localhost:8000";
4
+ readonly Local: "http://localhost:8000";
5
5
  };
6
- export type SkyvernEnvironment = typeof SkyvernEnvironment.Production | typeof SkyvernEnvironment.Staging | typeof SkyvernEnvironment.Development;
6
+ export type SkyvernEnvironment = typeof SkyvernEnvironment.Cloud | typeof SkyvernEnvironment.Staging | typeof SkyvernEnvironment.Local;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.SkyvernEnvironment = void 0;
5
5
  exports.SkyvernEnvironment = {
6
- Production: "https://api.skyvern.com",
6
+ Cloud: "https://api.skyvern.com",
7
7
  Staging: "https://api-staging.skyvern.com",
8
- Development: "http://localhost:8000",
8
+ Local: "http://localhost:8000",
9
9
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.2.21";
1
+ export declare const SDK_VERSION = "0.2.23";
@@ -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.21";
4
+ exports.SDK_VERSION = "0.2.23";
@@ -1,5 +1,7 @@
1
1
  import * as Skyvern from "./api/index.mjs";
2
+ import { BrowserProfiles } from "./api/resources/browserProfiles/client/Client.mjs";
2
3
  import { Scripts } from "./api/resources/scripts/client/Client.mjs";
4
+ import { Workflows } from "./api/resources/workflows/client/Client.mjs";
3
5
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
4
6
  import * as core from "./core/index.mjs";
5
7
  export declare namespace SkyvernClient {
@@ -10,8 +12,12 @@ export declare namespace SkyvernClient {
10
12
  }
11
13
  export declare class SkyvernClient {
12
14
  protected readonly _options: SkyvernClient.Options;
15
+ protected _workflows: Workflows | undefined;
16
+ protected _browserProfiles: BrowserProfiles | undefined;
13
17
  protected _scripts: Scripts | undefined;
14
18
  constructor(_options?: SkyvernClient.Options);
19
+ get workflows(): Workflows;
20
+ get browserProfiles(): BrowserProfiles;
15
21
  get scripts(): Scripts;
16
22
  /**
17
23
  * Run a task
@@ -84,8 +90,8 @@ export declare class SkyvernClient {
84
90
  * Get all workflows with the latest version for the organization.
85
91
  *
86
92
  * Search semantics:
87
- * - If `search_key` is provided, its value is used as a unified search term for both
88
- * `workflows.title` and workflow parameter metadata (key, description, and default_value for
93
+ * - If `search_key` is provided, its value is used as a unified search term for
94
+ * `workflows.title`, `folders.title`, and workflow parameter metadata (key, description, and default_value for
89
95
  * `WorkflowParameterModel`).
90
96
  * - Falls back to deprecated `title` (title-only search) if `search_key` is not provided.
91
97
  * - Parameter metadata search excludes soft-deleted parameter rows across all parameter tables.
@@ -103,6 +109,7 @@ export declare class SkyvernClient {
103
109
  * only_workflows: true,
104
110
  * search_key: "search_key",
105
111
  * title: "title",
112
+ * folder_id: "folder_id",
106
113
  * template: true
107
114
  * })
108
115
  */
@@ -111,15 +118,18 @@ export declare class SkyvernClient {
111
118
  /**
112
119
  * Create a new workflow
113
120
  *
114
- * @param {Skyvern.WorkflowRequest} request
121
+ * @param {Skyvern.CreateWorkflowRequest} request
115
122
  * @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
116
123
  *
117
124
  * @throws {@link Skyvern.UnprocessableEntityError}
118
125
  *
119
126
  * @example
120
- * await client.createWorkflow({})
127
+ * await client.createWorkflow({
128
+ * folder_id: "folder_id",
129
+ * body: {}
130
+ * })
121
131
  */
122
- createWorkflow(request: Skyvern.WorkflowRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
132
+ createWorkflow(request: Skyvern.CreateWorkflowRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.Workflow>;
123
133
  private __createWorkflow;
124
134
  /**
125
135
  * Update a workflow
@@ -415,4 +425,22 @@ export declare class SkyvernClient {
415
425
  */
416
426
  deployScript(scriptId: string, request: Skyvern.DeployScriptRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.CreateScriptResponse>;
417
427
  private __deployScript;
428
+ /**
429
+ * Execute a single SDK action with the specified parameters
430
+ *
431
+ * @param {Skyvern.RunSdkActionRequest} request
432
+ * @param {SkyvernClient.RequestOptions} requestOptions - Request-specific configuration.
433
+ *
434
+ * @throws {@link Skyvern.UnprocessableEntityError}
435
+ *
436
+ * @example
437
+ * await client.runSdkAction({
438
+ * url: "url",
439
+ * action: {
440
+ * type: "ai_act"
441
+ * }
442
+ * })
443
+ */
444
+ runSdkAction(request: Skyvern.RunSdkActionRequest, requestOptions?: SkyvernClient.RequestOptions): core.HttpResponsePromise<Skyvern.RunSdkActionResponse>;
445
+ private __runSdkAction;
418
446
  }