import{g as t}from"./p-d79b2817.js";const e=t`
    mutation addAlert($data: AlertInput!) {
  addAlert(data: $data) {
    id
  }
}
    `;const a=t`
    mutation editAlert($id: String!, $data: AlertInput!) {
  editAlert(id: $id, data: $data) {
    id
  }
}
    `;const i=t`
    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 d=t`
    query listAlerts($data: ListQueryInput!) {
  alerts(data: $data) {
    id
    types
    tags
    emails
    userIds
    template {
      id
      subject
      description
    }
    createdAt
    updatedAt
  }
}
    `;const n=t`
    mutation addAtmospheric($data: AtmosphericInput!) {
  addAtmospheric(data: $data) {
    id
  }
}
    `;const r=t`
    mutation deleteAtmospheric($id: String!) {
  deleteAtmospheric(id: $id) {
    id
  }
}
    `;const o=t`
    mutation editAtmospheric($id: String!, $data: AtmosphericInput!) {
  editAtmospheric(id: $id, data: $data) {
    id
  }
}
    `;const u=t`
    query findAtmospheric($id: String!) {
  atmospheric(id: $id) {
    id
    job {
      id
    }
    site {
      id
    }
    chamber
    temperature
    humidity
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;const s=t`
    query listAtmospherics($data: ListQueryInput!) {
  atmospherics(data: $data) {
    id
    job {
      id
    }
    site {
      id
    }
    chamber
    temperature
    humidity
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;const l=t`
    mutation addCompany($data: CompanyInput!) {
  addCompany(data: $data) {
    id
  }
}
    `;const m=t`
    mutation deleteCompany($id: String!) {
  deleteCompany(id: $id) {
    id
  }
}
    `;const c=t`
    mutation editCompany($id: String!, $data: CompanyInput!) {
  editCompany(id: $id, data: $data) {
    id
  }
}
    `;const p=t`
    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 $=t`
    query listCompanies($data: ListQueryInput!) {
  companies(data: $data) {
    id
    name
    phone
    email
    website
    address {
      placeId
      lat
      lng
      full
      street
      unit
      city
      state
      zip
      country
    }
  }
}
    `;const y=t`
    mutation addDot($data: DotInput!) {
  addDot(data: $data) {
    id
  }
}
    `;const h=t`
    mutation deleteDot($id: String!) {
  deleteDot(id: $id) {
    id
  }
}
    `;const g=t`
    mutation editDot($id: String!, $data: DotInput!) {
  editDot(id: $id, data: $data) {
    id
  }
}
    `;const f=t`
    query findDot($id: String!) {
  dot(id: $id) {
    id
    placement
    job {
      id
    }
    site {
      id
    }
    material
    meter
    dryStandard
    evaporationPotentialGoal
    createdAt
    updatedAt
  }
}
    `;const S=t`
    query listDots($data: ListQueryInput!) {
  dots(data: $data) {
    id
    placement
    job {
      id
    }
    site {
      id
    }
    material
    meter
    dryStandard
    evaporationPotentialGoal
    createdAt
    updatedAt
  }
}
    `;const P=t`
    mutation addEfile($data: EfileInput!) {
  addEfile(data: $data) {
    id
  }
}
    `;const I=t`
    mutation deleteEfile($id: String!) {
  deleteEfile(id: $id) {
    id
  }
}
    `;const A=t`
    mutation editEfile($id: String!, $data: EfileInput!) {
  editEfile(id: $id, data: $data) {
    id
  }
}
    `;const b=t`
    query findEfile($id: String!) {
  efile(id: $id) {
    id
    name
    url
    type
    tags
  }
}
    `;const T=t`
    query listEfiles($data: EfileListQueryInput!) {
  efiles(data: $data) {
    id
    name
    url
    type
    tags
  }
}
    `;const v=t`
    mutation addExhaust($data: ExhaustInput!) {
  addExhaust(data: $data) {
    id
  }
}
    `;const q=t`
    mutation deleteExhaust($id: String!) {
  deleteExhaust(id: $id) {
    id
  }
}
    `;const N=t`
    mutation editExhaust($id: String!, $data: ExhaustInput!) {
  editExhaust(id: $id, data: $data) {
    id
  }
}
    `;const k=t`
    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 L=t`
    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 U=t`
    query listFeed($data: FeedListQueryInput!) {
  feeds(data: $data) {
    id
    type
    backgroundImage
    href
    image
    read
    subject
    html
    createdAt
  }
}
    `;const C=t`
    mutation addInventory($data: InventoryInput!) {
  addInventory(data: $data) {
    id
  }
}
    `;const M=t`
    mutation deleteInventory($id: String!) {
  deleteInventory(id: $id) {
    id
  }
}
    `;const w=t`
    mutation editInventory($id: String!, $data: InventoryInput!) {
  editInventory(id: $id, data: $data) {
    id
  }
}
    `;const E=t`
    query findInventory($id: String!) {
  inventory(id: $id) {
    id
    name
    type
    group
    tags
    location {
      id
      name
      type
    }
    createdAt
    updatedAt
  }
}
    `;const x=t`
    query listInventories($data: ListQueryInput!) {
  inventories(data: $data) {
    id
    name
    type
    group
    tags
    location {
      id
      name
      type
    }
    createdAt
  }
}
    `;const J=t`
    mutation addInvoice($data: InvoiceInput!) {
  addInvoice(data: $data) {
    id
  }
}
    `;const Q=t`
    mutation deleteInvoice($id: String!) {
  deleteInvoice(id: $id) {
    id
  }
}
    `;const j=t`
    mutation editInvoice($id: String!, $data: InvoiceInput!) {
  editInvoice(id: $id, data: $data) {
    id
  }
}
    `;const G=t`
    query findInvoice($id: String!) {
  invoice(id: $id) {
    id
  }
}
    `;const D=t`
    query listInvoices($data: ListQueryInput!) {
  invoices(data: $data) {
    id
  }
}
    `;const F=t`
    mutation addJob($data: JobInput!) {
  addJob(data: $data) {
    id
  }
}
    `;const W=t`
    mutation addUserToJob($data: AddUserToJobInput!) {
  addUserToJob(data: $data) {
    id
  }
}
    `;const B=t`
    mutation deleteJob($id: String!) {
  deleteJob(id: $id) {
    id
  }
}
    `;const H=t`
    mutation editJob($id: String!, $data: JobInput!) {
  editJob(id: $id, data: $data) {
    id
  }
}
    `;const O=t`
    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
    }
    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 z=t`
    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 _=t`
    mutation removeUserFromJob($data: RemoveUserFromJobInput!) {
  removeUserFromJob(data: $data) {
    id
  }
}
    `;const R=t`
    mutation addLocation($data: LocationInput!) {
  addLocation(data: $data) {
    id
  }
}
    `;const K=t`
    mutation addUserToLocation($data: AddUserToLocationInput!) {
  addUserToLocation(data: $data) {
    userId
  }
}
    `;const V=t`
    mutation deleteLocation($id: String!) {
  deleteLocation(id: $id) {
    id
  }
}
    `;const X=t`
    mutation editLocation($id: String!, $data: LocationInput!) {
  editLocation(id: $id, data: $data) {
    id
  }
}
    `;const Y=t`
    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 Z=t`
    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 tt=t`
    mutation removeUserFromLocation($data: RemoveUserFromLocationInput!) {
  removeUserFromLocation(data: $data) {
    id
  }
}
    `;const et=t`
    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 at=t`
    query listLogs($data: LogListQueryInput!) {
  logs(data: $data) {
    id
    type
    name
    input
    output
    referrer
    resolveTime
    createdAt
  }
}
    `;const it=t`
    mutation addMoistureContent($data: MoistureContentInput!) {
  addMoistureContent(data: $data) {
    id
  }
}
    `;const dt=t`
    mutation deleteMoistureContent($id: String!) {
  deleteMoistureContent(id: $id) {
    id
  }
}
    `;const nt=t`
    mutation editMoistureContent($id: String!, $data: MoistureContentInput!) {
  editMoistureContent(id: $id, data: $data) {
    id
  }
}
    `;const rt=t`
    query findMoistureContent($id: String!) {
  moistureContent(id: $id) {
    id
    dot {
      id
    }
    job {
      id
    }
    site {
      id
    }
    readings
    temperature
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;const ot=t`
    query listMoistureContents($data: ListQueryInput!) {
  moistureContents(data: $data) {
    id
    dot {
      id
    }
    job {
      id
    }
    site {
      id
    }
    readings
    temperature
    grainsPerPound
    gramPerGram
    dewPoint
    vaporPressure
    kPa
    createdAt
    updatedAt
  }
}
    `;const ut=t`
    mutation addNote($data: NoteInput!) {
  addNote(data: $data) {
    id
  }
}
    `;const st=t`
    mutation deleteNote($id: String!) {
  deleteNote(id: $id) {
    id
  }
}
    `;const lt=t`
    mutation editNote($id: String!, $data: NoteInput!) {
  editNote(id: $id, data: $data) {
    id
  }
}
    `;const mt=t`
    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 ct=t`
    query listNotes($data: ListQueryInput!) {
  notes(data: $data) {
    id
    html
    alert {
      id
    }
    createdAt
    updatedAt
    createdBy {
      id
      firstName
      lastName
      email
      photo
    }
  }
}
    `;const pt=t`
    mutation addPayModel($data: PayModelInput!) {
  addPayModel(data: $data) {
    id
  }
}
    `;const $t=t`
    mutation editPayModel($id: String!, $data: PayModelInput!) {
  editPayModel(id: $id, data: $data) {
    id
  }
}
    `;const yt=t`
    query findPayModel($id: String!) {
  payModel(id: $id) {
    id
    name
    payouts {
      role {
        id
        name
        type
        description
        permissions
      }
      transfer
      percentages {
        default
        hasReferral
      }
    }
    createdAt
    updatedAt
  }
}
    `;const ht=t`
    query listPayModels($data: ListQueryInput!) {
  payModels(data: $data) {
    id
    name
    payouts {
      role {
        id
        name
        type
        description
        permissions
      }
      transfer
      percentages {
        default
        hasReferral
      }
    }
    createdAt
    updatedAt
  }
}
    `;const gt=t`
    mutation addPayment($data: PaymentInput!) {
  addPayment(data: $data) {
    id
  }
}
    `;const ft=t`
    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 St=t`
    mutation addPhoneNumber($data: PhoneNumberInput!) {
  addPhoneNumber(data: $data) {
    id
  }
}
    `;const Pt=t`
    mutation deletePhoneNumber($id: String!) {
  deletePhoneNumber(id: $id) {
    id
  }
}
    `;const It=t`
    mutation editPhoneNumber($id: String!, $data: PhoneNumberInput!) {
  editPhoneNumber(id: $id, data: $data) {
    id
  }
}
    `;const At=t`
    query findPhoneNumber($id: String!) {
  phoneNumber(id: $id) {
    id
    name
    location {
      id
      name
    }
    phoneNumber
    tags
    createdAt
    updatedAt
  }
}
    `;const bt=t`
    query listPhoneNumbers($data: ListQueryInput!) {
  phoneNumbers(data: $data) {
    id
    name
    location {
      id
      name
    }
    phoneNumber
    tags
    createdAt
    updatedAt
  }
}
    `;const Tt=t`
    mutation addPhoto($data: PhotoInput!) {
  addPhoto(data: $data) {
    id
  }
}
    `;const vt=t`
    mutation deletePhoto($id: String!) {
  deletePhoto(id: $id) {
    id
  }
}
    `;const qt=t`
    mutation editPhoto($id: String!, $data: PhotoInput!) {
  editPhoto(id: $id, data: $data) {
    id
  }
}
    `;const Nt=t`
    query findPhoto($id: String!) {
  photo(id: $id) {
    id
    default
    url
    site {
      id
      name
    }
    job {
      id
      title
      picture
    }
  }
}
    `;const kt=t`
    mutation addPin($data: PinInput!) {
  addPin(data: $data) {
    id
  }
}
    `;const Lt=t`
    mutation deletePin($id: String!) {
  deletePin(id: $id) {
    id
  }
}
    `;const Ut=t`
    query findPin($id: String!) {
  pin(id: $id) {
    id
    icon
    order
    href
    name
    trigger
    payload
  }
}
    `;const Ct=t`
    query listPins($data: PinListQueryInput!) {
  pins(data: $data) {
    id
    order
    icon
    href
    name
    trigger
    payload
  }
}
    `;const Mt=t`
    mutation addService($data: ServiceInput!) {
  addService(data: $data) {
    id
  }
}
    `;const wt=t`
    mutation deleteService($id: String!) {
  deleteService(id: $id) {
    id
  }
}
    `;const Et=t`
    mutation editService($id: String!, $data: ServiceInput!) {
  editService(id: $id, data: $data) {
    id
  }
}
    `;const xt=t`
    query findService($id: String!) {
  service(id: $id) {
    id
    name
    smartScoping
    autofill
    code
    description
    group
    prices
    tab
    unit
    createdAt
    updatedAt
  }
}
    `;const Jt=t`
    query listServices($data: ListQueryInput!) {
  services(data: $data) {
    id
    name
    autofill
    smartScoping
    code
    description
    group
    prices
    tab
    unit
  }
}
    `;const Qt=t`
    mutation addSite($data: SiteInput!) {
  addSite(data: $data) {
    id
  }
}
    `;const jt=t`
    mutation deleteSite($id: String!) {
  deleteSite(id: $id) {
    id
  }
}
    `;const Gt=t`
    mutation editSite($id: String!, $data: SiteInput!) {
  editSite(id: $id, data: $data) {
    id
  }
}
    `;const Dt=t`
    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 Ft=t`
    mutation addSupport($data: SupportInput!) {
  addSupport(data: $data) {
    id
  }
}
    `;const Wt=t`
    mutation deleteSupport($id: String!) {
  deleteSupport(id: $id) {
    id
  }
}
    `;const Bt=t`
    mutation editSupport($id: String!, $data: SupportInput!) {
  editSupport(id: $id, data: $data) {
    id
  }
}
    `;const Ht=t`
    query findSupport($id: String!) {
  support(id: $id) {
    id
    name
    type
    html
    editor {
      time
      version
      blocks {
        data
        type
      }
    }
    tags
  }
}
    `;const Ot=t`
    query listSupports($data: ListQueryInput!) {
  supports(data: $data) {
    id
    name
    type
    tags
  }
}
    `;const zt=t`
    mutation addTemplate($data: TemplateInput!) {
  addTemplate(data: $data) {
    id
  }
}
    `;const _t=t`
    mutation deleteTemplate($id: String!) {
  deleteTemplate(id: $id) {
    id
  }
}
    `;const Rt=t`
    mutation editTemplate($id: String!, $data: TemplateInput!) {
  editTemplate(id: $id, data: $data) {
    id
  }
}
    `;const Kt=t`
    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 Vt=t`
    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 Xt=t`
    mutation addTotaller($data: TotallerInput!) {
  addTotaller(data: $data) {
    id
  }
}
    `;const Yt=t`
    mutation calculateTotaller($data: CalculateTotallerInput!) {
  calculateTotaller(data: $data) {
    id
    results
  }
}
    `;const Zt=t`
    mutation deleteTotaller($id: String!) {
  deleteTotaller(id: $id) {
    id
  }
}
    `;const te=t`
    mutation editTotaller($id: String!, $data: TotallerInput!) {
  editTotaller(id: $id, data: $data) {
    id
  }
}
    `;const ee=t`
    query findTotaller($id: String!) {
  totaller(id: $id) {
    id
    name
    collection
    sums
    paths
    sampleData
    lastRunAt
    createdAt
    updatedAt
  }
}
    `;const ae=t`
    query listTotallers($data: ListQueryInput!) {
  totallers(data: $data) {
    id
    name
    collection
    sums
    paths
    sampleData
    lastRunAt
    createdAt
    updatedAt
  }
}
    `;const ie=t`
    mutation addTrigger($data: TriggerInput!) {
  addTrigger(data: $data) {
    id
  }
}
    `;const de=t`
    mutation deleteTrigger($id: String!) {
  deleteTrigger(id: $id) {
    id
  }
}
    `;const ne=t`
    mutation editTrigger($id: String!, $data: TriggerInput!) {
  editTrigger(id: $id, data: $data) {
    id
  }
}
    `;const re=t`
    query findTrigger($id: String!) {
  trigger(id: $id) {
    id
    active
    name
    type
    when
    action
    payload
    sampleData
    lastFiredAt
  }
}
    `;const oe=t`
    query listTriggers($data: ListQueryInput!) {
  triggers(data: $data) {
    id
    active
    name
    type
    when
    action
    payload
    lastFiredAt
  }
}
    `;const ue=t`
    mutation addUser($data: UserInput!) {
  addUser(data: $data) {
    id
  }
}
    `;const se=t`
    mutation bulkUpdateUsers($data: BulkUpdateUsersInput!) {
  bulkUpdateUsers(data: $data) {
    users {
      id
    }
  }
}
    `;const le=t`
    mutation editUser($id: String!, $data: UserInput!) {
  editUser(id: $id, data: $data) {
    id
  }
}
    `;const me=t`
    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 ce=t`
    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 pe=t`
    mutation addWeather($data: WeatherInput!) {
  addWeather(data: $data) {
    id
  }
}
    `;const $e=t`
    mutation deleteWeather($id: String!) {
  deleteWeather(id: $id) {
    id
  }
}
    `;const ye=t`
    mutation editWeather($id: String!, $data: WeatherInput!) {
  editWeather(id: $id, data: $data) {
    id
  }
}
    `;const he=t`
    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 ge=t`
    query listWeather($data: ListQueryInput!) {
  weathers(data: $data) {
    id
    name
    temperature
    temperatureFeelsLike
    temperatureMin
    temperatureMax
    pressure
    humidity
    createdAt
    updatedAt
  }
}
    `;const fe=t`
    mutation addPaymentMethod($data: AddPaymentMethodInput!) {
  addPaymentMethod(data: $data) {
    id
  }
}
    `;const Se=t`
    mutation addScopeService($data: AddScopeServiceInput!) {
  addScopeService(data: $data) {
    id
  }
}
    `;const Pe=t`
    mutation bookJob($data: BookJobInput!) {
  bookJob(data: $data) {
    id
  }
}
    `;const Ie=t`
    mutation createPlaidToken($data: CreatePlaidTokenInput!) {
  createPlaidToken(data: $data) {
    token
    expiration
  }
}
    `;const Ae=t`
    mutation createQuickbooksAuthUrl($data: CreateQuickbooksAuthUrlInput!) {
  createQuickbooksAuthUrl(data: $data) {
    authUrl
  }
}
    `;const be=t`
    mutation createQuickbooksToken($data: CreateQuickbooksTokenInput!) {
  createQuickbooksToken(data: $data) {
    refresh_token
    x_refresh_token_expires_in
    access_token
    token_type
    expires_in
    id_token
  }
}
    `;const Te=t`
    mutation createStripeAccountLink($data: CreateStripeAccountLinkInput!) {
  createStripeAccountLink(data: $data) {
    url
  }
}
    `;const ve=t`
    mutation createStripeOAuthToken($data: CreateStripeOAuthTokenInput!) {
  createStripeOAuthToken(data: $data) {
    accountId
  }
}
    `;const qe=t`
    mutation deleteScopeService($data: DeleteScopeServiceInput!) {
  deleteScopeService(data: $data) {
    id
  }
}
    `;const Ne=t`
    mutation editScopeService($data: EditScopeServiceInput!) {
  editScopeService(data: $data) {
    id
  }
}
    `;const ke=t`
    mutation generateGoogleAuthUrl($data: GenerateGoogleAuthUrlInput!) {
  generateGoogleAuthUrl(data: $data) {
    authUrl
  }
}
    `;const Le=t`
    mutation generatePayables($data: GeneratePayablesInput!) {
  generatePayables(data: $data) {
    payables {
      id
    }
  }
}
    `;const Ue=t`
    mutation generatePdf($data: GeneratePdfInput!) {
  generatePdf(data: $data) {
    id
    url
  }
}
    `;const Ce=t`
    mutation getGoogleAccessToken($data: GetGoogleAccessTokenInput!) {
  getGoogleAccessToken(data: $data) {
    success
    error
  }
}
    `;const Me=t`
    mutation importer($data: ImporterInput!) {
  importer(data: $data) {
    results
  }
}
    `;const we=t`
    mutation sendTemplateEmail($data: SendTemplateEmailInput!) {
  sendTemplateEmail(data: $data) {
    id
  }
}
    `;const Ee=t`
    mutation setPlaidAccessToken($data: SetPlaidAccessTokenInput!) {
  setPlaidAccessToken(data: $data) {
    id
    token
  }
}
    `;const xe=t`
    mutation signContract($data: SignContractInput!) {
  signContract(data: $data) {
    id
    url
  }
}
    `;const Je=t`
    mutation upload($data: UploadInput!) {
  upload(data: $data) {
    filename
    url
  }
}
    `;const Qe=(t,e,a)=>t();function je(t,je=Qe){return{addAlert(a,i){return je((d=>t.request(e,a,{...i,...d})),"addAlert","mutation")},editAlert(e,i){return je((d=>t.request(a,e,{...i,...d})),"editAlert","mutation")},findAlert(e,a){return je((d=>t.request(i,e,{...a,...d})),"findAlert","query")},listAlerts(e,a){return je((i=>t.request(d,e,{...a,...i})),"listAlerts","query")},addAtmospheric(e,a){return je((i=>t.request(n,e,{...a,...i})),"addAtmospheric","mutation")},deleteAtmospheric(e,a){return je((i=>t.request(r,e,{...a,...i})),"deleteAtmospheric","mutation")},editAtmospheric(e,a){return je((i=>t.request(o,e,{...a,...i})),"editAtmospheric","mutation")},findAtmospheric(e,a){return je((i=>t.request(u,e,{...a,...i})),"findAtmospheric","query")},listAtmospherics(e,a){return je((i=>t.request(s,e,{...a,...i})),"listAtmospherics","query")},addCompany(e,a){return je((i=>t.request(l,e,{...a,...i})),"addCompany","mutation")},deleteCompany(e,a){return je((i=>t.request(m,e,{...a,...i})),"deleteCompany","mutation")},editCompany(e,a){return je((i=>t.request(c,e,{...a,...i})),"editCompany","mutation")},findCompany(e,a){return je((i=>t.request(p,e,{...a,...i})),"findCompany","query")},listCompanies(e,a){return je((i=>t.request($,e,{...a,...i})),"listCompanies","query")},addDot(e,a){return je((i=>t.request(y,e,{...a,...i})),"addDot","mutation")},deleteDot(e,a){return je((i=>t.request(h,e,{...a,...i})),"deleteDot","mutation")},editDot(e,a){return je((i=>t.request(g,e,{...a,...i})),"editDot","mutation")},findDot(e,a){return je((i=>t.request(f,e,{...a,...i})),"findDot","query")},listDots(e,a){return je((i=>t.request(S,e,{...a,...i})),"listDots","query")},addEfile(e,a){return je((i=>t.request(P,e,{...a,...i})),"addEfile","mutation")},deleteEfile(e,a){return je((i=>t.request(I,e,{...a,...i})),"deleteEfile","mutation")},editEfile(e,a){return je((i=>t.request(A,e,{...a,...i})),"editEfile","mutation")},findEfile(e,a){return je((i=>t.request(b,e,{...a,...i})),"findEfile","query")},listEfiles(e,a){return je((i=>t.request(T,e,{...a,...i})),"listEfiles","query")},addExhaust(e,a){return je((i=>t.request(v,e,{...a,...i})),"addExhaust","mutation")},deleteExhaust(e,a){return je((i=>t.request(q,e,{...a,...i})),"deleteExhaust","mutation")},editExhaust(e,a){return je((i=>t.request(N,e,{...a,...i})),"editExhaust","mutation")},findExhaust(e,a){return je((i=>t.request(k,e,{...a,...i})),"findExhaust","query")},listExhausts(e,a){return je((i=>t.request(L,e,{...a,...i})),"listExhausts","query")},listFeed(e,a){return je((i=>t.request(U,e,{...a,...i})),"listFeed","query")},addInventory(e,a){return je((i=>t.request(C,e,{...a,...i})),"addInventory","mutation")},deleteInventory(e,a){return je((i=>t.request(M,e,{...a,...i})),"deleteInventory","mutation")},editInventory(e,a){return je((i=>t.request(w,e,{...a,...i})),"editInventory","mutation")},findInventory(e,a){return je((i=>t.request(E,e,{...a,...i})),"findInventory","query")},listInventories(e,a){return je((i=>t.request(x,e,{...a,...i})),"listInventories","query")},addInvoice(e,a){return je((i=>t.request(J,e,{...a,...i})),"addInvoice","mutation")},deleteInvoice(e,a){return je((i=>t.request(Q,e,{...a,...i})),"deleteInvoice","mutation")},editInvoice(e,a){return je((i=>t.request(j,e,{...a,...i})),"editInvoice","mutation")},findInvoice(e,a){return je((i=>t.request(G,e,{...a,...i})),"findInvoice","query")},listInvoices(e,a){return je((i=>t.request(D,e,{...a,...i})),"listInvoices","query")},addJob(e,a){return je((i=>t.request(F,e,{...a,...i})),"addJob","mutation")},addUserToJob(e,a){return je((i=>t.request(W,e,{...a,...i})),"addUserToJob","mutation")},deleteJob(e,a){return je((i=>t.request(B,e,{...a,...i})),"deleteJob","mutation")},editJob(e,a){return je((i=>t.request(H,e,{...a,...i})),"editJob","mutation")},findJob(e,a){return je((i=>t.request(O,e,{...a,...i})),"findJob","query")},listJobs(e,a){return je((i=>t.request(z,e,{...a,...i})),"listJobs","query")},removeUserFromJob(e,a){return je((i=>t.request(_,e,{...a,...i})),"removeUserFromJob","mutation")},addLocation(e,a){return je((i=>t.request(R,e,{...a,...i})),"addLocation","mutation")},addUserToLocation(e,a){return je((i=>t.request(K,e,{...a,...i})),"addUserToLocation","mutation")},deleteLocation(e,a){return je((i=>t.request(V,e,{...a,...i})),"deleteLocation","mutation")},editLocation(e,a){return je((i=>t.request(X,e,{...a,...i})),"editLocation","mutation")},findLocation(e,a){return je((i=>t.request(Y,e,{...a,...i})),"findLocation","query")},listLocations(e,a){return je((i=>t.request(Z,e,{...a,...i})),"listLocations","query")},removeUserFromLocation(e,a){return je((i=>t.request(tt,e,{...a,...i})),"removeUserFromLocation","mutation")},searchLocations(e,a){return je((i=>t.request(et,e,{...a,...i})),"searchLocations","query")},listLogs(e,a){return je((i=>t.request(at,e,{...a,...i})),"listLogs","query")},addMoistureContent(e,a){return je((i=>t.request(it,e,{...a,...i})),"addMoistureContent","mutation")},deleteMoistureContent(e,a){return je((i=>t.request(dt,e,{...a,...i})),"deleteMoistureContent","mutation")},editMoistureContent(e,a){return je((i=>t.request(nt,e,{...a,...i})),"editMoistureContent","mutation")},findMoistureContent(e,a){return je((i=>t.request(rt,e,{...a,...i})),"findMoistureContent","query")},listMoistureContents(e,a){return je((i=>t.request(ot,e,{...a,...i})),"listMoistureContents","query")},addNote(e,a){return je((i=>t.request(ut,e,{...a,...i})),"addNote","mutation")},deleteNote(e,a){return je((i=>t.request(st,e,{...a,...i})),"deleteNote","mutation")},editNote(e,a){return je((i=>t.request(lt,e,{...a,...i})),"editNote","mutation")},findNote(e,a){return je((i=>t.request(mt,e,{...a,...i})),"findNote","query")},listNotes(e,a){return je((i=>t.request(ct,e,{...a,...i})),"listNotes","query")},addPayModel(e,a){return je((i=>t.request(pt,e,{...a,...i})),"addPayModel","mutation")},editPayModel(e,a){return je((i=>t.request($t,e,{...a,...i})),"editPayModel","mutation")},findPayModel(e,a){return je((i=>t.request(yt,e,{...a,...i})),"findPayModel","query")},listPayModels(e,a){return je((i=>t.request(ht,e,{...a,...i})),"listPayModels","query")},addPayment(e,a){return je((i=>t.request(gt,e,{...a,...i})),"addPayment","mutation")},listPayments(e,a){return je((i=>t.request(ft,e,{...a,...i})),"listPayments","query")},addPhoneNumber(e,a){return je((i=>t.request(St,e,{...a,...i})),"addPhoneNumber","mutation")},deletePhoneNumber(e,a){return je((i=>t.request(Pt,e,{...a,...i})),"deletePhoneNumber","mutation")},editPhoneNumber(e,a){return je((i=>t.request(It,e,{...a,...i})),"editPhoneNumber","mutation")},findPhoneNumber(e,a){return je((i=>t.request(At,e,{...a,...i})),"findPhoneNumber","query")},listPhoneNumbers(e,a){return je((i=>t.request(bt,e,{...a,...i})),"listPhoneNumbers","query")},addPhoto(e,a){return je((i=>t.request(Tt,e,{...a,...i})),"addPhoto","mutation")},deletePhoto(e,a){return je((i=>t.request(vt,e,{...a,...i})),"deletePhoto","mutation")},editPhoto(e,a){return je((i=>t.request(qt,e,{...a,...i})),"editPhoto","mutation")},findPhoto(e,a){return je((i=>t.request(Nt,e,{...a,...i})),"findPhoto","query")},addPin(e,a){return je((i=>t.request(kt,e,{...a,...i})),"addPin","mutation")},deletePin(e,a){return je((i=>t.request(Lt,e,{...a,...i})),"deletePin","mutation")},findPin(e,a){return je((i=>t.request(Ut,e,{...a,...i})),"findPin","query")},listPins(e,a){return je((i=>t.request(Ct,e,{...a,...i})),"listPins","query")},addService(e,a){return je((i=>t.request(Mt,e,{...a,...i})),"addService","mutation")},deleteService(e,a){return je((i=>t.request(wt,e,{...a,...i})),"deleteService","mutation")},editService(e,a){return je((i=>t.request(Et,e,{...a,...i})),"editService","mutation")},findService(e,a){return je((i=>t.request(xt,e,{...a,...i})),"findService","query")},listServices(e,a){return je((i=>t.request(Jt,e,{...a,...i})),"listServices","query")},addSite(e,a){return je((i=>t.request(Qt,e,{...a,...i})),"addSite","mutation")},deleteSite(e,a){return je((i=>t.request(jt,e,{...a,...i})),"deleteSite","mutation")},editSite(e,a){return je((i=>t.request(Gt,e,{...a,...i})),"editSite","mutation")},findSite(e,a){return je((i=>t.request(Dt,e,{...a,...i})),"findSite","query")},addSupport(e,a){return je((i=>t.request(Ft,e,{...a,...i})),"addSupport","mutation")},deleteSupport(e,a){return je((i=>t.request(Wt,e,{...a,...i})),"deleteSupport","mutation")},editSupport(e,a){return je((i=>t.request(Bt,e,{...a,...i})),"editSupport","mutation")},findSupport(e,a){return je((i=>t.request(Ht,e,{...a,...i})),"findSupport","query")},listSupports(e,a){return je((i=>t.request(Ot,e,{...a,...i})),"listSupports","query")},addTemplate(e,a){return je((i=>t.request(zt,e,{...a,...i})),"addTemplate","mutation")},deleteTemplate(e,a){return je((i=>t.request(_t,e,{...a,...i})),"deleteTemplate","mutation")},editTemplate(e,a){return je((i=>t.request(Rt,e,{...a,...i})),"editTemplate","mutation")},findTemplate(e,a){return je((i=>t.request(Kt,e,{...a,...i})),"findTemplate","query")},listTemplates(e,a){return je((i=>t.request(Vt,e,{...a,...i})),"listTemplates","query")},addTotaller(e,a){return je((i=>t.request(Xt,e,{...a,...i})),"addTotaller","mutation")},calculateTotaller(e,a){return je((i=>t.request(Yt,e,{...a,...i})),"calculateTotaller","mutation")},deleteTotaller(e,a){return je((i=>t.request(Zt,e,{...a,...i})),"deleteTotaller","mutation")},editTotaller(e,a){return je((i=>t.request(te,e,{...a,...i})),"editTotaller","mutation")},findTotaller(e,a){return je((i=>t.request(ee,e,{...a,...i})),"findTotaller","query")},listTotallers(e,a){return je((i=>t.request(ae,e,{...a,...i})),"listTotallers","query")},addTrigger(e,a){return je((i=>t.request(ie,e,{...a,...i})),"addTrigger","mutation")},deleteTrigger(e,a){return je((i=>t.request(de,e,{...a,...i})),"deleteTrigger","mutation")},editTrigger(e,a){return je((i=>t.request(ne,e,{...a,...i})),"editTrigger","mutation")},findTrigger(e,a){return je((i=>t.request(re,e,{...a,...i})),"findTrigger","query")},listTriggers(e,a){return je((i=>t.request(oe,e,{...a,...i})),"listTriggers","query")},addUser(e,a){return je((i=>t.request(ue,e,{...a,...i})),"addUser","mutation")},bulkUpdateUsers(e,a){return je((i=>t.request(se,e,{...a,...i})),"bulkUpdateUsers","mutation")},editUser(e,a){return je((i=>t.request(le,e,{...a,...i})),"editUser","mutation")},findUser(e,a){return je((i=>t.request(me,e,{...a,...i})),"findUser","query")},listUsers(e,a){return je((i=>t.request(ce,e,{...a,...i})),"listUsers","query")},addWeather(e,a){return je((i=>t.request(pe,e,{...a,...i})),"addWeather","mutation")},deleteWeather(e,a){return je((i=>t.request($e,e,{...a,...i})),"deleteWeather","mutation")},editWeather(e,a){return je((i=>t.request(ye,e,{...a,...i})),"editWeather","mutation")},findWeather(e,a){return je((i=>t.request(he,e,{...a,...i})),"findWeather","query")},listWeather(e,a){return je((i=>t.request(ge,e,{...a,...i})),"listWeather","query")},addPaymentMethod(e,a){return je((i=>t.request(fe,e,{...a,...i})),"addPaymentMethod","mutation")},addScopeService(e,a){return je((i=>t.request(Se,e,{...a,...i})),"addScopeService","mutation")},bookJob(e,a){return je((i=>t.request(Pe,e,{...a,...i})),"bookJob","mutation")},createPlaidToken(e,a){return je((i=>t.request(Ie,e,{...a,...i})),"createPlaidToken","mutation")},createQuickbooksAuthUrl(e,a){return je((i=>t.request(Ae,e,{...a,...i})),"createQuickbooksAuthUrl","mutation")},createQuickbooksToken(e,a){return je((i=>t.request(be,e,{...a,...i})),"createQuickbooksToken","mutation")},createStripeAccountLink(e,a){return je((i=>t.request(Te,e,{...a,...i})),"createStripeAccountLink","mutation")},createStripeOAuthToken(e,a){return je((i=>t.request(ve,e,{...a,...i})),"createStripeOAuthToken","mutation")},deleteScopeService(e,a){return je((i=>t.request(qe,e,{...a,...i})),"deleteScopeService","mutation")},editScopeService(e,a){return je((i=>t.request(Ne,e,{...a,...i})),"editScopeService","mutation")},generateGoogleAuthUrl(e,a){return je((i=>t.request(ke,e,{...a,...i})),"generateGoogleAuthUrl","mutation")},generatePayables(e,a){return je((i=>t.request(Le,e,{...a,...i})),"generatePayables","mutation")},generatePdf(e,a){return je((i=>t.request(Ue,e,{...a,...i})),"generatePdf","mutation")},getGoogleAccessToken(e,a){return je((i=>t.request(Ce,e,{...a,...i})),"getGoogleAccessToken","mutation")},importer(e,a){return je((i=>t.request(Me,e,{...a,...i})),"importer","mutation")},sendTemplateEmail(e,a){return je((i=>t.request(we,e,{...a,...i})),"sendTemplateEmail","mutation")},setPlaidAccessToken(e,a){return je((i=>t.request(Ee,e,{...a,...i})),"setPlaidAccessToken","mutation")},signContract(e,a){return je((i=>t.request(xe,e,{...a,...i})),"signContract","mutation")},upload(e,a){return je((i=>t.request(Je,e,{...a,...i})),"upload","mutation")}}}export{je as g};
//# sourceMappingURL=p-1c56d6ca.js.map