@unified-api/angular-directory
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Unified.to's Integrations Directory Component for Angular

Example

// app.component.ts or in the component you want to use it
import { UnifiedDirectory } from '@unified-api/angular-directory';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet, UnifiedDirectory],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css',
})
// app.component.html or in the template you want to use it
<unified-directory workspace_id="abc123def456"></unified-directory>

The following properties can be passed to the component as inputs:

{
    workspace_id: string;    // your workspace_id found at https://app.unified.to/settings/api
    categories?: string[];  // An array of integration categories to limit the list of integrations (crm, ats, hr, uc,. ticketing, martech)
    external_xref?: string; // Your ID for the account/user that is signed into your application
    state?: string;         // A state string that will be sent back to your success URL
    scopes?: string[];      // An array of Unified.to permission scopes to request from OAUTH2-based integrations found at https://unified.to/apidocs#unified_object_connection
    success_redirect?: string;  // The URL where you want the user to be redirect to after a successful authentication. The Integration ID will be appended with (id=) to this URL, as will the state provided
    failure_redirect?: string;  // The URL where you want the user to be redirect to after an unsuccessful or aborted authorization.  An 'error' variable will be appended.
    nostyle?: boolean;
    environment?: string;   // The development environment (Eg. Production, Sandbox, ...)
    lang?: string;          // The language for the API Key authorization page.  (en, fr, es, it, pt, hi, zh)
    notabs?: boolean;       // Do not display tabs in the embedded directory
    nocategories?: boolean; // Do not display category badges for each integration
    dc?: 'us'|'eu';         // data-region
}

Readme

Keywords

none

Package Sidebar

Install

npm i @unified-api/angular-directory

Weekly Downloads

2

Version

1.0.8

License

none

Unpacked Size

110 kB

Total Files

14

Last publish

Collaborators

  • alkasai
  • roymap