'use strict';

const index = require('./index-3c6bc147.js');

const AddAlertDocument = index.gql `
    mutation addAlert($data: AlertInput!) {
  addAlert(data: $data) {
    id
  }
}
    `;
const EditAlertDocument = index.gql `
    mutation editAlert($id: String!, $data: AlertInput!) {
  editAlert(id: $id, data: $data) {
    id
  }
}
    `;
const FindAlertDocument = index.gql `
    query findAlert($id: String!) {
  alert(id: $id) {
    id
    types
    tags
    emails
    userIds
    payload
    template {
      id
      html
      text
      amp
      sampleData
      type
      subject
      description
    }
    createdAt
    updatedAt
  }
}
    `;
const ListAlertsDocument = index.gql `
    query listAlerts($data: ListQueryInput!) {
  alerts(data: $data) {
    id
    types
    tags
    emails
    userIds
    template {
      id
      subject
      description
    }
    createdAt
    updatedAt
  }
}
    `;
const AddAtmosphericDocument = index.gql `
    mutation addAtmospheric($data: AtmosphericInput!) {
  addAtmospheric(data: $data) {
    id
  }
}
    `;
const DeleteAtmosphericDocument = index.gql `
    mutation deleteAtmospheric($id: String!) {
  deleteAtmospheric(id: $id) {
    id
  }
}
    `;
const EditAtmosphericDocument = index.gql `
    mutation editAtmospheric($id: String!, $data: AtmosphericInput!) {
  editAtmospheric(id: $id, data: $data) {
    id
  }
}
    `;
