/* eslint-disable */
import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core";
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = {
  [K in keyof T]: T[K];
};
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
  [SubKey in K]?: Maybe<T[SubKey]>;
};
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
  [SubKey in K]: Maybe<T[SubKey]>;
};
export type MakeEmpty<
  T extends { [key: string]: unknown },
  K extends keyof T,
> = { [_ in K]?: never };
export type Incremental<T> =
  | T
  | {
      [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
    };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: { input: string; output: string };
  String: { input: string; output: string };
  Boolean: { input: boolean; output: boolean };
  Int: { input: number; output: number };
  Float: { input: number; output: number };
};

export type AddCompanyMemberInput = {
  companyId: Scalars["String"]["input"];
  userEmail: Scalars["String"]["input"];
};

export type AddCompanyMemberResponse = {
  __typename?: "AddCompanyMemberResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type ApiKey = {
  __typename?: "ApiKey";
  id: Scalars["String"]["output"];
  key: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  project?: Maybe<Project>;
  requests: Array<Request>;
};

export type CompaniesResponse = {
  __typename?: "CompaniesResponse";
  companies: Array<Company>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type CompaniesWhere = {
  id?: InputMaybe<Scalars["String"]["input"]>;
};

export type Company = {
  __typename?: "Company";
  aggregate: CompanyAggregate;
  id: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  projects?: Maybe<Array<Project>>;
  requests: Array<Request>;
  users: Array<User>;
};

export type CompanyAggregate = {
  __typename?: "CompanyAggregate";
  averageContentLength: Scalars["Float"]["output"];
  averageRequestExecutionTime: Scalars["Float"]["output"];
  projectCount: Scalars["Int"]["output"];
  requestCount: Scalars["Int"]["output"];
  timeseries: Array<CompanyAggregateTimeSeries>;
};

export type CompanyAggregateAverageContentLengthArgs = {
  options: DateTimeInput;
};

export type CompanyAggregateAverageRequestExecutionTimeArgs = {
  options: DateTimeInput;
};

export type CompanyAggregateRequestCountArgs = {
  options: DateTimeInput;
  where?: InputMaybe<CompanyAggregateRequestCountWhere>;
};

export type CompanyAggregateTimeseriesArgs = {
  options: DateTimeInput;
  partition: TimeSeriesPartitionEnum;
};

export type CompanyAggregateRequestCountWhere = {
  status: RequestStatusEnum;
};

export type CompanyAggregateTimeSeries = {
  __typename?: "CompanyAggregateTimeSeries";
  averageRequestExecutionTime: Scalars["Int"]["output"];
  from: Scalars["String"]["output"];
  requestCount: Scalars["Int"]["output"];
  to: Scalars["String"]["output"];
};

export type CreateCompanyInput = {
  name: Scalars["String"]["input"];
};

export type CreateCompanyResponse = {
  __typename?: "CreateCompanyResponse";
  company?: Maybe<Company>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type CreateProjectApiKeyInput = {
  name: Scalars["String"]["input"];
  projectId: Scalars["ID"]["input"];
};

export type CreateProjectApiKeyResponse = {
  __typename?: "CreateProjectApiKeyResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  projectApiKey?: Maybe<ApiKey>;
  success: Scalars["Boolean"]["output"];
};

export type CreateProjectInput = {
  name: Scalars["String"]["input"];
};

export type CreateProjectResponse = {
  __typename?: "CreateProjectResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  project?: Maybe<Project>;
  success: Scalars["Boolean"]["output"];
};

export type DateTimeInput = {
  from: Scalars["String"]["input"];
  to: Scalars["String"]["input"];
};

export type MeResponse = {
  __typename?: "MeResponse";
  message: Scalars["String"]["output"];
  success: Scalars["Boolean"]["output"];
  user?: Maybe<User>;
};

export type Mutation = {
  __typename?: "Mutation";
  addCompanyMember: AddCompanyMemberResponse;
  createCompany: CreateCompanyResponse;
  createProject: CreateProjectResponse;
  createProjectApiKey: CreateProjectApiKeyResponse;
  refreshToken: RefreshTokenResponse;
  userLogin: UserLoginResponse;
  userPasswordResetCallback: UserPasswordResetCallbackResponse;
  userPasswordResetRequest: UserPasswordResetRequestbackResponse;
  userRegistrationCallback: UserRegistrationCallbackResponse;
  userRegistrationRequest: UserRegistrationRequestResponse;
};

export type MutationAddCompanyMemberArgs = {
  input: AddCompanyMemberInput;
};

export type MutationCreateCompanyArgs = {
  input: CreateCompanyInput;
};

export type MutationCreateProjectArgs = {
  input: CreateProjectInput;
};

export type MutationCreateProjectApiKeyArgs = {
  input: CreateProjectApiKeyInput;
};

export type MutationRefreshTokenArgs = {
  input: RefreshTokenInput;
};

export type MutationUserLoginArgs = {
  input: UserLoginInput;
};

export type MutationUserPasswordResetCallbackArgs = {
  input: UserPasswordResetCallbackInput;
};

export type MutationUserPasswordResetRequestArgs = {
  input: UserPasswordResetRequestbackInput;
};

export type MutationUserRegistrationCallbackArgs = {
  input: UserRegistrationCallbackInput;
};

export type MutationUserRegistrationRequestArgs = {
  input: UserRegistrationRequestInput;
};

export type OnboardedFromEnum = "ANALYZER" | "VISUALIZER";

export type Project = {
  __typename?: "Project";
  aggregate: ProjectAggregate;
  apiKeys: Array<ApiKey>;
  id: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  requests: Array<Request>;
};

export type ProjectAggregate = {
  __typename?: "ProjectAggregate";
  apiKeyCount: Scalars["Int"]["output"];
  averageContentLength: Scalars["Float"]["output"];
  averageRequestExecutionTime: Scalars["Float"]["output"];
  requestCount: Scalars["Int"]["output"];
};

export type ProjectAggregateAverageContentLengthArgs = {
  options: DateTimeInput;
};

export type ProjectAggregateAverageRequestExecutionTimeArgs = {
  options: DateTimeInput;
};

export type ProjectAggregateRequestCountArgs = {
  options: DateTimeInput;
  where?: InputMaybe<CompanyAggregateRequestCountWhere>;
};

export type ProjectApiKeysResponse = {
  __typename?: "ProjectApiKeysResponse";
  keys: Array<ApiKey>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type ProjectApiKeysWhere = {
  id?: InputMaybe<Scalars["ID"]["input"]>;
  projectId?: InputMaybe<Scalars["ID"]["input"]>;
};

export type ProjectsResponse = {
  __typename?: "ProjectsResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  projects: Array<Project>;
  success: Scalars["Boolean"]["output"];
};

export type ProjectsWhere = {
  companyId?: InputMaybe<Scalars["ID"]["input"]>;
  id?: InputMaybe<Scalars["ID"]["input"]>;
};

export type Query = {
  __typename?: "Query";
  apiKeys: ProjectApiKeysResponse;
  companies: CompaniesResponse;
  me: MeResponse;
  projects: ProjectsResponse;
  requests: RequestsResponse;
};

export type QueryApiKeysArgs = {
  where?: InputMaybe<ProjectApiKeysWhere>;
};

export type QueryCompaniesArgs = {
  where?: InputMaybe<CompaniesWhere>;
};

export type QueryProjectsArgs = {
  where?: InputMaybe<ProjectsWhere>;
};

export type QueryRequestsArgs = {
  options?: InputMaybe<RequestsOption>;
  where?: InputMaybe<RequestsWhere>;
};

export type RefreshTokenInput = {
  refreshToken: Scalars["String"]["input"];
};

export type RefreshTokenResponse = {
  __typename?: "RefreshTokenResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type Request = {
  __typename?: "Request";
  body?: Maybe<Scalars["String"]["output"]>;
  callType: Scalars["String"]["output"];
  duration?: Maybe<Scalars["Float"]["output"]>;
  headers?: Maybe<Scalars["String"]["output"]>;
  id: Scalars["String"]["output"];
  method: Scalars["String"]["output"];
  response?: Maybe<Response>;
  status: Scalars["String"]["output"];
  timestamp: Scalars["String"]["output"];
  url: Scalars["String"]["output"];
};

export type RequestStatusEnum = "FAILED" | "SUCCESS";

export type RequestsOption = {
  skip?: InputMaybe<Scalars["Int"]["input"]>;
};

export type RequestsResponse = {
  __typename?: "RequestsResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  requests?: Maybe<Array<Request>>;
  success: Scalars["Boolean"]["output"];
};

export type RequestsWhere = {
  apiKeyId?: InputMaybe<Scalars["ID"]["input"]>;
  id?: InputMaybe<Scalars["ID"]["input"]>;
};

export type Response = {
  __typename?: "Response";
  body?: Maybe<Scalars["String"]["output"]>;
  contentLength: Scalars["String"]["output"];
  headers?: Maybe<Scalars["String"]["output"]>;
  id: Scalars["String"]["output"];
  statusCode: Scalars["Int"]["output"];
  timestamp: Scalars["String"]["output"];
};

export type TimeSeriesPartitionEnum = "HOUR";

export type User = {
  __typename?: "User";
  companies?: Maybe<Array<Company>>;
  createdAt: Scalars["String"]["output"];
  email: Scalars["String"]["output"];
  id: Scalars["String"]["output"];
  updatedAt: Scalars["String"]["output"];
};

export type UserLoginInput = {
  email: Scalars["String"]["input"];
  password: Scalars["String"]["input"];
};

export type UserLoginResponse = {
  __typename?: "UserLoginResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  refreshToken?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserPasswordResetCallbackInput = {
  email: Scalars["String"]["input"];
  newPassword: Scalars["String"]["input"];
  resetToken: Scalars["String"]["input"];
};

export type UserPasswordResetCallbackResponse = {
  __typename?: "UserPasswordResetCallbackResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserPasswordResetRequestbackInput = {
  email: Scalars["String"]["input"];
};

export type UserPasswordResetRequestbackResponse = {
  __typename?: "UserPasswordResetRequestbackResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserRegistrationCallbackInput = {
  registrationToken: Scalars["String"]["input"];
};

export type UserRegistrationCallbackResponse = {
  __typename?: "UserRegistrationCallbackResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  refreshToken?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserRegistrationRequestInput = {
  email: Scalars["String"]["input"];
  onboardedFrom?: InputMaybe<OnboardedFromEnum>;
  password: Scalars["String"]["input"];
  silent?: InputMaybe<Scalars["Boolean"]["input"]>;
};

export type UserRegistrationRequestResponse = {
  __typename?: "UserRegistrationRequestResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type RequestsByApiKeyQueryVariables = Exact<{
  apiKeyId?: InputMaybe<Scalars["ID"]["input"]>;
  skip?: InputMaybe<Scalars["Int"]["input"]>;
}>;

export type RequestsByApiKeyQuery = {
  __typename?: "Query";
  requests: {
    __typename?: "RequestsResponse";
    requests?: Array<{
      __typename?: "Request";
      id: string;
      callType: string;
      url: string;
      method: string;
      timestamp: string;
      response?: {
        __typename?: "Response";
        id: string;
        statusCode: number;
        timestamp: string;
      } | null;
    }> | null;
  };
};

export type RequestMutationMutationVariables = Exact<{
  email: Scalars["String"]["input"];
  password: Scalars["String"]["input"];
}>;

export type RequestMutationMutation = {
  __typename?: "Mutation";
  userRegistrationRequest: {
    __typename?: "UserRegistrationRequestResponse";
    success: boolean;
    message?: string | null;
  };
};

export type CallbackMutationMutationVariables = Exact<{
  registrationToken: Scalars["String"]["input"];
}>;

export type CallbackMutationMutation = {
  __typename?: "Mutation";
  userRegistrationCallback: {
    __typename?: "UserRegistrationCallbackResponse";
    success: boolean;
    message?: string | null;
    accessToken?: string | null;
    refreshToken?: string | null;
  };
};

export type AllApiKeysQueryQueryVariables = Exact<{
  where?: InputMaybe<ProjectApiKeysWhere>;
}>;

export type AllApiKeysQueryQuery = {
  __typename?: "Query";
  apiKeys: {
    __typename?: "ProjectApiKeysResponse";
    message?: string | null;
    success: boolean;
    keys: Array<{
      __typename?: "ApiKey";
      id: string;
      name: string;
      key: string;
      project?: { __typename?: "Project"; id: string; name: string } | null;
      requests: Array<{ __typename?: "Request"; id: string }>;
    }>;
  };
};

export type CreateProjectApiKeyMutationMutationVariables = Exact<{
  input: CreateProjectApiKeyInput;
}>;

export type CreateProjectApiKeyMutationMutation = {
  __typename?: "Mutation";
  createProjectApiKey: {
    __typename?: "CreateProjectApiKeyResponse";
    message?: string | null;
    success: boolean;
    projectApiKey?: {
      __typename?: "ApiKey";
      id: string;
      key: string;
      name: string;
    } | null;
  };
};

export type MeQueryQueryVariables = Exact<{ [key: string]: never }>;

export type MeQueryQuery = {
  __typename?: "Query";
  me: {
    __typename?: "MeResponse";
    success: boolean;
    message: string;
    user?: {
      __typename?: "User";
      id: string;
      email: string;
      companies?: Array<{
        __typename?: "Company";
        id: string;
        name: string;
        users: Array<{ __typename?: "User"; id: string; email: string }>;
      }> | null;
    } | null;
  };
};

export type RefreshTokenMutationMutationVariables = Exact<{
  refreshToken: Scalars["String"]["input"];
}>;

export type RefreshTokenMutationMutation = {
  __typename?: "Mutation";
  refreshToken: {
    __typename?: "RefreshTokenResponse";
    success: boolean;
    message?: string | null;
    accessToken?: string | null;
  };
};

export type UserLoginMutationMutationVariables = Exact<{
  email: Scalars["String"]["input"];
  password: Scalars["String"]["input"];
}>;

export type UserLoginMutationMutation = {
  __typename?: "Mutation";
  userLogin: {
    __typename?: "UserLoginResponse";
    success: boolean;
    message?: string | null;
    accessToken?: string | null;
    refreshToken?: string | null;
  };
};

export type UserPasswordResetCallbackMutationMutationVariables = Exact<{
  input: UserPasswordResetCallbackInput;
}>;

export type UserPasswordResetCallbackMutationMutation = {
  __typename?: "Mutation";
  userPasswordResetCallback: {
    __typename?: "UserPasswordResetCallbackResponse";
    success: boolean;
    message?: string | null;
  };
};

export type UserPasswordResetRequestMutationMutationVariables = Exact<{
  input: UserPasswordResetRequestbackInput;
}>;

export type UserPasswordResetRequestMutationMutation = {
  __typename?: "Mutation";
  userPasswordResetRequest: {
    __typename?: "UserPasswordResetRequestbackResponse";
    success: boolean;
    message?: string | null;
  };
};

export type CreateCompanyMutationMutationVariables = Exact<{
  input: CreateCompanyInput;
}>;

export type CreateCompanyMutationMutation = {
  __typename?: "Mutation";
  createCompany: {
    __typename?: "CreateCompanyResponse";
    success: boolean;
    message?: string | null;
    company?: { __typename?: "Company"; id: string; name: string } | null;
  };
};

export type AllProjectsQueryQueryVariables = Exact<{
  where?: InputMaybe<ProjectsWhere>;
  dateRange: DateTimeInput;
}>;

export type AllProjectsQueryQuery = {
  __typename?: "Query";
  projects: {
    __typename?: "ProjectsResponse";
    message?: string | null;
    success: boolean;
    projects: Array<{
      __typename?: "Project";
      id: string;
      name: string;
      apiKeys: Array<{
        __typename?: "ApiKey";
        id: string;
        key: string;
        name: string;
        requests: Array<{ __typename?: "Request"; id: string }>;
      }>;
      aggregate: {
        __typename?: "ProjectAggregate";
        apiKeyCount: number;
        requestCount: number;
        averageRequestExecutionTime: number;
        averageContentLength: number;
      };
    }>;
  };
};

export type CreateProjectMutationMutationVariables = Exact<{
  input: CreateProjectInput;
}>;

export type CreateProjectMutationMutation = {
  __typename?: "Mutation";
  createProject: {
    __typename?: "CreateProjectResponse";
    success: boolean;
    message?: string | null;
    project?: { __typename?: "Project"; id: string; name: string } | null;
  };
};

export type AddCompanyMemberMutationMutationVariables = Exact<{
  companyId: Scalars["String"]["input"];
  userEmail: Scalars["String"]["input"];
}>;

export type AddCompanyMemberMutationMutation = {
  __typename?: "Mutation";
  addCompanyMember: {
    __typename?: "AddCompanyMemberResponse";
    success: boolean;
    message?: string | null;
  };
};

export type ApiKeyQueryQueryVariables = Exact<{
  id?: InputMaybe<Scalars["ID"]["input"]>;
  projectId?: InputMaybe<Scalars["ID"]["input"]>;
}>;

export type ApiKeyQueryQuery = {
  __typename?: "Query";
  apiKeys: {
    __typename?: "ProjectApiKeysResponse";
    keys: Array<{
      __typename?: "ApiKey";
      id: string;
      name: string;
      key: string;
    }>;
  };
};

export type CompanyQueryQueryVariables = Exact<{
  id: Scalars["String"]["input"];
  dateRange: DateTimeInput;
}>;

export type CompanyQueryQuery = {
  __typename?: "Query";
  companies: {
    __typename?: "CompaniesResponse";
    companies: Array<{
      __typename?: "Company";
      id: string;
      name: string;
      users: Array<{ __typename?: "User"; id: string; email: string }>;
      aggregate: {
        __typename?: "CompanyAggregate";
        projectCount: number;
        requestCount: number;
        averageRequestExecutionTime: number;
        averageContentLength: number;
      };
    }>;
  };
};

export type RequestQueryQueryVariables = Exact<{
  id?: InputMaybe<Scalars["ID"]["input"]>;
}>;

export type RequestQueryQuery = {
  __typename?: "Query";
  requests: {
    __typename?: "RequestsResponse";
    success: boolean;
    message?: string | null;
    requests?: Array<{
      __typename?: "Request";
      id: string;
      callType: string;
      url: string;
      method: string;
      body?: string | null;
      headers?: string | null;
      timestamp: string;
      response?: {
        __typename?: "Response";
        id: string;
        statusCode: number;
        body?: string | null;
        headers?: string | null;
        timestamp: string;
      } | null;
    }> | null;
  };
};

export const RequestsByApiKeyDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "RequestsByApiKey" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "apiKeyId" },
          },
          type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
        },
        {
          kind: "VariableDefinition",
          variable: { kind: "Variable", name: { kind: "Name", value: "skip" } },
          type: { kind: "NamedType", name: { kind: "Name", value: "Int" } },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "requests" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "apiKeyId" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "apiKeyId" },
                      },
                    },
                  ],
                },
              },
              {
                kind: "Argument",
                name: { kind: "Name", value: "options" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "skip" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "skip" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                {
                  kind: "Field",
                  name: { kind: "Name", value: "requests" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "callType" },
                      },
                      { kind: "Field", name: { kind: "Name", value: "url" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "method" },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "timestamp" },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "response" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "statusCode" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "timestamp" },
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  RequestsByApiKeyQuery,
  RequestsByApiKeyQueryVariables
>;
export const RequestMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "RequestMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "email" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "password" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "userRegistrationRequest" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "email" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "email" },
                      },
                    },
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "password" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "password" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  RequestMutationMutation,
  RequestMutationMutationVariables
