/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */

import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
export class AdminsDevicesService {
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static adminDevicesControllerCreateDevices(
    requestBody: Array<{
      serialNumber?: string;
      linkedItemIdentifier?: string;
      isLinked?: boolean;
    }>,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/admins/devices",
      body: requestBody,
      mediaType: "application/json",
    });
  }
}
