import { DevicePinner } from '../schemas/devicePinner.generated.js'; import { DevicePinners } from '../schemas/devicePinners.generated.js'; import { Authentication } from '../networking/auth.generated.js'; import { NetworkSession } from '../networking/network.generated.js'; import { CancellationToken } from '../internal/utils.js'; import { SerializedData } from '../serialization/json.js'; export declare class GetDevicePinnerByIdOptionals { readonly headers: GetDevicePinnerByIdHeaders; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface GetDevicePinnerByIdOptionalsInput { readonly headers?: GetDevicePinnerByIdHeaders; readonly cancellationToken?: undefined | CancellationToken; } export declare class DeleteDevicePinnerByIdOptionals { readonly headers: DeleteDevicePinnerByIdHeaders; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface DeleteDevicePinnerByIdOptionalsInput { readonly headers?: DeleteDevicePinnerByIdHeaders; readonly cancellationToken?: undefined | CancellationToken; } export declare class GetEnterpriseDevicePinnersOptionals { readonly queryParams: GetEnterpriseDevicePinnersQueryParams; readonly headers: GetEnterpriseDevicePinnersHeaders; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface GetEnterpriseDevicePinnersOptionalsInput { readonly queryParams?: GetEnterpriseDevicePinnersQueryParams; readonly headers?: GetEnterpriseDevicePinnersHeaders; readonly cancellationToken?: undefined | CancellationToken; } export declare class GetDevicePinnerByIdHeaders { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface GetDevicePinnerByIdHeadersInput { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export declare class DeleteDevicePinnerByIdHeaders { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface DeleteDevicePinnerByIdHeadersInput { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export type GetEnterpriseDevicePinnersQueryParamsDirectionField = 'ASC' | 'DESC' | string; export interface GetEnterpriseDevicePinnersQueryParams { /** * Defines the position marker at which to begin returning results. This is * used when paginating using marker-based pagination. * * This requires `usemarker` to be set to `true`. */ readonly marker?: string; /** * The maximum number of items to return per page. */ readonly limit?: number; /** * The direction to sort results in. This can be either in alphabetical ascending * (`ASC`) or descending (`DESC`) order. */ readonly direction?: GetEnterpriseDevicePinnersQueryParamsDirectionField; } export declare class GetEnterpriseDevicePinnersHeaders { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface GetEnterpriseDevicePinnersHeadersInput { /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export declare class DevicePinnersManager { readonly auth?: Authentication; readonly networkSession: NetworkSession; constructor(fields: Omit & Partial>); /** * Retrieves information about an individual device pin. * @param {string} devicePinnerId The ID of the device pin. Example: "2324234" * @param {GetDevicePinnerByIdOptionalsInput} optionalsInput * @returns {Promise} */ getDevicePinnerById(devicePinnerId: string, optionalsInput?: GetDevicePinnerByIdOptionalsInput): Promise; /** * Deletes an individual device pin. * @param {string} devicePinnerId The ID of the device pin. Example: "2324234" * @param {DeleteDevicePinnerByIdOptionalsInput} optionalsInput * @returns {Promise} */ deleteDevicePinnerById(devicePinnerId: string, optionalsInput?: DeleteDevicePinnerByIdOptionalsInput): Promise; /** * Retrieves all the device pins within an enterprise. * * The user must have admin privileges, and the application * needs the "manage enterprise" scope to make this call. * @param {string} enterpriseId The ID of the enterprise. Example: "3442311" * @param {GetEnterpriseDevicePinnersOptionalsInput} optionalsInput * @returns {Promise} */ getEnterpriseDevicePinners(enterpriseId: string, optionalsInput?: GetEnterpriseDevicePinnersOptionalsInput): Promise; } export interface DevicePinnersManagerInput { readonly auth?: Authentication; readonly networkSession?: NetworkSession; } export declare function serializeGetEnterpriseDevicePinnersQueryParamsDirectionField(val: GetEnterpriseDevicePinnersQueryParamsDirectionField): SerializedData; export declare function deserializeGetEnterpriseDevicePinnersQueryParamsDirectionField(val: SerializedData): GetEnterpriseDevicePinnersQueryParamsDirectionField;