import { type TenantDetails } from '../../../models/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {WithTenantPatchRequestBody} */ export declare function createWithTenantPatchRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param WithTenantPatchRequestBody The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoWithTenantPatchRequestBody(withTenantPatchRequestBody?: Partial | undefined): Record void>; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param WithTenantPatchRequestBody The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeWithTenantPatchRequestBody(writer: SerializationWriter, withTenantPatchRequestBody?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Builds and executes requests for operations under /Api/Tenant/{tenantId} */ export interface WithTenantItemRequestBuilder extends BaseRequestBuilder { /** * Retrieves details of a specific tenant record. This endpoint requires the `Tenant.Read.All` or `Tenant.ReadWrite.All` scopes (permissions). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update tenant record using provided information. Payload could contain any combination of existing properties. To remove a parent, set the parentId to be the same as the tenant ID value. This endpoint requires the `Tenant.ReadWrite.All` scopes (permissions). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ patch(body: WithTenantPatchRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieves details of a specific tenant record. This endpoint requires the `Tenant.Read.All` or `Tenant.ReadWrite.All` scopes (permissions). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update tenant record using provided information. Payload could contain any combination of existing properties. To remove a parent, set the parentId to be the same as the tenant ID value. This endpoint requires the `Tenant.ReadWrite.All` scopes (permissions). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: WithTenantPatchRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Retrieves details of a specific tenant record. This endpoint requires the `Tenant.Read.All` or `Tenant.ReadWrite.All` scopes (permissions). */ export interface WithTenantItemRequestBuilderGetQueryParameters { /** * The object ID of the parent value to operate against. */ parentId?: Guid; } export interface WithTenantPatchRequestBody extends AdditionalDataHolder, Parsable { /** * List of object IDs that are allowed to access this record and related data. */ authorizedPrincipalList?: Guid[] | null; /** * The object ID of the tenant that is considered a parent to this record */ parentId?: Guid | null; /** * Human readable name for the tenant record */ tenantDisplayName?: string | null; } /** * Uri template for the request builder. */ export declare const WithTenantItemRequestBuilderUriTemplate = "{+baseurl}/Api/Tenant/{tenantId}{?parentId*}"; /** * Metadata for all the requests in the request builder. */ export declare const WithTenantItemRequestBuilderRequestsMetadata: RequestsMetadata;