import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; export type Incremental = 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; } DateTime: { input: any; output: any; } JSON: { input: any; output: any; } Long: { input: any; output: any; } }; export type BlockFiltersInput = { and: InputMaybe>>; client: InputMaybe; createdAt: InputMaybe; dateend: InputMaybe; datestart: InputMaybe; documentId: InputMaybe; master: InputMaybe; not: InputMaybe; or: InputMaybe>>; orders: InputMaybe; publishedAt: InputMaybe; sessionsCompleted: InputMaybe; sessionsTotal: InputMaybe; state: InputMaybe; updatedAt: InputMaybe; }; export type BlockInput = { client: InputMaybe; dateend: InputMaybe; datestart: InputMaybe; master: InputMaybe; orders: InputMaybe>>; publishedAt: InputMaybe; sessionsCompleted: InputMaybe; sessionsTotal: InputMaybe; state: InputMaybe; }; export type BooleanFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type CustomerFiltersInput = { active: InputMaybe; and: InputMaybe>>; blocks: InputMaybe; clients: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; masters: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; orders: InputMaybe; phone: InputMaybe; publishedAt: InputMaybe; role: InputMaybe; setting: InputMaybe; slots: InputMaybe; telegramId: InputMaybe; updatedAt: InputMaybe; }; export type CustomerInput = { active: InputMaybe; blocks: InputMaybe>>; clients: InputMaybe>>; masters: InputMaybe>>; name: InputMaybe; orders: InputMaybe>>; phone: InputMaybe; publishedAt: InputMaybe; role: InputMaybe; setting: InputMaybe; slots: InputMaybe>>; telegramId: InputMaybe; }; export type DateTimeFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export enum Enum_Block_State { Created = 'created', Deleted = 'deleted', Paid = 'paid' } export enum Enum_Customer_Role { Client = 'client', Master = 'master' } export enum Enum_Order_State { Approved = 'approved', Cancelled = 'cancelled', Completed = 'completed', Created = 'created', Scheduled = 'scheduled' } export enum Enum_Slot_State { Closed = 'closed', Open = 'open', Reserved = 'reserved' } export type FileInfoInput = { alternativeText: InputMaybe; caption: InputMaybe; name: InputMaybe; }; export type FloatFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type I18NLocaleFiltersInput = { and: InputMaybe>>; code: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; publishedAt: InputMaybe; updatedAt: InputMaybe; }; export type IdFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type IntFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type JsonFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type LongFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type OrderFiltersInput = { and: InputMaybe>>; block: InputMaybe; client: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; not: InputMaybe; or: InputMaybe>>; price: InputMaybe; publishedAt: InputMaybe; service: InputMaybe; slot: InputMaybe; state: InputMaybe; updatedAt: InputMaybe; }; export type OrderInput = { block: InputMaybe; client: InputMaybe; price: InputMaybe; publishedAt: InputMaybe; service: InputMaybe; slot: InputMaybe; state: InputMaybe; }; export type PaginationArg = { limit: InputMaybe; page: InputMaybe; pageSize: InputMaybe; start: InputMaybe; }; export enum PublicationStatus { Draft = 'DRAFT', Published = 'PUBLISHED' } export type ReviewWorkflowsWorkflowFiltersInput = { and: InputMaybe>>; contentTypes: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; publishedAt: InputMaybe; stageRequiredToPublish: InputMaybe; stages: InputMaybe; updatedAt: InputMaybe; }; export type ReviewWorkflowsWorkflowInput = { contentTypes: InputMaybe; name: InputMaybe; publishedAt: InputMaybe; stageRequiredToPublish: InputMaybe; stages: InputMaybe>>; }; export type ReviewWorkflowsWorkflowStageFiltersInput = { and: InputMaybe>>; color: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; publishedAt: InputMaybe; updatedAt: InputMaybe; workflow: InputMaybe; }; export type ReviewWorkflowsWorkflowStageInput = { color: InputMaybe; name: InputMaybe; publishedAt: InputMaybe; workflow: InputMaybe; }; export type SettingFiltersInput = { and: InputMaybe>>; createdAt: InputMaybe; customer: InputMaybe; documentId: InputMaybe; not: InputMaybe; or: InputMaybe>>; publishedAt: InputMaybe; recordingByBlocks: InputMaybe; updatedAt: InputMaybe; }; export type SettingInput = { customer: InputMaybe; publishedAt: InputMaybe; recordingByBlocks: InputMaybe; }; export type SlotFiltersInput = { and: InputMaybe>>; createdAt: InputMaybe; dateend: InputMaybe; datestart: InputMaybe; documentId: InputMaybe; master: InputMaybe; not: InputMaybe; or: InputMaybe>>; orders: InputMaybe; publishedAt: InputMaybe; state: InputMaybe; updatedAt: InputMaybe; }; export type SlotInput = { dateend: InputMaybe; datestart: InputMaybe; master: InputMaybe; orders: InputMaybe; publishedAt: InputMaybe; state: InputMaybe; }; export type StringFilterInput = { and: InputMaybe>>; between: InputMaybe>>; contains: InputMaybe; containsi: InputMaybe; endsWith: InputMaybe; eq: InputMaybe; eqi: InputMaybe; gt: InputMaybe; gte: InputMaybe; in: InputMaybe>>; lt: InputMaybe; lte: InputMaybe; ne: InputMaybe; nei: InputMaybe; not: InputMaybe; notContains: InputMaybe; notContainsi: InputMaybe; notIn: InputMaybe>>; notNull: InputMaybe; null: InputMaybe; or: InputMaybe>>; startsWith: InputMaybe; }; export type UploadFileFiltersInput = { alternativeText: InputMaybe; and: InputMaybe>>; caption: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; ext: InputMaybe; formats: InputMaybe; hash: InputMaybe; height: InputMaybe; mime: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; previewUrl: InputMaybe; provider: InputMaybe; provider_metadata: InputMaybe; publishedAt: InputMaybe; size: InputMaybe; updatedAt: InputMaybe; url: InputMaybe; width: InputMaybe; }; export type UsersPermissionsLoginInput = { identifier: Scalars['String']['input']; password: Scalars['String']['input']; provider: Scalars['String']['input']; }; export type UsersPermissionsPermissionFiltersInput = { action: InputMaybe; and: InputMaybe>>; createdAt: InputMaybe; documentId: InputMaybe; not: InputMaybe; or: InputMaybe>>; publishedAt: InputMaybe; role: InputMaybe; updatedAt: InputMaybe; }; export type UsersPermissionsRegisterInput = { email: Scalars['String']['input']; password: Scalars['String']['input']; username: Scalars['String']['input']; }; export type UsersPermissionsRoleFiltersInput = { and: InputMaybe>>; createdAt: InputMaybe; description: InputMaybe; documentId: InputMaybe; name: InputMaybe; not: InputMaybe; or: InputMaybe>>; permissions: InputMaybe; publishedAt: InputMaybe; type: InputMaybe; updatedAt: InputMaybe; users: InputMaybe; }; export type UsersPermissionsRoleInput = { description: InputMaybe; name: InputMaybe; permissions: InputMaybe>>; publishedAt: InputMaybe; type: InputMaybe; users: InputMaybe>>; }; export type UsersPermissionsUserFiltersInput = { and: InputMaybe>>; blocked: InputMaybe; confirmed: InputMaybe; createdAt: InputMaybe; documentId: InputMaybe; email: InputMaybe; not: InputMaybe; or: InputMaybe>>; provider: InputMaybe; publishedAt: InputMaybe; role: InputMaybe; updatedAt: InputMaybe; username: InputMaybe; }; export type UsersPermissionsUserInput = { blocked: InputMaybe; confirmed: InputMaybe; email: InputMaybe; password: InputMaybe; provider: InputMaybe; publishedAt: InputMaybe; role: InputMaybe; username: InputMaybe; }; export type RegisterMutationVariables = Exact<{ identifier: Scalars['String']['input']; password: Scalars['String']['input']; email: Scalars['String']['input']; }>; export type RegisterMutation = { __typename?: 'Mutation', register: { __typename?: 'UsersPermissionsLoginPayload', jwt: string | null, user: { __typename?: 'UsersPermissionsMe', username: string } } }; export type LoginMutationVariables = Exact<{ identifier: Scalars['String']['input']; password: Scalars['String']['input']; }>; export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'UsersPermissionsLoginPayload', jwt: string | null } }; export type CreateCustomerMutationVariables = Exact<{ name: Scalars['String']['input']; telegramId: Scalars['Long']['input']; phone: Scalars['String']['input']; }>; export type CreateCustomerMutation = { __typename?: 'Mutation', createCustomer: { __typename?: 'Customer', documentId: string, name: string, telegramId: any | null, phone: string, role: Enum_Customer_Role, active: boolean | null, createdAt: any | null, updatedAt: any | null, publishedAt: any | null } | null }; export const RegisterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"Register"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"identifier"}},"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"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"email"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"register"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"username"},"value":{"kind":"Variable","name":{"kind":"Name","value":"identifier"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"password"},"value":{"kind":"Variable","name":{"kind":"Name","value":"password"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"email"},"value":{"kind":"Variable","name":{"kind":"Name","value":"email"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jwt"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"username"}}]}}]}}]}}]} as unknown as DocumentNode; export const LoginDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"Login"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"identifier"}},"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":"login"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"identifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"identifier"}}},{"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":"jwt"}}]}}]}}]} as unknown as DocumentNode; export const CreateCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"telegramId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Long"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"phone"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"telegramId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"telegramId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"phone"},"value":{"kind":"Variable","name":{"kind":"Name","value":"phone"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"role"},"value":{"kind":"EnumValue","value":"client"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"telegramId"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}}]}}]}}]} as unknown as DocumentNode;