casedev 0.51.0 → 0.53.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 (113) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +0 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +0 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +0 -1
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +0 -1
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +1 -3
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +0 -1
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/vault/vault.d.mts +4 -2
  20. package/resources/vault/vault.d.mts.map +1 -1
  21. package/resources/vault/vault.d.ts +4 -2
  22. package/resources/vault/vault.d.ts.map +1 -1
  23. package/resources/vault/vault.js.map +1 -1
  24. package/resources/vault/vault.mjs.map +1 -1
  25. package/src/client.ts +0 -5
  26. package/src/resources/index.ts +0 -1
  27. package/src/resources/vault/vault.ts +4 -1
  28. package/src/version.ts +1 -1
  29. package/version.d.mts +1 -1
  30. package/version.d.ts +1 -1
  31. package/version.js +1 -1
  32. package/version.mjs +1 -1
  33. package/resources/applications/applications.d.mts +0 -10
  34. package/resources/applications/applications.d.mts.map +0 -1
  35. package/resources/applications/applications.d.ts +0 -10
  36. package/resources/applications/applications.d.ts.map +0 -1
  37. package/resources/applications/applications.js +0 -17
  38. package/resources/applications/applications.js.map +0 -1
  39. package/resources/applications/applications.mjs +0 -12
  40. package/resources/applications/applications.mjs.map +0 -1
  41. package/resources/applications/index.d.mts +0 -3
  42. package/resources/applications/index.d.mts.map +0 -1
  43. package/resources/applications/index.d.ts +0 -3
  44. package/resources/applications/index.d.ts.map +0 -1
  45. package/resources/applications/index.js +0 -9
  46. package/resources/applications/index.js.map +0 -1
  47. package/resources/applications/index.mjs +0 -4
  48. package/resources/applications/index.mjs.map +0 -1
  49. package/resources/applications/v1/deployments.d.mts +0 -118
  50. package/resources/applications/v1/deployments.d.mts.map +0 -1
  51. package/resources/applications/v1/deployments.d.ts +0 -118
  52. package/resources/applications/v1/deployments.d.ts.map +0 -1
  53. package/resources/applications/v1/deployments.js +0 -102
  54. package/resources/applications/v1/deployments.js.map +0 -1
  55. package/resources/applications/v1/deployments.mjs +0 -98
  56. package/resources/applications/v1/deployments.mjs.map +0 -1
  57. package/resources/applications/v1/index.d.mts +0 -5
  58. package/resources/applications/v1/index.d.mts.map +0 -1
  59. package/resources/applications/v1/index.d.ts +0 -5
  60. package/resources/applications/v1/index.d.ts.map +0 -1
  61. package/resources/applications/v1/index.js +0 -13
  62. package/resources/applications/v1/index.js.map +0 -1
  63. package/resources/applications/v1/index.mjs +0 -6
  64. package/resources/applications/v1/index.mjs.map +0 -1
  65. package/resources/applications/v1/projects.d.mts +0 -313
  66. package/resources/applications/v1/projects.d.mts.map +0 -1
  67. package/resources/applications/v1/projects.d.ts +0 -313
  68. package/resources/applications/v1/projects.d.ts.map +0 -1
  69. package/resources/applications/v1/projects.js +0 -148
  70. package/resources/applications/v1/projects.js.map +0 -1
  71. package/resources/applications/v1/projects.mjs +0 -144
  72. package/resources/applications/v1/projects.mjs.map +0 -1
  73. package/resources/applications/v1/v1.d.mts +0 -18
  74. package/resources/applications/v1/v1.d.mts.map +0 -1
  75. package/resources/applications/v1/v1.d.ts +0 -18
  76. package/resources/applications/v1/v1.d.ts.map +0 -1
  77. package/resources/applications/v1/v1.js +0 -25
  78. package/resources/applications/v1/v1.js.map +0 -1
  79. package/resources/applications/v1/v1.mjs +0 -20
  80. package/resources/applications/v1/v1.mjs.map +0 -1
  81. package/resources/applications/v1/workflows.d.mts +0 -22
  82. package/resources/applications/v1/workflows.d.mts.map +0 -1
  83. package/resources/applications/v1/workflows.d.ts +0 -22
  84. package/resources/applications/v1/workflows.d.ts.map +0 -1
  85. package/resources/applications/v1/workflows.js +0 -24
  86. package/resources/applications/v1/workflows.js.map +0 -1
  87. package/resources/applications/v1/workflows.mjs +0 -20
  88. package/resources/applications/v1/workflows.mjs.map +0 -1
  89. package/resources/applications/v1.d.mts +0 -2
  90. package/resources/applications/v1.d.mts.map +0 -1
  91. package/resources/applications/v1.d.ts +0 -2
  92. package/resources/applications/v1.d.ts.map +0 -1
  93. package/resources/applications/v1.js +0 -6
  94. package/resources/applications/v1.js.map +0 -1
  95. package/resources/applications/v1.mjs +0 -3
  96. package/resources/applications/v1.mjs.map +0 -1
  97. package/resources/applications.d.mts +0 -2
  98. package/resources/applications.d.mts.map +0 -1
  99. package/resources/applications.d.ts +0 -2
  100. package/resources/applications.d.ts.map +0 -1
  101. package/resources/applications.js +0 -6
  102. package/resources/applications.js.map +0 -1
  103. package/resources/applications.mjs +0 -3
  104. package/resources/applications.mjs.map +0 -1
  105. package/src/resources/applications/applications.ts +0 -15
  106. package/src/resources/applications/index.ts +0 -4
  107. package/src/resources/applications/v1/deployments.ts +0 -196
  108. package/src/resources/applications/v1/index.ts +0 -28
  109. package/src/resources/applications/v1/projects.ts +0 -493
  110. package/src/resources/applications/v1/v1.ts +0 -71
  111. package/src/resources/applications/v1/workflows.ts +0 -34
  112. package/src/resources/applications/v1.ts +0 -3
  113. package/src/resources/applications.ts +0 -3
