import { RequestDocument } from 'graphql-request/dist/types';

export declare type Maybe<T> = T | null;
export declare type Exact<T extends {
	[key: string]: unknown;
}> = {
	[K in keyof T]: T[K];
};
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
	[SubKey in K]?: Maybe<T[SubKey]>;
};
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
	[SubKey in K]: Maybe<T[SubKey]>;
};
/** All built-in and custom scalars, mapped to their actual values */
export declare type Scalars = {
	ID: string;
	String: string;
	Boolean: boolean;
	Int: number;
	Float: number;
	/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
	DateTime: any;
	/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
	JSON: any;
	/** The `Upload` scalar type represents a file upload. */
	Upload: any;
};
export declare type AddNoteToCustomerInput = {
	id: Scalars["ID"];
	note: Scalars["String"];
	isPublic: Scalars["Boolean"];
};
export declare enum AdjustmentType {
	PROMOTION = "PROMOTION",
	DISTRIBUTED_ORDER_PROMOTION = "DISTRIBUTED_ORDER_PROMOTION"
}
export declare type Administrator = Node & {
	__typename?: "Administrator";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	firstName: Scalars["String"];
	lastName: Scalars["String"];
	emailAddress: Scalars["String"];
	user: User;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type AdministratorFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	firstName?: Maybe<StringOperators>;
	lastName?: Maybe<StringOperators>;
	emailAddress?: Maybe<StringOperators>;
};
export declare type AdministratorList = PaginatedList & {
	__typename?: "AdministratorList";
	items: Array<Administrator>;
	totalItems: Scalars["Int"];
};
export declare type AdministratorListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<AdministratorSortParameter>;
	filter?: Maybe<AdministratorFilterParameter>;
};
export declare type AdministratorSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	firstName?: Maybe<SortOrder>;
	lastName?: Maybe<SortOrder>;
	emailAddress?: Maybe<SortOrder>;
};
export declare type AuthenticationInput = {
	native?: Maybe<NativeAuthInput>;
};
export declare type AuthenticationMethod = Node & {
	__typename?: "AuthenticationMethod";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	strategy: Scalars["String"];
};
export declare type AuthenticationResult = CurrentUser | InvalidCredentialsError;
export declare type BooleanCustomFieldConfig = CustomField & {
	__typename?: "BooleanCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
};
export declare type BooleanOperators = {
	eq?: Maybe<Scalars["Boolean"]>;
};
export declare type CreateAdministratorInput = {
	firstName: Scalars["String"];
	lastName: Scalars["String"];
	emailAddress: Scalars["String"];
	password: Scalars["String"];
	roleIds: Array<Scalars["ID"]>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type CreateCustomerGroupInput = {
	name: Scalars["String"];
	customerIds?: Maybe<Array<Scalars["ID"]>>;
};
export declare type CreateCustomerInput = {
	title?: Maybe<Scalars["String"]>;
	firstName: Scalars["String"];
	lastName: Scalars["String"];
	phoneNumber?: Maybe<Scalars["String"]>;
	emailAddress: Scalars["String"];
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type CreateCustomerResult = Customer | EmailAddressConflictError;
export declare type CreateModuleMenuAclInput = {
	moduleMenuId: Scalars["Int"];
	aclTagName: Scalars["String"];
	aclTagRemark: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type CreateModuleMenuInput = {
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch?: Maybe<Scalars["String"]>;
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplateInput>;
	description?: Maybe<Scalars["String"]>;
	permissions: Array<Permission>;
	sort?: Maybe<Scalars["Int"]>;
	icon?: Maybe<Scalars["String"]>;
	metaTitle?: Maybe<Scalars["String"]>;
	metaDescription?: Maybe<Scalars["String"]>;
	target?: Maybe<Scalars["String"]>;
	link?: Maybe<MenuLinkTemplateInput>;
	parentId?: Maybe<Scalars["Int"]>;
};
export declare type CreateModuleNormalInput = {
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch: Scalars["String"];
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplateInput>;
	description?: Maybe<Scalars["String"]>;
	permissions: Array<Permission>;
};
export declare type CreateRoleInput = {
	code: Scalars["String"];
	description: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type CurrentUser = {
	__typename?: "CurrentUser";
	id: Scalars["ID"];
	identifier: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type CustomField = {
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
};
export declare type CustomFieldConfig = StringCustomFieldConfig | IntCustomFieldConfig | FloatCustomFieldConfig | BooleanCustomFieldConfig | DateTimeCustomFieldConfig | RelationCustomFieldConfig;
export declare type CustomFields = {
	__typename?: "CustomFields";
	User: Array<CustomFieldConfig>;
	Administrator: Array<CustomFieldConfig>;
	Customer: Array<CustomFieldConfig>;
	GlobalSettings: Array<CustomFieldConfig>;
};
export declare type Customer = Node & {
	__typename?: "Customer";
	groups: Array<CustomerGroup>;
	history: HistoryEntryList;
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	title?: Maybe<Scalars["String"]>;
	firstName: Scalars["String"];
	lastName: Scalars["String"];
	phoneNumber?: Maybe<Scalars["String"]>;
	emailAddress: Scalars["String"];
	user?: Maybe<User>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type CustomerHistoryArgs = {
	options?: Maybe<HistoryEntryListOptions>;
};
export declare type CustomerFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	title?: Maybe<StringOperators>;
	firstName?: Maybe<StringOperators>;
	lastName?: Maybe<StringOperators>;
	phoneNumber?: Maybe<StringOperators>;
	emailAddress?: Maybe<StringOperators>;
};
export declare type CustomerGroup = Node & {
	__typename?: "CustomerGroup";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	name: Scalars["String"];
	customers: CustomerList;
};
export declare type CustomerGroupCustomersArgs = {
	options?: Maybe<CustomerListOptions>;
};
export declare type CustomerGroupFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	name?: Maybe<StringOperators>;
};
export declare type CustomerGroupList = PaginatedList & {
	__typename?: "CustomerGroupList";
	items: Array<CustomerGroup>;
	totalItems: Scalars["Int"];
};
export declare type CustomerGroupListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<CustomerGroupSortParameter>;
	filter?: Maybe<CustomerGroupFilterParameter>;
};
export declare type CustomerGroupSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	name?: Maybe<SortOrder>;
};
export declare type CustomerList = PaginatedList & {
	__typename?: "CustomerList";
	items: Array<Customer>;
	totalItems: Scalars["Int"];
};
export declare type CustomerListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<CustomerSortParameter>;
	filter?: Maybe<CustomerFilterParameter>;
};
export declare type CustomerSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	title?: Maybe<SortOrder>;
	firstName?: Maybe<SortOrder>;
	lastName?: Maybe<SortOrder>;
	phoneNumber?: Maybe<SortOrder>;
	emailAddress?: Maybe<SortOrder>;
};
export declare type DateOperators = {
	eq?: Maybe<Scalars["DateTime"]>;
	before?: Maybe<Scalars["DateTime"]>;
	after?: Maybe<Scalars["DateTime"]>;
	between?: Maybe<DateRange>;
};
export declare type DateRange = {
	start: Scalars["DateTime"];
	end: Scalars["DateTime"];
};
/**
 * Expects the same validation formats as the `<input type="datetime-local">` HTML element.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
 */
