@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
@@ -2,10 +2,11 @@ export * as windows from "./windows";
2
2
  export * from "./windows/types";
3
3
  export * as sessions from "./sessions";
4
4
  export * from "./sessions/types";
5
+ export * as automations from "./automations";
5
6
  export * as extensionConfigurations from "./extensionConfigurations";
6
7
  export * as profiles from "./profiles";
7
8
  export * as requests from "./requests";
8
9
  export * from "./windows/client/requests";
9
- export * from "./extensionConfigurations/client/requests";
10
+ export * from "./automations/client/requests";
10
11
  export * from "./profiles/client/requests";
11
12
  export * from "./sessions/client/requests";
@@ -26,15 +26,16 @@ 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.requests = exports.profiles = exports.extensionConfigurations = exports.sessions = exports.windows = void 0;
29
+ exports.requests = exports.profiles = exports.extensionConfigurations = 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
+ exports.automations = __importStar(require("./automations"));
34
35
  exports.extensionConfigurations = __importStar(require("./extensionConfigurations"));
35
36
  exports.profiles = __importStar(require("./profiles"));
36
37
  exports.requests = __importStar(require("./requests"));
37
38
  __exportStar(require("./windows/client/requests"), exports);
38
- __exportStar(require("./extensionConfigurations/client/requests"), exports);
39
+ __exportStar(require("./automations/client/requests"), exports);
39
40
  __exportStar(require("./profiles/client/requests"), exports);
40
41
  __exportStar(require("./sessions/client/requests"), exports);