>;
export const CallbackMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "CallbackMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "registrationToken" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "userRegistrationCallback" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "registrationToken" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "registrationToken" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "accessToken" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "refreshToken" },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  CallbackMutationMutation,
  CallbackMutationMutationVariables
>;
export const AllApiKeysQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "AllApiKeysQuery" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "where" },
          },
          type: {
            kind: "NamedType",
            name: { kind: "Name", value: "ProjectApiKeysWhere" },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "apiKeys" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "where" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "success" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "keys" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                      { kind: "Field", name: { kind: "Name", value: "key" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "project" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "name" },
                            },
                          ],
                        },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "requests" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  AllApiKeysQueryQuery,
  AllApiKeysQueryQueryVariables
>;
export const CreateProjectApiKeyMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "CreateProjectApiKeyMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "input" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "CreateProjectApiKeyInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "createProjectApiKey" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "input" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "success" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "projectApiKey" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "key" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  CreateProjectApiKeyMutationMutation,
  CreateProjectApiKeyMutationMutationVariables
>;
export const MeQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "MeQuery" },
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "me" },
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "user" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "email" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "companies" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "name" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "users" },
                              selectionSet: {
                                kind: "SelectionSet",
                                selections: [
                                  {
                                    kind: "Field",
                                    name: { kind: "Name", value: "id" },
                                  },
                                  {
                                    kind: "Field",
                                    name: { kind: "Name", value: "email" },
                                  },
                                ],
                              },
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<MeQueryQuery, MeQueryQueryVariables>;
export const RefreshTokenMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "RefreshTokenMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "refreshToken" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "refreshToken" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "refreshToken" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "refreshToken" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "accessToken" } },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  RefreshTokenMutationMutation,
  RefreshTokenMutationMutationVariables
