|
|
|
|
@ -16,7 +16,7 @@ export type Scalars = {
|
|
|
|
|
Date: { input: any; output: any; }
|
|
|
|
|
DateTime: { input: any; output: any; }
|
|
|
|
|
JSON: { input: any; output: any; }
|
|
|
|
|
Long: { input: any; output: any; }
|
|
|
|
|
Long: { input: number; output: number; }
|
|
|
|
|
Time: { input: any; output: any; }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -651,7 +651,7 @@ export type LoginMutationVariables = Exact<{
|
|
|
|
|
|
|
|
|
|
export type LoginMutation = { __typename?: 'Mutation', login: { __typename?: 'UsersPermissionsLoginPayload', jwt?: string | null | undefined } };
|
|
|
|
|
|
|
|
|
|
export type CustomerFieldsFragment = { __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: any | null | undefined };
|
|
|
|
|
export type CustomerFieldsFragment = { __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: number | null | undefined };
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerMutationVariables = Exact<{
|
|
|
|
|
name: Scalars['String']['input'];
|
|
|
|
|
@ -668,7 +668,7 @@ export type GetCustomerQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCustomerQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: any | null | undefined } | null | undefined> };
|
|
|
|
|
export type GetCustomerQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: number | null | undefined } | null | undefined> };
|
|
|
|
|
|
|
|
|
|
export type GetCustomerMastersQueryVariables = Exact<{
|
|
|
|
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|
@ -676,7 +676,7 @@ export type GetCustomerMastersQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCustomerMastersQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', documentId: string, masters: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: any | null | undefined } | null | undefined> } | null | undefined> };
|
|
|
|
|
export type GetCustomerMastersQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', documentId: string, masters: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: number | null | undefined } | null | undefined> } | null | undefined> };
|
|
|
|
|
|
|
|
|
|
export type GetCustomerClientsQueryVariables = Exact<{
|
|
|
|
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|
@ -684,7 +684,7 @@ export type GetCustomerClientsQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCustomerClientsQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', documentId: string, clients: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: any | null | undefined } | null | undefined> } | null | undefined> };
|
|
|
|
|
export type GetCustomerClientsQuery = { __typename?: 'Query', customers: Array<{ __typename?: 'Customer', documentId: string, clients: Array<{ __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: number | null | undefined } | null | undefined> } | null | undefined> };
|
|
|
|
|
|
|
|
|
|
export type UpdateCustomerMutationVariables = Exact<{
|
|
|
|
|
documentId: Scalars['ID']['input'];
|
|
|
|
|
@ -692,7 +692,7 @@ export type UpdateCustomerMutationVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type UpdateCustomerMutation = { __typename?: 'Mutation', updateCustomer?: { __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: any | null | undefined } | null | undefined };
|
|
|
|
|
export type UpdateCustomerMutation = { __typename?: 'Mutation', updateCustomer?: { __typename?: 'Customer', active?: boolean | null | undefined, documentId: string, name: string, phone: string, photoUrl?: string | null | undefined, role: Enum_Customer_Role, telegramId?: number | null | undefined } | null | undefined };
|
|
|
|
|
|
|
|
|
|
export type OrderFieldsFragment = { __typename?: 'Order', documentId: string, time_start?: any | null | undefined, time_end?: any | null | undefined, state?: Enum_Order_State | null | undefined, order_number?: number | null | undefined, services: Array<{ __typename?: 'Service', documentId: string, name?: string | null | undefined } | null | undefined>, client?: { __typename?: 'Customer', name: string, documentId: string, photoUrl?: string | null | undefined } | null | undefined };
|
|
|
|
|
|
|
|
|
|
|