import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi"; import { Configuration } from "../../datadog-api-client-common/configuration"; import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http"; import { GoogleChatAppNamedSpaceResponse } from "../models/GoogleChatAppNamedSpaceResponse"; import { GoogleChatCreateOrganizationHandleRequest } from "../models/GoogleChatCreateOrganizationHandleRequest"; import { GoogleChatOrganizationHandleResponse } from "../models/GoogleChatOrganizationHandleResponse"; import { GoogleChatOrganizationHandlesResponse } from "../models/GoogleChatOrganizationHandlesResponse"; import { GoogleChatUpdateOrganizationHandleRequest } from "../models/GoogleChatUpdateOrganizationHandleRequest"; export declare class GoogleChatIntegrationApiRequestFactory extends BaseAPIRequestFactory { createOrganizationHandle(organizationBindingId: string, body: GoogleChatCreateOrganizationHandleRequest, _options?: Configuration): Promise; deleteOrganizationHandle(organizationBindingId: string, handleId: string, _options?: Configuration): Promise; getOrganizationHandle(organizationBindingId: string, handleId: string, _options?: Configuration): Promise; getSpaceByDisplayName(domainName: string, spaceDisplayName: string, _options?: Configuration): Promise; listOrganizationHandles(organizationBindingId: string, _options?: Configuration): Promise; updateOrganizationHandle(organizationBindingId: string, handleId: string, body: GoogleChatUpdateOrganizationHandleRequest, _options?: Configuration): Promise; } export declare class GoogleChatIntegrationApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createOrganizationHandle * @throws ApiException if the response code was not in [200, 299] */ createOrganizationHandle(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteOrganizationHandle * @throws ApiException if the response code was not in [200, 299] */ deleteOrganizationHandle(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getOrganizationHandle * @throws ApiException if the response code was not in [200, 299] */ getOrganizationHandle(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getSpaceByDisplayName * @throws ApiException if the response code was not in [200, 299] */ getSpaceByDisplayName(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listOrganizationHandles * @throws ApiException if the response code was not in [200, 299] */ listOrganizationHandles(response: ResponseContext): Promise; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateOrganizationHandle * @throws ApiException if the response code was not in [200, 299] */ updateOrganizationHandle(response: ResponseContext): Promise; } export interface GoogleChatIntegrationApiCreateOrganizationHandleRequest { /** * Your organization binding ID. * @type string */ organizationBindingId: string; /** * Organization handle payload. * @type GoogleChatCreateOrganizationHandleRequest */ body: GoogleChatCreateOrganizationHandleRequest; } export interface GoogleChatIntegrationApiDeleteOrganizationHandleRequest { /** * Your organization binding ID. * @type string */ organizationBindingId: string; /** * Your organization handle ID. * @type string */ handleId: string; } export interface GoogleChatIntegrationApiGetOrganizationHandleRequest { /** * Your organization binding ID. * @type string */ organizationBindingId: string; /** * Your organization handle ID. * @type string */ handleId: string; } export interface GoogleChatIntegrationApiGetSpaceByDisplayNameRequest { /** * The Google Chat domain name. * @type string */ domainName: string; /** * The Google Chat space display name. * @type string */ spaceDisplayName: string; } export interface GoogleChatIntegrationApiListOrganizationHandlesRequest { /** * Your organization binding ID. * @type string */ organizationBindingId: string; } export interface GoogleChatIntegrationApiUpdateOrganizationHandleRequest { /** * Your organization binding ID. * @type string */ organizationBindingId: string; /** * Your organization handle ID. * @type string */ handleId: string; /** * Organization handle payload. * @type GoogleChatUpdateOrganizationHandleRequest */ body: GoogleChatUpdateOrganizationHandleRequest; } export declare class GoogleChatIntegrationApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: GoogleChatIntegrationApiRequestFactory, responseProcessor?: GoogleChatIntegrationApiResponseProcessor); /** * Create an organization handle in the Datadog Google Chat integration. * @param param The request object */ createOrganizationHandle(param: GoogleChatIntegrationApiCreateOrganizationHandleRequest, options?: Configuration): Promise; /** * Delete an organization handle from the Datadog Google Chat integration. * @param param The request object */ deleteOrganizationHandle(param: GoogleChatIntegrationApiDeleteOrganizationHandleRequest, options?: Configuration): Promise; /** * Get an organization handle from the Datadog Google Chat integration. * @param param The request object */ getOrganizationHandle(param: GoogleChatIntegrationApiGetOrganizationHandleRequest, options?: Configuration): Promise; /** * Get the resource name and organization binding ID of a space in the Datadog Google Chat integration. * @param param The request object */ getSpaceByDisplayName(param: GoogleChatIntegrationApiGetSpaceByDisplayNameRequest, options?: Configuration): Promise; /** * Get a list of all organization handles from the Datadog Google Chat integration. * @param param The request object */ listOrganizationHandles(param: GoogleChatIntegrationApiListOrganizationHandlesRequest, options?: Configuration): Promise; /** * Update an organization handle from the Datadog Google Chat integration. * @param param The request object */ updateOrganizationHandle(param: GoogleChatIntegrationApiUpdateOrganizationHandleRequest, options?: Configuration): Promise; }