From a08c8cffdc62eacd4cd671752e42ea1d2793c497 Mon Sep 17 00:00:00 2001 From: Siyasanga Date: Thu, 28 Nov 2024 17:06:18 +0200 Subject: [PATCH] Filter User roles based on user that's requesting This is avoid users with lower roles creating or updating other users with higher roles https://github.com/opencrvs/opencrvs-core/issues/7698 --- .../src/features/role/root-resolvers.ts | 16 +- packages/gateway/src/features/role/utils.ts | 65 + .../gateway/src/features/user/utils/index.ts | 56 +- packages/gateway/src/graphql/schema.d.ts | 10925 ++++++++++++++++ 4 files changed, 11006 insertions(+), 56 deletions(-) diff --git a/packages/gateway/src/features/role/root-resolvers.ts b/packages/gateway/src/features/role/root-resolvers.ts index efe34779f16..b4d3152d690 100644 --- a/packages/gateway/src/features/role/root-resolvers.ts +++ b/packages/gateway/src/features/role/root-resolvers.ts @@ -12,8 +12,13 @@ import { GQLResolver } from '@gateway/graphql/schema' import fetch from '@gateway/fetch' import { USER_MANAGEMENT_URL } from '@gateway/constants' import { IRoleSearchPayload } from '@gateway/features/role/type-resolvers' -import { transformMongoComparisonObject } from '@gateway/features/role/utils' +import { + getAccessibleRolesForScope, + SystemRole, + transformMongoComparisonObject +} from '@gateway/features/role/utils' import { hasScope } from '@gateway/features/user/utils' +import { getTokenPayload } from '@opencrvs/commons/authentication' export const resolvers: GQLResolver = { Query: { @@ -51,6 +56,7 @@ export const resolvers: GQLResolver = { if (active !== null) { payload = { ...payload, active } } + const res = await fetch(`${USER_MANAGEMENT_URL}getSystemRoles`, { method: 'POST', body: JSON.stringify(payload), @@ -59,7 +65,13 @@ export const resolvers: GQLResolver = { ...authHeader } }) - return await res.json() + + const { scope } = getTokenPayload(authHeader.Authorization.split(' ')[1]) + const accessibleSysAdminRoles = getAccessibleRolesForScope(scope) + const allSysAdminRoles = (await res.json()) as SystemRole[] + return allSysAdminRoles.filter((sysAdminRole) => + accessibleSysAdminRoles?.includes(sysAdminRole.value) + ) } }, Mutation: { diff --git a/packages/gateway/src/features/role/utils.ts b/packages/gateway/src/features/role/utils.ts index 7a9448f3af3..0d1e9767eec 100644 --- a/packages/gateway/src/features/role/utils.ts +++ b/packages/gateway/src/features/role/utils.ts @@ -1,3 +1,5 @@ +import { Scope } from '@opencrvs/commons/authentication' + /* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -8,6 +10,56 @@ * * Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. */ + +export const SYSTEM_ROLE_KEYS = [ + 'FIELD_AGENT', + 'LOCAL_REGISTRAR', + 'LOCAL_SYSTEM_ADMIN', + 'NATIONAL_REGISTRAR', + 'NATIONAL_SYSTEM_ADMIN', + 'PERFORMANCE_MANAGEMENT', + 'REGISTRATION_AGENT' +] as const + +// Derive the type from SYSTEM_ROLE_KEYS +type SystemRoleKeyType = (typeof SYSTEM_ROLE_KEYS)[number] + +export const SysAdminAccessMap: Partial< + Record +> = { + LOCAL_SYSTEM_ADMIN: [ + 'FIELD_AGENT', + 'LOCAL_REGISTRAR', + 'LOCAL_SYSTEM_ADMIN', + 'PERFORMANCE_MANAGEMENT', + 'REGISTRATION_AGENT' + ], + NATIONAL_SYSTEM_ADMIN: [ + 'FIELD_AGENT', + 'LOCAL_REGISTRAR', + 'LOCAL_SYSTEM_ADMIN', + 'NATIONAL_REGISTRAR', + 'NATIONAL_SYSTEM_ADMIN', + 'PERFORMANCE_MANAGEMENT', + 'REGISTRATION_AGENT' + ] +} + +type UserRole = { + labels: Label[] +} + +type Label = { + lang: string + label: string +} + +export type SystemRole = { + value: SystemRoleKeyType + roles: UserRole[] + active: boolean + creationDate: number +} export interface IComparisonObject { eq?: string gt?: string @@ -46,3 +98,16 @@ export function transformMongoComparisonObject( {} ) } + +export function getAccessibleRolesForScope(scope: Scope[]) { + let roleFilter: keyof typeof SysAdminAccessMap + if (scope.includes('natlsysadmin')) { + roleFilter = 'NATIONAL_SYSTEM_ADMIN' + } else if (scope.includes('sysadmin')) { + roleFilter = 'LOCAL_SYSTEM_ADMIN' + } else { + throw Error('Create user is only allowed for sysadmin/natlsysadmin') + } + + return SysAdminAccessMap[roleFilter] +} diff --git a/packages/gateway/src/features/user/utils/index.ts b/packages/gateway/src/features/user/utils/index.ts index 4d8e904c2f7..63f0516388d 100644 --- a/packages/gateway/src/features/user/utils/index.ts +++ b/packages/gateway/src/features/user/utils/index.ts @@ -18,6 +18,7 @@ import decode from 'jwt-decode' import fetch from '@gateway/fetch' import { Scope } from '@opencrvs/commons/authentication' import { GQLUserInput } from '@gateway/graphql/schema' +import { SysAdminAccessMap } from '@gateway/features/role/utils' export interface ITokenPayload { sub: string @@ -37,60 +38,6 @@ export type scopeType = | 'sysadmin' | 'performance' -type RoleSearchPayload = { - title?: string - value?: MongoComparisonObject - role?: string - active?: boolean - sortBy?: string - sortOrder?: string -} - -type MongoComparisonObject = { - $eq?: string - $gt?: string - $lt?: string - $gte?: string - $lte?: string - $in?: string[] - $ne?: string - $nin?: string[] -} - -const SYSTEM_ROLE_TYPES = [ - 'FIELD_AGENT', - 'LOCAL_REGISTRAR', - 'LOCAL_SYSTEM_ADMIN', - 'NATIONAL_REGISTRAR', - 'NATIONAL_SYSTEM_ADMIN', - 'PERFORMANCE_MANAGEMENT', - 'REGISTRATION_AGENT' -] as const - -// Derive the type from SYSTEM_ROLE_TYPES -type SystemRoleType = (typeof SYSTEM_ROLE_TYPES)[number] - -export const SysAdminAccessMap: Partial< - Record -> = { - LOCAL_SYSTEM_ADMIN: [ - 'FIELD_AGENT', - 'LOCAL_REGISTRAR', - 'LOCAL_SYSTEM_ADMIN', - 'PERFORMANCE_MANAGEMENT', - 'REGISTRATION_AGENT' - ], - NATIONAL_SYSTEM_ADMIN: [ - 'FIELD_AGENT', - 'LOCAL_REGISTRAR', - 'LOCAL_SYSTEM_ADMIN', - 'NATIONAL_REGISTRAR', - 'NATIONAL_SYSTEM_ADMIN', - 'PERFORMANCE_MANAGEMENT', - 'REGISTRATION_AGENT' - ] -} - export async function getUser( body: { [key: string]: string | undefined }, authHeader: IAuthHeader @@ -105,6 +52,7 @@ export async function getUser( }) return await res.json() } + export function canAssignRole( loggedInUserScope: Scope[], userToSave: GQLUserInput diff --git a/packages/gateway/src/graphql/schema.d.ts b/packages/gateway/src/graphql/schema.d.ts index e69de29bb2d..b136865a761 100644 --- a/packages/gateway/src/graphql/schema.d.ts +++ b/packages/gateway/src/graphql/schema.d.ts @@ -0,0 +1,10925 @@ +import { Context } from './context' +/* tslint:disable */ +/* eslint-disable */ +import { GraphQLResolveInfo, GraphQLScalarType } from 'graphql' +/** + * This file is auto-generated by graphql-schema-typescript + * Please note that any changes in this file may be overwritten + */ + +/******************************* + * * + * TYPE DEFS * + * * + *******************************/ +export interface GQLQuery { + sendNotificationToAllUsers?: GQLNotificationResult + fetchBirthRegistration?: GQLBirthRegistration + searchBirthRegistrations?: Array + searchDeathRegistrations?: Array + queryRegistrationByIdentifier?: GQLBirthRegistration + queryPersonByIdentifier?: GQLPerson + listBirthRegistrations?: GQLBirthRegResultSet + fetchDeathRegistration?: GQLDeathRegistration + fetchEventRegistration?: GQLEventRegistration + fetchRegistration?: GQLEventRegistration + fetchRegistrationForViewing?: GQLEventRegistration + queryPersonByNidIdentifier?: GQLPerson + fetchRegistrationCountByStatus?: GQLRegistrationCountResult + fetchMarriageRegistration?: GQLMarriageRegistration + fetchRecordDetailsForVerification?: GQLRecordDetails + isLeafLevelLocation: boolean + getUser?: GQLUser + getUserByMobile?: GQLUser + getUserByEmail?: GQLUser + searchUsers?: GQLSearchUserResult + searchFieldAgents?: GQLSearchFieldAgentResult + verifyPasswordById?: GQLVerifyPasswordResult + getTotalMetrics?: GQLTotalMetricsResult + getRegistrationsListByFilter?: GQLMixedTotalMetricsResult + getVSExports?: GQLTotalVSExport + getTotalPayments?: Array + getTotalCertifications?: Array + getTotalCorrections?: Array + getLocationStatistics?: GQLLocationStatisticsResponse + getDeclarationsStartedMetrics?: GQLDeclarationsStartedMetrics + fetchMonthWiseEventMetrics?: Array + fetchLocationWiseEventMetrics?: Array + getUserAuditLog?: GQLUserAuditLogResultSet + searchEvents?: GQLEventSearchResultSet + getEventsWithProgress?: GQLEventProgressResultSet + getSystemRoles?: Array + fetchSystem?: GQLSystem + getEvent: GQLEvent +} + +export interface GQLMutation { + requestRegistrationCorrection: string + rejectRegistrationCorrection: string + approveBirthRegistrationCorrection: string + approveDeathRegistrationCorrection: string + approveMarriageRegistrationCorrection: string + createBirthRegistrationCorrection: string + createDeathRegistrationCorrection: string + createMarriageRegistrationCorrection: string + createBirthRegistration: GQLCreatedIds + markBirthAsVerified?: GQLBirthRegistration + markBirthAsValidated?: string + markBirthAsRegistered: string + markBirthAsCertified: string + markBirthAsIssued: string + markEventAsVoided: string + markEventAsReinstated?: GQLReinstated + markEventAsNotDuplicate: string + markEventAsArchived: string + createDeathRegistration: GQLCreatedIds + updateDeathRegistration: string + markDeathAsVerified?: GQLDeathRegistration + markDeathAsValidated?: string + markDeathAsRegistered: string + markDeathAsCertified: string + markDeathAsIssued: string + markEventAsUnassigned: string + createMarriageRegistration: GQLCreatedIds + markMarriageAsValidated?: string + markMarriageAsRegistered: string + markMarriageAsCertified: string + markMarriageAsIssued: string + markEventAsDuplicate: string + confirmRegistration: string + rejectRegistration: string + createOrUpdateUser: GQLUser + activateUser?: string + changePassword?: string + changePhone?: string + changeEmail?: string + changeAvatar?: GQLAvatar + auditUser?: string + resendInvite?: string + usernameReminder?: string + resetPasswordInvite?: string + updateRole: GQLResponse + reactivateSystem?: GQLSystem + deactivateSystem?: GQLSystem + registerSystem?: GQLSystemSecret + refreshSystemSecret?: GQLSystemSecret + updatePermissions?: GQLSystem + deleteSystem?: GQLSystem + bookmarkAdvancedSearch?: GQLBookMarkedSearches + removeBookmarkedAdvancedSearch?: GQLBookMarkedSearches + createEvent: GQLEvent + notifyEvent: GQLEvent + declareEvent: GQLEvent + registerEvent: GQLEvent + certifyEvent: GQLEvent + issueEvent: GQLEvent + revokeEvent: GQLEvent + reinstateEvent: GQLEvent + revokeCorrectionEvent: GQLEvent + requestCorrectionEvent: GQLEvent + approveCorrectionEvent: GQLEvent + rejectCorrectionEvent: GQLEvent +} + +export interface GQLDummy { + dummy: string +} + +export interface GQLNotificationResult { + success: boolean +} + +export const enum GQLNotificationType { + EMAIL = 'EMAIL', + SMS = 'SMS' +} + +export interface GQLBirthRegistration extends GQLEventRegistration { + id: string + _fhirIDMap?: GQLMap + registration?: GQLRegistration + child?: GQLPerson + mother?: GQLPerson + father?: GQLPerson + informant?: GQLRelatedPerson + eventLocation?: GQLLocation + birthType?: string + questionnaire?: Array + weightAtBirth?: number + attendantAtBirth?: string + otherAttendantAtBirth?: string + childrenBornAliveToMother?: number + foetalDeathsToMother?: number + lastPreviousLiveBirth?: GQLDate + createdAt?: GQLDate + updatedAt?: GQLDate + history?: Array +} + +export type GQLDate = any + +export interface GQLDeathRegistration extends GQLEventRegistration { + id: string + _fhirIDMap?: GQLMap + registration?: GQLRegistration + deceased?: GQLPerson + informant?: GQLRelatedPerson + mother?: GQLPerson + father?: GQLPerson + spouse?: GQLPerson + eventLocation?: GQLLocation + questionnaire?: Array + mannerOfDeath?: string + deathDescription?: string + causeOfDeathMethod?: string + causeOfDeathEstablished?: string + causeOfDeath?: string + maleDependentsOfDeceased?: number + femaleDependentsOfDeceased?: number + medicalPractitioner?: GQLMedicalPractitioner + createdAt?: GQLDate + updatedAt?: GQLDate + history?: Array +} + +export interface GQLPerson { + id?: string + _fhirID?: string + identifier?: Array + name?: Array + telecom?: Array + gender?: string + birthDate?: GQLPlainDate + age?: number + maritalStatus?: string + occupation?: string + detailsExist?: boolean + reasonNotApplying?: string + dateOfMarriage?: GQLPlainDate + multipleBirth?: number + address?: Array + photo?: Array + deceased?: GQLDeceased + nationality?: Array + educationalAttainment?: string + ageOfIndividualInYears?: number + exactDateOfBirthUnknown?: boolean +} + +export interface GQLBirthRegResultSet { + results?: Array + totalItems?: number +} + +export interface GQLEventRegistration { + id: string + registration?: GQLRegistration + history?: Array + createdAt?: GQLDate +} + +/** Use this to resolve interface type EventRegistration */ +export type GQLPossibleEventRegistrationTypeNames = + | 'BirthRegistration' + | 'DeathRegistration' + | 'MarriageRegistration' + +export interface GQLEventRegistrationNameMap { + EventRegistration: GQLEventRegistration + BirthRegistration: GQLBirthRegistration + DeathRegistration: GQLDeathRegistration + MarriageRegistration: GQLMarriageRegistration +} + +export interface GQLRegistrationCountResult { + results: Array + total: number +} + +export interface GQLMarriageRegistration extends GQLEventRegistration { + id: string + _fhirIDMap?: GQLMap + registration?: GQLRegistration + informant?: GQLRelatedPerson + bride?: GQLPerson + groom?: GQLPerson + witnessOne?: GQLRelatedPerson + witnessTwo?: GQLRelatedPerson + eventLocation?: GQLLocation + typeOfMarriage?: string + questionnaire?: Array + createdAt?: GQLDate + updatedAt?: GQLDate + history?: Array +} + +export type GQLRecordDetails = GQLBirthRegistration | GQLDeathRegistration + +/** Use this to resolve union type RecordDetails */ +export type GQLPossibleRecordDetailsTypeNames = + | 'BirthRegistration' + | 'DeathRegistration' + +export interface GQLRecordDetailsNameMap { + RecordDetails: GQLRecordDetails + BirthRegistration: GQLBirthRegistration + DeathRegistration: GQLDeathRegistration +} + +export interface GQLUser { + id: string + userMgntUserID: string + practitionerId: string + name: Array + username?: string + mobile?: string + systemRole: GQLSystemRoleType + role: GQLRole + email?: string + status: GQLStatus + underInvestigation?: boolean + primaryOffice?: GQLLocation + localRegistrar?: GQLLocalRegistrar + identifier?: GQLIdentifier + signature?: GQLSignature + creationDate: string + avatar?: GQLAvatar + device?: string + searches?: Array +} + +export interface GQLSearchUserResult { + results?: Array + totalItems?: number +} + +export interface GQLSearchFieldAgentResult { + results?: Array + totalItems?: number +} + +export interface GQLVerifyPasswordResult { + mobile?: string + scrope?: Array + status?: string + username?: string + id?: string +} + +export interface GQLTotalMetricsResult { + estimated: GQLEstimation + results: Array +} + +export type GQLMixedTotalMetricsResult = + | GQLTotalMetricsByRegistrar + | GQLTotalMetricsByLocation + | GQLTotalMetricsByTime + +/** Use this to resolve union type MixedTotalMetricsResult */ +export type GQLPossibleMixedTotalMetricsResultTypeNames = + | 'TotalMetricsByRegistrar' + | 'TotalMetricsByLocation' + | 'TotalMetricsByTime' + +export interface GQLMixedTotalMetricsResultNameMap { + MixedTotalMetricsResult: GQLMixedTotalMetricsResult + TotalMetricsByRegistrar: GQLTotalMetricsByRegistrar + TotalMetricsByLocation: GQLTotalMetricsByLocation + TotalMetricsByTime: GQLTotalMetricsByTime +} + +export interface GQLTotalVSExport { + results?: Array +} + +export interface GQLPaymentMetric { + total: number + paymentType: string +} + +export interface GQLCertificationMetric { + total: number + eventType: string +} + +export interface GQLCorrectionMetric { + total: number + reason: string +} + +export interface GQLLocationStatisticsResponse { + population?: number + registrars: number + offices: number +} + +export interface GQLDeclarationsStartedMetrics { + fieldAgentDeclarations: number + hospitalDeclarations: number + officeDeclarations: number +} + +export interface GQLMonthWiseEstimationMetric { + total: number + withinTarget: number + within1Year: number + within5Years: number + estimated: number + month: number + year: number +} + +export interface GQLLocationWiseEstimationMetric { + total: number + withinTarget: number + within1Year: number + within5Years: number + estimated: number + locationId: string + locationName: string +} + +export interface GQLUserAuditLogResultSet { + total: number + results: Array +} + +export interface GQLEventSearchResultSet { + results?: Array + totalItems?: number +} + +export interface GQLAdvancedSearchParametersInput { + event?: GQLEventType + name?: string + registrationStatuses?: Array + dateOfEvent?: string + dateOfEventStart?: string + dateOfEventEnd?: string + timePeriodFrom?: string + contactNumber?: string + contactEmail?: string + nationalId?: string + registrationNumber?: string + trackingId?: string + recordId?: string + dateOfRegistration?: string + dateOfRegistrationStart?: string + dateOfRegistrationEnd?: string + declarationLocationId?: string + declarationJurisdictionId?: string + eventLocationId?: string + eventCountry?: string + eventLocationLevel1?: string + eventLocationLevel2?: string + eventLocationLevel3?: string + eventLocationLevel4?: string + eventLocationLevel5?: string + childFirstNames?: string + childLastName?: string + childDoB?: string + childDoBStart?: string + childDoBEnd?: string + childGender?: string + childIdentifier?: string + deceasedFirstNames?: string + deceasedFamilyName?: string + deceasedGender?: string + deceasedDoB?: string + deceasedDoBStart?: string + deceasedDoBEnd?: string + deceasedIdentifier?: string + groomFirstNames?: string + groomFamilyName?: string + groomDoB?: string + groomDoBStart?: string + groomDoBEnd?: string + groomIdentifier?: string + brideFirstNames?: string + brideFamilyName?: string + brideDoB?: string + brideDoBStart?: string + brideDoBEnd?: string + brideIdentifier?: string + dateOfMarriage?: string + motherFirstNames?: string + motherFamilyName?: string + motherDoB?: string + motherDoBStart?: string + motherDoBEnd?: string + motherIdentifier?: string + fatherFirstNames?: string + fatherFamilyName?: string + fatherDoB?: string + fatherDoBStart?: string + fatherDoBEnd?: string + fatherIdentifier?: string + informantFirstNames?: string + informantFamilyName?: string + informantDoB?: string + informantDoBStart?: string + informantDoBEnd?: string + informantIdentifier?: string + compositionType?: Array +} + +export interface GQLSortBy { + column: string + order: string +} + +export interface GQLEventProgressResultSet { + results?: Array + totalItems?: number +} + +export interface GQLSystemRole { + id: string + value: GQLSystemRoleType + roles: Array + active: boolean +} + +export interface GQLComparisonInput { + eq?: string + gt?: string + lt?: string + gte?: string + lte?: string + in?: Array + ne?: string + nin?: Array +} + +export interface GQLSystem { + _id: string + clientId: string + shaSecret: string + status: GQLSystemStatus + name: string + type: GQLSystemType + integratingSystemType?: GQLIntegratingSystemType + settings?: GQLSystemSettings +} + +export interface GQLEvent { + type: string + id: string + createdAt: GQLDateTime + updatedAt: GQLDateTime + actions: Array +} + +export interface GQLCorrectionInput { + requester: string + requesterOther?: string + hasShowedVerifiedDocument: boolean + noSupportingDocumentationRequired: boolean + attachments: Array + payment?: GQLCorrectionPaymentInput + values: Array + location: GQLLocationInput + reason: string + otherReason: string + note: string +} + +export interface GQLCorrectionRejectionInput { + reason: string + timeLoggedMS: number +} + +export interface GQLBirthRegistrationInput { + _fhirIDMap?: GQLFHIRIDMap + registration?: GQLRegistrationInput + child?: GQLPersonInput + mother?: GQLPersonInput + father?: GQLPersonInput + informant?: GQLRelatedPersonInput + eventLocation?: GQLLocationInput + birthType?: string + questionnaire?: Array + weightAtBirth?: number + attendantAtBirth?: string + otherAttendantAtBirth?: string + childrenBornAliveToMother?: number + foetalDeathsToMother?: number + lastPreviousLiveBirth?: GQLDate + createdAt?: GQLDate + updatedAt?: GQLDate +} + +export interface GQLDeathRegistrationInput { + _fhirIDMap?: GQLFHIRIDMap + registration?: GQLRegistrationInput + deceased?: GQLPersonInput + informant?: GQLRelatedPersonInput + mother?: GQLPersonInput + father?: GQLPersonInput + spouse?: GQLPersonInput + eventLocation?: GQLLocationInput + questionnaire?: Array + mannerOfDeath?: string + deathDescription?: string + causeOfDeathMethod?: string + causeOfDeathEstablished?: string + causeOfDeath?: string + maleDependentsOfDeceased?: number + femaleDependentsOfDeceased?: number + medicalPractitioner?: GQLMedicalPractitionerInput + createdAt?: GQLDate + updatedAt?: GQLDate +} + +export interface GQLMarriageRegistrationInput { + _fhirIDMap?: GQLFHIRIDMap + registration?: GQLRegistrationInput + informant?: GQLRelatedPersonInput + bride?: GQLPersonInput + groom?: GQLPersonInput + witnessOne?: GQLRelatedPersonInput + witnessTwo?: GQLRelatedPersonInput + eventLocation?: GQLLocationInput + typeOfMarriage?: string + questionnaire?: Array + createdAt?: GQLDate + updatedAt?: GQLDate +} + +export interface GQLCreatedIds { + compositionId?: string + trackingId?: string + isPotentiallyDuplicate?: boolean +} + +export interface GQLReinstated { + taskEntryResourceID: string + registrationStatus?: GQLRegStatus +} + +export interface GQLConfirmRegistrationInput { + registrationNumber: string + error?: string + identifiers?: Array +} + +export interface GQLRejectRegistrationInput { + reason: string + comment?: string +} + +export interface GQLUserInput { + id?: string + name: Array + identifier?: Array + username?: string + mobile?: string + password?: string + status?: GQLStatus + systemRole: GQLSystemRoleType + role?: string + email?: string + primaryOffice?: string + device?: string + signature?: GQLSignatureInput +} + +export interface GQLSecurityQuestionAnswer { + questionKey?: string + answer?: string +} + +export interface GQLAvatar { + type: string + data: string +} + +export interface GQLAvatarInput { + type: string + data: string +} + +export interface GQLResponse { + roleIdMap: GQLMap +} + +export interface GQLSystemRoleInput { + id: string + value?: string + active?: boolean + roles?: Array +} + +export interface GQLSystemSecret { + system: GQLSystem + clientSecret: string +} + +export interface GQLSystemInput { + name: string + type: GQLSystemType + settings?: GQLSystemSettingsInput + integratingSystemType?: GQLIntegratingSystemType +} + +export interface GQLUpdatePermissionsInput { + clientId: string + webhook: Array +} + +export interface GQLBookMarkedSearches { + searchList?: Array +} + +export interface GQLBookmarkSearchInput { + userId: string + name: string + parameters: GQLAdvancedSearchParametersInput +} + +export interface GQLRemoveBookmarkedSeachInput { + userId: string + searchId: string +} + +export interface GQLEventInput { + type: string +} + +export interface GQLNotifyActionInput { + data: Array +} + +export interface GQLDeclareActionInput { + data: Array +} + +export interface GQLRegisterActionInput { + data: Array +} + +export interface GQLCertifyActionInput { + data: Array +} + +export interface GQLIssueActionInput { + data: Array +} + +export interface GQLRevokeActionInput { + data: Array +} + +export interface GQLReinstateActionInput { + data: Array +} + +export interface GQLRevokeCorrectionActionInput { + data: Array +} + +export interface GQLRequestCorrectionActionInput { + data: Array +} + +export interface GQLApproveCorrectionActionInput { + data: Array +} + +export interface GQLRejectCorrectionActionInput { + data: Array +} + +export type GQLMap = any + +export interface GQLRegistration { + id?: string + _fhirID?: string + draftId?: string + trackingId?: string + registrationNumber?: string + paperFormID?: string + page?: string + book?: string + informantType?: string + otherInformantType?: string + assignment?: GQLAssignmentData + contact?: string + contactRelationship?: string + informantsSignature?: string + groomSignature?: string + brideSignature?: string + witnessOneSignature?: string + witnessTwoSignature?: string + contactPhoneNumber?: string + contactEmail?: string + status?: Array + type?: GQLRegistrationType + inCompleteFields?: string + attachments?: Array + certificates?: Array + duplicates?: Array +} + +export interface GQLRelatedPerson { + id?: string + _fhirID?: string + _fhirIDPatient?: string + relationship?: string + otherRelationship?: string + affidavit?: Array + identifier?: Array + name?: Array + telecom?: Array + gender?: string + birthDate?: string + age?: number + maritalStatus?: string + occupation?: string + detailsExist?: boolean + reasonNotApplying?: string + dateOfMarriage?: GQLDate + multipleBirth?: number + address?: Array + photo?: Array + deceased?: GQLDeceased + nationality?: Array + educationalAttainment?: string + ageOfIndividualInYears?: number + exactDateOfBirthUnknown?: boolean +} + +export interface GQLLocation { + id: string + _fhirID?: string + identifier?: Array + status?: string + name?: string + alias?: Array + description?: string + partOf?: string + type?: string + telecom?: Array + address?: GQLAddress + longitude?: number + latitude?: number + altitude?: number + geoData?: string + hierarchy?: Array +} + +export interface GQLQuestionnaireQuestion { + fieldId?: string + value?: string +} + +export interface GQLHistory { + user?: GQLUser + date?: GQLDate + regStatus?: GQLRegStatus + ipAddress?: string + action?: GQLRegAction + note?: string + statusReason?: GQLStatusReason + reason?: string + requester?: string + requesterOther?: string + hasShowedVerifiedDocument?: boolean + noSupportingDocumentationRequired?: boolean + otherReason?: string + system?: GQLIntegratedSystem + location?: GQLLocation + office?: GQLLocation + dhis2Notification?: boolean + comments?: Array + input?: Array + output?: Array + certificates?: Array + signature?: GQLSignature + payment?: GQLPayment + documents: Array + duplicateOf?: string + potentialDuplicates?: Array +} + +export interface GQLMedicalPractitioner { + name?: string + qualification?: string + lastVisitDate?: GQLDate +} + +export interface GQLIdentityType { + id?: string + type?: string + otherType?: string + fieldsModifiedByIdentity?: Array +} + +export interface GQLHumanName { + use?: string + firstNames?: string + middleName?: string + familyName?: string + marriedLastName?: string +} + +export interface GQLContactPoint { + system?: string + value?: string + use?: string +} + +export type GQLPlainDate = any + +export interface GQLAddress { + use?: string + type?: string + text?: string + line?: Array + lineName?: Array + city?: string + district?: string + districtName?: string + state?: string + stateName?: string + postalCode?: string + country?: string + from?: GQLDate + to?: GQLDate + partOf?: string +} + +export interface GQLAttachment { + id: string + _fhirID?: string + contentType?: string + data?: string + uri?: string + status?: string + originalFileName?: string + systemFileName?: string + type?: string + description?: string + subject?: string + createdAt?: GQLDate +} + +export interface GQLDeceased { + deceased?: boolean + deathDate?: GQLPlainDate +} + +export interface GQLStatusWiseRegistrationCount { + status: string + count: number +} + +export const enum GQLSystemRoleType { + FIELD_AGENT = 'FIELD_AGENT', + REGISTRATION_AGENT = 'REGISTRATION_AGENT', + LOCAL_REGISTRAR = 'LOCAL_REGISTRAR', + LOCAL_SYSTEM_ADMIN = 'LOCAL_SYSTEM_ADMIN', + NATIONAL_SYSTEM_ADMIN = 'NATIONAL_SYSTEM_ADMIN', + PERFORMANCE_MANAGEMENT = 'PERFORMANCE_MANAGEMENT', + NATIONAL_REGISTRAR = 'NATIONAL_REGISTRAR' +} + +export interface GQLRole { + _id: string + labels: Array +} + +export const enum GQLStatus { + active = 'active', + deactivated = 'deactivated', + pending = 'pending', + disabled = 'disabled' +} + +export interface GQLLocalRegistrar { + name: Array + role: GQLSystemRoleType + signature?: GQLSignature +} + +export interface GQLIdentifier { + system?: string + value?: string +} + +export interface GQLSignature { + data?: string + type?: string +} + +export interface GQLBookmarkedSeachItem { + searchId: string + name: string + parameters: GQLAdvancedSeachParameters +} + +export interface GQLSearchFieldAgentResponse { + practitionerId?: string + fullName?: string + role?: GQLRole + status?: GQLStatus + avatar?: GQLAvatar + primaryOfficeId?: string + creationDate?: string + totalNumberOfDeclarationStarted?: number + totalNumberOfInProgressAppStarted?: number + totalNumberOfRejectedDeclarations?: number + averageTimeForDeclaredDeclarations?: number +} + +export interface GQLEstimation { + totalEstimation: number + maleEstimation: number + femaleEstimation: number + locationId: string + locationLevel: string +} + +export interface GQLEventMetrics { + total: number + gender: string + eventLocationType: string + timeLabel: string + practitionerRole: string +} + +export interface GQLTotalMetricsByRegistrar { + results: Array + total?: number +} + +export interface GQLTotalMetricsByLocation { + results: Array + total?: number +} + +export interface GQLTotalMetricsByTime { + results: Array + total?: number +} + +export interface GQLVSExport { + event: string + startDate: GQLDate + endDate: GQLDate + fileSize: string + url: string + createdOn: GQLDate +} + +export type GQLUserAuditLogResultItem = + | GQLUserAuditLogItemWithComposition + | GQLUserAuditLogItem + +/** Use this to resolve union type UserAuditLogResultItem */ +export type GQLPossibleUserAuditLogResultItemTypeNames = + | 'UserAuditLogItemWithComposition' + | 'UserAuditLogItem' + +export interface GQLUserAuditLogResultItemNameMap { + UserAuditLogResultItem: GQLUserAuditLogResultItem + UserAuditLogItemWithComposition: GQLUserAuditLogItemWithComposition + UserAuditLogItem: GQLUserAuditLogItem +} + +export interface GQLEventSearchSet { + id: string + type?: string + registration?: GQLRegistrationSearchSet + operationHistories?: Array +} + +/** Use this to resolve interface type EventSearchSet */ +export type GQLPossibleEventSearchSetTypeNames = + | 'BirthEventSearchSet' + | 'DeathEventSearchSet' + | 'MarriageEventSearchSet' + +export interface GQLEventSearchSetNameMap { + EventSearchSet: GQLEventSearchSet + BirthEventSearchSet: GQLBirthEventSearchSet + DeathEventSearchSet: GQLDeathEventSearchSet + MarriageEventSearchSet: GQLMarriageEventSearchSet +} + +export const enum GQLEventType { + birth = 'birth', + death = 'death', + marriage = 'marriage' +} + +export interface GQLEventProgressSet { + id: string + type?: string + name?: Array + dateOfEvent?: GQLPlainDate + registration?: GQLRegistrationSearchSet + startedBy?: GQLUser + startedByFacility?: string + startedAt?: GQLDate + progressReport?: GQLEventProgressData +} + +export const enum GQLSystemStatus { + active = 'active', + deactivated = 'deactivated' +} + +export const enum GQLSystemType { + NATIONAL_ID = 'NATIONAL_ID', + HEALTH = 'HEALTH', + RECORD_SEARCH = 'RECORD_SEARCH', + WEBHOOK = 'WEBHOOK' +} + +export const enum GQLIntegratingSystemType { + MOSIP = 'MOSIP', + OTHER = 'OTHER' +} + +export interface GQLSystemSettings { + dailyQuota?: number + webhook?: Array + openIdProviderClientId?: string + openIdProviderBaseUrl?: string + openIdProviderClaims?: string +} + +export type GQLDateTime = any + +export type GQLAction = + | GQLCreateAction + | GQLRegisterAction + | GQLNotifyAction + | GQLDeclareAction + +/** Use this to resolve union type Action */ +export type GQLPossibleActionTypeNames = + | 'CreateAction' + | 'RegisterAction' + | 'NotifyAction' + | 'DeclareAction' + +export interface GQLActionNameMap { + Action: GQLAction + CreateAction: GQLCreateAction + RegisterAction: GQLRegisterAction + NotifyAction: GQLNotifyAction + DeclareAction: GQLDeclareAction +} + +export interface GQLAttachmentInput { + _fhirID?: string + contentType?: string + data?: string + uri?: string + status?: GQLAttachmentInputStatus + originalFileName?: string + systemFileName?: string + type?: string + description?: string + subject?: string + createdAt?: GQLDate +} + +export interface GQLCorrectionPaymentInput { + _fhirID?: string + attachmentData?: string + type: GQLPaymentType + amount: number + outcome: GQLPaymentOutcomeType + date: GQLDate +} + +export interface GQLCorrectionValueInput { + section: string + fieldName: string + oldValue?: GQLFieldValue + newValue: GQLFieldValue +} + +export interface GQLLocationInput { + _fhirID?: string + identifier?: Array + status?: string + name?: string + alias?: Array + description?: string + partOf?: string + type?: string + telecom?: Array + address?: GQLAddressInput + longitude?: number + latitude?: number + altitude?: number + geoData?: string +} + +export interface GQLFHIRIDMap { + composition?: string + encounter?: string + eventLocation?: string + questionnaireResponse?: string + observation?: GQLObservationFHIRIDS +} + +export interface GQLRegistrationInput { + _fhirID?: string + draftId?: string + trackingId?: string + registrationNumber?: string + paperFormID?: string + page?: string + book?: string + informantsSignature?: string + groomSignature?: string + brideSignature?: string + witnessOneSignature?: string + witnessTwoSignature?: string + informantType?: string + otherInformantType?: string + contactPhoneNumber?: string + contactEmail?: string + status?: Array + type?: GQLRegistrationType + inCompleteFields?: string + attachments?: Array + certificates?: Array + location?: GQLLocationInput + correction?: GQLCorrectionInput + changedValues?: Array +} + +export interface GQLPersonInput { + _fhirID?: string + identifier?: Array + name?: Array + telecom?: Array + gender?: GQLGender + birthDate?: GQLPlainDate + age?: number + maritalStatus?: string + occupation?: string + detailsExist?: boolean + reasonNotApplying?: string + dateOfMarriage?: GQLPlainDate + multipleBirth?: number + address?: Array + photo?: Array + deceased?: GQLDeceasedInput + nationality?: Array + educationalAttainment?: string + ageOfIndividualInYears?: number +} + +export interface GQLRelatedPersonInput { + id?: string + _fhirID?: string + _fhirIDPatient?: string + relationship?: string + otherRelationship?: string + affidavit?: Array + exactDateOfBirthUnknown?: boolean + identifier?: Array + name?: Array + telecom?: Array + gender?: GQLGender + birthDate?: string + age?: number + maritalStatus?: string + occupation?: string + detailsExist?: boolean + reasonNotApplying?: string + dateOfMarriage?: GQLDate + multipleBirth?: number + address?: Array + photo?: Array + deceased?: GQLDeceasedInput + nationality?: Array + educationalAttainment?: string + ageOfIndividualInYears?: number +} + +export interface GQLQuestionnaireQuestionInput { + fieldId?: string + value?: string +} + +export interface GQLMedicalPractitionerInput { + name?: string + qualification?: string + lastVisitDate?: GQLDate +} + +export const enum GQLRegStatus { + IN_PROGRESS = 'IN_PROGRESS', + ARCHIVED = 'ARCHIVED', + DECLARED = 'DECLARED', + DECLARATION_UPDATED = 'DECLARATION_UPDATED', + WAITING_VALIDATION = 'WAITING_VALIDATION', + CORRECTION_REQUESTED = 'CORRECTION_REQUESTED', + VALIDATED = 'VALIDATED', + REGISTERED = 'REGISTERED', + CERTIFIED = 'CERTIFIED', + REJECTED = 'REJECTED', + ISSUED = 'ISSUED' +} + +export interface GQLIdentifierInput { + type: string + value: string +} + +export interface GQLHumanNameInput { + use?: string + firstNames?: string + middleName?: string + familyName?: string + marriedLastName?: string +} + +export interface GQLUserIdentifierInput { + use?: string + system?: string + value?: string +} + +export interface GQLSignatureInput { + data: string + type?: string +} + +export interface GQLRoleInput { + _id?: string + labels: Array +} + +export interface GQLSystemSettingsInput { + dailyQuota?: number + webhook?: Array +} + +export interface GQLWebhookInput { + event: string + permissions: Array +} + +export interface GQLFieldInput { + id: string + value: GQLFieldValue +} + +export interface GQLAssignmentData { + practitionerId?: string + firstName?: string + lastName?: string + officeName?: string + avatarURL: string +} + +export interface GQLRegWorkflow { + id: string + type?: GQLRegStatus + user?: GQLUser + timestamp?: GQLDate + comments?: Array + reason?: string + location?: GQLLocation + office?: GQLLocation + timeLogged?: number +} + +export const enum GQLRegistrationType { + BIRTH = 'BIRTH', + DEATH = 'DEATH', + MARRIAGE = 'MARRIAGE' +} + +export interface GQLCertificate { + collector?: GQLRelatedPerson + hasShowedVerifiedDocument?: boolean + payments?: Array + data?: string +} + +export interface GQLDuplicatesInfo { + compositionId?: string + trackingId?: string +} + +export const enum GQLRegAction { + VERIFIED = 'VERIFIED', + ASSIGNED = 'ASSIGNED', + UNASSIGNED = 'UNASSIGNED', + REINSTATED = 'REINSTATED', + REQUESTED_CORRECTION = 'REQUESTED_CORRECTION', + APPROVED_CORRECTION = 'APPROVED_CORRECTION', + REJECTED_CORRECTION = 'REJECTED_CORRECTION', + CORRECTED = 'CORRECTED', + DOWNLOADED = 'DOWNLOADED', + VIEWED = 'VIEWED', + MARKED_AS_DUPLICATE = 'MARKED_AS_DUPLICATE', + MARKED_AS_NOT_DUPLICATE = 'MARKED_AS_NOT_DUPLICATE', + FLAGGED_AS_POTENTIAL_DUPLICATE = 'FLAGGED_AS_POTENTIAL_DUPLICATE' +} + +export interface GQLStatusReason { + text?: string +} + +export interface GQLIntegratedSystem { + name?: string + username?: string + type?: string +} + +export interface GQLComment { + id: string + user?: GQLUser + comment?: string + createdAt?: GQLDate +} + +export interface GQLInputOutput { + valueCode: string + valueId: string + value: GQLFieldValue +} + +export interface GQLPayment { + id: string + type: GQLPaymentType + amount: number + outcome: GQLPaymentOutcomeType + date: GQLDate + attachmentURL?: string +} + +export interface GQLRoleLabel { + lang: string + label: string +} + +export interface GQLAdvancedSeachParameters { + event?: GQLEventType + name?: string + registrationStatuses?: Array + dateOfEvent?: string + dateOfEventStart?: string + dateOfEventEnd?: string + timePeriodFrom?: string + contactNumber?: string + contactEmail?: string + nationalId?: string + registrationNumber?: string + trackingId?: string + dateOfRegistration?: string + dateOfRegistrationStart?: string + dateOfRegistrationEnd?: string + declarationLocationId?: string + declarationJurisdictionId?: string + eventLocationId?: string + eventCountry?: string + eventLocationLevel1?: string + eventLocationLevel2?: string + eventLocationLevel3?: string + eventLocationLevel4?: string + eventLocationLevel5?: string + childFirstNames?: string + childLastName?: string + childDoB?: string + childDoBStart?: string + childDoBEnd?: string + childGender?: string + childIdentifier?: string + deceasedFirstNames?: string + deceasedFamilyName?: string + deceasedGender?: string + deceasedDoB?: string + deceasedDoBStart?: string + deceasedDoBEnd?: string + deceasedIdentifier?: string + motherFirstNames?: string + motherFamilyName?: string + motherDoB?: string + motherDoBStart?: string + motherDoBEnd?: string + motherIdentifier?: string + fatherFirstNames?: string + fatherFamilyName?: string + fatherDoB?: string + fatherDoBStart?: string + fatherDoBEnd?: string + fatherIdentifier?: string + informantFirstNames?: string + informantFamilyName?: string + informantDoB?: string + informantDoBStart?: string + informantDoBEnd?: string + informantIdentifier?: string + compositionType?: Array +} + +export interface GQLEventMetricsByRegistrar { + registrarPractitioner?: GQLUser + total: number + late: number + delayed: number +} + +export interface GQLEventMetricsByLocation { + location: GQLLocation + total: number + late: number + delayed: number + home: number + healthFacility: number +} + +export interface GQLEventMetricsByTime { + total: number + late: number + delayed: number + home: number + healthFacility: number + month: string + time: string +} + +export interface GQLUserAuditLogItemWithComposition + extends GQLAuditLogItemBase { + time: string + ipAddress: string + userAgent: string + action: string + practitionerId: string + data: GQLAdditionalIdWithCompositionId +} + +export interface GQLUserAuditLogItem extends GQLAuditLogItemBase { + time: string + ipAddress: string + userAgent: string + action: string + practitionerId: string +} + +export interface GQLRegistrationSearchSet { + status?: string + contactNumber?: string + contactEmail?: string + contactRelationship?: string + dateOfDeclaration?: GQLDate + trackingId?: string + registrationNumber?: string + eventLocationId?: string + registeredLocationId?: string + reason?: string + comment?: string + duplicates?: Array + createdAt?: string + modifiedAt?: string + assignment?: GQLAssignmentData +} + +export interface GQLOperationHistorySearchSet { + operationType?: string + operatedOn?: GQLDate + operatorRole?: string + operatorName?: Array + operatorOfficeName?: string + operatorOfficeAlias?: Array + notificationFacilityName?: string + notificationFacilityAlias?: Array + rejectReason?: string + rejectComment?: string +} + +export interface GQLBirthEventSearchSet extends GQLEventSearchSet { + id: string + type?: string + childName?: Array + childIdentifier?: string + dateOfBirth?: GQLPlainDate + registration?: GQLRegistrationSearchSet + operationHistories?: Array + placeOfBirth?: string + childGender?: string + mothersFirstName?: string + mothersLastName?: string + fathersFirstName?: string + fathersLastName?: string + motherDateOfBirth?: string + fatherDateOfBirth?: string + motherIdentifier?: string + fatherIdentifier?: string +} + +export interface GQLDeathEventSearchSet extends GQLEventSearchSet { + id: string + type?: string + deceasedGender?: string + deceasedName?: Array + dateOfDeath?: GQLPlainDate + registration?: GQLRegistrationSearchSet + operationHistories?: Array +} + +export interface GQLMarriageEventSearchSet extends GQLEventSearchSet { + id: string + type?: string + brideName?: Array + groomName?: Array + brideIdentifier?: string + groomIdentifier?: string + dateOfMarriage?: GQLPlainDate + registration?: GQLRegistrationSearchSet + operationHistories?: Array +} + +export interface GQLEventProgressData { + timeInProgress?: number + timeInReadyForReview?: number + timeInRequiresUpdates?: number + timeInWaitingForApproval?: number + timeInWaitingForBRIS?: number + timeInReadyToPrint?: number +} + +export interface GQLWebhookPermission { + event: string + permissions: Array +} + +export interface GQLCreateAction { + type: string + createdAt: GQLDateTime + createdBy: string + data: Array +} + +export interface GQLRegisterAction { + type: string + createdAt: GQLDateTime + createdBy: string + data: Array + identifiers: GQLIdentifiers +} + +export interface GQLNotifyAction { + type: string + createdAt: GQLDateTime + createdBy: string + data: Array +} + +export interface GQLDeclareAction { + type: string + createdAt: GQLDateTime + createdBy: string + data: Array + identifiers: GQLIdentifiers +} + +export const enum GQLAttachmentInputStatus { + approved = 'approved', + validated = 'validated', + deleted = 'deleted' +} + +export const enum GQLPaymentType { + MANUAL = 'MANUAL' +} + +export const enum GQLPaymentOutcomeType { + COMPLETED = 'COMPLETED', + ERROR = 'ERROR', + PARTIAL = 'PARTIAL' +} + +export type GQLFieldValue = any + +export interface GQLContactPointInput { + system?: GQLTelecomSystem + value?: string + use?: GQLTelecomUse +} + +export interface GQLAddressInput { + use?: GQLAddressUse + type?: GQLAddressType + text?: string + line?: Array + city?: string + district?: string + state?: string + postalCode?: string + country?: string + from?: GQLDate + to?: GQLDate + partOf?: string +} + +export interface GQLObservationFHIRIDS { + maleDependentsOfDeceased?: string + femaleDependentsOfDeceased?: string + mannerOfDeath?: string + deathDescription?: string + causeOfDeathEstablished?: string + causeOfDeathMethod?: string + causeOfDeath?: string + birthType?: string + typeOfMarriage?: string + weightAtBirth?: string + attendantAtBirth?: string + childrenBornAliveToMother?: string + foetalDeathsToMother?: string + lastPreviousLiveBirth?: string +} + +export interface GQLRegWorkflowInput { + type?: GQLRegStatus + user?: GQLUserInput + timestamp?: GQLDate + reason?: string + comments?: Array + location?: GQLLocationInput + timeLoggedMS?: number +} + +export interface GQLCertificateInput { + collector?: GQLRelatedPersonInput + hasShowedVerifiedDocument?: boolean + payments?: Array + data?: string +} + +export interface GQLIdentityInput { + id?: string + type?: string + otherType?: string + fieldsModifiedByIdentity?: Array +} + +export const enum GQLGender { + male = 'male', + female = 'female', + other = 'other', + unknown = 'unknown' +} + +export interface GQLDeceasedInput { + deceased?: boolean + deathDate?: GQLPlainDate +} + +export interface GQLLabelInput { + lang: string + label: string +} + +export interface GQLAuditLogItemBase { + time: string + ipAddress: string + userAgent: string + action: string + practitionerId: string +} + +/** Use this to resolve interface type AuditLogItemBase */ +export type GQLPossibleAuditLogItemBaseTypeNames = + | 'UserAuditLogItemWithComposition' + | 'UserAuditLogItem' + +export interface GQLAuditLogItemBaseNameMap { + AuditLogItemBase: GQLAuditLogItemBase + UserAuditLogItemWithComposition: GQLUserAuditLogItemWithComposition + UserAuditLogItem: GQLUserAuditLogItem +} + +export interface GQLAdditionalIdWithCompositionId { + compositionId: string + trackingId: string +} + +export interface GQLField { + id: string + value: GQLFieldValue +} + +export interface GQLIdentifiers { + trackingId: string + registrationNumber: string +} + +export const enum GQLTelecomSystem { + other = 'other', + phone = 'phone', + fax = 'fax', + email = 'email', + pager = 'pager', + url = 'url', + sms = 'sms' +} + +export const enum GQLTelecomUse { + home = 'home', + work = 'work', + temp = 'temp', + old = 'old', + mobile = 'mobile' +} + +export const enum GQLAddressUse { + home = 'home', + work = 'work', + temp = 'temp', + old = 'old' +} + +export const enum GQLAddressType { + PRIMARY_ADDRESS = 'PRIMARY_ADDRESS', + SECONDARY_ADDRESS = 'SECONDARY_ADDRESS', + postal = 'postal', + physical = 'physical', + both = 'both' +} + +export interface GQLCommentInput { + user?: GQLUserInput + comment?: string + createdAt?: GQLDate +} + +export interface GQLPaymentInput { + paymentId?: string + type?: GQLPaymentType + amount?: number + outcome?: GQLPaymentOutcomeType + date?: GQLDate + data?: string +} + +/********************************* + * * + * TYPE RESOLVERS * + * * + *********************************/ +/** + * This interface define the shape of your resolver + * Note that this type is designed to be compatible with graphql-tools resolvers + * However, you can still use other generated interfaces to make your resolver type-safed + */ +export interface GQLResolver { + Query?: GQLQueryTypeResolver + Mutation?: GQLMutationTypeResolver + Dummy?: GQLDummyTypeResolver + NotificationResult?: GQLNotificationResultTypeResolver + BirthRegistration?: GQLBirthRegistrationTypeResolver + Date?: GraphQLScalarType + DeathRegistration?: GQLDeathRegistrationTypeResolver + Person?: GQLPersonTypeResolver + BirthRegResultSet?: GQLBirthRegResultSetTypeResolver + EventRegistration?: { + __resolveType: GQLEventRegistrationTypeResolver + } + + RegistrationCountResult?: GQLRegistrationCountResultTypeResolver + MarriageRegistration?: GQLMarriageRegistrationTypeResolver + RecordDetails?: { + __resolveType: GQLRecordDetailsTypeResolver + } + + User?: GQLUserTypeResolver + SearchUserResult?: GQLSearchUserResultTypeResolver + SearchFieldAgentResult?: GQLSearchFieldAgentResultTypeResolver + VerifyPasswordResult?: GQLVerifyPasswordResultTypeResolver + TotalMetricsResult?: GQLTotalMetricsResultTypeResolver + MixedTotalMetricsResult?: { + __resolveType: GQLMixedTotalMetricsResultTypeResolver + } + + TotalVSExport?: GQLTotalVSExportTypeResolver + PaymentMetric?: GQLPaymentMetricTypeResolver + CertificationMetric?: GQLCertificationMetricTypeResolver + CorrectionMetric?: GQLCorrectionMetricTypeResolver + LocationStatisticsResponse?: GQLLocationStatisticsResponseTypeResolver + DeclarationsStartedMetrics?: GQLDeclarationsStartedMetricsTypeResolver + MonthWiseEstimationMetric?: GQLMonthWiseEstimationMetricTypeResolver + LocationWiseEstimationMetric?: GQLLocationWiseEstimationMetricTypeResolver + UserAuditLogResultSet?: GQLUserAuditLogResultSetTypeResolver + EventSearchResultSet?: GQLEventSearchResultSetTypeResolver + EventProgressResultSet?: GQLEventProgressResultSetTypeResolver + SystemRole?: GQLSystemRoleTypeResolver + System?: GQLSystemTypeResolver + Event?: GQLEventTypeResolver + CreatedIds?: GQLCreatedIdsTypeResolver + Reinstated?: GQLReinstatedTypeResolver + Avatar?: GQLAvatarTypeResolver + Response?: GQLResponseTypeResolver + SystemSecret?: GQLSystemSecretTypeResolver + BookMarkedSearches?: GQLBookMarkedSearchesTypeResolver + Map?: GraphQLScalarType + Registration?: GQLRegistrationTypeResolver + RelatedPerson?: GQLRelatedPersonTypeResolver + Location?: GQLLocationTypeResolver + QuestionnaireQuestion?: GQLQuestionnaireQuestionTypeResolver + History?: GQLHistoryTypeResolver + MedicalPractitioner?: GQLMedicalPractitionerTypeResolver + IdentityType?: GQLIdentityTypeTypeResolver + HumanName?: GQLHumanNameTypeResolver + ContactPoint?: GQLContactPointTypeResolver + PlainDate?: GraphQLScalarType + Address?: GQLAddressTypeResolver + Attachment?: GQLAttachmentTypeResolver + Deceased?: GQLDeceasedTypeResolver + StatusWiseRegistrationCount?: GQLStatusWiseRegistrationCountTypeResolver + Role?: GQLRoleTypeResolver + LocalRegistrar?: GQLLocalRegistrarTypeResolver + Identifier?: GQLIdentifierTypeResolver + Signature?: GQLSignatureTypeResolver + BookmarkedSeachItem?: GQLBookmarkedSeachItemTypeResolver + SearchFieldAgentResponse?: GQLSearchFieldAgentResponseTypeResolver + Estimation?: GQLEstimationTypeResolver + EventMetrics?: GQLEventMetricsTypeResolver + TotalMetricsByRegistrar?: GQLTotalMetricsByRegistrarTypeResolver + TotalMetricsByLocation?: GQLTotalMetricsByLocationTypeResolver + TotalMetricsByTime?: GQLTotalMetricsByTimeTypeResolver + VSExport?: GQLVSExportTypeResolver + UserAuditLogResultItem?: { + __resolveType: GQLUserAuditLogResultItemTypeResolver + } + + EventSearchSet?: { + __resolveType: GQLEventSearchSetTypeResolver + } + + EventProgressSet?: GQLEventProgressSetTypeResolver + SystemSettings?: GQLSystemSettingsTypeResolver + DateTime?: GraphQLScalarType + Action?: { + __resolveType: GQLActionTypeResolver + } + + AssignmentData?: GQLAssignmentDataTypeResolver + RegWorkflow?: GQLRegWorkflowTypeResolver + Certificate?: GQLCertificateTypeResolver + DuplicatesInfo?: GQLDuplicatesInfoTypeResolver + StatusReason?: GQLStatusReasonTypeResolver + IntegratedSystem?: GQLIntegratedSystemTypeResolver + Comment?: GQLCommentTypeResolver + InputOutput?: GQLInputOutputTypeResolver + Payment?: GQLPaymentTypeResolver + RoleLabel?: GQLRoleLabelTypeResolver + AdvancedSeachParameters?: GQLAdvancedSeachParametersTypeResolver + EventMetricsByRegistrar?: GQLEventMetricsByRegistrarTypeResolver + EventMetricsByLocation?: GQLEventMetricsByLocationTypeResolver + EventMetricsByTime?: GQLEventMetricsByTimeTypeResolver + UserAuditLogItemWithComposition?: GQLUserAuditLogItemWithCompositionTypeResolver + UserAuditLogItem?: GQLUserAuditLogItemTypeResolver + RegistrationSearchSet?: GQLRegistrationSearchSetTypeResolver + OperationHistorySearchSet?: GQLOperationHistorySearchSetTypeResolver + BirthEventSearchSet?: GQLBirthEventSearchSetTypeResolver + DeathEventSearchSet?: GQLDeathEventSearchSetTypeResolver + MarriageEventSearchSet?: GQLMarriageEventSearchSetTypeResolver + EventProgressData?: GQLEventProgressDataTypeResolver + WebhookPermission?: GQLWebhookPermissionTypeResolver + CreateAction?: GQLCreateActionTypeResolver + RegisterAction?: GQLRegisterActionTypeResolver + NotifyAction?: GQLNotifyActionTypeResolver + DeclareAction?: GQLDeclareActionTypeResolver + FieldValue?: GraphQLScalarType + AuditLogItemBase?: { + __resolveType: GQLAuditLogItemBaseTypeResolver + } + + AdditionalIdWithCompositionId?: GQLAdditionalIdWithCompositionIdTypeResolver + Field?: GQLFieldTypeResolver + Identifiers?: GQLIdentifiersTypeResolver +} +export interface GQLQueryTypeResolver { + sendNotificationToAllUsers?: QueryToSendNotificationToAllUsersResolver + fetchBirthRegistration?: QueryToFetchBirthRegistrationResolver + searchBirthRegistrations?: QueryToSearchBirthRegistrationsResolver + searchDeathRegistrations?: QueryToSearchDeathRegistrationsResolver + queryRegistrationByIdentifier?: QueryToQueryRegistrationByIdentifierResolver + queryPersonByIdentifier?: QueryToQueryPersonByIdentifierResolver + listBirthRegistrations?: QueryToListBirthRegistrationsResolver + fetchDeathRegistration?: QueryToFetchDeathRegistrationResolver + fetchEventRegistration?: QueryToFetchEventRegistrationResolver + fetchRegistration?: QueryToFetchRegistrationResolver + fetchRegistrationForViewing?: QueryToFetchRegistrationForViewingResolver + queryPersonByNidIdentifier?: QueryToQueryPersonByNidIdentifierResolver + fetchRegistrationCountByStatus?: QueryToFetchRegistrationCountByStatusResolver + fetchMarriageRegistration?: QueryToFetchMarriageRegistrationResolver + fetchRecordDetailsForVerification?: QueryToFetchRecordDetailsForVerificationResolver + isLeafLevelLocation?: QueryToIsLeafLevelLocationResolver + getUser?: QueryToGetUserResolver + getUserByMobile?: QueryToGetUserByMobileResolver + getUserByEmail?: QueryToGetUserByEmailResolver + searchUsers?: QueryToSearchUsersResolver + searchFieldAgents?: QueryToSearchFieldAgentsResolver + verifyPasswordById?: QueryToVerifyPasswordByIdResolver + getTotalMetrics?: QueryToGetTotalMetricsResolver + getRegistrationsListByFilter?: QueryToGetRegistrationsListByFilterResolver + getVSExports?: QueryToGetVSExportsResolver + getTotalPayments?: QueryToGetTotalPaymentsResolver + getTotalCertifications?: QueryToGetTotalCertificationsResolver + getTotalCorrections?: QueryToGetTotalCorrectionsResolver + getLocationStatistics?: QueryToGetLocationStatisticsResolver + getDeclarationsStartedMetrics?: QueryToGetDeclarationsStartedMetricsResolver + fetchMonthWiseEventMetrics?: QueryToFetchMonthWiseEventMetricsResolver + fetchLocationWiseEventMetrics?: QueryToFetchLocationWiseEventMetricsResolver + getUserAuditLog?: QueryToGetUserAuditLogResolver + searchEvents?: QueryToSearchEventsResolver + getEventsWithProgress?: QueryToGetEventsWithProgressResolver + getSystemRoles?: QueryToGetSystemRolesResolver + fetchSystem?: QueryToFetchSystemResolver + getEvent?: QueryToGetEventResolver +} + +export interface QueryToSendNotificationToAllUsersArgs { + subject: string + body: string + locale: string + type?: GQLNotificationType +} +export interface QueryToSendNotificationToAllUsersResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToSendNotificationToAllUsersArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchBirthRegistrationArgs { + id: string +} +export interface QueryToFetchBirthRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchBirthRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToSearchBirthRegistrationsArgs { + fromDate?: GQLDate + toDate?: GQLDate +} +export interface QueryToSearchBirthRegistrationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToSearchBirthRegistrationsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToSearchDeathRegistrationsArgs { + fromDate?: GQLDate + toDate?: GQLDate +} +export interface QueryToSearchDeathRegistrationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToSearchDeathRegistrationsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToQueryRegistrationByIdentifierArgs { + identifier: string +} +export interface QueryToQueryRegistrationByIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToQueryRegistrationByIdentifierArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToQueryPersonByIdentifierArgs { + identifier: string +} +export interface QueryToQueryPersonByIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToQueryPersonByIdentifierArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToListBirthRegistrationsArgs { + locationIds?: Array + status?: string + userId?: string + from?: GQLDate + to?: GQLDate + count?: number + skip?: number +} +export interface QueryToListBirthRegistrationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToListBirthRegistrationsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchDeathRegistrationArgs { + id: string +} +export interface QueryToFetchDeathRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchDeathRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchEventRegistrationArgs { + id: string +} +export interface QueryToFetchEventRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchEventRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchRegistrationArgs { + id: string +} +export interface QueryToFetchRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchRegistrationForViewingArgs { + id: string +} +export interface QueryToFetchRegistrationForViewingResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchRegistrationForViewingArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToQueryPersonByNidIdentifierArgs { + dob?: string + nid?: string + country?: string +} +export interface QueryToQueryPersonByNidIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToQueryPersonByNidIdentifierArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchRegistrationCountByStatusArgs { + status: Array + locationId?: string + event?: string +} +export interface QueryToFetchRegistrationCountByStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchRegistrationCountByStatusArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchMarriageRegistrationArgs { + id: string +} +export interface QueryToFetchMarriageRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchMarriageRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchRecordDetailsForVerificationArgs { + id: string +} +export interface QueryToFetchRecordDetailsForVerificationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchRecordDetailsForVerificationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToIsLeafLevelLocationArgs { + locationId: string +} +export interface QueryToIsLeafLevelLocationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToIsLeafLevelLocationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetUserArgs { + userId: string +} +export interface QueryToGetUserResolver { + ( + parent: TParent, + args: QueryToGetUserArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetUserByMobileArgs { + mobile: string +} +export interface QueryToGetUserByMobileResolver { + ( + parent: TParent, + args: QueryToGetUserByMobileArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetUserByEmailArgs { + email: string +} +export interface QueryToGetUserByEmailResolver { + ( + parent: TParent, + args: QueryToGetUserByEmailArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToSearchUsersArgs { + username?: string + mobile?: string + email?: string + status?: string + systemRole?: string + primaryOfficeId?: string + locationId?: string + count?: number + skip?: number + sort?: string +} +export interface QueryToSearchUsersResolver { + ( + parent: TParent, + args: QueryToSearchUsersArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToSearchFieldAgentsArgs { + locationId?: string + primaryOfficeId?: string + status?: string + language?: string + timeStart: string + timeEnd: string + event?: string + count?: number + skip?: number + sort?: string +} +export interface QueryToSearchFieldAgentsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToSearchFieldAgentsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToVerifyPasswordByIdArgs { + id: string + password: string +} +export interface QueryToVerifyPasswordByIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToVerifyPasswordByIdArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetTotalMetricsArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string +} +export interface QueryToGetTotalMetricsResolver { + ( + parent: TParent, + args: QueryToGetTotalMetricsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetRegistrationsListByFilterArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string + filterBy: string + skip: number + size: number +} +export interface QueryToGetRegistrationsListByFilterResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetRegistrationsListByFilterArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetVSExportsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetTotalPaymentsArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string +} +export interface QueryToGetTotalPaymentsResolver { + ( + parent: TParent, + args: QueryToGetTotalPaymentsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetTotalCertificationsArgs { + timeStart: string + timeEnd: string + locationId?: string +} +export interface QueryToGetTotalCertificationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetTotalCertificationsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetTotalCorrectionsArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string +} +export interface QueryToGetTotalCorrectionsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetTotalCorrectionsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetLocationStatisticsArgs { + locationId?: string + populationYear: number +} +export interface QueryToGetLocationStatisticsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetLocationStatisticsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetDeclarationsStartedMetricsArgs { + timeStart: string + timeEnd: string + locationId: string +} +export interface QueryToGetDeclarationsStartedMetricsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetDeclarationsStartedMetricsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchMonthWiseEventMetricsArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string +} +export interface QueryToFetchMonthWiseEventMetricsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchMonthWiseEventMetricsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchLocationWiseEventMetricsArgs { + timeStart: string + timeEnd: string + locationId?: string + event: string +} +export interface QueryToFetchLocationWiseEventMetricsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToFetchLocationWiseEventMetricsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetUserAuditLogArgs { + practitionerId: string + skip?: number + count: number + timeStart?: string + timeEnd?: string +} +export interface QueryToGetUserAuditLogResolver { + ( + parent: TParent, + args: QueryToGetUserAuditLogArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToSearchEventsArgs { + userId?: string + advancedSearchParameters: GQLAdvancedSearchParametersInput + count?: number + skip?: number + sort?: string + sortColumn?: string + sortBy?: Array +} +export interface QueryToSearchEventsResolver { + ( + parent: TParent, + args: QueryToSearchEventsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetEventsWithProgressArgs { + declarationJurisdictionId?: string + registrationStatuses?: Array + compositionType?: Array + count?: number + skip?: number + sort?: string +} +export interface QueryToGetEventsWithProgressResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: QueryToGetEventsWithProgressArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetSystemRolesArgs { + title?: string + value?: GQLComparisonInput + role?: string + active?: boolean + sortBy?: string + sortOrder?: string +} +export interface QueryToGetSystemRolesResolver { + ( + parent: TParent, + args: QueryToGetSystemRolesArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToFetchSystemArgs { + clientId: string +} +export interface QueryToFetchSystemResolver { + ( + parent: TParent, + args: QueryToFetchSystemArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QueryToGetEventArgs { + eventId: string +} +export interface QueryToGetEventResolver { + ( + parent: TParent, + args: QueryToGetEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMutationTypeResolver { + requestRegistrationCorrection?: MutationToRequestRegistrationCorrectionResolver + rejectRegistrationCorrection?: MutationToRejectRegistrationCorrectionResolver + approveBirthRegistrationCorrection?: MutationToApproveBirthRegistrationCorrectionResolver + approveDeathRegistrationCorrection?: MutationToApproveDeathRegistrationCorrectionResolver + approveMarriageRegistrationCorrection?: MutationToApproveMarriageRegistrationCorrectionResolver + createBirthRegistrationCorrection?: MutationToCreateBirthRegistrationCorrectionResolver + createDeathRegistrationCorrection?: MutationToCreateDeathRegistrationCorrectionResolver + createMarriageRegistrationCorrection?: MutationToCreateMarriageRegistrationCorrectionResolver + createBirthRegistration?: MutationToCreateBirthRegistrationResolver + markBirthAsVerified?: MutationToMarkBirthAsVerifiedResolver + markBirthAsValidated?: MutationToMarkBirthAsValidatedResolver + markBirthAsRegistered?: MutationToMarkBirthAsRegisteredResolver + markBirthAsCertified?: MutationToMarkBirthAsCertifiedResolver + markBirthAsIssued?: MutationToMarkBirthAsIssuedResolver + markEventAsVoided?: MutationToMarkEventAsVoidedResolver + markEventAsReinstated?: MutationToMarkEventAsReinstatedResolver + markEventAsNotDuplicate?: MutationToMarkEventAsNotDuplicateResolver + markEventAsArchived?: MutationToMarkEventAsArchivedResolver + createDeathRegistration?: MutationToCreateDeathRegistrationResolver + updateDeathRegistration?: MutationToUpdateDeathRegistrationResolver + markDeathAsVerified?: MutationToMarkDeathAsVerifiedResolver + markDeathAsValidated?: MutationToMarkDeathAsValidatedResolver + markDeathAsRegistered?: MutationToMarkDeathAsRegisteredResolver + markDeathAsCertified?: MutationToMarkDeathAsCertifiedResolver + markDeathAsIssued?: MutationToMarkDeathAsIssuedResolver + markEventAsUnassigned?: MutationToMarkEventAsUnassignedResolver + createMarriageRegistration?: MutationToCreateMarriageRegistrationResolver + markMarriageAsValidated?: MutationToMarkMarriageAsValidatedResolver + markMarriageAsRegistered?: MutationToMarkMarriageAsRegisteredResolver + markMarriageAsCertified?: MutationToMarkMarriageAsCertifiedResolver + markMarriageAsIssued?: MutationToMarkMarriageAsIssuedResolver + markEventAsDuplicate?: MutationToMarkEventAsDuplicateResolver + confirmRegistration?: MutationToConfirmRegistrationResolver + rejectRegistration?: MutationToRejectRegistrationResolver + createOrUpdateUser?: MutationToCreateOrUpdateUserResolver + activateUser?: MutationToActivateUserResolver + changePassword?: MutationToChangePasswordResolver + changePhone?: MutationToChangePhoneResolver + changeEmail?: MutationToChangeEmailResolver + changeAvatar?: MutationToChangeAvatarResolver + auditUser?: MutationToAuditUserResolver + resendInvite?: MutationToResendInviteResolver + usernameReminder?: MutationToUsernameReminderResolver + resetPasswordInvite?: MutationToResetPasswordInviteResolver + updateRole?: MutationToUpdateRoleResolver + reactivateSystem?: MutationToReactivateSystemResolver + deactivateSystem?: MutationToDeactivateSystemResolver + registerSystem?: MutationToRegisterSystemResolver + refreshSystemSecret?: MutationToRefreshSystemSecretResolver + updatePermissions?: MutationToUpdatePermissionsResolver + deleteSystem?: MutationToDeleteSystemResolver + bookmarkAdvancedSearch?: MutationToBookmarkAdvancedSearchResolver + removeBookmarkedAdvancedSearch?: MutationToRemoveBookmarkedAdvancedSearchResolver + createEvent?: MutationToCreateEventResolver + notifyEvent?: MutationToNotifyEventResolver + declareEvent?: MutationToDeclareEventResolver + registerEvent?: MutationToRegisterEventResolver + certifyEvent?: MutationToCertifyEventResolver + issueEvent?: MutationToIssueEventResolver + revokeEvent?: MutationToRevokeEventResolver + reinstateEvent?: MutationToReinstateEventResolver + revokeCorrectionEvent?: MutationToRevokeCorrectionEventResolver + requestCorrectionEvent?: MutationToRequestCorrectionEventResolver + approveCorrectionEvent?: MutationToApproveCorrectionEventResolver + rejectCorrectionEvent?: MutationToRejectCorrectionEventResolver +} + +export interface MutationToRequestRegistrationCorrectionArgs { + id: string + details: GQLCorrectionInput +} +export interface MutationToRequestRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRequestRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRejectRegistrationCorrectionArgs { + id: string + details: GQLCorrectionRejectionInput +} +export interface MutationToRejectRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRejectRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToApproveBirthRegistrationCorrectionArgs { + id: string + details: GQLBirthRegistrationInput +} +export interface MutationToApproveBirthRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToApproveBirthRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToApproveDeathRegistrationCorrectionArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToApproveDeathRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToApproveDeathRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToApproveMarriageRegistrationCorrectionArgs { + id: string + details: GQLMarriageRegistrationInput +} +export interface MutationToApproveMarriageRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToApproveMarriageRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateBirthRegistrationCorrectionArgs { + id: string + details: GQLBirthRegistrationInput +} +export interface MutationToCreateBirthRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateBirthRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateDeathRegistrationCorrectionArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToCreateDeathRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateDeathRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateMarriageRegistrationCorrectionArgs { + id: string + details: GQLMarriageRegistrationInput +} +export interface MutationToCreateMarriageRegistrationCorrectionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateMarriageRegistrationCorrectionArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateBirthRegistrationArgs { + details: GQLBirthRegistrationInput +} +export interface MutationToCreateBirthRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateBirthRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkBirthAsVerifiedArgs { + id: string + details?: GQLBirthRegistrationInput +} +export interface MutationToMarkBirthAsVerifiedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkBirthAsVerifiedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkBirthAsValidatedArgs { + id: string + details?: GQLBirthRegistrationInput +} +export interface MutationToMarkBirthAsValidatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkBirthAsValidatedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkBirthAsRegisteredArgs { + id: string + details: GQLBirthRegistrationInput +} +export interface MutationToMarkBirthAsRegisteredResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkBirthAsRegisteredArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkBirthAsCertifiedArgs { + id: string + details: GQLBirthRegistrationInput +} +export interface MutationToMarkBirthAsCertifiedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkBirthAsCertifiedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkBirthAsIssuedArgs { + id: string + details: GQLBirthRegistrationInput +} +export interface MutationToMarkBirthAsIssuedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkBirthAsIssuedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsVoidedArgs { + id: string + reason: string + comment: string +} +export interface MutationToMarkEventAsVoidedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsVoidedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsReinstatedArgs { + id: string +} +export interface MutationToMarkEventAsReinstatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsReinstatedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsNotDuplicateArgs { + id: string +} +export interface MutationToMarkEventAsNotDuplicateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsNotDuplicateArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsArchivedArgs { + id: string + reason?: string + comment?: string + duplicateTrackingId?: string +} +export interface MutationToMarkEventAsArchivedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsArchivedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateDeathRegistrationArgs { + details: GQLDeathRegistrationInput +} +export interface MutationToCreateDeathRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateDeathRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToUpdateDeathRegistrationArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToUpdateDeathRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToUpdateDeathRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkDeathAsVerifiedArgs { + id: string + details?: GQLDeathRegistrationInput +} +export interface MutationToMarkDeathAsVerifiedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkDeathAsVerifiedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkDeathAsValidatedArgs { + id: string + details?: GQLDeathRegistrationInput +} +export interface MutationToMarkDeathAsValidatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkDeathAsValidatedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkDeathAsRegisteredArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToMarkDeathAsRegisteredResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkDeathAsRegisteredArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkDeathAsCertifiedArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToMarkDeathAsCertifiedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkDeathAsCertifiedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkDeathAsIssuedArgs { + id: string + details: GQLDeathRegistrationInput +} +export interface MutationToMarkDeathAsIssuedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkDeathAsIssuedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsUnassignedArgs { + id: string +} +export interface MutationToMarkEventAsUnassignedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsUnassignedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateMarriageRegistrationArgs { + details: GQLMarriageRegistrationInput +} +export interface MutationToCreateMarriageRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateMarriageRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkMarriageAsValidatedArgs { + id: string + details?: GQLMarriageRegistrationInput +} +export interface MutationToMarkMarriageAsValidatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkMarriageAsValidatedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkMarriageAsRegisteredArgs { + id: string + details: GQLMarriageRegistrationInput +} +export interface MutationToMarkMarriageAsRegisteredResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkMarriageAsRegisteredArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkMarriageAsCertifiedArgs { + id: string + details: GQLMarriageRegistrationInput +} +export interface MutationToMarkMarriageAsCertifiedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkMarriageAsCertifiedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkMarriageAsIssuedArgs { + id: string + details: GQLMarriageRegistrationInput +} +export interface MutationToMarkMarriageAsIssuedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkMarriageAsIssuedArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToMarkEventAsDuplicateArgs { + id: string + reason: string + comment?: string + duplicateTrackingId?: string +} +export interface MutationToMarkEventAsDuplicateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToMarkEventAsDuplicateArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToConfirmRegistrationArgs { + id: string + details: GQLConfirmRegistrationInput +} +export interface MutationToConfirmRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToConfirmRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRejectRegistrationArgs { + id: string + details: GQLRejectRegistrationInput +} +export interface MutationToRejectRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRejectRegistrationArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateOrUpdateUserArgs { + user: GQLUserInput +} +export interface MutationToCreateOrUpdateUserResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToCreateOrUpdateUserArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToActivateUserArgs { + userId: string + password: string + securityQNAs: Array +} +export interface MutationToActivateUserResolver { + ( + parent: TParent, + args: MutationToActivateUserArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToChangePasswordArgs { + userId: string + existingPassword: string + password: string +} +export interface MutationToChangePasswordResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToChangePasswordArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToChangePhoneArgs { + userId: string + phoneNumber: string + nonce: string + verifyCode: string +} +export interface MutationToChangePhoneResolver { + ( + parent: TParent, + args: MutationToChangePhoneArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToChangeEmailArgs { + userId: string + email: string + nonce: string + verifyCode: string +} +export interface MutationToChangeEmailResolver { + ( + parent: TParent, + args: MutationToChangeEmailArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToChangeAvatarArgs { + userId: string + avatar: GQLAvatarInput +} +export interface MutationToChangeAvatarResolver { + ( + parent: TParent, + args: MutationToChangeAvatarArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToAuditUserArgs { + userId: string + action: string + reason: string + comment?: string +} +export interface MutationToAuditUserResolver { + ( + parent: TParent, + args: MutationToAuditUserArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToResendInviteArgs { + userId: string +} +export interface MutationToResendInviteResolver { + ( + parent: TParent, + args: MutationToResendInviteArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToUsernameReminderArgs { + userId: string +} +export interface MutationToUsernameReminderResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToUsernameReminderArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToResetPasswordInviteArgs { + userId: string +} +export interface MutationToResetPasswordInviteResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToResetPasswordInviteArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToUpdateRoleArgs { + systemRole?: GQLSystemRoleInput +} +export interface MutationToUpdateRoleResolver { + ( + parent: TParent, + args: MutationToUpdateRoleArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToReactivateSystemArgs { + clientId: string +} +export interface MutationToReactivateSystemResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToReactivateSystemArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToDeactivateSystemArgs { + clientId: string +} +export interface MutationToDeactivateSystemResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToDeactivateSystemArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRegisterSystemArgs { + system?: GQLSystemInput +} +export interface MutationToRegisterSystemResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRegisterSystemArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRefreshSystemSecretArgs { + clientId: string +} +export interface MutationToRefreshSystemSecretResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRefreshSystemSecretArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToUpdatePermissionsArgs { + setting: GQLUpdatePermissionsInput +} +export interface MutationToUpdatePermissionsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToUpdatePermissionsArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToDeleteSystemArgs { + clientId: string +} +export interface MutationToDeleteSystemResolver { + ( + parent: TParent, + args: MutationToDeleteSystemArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToBookmarkAdvancedSearchArgs { + bookmarkSearchInput: GQLBookmarkSearchInput +} +export interface MutationToBookmarkAdvancedSearchResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToBookmarkAdvancedSearchArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRemoveBookmarkedAdvancedSearchArgs { + removeBookmarkedSearchInput: GQLRemoveBookmarkedSeachInput +} +export interface MutationToRemoveBookmarkedAdvancedSearchResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRemoveBookmarkedAdvancedSearchArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCreateEventArgs { + event: GQLEventInput +} +export interface MutationToCreateEventResolver { + ( + parent: TParent, + args: MutationToCreateEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToNotifyEventArgs { + eventId: string + input: GQLNotifyActionInput +} +export interface MutationToNotifyEventResolver { + ( + parent: TParent, + args: MutationToNotifyEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToDeclareEventArgs { + eventId: string + input: GQLDeclareActionInput +} +export interface MutationToDeclareEventResolver { + ( + parent: TParent, + args: MutationToDeclareEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRegisterEventArgs { + eventId: string + input: GQLRegisterActionInput +} +export interface MutationToRegisterEventResolver { + ( + parent: TParent, + args: MutationToRegisterEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToCertifyEventArgs { + eventId: string + input: GQLCertifyActionInput +} +export interface MutationToCertifyEventResolver { + ( + parent: TParent, + args: MutationToCertifyEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToIssueEventArgs { + eventId: string + input: GQLIssueActionInput +} +export interface MutationToIssueEventResolver { + ( + parent: TParent, + args: MutationToIssueEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRevokeEventArgs { + eventId: string + input: GQLRevokeActionInput +} +export interface MutationToRevokeEventResolver { + ( + parent: TParent, + args: MutationToRevokeEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToReinstateEventArgs { + eventId: string + input: GQLReinstateActionInput +} +export interface MutationToReinstateEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToReinstateEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRevokeCorrectionEventArgs { + eventId: string + input: GQLRevokeCorrectionActionInput +} +export interface MutationToRevokeCorrectionEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRevokeCorrectionEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRequestCorrectionEventArgs { + eventId: string + input: GQLRequestCorrectionActionInput +} +export interface MutationToRequestCorrectionEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRequestCorrectionEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToApproveCorrectionEventArgs { + eventId: string + input: GQLApproveCorrectionActionInput +} +export interface MutationToApproveCorrectionEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToApproveCorrectionEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MutationToRejectCorrectionEventArgs { + eventId: string + input: GQLRejectCorrectionActionInput +} +export interface MutationToRejectCorrectionEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: MutationToRejectCorrectionEventArgs, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDummyTypeResolver { + dummy?: DummyToDummyResolver +} + +export interface DummyToDummyResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLNotificationResultTypeResolver { + success?: NotificationResultToSuccessResolver +} + +export interface NotificationResultToSuccessResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLBirthRegistrationTypeResolver { + id?: BirthRegistrationToIdResolver + _fhirIDMap?: BirthRegistrationTo_fhirIDMapResolver + registration?: BirthRegistrationToRegistrationResolver + child?: BirthRegistrationToChildResolver + mother?: BirthRegistrationToMotherResolver + father?: BirthRegistrationToFatherResolver + informant?: BirthRegistrationToInformantResolver + eventLocation?: BirthRegistrationToEventLocationResolver + birthType?: BirthRegistrationToBirthTypeResolver + questionnaire?: BirthRegistrationToQuestionnaireResolver + weightAtBirth?: BirthRegistrationToWeightAtBirthResolver + attendantAtBirth?: BirthRegistrationToAttendantAtBirthResolver + otherAttendantAtBirth?: BirthRegistrationToOtherAttendantAtBirthResolver + childrenBornAliveToMother?: BirthRegistrationToChildrenBornAliveToMotherResolver + foetalDeathsToMother?: BirthRegistrationToFoetalDeathsToMotherResolver + lastPreviousLiveBirth?: BirthRegistrationToLastPreviousLiveBirthResolver + createdAt?: BirthRegistrationToCreatedAtResolver + updatedAt?: BirthRegistrationToUpdatedAtResolver + history?: BirthRegistrationToHistoryResolver +} + +export interface BirthRegistrationToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationTo_fhirIDMapResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToChildResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToMotherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToFatherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToInformantResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToEventLocationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToBirthTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToQuestionnaireResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToWeightAtBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToAttendantAtBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToOtherAttendantAtBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToChildrenBornAliveToMotherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToFoetalDeathsToMotherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToLastPreviousLiveBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToUpdatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegistrationToHistoryResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDeathRegistrationTypeResolver { + id?: DeathRegistrationToIdResolver + _fhirIDMap?: DeathRegistrationTo_fhirIDMapResolver + registration?: DeathRegistrationToRegistrationResolver + deceased?: DeathRegistrationToDeceasedResolver + informant?: DeathRegistrationToInformantResolver + mother?: DeathRegistrationToMotherResolver + father?: DeathRegistrationToFatherResolver + spouse?: DeathRegistrationToSpouseResolver + eventLocation?: DeathRegistrationToEventLocationResolver + questionnaire?: DeathRegistrationToQuestionnaireResolver + mannerOfDeath?: DeathRegistrationToMannerOfDeathResolver + deathDescription?: DeathRegistrationToDeathDescriptionResolver + causeOfDeathMethod?: DeathRegistrationToCauseOfDeathMethodResolver + causeOfDeathEstablished?: DeathRegistrationToCauseOfDeathEstablishedResolver + causeOfDeath?: DeathRegistrationToCauseOfDeathResolver + maleDependentsOfDeceased?: DeathRegistrationToMaleDependentsOfDeceasedResolver + femaleDependentsOfDeceased?: DeathRegistrationToFemaleDependentsOfDeceasedResolver + medicalPractitioner?: DeathRegistrationToMedicalPractitionerResolver + createdAt?: DeathRegistrationToCreatedAtResolver + updatedAt?: DeathRegistrationToUpdatedAtResolver + history?: DeathRegistrationToHistoryResolver +} + +export interface DeathRegistrationToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationTo_fhirIDMapResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToDeceasedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToInformantResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToMotherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToFatherResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToSpouseResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToEventLocationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToQuestionnaireResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToMannerOfDeathResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToDeathDescriptionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToCauseOfDeathMethodResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToCauseOfDeathEstablishedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToCauseOfDeathResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToMaleDependentsOfDeceasedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToFemaleDependentsOfDeceasedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToMedicalPractitionerResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToUpdatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathRegistrationToHistoryResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLPersonTypeResolver { + id?: PersonToIdResolver + _fhirID?: PersonTo_fhirIDResolver + identifier?: PersonToIdentifierResolver + name?: PersonToNameResolver + telecom?: PersonToTelecomResolver + gender?: PersonToGenderResolver + birthDate?: PersonToBirthDateResolver + age?: PersonToAgeResolver + maritalStatus?: PersonToMaritalStatusResolver + occupation?: PersonToOccupationResolver + detailsExist?: PersonToDetailsExistResolver + reasonNotApplying?: PersonToReasonNotApplyingResolver + dateOfMarriage?: PersonToDateOfMarriageResolver + multipleBirth?: PersonToMultipleBirthResolver + address?: PersonToAddressResolver + photo?: PersonToPhotoResolver + deceased?: PersonToDeceasedResolver + nationality?: PersonToNationalityResolver + educationalAttainment?: PersonToEducationalAttainmentResolver + ageOfIndividualInYears?: PersonToAgeOfIndividualInYearsResolver + exactDateOfBirthUnknown?: PersonToExactDateOfBirthUnknownResolver +} + +export interface PersonToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonTo_fhirIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToIdentifierResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToTelecomResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToGenderResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToBirthDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToAgeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToMaritalStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToOccupationResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToDetailsExistResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToReasonNotApplyingResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToDateOfMarriageResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToMultipleBirthResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToAddressResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToPhotoResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToDeceasedResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToNationalityResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToEducationalAttainmentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToAgeOfIndividualInYearsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PersonToExactDateOfBirthUnknownResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLBirthRegResultSetTypeResolver { + results?: BirthRegResultSetToResultsResolver + totalItems?: BirthRegResultSetToTotalItemsResolver +} + +export interface BirthRegResultSetToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthRegResultSetToTotalItemsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventRegistrationTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'BirthRegistration' + | 'DeathRegistration' + | 'MarriageRegistration' + | Promise< + 'BirthRegistration' | 'DeathRegistration' | 'MarriageRegistration' + > +} +export interface GQLRegistrationCountResultTypeResolver { + results?: RegistrationCountResultToResultsResolver + total?: RegistrationCountResultToTotalResolver +} + +export interface RegistrationCountResultToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationCountResultToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMarriageRegistrationTypeResolver { + id?: MarriageRegistrationToIdResolver + _fhirIDMap?: MarriageRegistrationTo_fhirIDMapResolver + registration?: MarriageRegistrationToRegistrationResolver + informant?: MarriageRegistrationToInformantResolver + bride?: MarriageRegistrationToBrideResolver + groom?: MarriageRegistrationToGroomResolver + witnessOne?: MarriageRegistrationToWitnessOneResolver + witnessTwo?: MarriageRegistrationToWitnessTwoResolver + eventLocation?: MarriageRegistrationToEventLocationResolver + typeOfMarriage?: MarriageRegistrationToTypeOfMarriageResolver + questionnaire?: MarriageRegistrationToQuestionnaireResolver + createdAt?: MarriageRegistrationToCreatedAtResolver + updatedAt?: MarriageRegistrationToUpdatedAtResolver + history?: MarriageRegistrationToHistoryResolver +} + +export interface MarriageRegistrationToIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationTo_fhirIDMapResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToInformantResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToBrideResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToGroomResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToWitnessOneResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToWitnessTwoResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToEventLocationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToTypeOfMarriageResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToQuestionnaireResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToUpdatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageRegistrationToHistoryResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRecordDetailsTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'BirthRegistration' + | 'DeathRegistration' + | Promise<'BirthRegistration' | 'DeathRegistration'> +} +export interface GQLUserTypeResolver { + id?: UserToIdResolver + userMgntUserID?: UserToUserMgntUserIDResolver + practitionerId?: UserToPractitionerIdResolver + name?: UserToNameResolver + username?: UserToUsernameResolver + mobile?: UserToMobileResolver + systemRole?: UserToSystemRoleResolver + role?: UserToRoleResolver + email?: UserToEmailResolver + status?: UserToStatusResolver + underInvestigation?: UserToUnderInvestigationResolver + primaryOffice?: UserToPrimaryOfficeResolver + localRegistrar?: UserToLocalRegistrarResolver + identifier?: UserToIdentifierResolver + signature?: UserToSignatureResolver + creationDate?: UserToCreationDateResolver + avatar?: UserToAvatarResolver + device?: UserToDeviceResolver + searches?: UserToSearchesResolver +} + +export interface UserToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToUserMgntUserIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToPractitionerIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToUsernameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToMobileResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToSystemRoleResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToRoleResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToEmailResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToUnderInvestigationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToPrimaryOfficeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToLocalRegistrarResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToIdentifierResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToSignatureResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToCreationDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToAvatarResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToDeviceResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserToSearchesResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSearchUserResultTypeResolver { + results?: SearchUserResultToResultsResolver + totalItems?: SearchUserResultToTotalItemsResolver +} + +export interface SearchUserResultToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchUserResultToTotalItemsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSearchFieldAgentResultTypeResolver { + results?: SearchFieldAgentResultToResultsResolver + totalItems?: SearchFieldAgentResultToTotalItemsResolver +} + +export interface SearchFieldAgentResultToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResultToTotalItemsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLVerifyPasswordResultTypeResolver { + mobile?: VerifyPasswordResultToMobileResolver + scrope?: VerifyPasswordResultToScropeResolver + status?: VerifyPasswordResultToStatusResolver + username?: VerifyPasswordResultToUsernameResolver + id?: VerifyPasswordResultToIdResolver +} + +export interface VerifyPasswordResultToMobileResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VerifyPasswordResultToScropeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VerifyPasswordResultToStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VerifyPasswordResultToUsernameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VerifyPasswordResultToIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLTotalMetricsResultTypeResolver { + estimated?: TotalMetricsResultToEstimatedResolver + results?: TotalMetricsResultToResultsResolver +} + +export interface TotalMetricsResultToEstimatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface TotalMetricsResultToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMixedTotalMetricsResultTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'TotalMetricsByRegistrar' + | 'TotalMetricsByLocation' + | 'TotalMetricsByTime' + | Promise< + | 'TotalMetricsByRegistrar' + | 'TotalMetricsByLocation' + | 'TotalMetricsByTime' + > +} +export interface GQLTotalVSExportTypeResolver { + results?: TotalVSExportToResultsResolver +} + +export interface TotalVSExportToResultsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLPaymentMetricTypeResolver { + total?: PaymentMetricToTotalResolver + paymentType?: PaymentMetricToPaymentTypeResolver +} + +export interface PaymentMetricToTotalResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentMetricToPaymentTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCertificationMetricTypeResolver { + total?: CertificationMetricToTotalResolver + eventType?: CertificationMetricToEventTypeResolver +} + +export interface CertificationMetricToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CertificationMetricToEventTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCorrectionMetricTypeResolver { + total?: CorrectionMetricToTotalResolver + reason?: CorrectionMetricToReasonResolver +} + +export interface CorrectionMetricToTotalResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CorrectionMetricToReasonResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLLocationStatisticsResponseTypeResolver { + population?: LocationStatisticsResponseToPopulationResolver + registrars?: LocationStatisticsResponseToRegistrarsResolver + offices?: LocationStatisticsResponseToOfficesResolver +} + +export interface LocationStatisticsResponseToPopulationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationStatisticsResponseToRegistrarsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationStatisticsResponseToOfficesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDeclarationsStartedMetricsTypeResolver { + fieldAgentDeclarations?: DeclarationsStartedMetricsToFieldAgentDeclarationsResolver + hospitalDeclarations?: DeclarationsStartedMetricsToHospitalDeclarationsResolver + officeDeclarations?: DeclarationsStartedMetricsToOfficeDeclarationsResolver +} + +export interface DeclarationsStartedMetricsToFieldAgentDeclarationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclarationsStartedMetricsToHospitalDeclarationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclarationsStartedMetricsToOfficeDeclarationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMonthWiseEstimationMetricTypeResolver { + total?: MonthWiseEstimationMetricToTotalResolver + withinTarget?: MonthWiseEstimationMetricToWithinTargetResolver + within1Year?: MonthWiseEstimationMetricToWithin1YearResolver + within5Years?: MonthWiseEstimationMetricToWithin5YearsResolver + estimated?: MonthWiseEstimationMetricToEstimatedResolver + month?: MonthWiseEstimationMetricToMonthResolver + year?: MonthWiseEstimationMetricToYearResolver +} + +export interface MonthWiseEstimationMetricToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToWithinTargetResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToWithin1YearResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToWithin5YearsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToEstimatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToMonthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MonthWiseEstimationMetricToYearResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLLocationWiseEstimationMetricTypeResolver { + total?: LocationWiseEstimationMetricToTotalResolver + withinTarget?: LocationWiseEstimationMetricToWithinTargetResolver + within1Year?: LocationWiseEstimationMetricToWithin1YearResolver + within5Years?: LocationWiseEstimationMetricToWithin5YearsResolver + estimated?: LocationWiseEstimationMetricToEstimatedResolver + locationId?: LocationWiseEstimationMetricToLocationIdResolver + locationName?: LocationWiseEstimationMetricToLocationNameResolver +} + +export interface LocationWiseEstimationMetricToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToWithinTargetResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToWithin1YearResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToWithin5YearsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToEstimatedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToLocationIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationWiseEstimationMetricToLocationNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLUserAuditLogResultSetTypeResolver { + total?: UserAuditLogResultSetToTotalResolver + results?: UserAuditLogResultSetToResultsResolver +} + +export interface UserAuditLogResultSetToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogResultSetToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventSearchResultSetTypeResolver { + results?: EventSearchResultSetToResultsResolver + totalItems?: EventSearchResultSetToTotalItemsResolver +} + +export interface EventSearchResultSetToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventSearchResultSetToTotalItemsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventProgressResultSetTypeResolver { + results?: EventProgressResultSetToResultsResolver + totalItems?: EventProgressResultSetToTotalItemsResolver +} + +export interface EventProgressResultSetToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressResultSetToTotalItemsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSystemRoleTypeResolver { + id?: SystemRoleToIdResolver + value?: SystemRoleToValueResolver + roles?: SystemRoleToRolesResolver + active?: SystemRoleToActiveResolver +} + +export interface SystemRoleToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemRoleToValueResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemRoleToRolesResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemRoleToActiveResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSystemTypeResolver { + _id?: SystemTo_idResolver + clientId?: SystemToClientIdResolver + shaSecret?: SystemToShaSecretResolver + status?: SystemToStatusResolver + name?: SystemToNameResolver + type?: SystemToTypeResolver + integratingSystemType?: SystemToIntegratingSystemTypeResolver + settings?: SystemToSettingsResolver +} + +export interface SystemTo_idResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToClientIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToShaSecretResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToIntegratingSystemTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemToSettingsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventTypeResolver { + type?: EventToTypeResolver + id?: EventToIdResolver + createdAt?: EventToCreatedAtResolver + updatedAt?: EventToUpdatedAtResolver + actions?: EventToActionsResolver +} + +export interface EventToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventToCreatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventToUpdatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventToActionsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCreatedIdsTypeResolver { + compositionId?: CreatedIdsToCompositionIdResolver + trackingId?: CreatedIdsToTrackingIdResolver + isPotentiallyDuplicate?: CreatedIdsToIsPotentiallyDuplicateResolver +} + +export interface CreatedIdsToCompositionIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CreatedIdsToTrackingIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CreatedIdsToIsPotentiallyDuplicateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLReinstatedTypeResolver { + taskEntryResourceID?: ReinstatedToTaskEntryResourceIDResolver + registrationStatus?: ReinstatedToRegistrationStatusResolver +} + +export interface ReinstatedToTaskEntryResourceIDResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface ReinstatedToRegistrationStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLAvatarTypeResolver { + type?: AvatarToTypeResolver + data?: AvatarToDataResolver +} + +export interface AvatarToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AvatarToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLResponseTypeResolver { + roleIdMap?: ResponseToRoleIdMapResolver +} + +export interface ResponseToRoleIdMapResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSystemSecretTypeResolver { + system?: SystemSecretToSystemResolver + clientSecret?: SystemSecretToClientSecretResolver +} + +export interface SystemSecretToSystemResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemSecretToClientSecretResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLBookMarkedSearchesTypeResolver { + searchList?: BookMarkedSearchesToSearchListResolver +} + +export interface BookMarkedSearchesToSearchListResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRegistrationTypeResolver { + id?: RegistrationToIdResolver + _fhirID?: RegistrationTo_fhirIDResolver + draftId?: RegistrationToDraftIdResolver + trackingId?: RegistrationToTrackingIdResolver + registrationNumber?: RegistrationToRegistrationNumberResolver + paperFormID?: RegistrationToPaperFormIDResolver + page?: RegistrationToPageResolver + book?: RegistrationToBookResolver + informantType?: RegistrationToInformantTypeResolver + otherInformantType?: RegistrationToOtherInformantTypeResolver + assignment?: RegistrationToAssignmentResolver + contact?: RegistrationToContactResolver + contactRelationship?: RegistrationToContactRelationshipResolver + informantsSignature?: RegistrationToInformantsSignatureResolver + groomSignature?: RegistrationToGroomSignatureResolver + brideSignature?: RegistrationToBrideSignatureResolver + witnessOneSignature?: RegistrationToWitnessOneSignatureResolver + witnessTwoSignature?: RegistrationToWitnessTwoSignatureResolver + contactPhoneNumber?: RegistrationToContactPhoneNumberResolver + contactEmail?: RegistrationToContactEmailResolver + status?: RegistrationToStatusResolver + type?: RegistrationToTypeResolver + inCompleteFields?: RegistrationToInCompleteFieldsResolver + attachments?: RegistrationToAttachmentsResolver + certificates?: RegistrationToCertificatesResolver + duplicates?: RegistrationToDuplicatesResolver +} + +export interface RegistrationToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationTo_fhirIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToDraftIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToTrackingIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToRegistrationNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToPaperFormIDResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToPageResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToBookResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToInformantTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToOtherInformantTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToAssignmentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToContactResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToContactRelationshipResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToInformantsSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToGroomSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToBrideSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToWitnessOneSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToWitnessTwoSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToContactPhoneNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToContactEmailResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToInCompleteFieldsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToAttachmentsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToCertificatesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationToDuplicatesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRelatedPersonTypeResolver { + id?: RelatedPersonToIdResolver + _fhirID?: RelatedPersonTo_fhirIDResolver + _fhirIDPatient?: RelatedPersonTo_fhirIDPatientResolver + relationship?: RelatedPersonToRelationshipResolver + otherRelationship?: RelatedPersonToOtherRelationshipResolver + affidavit?: RelatedPersonToAffidavitResolver + identifier?: RelatedPersonToIdentifierResolver + name?: RelatedPersonToNameResolver + telecom?: RelatedPersonToTelecomResolver + gender?: RelatedPersonToGenderResolver + birthDate?: RelatedPersonToBirthDateResolver + age?: RelatedPersonToAgeResolver + maritalStatus?: RelatedPersonToMaritalStatusResolver + occupation?: RelatedPersonToOccupationResolver + detailsExist?: RelatedPersonToDetailsExistResolver + reasonNotApplying?: RelatedPersonToReasonNotApplyingResolver + dateOfMarriage?: RelatedPersonToDateOfMarriageResolver + multipleBirth?: RelatedPersonToMultipleBirthResolver + address?: RelatedPersonToAddressResolver + photo?: RelatedPersonToPhotoResolver + deceased?: RelatedPersonToDeceasedResolver + nationality?: RelatedPersonToNationalityResolver + educationalAttainment?: RelatedPersonToEducationalAttainmentResolver + ageOfIndividualInYears?: RelatedPersonToAgeOfIndividualInYearsResolver + exactDateOfBirthUnknown?: RelatedPersonToExactDateOfBirthUnknownResolver +} + +export interface RelatedPersonToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonTo_fhirIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonTo_fhirIDPatientResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToRelationshipResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToOtherRelationshipResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToAffidavitResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToTelecomResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToGenderResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToBirthDateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToAgeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToMaritalStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToOccupationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToDetailsExistResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToReasonNotApplyingResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToDateOfMarriageResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToMultipleBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToAddressResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToPhotoResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToDeceasedResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToNationalityResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToEducationalAttainmentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToAgeOfIndividualInYearsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RelatedPersonToExactDateOfBirthUnknownResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLLocationTypeResolver { + id?: LocationToIdResolver + _fhirID?: LocationTo_fhirIDResolver + identifier?: LocationToIdentifierResolver + status?: LocationToStatusResolver + name?: LocationToNameResolver + alias?: LocationToAliasResolver + description?: LocationToDescriptionResolver + partOf?: LocationToPartOfResolver + type?: LocationToTypeResolver + telecom?: LocationToTelecomResolver + address?: LocationToAddressResolver + longitude?: LocationToLongitudeResolver + latitude?: LocationToLatitudeResolver + altitude?: LocationToAltitudeResolver + geoData?: LocationToGeoDataResolver + hierarchy?: LocationToHierarchyResolver +} + +export interface LocationToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationTo_fhirIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToIdentifierResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToAliasResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToDescriptionResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToPartOfResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToTelecomResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToAddressResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToLongitudeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToLatitudeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToAltitudeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToGeoDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocationToHierarchyResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLQuestionnaireQuestionTypeResolver { + fieldId?: QuestionnaireQuestionToFieldIdResolver + value?: QuestionnaireQuestionToValueResolver +} + +export interface QuestionnaireQuestionToFieldIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface QuestionnaireQuestionToValueResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLHistoryTypeResolver { + user?: HistoryToUserResolver + date?: HistoryToDateResolver + regStatus?: HistoryToRegStatusResolver + ipAddress?: HistoryToIpAddressResolver + action?: HistoryToActionResolver + note?: HistoryToNoteResolver + statusReason?: HistoryToStatusReasonResolver + reason?: HistoryToReasonResolver + requester?: HistoryToRequesterResolver + requesterOther?: HistoryToRequesterOtherResolver + hasShowedVerifiedDocument?: HistoryToHasShowedVerifiedDocumentResolver + noSupportingDocumentationRequired?: HistoryToNoSupportingDocumentationRequiredResolver + otherReason?: HistoryToOtherReasonResolver + system?: HistoryToSystemResolver + location?: HistoryToLocationResolver + office?: HistoryToOfficeResolver + dhis2Notification?: HistoryToDhis2NotificationResolver + comments?: HistoryToCommentsResolver + input?: HistoryToInputResolver + output?: HistoryToOutputResolver + certificates?: HistoryToCertificatesResolver + signature?: HistoryToSignatureResolver + payment?: HistoryToPaymentResolver + documents?: HistoryToDocumentsResolver + duplicateOf?: HistoryToDuplicateOfResolver + potentialDuplicates?: HistoryToPotentialDuplicatesResolver +} + +export interface HistoryToUserResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToRegStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToIpAddressResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToActionResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToNoteResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToStatusReasonResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToReasonResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToRequesterResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToRequesterOtherResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToHasShowedVerifiedDocumentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToNoSupportingDocumentationRequiredResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToOtherReasonResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToSystemResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToLocationResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToOfficeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToDhis2NotificationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToCommentsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToInputResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToOutputResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToCertificatesResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToSignatureResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToPaymentResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToDocumentsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToDuplicateOfResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HistoryToPotentialDuplicatesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMedicalPractitionerTypeResolver { + name?: MedicalPractitionerToNameResolver + qualification?: MedicalPractitionerToQualificationResolver + lastVisitDate?: MedicalPractitionerToLastVisitDateResolver +} + +export interface MedicalPractitionerToNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MedicalPractitionerToQualificationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MedicalPractitionerToLastVisitDateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLIdentityTypeTypeResolver { + id?: IdentityTypeToIdResolver + type?: IdentityTypeToTypeResolver + otherType?: IdentityTypeToOtherTypeResolver + fieldsModifiedByIdentity?: IdentityTypeToFieldsModifiedByIdentityResolver +} + +export interface IdentityTypeToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IdentityTypeToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IdentityTypeToOtherTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IdentityTypeToFieldsModifiedByIdentityResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLHumanNameTypeResolver { + use?: HumanNameToUseResolver + firstNames?: HumanNameToFirstNamesResolver + middleName?: HumanNameToMiddleNameResolver + familyName?: HumanNameToFamilyNameResolver + marriedLastName?: HumanNameToMarriedLastNameResolver +} + +export interface HumanNameToUseResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HumanNameToFirstNamesResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HumanNameToMiddleNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HumanNameToFamilyNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface HumanNameToMarriedLastNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLContactPointTypeResolver { + system?: ContactPointToSystemResolver + value?: ContactPointToValueResolver + use?: ContactPointToUseResolver +} + +export interface ContactPointToSystemResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface ContactPointToValueResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface ContactPointToUseResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLAddressTypeResolver { + use?: AddressToUseResolver + type?: AddressToTypeResolver + text?: AddressToTextResolver + line?: AddressToLineResolver + lineName?: AddressToLineNameResolver + city?: AddressToCityResolver + district?: AddressToDistrictResolver + districtName?: AddressToDistrictNameResolver + state?: AddressToStateResolver + stateName?: AddressToStateNameResolver + postalCode?: AddressToPostalCodeResolver + country?: AddressToCountryResolver + from?: AddressToFromResolver + to?: AddressToToResolver + partOf?: AddressToPartOfResolver +} + +export interface AddressToUseResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToTextResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToLineResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToLineNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToCityResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToDistrictResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToDistrictNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToStateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToStateNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToPostalCodeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToCountryResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToFromResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToToResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AddressToPartOfResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLAttachmentTypeResolver { + id?: AttachmentToIdResolver + _fhirID?: AttachmentTo_fhirIDResolver + contentType?: AttachmentToContentTypeResolver + data?: AttachmentToDataResolver + uri?: AttachmentToUriResolver + status?: AttachmentToStatusResolver + originalFileName?: AttachmentToOriginalFileNameResolver + systemFileName?: AttachmentToSystemFileNameResolver + type?: AttachmentToTypeResolver + description?: AttachmentToDescriptionResolver + subject?: AttachmentToSubjectResolver + createdAt?: AttachmentToCreatedAtResolver +} + +export interface AttachmentToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentTo_fhirIDResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToContentTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToUriResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToStatusResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToOriginalFileNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToSystemFileNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToDescriptionResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToSubjectResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AttachmentToCreatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDeceasedTypeResolver { + deceased?: DeceasedToDeceasedResolver + deathDate?: DeceasedToDeathDateResolver +} + +export interface DeceasedToDeceasedResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeceasedToDeathDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLStatusWiseRegistrationCountTypeResolver { + status?: StatusWiseRegistrationCountToStatusResolver + count?: StatusWiseRegistrationCountToCountResolver +} + +export interface StatusWiseRegistrationCountToStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface StatusWiseRegistrationCountToCountResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRoleTypeResolver { + _id?: RoleTo_idResolver + labels?: RoleToLabelsResolver +} + +export interface RoleTo_idResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RoleToLabelsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLLocalRegistrarTypeResolver { + name?: LocalRegistrarToNameResolver + role?: LocalRegistrarToRoleResolver + signature?: LocalRegistrarToSignatureResolver +} + +export interface LocalRegistrarToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocalRegistrarToRoleResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface LocalRegistrarToSignatureResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLIdentifierTypeResolver { + system?: IdentifierToSystemResolver + value?: IdentifierToValueResolver +} + +export interface IdentifierToSystemResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IdentifierToValueResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSignatureTypeResolver { + data?: SignatureToDataResolver + type?: SignatureToTypeResolver +} + +export interface SignatureToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SignatureToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLBookmarkedSeachItemTypeResolver { + searchId?: BookmarkedSeachItemToSearchIdResolver + name?: BookmarkedSeachItemToNameResolver + parameters?: BookmarkedSeachItemToParametersResolver +} + +export interface BookmarkedSeachItemToSearchIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BookmarkedSeachItemToNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BookmarkedSeachItemToParametersResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSearchFieldAgentResponseTypeResolver { + practitionerId?: SearchFieldAgentResponseToPractitionerIdResolver + fullName?: SearchFieldAgentResponseToFullNameResolver + role?: SearchFieldAgentResponseToRoleResolver + status?: SearchFieldAgentResponseToStatusResolver + avatar?: SearchFieldAgentResponseToAvatarResolver + primaryOfficeId?: SearchFieldAgentResponseToPrimaryOfficeIdResolver + creationDate?: SearchFieldAgentResponseToCreationDateResolver + totalNumberOfDeclarationStarted?: SearchFieldAgentResponseToTotalNumberOfDeclarationStartedResolver + totalNumberOfInProgressAppStarted?: SearchFieldAgentResponseToTotalNumberOfInProgressAppStartedResolver + totalNumberOfRejectedDeclarations?: SearchFieldAgentResponseToTotalNumberOfRejectedDeclarationsResolver + averageTimeForDeclaredDeclarations?: SearchFieldAgentResponseToAverageTimeForDeclaredDeclarationsResolver +} + +export interface SearchFieldAgentResponseToPractitionerIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToFullNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToRoleResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToAvatarResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToPrimaryOfficeIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToCreationDateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToTotalNumberOfDeclarationStartedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToTotalNumberOfInProgressAppStartedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToTotalNumberOfRejectedDeclarationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SearchFieldAgentResponseToAverageTimeForDeclaredDeclarationsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEstimationTypeResolver { + totalEstimation?: EstimationToTotalEstimationResolver + maleEstimation?: EstimationToMaleEstimationResolver + femaleEstimation?: EstimationToFemaleEstimationResolver + locationId?: EstimationToLocationIdResolver + locationLevel?: EstimationToLocationLevelResolver +} + +export interface EstimationToTotalEstimationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EstimationToMaleEstimationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EstimationToFemaleEstimationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EstimationToLocationIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EstimationToLocationLevelResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventMetricsTypeResolver { + total?: EventMetricsToTotalResolver + gender?: EventMetricsToGenderResolver + eventLocationType?: EventMetricsToEventLocationTypeResolver + timeLabel?: EventMetricsToTimeLabelResolver + practitionerRole?: EventMetricsToPractitionerRoleResolver +} + +export interface EventMetricsToTotalResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsToGenderResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsToEventLocationTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsToTimeLabelResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsToPractitionerRoleResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLTotalMetricsByRegistrarTypeResolver { + results?: TotalMetricsByRegistrarToResultsResolver + total?: TotalMetricsByRegistrarToTotalResolver +} + +export interface TotalMetricsByRegistrarToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface TotalMetricsByRegistrarToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLTotalMetricsByLocationTypeResolver { + results?: TotalMetricsByLocationToResultsResolver + total?: TotalMetricsByLocationToTotalResolver +} + +export interface TotalMetricsByLocationToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface TotalMetricsByLocationToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLTotalMetricsByTimeTypeResolver { + results?: TotalMetricsByTimeToResultsResolver + total?: TotalMetricsByTimeToTotalResolver +} + +export interface TotalMetricsByTimeToResultsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface TotalMetricsByTimeToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLVSExportTypeResolver { + event?: VSExportToEventResolver + startDate?: VSExportToStartDateResolver + endDate?: VSExportToEndDateResolver + fileSize?: VSExportToFileSizeResolver + url?: VSExportToUrlResolver + createdOn?: VSExportToCreatedOnResolver +} + +export interface VSExportToEventResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VSExportToStartDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VSExportToEndDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VSExportToFileSizeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VSExportToUrlResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface VSExportToCreatedOnResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLUserAuditLogResultItemTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'UserAuditLogItemWithComposition' + | 'UserAuditLogItem' + | Promise<'UserAuditLogItemWithComposition' | 'UserAuditLogItem'> +} +export interface GQLEventSearchSetTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'BirthEventSearchSet' + | 'DeathEventSearchSet' + | 'MarriageEventSearchSet' + | Promise< + 'BirthEventSearchSet' | 'DeathEventSearchSet' | 'MarriageEventSearchSet' + > +} +export interface GQLEventProgressSetTypeResolver { + id?: EventProgressSetToIdResolver + type?: EventProgressSetToTypeResolver + name?: EventProgressSetToNameResolver + dateOfEvent?: EventProgressSetToDateOfEventResolver + registration?: EventProgressSetToRegistrationResolver + startedBy?: EventProgressSetToStartedByResolver + startedByFacility?: EventProgressSetToStartedByFacilityResolver + startedAt?: EventProgressSetToStartedAtResolver + progressReport?: EventProgressSetToProgressReportResolver +} + +export interface EventProgressSetToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToDateOfEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToStartedByResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToStartedByFacilityResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToStartedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressSetToProgressReportResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLSystemSettingsTypeResolver { + dailyQuota?: SystemSettingsToDailyQuotaResolver + webhook?: SystemSettingsToWebhookResolver + openIdProviderClientId?: SystemSettingsToOpenIdProviderClientIdResolver + openIdProviderBaseUrl?: SystemSettingsToOpenIdProviderBaseUrlResolver + openIdProviderClaims?: SystemSettingsToOpenIdProviderClaimsResolver +} + +export interface SystemSettingsToDailyQuotaResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemSettingsToWebhookResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemSettingsToOpenIdProviderClientIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemSettingsToOpenIdProviderBaseUrlResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface SystemSettingsToOpenIdProviderClaimsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLActionTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'CreateAction' + | 'RegisterAction' + | 'NotifyAction' + | 'DeclareAction' + | Promise< + 'CreateAction' | 'RegisterAction' | 'NotifyAction' | 'DeclareAction' + > +} +export interface GQLAssignmentDataTypeResolver { + practitionerId?: AssignmentDataToPractitionerIdResolver + firstName?: AssignmentDataToFirstNameResolver + lastName?: AssignmentDataToLastNameResolver + officeName?: AssignmentDataToOfficeNameResolver + avatarURL?: AssignmentDataToAvatarURLResolver +} + +export interface AssignmentDataToPractitionerIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AssignmentDataToFirstNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AssignmentDataToLastNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AssignmentDataToOfficeNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AssignmentDataToAvatarURLResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRegWorkflowTypeResolver { + id?: RegWorkflowToIdResolver + type?: RegWorkflowToTypeResolver + user?: RegWorkflowToUserResolver + timestamp?: RegWorkflowToTimestampResolver + comments?: RegWorkflowToCommentsResolver + reason?: RegWorkflowToReasonResolver + location?: RegWorkflowToLocationResolver + office?: RegWorkflowToOfficeResolver + timeLogged?: RegWorkflowToTimeLoggedResolver +} + +export interface RegWorkflowToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToUserResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToTimestampResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToCommentsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToReasonResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToLocationResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToOfficeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegWorkflowToTimeLoggedResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCertificateTypeResolver { + collector?: CertificateToCollectorResolver + hasShowedVerifiedDocument?: CertificateToHasShowedVerifiedDocumentResolver + payments?: CertificateToPaymentsResolver + data?: CertificateToDataResolver +} + +export interface CertificateToCollectorResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CertificateToHasShowedVerifiedDocumentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CertificateToPaymentsResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CertificateToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDuplicatesInfoTypeResolver { + compositionId?: DuplicatesInfoToCompositionIdResolver + trackingId?: DuplicatesInfoToTrackingIdResolver +} + +export interface DuplicatesInfoToCompositionIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DuplicatesInfoToTrackingIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLStatusReasonTypeResolver { + text?: StatusReasonToTextResolver +} + +export interface StatusReasonToTextResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLIntegratedSystemTypeResolver { + name?: IntegratedSystemToNameResolver + username?: IntegratedSystemToUsernameResolver + type?: IntegratedSystemToTypeResolver +} + +export interface IntegratedSystemToNameResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IntegratedSystemToUsernameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IntegratedSystemToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCommentTypeResolver { + id?: CommentToIdResolver + user?: CommentToUserResolver + comment?: CommentToCommentResolver + createdAt?: CommentToCreatedAtResolver +} + +export interface CommentToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CommentToUserResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CommentToCommentResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CommentToCreatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLInputOutputTypeResolver { + valueCode?: InputOutputToValueCodeResolver + valueId?: InputOutputToValueIdResolver + value?: InputOutputToValueResolver +} + +export interface InputOutputToValueCodeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface InputOutputToValueIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface InputOutputToValueResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLPaymentTypeResolver { + id?: PaymentToIdResolver + type?: PaymentToTypeResolver + amount?: PaymentToAmountResolver + outcome?: PaymentToOutcomeResolver + date?: PaymentToDateResolver + attachmentURL?: PaymentToAttachmentURLResolver +} + +export interface PaymentToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentToAmountResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentToOutcomeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentToDateResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface PaymentToAttachmentURLResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRoleLabelTypeResolver { + lang?: RoleLabelToLangResolver + label?: RoleLabelToLabelResolver +} + +export interface RoleLabelToLangResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RoleLabelToLabelResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLAdvancedSeachParametersTypeResolver { + event?: AdvancedSeachParametersToEventResolver + name?: AdvancedSeachParametersToNameResolver + registrationStatuses?: AdvancedSeachParametersToRegistrationStatusesResolver + dateOfEvent?: AdvancedSeachParametersToDateOfEventResolver + dateOfEventStart?: AdvancedSeachParametersToDateOfEventStartResolver + dateOfEventEnd?: AdvancedSeachParametersToDateOfEventEndResolver + timePeriodFrom?: AdvancedSeachParametersToTimePeriodFromResolver + contactNumber?: AdvancedSeachParametersToContactNumberResolver + contactEmail?: AdvancedSeachParametersToContactEmailResolver + nationalId?: AdvancedSeachParametersToNationalIdResolver + registrationNumber?: AdvancedSeachParametersToRegistrationNumberResolver + trackingId?: AdvancedSeachParametersToTrackingIdResolver + dateOfRegistration?: AdvancedSeachParametersToDateOfRegistrationResolver + dateOfRegistrationStart?: AdvancedSeachParametersToDateOfRegistrationStartResolver + dateOfRegistrationEnd?: AdvancedSeachParametersToDateOfRegistrationEndResolver + declarationLocationId?: AdvancedSeachParametersToDeclarationLocationIdResolver + declarationJurisdictionId?: AdvancedSeachParametersToDeclarationJurisdictionIdResolver + eventLocationId?: AdvancedSeachParametersToEventLocationIdResolver + eventCountry?: AdvancedSeachParametersToEventCountryResolver + eventLocationLevel1?: AdvancedSeachParametersToEventLocationLevel1Resolver + eventLocationLevel2?: AdvancedSeachParametersToEventLocationLevel2Resolver + eventLocationLevel3?: AdvancedSeachParametersToEventLocationLevel3Resolver + eventLocationLevel4?: AdvancedSeachParametersToEventLocationLevel4Resolver + eventLocationLevel5?: AdvancedSeachParametersToEventLocationLevel5Resolver + childFirstNames?: AdvancedSeachParametersToChildFirstNamesResolver + childLastName?: AdvancedSeachParametersToChildLastNameResolver + childDoB?: AdvancedSeachParametersToChildDoBResolver + childDoBStart?: AdvancedSeachParametersToChildDoBStartResolver + childDoBEnd?: AdvancedSeachParametersToChildDoBEndResolver + childGender?: AdvancedSeachParametersToChildGenderResolver + childIdentifier?: AdvancedSeachParametersToChildIdentifierResolver + deceasedFirstNames?: AdvancedSeachParametersToDeceasedFirstNamesResolver + deceasedFamilyName?: AdvancedSeachParametersToDeceasedFamilyNameResolver + deceasedGender?: AdvancedSeachParametersToDeceasedGenderResolver + deceasedDoB?: AdvancedSeachParametersToDeceasedDoBResolver + deceasedDoBStart?: AdvancedSeachParametersToDeceasedDoBStartResolver + deceasedDoBEnd?: AdvancedSeachParametersToDeceasedDoBEndResolver + deceasedIdentifier?: AdvancedSeachParametersToDeceasedIdentifierResolver + motherFirstNames?: AdvancedSeachParametersToMotherFirstNamesResolver + motherFamilyName?: AdvancedSeachParametersToMotherFamilyNameResolver + motherDoB?: AdvancedSeachParametersToMotherDoBResolver + motherDoBStart?: AdvancedSeachParametersToMotherDoBStartResolver + motherDoBEnd?: AdvancedSeachParametersToMotherDoBEndResolver + motherIdentifier?: AdvancedSeachParametersToMotherIdentifierResolver + fatherFirstNames?: AdvancedSeachParametersToFatherFirstNamesResolver + fatherFamilyName?: AdvancedSeachParametersToFatherFamilyNameResolver + fatherDoB?: AdvancedSeachParametersToFatherDoBResolver + fatherDoBStart?: AdvancedSeachParametersToFatherDoBStartResolver + fatherDoBEnd?: AdvancedSeachParametersToFatherDoBEndResolver + fatherIdentifier?: AdvancedSeachParametersToFatherIdentifierResolver + informantFirstNames?: AdvancedSeachParametersToInformantFirstNamesResolver + informantFamilyName?: AdvancedSeachParametersToInformantFamilyNameResolver + informantDoB?: AdvancedSeachParametersToInformantDoBResolver + informantDoBStart?: AdvancedSeachParametersToInformantDoBStartResolver + informantDoBEnd?: AdvancedSeachParametersToInformantDoBEndResolver + informantIdentifier?: AdvancedSeachParametersToInformantIdentifierResolver + compositionType?: AdvancedSeachParametersToCompositionTypeResolver +} + +export interface AdvancedSeachParametersToEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToRegistrationStatusesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfEventStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfEventEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToTimePeriodFromResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToContactNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToContactEmailResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToNationalIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToRegistrationNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToTrackingIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfRegistrationStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDateOfRegistrationEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeclarationLocationIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeclarationJurisdictionIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventCountryResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationLevel1Resolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationLevel2Resolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationLevel3Resolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationLevel4Resolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToEventLocationLevel5Resolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildFirstNamesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildLastNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildDoBResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildDoBStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildDoBEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildGenderResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToChildIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedFirstNamesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedFamilyNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedGenderResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedDoBResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedDoBStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedDoBEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToDeceasedIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherFirstNamesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherFamilyNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherDoBResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherDoBStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherDoBEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToMotherIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherFirstNamesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherFamilyNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherDoBResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherDoBStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherDoBEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToFatherIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantFirstNamesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantFamilyNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantDoBResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantDoBStartResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantDoBEndResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToInformantIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdvancedSeachParametersToCompositionTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventMetricsByRegistrarTypeResolver { + registrarPractitioner?: EventMetricsByRegistrarToRegistrarPractitionerResolver + total?: EventMetricsByRegistrarToTotalResolver + late?: EventMetricsByRegistrarToLateResolver + delayed?: EventMetricsByRegistrarToDelayedResolver +} + +export interface EventMetricsByRegistrarToRegistrarPractitionerResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByRegistrarToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByRegistrarToLateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByRegistrarToDelayedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventMetricsByLocationTypeResolver { + location?: EventMetricsByLocationToLocationResolver + total?: EventMetricsByLocationToTotalResolver + late?: EventMetricsByLocationToLateResolver + delayed?: EventMetricsByLocationToDelayedResolver + home?: EventMetricsByLocationToHomeResolver + healthFacility?: EventMetricsByLocationToHealthFacilityResolver +} + +export interface EventMetricsByLocationToLocationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByLocationToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByLocationToLateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByLocationToDelayedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByLocationToHomeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByLocationToHealthFacilityResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventMetricsByTimeTypeResolver { + total?: EventMetricsByTimeToTotalResolver + late?: EventMetricsByTimeToLateResolver + delayed?: EventMetricsByTimeToDelayedResolver + home?: EventMetricsByTimeToHomeResolver + healthFacility?: EventMetricsByTimeToHealthFacilityResolver + month?: EventMetricsByTimeToMonthResolver + time?: EventMetricsByTimeToTimeResolver +} + +export interface EventMetricsByTimeToTotalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToLateResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToDelayedResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToHomeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToHealthFacilityResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToMonthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventMetricsByTimeToTimeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLUserAuditLogItemWithCompositionTypeResolver { + time?: UserAuditLogItemWithCompositionToTimeResolver + ipAddress?: UserAuditLogItemWithCompositionToIpAddressResolver + userAgent?: UserAuditLogItemWithCompositionToUserAgentResolver + action?: UserAuditLogItemWithCompositionToActionResolver + practitionerId?: UserAuditLogItemWithCompositionToPractitionerIdResolver + data?: UserAuditLogItemWithCompositionToDataResolver +} + +export interface UserAuditLogItemWithCompositionToTimeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemWithCompositionToIpAddressResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemWithCompositionToUserAgentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemWithCompositionToActionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemWithCompositionToPractitionerIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemWithCompositionToDataResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLUserAuditLogItemTypeResolver { + time?: UserAuditLogItemToTimeResolver + ipAddress?: UserAuditLogItemToIpAddressResolver + userAgent?: UserAuditLogItemToUserAgentResolver + action?: UserAuditLogItemToActionResolver + practitionerId?: UserAuditLogItemToPractitionerIdResolver +} + +export interface UserAuditLogItemToTimeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemToIpAddressResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemToUserAgentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemToActionResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface UserAuditLogItemToPractitionerIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRegistrationSearchSetTypeResolver { + status?: RegistrationSearchSetToStatusResolver + contactNumber?: RegistrationSearchSetToContactNumberResolver + contactEmail?: RegistrationSearchSetToContactEmailResolver + contactRelationship?: RegistrationSearchSetToContactRelationshipResolver + dateOfDeclaration?: RegistrationSearchSetToDateOfDeclarationResolver + trackingId?: RegistrationSearchSetToTrackingIdResolver + registrationNumber?: RegistrationSearchSetToRegistrationNumberResolver + eventLocationId?: RegistrationSearchSetToEventLocationIdResolver + registeredLocationId?: RegistrationSearchSetToRegisteredLocationIdResolver + reason?: RegistrationSearchSetToReasonResolver + comment?: RegistrationSearchSetToCommentResolver + duplicates?: RegistrationSearchSetToDuplicatesResolver + createdAt?: RegistrationSearchSetToCreatedAtResolver + modifiedAt?: RegistrationSearchSetToModifiedAtResolver + assignment?: RegistrationSearchSetToAssignmentResolver +} + +export interface RegistrationSearchSetToStatusResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToContactNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToContactEmailResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToContactRelationshipResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToDateOfDeclarationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToTrackingIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToRegistrationNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToEventLocationIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToRegisteredLocationIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToReasonResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToCommentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToDuplicatesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToModifiedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegistrationSearchSetToAssignmentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLOperationHistorySearchSetTypeResolver { + operationType?: OperationHistorySearchSetToOperationTypeResolver + operatedOn?: OperationHistorySearchSetToOperatedOnResolver + operatorRole?: OperationHistorySearchSetToOperatorRoleResolver + operatorName?: OperationHistorySearchSetToOperatorNameResolver + operatorOfficeName?: OperationHistorySearchSetToOperatorOfficeNameResolver + operatorOfficeAlias?: OperationHistorySearchSetToOperatorOfficeAliasResolver + notificationFacilityName?: OperationHistorySearchSetToNotificationFacilityNameResolver + notificationFacilityAlias?: OperationHistorySearchSetToNotificationFacilityAliasResolver + rejectReason?: OperationHistorySearchSetToRejectReasonResolver + rejectComment?: OperationHistorySearchSetToRejectCommentResolver +} + +export interface OperationHistorySearchSetToOperationTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToOperatedOnResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToOperatorRoleResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToOperatorNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToOperatorOfficeNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToOperatorOfficeAliasResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToNotificationFacilityNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToNotificationFacilityAliasResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToRejectReasonResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface OperationHistorySearchSetToRejectCommentResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLBirthEventSearchSetTypeResolver { + id?: BirthEventSearchSetToIdResolver + type?: BirthEventSearchSetToTypeResolver + childName?: BirthEventSearchSetToChildNameResolver + childIdentifier?: BirthEventSearchSetToChildIdentifierResolver + dateOfBirth?: BirthEventSearchSetToDateOfBirthResolver + registration?: BirthEventSearchSetToRegistrationResolver + operationHistories?: BirthEventSearchSetToOperationHistoriesResolver + placeOfBirth?: BirthEventSearchSetToPlaceOfBirthResolver + childGender?: BirthEventSearchSetToChildGenderResolver + mothersFirstName?: BirthEventSearchSetToMothersFirstNameResolver + mothersLastName?: BirthEventSearchSetToMothersLastNameResolver + fathersFirstName?: BirthEventSearchSetToFathersFirstNameResolver + fathersLastName?: BirthEventSearchSetToFathersLastNameResolver + motherDateOfBirth?: BirthEventSearchSetToMotherDateOfBirthResolver + fatherDateOfBirth?: BirthEventSearchSetToFatherDateOfBirthResolver + motherIdentifier?: BirthEventSearchSetToMotherIdentifierResolver + fatherIdentifier?: BirthEventSearchSetToFatherIdentifierResolver +} + +export interface BirthEventSearchSetToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToChildNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToChildIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToDateOfBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToOperationHistoriesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToPlaceOfBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToChildGenderResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToMothersFirstNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToMothersLastNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToFathersFirstNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToFathersLastNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToMotherDateOfBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToFatherDateOfBirthResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToMotherIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface BirthEventSearchSetToFatherIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDeathEventSearchSetTypeResolver { + id?: DeathEventSearchSetToIdResolver + type?: DeathEventSearchSetToTypeResolver + deceasedGender?: DeathEventSearchSetToDeceasedGenderResolver + deceasedName?: DeathEventSearchSetToDeceasedNameResolver + dateOfDeath?: DeathEventSearchSetToDateOfDeathResolver + registration?: DeathEventSearchSetToRegistrationResolver + operationHistories?: DeathEventSearchSetToOperationHistoriesResolver +} + +export interface DeathEventSearchSetToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToDeceasedGenderResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToDeceasedNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToDateOfDeathResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeathEventSearchSetToOperationHistoriesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLMarriageEventSearchSetTypeResolver { + id?: MarriageEventSearchSetToIdResolver + type?: MarriageEventSearchSetToTypeResolver + brideName?: MarriageEventSearchSetToBrideNameResolver + groomName?: MarriageEventSearchSetToGroomNameResolver + brideIdentifier?: MarriageEventSearchSetToBrideIdentifierResolver + groomIdentifier?: MarriageEventSearchSetToGroomIdentifierResolver + dateOfMarriage?: MarriageEventSearchSetToDateOfMarriageResolver + registration?: MarriageEventSearchSetToRegistrationResolver + operationHistories?: MarriageEventSearchSetToOperationHistoriesResolver +} + +export interface MarriageEventSearchSetToIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToTypeResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToBrideNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToGroomNameResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToBrideIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToGroomIdentifierResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToDateOfMarriageResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToRegistrationResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface MarriageEventSearchSetToOperationHistoriesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLEventProgressDataTypeResolver { + timeInProgress?: EventProgressDataToTimeInProgressResolver + timeInReadyForReview?: EventProgressDataToTimeInReadyForReviewResolver + timeInRequiresUpdates?: EventProgressDataToTimeInRequiresUpdatesResolver + timeInWaitingForApproval?: EventProgressDataToTimeInWaitingForApprovalResolver + timeInWaitingForBRIS?: EventProgressDataToTimeInWaitingForBRISResolver + timeInReadyToPrint?: EventProgressDataToTimeInReadyToPrintResolver +} + +export interface EventProgressDataToTimeInProgressResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressDataToTimeInReadyForReviewResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressDataToTimeInRequiresUpdatesResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressDataToTimeInWaitingForApprovalResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressDataToTimeInWaitingForBRISResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface EventProgressDataToTimeInReadyToPrintResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLWebhookPermissionTypeResolver { + event?: WebhookPermissionToEventResolver + permissions?: WebhookPermissionToPermissionsResolver +} + +export interface WebhookPermissionToEventResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface WebhookPermissionToPermissionsResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLCreateActionTypeResolver { + type?: CreateActionToTypeResolver + createdAt?: CreateActionToCreatedAtResolver + createdBy?: CreateActionToCreatedByResolver + data?: CreateActionToDataResolver +} + +export interface CreateActionToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CreateActionToCreatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CreateActionToCreatedByResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface CreateActionToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLRegisterActionTypeResolver { + type?: RegisterActionToTypeResolver + createdAt?: RegisterActionToCreatedAtResolver + createdBy?: RegisterActionToCreatedByResolver + data?: RegisterActionToDataResolver + identifiers?: RegisterActionToIdentifiersResolver +} + +export interface RegisterActionToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegisterActionToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegisterActionToCreatedByResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegisterActionToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface RegisterActionToIdentifiersResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLNotifyActionTypeResolver { + type?: NotifyActionToTypeResolver + createdAt?: NotifyActionToCreatedAtResolver + createdBy?: NotifyActionToCreatedByResolver + data?: NotifyActionToDataResolver +} + +export interface NotifyActionToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface NotifyActionToCreatedAtResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface NotifyActionToCreatedByResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface NotifyActionToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLDeclareActionTypeResolver { + type?: DeclareActionToTypeResolver + createdAt?: DeclareActionToCreatedAtResolver + createdBy?: DeclareActionToCreatedByResolver + data?: DeclareActionToDataResolver + identifiers?: DeclareActionToIdentifiersResolver +} + +export interface DeclareActionToTypeResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclareActionToCreatedAtResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclareActionToCreatedByResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclareActionToDataResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface DeclareActionToIdentifiersResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLAuditLogItemBaseTypeResolver { + (parent: TParent, context: Context, info: GraphQLResolveInfo): + | 'UserAuditLogItemWithComposition' + | 'UserAuditLogItem' + | Promise<'UserAuditLogItemWithComposition' | 'UserAuditLogItem'> +} +export interface GQLAdditionalIdWithCompositionIdTypeResolver { + compositionId?: AdditionalIdWithCompositionIdToCompositionIdResolver + trackingId?: AdditionalIdWithCompositionIdToTrackingIdResolver +} + +export interface AdditionalIdWithCompositionIdToCompositionIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface AdditionalIdWithCompositionIdToTrackingIdResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLFieldTypeResolver { + id?: FieldToIdResolver + value?: FieldToValueResolver +} + +export interface FieldToIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface FieldToValueResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface GQLIdentifiersTypeResolver { + trackingId?: IdentifiersToTrackingIdResolver + registrationNumber?: IdentifiersToRegistrationNumberResolver +} + +export interface IdentifiersToTrackingIdResolver { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +} + +export interface IdentifiersToRegistrationNumberResolver< + TParent = any, + TResult = any +> { + ( + parent: TParent, + args: {}, + context: Context, + info: GraphQLResolveInfo + ): TResult +}