@@ -1,493 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import { APIPromise } from '../../../core/api-promise';
5
- import { buildHeaders } from '../../../internal/headers';
6
- import { RequestOptions } from '../../../internal/request-options';
7
- import { path } from '../../../internal/utils/path';
8
-
9
- export class Projects extends APIResource {
10
- /**
11
- * Creates a new application project, validates GitHub access, provisions a default
12
- * case.dev domain, and starts the deployment workflow. The initial response
13
- * returns as soon as the workflow is queued so clients can poll for progress.
14
- */
15
- create(body: ProjectCreateParams, options?: RequestOptions): APIPromise<void> {
16
- return this._client.post('/applications/v1/projects', {
17
- body,
18
- ...options,
19
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
20
- });
21
- }
22
-
23
- /**
24
- * Returns project details, domains, and recent deployment information for one
25
- * application project. Use this endpoint when you need a single record with
26
- * hosting metadata for a details view.
27
- */
28
- retrieve(id: string, options?: RequestOptions): APIPromise<void> {
29
- return this._client.get(path`/applications/v1/projects/${id}`, {
30
- ...options,
31
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
32
- });
33
- }
34
-
35
- /**
36
- * Lists application projects for the authenticated organization. Use enrich=true
37
- * to include additional hosting metadata for projects linked to Vercel.
38
- */
39
- list(
40
- query: ProjectListParams | null | undefined = {},
41
- options?: RequestOptions,
42
- ): APIPromise<ProjectListResponse> {
43
- return this._client.get('/applications/v1/projects', { query, ...options });
44
- }
45
-
46
- /**
47
- * Soft-deletes an application project from Case.dev. By default it also removes
48
- * the linked hosting project; set deleteFromHosting=false to keep the external
49
- * hosting resources intact.
50
- */
51
- delete(
52
- id: string,
53
- params: ProjectDeleteParams | null | undefined = {},
54
- options?: RequestOptions,
55
- ): APIPromise<void> {
56
- const { deleteFromHosting } = params ?? {};
57
- return this._client.delete(path`/applications/v1/projects/${id}`, {
58
- query: { deleteFromHosting },
59
- ...options,
60
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
61
- });
62
- }
63
-
64
- /**
65
- * Starts a new deployment for an existing project using its saved repository and
66
- * hosting configuration. Any environment variables passed in the request are
67
- * merged into the deployment workflow before the build starts.
68
- */
69
- createDeployment(
70
- id: string,
71
- body: ProjectCreateDeploymentParams | null | undefined = {},
72
- options?: RequestOptions,
73
- ): APIPromise<void> {
74
- return this._client.post(path`/applications/v1/projects/${id}/deployments`, {
75
- body,
76
- ...options,
77
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
78
- });
79
- }
80
-
81
- /**
82
- * Add a custom domain to a project
83
- */
84
- createDomain(id: string, body: ProjectCreateDomainParams, options?: RequestOptions): APIPromise<void> {
85
- return this._client.post(path`/applications/v1/projects/${id}/domains`, {
86
- body,
87
- ...options,
88
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
89
- });
90
- }
91
-
92
- /**
93
- * Create a new environment variable for a project
94
- */
95
- createEnv(id: string, body: ProjectCreateEnvParams, options?: RequestOptions): APIPromise<void> {
96
- return this._client.post(path`/applications/v1/projects/${id}/env`, {
97
- body,
98
- ...options,
99
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
100
- });
101
- }
102
-
103
- /**
104
- * Remove a domain from a project
105
- */
106
- deleteDomain(
107
- domain: string,
108
- params: ProjectDeleteDomainParams,
109
- options?: RequestOptions,
110
- ): APIPromise<void> {
111
- const { id } = params;
112
- return this._client.delete(path`/applications/v1/projects/${id}/domains/${domain}`, {
113
- ...options,
114
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
115
- });
116
- }
117
-
118
- /**
119
- * Delete an environment variable from a project
120
- */
121
- deleteEnv(envID: string, params: ProjectDeleteEnvParams, options?: RequestOptions): APIPromise<void> {
122
- const { id } = params;
123
- return this._client.delete(path`/applications/v1/projects/${id}/env/${envID}`, {
124
- ...options,
125
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
126
- });
127
- }
128
-
129
- /**
130
- * Get runtime/function logs for a project
131
- */
132
- getRuntimeLogs(
133
- id: string,
134
- query: ProjectGetRuntimeLogsParams | null | undefined = {},
135
- options?: RequestOptions,
136
- ): APIPromise<void> {
137
- return this._client.get(path`/applications/v1/projects/${id}/runtime-logs`, {
138
- query,
139
- ...options,
140
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
141
- });
142
- }
143
-
144
- /**
145
- * Lists deployments for one project in the authenticated organization. If the
146
- * hosting project has not been created yet, this endpoint returns an empty list
147
- * with a progress message instead of failing.
148
- */
149
- listDeployments(
150
- id: string,
151
- query: ProjectListDeploymentsParams | null | undefined = {},
152
- options?: RequestOptions,
153
- ): APIPromise<void> {
154
- return this._client.get(path`/applications/v1/projects/${id}/deployments`, {
155
- query,
156
- ...options,
157
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
158
- });
159
- }
160
-
161
- /**
162
- * List all domains configured for a project
163
- */
164
- listDomains(id: string, options?: RequestOptions): APIPromise<void> {
165
- return this._client.get(path`/applications/v1/projects/${id}/domains`, {
166
- ...options,
167
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
168
- });
169
- }
170
-
171
- /**
172
- * List all environment variables for a project (values are hidden unless
173
- * decrypt=true)
174
- */
175
- listEnv(
176
- id: string,
177
- query: ProjectListEnvParams | null | undefined = {},
178
- options?: RequestOptions,
179
- ): APIPromise<void> {
180
- return this._client.get(path`/applications/v1/projects/${id}/env`, {
181
- query,
182
- ...options,
183
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
184
- });
185
- }
186
- }
187
-
188
- export interface ProjectListResponse {
189
- /**
190
- * Projects and deployed apps visible to the organization
191
- */
192
- projects?: Array<ProjectListResponse.Project>;
193
- }
194
-
195
- export namespace ProjectListResponse {
196
- export interface Project {
197
- /**
198
- * Project identifier
199
- */
200
- id?: string;
201
-
202
- /**
203
- * When the project record was created
204
- */
205
- createdAt?: string;
206
-
207
- /**
208
- * Custom or generated domains assigned to the project
209
- */
210
- domains?: Array<Project.Domain>;
211
-
212
- /**
213
- * Detected or configured application framework
214
- */
215
- framework?: string;
216
-
217
- /**
218
- * Default Git branch used for deployments
219
- */
220
- gitBranch?: string;
221
-
222
- /**
223
- * Connected Git repository in owner/repo format
224
- */
225
- gitRepo?: string;
226
-
227
- /**
228
- * Project display name
229
- */
230
- name?: string;
231
-
232
- /**
233
- * Current project deployment status
234
- */
235
- status?: string;
236
-
237
- /**
238
- * When the project record was last updated
239
- */
240
- updatedAt?: string;
241
-
242
- /**
243
- * Hosting provider project ID, when linked
244
- */
245
- vercelProjectId?: string;
246
- }
247
-
248
- export namespace Project {
249
- export interface Domain {
250
- /**
251
- * Domain record identifier
252
- */
253
- id?: string;
254
-
255
- /**
256
- * Hostname assigned to the project
257
- */
258
- domain?: string;
259
-
260
- /**
261
- * Whether this is the primary project domain
262
- */
263
- isPrimary?: boolean;
264
-
265
- /**
266
- * Whether the domain has been verified by the hosting provider
267
- */
268
- isVerified?: boolean;
269
- }
270
- }
271
- }
272
-
273
- export interface ProjectCreateParams {
274
- /**
275
- * GitHub repository URL or owner/repo identifier
276
- */
277
- gitRepo: string;
278
-
279
- /**
280
- * Human-readable project name
281
- */
282
- name: string;
283
-
284
- /**
285
- * Custom build command to override the framework default
286
- */
287
- buildCommand?: string;
288
-
289
- /**
290
- * Environment variables to create before the first deployment
291
- */
292
- environmentVariables?: Array<ProjectCreateParams.EnvironmentVariable>;
293
-
294
- /**
295
- * Framework preset for the hosting project, such as nextjs or remix
296
- */
297
- framework?: string;
298
-
299
- /**
300
- * Git branch to deploy. Defaults to main.
301
- */
302
- gitBranch?: string;
303
-
304
- /**
305
- * Custom install command to override the framework default
306
- */
307
- installCommand?: string;
308
-
309
- /**
310
- * Build output directory relative to the project root
311
- */
312
- outputDirectory?: string;
313
-
314
- /**
315
- * Repository subdirectory that contains the app to deploy
316
- */
317
- rootDirectory?: string;
318
- }
319
-
320
- export namespace ProjectCreateParams {
321
- export interface EnvironmentVariable {
322
- /**
323
- * Environment variable name
324
- */
325
- key: string;
326
-
327
- /**
328
- * Deployment targets that should receive this variable
329
- */
330
- target: Array<'production' | 'preview' | 'development'>;
331
-
332
- /**
333
- * Environment variable value
334
- */
335
- value: string;
336
-
337
- /**
338
- * Storage mode for the environment variable value
339
- */
340
- type?: 'plain' | 'encrypted' | 'secret';
341
- }
342
- }
343
-
344
- export interface ProjectListParams {
345
- /**
346
- * Whether to include additional hosting metadata from Vercel
347
- */
348
- enrich?: boolean;
349
-
350
- /**
351
- * Maximum number of projects to return from each backing source
352
- */
353
- limit?: number;
354
- }
355
-
356
- export interface ProjectDeleteParams {
357
- /**
358
- * Whether to also delete the linked hosting project. Defaults to true.
359
- */
360
- deleteFromHosting?: boolean;
361
- }
362
-
363
- export interface ProjectCreateDeploymentParams {
364
- /**
365
- * Additional environment variables to set or update before deployment
366
- */
367
- environmentVariables?: Array<ProjectCreateDeploymentParams.EnvironmentVariable>;
368
- }
369
-
370
- export namespace ProjectCreateDeploymentParams {
371
- export interface EnvironmentVariable {
372
- /**
373
- * Environment variable name
374
- */
375
- key: string;
376
-
377
- /**
378
- * Deployment targets that should receive this variable
379
- */
380
- target: Array<'production' | 'preview' | 'development'>;
381
-
382
- /**
383
- * Environment variable value
384
- */
385
- value: string;
386
-
387
- /**
388
- * Storage mode for the environment variable value
389
- */
390
- type?: 'plain' | 'encrypted' | 'secret';
391
- }
392
- }
393
-
394
- export interface ProjectCreateDomainParams {
395
- /**
396
- * Domain name to add
397
- */
398
- domain: string;
399
-
400
- /**
401
- * Git branch to associate with this domain
402
- */
403
- gitBranch?: string;
404
- }
405
-
406
- export interface ProjectCreateEnvParams {
407
- /**
408
- * Environment variable name
409
- */
410
- key: string;
411
-
412
- /**
413
- * Deployment targets for this variable
414
- */
415
- target: Array<'production' | 'preview' | 'development'>;
416
-
417
- /**
418
- * Environment variable value
419
- */
420
- value: string;
421
-
422
- /**
423
- * Specific git branch (for preview deployments)
424
- */
425
- gitBranch?: string;
426
-
427
- /**
428
- * Variable type
429
- */
430
- type?: 'plain' | 'encrypted' | 'secret';
431
- }
432
-
433
- export interface ProjectDeleteDomainParams {
434
- /**
435
- * Project ID
436
- */
437
- id: string;
438
- }
439
-
440
- export interface ProjectDeleteEnvParams {
441
- /**
442
- * Project ID
443
- */
444
- id: string;
445
- }
446
-
447
- export interface ProjectGetRuntimeLogsParams {
448
- /**
449
- * Maximum number of logs to return
450
- */
451
- limit?: number;
452
- }
453
-
454
- export interface ProjectListDeploymentsParams {
455
- /**
456
- * Maximum number of deployments to return
457
- */
458
- limit?: number;
459
-
460
- /**
461
- * Deployment state to filter by
462
- */
463
- state?: string;
464
-
465
- /**
466
- * Deployment target to filter by
467
- */
468
- target?: 'production' | 'staging';
469
- }
470
-
471
- export interface ProjectListEnvParams {
472
- /**
473
- * Whether to decrypt and return values (requires appropriate permissions)
474
- */
475
- decrypt?: boolean;
476
- }
477
-
478
- export declare namespace Projects {
479
- export {
480
- type ProjectListResponse as ProjectListResponse,
481
- type ProjectCreateParams as ProjectCreateParams,
482
- type ProjectListParams as ProjectListParams,
483
- type ProjectDeleteParams as ProjectDeleteParams,
484
- type ProjectCreateDeploymentParams as ProjectCreateDeploymentParams,
485
- type ProjectCreateDomainParams as ProjectCreateDomainParams,
486
- type ProjectCreateEnvParams as ProjectCreateEnvParams,
487
- type ProjectDeleteDomainParams as ProjectDeleteDomainParams,
488
- type ProjectDeleteEnvParams as ProjectDeleteEnvParams,
489
- type ProjectGetRuntimeLogsParams as ProjectGetRuntimeLogsParams,
490
- type ProjectListDeploymentsParams as ProjectListDeploymentsParams,
491
- type ProjectListEnvParams as ProjectListEnvParams,
492
- };
493
- }
@@ -1,71 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import * as DeploymentsAPI from './deployments';
5
- import {
6
- DeploymentCancelParams,
7
- DeploymentCreateParams,
8
- DeploymentGetLogsParams,
9
- DeploymentListParams,
10
- DeploymentRetrieveParams,
11
- DeploymentStreamParams,
12
- Deployments,
13
- } from './deployments';
14
- import * as ProjectsAPI from './projects';
15
- import {
16
- ProjectCreateDeploymentParams,
17
- ProjectCreateDomainParams,
18
- ProjectCreateEnvParams,
19
- ProjectCreateParams,
20
- ProjectDeleteDomainParams,
21
- ProjectDeleteEnvParams,
22
- ProjectDeleteParams,
23
- ProjectGetRuntimeLogsParams,
24
- ProjectListDeploymentsParams,
25
- ProjectListEnvParams,
26
- ProjectListParams,
27
- ProjectListResponse,
28
- Projects,
29
- } from './projects';
30
- import * as WorkflowsAPI from './workflows';
31
- import { WorkflowGetStatusParams, Workflows } from './workflows';
32
-
33
- export class V1 extends APIResource {
34
- deployments: DeploymentsAPI.Deployments = new DeploymentsAPI.Deployments(this._client);
35
- projects: ProjectsAPI.Projects = new ProjectsAPI.Projects(this._client);
36
- workflows: WorkflowsAPI.Workflows = new WorkflowsAPI.Workflows(this._client);
37
- }
38
-
39
- V1.Deployments = Deployments;
40
- V1.Projects = Projects;
41
- V1.Workflows = Workflows;
42
-
43
- export declare namespace V1 {
44
- export {
45
- Deployments as Deployments,
46
- type DeploymentCreateParams as DeploymentCreateParams,
47
- type DeploymentRetrieveParams as DeploymentRetrieveParams,
48
- type DeploymentListParams as DeploymentListParams,
49
- type DeploymentCancelParams as DeploymentCancelParams,
50
- type DeploymentGetLogsParams as DeploymentGetLogsParams,
51
- type DeploymentStreamParams as DeploymentStreamParams,
52
- };
53
-
54
- export {
55
- Projects as Projects,
56
- type ProjectListResponse as ProjectListResponse,
57
- type ProjectCreateParams as ProjectCreateParams,
58
- type ProjectListParams as ProjectListParams,
59
- type ProjectDeleteParams as ProjectDeleteParams,
60
- type ProjectCreateDeploymentParams as ProjectCreateDeploymentParams,
61
- type ProjectCreateDomainParams as ProjectCreateDomainParams,
62
- type ProjectCreateEnvParams as ProjectCreateEnvParams,
63
- type ProjectDeleteDomainParams as ProjectDeleteDomainParams,
64
- type ProjectDeleteEnvParams as ProjectDeleteEnvParams,
65
- type ProjectGetRuntimeLogsParams as ProjectGetRuntimeLogsParams,
66
- type ProjectListDeploymentsParams as ProjectListDeploymentsParams,
67
- type ProjectListEnvParams as ProjectListEnvParams,
68
- };
69
-
70
- export { Workflows as Workflows, type WorkflowGetStatusParams as WorkflowGetStatusParams };
71
- }
@@ -1,34 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import { APIPromise } from '../../../core/api-promise';
5
- import { buildHeaders } from '../../../internal/headers';
6
- import { RequestOptions } from '../../../internal/request-options';
7
- import { path } from '../../../internal/utils/path';
8
-
9
- /**
10
- * Web application deployment management
11
- */
12
- export class Workflows extends APIResource {
13
- /**
14
- * Get current deployment workflow status and accumulated events
15
- */
16
- getStatus(id: string, query: WorkflowGetStatusParams, options?: RequestOptions): APIPromise<void> {
17
- return this._client.get(path`/applications/v1/workflows/${id}/status`, {
18
- query,
19
- ...options,
20
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
21
- });
22
- }
23
- }
24
-
25
- export interface WorkflowGetStatusParams {
26
- /**
27
- * Project ID (for authorization)
28
- */
29
- projectId: string;
30
- }
31
-
32
- export declare namespace Workflows {
33
- export { type WorkflowGetStatusParams as WorkflowGetStatusParams };
34
- }
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './v1/index';
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- export * from './applications/index';