4.0.0 • Published 12 months ago

connective-api v4.0.0

Weekly downloads
3
License
LGPL-3.0-or-later
Repository
github
Last release
12 months ago

npm version Build Status Code coverage License

Connective.eu API library

A promise based library for the API of connective.eu with types.

This library is not a product of, nor made by, connective.eu.

Compatibility

Package versionConnective API versioneSignature version
^4.0.0v4v7.4
^3.0.0v4v7.2
^2.0.0v4v7.1
^1.0.0v3v5.5

Usage

This is a simple example of how to create a package and upload a document.

import * as fs from 'fs';
import {Connective} from 'connective-api';

connective = new Connective({
    endpoint: 'https://your-company.connective.eu',
    password: 'your password',
    username: 'your username',
});

const {data: createPackageData} = await connective.packages.create({
    Initiator: 'info@example.com',
    Name: 'package',
    Status: 'Draft',
    Documents: [
        {
            Elements: [],
            Name: 'Test document',
            Language: 'en',
            DocumentOptions: {
                ContentType: 'application/pdf',
                Base64data: documentData.toString('base64'),
            },
        },
    ],
});
4.0.0

12 months ago

4.0.0-rc.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

2.0.0-alpha.3

1 year ago

2.0.0-alpha.0

1 year ago

2.0.0-alpha.1

1 year ago

2.0.0-alpha.2

1 year ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago