@distilled.cloud/vercel 1.0.0-rc.7 → 1.0.0-rc.9
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.
- package/LICENSE +201 -0
- package/lib/services/access_groups.d.ts +1 -1
- package/lib/services/access_groups.d.ts.map +1 -1
- package/lib/services/access_groups.js +1 -1
- package/lib/services/access_groups.js.map +1 -1
- package/lib/services/ai_gateway.js +1 -1
- package/lib/services/ai_gateway.js.map +1 -1
- package/lib/services/aliases.d.ts +3 -3
- package/lib/services/aliases.d.ts.map +1 -1
- package/lib/services/aliases.js +4 -4
- package/lib/services/aliases.js.map +1 -1
- package/lib/services/api_ai_gateway.d.ts +275 -0
- package/lib/services/api_ai_gateway.d.ts.map +1 -0
- package/lib/services/api_ai_gateway.js +229 -0
- package/lib/services/api_ai_gateway.js.map +1 -0
- package/lib/services/artifacts.d.ts +1 -1
- package/lib/services/artifacts.d.ts.map +1 -1
- package/lib/services/artifacts.js +12 -12
- package/lib/services/artifacts.js.map +1 -1
- package/lib/services/authentication.js +1 -1
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/billing.d.ts +145 -7
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +121 -5
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bulk_redirects.d.ts +4 -4
- package/lib/services/bulk_redirects.d.ts.map +1 -1
- package/lib/services/bulk_redirects.js +4 -4
- package/lib/services/bulk_redirects.js.map +1 -1
- package/lib/services/certs.d.ts +9 -9
- package/lib/services/certs.d.ts.map +1 -1
- package/lib/services/certs.js +10 -12
- package/lib/services/certs.js.map +1 -1
- package/lib/services/checks_v2.d.ts +5 -0
- package/lib/services/checks_v2.d.ts.map +1 -1
- package/lib/services/checks_v2.js +6 -1
- package/lib/services/checks_v2.js.map +1 -1
- package/lib/services/connect.d.ts +1721 -527
- package/lib/services/connect.d.ts.map +1 -1
- package/lib/services/connect.js +1034 -414
- package/lib/services/connect.js.map +1 -1
- package/lib/services/deployments.d.ts +338 -30
- package/lib/services/deployments.d.ts.map +1 -1
- package/lib/services/deployments.js +335 -11
- package/lib/services/deployments.js.map +1 -1
- package/lib/services/dns.d.ts +13 -13
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +13 -14
- package/lib/services/dns.js.map +1 -1
- package/lib/services/domains.d.ts +55 -27
- package/lib/services/domains.d.ts.map +1 -1
- package/lib/services/domains.js +38 -25
- package/lib/services/domains.js.map +1 -1
- package/lib/services/domains_registrar.d.ts.map +1 -1
- package/lib/services/domains_registrar.js +1 -1
- package/lib/services/domains_registrar.js.map +1 -1
- package/lib/services/drains.d.ts +8 -8
- package/lib/services/drains.d.ts.map +1 -1
- package/lib/services/drains.js +1 -1
- package/lib/services/drains.js.map +1 -1
- package/lib/services/edge_cache.js +1 -1
- package/lib/services/edge_cache.js.map +1 -1
- package/lib/services/environment.d.ts +39 -39
- package/lib/services/environment.d.ts.map +1 -1
- package/lib/services/environment.js +35 -37
- package/lib/services/environment.js.map +1 -1
- package/lib/services/feature_flags.d.ts +93 -309
- package/lib/services/feature_flags.d.ts.map +1 -1
- package/lib/services/feature_flags.js +93 -303
- package/lib/services/feature_flags.js.map +1 -1
- package/lib/services/global_config.d.ts +40 -40
- package/lib/services/global_config.d.ts.map +1 -1
- package/lib/services/global_config.js +16 -14
- package/lib/services/global_config.js.map +1 -1
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/integrations.d.ts +44 -17
- package/lib/services/integrations.d.ts.map +1 -1
- package/lib/services/integrations.js +32 -7
- package/lib/services/integrations.js.map +1 -1
- package/lib/services/kms.d.ts +1095 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +982 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/log_drains.d.ts +4 -4
- package/lib/services/log_drains.d.ts.map +1 -1
- package/lib/services/log_drains.js +1 -1
- package/lib/services/log_drains.js.map +1 -1
- package/lib/services/logs.js +1 -1
- package/lib/services/logs.js.map +1 -1
- package/lib/services/marketplace.d.ts +95 -33
- package/lib/services/marketplace.d.ts.map +1 -1
- package/lib/services/marketplace.js +123 -31
- package/lib/services/marketplace.js.map +1 -1
- package/lib/services/microfrontends.d.ts +290 -250
- package/lib/services/microfrontends.d.ts.map +1 -1
- package/lib/services/microfrontends.js +281 -244
- package/lib/services/microfrontends.js.map +1 -1
- package/lib/services/misc.d.ts +192 -0
- package/lib/services/misc.d.ts.map +1 -0
- package/lib/services/misc.js +125 -0
- package/lib/services/misc.js.map +1 -0
- package/lib/services/networking.d.ts +123 -2
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +132 -2
- package/lib/services/networking.js.map +1 -1
- package/lib/services/observability.js +1 -1
- package/lib/services/observability.js.map +1 -1
- package/lib/services/project_members.js +1 -1
- package/lib/services/project_members.js.map +1 -1
- package/lib/services/project_routes.d.ts.map +1 -1
- package/lib/services/project_routes.js +1 -1
- package/lib/services/project_routes.js.map +1 -1
- package/lib/services/projects.d.ts +356 -116
- package/lib/services/projects.d.ts.map +1 -1
- package/lib/services/projects.js +260 -64
- package/lib/services/projects.js.map +1 -1
- package/lib/services/rolling_release.d.ts +2 -2
- package/lib/services/rolling_release.d.ts.map +1 -1
- package/lib/services/rolling_release.js +1 -1
- package/lib/services/rolling_release.js.map +1 -1
- package/lib/services/sandboxes.d.ts +1007 -410
- package/lib/services/sandboxes.d.ts.map +1 -1
- package/lib/services/sandboxes.js +732 -293
- package/lib/services/sandboxes.js.map +1 -1
- package/lib/services/security.d.ts +590 -275
- package/lib/services/security.d.ts.map +1 -1
- package/lib/services/security.js +562 -208
- package/lib/services/security.js.map +1 -1
- package/lib/services/storage.d.ts +69 -69
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +59 -59
- package/lib/services/storage.js.map +1 -1
- package/lib/services/teams.d.ts +351 -328
- package/lib/services/teams.d.ts.map +1 -1
- package/lib/services/teams.js +299 -284
- package/lib/services/teams.js.map +1 -1
- package/lib/services/user.d.ts +4237 -3650
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +3426 -2935
- package/lib/services/user.js.map +1 -1
- package/lib/services/vcr.d.ts +80 -122
- package/lib/services/vcr.d.ts.map +1 -1
- package/lib/services/vcr.js +89 -144
- package/lib/services/vcr.js.map +1 -1
- package/lib/services/web_analytics.d.ts +42 -10
- package/lib/services/web_analytics.d.ts.map +1 -1
- package/lib/services/web_analytics.js +39 -9
- package/lib/services/web_analytics.js.map +1 -1
- package/lib/services/webhooks.d.ts +13 -1
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +11 -1
- package/lib/services/webhooks.js.map +1 -1
- package/package.json +6 -5
- package/src/services/access_groups.ts +5 -2
- package/src/services/ai_gateway.ts +1 -1
- package/src/services/aliases.ts +9 -8
- package/src/services/api_ai_gateway.ts +607 -0
- package/src/services/artifacts.ts +13 -13
- package/src/services/authentication.ts +1 -1
- package/src/services/billing.ts +358 -26
- package/src/services/bulk_redirects.ts +10 -10
- package/src/services/certs.ts +20 -26
- package/src/services/checks_v2.ts +11 -1
- package/src/services/connect.ts +3330 -1121
- package/src/services/deployments.ts +1513 -429
- package/src/services/dns.ts +26 -27
- package/src/services/domains.ts +119 -63
- package/src/services/domains_registrar.ts +37 -37
- package/src/services/drains.ts +35 -18
- package/src/services/edge_cache.ts +1 -1
- package/src/services/environment.ts +99 -95
- package/src/services/feature_flags.ts +332 -884
- package/src/services/global_config.ts +59 -57
- package/src/services/index.ts +3 -0
- package/src/services/integrations.ts +870 -668
- package/src/services/kms.ts +2631 -0
- package/src/services/log_drains.ts +73 -41
- package/src/services/logs.ts +1 -1
- package/src/services/marketplace.ts +324 -96
- package/src/services/microfrontends.ts +1582 -1306
- package/src/services/misc.ts +364 -0
- package/src/services/networking.ts +339 -4
- package/src/services/observability.ts +1 -1
- package/src/services/project_members.ts +1 -1
- package/src/services/project_routes.ts +25 -16
- package/src/services/projects.ts +1987 -691
- package/src/services/rolling_release.ts +100 -96
- package/src/services/sandboxes.ts +3013 -1268
- package/src/services/security.ts +3433 -1845
- package/src/services/storage.ts +145 -141
- package/src/services/teams.ts +1061 -986
- package/src/services/user.ts +8490 -6901
- package/src/services/vcr.ts +349 -443
- package/src/services/web_analytics.ts +83 -13
- package/src/services/webhooks.ts +32 -1
package/src/services/vcr.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
3
|
import * as API from "@distilled.cloud/core/api";
|
|
4
4
|
import * as C from "@distilled.cloud/core/category";
|
|
@@ -247,7 +247,7 @@ export const CreateRepositoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
247
247
|
identifier: "CreateRepositoryResponse",
|
|
248
248
|
}) as any as S.Schema<CreateRepositoryResponse>;
|
|
249
249
|
|
|
250
|
-
export interface
|
|
250
|
+
export interface DeleteBlobRequest {
|
|
251
251
|
/** Single Docker repository team slug component. */
|
|
252
252
|
teamSlug: string;
|
|
253
253
|
/** Single Docker repository project slug component. */
|
|
@@ -257,33 +257,31 @@ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestReque
|
|
|
257
257
|
/** Content-addressable digest (algorithm:hex). */
|
|
258
258
|
digest: string;
|
|
259
259
|
}
|
|
260
|
-
export const
|
|
261
|
-
|
|
262
|
-
S.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
"DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
|
|
277
|
-
}) as any as S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
|
|
260
|
+
export const DeleteBlobRequest = /*@__PURE__*/ S.suspend(() =>
|
|
261
|
+
S.Struct({
|
|
262
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
263
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
264
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
265
|
+
digest: S.String.pipe(T.Label()),
|
|
266
|
+
}).pipe(
|
|
267
|
+
T.Http({
|
|
268
|
+
method: "DELETE",
|
|
269
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
|
|
270
|
+
code: 200,
|
|
271
|
+
}),
|
|
272
|
+
),
|
|
273
|
+
).annotate({
|
|
274
|
+
identifier: "DeleteBlobRequest",
|
|
275
|
+
}) as any as S.Schema<DeleteBlobRequest>;
|
|
278
276
|
|
|
279
|
-
export interface
|
|
280
|
-
export const
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
277
|
+
export interface DeleteBlobResponse {}
|
|
278
|
+
export const DeleteBlobResponse = /*@__PURE__*/ S.suspend(() =>
|
|
279
|
+
S.Struct({}),
|
|
280
|
+
).annotate({
|
|
281
|
+
identifier: "DeleteBlobResponse",
|
|
282
|
+
}) as any as S.Schema<DeleteBlobResponse>;
|
|
285
283
|
|
|
286
|
-
export interface
|
|
284
|
+
export interface DeleteBlobsUploadRequest {
|
|
287
285
|
/** Single Docker repository team slug component. */
|
|
288
286
|
teamSlug: string;
|
|
289
287
|
/** Single Docker repository project slug component. */
|
|
@@ -293,34 +291,31 @@ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid
|
|
|
293
291
|
/** Blob upload session identifier. */
|
|
294
292
|
uuid: string;
|
|
295
293
|
}
|
|
296
|
-
export const
|
|
297
|
-
|
|
298
|
-
S.
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
"DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
|
|
313
|
-
}) as any as S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
|
|
294
|
+
export const DeleteBlobsUploadRequest = /*@__PURE__*/ S.suspend(() =>
|
|
295
|
+
S.Struct({
|
|
296
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
297
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
298
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
299
|
+
uuid: S.String.pipe(T.Label()),
|
|
300
|
+
}).pipe(
|
|
301
|
+
T.Http({
|
|
302
|
+
method: "DELETE",
|
|
303
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
|
|
304
|
+
code: 200,
|
|
305
|
+
}),
|
|
306
|
+
),
|
|
307
|
+
).annotate({
|
|
308
|
+
identifier: "DeleteBlobsUploadRequest",
|
|
309
|
+
}) as any as S.Schema<DeleteBlobsUploadRequest>;
|
|
314
310
|
|
|
315
|
-
export type
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}) as any as S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
|
|
311
|
+
export type DeleteBlobsUploadResponse = unknown;
|
|
312
|
+
export const DeleteBlobsUploadResponse = /*@__PURE__*/ S.suspend(() =>
|
|
313
|
+
S.Unknown.pipe(T.RawResponseRoot()),
|
|
314
|
+
).annotate({
|
|
315
|
+
identifier: "DeleteBlobsUploadResponse",
|
|
316
|
+
}) as any as S.Schema<DeleteBlobsUploadResponse>;
|
|
322
317
|
|
|
323
|
-
export interface
|
|
318
|
+
export interface DeleteManifestRequest {
|
|
324
319
|
/** Single Docker repository team slug component. */
|
|
325
320
|
teamSlug: string;
|
|
326
321
|
/** Single Docker repository project slug component. */
|
|
@@ -330,32 +325,29 @@ export interface DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferen
|
|
|
330
325
|
/** Content-addressable digest (algorithm:hex). */
|
|
331
326
|
reference: string;
|
|
332
327
|
}
|
|
333
|
-
export const
|
|
334
|
-
|
|
335
|
-
S.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
"DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
|
|
350
|
-
}) as any as S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
|
|
328
|
+
export const DeleteManifestRequest = /*@__PURE__*/ S.suspend(() =>
|
|
329
|
+
S.Struct({
|
|
330
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
331
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
332
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
333
|
+
reference: S.String.pipe(T.Label()),
|
|
334
|
+
}).pipe(
|
|
335
|
+
T.Http({
|
|
336
|
+
method: "DELETE",
|
|
337
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
|
|
338
|
+
code: 200,
|
|
339
|
+
}),
|
|
340
|
+
),
|
|
341
|
+
).annotate({
|
|
342
|
+
identifier: "DeleteManifestRequest",
|
|
343
|
+
}) as any as S.Schema<DeleteManifestRequest>;
|
|
351
344
|
|
|
352
|
-
export type
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}) as any as S.Schema<DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
|
|
345
|
+
export type DeleteManifestResponse = unknown;
|
|
346
|
+
export const DeleteManifestResponse = /*@__PURE__*/ S.suspend(() =>
|
|
347
|
+
S.Unknown.pipe(T.RawResponseRoot()),
|
|
348
|
+
).annotate({
|
|
349
|
+
identifier: "DeleteManifestResponse",
|
|
350
|
+
}) as any as S.Schema<DeleteManifestResponse>;
|
|
359
351
|
|
|
360
352
|
export interface DeleteRepositoryRequest {
|
|
361
353
|
idOrName: string;
|
|
@@ -423,7 +415,7 @@ export const DeleteRepositoryImageResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
423
415
|
identifier: "DeleteRepositoryImageResponse",
|
|
424
416
|
}) as any as S.Schema<DeleteRepositoryImageResponse>;
|
|
425
417
|
|
|
426
|
-
export interface
|
|
418
|
+
export interface GetBlobRequest {
|
|
427
419
|
/** Single Docker repository team slug component. */
|
|
428
420
|
teamSlug: string;
|
|
429
421
|
/** Single Docker repository project slug component. */
|
|
@@ -433,33 +425,29 @@ export interface GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest
|
|
|
433
425
|
/** Content-addressable digest (algorithm:hex). */
|
|
434
426
|
digest: string;
|
|
435
427
|
}
|
|
436
|
-
export const
|
|
437
|
-
|
|
438
|
-
S.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
).annotate({
|
|
451
|
-
identifier:
|
|
452
|
-
"GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
|
|
453
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
|
|
428
|
+
export const GetBlobRequest = /*@__PURE__*/ S.suspend(() =>
|
|
429
|
+
S.Struct({
|
|
430
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
431
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
432
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
433
|
+
digest: S.String.pipe(T.Label()),
|
|
434
|
+
}).pipe(
|
|
435
|
+
T.Http({
|
|
436
|
+
method: "GET",
|
|
437
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
|
|
438
|
+
code: 200,
|
|
439
|
+
}),
|
|
440
|
+
),
|
|
441
|
+
).annotate({ identifier: "GetBlobRequest" }) as any as S.Schema<GetBlobRequest>;
|
|
454
442
|
|
|
455
|
-
export interface
|
|
456
|
-
export const
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
443
|
+
export interface GetBlobResponse {}
|
|
444
|
+
export const GetBlobResponse = /*@__PURE__*/ S.suspend(() =>
|
|
445
|
+
S.Struct({}),
|
|
446
|
+
).annotate({
|
|
447
|
+
identifier: "GetBlobResponse",
|
|
448
|
+
}) as any as S.Schema<GetBlobResponse>;
|
|
461
449
|
|
|
462
|
-
export interface
|
|
450
|
+
export interface GetBlobsUploadRequest {
|
|
463
451
|
/** Single Docker repository team slug component. */
|
|
464
452
|
teamSlug: string;
|
|
465
453
|
/** Single Docker repository project slug component. */
|
|
@@ -469,34 +457,31 @@ export interface GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidReq
|
|
|
469
457
|
/** Blob upload session identifier. */
|
|
470
458
|
uuid: string;
|
|
471
459
|
}
|
|
472
|
-
export const
|
|
473
|
-
|
|
474
|
-
S.
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest",
|
|
489
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest>;
|
|
460
|
+
export const GetBlobsUploadRequest = /*@__PURE__*/ S.suspend(() =>
|
|
461
|
+
S.Struct({
|
|
462
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
463
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
464
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
465
|
+
uuid: S.String.pipe(T.Label()),
|
|
466
|
+
}).pipe(
|
|
467
|
+
T.Http({
|
|
468
|
+
method: "GET",
|
|
469
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}",
|
|
470
|
+
code: 200,
|
|
471
|
+
}),
|
|
472
|
+
),
|
|
473
|
+
).annotate({
|
|
474
|
+
identifier: "GetBlobsUploadRequest",
|
|
475
|
+
}) as any as S.Schema<GetBlobsUploadRequest>;
|
|
490
476
|
|
|
491
|
-
export type
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse>;
|
|
477
|
+
export type GetBlobsUploadResponse = unknown;
|
|
478
|
+
export const GetBlobsUploadResponse = /*@__PURE__*/ S.suspend(() =>
|
|
479
|
+
S.Unknown.pipe(T.RawResponseRoot()),
|
|
480
|
+
).annotate({
|
|
481
|
+
identifier: "GetBlobsUploadResponse",
|
|
482
|
+
}) as any as S.Schema<GetBlobsUploadResponse>;
|
|
498
483
|
|
|
499
|
-
export interface
|
|
484
|
+
export interface GetManifestRequest {
|
|
500
485
|
/** Single Docker repository team slug component. */
|
|
501
486
|
teamSlug: string;
|
|
502
487
|
/** Single Docker repository project slug component. */
|
|
@@ -506,82 +491,29 @@ export interface GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceR
|
|
|
506
491
|
/** Manifest reference: a tag or digest. */
|
|
507
492
|
reference: string;
|
|
508
493
|
}
|
|
509
|
-
export const
|
|
510
|
-
|
|
511
|
-
S.
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
code: 200,
|
|
521
|
-
}),
|
|
522
|
-
),
|
|
523
|
-
).annotate({
|
|
524
|
-
identifier:
|
|
525
|
-
"GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
|
|
526
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
|
|
527
|
-
|
|
528
|
-
export interface GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse {}
|
|
529
|
-
export const GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse =
|
|
530
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
531
|
-
identifier:
|
|
532
|
-
"GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse",
|
|
533
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse>;
|
|
534
|
-
|
|
535
|
-
export interface GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest {
|
|
536
|
-
/** Single Docker repository team slug component. */
|
|
537
|
-
teamSlug: string;
|
|
538
|
-
/** Single Docker repository project slug component. */
|
|
539
|
-
projectSlug: string;
|
|
540
|
-
/** Single Docker repository name component. */
|
|
541
|
-
repositoryName: string;
|
|
542
|
-
n?: number;
|
|
543
|
-
/** Opaque pagination cursor returned by a previous list response. */
|
|
544
|
-
last?: string;
|
|
545
|
-
}
|
|
546
|
-
export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest =
|
|
547
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
548
|
-
S.Struct({
|
|
549
|
-
teamSlug: S.String.pipe(T.Label()),
|
|
550
|
-
projectSlug: S.String.pipe(T.Label()),
|
|
551
|
-
repositoryName: S.String.pipe(T.Label()),
|
|
552
|
-
n: S.optional(S.Number.pipe(T.Query())),
|
|
553
|
-
last: S.optional(S.String.pipe(T.Query())),
|
|
554
|
-
}).pipe(
|
|
555
|
-
T.Http({
|
|
556
|
-
method: "GET",
|
|
557
|
-
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list",
|
|
558
|
-
code: 200,
|
|
559
|
-
}),
|
|
560
|
-
),
|
|
561
|
-
).annotate({
|
|
562
|
-
identifier: "GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest",
|
|
563
|
-
}) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameTagsListRequest>;
|
|
564
|
-
|
|
565
|
-
export type GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList =
|
|
566
|
-
Array<string>;
|
|
567
|
-
export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList =
|
|
568
|
-
/*@__PURE__*/ S.Array(
|
|
569
|
-
S.String,
|
|
570
|
-
) as any as S.Schema<GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList>;
|
|
571
|
-
|
|
572
|
-
export interface GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse {
|
|
573
|
-
name: string;
|
|
574
|
-
tags: GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList;
|
|
575
|
-
}
|
|
576
|
-
export const GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponse =
|
|
577
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
578
|
-
S.Struct({
|
|
579
|
-
name: S.String,
|
|
580
|
-
tags: GetByTeamSlugByProjectSlugByRepositoryNameTagsListResponseTagsList,
|
|
494
|
+
export const GetManifestRequest = /*@__PURE__*/ S.suspend(() =>
|
|
495
|
+
S.Struct({
|
|
496
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
497
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
498
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
499
|
+
reference: S.String.pipe(T.Label()),
|
|
500
|
+
}).pipe(
|
|
501
|
+
T.Http({
|
|
502
|
+
method: "GET",
|
|
503
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
|
|
504
|
+
code: 200,
|
|
581
505
|
}),
|
|
582
|
-
)
|
|
583
|
-
|
|
584
|
-
|
|
506
|
+
),
|
|
507
|
+
).annotate({
|
|
508
|
+
identifier: "GetManifestRequest",
|
|
509
|
+
}) as any as S.Schema<GetManifestRequest>;
|
|
510
|
+
|
|
511
|
+
export interface GetManifestResponse {}
|
|
512
|
+
export const GetManifestResponse = /*@__PURE__*/ S.suspend(() =>
|
|
513
|
+
S.Struct({}),
|
|
514
|
+
).annotate({
|
|
515
|
+
identifier: "GetManifestResponse",
|
|
516
|
+
}) as any as S.Schema<GetManifestResponse>;
|
|
585
517
|
|
|
586
518
|
export interface GetRepositoryRequest {
|
|
587
519
|
idOrName: string;
|
|
@@ -868,10 +800,6 @@ export const VcrImageDetailLayersList = /*@__PURE__*/ S.Array(
|
|
|
868
800
|
VcrImageLayer,
|
|
869
801
|
) as any as S.Schema<VcrImageDetailLayersList>;
|
|
870
802
|
|
|
871
|
-
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
872
|
-
export type VcrImageDetailStatus = "preparing" | "ready" | "unoptimized";
|
|
873
|
-
export const VcrImageDetailStatus = /*@__PURE__*/ S.String;
|
|
874
|
-
|
|
875
803
|
/** Tags pointing at this image's manifest. */
|
|
876
804
|
export type VcrImageDetailTagsList = Array<string>;
|
|
877
805
|
export const VcrImageDetailTagsList = /*@__PURE__*/ S.Array(
|
|
@@ -882,54 +810,13 @@ export const VcrImageDetailTagsList = /*@__PURE__*/ S.Array(
|
|
|
882
810
|
export type VcrImageDetailKind = "attestation" | "index" | "manifest";
|
|
883
811
|
export const VcrImageDetailKind = /*@__PURE__*/ S.String;
|
|
884
812
|
|
|
885
|
-
|
|
886
|
-
export
|
|
887
|
-
|
|
888
|
-
) as any as S.Schema<VcrImageDetailVhsConfigCommandList>;
|
|
889
|
-
|
|
890
|
-
export type VcrImageDetailVhsConfigEntrypointList = Array<string>;
|
|
891
|
-
export const VcrImageDetailVhsConfigEntrypointList = /*@__PURE__*/ S.Array(
|
|
892
|
-
S.String,
|
|
893
|
-
) as any as S.Schema<VcrImageDetailVhsConfigEntrypointList>;
|
|
894
|
-
|
|
895
|
-
/** Optional VHS drive configuration captured for an optimized image. */
|
|
896
|
-
export interface VcrImageDetailVhsConfig {
|
|
897
|
-
command?: VcrImageDetailVhsConfigCommandList;
|
|
898
|
-
entrypoint?: VcrImageDetailVhsConfigEntrypointList;
|
|
899
|
-
workingDir?: string;
|
|
900
|
-
}
|
|
901
|
-
export const VcrImageDetailVhsConfig = /*@__PURE__*/ S.suspend(() =>
|
|
902
|
-
S.Struct({
|
|
903
|
-
command: S.optional(VcrImageDetailVhsConfigCommandList),
|
|
904
|
-
entrypoint: S.optional(VcrImageDetailVhsConfigEntrypointList),
|
|
905
|
-
workingDir: S.optional(S.String),
|
|
906
|
-
}),
|
|
907
|
-
).annotate({
|
|
908
|
-
identifier: "VcrImageDetailVhsConfig",
|
|
909
|
-
}) as any as S.Schema<VcrImageDetailVhsConfig>;
|
|
910
|
-
|
|
911
|
-
/** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
|
|
912
|
-
export interface VcrImageDetailVhs {
|
|
913
|
-
path: string;
|
|
914
|
-
digest: string;
|
|
915
|
-
/** Optional VHS drive configuration captured for an optimized image. */
|
|
916
|
-
config?: VcrImageDetailVhsConfig;
|
|
917
|
-
}
|
|
918
|
-
export const VcrImageDetailVhs = /*@__PURE__*/ S.suspend(() =>
|
|
919
|
-
S.Struct({
|
|
920
|
-
path: S.String,
|
|
921
|
-
digest: S.String,
|
|
922
|
-
config: S.optional(VcrImageDetailVhsConfig),
|
|
923
|
-
}),
|
|
924
|
-
).annotate({
|
|
925
|
-
identifier: "VcrImageDetailVhs",
|
|
926
|
-
}) as any as S.Schema<VcrImageDetailVhs>;
|
|
813
|
+
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
814
|
+
export type VcrImageDetailStatus = "preparing" | "ready" | "unoptimized";
|
|
815
|
+
export const VcrImageDetailStatus = /*@__PURE__*/ S.String;
|
|
927
816
|
|
|
928
817
|
/** A single image with its tags, status and resolved Dockerfile layer history. */
|
|
929
818
|
export interface VcrImageDetail {
|
|
930
819
|
layers: VcrImageDetailLayersList;
|
|
931
|
-
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
932
|
-
status: VcrImageDetailStatus | null;
|
|
933
820
|
/** Tags pointing at this image's manifest. */
|
|
934
821
|
tags: VcrImageDetailTagsList;
|
|
935
822
|
/** Internal identifier of the image. */
|
|
@@ -948,15 +835,14 @@ export interface VcrImageDetail {
|
|
|
948
835
|
pushedBy?: string;
|
|
949
836
|
/** Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry. */
|
|
950
837
|
sizeInBytes: number;
|
|
951
|
-
/**
|
|
952
|
-
|
|
838
|
+
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
839
|
+
status: VcrImageDetailStatus | null;
|
|
953
840
|
/** ISO 8601 timestamp of when the image was created. */
|
|
954
841
|
createdAt: string;
|
|
955
842
|
}
|
|
956
843
|
export const VcrImageDetail = /*@__PURE__*/ S.suspend(() =>
|
|
957
844
|
S.Struct({
|
|
958
845
|
layers: VcrImageDetailLayersList,
|
|
959
|
-
status: S.NullOr(VcrImageDetailStatus),
|
|
960
846
|
tags: VcrImageDetailTagsList,
|
|
961
847
|
id: S.String,
|
|
962
848
|
repositoryId: S.String,
|
|
@@ -966,7 +852,7 @@ export const VcrImageDetail = /*@__PURE__*/ S.suspend(() =>
|
|
|
966
852
|
arch: S.optional(S.String),
|
|
967
853
|
pushedBy: S.optional(S.String),
|
|
968
854
|
sizeInBytes: S.Number,
|
|
969
|
-
|
|
855
|
+
status: S.NullOr(VcrImageDetailStatus),
|
|
970
856
|
createdAt: S.String,
|
|
971
857
|
}),
|
|
972
858
|
).annotate({ identifier: "VcrImageDetail" }) as any as S.Schema<VcrImageDetail>;
|
|
@@ -1081,7 +967,54 @@ export const GetRootResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1081
967
|
identifier: "GetRootResponse",
|
|
1082
968
|
}) as any as S.Schema<GetRootResponse>;
|
|
1083
969
|
|
|
1084
|
-
export interface
|
|
970
|
+
export interface GetTagsListRequest {
|
|
971
|
+
/** Single Docker repository team slug component. */
|
|
972
|
+
teamSlug: string;
|
|
973
|
+
/** Single Docker repository project slug component. */
|
|
974
|
+
projectSlug: string;
|
|
975
|
+
/** Single Docker repository name component. */
|
|
976
|
+
repositoryName: string;
|
|
977
|
+
n?: number;
|
|
978
|
+
/** Opaque pagination cursor returned by a previous list response. */
|
|
979
|
+
last?: string;
|
|
980
|
+
}
|
|
981
|
+
export const GetTagsListRequest = /*@__PURE__*/ S.suspend(() =>
|
|
982
|
+
S.Struct({
|
|
983
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
984
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
985
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
986
|
+
n: S.optional(S.Number.pipe(T.Query())),
|
|
987
|
+
last: S.optional(S.String.pipe(T.Query())),
|
|
988
|
+
}).pipe(
|
|
989
|
+
T.Http({
|
|
990
|
+
method: "GET",
|
|
991
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list",
|
|
992
|
+
code: 200,
|
|
993
|
+
}),
|
|
994
|
+
),
|
|
995
|
+
).annotate({
|
|
996
|
+
identifier: "GetTagsListRequest",
|
|
997
|
+
}) as any as S.Schema<GetTagsListRequest>;
|
|
998
|
+
|
|
999
|
+
export type GetTagsListResponseTagsList = Array<string>;
|
|
1000
|
+
export const GetTagsListResponseTagsList = /*@__PURE__*/ S.Array(
|
|
1001
|
+
S.String,
|
|
1002
|
+
) as any as S.Schema<GetTagsListResponseTagsList>;
|
|
1003
|
+
|
|
1004
|
+
export interface GetTagsListResponse {
|
|
1005
|
+
name: string;
|
|
1006
|
+
tags: GetTagsListResponseTagsList;
|
|
1007
|
+
}
|
|
1008
|
+
export const GetTagsListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1009
|
+
S.Struct({
|
|
1010
|
+
name: S.String,
|
|
1011
|
+
tags: GetTagsListResponseTagsList,
|
|
1012
|
+
}),
|
|
1013
|
+
).annotate({
|
|
1014
|
+
identifier: "GetTagsListResponse",
|
|
1015
|
+
}) as any as S.Schema<GetTagsListResponse>;
|
|
1016
|
+
|
|
1017
|
+
export interface HeadBlobRequest {
|
|
1085
1018
|
/** Single Docker repository team slug component. */
|
|
1086
1019
|
teamSlug: string;
|
|
1087
1020
|
/** Single Docker repository project slug component. */
|
|
@@ -1091,33 +1024,31 @@ export interface HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest
|
|
|
1091
1024
|
/** Content-addressable digest (algorithm:hex). */
|
|
1092
1025
|
digest: string;
|
|
1093
1026
|
}
|
|
1094
|
-
export const
|
|
1095
|
-
|
|
1096
|
-
S.
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
"HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest",
|
|
1111
|
-
}) as any as S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest>;
|
|
1027
|
+
export const HeadBlobRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1028
|
+
S.Struct({
|
|
1029
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
1030
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
1031
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
1032
|
+
digest: S.String.pipe(T.Label()),
|
|
1033
|
+
}).pipe(
|
|
1034
|
+
T.Http({
|
|
1035
|
+
method: "HEAD",
|
|
1036
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/{digest}",
|
|
1037
|
+
code: 200,
|
|
1038
|
+
}),
|
|
1039
|
+
),
|
|
1040
|
+
).annotate({
|
|
1041
|
+
identifier: "HeadBlobRequest",
|
|
1042
|
+
}) as any as S.Schema<HeadBlobRequest>;
|
|
1112
1043
|
|
|
1113
|
-
export interface
|
|
1114
|
-
export const
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1044
|
+
export interface HeadBlobResponse {}
|
|
1045
|
+
export const HeadBlobResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1046
|
+
S.Struct({}),
|
|
1047
|
+
).annotate({
|
|
1048
|
+
identifier: "HeadBlobResponse",
|
|
1049
|
+
}) as any as S.Schema<HeadBlobResponse>;
|
|
1119
1050
|
|
|
1120
|
-
export interface
|
|
1051
|
+
export interface HeadManifestRequest {
|
|
1121
1052
|
/** Single Docker repository team slug component. */
|
|
1122
1053
|
teamSlug: string;
|
|
1123
1054
|
/** Single Docker repository project slug component. */
|
|
@@ -1127,31 +1058,29 @@ export interface HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReference
|
|
|
1127
1058
|
/** Manifest reference: a tag or digest. */
|
|
1128
1059
|
reference: string;
|
|
1129
1060
|
}
|
|
1130
|
-
export const
|
|
1131
|
-
|
|
1132
|
-
S.
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
"HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest",
|
|
1147
|
-
}) as any as S.Schema<HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest>;
|
|
1061
|
+
export const HeadManifestRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1062
|
+
S.Struct({
|
|
1063
|
+
teamSlug: S.String.pipe(T.Label()),
|
|
1064
|
+
projectSlug: S.String.pipe(T.Label()),
|
|
1065
|
+
repositoryName: S.String.pipe(T.Label()),
|
|
1066
|
+
reference: S.String.pipe(T.Label()),
|
|
1067
|
+
}).pipe(
|
|
1068
|
+
T.Http({
|
|
1069
|
+
method: "HEAD",
|
|
1070
|
+
uri: "/v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}",
|
|
1071
|
+
code: 200,
|
|
1072
|
+
}),
|
|
1073
|
+
),
|
|
1074
|
+
).annotate({
|
|
1075
|
+
identifier: "HeadManifestRequest",
|
|
1076
|
+
}) as any as S.Schema<HeadManifestRequest>;
|
|
1148
1077
|
|
|
1149
|
-
export interface
|
|
1150
|
-
export const
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1078
|
+
export interface HeadManifestResponse {}
|
|
1079
|
+
export const HeadManifestResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1080
|
+
S.Struct({}),
|
|
1081
|
+
).annotate({
|
|
1082
|
+
identifier: "HeadManifestResponse",
|
|
1083
|
+
}) as any as S.Schema<HeadManifestResponse>;
|
|
1155
1084
|
|
|
1156
1085
|
export interface ListRepositoriesRequest {
|
|
1157
1086
|
projectId: string;
|
|
@@ -1227,10 +1156,6 @@ export const ListRepositoryImagesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1227
1156
|
identifier: "ListRepositoryImagesRequest",
|
|
1228
1157
|
}) as any as S.Schema<ListRepositoryImagesRequest>;
|
|
1229
1158
|
|
|
1230
|
-
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
1231
|
-
export type VcrImageListItemStatus = "preparing" | "ready" | "unoptimized";
|
|
1232
|
-
export const VcrImageListItemStatus = /*@__PURE__*/ S.String;
|
|
1233
|
-
|
|
1234
1159
|
/** Tags pointing at this image's manifest. */
|
|
1235
1160
|
export type VcrImageListItemTagsList = Array<string>;
|
|
1236
1161
|
export const VcrImageListItemTagsList = /*@__PURE__*/ S.Array(
|
|
@@ -1241,53 +1166,12 @@ export const VcrImageListItemTagsList = /*@__PURE__*/ S.Array(
|
|
|
1241
1166
|
export type VcrImageListItemKind = "attestation" | "index" | "manifest";
|
|
1242
1167
|
export const VcrImageListItemKind = /*@__PURE__*/ S.String;
|
|
1243
1168
|
|
|
1244
|
-
|
|
1245
|
-
export
|
|
1246
|
-
|
|
1247
|
-
) as any as S.Schema<VcrImageListItemVhsConfigCommandList>;
|
|
1248
|
-
|
|
1249
|
-
export type VcrImageListItemVhsConfigEntrypointList = Array<string>;
|
|
1250
|
-
export const VcrImageListItemVhsConfigEntrypointList = /*@__PURE__*/ S.Array(
|
|
1251
|
-
S.String,
|
|
1252
|
-
) as any as S.Schema<VcrImageListItemVhsConfigEntrypointList>;
|
|
1253
|
-
|
|
1254
|
-
/** Optional VHS drive configuration captured for an optimized image. */
|
|
1255
|
-
export interface VcrImageListItemVhsConfig {
|
|
1256
|
-
command?: VcrImageListItemVhsConfigCommandList;
|
|
1257
|
-
entrypoint?: VcrImageListItemVhsConfigEntrypointList;
|
|
1258
|
-
workingDir?: string;
|
|
1259
|
-
}
|
|
1260
|
-
export const VcrImageListItemVhsConfig = /*@__PURE__*/ S.suspend(() =>
|
|
1261
|
-
S.Struct({
|
|
1262
|
-
command: S.optional(VcrImageListItemVhsConfigCommandList),
|
|
1263
|
-
entrypoint: S.optional(VcrImageListItemVhsConfigEntrypointList),
|
|
1264
|
-
workingDir: S.optional(S.String),
|
|
1265
|
-
}),
|
|
1266
|
-
).annotate({
|
|
1267
|
-
identifier: "VcrImageListItemVhsConfig",
|
|
1268
|
-
}) as any as S.Schema<VcrImageListItemVhsConfig>;
|
|
1269
|
-
|
|
1270
|
-
/** Converted VHS drive data, present once an image has been optimized for sandbox launch. */
|
|
1271
|
-
export interface VcrImageListItemVhs {
|
|
1272
|
-
path: string;
|
|
1273
|
-
digest: string;
|
|
1274
|
-
/** Optional VHS drive configuration captured for an optimized image. */
|
|
1275
|
-
config?: VcrImageListItemVhsConfig;
|
|
1276
|
-
}
|
|
1277
|
-
export const VcrImageListItemVhs = /*@__PURE__*/ S.suspend(() =>
|
|
1278
|
-
S.Struct({
|
|
1279
|
-
path: S.String,
|
|
1280
|
-
digest: S.String,
|
|
1281
|
-
config: S.optional(VcrImageListItemVhsConfig),
|
|
1282
|
-
}),
|
|
1283
|
-
).annotate({
|
|
1284
|
-
identifier: "VcrImageListItemVhs",
|
|
1285
|
-
}) as any as S.Schema<VcrImageListItemVhs>;
|
|
1169
|
+
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
1170
|
+
export type VcrImageListItemStatus = "preparing" | "ready" | "unoptimized";
|
|
1171
|
+
export const VcrImageListItemStatus = /*@__PURE__*/ S.String;
|
|
1286
1172
|
|
|
1287
1173
|
/** An image enriched with its tags and VHS-readiness status, as returned when listing a repository's images. */
|
|
1288
1174
|
export interface VcrImageListItem {
|
|
1289
|
-
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
1290
|
-
status: VcrImageListItemStatus | null;
|
|
1291
1175
|
/** Tags pointing at this image's manifest. */
|
|
1292
1176
|
tags: VcrImageListItemTagsList;
|
|
1293
1177
|
/** Internal identifier of the image. */
|
|
@@ -1306,14 +1190,13 @@ export interface VcrImageListItem {
|
|
|
1306
1190
|
pushedBy?: string;
|
|
1307
1191
|
/** Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry. */
|
|
1308
1192
|
sizeInBytes: number;
|
|
1309
|
-
/**
|
|
1310
|
-
|
|
1193
|
+
/** VHS-readiness status, or `null` for a multi-platform index. */
|
|
1194
|
+
status: VcrImageListItemStatus | null;
|
|
1311
1195
|
/** ISO 8601 timestamp of when the image was created. */
|
|
1312
1196
|
createdAt: string;
|
|
1313
1197
|
}
|
|
1314
1198
|
export const VcrImageListItem = /*@__PURE__*/ S.suspend(() =>
|
|
1315
1199
|
S.Struct({
|
|
1316
|
-
status: S.NullOr(VcrImageListItemStatus),
|
|
1317
1200
|
tags: VcrImageListItemTagsList,
|
|
1318
1201
|
id: S.String,
|
|
1319
1202
|
repositoryId: S.String,
|
|
@@ -1323,7 +1206,7 @@ export const VcrImageListItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
1323
1206
|
arch: S.optional(S.String),
|
|
1324
1207
|
pushedBy: S.optional(S.String),
|
|
1325
1208
|
sizeInBytes: S.Number,
|
|
1326
|
-
|
|
1209
|
+
status: S.NullOr(VcrImageListItemStatus),
|
|
1327
1210
|
createdAt: S.String,
|
|
1328
1211
|
}),
|
|
1329
1212
|
).annotate({
|
|
@@ -1732,56 +1615,61 @@ export const createRepository: API.OperationMethod<
|
|
|
1732
1615
|
retry: Retry.Retry,
|
|
1733
1616
|
}));
|
|
1734
1617
|
|
|
1735
|
-
export type
|
|
1618
|
+
export type DeleteBlobError =
|
|
1736
1619
|
| BadRequest
|
|
1737
1620
|
| PaymentRequired
|
|
1738
1621
|
| Forbidden
|
|
1739
1622
|
| NotFound
|
|
1740
1623
|
| VercelOpError;
|
|
1741
1624
|
/** Delete a blob DELETE /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Blob deletion is intentionally not supported. Matches the behaviour of most public registries. */
|
|
1742
|
-
export const
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1625
|
+
export const deleteBlob: API.OperationMethod<
|
|
1626
|
+
DeleteBlobRequest,
|
|
1627
|
+
DeleteBlobResponse,
|
|
1628
|
+
DeleteBlobError,
|
|
1746
1629
|
VercelOpContext
|
|
1747
1630
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1748
|
-
input:
|
|
1749
|
-
output:
|
|
1631
|
+
input: DeleteBlobRequest,
|
|
1632
|
+
output: DeleteBlobResponse,
|
|
1750
1633
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1751
1634
|
protocol: VercelProtocol,
|
|
1752
1635
|
retry: Retry.Retry,
|
|
1753
1636
|
}));
|
|
1754
1637
|
|
|
1755
|
-
export type
|
|
1756
|
-
|
|
1638
|
+
export type DeleteBlobsUploadError =
|
|
1639
|
+
| BadRequest
|
|
1640
|
+
| PaymentRequired
|
|
1641
|
+
| Forbidden
|
|
1642
|
+
| NotFound
|
|
1643
|
+
| VercelOpError;
|
|
1757
1644
|
/** 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. */
|
|
1758
|
-
export const
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1645
|
+
export const deleteBlobsUpload: API.OperationMethod<
|
|
1646
|
+
DeleteBlobsUploadRequest,
|
|
1647
|
+
DeleteBlobsUploadResponse,
|
|
1648
|
+
DeleteBlobsUploadError,
|
|
1762
1649
|
VercelOpContext
|
|
1763
1650
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1764
|
-
input:
|
|
1765
|
-
output:
|
|
1766
|
-
DeleteByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidResponse,
|
|
1651
|
+
input: DeleteBlobsUploadRequest,
|
|
1652
|
+
output: DeleteBlobsUploadResponse,
|
|
1767
1653
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1768
1654
|
protocol: VercelProtocol,
|
|
1769
1655
|
retry: Retry.Retry,
|
|
1770
1656
|
}));
|
|
1771
1657
|
|
|
1772
|
-
export type
|
|
1773
|
-
|
|
1658
|
+
export type DeleteManifestError =
|
|
1659
|
+
| BadRequest
|
|
1660
|
+
| PaymentRequired
|
|
1661
|
+
| Forbidden
|
|
1662
|
+
| NotFound
|
|
1663
|
+
| VercelOpError;
|
|
1774
1664
|
/** Delete an image manifest DELETE /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Reference must be a digest. */
|
|
1775
|
-
export const
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1665
|
+
export const deleteManifest: API.OperationMethod<
|
|
1666
|
+
DeleteManifestRequest,
|
|
1667
|
+
DeleteManifestResponse,
|
|
1668
|
+
DeleteManifestError,
|
|
1779
1669
|
VercelOpContext
|
|
1780
1670
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1781
|
-
input:
|
|
1782
|
-
|
|
1783
|
-
output:
|
|
1784
|
-
DeleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
|
|
1671
|
+
input: DeleteManifestRequest,
|
|
1672
|
+
output: DeleteManifestResponse,
|
|
1785
1673
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1786
1674
|
protocol: VercelProtocol,
|
|
1787
1675
|
retry: Retry.Retry,
|
|
@@ -1825,78 +1713,61 @@ export const deleteRepositoryImage: API.OperationMethod<
|
|
|
1825
1713
|
retry: Retry.Retry,
|
|
1826
1714
|
}));
|
|
1827
1715
|
|
|
1828
|
-
export type
|
|
1716
|
+
export type GetBlobError =
|
|
1829
1717
|
| BadRequest
|
|
1830
1718
|
| PaymentRequired
|
|
1831
1719
|
| Forbidden
|
|
1832
1720
|
| NotFound
|
|
1833
1721
|
| VercelOpError;
|
|
1834
1722
|
/** Download a blob GET /v2/:teamSlug/:projectSlug/:repositoryName/blobs/:digest Fetch a blob by digest. */
|
|
1835
|
-
export const
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1723
|
+
export const getBlob: API.OperationMethod<
|
|
1724
|
+
GetBlobRequest,
|
|
1725
|
+
GetBlobResponse,
|
|
1726
|
+
GetBlobError,
|
|
1839
1727
|
VercelOpContext
|
|
1840
1728
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1841
|
-
input:
|
|
1842
|
-
output:
|
|
1729
|
+
input: GetBlobRequest,
|
|
1730
|
+
output: GetBlobResponse,
|
|
1843
1731
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1844
1732
|
protocol: VercelProtocol,
|
|
1845
1733
|
retry: Retry.Retry,
|
|
1846
1734
|
}));
|
|
1847
1735
|
|
|
1848
|
-
export type
|
|
1736
|
+
export type GetBlobsUploadError =
|
|
1849
1737
|
| BadRequest
|
|
1850
1738
|
| PaymentRequired
|
|
1851
1739
|
| Forbidden
|
|
1852
1740
|
| NotFound
|
|
1853
1741
|
| VercelOpError;
|
|
1854
1742
|
/** 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. */
|
|
1855
|
-
export const
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1743
|
+
export const getBlobsUpload: API.OperationMethod<
|
|
1744
|
+
GetBlobsUploadRequest,
|
|
1745
|
+
GetBlobsUploadResponse,
|
|
1746
|
+
GetBlobsUploadError,
|
|
1859
1747
|
VercelOpContext
|
|
1860
1748
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1861
|
-
input:
|
|
1862
|
-
output:
|
|
1749
|
+
input: GetBlobsUploadRequest,
|
|
1750
|
+
output: GetBlobsUploadResponse,
|
|
1863
1751
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1864
1752
|
protocol: VercelProtocol,
|
|
1865
1753
|
retry: Retry.Retry,
|
|
1866
1754
|
}));
|
|
1867
1755
|
|
|
1868
|
-
export type
|
|
1869
|
-
BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
|
|
1870
|
-
/** Pull an image manifest GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest. */
|
|
1871
|
-
export const getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<
|
|
1872
|
-
GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
|
|
1873
|
-
GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
|
|
1874
|
-
GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError,
|
|
1875
|
-
VercelOpContext
|
|
1876
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
1877
|
-
input: GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
|
|
1878
|
-
output:
|
|
1879
|
-
GetByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
|
|
1880
|
-
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1881
|
-
protocol: VercelProtocol,
|
|
1882
|
-
retry: Retry.Retry,
|
|
1883
|
-
}));
|
|
1884
|
-
|
|
1885
|
-
export type GetByTeamSlugByProjectSlugByRepositoryNameTagsListError =
|
|
1756
|
+
export type GetManifestError =
|
|
1886
1757
|
| BadRequest
|
|
1887
1758
|
| PaymentRequired
|
|
1888
1759
|
| Forbidden
|
|
1889
1760
|
| NotFound
|
|
1890
1761
|
| VercelOpError;
|
|
1891
|
-
/**
|
|
1892
|
-
export const
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1762
|
+
/** Pull an image manifest GET /v2/:teamSlug/:projectSlug/:repositoryName/manifests/:reference Fetch a manifest by tag or digest. */
|
|
1763
|
+
export const getManifest: API.OperationMethod<
|
|
1764
|
+
GetManifestRequest,
|
|
1765
|
+
GetManifestResponse,
|
|
1766
|
+
GetManifestError,
|
|
1896
1767
|
VercelOpContext
|
|
1897
1768
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1898
|
-
input:
|
|
1899
|
-
output:
|
|
1769
|
+
input: GetManifestRequest,
|
|
1770
|
+
output: GetManifestResponse,
|
|
1900
1771
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1901
1772
|
protocol: VercelProtocol,
|
|
1902
1773
|
retry: Retry.Retry,
|
|
@@ -1979,38 +1850,61 @@ export const getRoot: API.OperationMethod<
|
|
|
1979
1850
|
retry: Retry.Retry,
|
|
1980
1851
|
}));
|
|
1981
1852
|
|
|
1982
|
-
export type
|
|
1853
|
+
export type GetTagsListError =
|
|
1854
|
+
| BadRequest
|
|
1855
|
+
| PaymentRequired
|
|
1856
|
+
| Forbidden
|
|
1857
|
+
| NotFound
|
|
1858
|
+
| VercelOpError;
|
|
1859
|
+
/** List image tags GET /v2/:teamSlug/:projectSlug/:repositoryName/tags/list List the tags in a repository. */
|
|
1860
|
+
export const getTagsList: API.OperationMethod<
|
|
1861
|
+
GetTagsListRequest,
|
|
1862
|
+
GetTagsListResponse,
|
|
1863
|
+
GetTagsListError,
|
|
1864
|
+
VercelOpContext
|
|
1865
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1866
|
+
input: GetTagsListRequest,
|
|
1867
|
+
output: GetTagsListResponse,
|
|
1868
|
+
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1869
|
+
protocol: VercelProtocol,
|
|
1870
|
+
retry: Retry.Retry,
|
|
1871
|
+
}));
|
|
1872
|
+
|
|
1873
|
+
export type HeadBlobError =
|
|
1983
1874
|
| BadRequest
|
|
1984
1875
|
| PaymentRequired
|
|
1985
1876
|
| Forbidden
|
|
1986
1877
|
| NotFound
|
|
1987
1878
|
| VercelOpError;
|
|
1988
1879
|
/** 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. */
|
|
1989
|
-
export const
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1880
|
+
export const headBlob: API.OperationMethod<
|
|
1881
|
+
HeadBlobRequest,
|
|
1882
|
+
HeadBlobResponse,
|
|
1883
|
+
HeadBlobError,
|
|
1993
1884
|
VercelOpContext
|
|
1994
1885
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1995
|
-
input:
|
|
1996
|
-
output:
|
|
1886
|
+
input: HeadBlobRequest,
|
|
1887
|
+
output: HeadBlobResponse,
|
|
1997
1888
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
1998
1889
|
protocol: VercelProtocol,
|
|
1999
1890
|
retry: Retry.Retry,
|
|
2000
1891
|
}));
|
|
2001
1892
|
|
|
2002
|
-
export type
|
|
2003
|
-
|
|
1893
|
+
export type HeadManifestError =
|
|
1894
|
+
| BadRequest
|
|
1895
|
+
| PaymentRequired
|
|
1896
|
+
| Forbidden
|
|
1897
|
+
| NotFound
|
|
1898
|
+
| VercelOpError;
|
|
2004
1899
|
/** 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. */
|
|
2005
|
-
export const
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
1900
|
+
export const headManifest: API.OperationMethod<
|
|
1901
|
+
HeadManifestRequest,
|
|
1902
|
+
HeadManifestResponse,
|
|
1903
|
+
HeadManifestError,
|
|
2009
1904
|
VercelOpContext
|
|
2010
1905
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2011
|
-
input:
|
|
2012
|
-
output:
|
|
2013
|
-
HeadByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceResponse,
|
|
1906
|
+
input: HeadManifestRequest,
|
|
1907
|
+
output: HeadManifestResponse,
|
|
2014
1908
|
errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
|
|
2015
1909
|
protocol: VercelProtocol,
|
|
2016
1910
|
retry: Retry.Retry,
|
|
@@ -2112,7 +2006,11 @@ export const removeRepositoryPermission: API.OperationMethod<
|
|
|
2112
2006
|
}));
|
|
2113
2007
|
|
|
2114
2008
|
export type ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError =
|
|
2115
|
-
|
|
2009
|
+
| BadRequest
|
|
2010
|
+
| PaymentRequired
|
|
2011
|
+
| Forbidden
|
|
2012
|
+
| NotFound
|
|
2013
|
+
| VercelOpError;
|
|
2116
2014
|
/** 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. */
|
|
2117
2015
|
export const replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<
|
|
2118
2016
|
ReplaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
|
|
@@ -2130,7 +2028,11 @@ export const replaceByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: A
|
|
|
2130
2028
|
}));
|
|
2131
2029
|
|
|
2132
2030
|
export type ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceError =
|
|
2133
|
-
|
|
2031
|
+
| BadRequest
|
|
2032
|
+
| PaymentRequired
|
|
2033
|
+
| Forbidden
|
|
2034
|
+
| NotFound
|
|
2035
|
+
| VercelOpError;
|
|
2134
2036
|
/** 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. */
|
|
2135
2037
|
export const replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference: API.OperationMethod<
|
|
2136
2038
|
ReplaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReferenceRequest,
|
|
@@ -2148,7 +2050,11 @@ export const replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference:
|
|
|
2148
2050
|
}));
|
|
2149
2051
|
|
|
2150
2052
|
export type UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidError =
|
|
2151
|
-
|
|
2053
|
+
| BadRequest
|
|
2054
|
+
| PaymentRequired
|
|
2055
|
+
| Forbidden
|
|
2056
|
+
| NotFound
|
|
2057
|
+
| VercelOpError;
|
|
2152
2058
|
/** 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. */
|
|
2153
2059
|
export const updateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuid: API.OperationMethod<
|
|
2154
2060
|
UpdateByTeamSlugByProjectSlugByRepositoryNameBlobsUploadsByUuidRequest,
|