>;
export const UserLoginMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "UserLoginMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "email" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "password" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "userLogin" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "email" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "email" },
                      },
                    },
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "password" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "password" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "accessToken" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "refreshToken" },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  UserLoginMutationMutation,
  UserLoginMutationMutationVariables
>;
export const UserPasswordResetCallbackMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "UserPasswordResetCallbackMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "input" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "UserPasswordResetCallbackInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "userPasswordResetCallback" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "input" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  UserPasswordResetCallbackMutationMutation,
  UserPasswordResetCallbackMutationMutationVariables
>;
export const UserPasswordResetRequestMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "UserPasswordResetRequestMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "input" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: {
                kind: "Name",
                value: "UserPasswordResetRequestbackInput",
              },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "userPasswordResetRequest" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "input" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  UserPasswordResetRequestMutationMutation,
  UserPasswordResetRequestMutationMutationVariables
>;
export const CreateCompanyMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "CreateCompanyMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "input" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "CreateCompanyInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "createCompany" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "input" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "company" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  CreateCompanyMutationMutation,
  CreateCompanyMutationMutationVariables
>;
export const AllProjectsQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "AllProjectsQuery" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "where" },
          },
          type: {
            kind: "NamedType",
            name: { kind: "Name", value: "ProjectsWhere" },
          },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "dateRange" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "DateTimeInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "projects" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "where" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "message" } },
                { kind: "Field", name: { kind: "Name", value: "success" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "projects" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "apiKeys" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "key" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "name" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "requests" },
                              selectionSet: {
                                kind: "SelectionSet",
                                selections: [
                                  {
                                    kind: "Field",
                                    name: { kind: "Name", value: "id" },
                                  },
                                ],
                              },
                            },
                          ],
                        },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "aggregate" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "apiKeyCount" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "requestCount" },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                            {
                              kind: "Field",
                              name: {
                                kind: "Name",
                                value: "averageRequestExecutionTime",
                              },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                            {
                              kind: "Field",
                              name: {
                                kind: "Name",
                                value: "averageContentLength",
                              },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  AllProjectsQueryQuery,
  AllProjectsQueryQueryVariables
>;
export const CreateProjectMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "CreateProjectMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "input" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "CreateProjectInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "createProject" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "Variable",
                  name: { kind: "Name", value: "input" },
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "project" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  CreateProjectMutationMutation,
  CreateProjectMutationMutationVariables
>;
export const AddCompanyMemberMutationDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "mutation",
      name: { kind: "Name", value: "AddCompanyMemberMutation" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "companyId" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "userEmail" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "addCompanyMember" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "input" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "companyId" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "companyId" },
                      },
                    },
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "userEmail" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "userEmail" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<
  AddCompanyMemberMutationMutation,
  AddCompanyMemberMutationMutationVariables
