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: string; output: string; } }; export type CreateTeamAddressInput = { address: Scalars['String']['input']; countryCode?: InputMaybe; isDefault?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; name: Scalars['String']['input']; }; export type CreateTeamAddressMutation = { __typename?: 'CreateTeamAddressMutation'; message?: Maybe; success?: Maybe; workflowId?: Maybe; }; export type DeleteTeamAddressMutation = { __typename?: 'DeleteTeamAddressMutation'; message?: Maybe; success?: Maybe; }; export type InviteMemberInput = { email: Scalars['String']['input']; role?: InputMaybe; }; export type InviteMemberMutation = { __typename?: 'InviteMemberMutation'; message?: Maybe; success?: Maybe; }; export type SelectedLocation = { __typename?: 'SelectedLocation'; latitude?: Maybe; longitude?: Maybe; name?: Maybe; type?: Maybe; uuid?: Maybe; }; export type SetSelectedLocationInput = { latitude: Scalars['Float']['input']; longitude: Scalars['Float']['input']; name: Scalars['String']['input']; type: Scalars['String']['input']; uuid: Scalars['String']['input']; }; export type SetSelectedLocationMutation = { __typename?: 'SetSelectedLocationMutation'; message?: Maybe; selectedLocation?: Maybe; success?: Maybe; }; export type Team = { __typename?: 'Team'; addresses?: Maybe>>; createdAt: Scalars['DateTime']['output']; id?: Maybe; logtoOrgId?: Maybe; members?: Maybe>>; name: Scalars['String']['output']; owner?: Maybe; ownerId?: Maybe; selectedLocation?: Maybe; updatedAt: Scalars['DateTime']['output']; uuid: Scalars['String']['output']; }; export type TeamAddress = { __typename?: 'TeamAddress'; address: Scalars['String']['output']; countryCode?: Maybe; createdAt?: Maybe; graphNodeId?: Maybe; isDefault?: Maybe; latitude?: Maybe; longitude?: Maybe; name: Scalars['String']['output']; processedAt?: Maybe; uuid: Scalars['String']['output']; }; export type TeamMember = { __typename?: 'TeamMember'; joinedAt?: Maybe; role: TeamsAppTeamMemberRoleChoices; user?: Maybe; }; export type TeamMutation = { __typename?: 'TeamMutation'; createTeamAddress?: Maybe; deleteTeamAddress?: Maybe; inviteMember?: Maybe; setSelectedLocation?: Maybe; updateTeamAddress?: Maybe; }; export type TeamMutationCreateTeamAddressArgs = { input: CreateTeamAddressInput; }; export type TeamMutationDeleteTeamAddressArgs = { uuid: Scalars['String']['input']; }; export type TeamMutationInviteMemberArgs = { input: InviteMemberInput; }; export type TeamMutationSetSelectedLocationArgs = { input: SetSelectedLocationInput; }; export type TeamMutationUpdateTeamAddressArgs = { input: UpdateTeamAddressInput; }; export type TeamQuery = { __typename?: 'TeamQuery'; getTeam?: Maybe; team?: Maybe; teamAddresses?: Maybe>>; teamMembers?: Maybe>>; }; export type TeamQueryGetTeamArgs = { teamId: Scalars['String']['input']; }; /** An enumeration. */ export enum TeamsAppTeamMemberRoleChoices { /** Администратор */ Admin = 'ADMIN', /** Менеджер */ Manager = 'MANAGER', /** Участник */ Member = 'MEMBER', /** Владелец */ Owner = 'OWNER' } export type UpdateTeamAddressInput = { address?: InputMaybe; countryCode?: InputMaybe; isDefault?: InputMaybe; latitude?: InputMaybe; longitude?: InputMaybe; name?: InputMaybe; uuid: Scalars['String']['input']; }; export type UpdateTeamAddressMutation = { __typename?: 'UpdateTeamAddressMutation'; address?: Maybe; message?: Maybe; success?: Maybe; }; export type User = { __typename?: 'User'; avatarId?: Maybe; createdAt?: Maybe; email: Scalars['String']['output']; firstName?: Maybe; id?: Maybe; lastName?: Maybe; phone?: Maybe; /** Обязательное поле. Не более 150 символов. Только буквы, цифры и символы @/./+/-/_. */ username: Scalars['String']['output']; }; export type CreateTeamAddressMutationVariables = Exact<{ input: CreateTeamAddressInput; }>; export type CreateTeamAddressMutation = { __typename?: 'TeamMutation', createTeamAddress?: { __typename?: 'CreateTeamAddressMutation', success?: boolean | null, message?: string | null, workflowId?: string | null } | null }; export type DeleteTeamAddressMutationVariables = Exact<{ uuid: Scalars['String']['input']; }>; export type DeleteTeamAddressMutation = { __typename?: 'TeamMutation', deleteTeamAddress?: { __typename?: 'DeleteTeamAddressMutation', success?: boolean | null, message?: string | null } | null }; export type GetTeamQueryVariables = Exact<{ [key: string]: never; }>; export type GetTeamQuery = { __typename?: 'TeamQuery', team?: { __typename?: 'Team', uuid: string, name: string, selectedLocation?: { __typename?: 'SelectedLocation', type?: string | null, uuid?: string | null } | null } | null }; export type GetTeamAddressesQueryVariables = Exact<{ [key: string]: never; }>; export type GetTeamAddressesQuery = { __typename?: 'TeamQuery', teamAddresses?: Array<{ __typename?: 'TeamAddress', uuid: string, name: string, address: string, latitude?: number | null, longitude?: number | null, countryCode?: string | null, isDefault?: boolean | null } | null> | null }; export type GetTeamMembersQueryVariables = Exact<{ [key: string]: never; }>; export type GetTeamMembersQuery = { __typename?: 'TeamQuery', teamMembers?: Array<{ __typename?: 'TeamMember', role: TeamsAppTeamMemberRoleChoices, joinedAt?: string | null, user?: { __typename?: 'User', id?: string | null, firstName?: string | null, lastName?: string | null, phone?: string | null, avatarId?: string | null } | null } | null> | null }; export type InviteMemberMutationVariables = Exact<{ input: InviteMemberInput; }>; export type InviteMemberMutation = { __typename?: 'TeamMutation', inviteMember?: { __typename?: 'InviteMemberMutation', success?: boolean | null, message?: string | null } | null }; export type SetSelectedLocationMutationVariables = Exact<{ input: SetSelectedLocationInput; }>; export type SetSelectedLocationMutation = { __typename?: 'TeamMutation', setSelectedLocation?: { __typename?: 'SetSelectedLocationMutation', success?: boolean | null, message?: string | null, selectedLocation?: { __typename?: 'SelectedLocation', type?: string | null, uuid?: string | null, name?: string | null, latitude?: number | null, longitude?: number | null } | null } | null }; export type UpdateTeamAddressMutationVariables = Exact<{ input: UpdateTeamAddressInput; }>; export type UpdateTeamAddressMutation = { __typename?: 'TeamMutation', updateTeamAddress?: { __typename?: 'UpdateTeamAddressMutation', success?: boolean | null, message?: string | null, address?: { __typename?: 'TeamAddress', uuid: string, name: string, address: string, latitude?: number | null, longitude?: number | null, countryCode?: string | null, isDefault?: boolean | null } | null } | null }; export const CreateTeamAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateTeamAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateTeamAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createTeamAddress"},"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":"workflowId"}}]}}]}}]} as unknown as DocumentNode; export const DeleteTeamAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTeamAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTeamAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; export const GetTeamDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTeam"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"team"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"selectedLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}}]}}]}}]} as unknown as DocumentNode; export const GetTeamAddressesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTeamAddresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"teamAddresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]}}]} as unknown as DocumentNode; export const GetTeamMembersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTeamMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"teamMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"joinedAt"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"avatarId"}}]}}]}}]}}]} as unknown as DocumentNode; export const InviteMemberDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InviteMember"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InviteMemberInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inviteMember"},"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; export const SetSelectedLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetSelectedLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SetSelectedLocationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setSelectedLocation"},"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":"selectedLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}}]}}]}}]}}]} as unknown as DocumentNode; export const UpdateTeamAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTeamAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTeamAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTeamAddress"},"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":"address"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]}}]}}]} as unknown as DocumentNode;