1.0.12 • Published 14 days ago

@maykoncapellari/netsuite v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days 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

14 days ago

1.0.12

14 days ago

1.0.9

1 month ago

1.0.10

1 month ago

1.0.8

1 month ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.3

2 months ago

1.0.0

2 months ago