export declare type DateTimeCustomFieldConfig = CustomField & {
	__typename?: "DateTimeCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
	min?: Maybe<Scalars["String"]>;
	max?: Maybe<Scalars["String"]>;
	step?: Maybe<Scalars["Int"]>;
};
export declare type DeletionResponse = {
	__typename?: "DeletionResponse";
	result: DeletionResult;
	message?: Maybe<Scalars["String"]>;
};
export declare enum DeletionResult {
	/** The entity was successfully deleted */
	DELETED = "DELETED",
	/** Deletion did not take place, reason given in message */
	NOT_DELETED = "NOT_DELETED"
}
/** Retured when attemting to create a Customer with an email address already registered to an existing User. */
export declare type EmailAddressConflictError = ErrorResult & {
	__typename?: "EmailAddressConflictError";
	errorCode: ErrorCode;
	message: Scalars["String"];
};
export declare enum ErrorCode {
	UNKNOWN_ERROR = "UNKNOWN_ERROR",
	NATIVE_AUTH_STRATEGY_ERROR = "NATIVE_AUTH_STRATEGY_ERROR",
	INVALID_CREDENTIALS_ERROR = "INVALID_CREDENTIALS_ERROR",
	EMAIL_ADDRESS_CONFLICT_ERROR = "EMAIL_ADDRESS_CONFLICT_ERROR"
}
export declare type ErrorResult = {
	errorCode: ErrorCode;
	message: Scalars["String"];
};
export declare type FloatCustomFieldConfig = CustomField & {
	__typename?: "FloatCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
	min?: Maybe<Scalars["Float"]>;
	max?: Maybe<Scalars["Float"]>;
	step?: Maybe<Scalars["Float"]>;
};
export declare enum GlobalFlag {
	TRUE = "TRUE",
	FALSE = "FALSE",
	INHERIT = "INHERIT"
}
export declare type GlobalSettings = {
	__typename?: "GlobalSettings";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	enablePageProxy: Scalars["Boolean"];
	serverConfig: ServerConfig;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type HistoryEntry = Node & {
	__typename?: "HistoryEntry";
	isPublic: Scalars["Boolean"];
	administrator?: Maybe<Administrator>;
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	type: HistoryEntryType;
	data: Scalars["JSON"];
};
export declare type HistoryEntryFilterParameter = {
	isPublic?: Maybe<BooleanOperators>;
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	type?: Maybe<StringOperators>;
};
export declare type HistoryEntryList = PaginatedList & {
	__typename?: "HistoryEntryList";
	items: Array<HistoryEntry>;
	totalItems: Scalars["Int"];
};
export declare type HistoryEntryListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<HistoryEntrySortParameter>;
	filter?: Maybe<HistoryEntryFilterParameter>;
};
export declare type HistoryEntrySortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
};
export declare enum HistoryEntryType {
	CUSTOMER_REGISTERED = "CUSTOMER_REGISTERED",
	CUSTOMER_VERIFIED = "CUSTOMER_VERIFIED",
	CUSTOMER_DETAIL_UPDATED = "CUSTOMER_DETAIL_UPDATED",
	CUSTOMER_ADDED_TO_GROUP = "CUSTOMER_ADDED_TO_GROUP",
	CUSTOMER_REMOVED_FROM_GROUP = "CUSTOMER_REMOVED_FROM_GROUP",
	CUSTOMER_ADDRESS_CREATED = "CUSTOMER_ADDRESS_CREATED",
	CUSTOMER_ADDRESS_UPDATED = "CUSTOMER_ADDRESS_UPDATED",
	CUSTOMER_ADDRESS_DELETED = "CUSTOMER_ADDRESS_DELETED",
	CUSTOMER_PASSWORD_UPDATED = "CUSTOMER_PASSWORD_UPDATED",
	CUSTOMER_PASSWORD_RESET_REQUESTED = "CUSTOMER_PASSWORD_RESET_REQUESTED",
	CUSTOMER_PASSWORD_RESET_VERIFIED = "CUSTOMER_PASSWORD_RESET_VERIFIED",
	CUSTOMER_EMAIL_UPDATE_REQUESTED = "CUSTOMER_EMAIL_UPDATE_REQUESTED",
	CUSTOMER_EMAIL_UPDATE_VERIFIED = "CUSTOMER_EMAIL_UPDATE_VERIFIED",
	CUSTOMER_NOTE = "CUSTOMER_NOTE"
}
export declare type IntCustomFieldConfig = CustomField & {
	__typename?: "IntCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
	min?: Maybe<Scalars["Int"]>;
	max?: Maybe<Scalars["Int"]>;
	step?: Maybe<Scalars["Int"]>;
};
/** Returned if the user authentication credentials are not valid */
export declare type InvalidCredentialsError = ErrorResult & {
	__typename?: "InvalidCredentialsError";
	errorCode: ErrorCode;
	message: Scalars["String"];
	authenticationError: Scalars["String"];
};
export declare type Job = Node & {
	__typename?: "Job";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	startedAt?: Maybe<Scalars["DateTime"]>;
	settledAt?: Maybe<Scalars["DateTime"]>;
	queueName: Scalars["String"];
	state: JobState;
	progress: Scalars["Float"];
	data?: Maybe<Scalars["JSON"]>;
	result?: Maybe<Scalars["JSON"]>;
	error?: Maybe<Scalars["JSON"]>;
	isSettled: Scalars["Boolean"];
	duration: Scalars["Int"];
};
export declare type JobFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	startedAt?: Maybe<DateOperators>;
	settledAt?: Maybe<DateOperators>;
	queueName?: Maybe<StringOperators>;
	state?: Maybe<StringOperators>;
	progress?: Maybe<NumberOperators>;
	isSettled?: Maybe<BooleanOperators>;
	duration?: Maybe<NumberOperators>;
};
export declare type JobList = PaginatedList & {
	__typename?: "JobList";
	items: Array<Job>;
	totalItems: Scalars["Int"];
};
export declare type JobListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<JobSortParameter>;
	filter?: Maybe<JobFilterParameter>;
};
export declare type JobQueue = {
	__typename?: "JobQueue";
	name: Scalars["String"];
	running: Scalars["Boolean"];
};
export declare type JobSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	startedAt?: Maybe<SortOrder>;
	settledAt?: Maybe<SortOrder>;
	queueName?: Maybe<SortOrder>;
	progress?: Maybe<SortOrder>;
	duration?: Maybe<SortOrder>;
};
/**
 * @description
 * The state of a Job in the JobQueue
 *
 * @docsCategory common
 */
export declare enum JobState {
	PENDING = "PENDING",
	RUNNING = "RUNNING",
	COMPLETED = "COMPLETED",
	RETRYING = "RETRYING",
	FAILED = "FAILED",
	CANCELLED = "CANCELLED"
}
/**
 * @description
 * Languages in the form of a ISO 639-1 language code with optional
 * region or script modifier (e.g. de_AT). The selection available is based
 * on the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)
 * and includes the major spoken languages of the world and any widely-used variants.
 *
 * @docsCategory common
 */
