org-sync/google-groups-settings-client
@sarj-ai/workspace-sync/org-sync/google-groups-settings-client ยท Source
import type { JsonValue } from "../operations/schemas.ts";import type { GoogleDelegatedAuthContract } from "./google-delegated-auth.ts";import { type RetryOptions } from "./http.ts";export interface GoogleGroupSettingsTarget { readonly googleGroupEmail: string;}export interface GoogleGroupSettingsSnapshot extends GoogleGroupSettingsTarget { readonly etag: string; readonly settings: JsonValue;}/** A GET-only port. Its implementation deliberately exposes no settings mutation method. */export interface GoogleGroupSettingsReader { readSettings(target: GoogleGroupSettingsTarget, runId: string): Promise<GoogleGroupSettingsSnapshot>;}export interface GoogleGroupsSettingsClientOptions extends Pick<RetryOptions, "fetchImpl" | "random" | "sleep"> { auth: GoogleDelegatedAuthContract;}export declare class GoogleGroupsSettingsClient implements GoogleGroupSettingsReader { #private; constructor(options: GoogleGroupsSettingsClientOptions); readSettings(target: GoogleGroupSettingsTarget, runId: string): Promise<GoogleGroupSettingsSnapshot>;}