Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions src/API/src/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

"""
The current verification or activity state of the email registry account.
"""
enum AccountStatus {
DEACTIVATED
PENDING_VERIFICATION
UNSUBSCRIBED
VERIFIED
}

"""bionomics data"""
type Bionomics {
adult_data: Boolean
Expand Down Expand Up @@ -160,6 +170,19 @@ A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date
"""
scalar DateTime

"""Email Registry"""
type EmailRegistry {
account_status: AccountStatus!
email: String!
first_name: String!
id: String!
last_name: String!
notifications_enabled: Boolean!
token_expires_at: DateTime!
unsubscription_token: String!
verification_token: String!
}

type ExportJob {
blobPath: String
completedAt: DateTime
Expand Down Expand Up @@ -194,22 +217,64 @@ type HomepageStats {
uniqueViews: Float!
}

"""insecticideResistance data"""
type InsecticideResistanceBioassays {
bioassay_notes: String
bioassay_representative_of_complex_at_site: String
concentration_micrograms: String
concentration_percent: String
exposure_period_min: String
generation: String
id: String!
insecticide_class: String
insecticide_tested: String
intensity_multiplier: String
irac_moa: String
irac_moa_code: String
kdt_50_percent_min: String
kdt_90_percent_min: String
kdt_95_percent_min: String
knock_down_exposure_time_min: String
knock_down_percent: String
lower_age_days: String
mosquitoes_dead_n: String
mosquitoes_knocked_down_n: String
mosquitoes_tested_n: String
percent_mortality: String
synergist_concentration: String
synergist_concentration_unit: String
synergist_tested: String
test_protocol: String
upper_age_days: String
wild_caught_larvae_or_adults: String
}

"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON

input ManualRegistryInput {
email: String!
first_name: String
last_name: String
}

type ModelProcessingStatus {
status: String!
}

type Mutation {
adminAddEmailRegistry(input: ManualRegistryInput!): EmailRegistry!
createEditNews(input: CreateNewsInput!): News!
createEditSpeciesInformation(input: CreateSpeciesInformationInput!): SpeciesInformation!
createReference(input: CreateReferenceInput!): Reference!
deleteSpeciesInformation(id: String!): Boolean!
disableNotifications(disable: Boolean!, userId: String!): Boolean!
queueDatasetCampaign(datasetUrl: String!, message: String!, title: String!): String!
queueNewsCampaign(message: String!, newsUrl: String, title: String!): String!
requestRoles(email: String!, requestReason: String!, rolesRequested: [String!]!): Boolean!
unsubscribeEmail(payload: UnsubscribeEmailDto!): Boolean!
updateCountry(input: UpdateCountryInput!): Country!
updateRecordedSpecies(input: UpdateRecordedSpeciesInput!): RecordedSpecies!
updateReference(input: UpdateReferenceInput!, num_id: Int!): Reference!
Expand Down Expand Up @@ -336,6 +401,7 @@ type Query {
FullOccurrenceData(selectedIds: [String!]!): [Occurrence!]!
OccurrenceCsvData(bounds: BoundsFilter, downloaderEmail: String!, downloaderName: String!, filters: OccurrenceFilter, generateDoi: Boolean!, skip: Float = 0, take: Float = 1): PaginatedStringData!
OccurrenceData(bounds: BoundsFilter, filters: OccurrenceFilter, skip: Float = 0, take: Float = 1): PaginatedOccurrenceReturnData!
adminEmailRegistry(limit: Int, page: Int, search: String, status: String): RegistryPaginatedResponse!
allCommunicationLogs: [CommunicationLog!]!
allCommunicationLogsBySentStatus(status: String!): [CommunicationLog!]!
allCountries: [Country!]!
Expand All @@ -356,6 +422,7 @@ type Query {
doiById(id: String!): DOI
geoData(id: String!): Bionomics!
getHomepageAnalytics(endAt: Float!, startAt: Float!, timezone: String!, unit: String!): HomepageStats!
insecticideResistanceById(id: String!): InsecticideResistanceBioassays!
newsById(id: String!): News!
postProcessModel(blobLocation: String!, displayName: String!, maxValue: Float!, modelName: String!, uploadedModelId: String!): ModelProcessingStatus!
recordedSpeciesById(id: String!): RecordedSpecies
Expand Down Expand Up @@ -394,6 +461,18 @@ type Reference {
year: Int
}

type RegistryMeta {
limit: Int!
page: Int!
total: Int!
totalPages: Int!
}

type RegistryPaginatedResponse {
data: [EmailRegistry!]!
meta: RegistryMeta!
}

"""sample data"""
type Sample {
control: Boolean
Expand Down Expand Up @@ -455,6 +534,12 @@ type SpeciesInformation {
speciesImage: String
}

input UnsubscribeEmailDto {
id: String!
reason: String
token: String!
}

input UpdateCountryInput {
alternative_names: [String!]
id: String!
Expand Down
Binary file modified src/UI/public/partners/irmapper-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading