@onkernel/sdk 0.4.0 → 0.6.0

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 (159) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +24 -36
  3. package/client.d.mts +15 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +15 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +31 -22
  8. package/client.js.map +1 -1
  9. package/client.mjs +20 -11
  10. package/client.mjs.map +1 -1
  11. package/core/resource.d.mts +1 -1
  12. package/core/resource.d.mts.map +1 -1
  13. package/core/resource.d.ts +1 -1
  14. package/core/resource.d.ts.map +1 -1
  15. package/core/resource.js.map +1 -1
  16. package/core/resource.mjs.map +1 -1
  17. package/internal/detect-platform.js +3 -3
  18. package/internal/detect-platform.js.map +1 -1
  19. package/internal/detect-platform.mjs +3 -3
  20. package/internal/detect-platform.mjs.map +1 -1
  21. package/internal/headers.d.mts.map +1 -1
  22. package/internal/headers.d.ts.map +1 -1
  23. package/internal/headers.js +4 -4
  24. package/internal/headers.js.map +1 -1
  25. package/internal/headers.mjs +4 -4
  26. package/internal/headers.mjs.map +1 -1
  27. package/internal/request-options.d.mts +1 -0
  28. package/internal/request-options.d.mts.map +1 -1
  29. package/internal/request-options.d.ts +1 -0
  30. package/internal/request-options.d.ts.map +1 -1
  31. package/internal/request-options.js.map +1 -1
  32. package/internal/request-options.mjs.map +1 -1
  33. package/internal/shim-types.d.mts +11 -22
  34. package/internal/shim-types.d.mts.map +1 -0
  35. package/internal/shim-types.d.ts +11 -22
  36. package/internal/shim-types.d.ts.map +1 -0
  37. package/internal/shim-types.js +4 -0
  38. package/internal/shim-types.js.map +1 -0
  39. package/internal/shim-types.mjs +3 -0
  40. package/internal/shim-types.mjs.map +1 -0
  41. package/internal/shims.d.mts +2 -2
  42. package/internal/shims.d.mts.map +1 -1
  43. package/internal/shims.d.ts +2 -2
  44. package/internal/shims.d.ts.map +1 -1
  45. package/internal/uploads.js +1 -1
  46. package/internal/uploads.js.map +1 -1
  47. package/internal/uploads.mjs +1 -1
  48. package/internal/uploads.mjs.map +1 -1
  49. package/internal/utils/log.js +1 -1
  50. package/internal/utils/log.js.map +1 -1
  51. package/internal/utils/log.mjs +1 -1
  52. package/internal/utils/log.mjs.map +1 -1
  53. package/internal/utils/path.d.mts.map +1 -1
  54. package/internal/utils/path.d.ts.map +1 -1
  55. package/internal/utils/path.js.map +1 -1
  56. package/internal/utils/path.mjs +1 -1
  57. package/internal/utils/path.mjs.map +1 -1
  58. package/internal/utils/values.d.mts +2 -0
  59. package/internal/utils/values.d.mts.map +1 -1
  60. package/internal/utils/values.d.ts +2 -0
  61. package/internal/utils/values.d.ts.map +1 -1
  62. package/internal/utils/values.js +4 -1
  63. package/internal/utils/values.js.map +1 -1
  64. package/internal/utils/values.mjs +2 -0
  65. package/internal/utils/values.mjs.map +1 -1
  66. package/package.json +1 -4
  67. package/resources/apps/apps.d.mts +2 -7
  68. package/resources/apps/apps.d.mts.map +1 -1
  69. package/resources/apps/apps.d.ts +2 -7
  70. package/resources/apps/apps.d.ts.map +1 -1
  71. package/resources/apps/apps.js +1 -6
  72. package/resources/apps/apps.js.map +1 -1
  73. package/resources/apps/apps.mjs +1 -6
  74. package/resources/apps/apps.mjs.map +1 -1
  75. package/resources/apps/deployments.d.mts +3 -19
  76. package/resources/apps/deployments.d.mts.map +1 -1
  77. package/resources/apps/deployments.d.ts +3 -19
  78. package/resources/apps/deployments.d.ts.map +1 -1
  79. package/resources/apps/deployments.js +1 -1
  80. package/resources/apps/deployments.js.map +1 -1
  81. package/resources/apps/deployments.mjs +1 -1
  82. package/resources/apps/deployments.mjs.map +1 -1
  83. package/resources/apps/index.d.mts +0 -1
  84. package/resources/apps/index.d.mts.map +1 -1
  85. package/resources/apps/index.d.ts +0 -1
  86. package/resources/apps/index.d.ts.map +1 -1
  87. package/resources/apps/index.js +1 -3
  88. package/resources/apps/index.js.map +1 -1
  89. package/resources/apps/index.mjs +0 -1
  90. package/resources/apps/index.mjs.map +1 -1
  91. package/resources/browsers.d.mts +10 -5
  92. package/resources/browsers.d.mts.map +1 -1
  93. package/resources/browsers.d.ts +10 -5
  94. package/resources/browsers.d.ts.map +1 -1
  95. package/resources/browsers.js +5 -5
  96. package/resources/browsers.mjs +5 -5
  97. package/resources/deployments.d.mts +255 -0
  98. package/resources/deployments.d.mts.map +1 -0
  99. package/resources/deployments.d.ts +255 -0
  100. package/resources/deployments.d.ts.map +1 -0
  101. package/resources/deployments.js +54 -0
  102. package/resources/deployments.js.map +1 -0
  103. package/resources/deployments.mjs +50 -0
  104. package/resources/deployments.mjs.map +1 -0
  105. package/resources/index.d.mts +3 -0
  106. package/resources/index.d.mts.map +1 -1
  107. package/resources/index.d.ts +3 -0
  108. package/resources/index.d.ts.map +1 -1
  109. package/resources/index.js +7 -1
  110. package/resources/index.js.map +1 -1
  111. package/resources/index.mjs +3 -0
  112. package/resources/index.mjs.map +1 -1
  113. package/resources/{apps/invocations.d.mts → invocations.d.mts} +85 -13
  114. package/resources/invocations.d.mts.map +1 -0
  115. package/resources/{apps/invocations.d.ts → invocations.d.ts} +85 -13
  116. package/resources/invocations.d.ts.map +1 -0
  117. package/resources/invocations.js +69 -0
  118. package/resources/invocations.js.map +1 -0
  119. package/resources/invocations.mjs +65 -0
  120. package/resources/invocations.mjs.map +1 -0
  121. package/resources/shared.d.mts +57 -0
  122. package/resources/shared.d.mts.map +1 -0
  123. package/resources/shared.d.ts +57 -0
  124. package/resources/shared.d.ts.map +1 -0
  125. package/resources/shared.js +4 -0
  126. package/resources/shared.js.map +1 -0
  127. package/resources/shared.mjs +3 -0
  128. package/resources/shared.mjs.map +1 -0
  129. package/src/client.ts +75 -11
  130. package/src/core/resource.ts +1 -1
  131. package/src/internal/detect-platform.ts +3 -3
  132. package/src/internal/headers.ts +5 -5
  133. package/src/internal/request-options.ts +1 -0
  134. package/src/internal/shim-types.ts +26 -0
  135. package/src/internal/shims.ts +2 -2
  136. package/src/internal/uploads.ts +2 -2
  137. package/src/internal/utils/log.ts +1 -1
  138. package/src/internal/utils/path.ts +1 -1
  139. package/src/internal/utils/values.ts +3 -0
  140. package/src/resources/apps/apps.ts +2 -23
  141. package/src/resources/apps/deployments.ts +3 -22
  142. package/src/resources/apps/index.ts +0 -8
  143. package/src/resources/browsers.ts +11 -5
  144. package/src/resources/deployments.ts +326 -0
  145. package/src/resources/index.ts +19 -0
  146. package/src/resources/{apps/invocations.ts → invocations.ts} +108 -13
  147. package/src/resources/shared.ts +69 -0
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
  153. package/resources/apps/invocations.d.mts.map +0 -1
  154. package/resources/apps/invocations.d.ts.map +0 -1
  155. package/resources/apps/invocations.js +0 -52
  156. package/resources/apps/invocations.js.map +0 -1
  157. package/resources/apps/invocations.mjs +0 -48
  158. package/resources/apps/invocations.mjs.map +0 -1
  159. package/src/internal/shim-types.d.ts +0 -28