@@ -84,8 +84,8 @@ class Profiles {
84
84
  Authorization: yield this._getAuthorizationHeader(),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "@airtop/sdk",
87
- "X-Fern-SDK-Version": "0.1.30-beta0",
88
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
87
+ "X-Fern-SDK-Version": "0.1.31-beta0",
88
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -65,8 +65,8 @@ class Requests {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@airtop/sdk",
68
- "X-Fern-SDK-Version": "0.1.27-beta0",
69
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
68
+ "X-Fern-SDK-Version": "0.1.31-beta0",
69
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -94,8 +94,8 @@ class Sessions {
94
94
  Authorization: yield this._getAuthorizationHeader(),
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "@airtop/sdk",
97
- "X-Fern-SDK-Version": "0.1.30-beta0",
98
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
97
+ "X-Fern-SDK-Version": "0.1.31-beta0",
98
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
99
99
  "X-Fern-Runtime": core.RUNTIME.type,
100
100
  "X-Fern-Runtime-Version": core.RUNTIME.version,
101
101
  },
@@ -180,8 +180,8 @@ class Sessions {
180
180
  Authorization: yield this._getAuthorizationHeader(),
181
181
  "X-Fern-Language": "JavaScript",
182
182
  "X-Fern-SDK-Name": "@airtop/sdk",
183
- "X-Fern-SDK-Version": "0.1.30-beta0",
184
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
183
+ "X-Fern-SDK-Version": "0.1.31-beta0",
184
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
185
185
  "X-Fern-Runtime": core.RUNTIME.type,
186
186
  "X-Fern-Runtime-Version": core.RUNTIME.version,
187
187
  },
@@ -245,8 +245,8 @@ class Sessions {
245
245
  Authorization: yield this._getAuthorizationHeader(),
246
246
  "X-Fern-Language": "JavaScript",
247
247
  "X-Fern-SDK-Name": "@airtop/sdk",
248
- "X-Fern-SDK-Version": "0.1.30-beta0",
249
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
248
+ "X-Fern-SDK-Version": "0.1.31-beta0",
249
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
250
250
  "X-Fern-Runtime": core.RUNTIME.type,
251
251
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
252
  },
@@ -332,8 +332,8 @@ class Sessions {
332
332
  Authorization: yield this._getAuthorizationHeader(),
333
333
  "X-Fern-Language": "JavaScript",
334
334
  "X-Fern-SDK-Name": "@airtop/sdk",
335
- "X-Fern-SDK-Version": "0.1.30-beta0",
336
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
335
+ "X-Fern-SDK-Version": "0.1.31-beta0",
336
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
337
337
  "X-Fern-Runtime": core.RUNTIME.type,
338
338
  "X-Fern-Runtime-Version": core.RUNTIME.version,
339
339
  },
@@ -388,8 +388,8 @@ class Sessions {
388
388
  Authorization: yield this._getAuthorizationHeader(),
389
389
  "X-Fern-Language": "JavaScript",
390
390
  "X-Fern-SDK-Name": "@airtop/sdk",
391
- "X-Fern-SDK-Version": "0.1.30-beta0",
392
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
391
+ "X-Fern-SDK-Version": "0.1.31-beta0",
392
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
393
393
  "X-Fern-Runtime": core.RUNTIME.type,
394
394
  "X-Fern-Runtime-Version": core.RUNTIME.version,
395
395
  },
@@ -486,8 +486,8 @@ class Sessions {
486
486
  Authorization: yield this._getAuthorizationHeader(),
487
487
  "X-Fern-Language": "JavaScript",
488
488
  "X-Fern-SDK-Name": "@airtop/sdk",
489
- "X-Fern-SDK-Version": "0.1.27-beta0",
490
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
489
+ "X-Fern-SDK-Version": "0.1.31-beta0",
490
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
491
491
  "X-Fern-Runtime": core.RUNTIME.type,
492
492
  "X-Fern-Runtime-Version": core.RUNTIME.version,
493
493
  },
@@ -539,8 +539,8 @@ class Sessions {
539
539
  Authorization: yield this._getAuthorizationHeader(),
540
540
  "X-Fern-Language": "JavaScript",
541
541
  "X-Fern-SDK-Name": "@airtop/sdk",
542
- "X-Fern-SDK-Version": "0.1.30-beta0",
543
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
542
+ "X-Fern-SDK-Version": "0.1.31-beta0",
543
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
544
544
  "X-Fern-Runtime": core.RUNTIME.type,
545
545
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
546
  },
@@ -4,10 +4,13 @@
4
4
  /**
5
5
  * Status of the session to get.
6
6
  */
7
- export declare type SessionsListRequestStatus = "awaitingCapacity" | "initializing" | "running" | "ended";
7
+ export declare type SessionsListRequestStatus = "awaitingCapacity" | "initializing" | "running" | "ended" | "completed" | "cancelled" | "all";
8
8
  export declare const SessionsListRequestStatus: {
9
9
  readonly AwaitingCapacity: "awaitingCapacity";
10
10
  readonly Initializing: "initializing";
11
11
  readonly Running: "running";
12
12
  readonly Ended: "ended";
13
+ readonly Completed: "completed";
14
+ readonly Cancelled: "cancelled";
15
+ readonly All: "all";
13
16
  };
@@ -9,4 +9,7 @@ exports.SessionsListRequestStatus = {
9
9
  Initializing: "initializing",
10
10
  Running: "running",
11
11
  Ended: "ended",
12
+ Completed: "completed",
13
+ Cancelled: "cancelled",
14
+ All: "all",
12
15
  };
@@ -71,8 +71,8 @@ class Windows {
71
71
  Authorization: yield this._getAuthorizationHeader(),
72
72
  "X-Fern-Language": "JavaScript",
73
73
  "X-Fern-SDK-Name": "@airtop/sdk",
74
- "X-Fern-SDK-Version": "0.1.27-beta0",
75
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
74
+ "X-Fern-SDK-Version": "0.1.31-beta0",
75
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -134,8 +134,8 @@ class Windows {
134
134
  Authorization: yield this._getAuthorizationHeader(),
135
135
  "X-Fern-Language": "JavaScript",
136
136
  "X-Fern-SDK-Name": "@airtop/sdk",
137
- "X-Fern-SDK-Version": "0.1.27-beta0",
138
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
137
+ "X-Fern-SDK-Version": "0.1.31-beta0",
138
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
139
139
  "X-Fern-Runtime": core.RUNTIME.type,
140
140
  "X-Fern-Runtime-Version": core.RUNTIME.version,
141
141
  },
@@ -199,8 +199,8 @@ class Windows {
199
199
  Authorization: yield this._getAuthorizationHeader(),
200
200
  "X-Fern-Language": "JavaScript",
201
201
  "X-Fern-SDK-Name": "@airtop/sdk",
202
- "X-Fern-SDK-Version": "0.1.27-beta0",
203
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
202
+ "X-Fern-SDK-Version": "0.1.31-beta0",
203
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
204
204
  "X-Fern-Runtime": core.RUNTIME.type,
205
205
  "X-Fern-Runtime-Version": core.RUNTIME.version,
206
206
  },
@@ -262,8 +262,8 @@ class Windows {
262
262
  Authorization: yield this._getAuthorizationHeader(),
263
263
  "X-Fern-Language": "JavaScript",
264
264
  "X-Fern-SDK-Name": "@airtop/sdk",
265
- "X-Fern-SDK-Version": "0.1.27-beta0",
266
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
265
+ "X-Fern-SDK-Version": "0.1.31-beta0",
266
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
267
267
  "X-Fern-Runtime": core.RUNTIME.type,
268
268
  "X-Fern-Runtime-Version": core.RUNTIME.version,
269
269
  },
@@ -323,8 +323,8 @@ class Windows {
323
323
  Authorization: yield this._getAuthorizationHeader(),
324
324
  "X-Fern-Language": "JavaScript",
325
325
  "X-Fern-SDK-Name": "@airtop/sdk",
326
- "X-Fern-SDK-Version": "0.1.27-beta0",
327
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
326
+ "X-Fern-SDK-Version": "0.1.31-beta0",
327
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
328
328
  "X-Fern-Runtime": core.RUNTIME.type,
329
329
  "X-Fern-Runtime-Version": core.RUNTIME.version,
330
330
  },
@@ -386,8 +386,8 @@ class Windows {
386
386
  Authorization: yield this._getAuthorizationHeader(),
387
387
  "X-Fern-Language": "JavaScript",
388
388
  "X-Fern-SDK-Name": "@airtop/sdk",
389
- "X-Fern-SDK-Version": "0.1.27-beta0",
390
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
389
+ "X-Fern-SDK-Version": "0.1.31-beta0",
390
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
391
391
  "X-Fern-Runtime": core.RUNTIME.type,
392
392
  "X-Fern-Runtime-Version": core.RUNTIME.version,
393
393
  },
@@ -449,8 +449,8 @@ class Windows {
449
449
  Authorization: yield this._getAuthorizationHeader(),
450
450
  "X-Fern-Language": "JavaScript",
451
451
  "X-Fern-SDK-Name": "@airtop/sdk",
452
- "X-Fern-SDK-Version": "0.1.27-beta0",
453
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
452
+ "X-Fern-SDK-Version": "0.1.31-beta0",
453
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
454
454
  "X-Fern-Runtime": core.RUNTIME.type,
455
455
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
456
  },
@@ -514,8 +514,8 @@ class Windows {
514
514
  Authorization: yield this._getAuthorizationHeader(),
515
515
  "X-Fern-Language": "JavaScript",
516
516
  "X-Fern-SDK-Name": "@airtop/sdk",
517
- "X-Fern-SDK-Version": "0.1.27-beta0",
518
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
517
+ "X-Fern-SDK-Version": "0.1.31-beta0",
518
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
519
519
  "X-Fern-Runtime": core.RUNTIME.type,
520
520
  "X-Fern-Runtime-Version": core.RUNTIME.version,
521
521
  },
@@ -577,8 +577,8 @@ class Windows {
577
577
  Authorization: yield this._getAuthorizationHeader(),
578
578
  "X-Fern-Language": "JavaScript",
579
579
  "X-Fern-SDK-Name": "@airtop/sdk",
580
- "X-Fern-SDK-Version": "0.1.27-beta0",
581
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
580
+ "X-Fern-SDK-Version": "0.1.31-beta0",
581
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
582
582
  "X-Fern-Runtime": core.RUNTIME.type,
583
583
  "X-Fern-Runtime-Version": core.RUNTIME.version,
584
584
  },
@@ -640,8 +640,8 @@ class Windows {
640
640
  Authorization: yield this._getAuthorizationHeader(),
641
641
  "X-Fern-Language": "JavaScript",
642
642
  "X-Fern-SDK-Name": "@airtop/sdk",
643
- "X-Fern-SDK-Version": "0.1.27-beta0",
644
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
643
+ "X-Fern-SDK-Version": "0.1.31-beta0",
644
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
645
645
  "X-Fern-Runtime": core.RUNTIME.type,
646
646
  "X-Fern-Runtime-Version": core.RUNTIME.version,
647
647
  },
@@ -703,8 +703,8 @@ class Windows {
703
703
  Authorization: yield this._getAuthorizationHeader(),
704
704
  "X-Fern-Language": "JavaScript",
705
705
  "X-Fern-SDK-Name": "@airtop/sdk",
706
- "X-Fern-SDK-Version": "0.1.27-beta0",
707
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
706
+ "X-Fern-SDK-Version": "0.1.31-beta0",
707
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
708
708
  "X-Fern-Runtime": core.RUNTIME.type,
709
709
  "X-Fern-Runtime-Version": core.RUNTIME.version,
710
710
  },
@@ -765,8 +765,8 @@ class Windows {
765
765
  Authorization: yield this._getAuthorizationHeader(),
766
766
  "X-Fern-Language": "JavaScript",
767
767
  "X-Fern-SDK-Name": "@airtop/sdk",
768
- "X-Fern-SDK-Version": "0.1.30-beta0",
769
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
768
+ "X-Fern-SDK-Version": "0.1.31-beta0",
769
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
770
770
  "X-Fern-Runtime": core.RUNTIME.type,
771
771
  "X-Fern-Runtime-Version": core.RUNTIME.version,
772
772
  },
@@ -841,8 +841,8 @@ class Windows {
841
841
  Authorization: yield this._getAuthorizationHeader(),
842
842
  "X-Fern-Language": "JavaScript",
843
843
  "X-Fern-SDK-Name": "@airtop/sdk",
844
- "X-Fern-SDK-Version": "0.1.30-beta0",
845
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
844
+ "X-Fern-SDK-Version": "0.1.31-beta0",
845
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
846
846
  "X-Fern-Runtime": core.RUNTIME.type,
847
847
  "X-Fern-Runtime-Version": core.RUNTIME.version,
848
848
  },
@@ -906,8 +906,8 @@ class Windows {
906
906
  Authorization: yield this._getAuthorizationHeader(),
907
907
  "X-Fern-Language": "JavaScript",
908
908
  "X-Fern-SDK-Name": "@airtop/sdk",
909
- "X-Fern-SDK-Version": "0.1.30-beta0",
910
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
909
+ "X-Fern-SDK-Version": "0.1.31-beta0",
910
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
911
911
  "X-Fern-Runtime": core.RUNTIME.type,
912
912
  "X-Fern-Runtime-Version": core.RUNTIME.version,
913
913
  },
@@ -968,8 +968,8 @@ class Windows {
968
968
  Authorization: yield this._getAuthorizationHeader(),
969
969
  "X-Fern-Language": "JavaScript",
970
970
  "X-Fern-SDK-Name": "@airtop/sdk",
971
- "X-Fern-SDK-Version": "0.1.30-beta0",
972
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
971
+ "X-Fern-SDK-Version": "0.1.31-beta0",
972
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
973
973
  "X-Fern-Runtime": core.RUNTIME.type,
974
974
  "X-Fern-Runtime-Version": core.RUNTIME.version,
975
975
  },
@@ -1032,8 +1032,8 @@ class Windows {
1032
1032
  Authorization: yield this._getAuthorizationHeader(),
1033
1033
  "X-Fern-Language": "JavaScript",
1034
1034
  "X-Fern-SDK-Name": "@airtop/sdk",
1035
- "X-Fern-SDK-Version": "0.1.30-beta0",
1036
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1035
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1036
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1037
1037
  "X-Fern-Runtime": core.RUNTIME.type,
1038
1038
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1039
1039
  },
@@ -1097,8 +1097,8 @@ class Windows {
1097
1097
  Authorization: yield this._getAuthorizationHeader(),
1098
1098
  "X-Fern-Language": "JavaScript",
1099
1099
  "X-Fern-SDK-Name": "@airtop/sdk",
1100
- "X-Fern-SDK-Version": "0.1.30-beta0",
1101
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1100
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1101
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1102
1102
  "X-Fern-Runtime": core.RUNTIME.type,
1103
1103
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1104
1104
  },
@@ -1158,8 +1158,8 @@ class Windows {
1158
1158
  Authorization: yield this._getAuthorizationHeader(),
1159
1159
  "X-Fern-Language": "JavaScript",
1160
1160
  "X-Fern-SDK-Name": "@airtop/sdk",
1161
- "X-Fern-SDK-Version": "0.1.27-beta0",
1162
- "User-Agent": "@airtop/sdk/0.1.27-beta0",
1161
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1162
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1163
1163
  "X-Fern-Runtime": core.RUNTIME.type,
1164
1164
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1165
1165
  },
@@ -1225,8 +1225,8 @@ class Windows {
1225
1225
  Authorization: yield this._getAuthorizationHeader(),
1226
1226
  "X-Fern-Language": "JavaScript",
1227
1227
  "X-Fern-SDK-Name": "@airtop/sdk",
1228
- "X-Fern-SDK-Version": "0.1.30-beta0",
1229
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1228
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1229
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1230
1230
  "X-Fern-Runtime": core.RUNTIME.type,
1231
1231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1232
1232
  },
@@ -1292,8 +1292,8 @@ class Windows {
1292
1292
  Authorization: yield this._getAuthorizationHeader(),
1293
1293
  "X-Fern-Language": "JavaScript",
1294
1294
  "X-Fern-SDK-Name": "@airtop/sdk",
1295
- "X-Fern-SDK-Version": "0.1.30-beta0",
1296
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1295
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1296
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1297
1297
  "X-Fern-Runtime": core.RUNTIME.type,
1298
1298
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1299
1299
  },
@@ -1359,8 +1359,8 @@ class Windows {
1359
1359
  Authorization: yield this._getAuthorizationHeader(),
1360
1360
  "X-Fern-Language": "JavaScript",
1361
1361
  "X-Fern-SDK-Name": "@airtop/sdk",
1362
- "X-Fern-SDK-Version": "0.1.30-beta0",
1363
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1362
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1363
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1364
1364
  "X-Fern-Runtime": core.RUNTIME.type,
1365
1365
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1366
1366
  },
@@ -1424,8 +1424,8 @@ class Windows {
1424
1424
  Authorization: yield this._getAuthorizationHeader(),
1425
1425
  "X-Fern-Language": "JavaScript",
1426
1426
  "X-Fern-SDK-Name": "@airtop/sdk",
1427
- "X-Fern-SDK-Version": "0.1.30-beta0",
1428
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1427
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1428
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1429
1429
  "X-Fern-Runtime": core.RUNTIME.type,
1430
1430
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1431
1431
  },
@@ -1487,8 +1487,8 @@ class Windows {
1487
1487
  Authorization: yield this._getAuthorizationHeader(),
1488
1488
  "X-Fern-Language": "JavaScript",
1489
1489
  "X-Fern-SDK-Name": "@airtop/sdk",
1490
- "X-Fern-SDK-Version": "0.1.30-beta0",
1491
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1490
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1491
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1492
1492
  "X-Fern-Runtime": core.RUNTIME.type,
1493
1493
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1494
1494
  },
@@ -1552,8 +1552,8 @@ class Windows {
1552
1552
  Authorization: yield this._getAuthorizationHeader(),
1553
1553
  "X-Fern-Language": "JavaScript",
1554
1554
  "X-Fern-SDK-Name": "@airtop/sdk",
1555
- "X-Fern-SDK-Version": "0.1.30-beta0",
1556
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1555
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1556
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1557
1557
  "X-Fern-Runtime": core.RUNTIME.type,
1558
1558
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1559
1559
  },
@@ -1615,8 +1615,8 @@ class Windows {
1615
1615
  Authorization: yield this._getAuthorizationHeader(),
1616
1616
  "X-Fern-Language": "JavaScript",
1617
1617
  "X-Fern-SDK-Name": "@airtop/sdk",
1618
- "X-Fern-SDK-Version": "0.1.30-beta0",
1619
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1618
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1619
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1620
1620
  "X-Fern-Runtime": core.RUNTIME.type,
1621
1621
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1622
1622
  },
@@ -1682,8 +1682,8 @@ class Windows {
1682
1682
  Authorization: yield this._getAuthorizationHeader(),
1683
1683
  "X-Fern-Language": "JavaScript",
1684
1684
  "X-Fern-SDK-Name": "@airtop/sdk",
1685
- "X-Fern-SDK-Version": "0.1.30-beta0",
1686
- "User-Agent": "@airtop/sdk/0.1.30-beta0",
1685
+ "X-Fern-SDK-Version": "0.1.31-beta0",
1686
+ "User-Agent": "@airtop/sdk/0.1.31-beta0",
1687
1687
  "X-Fern-Runtime": core.RUNTIME.type,
1688
1688
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1689
1689
  },
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AutomationOutput {
5
+ description?: string;
6
+ domainName: string;
7
+ id: string;
8
+ schema?: string;
9
+ template?: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DeleteAutomationOutputWrapperBody = Record<string, unknown>;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ListAutomationsOutput {
6
+ automations?: Airtop.AutomationOutput[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,12 +2,20 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface Pagination {
5
+ /** The number of items to return */
5
6
  currentLimit: number;
7
+ /** The current page number */
6
8
  currentPage: number;
9
+ /** The final count of items displayed on the current page */
7
10
  finalCount: number;
11
+ /** Whether there are more items */
8
12
  hasMore: boolean;
13
+ /** The initial count of items displayed on the current page */
9
14
  initialCount: number;
15
+ /** The number of items to skip */
10
16
  nextOffset: number;
17
+ /** The total number of pages */
11
18
  numberOfPages: number;
19
+ /** The total number of items */
12
20
  totalItems: number;
13
21
  }
@@ -5,8 +5,6 @@ import * as Airtop from "../index";
5
5
  export interface SessionConfigV1 {
6
6
  /** Deprecated: Use profileName instead. */
7
7
  baseProfileId?: string;
8
- /** Name of an extension configuration to load into the session. */
9
- extensionConfigurationName?: string;
10
8
  /** Google Web Store extension IDs to be loaded into the session. */
11
9
  extensionIds?: string[];
12
10
  /** Deprecated: use Save Profile On Termination API instead. */
@@ -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/dist/Client.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
6
  import { Windows } from "./api/resources/windows/client/Client";
7
+ import { Automations } from "./api/resources/automations/client/Client";
7
8
  import { ExtensionConfigurations } from "./api/resources/extensionConfigurations/client/Client";
8
9
  import { Profiles } from "./api/resources/profiles/client/Client";
9
10
  import { Requests } from "./api/resources/requests/client/Client";
@@ -28,6 +29,8 @@ export declare class AirtopClient {
28
29
  constructor(_options: AirtopClient.Options);
29
30
  protected _windows: Windows | undefined;
30
31
  get windows(): Windows;
32
+ protected _automations: Automations | undefined;
33
+ get automations(): Automations;
31
34
  protected _extensionConfigurations: ExtensionConfigurations | undefined;
32
35
  get extensionConfigurations(): ExtensionConfigurations;
33
36
  protected _profiles: Profiles | undefined;
package/dist/Client.js CHANGED
@@ -5,10 +5,11 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AirtopClient = void 0;
7
7
  const Client_1 = require("./api/resources/windows/client/Client");
8
- const Client_2 = require("./api/resources/extensionConfigurations/client/Client");
9
- const Client_3 = require("./api/resources/profiles/client/Client");
10
- const Client_4 = require("./api/resources/requests/client/Client");
11
- const Client_5 = require("./api/resources/sessions/client/Client");
8
+ const Client_2 = require("./api/resources/automations/client/Client");
9
+ const Client_3 = require("./api/resources/extensionConfigurations/client/Client");
10
+ const Client_4 = require("./api/resources/profiles/client/Client");
11
+ const Client_5 = require("./api/resources/requests/client/Client");
12
+ const Client_6 = require("./api/resources/sessions/client/Client");
12
13
  class AirtopClient {
13
14
  constructor(_options) {
14
15
  this._options = _options;
@@ -17,21 +18,25 @@ class AirtopClient {
17
18
  var _a;
18
19
  return ((_a = this._windows) !== null && _a !== void 0 ? _a : (this._windows = new Client_1.Windows(this._options)));
19
20
  }
21
+ get automations() {
22
+ var _a;
23
+ return ((_a = this._automations) !== null && _a !== void 0 ? _a : (this._automations = new Client_2.Automations(this._options)));
24
+ }
20
25
  get extensionConfigurations() {
21
26
  var _a;
22
- return ((_a = this._extensionConfigurations) !== null && _a !== void 0 ? _a : (this._extensionConfigurations = new Client_2.ExtensionConfigurations(this._options)));
27
+ return ((_a = this._extensionConfigurations) !== null && _a !== void 0 ? _a : (this._extensionConfigurations = new Client_3.ExtensionConfigurations(this._options)));
23
28
  }
24
29
  get profiles() {
25
30
  var _a;
26
- return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new Client_3.Profiles(this._options)));
31
+ return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new Client_4.Profiles(this._options)));
27
32
  }
28
33
  get requests() {
29
34
  var _a;
30
- return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new Client_4.Requests(this._options)));
35
+ return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new Client_5.Requests(this._options)));
31
36
  }
32
37
  get sessions() {
33
38
  var _a;
34
- return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_5.Sessions(this._options)));
39
+ return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_6.Sessions(this._options)));
35
40
  }
36
41
  }
37
42
  exports.AirtopClient = AirtopClient;