/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CompleteGoogleFormsOAuthRequest, CompleteGoogleFormsOAuthResponse, GetGoogleFormsIntegrationResponse, GetGoogleFormsOAuthURLResponse, ListDetectedGoogleFormsResponse, SyncGoogleFormsResponse, UpdateGoogleFormsIntegrationRequest, UpdateGoogleFormsIntegrationResponse } from '../models/index'; export interface GoogleFormsIntegrationsServiceCompleteOAuthRequest { completeGoogleFormsOAuthRequest: CompleteGoogleFormsOAuthRequest; } export interface GoogleFormsIntegrationsServiceSyncNowRequest { body: object; } export interface GoogleFormsIntegrationsServiceUpdateRequest { updateGoogleFormsIntegrationRequest: UpdateGoogleFormsIntegrationRequest; } /** * GoogleFormsIntegrationsApi - interface * * @export * @interface GoogleFormsIntegrationsApiInterface */ export interface GoogleFormsIntegrationsApiInterface { /** * Creates request options for googleFormsIntegrationsServiceCompleteOAuth without sending the request * @param {CompleteGoogleFormsOAuthRequest} completeGoogleFormsOAuthRequest * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceCompleteOAuthRequestOpts(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest): Promise; /** * Exchanges the Google authorization code for tokens and creates the workspace integration. * @summary Complete Google OAuth * @param {CompleteGoogleFormsOAuthRequest} completeGoogleFormsOAuthRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceCompleteOAuthRaw(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Exchanges the Google authorization code for tokens and creates the workspace integration. * Complete Google OAuth */ googleFormsIntegrationsServiceCompleteOAuth(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceDelete without sending the request * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceDeleteRequestOpts(): Promise; /** * Disconnect and remove the Google Forms integration from the workspace. * @summary Disconnect Google Forms integration * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceDeleteRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Disconnect and remove the Google Forms integration from the workspace. * Disconnect Google Forms integration */ googleFormsIntegrationsServiceDelete(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceGet without sending the request * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceGetRequestOpts(): Promise; /** * Retrieve the Google Forms integration for the workspace. * @summary Get Google Forms integration * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve the Google Forms integration for the workspace. * Get Google Forms integration */ googleFormsIntegrationsServiceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceGetOAuthURL without sending the request * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceGetOAuthURLRequestOpts(): Promise; /** * Returns the Google OAuth authorization URL to initiate the connection flow. * @summary Get Google OAuth URL * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceGetOAuthURLRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the Google OAuth authorization URL to initiate the connection flow. * Get Google OAuth URL */ googleFormsIntegrationsServiceGetOAuthURL(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceListDetectedForms without sending the request * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceListDetectedFormsRequestOpts(): Promise; /** * Returns Google Forms auto-detected from workspace links that have a Google Form as their redirect destination. * @summary List detected Google Forms * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceListDetectedFormsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns Google Forms auto-detected from workspace links that have a Google Form as their redirect destination. * List detected Google Forms */ googleFormsIntegrationsServiceListDetectedForms(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceSyncNow without sending the request * @param {object} body * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceSyncNowRequestOpts(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest): Promise; /** * Trigger an immediate sync of new Google Forms responses from all detected forms. * @summary Sync now * @param {object} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceSyncNowRaw(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Trigger an immediate sync of new Google Forms responses from all detected forms. * Sync now */ googleFormsIntegrationsServiceSyncNow(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceUpdate without sending the request * @param {UpdateGoogleFormsIntegrationRequest} updateGoogleFormsIntegrationRequest * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceUpdateRequestOpts(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest): Promise; /** * Update the integration status (pause or resume syncing). * @summary Update Google Forms integration * @param {UpdateGoogleFormsIntegrationRequest} updateGoogleFormsIntegrationRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GoogleFormsIntegrationsApiInterface */ googleFormsIntegrationsServiceUpdateRaw(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update the integration status (pause or resume syncing). * Update Google Forms integration */ googleFormsIntegrationsServiceUpdate(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class GoogleFormsIntegrationsApi extends runtime.BaseAPI implements GoogleFormsIntegrationsApiInterface { /** * Creates request options for googleFormsIntegrationsServiceCompleteOAuth without sending the request */ googleFormsIntegrationsServiceCompleteOAuthRequestOpts(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest): Promise; /** * Exchanges the Google authorization code for tokens and creates the workspace integration. * Complete Google OAuth */ googleFormsIntegrationsServiceCompleteOAuthRaw(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Exchanges the Google authorization code for tokens and creates the workspace integration. * Complete Google OAuth */ googleFormsIntegrationsServiceCompleteOAuth(requestParameters: GoogleFormsIntegrationsServiceCompleteOAuthRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceDelete without sending the request */ googleFormsIntegrationsServiceDeleteRequestOpts(): Promise; /** * Disconnect and remove the Google Forms integration from the workspace. * Disconnect Google Forms integration */ googleFormsIntegrationsServiceDeleteRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Disconnect and remove the Google Forms integration from the workspace. * Disconnect Google Forms integration */ googleFormsIntegrationsServiceDelete(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceGet without sending the request */ googleFormsIntegrationsServiceGetRequestOpts(): Promise; /** * Retrieve the Google Forms integration for the workspace. * Get Google Forms integration */ googleFormsIntegrationsServiceGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieve the Google Forms integration for the workspace. * Get Google Forms integration */ googleFormsIntegrationsServiceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceGetOAuthURL without sending the request */ googleFormsIntegrationsServiceGetOAuthURLRequestOpts(): Promise; /** * Returns the Google OAuth authorization URL to initiate the connection flow. * Get Google OAuth URL */ googleFormsIntegrationsServiceGetOAuthURLRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the Google OAuth authorization URL to initiate the connection flow. * Get Google OAuth URL */ googleFormsIntegrationsServiceGetOAuthURL(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceListDetectedForms without sending the request */ googleFormsIntegrationsServiceListDetectedFormsRequestOpts(): Promise; /** * Returns Google Forms auto-detected from workspace links that have a Google Form as their redirect destination. * List detected Google Forms */ googleFormsIntegrationsServiceListDetectedFormsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns Google Forms auto-detected from workspace links that have a Google Form as their redirect destination. * List detected Google Forms */ googleFormsIntegrationsServiceListDetectedForms(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceSyncNow without sending the request */ googleFormsIntegrationsServiceSyncNowRequestOpts(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest): Promise; /** * Trigger an immediate sync of new Google Forms responses from all detected forms. * Sync now */ googleFormsIntegrationsServiceSyncNowRaw(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Trigger an immediate sync of new Google Forms responses from all detected forms. * Sync now */ googleFormsIntegrationsServiceSyncNow(requestParameters: GoogleFormsIntegrationsServiceSyncNowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for googleFormsIntegrationsServiceUpdate without sending the request */ googleFormsIntegrationsServiceUpdateRequestOpts(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest): Promise; /** * Update the integration status (pause or resume syncing). * Update Google Forms integration */ googleFormsIntegrationsServiceUpdateRaw(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update the integration status (pause or resume syncing). * Update Google Forms integration */ googleFormsIntegrationsServiceUpdate(requestParameters: GoogleFormsIntegrationsServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }