@vercel/sdk 1.6.11 → 1.6.12

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 (66) hide show
  1. package/bin/mcp-server.js +101 -52
  2. package/bin/mcp-server.js.map +15 -15
  3. package/docs/sdks/deployments/README.md +6 -4
  4. package/esm/__tests__/deployments.test.js +2 -1
  5. package/esm/__tests__/deployments.test.js.map +1 -1
  6. package/esm/__tests__/projects.test.js +13 -15
  7. package/esm/__tests__/projects.test.js.map +1 -1
  8. package/esm/funcs/deploymentsGetDeploymentEvents.d.ts +2 -2
  9. package/esm/funcs/deploymentsGetDeploymentEvents.d.ts.map +1 -1
  10. package/esm/funcs/deploymentsGetDeploymentEvents.js +2 -2
  11. package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
  12. package/esm/lib/config.d.ts +2 -2
  13. package/esm/lib/config.js +2 -2
  14. package/esm/mcp-server/mcp-server.js +1 -1
  15. package/esm/mcp-server/server.js +1 -1
  16. package/esm/mcp-server/tools/deploymentsGetDeploymentEvents.d.ts.map +1 -1
  17. package/esm/mcp-server/tools/deploymentsGetDeploymentEvents.js +2 -1
  18. package/esm/mcp-server/tools/deploymentsGetDeploymentEvents.js.map +1 -1
  19. package/esm/models/createdeploymentop.d.ts +28 -28
  20. package/esm/models/createdeploymentop.d.ts.map +1 -1
  21. package/esm/models/createdeploymentop.js +12 -12
  22. package/esm/models/createdeploymentop.js.map +1 -1
  23. package/esm/models/createprojectenvop.d.ts +6 -6
  24. package/esm/models/createprojectenvop.js +2 -2
  25. package/esm/models/createprojectenvop.js.map +1 -1
  26. package/esm/models/createprojectop.d.ts +9 -9
  27. package/esm/models/createprojectop.js +3 -3
  28. package/esm/models/createprojectop.js.map +1 -1
  29. package/esm/models/editprojectenvop.d.ts +3 -3
  30. package/esm/models/editprojectenvop.js +1 -1
  31. package/esm/models/editprojectenvop.js.map +1 -1
  32. package/esm/models/filterprojectenvsop.d.ts +9 -9
  33. package/esm/models/filterprojectenvsop.js +3 -3
  34. package/esm/models/filterprojectenvsop.js.map +1 -1
  35. package/esm/models/getdeploymenteventsop.d.ts +129 -0
  36. package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
  37. package/esm/models/getdeploymenteventsop.js +91 -0
  38. package/esm/models/getdeploymenteventsop.js.map +1 -1
  39. package/esm/models/removeprojectenvop.d.ts +9 -9
  40. package/esm/models/removeprojectenvop.js +3 -3
  41. package/esm/models/removeprojectenvop.js.map +1 -1
  42. package/esm/models/updateprojectop.d.ts +9 -9
  43. package/esm/models/updateprojectop.js +3 -3
  44. package/esm/models/updateprojectop.js.map +1 -1
  45. package/esm/sdk/deployments.d.ts +2 -2
  46. package/esm/sdk/deployments.d.ts.map +1 -1
  47. package/esm/sdk/deployments.js.map +1 -1
  48. package/jsr.json +1 -1
  49. package/package.json +1 -1
  50. package/src/__tests__/deployments.test.ts +2 -1
  51. package/src/__tests__/projects.test.ts +13 -15
  52. package/src/funcs/deploymentsGetDeploymentEvents.ts +6 -4
  53. package/src/lib/config.ts +2 -2
  54. package/src/mcp-server/mcp-server.ts +1 -1
  55. package/src/mcp-server/server.ts +1 -1
  56. package/src/mcp-server/tools/deploymentsGetDeploymentEvents.ts +3 -1
  57. package/src/models/createdeploymentop.ts +16 -16
  58. package/src/models/createprojectenvop.ts +2 -2
  59. package/src/models/createprojectop.ts +3 -3
  60. package/src/models/editprojectenvop.ts +1 -1
  61. package/src/models/filterprojectenvsop.ts +3 -3
  62. package/src/models/getdeploymenteventsop.ts +209 -0
  63. package/src/models/removeprojectenvop.ts +3 -3
  64. package/src/models/updateprojectop.ts +3 -3
  65. package/src/sdk/deployments.ts +5 -2
  66. package/vercel-spec.json +119 -45
