@airtop/sdk 0.1.30-beta0 → 0.1.31-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 (126) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +13 -8
  3. package/api/errors/ForbiddenError.d.ts +8 -0
  4. package/api/errors/ForbiddenError.js +41 -0
  5. package/api/errors/UnauthorizedError.d.ts +8 -0
  6. package/api/errors/UnauthorizedError.js +41 -0
  7. package/api/errors/index.d.ts +2 -0
  8. package/api/errors/index.js +2 -0
  9. package/api/resources/automations/client/Client.d.ts +87 -0
  10. package/api/resources/automations/client/Client.js +451 -0
  11. package/api/resources/automations/client/index.d.ts +1 -0
  12. package/api/resources/automations/client/index.js +17 -0
  13. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
  14. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
  15. package/api/resources/automations/client/requests/index.d.ts +1 -0
  16. package/api/resources/automations/client/requests/index.js +2 -0
  17. package/api/resources/automations/index.d.ts +1 -0
  18. package/api/resources/automations/index.js +17 -0
  19. package/api/resources/extensionConfigurations/client/Client.d.ts +0 -10
  20. package/api/resources/extensionConfigurations/client/Client.js +3 -68
  21. package/api/resources/extensionConfigurations/client/index.d.ts +1 -1
  22. package/api/resources/extensionConfigurations/client/index.js +0 -15
  23. package/api/resources/index.d.ts +2 -1
  24. package/api/resources/index.js +3 -2
  25. package/api/resources/profiles/client/Client.js +2 -2
  26. package/api/resources/requests/client/Client.js +2 -2
  27. package/api/resources/sessions/client/Client.js +14 -14
  28. package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +4 -1
  29. package/api/resources/sessions/types/SessionsListRequestStatus.js +3 -0
  30. package/api/resources/windows/client/Client.js +52 -52
  31. package/api/types/AutomationOutput.d.ts +10 -0
  32. package/api/types/AutomationOutput.js +5 -0
  33. package/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
  34. package/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
  35. package/api/types/ListAutomationsOutput.d.ts +7 -0
  36. package/api/types/ListAutomationsOutput.js +5 -0
  37. package/api/types/Pagination.d.ts +8 -0
  38. package/api/types/SessionConfigV1.d.ts +0 -2
  39. package/api/types/index.d.ts +3 -0
  40. package/api/types/index.js +3 -0
  41. package/dist/Client.d.ts +3 -0
  42. package/dist/Client.js +13 -8
  43. package/dist/api/errors/ForbiddenError.d.ts +8 -0
  44. package/dist/api/errors/ForbiddenError.js +41 -0
  45. package/dist/api/errors/UnauthorizedError.d.ts +8 -0
  46. package/dist/api/errors/UnauthorizedError.js +41 -0
  47. package/dist/api/errors/index.d.ts +2 -0
  48. package/dist/api/errors/index.js +2 -0
  49. package/dist/api/resources/automations/client/Client.d.ts +87 -0
  50. package/dist/api/resources/automations/client/Client.js +451 -0
  51. package/dist/api/resources/automations/client/index.d.ts +1 -0
  52. package/dist/api/resources/automations/client/index.js +17 -0
  53. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
  54. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
  55. package/dist/api/resources/automations/client/requests/index.d.ts +1 -0
  56. package/dist/api/resources/automations/client/requests/index.js +2 -0
  57. package/dist/api/resources/automations/index.d.ts +1 -0
  58. package/dist/api/resources/automations/index.js +17 -0
  59. package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -10
  60. package/dist/api/resources/extensionConfigurations/client/Client.js +3 -68
  61. package/dist/api/resources/extensionConfigurations/client/index.d.ts +1 -1
  62. package/dist/api/resources/extensionConfigurations/client/index.js +0 -15
  63. package/dist/api/resources/index.d.ts +2 -1
  64. package/dist/api/resources/index.js +3 -2
  65. package/dist/api/resources/profiles/client/Client.js +2 -2
  66. package/dist/api/resources/requests/client/Client.js +2 -2
  67. package/dist/api/resources/sessions/client/Client.js +14 -14
  68. package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +4 -1
  69. package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +3 -0
  70. package/dist/api/resources/windows/client/Client.js +52 -52
  71. package/dist/api/types/AutomationOutput.d.ts +10 -0
  72. package/dist/api/types/AutomationOutput.js +5 -0
  73. package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
  74. package/dist/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
  75. package/dist/api/types/ListAutomationsOutput.d.ts +7 -0
  76. package/dist/api/types/ListAutomationsOutput.js +5 -0
  77. package/dist/api/types/Pagination.d.ts +8 -0
  78. package/dist/api/types/SessionConfigV1.d.ts +0 -2
  79. package/dist/api/types/index.d.ts +3 -0
  80. package/dist/api/types/index.js +3 -0
  81. package/dist/serialization/resources/automations/client/index.d.ts +1 -0
  82. package/dist/serialization/resources/automations/client/index.js +17 -0
  83. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
  84. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +35 -0
  85. package/dist/serialization/resources/automations/client/requests/index.d.ts +1 -0
  86. package/dist/serialization/resources/automations/client/requests/index.js +5 -0
  87. package/dist/serialization/resources/automations/index.d.ts +1 -0
  88. package/dist/serialization/resources/automations/index.js +17 -0
  89. package/dist/serialization/resources/index.d.ts +2 -0
  90. package/dist/serialization/resources/index.js +3 -1
  91. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
  92. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +1 -1
  93. package/dist/serialization/types/AutomationOutput.d.ts +16 -0
  94. package/dist/serialization/types/AutomationOutput.js +37 -0
  95. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
  96. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +31 -0
  97. package/dist/serialization/types/ListAutomationsOutput.d.ts +13 -0
  98. package/dist/serialization/types/ListAutomationsOutput.js +34 -0
  99. package/dist/serialization/types/SessionConfigV1.d.ts +0 -1
  100. package/dist/serialization/types/SessionConfigV1.js +0 -1
  101. package/dist/serialization/types/index.d.ts +3 -0
  102. package/dist/serialization/types/index.js +3 -0
  103. package/package.json +1 -1
  104. package/reference.md +193 -6
  105. package/serialization/resources/automations/client/index.d.ts +1 -0
  106. package/serialization/resources/automations/client/index.js +17 -0
  107. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
  108. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +35 -0
  109. package/serialization/resources/automations/client/requests/index.d.ts +1 -0
  110. package/serialization/resources/automations/client/requests/index.js +5 -0
  111. package/serialization/resources/automations/index.d.ts +1 -0
  112. package/serialization/resources/automations/index.js +17 -0
  113. package/serialization/resources/index.d.ts +2 -0
  114. package/serialization/resources/index.js +3 -1
  115. package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
  116. package/serialization/resources/sessions/types/SessionsListRequestStatus.js +1 -1
  117. package/serialization/types/AutomationOutput.d.ts +16 -0
  118. package/serialization/types/AutomationOutput.js +37 -0
  119. package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
  120. package/serialization/types/DeleteAutomationOutputWrapperBody.js +31 -0
  121. package/serialization/types/ListAutomationsOutput.d.ts +13 -0
  122. package/serialization/types/ListAutomationsOutput.js +34 -0
  123. package/serialization/types/SessionConfigV1.d.ts +0 -1
  124. package/serialization/types/SessionConfigV1.js +0 -1
  125. package/serialization/types/index.d.ts +3 -0
  126. package/serialization/types/index.js +3 -0
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DeleteAutomationOutputWrapperBody = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DeleteAutomationOutputWrapperBody = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -0,0 +1,13 @@
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 { AutomationOutput } from "./AutomationOutput";
8
+ export declare const ListAutomationsOutput: core.serialization.ObjectSchema<serializers.ListAutomationsOutput.Raw, Airtop.ListAutomationsOutput>;
9
+ export declare namespace ListAutomationsOutput {
10
+ interface Raw {
11
+ automations?: AutomationOutput.Raw[] | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ListAutomationsOutput = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const AutomationOutput_1 = require("./AutomationOutput");
32
+ exports.ListAutomationsOutput = core.serialization.object({
33
+ automations: core.serialization.list(AutomationOutput_1.AutomationOutput).optional(),
34
+ });
@@ -9,7 +9,6 @@ export declare const SessionConfigV1: core.serialization.ObjectSchema<serializer
9
9
  export declare namespace SessionConfigV1 {
10
10
  interface Raw {
11
11
  baseProfileId?: string | null;
12
- extensionConfigurationName?: string | null;
13
12
  extensionIds?: string[] | null;
14
13
  persistProfile?: boolean | null;
15
14
  profileName?: string | null;
@@ -31,7 +31,6 @@ const core = __importStar(require("../../core"));
31
31
  const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
32
32
  exports.SessionConfigV1 = core.serialization.object({
33
33
  baseProfileId: core.serialization.string().optional(),
34
- extensionConfigurationName: core.serialization.string().optional(),
35
34
  extensionIds: core.serialization.list(core.serialization.string()).optional(),
36
35
  persistProfile: core.serialization.boolean().optional(),
37
36
  profileName: core.serialization.string().optional(),
@@ -2,6 +2,7 @@ export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./AsyncConfig";
4
4
  export * from "./AsyncSessionAiResponseEnvelope";
5
+ export * from "./AutomationOutput";
5
6
  export * from "./BrowserWaitNavigationConfigWaitUntil";
6
7
  export * from "./BrowserWaitNavigationConfig";
7
8
  export * from "./BrowserWaitSelectorConfig";
@@ -9,6 +10,7 @@ export * from "./ClickConfigClickType";
9
10
  export * from "./ClickConfig";
10
11
  export * from "./ClientProvidedResponseMetadata";
11
12
  export * from "./CreateAutomationRequestBodyConfiguration";
13
+ export * from "./DeleteAutomationOutputWrapperBody";
12
14
  export * from "./EnvelopeDefaultMeta";
13
15
  export * from "./ErrorBody";
14
16
  export * from "./ErrorDetail";
@@ -22,6 +24,7 @@ export * from "./ExternalSessionConfig";
22
24
  export * from "./ExternalSessionWithConnectionInfo";
23
25
  export * from "./IntervalMonitorConfig";
24
26
  export * from "./Issue";
27
+ export * from "./ListAutomationsOutput";
25
28
  export * from "./MicroInteractionConfig";
26
29
  export * from "./MonitorConfigIncludeVisualAnalysis";
27
30
  export * from "./MonitorConfigMonitorType";
@@ -18,6 +18,7 @@ __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./AsyncConfig"), exports);
20
20
  __exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
21
+ __exportStar(require("./AutomationOutput"), exports);
21
22
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
22
23
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
23
24
  __exportStar(require("./BrowserWaitSelectorConfig"), exports);
@@ -25,6 +26,7 @@ __exportStar(require("./ClickConfigClickType"), exports);
25
26
  __exportStar(require("./ClickConfig"), exports);
26
27
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
27
28
  __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
29
+ __exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
28
30
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
29
31
  __exportStar(require("./ErrorBody"), exports);
30
32
  __exportStar(require("./ErrorDetail"), exports);
@@ -38,6 +40,7 @@ __exportStar(require("./ExternalSessionConfig"), exports);
38
40
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
39
41
  __exportStar(require("./IntervalMonitorConfig"), exports);
40
42
  __exportStar(require("./Issue"), exports);
43
+ __exportStar(require("./ListAutomationsOutput"), exports);
41
44
  __exportStar(require("./MicroInteractionConfig"), exports);
42
45
  __exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
43
46
  __exportStar(require("./MonitorConfigMonitorType"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airtop/sdk",
3
- "version": "0.1.30-beta0",
3
+ "version": "0.1.31-beta0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airtop-ai/airtop-node-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -2002,9 +2002,9 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
2002
2002
  </dl>
2003
2003
  </details>
2004
2004
 
2005
- ## ExtensionConfigurations
2005
+ ## Automations
2006
2006
 
2007
- <details><summary><code>client.extensionConfigurations.<a href="/src/api/resources/extensionConfigurations/client/Client.ts">extensionConfigurationDelete</a>({ ...params }) -> void</code></summary>
2007
+ <details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">listAutomations</a>() -> Airtop.ListAutomationsOutput</code></summary>
2008
2008
  <dl>
2009
2009
  <dd>
2010
2010
 
@@ -2016,7 +2016,7 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
2016
2016
  <dl>
2017
2017
  <dd>
2018
2018
 
2019
- Delete extension configurations matching by name
2019
+ List all automations for a given organization
2020
2020
 
2021
2021
  </dd>
2022
2022
  </dl>
@@ -2032,7 +2032,7 @@ Delete extension configurations matching by name
2032
2032
  <dd>
2033
2033
 
2034
2034
  ```typescript
2035
- await client.extensionConfigurations.extensionConfigurationDelete();
2035
+ await client.automations.listAutomations();
2036
2036
  ```
2037
2037
 
2038
2038
  </dd>
@@ -2048,15 +2048,200 @@ await client.extensionConfigurations.extensionConfigurationDelete();
2048
2048
  <dl>
2049
2049
  <dd>
2050
2050
 
2051
- **request:** `Airtop.ExtensionConfigurationDeleteRequest`
2051
+ **requestOptions:** `Automations.RequestOptions`
2052
2052
 
2053
+ </dd>
2054
+ </dl>
2053
2055
  </dd>
2054
2056
  </dl>
2055
2057
 
2058
+ </dd>
2059
+ </dl>
2060
+ </details>
2061
+
2062
+ <details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">updateAutomationDescription</a>({ ...params }) -> Airtop.AutomationOutput</code></summary>
2056
2063
  <dl>
2057
2064
  <dd>
2058
2065
 
2059
- **requestOptions:** `ExtensionConfigurations.RequestOptions`
2066
+ #### 📝 Description
2067
+
2068
+ <dl>
2069
+ <dd>
2070
+
2071
+ <dl>
2072
+ <dd>
2073
+
2074
+ Update the description of a specific automation
2075
+
2076
+ </dd>
2077
+ </dl>
2078
+ </dd>
2079
+ </dl>
2080
+
2081
+ #### 🔌 Usage
2082
+
2083
+ <dl>
2084
+ <dd>
2085
+
2086
+ <dl>
2087
+ <dd>
2088
+
2089
+ ```typescript
2090
+ await client.automations.updateAutomationDescription({
2091
+ description: "description",
2092
+ id: "id",
2093
+ orgId: "orgId",
2094
+ });
2095
+ ```
2096
+
2097
+ </dd>
2098
+ </dl>
2099
+ </dd>
2100
+ </dl>
2101
+
2102
+ #### ⚙️ Parameters
2103
+
2104
+ <dl>
2105
+ <dd>
2106
+
2107
+ <dl>
2108
+ <dd>
2109
+
2110
+ **request:** `Airtop.UpdateAutomationDescriptionInputBody`
2111
+
2112
+ </dd>
2113
+ </dl>
2114
+
2115
+ <dl>
2116
+ <dd>
2117
+
2118
+ **requestOptions:** `Automations.RequestOptions`
2119
+
2120
+ </dd>
2121
+ </dl>
2122
+ </dd>
2123
+ </dl>
2124
+
2125
+ </dd>
2126
+ </dl>
2127
+ </details>
2128
+
2129
+ <details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">getAutomation</a>(automationId) -> Airtop.AutomationOutput</code></summary>
2130
+ <dl>
2131
+ <dd>
2132
+
2133
+ #### 📝 Description
2134
+
2135
+ <dl>
2136
+ <dd>
2137
+
2138
+ <dl>
2139
+ <dd>
2140
+
2141
+ Get a specific automation by ID
2142
+
2143
+ </dd>
2144
+ </dl>
2145
+ </dd>
2146
+ </dl>
2147
+
2148
+ #### 🔌 Usage
2149
+
2150
+ <dl>
2151
+ <dd>
2152
+
2153
+ <dl>
2154
+ <dd>
2155
+
2156
+ ```typescript
2157
+ await client.automations.getAutomation("automationId");
2158
+ ```
2159
+
2160
+ </dd>
2161
+ </dl>
2162
+ </dd>
2163
+ </dl>
2164
+
2165
+ #### ⚙️ Parameters
2166
+
2167
+ <dl>
2168
+ <dd>
2169
+
2170
+ <dl>
2171
+ <dd>
2172
+
2173
+ **automationId:** `string` — ID of the automation to retrieve
2174
+
2175
+ </dd>
2176
+ </dl>
2177
+
2178
+ <dl>
2179
+ <dd>
2180
+
2181
+ **requestOptions:** `Automations.RequestOptions`
2182
+
2183
+ </dd>
2184
+ </dl>
2185
+ </dd>
2186
+ </dl>
2187
+
2188
+ </dd>
2189
+ </dl>
2190
+ </details>
2191
+
2192
+ <details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">deleteAutomation</a>(automationId) -> Airtop.DeleteAutomationOutputWrapperBody</code></summary>
2193
+ <dl>
2194
+ <dd>
2195
+
2196
+ #### 📝 Description
2197
+
2198
+ <dl>
2199
+ <dd>
2200
+
2201
+ <dl>
2202
+ <dd>
2203
+
2204
+ Delete a specific automation
2205
+
2206
+ </dd>
2207
+ </dl>
2208
+ </dd>
2209
+ </dl>
2210
+
2211
+ #### 🔌 Usage
2212
+
2213
+ <dl>
2214
+ <dd>
2215
+
2216
+ <dl>
2217
+ <dd>
2218
+
2219
+ ```typescript
2220
+ await client.automations.deleteAutomation("automationId");
2221
+ ```
2222
+
2223
+ </dd>
2224
+ </dl>
2225
+ </dd>
2226
+ </dl>
2227
+
2228
+ #### ⚙️ Parameters
2229
+
2230
+ <dl>
2231
+ <dd>
2232
+
2233
+ <dl>
2234
+ <dd>
2235
+
2236
+ **automationId:** `string` — ID of the automation to delete
2237
+
2238
+ </dd>
2239
+ </dl>
2240
+
2241
+ <dl>
2242
+ <dd>
2243
+
2244
+ **requestOptions:** `Automations.RequestOptions`
2060
2245
 
2061
2246
  </dd>
2062
2247
  </dl>
@@ -2067,6 +2252,8 @@ await client.extensionConfigurations.extensionConfigurationDelete();
2067
2252
  </dl>
2068
2253
  </details>
2069
2254
 
2255
+ ## ExtensionConfigurations
2256
+
2070
2257
  <details><summary><code>client.extensionConfigurations.<a href="/src/api/resources/extensionConfigurations/client/Client.ts">extensionConfigurationGetInfo</a>(name) -> Airtop.ExtensionConfigurationOutput</code></summary>
2071
2258
  <dl>
2072
2259
  <dd>
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,14 @@
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
+ export declare const UpdateAutomationDescriptionInputBody: core.serialization.Schema<serializers.UpdateAutomationDescriptionInputBody.Raw, Airtop.UpdateAutomationDescriptionInputBody>;
8
+ export declare namespace UpdateAutomationDescriptionInputBody {
9
+ interface Raw {
10
+ description: string;
11
+ id: string;
12
+ orgId: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UpdateAutomationDescriptionInputBody = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ exports.UpdateAutomationDescriptionInputBody = core.serialization.object({
32
+ description: core.serialization.string(),
33
+ id: core.serialization.string(),
34
+ orgId: core.serialization.string(),
35
+ });
@@ -0,0 +1 @@
1
+ export { UpdateAutomationDescriptionInputBody } from "./UpdateAutomationDescriptionInputBody";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAutomationDescriptionInputBody = void 0;
4
+ var UpdateAutomationDescriptionInputBody_1 = require("./UpdateAutomationDescriptionInputBody");
5
+ Object.defineProperty(exports, "UpdateAutomationDescriptionInputBody", { enumerable: true, get: function () { return UpdateAutomationDescriptionInputBody_1.UpdateAutomationDescriptionInputBody; } });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -3,4 +3,6 @@ export * from "./windows/types";
3
3
  export * as sessions from "./sessions";
4
4
  export * from "./sessions/types";
5
5
  export * from "./windows/client/requests";
6
+ export * as automations from "./automations";
7
+ export * from "./automations/client/requests";
6
8
  export * from "./sessions/client/requests";
@@ -26,10 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.sessions = exports.windows = void 0;
29
+ exports.automations = exports.sessions = exports.windows = void 0;
30
30
  exports.windows = __importStar(require("./windows"));
31
31
  __exportStar(require("./windows/types"), exports);
32
32
  exports.sessions = __importStar(require("./sessions"));
33
33
  __exportStar(require("./sessions/types"), exports);
34
34
  __exportStar(require("./windows/client/requests"), exports);
35
+ exports.automations = __importStar(require("./automations"));
36
+ __exportStar(require("./automations/client/requests"), exports);
35
37
  __exportStar(require("./sessions/client/requests"), exports);
@@ -6,5 +6,5 @@ import * as Airtop from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const SessionsListRequestStatus: core.serialization.Schema<serializers.SessionsListRequestStatus.Raw, Airtop.SessionsListRequestStatus>;
8
8
  export declare namespace SessionsListRequestStatus {
9
- type Raw = "awaitingCapacity" | "initializing" | "running" | "ended";
9
+ type Raw = "awaitingCapacity" | "initializing" | "running" | "ended" | "completed" | "cancelled" | "all";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionsListRequestStatus = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.SessionsListRequestStatus = core.serialization.enum_(["awaitingCapacity", "initializing", "running", "ended"]);
31
+ exports.SessionsListRequestStatus = core.serialization.enum_(["awaitingCapacity", "initializing", "running", "ended", "completed", "cancelled", "all"]);
@@ -0,0 +1,16 @@
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
+ export declare const AutomationOutput: core.serialization.ObjectSchema<serializers.AutomationOutput.Raw, Airtop.AutomationOutput>;
8
+ export declare namespace AutomationOutput {
9
+ interface Raw {
10
+ description?: string | null;
11
+ domainName: string;
12
+ id: string;
13
+ schema?: string | null;
14
+ template?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AutomationOutput = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AutomationOutput = core.serialization.object({
32
+ description: core.serialization.string().optional(),
33
+ domainName: core.serialization.string(),
34
+ id: core.serialization.string(),
35
+ schema: core.serialization.string().optional(),
36
+ template: core.serialization.string().optional(),
37
+ });
@@ -0,0 +1,10 @@
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
+ export declare const DeleteAutomationOutputWrapperBody: core.serialization.Schema<serializers.DeleteAutomationOutputWrapperBody.Raw, Airtop.DeleteAutomationOutputWrapperBody>;
8
+ export declare namespace DeleteAutomationOutputWrapperBody {
9
+ type Raw = Record<string, unknown>;
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DeleteAutomationOutputWrapperBody = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DeleteAutomationOutputWrapperBody = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -0,0 +1,13 @@
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 { AutomationOutput } from "./AutomationOutput";
8
+ export declare const ListAutomationsOutput: core.serialization.ObjectSchema<serializers.ListAutomationsOutput.Raw, Airtop.ListAutomationsOutput>;
9
+ export declare namespace ListAutomationsOutput {
10
+ interface Raw {
11
+ automations?: AutomationOutput.Raw[] | null;
12
+ }
13
+ }