2.1.0 • Published 4 years ago

@pi-team-mn/frontoffice-client v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

FrontOffice Client

A client library to talk to frontoffice

Example

import { envkey } from '@pi-team-mn/envkey/lib/envkey';
import { Configuration, ConfigurationParameters, PersoonsgegevensApiFp } from '@pi-team-mn/frontoffice-client';

function buildPersoonsGegevensApi() {
    // get params
    const baseurl = envkey('FO_URL');
    const username = 'MDTPI';
    const password = envkey('FO_PASSWORD');

    // Build configuration instance
    const configParams: ConfigurationParameters = {
        username,
        basePath: baseurl,
        password
    };
    const config = new Configuration(configParams);

    // return
    return PersoonsgegevensApiFp(config);
}
2.1.0

4 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago