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