> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gusto

> 72 actions available for Gusto through StackOne. Use via Actions RPC, Toolset SDK, MCP, or A2A.

export const GettingStarted = ({connector}) => {
  const linkStyle = {
    textDecoration: 'none'
  };
  const authConfigGuides = connector?.authentication?.filter(a => a?.setupGuide) ?? [];
  const linkAccountGuides = connector?.authentication?.filter(a => a?.configGuide) ?? [];
  return <div style={{
    marginTop: '32px',
    paddingTop: '24px'
  }} className="getting-started-section">
      <div style={{
    fontSize: '20px',
    fontWeight: '600',
    marginBottom: '12px'
  }}>Getting Started</div>
      <Steps>
        <Step title="Create or Select a Project">
          Set up a new project or select an existing one. See the <a href="/guides/managing-projects" style={linkStyle}>Projects Guide</a>.
        </Step>
        <Step title="Configure the Connector">
          <>
            Enable the connector and set up auth configuration in your project. See <a href="/guides/explore-connectors" style={linkStyle}>Managing Connectors</a>.
            {authConfigGuides.length > 0 && <>
              <Columns cols={2}>
                {authConfigGuides.map(auth => <Card title="Auth Config" href={`/${auth.setupGuide}`} icon={connector.icon} horizontal>
                    {connector.name} - {auth.label}
                  </Card>)}
              </Columns> 
              </>}
          </>
        </Step>
        <Step title="Link an Account">
          <>
            Connect an account using <a href="/guides/embedding-stackone-hub" style={linkStyle}>StackOne Hub</a> or <a href="/guides/auth-link" style={linkStyle}>Auth Link</a>.
            {linkAccountGuides.length > 0 && <>
                <Columns cols={2}>
                  {linkAccountGuides.map(auth => <Card title="Link Account" href={`/${auth.configGuide}`} icon={connector.icon} horizontal>
                      {connector.name} - {auth.label}
                    </Card>)}
                </Columns>
              </>}
          </>
        </Step>
        <Step title="Use Actions">
          <>
            Invoke actions using one of the methods below:
            <ul style={{
    marginTop: '8px',
    paddingLeft: '20px'
  }}>
              <li style={{
    marginBottom: '4px'
  }}><a href="/mcp/quickstart" style={linkStyle}>MCP</a> – Model Context Protocol for AI assistants</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/a2a/quickstart" style={linkStyle}>A2A</a> – Agent-to-Agent protocol</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/typescript/introduction" style={linkStyle}>AI Toolset (TypeScript)</a> – TypeScript SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/python/introduction" style={linkStyle}>AI Toolset (Python)</a> – Python SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/platform/api-reference/actions/make-an-rpc-call-to-an-action" style={linkStyle}>Actions RPC</a> – Direct API calls</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/guides/playground" style={linkStyle}>Playground</a> – Test actions in the dashboard</li>
            </ul>
          </>
        </Step>
      </Steps>
    </div>;
};

