diff --git a/types/defines/artifacts.d.ts b/types/defines/artifacts.d.ts index 9d6188ab77b..e6604640fb9 100644 --- a/types/defines/artifacts.d.ts +++ b/types/defines/artifacts.d.ts @@ -45,16 +45,14 @@ interface ArtifactsCreateRepoResult { defaultBranch: string; /** HTTPS git remote URL. */ remote: string; - /** Plaintext access token (only returned at creation time). */ + /** Plaintext access token (only returned at creation time). The token encodes its expiry as `art_v1_?expires=`. */ token: string; - /** ISO 8601 token expiry timestamp. */ - tokenExpiresAt: string; } /** Paginated list of repositories. */ interface ArtifactsRepoListResult { - /** Repositories in this page (without the `remote` field). */ - repos: Omit[]; + /** Repositories in this page. */ + repos: ArtifactsRepoInfo[]; /** Total number of repositories in the namespace. */ total: number; /** Cursor for the next page, if there are more results. */ diff --git a/types/generated-snapshot/experimental/index.d.ts b/types/generated-snapshot/experimental/index.d.ts index d6041a98d47..948a85c3a71 100755 --- a/types/generated-snapshot/experimental/index.d.ts +++ b/types/generated-snapshot/experimental/index.d.ts @@ -11786,15 +11786,13 @@ interface ArtifactsCreateRepoResult { defaultBranch: string; /** HTTPS git remote URL. */ remote: string; - /** Plaintext access token (only returned at creation time). */ + /** Plaintext access token (only returned at creation time). The token encodes its expiry as `art_v1_?expires=`. */ token: string; - /** ISO 8601 token expiry timestamp. */ - tokenExpiresAt: string; } /** Paginated list of repositories. */ interface ArtifactsRepoListResult { - /** Repositories in this page (without the `remote` field). */ - repos: Omit[]; + /** Repositories in this page. */ + repos: ArtifactsRepoInfo[]; /** Total number of repositories in the namespace. */ total: number; /** Cursor for the next page, if there are more results. */ @@ -11808,7 +11806,6 @@ interface ArtifactsCreateTokenResult { plaintext: string; /** Token scope: "read" or "write". */ scope: "read" | "write"; - /** ISO 8601 token expiry timestamp. */ expiresAt: string; } /** Token metadata (no plaintext). */ diff --git a/types/generated-snapshot/experimental/index.ts b/types/generated-snapshot/experimental/index.ts index 839270e6b0e..9ba6dc950ee 100755 --- a/types/generated-snapshot/experimental/index.ts +++ b/types/generated-snapshot/experimental/index.ts @@ -11798,15 +11798,13 @@ export interface ArtifactsCreateRepoResult { defaultBranch: string; /** HTTPS git remote URL. */ remote: string; - /** Plaintext access token (only returned at creation time). */ + /** Plaintext access token (only returned at creation time). The token encodes its expiry as `art_v1_?expires=`. */ token: string; - /** ISO 8601 token expiry timestamp. */ - tokenExpiresAt: string; } /** Paginated list of repositories. */ export interface ArtifactsRepoListResult { - /** Repositories in this page (without the `remote` field). */ - repos: Omit[]; + /** Repositories in this page. */ + repos: ArtifactsRepoInfo[]; /** Total number of repositories in the namespace. */ total: number; /** Cursor for the next page, if there are more results. */ @@ -11820,7 +11818,6 @@ export interface ArtifactsCreateTokenResult { plaintext: string; /** Token scope: "read" or "write". */ scope: "read" | "write"; - /** ISO 8601 token expiry timestamp. */ expiresAt: string; } /** Token metadata (no plaintext). */ diff --git a/types/generated-snapshot/latest/index.d.ts b/types/generated-snapshot/latest/index.d.ts index d02c58a4575..8babfd7476a 100755 --- a/types/generated-snapshot/latest/index.d.ts +++ b/types/generated-snapshot/latest/index.d.ts @@ -11126,15 +11126,13 @@ interface ArtifactsCreateRepoResult { defaultBranch: string; /** HTTPS git remote URL. */ remote: string; - /** Plaintext access token (only returned at creation time). */ + /** Plaintext access token (only returned at creation time). The token encodes its expiry as `art_v1_?expires=`. */ token: string; - /** ISO 8601 token expiry timestamp. */ - tokenExpiresAt: string; } /** Paginated list of repositories. */ interface ArtifactsRepoListResult { - /** Repositories in this page (without the `remote` field). */ - repos: Omit[]; + /** Repositories in this page. */ + repos: ArtifactsRepoInfo[]; /** Total number of repositories in the namespace. */ total: number; /** Cursor for the next page, if there are more results. */ @@ -11148,7 +11146,6 @@ interface ArtifactsCreateTokenResult { plaintext: string; /** Token scope: "read" or "write". */ scope: "read" | "write"; - /** ISO 8601 token expiry timestamp. */ expiresAt: string; } /** Token metadata (no plaintext). */ diff --git a/types/generated-snapshot/latest/index.ts b/types/generated-snapshot/latest/index.ts index 43fd6a6536e..d9da2d94c02 100755 --- a/types/generated-snapshot/latest/index.ts +++ b/types/generated-snapshot/latest/index.ts @@ -11138,15 +11138,13 @@ export interface ArtifactsCreateRepoResult { defaultBranch: string; /** HTTPS git remote URL. */ remote: string; - /** Plaintext access token (only returned at creation time). */ + /** Plaintext access token (only returned at creation time). The token encodes its expiry as `art_v1_?expires=`. */ token: string; - /** ISO 8601 token expiry timestamp. */ - tokenExpiresAt: string; } /** Paginated list of repositories. */ export interface ArtifactsRepoListResult { - /** Repositories in this page (without the `remote` field). */ - repos: Omit[]; + /** Repositories in this page. */ + repos: ArtifactsRepoInfo[]; /** Total number of repositories in the namespace. */ total: number; /** Cursor for the next page, if there are more results. */ @@ -11160,7 +11158,6 @@ export interface ArtifactsCreateTokenResult { plaintext: string; /** Token scope: "read" or "write". */ scope: "read" | "write"; - /** ISO 8601 token expiry timestamp. */ expiresAt: string; } /** Token metadata (no plaintext). */