import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi"; import { Configuration } from "../../datadog-api-client-common/configuration"; import { RequestContext, ResponseContext, HttpFile } from "../../datadog-api-client-common/http/http"; import { ManagedOrgsResponse } from "../models/ManagedOrgsResponse"; import { OrgConfigGetResponse } from "../models/OrgConfigGetResponse"; import { OrgConfigListResponse } from "../models/OrgConfigListResponse"; import { OrgConfigWriteRequest } from "../models/OrgConfigWriteRequest"; export declare class OrganizationsApiRequestFactory extends BaseAPIRequestFactory { getOrgConfig(orgConfigName: string, _options?: Configuration): Promise; listOrgConfigs(_options?: Configuration): Promise; listOrgs(filterName?: string, _options?: Configuration): Promise; updateOrgConfig(orgConfigName: string, body: OrgConfigWriteRequest, _options?: Configuration): Promise; uploadIdPMetadata(idpFile?: HttpFile, _options?: Configuration): Promise; } export declare class OrganizationsApiResponseProcessor { /** * 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 getOrgConfig * @throws ApiException if the response code was not in [200, 299] */ getOrgConfig(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 listOrgConfigs * @throws ApiException if the response code was not in [200, 299] */ listOrgConfigs(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 listOrgs * @throws ApiException if the response code was not in [200, 299] */ listOrgs(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 updateOrgConfig * @throws ApiException if the response code was not in [200, 299] */ updateOrgConfig(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 uploadIdPMetadata * @throws ApiException if the response code was not in [200, 299] */ uploadIdPMetadata(response: ResponseContext): Promise; } export interface OrganizationsApiGetOrgConfigRequest { /** * The name of an Org Config. * @type string */ orgConfigName: string; } export interface OrganizationsApiListOrgsRequest { /** * Filter managed organizations by name. * @type string */ filterName?: string; } export interface OrganizationsApiUpdateOrgConfigRequest { /** * The name of an Org Config. * @type string */ orgConfigName: string; /** * @type OrgConfigWriteRequest */ body: OrgConfigWriteRequest; } export interface OrganizationsApiUploadIdPMetadataRequest { /** * The IdP metadata XML file * @type HttpFile */ idpFile?: HttpFile; } export declare class OrganizationsApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: OrganizationsApiRequestFactory, responseProcessor?: OrganizationsApiResponseProcessor); /** * Return the name, description, and value of a specific Org Config. * @param param The request object */ getOrgConfig(param: OrganizationsApiGetOrgConfigRequest, options?: Configuration): Promise; /** * Returns all Org Configs (name, description, and value). * @param param The request object */ listOrgConfigs(options?: Configuration): Promise; /** * Returns the current organization and its managed organizations in JSON:API format. * @param param The request object */ listOrgs(param?: OrganizationsApiListOrgsRequest, options?: Configuration): Promise; /** * Update the value of a specific Org Config. * @param param The request object */ updateOrgConfig(param: OrganizationsApiUpdateOrgConfigRequest, options?: Configuration): Promise; /** * Endpoint for uploading IdP metadata for SAML setup. * * Use this endpoint to upload or replace IdP metadata for SAML login configuration. * @param param The request object */ uploadIdPMetadata(param?: OrganizationsApiUploadIdPMetadataRequest, options?: Configuration): Promise; }