🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@liquid-state/directory-client

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liquid-state/directory-client

Client library for Organisation Directory.

4.3.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

directory-client

A TypeScript client library by Liquid State for the PEP Health Organisation Directory API.

Usage

Install

npm install @liquid-state/directory-client

Import

import OrganisationDirectoryClient from '@liquid-state/directory-client';

const client = new OrganisationDirectoryClient();
await client.getOrganisations('Failed to get the organisations', {
  page: number | string,
  search: string,
});

Create Claim

await client.createClaim('Failed to create claim', {
  organisation: string | null;
  claimed_name: string;
  full_name: string;
  position: string;
  message: string;
  org_exists: boolean;
});

Create Contact Request

await client.createContactRequest('Failed to create contact request', {
  full_name: string;
  email: string;
  message: string;
});

FAQs

Package last updated on 16 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts