@airtop/sdk 0.1.35-beta0 → 0.1.36-beta0

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 (98) hide show
  1. package/api/resources/automations/client/Client.d.ts +8 -8
  2. package/api/resources/automations/client/Client.js +12 -12
  3. package/api/resources/files/client/Client.js +4 -4
  4. package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +2 -0
  5. package/api/resources/profiles/client/Client.js +1 -1
  6. package/api/resources/requests/client/Client.js +1 -1
  7. package/api/resources/sessions/client/Client.d.ts +0 -10
  8. package/api/resources/sessions/client/Client.js +6 -52
  9. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  10. package/api/resources/sessions/types/index.d.ts +1 -1
  11. package/api/resources/sessions/types/index.js +1 -1
  12. package/api/resources/windows/client/Client.d.ts +52 -0
  13. package/api/resources/windows/client/Client.js +250 -26
  14. package/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +23 -0
  15. package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
  16. package/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +23 -0
  17. package/api/resources/windows/client/requests/CreateFormFillerRequest.js +5 -0
  18. package/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
  19. package/api/resources/windows/client/requests/FillFormRequest.js +5 -0
  20. package/api/resources/windows/client/requests/index.d.ts +4 -0
  21. package/api/types/index.d.ts +0 -11
  22. package/api/types/index.js +0 -11
  23. package/dist/api/resources/automations/client/Client.d.ts +8 -8
  24. package/dist/api/resources/automations/client/Client.js +12 -12
  25. package/dist/api/resources/files/client/Client.js +4 -4
  26. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +2 -0
  27. package/dist/api/resources/profiles/client/Client.js +1 -1
  28. package/dist/api/resources/requests/client/Client.js +1 -1
  29. package/dist/api/resources/sessions/client/Client.d.ts +0 -10
  30. package/dist/api/resources/sessions/client/Client.js +6 -52
  31. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  32. package/dist/api/resources/sessions/types/index.d.ts +1 -1
  33. package/dist/api/resources/sessions/types/index.js +1 -1
  34. package/dist/api/resources/windows/client/Client.d.ts +52 -0
  35. package/dist/api/resources/windows/client/Client.js +250 -26
  36. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +23 -0
  37. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +5 -0
  38. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
  39. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.js +5 -0
  40. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +23 -0
  41. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.js +5 -0
  42. package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
  43. package/dist/api/resources/windows/client/requests/FillFormRequest.js +5 -0
  44. package/dist/api/resources/windows/client/requests/index.d.ts +4 -0
  45. package/dist/api/types/index.d.ts +0 -11
  46. package/dist/api/types/index.js +0 -11
  47. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +1 -0
  48. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +1 -0
  49. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  50. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  51. package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
  52. package/dist/serialization/resources/sessions/types/index.js +1 -1
  53. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +18 -0
  54. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +49 -0
  55. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +18 -0
  56. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +49 -0
  57. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +18 -0
  58. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +49 -0
  59. package/dist/serialization/resources/windows/client/requests/FillFormRequest.d.ts +18 -0
  60. package/dist/serialization/resources/windows/client/requests/FillFormRequest.js +49 -0
  61. package/dist/serialization/resources/windows/client/requests/index.d.ts +4 -0
  62. package/dist/serialization/resources/windows/client/requests/index.js +9 -1
  63. package/dist/serialization/types/index.d.ts +0 -11
  64. package/dist/serialization/types/index.js +0 -11
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +1 -1
  67. package/dist/wrapper/AirtopClient.d.ts +2 -1
  68. package/dist/wrapper/AirtopClient.js +6 -3
  69. package/dist/wrapper/AirtopWindows.d.ts +1 -1
  70. package/package.json +2 -3
  71. package/reference.md +253 -395
  72. package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +1 -0
  73. package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +1 -0
  74. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  75. package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  76. package/serialization/resources/sessions/types/index.d.ts +1 -1
  77. package/serialization/resources/sessions/types/index.js +1 -1
  78. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +18 -0
  79. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +49 -0
  80. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +18 -0
  81. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +49 -0
  82. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +18 -0
  83. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +49 -0
  84. package/serialization/resources/windows/client/requests/FillFormRequest.d.ts +18 -0
  85. package/serialization/resources/windows/client/requests/FillFormRequest.js +49 -0
  86. package/serialization/resources/windows/client/requests/index.d.ts +4 -0
  87. package/serialization/resources/windows/client/requests/index.js +9 -1
  88. package/serialization/types/index.d.ts +0 -11
  89. package/serialization/types/index.js +0 -11
  90. package/version.d.ts +1 -1
  91. package/version.js +1 -1
  92. package/wrapper/AirtopClient.d.ts +2 -1
  93. package/wrapper/AirtopClient.js +6 -3
  94. package/wrapper/AirtopWindows.d.ts +1 -1
  95. package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  96. package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  97. /package/api/{types/ExtensionConfigurationOutput.js → resources/windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
  98. /package/{dist/api/types/ExtensionConfigurationOutput.js → api/resources/windows/client/requests/AsyncFillFormRequest.js} +0 -0
@@ -32,9 +32,9 @@ export declare class Automations {
32
32
  * @param {Automations.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await client.automations.listAutomations()
35
+ * await client.automations.list()
36
36
  */
37
- listAutomations(requestOptions?: Automations.RequestOptions): Promise<Airtop.ListAutomationsOutput>;
37
+ list(requestOptions?: Automations.RequestOptions): Promise<Airtop.ListAutomationsOutput>;
38
38
  /**
39
39
  * Update the description of a specific automation
40
40
  *
@@ -48,13 +48,13 @@ export declare class Automations {
48
48
  * @throws {@link Airtop.InternalServerError}
49
49
  *
50
50
  * @example
51
- * await client.automations.updateAutomationDescription({
51
+ * await client.automations.update({
52
52
  * description: "description",
53
53
  * id: "id",
54
54
  * orgId: "orgId"
55
55
  * })
56
56
  */
57
- updateAutomationDescription(request: Airtop.UpdateAutomationDescriptionInputBody, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
57
+ update(request: Airtop.UpdateAutomationDescriptionInputBody, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
58
58
  /**
59
59
  * Get a specific automation by ID
60
60
  *
@@ -68,9 +68,9 @@ export declare class Automations {
68
68
  * @throws {@link Airtop.InternalServerError}
69
69
  *
70
70
  * @example
71
- * await client.automations.getAutomation("automationId")
71
+ * await client.automations.get("automationId")
72
72
  */
73
- getAutomation(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
73
+ get(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
74
74
  /**
75
75
  * Delete a specific automation
76
76
  *
@@ -84,8 +84,8 @@ export declare class Automations {
84
84
  * @throws {@link Airtop.InternalServerError}
85
85
  *
86
86
  * @example
87
- * await client.automations.deleteAutomation("automationId")
87
+ * await client.automations.delete("automationId")
88
88
  */
89
- deleteAutomation(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.DeleteAutomationOutputWrapperBody>;
89
+ delete(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.DeleteAutomationOutputWrapperBody>;
90
90
  protected _getAuthorizationHeader(): Promise<string>;
91
91
  }
@@ -65,15 +65,15 @@ class Automations {
65
65
  * @param {Automations.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @example
68
- * await client.automations.listAutomations()
68
+ * await client.automations.list()
69
69
  */
70
- listAutomations(requestOptions) {
70
+ list(requestOptions) {
71
71
  return __awaiter(this, void 0, void 0, function* () {
72
72
  var _a, _b, _c;
73
73
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
74
74
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "automations"),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,19 +123,19 @@ class Automations {
123
123
  * @throws {@link Airtop.InternalServerError}
124
124
  *
125
125
  * @example
126
- * await client.automations.updateAutomationDescription({
126
+ * await client.automations.update({
127
127
  * description: "description",
128
128
  * id: "id",
129
129
  * orgId: "orgId"
130
130
  * })
131
131
  */
132
- updateAutomationDescription(request, requestOptions) {
132
+ update(request, requestOptions) {
133
133
  return __awaiter(this, void 0, void 0, function* () {
134
134
  var _a, _b, _c;
135
135
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
136
136
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "automations/description"),
137
137
  method: "PUT",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.UpdateAutomationDescriptionInputBody.jsonOrThrow(request, {
@@ -231,15 +231,15 @@ class Automations {
231
231
  * @throws {@link Airtop.InternalServerError}
232
232
  *
233
233
  * @example
234
- * await client.automations.getAutomation("automationId")
234
+ * await client.automations.get("automationId")
235
235
  */
236
- getAutomation(automationId, requestOptions) {
236
+ get(automationId, requestOptions) {
237
237
  return __awaiter(this, void 0, void 0, function* () {
238
238
  var _a, _b, _c;
239
239
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
240
240
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `automations/${encodeURIComponent(automationId)}`),
241
241
  method: "GET",
242
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -332,15 +332,15 @@ class Automations {
332
332
  * @throws {@link Airtop.InternalServerError}
333
333
  *
334
334
  * @example
335
- * await client.automations.deleteAutomation("automationId")
335
+ * await client.automations.delete("automationId")
336
336
  */
337
- deleteAutomation(automationId, requestOptions) {
337
+ delete(automationId, requestOptions) {
338
338
  return __awaiter(this, void 0, void 0, function* () {
339
339
  var _a, _b, _c;
340
340
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
341
341
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `automations/${encodeURIComponent(automationId)}`),
342
342
  method: "DELETE",
343
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
343
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
344
  contentType: "application/json",
345
345
  requestType: "json",
346
346
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -92,7 +92,7 @@ class Files {
92
92
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
93
93
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "files"),
94
94
  method: "GET",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -145,7 +145,7 @@ class Files {
145
145
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
146
146
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "files"),
147
147
  method: "POST",
148
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
148
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.CreateFileRestInputV1.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -196,7 +196,7 @@ class Files {
196
196
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
197
197
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `files/${encodeURIComponent(id)}`),
198
198
  method: "GET",
199
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -246,7 +246,7 @@ class Files {
246
246
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
247
247
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `files/${encodeURIComponent(id)}`),
248
248
  method: "DELETE",
249
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
249
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
250
  contentType: "application/json",
251
251
  requestType: "json",
252
252
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -13,6 +13,8 @@ export interface CreateFileRestInputV1 {
13
13
  fileName: string;
14
14
  /** Type of the file */
15
15
  fileType?: Airtop.CreateFileRestInputV1FileType;
16
+ /** File ID. Must be unique. Leave blank to get one generated for you */
17
+ id?: string;
16
18
  /** DEPRECATED: Use sessionIds instead */
17
19
  sessionId?: string;
18
20
  /** IDs of the associated sessions */
@@ -90,7 +90,7 @@ class Profiles {
90
90
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
91
91
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "profiles"),
92
92
  method: "DELETE",
93
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -71,7 +71,7 @@ class Requests {
71
71
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
72
72
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `requests/${encodeURIComponent(requestId)}/status`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -27,7 +27,6 @@ export declare class Sessions {
27
27
  protected readonly _options: Sessions.Options;
28
28
  constructor(_options: Sessions.Options);
29
29
  /**
30
- * Get a paginated list of sessions filtered by ID or status
31
30
  * Get a paginated list of sessions filtered by ID or status
32
31
  *
33
32
  * @param {Airtop.SessionsListRequest} request
@@ -80,15 +79,6 @@ export declare class Sessions {
80
79
  * Get a session event stream for a given session ID
81
80
  */
82
81
  events(id: string, request?: Airtop.SessionsEventsRequest, requestOptions?: Sessions.RequestOptions): Promise<core.Stream<Airtop.SessionsEventsResponse>>;
83
- /**
84
- * @param {string} sessionId - ID of the session.
85
- * @param {string} extensionConfigurationName - Name under which to save the extension configuration.
86
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
87
- *
88
- * @example
89
- * await client.sessions.saveExtensionConfigurationOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myExtensionConfiguration")
90
- */
91
- saveExtensionConfigurationOnTermination(sessionId: string, profileName: string, requestOptions?: Sessions.RequestOptions): Promise<void>;
92
82
  /**
93
83
  * @param {string} sessionId - ID of the session.
94
84
  * @param {string} profileName - Name under which to save the profile.
@@ -60,7 +60,6 @@ class Sessions {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * Get a paginated list of sessions filtered by ID or status
64
63
  * Get a paginated list of sessions filtered by ID or status
65
64
  *
66
65
  * @param {Airtop.SessionsListRequest} request
@@ -103,7 +102,7 @@ class Sessions {
103
102
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
104
103
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "sessions"),
105
104
  method: "GET",
106
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
106
  contentType: "application/json",
108
107
  queryParameters: _queryParams,
109
108
  requestType: "json",
@@ -181,7 +180,7 @@ class Sessions {
181
180
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
182
181
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "sessions"),
183
182
  method: "POST",
184
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
183
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
184
  contentType: "application/json",
186
185
  requestType: "json",
187
186
  body: serializers.SessionRestInputV1.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +237,7 @@ class Sessions {
238
237
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
239
238
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}`),
240
239
  method: "GET",
241
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
240
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
241
  contentType: "application/json",
243
242
  requestType: "json",
244
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -317,7 +316,7 @@ class Sessions {
317
316
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
318
317
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}`),
319
318
  method: "DELETE",
320
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
319
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
320
  contentType: "application/json",
322
321
  requestType: "json",
323
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -365,7 +364,7 @@ class Sessions {
365
364
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
366
365
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}/events`),
367
366
  method: "GET",
368
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
367
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
369
368
  contentType: "application/json",
370
369
  queryParameters: _queryParams,
371
370
  requestType: "json",
@@ -441,51 +440,6 @@ class Sessions {
441
440
  }
442
441
  });
443
442
  }
444
- /**
445
- * @param {string} sessionId - ID of the session.
446
- * @param {string} extensionConfigurationName - Name under which to save the extension configuration.
447
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
448
- *
449
- * @example
450
- * await client.sessions.saveExtensionConfigurationOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myExtensionConfiguration")
451
- */
452
- saveExtensionConfigurationOnTermination(sessionId, profileName, requestOptions) {
453
- return __awaiter(this, void 0, void 0, function* () {
454
- var _a, _b, _c;
455
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
456
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/save-profile-on-termination/${encodeURIComponent(profileName)}`),
457
- method: "PUT",
458
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
459
- contentType: "application/json",
460
- requestType: "json",
461
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
462
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
463
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
464
- });
465
- if (_response.ok) {
466
- return;
467
- }
468
- if (_response.error.reason === "status-code") {
469
- throw new errors.AirtopError({
470
- statusCode: _response.error.statusCode,
471
- body: _response.error.body,
472
- });
473
- }
474
- switch (_response.error.reason) {
475
- case "non-json":
476
- throw new errors.AirtopError({
477
- statusCode: _response.error.statusCode,
478
- body: _response.error.rawBody,
479
- });
480
- case "timeout":
481
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling PUT /sessions/{sessionId}/save-profile-on-termination/{profileName}.");
482
- case "unknown":
483
- throw new errors.AirtopError({
484
- message: _response.error.errorMessage,
485
- });
486
- }
487
- });
488
- }
489
443
  /**
490
444
  * @param {string} sessionId - ID of the session.
491
445
  * @param {string} profileName - Name under which to save the profile.
@@ -500,7 +454,7 @@ class Sessions {
500
454
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
501
455
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/save-profile-on-termination/${encodeURIComponent(profileName)}`),
502
456
  method: "PUT",
503
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.34", "User-Agent": "@airtop/sdk/0.1.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
457
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
458
  contentType: "application/json",
505
459
  requestType: "json",
506
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -5,11 +5,8 @@ import * as Airtop from "../../../index";
5
5
  /**
6
6
  * Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
7
7
  */
8
- export type SessionsEventsResponse = Airtop.SessionsEventsResponse.SessionEvent | Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent;
8
+ export type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent;
9
9
  export declare namespace SessionsEventsResponse {
10
- interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
11
- event: "sessionEvent";
12
- }
13
10
  interface Status extends Airtop.SessionsEventsResponseStatus {
14
11
  event: "status";
15
12
  }
@@ -19,4 +16,7 @@ export declare namespace SessionsEventsResponse {
19
16
  interface WindowEvent extends Airtop.SessionsEventsResponseWindowEvent {
20
17
  event: "windowEvent";
21
18
  }
19
+ interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
20
+ event: "sessionEvent";
21
+ }
22
22
  }
@@ -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);
@@ -52,6 +52,18 @@ export declare class Windows {
52
52
  * await client.windows.asyncCreateAutomation("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
53
53
  */
54
54
  asyncCreateAutomation(sessionId: string, windowId: string, request?: Airtop.AsyncCreateAutomationRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
55
+ /**
56
+ * Create a form filler automation asynchronously
57
+ *
58
+ * @param {string} sessionId - The session id for the window.
59
+ * @param {string} windowId - The Airtop window id of the browser window.
60
+ * @param {Airtop.AsyncCreateFormFillerRequest} request
61
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @example
64
+ * await client.windows.asyncCreateFormFiller("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
65
+ */
66
+ asyncCreateFormFiller(sessionId: string, windowId: string, request?: Airtop.AsyncCreateFormFillerRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
55
67
  /**
56
68
  * Execute an automation of a browser window asynchronously
57
69
  *
@@ -66,6 +78,20 @@ export declare class Windows {
66
78
  * })
67
79
  */
68
80
  asyncExecuteAutomation(sessionId: string, windowId: string, request: Airtop.AsyncExecuteAutomationRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
81
+ /**
82
+ * Fill a form of a browser window asynchronously using a form-filler automation
83
+ *
84
+ * @param {string} sessionId - The session id for the window.
85
+ * @param {string} windowId - The Airtop window id of the browser window.
86
+ * @param {Airtop.AsyncFillFormRequest} request
87
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
88
+ *
89
+ * @example
90
+ * await client.windows.asyncFillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
91
+ * automationId: "automationId"
92
+ * })
93
+ */
94
+ asyncFillForm(sessionId: string, windowId: string, request: Airtop.AsyncFillFormRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
69
95
  /**
70
96
  * @param {string} sessionId - The session id for the window.
71
97
  * @param {string} windowId - The Airtop window id of the browser window.
@@ -228,6 +254,32 @@ export declare class Windows {
228
254
  * })
229
255
  */
230
256
  click(sessionId: string, windowId: string, request: Airtop.SessionClickHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
257
+ /**
258
+ * Create a form-filler automation synchronously for the form loaded in the browser window
259
+ *
260
+ * @param {string} sessionId - The session id for the window.
261
+ * @param {string} windowId - The Airtop window id of the browser window.
262
+ * @param {Airtop.CreateFormFillerRequest} request
263
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
264
+ *
265
+ * @example
266
+ * await client.windows.createFormFiller("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
267
+ */
268
+ createFormFiller(sessionId: string, windowId: string, request?: Airtop.CreateFormFillerRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
269
+ /**
270
+ * Fill a form of a browser window synchronously using a form-filler automation
271
+ *
272
+ * @param {string} sessionId - The session id for the window.
273
+ * @param {string} windowId - The Airtop window id of the browser window.
274
+ * @param {Airtop.FillFormRequest} request
275
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
276
+ *
277
+ * @example
278
+ * await client.windows.fillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
279
+ * automationId: "automationId"
280
+ * })
281
+ */
282
+ fillForm(sessionId: string, windowId: string, request: Airtop.FillFormRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
231
283
  /**
232
284
  * Execute a hover interaction in a specific browser window
233
285
  *