/* tslint:disable */
/* eslint-disable */
// This file was automatically generated and should not be edited.

//==============================================================
// START Enums and Input Objects
//==============================================================

export enum Category {
  FIX = "FIX",
  INSTALLER = "INSTALLER",
  UTILITY = "UTILITY",
}

export enum ScriptPlatformOS {
  linux = "linux",
}

export enum UserAccessStatus {
  ADMIN_NO_SRP_AUTH = "ADMIN_NO_SRP_AUTH",
  CUSTOM_CHALLENGE = "CUSTOM_CHALLENGE",
  DEVICE_PASSWORD_VERIFIER = "DEVICE_PASSWORD_VERIFIER",
  DEVICE_SRP_AUTH = "DEVICE_SRP_AUTH",
  LOGGED_IN = "LOGGED_IN",
  MFA_SETUP = "MFA_SETUP",
  NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED",
  PASSWORD_VERIFIER = "PASSWORD_VERIFIER",
  SELECT_MFA_TYPE = "SELECT_MFA_TYPE",
  SMS_MFA = "SMS_MFA",
  SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA",
}

export enum UserDeliveryMedium {
  EMAIL = "EMAIL",
  SMS = "SMS",
}

export interface AssetContentMutationInput {
  content: string;
}

export interface AssetContentQueryInput {
  id: string;
}

export interface PackageQueryInput {
  name: string;
  namespace?: string | null;
}

export interface PublishMutationInput {
  name: string;
  namespace?: string | null;
  description: string;
  version: string;
  dependencies?: (ScriptDependencyInput | null)[] | null;
  category: Category;
  platform?: (ScriptPlatformInput | null)[] | null;
  execute: AssetContentMutationInput;
  readme: AssetContentMutationInput;
  superuser?: boolean | null;
  accessToken: string;
}

export interface ScriptDependencyInput {
  name: string;
  version: string;
}

export interface ScriptPlatformInput {
  os: ScriptPlatformOS;
  dist: string;
  codename: string;
}

export interface ScriptQueryInput {
  name: string;
  namespace?: string | null;
  version: string;
}

export interface SearchQueryInput {
  term: string;
  category?: Category | null;
  platform?: ScriptPlatformInput | null;
}

export interface SubscriptionQueryInput {
  accessToken: string;
}

export interface UserAccessTokenQueryInput {
  username: string;
  password: string;
}

export interface UserConfirmSignUpInput {
  username: string;
  confirmationCode: string;
}

export interface UserPackagesQueryInput {
  username: string;
}

export interface UserRefreshAccessTokenInput {
  refreshToken: string;
}

export interface UserSignUpMutationInput {
  username: string;
  password: string;
}

//==============================================================
// END Enums and Input Objects
//==============================================================