export const ActionsLibrary = ({search, setSearch, filtered, sharedStyles = {}, KeyCell, ScopesCell, availableScopes, selectedScopes, setSelectedScopes}) => {
  const libraryStyles = {
    section: {
      marginTop: '24px',
      marginBottom: '16px'
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    filterRow: {
      display: 'flex',
      gap: '12px',
      marginBottom: '12px',
      alignItems: 'stretch'
    },
    count: {
      fontSize: '12px',
      marginBottom: '8px'
    },
    tableContainer: {
      maxHeight: '500px',
      overflowY: 'auto',
      overflowX: 'auto',
      borderRadius: '8px',
      fontSize: '13px'
    },
    gridTable: {
      display: 'grid',
      minWidth: '600px',
      gridTemplateColumns: '200px 1fr'
    },
    gridTableWithScopes: {
      gridTemplateColumns: '200px 1fr 150px'
    },
    gridHeader: {
      display: 'contents'
    },
    gridHeaderCell: {
      position: 'sticky',
      top: 0,
      padding: '10px 12px',
      fontWeight: '600',
      zIndex: 1
    },
    gridRow: {
      display: 'contents'
    },
    gridCellAction: {
      padding: '10px 12px',
      fontWeight: '500'
    },
    gridCellKey: {
      padding: '10px 12px'
    },
    gridCellScopes: {
      padding: '10px 12px',
      fontSize: '12px'
    },
    gridCellDescription: {
      padding: '10px 12px'
    }
  };
  const styles = {
    ...libraryStyles,
    ...sharedStyles
  };
  const safeAvailableScopes = Array.isArray(availableScopes) ? availableScopes : [];
  const safeSelectedScopes = Array.isArray(selectedScopes) ? selectedScopes : [];
  const hasScopesColumn = safeAvailableScopes.length > 0;
  const hasScopeFilter = safeAvailableScopes.length > 0 && typeof setSelectedScopes === 'function';
  const ScopesCellComponent = ScopesCell || (() => null);
  return <div style={styles.section}>
      <div style={styles.sectionTitle}>Actions</div>
      <div style={styles.filterRow}>
        <SearchBar value={search} onChange={setSearch} placeholder="Search actions" />
        {hasScopeFilter && <FilterDropdown label="Scopes" items={safeAvailableScopes} selectedItems={safeSelectedScopes} onChange={setSelectedScopes} searchPlaceholder="Search scopes..." emptyLabel="No scopes found" />}
      </div>
      <div style={styles.count} className="actions-library-count">
        {filtered.length === 0 ? '0 actions found' : `${filtered.length} action${filtered.length !== 1 ? 's' : ''}`}
      </div>
      {}
      <div className="not-prose actions-library-table-container" style={styles.tableContainer}>
        <div style={{
    ...hasScopesColumn ? {
      ...styles.gridTable,
      ...styles.gridTableWithScopes
    } : styles.gridTable
  }}>
          {}
          <div style={styles.gridHeader}>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Action</div>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Description</div>
            {hasScopesColumn && <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Required scopes</div>}
          </div>
          {}
          {filtered.map(a => <div key={a.id} style={styles.gridRow}>
              <div style={styles.gridCellAction} className="actions-library-grid-cell">
                <div>{a.label}</div>
                <div style={{
    marginTop: '4px'
  }}>
                  <KeyCell id={a.id} />
                </div>
              </div>
              <div style={styles.gridCellDescription} className="actions-library-grid-cell actions-library-grid-cell--description">{a.description}</div>
              {hasScopesColumn && <div style={styles.gridCellScopes} className="actions-library-grid-cell actions-library-grid-cell--scopes">
                  <ScopesCellComponent scopes={a.requiredScopes} actionId={a.id} />
                </div>}
            </div>)}
        </div>
      </div>
    </div>;
};

export const FilterDropdown = ({label, items, selectedItems, onChange, searchPlaceholder = 'Search...', emptyLabel = 'No items found', formatLabel}) => {
  const [dropdownOpen, setDropdownOpen] = React.useState(false);
  const [search, setSearch] = React.useState('');
  const [hoveredItem, setHoveredItem] = React.useState(null);
  const dropdownRef = React.useRef(null);
  const styles = {
    dropdownContainer: {
      position: 'relative'
    },
    dropdownTrigger: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      padding: '10px 14px',
      borderRadius: '8px',
      fontSize: '14px',
      cursor: 'pointer',
      whiteSpace: 'nowrap',
      minWidth: '160px',
      justifyContent: 'space-between'
    },
    dropdownMenu: {
      position: 'absolute',
      top: '100%',
      right: 0,
      marginTop: '4px',
      borderRadius: '8px',
      zIndex: 50,
      minWidth: '220px',
      maxHeight: '320px',
      display: 'flex',
      flexDirection: 'column'
    },
    dropdownHeader: {
      padding: '8px 12px'
    },
    selectActions: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      marginTop: '6px',
      fontSize: '12px'
    },
    selectActionBtn: {
      background: 'none',
      border: 'none',
      cursor: 'pointer',
      padding: '2px 4px',
      fontSize: '12px'
    },
    dropdownSearchInput: {
      width: '100%',
      padding: '8px 10px',
      borderRadius: '6px',
      fontSize: '13px',
      outline: 'none'
    },
    dropdownList: {
      overflowY: 'auto',
      maxHeight: '220px',
      padding: '4px 0'
    },
    dropdownItem: {
      display: 'flex',
      alignItems: 'center',
      gap: '10px',
      padding: '8px 12px',
      cursor: 'pointer',
      fontSize: '13px',
      transition: 'background-color 0.1s'
    },
    checkbox: {
      width: '16px',
      height: '16px',
      borderRadius: '4px',
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'center',
      flexShrink: 0
    },
    checkmark: {
      color: 'white',
      fontSize: '10px',
      fontWeight: 'bold'
    },
    dropdownFooter: {
      padding: '8px 12px',
      display: 'flex',
      justifyContent: 'space-between',
      alignItems: 'center'
    },
    clearButton: {
      fontSize: '12px',
      cursor: 'pointer',
      padding: '4px 8px',
      borderRadius: '4px',
      border: 'none',
      background: 'none'
    },
    badge: {
      fontSize: '11px',
      fontWeight: '600',
      padding: '2px 6px',
      borderRadius: '10px',
      marginLeft: '4px'
    },
    chevron: {
      fontSize: '10px',
      transition: 'transform 0.15s'
    },
    noResults: {
      padding: '12px',
      textAlign: 'center',
      fontSize: '13px'
    }
  };
  const safeSelected = Array.isArray(selectedItems) ? selectedItems : [];
  const formatItemLabel = item => {
    if (typeof formatLabel === 'function') {
      return formatLabel(item);
    }
    return item;
  };
  const filteredItems = React.useMemo(() => {
    if (!search) return items;
    const searchLower = search.toLowerCase();
    return items.filter(item => {
      const labelText = formatItemLabel(item);
      return labelText.toLowerCase().includes(searchLower);
    });
  }, [items, search, formatLabel]);
  const isSelected = item => safeSelected.includes(item);
  const toggleItem = item => {
    const next = isSelected(item) ? safeSelected.filter(v => v !== item) : [...safeSelected, item];
    onChange(next);
  };
  const clearFilters = () => {
    onChange([]);
  };
  const selectAll = () => {
    onChange(items);
  };
  React.useEffect(() => {
    const handleClickOutside = e => {
      if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {
        setDropdownOpen(false);
        setSearch('');
        setHoveredItem(null);
      }
    };
    document.addEventListener('mousedown', handleClickOutside);
    return () => document.removeEventListener('mousedown', handleClickOutside);
  }, []);
  return <div style={styles.dropdownContainer} ref={dropdownRef}>
      <button type="button" onClick={() => setDropdownOpen(!dropdownOpen)} style={styles.dropdownTrigger} className={`filter-dropdown__trigger${safeSelected.length > 0 ? ' filter-dropdown__trigger--active' : ''}`}>
        <span>
          {label}
          {safeSelected.length > 0 && <span style={styles.badge} className="filter-dropdown__badge">{safeSelected.length}</span>}
        </span>
        <span style={{
    ...styles.chevron,
    transform: dropdownOpen ? 'rotate(180deg)' : 'rotate(0deg)'
  }} className="filter-dropdown__chevron">
          ▼
        </span>
      </button>
      {dropdownOpen && <div style={styles.dropdownMenu} className="filter-dropdown__menu">
          <div style={styles.dropdownHeader} className="filter-dropdown__header">
            <input type="text" placeholder={searchPlaceholder} value={search} onChange={e => setSearch(e.target.value)} style={styles.dropdownSearchInput} className="filter-dropdown__search" autoFocus />
            <div style={styles.selectActions}>
              <button type="button" onClick={selectAll} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Select all
              </button>
              <span className="filter-dropdown__separator">|</span>
              <button type="button" onClick={clearFilters} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Clear
              </button>
            </div>
          </div>
          <div style={styles.dropdownList}>
            {filteredItems.length === 0 ? <div style={styles.noResults} className="filter-dropdown__no-results">{emptyLabel}</div> : filteredItems.map(item => {
    const itemClass = ['filter-dropdown__item', hoveredItem === item ? 'filter-dropdown__item--hovered' : '', isSelected(item) ? 'filter-dropdown__item--selected' : ''].filter(Boolean).join(' ');
    const checkboxClass = `filter-dropdown__checkbox${isSelected(item) ? ' filter-dropdown__checkbox--checked' : ''}`;
    return <div key={item} onClick={() => toggleItem(item)} onMouseEnter={() => setHoveredItem(item)} onMouseLeave={() => setHoveredItem(null)} style={styles.dropdownItem} className={itemClass}>
                    <div style={styles.checkbox} className={checkboxClass}>
                      {isSelected(item) && <span style={styles.checkmark}>✓</span>}
                    </div>
                    <span>{formatItemLabel(item)}</span>
                  </div>;
  })}
          </div>
        </div>}
    </div>;
};

