@airtop/sdk 0.1.37-beta1 → 0.1.37

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 (141) hide show
  1. package/README.md +10 -9
  2. package/api/resources/automations/client/Client.js +4 -4
  3. package/api/resources/files/client/Client.js +4 -4
  4. package/api/resources/profiles/client/Client.js +1 -1
  5. package/api/resources/requests/client/Client.js +1 -1
  6. package/api/resources/sessions/client/Client.js +6 -6
  7. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  8. package/api/resources/sessions/types/index.d.ts +2 -2
  9. package/api/resources/sessions/types/index.js +2 -2
  10. package/api/resources/windows/client/Client.d.ts +0 -126
  11. package/api/resources/windows/client/Client.js +21 -577
  12. package/api/resources/windows/client/requests/index.d.ts +0 -10
  13. package/api/types/index.d.ts +0 -1
  14. package/api/types/index.js +0 -1
  15. package/dist/api/resources/automations/client/Client.js +4 -4
  16. package/dist/api/resources/files/client/Client.js +4 -4
  17. package/dist/api/resources/profiles/client/Client.js +1 -1
  18. package/dist/api/resources/requests/client/Client.js +1 -1
  19. package/dist/api/resources/sessions/client/Client.js +6 -6
  20. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  21. package/dist/api/resources/sessions/types/index.d.ts +2 -2
  22. package/dist/api/resources/sessions/types/index.js +2 -2
  23. package/dist/api/resources/windows/client/Client.d.ts +0 -126
  24. package/dist/api/resources/windows/client/Client.js +21 -577
  25. package/dist/api/resources/windows/client/requests/index.d.ts +0 -10
  26. package/dist/api/types/index.d.ts +0 -1
  27. package/dist/api/types/index.js +0 -1
  28. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  29. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  30. package/dist/serialization/resources/sessions/types/index.d.ts +2 -2
  31. package/dist/serialization/resources/sessions/types/index.js +2 -2
  32. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -10
  33. package/dist/serialization/resources/windows/client/requests/index.js +1 -21
  34. package/dist/serialization/types/index.d.ts +0 -1
  35. package/dist/serialization/types/index.js +0 -1
  36. package/dist/version.d.ts +1 -1
  37. package/dist/version.js +1 -1
  38. package/dist/wrapper/AirtopSessions.d.ts +21 -22
  39. package/dist/wrapper/AirtopSessions.js +40 -25
  40. package/package.json +1 -1
  41. package/reference.md +24 -766
  42. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  43. package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  44. package/serialization/resources/sessions/types/index.d.ts +2 -2
  45. package/serialization/resources/sessions/types/index.js +2 -2
  46. package/serialization/resources/windows/client/requests/index.d.ts +0 -10
  47. package/serialization/resources/windows/client/requests/index.js +1 -21
  48. package/serialization/types/index.d.ts +0 -1
  49. package/serialization/types/index.js +0 -1
  50. package/version.d.ts +1 -1
  51. package/version.js +1 -1
  52. package/wrapper/AirtopSessions.d.ts +21 -22
  53. package/wrapper/AirtopSessions.js +40 -25
  54. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  55. package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  56. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  57. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  58. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  59. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  60. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  61. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  62. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  63. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  64. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  65. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  66. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  67. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  68. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  69. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  70. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  71. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  72. package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
  73. package/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
  74. package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
  75. package/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
  76. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  77. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  78. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  79. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  80. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  81. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  82. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  83. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  84. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  85. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  86. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  87. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  88. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  89. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  90. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  91. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  92. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  93. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  94. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
  95. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
  96. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
  97. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
  98. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  99. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  100. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  101. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  102. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  103. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  104. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  105. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  106. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  107. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  108. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  109. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  110. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  111. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  112. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  113. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  114. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  115. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  116. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
  117. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
  118. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
  119. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +0 -46
  120. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  121. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  122. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  123. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  124. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  125. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  126. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  127. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  128. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  129. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  130. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  131. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  132. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  133. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  134. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  135. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  136. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  137. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  138. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
  139. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
  140. package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
  141. package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +0 -46
@@ -1,24 +0,0 @@
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 { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
9
- export declare const AsyncTypeRequest: core.serialization.Schema<serializers.AsyncTypeRequest.Raw, Airtop.AsyncTypeRequest>;
10
- export declare namespace AsyncTypeRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clearInputField?: boolean | null;
14
- clientRequestId?: string | null;
15
- configuration?: MicroInteractionConfigWithExperimental.Raw | null;
16
- costThresholdCredits?: number | null;
17
- elementDescription?: string | null;
18
- pressEnterKey?: boolean | null;
19
- pressTabKey?: boolean | null;
20
- text: string;
21
- timeThresholdSeconds?: number | null;
22
- waitForNavigation?: boolean | null;
23
- }
24
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AsyncTypeRequest = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
42
- const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
43
- exports.AsyncTypeRequest = core.serialization.object({
44
- async: AsyncConfig_1.AsyncConfig.optional(),
45
- clearInputField: core.serialization.boolean().optional(),
46
- clientRequestId: core.serialization.string().optional(),
47
- configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
48
- costThresholdCredits: core.serialization.number().optional(),
49
- elementDescription: core.serialization.string().optional(),
50
- pressEnterKey: core.serialization.boolean().optional(),
51
- pressTabKey: core.serialization.boolean().optional(),
52
- text: core.serialization.string(),
53
- timeThresholdSeconds: core.serialization.number().optional(),
54
- waitForNavigation: core.serialization.boolean().optional(),
55
- });
@@ -1,17 +0,0 @@
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
- export declare const OperatorPromptV1Body: core.serialization.Schema<serializers.OperatorPromptV1Body.Raw, Airtop.OperatorPromptV1Body>;
9
- export declare namespace OperatorPromptV1Body {
10
- interface Raw {
11
- async?: AsyncConfig.Raw | null;
12
- clientRequestId?: string | null;
13
- costThresholdCredits?: number | null;
14
- prompt: string;
15
- timeThresholdSeconds?: number | null;
16
- }
17
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.OperatorPromptV1Body = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
42
- exports.OperatorPromptV1Body = core.serialization.object({
43
- async: AsyncConfig_1.AsyncConfig.optional(),
44
- clientRequestId: core.serialization.string().optional(),
45
- costThresholdCredits: core.serialization.number().optional(),
46
- prompt: core.serialization.string(),
47
- timeThresholdSeconds: core.serialization.number().optional(),
48
- });
@@ -1,15 +0,0 @@
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 { Issue } from "./Issue";
8
- export declare const AsyncOperatorPromptResponseEnvelope: core.serialization.ObjectSchema<serializers.AsyncOperatorPromptResponseEnvelope.Raw, Airtop.AsyncOperatorPromptResponseEnvelope>;
9
- export declare namespace AsyncOperatorPromptResponseEnvelope {
10
- interface Raw {
11
- errors?: Issue.Raw[] | null;
12
- requestId: string;
13
- warnings?: Issue.Raw[] | null;
14
- }
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AsyncOperatorPromptResponseEnvelope = void 0;
40
- const core = __importStar(require("../../core"));
41
- const Issue_1 = require("./Issue");
42
- exports.AsyncOperatorPromptResponseEnvelope = core.serialization.object({
43
- errors: core.serialization.list(Issue_1.Issue).optional(),
44
- requestId: core.serialization.string(),
45
- warnings: core.serialization.list(Issue_1.Issue).optional(),
46
- });