@onkernel/sdk 0.5.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 (129) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  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/headers.d.mts.map +1 -1
  18. package/internal/headers.d.ts.map +1 -1
  19. package/internal/headers.js +4 -4
  20. package/internal/headers.js.map +1 -1
  21. package/internal/headers.mjs +4 -4
  22. package/internal/headers.mjs.map +1 -1
  23. package/internal/request-options.d.mts +1 -0
  24. package/internal/request-options.d.mts.map +1 -1
  25. package/internal/request-options.d.ts +1 -0
  26. package/internal/request-options.d.ts.map +1 -1
  27. package/internal/request-options.js.map +1 -1
  28. package/internal/request-options.mjs.map +1 -1
  29. package/internal/uploads.js +1 -1
  30. package/internal/uploads.js.map +1 -1
  31. package/internal/uploads.mjs +1 -1
  32. package/internal/uploads.mjs.map +1 -1
  33. package/internal/utils/log.js +1 -1
  34. package/internal/utils/log.js.map +1 -1
  35. package/internal/utils/log.mjs +1 -1
  36. package/internal/utils/log.mjs.map +1 -1
  37. package/internal/utils/path.d.mts.map +1 -1
  38. package/internal/utils/path.d.ts.map +1 -1
  39. package/internal/utils/path.js.map +1 -1
  40. package/internal/utils/path.mjs +1 -1
  41. package/internal/utils/path.mjs.map +1 -1
  42. package/internal/utils/values.d.mts +2 -0
  43. package/internal/utils/values.d.mts.map +1 -1
  44. package/internal/utils/values.d.ts +2 -0
  45. package/internal/utils/values.d.ts.map +1 -1
  46. package/internal/utils/values.js +4 -1
  47. package/internal/utils/values.js.map +1 -1
  48. package/internal/utils/values.mjs +2 -0
  49. package/internal/utils/values.mjs.map +1 -1
  50. package/package.json +1 -1
  51. package/resources/apps/apps.d.mts +1 -5
  52. package/resources/apps/apps.d.mts.map +1 -1
  53. package/resources/apps/apps.d.ts +1 -5
  54. package/resources/apps/apps.d.ts.map +1 -1
  55. package/resources/apps/apps.js +0 -4
  56. package/resources/apps/apps.js.map +1 -1
  57. package/resources/apps/apps.mjs +0 -4
  58. package/resources/apps/apps.mjs.map +1 -1
  59. package/resources/apps/deployments.d.mts +2 -18
  60. package/resources/apps/deployments.d.mts.map +1 -1
  61. package/resources/apps/deployments.d.ts +2 -18
  62. package/resources/apps/deployments.d.ts.map +1 -1
  63. package/resources/apps/deployments.js.map +1 -1
  64. package/resources/apps/deployments.mjs.map +1 -1
  65. package/resources/apps/index.d.mts +0 -1
  66. package/resources/apps/index.d.mts.map +1 -1
  67. package/resources/apps/index.d.ts +0 -1
  68. package/resources/apps/index.d.ts.map +1 -1
  69. package/resources/apps/index.js +1 -3
  70. package/resources/apps/index.js.map +1 -1
  71. package/resources/apps/index.mjs +0 -1
  72. package/resources/apps/index.mjs.map +1 -1
  73. package/resources/deployments.d.mts +255 -0
  74. package/resources/deployments.d.mts.map +1 -0
  75. package/resources/deployments.d.ts +255 -0
  76. package/resources/deployments.d.ts.map +1 -0
  77. package/resources/deployments.js +54 -0
  78. package/resources/deployments.js.map +1 -0
  79. package/resources/deployments.mjs +50 -0
  80. package/resources/deployments.mjs.map +1 -0
  81. package/resources/index.d.mts +3 -0
  82. package/resources/index.d.mts.map +1 -1
  83. package/resources/index.d.ts +3 -0
  84. package/resources/index.d.ts.map +1 -1
  85. package/resources/index.js +7 -1
  86. package/resources/index.js.map +1 -1
  87. package/resources/index.mjs +3 -0
  88. package/resources/index.mjs.map +1 -1
  89. package/resources/{apps/invocations.d.mts → invocations.d.mts} +82 -10
  90. package/resources/invocations.d.mts.map +1 -0
  91. package/resources/{apps/invocations.d.ts → invocations.d.ts} +82 -10
  92. package/resources/invocations.d.ts.map +1 -0
  93. package/resources/{apps/invocations.js → invocations.js} +25 -8
  94. package/resources/invocations.js.map +1 -0
  95. package/resources/invocations.mjs +65 -0
  96. package/resources/invocations.mjs.map +1 -0
  97. package/resources/shared.d.mts +57 -0
  98. package/resources/shared.d.mts.map +1 -0
  99. package/resources/shared.d.ts +57 -0
  100. package/resources/shared.d.ts.map +1 -0
  101. package/resources/shared.js +4 -0
  102. package/resources/shared.js.map +1 -0
  103. package/resources/shared.mjs +3 -0
  104. package/resources/shared.mjs.map +1 -0
  105. package/src/client.ts +75 -11
  106. package/src/core/resource.ts +1 -1
  107. package/src/internal/headers.ts +5 -5
  108. package/src/internal/request-options.ts +1 -0
  109. package/src/internal/uploads.ts +2 -2
  110. package/src/internal/utils/log.ts +1 -1
  111. package/src/internal/utils/path.ts +1 -1
  112. package/src/internal/utils/values.ts +3 -0
  113. package/src/resources/apps/apps.ts +1 -21
  114. package/src/resources/apps/deployments.ts +2 -21
  115. package/src/resources/apps/index.ts +0 -8
  116. package/src/resources/deployments.ts +326 -0
  117. package/src/resources/index.ts +19 -0
  118. package/src/resources/{apps/invocations.ts → invocations.ts} +105 -10
  119. package/src/resources/shared.ts +69 -0
  120. package/src/version.ts +1 -1
  121. package/version.d.mts +1 -1
  122. package/version.d.ts +1 -1
  123. package/version.js +1 -1
  124. package/version.mjs +1 -1
  125. package/resources/apps/invocations.d.mts.map +0 -1
  126. package/resources/apps/invocations.d.ts.map +0 -1
  127. package/resources/apps/invocations.js.map +0 -1
  128. package/resources/apps/invocations.mjs +0 -48
  129. package/resources/apps/invocations.mjs.map +0 -1
