import{g as e}from"./index-BZuh4Km3.js";import"./jsx-runtime-C_OVFeGx.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="57010dc7-2a0c-4894-98d1-e5e8668a6ef8",t._sentryDebugIdIdentifier="sentry-dbid-57010dc7-2a0c-4894-98d1-e5e8668a6ef8")}catch{}})();const s=e(`
  fragment UserForUserForm on User {
    id
    email
    first_name
    last_name
    civility
    phone
    address
    zip
    city
    country
    birthday
    created_at
    updated_at
    verified_at
    request_deletion_at
  }
`),i=e(`
  fragment UserWithPolicy on User {
    id
    email
    created_at
    civility
    first_name
    last_name
    verified_at
    user_policy {
      is_god
      policies {
        tenant_id
        weatime_role
      }
    }
  }
`),_=e(`
    query GetUserForAuthProvider($userId: ID!) {
      user(id: $userId) {
        ...UserWithPolicy
        prospectionSettings {
          id
          user_id
        }
      }
    }
  `,[i]),d=e(`
    query GetProfile($id: ID!) {
      user(id: $id) {
        ...UserForUserForm
      }
    }
  `,[s]),l=e(`
    query GetProfileAndProspection($id: ID!) {
      user(id: $id) {
        civility
        first_name
        last_name
        phone
        zip
        prospectionSettings {
          job
          average_daily_rate
          activity_sector
          other_activity_sector
          current_work_status
          other_current_work_status
          currently_working
          parallel_missions
          estimated_monthly_expenses
          estimated_monthly_mileage_expenses
          vehicle_horsepower
          rent_amount
          workplace_area
          maximize_returns
          concierge_services
          car_lease
          daycare
          real_estate_project
          tax_advisor
          non_profit
          full_compensation
          automatic_reserve
        }
      }
    }
  `,[s]),c=e(`
  query SearchTenantUsers(
    $page: Int!
    $size: Int!
    $tenant: ID!
    $filters: [FilterNode!]!
    $sorts: [SortParam!]
  ) {
    tenantUsers(
      page_index: $page
      size: $size
      tenant: $tenant
      filters: $filters
      sorts: $sorts
    ) {
      data {
        id
        user {
          id
          first_name
          last_name
          email
          verified_at
        }
        weatime_role
        has_payroll_info
        archived_at
        matricule_collab_number
      }
      nb_total_results
      hasNextPage
      hasPreviousPage
    }
  }
`);export{d as G,c as S,_ as a,l as b};
