import { PublicApiTransports } from "../../shared/transports.js"; import { PolyesterRequestOptions } from "../../shared/request-options.js"; import { ChangelogPost, GetChangelogPostInput, ListChangelogChangesInput, ListChangelogChangesResult, ListChangelogPostsInput, ListChangelogPostsResult } from "./changelog.schemas.js"; //#region src/services/changelog/changelog.d.ts /** * Reads the product changelog published for the environment the client calls. Public and * read-only: no authentication, cacheable GET requests, rate-limited per client address. * Enum values the SDK does not know decode as `"unspecified"`. */ declare class ChangelogService { #private; constructor(transports: PublicApiTransports); /** * Lists post summaries newest first, with change counts by kind. Pass the previous * `nextPageToken` as `pageToken` to continue; an empty `nextPageToken` means no more posts. * Use `limit: 1` to poll for the latest post. To follow edits to published posts, read a * post again when its `revision` differs from the one you hold. */ listPosts(input?: ListChangelogPostsInput, options?: PolyesterRequestOptions): Promise; /** * Returns one post at its current revision, with every section and change. A slug is the post's coverage cutoff date, * `YYYY-MM-DD`, with `-2`, `-3` for later posts on the same day. An unknown slug throws a * not-found error. Large posts can hold hundreds of changes; page them with `listChanges` * and `postSlug` instead. */ getPost(input: GetChangelogPostInput, options?: PolyesterRequestOptions): Promise; /** * Lists individual changes across posts, posts newest first unless `sort` is `"asc"`; * changes keep publication order inside each post. Changes addressed to `all_users` match * every `audiences` filter. Reuse a `pageToken` only with the same filters, time bounds and * sort. When the post a `pageToken` points into was republished since, paging restarts at * that post's first change, so changes you already received can appear again: deduplicate * by `id`, which stays the same across revisions. */ listChanges(input?: ListChangelogChangesInput, options?: PolyesterRequestOptions): Promise; } //#endregion export { ChangelogService }; //# sourceMappingURL=changelog.d.ts.map