@@ -0,0 +1,255 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as Shared from "./shared.js";
3
+ import { APIPromise } from "../core/api-promise.js";
4
+ import { Stream } from "../core/streaming.js";
5
+ import { type Uploadable } from "../core/uploads.js";
6
+ import { RequestOptions } from "../internal/request-options.js";
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.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.d.ts","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,wBAAwB,CAAC;IAIpG;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;CAO3F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC,UAAU,CAAC;IAE5C;;OAEG;IACH,KAAK,EAAE,kBAAkB,CAAC;IAE1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,oBAAoB,CAAC;IACpC;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,MAAM,EAAE,gBAAgB,CAAC;QAEzB;;WAEG;QACH,MAAM,EAA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AAC;IACnC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Deployments = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const headers_1 = require("../internal/headers.js");
7
+ const uploads_1 = require("../internal/uploads.js");
8
+ const path_1 = require("../internal/utils/path.js");
9
+ class Deployments extends resource_1.APIResource {
10
+ /**
11
+ * Create a new deployment.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const deployment = await client.deployments.create({
16
+ * entrypoint_rel_path: 'src/app.py',
17
+ * file: fs.createReadStream('path/to/file'),
18
+ * });
19
+ * ```
20
+ */
21
+ create(body, options) {
22
+ return this._client.post('/deployments', (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
23
+ }
24
+ /**
25
+ * Get information about a deployment's status.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const deployment = await client.deployments.retrieve('id');
30
+ * ```
31
+ */
32
+ retrieve(id, options) {
33
+ return this._client.get((0, path_1.path) `/deployments/${id}`, options);
34
+ }
35
+ /**
36
+ * Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and
37
+ * status updates for a deployment. The stream terminates automatically once the
38
+ * deployment reaches a terminal state.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const response = await client.deployments.follow('id');
43
+ * ```
44
+ */
45
+ follow(id, options) {
46
+ return this._client.get((0, path_1.path) `/deployments/${id}/events`, {
47
+ ...options,
48
+ headers: (0, headers_1.buildHeaders)([{ Accept: 'text/event-stream' }, options?.headers]),
49
+ stream: true,
50
+ });
51
+ }
52
+ }
53
+ exports.Deployments = Deployments;
54
+ //# sourceMappingURL=deployments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../src/resources/deployments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,oDAAmD;AAEnD,oDAAkE;AAClE,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,SAAS,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF;AA7CD,kCA6CC"}
@@ -0,0 +1,50 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { buildHeaders } from "../internal/headers.mjs";
4
+ import { multipartFormRequestOptions } from "../internal/uploads.mjs";
5
+ import { path } from "../internal/utils/path.mjs";
6
+ export class Deployments extends APIResource {
7
+ /**
8
+ * Create a new deployment.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const deployment = await client.deployments.create({
13
+ * entrypoint_rel_path: 'src/app.py',
14
+ * file: fs.createReadStream('path/to/file'),
15
+ * });
16
+ * ```
17
+ */
18
+ create(body, options) {
19
+ return this._client.post('/deployments', multipartFormRequestOptions({ body, ...options }, this._client));
20
+ }
21
+ /**
22
+ * Get information about a deployment's status.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const deployment = await client.deployments.retrieve('id');
27
+ * ```
28
+ */
29
+ retrieve(id, options) {
30
+ return this._client.get(path `/deployments/${id}`, options);
31
+ }
32
+ /**
33
+ * Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and
34
+ * status updates for a deployment. The stream terminates automatically once the
35
+ * deployment reaches a terminal state.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const response = await client.deployments.follow('id');
40
+ * ```
41
+ */
42
+ follow(id, options) {
43
+ return this._client.get(path `/deployments/${id}/events`, {
44
+ ...options,
45
+ headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
46
+ stream: true,
47
+ });
48
+ }
49
+ }
50
+ //# sourceMappingURL=deployments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.mjs","sourceRoot":"","sources":["../src/resources/deployments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,SAAS,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF"}
@@ -1,3 +1,6 @@
1
+ export * from "./shared.mjs";
1
2
  export { Apps, type AppListResponse, type AppListParams } from "./apps/apps.mjs";
2
3
  export { Browsers, type BrowserPersistence, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserDeleteParams, } from "./browsers.mjs";
4
+ export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentFollowResponse, type DeploymentCreateParams, } from "./deployments.mjs";
5
+ export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationFollowResponse, type InvocationCreateParams, type InvocationUpdateParams, } from "./invocations.mjs";
3
6
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B"}
@@ -1,3 +1,6 @@
1
+ export * from "./shared.js";
1
2
  export { Apps, type AppListResponse, type AppListParams } from "./apps/apps.js";
