@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
16 lines • 532 B
TypeScript
//#region src/shared/datarecords/external/google/sheets/client.d.ts
interface ApiResponse<T> {
success: boolean;
data: T;
status: number;
headers: Headers;
}
declare class GoogleDriveClient {
private accessToken;
constructor(accessToken: string);
callDriveApi<T>(endpoint: string, method?: "GET" | "POST" | "PUT" | "PATCH", body?: unknown): Promise<ApiResponse<T>>;
}
declare function getClient(accessToken: string): GoogleDriveClient;
//#endregion
export { getClient as default };
//# sourceMappingURL=client.d.ts.map