const FindAtmosphericDocument = index.gql `
    query findAtmospheric($id: String!) {
  atmospheric(id: $id) {
    id
    job {
      id
    }
    site {
      id
    }
    chamber
    temperature
    humidity
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;
const ListAtmosphericsDocument = index.gql `
    query listAtmospherics($data: ListQueryInput!) {
  atmospherics(data: $data) {
    id
    job {
      id
    }
    site {
      id
    }
    chamber
    temperature
    humidity
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;
const AddCompanyDocument = index.gql `
    mutation addCompany($data: CompanyInput!) {
  addCompany(data: $data) {
    id
  }
}
    `;
const DeleteCompanyDocument = index.gql `
    mutation deleteCompany($id: String!) {
  deleteCompany(id: $id) {
    id
  }
}
    `;
const EditCompanyDocument = index.gql `
    mutation editCompany($id: String!, $data: CompanyInput!) {
  editCompany(id: $id, data: $data) {
    id
  }
}
    `;
const FindCompanyDocument = index.gql `
    query findCompany($id: String!, $withUsers: Boolean!) {
  company(id: $id) {
    id
    name
    phone
    email
    website
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    users @include(if: $withUsers) {
      id
      firstName
      lastName
      email
      photo
    }
  }
}
    `;
const ListCompaniesDocument = index.gql `
    query listCompanies($data: ListQueryInput!) {
  companies(data: $data) {
    id
    name
    phone
    email
    website
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
  }
}
    `;
const AddDotDocument = index.gql `
    mutation addDot($data: DotInput!) {
  addDot(data: $data) {
    id
  }
}
    `;
const DeleteDotDocument = index.gql `
    mutation deleteDot($id: String!) {
  deleteDot(id: $id) {
    id
  }
}
    `;
const EditDotDocument = index.gql `
    mutation editDot($id: String!, $data: DotInput!) {
  editDot(id: $id, data: $data) {
    id
  }
}
    `;
const FindDotDocument = index.gql `
    query findDot($id: String!) {
  dot(id: $id) {
    id
    placement
    job {
      id
    }
    site {
      id
    }
    material
    meter
    dryStandard
    evaporationPotentialGoal
    createdAt
    updatedAt
  }
}
    `;
const ListDotsDocument = index.gql `
    query listDots($data: ListQueryInput!) {
  dots(data: $data) {
    id
    placement
    job {
      id
    }
    site {
      id
    }
    material
    meter
    dryStandard
    evaporationPotentialGoal
    createdAt
    updatedAt
  }
}
    `;
const AddEfileDocument = index.gql `
    mutation addEfile($data: EfileInput!) {
  addEfile(data: $data) {
    id
  }
}
    `;
const DeleteEfileDocument = index.gql `
    mutation deleteEfile($id: String!) {
  deleteEfile(id: $id) {
    id
  }
}
    `;
const EditEfileDocument = index.gql `
    mutation editEfile($id: String!, $data: EfileInput!) {
  editEfile(id: $id, data: $data) {
    id
  }
}
    `;
const FindEfileDocument = index.gql `
    query findEfile($id: String!) {
  efile(id: $id) {
    id
    name
    url
    type
    tags
  }
}
    `;
const ListEfilesDocument = index.gql `
    query listEfiles($data: EfileListQueryInput!) {
  efiles(data: $data) {
    id
    name
    url
    type
    tags
  }
}
    `;
const AddExhaustDocument = index.gql `
    mutation addExhaust($data: ExhaustInput!) {
  addExhaust(data: $data) {
    id
  }
}
    `;
const DeleteExhaustDocument = index.gql `
    mutation deleteExhaust($id: String!) {
  deleteExhaust(id: $id) {
    id
  }
}
    `;
const EditExhaustDocument = index.gql `
    mutation editExhaust($id: String!, $data: ExhaustInput!) {
  editExhaust(id: $id, data: $data) {
    id
  }
}
    `;
const FindExhaustDocument = index.gql `
    query findExhaust($id: String!) {
  exhaust(id: $id) {
    id
    service {
      id
    }
    job {
      id
    }
    site {
      id
    }
    inventory {
      id
    }
    inletTemperature
    inletHumidity
    inletGrainsPerPound
    outletTemperature
    outletHumidity
    outletGrainsPerPound
    createdAt
    updatedAt
  }
}
    `;
const ListExhaustsDocument = index.gql `
    query listExhausts($data: ListQueryInput!) {
  exhausts(data: $data) {
    id
    service {
      id
    }
    job {
      id
    }
    site {
      id
    }
    inventory {
      id
    }
    inletTemperature
    inletHumidity
    inletGrainsPerPound
    outletTemperature
    outletHumidity
    outletGrainsPerPound
    createdAt
    updatedAt
  }
}
    `;
const ListFeedDocument = index.gql `
    query listFeed($data: FeedListQueryInput!) {
  feeds(data: $data) {
    id
    type
    backgroundImage
    href
    image
    read
    subject
    html
    createdAt
  }
}
    `;
const AddInventoryDocument = index.gql `
    mutation addInventory($data: InventoryInput!) {
  addInventory(data: $data) {
    id
  }
}
    `;
const DeleteInventoryDocument = index.gql `
    mutation deleteInventory($id: String!) {
  deleteInventory(id: $id) {
    id
  }
}
    `;
const EditInventoryDocument = index.gql `
    mutation editInventory($id: String!, $data: InventoryInput!) {
  editInventory(id: $id, data: $data) {
    id
  }
}
    `;
const FindInventoryDocument = index.gql `
    query findInventory($id: String!) {
  inventory(id: $id) {
    id
    name
    type
    group
    tags
    location {
      id
      name
      type
    }
    createdAt
    updatedAt
  }
}
    `;
const ListInventoriesDocument = index.gql `
    query listInventories($data: ListQueryInput!) {
  inventories(data: $data) {
    id
    name
    type
    group
    tags
    location {
      id
      name
      type
    }
    createdAt
  }
}
    `;
const AddInvoiceDocument = index.gql `
    mutation addInvoice($data: InvoiceInput!) {
  addInvoice(data: $data) {
    id
  }
}
    `;
const DeleteInvoiceDocument = index.gql `
    mutation deleteInvoice($id: String!) {
  deleteInvoice(id: $id) {
    id
  }
}
    `;
const EditInvoiceDocument = index.gql `
    mutation editInvoice($id: String!, $data: InvoiceInput!) {
  editInvoice(id: $id, data: $data) {
    id
  }
}
    `;
const FindInvoiceDocument = index.gql `
    query findInvoice($id: String!) {
  invoice(id: $id) {
    id
  }
}
    `;
const ListInvoicesDocument = index.gql `
    query listInvoices($data: ListQueryInput!) {
  invoices(data: $data) {
    id
  }
}
    `;
const AddJobDocument = index.gql `
    mutation addJob($data: JobInput!) {
  addJob(data: $data) {
    id
  }
}
    `;
const AddUserToJobDocument = index.gql `
    mutation addUserToJob($data: AddUserToJobInput!) {
  addUserToJob(data: $data) {
    id
  }
}
    `;
const DeleteJobDocument = index.gql `
    mutation deleteJob($id: String!) {
  deleteJob(id: $id) {
    id
  }
}
    `;
const EditJobDocument = index.gql `
    mutation editJob($id: String!, $data: JobInput!) {
  editJob(id: $id, data: $data) {
    id
  }
}
    `;
const FindJobDocument = index.gql `
    query findJob($id: String!, $withPayments: Boolean!, $withUsers: Boolean!, $withSites: Boolean!, $withPayModel: Boolean!, $withPhotos: Boolean!, $withEfiles: Boolean!, $withPayables: Boolean!, $withReadings: Boolean!) {
  job(id: $id) {
    id
    status
    type
    title
    picture
    phone
    amountBilled
    amountOwed
    amountDeducted
    dateOfLoss
    cause
    category
    claimNumber
    efileCount
    isFranchise
    matterportModelId
    tags
    afterhours
    appointment {
      id
      name
      scheduledOn
    }
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    customer {
      id
      firstName
      lastName
      email
      phone
    }
    manager {
      id
      firstName
      lastName
      email
      phone
    }
    referral {
      id
      firstName
      lastName
      email
    }
    location {
      id
      name
      email
      photo
      phone
      taxId
      address {
        placeId
        lat
        lng
        full
        street
        unit
        city
        state
        zip
        country
      }
    }
    services {
      id
      price
      amount
      quantity
      total
      createdAt
      updatedAt
      service {
        id
        name
      }
    }
    payModel @include(if: $withPayModel) {
      id
      name
    }
    users @include(if: $withUsers) {
      id
      firstName
      lastName
      email
      photo
    }
    payments @include(if: $withPayments) {
      id
      netTotal
      amount
      fee
      type
      method
      createdAt
      updatedAt
      user {
        id
        firstName
        lastName
        email
        photo
      }
    }
    payables @include(if: $withPayables) {
      id
      user {
        id
        firstName
        lastName
        email
        photo
      }
      percent
      amount
      approved
      createdAt
    }
    sites @include(if: $withSites) {
      id
      name
      affectedAreaTotalCuft
      affectedAreaTotalSqft
      areaTotalCuft
      areaTotalSqft
      class
      chamber
      floorType
      wallType
      ceilingType
      level
      offsets
      job {
        id
        title
      }
      areas {
        length
        width
        height
        sqft
        cuft
        lnft
      }
      dots {
        id
        placement
        material
        meter
        dryStandard
        evaporationPotentialGoal
        createdAt
        updatedAt
      }
      affectedAreas {
        length
        width
        height
        sqft
        cuft
        lnft
      }
      inventories {
        id
        name
      }
      services {
        id
        price
        amount
        quantity
        total
        createdAt
        updatedAt
        service {
          id
          name
        }
      }
      photos @include(if: $withPhotos) {
        id
        default
        url
      }
      createdAt
      updatedAt
    }
    efiles @include(if: $withEfiles) {
      id
      name
      url
      type
      tags
      template {
        id
        subject
        description
      }
    }
    readings @include(if: $withReadings) {
      name
      weather {
        id
        name
        temperature
        temperatureMin
        temperatureMax
        pressure
        humidity
        conditions {
          id
          main
          description
          icon
        }
      }
      chambers {
        name
        atmospheric {
          id
          temperature
          humidity
          grainsPerPound
          gramPerGram
          dewPoint
          vaporPressure
          kPa
          createdAt
        }
      }
      sites {
        id
        dots {
          id
          name
          moistureContent {
            id
            readings
            temperature
            grainsPerPound
            gramPerGram
            dewPoint
            vaporPressure
            kPa
          }
        }
        equipment {
          id
          inventory {
            id
            name
          }
          exhaust {
            id
            inletTemperature
            inletHumidity
            inletGrainsPerPound
            outletTemperature
            outletHumidity
            outletGrainsPerPound
            createdAt
          }
        }
      }
    }
  }
}
    `;
const ListJobsDocument = index.gql `
    query listJobs($data: JobListQueryInput!, $withPayables: Boolean!) {
  jobs(data: $data) {
    id
    title
    status
    picture
    type
    amountBilled
    amountOwed
    cause
    category
    tags
    location {
      id
    }
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    appointment {
      id
      name
      scheduledOn
    }
    referral {
      id
      firstName
      lastName
      email
      phone
    }
    manager {
      id
      firstName
      lastName
      email
      phone
    }
    payables @include(if: $withPayables) {
      id
      user {
        id
        firstName
        lastName
        email
        photo
      }
      percent
      amount
      approved
      createdAt
    }
    createdAt
  }
}
    `;
const RemoveUserFromJobDocument = index.gql `
    mutation removeUserFromJob($data: RemoveUserFromJobInput!) {
  removeUserFromJob(data: $data) {
    id
  }
}
    `;
const AddLocationDocument = index.gql `
    mutation addLocation($data: LocationInput!) {
  addLocation(data: $data) {
    id
  }
}
    `;
const AddUserToLocationDocument = index.gql `
    mutation addUserToLocation($data: AddUserToLocationInput!) {
  addUserToLocation(data: $data) {
    userId
  }
}
    `;
const DeleteLocationDocument = index.gql `
    mutation deleteLocation($id: String!) {
  deleteLocation(id: $id) {
    id
  }
}
    `;
const EditLocationDocument = index.gql `
    mutation editLocation($id: String!, $data: LocationInput!) {
  editLocation(id: $id, data: $data) {
    id
  }
}
    `;
const FindLocationDocument = index.gql `
    query findLocation($id: String!) {
  location(id: $id) {
    id
    type
    name
    email
    photo
    phone
    website
    isSearchable
    dba
    taxId
    googleTagManagerId
    googleTagManagerCampaignId
    bannerPhoto
    teamPhoto
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    owner {
      id
      firstName
      lastName
      email
    }
    defaultPayModel {
      id
      name
    }
    tags
  }
}
    `;
const ListLocationsDocument = index.gql `
    query listLocations($data: ListQueryInput!) {
  locations(data: $data) {
    id
    type
    name
    website
    email
    photo
    phone
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    tags
  }
}
    `;
const RemoveUserFromLocationDocument = index.gql `
    mutation removeUserFromLocation($data: RemoveUserFromLocationInput!) {
  removeUserFromLocation(data: $data) {
    id
  }
}
    `;
const SearchLocationsDocument = index.gql `
    query searchLocations($data: SearchLocationsInput!) {
  searchLocations(data: $data) {
    page
    limit
    pageCount
    resultCount
    results {
      id
      type
      name
      photo
      phone
      address {
        placeId
        lat
        lng
        full
        street
        unit
        city
        state
        zip
        country
      }
      tags
    }
  }
}
    `;
const ListLogsDocument = index.gql `
    query listLogs($data: LogListQueryInput!) {
  logs(data: $data) {
    id
    type
    name
    input
    output
    referrer
    resolveTime
    createdAt
  }
}
    `;
const AddMoistureContentDocument = index.gql `
    mutation addMoistureContent($data: MoistureContentInput!) {
  addMoistureContent(data: $data) {
    id
  }
}
    `;
const DeleteMoistureContentDocument = index.gql `
    mutation deleteMoistureContent($id: String!) {
  deleteMoistureContent(id: $id) {
    id
  }
}
    `;
const EditMoistureContentDocument = index.gql `
    mutation editMoistureContent($id: String!, $data: MoistureContentInput!) {
  editMoistureContent(id: $id, data: $data) {
    id
  }
}
    `;
const FindMoistureContentDocument = index.gql `
    query findMoistureContent($id: String!) {
  moistureContent(id: $id) {
    id
    dot {
      id
    }
    job {
      id
    }
    site {
      id
    }
    readings
    temperature
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;
const ListMoistureContentsDocument = index.gql `
    query listMoistureContents($data: ListQueryInput!) {
  moistureContents(data: $data) {
    id
    dot {
      id
    }
    job {
      id
    }
    site {
      id
    }
    readings
    temperature
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;
const AddNoteDocument = index.gql `
    mutation addNote($data: NoteInput!) {
  addNote(data: $data) {
    id
  }
}
    `;
const DeleteNoteDocument = index.gql `
    mutation deleteNote($id: String!) {
  deleteNote(id: $id) {
    id
  }
}
    `;
const EditNoteDocument = index.gql `
    mutation editNote($id: String!, $data: NoteInput!) {
  editNote(id: $id, data: $data) {
    id
  }
}
    `;
const FindNoteDocument = index.gql `
    query findNote($id: String!) {
  note(id: $id) {
    id
    html
    alert {
      id
      template {
        id
        subject
      }
    }
    user {
      id
      firstName
      lastName
      email
      photo
    }
    job {
      id
      title
    }
    company {
      id
      name
    }
    createdAt
    updatedAt
    createdBy {
      id
      firstName
      lastName
      email
      photo
    }
  }
}
    `;
const ListNotesDocument = index.gql `
    query listNotes($data: ListQueryInput!) {
  notes(data: $data) {
    id
    html
    alert {
      id
    }
    createdAt
    updatedAt
    createdBy {
      id
      firstName
      lastName
      email
      photo
    }
  }
}
    `;
const AddPayModelDocument = index.gql `
    mutation addPayModel($data: PayModelInput!) {
  addPayModel(data: $data) {
    id
  }
}
    `;
const EditPayModelDocument = index.gql `
    mutation editPayModel($id: String!, $data: PayModelInput!) {
  editPayModel(id: $id, data: $data) {
    id
  }
}
    `;
const FindPayModelDocument = index.gql `
    query findPayModel($id: String!) {
  payModel(id: $id) {
    id
    name
    payouts {
      role {
        id
        name
        type
        description
        permissions
      }
      transfer
      percentages {
        default
        hasReferral
      }
    }
    createdAt
    updatedAt
  }
}
    `;
const ListPayModelsDocument = index.gql `
    query listPayModels($data: ListQueryInput!) {
  payModels(data: $data) {
    id
    name
    payouts {
      role {
        id
        name
        type
        description
        permissions
      }
      transfer
      percentages {
        default
        hasReferral
      }
    }
    createdAt
    updatedAt
  }
}
    `;
const AddPaymentDocument = index.gql `
    mutation addPayment($data: PaymentInput!) {
  addPayment(data: $data) {
    id
  }
}
    `;
const ListPaymentsDocument = index.gql `
    query listPayments($data: PaymentListQueryInput!) {
  payments(data: $data) {
    id
    netTotal
    amount
    fee
    chargeId
    type
    method
    user {
      id
      firstName
      lastName
      email
    }
    job {
      id
      title
    }
    frequency
    checkNumber
    verifiedAt
    createdAt
    updatedAt
  }
}
    `;
const AddPhoneNumberDocument = index.gql `
    mutation addPhoneNumber($data: PhoneNumberInput!) {
  addPhoneNumber(data: $data) {
    id
  }
}
    `;
const DeletePhoneNumberDocument = index.gql `
    mutation deletePhoneNumber($id: String!) {
  deletePhoneNumber(id: $id) {
    id
  }
}
    `;
const EditPhoneNumberDocument = index.gql `
    mutation editPhoneNumber($id: String!, $data: PhoneNumberInput!) {
  editPhoneNumber(id: $id, data: $data) {
    id
  }
}
    `;
const FindPhoneNumberDocument = index.gql `
    query findPhoneNumber($id: String!) {
  phoneNumber(id: $id) {
    id
    name
    location {
      id
      name
    }
    phoneNumber
    tags
    createdAt
    updatedAt
  }
}
    `;
const ListPhoneNumbersDocument = index.gql `
    query listPhoneNumbers($data: ListQueryInput!) {
  phoneNumbers(data: $data) {
    id
    name
    location {
      id
      name
    }
    phoneNumber
    tags
    createdAt
    updatedAt
  }
}
    `;
const AddPhotoDocument = index.gql `
    mutation addPhoto($data: PhotoInput!) {
  addPhoto(data: $data) {
    id
  }
}
    `;
const DeletePhotoDocument = index.gql `
    mutation deletePhoto($id: String!) {
  deletePhoto(id: $id) {
    id
  }
}
    `;
const EditPhotoDocument = index.gql `
    mutation editPhoto($id: String!, $data: PhotoInput!) {
  editPhoto(id: $id, data: $data) {
    id
  }
}
    `;
const FindPhotoDocument = index.gql `
    query findPhoto($id: String!) {
  photo(id: $id) {
    id
    default
    url
    site {
      id
      name
    }
    job {
      id
      title
      picture
    }
  }
}
    `;
const AddPinDocument = index.gql `
    mutation addPin($data: PinInput!) {
  addPin(data: $data) {
    id
  }
}
    `;
const DeletePinDocument = index.gql `
    mutation deletePin($id: String!) {
  deletePin(id: $id) {
    id
  }
}
    `;
const FindPinDocument = index.gql `
    query findPin($id: String!) {
  pin(id: $id) {
    id
    icon
    order
    href
    name
    trigger
    payload
  }
}
    `;
const ListPinsDocument = index.gql `
    query listPins($data: PinListQueryInput!) {
  pins(data: $data) {
    id
    order
    icon
    href
    name
    trigger
    payload
  }
}
    `;
const ReorderPinsDocument = index.gql `
    mutation reorderPins($data: ReorderPinsInput!) {
  reorderPins(data: $data) {
    userId
    pins
  }
}
    `;
const AddServiceDocument = index.gql `
    mutation addService($data: ServiceInput!) {
  addService(data: $data) {
    id
  }
}
    `;
const DeleteServiceDocument = index.gql `
    mutation deleteService($id: String!) {
  deleteService(id: $id) {
    id
  }
}
    `;
const EditServiceDocument = index.gql `
    mutation editService($id: String!, $data: ServiceInput!) {
  editService(id: $id, data: $data) {
    id
  }
}
    `;
const FindServiceDocument = index.gql `
    query findService($id: String!) {
  service(id: $id) {
    id
    name
    smartScoping
    autofill
    code
    description
    group
    prices
    tab
    unit
    createdAt
    updatedAt
  }
}
    `;
const ListServicesDocument = index.gql `
    query listServices($data: ListQueryInput!) {
  services(data: $data) {
    id
    name
    autofill
    smartScoping
    code
    description
    group
    prices
    tab
    unit
  }
}
    `;
const AddSiteDocument = index.gql `
    mutation addSite($data: SiteInput!) {
  addSite(data: $data) {
    id
  }
}
    `;
const DeleteSiteDocument = index.gql `
    mutation deleteSite($id: String!) {
  deleteSite(id: $id) {
    id
  }
}
    `;
const EditSiteDocument = index.gql `
    mutation editSite($id: String!, $data: SiteInput!) {
  editSite(id: $id, data: $data) {
    id
  }
}
    `;
const FindSiteDocument = index.gql `
    query findSite($id: String!) {
  site(id: $id) {
    id
    name
    affectedAreaTotalCuft
    affectedAreaTotalSqft
    areaTotalCuft
    areaTotalSqft
    class
    chamber
    floorType
    wallType
    ceilingType
    level
    offsets
    job {
      id
      title
    }
    areas {
      length
      width
      height
      sqft
      cuft
      lnft
    }
    affectedAreas {
      length
      width
      height
      sqft
      cuft
      lnft
    }
    photos {
      id
      url
      tags
    }
    inventories {
      id
      name
    }
    services {
      id
      price
      amount
      quantity
      total
      createdAt
      updatedAt
      service {
        id
        name
      }
    }
    createdAt
    updatedAt
  }
}
    `;
const AddSupportDocument = index.gql `
    mutation addSupport($data: SupportInput!) {
  addSupport(data: $data) {
    id
  }
}
    `;
const DeleteSupportDocument = index.gql `
    mutation deleteSupport($id: String!) {
  deleteSupport(id: $id) {
    id
  }
}
    `;
const EditSupportDocument = index.gql `
    mutation editSupport($id: String!, $data: SupportInput!) {
  editSupport(id: $id, data: $data) {
    id
  }
}
    `;
const FindSupportDocument = index.gql `
    query findSupport($id: String!) {
  support(id: $id) {
    id
    name
    type
    html
    editor {
      time
      version
      blocks {
        data
        type
      }
    }
    tags
  }
}
    `;
const ListSupportsDocument = index.gql `
    query listSupports($data: ListQueryInput!) {
  supports(data: $data) {
    id
    name
    type
    tags
  }
}
    `;
const AddTemplateDocument = index.gql `
    mutation addTemplate($data: TemplateInput!) {
  addTemplate(data: $data) {
    id
  }
}
    `;
const DeleteTemplateDocument = index.gql `
    mutation deleteTemplate($id: String!) {
  deleteTemplate(id: $id) {
    id
  }
}
    `;
const EditTemplateDocument = index.gql `
    mutation editTemplate($id: String!, $data: TemplateInput!) {
  editTemplate(id: $id, data: $data) {
    id
  }
}
    `;
const FindTemplateDocument = index.gql `
    query findTemplate($id: String!) {
  template(id: $id) {
    id
    editor {
      time
      version
      blocks {
        data
        type
      }
    }
    tags
    description
    routes
    name
    subject
    type
    html
    head
    text
    amp
    header {
      id
      subject
      description
      html
    }
    footer {
      id
      subject
      description
      html
    }
    frame {
      id
      subject
      description
      html
      head
      header {
        id
        subject
        description
        html
      }
      footer {
        id
        subject
        description
        html
      }
    }
    attachments {
      cid
      filename
      content
      path
      encoding
      raw
      href
      httpHeaders
      contentDisposition
      contentType
      headers
    }
    partial
    sampleData
    createdAt
  }
}
    `;
const ListTemplatesDocument = index.gql `
    query listTemplates($data: ListQueryInput!, $withHtml: Boolean!) {
  templates(data: $data) {
    id
    name
    routes
    description
    subject
    type
    text
    html @include(if: $withHtml)
    head @include(if: $withHtml)
    header @include(if: $withHtml) {
      id
      subject
      description
      html
    }
    footer @include(if: $withHtml) {
      id
      subject
      description
      html
    }
    frame @include(if: $withHtml) {
      id
      subject
      description
      html
    }
    tags
    partial
    createdAt
  }
}
    `;
const AddTotallerDocument = index.gql `
    mutation addTotaller($data: TotallerInput!) {
  addTotaller(data: $data) {
    id
  }
}
    `;
const CalculateTotallerDocument = index.gql `
    mutation calculateTotaller($data: CalculateTotallerInput!) {
  calculateTotaller(data: $data) {
    id
    results
  }
}
    `;
const DeleteTotallerDocument = index.gql `
    mutation deleteTotaller($id: String!) {
  deleteTotaller(id: $id) {
    id
  }
}
    `;
const EditTotallerDocument = index.gql `
    mutation editTotaller($id: String!, $data: TotallerInput!) {
  editTotaller(id: $id, data: $data) {
    id
  }
}
    `;
const FindTotallerDocument = index.gql `
    query findTotaller($id: String!) {
  totaller(id: $id) {
    id
    name
    collection
    sums
    paths
    sampleData
    lastRunAt
    createdAt
    updatedAt
  }
}
    `;
const ListTotallersDocument = index.gql `
    query listTotallers($data: ListQueryInput!) {
  totallers(data: $data) {
    id
    name
    collection
    sums
    paths
    sampleData
    lastRunAt
    createdAt
    updatedAt
  }
}
    `;
const AddTriggerDocument = index.gql `
    mutation addTrigger($data: TriggerInput!) {
  addTrigger(data: $data) {
    id
  }
}
    `;
const DeleteTriggerDocument = index.gql `
    mutation deleteTrigger($id: String!) {
  deleteTrigger(id: $id) {
    id
  }
}
    `;
const EditTriggerDocument = index.gql `
    mutation editTrigger($id: String!, $data: TriggerInput!) {
  editTrigger(id: $id, data: $data) {
    id
  }
}
    `;
const FindTriggerDocument = index.gql `
    query findTrigger($id: String!) {
  trigger(id: $id) {
    id
    active
    name
    type
    when
    action
    payload
    sampleData
    lastFiredAt
  }
}
    `;
const ListTriggersDocument = index.gql `
    query listTriggers($data: ListQueryInput!) {
  triggers(data: $data) {
    id
    active
    name
    type
    when
    action
    payload
    lastFiredAt
  }
}
    `;
const AddUserDocument = index.gql `
    mutation addUser($data: UserInput!) {
  addUser(data: $data) {
    id
  }
}
    `;
const BulkUpdateUsersDocument = index.gql `
    mutation bulkUpdateUsers($data: BulkUpdateUsersInput!) {
  bulkUpdateUsers(data: $data) {
    users {
      id
    }
  }
}
    `;
const EditUserDocument = index.gql `
    mutation editUser($id: String!, $data: UserInput!) {
  editUser(id: $id, data: $data) {
    id
  }
}
    `;
const FindUserDocument = index.gql `
    query findUser($id: String!, $withFriends: Boolean!) {
  user(id: $id) {
    id
    online
    firstName
    lastName
    isSetup
    email
    phone
    active
    photo
    tags
    trade
    role
    isOnboarded
    isFranchise
    isFranchiseOwner
    birthday
    slackHandle
    role
    rating
    location {
      id
      name
      type
      defaultPayModel {
        id
        name
      }
    }
    company {
      id
      name
    }
    referredBy @include(if: $withFriends) {
      id
      firstName
      lastName
      email
      photo
    }
    friends @include(if: $withFriends) {
      id
      firstName
      lastName
      email
      photo
    }
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
    billingAddress {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
  }
}
    `;
const ListUsersDocument = index.gql `
    query listUsers($data: UserListQueryInput!) {
  users(data: $data) {
    id
    firstName
    lastName
    email
    photo
    tags
    trade
    role
    lastOnline
    online
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
  }
}
    `;
const AddWeatherDocument = index.gql `
    mutation addWeather($data: WeatherInput!) {
  addWeather(data: $data) {
    id
  }
}
    `;
const DeleteWeatherDocument = index.gql `
    mutation deleteWeather($id: String!) {
  deleteWeather(id: $id) {
    id
  }
}
    `;
const EditWeatherDocument = index.gql `
    mutation editWeather($id: String!, $data: WeatherInput!) {
  editWeather(id: $id, data: $data) {
    id
  }
}
    `;
const FindWeatherDocument = index.gql `
    query findWeather($id: String!) {
  weather(id: $id) {
    id
    name
    clouds
    wind {
      speed
      deg
      gust
    }
    conditions {
      id
      main
      description
      icon
    }
    temperature
    temperatureFeelsLike
    temperatureMin
    temperatureMax
    pressure
    humidity
    visibility
    createdAt
    updatedAt
  }
}
    `;
const ListWeatherDocument = index.gql `
    query listWeather($data: ListQueryInput!) {
  weathers(data: $data) {
    id
    name
    temperature
    temperatureFeelsLike
    temperatureMin
    temperatureMax
    pressure
    humidity
    createdAt
    updatedAt
  }
}
    `;
const AddPaymentMethodDocument = index.gql `
    mutation addPaymentMethod($data: AddPaymentMethodInput!) {
  addPaymentMethod(data: $data) {
    id
  }
}
    `;
const AddScopeServiceDocument = index.gql `
    mutation addScopeService($data: AddScopeServiceInput!) {
  addScopeService(data: $data) {
    id
  }
}
    `;
const BookJobDocument = index.gql `
    mutation bookJob($data: BookJobInput!) {
  bookJob(data: $data) {
    id
  }
}
    `;
const CreatePlaidTokenDocument = index.gql `
    mutation createPlaidToken($data: CreatePlaidTokenInput!) {
  createPlaidToken(data: $data) {
    token
    expiration
  }
}
    `;
const CreateQuickbooksAuthUrlDocument = index.gql `
    mutation createQuickbooksAuthUrl($data: CreateQuickbooksAuthUrlInput!) {
  createQuickbooksAuthUrl(data: $data) {
    authUrl
  }
}
    `;
const CreateQuickbooksTokenDocument = index.gql `
    mutation createQuickbooksToken($data: CreateQuickbooksTokenInput!) {
  createQuickbooksToken(data: $data) {
    refresh_token
    x_refresh_token_expires_in
    access_token
    token_type
    expires_in
    id_token
  }
}
    `;
const CreateStripeAccountLinkDocument = index.gql `
    mutation createStripeAccountLink($data: CreateStripeAccountLinkInput!) {
  createStripeAccountLink(data: $data) {
    url
  }
}
    `;
const CreateStripeOAuthTokenDocument = index.gql `
    mutation createStripeOAuthToken($data: CreateStripeOAuthTokenInput!) {
  createStripeOAuthToken(data: $data) {
    accountId
  }
}
    `;
const DeleteScopeServiceDocument = index.gql `
    mutation deleteScopeService($data: DeleteScopeServiceInput!) {
  deleteScopeService(data: $data) {
    id
  }
}
    `;
const EditScopeServiceDocument = index.gql `
    mutation editScopeService($data: EditScopeServiceInput!) {
  editScopeService(data: $data) {
    id
  }
}
    `;
const GenerateGoogleAuthUrlDocument = index.gql `
    mutation generateGoogleAuthUrl($data: GenerateGoogleAuthUrlInput!) {
  generateGoogleAuthUrl(data: $data) {
    authUrl
  }
}
    `;
const GeneratePayablesDocument = index.gql `
    mutation generatePayables($data: GeneratePayablesInput!) {
  generatePayables(data: $data) {
    payables {
      id
    }
  }
}
    `;
const GeneratePdfDocument = index.gql `
    mutation generatePdf($data: GeneratePdfInput!) {
  generatePdf(data: $data) {
    id
    url
  }
}
    `;
const GetGoogleAccessTokenDocument = index.gql `
    mutation getGoogleAccessToken($data: GetGoogleAccessTokenInput!) {
  getGoogleAccessToken(data: $data) {
    success
    error
  }
}
    `;
const ImporterDocument = index.gql `
    mutation importer($data: ImporterInput!) {
  importer(data: $data) {
    results
  }
}
    `;
const SendTemplateEmailDocument = index.gql `
    mutation sendTemplateEmail($data: SendTemplateEmailInput!) {
  sendTemplateEmail(data: $data) {
    id
  }
}
    `;
const SetPlaidAccessTokenDocument = index.gql `
    mutation setPlaidAccessToken($data: SetPlaidAccessTokenInput!) {
  setPlaidAccessToken(data: $data) {
    id
    token
  }
}
    `;
const SignContractDocument = index.gql `
    mutation signContract($data: SignContractInput!) {
  signContract(data: $data) {
    id
    url
  }
}
    `;
const UploadDocument = index.gql `
    mutation upload($data: UploadInput!) {
  upload(data: $data) {
    filename
    url
  }
}
    `;
const defaultWrapper = (action, _operationName, _operationType) => action();
function getSdk(client, withWrapper = defaultWrapper) {
  return {
    addAlert(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddAlertDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addAlert', 'mutation');
    },
    editAlert(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditAlertDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editAlert', 'mutation');
    },
    findAlert(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindAlertDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findAlert', 'query');
    },
    listAlerts(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListAlertsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listAlerts', 'query');
    },
    addAtmospheric(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddAtmosphericDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addAtmospheric', 'mutation');
    },
    deleteAtmospheric(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteAtmosphericDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteAtmospheric', 'mutation');
    },
    editAtmospheric(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditAtmosphericDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editAtmospheric', 'mutation');
    },
    findAtmospheric(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindAtmosphericDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findAtmospheric', 'query');
    },
    listAtmospherics(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListAtmosphericsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listAtmospherics', 'query');
    },
    addCompany(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddCompanyDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addCompany', 'mutation');
    },
    deleteCompany(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteCompanyDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteCompany', 'mutation');
    },
    editCompany(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditCompanyDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editCompany', 'mutation');
    },
    findCompany(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindCompanyDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findCompany', 'query');
    },
    listCompanies(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListCompaniesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listCompanies', 'query');
    },
    addDot(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddDotDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addDot', 'mutation');
    },
    deleteDot(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteDotDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteDot', 'mutation');
    },
    editDot(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditDotDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editDot', 'mutation');
    },
    findDot(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindDotDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findDot', 'query');
    },
    listDots(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListDotsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listDots', 'query');
    },
    addEfile(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddEfileDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addEfile', 'mutation');
    },
    deleteEfile(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteEfileDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteEfile', 'mutation');
    },
    editEfile(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditEfileDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editEfile', 'mutation');
    },
    findEfile(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindEfileDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findEfile', 'query');
    },
    listEfiles(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListEfilesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listEfiles', 'query');
    },
    addExhaust(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddExhaustDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addExhaust', 'mutation');
    },
    deleteExhaust(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteExhaustDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteExhaust', 'mutation');
    },
    editExhaust(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditExhaustDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editExhaust', 'mutation');
    },
    findExhaust(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindExhaustDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findExhaust', 'query');
    },
    listExhausts(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListExhaustsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listExhausts', 'query');
    },
    listFeed(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListFeedDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listFeed', 'query');
    },
    addInventory(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddInventoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addInventory', 'mutation');
    },
    deleteInventory(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteInventoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteInventory', 'mutation');
    },
    editInventory(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditInventoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editInventory', 'mutation');
    },
    findInventory(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindInventoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findInventory', 'query');
    },
    listInventories(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListInventoriesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listInventories', 'query');
    },
    addInvoice(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddInvoiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addInvoice', 'mutation');
    },
    deleteInvoice(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteInvoiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteInvoice', 'mutation');
    },
    editInvoice(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditInvoiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editInvoice', 'mutation');
    },
    findInvoice(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindInvoiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findInvoice', 'query');
    },
    listInvoices(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListInvoicesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listInvoices', 'query');
    },
    addJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addJob', 'mutation');
    },
    addUserToJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddUserToJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addUserToJob', 'mutation');
    },
    deleteJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteJob', 'mutation');
    },
    editJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editJob', 'mutation');
    },
    findJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findJob', 'query');
    },
    listJobs(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListJobsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listJobs', 'query');
    },
    removeUserFromJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(RemoveUserFromJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'removeUserFromJob', 'mutation');
    },
    addLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addLocation', 'mutation');
    },
    addUserToLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddUserToLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addUserToLocation', 'mutation');
    },
    deleteLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteLocation', 'mutation');
    },
    editLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editLocation', 'mutation');
    },
    findLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findLocation', 'query');
    },
    listLocations(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListLocationsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listLocations', 'query');
    },
    removeUserFromLocation(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(RemoveUserFromLocationDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'removeUserFromLocation', 'mutation');
    },
    searchLocations(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(SearchLocationsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'searchLocations', 'query');
    },
    listLogs(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListLogsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listLogs', 'query');
    },
    addMoistureContent(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddMoistureContentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addMoistureContent', 'mutation');
    },
    deleteMoistureContent(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteMoistureContentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteMoistureContent', 'mutation');
    },
    editMoistureContent(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditMoistureContentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editMoistureContent', 'mutation');
    },
    findMoistureContent(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindMoistureContentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findMoistureContent', 'query');
    },
    listMoistureContents(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListMoistureContentsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listMoistureContents', 'query');
    },
    addNote(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddNoteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addNote', 'mutation');
    },
    deleteNote(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteNoteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteNote', 'mutation');
    },
    editNote(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditNoteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editNote', 'mutation');
    },
    findNote(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindNoteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findNote', 'query');
    },
    listNotes(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListNotesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listNotes', 'query');
    },
    addPayModel(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPayModelDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPayModel', 'mutation');
    },
    editPayModel(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditPayModelDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editPayModel', 'mutation');
    },
    findPayModel(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindPayModelDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findPayModel', 'query');
    },
    listPayModels(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListPayModelsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listPayModels', 'query');
    },
    addPayment(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPaymentDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPayment', 'mutation');
    },
    listPayments(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListPaymentsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listPayments', 'query');
    },
    addPhoneNumber(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPhoneNumberDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPhoneNumber', 'mutation');
    },
    deletePhoneNumber(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeletePhoneNumberDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deletePhoneNumber', 'mutation');
    },
    editPhoneNumber(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditPhoneNumberDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editPhoneNumber', 'mutation');
    },
    findPhoneNumber(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindPhoneNumberDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findPhoneNumber', 'query');
    },
    listPhoneNumbers(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListPhoneNumbersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listPhoneNumbers', 'query');
    },
    addPhoto(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPhotoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPhoto', 'mutation');
    },
    deletePhoto(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeletePhotoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deletePhoto', 'mutation');
    },
    editPhoto(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditPhotoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editPhoto', 'mutation');
    },
    findPhoto(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindPhotoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findPhoto', 'query');
    },
    addPin(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPinDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPin', 'mutation');
    },
    deletePin(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeletePinDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deletePin', 'mutation');
    },
    findPin(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindPinDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findPin', 'query');
    },
    listPins(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListPinsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listPins', 'query');
    },
    reorderPins(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ReorderPinsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'reorderPins', 'mutation');
    },
    addService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addService', 'mutation');
    },
    deleteService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteService', 'mutation');
    },
    editService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editService', 'mutation');
    },
    findService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findService', 'query');
    },
    listServices(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListServicesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listServices', 'query');
    },
    addSite(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddSiteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addSite', 'mutation');
    },
    deleteSite(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteSiteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteSite', 'mutation');
    },
    editSite(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditSiteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editSite', 'mutation');
    },
    findSite(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindSiteDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findSite', 'query');
    },
    addSupport(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddSupportDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addSupport', 'mutation');
    },
    deleteSupport(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteSupportDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteSupport', 'mutation');
    },
    editSupport(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditSupportDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editSupport', 'mutation');
    },
    findSupport(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindSupportDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findSupport', 'query');
    },
    listSupports(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListSupportsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listSupports', 'query');
    },
    addTemplate(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddTemplateDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addTemplate', 'mutation');
    },
    deleteTemplate(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteTemplateDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteTemplate', 'mutation');
    },
    editTemplate(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditTemplateDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editTemplate', 'mutation');
    },
    findTemplate(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindTemplateDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findTemplate', 'query');
    },
    listTemplates(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListTemplatesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listTemplates', 'query');
    },
    addTotaller(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddTotallerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addTotaller', 'mutation');
    },
    calculateTotaller(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CalculateTotallerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'calculateTotaller', 'mutation');
    },
    deleteTotaller(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteTotallerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteTotaller', 'mutation');
    },
    editTotaller(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditTotallerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editTotaller', 'mutation');
    },
    findTotaller(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindTotallerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findTotaller', 'query');
    },
    listTotallers(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListTotallersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listTotallers', 'query');
    },
    addTrigger(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddTriggerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addTrigger', 'mutation');
    },
    deleteTrigger(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteTriggerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteTrigger', 'mutation');
    },
    editTrigger(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditTriggerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editTrigger', 'mutation');
    },
    findTrigger(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindTriggerDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findTrigger', 'query');
    },
    listTriggers(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListTriggersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listTriggers', 'query');
    },
    addUser(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddUserDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addUser', 'mutation');
    },
    bulkUpdateUsers(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(BulkUpdateUsersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'bulkUpdateUsers', 'mutation');
    },
    editUser(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditUserDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editUser', 'mutation');
    },
    findUser(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindUserDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findUser', 'query');
    },
    listUsers(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListUsersDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listUsers', 'query');
    },
    addWeather(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddWeatherDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addWeather', 'mutation');
    },
    deleteWeather(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteWeatherDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteWeather', 'mutation');
    },
    editWeather(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditWeatherDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editWeather', 'mutation');
    },
    findWeather(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(FindWeatherDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'findWeather', 'query');
    },
    listWeather(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ListWeatherDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'listWeather', 'query');
    },
    addPaymentMethod(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddPaymentMethodDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addPaymentMethod', 'mutation');
    },
    addScopeService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(AddScopeServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'addScopeService', 'mutation');
    },
    bookJob(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(BookJobDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'bookJob', 'mutation');
    },
    createPlaidToken(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CreatePlaidTokenDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createPlaidToken', 'mutation');
    },
    createQuickbooksAuthUrl(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CreateQuickbooksAuthUrlDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createQuickbooksAuthUrl', 'mutation');
    },
    createQuickbooksToken(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CreateQuickbooksTokenDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createQuickbooksToken', 'mutation');
    },
    createStripeAccountLink(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CreateStripeAccountLinkDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createStripeAccountLink', 'mutation');
    },
    createStripeOAuthToken(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(CreateStripeOAuthTokenDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'createStripeOAuthToken', 'mutation');
    },
    deleteScopeService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(DeleteScopeServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'deleteScopeService', 'mutation');
    },
    editScopeService(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(EditScopeServiceDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'editScopeService', 'mutation');
    },
    generateGoogleAuthUrl(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(GenerateGoogleAuthUrlDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'generateGoogleAuthUrl', 'mutation');
    },
    generatePayables(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(GeneratePayablesDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'generatePayables', 'mutation');
    },
    generatePdf(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(GeneratePdfDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'generatePdf', 'mutation');
    },
    getGoogleAccessToken(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(GetGoogleAccessTokenDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'getGoogleAccessToken', 'mutation');
    },
    importer(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(ImporterDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'importer', 'mutation');
    },
    sendTemplateEmail(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(SendTemplateEmailDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'sendTemplateEmail', 'mutation');
    },
    setPlaidAccessToken(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(SetPlaidAccessTokenDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'setPlaidAccessToken', 'mutation');
    },
    signContract(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(SignContractDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'signContract', 'mutation');
    },
    upload(variables, requestHeaders) {
      return withWrapper((wrappedRequestHeaders) => client.request(UploadDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'upload', 'mutation');
    }
  };
}

exports.getSdk = getSdk;

//# sourceMappingURL=sdk-21ccbc5d.js.map