export declare enum LanguageCode {
	/** English */
	en = "en",
	/** Chinese */
	zh = "zh"
}
export declare enum LogicalOperator {
	AND = "AND",
	OR = "OR"
}
export declare type MenuLinkTemplate = {
	__typename?: "MenuLinkTemplate";
	me?: Maybe<Scalars["String"]>;
	dev?: Maybe<Scalars["String"]>;
	uat?: Maybe<Scalars["String"]>;
	inte?: Maybe<Scalars["String"]>;
	rc?: Maybe<Scalars["String"]>;
	prod?: Maybe<Scalars["String"]>;
};
export declare type MenuLinkTemplateInput = {
	me?: Maybe<Scalars["String"]>;
	dev?: Maybe<Scalars["String"]>;
	uat?: Maybe<Scalars["String"]>;
	inte?: Maybe<Scalars["String"]>;
	rc?: Maybe<Scalars["String"]>;
	prod?: Maybe<Scalars["String"]>;
};
export declare type ModuleMenu = Node & {
	__typename?: "ModuleMenu";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch?: Maybe<Scalars["String"]>;
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplate>;
	description: Scalars["String"];
	permissions: Array<Permission>;
	sort?: Maybe<Scalars["Int"]>;
	icon?: Maybe<Scalars["String"]>;
	metaTitle?: Maybe<Scalars["String"]>;
	metaDescription?: Maybe<Scalars["String"]>;
	target?: Maybe<Scalars["String"]>;
	link?: Maybe<MenuLinkTemplate>;
	parentId?: Maybe<Scalars["Int"]>;
	children?: Maybe<Array<ModuleMenu>>;
	menuAcls: Array<ModuleMenuAcl>;
};
export declare type ModuleMenuAcl = Node & {
	__typename?: "ModuleMenuAcl";
	id: Scalars["ID"];
	aclTagName: Scalars["String"];
	aclTagRemark: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type ModuleMenuAclFilterParameter = {
	aclTagName?: Maybe<StringOperators>;
	aclTagRemark?: Maybe<StringOperators>;
};
export declare type ModuleMenuAclList = PaginatedList & {
	__typename?: "ModuleMenuAclList";
	items: Array<ModuleMenuAcl>;
	totalItems: Scalars["Int"];
};
export declare type ModuleMenuAclListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<ModuleMenuAclSortParameter>;
	filter?: Maybe<ModuleMenuAclFilterParameter>;
};
export declare type ModuleMenuAclSortParameter = {
	id?: Maybe<SortOrder>;
	aclTagName?: Maybe<SortOrder>;
	aclTagRemark?: Maybe<SortOrder>;
};
export declare type ModuleMenuFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	name?: Maybe<StringOperators>;
	path?: Maybe<StringOperators>;
	pathMatch?: Maybe<StringOperators>;
	routeBaseName?: Maybe<StringOperators>;
	description?: Maybe<StringOperators>;
	sort?: Maybe<NumberOperators>;
	icon?: Maybe<StringOperators>;
	metaTitle?: Maybe<StringOperators>;
	metaDescription?: Maybe<StringOperators>;
	target?: Maybe<StringOperators>;
	parentId?: Maybe<NumberOperators>;
};
export declare type ModuleMenuList = PaginatedList & {
	__typename?: "ModuleMenuList";
	items: Array<ModuleMenu>;
	totalItems: Scalars["Int"];
};
export declare type ModuleMenuListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<ModuleMenuSortParameter>;
	filter?: Maybe<ModuleMenuFilterParameter>;
};
export declare type ModuleMenuSortInput = {
	id: Scalars["ID"];
	sort?: Maybe<Scalars["Int"]>;
};
export declare type ModuleMenuSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	name?: Maybe<SortOrder>;
	path?: Maybe<SortOrder>;
	pathMatch?: Maybe<SortOrder>;
	routeBaseName?: Maybe<SortOrder>;
	description?: Maybe<SortOrder>;
	sort?: Maybe<SortOrder>;
	icon?: Maybe<SortOrder>;
	metaTitle?: Maybe<SortOrder>;
	metaDescription?: Maybe<SortOrder>;
	target?: Maybe<SortOrder>;
	parentId?: Maybe<SortOrder>;
};
export declare type ModuleNormal = Node & {
	__typename?: "ModuleNormal";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch?: Maybe<Scalars["String"]>;
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplate>;
	description: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type ModuleNormalFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	name?: Maybe<StringOperators>;
	path?: Maybe<StringOperators>;
	pathMatch?: Maybe<StringOperators>;
	routeBaseName?: Maybe<StringOperators>;
	description?: Maybe<StringOperators>;
};
export declare type ModuleNormalList = PaginatedList & {
	__typename?: "ModuleNormalList";
	items: Array<ModuleNormal>;
	totalItems: Scalars["Int"];
};
export declare type ModuleNormalListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<ModuleNormalSortParameter>;
	filter?: Maybe<ModuleNormalFilterParameter>;
};
export declare type ModuleNormalSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	name?: Maybe<SortOrder>;
	path?: Maybe<SortOrder>;
	pathMatch?: Maybe<SortOrder>;
	routeBaseName?: Maybe<SortOrder>;
	description?: Maybe<SortOrder>;
};
export declare type ModuleTemplate = {
	__typename?: "ModuleTemplate";
	me?: Maybe<Scalars["String"]>;
	dev?: Maybe<Scalars["String"]>;
	uat?: Maybe<Scalars["String"]>;
	inte?: Maybe<Scalars["String"]>;
	rc?: Maybe<Scalars["String"]>;
	prod?: Maybe<Scalars["String"]>;
};
export declare type ModuleTemplateInput = {
	me?: Maybe<Scalars["String"]>;
	dev?: Maybe<Scalars["String"]>;
	uat?: Maybe<Scalars["String"]>;
	inte?: Maybe<Scalars["String"]>;
	rc?: Maybe<Scalars["String"]>;
	prod?: Maybe<Scalars["String"]>;
};
export declare type Mutation = {
	__typename?: "Mutation";
	/** Create a new Administrator */
	createAdministrator: Administrator;
	/** Update an existing Administrator */
	updateAdministrator: Administrator;
	/** Update the active (currently logged-in) Administrator */
	updateActiveAdministrator: Administrator;
	/** Delete an Administrator */
	deleteAdministrator: DeletionResponse;
	/** Assign a Role to an Administrator */
	assignRoleToAdministrator: Administrator;
	/** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */
	login: NativeAuthenticationResult;
	/** Authenticates the user using a named authentication strategy */
	authenticate: AuthenticationResult;
	logout: Success;
	/** Create a new CustomerGroup */
	createCustomerGroup: CustomerGroup;
	/** Update an existing CustomerGroup */
	updateCustomerGroup: CustomerGroup;
	/** Delete a CustomerGroup */
	deleteCustomerGroup: DeletionResponse;
	/** Add Customers to a CustomerGroup */
	addCustomersToGroup: CustomerGroup;
	/** Remove Customers from a CustomerGroup */
	removeCustomersFromGroup: CustomerGroup;
	/** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */
	createCustomer: CreateCustomerResult;
	/** Update an existing Customer */
	updateCustomer: UpdateCustomerResult;
	/** Delete a Customer */
	deleteCustomer: DeletionResponse;
	addNoteToCustomer: Customer;
	updateCustomerNote: HistoryEntry;
	deleteCustomerNote: DeletionResponse;
	updateGlobalSettings: UpdateGlobalSettingsResult;
	/** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */
	removeSettledJobs: Scalars["Int"];
	cancelJob: Job;
	/** Create a new ModuleNormal */
	createModuleNormal: ModuleNormal;
	/** Update an existing ModuleNormal */
	updateModuleNormal: ModuleNormal;
	/** Delete an existing ModuleNormal */
	deleteModuleNormal: DeletionResponse;
	/** Create a new ModuleMenu */
	createModuleMenu: ModuleMenu;
	/** Update an existing ModuleMenu */
	updateModuleMenu: ModuleMenu;
	/** Update an existing ModuleMenu sorts */
	updateModuleMenuSorts: Scalars["Boolean"];
	/** Delete an existing ModuleMenu */
	deleteModuleMenu: DeletionResponse;
	/** Create a new ModuleMenuAcl */
	createModuleMenuAcl: ModuleMenuAcl;
	/** Update an existing ModuleMenuAcl */
	updateModuleMenuAcl: ModuleMenuAcl;
	/** Delete an existing ModuleMenuAcl */
	deleteModuleMenuAcl: DeletionResponse;
	/** Create a new Role */
	createRole: Role;
	/** Update an existing Role */
	updateRole: Role;
	/** Delete an existing Role */
	deleteRole: DeletionResponse;
};
export declare type MutationCreateAdministratorArgs = {
	input: CreateAdministratorInput;
};
export declare type MutationUpdateAdministratorArgs = {
	input: UpdateAdministratorInput;
};
export declare type MutationUpdateActiveAdministratorArgs = {
	input: UpdateActiveAdministratorInput;
};
export declare type MutationDeleteAdministratorArgs = {
	id: Scalars["ID"];
};
export declare type MutationAssignRoleToAdministratorArgs = {
	administratorId: Scalars["ID"];
	roleId: Scalars["ID"];
};
export declare type MutationLoginArgs = {
	username: Scalars["String"];
	password: Scalars["String"];
	rememberMe?: Maybe<Scalars["Boolean"]>;
};
export declare type MutationAuthenticateArgs = {
	input: AuthenticationInput;
	rememberMe?: Maybe<Scalars["Boolean"]>;
};
export declare type MutationCreateCustomerGroupArgs = {
	input: CreateCustomerGroupInput;
};
export declare type MutationUpdateCustomerGroupArgs = {
	input: UpdateCustomerGroupInput;
};
export declare type MutationDeleteCustomerGroupArgs = {
	id: Scalars["ID"];
};
export declare type MutationAddCustomersToGroupArgs = {
	customerGroupId: Scalars["ID"];
	customerIds: Array<Scalars["ID"]>;
};
export declare type MutationRemoveCustomersFromGroupArgs = {
	customerGroupId: Scalars["ID"];
	customerIds: Array<Scalars["ID"]>;
};
export declare type MutationCreateCustomerArgs = {
	input: CreateCustomerInput;
	password?: Maybe<Scalars["String"]>;
};
export declare type MutationUpdateCustomerArgs = {
	input: UpdateCustomerInput;
};
export declare type MutationDeleteCustomerArgs = {
	id: Scalars["ID"];
};
export declare type MutationAddNoteToCustomerArgs = {
	input: AddNoteToCustomerInput;
};
export declare type MutationUpdateCustomerNoteArgs = {
	input: UpdateCustomerNoteInput;
};
export declare type MutationDeleteCustomerNoteArgs = {
	id: Scalars["ID"];
};
export declare type MutationUpdateGlobalSettingsArgs = {
	input: UpdateGlobalSettingsInput;
};
export declare type MutationRemoveSettledJobsArgs = {
	queueNames?: Maybe<Array<Scalars["String"]>>;
	olderThan?: Maybe<Scalars["DateTime"]>;
};
export declare type MutationCancelJobArgs = {
	jobId: Scalars["ID"];
};
export declare type MutationCreateModuleNormalArgs = {
	input: CreateModuleNormalInput;
};
export declare type MutationUpdateModuleNormalArgs = {
	input: UpdateModuleNormalInput;
};
export declare type MutationDeleteModuleNormalArgs = {
	id: Scalars["ID"];
};
export declare type MutationCreateModuleMenuArgs = {
	input: CreateModuleMenuInput;
};
export declare type MutationUpdateModuleMenuArgs = {
	input: UpdateModuleMenuInput;
};
export declare type MutationUpdateModuleMenuSortsArgs = {
	input: UpdateModuleMenuSortsInput;
};
export declare type MutationDeleteModuleMenuArgs = {
	id: Scalars["ID"];
};
export declare type MutationCreateModuleMenuAclArgs = {
	input: CreateModuleMenuAclInput;
};
export declare type MutationUpdateModuleMenuAclArgs = {
	input: UpdateModuleMenuAclInput;
};
export declare type MutationDeleteModuleMenuAclArgs = {
	id: Scalars["ID"];
};
export declare type MutationCreateRoleArgs = {
	input: CreateRoleInput;
};
export declare type MutationUpdateRoleArgs = {
	input: UpdateRoleInput;
};
export declare type MutationDeleteRoleArgs = {
	id: Scalars["ID"];
};
export declare type NativeAuthInput = {
	username: Scalars["String"];
	password: Scalars["String"];
};
/** Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */
export declare type NativeAuthStrategyError = ErrorResult & {
	__typename?: "NativeAuthStrategyError";
	errorCode: ErrorCode;
	message: Scalars["String"];
};
export declare type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError;
export declare type Node = {
	id: Scalars["ID"];
};
export declare type NumberOperators = {
	eq?: Maybe<Scalars["Float"]>;
	lt?: Maybe<Scalars["Float"]>;
	lte?: Maybe<Scalars["Float"]>;
	gt?: Maybe<Scalars["Float"]>;
	gte?: Maybe<Scalars["Float"]>;
	between?: Maybe<NumberRange>;
};
export declare type NumberRange = {
	start: Scalars["Float"];
	end: Scalars["Float"];
};
export declare type PaginatedList = {
	items: Array<Node>;
	totalItems: Scalars["Int"];
};
/**
 * @description
 * Permissions for administrators and customers. Used to control access to
 * GraphQL resolvers via the {@link Allow} decorator.
 *
 * @docsCategory common
 */
