@airtop/sdk 0.1.35-beta0 → 0.1.36
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/Client.d.ts +0 -3
- package/Client.js +6 -11
- package/README.md +10 -9
- package/api/resources/automations/client/Client.d.ts +8 -8
- package/api/resources/automations/client/Client.js +12 -12
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- package/api/resources/profiles/client/Client.js +1 -1
- package/api/resources/requests/client/Client.js +1 -1
- package/api/resources/sessions/client/Client.d.ts +0 -10
- package/api/resources/sessions/client/Client.js +6 -52
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.d.ts +39 -99
- package/api/resources/windows/client/Client.js +125 -400
- package/{dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
- package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
- package/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/index.d.ts +4 -9
- package/api/types/index.d.ts +0 -20
- package/api/types/index.js +0 -20
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +6 -11
- package/dist/api/resources/automations/client/Client.d.ts +8 -8
- package/dist/api/resources/automations/client/Client.js +12 -12
- package/dist/api/resources/index.d.ts +0 -3
- package/dist/api/resources/index.js +1 -4
- package/dist/api/resources/profiles/client/Client.js +1 -1
- package/dist/api/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/sessions/client/Client.d.ts +0 -10
- package/dist/api/resources/sessions/client/Client.js +6 -52
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.d.ts +39 -99
- package/dist/api/resources/windows/client/Client.js +125 -400
- package/{api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
- package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
- package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +4 -9
- package/dist/api/types/index.d.ts +0 -20
- package/dist/api/types/index.js +0 -20
- package/dist/serialization/resources/index.d.ts +0 -3
- package/dist/serialization/resources/index.js +1 -4
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -1
- package/dist/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → AsyncCreateFormFillerRequest.d.ts} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
- package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts → dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.js → AsyncFillFormRequest.js} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncPageQueryRequest.d.ts → CreateFormFillerRequest.d.ts} +4 -6
- package/dist/serialization/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +4 -6
- package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.d.ts → FillFormRequest.d.ts} +4 -5
- package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.js → dist/serialization/resources/windows/client/requests/FillFormRequest.js} +4 -5
- package/dist/serialization/resources/windows/client/requests/index.d.ts +4 -9
- package/dist/serialization/resources/windows/client/requests/index.js +9 -19
- package/dist/serialization/types/index.d.ts +0 -20
- package/dist/serialization/types/index.js +0 -20
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AirtopClient.d.ts +1 -3
- package/dist/wrapper/AirtopClient.js +3 -5
- package/dist/wrapper/AirtopRequests.js +1 -1
- package/dist/wrapper/AirtopWindows.d.ts +27 -1
- package/dist/wrapper/AirtopWindows.js +40 -0
- package/package.json +2 -3
- package/reference.md +257 -1274
- package/serialization/resources/index.d.ts +0 -3
- package/serialization/resources/index.js +1 -4
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -1
- package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
- package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → AsyncFillFormRequest.d.ts} +4 -4
- package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js → serialization/resources/windows/client/requests/AsyncFillFormRequest.js} +4 -4
- package/{dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts → serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts} +4 -6
- package/{dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → serialization/resources/windows/client/requests/CreateFormFillerRequest.js} +4 -5
- package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts → serialization/resources/windows/client/requests/FillFormRequest.d.ts} +4 -4
- package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.js → FillFormRequest.js} +4 -4
- package/serialization/resources/windows/client/requests/index.d.ts +4 -9
- package/serialization/resources/windows/client/requests/index.js +9 -19
- package/serialization/types/index.d.ts +0 -20
- package/serialization/types/index.js +0 -20
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AirtopClient.d.ts +1 -3
- package/wrapper/AirtopClient.js +3 -5
- package/wrapper/AirtopRequests.js +1 -1
- package/wrapper/AirtopWindows.d.ts +27 -1
- package/wrapper/AirtopWindows.js +40 -0
- package/api/resources/files/client/Client.d.ts +0 -69
- package/api/resources/files/client/Client.js +0 -286
- package/api/resources/files/client/index.d.ts +0 -1
- package/api/resources/files/client/index.js +0 -17
- package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/api/resources/files/client/requests/index.d.ts +0 -2
- package/api/resources/files/client/requests/index.js +0 -2
- package/api/resources/files/index.d.ts +0 -2
- package/api/resources/files/index.js +0 -18
- package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/api/resources/files/types/index.d.ts +0 -1
- package/api/resources/files/types/index.js +0 -17
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/api/types/CreateFileV1.d.ts +0 -24
- package/api/types/CreateFileV1.js +0 -5
- package/api/types/CreateFileV1FileType.d.ts +0 -13
- package/api/types/CreateFileV1FileType.js +0 -12
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/api/types/ExtensionConfigurationOutput.js +0 -5
- package/api/types/ExternalFile.d.ts +0 -33
- package/api/types/ExternalFile.js +0 -5
- package/api/types/FilesResponse.d.ts +0 -10
- package/api/types/FilesResponse.js +0 -5
- package/api/types/FilesWithPagination.d.ts +0 -10
- package/api/types/FilesWithPagination.js +0 -5
- package/api/types/GetFileV1.d.ts +0 -24
- package/api/types/GetFileV1.js +0 -5
- package/api/types/GetFileV1FileType.d.ts +0 -13
- package/api/types/GetFileV1FileType.js +0 -12
- package/dist/api/resources/files/client/Client.d.ts +0 -69
- package/dist/api/resources/files/client/Client.js +0 -286
- package/dist/api/resources/files/client/index.d.ts +0 -1
- package/dist/api/resources/files/client/index.js +0 -17
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
- package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
- package/dist/api/resources/files/client/requests/index.d.ts +0 -2
- package/dist/api/resources/files/client/requests/index.js +0 -2
- package/dist/api/resources/files/index.d.ts +0 -2
- package/dist/api/resources/files/index.js +0 -18
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/dist/api/resources/files/types/index.d.ts +0 -1
- package/dist/api/resources/files/types/index.js +0 -17
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/dist/api/types/CreateFileV1.d.ts +0 -24
- package/dist/api/types/CreateFileV1.js +0 -5
- package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
- package/dist/api/types/CreateFileV1FileType.js +0 -12
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
- package/dist/api/types/ExternalFile.d.ts +0 -33
- package/dist/api/types/ExternalFile.js +0 -5
- package/dist/api/types/FilesResponse.d.ts +0 -10
- package/dist/api/types/FilesResponse.js +0 -5
- package/dist/api/types/FilesWithPagination.d.ts +0 -10
- package/dist/api/types/FilesWithPagination.js +0 -5
- package/dist/api/types/GetFileV1.d.ts +0 -24
- package/dist/api/types/GetFileV1.js +0 -5
- package/dist/api/types/GetFileV1FileType.d.ts +0 -13
- package/dist/api/types/GetFileV1FileType.js +0 -12
- package/dist/serialization/resources/files/client/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/index.js +0 -17
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/requests/index.js +0 -5
- package/dist/serialization/resources/files/index.d.ts +0 -2
- package/dist/serialization/resources/files/index.js +0 -18
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/dist/serialization/resources/files/types/index.d.ts +0 -1
- package/dist/serialization/resources/files/types/index.js +0 -17
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/dist/serialization/types/CreateFileV1.d.ts +0 -21
- package/dist/serialization/types/CreateFileV1.js +0 -52
- package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/CreateFileV1FileType.js +0 -41
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/ExternalFile.d.ts +0 -25
- package/dist/serialization/types/ExternalFile.js +0 -56
- package/dist/serialization/types/FilesResponse.d.ts +0 -18
- package/dist/serialization/types/FilesResponse.js +0 -49
- package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
- package/dist/serialization/types/FilesWithPagination.js +0 -46
- package/dist/serialization/types/GetFileV1.d.ts +0 -21
- package/dist/serialization/types/GetFileV1.js +0 -52
- package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/GetFileV1FileType.js +0 -41
- package/dist/wrapper/AirtopFiles.d.ts +0 -38
- package/dist/wrapper/AirtopFiles.js +0 -151
- package/serialization/resources/files/client/index.d.ts +0 -1
- package/serialization/resources/files/client/index.js +0 -17
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/serialization/resources/files/client/requests/index.js +0 -5
- package/serialization/resources/files/index.d.ts +0 -2
- package/serialization/resources/files/index.js +0 -18
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/serialization/resources/files/types/index.d.ts +0 -1
- package/serialization/resources/files/types/index.js +0 -17
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/serialization/types/CreateFileV1.d.ts +0 -21
- package/serialization/types/CreateFileV1.js +0 -52
- package/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/serialization/types/CreateFileV1FileType.js +0 -41
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/ExternalFile.d.ts +0 -25
- package/serialization/types/ExternalFile.js +0 -56
- package/serialization/types/FilesResponse.d.ts +0 -18
- package/serialization/types/FilesResponse.js +0 -49
- package/serialization/types/FilesWithPagination.d.ts +0 -15
- package/serialization/types/FilesWithPagination.js +0 -46
- package/serialization/types/GetFileV1.d.ts +0 -21
- package/serialization/types/GetFileV1.js +0 -52
- package/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/serialization/types/GetFileV1FileType.js +0 -41
- package/wrapper/AirtopFiles.d.ts +0 -38
- package/wrapper/AirtopFiles.js +0 -151
- /package/api/resources/{files/client/requests/CreateFileRestInputV1.js → windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
- /package/api/resources/{files/client/requests/FilesListRequest.js → windows/client/requests/AsyncFillFormRequest.js} +0 -0
- /package/api/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +0 -0
- /package/api/resources/windows/client/requests/{AsyncHoverRequest.js → FillFormRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPageQueryRequest.js → dist/api/resources/windows/client/requests/AsyncFillFormRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → dist/api/resources/windows/client/requests/CreateFormFillerRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPromptContentRequest.js → dist/api/resources/windows/client/requests/FillFormRequest.js} +0 -0
@@ -1,11 +1,8 @@
|
|
1
1
|
export * as windows from "./windows";
|
2
2
|
export * from "./windows/types";
|
3
|
-
export * as files from "./files";
|
4
|
-
export * from "./files/types";
|
5
3
|
export * as sessions from "./sessions";
|
6
4
|
export * from "./sessions/types";
|
7
5
|
export * from "./windows/client/requests";
|
8
6
|
export * as automations from "./automations";
|
9
7
|
export * from "./automations/client/requests";
|
10
|
-
export * from "./files/client/requests";
|
11
8
|
export * from "./sessions/client/requests";
|
@@ -36,15 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
37
37
|
};
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.automations = exports.sessions = exports.
|
39
|
+
exports.automations = exports.sessions = exports.windows = void 0;
|
40
40
|
exports.windows = __importStar(require("./windows"));
|
41
41
|
__exportStar(require("./windows/types"), exports);
|
42
|
-
exports.files = __importStar(require("./files"));
|
43
|
-
__exportStar(require("./files/types"), exports);
|
44
42
|
exports.sessions = __importStar(require("./sessions"));
|
45
43
|
__exportStar(require("./sessions/types"), exports);
|
46
44
|
__exportStar(require("./windows/client/requests"), exports);
|
47
45
|
exports.automations = __importStar(require("./automations"));
|
48
46
|
__exportStar(require("./automations/client/requests"), exports);
|
49
|
-
__exportStar(require("./files/client/requests"), exports);
|
50
47
|
__exportStar(require("./sessions/client/requests"), exports);
|
@@ -4,16 +4,13 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
8
7
|
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
9
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
10
9
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
|
+
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
11
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
12
12
|
export declare namespace SessionsEventsResponse {
|
13
|
-
type Raw = SessionsEventsResponse.
|
14
|
-
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
15
|
-
event: "sessionEvent";
|
16
|
-
}
|
13
|
+
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
|
17
14
|
interface Status extends SessionsEventsResponseStatus.Raw {
|
18
15
|
event: "status";
|
19
16
|
}
|
@@ -23,4 +20,7 @@ export declare namespace SessionsEventsResponse {
|
|
23
20
|
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
24
21
|
event: "windowEvent";
|
25
22
|
}
|
23
|
+
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
24
|
+
event: "sessionEvent";
|
25
|
+
}
|
26
26
|
}
|
@@ -38,16 +38,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.SessionsEventsResponse = void 0;
|
40
40
|
const core = __importStar(require("../../../../core"));
|
41
|
-
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
42
41
|
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
43
42
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
44
43
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
44
|
+
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
45
45
|
exports.SessionsEventsResponse = core.serialization
|
46
46
|
.union("event", {
|
47
|
-
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
48
47
|
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
49
48
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
50
49
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
50
|
+
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
51
51
|
})
|
52
52
|
.transform({
|
53
53
|
transform: (value) => value,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
3
2
|
export * from "./SessionsEventsResponseStatus";
|
4
3
|
export * from "./SessionsEventsResponseError";
|
5
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../index";
|
5
|
+
import * as Airtop from "../../../../../api/index";
|
6
|
+
import * as core from "../../../../../core";
|
7
|
+
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
+
import { CreateAutomationRequestBodyConfiguration } from "../../../../types/CreateAutomationRequestBodyConfiguration";
|
9
|
+
export declare const AsyncCreateFormFillerRequest: core.serialization.Schema<serializers.AsyncCreateFormFillerRequest.Raw, Airtop.AsyncCreateFormFillerRequest>;
|
10
|
+
export declare namespace AsyncCreateFormFillerRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: CreateAutomationRequestBodyConfiguration.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
timeThresholdSeconds?: number | null;
|
17
|
+
}
|
18
|
+
}
|
@@ -36,15 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
36
36
|
};
|
37
37
|
})();
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.
|
39
|
+
exports.AsyncCreateFormFillerRequest = void 0;
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
41
41
|
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
const
|
43
|
-
exports.
|
42
|
+
const CreateAutomationRequestBodyConfiguration_1 = require("../../../../types/CreateAutomationRequestBodyConfiguration");
|
43
|
+
exports.AsyncCreateFormFillerRequest = core.serialization.object({
|
44
44
|
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
45
|
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration:
|
46
|
+
configuration: CreateAutomationRequestBodyConfiguration_1.CreateAutomationRequestBodyConfiguration.optional(),
|
47
47
|
costThresholdCredits: core.serialization.number().optional(),
|
48
|
-
prompt: core.serialization.string().optional(),
|
49
48
|
timeThresholdSeconds: core.serialization.number().optional(),
|
50
49
|
});
|
@@ -5,14 +5,14 @@ import * as serializers from "../../../../index";
|
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
|
9
|
-
export declare
|
10
|
-
export declare namespace AsyncScreenshotRequest {
|
8
|
+
export declare const AsyncFillFormRequest: core.serialization.Schema<serializers.AsyncFillFormRequest.Raw, Airtop.AsyncFillFormRequest>;
|
9
|
+
export declare namespace AsyncFillFormRequest {
|
11
10
|
interface Raw {
|
12
11
|
async?: AsyncConfig.Raw | null;
|
12
|
+
automationId: string;
|
13
13
|
clientRequestId?: string | null;
|
14
|
-
configuration?: ScreenshotRequestConfig.Raw | null;
|
15
14
|
costThresholdCredits?: number | null;
|
15
|
+
parameters?: Record<string, unknown> | null;
|
16
16
|
timeThresholdSeconds?: number | null;
|
17
17
|
}
|
18
18
|
}
|
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
36
36
|
};
|
37
37
|
})();
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.
|
39
|
+
exports.AsyncFillFormRequest = void 0;
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
41
41
|
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
|
43
|
-
exports.AsyncScreenshotRequest = core.serialization.object({
|
42
|
+
exports.AsyncFillFormRequest = core.serialization.object({
|
44
43
|
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
+
automationId: core.serialization.string(),
|
45
45
|
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration: ScreenshotRequestConfig_1.ScreenshotRequestConfig.optional(),
|
47
46
|
costThresholdCredits: core.serialization.number().optional(),
|
47
|
+
parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
48
48
|
timeThresholdSeconds: core.serialization.number().optional(),
|
49
49
|
});
|
@@ -5,16 +5,14 @@ import * as serializers from "../../../../index";
|
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
import {
|
9
|
-
export declare const
|
10
|
-
export declare namespace
|
8
|
+
import { CreateAutomationRequestBodyConfiguration } from "../../../../types/CreateAutomationRequestBodyConfiguration";
|
9
|
+
export declare const CreateFormFillerRequest: core.serialization.Schema<serializers.CreateFormFillerRequest.Raw, Airtop.CreateFormFillerRequest>;
|
10
|
+
export declare namespace CreateFormFillerRequest {
|
11
11
|
interface Raw {
|
12
12
|
async?: AsyncConfig.Raw | null;
|
13
13
|
clientRequestId?: string | null;
|
14
|
-
configuration?:
|
14
|
+
configuration?: CreateAutomationRequestBodyConfiguration.Raw | null;
|
15
15
|
costThresholdCredits?: number | null;
|
16
|
-
elementDescription: string;
|
17
16
|
timeThresholdSeconds?: number | null;
|
18
|
-
waitForNavigation?: boolean | null;
|
19
17
|
}
|
20
18
|
}
|
@@ -36,15 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
36
36
|
};
|
37
37
|
})();
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.
|
39
|
+
exports.CreateFormFillerRequest = void 0;
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
41
41
|
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
const
|
43
|
-
exports.
|
42
|
+
const CreateAutomationRequestBodyConfiguration_1 = require("../../../../types/CreateAutomationRequestBodyConfiguration");
|
43
|
+
exports.CreateFormFillerRequest = core.serialization.object({
|
44
44
|
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
45
|
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration:
|
46
|
+
configuration: CreateAutomationRequestBodyConfiguration_1.CreateAutomationRequestBodyConfiguration.optional(),
|
47
47
|
costThresholdCredits: core.serialization.number().optional(),
|
48
|
-
prompt: core.serialization.string(),
|
49
48
|
timeThresholdSeconds: core.serialization.number().optional(),
|
50
49
|
});
|
@@ -5,14 +5,14 @@ import * as serializers from "../../../../index";
|
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
|
9
|
-
export declare
|
10
|
-
export declare namespace AsyncScreenshotRequest {
|
8
|
+
export declare const FillFormRequest: core.serialization.Schema<serializers.FillFormRequest.Raw, Airtop.FillFormRequest>;
|
9
|
+
export declare namespace FillFormRequest {
|
11
10
|
interface Raw {
|
12
11
|
async?: AsyncConfig.Raw | null;
|
12
|
+
automationId: string;
|
13
13
|
clientRequestId?: string | null;
|
14
|
-
configuration?: ScreenshotRequestConfig.Raw | null;
|
15
14
|
costThresholdCredits?: number | null;
|
15
|
+
parameters?: Record<string, unknown> | null;
|
16
16
|
timeThresholdSeconds?: number | null;
|
17
17
|
}
|
18
18
|
}
|
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
36
36
|
};
|
37
37
|
})();
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.
|
39
|
+
exports.FillFormRequest = void 0;
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
41
41
|
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
|
43
|
-
exports.AsyncScreenshotRequest = core.serialization.object({
|
42
|
+
exports.FillFormRequest = core.serialization.object({
|
44
43
|
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
+
automationId: core.serialization.string(),
|
45
45
|
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration: ScreenshotRequestConfig_1.ScreenshotRequestConfig.optional(),
|
47
46
|
costThresholdCredits: core.serialization.number().optional(),
|
47
|
+
parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
48
48
|
timeThresholdSeconds: core.serialization.number().optional(),
|
49
49
|
});
|
@@ -1,17 +1,12 @@
|
|
1
|
-
export { AsyncClickRequest } from "./AsyncClickRequest";
|
2
1
|
export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
|
2
|
+
export { AsyncCreateFormFillerRequest } from "./AsyncCreateFormFillerRequest";
|
3
3
|
export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
|
4
|
-
export {
|
5
|
-
export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
|
6
|
-
export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
|
7
|
-
export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
|
8
|
-
export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
|
9
|
-
export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
|
10
|
-
export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
|
11
|
-
export { AsyncTypeRequest } from "./AsyncTypeRequest";
|
4
|
+
export { AsyncFillFormRequest } from "./AsyncFillFormRequest";
|
12
5
|
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
13
6
|
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
14
7
|
export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
|
8
|
+
export { CreateFormFillerRequest } from "./CreateFormFillerRequest";
|
9
|
+
export { FillFormRequest } from "./FillFormRequest";
|
15
10
|
export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
|
16
11
|
export { SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
|
17
12
|
export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
|
@@ -1,34 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.
|
4
|
-
var AsyncClickRequest_1 = require("./AsyncClickRequest");
|
5
|
-
Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.FillFormRequest = exports.CreateFormFillerRequest = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncFillFormRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateFormFillerRequest = exports.AsyncCreateAutomationRequest = void 0;
|
6
4
|
var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
|
7
5
|
Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
|
6
|
+
var AsyncCreateFormFillerRequest_1 = require("./AsyncCreateFormFillerRequest");
|
7
|
+
Object.defineProperty(exports, "AsyncCreateFormFillerRequest", { enumerable: true, get: function () { return AsyncCreateFormFillerRequest_1.AsyncCreateFormFillerRequest; } });
|
8
8
|
var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest");
|
9
9
|
Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
|
10
|
-
var
|
11
|
-
Object.defineProperty(exports, "
|
12
|
-
var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
|
13
|
-
Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
|
14
|
-
var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
|
15
|
-
Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
|
16
|
-
var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
|
17
|
-
Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
|
18
|
-
var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
|
19
|
-
Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
|
20
|
-
var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
|
21
|
-
Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
|
22
|
-
var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
|
23
|
-
Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
|
24
|
-
var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
|
25
|
-
Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
|
10
|
+
var AsyncFillFormRequest_1 = require("./AsyncFillFormRequest");
|
11
|
+
Object.defineProperty(exports, "AsyncFillFormRequest", { enumerable: true, get: function () { return AsyncFillFormRequest_1.AsyncFillFormRequest; } });
|
26
12
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
27
13
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
28
14
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
29
15
|
Object.defineProperty(exports, "WindowLoadUrlV1Body", { enumerable: true, get: function () { return WindowLoadUrlV1Body_1.WindowLoadUrlV1Body; } });
|
30
16
|
var SessionClickHandlerRequestBody_1 = require("./SessionClickHandlerRequestBody");
|
31
17
|
Object.defineProperty(exports, "SessionClickHandlerRequestBody", { enumerable: true, get: function () { return SessionClickHandlerRequestBody_1.SessionClickHandlerRequestBody; } });
|
18
|
+
var CreateFormFillerRequest_1 = require("./CreateFormFillerRequest");
|
19
|
+
Object.defineProperty(exports, "CreateFormFillerRequest", { enumerable: true, get: function () { return CreateFormFillerRequest_1.CreateFormFillerRequest; } });
|
20
|
+
var FillFormRequest_1 = require("./FillFormRequest");
|
21
|
+
Object.defineProperty(exports, "FillFormRequest", { enumerable: true, get: function () { return FillFormRequest_1.FillFormRequest; } });
|
32
22
|
var SessionHoverHandlerRequestBody_1 = require("./SessionHoverHandlerRequestBody");
|
33
23
|
Object.defineProperty(exports, "SessionHoverHandlerRequestBody", { enumerable: true, get: function () { return SessionHoverHandlerRequestBody_1.SessionHoverHandlerRequestBody; } });
|
34
24
|
var SessionMonitorHandlerRequestBody_1 = require("./SessionMonitorHandlerRequestBody");
|
@@ -9,37 +9,17 @@ export * from "./ClickConfigClickType";
|
|
9
9
|
export * from "./ClickConfig";
|
10
10
|
export * from "./ClientProvidedResponseMetadata";
|
11
11
|
export * from "./CreateAutomationRequestBodyConfiguration";
|
12
|
-
export * from "./CreateFileV1FileType";
|
13
|
-
export * from "./CreateFileV1";
|
14
12
|
export * from "./DeleteAutomationOutputWrapperBody";
|
15
|
-
export * from "./EnvelopeCreateFileV1EnvelopeDefaultMeta";
|
16
|
-
export * from "./CreateAutomationRequestBodyConfiguration";
|
17
|
-
export * from "./CreateFileV1FileType";
|
18
|
-
export * from "./CreateFileV1";
|
19
|
-
export * from "./DeleteAutomationOutputWrapperBody";
|
20
|
-
export * from "./EnvelopeCreateFileV1EnvelopeDefaultMeta";
|
21
13
|
export * from "./EnvelopeDefaultMeta";
|
22
|
-
export * from "./EnvelopeGetFileV1EnvelopeDefaultMeta";
|
23
|
-
export * from "./EnvelopeGetFileV1EnvelopeDefaultMeta";
|
24
14
|
export * from "./ErrorBody";
|
25
15
|
export * from "./ErrorDetail";
|
26
16
|
export * from "./ErrorMessage";
|
27
17
|
export * from "./ErrorModel";
|
28
|
-
export * from "./ExternalFile";
|
29
|
-
export * from "./ExternalFile";
|
30
18
|
export * from "./ExternalSessionAiResponseMetadataStatus";
|
31
19
|
export * from "./ExternalSessionAiResponseMetadata";
|
32
20
|
export * from "./ExternalSessionAiResponseMetadataUsage";
|
33
21
|
export * from "./ExternalSessionConfig";
|
34
22
|
export * from "./ExternalSessionWithConnectionInfo";
|
35
|
-
export * from "./FilesResponse";
|
36
|
-
export * from "./FilesWithPagination";
|
37
|
-
export * from "./GetFileV1FileType";
|
38
|
-
export * from "./GetFileV1";
|
39
|
-
export * from "./FilesResponse";
|
40
|
-
export * from "./FilesWithPagination";
|
41
|
-
export * from "./GetFileV1FileType";
|
42
|
-
export * from "./GetFileV1";
|
43
23
|
export * from "./IntervalMonitorConfig";
|
44
24
|
export * from "./Issue";
|
45
25
|
export * from "./ListAutomationsOutput";
|
@@ -25,37 +25,17 @@ __exportStar(require("./ClickConfigClickType"), exports);
|
|
25
25
|
__exportStar(require("./ClickConfig"), exports);
|
26
26
|
__exportStar(require("./ClientProvidedResponseMetadata"), exports);
|
27
27
|
__exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
|
28
|
-
__exportStar(require("./CreateFileV1FileType"), exports);
|
29
|
-
__exportStar(require("./CreateFileV1"), exports);
|
30
28
|
__exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
|
31
|
-
__exportStar(require("./EnvelopeCreateFileV1EnvelopeDefaultMeta"), exports);
|
32
|
-
__exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
|
33
|
-
__exportStar(require("./CreateFileV1FileType"), exports);
|
34
|
-
__exportStar(require("./CreateFileV1"), exports);
|
35
|
-
__exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
|
36
|
-
__exportStar(require("./EnvelopeCreateFileV1EnvelopeDefaultMeta"), exports);
|
37
29
|
__exportStar(require("./EnvelopeDefaultMeta"), exports);
|
38
|
-
__exportStar(require("./EnvelopeGetFileV1EnvelopeDefaultMeta"), exports);
|
39
|
-
__exportStar(require("./EnvelopeGetFileV1EnvelopeDefaultMeta"), exports);
|
40
30
|
__exportStar(require("./ErrorBody"), exports);
|
41
31
|
__exportStar(require("./ErrorDetail"), exports);
|
42
32
|
__exportStar(require("./ErrorMessage"), exports);
|
43
33
|
__exportStar(require("./ErrorModel"), exports);
|
44
|
-
__exportStar(require("./ExternalFile"), exports);
|
45
|
-
__exportStar(require("./ExternalFile"), exports);
|
46
34
|
__exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
|
47
35
|
__exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
|
48
36
|
__exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
|
49
37
|
__exportStar(require("./ExternalSessionConfig"), exports);
|
50
38
|
__exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
|
51
|
-
__exportStar(require("./FilesResponse"), exports);
|
52
|
-
__exportStar(require("./FilesWithPagination"), exports);
|
53
|
-
__exportStar(require("./GetFileV1FileType"), exports);
|
54
|
-
__exportStar(require("./GetFileV1"), exports);
|
55
|
-
__exportStar(require("./FilesResponse"), exports);
|
56
|
-
__exportStar(require("./FilesWithPagination"), exports);
|
57
|
-
__exportStar(require("./GetFileV1FileType"), exports);
|
58
|
-
__exportStar(require("./GetFileV1"), exports);
|
59
39
|
__exportStar(require("./IntervalMonitorConfig"), exports);
|
60
40
|
__exportStar(require("./Issue"), exports);
|
61
41
|
__exportStar(require("./ListAutomationsOutput"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
1
|
+
export declare const SDK_VERSION = "0.1.36";
|
package/version.js
CHANGED
@@ -3,7 +3,6 @@ import { type BatchOperateConfig, type BatchOperationInput, type BatchOperationR
|
|
3
3
|
import { AirtopSessions } from './AirtopSessions';
|
4
4
|
import { AirtopWindows } from './AirtopWindows';
|
5
5
|
import { AirtopRequests } from './AirtopRequests';
|
6
|
-
import { AirtopFiles } from './AirtopFiles';
|
7
6
|
type AugmentedOptions = FernClient.Options & {
|
8
7
|
debug?: boolean;
|
9
8
|
};
|
@@ -14,15 +13,14 @@ export declare class AirtopClient {
|
|
14
13
|
private _windows;
|
15
14
|
private _sessions;
|
16
15
|
private _requests;
|
17
|
-
private _files;
|
18
16
|
constructor(_options: AugmentedOptions);
|
19
17
|
setApiKey(apiKey: string): void;
|
20
18
|
setEnvironment(environment: string): void;
|
21
19
|
get sessions(): AirtopSessions;
|
22
20
|
get windows(): AirtopWindows;
|
23
21
|
get requests(): AirtopRequests;
|
24
|
-
get files(): AirtopFiles;
|
25
22
|
get profiles(): import("../api/resources/profiles/client/Client").Profiles;
|
23
|
+
get automations(): import("../api/resources/automations/client/Client").Automations;
|
26
24
|
log(message: string): void;
|
27
25
|
warn(message: string): void;
|
28
26
|
error(err: any): void;
|
package/wrapper/AirtopClient.js
CHANGED
@@ -49,7 +49,6 @@ const utils_1 = require("../utils");
|
|
49
49
|
const AirtopSessions_1 = require("./AirtopSessions");
|
50
50
|
const AirtopWindows_1 = require("./AirtopWindows");
|
51
51
|
const AirtopRequests_1 = require("./AirtopRequests");
|
52
|
-
const AirtopFiles_1 = require("./AirtopFiles");
|
53
52
|
const version_1 = require("../version");
|
54
53
|
class AirtopClient {
|
55
54
|
constructor(_options) {
|
@@ -84,13 +83,12 @@ class AirtopClient {
|
|
84
83
|
var _a;
|
85
84
|
return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new AirtopRequests_1.AirtopRequests(this._options)));
|
86
85
|
}
|
87
|
-
get files() {
|
88
|
-
var _a;
|
89
|
-
return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new AirtopFiles_1.AirtopFiles(this._options)));
|
90
|
-
}
|
91
86
|
get profiles() {
|
92
87
|
return this._client.profiles;
|
93
88
|
}
|
89
|
+
get automations() {
|
90
|
+
return this._client.automations;
|
91
|
+
}
|
94
92
|
log(message) {
|
95
93
|
if (this.debug) {
|
96
94
|
console.log(message);
|
@@ -36,7 +36,7 @@ class AirtopRequests extends Client_1.Requests {
|
|
36
36
|
const timeoutMs = timeoutSeconds * 1000;
|
37
37
|
while (Date.now() - startTime < timeoutMs) {
|
38
38
|
const response = yield this.getRequestStatus(requestId, requestOptions);
|
39
|
-
if (response.status === 'completed' || response.status === '
|
39
|
+
if (response.status === 'completed' || response.status === 'error') {
|
40
40
|
return response;
|
41
41
|
}
|
42
42
|
yield new Promise((resolve) => setTimeout(resolve, intervalSeconds * 1000));
|
@@ -125,7 +125,7 @@ export declare class AirtopWindows extends WindowsClass {
|
|
125
125
|
* @example
|
126
126
|
* await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
127
127
|
*/
|
128
|
-
paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?:
|
128
|
+
paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
129
129
|
/**
|
130
130
|
* Execute a scroll interaction in a specific browser window
|
131
131
|
*
|
@@ -138,6 +138,32 @@ export declare class AirtopWindows extends WindowsClass {
|
|
138
138
|
* await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
139
139
|
*/
|
140
140
|
scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
141
|
+
/**
|
142
|
+
* Fill a form of a browser window synchronously using a form-filler automation
|
143
|
+
*
|
144
|
+
* @param {string} sessionId - The session id for the window.
|
145
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
146
|
+
* @param {Airtop.FillFormRequest} request
|
147
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
148
|
+
*
|
149
|
+
* @example
|
150
|
+
* await client.windows.fillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
151
|
+
* automationId: "automationId"
|
152
|
+
* })
|
153
|
+
*/
|
154
|
+
fillForm(sessionId: string, windowId: string, request: Airtop.FillFormRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
155
|
+
/**
|
156
|
+
* Create a form-filler automation synchronously for the form loaded in the browser window
|
157
|
+
*
|
158
|
+
* @param {string} sessionId - The session id for the window.
|
159
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
160
|
+
* @param {Airtop.CreateFormFillerRequest} request
|
161
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
162
|
+
*
|
163
|
+
* @example
|
164
|
+
* await client.windows.createFormFiller("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
165
|
+
*/
|
166
|
+
createFormFiller(sessionId: string, windowId: string, request?: Airtop.CreateFormFillerRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
141
167
|
/**
|
142
168
|
* @param {string} sessionId - The session id for the window.
|
143
169
|
* @param {string} windowId - The Airtop window id of the browser window.
|
package/wrapper/AirtopWindows.js
CHANGED
@@ -238,6 +238,46 @@ class AirtopWindows extends Client_1.Windows {
|
|
238
238
|
return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
239
239
|
});
|
240
240
|
}
|
241
|
+
/**
|
242
|
+
* Fill a form of a browser window synchronously using a form-filler automation
|
243
|
+
*
|
244
|
+
* @param {string} sessionId - The session id for the window.
|
245
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
246
|
+
* @param {Airtop.FillFormRequest} request
|
247
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
248
|
+
*
|
249
|
+
* @example
|
250
|
+
* await client.windows.fillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
251
|
+
* automationId: "automationId"
|
252
|
+
* })
|
253
|
+
*/
|
254
|
+
fillForm(sessionId, windowId, request, requestOptions) {
|
255
|
+
const _super = Object.create(null, {
|
256
|
+
fillForm: { get: () => super.fillForm }
|
257
|
+
});
|
258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
259
|
+
return _super.fillForm.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
260
|
+
});
|
261
|
+
}
|
262
|
+
/**
|
263
|
+
* Create a form-filler automation synchronously for the form loaded in the browser window
|
264
|
+
*
|
265
|
+
* @param {string} sessionId - The session id for the window.
|
266
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
267
|
+
* @param {Airtop.CreateFormFillerRequest} request
|
268
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
269
|
+
*
|
270
|
+
* @example
|
271
|
+
* await client.windows.createFormFiller("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
272
|
+
*/
|
273
|
+
createFormFiller(sessionId_1, windowId_1) {
|
274
|
+
const _super = Object.create(null, {
|
275
|
+
createFormFiller: { get: () => super.createFormFiller }
|
276
|
+
});
|
277
|
+
return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
|
278
|
+
return _super.createFormFiller.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
279
|
+
});
|
280
|
+
}
|
241
281
|
/**
|
242
282
|
* @param {string} sessionId - The session id for the window.
|
243
283
|
* @param {string} windowId - The Airtop window id of the browser window.
|