import { type Publisher } from '../../../models/cloudMatrix/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, 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 {PublishersPutResponse} */ export declare function createPublishersPutResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param PublishersPutResponse The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoPublishersPutResponse(publishersPutResponse?: Partial | undefined): Record void>; export interface PublishersPutResponse extends AdditionalDataHolder, Parsable { /** * The isOverwrite property */ isOverwrite?: boolean | null; } /** * Builds and executes requests for operations under /Api/CloudMatrix/Publishers */ export interface PublishersRequestBuilder extends BaseRequestBuilder { /** * Get a list of Cloud Matrix third-party publishers.This endpoint requires the `CloudMatrix.Read` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Replace the list of Cloud Matrix third-party publishers. This will overwrite the existing list of publishers with the list provided in the request body. This endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ put(body: Publisher[], requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Get a list of Cloud Matrix third-party publishers.This endpoint requires the `CloudMatrix.Read` scope (permission). * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Replace the list of Cloud Matrix third-party publishers. This will overwrite the existing list of publishers with the list provided in the request body. This endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission). * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPutRequestInformation(body: Publisher[], requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param PublishersPutResponse The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializePublishersPutResponse(writer: SerializationWriter, publishersPutResponse?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const PublishersRequestBuilderUriTemplate = "{+baseurl}/Api/CloudMatrix/Publishers"; /** * Metadata for all the requests in the request builder. */ export declare const PublishersRequestBuilderRequestsMetadata: RequestsMetadata;