/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AssignPickupSerialNumberDto } from "../models/AssignPickupSerialNumberDto";
import type { RemoveAssignedSerialNumberDto } from "../models/RemoveAssignedSerialNumberDto";
import type { UpdateShipmentItemStatusDto } from "../models/UpdateShipmentItemStatusDto";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
export class AdminsPickupsService {
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static adminPickupsControllerChangeShipmentItemStatus(
    requestBody: UpdateShipmentItemStatusDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "PATCH",
      url: "/v1/admins/pickups/item-status",
      body: requestBody,
      mediaType: "application/json",
    });
  }
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static adminPickupsControllerAssignSerialNumber(
    requestBody: AssignPickupSerialNumberDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "PATCH",
      url: "/v1/admins/pickups/assign-serial-number",
      body: requestBody,
      mediaType: "application/json",
    });
  }
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static adminPickupsControllerRemoveSerialNumber(
    requestBody: RemoveAssignedSerialNumberDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "PATCH",
      url: "/v1/admins/pickups/remove-serial-number",
      body: requestBody,
      mediaType: "application/json",
    });
  }
}