2
3
  export { Browsers, type BrowserPersistence, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserDeleteParams, } from "./browsers.js";
4
+ export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentFollowResponse, type DeploymentCreateParams, } from "./deployments.js";
5
+ export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationFollowResponse, type InvocationCreateParams, type InvocationUpdateParams, } from "./invocations.js";
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B"}
@@ -1,9 +1,15 @@
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.Browsers = exports.Apps = void 0;
4
+ exports.Invocations = exports.Deployments = exports.Browsers = exports.Apps = void 0;
5
+ const tslib_1 = require("../internal/tslib.js");
6
+ tslib_1.__exportStar(require("./shared.js"), exports);
5
7
  var apps_1 = require("./apps/apps.js");
6
8
  Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
7
9
  var browsers_1 = require("./browsers.js");
8
10
  Object.defineProperty(exports, "Browsers", { enumerable: true, get: function () { return browsers_1.Browsers; } });
11
+ var deployments_1 = require("./deployments.js");
12
+ Object.defineProperty(exports, "Deployments", { enumerable: true, get: function () { return deployments_1.Deployments; } });
13
+ var invocations_1 = require("./invocations.js");
14
+ Object.defineProperty(exports, "Invocations", { enumerable: true, get: function () { return invocations_1.Invocations; } });
9
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,uCAA6E;AAApE,4FAAA,IAAI,OAAA;AACb,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,uCAA6E;AAApE,4FAAA,IAAI,OAAA;AACb,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,gDAOuB;AANrB,0GAAA,WAAW,OAAA;AAOb,gDASuB;AARrB,0GAAA,WAAW,OAAA"}
@@ -1,4 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./shared.mjs";
2
3
  export { Apps } from "./apps/apps.mjs";
3
4
  export { Browsers, } from "./browsers.mjs";