export const SearchBar = ({value, onChange, placeholder = 'Search...'}) => {
  const baseStyle = {
    padding: '10px 14px',
    borderRadius: '8px',
    fontSize: '14px',
    outline: 'none',
    flex: 1,
    minWidth: 0
  };
  return <input type="text" placeholder={placeholder} value={value} onChange={e => onChange(e.target.value)} style={baseStyle} className="search-bar" />;
};

export const ConnectorPage = ({connector}) => {
  const styles = {
    header: {
      display: 'flex',
      alignItems: 'center',
      gap: '12px',
      marginBottom: '24px'
    },
    tagsRow: {
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px',
      marginTop: '8px'
    },
    releaseTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    categoryTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    icon: {
      width: '48px',
      height: '48px',
      borderRadius: '10px',
      padding: '2px'
    },
    title: {
      fontSize: '24px',
      fontWeight: '600'
    },
    subtitle: {
      fontSize: '14px'
    },
    authDescription: {
      fontSize: '14px',
      marginTop: 0
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    codeWrapper: {
      position: 'relative',
      display: 'inline-flex',
      alignItems: 'center',
      maxWidth: '100%',
      cursor: 'pointer',
      overflowX: 'auto',
      overflowY: 'hidden',
      msOverflowStyle: 'none',
      scrollbarWidth: 'none'
    },
    code: {
      padding: '4px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      display: 'inline-block',
      whiteSpace: 'nowrap',
      transition: 'background-color 0.15s'
    },
    tooltip: {
      position: 'absolute',
      top: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      padding: '6px 10px',
      borderRadius: '6px',
      fontSize: '11px',
      whiteSpace: 'nowrap',
      marginTop: '6px',
      zIndex: 50,
      maxWidth: '300px',
      wordBreak: 'break-all'
    },
    tooltipArrow: {
      position: 'absolute',
      bottom: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      borderWidth: '5px',
      borderStyle: 'solid',
      zIndex: 50
    }
  };
  const [search, setSearch] = React.useState('');
  const [copiedId, setCopiedId] = React.useState(null);
  const [selectedScopes, setSelectedScopes] = React.useState([]);
  const availableScopes = React.useMemo(() => {
    const set = new Set();
    connector.actions.forEach(a => {
      if (Array.isArray(a.requiredScopes)) {
        a.requiredScopes.forEach(s => {
          if (s) set.add(s);
        });
      }
    });
    return Array.from(set).sort();
  }, [connector.actions]);
  const filtered = React.useMemo(() => {
    const searchLower = search.toLowerCase();
    return connector.actions.filter(a => {
      const matchesSearch = a.label.toLowerCase().includes(searchLower) || a.description.toLowerCase().includes(searchLower) || a.id.toLowerCase().includes(searchLower);
      if (!matchesSearch) return false;
      if (selectedScopes.length === 0) return true;
      const scopes = Array.isArray(a.requiredScopes) ? a.requiredScopes : [];
      if (scopes.length === 0) return false;
      return selectedScopes.some(scope => scopes.includes(scope));
    });
  }, [connector.actions, search, selectedScopes]);
  const handleImageError = e => {
    e.target.style.display = 'none';
  };
  const formatCategoryLabel = cat => {
    const acronyms = ['ai', 'ats', 'crm', 'hris', 'iam', 'lms'];
    if (acronyms.includes(cat.toLowerCase())) {
      return cat.toUpperCase();
    }
    return cat.replace(/_/g, ' ').replace(/\b\w/g, c => c.toUpperCase());
  };
  const ReleaseTag = () => {
    if (!connector.releaseStage || connector.releaseStage === 'ga') return null;
    const variantClass = connector.releaseStage === 'beta' ? 'connector-page-tag-beta' : 'connector-page-tag-preview';
    return <span style={styles.releaseTag} className={variantClass}>
        {connector.releaseStage.charAt(0).toUpperCase() + connector.releaseStage.slice(1)}
      </span>;
  };
  const CategoryTags = () => {
    if (!connector.categories || connector.categories.length === 0) return null;
    return <>
        {connector.categories.map(cat => <span key={cat} style={styles.categoryTag} className="connector-page-category-tag">
            {formatCategoryLabel(cat)}
          </span>)}
      </>;
  };
  const copyToClipboard = async (text, id) => {
    try {
      await navigator.clipboard.writeText(text);
      setCopiedId(id);
      setTimeout(() => setCopiedId(null), 1500);
    } catch (err) {
      console.error('Failed to copy:', err);
    }
  };
  const CopyChip = ({text, copyId}) => {
    const [isHovered, setIsHovered] = React.useState(false);
    const isCopied = copiedId === copyId;
    if (!text) {
      return null;
    }
    const codeClassName = `connector-page-code${isCopied ? ' connector-page-code--copied' : ''}`;
    return <div style={styles.codeWrapper} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} onClick={() => copyToClipboard(text, copyId)} title="">
        {(isHovered || isCopied) && <div style={styles.tooltip} className="connector-page-tooltip">
            {isCopied ? '✓ Copied!' : 'Click to copy'}
            <div style={styles.tooltipArrow} className="connector-page-tooltip-arrow" />
          </div>}
        <code style={styles.code} className={codeClassName}>
          {text}
        </code>
      </div>;
  };
  const KeyCell = ({id}) => <CopyChip text={id} copyId={id} />;
  const ScopesCell = ({scopes, actionId}) => {
    const scopeList = Array.isArray(scopes) ? scopes.filter(Boolean) : [];
    if (scopeList.length === 0) return null;
    return <div style={{
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px'
    }}>
        {scopeList.map(scope => <CopyChip key={scope} text={scope} copyId={`scopes:${actionId}:${scope}`} />)}
      </div>;
  };
  return <div>
      {}
      <div style={styles.header}>
        <img src={connector.icon} alt={connector.name} style={styles.icon} className="connector-page-icon" onError={handleImageError} />
        <div>
          <div style={styles.title}>{connector.name}</div>
          <div style={styles.subtitle} className="connector-page-subtitle">
            {connector.actions.length} actions · {connector.authentication.length} auth method{connector.authentication.length !== 1 ? 's' : ''}
          </div>
          {connector.releaseStage && connector.releaseStage !== 'ga' || connector.categories && connector.categories.length > 0 ? <div style={styles.tagsRow}>
              <ReleaseTag />
              <CategoryTags />
            </div> : null}
        </div>
      </div>

      {}
      <div style={styles.sectionTitle}>Authentication</div>
      <Columns cols={2}>        
        {connector.authentication.length > 0 ? connector.authentication.map(auth => {
    const authLabel = auth?.label || '';
    const authDescription = auth?.description;
    const configGuide = auth?.configGuide;
    const setupGuide = auth?.setupGuide;
    const hasConfigGuide = !!configGuide;
    const hasSetupGuide = !!setupGuide;
    const hasAnyGuide = hasConfigGuide || hasSetupGuide;
    return <Card key={authLabel} title={authLabel}>
                {authDescription && <p style={{
      ...styles.authDescription,
      marginBottom: hasAnyGuide ? '8px' : 0
    }} className="connector-page-auth-description">
                    {authDescription}
                  </p>}
                {hasAnyGuide && <span style={{
      fontSize: '14px'
    }}>
                    Guides: {hasSetupGuide && <a href={`/${setupGuide}`} style={{
      textDecoration: 'none'
    }}>Auth Config</a>}
                    {hasConfigGuide && hasSetupGuide && ', '}
                    {hasConfigGuide && <a href={`/${configGuide}`} style={{
      textDecoration: 'none'
    }}>Link Account</a>}
                  </span>}
              </Card>;
  }) : <>
            Contact StackOne for authentication details.
          </>}
      </Columns>

      <ActionsLibrary search={search} setSearch={setSearch} filtered={filtered} sharedStyles={{
    sectionTitle: styles.sectionTitle
  }} KeyCell={KeyCell} ScopesCell={ScopesCell} availableScopes={availableScopes} selectedScopes={selectedScopes} setSelectedScopes={setSelectedScopes} />

      <GettingStarted connector={connector} />

      {connector.documentation?.references?.length > 0 && <>
          <div style={styles.sectionTitle}>References</div>
          <Columns cols={2}>
            {connector.documentation.references.map(ref => {
    let safeHref;
    try {
      const parsed = new URL(ref.url);
      safeHref = parsed.protocol === 'http:' || parsed.protocol === 'https:' ? ref.url : undefined;
    } catch {
      safeHref = undefined;
    }
    return <Card key={`${ref.title}-${ref.url}`} title={ref.title} href={safeHref}>
                  {ref.description}
                </Card>;
  })}
          </Columns>
        </>}

    </div>;
};

export const connector = {
  "key": "gusto",
  "name": "Gusto",
  "icon": "https://stackone-logos.com/api/gusto/filled/png",
  "authentication": [{
    "label": "OAuth 2.0",
    "description": "The steps in this guide require Admin Payroll Role privileges in your Gusto account.",
    "configGuide": "connectors/gusto/guides/link-account/oauth-2-0",
    "setupGuide": "connectors/gusto/guides/auth-config/oauth-2-0"
  }],
  "actions": [{
    "id": "gusto_get_company",
    "label": "Get Company",
    "description": "Get details of a specific company",
    "requiredScopes": ["companies:read"]
  }, {
    "id": "gusto_list_employees",
    "label": "List Employees",
    "description": "Get all employees for a company",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_get_employee",
    "label": "Get Employee",
    "description": "Get details of a specific employee",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_create_employee",
    "label": "Create Employee",
    "description": "Create a new employee",
    "requiredScopes": ["employees:manage"]
  }, {
    "id": "gusto_update_employee",
    "label": "Update Employee",
    "description": "Update an employee",
    "requiredScopes": ["employees:write"]
  }, {
    "id": "gusto_list_employee_home_addresses",
    "label": "List Employee Home Addresses",
    "description": "Get all home addresses for an employee",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_get_home_address",
    "label": "Get Home Address",
    "description": "Get a specific home address",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_create_employee_home_address",
    "label": "Create Employee Home Address",
    "description": "Create a home address for an employee",
    "requiredScopes": ["employees:write"]
  }, {
    "id": "gusto_update_home_address",
    "label": "Update Home Address",
    "description": "Update an employee's home address",
    "requiredScopes": ["employees:write"]
  }, {
    "id": "gusto_delete_home_address",
    "label": "Delete Home Address",
    "description": "Delete an employee's home address",
    "requiredScopes": ["employees:write"]
  }, {
    "id": "gusto_list_employee_work_addresses",
    "label": "List Employee Work Addresses",
    "description": "Get all work addresses for an employee",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_get_work_address",
    "label": "Get Work Address",
    "description": "Get a specific work address",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_create_employee_work_address",
    "label": "Create Employee Work Address",
    "description": "Create a work address for an employee",
    "requiredScopes": ["employees:manage"]
  }, {
    "id": "gusto_update_work_address",
    "label": "Update Work Address",
    "description": "Update an employee's work address",
    "requiredScopes": ["employees:manage"]
  }, {
    "id": "gusto_delete_work_address",
    "label": "Delete Work Address",
    "description": "Delete an employee's work address",
    "requiredScopes": ["employees:manage"]
  }, {
    "id": "gusto_get_employee_custom_fields",
    "label": "Get Employee Custom Fields",
    "description": "Get custom field values for an employee",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_get_employee_employment_history",
    "label": "Get Employee Employment History",
    "description": "Get employment history for an employee",
    "requiredScopes": ["employees:read"]
  }, {
    "id": "gusto_terminate_employee",
    "label": "Terminate Employee",
    "description": "Terminate an employee",
    "requiredScopes": ["employees:manage"]
  }, {
    "id": "gusto_list_contractors",
    "label": "List Contractors",
    "description": "Get all contractors for a company",
    "requiredScopes": ["contractors:read"]
  }, {
    "id": "gusto_get_contractor",
    "label": "Get Contractor",
    "description": "Get details of a specific contractor",
    "requiredScopes": ["contractors:read"]
  }, {
    "id": "gusto_create_contractor",
    "label": "Create Contractor",
    "description": "Create a new contractor for the company",
    "requiredScopes": ["contractors:manage"]
  }, {
    "id": "gusto_update_contractor",
    "label": "Update Contractor",
    "description": "Update a contractor's information",
    "requiredScopes": ["contractors:write"]
  }, {
    "id": "gusto_delete_contractor",
    "label": "Delete Contractor",
    "description": "Delete a contractor",
    "requiredScopes": ["contractors:manage"]
  }, {
    "id": "gusto_list_company_payrolls",
    "label": "List Company Payrolls",
    "description": "Get all payrolls for a company",
    "requiredScopes": ["payrolls:read"]
  }, {
    "id": "gusto_get_payroll",
    "label": "Get Payroll",
    "description": "Get details of a specific payroll",
    "requiredScopes": ["payrolls:read"]
  }, {
    "id": "gusto_create_off_cycle_payroll",
    "label": "Create Off-Cycle Payroll",
    "description": "Create a new off-cycle payroll",
    "requiredScopes": ["payrolls:run"]
  }, {
    "id": "gusto_delete_payroll",
    "label": "Delete Payroll",
    "description": "Delete an unprocessed payroll",
    "requiredScopes": ["payrolls:run"]
  }, {
    "id": "gusto_list_company_locations",
    "label": "List Company Locations",
    "description": "Get all locations for a company",
    "requiredScopes": ["companies:read"]
  }, {
    "id": "gusto_get_location",
    "label": "Get Location",
    "description": "Get details of a specific location",
    "requiredScopes": ["companies:read"]
  }, {
    "id": "gusto_create_company_location",
    "label": "Create Company Location",
    "description": "Create a new company location",
    "requiredScopes": ["companies:write"]
  }, {
    "id": "gusto_update_location",
    "label": "Update Location",
    "description": "Update an existing location",
    "requiredScopes": ["companies:write"]
  }, {
    "id": "gusto_list_departments",
    "label": "List Departments",
    "description": "Get all departments for a company",
    "requiredScopes": ["departments:read"]
  }, {
    "id": "gusto_get_department",
    "label": "Get Department",
    "description": "Get details of a specific department",
    "requiredScopes": ["departments:read"]
  }, {
    "id": "gusto_create_department",
    "label": "Create Department",
    "description": "Create a new department for the company",
    "requiredScopes": ["departments:write"]
  }, {
    "id": "gusto_update_department",
    "label": "Update Department",
    "description": "Update an existing department",
    "requiredScopes": ["departments:write"]
  }, {
    "id": "gusto_delete_department",
    "label": "Delete Department",
    "description": "Delete a department",
    "requiredScopes": ["departments:write"]
  }, {
    "id": "gusto_list_employee_jobs",
    "label": "List Employee Jobs",
    "description": "Get all jobs for an employee",
    "requiredScopes": ["jobs:read"]
  }, {
    "id": "gusto_get_job",
    "label": "Get Job",
    "description": "Get details of a specific job",
    "requiredScopes": ["jobs:read"]
  }, {
    "id": "gusto_create_job",
    "label": "Create Job",
    "description": "Create a new job for an employee",
    "requiredScopes": ["jobs:write"]
  }, {
    "id": "gusto_update_job",
    "label": "Update Job",
    "description": "Update an existing job",
    "requiredScopes": ["jobs:write"]
  }, {
    "id": "gusto_delete_job",
    "label": "Delete Job",
    "description": "Delete a job",
    "requiredScopes": ["jobs:write"]
  }, {
    "id": "gusto_list_job_compensations",
    "label": "List Job Compensations",
    "description": "Get all compensations for a job",
    "requiredScopes": ["compensations:read"]
  }, {
    "id": "gusto_get_compensation",
    "label": "Get Compensation",
    "description": "Get details of a specific compensation",
    "requiredScopes": ["compensations:read"]
  }, {
    "id": "gusto_create_compensation",
    "label": "Create Compensation",
    "description": "Create a new compensation for a job",
    "requiredScopes": ["compensations:write"]
  }, {
    "id": "gusto_update_compensation",
    "label": "Update Compensation",
    "description": "Update an existing compensation",
    "requiredScopes": ["compensations:write"]
  }, {
    "id": "gusto_delete_compensation",
    "label": "Delete Compensation",
    "description": "Delete a compensation",
    "requiredScopes": ["compensations:write"]
  }, {
    "id": "gusto_list_company_benefits",
    "label": "List Company Benefits",
    "description": "Get all benefits for a company",
    "requiredScopes": ["company_benefits:read"]
  }, {
    "id": "gusto_get_company_benefit",
    "label": "Get Company Benefit",
    "description": "Get details of a specific company benefit",
    "requiredScopes": ["company_benefits:read"]
  }, {
    "id": "gusto_update_company_benefit",
    "label": "Update Company Benefit",
    "description": "Update an existing company benefit",
    "requiredScopes": ["company_benefits:write"]
  }, {
    "id": "gusto_list_employee_benefits",
    "label": "List Employee Benefits",
    "description": "Get all benefits for an employee",
    "requiredScopes": ["employee_benefits:read"]
  }, {
    "id": "gusto_get_employee_benefit",
    "label": "Get Employee Benefit",
    "description": "Get details of a specific employee benefit enrollment",
    "requiredScopes": ["employee_benefits:read"]
  }, {
    "id": "gusto_create_employee_benefit",
    "label": "Create Employee Benefit",
    "description": "Enroll an employee in a company benefit",
    "requiredScopes": ["employee_benefits:write"]
  }, {
    "id": "gusto_update_employee_benefit",
    "label": "Update Employee Benefit",
    "description": "Update an employee's benefit enrollment",
    "requiredScopes": ["employee_benefits:write"]
  }, {
    "id": "gusto_delete_employee_benefit",
    "label": "Delete Employee Benefit",
    "description": "Remove an employee from a benefit enrollment",
    "requiredScopes": ["employee_benefits:write"]
  }, {
    "id": "gusto_list_company_bank_accounts",
    "label": "List Company Bank Accounts",
    "description": "Get all bank accounts for a company",
    "requiredScopes": ["company_bank_accounts:read"]
  }, {
    "id": "gusto_create_company_bank_account",
    "label": "Create Company Bank Account",
    "description": "Create a new company bank account",
    "requiredScopes": ["company_bank_accounts:write"]
  }, {
    "id": "gusto_verify_company_bank_account",
    "label": "Verify Company Bank Account",
    "description": "Verify a company bank account using micro-deposits",
    "requiredScopes": ["company_bank_accounts:write"]
  }, {
    "id": "gusto_delete_company_bank_account",
    "label": "Delete Company Bank Account",
    "description": "Disable a company bank account",
    "requiredScopes": ["company_bank_accounts:write"]
  }, {
    "id": "gusto_list_pay_schedules",
    "label": "List Pay Schedules",
    "description": "Get all pay schedules for a company",
    "requiredScopes": ["payrolls:read"]
  }, {
    "id": "gusto_get_pay_schedule",
    "label": "Get Pay Schedule",
    "description": "Get details of a specific pay schedule",
    "requiredScopes": ["payrolls:read"]
  }, {
    "id": "gusto_create_pay_schedule",
    "label": "Create Pay Schedule",
    "description": "Create a new pay schedule for the company",
    "requiredScopes": ["payrolls:write"]
  }, {
    "id": "gusto_update_pay_schedule",
    "label": "Update Pay Schedule",
    "description": "Update an existing pay schedule",
    "requiredScopes": ["payrolls:write"]
  }, {
    "id": "gusto_list_time_off_policies",
    "label": "List Time Off Policies",
    "description": "Get all time off policies for a company",
    "requiredScopes": ["time_off_policies:read"]
  }, {
    "id": "gusto_get_time_off_policy",
    "label": "Get Time Off Policy",
    "description": "Get details of a specific time off policy",
    "requiredScopes": ["time_off_policies:read"]
  }, {
    "id": "gusto_create_time_off_policy",
    "label": "Create Time Off Policy",
    "description": "Create a new time off policy for the company",
    "requiredScopes": ["time_off_policies:write"]
  }, {
    "id": "gusto_update_time_off_policy",
    "label": "Update Time Off Policy",
    "description": "Update an existing time off policy",
    "requiredScopes": ["time_off_policies:write"]
  }, {
    "id": "gusto_add_employees_to_time_off_policy",
    "label": "Add Employees To Time Off Policy",
    "description": "Add employees to a time off policy",
    "requiredScopes": ["time_off_policies:write"]
  }, {
    "id": "gusto_update_time_off_balances",
    "label": "Update Employee Time Off Balances",
    "description": "Update time off balances for employees on a policy",
    "requiredScopes": ["time_off_policies:write"]
  }, {
    "id": "gusto_list_company_attachments",
    "label": "List Company Attachments",
    "description": "List all attachments for a company",
    "requiredScopes": ["company_attachments:read"]
  }, {
    "id": "gusto_get_company_attachment",
    "label": "Get Company Attachment",
    "description": "Get a specific company attachment by UUID",
    "requiredScopes": ["company_attachments:read"]
  }, {
    "id": "gusto_upload_company_attachment",
    "label": "Upload Company Attachment",
    "description": "Upload a file as a company attachment",
    "requiredScopes": ["company_attachments:write"]
  }, {
    "id": "gusto_get_company_attachment_download_url",
    "label": "Get Company Attachment Download URL",
    "description": "Get a temporary download URL for a company attachment",
    "requiredScopes": ["company_attachments:read"]
  }],
  "releaseStage": "ga",
  "categories": ["hris"],
  "scopeDefinitions": [{
    "name": "company_bank_accounts:write",
    "description": "Allow creating, verifying, and deleting company bank accounts",
    "includes": ["company_bank_accounts:read"]
  }, {
    "name": "company_bank_accounts:read",
    "description": "Allow reading company bank accounts"
  }, {
    "name": "companies:write",
    "description": "Allow creating and updating company information and locations",
    "includes": ["companies:read"]
  }, {
    "name": "companies:read",
    "description": "Allow reading company information and locations"
  }, {
    "name": "departments:write",
    "description": "Allow creating, updating, and deleting departments",
    "includes": ["departments:read"]
  }, {
    "name": "departments:read",
    "description": "Allow reading departments"
  }, {
    "name": "company_benefits:write",
    "description": "Allow creating, updating, and deleting company benefits",
    "includes": ["company_benefits:read"]
  }, {
    "name": "company_benefits:read",
    "description": "Allow reading company benefits"
  }, {
    "name": "employee_benefits:write",
    "description": "Allow creating, updating, and deleting employee benefits",
    "includes": ["employee_benefits:read"]
  }, {
    "name": "employee_benefits:read",
    "description": "Allow reading employee benefits"
  }, {
    "name": "contractors:manage",
    "description": "Allow creating and deleting contractors",
    "includes": ["contractors:write"]
  }, {
    "name": "contractors:write",
    "description": "Allow updating contractors",
    "includes": ["contractors:read"]
  }, {
    "name": "contractors:read",
    "description": "Allow reading contractors"
  }, {
    "name": "payrolls:run",
    "description": "Allow running payrolls and creating contractor payments",
    "includes": ["payrolls:write"]
  }, {
    "name": "payrolls:write",
    "description": "Allow creating and updating earning types",
    "includes": ["payrolls:read"]
  }, {
    "name": "payrolls:read",
    "description": "Allow reading payrolls and earning types"
  }, {
    "name": "employees:manage",
    "description": "Allow creating and deleting employees",
    "includes": ["employees:write"]
  }, {
    "name": "employees:write",
    "description": "Allow updating employees and their addresses",
    "includes": ["employees:read"]
  }, {
    "name": "employees:read",
    "description": "Allow reading employees and their information"
  }, {
    "name": "jobs:write",
    "description": "Allow creating, updating, and deleting jobs",
    "includes": ["jobs:read"]
  }, {
    "name": "jobs:read",
    "description": "Allow reading jobs and compensation information"
  }, {
    "name": "compensations:write",
    "description": "Allow creating, updating, and deleting compensations",
    "includes": ["compensations:read"]
  }, {
    "name": "compensations:read",
    "description": "Allow reading compensation information"
  }, {
    "name": "time_off_policies:write",
    "description": "Allow creating, updating, and managing time off policies",
    "includes": ["time_off_policies:read"]
  }, {
    "name": "time_off_policies:read",
    "description": "Allow reading time off policies"
  }, {
    "name": "company_attachments:write",
    "description": "Allow uploading company attachments",
    "includes": ["company_attachments:read"]
  }, {
    "name": "company_attachments:read",
    "description": "Allow reading and downloading company attachments"
  }]
};

<ConnectorPage connector={connector} />