@@ -1,4 +1,3 @@
1
1
  export { Apps, type AppListResponse, type AppListParams } from "./apps.js";
2
2
  export { Deployments, type DeploymentCreateResponse, type DeploymentFollowResponse, type DeploymentCreateParams, } from "./deployments.js";
3
- export { Invocations, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationCreateParams, type InvocationUpdateParams, } from "./invocations.js";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B"}
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Invocations = exports.Deployments = exports.Apps = void 0;
4
+ exports.Deployments = exports.Apps = void 0;
5
5
  var apps_1 = require("./apps.js");
6
6
  Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
7
7
  var deployments_1 = require("./deployments.js");
8
8
  Object.defineProperty(exports, "Deployments", { enumerable: true, get: function () { return deployments_1.Deployments; } });
9
- var invocations_1 = require("./invocations.js");
10
- Object.defineProperty(exports, "Invocations", { enumerable: true, get: function () { return invocations_1.Invocations; } });
11
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,gDAOuB;AANrB,0GAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,gDAKuB;AAJrB,0GAAA,WAAW,OAAA"}
@@ -1,5 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Apps } from "./apps.mjs";
3
3
  export { Deployments, } from "./deployments.mjs";
4
- export { Invocations, } from "./invocations.mjs";
5
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA4C;OAClD,EACL,WAAW,GAIZ;OACM,EACL,WAAW,GAMZ"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/apps/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA4C;OAClD,EACL,WAAW,GAIZ"}
@@ -4,7 +4,7 @@ import { APIPromise } from "../core/api-promise.mjs";
4
4
  import { RequestOptions } from "../internal/request-options.mjs";
5
5
  export declare class Browsers extends APIResource {
6
6
  /**
7
- * Create Browser Session
7
+ * Create a new browser session from within an action.
8
8
  *
9
9
  * @example
10
10
  * ```ts
@@ -15,7 +15,7 @@ export declare class Browsers extends APIResource {
15
15
  */
16
16
  create(body: BrowserCreateParams, options?: RequestOptions): APIPromise<BrowserCreateResponse>;
17
17
  /**
18
- * Get Browser Session by ID
18
+ * Get information about a browser session.
19
19
  *
20
20
  * @example
21
21
  * ```ts
@@ -26,7 +26,7 @@ export declare class Browsers extends APIResource {
26
26
  */
27
27
  retrieve(id: string, options?: RequestOptions): APIPromise<BrowserRetrieveResponse>;
28
28
  /**
29
- * List active browser sessions for the authenticated user
29
+ * List active browser sessions
30
30
  *
31
31
  * @example
32
32
  * ```ts
@@ -35,7 +35,7 @@ export declare class Browsers extends APIResource {
35
35
  */
36
36
  list(options?: RequestOptions): APIPromise<BrowserListResponse>;
37
37
  /**
38
- * Delete a persistent browser session by persistent_id query parameter.
38
+ * Delete a persistent browser session by its persistent_id.
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -46,7 +46,7 @@ export declare class Browsers extends APIResource {
46
46
  */
47
47
  delete(params: BrowserDeleteParams, options?: RequestOptions): APIPromise<void>;
48
48
  /**
49
- * Delete Browser Session by ID
49
+ * Delete a browser session by ID
50
50
  *
51
51
  * @example
52
52
  * ```ts
@@ -132,6 +132,11 @@ export interface BrowserCreateParams {
132
132
  * Optional persistence configuration for the browser session.
133
133
  */
134
134
  persistence?: BrowserPersistence;
135
+ /**
136
+ * If true, launches the browser in stealth mode to reduce detection by anti-bot
137
+ * mechanisms.
138
+ */
139
+ stealth?: boolean;
135
140
  }
136
141
  export interface BrowserDeleteParams {
137
142
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"browsers.d.mts","sourceRoot":"","sources":["../src/resources/browsers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAS/E;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMnE;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,qBAAqB,EAAE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,CAAC;CAClC;AAED,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC;AAErF,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,uBAAuB;QACtC;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC;KAC9C;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IAEjC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -4,7 +4,7 @@ import { APIPromise } from "../core/api-promise.js";
4
4
  import { RequestOptions } from "../internal/request-options.js";
5
5
  export declare class Browsers extends APIResource {
6
6
  /**
7
- * Create Browser Session
7
+ * Create a new browser session from within an action.
8
8
  *
9
9
  * @example
10
10
  * ```ts
@@ -15,7 +15,7 @@ export declare class Browsers extends APIResource {
15
15
  */
16
16
  create(body: BrowserCreateParams, options?: RequestOptions): APIPromise<BrowserCreateResponse>;
17
17
  /**
18
- * Get Browser Session by ID
18
+ * Get information about a browser session.
19
19
  *
20
20
  * @example
21
21
  * ```ts
@@ -26,7 +26,7 @@ export declare class Browsers extends APIResource {
26
26
  */
27
27
  retrieve(id: string, options?: RequestOptions): APIPromise<BrowserRetrieveResponse>;
28
28
  /**
29
- * List active browser sessions for the authenticated user
29
+ * List active browser sessions
30
30
  *
31
31
  * @example
32
32
  * ```ts
@@ -35,7 +35,7 @@ export declare class Browsers extends APIResource {
35
35
  */
36
36
  list(options?: RequestOptions): APIPromise<BrowserListResponse>;
37
37
  /**
38
- * Delete a persistent browser session by persistent_id query parameter.
38
+ * Delete a persistent browser session by its persistent_id.
39
39
  *
40
40
  * @example
41
41
  * ```ts
@@ -46,7 +46,7 @@ export declare class Browsers extends APIResource {
46
46
  */
47
47
  delete(params: BrowserDeleteParams, options?: RequestOptions): APIPromise<void>;
48
48
  /**
49
- * Delete Browser Session by ID
49
+ * Delete a browser session by ID
50
50
  *
51
51
  * @example
52
52
  * ```ts
@@ -132,6 +132,11 @@ export interface BrowserCreateParams {
132
132
  * Optional persistence configuration for the browser session.
133
133
  */
134
134
  persistence?: BrowserPersistence;
135
+ /**
136
+ * If true, launches the browser in stealth mode to reduce detection by anti-bot
137
+ * mechanisms.
138
+ */
139
+ stealth?: boolean;
135
140
  }
136
141
  export interface BrowserDeleteParams {
137
142
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"browsers.d.ts","sourceRoot":"","sources":["../src/resources/browsers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CA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AAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -7,7 +7,7 @@ const headers_1 = require("../internal/headers.js");
7
7
  const path_1 = require("../internal/utils/path.js");
8
8
  class Browsers extends resource_1.APIResource {
9
9
  /**
10
- * Create Browser Session
10
+ * Create a new browser session from within an action.
11
11
  *
12
12
  * @example
13
13
  * ```ts
@@ -20,7 +20,7 @@ class Browsers extends resource_1.APIResource {
20
20
  return this._client.post('/browsers', { body, ...options });
21
21
  }
22
22
  /**
23
- * Get Browser Session by ID
23
+ * Get information about a browser session.
24
24
  *
25
25
  * @example
26
26
  * ```ts
@@ -33,7 +33,7 @@ class Browsers extends resource_1.APIResource {
33
33
  return this._client.get((0, path_1.path) `/browsers/${id}`, options);
34
34
  }
35
35
  /**
36
- * List active browser sessions for the authenticated user
36
+ * List active browser sessions
37
37
  *
38
38
  * @example
39
39
  * ```ts
@@ -44,7 +44,7 @@ class Browsers extends resource_1.APIResource {
44
44
  return this._client.get('/browsers', options);
45
45
  }
46
46
  /**
47
- * Delete a persistent browser session by persistent_id query parameter.
47
+ * Delete a persistent browser session by its persistent_id.
48
48
  *
49
49
  * @example
50
50
  * ```ts
@@ -62,7 +62,7 @@ class Browsers extends resource_1.APIResource {
62
62
  });
63
63
  }
64
64
  /**
65
- * Delete Browser Session by ID
65
+ * Delete a browser session by ID
66
66
  *
67
67
  * @example
68
68
  * ```ts
@@ -4,7 +4,7 @@ import { buildHeaders } from "../internal/headers.mjs";
4
4
  import { path } from "../internal/utils/path.mjs";
5
5
  export class Browsers extends APIResource {
6
6
  /**
7
- * Create Browser Session
7
+ * Create a new browser session from within an action.
8
8
  *
9
9
  * @example
10
10
  * ```ts
@@ -17,7 +17,7 @@ export class Browsers extends APIResource {
17
17
  return this._client.post('/browsers', { body, ...options });
18
18
  }
19
19
  /**
20
- * Get Browser Session by ID
20
+ * Get information about a browser session.
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -30,7 +30,7 @@ export class Browsers extends APIResource {
30
30
  return this._client.get(path `/browsers/${id}`, options);
31
31
  }
32
32
  /**
33
- * List active browser sessions for the authenticated user
33
+ * List active browser sessions
34
34
  *
35
35
  * @example
36
36
  * ```ts
@@ -41,7 +41,7 @@ export class Browsers extends APIResource {
41
41
  return this._client.get('/browsers', options);
42
42
  }
43
43
  /**
44
- * Delete a persistent browser session by persistent_id query parameter.
44
+ * Delete a persistent browser session by its persistent_id.
45
45
  *
46
46
  * @example
47
47
  * ```ts
@@ -59,7 +59,7 @@ export class Browsers extends APIResource {
59
59
  });
60
60
  }
61
61
  /**
62
- * Delete Browser Session by ID
62
+ * Delete a browser session by ID
63
63
  *
64
64
  * @example
65
65
  * ```ts
@@ -0,0 +1,255 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as Shared from "./shared.mjs";
3
+ import { APIPromise } from "../core/api-promise.mjs";
4
+ import { Stream } from "../core/streaming.mjs";
5
+ import { type Uploadable } from "../core/uploads.mjs";
6
+ import { RequestOptions } from "../internal/request-options.mjs";
7
+ export declare class Deployments extends APIResource {
8
+ /**
9
+ * Create a new deployment.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const deployment = await client.deployments.create({
14
+ * entrypoint_rel_path: 'src/app.py',
15
+ * file: fs.createReadStream('path/to/file'),
16
+ * });
17
+ * ```
18
+ */
19
+ create(body: DeploymentCreateParams, options?: RequestOptions): APIPromise<DeploymentCreateResponse>;
20
+ /**
21
+ * Get information about a deployment's status.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const deployment = await client.deployments.retrieve('id');
26
+ * ```
27
+ */
28
+ retrieve(id: string, options?: RequestOptions): APIPromise<DeploymentRetrieveResponse>;
29
+ /**
30
+ * Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and
31
+ * status updates for a deployment. The stream terminates automatically once the
32
+ * deployment reaches a terminal state.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const response = await client.deployments.follow('id');
37
+ * ```
38
+ */
39
+ follow(id: string, options?: RequestOptions): APIPromise<Stream<DeploymentFollowResponse>>;
40
+ }
41
+ /**
42
+ * An event representing the current state of a deployment.
43
+ */
44
+ export interface DeploymentStateEvent {
45
+ /**
46
+ * Deployment record information.
47
+ */
48
+ deployment: DeploymentStateEvent.Deployment;
49
+ /**
50
+ * Event type identifier (always "deployment_state").
51
+ */
52
+ event: 'deployment_state';
53
+ /**
54
+ * Time the state was reported.
55
+ */
56
+ timestamp: string;
57
+ }
58
+ export declare namespace DeploymentStateEvent {
59
+ /**
60
+ * Deployment record information.
61
+ */
62
+ interface Deployment {
63
+ /**
64
+ * Unique identifier for the deployment
65
+ */
66
+ id: string;
67
+ /**
68
+ * Timestamp when the deployment was created
69
+ */
70
+ created_at: string;
71
+ /**
72
+ * Deployment region code
73
+ */
74
+ region: 'aws.us-east-1a';
75
+ /**
76
+ * Current status of the deployment
77
+ */
78
+ status: 'queued' | 'in_progress' | 'running' | 'failed' | 'stopped';
79
+ /**
80
+ * Relative path to the application entrypoint
81
+ */
82
+ entrypoint_rel_path?: string;
83
+ /**
84
+ * Environment variables configured for this deployment
85
+ */
86
+ env_vars?: Record<string, string>;
87
+ /**
88
+ * Status reason
89
+ */
90
+ status_reason?: string;
91
+ /**
92
+ * Timestamp when the deployment was last updated
93
+ */
94
+ updated_at?: string | null;
95
+ }
96
+ }
97
+ /**
98
+ * Deployment record information.
99
+ */
100
+ export interface DeploymentCreateResponse {
101
+ /**
102
+ * Unique identifier for the deployment
103
+ */
104
+ id: string;
105
+ /**
106
+ * Timestamp when the deployment was created
107
+ */
108
+ created_at: string;
109
+ /**
110
+ * Deployment region code
111
+ */
112
+ region: 'aws.us-east-1a';
113
+ /**
114
+ * Current status of the deployment
115
+ */
116
+ status: 'queued' | 'in_progress' | 'running' | 'failed' | 'stopped';
117
+ /**
118
+ * Relative path to the application entrypoint
119
+ */
120
+ entrypoint_rel_path?: string;
121
+ /**
122
+ * Environment variables configured for this deployment
123
+ */
124
+ env_vars?: Record<string, string>;
125
+ /**
126
+ * Status reason
127
+ */
128
+ status_reason?: string;
129
+ /**
130
+ * Timestamp when the deployment was last updated
131
+ */
132
+ updated_at?: string | null;
133
+ }
134
+ /**
135
+ * Deployment record information.
136
+ */
137
+ export interface DeploymentRetrieveResponse {
138
+ /**
139
+ * Unique identifier for the deployment
140
+ */
141
+ id: string;
142
+ /**
143
+ * Timestamp when the deployment was created
144
+ */
145
+ created_at: string;
146
+ /**
147
+ * Deployment region code
148
+ */
149
+ region: 'aws.us-east-1a';
150
+ /**
151
+ * Current status of the deployment
152
+ */
153
+ status: 'queued' | 'in_progress' | 'running' | 'failed' | 'stopped';
154
+ /**
155
+ * Relative path to the application entrypoint
156
+ */
157
+ entrypoint_rel_path?: string;
158
+ /**
159
+ * Environment variables configured for this deployment
160
+ */
161
+ env_vars?: Record<string, string>;
162
+ /**
163
+ * Status reason
164
+ */
165
+ status_reason?: string;
166
+ /**
167
+ * Timestamp when the deployment was last updated
168
+ */
169
+ updated_at?: string | null;
170
+ }
171
+ /**
172
+ * Union type representing any deployment event.
173
+ */
174
+ export type DeploymentFollowResponse = Shared.LogEvent | DeploymentStateEvent | DeploymentFollowResponse.AppVersionSummaryEvent | Shared.ErrorEvent;
175
+ export declare namespace DeploymentFollowResponse {
176
+ /**
177
+ * Summary of an application version.
178
+ */
179
+ interface AppVersionSummaryEvent {
180
+ /**
181
+ * Unique identifier for the app version
182
+ */
183
+ id: string;
184
+ /**
185
+ * List of actions available on the app
186
+ */
187
+ actions: Array<AppVersionSummaryEvent.Action>;
188
+ /**
189
+ * Name of the application
190
+ */
191
+ app_name: string;
192
+ /**
193
+ * Event type identifier (always "app_version_summary").
194
+ */
195
+ event: 'app_version_summary';
196
+ /**
197
+ * Deployment region code
198
+ */
199
+ region: 'aws.us-east-1a';
200
+ /**
201
+ * Time the state was reported.
202
+ */
203
+ timestamp: string;
204
+ /**
205
+ * Version label for the application
206
+ */
207
+ version: string;
208
+ /**
209
+ * Environment variables configured for this app version
210
+ */
211
+ env_vars?: Record<string, string>;
212
+ }
213
+ namespace AppVersionSummaryEvent {
214
+ /**
215
+ * An action available on the app
216
+ */
217
+ interface Action {
218
+ /**
219
+ * Name of the action
220
+ */
221
+ name: string;
222
+ }
223
+ }
224
+ }
225
+ export interface DeploymentCreateParams {
226
+ /**
227
+ * Relative path to the entrypoint of the application
228
+ */
229
+ entrypoint_rel_path: string;
230
+ /**
231
+ * ZIP file containing the application source directory
232
+ */
233
+ file: Uploadable;
234
+ /**
235
+ * Map of environment variables to set for the deployed application. Each key-value
236
+ * pair represents an environment variable.
237
+ */
238
+ env_vars?: Record<string, string>;
239
+ /**
240
+ * Allow overwriting an existing app version
241
+ */
242
+ force?: boolean;
243
+ /**
244
+ * Region for deployment. Currently we only support "aws.us-east-1a"
245
+ */
246
+ region?: 'aws.us-east-1a';
247
+ /**
248
+ * Version of the application. Can be any string.
249
+ */
250
+ version?: string;
251
+ }
252
+ export declare namespace Deployments {
253
+ export { type DeploymentStateEvent as DeploymentStateEvent, type DeploymentCreateResponse as DeploymentCreateResponse, type DeploymentRetrieveResponse as DeploymentRetrieveResponse, type DeploymentFollowResponse as DeploymentFollowResponse, type DeploymentCreateParams as DeploymentCreateParams, };
254
+ }
255
+ //# sourceMappingURL=deployments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.d.mts","sourceRoot":"","sources":["../src/resources/deployments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBA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