5
+ export { Deployments, } from "./deployments.mjs";
6
+ export { Invocations, } from "./invocations.mjs";
4
7
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,IAAI,EAA4C;OAClD,EACL,QAAQ,GAOT"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,IAAI,EAA4C;OAClD,EACL,QAAQ,GAOT;OACM,EACL,WAAW,GAMZ;OACM,EACL,WAAW,GAQZ"}
@@ -1,13 +1,15 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import { APIPromise } from "../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../internal/request-options.mjs";
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 { RequestOptions } from "../internal/request-options.mjs";
4
6
  export declare class Invocations extends APIResource {
5
7
  /**
6
8
  * Invoke an action.
7
9
  *
8
10
  * @example
9
11
  * ```ts
10
- * const invocation = await client.apps.invocations.create({
12
+ * const invocation = await client.invocations.create({
11
13
  * action_name: 'analyze',
12
14
  * app_name: 'my-app',
13
15
  * version: '1.0.0',
@@ -20,7 +22,7 @@ export declare class Invocations extends APIResource {
20
22
  *
21
23
  * @example
22
24
  * ```ts
23
- * const invocation = await client.apps.invocations.retrieve(
25
+ * const invocation = await client.invocations.retrieve(
24
26
  * 'rr33xuugxj9h0bkf1rdt2bet',
25
27
  * );
26
28
  * ```
@@ -31,13 +33,79 @@ export declare class Invocations extends APIResource {
31
33
  *
32
34
  * @example
33
35
  * ```ts
34
- * const invocation = await client.apps.invocations.update(
35
- * 'id',
36
- * { status: 'succeeded' },
37
- * );
36
+ * const invocation = await client.invocations.update('id', {
37
+ * status: 'succeeded',
38
+ * });
38
39
  * ```
39
40
  */
40
41
  update(id: string, body: InvocationUpdateParams, options?: RequestOptions): APIPromise<InvocationUpdateResponse>;
42
+ /**
43
+ * Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and
44
+ * status updates for an invocation. The stream terminates automatically once the
45
+ * invocation reaches a terminal state.
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * const response = await client.invocations.follow('id');
50
+ * ```
51
+ */
52
+ follow(id: string, options?: RequestOptions): APIPromise<Stream<InvocationFollowResponse>>;
53
+ }
54
+ /**
55
+ * An event representing the current state of an invocation.
56
+ */
57
+ export interface InvocationStateEvent {
58
+ /**
59
+ * Event type identifier (always "invocation_state").
60
+ */
61
+ event: 'invocation_state';
62
+ invocation: InvocationStateEvent.Invocation;
63
+ /**
64
+ * Time the state was reported.
65
+ */
66
+ timestamp: string;
67
+ }
68
+ export declare namespace InvocationStateEvent {
69
+ interface Invocation {
70
+ /**
71
+ * ID of the invocation
72
+ */
73
+ id: string;
74
+ /**
75
+ * Name of the action invoked
76
+ */
77
+ action_name: string;
78
+ /**
79
+ * Name of the application
80
+ */
81
+ app_name: string;
82
+ /**
83
+ * RFC 3339 Nanoseconds timestamp when the invocation started
84
+ */
85
+ started_at: string;
86
+ /**
87
+ * Status of the invocation
88
+ */
89
+ status: 'queued' | 'running' | 'succeeded' | 'failed';
90
+ /**
91
+ * RFC 3339 Nanoseconds timestamp when the invocation finished (null if still
92
+ * running)
93
+ */
94
+ finished_at?: string | null;
95
+ /**
96
+ * Output produced by the action, rendered as a JSON string. This could be: string,
97
+ * number, boolean, array, object, or null.
98
+ */
99
+ output?: string;
100
+ /**
101
+ * Payload provided to the invocation. This is a string that can be parsed as JSON.
102
+ */
103
+ payload?: string;
104
+ /**
105
+ * Status reason
106
+ */
107
+ status_reason?: string;
108
+ }
41
109
  }
42
110
  export interface InvocationCreateResponse {
43
111
  /**
@@ -138,6 +206,10 @@ export interface InvocationUpdateResponse {
138
206
  */
139
207
  status_reason?: string;
140
208
  }
209
+ /**
210
+ * Union type representing any invocation event.
211
+ */
212
+ export type InvocationFollowResponse = Shared.LogEvent | InvocationStateEvent | Shared.ErrorEvent;
141
213
  export interface InvocationCreateParams {
142
214
  /**
143
215
  * Name of the action to invoke
@@ -172,6 +244,6 @@ export interface InvocationUpdateParams {
172
244
  output?: string;
173
245
  }
174
246
  export declare namespace Invocations {
175
- export { type InvocationCreateResponse as InvocationCreateResponse, type InvocationRetrieveResponse as InvocationRetrieveResponse, type InvocationUpdateResponse as InvocationUpdateResponse, type InvocationCreateParams as InvocationCreateParams, type InvocationUpdateParams as InvocationUpdateParams, };
247
+ export { type InvocationStateEvent as InvocationStateEvent, type InvocationCreateResponse as InvocationCreateResponse, type InvocationRetrieveResponse as InvocationRetrieveResponse, type InvocationUpdateResponse as InvocationUpdateResponse, type InvocationFollowResponse as InvocationFollowResponse, type InvocationCreateParams as InvocationCreateParams, type InvocationUpdateParams as InvocationUpdateParams, };
176
248
  }
177
249
  //# sourceMappingURL=invocations.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invocations.d.mts","sourceRoot":"","sources":["../src/resources/invocations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;;;OASG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;CAO3F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,kBAAkB,CAAC;IAE1B,UAAU,EAAE,oBAAoB,CAAC,UAAU,CAAC;IAE5C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,UAAU;QACzB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,UAA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