@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,882 @@
1
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
2
+ import * as S from "@distilled.cloud/core/schema";
3
+ import * as API from "@distilled.cloud/core/api";
4
+ import * as C from "@distilled.cloud/core/category";
5
+ import * as T from "../traits.js";
6
+ import { VercelProtocol, } from "../protocol.js";
7
+ import * as Retry from "../retry.js";
8
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
9
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
10
+ code: S.Number,
11
+ message: S.String,
12
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
13
+ }
14
+ export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
15
+ /*@__PURE__*/ S.TaggedError()("Conflict", {
16
+ code: S.Number,
17
+ message: S.String,
18
+ }).pipe(C.withConflictError), [{ status: 409 }]) {
19
+ }
20
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
21
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
22
+ code: S.Number,
23
+ message: S.String,
24
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
25
+ }
26
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
27
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
28
+ code: S.Number,
29
+ message: S.String,
30
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
31
+ }
32
+ export class PaymentRequired extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
33
+ /*@__PURE__*/ S.TaggedError()("PaymentRequired", {
34
+ code: S.Number,
35
+ message: S.String,
36
+ }).pipe(C.withQuotaError), [{ status: 402 }]) {
37
+ }
38
+ export const AddRepositoryPermissionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
39
+ idOrName: S.String.pipe(T.Label()),
40
+ projectId: S.String.pipe(T.Query()),
41
+ teamId: S.optional(S.String.pipe(T.Query())),
42
+ slug: S.optional(S.String.pipe(T.Query())),
43
+ teamSlug: S.optional(S.String),
44
+ }).pipe(T.Http({
45
+ method: "POST",
46
+ uri: "/v1/vcr/repository/{idOrName}/permissions",
47
+ code: 200,
48
+ }))).annotate({
49
+ identifier: "AddRepositoryPermissionRequest",
50
+ });
51
+ export const VcrRepositoryPermission = /*@__PURE__*/ S.suspend(() => S.Struct({
52
+ repositoryId: S.String,
53
+ teamId: S.String,
54
+ teamSlug: S.String,
55
+ createdAt: S.String,
56
+ })).annotate({
57
+ identifier: "VcrRepositoryPermission",
58
+ });
59
+ export const AddRepositoryPermissionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
60
+ permission: VcrRepositoryPermission,
61
+ })).annotate({
62
+ identifier: "AddRepositoryPermissionResponse",
63
+ });
64
+ export const ClearRepositoryPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
65
+ idOrName: S.String.pipe(T.Label()),
66
+ projectId: S.String.pipe(T.Query()),
67
+ teamId: S.optional(S.String.pipe(T.Query())),
68
+ slug: S.optional(S.String.pipe(T.Query())),
69
+ }).pipe(T.Http({
70
+ method: "DELETE",
71
+ uri: "/v1/vcr/repository/{idOrName}/permissions/all",
72
+ code: 200,
73
+ }))).annotate({
74
+ identifier: "ClearRepositoryPermissionsRequest",
75
+ });
76
+ export const ClearRepositoryPermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
77
+ identifier: "ClearRepositoryPermissionsResponse",
78
+ });
79
+ export const CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest =
80
+ /*@__PURE__*/ S.suspend(() => S.Struct({
81
+ teamSlug: S.String.pipe(T.Label()),
82
+ projectSlug: S.String.pipe(T.Label()),
83
+ repositoryName: S.String.pipe(T.Label()),
84
+ mount: S.optional(S.String.pipe(T.Query())),
85
+ from: S.optional(S.String.pipe(T.Query())),
86
+ }).pipe(T.Http({
87
+ method: "POST",
88
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/",
89
+ code: 200,
90
+ }))).annotate({
91
+ identifier: "CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest",
92
+ });
93
+ export const CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse =
94
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
95
+ identifier: "CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse",
96
+ });
97
+ export const CreateRepositoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
98
+ teamId: S.optional(S.String.pipe(T.Query())),
99
+ slug: S.optional(S.String.pipe(T.Query())),
100
+ projectId: S.String,
101
+ name: S.String,
102
+ }).pipe(T.Http({ method: "POST", uri: "/v1/vcr/repository", code: 200 }))).annotate({
103
+ identifier: "CreateRepositoryRequest",
104
+ });
105
+ export const VcrRepository = /*@__PURE__*/ S.suspend(() => S.Struct({
106
+ id: S.String,
107
+ projectId: S.String,
108
+ name: S.String,
109
+ public: S.Boolean,
110
+ createdAt: S.String,
111
+ updatedAt: S.String,
112
+ })).annotate({ identifier: "VcrRepository" });
113
+ export const CreateRepositoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
114
+ repository: VcrRepository,
115
+ })).annotate({
116
+ identifier: "CreateRepositoryResponse",
117
+ });
118
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest =
119
+ /*@__PURE__*/ S.suspend(() => S.Struct({
120
+ teamSlug: S.String.pipe(T.Label()),
121
+ projectSlug: S.String.pipe(T.Label()),
122
+ repositoryName: S.String.pipe(T.Label()),
123
+ digest: S.String.pipe(T.Label()),
124
+ }).pipe(T.Http({
125
+ method: "DELETE",
126
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
127
+ code: 200,
128
+ }))).annotate({
129
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
130
+ });
131
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse =
132
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
133
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse",
134
+ });
135
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest =
136
+ /*@__PURE__*/ S.suspend(() => S.Struct({
137
+ teamSlug: S.String.pipe(T.Label()),
138
+ projectSlug: S.String.pipe(T.Label()),
139
+ repositoryName: S.String.pipe(T.Label()),
140
+ uuid: S.String.pipe(T.Label()),
141
+ }).pipe(T.Http({
142
+ method: "DELETE",
143
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
144
+ code: 200,
145
+ }))).annotate({
146
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
147
+ });
148
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse =
149
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
150
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse",
151
+ });
152
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest =
153
+ /*@__PURE__*/ S.suspend(() => S.Struct({
154
+ teamSlug: S.String.pipe(T.Label()),
155
+ projectSlug: S.String.pipe(T.Label()),
156
+ repositoryName: S.String.pipe(T.Label()),
157
+ reference: S.String.pipe(T.Label()),
158
+ }).pipe(T.Http({
159
+ method: "DELETE",
160
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
161
+ code: 200,
162
+ }))).annotate({
163
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
164
+ });
165
+ export const DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse =
166
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
167
+ identifier: "DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse",
168
+ });
169
+ export const DeleteRepositoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
170
+ idOrName: S.String.pipe(T.Label()),
171
+ projectId: S.String.pipe(T.Query()),
172
+ teamId: S.optional(S.String.pipe(T.Query())),
173
+ slug: S.optional(S.String.pipe(T.Query())),
174
+ }).pipe(T.Http({
175
+ method: "DELETE",
176
+ uri: "/v1/vcr/repository/{idOrName}",
177
+ code: 200,
178
+ }))).annotate({
179
+ identifier: "DeleteRepositoryRequest",
180
+ });
181
+ export const DeleteRepositoryResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
182
+ identifier: "DeleteRepositoryResponse",
183
+ });
184
+ export const DeleteRepositoryImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
185
+ idOrName: S.String.pipe(T.Label()),
186
+ imageId: S.String.pipe(T.Label()),
187
+ projectId: S.String.pipe(T.Query()),
188
+ teamId: S.optional(S.String.pipe(T.Query())),
189
+ slug: S.optional(S.String.pipe(T.Query())),
190
+ }).pipe(T.Http({
191
+ method: "DELETE",
192
+ uri: "/v1/vcr/repository/{idOrName}/images/{imageId}",
193
+ code: 200,
194
+ }))).annotate({
195
+ identifier: "DeleteRepositoryImageRequest",
196
+ });
197
+ export const DeleteRepositoryImageResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
198
+ identifier: "DeleteRepositoryImageResponse",
199
+ });
200
+ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest =
201
+ /*@__PURE__*/ S.suspend(() => S.Struct({
202
+ teamSlug: S.String.pipe(T.Label()),
203
+ projectSlug: S.String.pipe(T.Label()),
204
+ repositoryName: S.String.pipe(T.Label()),
205
+ digest: S.String.pipe(T.Label()),
206
+ }).pipe(T.Http({
207
+ method: "GET",
208
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
209
+ code: 200,
210
+ }))).annotate({
211
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
212
+ });
213
+ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse =
214
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
215
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse",
216
+ });
217
+ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest =
218
+ /*@__PURE__*/ S.suspend(() => S.Struct({
219
+ teamSlug: S.String.pipe(T.Label()),
220
+ projectSlug: S.String.pipe(T.Label()),
221
+ repositoryName: S.String.pipe(T.Label()),
222
+ uuid: S.String.pipe(T.Label()),
223
+ }).pipe(T.Http({
224
+ method: "GET",
225
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
226
+ code: 200,
227
+ }))).annotate({
228
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
229
+ });
230
+ export const GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse =
231
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
232
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse",
233
+ });
234
+ export const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest =
235
+ /*@__PURE__*/ S.suspend(() => S.Struct({
236
+ teamSlug: S.String.pipe(T.Label()),
237
+ projectSlug: S.String.pipe(T.Label()),
238
+ repositoryName: S.String.pipe(T.Label()),
239
+ reference: S.String.pipe(T.Label()),
240
+ }).pipe(T.Http({
241
+ method: "GET",
242
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
243
+ code: 200,
244
+ }))).annotate({
245
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
246
+ });
247
+ export const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse =
248
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
249
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse",
250
+ });
251
+ export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest =
252
+ /*@__PURE__*/ S.suspend(() => S.Struct({
253
+ teamSlug: S.String.pipe(T.Label()),
254
+ projectSlug: S.String.pipe(T.Label()),
255
+ repositoryName: S.String.pipe(T.Label()),
256
+ n: S.optional(S.Number.pipe(T.Query())),
257
+ last: S.optional(S.String.pipe(T.Query())),
258
+ }).pipe(T.Http({
259
+ method: "GET",
260
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list",
261
+ code: 200,
262
+ }))).annotate({
263
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest",
264
+ });
265
+ export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList =
266
+ /*@__PURE__*/ S.Array(S.String);
267
+ export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse =
268
+ /*@__PURE__*/ S.suspend(() => S.Struct({
269
+ name: S.String,
270
+ tags: GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList,
271
+ })).annotate({
272
+ identifier: "GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse",
273
+ });
274
+ export const GetRepositoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
275
+ idOrName: S.String.pipe(T.Label()),
276
+ projectId: S.String.pipe(T.Query()),
277
+ teamId: S.optional(S.String.pipe(T.Query())),
278
+ slug: S.optional(S.String.pipe(T.Query())),
279
+ }).pipe(T.Http({ method: "GET", uri: "/v1/vcr/repository/{idOrName}", code: 200 }))).annotate({
280
+ identifier: "GetRepositoryRequest",
281
+ });
282
+ export const GetRepositoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
283
+ repository: VcrRepository,
284
+ })).annotate({
285
+ identifier: "GetRepositoryResponse",
286
+ });
287
+ export const GetRepositoryImageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
288
+ idOrName: S.String.pipe(T.Label()),
289
+ imageIdOrDigest: S.String.pipe(T.Label()),
290
+ projectId: S.String.pipe(T.Query()),
291
+ teamId: S.optional(S.String.pipe(T.Query())),
292
+ slug: S.optional(S.String.pipe(T.Query())),
293
+ }).pipe(T.Http({
294
+ method: "GET",
295
+ uri: "/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}",
296
+ code: 200,
297
+ }))).annotate({
298
+ identifier: "GetRepositoryImageRequest",
299
+ });
300
+ export const VcrImageLayerCase0Operation = /*@__PURE__*/ S.String;
301
+ export const VcrImageLayerCase0Type = /*@__PURE__*/ S.String;
302
+ export const VcrImageLayerCase0CollapsedDigestsList = /*@__PURE__*/ S.Array(S.String);
303
+ export const VcrImageLayerCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
304
+ createdBy: S.NullOr(S.String),
305
+ digest: S.NullOr(S.String),
306
+ operation: VcrImageLayerCase0Operation,
307
+ sizeBytes: S.NullOr(S.Number),
308
+ type: VcrImageLayerCase0Type,
309
+ baseImage: S.NullOr(S.String),
310
+ collapsedDigests: VcrImageLayerCase0CollapsedDigestsList,
311
+ collapsedLayerCount: S.Number,
312
+ })).annotate({
313
+ identifier: "VcrImageLayerCase0",
314
+ });
315
+ export const VcrImageLayerCase1Operation = /*@__PURE__*/ S.String;
316
+ export const VcrImageLayerCase1Type = /*@__PURE__*/ S.String;
317
+ export const VcrImageLayerCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
318
+ createdBy: S.NullOr(S.String),
319
+ digest: S.NullOr(S.String),
320
+ operation: VcrImageLayerCase1Operation,
321
+ sizeBytes: S.NullOr(S.Number),
322
+ type: VcrImageLayerCase1Type,
323
+ command: S.NullOr(S.String),
324
+ })).annotate({
325
+ identifier: "VcrImageLayerCase1",
326
+ });
327
+ export const VcrImageLayerCase2Operation = /*@__PURE__*/ S.String;
328
+ export const VcrImageLayerCase2Type = /*@__PURE__*/ S.String;
329
+ export const VcrImageLayerCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
330
+ createdBy: S.NullOr(S.String),
331
+ digest: S.NullOr(S.String),
332
+ operation: VcrImageLayerCase2Operation,
333
+ sizeBytes: S.NullOr(S.Number),
334
+ type: VcrImageLayerCase2Type,
335
+ env: S.NullOr(S.String),
336
+ })).annotate({
337
+ identifier: "VcrImageLayerCase2",
338
+ });
339
+ export const VcrImageLayerCase3Operation = /*@__PURE__*/ S.String;
340
+ export const VcrImageLayerCase3Type = /*@__PURE__*/ S.String;
341
+ export const VcrImageLayerCase3 = /*@__PURE__*/ S.suspend(() => S.Struct({
342
+ createdBy: S.NullOr(S.String),
343
+ digest: S.NullOr(S.String),
344
+ operation: VcrImageLayerCase3Operation,
345
+ sizeBytes: S.NullOr(S.Number),
346
+ type: VcrImageLayerCase3Type,
347
+ value: S.NullOr(S.String),
348
+ })).annotate({
349
+ identifier: "VcrImageLayerCase3",
350
+ });
351
+ export const VcrImageLayer =
352
+ /*@__PURE__*/ S.Unknown;
353
+ export const VcrImageDetailLayersList = /*@__PURE__*/ S.Array(VcrImageLayer);
354
+ export const VcrImageDetailStatus = /*@__PURE__*/ S.String;
355
+ export const VcrImageDetailTagsList = /*@__PURE__*/ S.Array(S.String);
356
+ export const VcrImageDetailKind = /*@__PURE__*/ S.String;
357
+ export const VcrImageDetailVhsConfigCommandList = /*@__PURE__*/ S.Array(S.String);
358
+ export const VcrImageDetailVhsConfigEntrypointList = /*@__PURE__*/ S.Array(S.String);
359
+ export const VcrImageDetailVhsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
360
+ command: S.optional(VcrImageDetailVhsConfigCommandList),
361
+ entrypoint: S.optional(VcrImageDetailVhsConfigEntrypointList),
362
+ workingDir: S.optional(S.String),
363
+ })).annotate({
364
+ identifier: "VcrImageDetailVhsConfig",
365
+ });
366
+ export const VcrImageDetailVhs = /*@__PURE__*/ S.suspend(() => S.Struct({
367
+ path: S.String,
368
+ digest: S.String,
369
+ config: S.optional(VcrImageDetailVhsConfig),
370
+ })).annotate({
371
+ identifier: "VcrImageDetailVhs",
372
+ });
373
+ export const VcrImageDetail = /*@__PURE__*/ S.suspend(() => S.Struct({
374
+ layers: VcrImageDetailLayersList,
375
+ status: S.NullOr(VcrImageDetailStatus),
376
+ tags: VcrImageDetailTagsList,
377
+ id: S.String,
378
+ repositoryId: S.String,
379
+ manifestDigest: S.String,
380
+ kind: VcrImageDetailKind,
381
+ platform: S.optional(S.String),
382
+ arch: S.optional(S.String),
383
+ pushedBy: S.optional(S.String),
384
+ sizeInBytes: S.Number,
385
+ vhs: S.optional(VcrImageDetailVhs),
386
+ createdAt: S.String,
387
+ })).annotate({ identifier: "VcrImageDetail" });
388
+ export const GetRepositoryImageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
389
+ image: VcrImageDetail,
390
+ })).annotate({
391
+ identifier: "GetRepositoryImageResponse",
392
+ });
393
+ export const GetRepositoryTagRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
394
+ idOrName: S.String.pipe(T.Label()),
395
+ tag: S.String.pipe(T.Label()),
396
+ projectId: S.String.pipe(T.Query()),
397
+ teamId: S.optional(S.String.pipe(T.Query())),
398
+ slug: S.optional(S.String.pipe(T.Query())),
399
+ }).pipe(T.Http({
400
+ method: "GET",
401
+ uri: "/v1/vcr/repository/{idOrName}/tags/{tag}",
402
+ code: 200,
403
+ }))).annotate({
404
+ identifier: "GetRepositoryTagRequest",
405
+ });
406
+ export const VcrTagKind = /*@__PURE__*/ S.String;
407
+ export const VcrTagStatus = /*@__PURE__*/ S.String;
408
+ export const VcrTag = /*@__PURE__*/ S.suspend(() => S.Struct({
409
+ tag: S.String,
410
+ manifestDigest: S.String,
411
+ imageId: S.String,
412
+ kind: VcrTagKind,
413
+ platform: S.optional(S.String),
414
+ arch: S.optional(S.String),
415
+ pushedBy: S.optional(S.String),
416
+ status: S.NullOr(VcrTagStatus),
417
+ sizeInBytes: S.Number,
418
+ createdAt: S.String,
419
+ updatedAt: S.String,
420
+ })).annotate({ identifier: "VcrTag" });
421
+ export const GetRepositoryTagResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
422
+ tag: VcrTag,
423
+ })).annotate({
424
+ identifier: "GetRepositoryTagResponse",
425
+ });
426
+ export const GetRootRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/", code: 200 }))).annotate({ identifier: "GetRootRequest" });
427
+ export const GetRootResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
428
+ identifier: "GetRootResponse",
429
+ });
430
+ export const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest =
431
+ /*@__PURE__*/ S.suspend(() => S.Struct({
432
+ teamSlug: S.String.pipe(T.Label()),
433
+ projectSlug: S.String.pipe(T.Label()),
434
+ repositoryName: S.String.pipe(T.Label()),
435
+ digest: S.String.pipe(T.Label()),
436
+ }).pipe(T.Http({
437
+ method: "HEAD",
438
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
439
+ code: 200,
440
+ }))).annotate({
441
+ identifier: "HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
442
+ });
443
+ export const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse =
444
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
445
+ identifier: "HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse",
446
+ });
447
+ export const HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest =
448
+ /*@__PURE__*/ S.suspend(() => S.Struct({
449
+ teamSlug: S.String.pipe(T.Label()),
450
+ projectSlug: S.String.pipe(T.Label()),
451
+ repositoryName: S.String.pipe(T.Label()),
452
+ reference: S.String.pipe(T.Label()),
453
+ }).pipe(T.Http({
454
+ method: "HEAD",
455
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
456
+ code: 200,
457
+ }))).annotate({
458
+ identifier: "HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
459
+ });
460
+ export const HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse =
461
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
462
+ identifier: "HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse",
463
+ });
464
+ export const ListRepositoriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
465
+ projectId: S.String.pipe(T.Query()),
466
+ limit: S.optional(S.Number.pipe(T.Query())),
467
+ cursor: S.optional(S.String.pipe(T.Query())),
468
+ teamId: S.optional(S.String.pipe(T.Query())),
469
+ slug: S.optional(S.String.pipe(T.Query())),
470
+ }).pipe(T.Http({ method: "GET", uri: "/v1/vcr/repository", code: 200 }))).annotate({
471
+ identifier: "ListRepositoriesRequest",
472
+ });
473
+ export const VcrRepositoryListRepositoriesList = /*@__PURE__*/ S.Array(VcrRepository);
474
+ export const VcrRepositoryList = /*@__PURE__*/ S.suspend(() => S.Struct({
475
+ repositories: VcrRepositoryListRepositoriesList,
476
+ nextCursor: S.optional(S.String),
477
+ })).annotate({
478
+ identifier: "VcrRepositoryList",
479
+ });
480
+ export const ListRepositoryImagesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
481
+ idOrName: S.String.pipe(T.Label()),
482
+ projectId: S.String.pipe(T.Query()),
483
+ limit: S.optional(S.Number.pipe(T.Query())),
484
+ cursor: S.optional(S.String.pipe(T.Query())),
485
+ untagged: S.optional(S.Boolean.pipe(T.Query())),
486
+ teamId: S.optional(S.String.pipe(T.Query())),
487
+ slug: S.optional(S.String.pipe(T.Query())),
488
+ }).pipe(T.Http({
489
+ method: "GET",
490
+ uri: "/v1/vcr/repository/{idOrName}/images",
491
+ code: 200,
492
+ }))).annotate({
493
+ identifier: "ListRepositoryImagesRequest",
494
+ });
495
+ export const VcrImageListItemStatus = /*@__PURE__*/ S.String;
496
+ export const VcrImageListItemTagsList = /*@__PURE__*/ S.Array(S.String);
497
+ export const VcrImageListItemKind = /*@__PURE__*/ S.String;
498
+ export const VcrImageListItemVhsConfigCommandList = /*@__PURE__*/ S.Array(S.String);
499
+ export const VcrImageListItemVhsConfigEntrypointList = /*@__PURE__*/ S.Array(S.String);
500
+ export const VcrImageListItemVhsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
501
+ command: S.optional(VcrImageListItemVhsConfigCommandList),
502
+ entrypoint: S.optional(VcrImageListItemVhsConfigEntrypointList),
503
+ workingDir: S.optional(S.String),
504
+ })).annotate({
505
+ identifier: "VcrImageListItemVhsConfig",
506
+ });
507
+ export const VcrImageListItemVhs = /*@__PURE__*/ S.suspend(() => S.Struct({
508
+ path: S.String,
509
+ digest: S.String,
510
+ config: S.optional(VcrImageListItemVhsConfig),
511
+ })).annotate({
512
+ identifier: "VcrImageListItemVhs",
513
+ });
514
+ export const VcrImageListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
515
+ status: S.NullOr(VcrImageListItemStatus),
516
+ tags: VcrImageListItemTagsList,
517
+ id: S.String,
518
+ repositoryId: S.String,
519
+ manifestDigest: S.String,
520
+ kind: VcrImageListItemKind,
521
+ platform: S.optional(S.String),
522
+ arch: S.optional(S.String),
523
+ pushedBy: S.optional(S.String),
524
+ sizeInBytes: S.Number,
525
+ vhs: S.optional(VcrImageListItemVhs),
526
+ createdAt: S.String,
527
+ })).annotate({
528
+ identifier: "VcrImageListItem",
529
+ });
530
+ export const VcrImageListImagesList = /*@__PURE__*/ S.Array(VcrImageListItem);
531
+ export const VcrImageList = /*@__PURE__*/ S.suspend(() => S.Struct({
532
+ images: VcrImageListImagesList,
533
+ nextCursor: S.optional(S.String),
534
+ })).annotate({ identifier: "VcrImageList" });
535
+ export const ListRepositoryPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
536
+ idOrName: S.String.pipe(T.Label()),
537
+ projectId: S.String.pipe(T.Query()),
538
+ limit: S.optional(S.Number.pipe(T.Query())),
539
+ cursor: S.optional(S.String.pipe(T.Query())),
540
+ teamId: S.optional(S.String.pipe(T.Query())),
541
+ slug: S.optional(S.String.pipe(T.Query())),
542
+ }).pipe(T.Http({
543
+ method: "GET",
544
+ uri: "/v1/vcr/repository/{idOrName}/permissions",
545
+ code: 200,
546
+ }))).annotate({
547
+ identifier: "ListRepositoryPermissionsRequest",
548
+ });
549
+ export const VcrRepositoryPermissionListPermissionsList = /*@__PURE__*/ S.Array(VcrRepositoryPermission);
550
+ export const VcrRepositoryPermissionList = /*@__PURE__*/ S.suspend(() => S.Struct({
551
+ permissions: VcrRepositoryPermissionListPermissionsList,
552
+ nextCursor: S.optional(S.String),
553
+ })).annotate({
554
+ identifier: "VcrRepositoryPermissionList",
555
+ });
556
+ export const ListRepositoryTagsRequestSortBy = /*@__PURE__*/ S.String;
557
+ export const ListRepositoryTagsRequestSortOrder = /*@__PURE__*/ S.String;
558
+ export const ListRepositoryTagsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
559
+ idOrName: S.String.pipe(T.Label()),
560
+ projectId: S.String.pipe(T.Query()),
561
+ limit: S.optional(S.Number.pipe(T.Query())),
562
+ cursor: S.optional(S.String.pipe(T.Query())),
563
+ sortBy: S.optional(ListRepositoryTagsRequestSortBy.pipe(T.Query())),
564
+ sortOrder: S.optional(ListRepositoryTagsRequestSortOrder.pipe(T.Query())),
565
+ teamId: S.optional(S.String.pipe(T.Query())),
566
+ slug: S.optional(S.String.pipe(T.Query())),
567
+ }).pipe(T.Http({
568
+ method: "GET",
569
+ uri: "/v1/vcr/repository/{idOrName}/tags",
570
+ code: 200,
571
+ }))).annotate({
572
+ identifier: "ListRepositoryTagsRequest",
573
+ });
574
+ export const ListRepositoryTagsResponseTagsItemKind = /*@__PURE__*/ S.String;
575
+ export const ListRepositoryTagsResponseTagsItemStatus = /*@__PURE__*/ S.String;
576
+ export const ListRepositoryTagsResponseTagsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
577
+ tag: S.String,
578
+ manifestDigest: S.String,
579
+ imageId: S.String,
580
+ kind: ListRepositoryTagsResponseTagsItemKind,
581
+ platform: S.optional(S.String),
582
+ arch: S.optional(S.String),
583
+ pushedBy: S.optional(S.String),
584
+ status: S.NullOr(ListRepositoryTagsResponseTagsItemStatus),
585
+ sizeInBytes: S.Number,
586
+ createdAt: S.String,
587
+ updatedAt: S.String,
588
+ })).annotate({
589
+ identifier: "ListRepositoryTagsResponseTagsItem",
590
+ });
591
+ export const ListRepositoryTagsResponseTagsList = /*@__PURE__*/ S.Array(ListRepositoryTagsResponseTagsItem);
592
+ export const ListRepositoryTagsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
593
+ tags: ListRepositoryTagsResponseTagsList,
594
+ nextCursor: S.optional(S.String),
595
+ })).annotate({
596
+ identifier: "ListRepositoryTagsResponse",
597
+ });
598
+ export const RemoveRepositoryPermissionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
599
+ idOrName: S.String.pipe(T.Label()),
600
+ projectId: S.String.pipe(T.Query()),
601
+ teamId: S.optional(S.String.pipe(T.Query())),
602
+ slug: S.optional(S.String.pipe(T.Query())),
603
+ teamSlug: S.optional(S.String),
604
+ }).pipe(T.Http({
605
+ method: "DELETE",
606
+ uri: "/v1/vcr/repository/{idOrName}/permissions",
607
+ code: 200,
608
+ }))).annotate({
609
+ identifier: "RemoveRepositoryPermissionRequest",
610
+ });
611
+ export const RemoveRepositoryPermissionResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
612
+ identifier: "RemoveRepositoryPermissionResponse",
613
+ });
614
+ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest =
615
+ /*@__PURE__*/ S.suspend(() => S.Struct({
616
+ teamSlug: S.String.pipe(T.Label()),
617
+ projectSlug: S.String.pipe(T.Label()),
618
+ repositoryName: S.String.pipe(T.Label()),
619
+ uuid: S.String.pipe(T.Label()),
620
+ digest: S.String.pipe(T.Query()),
621
+ }).pipe(T.Http({
622
+ method: "PUT",
623
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
624
+ code: 200,
625
+ }))).annotate({
626
+ identifier: "ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
627
+ });
628
+ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse =
629
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
630
+ identifier: "ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse",
631
+ });
632
+ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest =
633
+ /*@__PURE__*/ S.suspend(() => S.Struct({
634
+ teamSlug: S.String.pipe(T.Label()),
635
+ projectSlug: S.String.pipe(T.Label()),
636
+ repositoryName: S.String.pipe(T.Label()),
637
+ reference: S.String.pipe(T.Label()),
638
+ }).pipe(T.Http({
639
+ method: "PUT",
640
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
641
+ code: 200,
642
+ }))).annotate({
643
+ identifier: "ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
644
+ });
645
+ export const ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse =
646
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
647
+ identifier: "ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse",
648
+ });
649
+ export const UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest =
650
+ /*@__PURE__*/ S.suspend(() => S.Struct({
651
+ teamSlug: S.String.pipe(T.Label()),
652
+ projectSlug: S.String.pipe(T.Label()),
653
+ repositoryName: S.String.pipe(T.Label()),
654
+ uuid: S.String.pipe(T.Label()),
655
+ }).pipe(T.Http({
656
+ method: "PATCH",
657
+ uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
658
+ code: 200,
659
+ }))).annotate({
660
+ identifier: "UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
661
+ });
662
+ export const UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse =
663
+ /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
664
+ identifier: "UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse",
665
+ });
666
+ /** Add a repository permission Grant a team access to a VCR repository. Sharing applies to the whole repository. */
667
+ export const addRepositoryPermission = /*@__PURE__*/ API.make(() => ({
668
+ input: AddRepositoryPermissionRequest,
669
+ output: AddRepositoryPermissionResponse,
670
+ errors: [BadRequest, Forbidden, NotFound],
671
+ protocol: VercelProtocol,
672
+ retry: Retry.Retry,
673
+ }));
674
+ /** Clear all repository permissions Revoke every team's access to a VCR repository. Clearing an unshared repository is a no-op. */
675
+ export const clearRepositoryPermissions = /*@__PURE__*/ API.make(() => ({
676
+ input: ClearRepositoryPermissionsRequest,
677
+ output: ClearRepositoryPermissionsResponse,
678
+ errors: [BadRequest, Forbidden, NotFound],
679
+ protocol: VercelProtocol,
680
+ retry: Retry.Retry,
681
+ }));
682
+ /** 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. */
683
+ export const createByTeamSlugByProjectSlugByRepositoryNameBlobsUploads = /*@__PURE__*/ API.make(() => ({
684
+ input: CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsRequest,
685
+ output: CreateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsResponse,
686
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
687
+ protocol: VercelProtocol,
688
+ retry: Retry.Retry,
689
+ }));
690
+ /** Create a repository Create a container registry repository for a project. */
691
+ export const createRepository = /*@__PURE__*/ API.make(() => ({
692
+ input: CreateRepositoryRequest,
693
+ output: CreateRepositoryResponse,
694
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound, Conflict],
695
+ protocol: VercelProtocol,
696
+ retry: Retry.Retry,
697
+ }));
698
+ /** Delete a blob DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries. */
699
+ export const deleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = /*@__PURE__*/ API.make(() => ({
700
+ input: DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest,
701
+ output: DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse,
702
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
703
+ protocol: VercelProtocol,
704
+ retry: Retry.Retry,
705
+ }));
706
+ /** 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. */
707
+ export const deleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = /*@__PURE__*/ API.make(() => ({
708
+ input: DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
709
+ output: DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse,
710
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
711
+ protocol: VercelProtocol,
712
+ retry: Retry.Retry,
713
+ }));
714
+ /** Delete an image manifest DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest. */
715
+ export const deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = /*@__PURE__*/ API.make(() => ({
716
+ input: DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
717
+ output: DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
718
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
719
+ protocol: VercelProtocol,
720
+ retry: Retry.Retry,
721
+ }));
722
+ /** 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. */
723
+ export const deleteRepository = /*@__PURE__*/ API.make(() => ({
724
+ input: DeleteRepositoryRequest,
725
+ output: DeleteRepositoryResponse,
726
+ errors: [BadRequest, Forbidden, NotFound],
727
+ protocol: VercelProtocol,
728
+ retry: Retry.Retry,
729
+ }));
730
+ /** 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. */
731
+ export const deleteRepositoryImage = /*@__PURE__*/ API.make(() => ({
732
+ input: DeleteRepositoryImageRequest,
733
+ output: DeleteRepositoryImageResponse,
734
+ errors: [BadRequest, Forbidden, NotFound],
735
+ protocol: VercelProtocol,
736
+ retry: Retry.Retry,
737
+ }));
738
+ /** Download a blob GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest. */
739
+ export const getByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = /*@__PURE__*/ API.make(() => ({
740
+ input: GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest,
741
+ output: GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse,
742
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
743
+ protocol: VercelProtocol,
744
+ retry: Retry.Retry,
745
+ }));
746
+ /** 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. */
747
+ export const getByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = /*@__PURE__*/ API.make(() => ({
748
+ input: GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
749
+ output: GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse,
750
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
751
+ protocol: VercelProtocol,
752
+ retry: Retry.Retry,
753
+ }));
754
+ /** Pull an image manifest GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest. */
755
+ export const getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = /*@__PURE__*/ API.make(() => ({
756
+ input: GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
757
+ output: GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
758
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
759
+ protocol: VercelProtocol,
760
+ retry: Retry.Retry,
761
+ }));
762
+ /** List image tags GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository. */
763
+ export const getByTeamSlugByProjectSlugByRepositoryNameTagsList = /*@__PURE__*/ API.make(() => ({
764
+ input: GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest,
765
+ output: GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse,
766
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
767
+ protocol: VercelProtocol,
768
+ retry: Retry.Retry,
769
+ }));
770
+ /** Get a repository Fetch a container registry repository for a project by ID or name. */
771
+ export const getRepository = /*@__PURE__*/ API.make(() => ({
772
+ input: GetRepositoryRequest,
773
+ output: GetRepositoryResponse,
774
+ errors: [BadRequest, Forbidden, NotFound],
775
+ protocol: VercelProtocol,
776
+ retry: Retry.Retry,
777
+ }));
778
+ /** 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:...`). */
779
+ export const getRepositoryImage = /*@__PURE__*/ API.make(() => ({
780
+ input: GetRepositoryImageRequest,
781
+ output: GetRepositoryImageResponse,
782
+ errors: [BadRequest, Forbidden, NotFound],
783
+ protocol: VercelProtocol,
784
+ retry: Retry.Retry,
785
+ }));
786
+ /** Get a repository tag Fetch a single tag from a repository, including the backing image's metadata and VHS-readiness status. */
787
+ export const getRepositoryTag = /*@__PURE__*/ API.make(() => ({
788
+ input: GetRepositoryTagRequest,
789
+ output: GetRepositoryTagResponse,
790
+ errors: [BadRequest, Forbidden, NotFound],
791
+ protocol: VercelProtocol,
792
+ retry: Retry.Retry,
793
+ }));
794
+ /** 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. */
795
+ export const getRoot = /*@__PURE__*/ API.make(() => ({
796
+ input: GetRootRequest,
797
+ output: GetRootResponse,
798
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
799
+ protocol: VercelProtocol,
800
+ retry: Retry.Retry,
801
+ }));
802
+ /** 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. */
803
+ export const headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigest = /*@__PURE__*/ API.make(() => ({
804
+ input: HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest,
805
+ output: HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestResponse,
806
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
807
+ protocol: VercelProtocol,
808
+ retry: Retry.Retry,
809
+ }));
810
+ /** 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. */
811
+ export const headByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = /*@__PURE__*/ API.make(() => ({
812
+ input: HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
813
+ output: HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
814
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
815
+ protocol: VercelProtocol,
816
+ retry: Retry.Retry,
817
+ }));
818
+ /** List repositories List container registry repositories for a project. */
819
+ export const listRepositories = /*@__PURE__*/ API.make(() => ({
820
+ input: ListRepositoriesRequest,
821
+ output: VcrRepositoryList,
822
+ errors: [BadRequest, Forbidden, NotFound],
823
+ protocol: VercelProtocol,
824
+ retry: Retry.Retry,
825
+ }));
826
+ /** List repository images List images for a container registry repository, including their tags. */
827
+ export const listRepositoryImages = /*@__PURE__*/ API.make(() => ({
828
+ input: ListRepositoryImagesRequest,
829
+ output: VcrImageList,
830
+ errors: [BadRequest, Forbidden, NotFound],
831
+ protocol: VercelProtocol,
832
+ retry: Retry.Retry,
833
+ }));
834
+ /** List repository permissions List the teams a VCR repository is shared with. */
835
+ export const listRepositoryPermissions = /*@__PURE__*/ API.make(() => ({
836
+ input: ListRepositoryPermissionsRequest,
837
+ output: VcrRepositoryPermissionList,
838
+ errors: [BadRequest, Forbidden, NotFound],
839
+ protocol: VercelProtocol,
840
+ retry: Retry.Retry,
841
+ }));
842
+ /** List repository tags List a repository's tags. */
843
+ export const listRepositoryTags = /*@__PURE__*/ API.make(() => ({
844
+ input: ListRepositoryTagsRequest,
845
+ output: ListRepositoryTagsResponse,
846
+ errors: [BadRequest, Forbidden, NotFound],
847
+ protocol: VercelProtocol,
848
+ retry: Retry.Retry,
849
+ }));
850
+ /** Remove a repository permission Revoke a team's access to a VCR repository. */
851
+ export const removeRepositoryPermission = /*@__PURE__*/ API.make(() => ({
852
+ input: RemoveRepositoryPermissionRequest,
853
+ output: RemoveRepositoryPermissionResponse,
854
+ errors: [BadRequest, Forbidden, NotFound],
855
+ protocol: VercelProtocol,
856
+ retry: Retry.Retry,
857
+ }));
858
+ /** 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. */
859
+ export const replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = /*@__PURE__*/ API.make(() => ({
860
+ input: ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
861
+ output: ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse,
862
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
863
+ protocol: VercelProtocol,
864
+ retry: Retry.Retry,
865
+ }));
866
+ /** 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. */
867
+ export const replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference = /*@__PURE__*/ API.make(() => ({
868
+ input: ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
869
+ output: ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
870
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
871
+ protocol: VercelProtocol,
872
+ retry: Retry.Retry,
873
+ }));
874
+ /** 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. */
875
+ export const updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid = /*@__PURE__*/ API.make(() => ({
876
+ input: UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
877
+ output: UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse,
878
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
879
+ protocol: VercelProtocol,
880
+ retry: Retry.Retry,
881
+ }));
882
+ //# sourceMappingURL=vcr.js.map