import type { JSONSupport } from "../../../core/JSONSupport.js";
import type { AccessType } from "../../../versionManagement/support/type.js";

/** @since 5.0 */
export interface CreateVersionParametersProperties extends Partial<Pick<CreateVersionParameters, "access" | "description" | "versionName">> {}

/** @since 5.0 */
export default class CreateVersionParameters extends JSONSupport {
  constructor(properties?: CreateVersionParametersProperties);
  /**
   * The access type of the new version.
   *
   * @default "private"
   * @since 5.0
   */
  accessor access: AccessType;
  /**
   * The description of the new version.
   *
   * @since 5.0
   */
  accessor description: string | null;
  /**
   * The name of the new version.
   *
   * @since 5.0
   */
  accessor versionName: string | undefined;
}