export declare enum Permission {
	Placeholder = "Placeholder",
	/** Authenticated means simply that the user is logged in */
	Authenticated = "Authenticated",
	/** SuperAdmin has unrestricted access to all operations */
	SuperAdmin = "SuperAdmin",
	/** Owner means the user owns this entity, e.g. a Customer's own Order */
	Owner = "Owner",
	/** Public means any unauthenticated user may perform the operation */
	Public = "Public",
	/** Grants permission to create Administrator */
	CreateAdministrator = "CreateAdministrator",
	/** Grants permission to read Administrator */
	ReadAdministrator = "ReadAdministrator",
	/** Grants permission to update Administrator */
	UpdateAdministrator = "UpdateAdministrator",
	/** Grants permission to delete Administrator */
	DeleteAdministrator = "DeleteAdministrator",
	/** Grants permission to create Customer */
	CreateCustomer = "CreateCustomer",
	/** Grants permission to read Customer */
	ReadCustomer = "ReadCustomer",
	/** Grants permission to update Customer */
	UpdateCustomer = "UpdateCustomer",
	/** Grants permission to delete Customer */
	DeleteCustomer = "DeleteCustomer",
	/** Grants permission to create Settings */
	CreateSettings = "CreateSettings",
	/** Grants permission to read Settings */
	ReadSettings = "ReadSettings",
	/** Grants permission to update Settings */
	UpdateSettings = "UpdateSettings",
	/** Grants permission to delete Settings */
	DeleteSettings = "DeleteSettings",
	/** Grants permission to create Marketing */
	CreateMarketing = "CreateMarketing",
	/** Grants permission to read Marketing */
	ReadMarketing = "ReadMarketing",
	/** Grants permission to update Marketing */
	UpdateMarketing = "UpdateMarketing",
	/** Grants permission to delete Marketing */
	DeleteMarketing = "DeleteMarketing",
	/** Grants permission to create MarketingOnSite */
	CreateMarketingOnSite = "CreateMarketingOnSite",
	/** Grants permission to read MarketingOnSite */
	ReadMarketingOnSite = "ReadMarketingOnSite",
	/** Grants permission to update MarketingOnSite */
	UpdateMarketingOnSite = "UpdateMarketingOnSite",
	/** Grants permission to delete MarketingOnSite */
	DeleteMarketingOnSite = "DeleteMarketingOnSite",
	/** Grants permission to create MarketingEmail */
	CreateMarketingEmail = "CreateMarketingEmail",
	/** Grants permission to read MarketingEmail */
	ReadMarketingEmail = "ReadMarketingEmail",
	/** Grants permission to update MarketingEmail */
	UpdateMarketingEmail = "UpdateMarketingEmail",
	/** Grants permission to delete MarketingEmail */
	DeleteMarketingEmail = "DeleteMarketingEmail"
}
export declare type PermissionDefinition = {
	__typename?: "PermissionDefinition";
	name: Scalars["String"];
	description: Scalars["String"];
	assignable: Scalars["Boolean"];
};
export declare type Query = {
	__typename?: "Query";
	administrators: AdministratorList;
	administrator?: Maybe<Administrator>;
	activeAdministrator?: Maybe<Administrator>;
	me?: Maybe<CurrentUser>;
	customerGroups: CustomerGroupList;
	customerGroup?: Maybe<CustomerGroup>;
	customers: CustomerList;
	customer?: Maybe<Customer>;
	globalSettings: GlobalSettings;
	job?: Maybe<Job>;
	jobs: JobList;
	jobsById: Array<Job>;
	jobQueues: Array<JobQueue>;
	/** Query all module menu list */
	moduleMenus: ModuleMenuList;
	/** Query detail of module menu entity */
	moduleMenu?: Maybe<ModuleMenu>;
	/** Query all module normal list */
	moduleNormals: ModuleNormalList;
	/** Query detail of module normal entity */
	moduleNormal?: Maybe<ModuleNormal>;
	/** Query all acl list of specificed menu entity */
	moduleMenuAcls?: Maybe<ModuleMenuAclList>;
	roles: RoleList;
	role?: Maybe<Role>;
};
export declare type QueryAdministratorsArgs = {
	options?: Maybe<AdministratorListOptions>;
};
export declare type QueryAdministratorArgs = {
	id: Scalars["ID"];
};
export declare type QueryCustomerGroupsArgs = {
	options?: Maybe<CustomerGroupListOptions>;
};
export declare type QueryCustomerGroupArgs = {
	id: Scalars["ID"];
};
export declare type QueryCustomersArgs = {
	options?: Maybe<CustomerListOptions>;
};
export declare type QueryCustomerArgs = {
	id: Scalars["ID"];
};
export declare type QueryJobArgs = {
	jobId: Scalars["ID"];
};
export declare type QueryJobsArgs = {
	options?: Maybe<JobListOptions>;
};
export declare type QueryJobsByIdArgs = {
	jobIds: Array<Scalars["ID"]>;
};
export declare type QueryModuleMenusArgs = {
	options?: Maybe<ModuleMenuListOptions>;
};
export declare type QueryModuleMenuArgs = {
	id: Scalars["ID"];
};
export declare type QueryModuleNormalsArgs = {
	options?: Maybe<ModuleNormalListOptions>;
};
export declare type QueryModuleNormalArgs = {
	id: Scalars["ID"];
};
export declare type QueryModuleMenuAclsArgs = {
	menuId: Scalars["ID"];
	options?: Maybe<ModuleMenuAclListOptions>;
};
export declare type QueryRolesArgs = {
	options?: Maybe<RoleListOptions>;
};
export declare type QueryRoleArgs = {
	id: Scalars["ID"];
};
export declare type RelationCustomFieldConfig = CustomField & {
	__typename?: "RelationCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
	entity: Scalars["String"];
	scalarFields: Array<Scalars["String"]>;
};
export declare type Role = Node & {
	__typename?: "Role";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	code: Scalars["String"];
	description: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type RoleFilterParameter = {
	createdAt?: Maybe<DateOperators>;
	updatedAt?: Maybe<DateOperators>;
	code?: Maybe<StringOperators>;
	description?: Maybe<StringOperators>;
};
export declare type RoleList = PaginatedList & {
	__typename?: "RoleList";
	items: Array<Role>;
	totalItems: Scalars["Int"];
};
export declare type RoleListOptions = {
	skip?: Maybe<Scalars["Int"]>;
	take?: Maybe<Scalars["Int"]>;
	sort?: Maybe<RoleSortParameter>;
	filter?: Maybe<RoleFilterParameter>;
};
export declare type RoleSortParameter = {
	id?: Maybe<SortOrder>;
	createdAt?: Maybe<SortOrder>;
	updatedAt?: Maybe<SortOrder>;
	code?: Maybe<SortOrder>;
	description?: Maybe<SortOrder>;
};
export declare type ServerConfig = {
	__typename?: "ServerConfig";
	permissions: Array<PermissionDefinition>;
	customFieldConfig: CustomFields;
};
export declare enum SortOrder {
	ASC = "ASC",
	DESC = "DESC"
}
export declare type StringCustomFieldConfig = CustomField & {
	__typename?: "StringCustomFieldConfig";
	name: Scalars["String"];
	type: Scalars["String"];
	list: Scalars["Boolean"];
	length?: Maybe<Scalars["Int"]>;
	label?: Maybe<Array<Scalars["String"]>>;
	description?: Maybe<Array<Scalars["String"]>>;
	readonly?: Maybe<Scalars["Boolean"]>;
	internal?: Maybe<Scalars["Boolean"]>;
	pattern?: Maybe<Scalars["String"]>;
	options?: Maybe<Array<StringFieldOption>>;
};
export declare type StringFieldOption = {
	__typename?: "StringFieldOption";
	value: Scalars["String"];
	label?: Maybe<Array<Scalars["String"]>>;
};
export declare type StringOperators = {
	eq?: Maybe<Scalars["String"]>;
	notEq?: Maybe<Scalars["String"]>;
	contains?: Maybe<Scalars["String"]>;
	notContains?: Maybe<Scalars["String"]>;
	in?: Maybe<Array<Scalars["String"]>>;
	notIn?: Maybe<Array<Scalars["String"]>>;
	regex?: Maybe<Scalars["String"]>;
};
/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
export declare type Success = {
	__typename?: "Success";
	success: Scalars["Boolean"];
};
export declare type UpdateActiveAdministratorInput = {
	firstName?: Maybe<Scalars["String"]>;
	lastName?: Maybe<Scalars["String"]>;
	emailAddress?: Maybe<Scalars["String"]>;
	password?: Maybe<Scalars["String"]>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type UpdateAdministratorInput = {
	id: Scalars["ID"];
	firstName?: Maybe<Scalars["String"]>;
	lastName?: Maybe<Scalars["String"]>;
	emailAddress?: Maybe<Scalars["String"]>;
	password?: Maybe<Scalars["String"]>;
	roleIds?: Maybe<Array<Scalars["ID"]>>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type UpdateCustomerGroupInput = {
	id: Scalars["ID"];
	name?: Maybe<Scalars["String"]>;
};
export declare type UpdateCustomerInput = {
	id: Scalars["ID"];
	title?: Maybe<Scalars["String"]>;
	firstName?: Maybe<Scalars["String"]>;
	lastName?: Maybe<Scalars["String"]>;
	phoneNumber?: Maybe<Scalars["String"]>;
	emailAddress?: Maybe<Scalars["String"]>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type UpdateCustomerNoteInput = {
	noteId: Scalars["ID"];
	note: Scalars["String"];
};
export declare type UpdateCustomerResult = Customer | EmailAddressConflictError;
export declare type UpdateGlobalSettingsInput = {
	enablePageProxy?: Maybe<Scalars["Boolean"]>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type UpdateGlobalSettingsResult = GlobalSettings;
export declare type UpdateModuleMenuAclInput = {
	id: Scalars["ID"];
	moduleMenuId?: Maybe<Scalars["Int"]>;
	aclTagName: Scalars["String"];
	aclTagRemark: Scalars["String"];
	permissions: Array<Permission>;
};
export declare type UpdateModuleMenuInput = {
	id: Scalars["ID"];
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch?: Maybe<Scalars["String"]>;
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplateInput>;
	description?: Maybe<Scalars["String"]>;
	permissions: Array<Permission>;
	sort?: Maybe<Scalars["Int"]>;
	icon?: Maybe<Scalars["String"]>;
	metaTitle?: Maybe<Scalars["String"]>;
	metaDescription?: Maybe<Scalars["String"]>;
	target?: Maybe<Scalars["String"]>;
	link?: Maybe<MenuLinkTemplateInput>;
	parentId?: Maybe<Scalars["Int"]>;
};
export declare type UpdateModuleMenuSortsInput = {
	sorts: Array<ModuleMenuSortInput>;
};
export declare type UpdateModuleNormalInput = {
	id: Scalars["ID"];
	name: Scalars["String"];
	path?: Maybe<Scalars["String"]>;
	pathMatch: Scalars["String"];
	routeBaseName?: Maybe<Scalars["String"]>;
	template?: Maybe<ModuleTemplateInput>;
	description?: Maybe<Scalars["String"]>;
	permissions: Array<Permission>;
};
export declare type UpdateRoleInput = {
	id: Scalars["ID"];
	code?: Maybe<Scalars["String"]>;
	description?: Maybe<Scalars["String"]>;
	permissions?: Maybe<Array<Permission>>;
};
export declare type User = Node & {
	__typename?: "User";
	id: Scalars["ID"];
	createdAt: Scalars["DateTime"];
	updatedAt: Scalars["DateTime"];
	identifier: Scalars["String"];
	verified: Scalars["Boolean"];
	roles: Array<Role>;
	lastLogin?: Maybe<Scalars["DateTime"]>;
	authenticationMethods: Array<AuthenticationMethod>;
	customFields?: Maybe<Scalars["JSON"]>;
};
export declare type AuthenticationMethodFragment = {
	__typename?: "AuthenticationMethod";
} & Pick<AuthenticationMethod, "id" | "createdAt" | "updatedAt" | "strategy">;
export declare type AdministratorFragment = {
	__typename?: "Administrator";
} & Pick<Administrator, "id" | "createdAt" | "updatedAt" | "firstName" | "lastName" | "emailAddress"> & {
	user: {
		__typename?: "User";
	} & Pick<User, "id" | "identifier" | "lastLogin" | "verified" | "createdAt" | "updatedAt"> & {
		authenticationMethods: Array<{
			__typename?: "AuthenticationMethod";
		} & AuthenticationMethodFragment>;
		roles: Array<{
			__typename?: "Role";
		} & RoleFragment>;
	};
};
export declare type GetAdministratorsQueryVariables = Exact<{
	options?: Maybe<AdministratorListOptions>;
}>;
export declare type GetAdministratorsQuery = {
	administrators: {
		__typename?: "AdministratorList";
	} & Pick<AdministratorList, "totalItems"> & {
		items: Array<{
			__typename?: "Administrator";
		} & AdministratorFragment>;
	};
};
export declare type GetAdministratorQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetAdministratorQuery = {
	administrator?: Maybe<{
		__typename?: "Administrator";
	} & AdministratorFragment>;
};
export declare type CreateAdministratorMutationVariables = Exact<{
	input: CreateAdministratorInput;
}>;
export declare type CreateAdministratorMutation = {
	createAdministrator: {
		__typename?: "Administrator";
	} & AdministratorFragment;
};
export declare type UpdateAdministratorMutationVariables = Exact<{
	input: UpdateAdministratorInput;
}>;
export declare type UpdateAdministratorMutation = {
	updateAdministrator: {
		__typename?: "Administrator";
	} & AdministratorFragment;
};
export declare type UpdateActiveAdministratorMutationVariables = Exact<{
	input: UpdateActiveAdministratorInput;
}>;
export declare type UpdateActiveAdministratorMutation = {
	updateActiveAdministrator: {
		__typename?: "Administrator";
	} & AdministratorFragment;
};
export declare type DeleteAdministratorMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteAdministratorMutation = {
	deleteAdministrator: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type AssignRoleToAdministratorMutationVariables = Exact<{
	administratorId: Scalars["ID"];
	roleId: Scalars["ID"];
}>;
export declare type AssignRoleToAdministratorMutation = {
	assignRoleToAdministrator: {
		__typename?: "Administrator";
	} & AdministratorFragment;
};
export declare type CurrentUserFragment = {
	__typename?: "CurrentUser";
} & Pick<CurrentUser, "id" | "identifier" | "permissions">;
export declare type AttemptLoginMutationVariables = Exact<{
	username: Scalars["String"];
	password: Scalars["String"];
	rememberMe: Scalars["Boolean"];
}>;
export declare type AttemptLoginMutation = {
	login: ({
		__typename?: "CurrentUser";
	} & CurrentUserFragment) | ({
		__typename?: "InvalidCredentialsError";
	} & ErrorResult_InvalidCredentialsError_Fragment) | ({
		__typename?: "NativeAuthStrategyError";
	} & ErrorResult_NativeAuthStrategyError_Fragment);
};
export declare type LogOutMutationVariables = Exact<{
	[key: string]: never;
}>;
export declare type LogOutMutation = {
	logout: {
		__typename?: "Success";
	} & Pick<Success, "success">;
};
export declare type GetCurrentUserQueryVariables = Exact<{
	[key: string]: never;
}>;
export declare type GetCurrentUserQuery = {
	me?: Maybe<{
		__typename?: "CurrentUser";
	} & CurrentUserFragment>;
};
export declare type CustomerFragment = {
	__typename?: "Customer";
} & Pick<Customer, "id" | "createdAt" | "updatedAt" | "title" | "firstName" | "lastName" | "phoneNumber" | "emailAddress"> & {
	user?: Maybe<{
		__typename?: "User";
	} & Pick<User, "id" | "identifier" | "verified" | "lastLogin">>;
};
export declare type GetCustomerListQueryVariables = Exact<{
	options?: Maybe<CustomerListOptions>;
}>;
export declare type GetCustomerListQuery = {
	customers: {
		__typename?: "CustomerList";
	} & Pick<CustomerList, "totalItems"> & {
		items: Array<{
			__typename?: "Customer";
		} & Pick<Customer, "id" | "createdAt" | "updatedAt" | "title" | "firstName" | "lastName" | "emailAddress"> & {
			user?: Maybe<{
				__typename?: "User";
			} & Pick<User, "id" | "verified">>;
		}>;
	};
};
export declare type GetCustomerQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetCustomerQuery = {
	customer?: Maybe<{
		__typename?: "Customer";
	} & {
		groups: Array<{
			__typename?: "CustomerGroup";
		} & Pick<CustomerGroup, "id" | "name">>;
	} & CustomerFragment>;
};
export declare type CreateCustomerMutationVariables = Exact<{
	input: CreateCustomerInput;
	password?: Maybe<Scalars["String"]>;
}>;
export declare type CreateCustomerMutation = {
	createCustomer: ({
		__typename?: "Customer";
	} & CustomerFragment) | ({
		__typename?: "EmailAddressConflictError";
	} & ErrorResult_EmailAddressConflictError_Fragment);
};
export declare type UpdateCustomerMutationVariables = Exact<{
	input: UpdateCustomerInput;
}>;
export declare type UpdateCustomerMutation = {
	updateCustomer: ({
		__typename?: "Customer";
	} & CustomerFragment) | ({
		__typename?: "EmailAddressConflictError";
	} & ErrorResult_EmailAddressConflictError_Fragment);
};
export declare type DeleteCustomerMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteCustomerMutation = {
	deleteCustomer: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type CreateCustomerGroupMutationVariables = Exact<{
	input: CreateCustomerGroupInput;
}>;
export declare type CreateCustomerGroupMutation = {
	createCustomerGroup: {
		__typename?: "CustomerGroup";
	} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name">;
};
export declare type UpdateCustomerGroupMutationVariables = Exact<{
	input: UpdateCustomerGroupInput;
}>;
export declare type UpdateCustomerGroupMutation = {
	updateCustomerGroup: {
		__typename?: "CustomerGroup";
	} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name">;
};
export declare type DeleteCustomerGroupMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteCustomerGroupMutation = {
	deleteCustomerGroup: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type GetCustomerGroupsQueryVariables = Exact<{
	options?: Maybe<CustomerGroupListOptions>;
}>;
export declare type GetCustomerGroupsQuery = {
	customerGroups: {
		__typename?: "CustomerGroupList";
	} & Pick<CustomerGroupList, "totalItems"> & {
		items: Array<{
			__typename?: "CustomerGroup";
		} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name">>;
	};
};
export declare type GetCustomerGroupWithCustomersQueryVariables = Exact<{
	id: Scalars["ID"];
	options?: Maybe<CustomerListOptions>;
}>;
export declare type GetCustomerGroupWithCustomersQuery = {
	customerGroup?: Maybe<{
		__typename?: "CustomerGroup";
	} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name"> & {
		customers: {
			__typename?: "CustomerList";
		} & Pick<CustomerList, "totalItems"> & {
			items: Array<{
				__typename?: "Customer";
			} & Pick<Customer, "id" | "createdAt" | "updatedAt" | "emailAddress" | "firstName" | "lastName">>;
		};
	}>;
};
export declare type AddCustomersToGroupMutationVariables = Exact<{
	groupId: Scalars["ID"];
	customerIds: Array<Scalars["ID"]> | Scalars["ID"];
}>;
export declare type AddCustomersToGroupMutation = {
	addCustomersToGroup: {
		__typename?: "CustomerGroup";
	} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name">;
};
export declare type RemoveCustomersFromGroupMutationVariables = Exact<{
	groupId: Scalars["ID"];
	customerIds: Array<Scalars["ID"]> | Scalars["ID"];
}>;
export declare type RemoveCustomersFromGroupMutation = {
	removeCustomersFromGroup: {
		__typename?: "CustomerGroup";
	} & Pick<CustomerGroup, "id" | "createdAt" | "updatedAt" | "name">;
};
export declare type GetCustomerHistoryQueryVariables = Exact<{
	id: Scalars["ID"];
	options?: Maybe<HistoryEntryListOptions>;
}>;
export declare type GetCustomerHistoryQuery = {
	customer?: Maybe<{
		__typename?: "Customer";
	} & Pick<Customer, "id"> & {
		history: {
			__typename?: "HistoryEntryList";
		} & Pick<HistoryEntryList, "totalItems"> & {
			items: Array<{
				__typename?: "HistoryEntry";
			} & Pick<HistoryEntry, "id" | "type" | "createdAt" | "isPublic" | "data"> & {
				administrator?: Maybe<{
					__typename?: "Administrator";
				} & Pick<Administrator, "id" | "firstName" | "lastName">>;
			}>;
		};
	}>;
};
export declare type AddNoteToCustomerMutationVariables = Exact<{
	input: AddNoteToCustomerInput;
}>;
export declare type AddNoteToCustomerMutation = {
	addNoteToCustomer: {
		__typename?: "Customer";
	} & Pick<Customer, "id">;
};
export declare type UpdateCustomerNoteMutationVariables = Exact<{
	input: UpdateCustomerNoteInput;
}>;
export declare type UpdateCustomerNoteMutation = {
	updateCustomerNote: {
		__typename?: "HistoryEntry";
	} & Pick<HistoryEntry, "id" | "data" | "isPublic">;
};
export declare type DeleteCustomerNoteMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteCustomerNoteMutation = {
	deleteCustomerNote: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type ModuleNormalFragment = {
	__typename?: "ModuleNormal";
} & Pick<ModuleNormal, "id" | "createdAt" | "updatedAt" | "name" | "pathMatch" | "routeBaseName" | "description" | "permissions"> & {
	template?: Maybe<{
		__typename?: "ModuleTemplate";
	} & Pick<ModuleTemplate, "me" | "dev" | "inte" | "rc" | "prod">>;
};
export declare type ModuleMenuAclFragment = {
	__typename?: "ModuleMenuAcl";
} & Pick<ModuleMenuAcl, "id" | "aclTagName" | "aclTagRemark" | "permissions">;
export declare type ModuleMenuFragment = {
	__typename?: "ModuleMenu";
} & Pick<ModuleMenu, "id" | "createdAt" | "updatedAt" | "name" | "pathMatch" | "routeBaseName" | "description" | "permissions" | "sort" | "icon" | "metaTitle" | "metaDescription" | "target" | "parentId"> & {
	template?: Maybe<{
		__typename?: "ModuleTemplate";
	} & Pick<ModuleTemplate, "me" | "dev" | "inte" | "rc" | "prod">>;
	link?: Maybe<{
		__typename?: "MenuLinkTemplate";
	} & Pick<MenuLinkTemplate, "me" | "dev" | "inte" | "rc" | "prod">>;
	menuAcls: Array<{
		__typename?: "ModuleMenuAcl";
	} & ModuleMenuAclFragment>;
};
export declare type GetModuleNormalListQueryVariables = Exact<{
	options?: Maybe<ModuleNormalListOptions>;
}>;
export declare type GetModuleNormalListQuery = {
	moduleNormals: {
		__typename?: "ModuleNormalList";
	} & Pick<ModuleNormalList, "totalItems"> & {
		items: Array<{
			__typename?: "ModuleNormal";
		} & ModuleNormalFragment>;
	};
};
export declare type GetModuleNormalQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetModuleNormalQuery = {
	moduleNormal?: Maybe<{
		__typename?: "ModuleNormal";
	} & ModuleNormalFragment>;
};
export declare type GetModuleMenuListQueryVariables = Exact<{
	options?: Maybe<ModuleMenuListOptions>;
}>;
export declare type GetModuleMenuListQuery = {
	moduleMenus: {
		__typename?: "ModuleMenuList";
	} & Pick<ModuleMenuList, "totalItems"> & {
		items: Array<{
			__typename?: "ModuleMenu";
		} & {
			children?: Maybe<Array<{
				__typename?: "ModuleMenu";
			} & {
				children?: Maybe<Array<{
					__typename?: "ModuleMenu";
				} & ModuleMenuFragment>>;
			} & ModuleMenuFragment>>;
		} & ModuleMenuFragment>;
	};
};
export declare type GetModuleMenuQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetModuleMenuQuery = {
	moduleMenu?: Maybe<{
		__typename?: "ModuleMenu";
	} & ModuleMenuFragment>;
};
export declare type GetModuleMenuAclListQueryVariables = Exact<{
	menuId: Scalars["ID"];
	options?: Maybe<ModuleMenuAclListOptions>;
}>;
export declare type GetModuleMenuAclListQuery = {
	moduleMenuAcls?: Maybe<{
		__typename?: "ModuleMenuAclList";
	} & Pick<ModuleMenuAclList, "totalItems"> & {
		items: Array<{
			__typename?: "ModuleMenuAcl";
		} & ModuleMenuAclFragment>;
	}>;
};
export declare type CreateModuleNormalMutationVariables = Exact<{
	input: CreateModuleNormalInput;
}>;
export declare type CreateModuleNormalMutation = {
	createModuleNormal: {
		__typename?: "ModuleNormal";
	} & ModuleNormalFragment;
};
export declare type UpdateModuleNormalMutationVariables = Exact<{
	input: UpdateModuleNormalInput;
}>;
export declare type UpdateModuleNormalMutation = {
	updateModuleNormal: {
		__typename?: "ModuleNormal";
	} & ModuleNormalFragment;
};
export declare type DeleteModuleNormalMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteModuleNormalMutation = {
	deleteModuleNormal: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type CreateModuleMenuMutationVariables = Exact<{
	input: CreateModuleMenuInput;
}>;
export declare type CreateModuleMenuMutation = {
	createModuleMenu: {
		__typename?: "ModuleMenu";
	} & ModuleMenuFragment;
};
export declare type UpdateModuleMenuMutationVariables = Exact<{
	input: UpdateModuleMenuInput;
}>;
export declare type UpdateModuleMenuMutation = {
	updateModuleMenu: {
		__typename?: "ModuleMenu";
	} & ModuleMenuFragment;
};
export declare type UpdateModuleMenuSortsMutationVariables = Exact<{
	input: UpdateModuleMenuSortsInput;
}>;
export declare type UpdateModuleMenuSortsMutation = Pick<Mutation, "updateModuleMenuSorts">;
export declare type DeleteModuleMenuMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteModuleMenuMutation = {
	deleteModuleMenu: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type CreateModuleMenuAclMutationVariables = Exact<{
	input: CreateModuleMenuAclInput;
}>;
export declare type CreateModuleMenuAclMutation = {
	createModuleMenuAcl: {
		__typename?: "ModuleMenuAcl";
	} & ModuleMenuAclFragment;
};
export declare type UpdateModuleMenuAclMutationVariables = Exact<{
	input: UpdateModuleMenuAclInput;
}>;
export declare type UpdateModuleMenuAclMutation = {
	updateModuleMenuAcl: {
		__typename?: "ModuleMenuAcl";
	} & ModuleMenuAclFragment;
};
export declare type DeleteModuleMenuAclMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteModuleMenuAclMutation = {
	deleteModuleMenuAcl: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type RoleFragment = {
	__typename?: "Role";
} & Pick<Role, "id" | "createdAt" | "updatedAt" | "code" | "description" | "permissions">;
export declare type GetRolesQueryVariables = Exact<{
	options?: Maybe<RoleListOptions>;
}>;
export declare type GetRolesQuery = {
	roles: {
		__typename?: "RoleList";
	} & Pick<RoleList, "totalItems"> & {
		items: Array<{
			__typename?: "Role";
		} & RoleFragment>;
	};
};
export declare type GetRoleQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetRoleQuery = {
	role?: Maybe<{
		__typename?: "Role";
	} & RoleFragment>;
};
export declare type CreateRoleMutationVariables = Exact<{
	input: CreateRoleInput;
}>;
export declare type CreateRoleMutation = {
	createRole: {
		__typename?: "Role";
	} & RoleFragment;
};
export declare type UpdateRoleMutationVariables = Exact<{
	input: UpdateRoleInput;
}>;
export declare type UpdateRoleMutation = {
	updateRole: {
		__typename?: "Role";
	} & RoleFragment;
};
export declare type DeleteRoleMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type DeleteRoleMutation = {
	deleteRole: {
		__typename?: "DeletionResponse";
	} & Pick<DeletionResponse, "result" | "message">;
};
export declare type GlobalSettingsFragment = {
	__typename?: "GlobalSettings";
} & Pick<GlobalSettings, "id" | "enablePageProxy"> & {
	serverConfig: {
		__typename?: "ServerConfig";
	} & {
		permissions: Array<{
			__typename?: "PermissionDefinition";
		} & Pick<PermissionDefinition, "name" | "description" | "assignable">>;
	};
};
export declare type GetGlobalSettingsQueryVariables = Exact<{
	[key: string]: never;
}>;
export declare type GetGlobalSettingsQuery = {
	globalSettings: {
		__typename?: "GlobalSettings";
	} & GlobalSettingsFragment;
};
export declare type UpdateGlobalSettingsMutationVariables = Exact<{
	input: UpdateGlobalSettingsInput;
}>;
export declare type UpdateGlobalSettingsMutation = {
	updateGlobalSettings: {
		__typename?: "GlobalSettings";
	} & GlobalSettingsFragment;
};
export declare type CustomFieldConfig_BooleanCustomFieldConfig_Fragment = {
	__typename?: "BooleanCustomFieldConfig";
} & Pick<BooleanCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfig_DateTimeCustomFieldConfig_Fragment = {
	__typename?: "DateTimeCustomFieldConfig";
} & Pick<DateTimeCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfig_FloatCustomFieldConfig_Fragment = {
	__typename?: "FloatCustomFieldConfig";
} & Pick<FloatCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfig_IntCustomFieldConfig_Fragment = {
	__typename?: "IntCustomFieldConfig";
} & Pick<IntCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfig_RelationCustomFieldConfig_Fragment = {
	__typename?: "RelationCustomFieldConfig";
} & Pick<RelationCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfig_StringCustomFieldConfig_Fragment = {
	__typename?: "StringCustomFieldConfig";
} & Pick<StringCustomFieldConfig, "name" | "type" | "list" | "description" | "label" | "readonly">;
export declare type CustomFieldConfigFragment = CustomFieldConfig_BooleanCustomFieldConfig_Fragment | CustomFieldConfig_DateTimeCustomFieldConfig_Fragment | CustomFieldConfig_FloatCustomFieldConfig_Fragment | CustomFieldConfig_IntCustomFieldConfig_Fragment | CustomFieldConfig_RelationCustomFieldConfig_Fragment | CustomFieldConfig_StringCustomFieldConfig_Fragment;
export declare type StringCustomFieldFragment = {
	__typename?: "StringCustomFieldConfig";
} & Pick<StringCustomFieldConfig, "pattern"> & {
	options?: Maybe<Array<{
		__typename?: "StringFieldOption";
	} & Pick<StringFieldOption, "label" | "value">>>;
} & CustomFieldConfig_StringCustomFieldConfig_Fragment;
export declare type BooleanCustomFieldFragment = {
	__typename?: "BooleanCustomFieldConfig";
} & CustomFieldConfig_BooleanCustomFieldConfig_Fragment;
export declare type IntCustomFieldFragment = {
	__typename?: "IntCustomFieldConfig";
} & {
	intMin: IntCustomFieldConfig["min"];
	intMax: IntCustomFieldConfig["max"];
	intStep: IntCustomFieldConfig["step"];
} & CustomFieldConfig_IntCustomFieldConfig_Fragment;
export declare type FloatCustomFieldFragment = {
	__typename?: "FloatCustomFieldConfig";
} & {
	floatMin: FloatCustomFieldConfig["min"];
	floatMax: FloatCustomFieldConfig["max"];
	floatStep: FloatCustomFieldConfig["step"];
} & CustomFieldConfig_FloatCustomFieldConfig_Fragment;
export declare type DateTimeCustomFieldFragment = {
	__typename?: "DateTimeCustomFieldConfig";
} & {
	datetimeMin: DateTimeCustomFieldConfig["min"];
	datetimeMax: DateTimeCustomFieldConfig["max"];
	datetimeStep: DateTimeCustomFieldConfig["step"];
} & CustomFieldConfig_DateTimeCustomFieldConfig_Fragment;
export declare type RelationCustomFieldFragment = {
	__typename?: "RelationCustomFieldConfig";
} & Pick<RelationCustomFieldConfig, "entity" | "scalarFields"> & CustomFieldConfig_RelationCustomFieldConfig_Fragment;
export declare type CustomFields_BooleanCustomFieldConfig_Fragment = {
	__typename?: "BooleanCustomFieldConfig";
} & BooleanCustomFieldFragment;
export declare type CustomFields_DateTimeCustomFieldConfig_Fragment = {
	__typename?: "DateTimeCustomFieldConfig";
} & DateTimeCustomFieldFragment;
export declare type CustomFields_FloatCustomFieldConfig_Fragment = {
	__typename?: "FloatCustomFieldConfig";
} & FloatCustomFieldFragment;
export declare type CustomFields_IntCustomFieldConfig_Fragment = {
	__typename?: "IntCustomFieldConfig";
} & IntCustomFieldFragment;
export declare type CustomFields_RelationCustomFieldConfig_Fragment = {
	__typename?: "RelationCustomFieldConfig";
} & RelationCustomFieldFragment;
export declare type CustomFields_StringCustomFieldConfig_Fragment = {
	__typename?: "StringCustomFieldConfig";
} & StringCustomFieldFragment;
export declare type CustomFieldsFragment = CustomFields_BooleanCustomFieldConfig_Fragment | CustomFields_DateTimeCustomFieldConfig_Fragment | CustomFields_FloatCustomFieldConfig_Fragment | CustomFields_IntCustomFieldConfig_Fragment | CustomFields_RelationCustomFieldConfig_Fragment | CustomFields_StringCustomFieldConfig_Fragment;
export declare type GetServerConfigQueryVariables = Exact<{
	[key: string]: never;
}>;
export declare type GetServerConfigQuery = {
	globalSettings: {
		__typename?: "GlobalSettings";
	} & Pick<GlobalSettings, "id"> & {
		serverConfig: {
			__typename?: "ServerConfig";
		} & {
			permissions: Array<{
				__typename?: "PermissionDefinition";
			} & Pick<PermissionDefinition, "name" | "description" | "assignable">>;
			customFieldConfig: {
				__typename?: "CustomFields";
			} & {
				Administrator: Array<({
					__typename?: "StringCustomFieldConfig";
				} & CustomFields_StringCustomFieldConfig_Fragment) | ({
					__typename?: "IntCustomFieldConfig";
				} & CustomFields_IntCustomFieldConfig_Fragment) | ({
					__typename?: "FloatCustomFieldConfig";
				} & CustomFields_FloatCustomFieldConfig_Fragment) | ({
					__typename?: "BooleanCustomFieldConfig";
				} & CustomFields_BooleanCustomFieldConfig_Fragment) | ({
					__typename?: "DateTimeCustomFieldConfig";
				} & CustomFields_DateTimeCustomFieldConfig_Fragment) | ({
					__typename?: "RelationCustomFieldConfig";
				} & CustomFields_RelationCustomFieldConfig_Fragment)>;
				Customer: Array<({
					__typename?: "StringCustomFieldConfig";
				} & CustomFields_StringCustomFieldConfig_Fragment) | ({
					__typename?: "IntCustomFieldConfig";
				} & CustomFields_IntCustomFieldConfig_Fragment) | ({
					__typename?: "FloatCustomFieldConfig";
				} & CustomFields_FloatCustomFieldConfig_Fragment) | ({
					__typename?: "BooleanCustomFieldConfig";
				} & CustomFields_BooleanCustomFieldConfig_Fragment) | ({
					__typename?: "DateTimeCustomFieldConfig";
				} & CustomFields_DateTimeCustomFieldConfig_Fragment) | ({
					__typename?: "RelationCustomFieldConfig";
				} & CustomFields_RelationCustomFieldConfig_Fragment)>;
				GlobalSettings: Array<({
					__typename?: "StringCustomFieldConfig";
				} & CustomFields_StringCustomFieldConfig_Fragment) | ({
					__typename?: "IntCustomFieldConfig";
				} & CustomFields_IntCustomFieldConfig_Fragment) | ({
					__typename?: "FloatCustomFieldConfig";
				} & CustomFields_FloatCustomFieldConfig_Fragment) | ({
					__typename?: "BooleanCustomFieldConfig";
				} & CustomFields_BooleanCustomFieldConfig_Fragment) | ({
					__typename?: "DateTimeCustomFieldConfig";
				} & CustomFields_DateTimeCustomFieldConfig_Fragment) | ({
					__typename?: "RelationCustomFieldConfig";
				} & CustomFields_RelationCustomFieldConfig_Fragment)>;
				User: Array<({
					__typename?: "StringCustomFieldConfig";
				} & CustomFields_StringCustomFieldConfig_Fragment) | ({
					__typename?: "IntCustomFieldConfig";
				} & CustomFields_IntCustomFieldConfig_Fragment) | ({
					__typename?: "FloatCustomFieldConfig";
				} & CustomFields_FloatCustomFieldConfig_Fragment) | ({
					__typename?: "BooleanCustomFieldConfig";
				} & CustomFields_BooleanCustomFieldConfig_Fragment) | ({
					__typename?: "DateTimeCustomFieldConfig";
				} & CustomFields_DateTimeCustomFieldConfig_Fragment) | ({
					__typename?: "RelationCustomFieldConfig";
				} & CustomFields_RelationCustomFieldConfig_Fragment)>;
			};
		};
	};
};
export declare type JobInfoFragment = {
	__typename?: "Job";
} & Pick<Job, "id" | "createdAt" | "startedAt" | "settledAt" | "queueName" | "state" | "isSettled" | "progress" | "duration" | "data" | "result" | "error">;
export declare type GetJobInfoQueryVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type GetJobInfoQuery = {
	job?: Maybe<{
		__typename?: "Job";
	} & JobInfoFragment>;
};
export declare type GetAllJobsQueryVariables = Exact<{
	options?: Maybe<JobListOptions>;
}>;
export declare type GetAllJobsQuery = {
	jobs: {
		__typename?: "JobList";
	} & Pick<JobList, "totalItems"> & {
		items: Array<{
			__typename?: "Job";
		} & JobInfoFragment>;
	};
};
export declare type GetJobsByIdQueryVariables = Exact<{
	ids: Array<Scalars["ID"]> | Scalars["ID"];
}>;
export declare type GetJobsByIdQuery = {
	jobsById: Array<{
		__typename?: "Job";
	} & JobInfoFragment>;
};
export declare type GetJobQueueListQueryVariables = Exact<{
	[key: string]: never;
}>;
export declare type GetJobQueueListQuery = {
	jobQueues: Array<{
		__typename?: "JobQueue";
	} & Pick<JobQueue, "name" | "running">>;
};
export declare type CancelJobMutationVariables = Exact<{
	id: Scalars["ID"];
}>;
export declare type CancelJobMutation = {
	cancelJob: {
		__typename?: "Job";
	} & JobInfoFragment;
};
export declare type ErrorResult_EmailAddressConflictError_Fragment = {
	__typename?: "EmailAddressConflictError";
} & Pick<EmailAddressConflictError, "errorCode" | "message">;
export declare type ErrorResult_InvalidCredentialsError_Fragment = {
	__typename?: "InvalidCredentialsError";
} & Pick<InvalidCredentialsError, "errorCode" | "message">;
export declare type ErrorResult_NativeAuthStrategyError_Fragment = {
	__typename?: "NativeAuthStrategyError";
} & Pick<NativeAuthStrategyError, "errorCode" | "message">;
export declare type ErrorResultFragment = ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment;
export declare const apiEndpoint: string;
/**
 * 蓝底背景上的白色ICON
 */
export declare const logoSvg = "data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibG9nby1zdmciIHdpZHRoPSI2NSIgaGVpZ2h0PSI3NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IndoaXRlIj48cGF0aCBkPSJNMjguNzk1IDIuNDIxbDIuMTc3LTEuMjU0YTQgNCAwIDAgMSA0LjAzOS4wMjdsMjguMDMyIDE2LjY0M0E0IDQgMCAwIDEgNjUgMjEuMjc3djMzLjQ0NmE0IDQgMCAwIDEtMS45NTggMy40NGwtMjguMDMgMTYuNjQ0YTQgNCAwIDAgMS00LjAzOS4wMjdMMi4wMDQgNTguMTU0QTQgNCAwIDAgMSAwIDU0LjY4N1YyMS4zMTNhNCA0IDAgMCAxIDIuMDA0LTMuNDY3bDI2Ljc5LTE1LjQyNXptMy4xNzUuNDhsLS40OTktLjg2N3YtMWgzLjc0MkwzMi4wMSAyLjg3OGEyLjAwOCAyLjAwOCAwIDAgMC0uMDQuMDIzek0zLjAwMiAxOS41OEEyIDIgMCAwIDAgMiAyMS4zMTN2MzMuMzc0YTIgMiAwIDAgMCAxLjAwMiAxLjczM2wyOC45NyAxNi42OGEyIDIgMCAwIDAgMi4wMTgtLjAxM2wyOC4wMy0xNi42NDRhMiAyIDAgMCAwIC45OC0xLjcyVjIxLjI3N2EyIDIgMCAwIDAtLjk3OS0xLjcyTDMzLjk5IDIuOTE0YTIgMiAwIDAgMC0xLjk4LS4wMzZMMy4wMDMgMTkuNTh6Ij48L3BhdGg+PHBhdGggZD0iTTM0LjUxMiAxOS43NEw0OSAyOC40MzV2MjAuMTMybC0xNS45ODQgOS41OS0uNTA2LS4yODQtMTQuOTgtOC40MjdBMyAzIDAgMCAxIDE2IDQ2LjgzVjI4LjQxNWwxNS40OTctOC43MTdhMyAzIDAgMCAxIDMuMDE1LjA0M3pNNDcgMjkuNTY3bC0xMy41MTgtOC4xMWExIDEgMCAwIDAtMS4wMDUtLjAxNUwxOCAyOS41ODVWNDYuODNhMSAxIDAgMCAwIC41MS44NzFsMTQuNDc0IDguMTQzTDQ3IDQ3LjQzNFYyOS41NjZ6Ij48L3BhdGg+PHBhdGggZD0iTS4zOTYgMjEuNjAybC45Ny0xLjc0OSAyNi4yMzggMTQuNTQ1LS45NyAxLjc0OXoiPjwvcGF0aD48cGF0aCBkPSJNMjMuMzk2IDM0LjYwMmwuOTctMS43NDkgMjYuMjM4IDE0LjU0NS0uOTcgMS43NDl6Ij48L3BhdGg+PHBhdGggZD0iTTMzIDIwbC0xNiA5djE5bDE2LTlWMjB6bTMwIDBsLTE2IDl2MjBsMTYtOVYyMHoiPjwvcGF0aD48cGF0aCBkPSJNNjMgMzlsLTE2IDl2MTlsMTYtOXoiPjwvcGF0aD48cGF0aCBkPSJNNDkgNDdsLTE2IDl2MTlsMTYtOXoiPjwvcGF0aD48L2c+PC9zdmc+";
/**
 * 白底背景上的蓝色ICON
 */
export declare const logoBlueSvg = "data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibG9nby1zdmciIHdpZHRoPSI2NSIgaGVpZ2h0PSI3NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMxOTc2ZDIiPjxwYXRoIGQ9Ik0yOC43OTUgMi40MjFsMi4xNzctMS4yNTRhNCA0IDAgMCAxIDQuMDM5LjAyN2wyOC4wMzIgMTYuNjQzQTQgNCAwIDAgMSA2NSAyMS4yNzd2MzMuNDQ2YTQgNCAwIDAgMS0xLjk1OCAzLjQ0bC0yOC4wMyAxNi42NDRhNCA0IDAgMCAxLTQuMDM5LjAyN0wyLjAwNCA1OC4xNTRBNCA0IDAgMCAxIDAgNTQuNjg3VjIxLjMxM2E0IDQgMCAwIDEgMi4wMDQtMy40NjdsMjYuNzktMTUuNDI1em0zLjE3NS40OGwtLjQ5OS0uODY3di0xaDMuNzQyTDMyLjAxIDIuODc4YTIuMDA4IDIuMDA4IDAgMCAwLS4wNC4wMjN6TTMuMDAyIDE5LjU4QTIgMiAwIDAgMCAyIDIxLjMxM3YzMy4zNzRhMiAyIDAgMCAwIDEuMDAyIDEuNzMzbDI4Ljk3IDE2LjY4YTIgMiAwIDAgMCAyLjAxOC0uMDEzbDI4LjAzLTE2LjY0NGEyIDIgMCAwIDAgLjk4LTEuNzJWMjEuMjc3YTIgMiAwIDAgMC0uOTc5LTEuNzJMMzMuOTkgMi45MTRhMiAyIDAgMCAwLTEuOTgtLjAzNkwzLjAwMyAxOS41OHoiPjwvcGF0aD48cGF0aCBkPSJNMzQuNTEyIDE5Ljc0TDQ5IDI4LjQzNXYyMC4xMzJsLTE1Ljk4NCA5LjU5LS41MDYtLjI4NC0xNC45OC04LjQyN0EzIDMgMCAwIDEgMTYgNDYuODNWMjguNDE1bDE1LjQ5Ny04LjcxN2EzIDMgMCAwIDEgMy4wMTUuMDQzek00NyAyOS41NjdsLTEzLjUxOC04LjExYTEgMSAwIDAgMC0xLjAwNS0uMDE1TDE4IDI5LjU4NVY0Ni44M2ExIDEgMCAwIDAgLjUxLjg3MWwxNC40NzQgOC4xNDNMNDcgNDcuNDM0VjI5LjU2NnoiPjwvcGF0aD48cGF0aCBkPSJNLjM5NiAyMS42MDJsLjk3LTEuNzQ5IDI2LjIzOCAxNC41NDUtLjk3IDEuNzQ5eiI+PC9wYXRoPjxwYXRoIGQ9Ik0yMy4zOTYgMzQuNjAybC45Ny0xLjc0OSAyNi4yMzggMTQuNTQ1LS45NyAxLjc0OXoiPjwvcGF0aD48cGF0aCBkPSJNMzMgMjBsLTE2IDl2MTlsMTYtOVYyMHptMzAgMGwtMTYgOXYyMGwxNi05VjIweiI+PC9wYXRoPjxwYXRoIGQ9Ik02MyAzOWwtMTYgOXYxOWwxNi05eiI+PC9wYXRoPjxwYXRoIGQ9Ik00OSA0N2wtMTYgOXYxOWwxNi05eiI+PC9wYXRoPjwvZz48L3N2Zz4=";
export declare type AxiosBaseUrlType = string | (() => string);
export declare class HttpRequest {
	private client;
	constructor(endpoint?: string);
	protected getAuthToken(): string;
	/**
	 * Performs a GraphQL watch query
	 */
	protected query<T, V = Record<string, any>>(query: RequestDocument, variables?: V): Promise<T>;
	/**
	 * Performs a GraphQL mutation
	 */
	protected mutate<T, V = Record<string, any>>(mutation: RequestDocument, variables?: V): Promise<T>;
}
export declare class AdminDataService extends HttpRequest {
	getAdministrators(take?: number, skip?: number, filter?: AdministratorFilterParameter): Promise<GetAdministratorsQuery>;
	getAdministrator(id: string): Promise<GetAdministratorQuery>;
	createAdministrator(input: CreateAdministratorInput): Promise<CreateAdministratorMutation>;
	updateAdministrator(input: UpdateAdministratorInput): Promise<UpdateAdministratorMutation>;
	updateActiveAdministrator(input: UpdateActiveAdministratorInput): Promise<UpdateActiveAdministratorMutation>;
	deleteAdministrator(id: string): Promise<DeleteAdministratorMutation>;
}
export declare const adminDataService: AdminDataService;
export declare class AuthDataService extends HttpRequest {
	currentUser(): Promise<GetCurrentUserQuery>;
	attemptLogin(username: string, password: string, rememberMe: boolean): Promise<AttemptLoginMutation>;
	logOut(): Promise<LogOutMutation>;
}
export declare const authDataService: AuthDataService;
export declare class CustomerDataService extends HttpRequest {
	getCustomerList(take?: number, skip?: number, filterTerm?: string): Promise<GetCustomerListQuery>;
	getCustomer(id: string): Promise<GetCustomerQuery>;
	createCustomer(input: CreateCustomerInput, password?: string): Promise<CreateCustomerMutation>;
	updateCustomer(input: UpdateCustomerInput): Promise<UpdateCustomerMutation>;
	deleteCustomer(id: string): Promise<DeleteCustomerMutation>;
	createCustomerGroup(input: CreateCustomerGroupInput): Promise<CreateCustomerGroupMutation>;
	updateCustomerGroup(input: UpdateCustomerGroupInput): Promise<UpdateCustomerGroupMutation>;
	deleteCustomerGroup(id: string): Promise<DeleteCustomerGroupMutation>;
	getCustomerGroupList(options?: CustomerGroupListOptions): Promise<GetCustomerGroupsQuery>;
	getCustomerGroupWithCustomers(id: string, options: CustomerListOptions): Promise<GetCustomerGroupWithCustomersQuery>;
	addCustomersToGroup(groupId: string, customerIds: string[]): Promise<AddCustomersToGroupMutation>;
	removeCustomersFromGroup(groupId: string, customerIds: string[]): Promise<RemoveCustomersFromGroupMutation>;
	getCustomerHistory(id: string, options?: HistoryEntryListOptions): Promise<GetCustomerHistoryQuery>;
	addNoteToCustomer(customerId: string, note: string): Promise<AddNoteToCustomerMutation>;
	updateCustomerNote(input: UpdateCustomerNoteInput): Promise<UpdateCustomerNoteMutation>;
	deleteCustomerNote(id: string): Promise<DeleteCustomerNoteMutation>;
}
export declare const customerDataService: CustomerDataService;
export declare class ModuleAclDataService extends HttpRequest {
	getModuleMenuAclList(menuId: string, filter: ModuleMenuAclFilterParameter, take?: number, skip?: number): Promise<GetModuleMenuAclListQuery>;
	createModuleMenuAcl(input: CreateModuleMenuAclInput): Promise<CreateModuleMenuAclMutation>;
	updateModuleMenuAcl(input: UpdateModuleMenuAclInput): Promise<UpdateModuleMenuAclMutation>;
	deleteModuleMenuAcl(id: string): Promise<DeleteModuleMenuAclMutation>;
}
export declare const moduleAclDataService: ModuleAclDataService;
export declare class ModuleDataService extends HttpRequest {
	getModuleNormalList(take?: number, skip?: number, filter?: ModuleNormalFilterParameter): Promise<GetModuleNormalListQuery>;
	getModuleMenuList(take?: number, skip?: number, filter?: ModuleMenuFilterParameter): Promise<GetModuleMenuListQuery>;
	getModuleNormal(id: string): Promise<GetModuleNormalQuery>;
	getModuleMenu(id: string): Promise<GetModuleMenuQuery>;
	createModuleNormal(input: CreateModuleNormalInput): Promise<CreateModuleNormalMutation>;
	updateModuleNormal(input: UpdateModuleNormalInput): Promise<UpdateModuleNormalMutation>;
	deleteModuleNormal(id: string): Promise<DeleteModuleNormalMutation>;
	createModuleMenu(input: CreateModuleMenuInput): Promise<CreateModuleMenuMutation>;
	updateModuleMenu(input: UpdateModuleMenuInput): Promise<UpdateModuleMenuMutation>;
	updateModuleMenuSorts(input: UpdateModuleMenuSortsInput): Promise<UpdateModuleMenuSortsMutation>;
	deleteModuleMenu(id: string): Promise<DeleteModuleMenuMutation>;
}
export declare const moduleDataService: ModuleDataService;
export declare class RoleDataService extends HttpRequest {
	getRoles(take?: number, skip?: number, filter?: RoleFilterParameter): Promise<GetRolesQuery>;
	getRole(id: string): Promise<GetRoleQuery>;
	createRole(input: CreateRoleInput): Promise<CreateRoleMutation>;
	updateRole(input: UpdateRoleInput): Promise<UpdateRoleMutation>;
	deleteRole(id: string): Promise<DeleteRoleMutation>;
}
export declare const roleDataService: RoleDataService;
export declare class SettingsDataService extends HttpRequest {
	getGlobalSettings(): Promise<GetGlobalSettingsQuery>;
	updateGlobalSettings(input: UpdateGlobalSettingsInput): Promise<UpdateGlobalSettingsMutation>;
	getJob(id: string): Promise<GetJobInfoQuery>;
	pollJobs(ids: string[]): Promise<GetJobsByIdQuery>;
	getAllJobs(options?: JobListOptions): Promise<GetAllJobsQuery>;
	getJobQueues(): Promise<GetJobQueueListQuery>;
	getRunningJobs(): Promise<GetAllJobsQuery>;
	cancelJob(id: string): Promise<CancelJobMutation>;
}
export declare const settingsDataService: SettingsDataService;
export declare class ServerConfigService extends HttpRequest {
	private _serverConfig;
	/**
	 * Fetches the ServerConfig. Should be run as part of the app bootstrap process by attaching
	 * to the Angular APP_INITIALIZER token.
	 */
	init(): () => Promise<any>;
	/**
	 * Fetch the ServerConfig. Should be run on app init (in case user is already logged in) and on successful login.
	 */
	getServerConfig(): Promise<void>;
	/**
	 * When any of the GlobalSettings are modified, this method should be called to update the Apollo cache.
	 */
	refreshGlobalSettings(): Promise<GetGlobalSettingsQuery>;
	/**
	 * Retrieves the custom field configs for the given entity type.
	 */
	getCustomFieldsFor(type: Exclude<keyof CustomFields, "__typename">): CustomFieldConfig[];
	getPermissionDefinitions(): PermissionDefinition[];
	get serverConfig(): ServerConfig;
}
export declare const serverConfigService: ServerConfigService;

export {};
