npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pp_test_braian

v1.3.0

Published

pp_test-alejovela_v1

Readme

siigo_api

SiigoApi - JavaScript client for siigo_api Siigo Api v1 This SDK is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

Using Node.js

npm install siigo_api --save

Getting Started

Initialization, add only one time in your project setup

With this configuration, the SDK will establish communication with the Siigo APIs, internally it is in charge of obtaining the access token for the calls to the APIs
import * as SiigoApi from 'siigo_api';

// initial configuration for the SDK  
SiigoApi.initialize({
  basePath: "The base URL for call APIs", // https://services.siigo.com/alliances/api
  urlSignIn: "The full url sign-in",       // https://services.siigo.com/alliances/api/siigoapi-users/v1/sign-in
  userName: "The user name to sign-in",   // testname
  accessKey: "The access key to sign-in", // euy3423uykwjehqwuywj
});

Example of use

- calls with promises

import * as SiigoApi from 'siigo_api';

let apiInstance = new SiigoApi.AccountGroupsApi();

apiInstance.getAccountGroups().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

- calls with async await

import * as SiigoApi from 'siigo_api';


async function main(){
  try {
    let apiInstance = new SiigoApi.AccountGroupsApi();
    const data = await apiInstance.getAccountGroups();
    console.log('API called successfully. Returned data: ' + data);
  } catch (error) {
    console.error(error);
  }
}

Documentation for API Endpoints

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- SiigoApi.AccountGroupsApi | getAccountGroups | GET /v1/account-groups | Returns a list of account groups. SiigoApi.CostCenterApi | getCostCenters | GET /v1/cost-centers | Returns a list of cost centers. SiigoApi.CreditNoteApi | createCreditNote | POST /v1/credit-notes | Creates a credit note. SiigoApi.CreditNoteApi | getCreditNote | GET /v1/credit-notes/{id} | Gets the credit note by GUID. SiigoApi.CreditNoteApi | getCreditNotePDF | GET /v1/credit-notes/{id}/pdf | Gets the credit note PDF by GUID. SiigoApi.CreditNoteApi | getCreditNotes | GET /v1/credit-notes | Returns a paginated list of credit notes. SiigoApi.CustomerApi | createCustomer | POST /v1/customers | Creates a customer. SiigoApi.CustomerApi | deleteCustomer | DELETE /v1/customers/{id} | Deletes the customer by GUID. SiigoApi.CustomerApi | getCustomer | GET /v1/customers/{id} | Gets the customer by GUID. SiigoApi.CustomerApi | getCustomers | GET /v1/customers | Returns a paginated list of customers. SiigoApi.CustomerApi | updateCustomer | PUT /v1/customers/{id} | Updates the customer by GUID. SiigoApi.DocumentTypeApi | getDocumentTypes | GET /v1/document-types | Returns a list of document types. SiigoApi.FixedAssetsApi | getAssetGroups | GET /v1/asset-groups | Returns a list of asset groups. SiigoApi.FixedAssetsApi | getFixedAssets | GET /v1/fixed-assets | Returns a list of fixed assets. SiigoApi.InvoiceApi | createInvoice | POST /v1/invoices | Creates an invoice. SiigoApi.InvoiceApi | getElectronicInvoiceErrors | GET /v1/invoices/{id}/stamp/errors | Returns the errors list for a rejected electronic invoice by GUID. SiigoApi.InvoiceApi | getInvoice | GET /v1/invoices/{id} | Gets the invoice by GUID. SiigoApi.InvoiceApi | getInvoicePDF | GET /v1/invoices/{id}/pdf | Gets the invoice PDF by GUID. SiigoApi.InvoiceApi | getInvoices | GET /v1/invoices | Returns a paginated list of invoices. SiigoApi.JournalEntryApi | createJournal | POST /v1/journals | Creates a journal entry. SiigoApi.JournalEntryApi | getJournal | GET /v1/journals/{id} | Gets the journal entry by GUID. SiigoApi.JournalEntryApi | getJournals | GET /v1/journals | Returns a paginated list of journals entries. SiigoApi.PaymentTypesApi | getPaymentTypes | GET /v1/payment-types | Returns a list of payment types. SiigoApi.PriceListsApi | getPriceList | GET /v1/price-lists | Returns a list of price lists. SiigoApi.ProductApi | createProduct | POST /v1/products | Creates a product. SiigoApi.ProductApi | deleteProduct | DELETE /v1/products/{id} | Deletes the product by GUID. SiigoApi.ProductApi | getProduct | GET /v1/products/{id} | Gets the product by GUID. SiigoApi.ProductApi | getProducts | GET /v1/products | Returns a paginated list of products. SiigoApi.ProductApi | updateProduct | PUT /v1/products/{id} | Updates the product by GUID. SiigoApi.TaxesApi | getTaxes | GET /v1/taxes | Returns a list of taxes. SiigoApi.UsersApi | getUsers | GET /v1/users | Returns a paginated list of users. SiigoApi.VoucherApi | createVoucher | POST /v1/vouchers | Creates a voucher. SiigoApi.VoucherApi | getVoucher | GET /v1/vouchers/{id} | Gets the voucher by GUID. SiigoApi.VoucherApi | getVouchers | GET /v1/vouchers | Returns a paginated list of vouchers. SiigoApi.WarehousesApi | getWarehouse | GET /v1/warehouses | Returns a list of warehouse.

Documentation for Models

Documentation for Authorization

Bearer

  • Type: Bearer authentication