@vercel/sdk 1.6.6 → 1.6.8

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 (154) hide show
  1. package/README.md +19 -31
  2. package/bin/mcp-server.js +2608 -910
  3. package/bin/mcp-server.js.map +31 -28
  4. package/docs/sdks/projects/README.md +1 -1
  5. package/docs/sdks/vercel/README.md +77 -0
  6. package/esm/__tests__/environment.test.js +28 -4
  7. package/esm/__tests__/environment.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/__tests__/vercel.test.d.ts +2 -0
  11. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  12. package/esm/__tests__/vercel.test.js +21 -0
  13. package/esm/__tests__/vercel.test.js.map +1 -0
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  15. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  19. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  20. package/esm/funcs/projectsMoveProjectDomain.d.ts +1 -1
  21. package/esm/funcs/projectsMoveProjectDomain.js +1 -1
  22. package/esm/lib/config.d.ts +3 -3
  23. package/esm/lib/config.js +3 -3
  24. package/esm/lib/sdks.d.ts +3 -1
  25. package/esm/lib/sdks.d.ts.map +1 -1
  26. package/esm/lib/sdks.js +6 -11
  27. package/esm/lib/sdks.js.map +1 -1
  28. package/esm/mcp-server/mcp-server.js +1 -1
  29. package/esm/mcp-server/server.d.ts.map +1 -1
  30. package/esm/mcp-server/server.js +3 -1
  31. package/esm/mcp-server/server.js.map +1 -1
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  33. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  34. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  35. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  36. package/esm/mcp-server/tools/projectsMoveProjectDomain.js +1 -1
  37. package/esm/models/authuser.d.ts +0 -5
  38. package/esm/models/authuser.d.ts.map +1 -1
  39. package/esm/models/authuser.js +0 -2
  40. package/esm/models/authuser.js.map +1 -1
  41. package/esm/models/canceldeploymentop.d.ts +268 -26
  42. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  43. package/esm/models/canceldeploymentop.js +194 -24
  44. package/esm/models/canceldeploymentop.js.map +1 -1
  45. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  46. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  47. package/esm/models/createcustomenvironmentop.js +174 -2
  48. package/esm/models/createcustomenvironmentop.js.map +1 -1
  49. package/esm/models/createdeploymentop.d.ts +357 -58
  50. package/esm/models/createdeploymentop.d.ts.map +1 -1
  51. package/esm/models/createdeploymentop.js +290 -60
  52. package/esm/models/createdeploymentop.js.map +1 -1
  53. package/esm/models/createprojectop.d.ts +333 -71
  54. package/esm/models/createprojectop.d.ts.map +1 -1
  55. package/esm/models/createprojectop.js +255 -75
  56. package/esm/models/createprojectop.js.map +1 -1
  57. package/esm/models/createrecordop.d.ts +43 -43
  58. package/esm/models/createrecordop.d.ts.map +1 -1
  59. package/esm/models/createrecordop.js +51 -51
  60. package/esm/models/createrecordop.js.map +1 -1
  61. package/esm/models/getaliasop.d.ts +8 -8
  62. package/esm/models/getaliasop.d.ts.map +1 -1
  63. package/esm/models/getaliasop.js +12 -13
  64. package/esm/models/getaliasop.js.map +1 -1
  65. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  66. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  67. package/esm/models/getcustomenvironmentop.js +175 -2
  68. package/esm/models/getcustomenvironmentop.js.map +1 -1
  69. package/esm/models/getdeploymentop.d.ts +502 -18
  70. package/esm/models/getdeploymentop.d.ts.map +1 -1
  71. package/esm/models/getdeploymentop.js +354 -14
  72. package/esm/models/getdeploymentop.js.map +1 -1
  73. package/esm/models/getprojectdomainsop.d.ts +30 -30
  74. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  75. package/esm/models/getprojectdomainsop.js +32 -32
  76. package/esm/models/getprojectdomainsop.js.map +1 -1
  77. package/esm/models/getprojectsop.d.ts +347 -95
  78. package/esm/models/getprojectsop.d.ts.map +1 -1
  79. package/esm/models/getprojectsop.js +287 -112
  80. package/esm/models/getprojectsop.js.map +1 -1
  81. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  82. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  83. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  84. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  85. package/esm/models/listaliasesop.d.ts +8 -8
  86. package/esm/models/listaliasesop.d.ts.map +1 -1
  87. package/esm/models/listaliasesop.js +12 -12
  88. package/esm/models/listaliasesop.js.map +1 -1
  89. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  90. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  91. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  92. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  93. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  94. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  95. package/esm/models/removecustomenvironmentop.js +173 -2
  96. package/esm/models/removecustomenvironmentop.js.map +1 -1
  97. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  98. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  99. package/esm/models/updatecustomenvironmentop.js +174 -2
  100. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  101. package/esm/models/updateprojectdatacacheop.d.ts +363 -111
  102. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  103. package/esm/models/updateprojectdatacacheop.js +311 -135
  104. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  105. package/esm/models/updateprojectop.d.ts +347 -95
  106. package/esm/models/updateprojectop.d.ts.map +1 -1
  107. package/esm/models/updateprojectop.js +287 -111
  108. package/esm/models/updateprojectop.js.map +1 -1
  109. package/esm/models/userevent.d.ts +124 -6
  110. package/esm/models/userevent.d.ts.map +1 -1
  111. package/esm/models/userevent.js +114 -6
  112. package/esm/models/userevent.js.map +1 -1
  113. package/esm/sdk/projects.d.ts +1 -1
  114. package/esm/sdk/projects.js +1 -1
  115. package/esm/sdk/sdk.d.ts +8 -1
  116. package/esm/sdk/sdk.d.ts.map +1 -1
  117. package/esm/sdk/sdk.js +8 -0
  118. package/esm/sdk/sdk.js.map +1 -1
  119. package/jsr.json +1 -1
  120. package/package.json +1 -1
  121. package/src/__tests__/environment.test.ts +28 -4
  122. package/src/__tests__/projects.test.ts +15 -13
  123. package/src/__tests__/vercel.test.ts +26 -0
  124. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  125. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  126. package/src/funcs/projectsMoveProjectDomain.ts +1 -1
  127. package/src/lib/config.ts +3 -3
  128. package/src/lib/sdks.ts +11 -11
  129. package/src/mcp-server/mcp-server.ts +1 -1
  130. package/src/mcp-server/server.ts +3 -1
  131. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  132. package/src/mcp-server/tools/projectsMoveProjectDomain.ts +1 -1
  133. package/src/models/authuser.ts +0 -7
  134. package/src/models/canceldeploymentop.ts +503 -43
  135. package/src/models/createcustomenvironmentop.ts +426 -4
  136. package/src/models/createdeploymentop.ts +640 -117
  137. package/src/models/createprojectop.ts +664 -200
  138. package/src/models/createrecordop.ts +96 -84
  139. package/src/models/getaliasop.ts +16 -14
  140. package/src/models/getcustomenvironmentop.ts +412 -4
  141. package/src/models/getdeploymentop.ts +962 -49
  142. package/src/models/getprojectdomainsop.ts +84 -84
  143. package/src/models/getprojectsop.ts +637 -189
  144. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  145. package/src/models/listaliasesop.ts +19 -16
  146. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  147. package/src/models/removecustomenvironmentop.ts +425 -4
  148. package/src/models/updatecustomenvironmentop.ts +437 -4
  149. package/src/models/updateprojectdatacacheop.ts +738 -271
  150. package/src/models/updateprojectop.ts +697 -247
  151. package/src/models/userevent.ts +205 -12
  152. package/src/sdk/projects.ts +1 -1
  153. package/src/sdk/sdk.ts +18 -1
  154. package/vercel-spec.json +2667 -162
@@ -66,8 +66,116 @@ export type ResponseBodyTeam = {
66
66
  export type GetDeploymentCustomEnvironment2 = {
67
67
  id: string;
68
68
  };
69
- export type GetDeploymentCustomEnvironment1 = {};
70
- export type ResponseBodyCustomEnvironment = GetDeploymentCustomEnvironment1 | GetDeploymentCustomEnvironment2;
69
+ /**
70
+ * The type of environment (production, preview, or development)
71
+ */
72
+ export declare const GetDeploymentCustomEnvironmentType: {
73
+ readonly Production: "production";
74
+ readonly Preview: "preview";
75
+ readonly Development: "development";
76
+ };
77
+ /**
78
+ * The type of environment (production, preview, or development)
79
+ */
80
+ export type GetDeploymentCustomEnvironmentType = ClosedEnum<typeof GetDeploymentCustomEnvironmentType>;
81
+ /**
82
+ * The type of matching to perform
83
+ */
84
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponseType: {
85
+ readonly StartsWith: "startsWith";
86
+ readonly Equals: "equals";
87
+ readonly EndsWith: "endsWith";
88
+ };
89
+ /**
90
+ * The type of matching to perform
91
+ */
92
+ export type GetDeploymentCustomEnvironmentDeploymentsResponseType = ClosedEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponseType>;
93
+ /**
94
+ * Configuration for matching git branches to this environment
95
+ */
96
+ export type GetDeploymentCustomEnvironmentBranchMatcher = {
97
+ /**
98
+ * The type of matching to perform
99
+ */
100
+ type: GetDeploymentCustomEnvironmentDeploymentsResponseType;
101
+ /**
102
+ * The pattern to match against branch names
103
+ */
104
+ pattern: string;
105
+ };
106
+ /**
107
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
108
+ */
109
+ export type GetDeploymentCustomEnvironmentVerification = {
110
+ type: string;
111
+ domain: string;
112
+ value: string;
113
+ reason: string;
114
+ };
115
+ /**
116
+ * List of domains associated with this environment
117
+ */
118
+ export type GetDeploymentCustomEnvironmentDomains = {
119
+ name: string;
120
+ apexName: string;
121
+ projectId: string;
122
+ redirect?: string | null | undefined;
123
+ redirectStatusCode?: number | null | undefined;
124
+ gitBranch?: string | null | undefined;
125
+ customEnvironmentId?: string | null | undefined;
126
+ updatedAt?: number | undefined;
127
+ createdAt?: number | undefined;
128
+ /**
129
+ * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
130
+ */
131
+ verified: boolean;
132
+ /**
133
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
134
+ */
135
+ verification?: Array<GetDeploymentCustomEnvironmentVerification> | undefined;
136
+ };
137
+ /**
138
+ * Internal representation of a custom environment with all required properties
139
+ */
140
+ export type GetDeploymentCustomEnvironment1 = {
141
+ /**
142
+ * Unique identifier for the custom environment (format: env_*)
143
+ */
144
+ id: string;
145
+ /**
146
+ * URL-friendly name of the environment
147
+ */
148
+ slug: string;
149
+ /**
150
+ * The type of environment (production, preview, or development)
151
+ */
152
+ type: GetDeploymentCustomEnvironmentType;
153
+ /**
154
+ * Optional description of the environment's purpose
155
+ */
156
+ description?: string | undefined;
157
+ /**
158
+ * Configuration for matching git branches to this environment
159
+ */
160
+ branchMatcher?: GetDeploymentCustomEnvironmentBranchMatcher | undefined;
161
+ /**
162
+ * List of domains associated with this environment
163
+ */
164
+ domains?: Array<GetDeploymentCustomEnvironmentDomains> | undefined;
165
+ /**
166
+ * List of aliases for the current deployment
167
+ */
168
+ currentDeploymentAliases?: Array<string> | undefined;
169
+ /**
170
+ * Timestamp when the environment was created
171
+ */
172
+ createdAt: number;
173
+ /**
174
+ * Timestamp when the environment was last updated
175
+ */
176
+ updatedAt: number;
177
+ };
178
+ export type ResponseBodyCustomEnvironment = GetDeploymentCustomEnvironment2 | GetDeploymentCustomEnvironment1;
71
179
  export type ResponseBodyAliasWarning = {
72
180
  code: string;
73
181
  message: string;
@@ -128,7 +236,7 @@ export type GetDeploymentGitSource11 = {
128
236
  projectId: number;
129
237
  };
130
238
  export declare const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type: {
131
- readonly Github: "github";
239
+ readonly GithubCustomHost: "github-custom-host";
132
240
  };
133
241
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type = ClosedEnum<typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type>;
134
242
  export type GetDeploymentGitSource10 = {
@@ -320,7 +428,7 @@ export type GetDeploymentResponseBody2 = {
320
428
  userAliases?: Array<string> | undefined;
321
429
  previewCommentsEnabled?: boolean | undefined;
322
430
  ttyBuildLogs?: boolean | undefined;
323
- customEnvironment?: GetDeploymentCustomEnvironment1 | GetDeploymentCustomEnvironment2 | undefined;
431
+ customEnvironment?: GetDeploymentCustomEnvironment2 | GetDeploymentCustomEnvironment1 | undefined;
324
432
  aliasWarning?: ResponseBodyAliasWarning | null | undefined;
325
433
  id: string;
326
434
  name: string;
@@ -580,8 +688,116 @@ export type GetDeploymentResponseBodyTeam = {
580
688
  export type GetDeploymentCustomEnvironmentDeployments2 = {
581
689
  id: string;
582
690
  };
583
- export type GetDeploymentCustomEnvironmentDeployments1 = {};
584
- export type GetDeploymentResponseBodyCustomEnvironment = GetDeploymentCustomEnvironmentDeployments1 | GetDeploymentCustomEnvironmentDeployments2;
691
+ /**
692
+ * The type of environment (production, preview, or development)
693
+ */
694
+ export declare const GetDeploymentCustomEnvironmentDeploymentsType: {
695
+ readonly Production: "production";
696
+ readonly Preview: "preview";
697
+ readonly Development: "development";
698
+ };
699
+ /**
700
+ * The type of environment (production, preview, or development)
701
+ */
702
+ export type GetDeploymentCustomEnvironmentDeploymentsType = ClosedEnum<typeof GetDeploymentCustomEnvironmentDeploymentsType>;
703
+ /**
704
+ * The type of matching to perform
705
+ */
706
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponse200Type: {
707
+ readonly StartsWith: "startsWith";
708
+ readonly Equals: "equals";
709
+ readonly EndsWith: "endsWith";
710
+ };
711
+ /**
712
+ * The type of matching to perform
713
+ */
714
+ export type GetDeploymentCustomEnvironmentDeploymentsResponse200Type = ClosedEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type>;
715
+ /**
716
+ * Configuration for matching git branches to this environment
717
+ */
718
+ export type GetDeploymentCustomEnvironmentDeploymentsBranchMatcher = {
719
+ /**
720
+ * The type of matching to perform
721
+ */
722
+ type: GetDeploymentCustomEnvironmentDeploymentsResponse200Type;
723
+ /**
724
+ * The pattern to match against branch names
725
+ */
726
+ pattern: string;
727
+ };
728
+ /**
729
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
730
+ */
731
+ export type GetDeploymentCustomEnvironmentDeploymentsVerification = {
732
+ type: string;
733
+ domain: string;
734
+ value: string;
735
+ reason: string;
736
+ };
737
+ /**
738
+ * List of domains associated with this environment
739
+ */
740
+ export type GetDeploymentCustomEnvironmentDeploymentsDomains = {
741
+ name: string;
742
+ apexName: string;
743
+ projectId: string;
744
+ redirect?: string | null | undefined;
745
+ redirectStatusCode?: number | null | undefined;
746
+ gitBranch?: string | null | undefined;
747
+ customEnvironmentId?: string | null | undefined;
748
+ updatedAt?: number | undefined;
749
+ createdAt?: number | undefined;
750
+ /**
751
+ * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
752
+ */
753
+ verified: boolean;
754
+ /**
755
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
756
+ */
757
+ verification?: Array<GetDeploymentCustomEnvironmentDeploymentsVerification> | undefined;
758
+ };
759
+ /**
760
+ * Internal representation of a custom environment with all required properties
761
+ */
762
+ export type GetDeploymentCustomEnvironmentDeployments1 = {
763
+ /**
764
+ * Unique identifier for the custom environment (format: env_*)
765
+ */
766
+ id: string;
767
+ /**
768
+ * URL-friendly name of the environment
769
+ */
770
+ slug: string;
771
+ /**
772
+ * The type of environment (production, preview, or development)
773
+ */
774
+ type: GetDeploymentCustomEnvironmentDeploymentsType;
775
+ /**
776
+ * Optional description of the environment's purpose
777
+ */
778
+ description?: string | undefined;
779
+ /**
780
+ * Configuration for matching git branches to this environment
781
+ */
782
+ branchMatcher?: GetDeploymentCustomEnvironmentDeploymentsBranchMatcher | undefined;
783
+ /**
784
+ * List of domains associated with this environment
785
+ */
786
+ domains?: Array<GetDeploymentCustomEnvironmentDeploymentsDomains> | undefined;
787
+ /**
788
+ * List of aliases for the current deployment
789
+ */
790
+ currentDeploymentAliases?: Array<string> | undefined;
791
+ /**
792
+ * Timestamp when the environment was created
793
+ */
794
+ createdAt: number;
795
+ /**
796
+ * Timestamp when the environment was last updated
797
+ */
798
+ updatedAt: number;
799
+ };
800
+ export type GetDeploymentResponseBodyCustomEnvironment = GetDeploymentCustomEnvironmentDeployments2 | GetDeploymentCustomEnvironmentDeployments1;
585
801
  export type GetDeploymentResponseBodyAliasWarning = {
586
802
  code: string;
587
803
  message: string;
@@ -642,7 +858,7 @@ export type GetDeploymentGitSourceDeployments11 = {
642
858
  projectId: number;
643
859
  };
644
860
  export declare const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type: {
645
- readonly Github: "github";
861
+ readonly GithubCustomHost: "github-custom-host";
646
862
  };
647
863
  export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type = ClosedEnum<typeof GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type>;
648
864
  export type GetDeploymentGitSourceDeployments10 = {
@@ -1113,7 +1329,7 @@ export type GetDeploymentResponseBody1 = {
1113
1329
  userAliases?: Array<string> | undefined;
1114
1330
  previewCommentsEnabled?: boolean | undefined;
1115
1331
  ttyBuildLogs?: boolean | undefined;
1116
- customEnvironment?: GetDeploymentCustomEnvironmentDeployments1 | GetDeploymentCustomEnvironmentDeployments2 | undefined;
1332
+ customEnvironment?: GetDeploymentCustomEnvironmentDeployments2 | GetDeploymentCustomEnvironmentDeployments1 | undefined;
1117
1333
  aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined;
1118
1334
  id: string;
1119
1335
  name: string;
@@ -1392,9 +1608,143 @@ export declare namespace GetDeploymentCustomEnvironment2$ {
1392
1608
  export declare function getDeploymentCustomEnvironment2ToJSON(getDeploymentCustomEnvironment2: GetDeploymentCustomEnvironment2): string;
1393
1609
  export declare function getDeploymentCustomEnvironment2FromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironment2, SDKValidationError>;
1394
1610
  /** @internal */
1611
+ export declare const GetDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentType>;
1612
+ /** @internal */
1613
+ export declare const GetDeploymentCustomEnvironmentType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentType>;
1614
+ /**
1615
+ * @internal
1616
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1617
+ */
1618
+ export declare namespace GetDeploymentCustomEnvironmentType$ {
1619
+ /** @deprecated use `GetDeploymentCustomEnvironmentType$inboundSchema` instead. */
1620
+ const inboundSchema: z.ZodNativeEnum<{
1621
+ readonly Production: "production";
1622
+ readonly Preview: "preview";
1623
+ readonly Development: "development";
1624
+ }>;
1625
+ /** @deprecated use `GetDeploymentCustomEnvironmentType$outboundSchema` instead. */
1626
+ const outboundSchema: z.ZodNativeEnum<{
1627
+ readonly Production: "production";
1628
+ readonly Preview: "preview";
1629
+ readonly Development: "development";
1630
+ }>;
1631
+ }
1632
+ /** @internal */
1633
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponseType>;
1634
+ /** @internal */
1635
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponseType>;
1636
+ /**
1637
+ * @internal
1638
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1639
+ */
1640
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsResponseType$ {
1641
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema` instead. */
1642
+ const inboundSchema: z.ZodNativeEnum<{
1643
+ readonly StartsWith: "startsWith";
1644
+ readonly Equals: "equals";
1645
+ readonly EndsWith: "endsWith";
1646
+ }>;
1647
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponseType$outboundSchema` instead. */
1648
+ const outboundSchema: z.ZodNativeEnum<{
1649
+ readonly StartsWith: "startsWith";
1650
+ readonly Equals: "equals";
1651
+ readonly EndsWith: "endsWith";
1652
+ }>;
1653
+ }
1654
+ /** @internal */
1655
+ export declare const GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown>;
1656
+ /** @internal */
1657
+ export type GetDeploymentCustomEnvironmentBranchMatcher$Outbound = {
1658
+ type: string;
1659
+ pattern: string;
1660
+ };
1661
+ /** @internal */
1662
+ export declare const GetDeploymentCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentBranchMatcher$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentBranchMatcher>;
1663
+ /**
1664
+ * @internal
1665
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1666
+ */
1667
+ export declare namespace GetDeploymentCustomEnvironmentBranchMatcher$ {
1668
+ /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema` instead. */
1669
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown>;
1670
+ /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$outboundSchema` instead. */
1671
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentBranchMatcher$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentBranchMatcher>;
1672
+ /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$Outbound` instead. */
1673
+ type Outbound = GetDeploymentCustomEnvironmentBranchMatcher$Outbound;
1674
+ }
1675
+ export declare function getDeploymentCustomEnvironmentBranchMatcherToJSON(getDeploymentCustomEnvironmentBranchMatcher: GetDeploymentCustomEnvironmentBranchMatcher): string;
1676
+ export declare function getDeploymentCustomEnvironmentBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentBranchMatcher, SDKValidationError>;
1677
+ /** @internal */
1678
+ export declare const GetDeploymentCustomEnvironmentVerification$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentVerification, z.ZodTypeDef, unknown>;
1679
+ /** @internal */
1680
+ export type GetDeploymentCustomEnvironmentVerification$Outbound = {
1681
+ type: string;
1682
+ domain: string;
1683
+ value: string;
1684
+ reason: string;
1685
+ };
1686
+ /** @internal */
1687
+ export declare const GetDeploymentCustomEnvironmentVerification$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentVerification$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentVerification>;
1688
+ /**
1689
+ * @internal
1690
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1691
+ */
1692
+ export declare namespace GetDeploymentCustomEnvironmentVerification$ {
1693
+ /** @deprecated use `GetDeploymentCustomEnvironmentVerification$inboundSchema` instead. */
1694
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentVerification, z.ZodTypeDef, unknown>;
1695
+ /** @deprecated use `GetDeploymentCustomEnvironmentVerification$outboundSchema` instead. */
1696
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentVerification$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentVerification>;
1697
+ /** @deprecated use `GetDeploymentCustomEnvironmentVerification$Outbound` instead. */
1698
+ type Outbound = GetDeploymentCustomEnvironmentVerification$Outbound;
1699
+ }
1700
+ export declare function getDeploymentCustomEnvironmentVerificationToJSON(getDeploymentCustomEnvironmentVerification: GetDeploymentCustomEnvironmentVerification): string;
1701
+ export declare function getDeploymentCustomEnvironmentVerificationFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentVerification, SDKValidationError>;
1702
+ /** @internal */
1703
+ export declare const GetDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDomains, z.ZodTypeDef, unknown>;
1704
+ /** @internal */
1705
+ export type GetDeploymentCustomEnvironmentDomains$Outbound = {
1706
+ name: string;
1707
+ apexName: string;
1708
+ projectId: string;
1709
+ redirect?: string | null | undefined;
1710
+ redirectStatusCode?: number | null | undefined;
1711
+ gitBranch?: string | null | undefined;
1712
+ customEnvironmentId?: string | null | undefined;
1713
+ updatedAt?: number | undefined;
1714
+ createdAt?: number | undefined;
1715
+ verified: boolean;
1716
+ verification?: Array<GetDeploymentCustomEnvironmentVerification$Outbound> | undefined;
1717
+ };
1718
+ /** @internal */
1719
+ export declare const GetDeploymentCustomEnvironmentDomains$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDomains$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDomains>;
1720
+ /**
1721
+ * @internal
1722
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1723
+ */
1724
+ export declare namespace GetDeploymentCustomEnvironmentDomains$ {
1725
+ /** @deprecated use `GetDeploymentCustomEnvironmentDomains$inboundSchema` instead. */
1726
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDomains, z.ZodTypeDef, unknown>;
1727
+ /** @deprecated use `GetDeploymentCustomEnvironmentDomains$outboundSchema` instead. */
1728
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDomains$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDomains>;
1729
+ /** @deprecated use `GetDeploymentCustomEnvironmentDomains$Outbound` instead. */
1730
+ type Outbound = GetDeploymentCustomEnvironmentDomains$Outbound;
1731
+ }
1732
+ export declare function getDeploymentCustomEnvironmentDomainsToJSON(getDeploymentCustomEnvironmentDomains: GetDeploymentCustomEnvironmentDomains): string;
1733
+ export declare function getDeploymentCustomEnvironmentDomainsFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentDomains, SDKValidationError>;
1734
+ /** @internal */
1395
1735
  export declare const GetDeploymentCustomEnvironment1$inboundSchema: z.ZodType<GetDeploymentCustomEnvironment1, z.ZodTypeDef, unknown>;
1396
1736
  /** @internal */
1397
- export type GetDeploymentCustomEnvironment1$Outbound = {};
1737
+ export type GetDeploymentCustomEnvironment1$Outbound = {
1738
+ id: string;
1739
+ slug: string;
1740
+ type: string;
1741
+ description?: string | undefined;
1742
+ branchMatcher?: GetDeploymentCustomEnvironmentBranchMatcher$Outbound | undefined;
1743
+ domains?: Array<GetDeploymentCustomEnvironmentDomains$Outbound> | undefined;
1744
+ currentDeploymentAliases?: Array<string> | undefined;
1745
+ createdAt: number;
1746
+ updatedAt: number;
1747
+ };
1398
1748
  /** @internal */
1399
1749
  export declare const GetDeploymentCustomEnvironment1$outboundSchema: z.ZodType<GetDeploymentCustomEnvironment1$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironment1>;
1400
1750
  /**
@@ -1414,7 +1764,7 @@ export declare function getDeploymentCustomEnvironment1FromJSON(jsonString: stri
1414
1764
  /** @internal */
1415
1765
  export declare const ResponseBodyCustomEnvironment$inboundSchema: z.ZodType<ResponseBodyCustomEnvironment, z.ZodTypeDef, unknown>;
1416
1766
  /** @internal */
1417
- export type ResponseBodyCustomEnvironment$Outbound = GetDeploymentCustomEnvironment1$Outbound | GetDeploymentCustomEnvironment2$Outbound;
1767
+ export type ResponseBodyCustomEnvironment$Outbound = GetDeploymentCustomEnvironment2$Outbound | GetDeploymentCustomEnvironment1$Outbound;
1418
1768
  /** @internal */
1419
1769
  export declare const ResponseBodyCustomEnvironment$outboundSchema: z.ZodType<ResponseBodyCustomEnvironment$Outbound, z.ZodTypeDef, ResponseBodyCustomEnvironment>;
1420
1770
  /**
@@ -1671,11 +2021,11 @@ export declare const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSON
1671
2021
  export declare namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$ {
1672
2022
  /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */
1673
2023
  const inboundSchema: z.ZodNativeEnum<{
1674
- readonly Github: "github";
2024
+ readonly GithubCustomHost: "github-custom-host";
1675
2025
  }>;
1676
2026
  /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */
1677
2027
  const outboundSchema: z.ZodNativeEnum<{
1678
- readonly Github: "github";
2028
+ readonly GithubCustomHost: "github-custom-host";
1679
2029
  }>;
1680
2030
  }
1681
2031
  /** @internal */
@@ -2337,7 +2687,7 @@ export type GetDeploymentResponseBody2$Outbound = {
2337
2687
  userAliases?: Array<string> | undefined;
2338
2688
  previewCommentsEnabled?: boolean | undefined;
2339
2689
  ttyBuildLogs?: boolean | undefined;
2340
- customEnvironment?: GetDeploymentCustomEnvironment1$Outbound | GetDeploymentCustomEnvironment2$Outbound | undefined;
2690
+ customEnvironment?: GetDeploymentCustomEnvironment2$Outbound | GetDeploymentCustomEnvironment1$Outbound | undefined;
2341
2691
  aliasWarning?: ResponseBodyAliasWarning$Outbound | null | undefined;
2342
2692
  id: string;
2343
2693
  name: string;
@@ -3015,9 +3365,143 @@ export declare namespace GetDeploymentCustomEnvironmentDeployments2$ {
3015
3365
  export declare function getDeploymentCustomEnvironmentDeployments2ToJSON(getDeploymentCustomEnvironmentDeployments2: GetDeploymentCustomEnvironmentDeployments2): string;
3016
3366
  export declare function getDeploymentCustomEnvironmentDeployments2FromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentDeployments2, SDKValidationError>;
3017
3367
  /** @internal */
3368
+ export declare const GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsType>;
3369
+ /** @internal */
3370
+ export declare const GetDeploymentCustomEnvironmentDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsType>;
3371
+ /**
3372
+ * @internal
3373
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3374
+ */
3375
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsType$ {
3376
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema` instead. */
3377
+ const inboundSchema: z.ZodNativeEnum<{
3378
+ readonly Production: "production";
3379
+ readonly Preview: "preview";
3380
+ readonly Development: "development";
3381
+ }>;
3382
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsType$outboundSchema` instead. */
3383
+ const outboundSchema: z.ZodNativeEnum<{
3384
+ readonly Production: "production";
3385
+ readonly Preview: "preview";
3386
+ readonly Development: "development";
3387
+ }>;
3388
+ }
3389
+ /** @internal */
3390
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type>;
3391
+ /** @internal */
3392
+ export declare const GetDeploymentCustomEnvironmentDeploymentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type>;
3393
+ /**
3394
+ * @internal
3395
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3396
+ */
3397
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsResponse200Type$ {
3398
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema` instead. */
3399
+ const inboundSchema: z.ZodNativeEnum<{
3400
+ readonly StartsWith: "startsWith";
3401
+ readonly Equals: "equals";
3402
+ readonly EndsWith: "endsWith";
3403
+ }>;
3404
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponse200Type$outboundSchema` instead. */
3405
+ const outboundSchema: z.ZodNativeEnum<{
3406
+ readonly StartsWith: "startsWith";
3407
+ readonly Equals: "equals";
3408
+ readonly EndsWith: "endsWith";
3409
+ }>;
3410
+ }
3411
+ /** @internal */
3412
+ export declare const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsBranchMatcher, z.ZodTypeDef, unknown>;
3413
+ /** @internal */
3414
+ export type GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound = {
3415
+ type: string;
3416
+ pattern: string;
3417
+ };
3418
+ /** @internal */
3419
+ export declare const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsBranchMatcher>;
3420
+ /**
3421
+ * @internal
3422
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3423
+ */
3424
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$ {
3425
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema` instead. */
3426
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsBranchMatcher, z.ZodTypeDef, unknown>;
3427
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$outboundSchema` instead. */
3428
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsBranchMatcher>;
3429
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound` instead. */
3430
+ type Outbound = GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound;
3431
+ }
3432
+ export declare function getDeploymentCustomEnvironmentDeploymentsBranchMatcherToJSON(getDeploymentCustomEnvironmentDeploymentsBranchMatcher: GetDeploymentCustomEnvironmentDeploymentsBranchMatcher): string;
3433
+ export declare function getDeploymentCustomEnvironmentDeploymentsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentDeploymentsBranchMatcher, SDKValidationError>;
3434
+ /** @internal */
3435
+ export declare const GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsVerification, z.ZodTypeDef, unknown>;
3436
+ /** @internal */
3437
+ export type GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound = {
3438
+ type: string;
3439
+ domain: string;
3440
+ value: string;
3441
+ reason: string;
3442
+ };
3443
+ /** @internal */
3444
+ export declare const GetDeploymentCustomEnvironmentDeploymentsVerification$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsVerification>;
3445
+ /**
3446
+ * @internal
3447
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3448
+ */
3449
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsVerification$ {
3450
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema` instead. */
3451
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsVerification, z.ZodTypeDef, unknown>;
3452
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$outboundSchema` instead. */
3453
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsVerification>;
3454
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound` instead. */
3455
+ type Outbound = GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound;
3456
+ }
3457
+ export declare function getDeploymentCustomEnvironmentDeploymentsVerificationToJSON(getDeploymentCustomEnvironmentDeploymentsVerification: GetDeploymentCustomEnvironmentDeploymentsVerification): string;
3458
+ export declare function getDeploymentCustomEnvironmentDeploymentsVerificationFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentDeploymentsVerification, SDKValidationError>;
3459
+ /** @internal */
3460
+ export declare const GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsDomains, z.ZodTypeDef, unknown>;
3461
+ /** @internal */
3462
+ export type GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound = {
3463
+ name: string;
3464
+ apexName: string;
3465
+ projectId: string;
3466
+ redirect?: string | null | undefined;
3467
+ redirectStatusCode?: number | null | undefined;
3468
+ gitBranch?: string | null | undefined;
3469
+ customEnvironmentId?: string | null | undefined;
3470
+ updatedAt?: number | undefined;
3471
+ createdAt?: number | undefined;
3472
+ verified: boolean;
3473
+ verification?: Array<GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound> | undefined;
3474
+ };
3475
+ /** @internal */
3476
+ export declare const GetDeploymentCustomEnvironmentDeploymentsDomains$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsDomains>;
3477
+ /**
3478
+ * @internal
3479
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3480
+ */
3481
+ export declare namespace GetDeploymentCustomEnvironmentDeploymentsDomains$ {
3482
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema` instead. */
3483
+ const inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsDomains, z.ZodTypeDef, unknown>;
3484
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$outboundSchema` instead. */
3485
+ const outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeploymentsDomains>;
3486
+ /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound` instead. */
3487
+ type Outbound = GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound;
3488
+ }
3489
+ export declare function getDeploymentCustomEnvironmentDeploymentsDomainsToJSON(getDeploymentCustomEnvironmentDeploymentsDomains: GetDeploymentCustomEnvironmentDeploymentsDomains): string;
3490
+ export declare function getDeploymentCustomEnvironmentDeploymentsDomainsFromJSON(jsonString: string): SafeParseResult<GetDeploymentCustomEnvironmentDeploymentsDomains, SDKValidationError>;
3491
+ /** @internal */
3018
3492
  export declare const GetDeploymentCustomEnvironmentDeployments1$inboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeployments1, z.ZodTypeDef, unknown>;
3019
3493
  /** @internal */
3020
- export type GetDeploymentCustomEnvironmentDeployments1$Outbound = {};
3494
+ export type GetDeploymentCustomEnvironmentDeployments1$Outbound = {
3495
+ id: string;
3496
+ slug: string;
3497
+ type: string;
3498
+ description?: string | undefined;
3499
+ branchMatcher?: GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound | undefined;
3500
+ domains?: Array<GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound> | undefined;
3501
+ currentDeploymentAliases?: Array<string> | undefined;
3502
+ createdAt: number;
3503
+ updatedAt: number;
3504
+ };
3021
3505
  /** @internal */
3022
3506
  export declare const GetDeploymentCustomEnvironmentDeployments1$outboundSchema: z.ZodType<GetDeploymentCustomEnvironmentDeployments1$Outbound, z.ZodTypeDef, GetDeploymentCustomEnvironmentDeployments1>;
3023
3507
  /**
@@ -3037,7 +3521,7 @@ export declare function getDeploymentCustomEnvironmentDeployments1FromJSON(jsonS
3037
3521
  /** @internal */
3038
3522
  export declare const GetDeploymentResponseBodyCustomEnvironment$inboundSchema: z.ZodType<GetDeploymentResponseBodyCustomEnvironment, z.ZodTypeDef, unknown>;
3039
3523
  /** @internal */
3040
- export type GetDeploymentResponseBodyCustomEnvironment$Outbound = GetDeploymentCustomEnvironmentDeployments1$Outbound | GetDeploymentCustomEnvironmentDeployments2$Outbound;
3524
+ export type GetDeploymentResponseBodyCustomEnvironment$Outbound = GetDeploymentCustomEnvironmentDeployments2$Outbound | GetDeploymentCustomEnvironmentDeployments1$Outbound;
3041
3525
  /** @internal */
3042
3526
  export declare const GetDeploymentResponseBodyCustomEnvironment$outboundSchema: z.ZodType<GetDeploymentResponseBodyCustomEnvironment$Outbound, z.ZodTypeDef, GetDeploymentResponseBodyCustomEnvironment>;
3043
3527
  /**
@@ -3294,11 +3778,11 @@ export declare const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSON
3294
3778
  export declare namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$ {
3295
3779
  /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */
3296
3780
  const inboundSchema: z.ZodNativeEnum<{
3297
- readonly Github: "github";
3781
+ readonly GithubCustomHost: "github-custom-host";
3298
3782
  }>;
3299
3783
  /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */
3300
3784
  const outboundSchema: z.ZodNativeEnum<{
3301
- readonly Github: "github";
3785
+ readonly GithubCustomHost: "github-custom-host";
3302
3786
  }>;
3303
3787
  }
3304
3788
  /** @internal */
@@ -4920,7 +5404,7 @@ export type GetDeploymentResponseBody1$Outbound = {
4920
5404
  userAliases?: Array<string> | undefined;
4921
5405
  previewCommentsEnabled?: boolean | undefined;
4922
5406
  ttyBuildLogs?: boolean | undefined;
4923
- customEnvironment?: GetDeploymentCustomEnvironmentDeployments1$Outbound | GetDeploymentCustomEnvironmentDeployments2$Outbound | undefined;
5407
+ customEnvironment?: GetDeploymentCustomEnvironmentDeployments2$Outbound | GetDeploymentCustomEnvironmentDeployments1$Outbound | undefined;
4924
5408
  aliasWarning?: GetDeploymentResponseBodyAliasWarning$Outbound | null | undefined;
4925
5409
  id: string;
4926
5410
  name: string;