>;
export const ApiKeyQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "ApiKeyQuery" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
          type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "projectId" },
          },
          type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "apiKeys" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "id" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "id" },
                      },
                    },
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "projectId" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "projectId" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                {
                  kind: "Field",
                  name: { kind: "Name", value: "keys" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                      { kind: "Field", name: { kind: "Name", value: "key" } },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<ApiKeyQueryQuery, ApiKeyQueryQueryVariables>;
export const CompanyQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "CompanyQuery" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "String" },
            },
          },
        },
        {
          kind: "VariableDefinition",
          variable: {
            kind: "Variable",
            name: { kind: "Name", value: "dateRange" },
          },
          type: {
            kind: "NonNullType",
            type: {
              kind: "NamedType",
              name: { kind: "Name", value: "DateTimeInput" },
            },
          },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "companies" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "id" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "id" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                {
                  kind: "Field",
                  name: { kind: "Name", value: "companies" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      { kind: "Field", name: { kind: "Name", value: "name" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "users" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "email" },
                            },
                          ],
                        },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "aggregate" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "projectCount" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "requestCount" },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                            {
                              kind: "Field",
                              name: {
                                kind: "Name",
                                value: "averageRequestExecutionTime",
                              },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                            {
                              kind: "Field",
                              name: {
                                kind: "Name",
                                value: "averageContentLength",
                              },
                              arguments: [
                                {
                                  kind: "Argument",
                                  name: { kind: "Name", value: "options" },
                                  value: {
                                    kind: "Variable",
                                    name: { kind: "Name", value: "dateRange" },
                                  },
                                },
                              ],
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<CompanyQueryQuery, CompanyQueryQueryVariables>;
export const RequestQueryDocument = {
  kind: "Document",
  definitions: [
    {
      kind: "OperationDefinition",
      operation: "query",
      name: { kind: "Name", value: "RequestQuery" },
      variableDefinitions: [
        {
          kind: "VariableDefinition",
          variable: { kind: "Variable", name: { kind: "Name", value: "id" } },
          type: { kind: "NamedType", name: { kind: "Name", value: "ID" } },
        },
      ],
      selectionSet: {
        kind: "SelectionSet",
        selections: [
          {
            kind: "Field",
            name: { kind: "Name", value: "requests" },
            arguments: [
              {
                kind: "Argument",
                name: { kind: "Name", value: "where" },
                value: {
                  kind: "ObjectValue",
                  fields: [
                    {
                      kind: "ObjectField",
                      name: { kind: "Name", value: "id" },
                      value: {
                        kind: "Variable",
                        name: { kind: "Name", value: "id" },
                      },
                    },
                  ],
                },
              },
            ],
            selectionSet: {
              kind: "SelectionSet",
              selections: [
                { kind: "Field", name: { kind: "Name", value: "success" } },
                { kind: "Field", name: { kind: "Name", value: "message" } },
                {
                  kind: "Field",
                  name: { kind: "Name", value: "requests" },
                  selectionSet: {
                    kind: "SelectionSet",
                    selections: [
                      { kind: "Field", name: { kind: "Name", value: "id" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "callType" },
                      },
                      { kind: "Field", name: { kind: "Name", value: "url" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "method" },
                      },
                      { kind: "Field", name: { kind: "Name", value: "body" } },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "headers" },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "timestamp" },
                      },
                      {
                        kind: "Field",
                        name: { kind: "Name", value: "response" },
                        selectionSet: {
                          kind: "SelectionSet",
                          selections: [
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "id" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "statusCode" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "body" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "headers" },
                            },
                            {
                              kind: "Field",
                              name: { kind: "Name", value: "timestamp" },
                            },
                          ],
                        },
                      },
                    ],
                  },
                },
              ],
            },
          },
        ],
      },
    },
  ],
} as unknown as DocumentNode<RequestQueryQuery, RequestQueryQueryVariables>;
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: { input: string; output: string };
  String: { input: string; output: string };
  Boolean: { input: boolean; output: boolean };
  Int: { input: number; output: number };
  Float: { input: number; output: number };
};

