import { type CreatePropertyValue, type PropertyValue } from '../../../../models/index.js'; import { type WithPropertyValueItemRequestBuilder } 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 /v2/properties/{propertyId}/values */ export interface ValuesRequestBuilder extends BaseRequestBuilder { /** * Gets an item from the JtlErpApi.v2.properties.item.values.item collection * @param propertyValueId The id of the property value. * @returns {WithPropertyValueItemRequestBuilder} */ byPropertyValueId(propertyValueId: Guid): WithPropertyValueItemRequestBuilder; /** * Query all velues for a specific property * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 404 status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Create a new value for a specific property * @param body Model Class: CreatePropertyValue * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 400 status code */ post(body: CreatePropertyValue, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Query all velues for a specific property * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Create a new value for a specific property * @param body Model Class: CreatePropertyValue * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: CreatePropertyValue, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const ValuesRequestBuilderUriTemplate = "{+baseurl}/v2/properties/{propertyId}/values"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ValuesRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ValuesRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map