@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.5

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 (230) hide show
  1. package/lib/credentials.d.ts +21 -0
  2. package/lib/credentials.d.ts.map +1 -0
  3. package/lib/credentials.js +40 -0
  4. package/lib/credentials.js.map +1 -0
  5. package/lib/errors.d.ts +80 -0
  6. package/lib/errors.d.ts.map +1 -0
  7. package/lib/errors.js +50 -0
  8. package/lib/errors.js.map +1 -0
  9. package/lib/index.d.ts +15 -0
  10. package/lib/index.d.ts.map +1 -0
  11. package/lib/index.js +15 -0
  12. package/lib/index.js.map +1 -0
  13. package/lib/protocol.d.ts +18 -0
  14. package/lib/protocol.d.ts.map +1 -0
  15. package/lib/protocol.js +69 -0
  16. package/lib/protocol.js.map +1 -0
  17. package/lib/retry.d.ts +54 -0
  18. package/lib/retry.d.ts.map +1 -0
  19. package/lib/retry.js +47 -0
  20. package/lib/retry.js.map +1 -0
  21. package/lib/services/access_groups.d.ts +459 -0
  22. package/lib/services/access_groups.d.ts.map +1 -0
  23. package/lib/services/access_groups.js +453 -0
  24. package/lib/services/access_groups.js.map +1 -0
  25. package/lib/services/ai_gateway.d.ts +124 -0
  26. package/lib/services/ai_gateway.d.ts.map +1 -0
  27. package/lib/services/ai_gateway.js +126 -0
  28. package/lib/services/ai_gateway.js.map +1 -0
  29. package/lib/services/aliases.d.ts +591 -0
  30. package/lib/services/aliases.d.ts.map +1 -0
  31. package/lib/services/aliases.js +508 -0
  32. package/lib/services/aliases.js.map +1 -0
  33. package/lib/services/artifacts.d.ts +228 -0
  34. package/lib/services/artifacts.d.ts.map +1 -0
  35. package/lib/services/artifacts.js +216 -0
  36. package/lib/services/artifacts.js.map +1 -0
  37. package/lib/services/authentication.d.ts +373 -0
  38. package/lib/services/authentication.d.ts.map +1 -0
  39. package/lib/services/authentication.js +310 -0
  40. package/lib/services/authentication.js.map +1 -0
  41. package/lib/services/billing.d.ts +792 -0
  42. package/lib/services/billing.d.ts.map +1 -0
  43. package/lib/services/billing.js +616 -0
  44. package/lib/services/billing.js.map +1 -0
  45. package/lib/services/bulk_redirects.d.ts +308 -0
  46. package/lib/services/bulk_redirects.d.ts.map +1 -0
  47. package/lib/services/bulk_redirects.js +306 -0
  48. package/lib/services/bulk_redirects.js.map +1 -0
  49. package/lib/services/certs.d.ts +171 -0
  50. package/lib/services/certs.d.ts.map +1 -0
  51. package/lib/services/certs.js +165 -0
  52. package/lib/services/certs.js.map +1 -0
  53. package/lib/services/checks_v2.d.ts +1162 -0
  54. package/lib/services/checks_v2.d.ts.map +1 -0
  55. package/lib/services/checks_v2.js +1252 -0
  56. package/lib/services/checks_v2.js.map +1 -0
  57. package/lib/services/connect.d.ts +1034 -0
  58. package/lib/services/connect.d.ts.map +1 -0
  59. package/lib/services/connect.js +993 -0
  60. package/lib/services/connect.js.map +1 -0
  61. package/lib/services/deployments.d.ts +9111 -0
  62. package/lib/services/deployments.d.ts.map +1 -0
  63. package/lib/services/deployments.js +8664 -0
  64. package/lib/services/deployments.js.map +1 -0
  65. package/lib/services/dns.d.ts +279 -0
  66. package/lib/services/dns.d.ts.map +1 -0
  67. package/lib/services/dns.js +282 -0
  68. package/lib/services/dns.js.map +1 -0
  69. package/lib/services/domains.d.ts +539 -0
  70. package/lib/services/domains.d.ts.map +1 -0
  71. package/lib/services/domains.js +464 -0
  72. package/lib/services/domains.js.map +1 -0
  73. package/lib/services/domains_registrar.d.ts +798 -0
  74. package/lib/services/domains_registrar.d.ts.map +1 -0
  75. package/lib/services/domains_registrar.js +968 -0
  76. package/lib/services/domains_registrar.js.map +1 -0
  77. package/lib/services/drains.d.ts +2263 -0
  78. package/lib/services/drains.d.ts.map +1 -0
  79. package/lib/services/drains.js +2406 -0
  80. package/lib/services/drains.js.map +1 -0
  81. package/lib/services/edge_cache.d.ts +125 -0
  82. package/lib/services/edge_cache.d.ts.map +1 -0
  83. package/lib/services/edge_cache.js +140 -0
  84. package/lib/services/edge_cache.js.map +1 -0
  85. package/lib/services/environment.d.ts +1020 -0
  86. package/lib/services/environment.d.ts.map +1 -0
  87. package/lib/services/environment.js +842 -0
  88. package/lib/services/environment.js.map +1 -0
  89. package/lib/services/feature_flags.d.ts +3109 -0
  90. package/lib/services/feature_flags.d.ts.map +1 -0
  91. package/lib/services/feature_flags.js +3074 -0
  92. package/lib/services/feature_flags.js.map +1 -0
  93. package/lib/services/global_config.d.ts +618 -0
  94. package/lib/services/global_config.d.ts.map +1 -0
  95. package/lib/services/global_config.js +716 -0
  96. package/lib/services/global_config.js.map +1 -0
  97. package/lib/services/index.d.ts +39 -0
  98. package/lib/services/index.d.ts.map +1 -0
  99. package/lib/services/index.js +40 -0
  100. package/lib/services/index.js.map +1 -0
  101. package/lib/services/integrations.d.ts +2987 -0
  102. package/lib/services/integrations.d.ts.map +1 -0
  103. package/lib/services/integrations.js +2903 -0
  104. package/lib/services/integrations.js.map +1 -0
  105. package/lib/services/log_drains.d.ts +848 -0
  106. package/lib/services/log_drains.d.ts.map +1 -0
  107. package/lib/services/log_drains.js +866 -0
  108. package/lib/services/log_drains.js.map +1 -0
  109. package/lib/services/logs.d.ts +40 -0
  110. package/lib/services/logs.d.ts.map +1 -0
  111. package/lib/services/logs.js +43 -0
  112. package/lib/services/logs.js.map +1 -0
  113. package/lib/services/marketplace.d.ts +991 -0
  114. package/lib/services/marketplace.d.ts.map +1 -0
  115. package/lib/services/marketplace.js +1044 -0
  116. package/lib/services/marketplace.js.map +1 -0
  117. package/lib/services/microfrontends.d.ts +3210 -0
  118. package/lib/services/microfrontends.d.ts.map +1 -0
  119. package/lib/services/microfrontends.js +3300 -0
  120. package/lib/services/microfrontends.js.map +1 -0
  121. package/lib/services/networking.d.ts +239 -0
  122. package/lib/services/networking.d.ts.map +1 -0
  123. package/lib/services/networking.js +224 -0
  124. package/lib/services/networking.js.map +1 -0
  125. package/lib/services/observability.d.ts +168 -0
  126. package/lib/services/observability.d.ts.map +1 -0
  127. package/lib/services/observability.js +191 -0
  128. package/lib/services/observability.js.map +1 -0
  129. package/lib/services/project_members.d.ts +142 -0
  130. package/lib/services/project_members.d.ts.map +1 -0
  131. package/lib/services/project_members.js +139 -0
  132. package/lib/services/project_members.js.map +1 -0
  133. package/lib/services/project_routes.d.ts +1990 -0
  134. package/lib/services/project_routes.d.ts.map +1 -0
  135. package/lib/services/project_routes.js +2026 -0
  136. package/lib/services/project_routes.js.map +1 -0
  137. package/lib/services/projects.d.ts +23449 -0
  138. package/lib/services/projects.d.ts.map +1 -0
  139. package/lib/services/projects.js +23570 -0
  140. package/lib/services/projects.js.map +1 -0
  141. package/lib/services/rolling_release.d.ts +764 -0
  142. package/lib/services/rolling_release.d.ts.map +1 -0
  143. package/lib/services/rolling_release.js +630 -0
  144. package/lib/services/rolling_release.js.map +1 -0
  145. package/lib/services/sandboxes.d.ts +2183 -0
  146. package/lib/services/sandboxes.d.ts.map +1 -0
  147. package/lib/services/sandboxes.js +1756 -0
  148. package/lib/services/sandboxes.js.map +1 -0
  149. package/lib/services/security.d.ts +3932 -0
  150. package/lib/services/security.d.ts.map +1 -0
  151. package/lib/services/security.js +4411 -0
  152. package/lib/services/security.js.map +1 -0
  153. package/lib/services/storage.d.ts +251 -0
  154. package/lib/services/storage.d.ts.map +1 -0
  155. package/lib/services/storage.js +270 -0
  156. package/lib/services/storage.js.map +1 -0
  157. package/lib/services/teams.d.ts +1577 -0
  158. package/lib/services/teams.d.ts.map +1 -0
  159. package/lib/services/teams.js +1359 -0
  160. package/lib/services/teams.js.map +1 -0
  161. package/lib/services/user.d.ts +7972 -0
  162. package/lib/services/user.d.ts.map +1 -0
  163. package/lib/services/user.js +7093 -0
  164. package/lib/services/user.js.map +1 -0
  165. package/lib/services/vcr.d.ts +793 -0
  166. package/lib/services/vcr.d.ts.map +1 -0
  167. package/lib/services/vcr.js +882 -0
  168. package/lib/services/vcr.js.map +1 -0
  169. package/lib/services/web_analytics.d.ts +694 -0
  170. package/lib/services/web_analytics.d.ts.map +1 -0
  171. package/lib/services/web_analytics.js +695 -0
  172. package/lib/services/web_analytics.js.map +1 -0
  173. package/lib/services/webhooks.d.ts +207 -0
  174. package/lib/services/webhooks.d.ts.map +1 -0
  175. package/lib/services/webhooks.js +171 -0
  176. package/lib/services/webhooks.js.map +1 -0
  177. package/lib/traits.d.ts +10 -0
  178. package/lib/traits.d.ts.map +1 -0
  179. package/lib/traits.js +11 -0
  180. package/lib/traits.js.map +1 -0
  181. package/package.json +77 -7
  182. package/src/credentials.ts +70 -0
  183. package/src/errors.ts +93 -0
  184. package/src/index.ts +18 -0
  185. package/src/protocol.ts +98 -0
  186. package/src/retry.ts +78 -0
  187. package/src/services/access_groups.ts +1165 -0
  188. package/src/services/ai_gateway.ts +272 -0
  189. package/src/services/aliases.ts +1323 -0
  190. package/src/services/artifacts.ts +542 -0
  191. package/src/services/authentication.ts +829 -0
  192. package/src/services/billing.ts +1776 -0
  193. package/src/services/bulk_redirects.ts +748 -0
  194. package/src/services/certs.ts +377 -0
  195. package/src/services/checks_v2.ts +3136 -0
  196. package/src/services/connect.ts +2607 -0
  197. package/src/services/deployments.ts +23682 -0
  198. package/src/services/dns.ts +718 -0
  199. package/src/services/domains.ts +1209 -0
  200. package/src/services/domains_registrar.ts +2290 -0
  201. package/src/services/drains.ts +5989 -0
  202. package/src/services/edge_cache.ts +303 -0
  203. package/src/services/environment.ts +2388 -0
  204. package/src/services/feature_flags.ts +8302 -0
  205. package/src/services/global_config.ts +1668 -0
  206. package/src/services/index.ts +39 -0
  207. package/src/services/integrations.ts +8846 -0
  208. package/src/services/log_drains.ts +2413 -0
  209. package/src/services/logs.ts +78 -0
  210. package/src/services/marketplace.ts +2626 -0
  211. package/src/services/microfrontends.ts +9650 -0
  212. package/src/services/networking.ts +530 -0
  213. package/src/services/observability.ts +436 -0
  214. package/src/services/project_members.ts +328 -0
  215. package/src/services/project_routes.ts +5259 -0
  216. package/src/services/projects.ts +67377 -0
  217. package/src/services/rolling_release.ts +1869 -0
  218. package/src/services/sandboxes.ts +5259 -0
  219. package/src/services/security.ts +12408 -0
  220. package/src/services/storage.ts +849 -0
  221. package/src/services/teams.ts +3995 -0
  222. package/src/services/user.ts +21687 -0
  223. package/src/services/vcr.ts +2165 -0
  224. package/src/services/web_analytics.ts +1570 -0
  225. package/src/services/webhooks.ts +1073 -0
  226. package/src/traits.ts +44 -0
  227. package/README.md +0 -15
  228. package/bun.lock +0 -26
  229. package/index.ts +0 -1
  230. package/tsconfig.json +0 -29