export type AddCompanyMemberInput = {
  companyId: Scalars["String"]["input"];
  userEmail: Scalars["String"]["input"];
};

export type AddCompanyMemberResponse = {
  __typename?: "AddCompanyMemberResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type ApiKey = {
  __typename?: "ApiKey";
  id: Scalars["String"]["output"];
  key: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  project?: Maybe<Project>;
  requests: Array<Request>;
};

export type CompaniesResponse = {
  __typename?: "CompaniesResponse";
  companies: Array<Company>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type CompaniesWhere = {
  id?: InputMaybe<Scalars["String"]["input"]>;
};

export type Company = {
  __typename?: "Company";
  aggregate: CompanyAggregate;
  id: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  projects?: Maybe<Array<Project>>;
  requests: Array<Request>;
  users: Array<User>;
};

export type CompanyAggregate = {
  __typename?: "CompanyAggregate";
  averageContentLength: Scalars["Float"]["output"];
  averageRequestExecutionTime: Scalars["Float"]["output"];
  projectCount: Scalars["Int"]["output"];
  requestCount: Scalars["Int"]["output"];
  timeseries: Array<CompanyAggregateTimeSeries>;
};

export type CompanyAggregateAverageContentLengthArgs = {
  options: DateTimeInput;
};

export type CompanyAggregateAverageRequestExecutionTimeArgs = {
  options: DateTimeInput;
};

export type CompanyAggregateRequestCountArgs = {
  options: DateTimeInput;
  where?: InputMaybe<CompanyAggregateRequestCountWhere>;
};

export type CompanyAggregateTimeseriesArgs = {
  options: DateTimeInput;
  partition: TimeSeriesPartitionEnum;
};

export type CompanyAggregateRequestCountWhere = {
  status: RequestStatusEnum;
};

export type CompanyAggregateTimeSeries = {
  __typename?: "CompanyAggregateTimeSeries";
  averageRequestExecutionTime: Scalars["Int"]["output"];
  from: Scalars["String"]["output"];
  requestCount: Scalars["Int"]["output"];
  to: Scalars["String"]["output"];
};

export type CreateCompanyInput = {
  name: Scalars["String"]["input"];
};

export type CreateCompanyResponse = {
  __typename?: "CreateCompanyResponse";
  company?: Maybe<Company>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type CreateProjectApiKeyInput = {
  name: Scalars["String"]["input"];
  projectId: Scalars["ID"]["input"];
};

export type CreateProjectApiKeyResponse = {
  __typename?: "CreateProjectApiKeyResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  projectApiKey?: Maybe<ApiKey>;
  success: Scalars["Boolean"]["output"];
};

export type CreateProjectInput = {
  name: Scalars["String"]["input"];
};

export type CreateProjectResponse = {
  __typename?: "CreateProjectResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  project?: Maybe<Project>;
  success: Scalars["Boolean"]["output"];
};

export type DateTimeInput = {
  from: Scalars["String"]["input"];
  to: Scalars["String"]["input"];
};

export type MeResponse = {
  __typename?: "MeResponse";
  message: Scalars["String"]["output"];
  success: Scalars["Boolean"]["output"];
  user?: Maybe<User>;
};

export type Mutation = {
  __typename?: "Mutation";
  addCompanyMember: AddCompanyMemberResponse;
  createCompany: CreateCompanyResponse;
  createProject: CreateProjectResponse;
  createProjectApiKey: CreateProjectApiKeyResponse;
  refreshToken: RefreshTokenResponse;
  userLogin: UserLoginResponse;
  userPasswordResetCallback: UserPasswordResetCallbackResponse;
  userPasswordResetRequest: UserPasswordResetRequestbackResponse;
  userRegistrationCallback: UserRegistrationCallbackResponse;
  userRegistrationRequest: UserRegistrationRequestResponse;
};

export type MutationAddCompanyMemberArgs = {
  input: AddCompanyMemberInput;
};

export type MutationCreateCompanyArgs = {
  input: CreateCompanyInput;
};

export type MutationCreateProjectArgs = {
  input: CreateProjectInput;
};

export type MutationCreateProjectApiKeyArgs = {
  input: CreateProjectApiKeyInput;
};

export type MutationRefreshTokenArgs = {
  input: RefreshTokenInput;
};

export type MutationUserLoginArgs = {
  input: UserLoginInput;
};

export type MutationUserPasswordResetCallbackArgs = {
  input: UserPasswordResetCallbackInput;
};

export type MutationUserPasswordResetRequestArgs = {
  input: UserPasswordResetRequestbackInput;
};

export type MutationUserRegistrationCallbackArgs = {
  input: UserRegistrationCallbackInput;
};

export type MutationUserRegistrationRequestArgs = {
  input: UserRegistrationRequestInput;
};

export type OnboardedFromEnum = "ANALYZER" | "VISUALIZER";

export type Project = {
  __typename?: "Project";
  aggregate: ProjectAggregate;
  apiKeys: Array<ApiKey>;
  id: Scalars["String"]["output"];
  name: Scalars["String"]["output"];
  requests: Array<Request>;
};

export type ProjectAggregate = {
  __typename?: "ProjectAggregate";
  apiKeyCount: Scalars["Int"]["output"];
  averageContentLength: Scalars["Float"]["output"];
  averageRequestExecutionTime: Scalars["Float"]["output"];
  requestCount: Scalars["Int"]["output"];
};

export type ProjectAggregateAverageContentLengthArgs = {
  options: DateTimeInput;
};

export type ProjectAggregateAverageRequestExecutionTimeArgs = {
  options: DateTimeInput;
};

export type ProjectAggregateRequestCountArgs = {
  options: DateTimeInput;
  where?: InputMaybe<CompanyAggregateRequestCountWhere>;
};

export type ProjectApiKeysResponse = {
  __typename?: "ProjectApiKeysResponse";
  keys: Array<ApiKey>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type ProjectApiKeysWhere = {
  id?: InputMaybe<Scalars["ID"]["input"]>;
  projectId?: InputMaybe<Scalars["ID"]["input"]>;
};

export type ProjectsResponse = {
  __typename?: "ProjectsResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  projects: Array<Project>;
  success: Scalars["Boolean"]["output"];
};

export type ProjectsWhere = {
  companyId?: InputMaybe<Scalars["ID"]["input"]>;
  id?: InputMaybe<Scalars["ID"]["input"]>;
};

export type Query = {
  __typename?: "Query";
  apiKeys: ProjectApiKeysResponse;
  companies: CompaniesResponse;
  me: MeResponse;
  projects: ProjectsResponse;
  requests: RequestsResponse;
};

export type QueryApiKeysArgs = {
  where?: InputMaybe<ProjectApiKeysWhere>;
};

export type QueryCompaniesArgs = {
  where?: InputMaybe<CompaniesWhere>;
};

export type QueryProjectsArgs = {
  where?: InputMaybe<ProjectsWhere>;
};

export type QueryRequestsArgs = {
  options?: InputMaybe<RequestsOption>;
  where?: InputMaybe<RequestsWhere>;
};

export type RefreshTokenInput = {
  refreshToken: Scalars["String"]["input"];
};

export type RefreshTokenResponse = {
  __typename?: "RefreshTokenResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type Request = {
  __typename?: "Request";
  body?: Maybe<Scalars["String"]["output"]>;
  callType: Scalars["String"]["output"];
  duration?: Maybe<Scalars["Float"]["output"]>;
  headers?: Maybe<Scalars["String"]["output"]>;
  id: Scalars["String"]["output"];
  method: Scalars["String"]["output"];
  response?: Maybe<Response>;
  status: Scalars["String"]["output"];
  timestamp: Scalars["String"]["output"];
  url: Scalars["String"]["output"];
};

export type RequestStatusEnum = "FAILED" | "SUCCESS";

export type RequestsOption = {
  skip?: InputMaybe<Scalars["Int"]["input"]>;
};

export type RequestsResponse = {
  __typename?: "RequestsResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  requests?: Maybe<Array<Request>>;
  success: Scalars["Boolean"]["output"];
};

export type RequestsWhere = {
  apiKeyId?: InputMaybe<Scalars["ID"]["input"]>;
  id?: InputMaybe<Scalars["ID"]["input"]>;
};

export type Response = {
  __typename?: "Response";
  body?: Maybe<Scalars["String"]["output"]>;
  contentLength: Scalars["String"]["output"];
  headers?: Maybe<Scalars["String"]["output"]>;
  id: Scalars["String"]["output"];
  statusCode: Scalars["Int"]["output"];
  timestamp: Scalars["String"]["output"];
};

export type TimeSeriesPartitionEnum = "HOUR";

export type User = {
  __typename?: "User";
  companies?: Maybe<Array<Company>>;
  createdAt: Scalars["String"]["output"];
  email: Scalars["String"]["output"];
  id: Scalars["String"]["output"];
  updatedAt: Scalars["String"]["output"];
};

export type UserLoginInput = {
  email: Scalars["String"]["input"];
  password: Scalars["String"]["input"];
};

export type UserLoginResponse = {
  __typename?: "UserLoginResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  refreshToken?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserPasswordResetCallbackInput = {
  email: Scalars["String"]["input"];
  newPassword: Scalars["String"]["input"];
  resetToken: Scalars["String"]["input"];
};

export type UserPasswordResetCallbackResponse = {
  __typename?: "UserPasswordResetCallbackResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserPasswordResetRequestbackInput = {
  email: Scalars["String"]["input"];
};

export type UserPasswordResetRequestbackResponse = {
  __typename?: "UserPasswordResetRequestbackResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserRegistrationCallbackInput = {
  registrationToken: Scalars["String"]["input"];
};

export type UserRegistrationCallbackResponse = {
  __typename?: "UserRegistrationCallbackResponse";
  accessToken?: Maybe<Scalars["String"]["output"]>;
  message?: Maybe<Scalars["String"]["output"]>;
  refreshToken?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};

export type UserRegistrationRequestInput = {
  email: Scalars["String"]["input"];
  onboardedFrom?: InputMaybe<OnboardedFromEnum>;
  password: Scalars["String"]["input"];
  silent?: InputMaybe<Scalars["Boolean"]["input"]>;
};

export type UserRegistrationRequestResponse = {
  __typename?: "UserRegistrationRequestResponse";
  message?: Maybe<Scalars["String"]["output"]>;
  success: Scalars["Boolean"]["output"];
};
