import { type TemplateMetadata, type TemplateUploadRequest } from '../../../models/cloudMatrix/index.js'; import { type WithTemplateItemRequestBuilder } from './item/index.js'; import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /Api/CloudMatrix/Template */ export interface TemplateRequestBuilder extends BaseRequestBuilder { /** * Gets an item from the ApiSdk.Api.CloudMatrix.Template.item collection * @param templateId The unique identifier of the Cloud Matrix template metadata record. * @returns {WithTemplateItemRequestBuilder} */ byTemplateId(templateId: Guid): WithTemplateItemRequestBuilder; /** * Creates the Cloud Matrix template metadata record, then stores the template content in blob storage using that metadata. On success, the endpoint returns the metadata information of the created template.This endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission). * @param body Request body for uploading a Cloud Matrix template to the data gateway. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ post(body: TemplateUploadRequest, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Creates the Cloud Matrix template metadata record, then stores the template content in blob storage using that metadata. On success, the endpoint returns the metadata information of the created template.This endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission). * @param body Request body for uploading a Cloud Matrix template to the data gateway. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: TemplateUploadRequest, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const TemplateRequestBuilderUriTemplate = "{+baseurl}/Api/CloudMatrix/Template"; /** * Metadata for all the navigation properties in the request builder. */ export declare const TemplateRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const TemplateRequestBuilderRequestsMetadata: RequestsMetadata;