@@ -0,0 +1,793 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type VercelOpError, type VercelOpContext } from "../protocol.ts";
4
+ export type { VercelOpError, VercelOpContext };
5
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
6
+ readonly code: any;
7
+ readonly message: any;
8
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
+ "@distilled.cloud/error/categories": {
10
+ BadRequestError: true;
11
+ };
12
+ });
13
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
14
+ }
15
+ declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
16
+ readonly code: any;
17
+ readonly message: any;
18
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
19
+ "@distilled.cloud/error/categories": {
20
+ ConflictError: true;
21
+ };
22
+ });
23
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
24
+ }
25
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
26
+ readonly code: any;
27
+ readonly message: any;
28
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
29
+ "@distilled.cloud/error/categories": {
30
+ AuthError: true;
31
+ };
32
+ });
33
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
34
+ }
35
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
36
+ readonly code: any;
37
+ readonly message: any;
38
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
39
+ "@distilled.cloud/error/categories": {
40
+ BadRequestError: true;
41
+ };
42
+ });
43
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
44
+ }
45
+ declare const PaymentRequired_base: S.Class<PaymentRequired, S.TaggedStruct<"PaymentRequired", {
46
+ readonly code: any;
47
+ readonly message: any;
48
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
49
+ "@distilled.cloud/error/categories": {
50
+ QuotaError: true;
51
+ };
52
+ });
53
+ export declare class PaymentRequired extends /*@__PURE__*/ PaymentRequired_base {
54
+ }
55
+ export interface AddRepositoryPermissionRequest {
56
+ idOrName: string;
57
+ projectId: string;
58
+ /** The Team identifier to perform the request on behalf of. */
59
+ teamId?: string;
60
+ /** The Team slug to perform the request on behalf of. */
61
+ slug?: string;
62
+ /** Slug of a team that is granted access to a repository. */
63
+ teamSlug?: string;
64
+ }
65
+ export declare const AddRepositoryPermissionRequest: S.Schema<AddRepositoryPermissionRequest>;
66
+ /** A team's access grant to a Vercel Container Registry repository. */
67
+ export interface VcrRepositoryPermission {
68
+ /** Identifier of the repository the permission grants access to. */
69
+ repositoryId: string;
70
+ /** Identifier of the team that is granted access to the repository. */
71
+ teamId: string;
72
+ /** Slug of the team that is granted access to the repository. */
73
+ teamSlug: string;
74
+ /** ISO 8601 timestamp of when the permission was created. */
75
+ createdAt: string;
76
+ }
77
+ export declare const VcrRepositoryPermission: S.Schema<VcrRepositoryPermission>;
78
+ export interface AddRepositoryPermissionResponse {
79
+ permission: VcrRepositoryPermission;
80
+ }
81
+ export declare const AddRepositoryPermissionResponse: S.Schema<AddRepositoryPermissionResponse>;
82
+ export interface ClearRepositoryPermissionsRequest {
83
+ idOrName: string;
84
+ projectId: string;
85
+ /** The Team identifier to perform the request on behalf of. */
86
+ teamId?: string;
87
+ /** The Team slug to perform the request on behalf of. */
88
+ slug?: string;
89
+ }
90
+ export declare const ClearRepositoryPermissionsRequest: S.Schema<ClearRepositoryPermissionsRequest>;
91
+ export type ClearRepositoryPermissionsResponse = unknown;
92
+ export declare const ClearRepositoryPermissionsResponse: S.Schema<ClearRepositoryPermissionsResponse>;
93
+ export interface CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest {
94
+ /** Single Docker repository team slug component. */
95
+ teamSlug: string;
96
+ /** Single Docker repository project slug component. */
97
+ projectSlug: string;
98
+ /** Single Docker repository name component. */
99
+ repositoryName: string;
100
+ /** Digest of the blob to mount from another repository. */
101
+ mount?: string;
102
+ /** Source repository to mount the blob from. */
103
+ from?: string;
104
+ }
105
+ export declare const CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest: S.Schema<CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest>;
106
+ export type CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse = unknown;
107
+ export declare const CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse: S.Schema<CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse>;
108
+ export interface CreateRepositoryRequest {
109
+ /** The Team identifier to perform the request on behalf of. */
110
+ teamId?: string;
111
+ /** The Team slug to perform the request on behalf of. */
112
+ slug?: string;
113
+ projectId: string;
114
+ /** Single Docker repository name component. */
115
+ name: string;
116
+ }
117
+ export declare const CreateRepositoryRequest: S.Schema<CreateRepositoryRequest>;
118
+ /** A Vercel Container Registry repository. */
119
+ export interface VcrRepository {
120
+ /** Unique identifier of the repository. */
121
+ id: string;
122
+ /** Identifier of the project the repository belongs to. */
123
+ projectId: string;
124
+ /** Name of the repository. */
125
+ name: string;
126
+ /** Whether the repository is public. Images in public repositories can be pulled by anyone. Defaults to `false` (private). */
127
+ public: boolean;
128
+ /** ISO 8601 timestamp of when the repository was created. */
129
+ createdAt: string;
130
+ /** ISO 8601 timestamp of when the repository was last updated. */
131
+ updatedAt: string;
132
+ }
133
+ export declare const VcrRepository: S.Schema<VcrRepository>;
134
+ export interface CreateRepositoryResponse {
135
+ repository: VcrRepository;
136
+ }
137
+ export declare const CreateRepositoryResponse: S.Schema<CreateRepositoryResponse>;
138
+ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest {
139
+ /** Single Docker repository team slug component. */
140
+ teamSlug: string;
141
+ /** Single Docker repository project slug component. */
142
+ projectSlug: string;
143
+ /** Single Docker repository name component. */
144
+ repositoryName: string;
145
+ /** Content-addressable digest (algorithm:hex). */
146
+ digest: string;
147
+ }
148
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
149
+ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse {
150
+ }
151
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse>;
152
+ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest {
153
+ /** Single Docker repository team slug component. */
154
+ teamSlug: string;
155
+ /** Single Docker repository project slug component. */
156
+ projectSlug: string;
157
+ /** Single Docker repository name component. */
158
+ repositoryName: string;
159
+ /** Blob upload session identifier. */
160
+ uuid: string;
161
+ }
162
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
163
+ export type DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse = unknown;
164
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
165
+ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest {
166
+ /** Single Docker repository team slug component. */
167
+ teamSlug: string;
168
+ /** Single Docker repository project slug component. */
169
+ projectSlug: string;
170
+ /** Single Docker repository name component. */
171
+ repositoryName: string;
172
+ /** Content-addressable digest (algorithm:hex). */
173
+ reference: string;
174
+ }
175
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
176
+ export type DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse = unknown;
177
+ export declare const DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse: S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
178
+ export interface DeleteRepositoryRequest {
179
+ idOrName: string;
180
+ projectId: string;
181
+ /** The Team identifier to perform the request on behalf of. */
182
+ teamId?: string;
183
+ /** The Team slug to perform the request on behalf of. */
184
+ slug?: string;
185
+ }
186
+ export declare const DeleteRepositoryRequest: S.Schema<DeleteRepositoryRequest>;
187
+ export type DeleteRepositoryResponse = unknown;
188
+ export declare const DeleteRepositoryResponse: S.Schema<DeleteRepositoryResponse>;
189
+ export interface DeleteRepositoryImageRequest {
190
+ idOrName: string;
191
+ imageId: string;
192
+ projectId: string;
193
+ /** The Team identifier to perform the request on behalf of. */
194
+ teamId?: string;
195
+ /** The Team slug to perform the request on behalf of. */
196
+ slug?: string;
197
+ }
198
+ export declare const DeleteRepositoryImageRequest: S.Schema<DeleteRepositoryImageRequest>;
199
+ export type DeleteRepositoryImageResponse = unknown;
200
+ export declare const DeleteRepositoryImageResponse: S.Schema<DeleteRepositoryImageResponse>;
201
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest {
202
+ /** Single Docker repository team slug component. */
203
+ teamSlug: string;
204
+ /** Single Docker repository project slug component. */
205
+ projectSlug: string;
206
+ /** Single Docker repository name component. */
207
+ repositoryName: string;
208
+ /** Content-addressable digest (algorithm:hex). */
209
+ digest: string;
210
+ }
211
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
212
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse {
213
+ }
214
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse>;
215
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest {
216
+ /** Single Docker repository team slug component. */
217
+ teamSlug: string;
218
+ /** Single Docker repository project slug component. */
219
+ projectSlug: string;
220
+ /** Single Docker repository name component. */
221
+ repositoryName: string;
222
+ /** Blob upload session identifier. */
223
+ uuid: string;
224
+ }
225
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
226
+ export type GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse = unknown;
227
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
228
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest {
229
+ /** Single Docker repository team slug component. */
230
+ teamSlug: string;
231
+ /** Single Docker repository project slug component. */
232
+ projectSlug: string;
233
+ /** Single Docker repository name component. */
234
+ repositoryName: string;
235
+ /** Manifest reference: a tag or digest. */
236
+ reference: string;
237
+ }
238
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
239
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse {
240
+ }
241
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
242
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest {
243
+ /** Single Docker repository team slug component. */
244
+ teamSlug: string;
245
+ /** Single Docker repository project slug component. */
246
+ projectSlug: string;
247
+ /** Single Docker repository name component. */
248
+ repositoryName: string;
249
+ n?: number;
250
+ /** Opaque pagination cursor returned by a previous list response. */
251
+ last?: string;
252
+ }
253
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest>;
254
+ export type GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList = Array<string>;
255
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList>;
256
+ export interface GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse {
257
+ name: string;
258
+ tags: GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList;
259
+ }
260
+ export declare const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse: S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse>;
261
+ export interface GetRepositoryRequest {
262
+ idOrName: string;
263
+ projectId: string;
264
+ /** The Team identifier to perform the request on behalf of. */
265
+ teamId?: string;
266
+ /** The Team slug to perform the request on behalf of. */
267
+ slug?: string;
268
+ }
269
+ export declare const GetRepositoryRequest: S.Schema<GetRepositoryRequest>;
270
+ export interface GetRepositoryResponse {
271
+ repository: VcrRepository;
272
+ }
273
+ export declare const GetRepositoryResponse: S.Schema<GetRepositoryResponse>;
274
+ export interface GetRepositoryImageRequest {
275
+ idOrName: string;
276
+ /** The internal image id (`image_...`) or the image manifest digest (`sha256:...`). */
277
+ imageIdOrDigest: string;
278
+ projectId: string;
279
+ /** The Team identifier to perform the request on behalf of. */
280
+ teamId?: string;
281
+ /** The Team slug to perform the request on behalf of. */
282
+ slug?: string;
283
+ }
284
+ export declare const GetRepositoryImageRequest: S.Schema<GetRepositoryImageRequest>;
285
+ /** Docker/OCI build instruction associated with an image layer. */
286
+ export type VcrImageLayerCase0Operation = "ADD" | "ARG" | "CMD" | "COPY" | "ENTRYPOINT" | "ENV" | "EXPOSE" | "FROM" | "HEALTHCHECK" | "LABEL" | "ONBUILD" | "RUN" | "SHELL" | "STOPSIGNAL" | "UNKNOWN" | "USER" | "VOLUME" | "WORKDIR";
287
+ export declare const VcrImageLayerCase0Operation: any;
288
+ export type VcrImageLayerCase0Type = "FROM";
289
+ export declare const VcrImageLayerCase0Type: any;
290
+ export type VcrImageLayerCase0CollapsedDigestsList = Array<string>;
291
+ export declare const VcrImageLayerCase0CollapsedDigestsList: S.Schema<VcrImageLayerCase0CollapsedDigestsList>;
292
+ export interface VcrImageLayerCase0 {
293
+ createdBy: string | null;
294
+ digest: string | null;
295
+ /** Docker/OCI build instruction associated with an image layer. */
296
+ operation: VcrImageLayerCase0Operation;
297
+ sizeBytes: number | null;
298
+ type: VcrImageLayerCase0Type;
299
+ baseImage: string | null;
300
+ collapsedDigests: VcrImageLayerCase0CollapsedDigestsList;
301
+ collapsedLayerCount: number;
302
+ }
303
+ export declare const VcrImageLayerCase0: S.Schema<VcrImageLayerCase0>;
304
+ /** Docker/OCI build instruction associated with an image layer. */
305
+ export type VcrImageLayerCase1Operation = "ADD" | "ARG" | "CMD" | "COPY" | "ENTRYPOINT" | "ENV" | "EXPOSE" | "FROM" | "HEALTHCHECK" | "LABEL" | "ONBUILD" | "RUN" | "SHELL" | "STOPSIGNAL" | "UNKNOWN" | "USER" | "VOLUME" | "WORKDIR";
306
+ export declare const VcrImageLayerCase1Operation: any;
307
+ export type VcrImageLayerCase1Type = "RUN";
308
+ export declare const VcrImageLayerCase1Type: any;
309
+ export interface VcrImageLayerCase1 {
310
+ createdBy: string | null;
311
+ digest: string | null;
312
+ /** Docker/OCI build instruction associated with an image layer. */
313
+ operation: VcrImageLayerCase1Operation;
314
+ sizeBytes: number | null;
315
+ type: VcrImageLayerCase1Type;
316
+ command: string | null;
317
+ }
318
+ export declare const VcrImageLayerCase1: S.Schema<VcrImageLayerCase1>;
319
+ /** Docker/OCI build instruction associated with an image layer. */
320
+ export type VcrImageLayerCase2Operation = "ADD" | "ARG" | "CMD" | "COPY" | "ENTRYPOINT" | "ENV" | "EXPOSE" | "FROM" | "HEALTHCHECK" | "LABEL" | "ONBUILD" | "RUN" | "SHELL" | "STOPSIGNAL" | "UNKNOWN" | "USER" | "VOLUME" | "WORKDIR";
321
+ export declare const VcrImageLayerCase2Operation: any;
322
+ export type VcrImageLayerCase2Type = "ENV";
323
+ export declare const VcrImageLayerCase2Type: any;
324
+ export interface VcrImageLayerCase2 {
325
+ createdBy: string | null;
326
+ digest: string | null;
327
+ /** Docker/OCI build instruction associated with an image layer. */
328
+ operation: VcrImageLayerCase2Operation;
329
+ sizeBytes: number | null;
330
+ type: VcrImageLayerCase2Type;
331
+ env: string | null;
332
+ }
333
+ export declare const VcrImageLayerCase2: S.Schema<VcrImageLayerCase2>;
334
+ /** Docker/OCI build instruction associated with an image layer. */
335
+ export type VcrImageLayerCase3Operation = "ADD" | "ARG" | "CMD" | "COPY" | "ENTRYPOINT" | "ENV" | "EXPOSE" | "FROM" | "HEALTHCHECK" | "LABEL" | "ONBUILD" | "RUN" | "SHELL" | "STOPSIGNAL" | "UNKNOWN" | "USER" | "VOLUME" | "WORKDIR";
336
+ export declare const VcrImageLayerCase3Operation: any;
337
+ export type VcrImageLayerCase3Type = "ADD" | "ARG" | "CMD" | "COPY" | "ENTRYPOINT" | "EXPOSE" | "HEALTHCHECK" | "LABEL" | "ONBUILD" | "SHELL" | "STOPSIGNAL" | "UNKNOWN" | "USER" | "VOLUME" | "WORKDIR";
338
+ export declare const VcrImageLayerCase3Type: any;
339
+ export interface VcrImageLayerCase3 {
340
+ createdBy: string | null;
341
+ digest: string | null;
342
+ /** Docker/OCI build instruction associated with an image layer. */
343
+ operation: VcrImageLayerCase3Operation;
344
+ sizeBytes: number | null;
345
+ type: VcrImageLayerCase3Type;
346
+ value: string | null;
347
+ }
348
+ export declare const VcrImageLayerCase3: S.Schema<VcrImageLayerCase3>;
349
+ export type VcrImageLayer = VcrImageLayerCase0 | VcrImageLayerCase1 | VcrImageLayerCase2 | VcrImageLayerCase3;
350
+ export declare const VcrImageLayer: S.Schema<VcrImageLayer>;
351
+ export type VcrImageDetailLayersList = Array<VcrImageLayer>;
352
+ export declare const VcrImageDetailLayersList: S.Schema<VcrImageDetailLayersList>;
353
+ /** VHS-readiness status, or `null` for a multi-platform index. */
354
+ export type VcrImageDetailStatus = "preparing" | "ready" | "unoptimized";
355
+ export declare const VcrImageDetailStatus: any;
356
+ /** Tags pointing at this image's manifest. */
357
+ export type VcrImageDetailTagsList = Array<string>;
358
+ export declare const VcrImageDetailTagsList: S.Schema<VcrImageDetailTagsList>;
359
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
360
+ export type VcrImageDetailKind = "attestation" | "index" | "manifest";
361
+ export declare const VcrImageDetailKind: any;
362
+ export type VcrImageDetailVhsConfigCommandList = Array<string>;
363
+ export declare const VcrImageDetailVhsConfigCommandList: S.Schema<VcrImageDetailVhsConfigCommandList>;
364
+ export type VcrImageDetailVhsConfigEntrypointList = Array<string>;
365
+ export declare const VcrImageDetailVhsConfigEntrypointList: S.Schema<VcrImageDetailVhsConfigEntrypointList>;
366
+ /** Optional VHS drive configuration captured for an optimized image. */
367
+ export interface VcrImageDetailVhsConfig {
368
+ command?: VcrImageDetailVhsConfigCommandList;
369
+ entrypoint?: VcrImageDetailVhsConfigEntrypointList;
370
+ workingDir?: string;
371
+ }
372
+ export declare const VcrImageDetailVhsConfig: S.Schema<VcrImageDetailVhsConfig>;
373
+ /** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
374
+ export interface VcrImageDetailVhs {
375
+ path: string;
376
+ digest: string;
377
+ /** Optional VHS drive configuration captured for an optimized image. */
378
+ config?: VcrImageDetailVhsConfig;
379
+ }
380
+ export declare const VcrImageDetailVhs: S.Schema<VcrImageDetailVhs>;
381
+ /** A single image with its tags, status and resolved Dockerfile layer history. */
382
+ export interface VcrImageDetail {
383
+ layers: VcrImageDetailLayersList;
384
+ /** VHS-readiness status, or `null` for a multi-platform index. */
385
+ status: VcrImageDetailStatus | null;
386
+ /** Tags pointing at this image's manifest. */
387
+ tags: VcrImageDetailTagsList;
388
+ /** Internal identifier of the image. */
389
+ id: string;
390
+ /** Identifier of the repository the image belongs to. */
391
+ repositoryId: string;
392
+ /** SHA-256 digest of the image manifest. */
393
+ manifestDigest: string;
394
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
395
+ kind: VcrImageDetailKind;
396
+ /** Operating system the manifest targets. Only present for single-platform manifests. */
397
+ platform?: string;
398
+ /** CPU architecture the manifest targets. Only present for single-platform manifests. */
399
+ arch?: string;
400
+ /** Identifier of the actor that pushed the image. */
401
+ pushedBy?: string;
402
+ /** Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry. */
403
+ sizeInBytes: number;
404
+ /** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
405
+ vhs?: VcrImageDetailVhs;
406
+ /** ISO 8601 timestamp of when the image was created. */
407
+ createdAt: string;
408
+ }
409
+ export declare const VcrImageDetail: S.Schema<VcrImageDetail>;
410
+ export interface GetRepositoryImageResponse {
411
+ image: VcrImageDetail;
412
+ }
413
+ export declare const GetRepositoryImageResponse: S.Schema<GetRepositoryImageResponse>;
414
+ export interface GetRepositoryTagRequest {
415
+ idOrName: string;
416
+ tag: string;
417
+ projectId: string;
418
+ /** The Team identifier to perform the request on behalf of. */
419
+ teamId?: string;
420
+ /** The Team slug to perform the request on behalf of. */
421
+ slug?: string;
422
+ }
423
+ export declare const GetRepositoryTagRequest: S.Schema<GetRepositoryTagRequest>;
424
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
425
+ export type VcrTagKind = "attestation" | "index" | "manifest";
426
+ export declare const VcrTagKind: any;
427
+ /** VHS-readiness status, or `null` for a multi-platform index. */
428
+ export type VcrTagStatus = "preparing" | "ready" | "unoptimized";
429
+ export declare const VcrTagStatus: any;
430
+ /** A tag pointing at an image in a Vercel Container Registry repository, enriched with the backing image's metadata and VHS-readiness status. */
431
+ export interface VcrTag {
432
+ /** The tag name. */
433
+ tag: string;
434
+ /** SHA-256 digest of the image manifest the tag points at. */
435
+ manifestDigest: string;
436
+ /** Internal identifier of the image the tag points at. */
437
+ imageId: string;
438
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
439
+ kind: VcrTagKind;
440
+ /** Operating system the manifest targets. Only present for single-platform manifests. */
441
+ platform?: string;
442
+ /** CPU architecture the manifest targets. Only present for single-platform manifests. */
443
+ arch?: string;
444
+ /** Identifier of the actor that pushed the image. */
445
+ pushedBy?: string;
446
+ /** VHS-readiness status, or `null` for a multi-platform index. */
447
+ status: VcrTagStatus | null;
448
+ /** Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry. */
449
+ sizeInBytes: number;
450
+ /** ISO 8601 timestamp of when the tag was created. */
451
+ createdAt: string;
452
+ /** ISO 8601 timestamp of when the tag was last updated. */
453
+ updatedAt: string;
454
+ }
455
+ export declare const VcrTag: S.Schema<VcrTag>;
456
+ export interface GetRepositoryTagResponse {
457
+ tag: VcrTag;
458
+ }
459
+ export declare const GetRepositoryTagResponse: S.Schema<GetRepositoryTagResponse>;
460
+ export interface GetRootRequest {
461
+ }
462
+ export declare const GetRootRequest: S.Schema<GetRootRequest>;
463
+ export type GetRootResponse = unknown;
464
+ export declare const GetRootResponse: S.Schema<GetRootResponse>;
465
+ export interface HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest {
466
+ /** Single Docker repository team slug component. */
467
+ teamSlug: string;
468
+ /** Single Docker repository project slug component. */
469
+ projectSlug: string;
470
+ /** Single Docker repository name component. */
471
+ repositoryName: string;
472
+ /** Content-addressable digest (algorithm:hex). */
473
+ digest: string;
474
+ }
475
+ export declare const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
476
+ export interface HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse {
477
+ }
478
+ export declare const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse: S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse>;
479
+ export interface HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest {
480
+ /** Single Docker repository team slug component. */
481
+ teamSlug: string;
482
+ /** Single Docker repository project slug component. */
483
+ projectSlug: string;
484
+ /** Single Docker repository name component. */
485
+ repositoryName: string;
486
+ /** Manifest reference: a tag or digest. */
487
+ reference: string;
488
+ }
489
+ export declare const HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
490
+ export interface HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse {
491
+ }
492
+ export declare const HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse: S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
493
+ export interface ListRepositoriesRequest {
494
+ projectId: string;
495
+ limit?: number;
496
+ /** Opaque pagination cursor returned by a previous list response. */
497
+ cursor?: string;
498
+ /** The Team identifier to perform the request on behalf of. */
499
+ teamId?: string;
500
+ /** The Team slug to perform the request on behalf of. */
501
+ slug?: string;
502
+ }
503
+ export declare const ListRepositoriesRequest: S.Schema<ListRepositoriesRequest>;
504
+ export type VcrRepositoryListRepositoriesList = Array<VcrRepository>;
505
+ export declare const VcrRepositoryListRepositoriesList: S.Schema<VcrRepositoryListRepositoriesList>;
506
+ /** A paginated list of Vercel Container Registry repositories. */
507
+ export interface VcrRepositoryList {
508
+ repositories: VcrRepositoryListRepositoriesList;
509
+ /** Cursor to fetch the next page of results, when more are available. */
510
+ nextCursor?: string;
511
+ }
512
+ export declare const VcrRepositoryList: S.Schema<VcrRepositoryList>;
513
+ export interface ListRepositoryImagesRequest {
514
+ idOrName: string;
515
+ projectId: string;
516
+ limit?: number;
517
+ /** Opaque pagination cursor returned by a previous list response. */
518
+ cursor?: string;
519
+ untagged?: boolean;
520
+ /** The Team identifier to perform the request on behalf of. */
521
+ teamId?: string;
522
+ /** The Team slug to perform the request on behalf of. */
523
+ slug?: string;
524
+ }
525
+ export declare const ListRepositoryImagesRequest: S.Schema<ListRepositoryImagesRequest>;
526
+ /** VHS-readiness status, or `null` for a multi-platform index. */
527
+ export type VcrImageListItemStatus = "preparing" | "ready" | "unoptimized";
528
+ export declare const VcrImageListItemStatus: any;
529
+ /** Tags pointing at this image's manifest. */
530
+ export type VcrImageListItemTagsList = Array<string>;
531
+ export declare const VcrImageListItemTagsList: S.Schema<VcrImageListItemTagsList>;
532
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
533
+ export type VcrImageListItemKind = "attestation" | "index" | "manifest";
534
+ export declare const VcrImageListItemKind: any;
535
+ export type VcrImageListItemVhsConfigCommandList = Array<string>;
536
+ export declare const VcrImageListItemVhsConfigCommandList: S.Schema<VcrImageListItemVhsConfigCommandList>;
537
+ export type VcrImageListItemVhsConfigEntrypointList = Array<string>;
538
+ export declare const VcrImageListItemVhsConfigEntrypointList: S.Schema<VcrImageListItemVhsConfigEntrypointList>;
539
+ /** Optional VHS drive configuration captured for an optimized image. */
540
+ export interface VcrImageListItemVhsConfig {
541
+ command?: VcrImageListItemVhsConfigCommandList;
542
+ entrypoint?: VcrImageListItemVhsConfigEntrypointList;
543
+ workingDir?: string;
544
+ }
545
+ export declare const VcrImageListItemVhsConfig: S.Schema<VcrImageListItemVhsConfig>;
546
+ /** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
547
+ export interface VcrImageListItemVhs {
548
+ path: string;
549
+ digest: string;
550
+ /** Optional VHS drive configuration captured for an optimized image. */
551
+ config?: VcrImageListItemVhsConfig;
552
+ }
553
+ export declare const VcrImageListItemVhs: S.Schema<VcrImageListItemVhs>;
554
+ /** An image enriched with its tags and VHS-readiness status, as returned when listing a repository's images. */
555
+ export interface VcrImageListItem {
556
+ /** VHS-readiness status, or `null` for a multi-platform index. */
557
+ status: VcrImageListItemStatus | null;
558
+ /** Tags pointing at this image's manifest. */
559
+ tags: VcrImageListItemTagsList;
560
+ /** Internal identifier of the image. */
561
+ id: string;
562
+ /** Identifier of the repository the image belongs to. */
563
+ repositoryId: string;
564
+ /** SHA-256 digest of the image manifest. */
565
+ manifestDigest: string;
566
+ /** Whether the manifest is a multi-platform image index, a single-platform image manifest or an attestation. */
567
+ kind: VcrImageListItemKind;
568
+ /** Operating system the manifest targets. Only present for single-platform manifests. */
569
+ platform?: string;
570
+ /** CPU architecture the manifest targets. Only present for single-platform manifests. */
571
+ arch?: string;
572
+ /** Identifier of the actor that pushed the image. */
573
+ pushedBy?: string;
574
+ /** Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry. */
575
+ sizeInBytes: number;
576
+ /** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
577
+ vhs?: VcrImageListItemVhs;
578
+ /** ISO 8601 timestamp of when the image was created. */
579
+ createdAt: string;
580
+ }
581
+ export declare const VcrImageListItem: S.Schema<VcrImageListItem>;
582
+ export type VcrImageListImagesList = Array<VcrImageListItem>;
583
+ export declare const VcrImageListImagesList: S.Schema<VcrImageListImagesList>;
584
+ /** A paginated list of images for a repository. */
585
+ export interface VcrImageList {
586
+ images: VcrImageListImagesList;
587
+ /** Cursor to fetch the next page of results, when more are available. */
588
+ nextCursor?: string;
589
+ }
590
+ export declare const VcrImageList: S.Schema<VcrImageList>;
591
+ export interface ListRepositoryPermissionsRequest {
592
+ idOrName: string;
593
+ projectId: string;
594
+ limit?: number;
595
+ /** Opaque pagination cursor returned by a previous list response. */
596
+ cursor?: string;
597
+ /** The Team identifier to perform the request on behalf of. */
598
+ teamId?: string;
599
+ /** The Team slug to perform the request on behalf of. */
600
+ slug?: string;
601
+ }
602
+ export declare const ListRepositoryPermissionsRequest: S.Schema<ListRepositoryPermissionsRequest>;
603
+ export type VcrRepositoryPermissionListPermissionsList = Array<VcrRepositoryPermission>;
604
+ export declare const VcrRepositoryPermissionListPermissionsList: S.Schema<VcrRepositoryPermissionListPermissionsList>;
605
+ /** A paginated list of Vercel Container Registry repository permissions. */
606
+ export interface VcrRepositoryPermissionList {
607
+ permissions: VcrRepositoryPermissionListPermissionsList;
608
+ /** Cursor to fetch the next page of results, when more are available. */
609
+ nextCursor?: string;
610
+ }
611
+ export declare const VcrRepositoryPermissionList: S.Schema<VcrRepositoryPermissionList>;
612
+ /** Field to sort the non-pinned tags by. */
613
+ export type ListRepositoryTagsRequestSortBy = "updatedAt" | "tag";
614
+ export declare const ListRepositoryTagsRequestSortBy: any;
615
+ /** Sort direction. Defaults to desc. */
616
+ export type ListRepositoryTagsRequestSortOrder = "asc" | "desc";
617
+ export declare const ListRepositoryTagsRequestSortOrder: any;
618
+ export interface ListRepositoryTagsRequest {
619
+ idOrName: string;
620
+ projectId: string;
621
+ limit?: number;
622
+ cursor?: string;
623
+ /** Field to sort the non-pinned tags by. */
624
+ sortBy?: ListRepositoryTagsRequestSortBy | (string & {});
625
+ /** Sort direction. Defaults to desc. */
626
+ sortOrder?: ListRepositoryTagsRequestSortOrder | (string & {});
627
+ /** The Team identifier to perform the request on behalf of. */
628
+ teamId?: string;
629
+ /** The Team slug to perform the request on behalf of. */
630
+ slug?: string;
631
+ }
632
+ export declare const ListRepositoryTagsRequest: S.Schema<ListRepositoryTagsRequest>;
633
+ export type ListRepositoryTagsResponseTagsItemKind = "attestation" | "index" | "manifest";
634
+ export declare const ListRepositoryTagsResponseTagsItemKind: any;
635
+ export type ListRepositoryTagsResponseTagsItemStatus = "preparing" | "ready" | "unoptimized";
636
+ export declare const ListRepositoryTagsResponseTagsItemStatus: any;
637
+ export interface ListRepositoryTagsResponseTagsItem {
638
+ tag: string;
639
+ manifestDigest: string;
640
+ imageId: string;
641
+ kind: ListRepositoryTagsResponseTagsItemKind;
642
+ platform?: string;
643
+ arch?: string;
644
+ pushedBy?: string;
645
+ status: ListRepositoryTagsResponseTagsItemStatus | null;
646
+ sizeInBytes: number;
647
+ createdAt: string;
648
+ updatedAt: string;
649
+ }
650
+ export declare const ListRepositoryTagsResponseTagsItem: S.Schema<ListRepositoryTagsResponseTagsItem>;
651
+ export type ListRepositoryTagsResponseTagsList = Array<ListRepositoryTagsResponseTagsItem>;
652
+ export declare const ListRepositoryTagsResponseTagsList: S.Schema<ListRepositoryTagsResponseTagsList>;
653
+ export interface ListRepositoryTagsResponse {
654
+ tags: ListRepositoryTagsResponseTagsList;
655
+ nextCursor?: string;
656
+ }
657
+ export declare const ListRepositoryTagsResponse: S.Schema<ListRepositoryTagsResponse>;
658
+ export interface RemoveRepositoryPermissionRequest {
659
+ idOrName: string;
660
+ projectId: string;
661
+ /** The Team identifier to perform the request on behalf of. */
662
+ teamId?: string;
663
+ /** The Team slug to perform the request on behalf of. */
664
+ slug?: string;
665
+ /** Slug of a team that is granted access to a repository. */
666
+ teamSlug?: string;
667
+ }
668
+ export declare const RemoveRepositoryPermissionRequest: S.Schema<RemoveRepositoryPermissionRequest>;
669
+ export type RemoveRepositoryPermissionResponse = unknown;
670
+ export declare const RemoveRepositoryPermissionResponse: S.Schema<RemoveRepositoryPermissionResponse>;
671
+ export interface ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest {
672
+ /** Single Docker repository team slug component. */
673
+ teamSlug: string;
674
+ /** Single Docker repository project slug component. */
675
+ projectSlug: string;
676
+ /** Single Docker repository name component. */
677
+ repositoryName: string;
678
+ /** Blob upload session identifier. */
679
+ uuid: string;
680
+ /** Content-addressable digest (algorithm:hex). */
681
+ digest: string;
682
+ }
683
+ export declare const ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: S.Schema<ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
684
+ export type ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse = unknown;
685
+ export declare const ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse: S.Schema<ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
686
+ export interface ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest {
687
+ /** Single Docker repository team slug component. */
688
+ teamSlug: string;
689
+ /** Single Docker repository project slug component. */
690
+ projectSlug: string;
691
+ /** Single Docker repository name component. */
692
+ repositoryName: string;
693
+ /** Manifest reference: a tag or digest. */
694
+ reference: string;
695
+ }
696
+ export declare const ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest: S.Schema<ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
697
+ export type ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse = unknown;
698
+ export declare const ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse: S.Schema<ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
699
+ export interface UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest {
700
+ /** Single Docker repository team slug component. */
701
+ teamSlug: string;
702
+ /** Single Docker repository project slug component. */
703
+ projectSlug: string;
704
+ /** Single Docker repository name component. */
705
+ repositoryName: string;
706
+ /** Blob upload session identifier. */
707
+ uuid: string;
708
+ }
709
+ export declare const UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest: S.Schema<UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
710
+ export type UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse = unknown;
711
+ export declare const UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse: S.Schema<UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
712
+ export type AddRepositoryPermissionError = BadRequest | Forbidden | NotFound | VercelOpError;
713
+ /** Add a repository permission Grant a team access to a VCR repository. Sharing applies to the whole repository. */
714
+ export declare const addRepositoryPermission: API.OperationMethod<AddRepositoryPermissionRequest, AddRepositoryPermissionResponse, AddRepositoryPermissionError, VercelOpContext>;
715
+ export type ClearRepositoryPermissionsError = BadRequest | Forbidden | NotFound | VercelOpError;
716
+ /** Clear all repository permissions Revoke every team's access to a VCR repository. Clearing an unshared repository is a no-op. */
717
+ export declare const clearRepositoryPermissions: API.OperationMethod<ClearRepositoryPermissionsRequest, ClearRepositoryPermissionsResponse, ClearRepositoryPermissionsError, VercelOpContext>;
718
+ export type CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
719
+ /** Start a blob upload POST /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/[?mount=<digest>&from=<repo>] Initiate a blob upload. Returns a UUID in the Location header that the client uses for subsequent PATCH (chunk) and PUT (complete) requests. */
720
+ export declare const createByTeamSlugByProjectSlugByRepositoryNameBlobsUploads: API.OperationMethod<CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest, CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse, CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsError, VercelOpContext>;
721
+ export type CreateRepositoryError = BadRequest | PaymentRequired | Forbidden | NotFound | Conflict | VercelOpError;
722
+ /** Create a repository Create a container registry repository for a project. */
723
+ export declare const createRepository: API.OperationMethod<CreateRepositoryRequest, CreateRepositoryResponse, CreateRepositoryError, VercelOpContext>;
724
+ export type DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
725
+ /** Delete a blob DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries. */
726
+ export declare const deleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest: API.OperationMethod<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError, VercelOpContext>;
727
+ export type DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
728
+ /** Cancel a blob upload DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Cancel an in-flight blob upload. Aborts the underlying S3 multipart upload (if one was started) and discards the session. */
729
+ export declare const deleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse, DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError, VercelOpContext>;
730
+ export type DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
731
+ /** Delete an image manifest DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest. */
732
+ export declare const deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse, DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError, VercelOpContext>;
733
+ export type DeleteRepositoryError = BadRequest | Forbidden | NotFound | VercelOpError;
734
+ /** Delete a repository Schedule a repository for deletion. The repository is marked so it disappears from list/get immediately; subscriber-vcr reclaims every image (manifests, blobs, tags and rows) and finally deletes the repository row asynchronously via the VcrRepositoryRemoved event. */
735
+ export declare const deleteRepository: API.OperationMethod<DeleteRepositoryRequest, DeleteRepositoryResponse, DeleteRepositoryError, VercelOpContext>;
736
+ export type DeleteRepositoryImageError = BadRequest | Forbidden | NotFound | VercelOpError;
737
+ /** Delete a repository image Schedule an image for deletion. The image is marked so it disappears from list/get immediately; subscriber-vcr reclaims the manifest, blobs, tags and row asynchronously via the VcrManifestRemoved event. */
738
+ export declare const deleteRepositoryImage: API.OperationMethod<DeleteRepositoryImageRequest, DeleteRepositoryImageResponse, DeleteRepositoryImageError, VercelOpContext>;
739
+ export type GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
740
+ /** Download a blob GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest. */
741
+ export declare const getByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest: API.OperationMethod<GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse, GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError, VercelOpContext>;
742
+ export type GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
743
+ /** Get blob upload status GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Query the status of an in-progress blob upload. Used by clients to resume a partial upload after an interruption. */
744
+ export declare const getByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse, GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError, VercelOpContext>;
745
+ export type GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
746
+ /** Pull an image manifest GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest. */
747
+ export declare const getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse, GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError, VercelOpContext>;
748
+ export type GetByTeamSlugByProjectSlugByRepositoryNameTagsListError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
749
+ /** List image tags GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository. */
750
+ export declare const getByTeamSlugByProjectSlugByRepositoryNameTagsList: API.OperationMethod<GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest, GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse, GetByTeamSlugByProjectSlugByRepositoryNameTagsListError, VercelOpContext>;
751
+ export type GetRepositoryError = BadRequest | Forbidden | NotFound | VercelOpError;
752
+ /** Get a repository Fetch a container registry repository for a project by ID or name. */
753
+ export declare const getRepository: API.OperationMethod<GetRepositoryRequest, GetRepositoryResponse, GetRepositoryError, VercelOpContext>;
754
+ export type GetRepositoryImageError = BadRequest | Forbidden | NotFound | VercelOpError;
755
+ /** Get a repository image Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`). */
756
+ export declare const getRepositoryImage: API.OperationMethod<GetRepositoryImageRequest, GetRepositoryImageResponse, GetRepositoryImageError, VercelOpContext>;
757
+ export type GetRepositoryTagError = BadRequest | Forbidden | NotFound | VercelOpError;
758
+ /** Get a repository tag Fetch a single tag from a repository, including the backing image's metadata and VHS-readiness status. */
759
+ export declare const getRepositoryTag: API.OperationMethod<GetRepositoryTagRequest, GetRepositoryTagResponse, GetRepositoryTagError, VercelOpContext>;
760
+ export type GetRootError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
761
+ /** Check registry API version support GET /v2/ Docker Registry v2 version check. Returns a 401 challenge when no credentials are provided, prompting the Docker client to send auth. With valid credentials, returns 200 so the client can proceed. */
762
+ export declare const getRoot: API.OperationMethod<GetRootRequest, GetRootResponse, GetRootError, VercelOpContext>;
763
+ export type HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
764
+ /** Check if a blob exists HEAD /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Check whether a blob exists. Used by the Docker client before pushing a layer to avoid re-uploading content that already exists. */
765
+ export declare const headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest: API.OperationMethod<HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse, HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestError, VercelOpContext>;
766
+ export type HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
767
+ /** Check if a manifest exists HEAD /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Check whether a manifest exists. Used by Docker client during push to determine if a manifest (or config blob referenced by digest) is already present. */
768
+ export declare const headByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse, HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError, VercelOpContext>;
769
+ export type ListRepositoriesError = BadRequest | Forbidden | NotFound | VercelOpError;
770
+ /** List repositories List container registry repositories for a project. */
771
+ export declare const listRepositories: API.OperationMethod<ListRepositoriesRequest, VcrRepositoryList, ListRepositoriesError, VercelOpContext>;
772
+ export type ListRepositoryImagesError = BadRequest | Forbidden | NotFound | VercelOpError;
773
+ /** List repository images List images for a container registry repository, including their tags. */
774
+ export declare const listRepositoryImages: API.OperationMethod<ListRepositoryImagesRequest, VcrImageList, ListRepositoryImagesError, VercelOpContext>;
775
+ export type ListRepositoryPermissionsError = BadRequest | Forbidden | NotFound | VercelOpError;
776
+ /** List repository permissions List the teams a VCR repository is shared with. */
777
+ export declare const listRepositoryPermissions: API.OperationMethod<ListRepositoryPermissionsRequest, VcrRepositoryPermissionList, ListRepositoryPermissionsError, VercelOpContext>;
778
+ export type ListRepositoryTagsError = BadRequest | Forbidden | NotFound | VercelOpError;
779
+ /** List repository tags List a repository's tags. */
780
+ export declare const listRepositoryTags: API.OperationMethod<ListRepositoryTagsRequest, ListRepositoryTagsResponse, ListRepositoryTagsError, VercelOpContext>;
781
+ export type RemoveRepositoryPermissionError = BadRequest | Forbidden | NotFound | VercelOpError;
782
+ /** Remove a repository permission Revoke a team's access to a VCR repository. */
783
+ export declare const removeRepositoryPermission: API.OperationMethod<RemoveRepositoryPermissionRequest, RemoveRepositoryPermissionResponse, RemoveRepositoryPermissionError, VercelOpContext>;
784
+ export type ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
785
+ /** Complete a blob upload PUT /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid?digest=<digest> Complete the blob upload. This may include a final chunk of data in the request body (monolithic upload) or just finalize a previous chunked upload. */
786
+ export declare const replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse, ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError, VercelOpContext>;
787
+ export type ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
788
+ /** Push an image manifest PUT /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Upload an image manifest. The digest is computed from the body and returned in the Docker-Content-Digest header. */
789
+ export declare const replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest, ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse, ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError, VercelOpContext>;
790
+ export type UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
791
+ /** Upload a blob chunk PATCH /v2/:teamSlug/:projectSlug/:repositoryName/blobs/uploads/:uuid Upload a chunk of blob data. The request body is streamed directly to S3 as a multipart upload part while hashing incrementally. The client may call this multiple times for chunked uploads. */
792
+ export declare const updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest, UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse, UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError, VercelOpContext>;
793
+ //# sourceMappingURL=vcr.d.ts.map