@@ -3,7 +3,7 @@ import { CancelDeploymentRequest, CancelDeploymentResponseBody } from "../models
3
3
  import { CreateDeploymentRequest, CreateDeploymentResponseBody } from "../models/createdeploymentop.js";
4
4
  import { DeleteDeploymentRequest, DeleteDeploymentResponseBody } from "../models/deletedeploymentop.js";
5
5
  import { FileTree } from "../models/filetree.js";
6
- import { GetDeploymentEventsRequest } from "../models/getdeploymenteventsop.js";
6
+ import { GetDeploymentEventsRequest, GetDeploymentEventsResponseBody } from "../models/getdeploymenteventsop.js";
7
7
  import { GetDeploymentFileContentsRequest } from "../models/getdeploymentfilecontentsop.js";
8
8
  import { GetDeploymentRequest, GetDeploymentResponseBody } from "../models/getdeploymentop.js";
9
9
  import { GetDeploymentsRequest, GetDeploymentsResponseBody } from "../models/getdeploymentsop.js";
@@ -17,7 +17,7 @@ export declare class Deployments extends ClientSDK {
17
17
  * @remarks
18
18
  * Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.
19
19
  */
20
- getDeploymentEvents(request: GetDeploymentEventsRequest, options?: RequestOptions): Promise<void>;
20
+ getDeploymentEvents(request: GetDeploymentEventsRequest, options?: RequestOptions): Promise<Array<GetDeploymentEventsResponseBody>>;
21
21
  /**
22
22
  * Update deployment integration action
23
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.d.ts","sourceRoot":"","sources":["../../src/sdk/deployments.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,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,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAgC,EAChC,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA0B,EAC1B,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAmC,EACnC,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,oCAAoC,CACrD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA8B,EAC9B,OAAwB;QAExB,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAgC,EAChC,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../src/sdk/deployments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,2BAA2B,EAAE,MAA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L,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAgC,EAChC,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA0B,EAC1B,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAmC,EACnC,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,oCAAoC,CACrD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAA8B,EAC9B,OAAwB;QAExB,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAgC,EAChC,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@vercel/sdk",
5
- "version": "1.6.11",
5
+ "version": "1.6.12",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models": "./src/models/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/sdk",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,7 @@ test("Deployments Get Deployment Events", async () => {
15
15
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
16
16
  });
17
17
 
18
- await vercel.deployments.getDeploymentEvents({
18
+ const result = await vercel.deployments.getDeploymentEvents({
19
19
  idOrUrl: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
20
20
  follow: 1,
21
21
  limit: 100,
@@ -28,6 +28,7 @@ test("Deployments Get Deployment Events", async () => {
28
28
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
29
29
  slug: "my-team-url-slug",
30
30
  });
31
+ expect(result).toBeDefined();
31
32
  });
32
33
 
33
34
  test("Deployments Update Integration Deployment Action", async () => {
@@ -671,21 +671,19 @@ test("Projects Create Project Env", async () => {
671
671
  upsert: "true",
672
672
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
673
673
  slug: "my-team-url-slug",
674
- requestBody: [
675
- {
676
- key: "API_URL",
677
- value: "https://api.vercel.com",
678
- type: "plain",
679
- target: [
680
- "preview",
681
- ],
682
- gitBranch: "feature-1",
683
- comment: "database connection string for production",
684
- customEnvironmentIds: [
685
- "env_1234567890",
686
- ],
687
- },
688
- ],
674
+ requestBody: {
675
+ key: "API_URL",
676
+ value: "https://api.vercel.com",
677
+ type: "plain",
678
+ target: [
679
+ "preview",
680
+ ],
681
+ gitBranch: "feature-1",
682
+ comment: "database connection string for production",
683
+ customEnvironmentIds: [
684
+ "env_1234567890",
685
+ ],
686
+ },
689
687
  });
690
688
  expect(result).toBeDefined();
691
689
  expect(result).toEqual({
@@ -14,6 +14,8 @@ import { pathToFunc } from "../lib/url.js";
14
14
  import {
15
15
  GetDeploymentEventsRequest,
16
16
  GetDeploymentEventsRequest$outboundSchema,
17
+ GetDeploymentEventsResponseBody,
18
+ GetDeploymentEventsResponseBody$inboundSchema,
17
19
  } from "../models/getdeploymenteventsop.js";
18
20
  import {
19
21
  ConnectionError,
@@ -47,7 +49,7 @@ export function deploymentsGetDeploymentEvents(
47
49
  options?: RequestOptions,
48
50
  ): APIPromise<
49
51
  Result<
50
- void,
52
+ Array<GetDeploymentEventsResponseBody>,
51
53
  | VercelBadRequestError
52
54
  | VercelForbiddenError
53
55
  | SDKError
@@ -73,7 +75,7 @@ async function $do(
73
75
  ): Promise<
74
76
  [
75
77
  Result<
76
- void,
78
+ Array<GetDeploymentEventsResponseBody>,
77
79
  | VercelBadRequestError
78
80
  | VercelForbiddenError
79
81
  | SDKError
@@ -174,7 +176,7 @@ async function $do(
174
176
  };
175
177
 
176
178
  const [result] = await M.match<
177
- void,
179
+ Array<GetDeploymentEventsResponseBody>,
178
180
  | VercelBadRequestError
179
181
  | VercelForbiddenError
180
182
  | SDKError
@@ -185,9 +187,9 @@ async function $do(
185
187
  | RequestTimeoutError
186
188
  | ConnectionError
187
189
  >(
190
+ M.json(200, z.array(GetDeploymentEventsResponseBody$inboundSchema)),
188
191
  M.jsonErr(400, VercelBadRequestError$inboundSchema),
189
192
  M.jsonErr(401, VercelForbiddenError$inboundSchema),
190
- M.nil("2XX", z.void()),
191
193
  M.fail([403, "4XX"]),
192
194
  M.fail([500, "5XX"]),
193
195
  )(response, { extraFields: responseFields });
package/src/lib/config.ts CHANGED
@@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
57
57
  export const SDK_METADATA = {
58
58
  language: "typescript",
59
59
  openapiDocVersion: "0.0.1",
60
- sdkVersion: "1.6.11",
60
+ sdkVersion: "1.6.12",
61
61
  genVersion: "2.597.9",
62
- userAgent: "speakeasy-sdk/typescript 1.6.11 2.597.9 0.0.1 @vercel/sdk",
62
+ userAgent: "speakeasy-sdk/typescript 1.6.12 2.597.9 0.0.1 @vercel/sdk",
63
63
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.6.11",
22
+ currentVersion: "1.6.12",
23
23
  },
24
24
  });
25
25
 
@@ -186,7 +186,7 @@ export function createMCPServer(deps: {
186
186
  }) {
187
187
  const server = new McpServer({
188
188
  name: "Vercel",
189
- version: "1.6.11",
189
+ version: "1.6.12",
190
190
  });
191
191
 
192
192
  const client = new VercelCore({
@@ -31,6 +31,8 @@ Get the build logs of a deployment by deployment ID and build ID. It can work as
31
31
  };
32
32
  }
33
33
 
34
- return formatResult(void 0, apiCall);
34
+ const value = result.value;
35
+
36
+ return formatResult(value, apiCall);
35
37
  },
36
38
  };
@@ -613,8 +613,8 @@ export type Creator = {
613
613
  };
614
614
 
615
615
  export const CreateDeploymentReadyState = {
616
- Building: "BUILDING",
617
616
  Error: "ERROR",
617
+ Building: "BUILDING",
618
618
  Initializing: "INITIALIZING",
619
619
  Ready: "READY",
620
620
  } as const;
@@ -631,10 +631,10 @@ export type CreateDeploymentOutput = {
631
631
  * A partial representation of a Build used by the deployment endpoint.
632
632
  */
633
633
  export type Lambdas = {
634
- id?: string | undefined;
635
634
  createdAt?: number | undefined;
636
- entrypoint?: string | null | undefined;
635
+ id?: string | undefined;
637
636
  readyState?: CreateDeploymentReadyState | undefined;
637
+ entrypoint?: string | null | undefined;
638
638
  readyStateAt?: number | undefined;
639
639
  output: Array<CreateDeploymentOutput>;
640
640
  };
@@ -677,9 +677,9 @@ export type CustomEnvironmentType = ClosedEnum<typeof CustomEnvironmentType>;
677
677
  * The type of matching to perform
678
678
  */
679
679
  export const CreateDeploymentCustomEnvironmentType = {
680
+ EndsWith: "endsWith",
680
681
  StartsWith: "startsWith",
681
682
  Equals: "equals",
682
- EndsWith: "endsWith",
683
683
  } as const;
684
684
  /**
685
685
  * The type of matching to perform
@@ -1169,14 +1169,14 @@ export type CreateDeploymentMicrofrontends =
1169
1169
  | CreateDeploymentMicrofrontends2;
1170
1170
 
1171
1171
  export const FunctionType = {
1172
- Fluid: "fluid",
1173
1172
  Standard: "standard",
1173
+ Fluid: "fluid",
1174
1174
  } as const;
1175
1175
  export type FunctionType = ClosedEnum<typeof FunctionType>;
1176
1176
 
1177
1177
  export const FunctionMemoryType = {
1178
- Standard: "standard",
1179
1178
  StandardLegacy: "standard_legacy",
1179
+ Standard: "standard",
1180
1180
  Performance: "performance",
1181
1181
  } as const;
1182
1182
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -1209,11 +1209,11 @@ export type Routes3 = {
1209
1209
 
1210
1210
  export const RoutesHandle = {
1211
1211
  Error: "error",
1212
+ Resource: "resource",
1212
1213
  Filesystem: "filesystem",
1213
1214
  Hit: "hit",
1214
1215
  Miss: "miss",
1215
1216
  Rewrite: "rewrite",
1216
- Resource: "resource",
1217
1217
  } as const;
1218
1218
  export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1219
1219
 
@@ -1326,8 +1326,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1326
1326
  >;
1327
1327
 
1328
1328
  export const CreateDeploymentGitRepoOwnerType = {
1329
- Team: "team",
1330
1329
  User: "user",
1330
+ Team: "team",
1331
1331
  } as const;
1332
1332
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1333
1333
  typeof CreateDeploymentGitRepoOwnerType
@@ -1354,8 +1354,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1354
1354
  >;
1355
1355
 
1356
1356
  export const GitRepoOwnerType = {
1357
- Team: "team",
1358
1357
  User: "user",
1358
+ Team: "team",
1359
1359
  } as const;
1360
1360
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1361
1361
 
@@ -1378,8 +1378,8 @@ export const GitRepoType = {
1378
1378
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1379
1379
 
1380
1380
  export const OwnerType = {
1381
- Team: "team",
1382
1381
  User: "user",
1382
+ Team: "team",
1383
1383
  } as const;
1384
1384
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1385
1385
 
@@ -3660,20 +3660,20 @@ export function createDeploymentOutputFromJSON(
3660
3660
  /** @internal */
3661
3661
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3662
3662
  z.object({
3663
- id: z.string().optional(),
3664
3663
  createdAt: z.number().optional(),
3665
- entrypoint: z.nullable(z.string()).optional(),
3664
+ id: z.string().optional(),
3666
3665
  readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3666
+ entrypoint: z.nullable(z.string()).optional(),
3667
3667
  readyStateAt: z.number().optional(),
3668
3668
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3669
3669
  });
3670
3670
 
3671
3671
  /** @internal */
3672
3672
  export type Lambdas$Outbound = {
3673
- id?: string | undefined;
3674
3673
  createdAt?: number | undefined;
3675
- entrypoint?: string | null | undefined;
3674
+ id?: string | undefined;
3676
3675
  readyState?: string | undefined;
3676
+ entrypoint?: string | null | undefined;
3677
3677
  readyStateAt?: number | undefined;
3678
3678
  output: Array<CreateDeploymentOutput$Outbound>;
3679
3679
  };
@@ -3684,10 +3684,10 @@ export const Lambdas$outboundSchema: z.ZodType<
3684
3684
  z.ZodTypeDef,
3685
3685
  Lambdas
3686
3686
  > = z.object({
3687
- id: z.string().optional(),
3688
3687
  createdAt: z.number().optional(),
3689
- entrypoint: z.nullable(z.string()).optional(),
3688
+ id: z.string().optional(),
3690
3689
  readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3690
+ entrypoint: z.nullable(z.string()).optional(),
3691
3691
  readyStateAt: z.number().optional(),
3692
3692
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3693
3693
  });
@@ -271,10 +271,10 @@ export type CreateProjectEnvCreatedTarget =
271
271
 
272
272
  export const CreateProjectEnvCreatedType = {
273
273
  System: "system",
274
+ Secret: "secret",
274
275
  Encrypted: "encrypted",
275
276
  Plain: "plain",
276
277
  Sensitive: "sensitive",
277
- Secret: "secret",
278
278
  } as const;
279
279
  export type CreateProjectEnvCreatedType = ClosedEnum<
280
280
  typeof CreateProjectEnvCreatedType
@@ -617,10 +617,10 @@ export type CreatedTarget =
617
617
 
618
618
  export const CreatedType = {
619
619
  System: "system",
620
+ Secret: "secret",
620
621
  Encrypted: "encrypted",
621
622
  Plain: "plain",
622
623
  Sensitive: "sensitive",
623
- Secret: "secret",
624
624
  } as const;
625
625
  export type CreatedType = ClosedEnum<typeof CreatedType>;
626
626
 
@@ -391,10 +391,10 @@ export type CreateProjectProjectsTarget =
391
391
 
392
392
  export const CreateProjectProjectsResponseType = {
393
393
  System: "system",
394
+ Secret: "secret",
394
395
  Encrypted: "encrypted",
395
396
  Plain: "plain",
396
397
  Sensitive: "sensitive",
397
- Secret: "secret",
398
398
  } as const;
399
399
  export type CreateProjectProjectsResponseType = ClosedEnum<
400
400
  typeof CreateProjectProjectsResponseType
@@ -1864,8 +1864,8 @@ export type CreateProjectSrc = CreateProjectSrc2 | string;
1864
1864
 
1865
1865
  export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType =
1866
1866
  {
1867
- Path: "path",
1868
1867
  Host: "host",
1868
+ Path: "path",
1869
1869
  Method: "method",
1870
1870
  Header: "header",
1871
1871
  Cookie: "cookie",
@@ -1906,8 +1906,8 @@ export type CreateProjectHas = {
1906
1906
 
1907
1907
  export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
1908
1908
  {
1909
- Path: "path",
1910
1909
  Host: "host",
1910
+ Path: "path",
1911
1911
  Method: "method",
1912
1912
  Header: "header",
1913
1913
  Cookie: "cookie",
@@ -97,10 +97,10 @@ export type EditProjectEnvResponseBodyTarget =
97
97
 
98
98
  export const EditProjectEnvResponseBodyType = {
99
99
  System: "system",
100
+ Secret: "secret",
100
101
  Encrypted: "encrypted",
101
102
  Plain: "plain",
102
103
  Sensitive: "sensitive",
103
- Secret: "secret",
104
104
  } as const;
105
105
  export type EditProjectEnvResponseBodyType = ClosedEnum<
106
106
  typeof EditProjectEnvResponseBodyType
@@ -89,10 +89,10 @@ export type FilterProjectEnvsResponseBodyProjectsResponseTarget =
89
89
 
90
90
  export const FilterProjectEnvsResponseBodyProjectsResponse200Type = {
91
91
  System: "system",
92
+ Secret: "secret",
92
93
  Encrypted: "encrypted",
93
94
  Plain: "plain",
94
95
  Sensitive: "sensitive",
95
- Secret: "secret",
96
96
  } as const;
97
97
  export type FilterProjectEnvsResponseBodyProjectsResponse200Type = ClosedEnum<
98
98
  typeof FilterProjectEnvsResponseBodyProjectsResponse200Type
@@ -447,10 +447,10 @@ export type FilterProjectEnvsResponseBodyProjectsTarget =
447
447
 
448
448
  export const FilterProjectEnvsResponseBodyProjectsResponseType = {
449
449
  System: "system",
450
+ Secret: "secret",
450
451
  Encrypted: "encrypted",
451
452
  Plain: "plain",
452
453
  Sensitive: "sensitive",
453
- Secret: "secret",
454
454
  } as const;
455
455
  export type FilterProjectEnvsResponseBodyProjectsResponseType = ClosedEnum<
456
456
  typeof FilterProjectEnvsResponseBodyProjectsResponseType
@@ -806,10 +806,10 @@ export type FilterProjectEnvsResponseBodyTarget =
806
806
 
807
807
  export const FilterProjectEnvsResponseBodyType = {
808
808
  System: "system",
809
+ Secret: "secret",
809
810
  Encrypted: "encrypted",
810
811
  Plain: "plain",
811
812
  Sensitive: "sensitive",
812
- Secret: "secret",
813
813
  } as const;
814
814
  export type FilterProjectEnvsResponseBodyType = ClosedEnum<
815
815
  typeof FilterProjectEnvsResponseBodyType
@@ -70,6 +70,67 @@ export type GetDeploymentEventsRequest = {
70
70
  slug?: string | undefined;
71
71
  };
72
72
 
73
+ /**
74
+ * Type of log entry
75
+ */
76
+ export const GetDeploymentEventsType = {
77
+ Stdout: "stdout",
78
+ Stderr: "stderr",
79
+ } as const;
80
+ /**
81
+ * Type of log entry
82
+ */
83
+ export type GetDeploymentEventsType = ClosedEnum<
84
+ typeof GetDeploymentEventsType
85
+ >;
86
+
87
+ export type Info = {
88
+ /**
89
+ * Type of operation
90
+ */
91
+ type?: string | undefined;
92
+ /**
93
+ * Name of the build
94
+ */
95
+ name?: string | undefined;
96
+ /**
97
+ * Entrypoint for the build
98
+ */
99
+ entrypoint?: string | undefined;
100
+ };
101
+
102
+ export type GetDeploymentEventsResponseBody = {
103
+ /**
104
+ * Unix timestamp when the log entry was created
105
+ */
106
+ created?: number | undefined;
107
+ /**
108
+ * Unix timestamp of the log entry date
109
+ */
110
+ date?: number | undefined;
111
+ /**
112
+ * Unique identifier for the deployment
113
+ */
114
+ deploymentId?: string | undefined;
115
+ /**
116
+ * Unique identifier for the log entry
117
+ */
118
+ id?: string | undefined;
119
+ /**
120
+ * Log message content
121
+ */
122
+ text?: string | undefined;
123
+ /**
124
+ * Type of log entry
125
+ */
126
+ type?: GetDeploymentEventsType | undefined;
127
+ /**
128
+ * Serial identifier for the log entry
129
+ */
130
+ serial?: string | undefined;
131
+ info?: Info | undefined;
132
+ };
133
+
73
134
  /** @internal */
74
135
  export const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction> = z
75
136
  .nativeEnum(Direction);
@@ -219,3 +280,151 @@ export function getDeploymentEventsRequestFromJSON(
219
280
  `Failed to parse 'GetDeploymentEventsRequest' from JSON`,
220
281
  );
221
282
  }
283
+
284
+ /** @internal */
285
+ export const GetDeploymentEventsType$inboundSchema: z.ZodNativeEnum<
286
+ typeof GetDeploymentEventsType
287
+ > = z.nativeEnum(GetDeploymentEventsType);
288
+
289
+ /** @internal */
290
+ export const GetDeploymentEventsType$outboundSchema: z.ZodNativeEnum<
291
+ typeof GetDeploymentEventsType
292
+ > = GetDeploymentEventsType$inboundSchema;
293
+
294
+ /**
295
+ * @internal
296
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
297
+ */
298
+ export namespace GetDeploymentEventsType$ {
299
+ /** @deprecated use `GetDeploymentEventsType$inboundSchema` instead. */
300
+ export const inboundSchema = GetDeploymentEventsType$inboundSchema;
301
+ /** @deprecated use `GetDeploymentEventsType$outboundSchema` instead. */
302
+ export const outboundSchema = GetDeploymentEventsType$outboundSchema;
303
+ }
304
+
305
+ /** @internal */
306
+ export const Info$inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown> = z
307
+ .object({
308
+ type: z.string().optional(),
309
+ name: z.string().optional(),
310
+ entrypoint: z.string().optional(),
311
+ });
312
+
313
+ /** @internal */
314
+ export type Info$Outbound = {
315
+ type?: string | undefined;
316
+ name?: string | undefined;
317
+ entrypoint?: string | undefined;
318
+ };
319
+
320
+ /** @internal */
321
+ export const Info$outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info> =
322
+ z.object({
323
+ type: z.string().optional(),
324
+ name: z.string().optional(),
325
+ entrypoint: z.string().optional(),
326
+ });
327
+
328
+ /**
329
+ * @internal
330
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
331
+ */
332
+ export namespace Info$ {
333
+ /** @deprecated use `Info$inboundSchema` instead. */
334
+ export const inboundSchema = Info$inboundSchema;
335
+ /** @deprecated use `Info$outboundSchema` instead. */
336
+ export const outboundSchema = Info$outboundSchema;
337
+ /** @deprecated use `Info$Outbound` instead. */
338
+ export type Outbound = Info$Outbound;
339
+ }
340
+
341
+ export function infoToJSON(info: Info): string {
342
+ return JSON.stringify(Info$outboundSchema.parse(info));
343
+ }
344
+
345
+ export function infoFromJSON(
346
+ jsonString: string,
347
+ ): SafeParseResult<Info, SDKValidationError> {
348
+ return safeParse(
349
+ jsonString,
350
+ (x) => Info$inboundSchema.parse(JSON.parse(x)),
351
+ `Failed to parse 'Info' from JSON`,
352
+ );
353
+ }
354
+
355
+ /** @internal */
356
+ export const GetDeploymentEventsResponseBody$inboundSchema: z.ZodType<
357
+ GetDeploymentEventsResponseBody,
358
+ z.ZodTypeDef,
359
+ unknown
360
+ > = z.object({
361
+ created: z.number().optional(),
362
+ date: z.number().optional(),
363
+ deploymentId: z.string().optional(),
364
+ id: z.string().optional(),
365
+ text: z.string().optional(),
366
+ type: GetDeploymentEventsType$inboundSchema.optional(),
367
+ serial: z.string().optional(),
368
+ info: z.lazy(() => Info$inboundSchema).optional(),
369
+ });
370
+
371
+ /** @internal */
372
+ export type GetDeploymentEventsResponseBody$Outbound = {
373
+ created?: number | undefined;
374
+ date?: number | undefined;
375
+ deploymentId?: string | undefined;
376
+ id?: string | undefined;
377
+ text?: string | undefined;
378
+ type?: string | undefined;
379
+ serial?: string | undefined;
380
+ info?: Info$Outbound | undefined;
381
+ };
382
+
383
+ /** @internal */
384
+ export const GetDeploymentEventsResponseBody$outboundSchema: z.ZodType<
385
+ GetDeploymentEventsResponseBody$Outbound,
386
+ z.ZodTypeDef,
387
+ GetDeploymentEventsResponseBody
388
+ > = z.object({
389
+ created: z.number().optional(),
390
+ date: z.number().optional(),
391
+ deploymentId: z.string().optional(),
392
+ id: z.string().optional(),
393
+ text: z.string().optional(),
394
+ type: GetDeploymentEventsType$outboundSchema.optional(),
395
+ serial: z.string().optional(),
396
+ info: z.lazy(() => Info$outboundSchema).optional(),
397
+ });
398
+
399
+ /**
400
+ * @internal
401
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
402
+ */
403
+ export namespace GetDeploymentEventsResponseBody$ {
404
+ /** @deprecated use `GetDeploymentEventsResponseBody$inboundSchema` instead. */
405
+ export const inboundSchema = GetDeploymentEventsResponseBody$inboundSchema;
406
+ /** @deprecated use `GetDeploymentEventsResponseBody$outboundSchema` instead. */
407
+ export const outboundSchema = GetDeploymentEventsResponseBody$outboundSchema;
408
+ /** @deprecated use `GetDeploymentEventsResponseBody$Outbound` instead. */
409
+ export type Outbound = GetDeploymentEventsResponseBody$Outbound;
410
+ }
411
+
412
+ export function getDeploymentEventsResponseBodyToJSON(
413
+ getDeploymentEventsResponseBody: GetDeploymentEventsResponseBody,
414
+ ): string {
415
+ return JSON.stringify(
416
+ GetDeploymentEventsResponseBody$outboundSchema.parse(
417
+ getDeploymentEventsResponseBody,
418
+ ),
419
+ );
420
+ }
421
+
422
+ export function getDeploymentEventsResponseBodyFromJSON(
423
+ jsonString: string,
424
+ ): SafeParseResult<GetDeploymentEventsResponseBody, SDKValidationError> {
425
+ return safeParse(
426
+ jsonString,
427
+ (x) => GetDeploymentEventsResponseBody$inboundSchema.parse(JSON.parse(x)),
428
+ `Failed to parse 'GetDeploymentEventsResponseBody' from JSON`,
429
+ );
430
+ }