1.0.12 • Published 1 year ago

@maykoncapellari/netsuite v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

netsuite

NetSuite module to helps to manage the requests and download files from File Cabinet

Installing

Install globally:

npm install -g @maykoncapellari/netsuite

Using

Import in NodeJS script:

import { NetSuiteService } from '@maykoncapellari/netsuite';

const nsService = new NetSuiteService({ ...params });
await nsService.signIn();
const invoices = await nsService.requestGet('/record/v1/invoice');
console.log(invoices);
const files = await nsService.executeSuiteQl(`SELECT * FROM MediaItemFolder WHERE id = '1253'`);
console.info(files);
const downloadFileInfo = await nsService.downloadFile(524171, './');
await nsService.logout();
1.0.11

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago