
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@buyborghi/swagger-js-client
Advanced tools
SwaggerJsClient - JavaScript client for swagger-js-client No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:
Please follow the installation instruction and execute the following JS code:
var SwaggerJsClient = require('swagger-js-client');
var api = new SwaggerJsClient.CompaniesApi()
var townId = "townId_example"; // {String} A unique identifier used to identify the town.
var companyId = "companyId_example"; // {String} A unique identifier used to identify the company.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.townsTownIdCompaniesCompanyIdCouponsGet(townId, companyId, callback);
All URIs are relative to https://localhost/buyborghi-api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
SwaggerJsClient.CompaniesApi | townsTownIdCompaniesCompanyIdCouponsGet | GET /towns/{townId}/companies/{companyId}/coupons | Get coupons made by the company |
SwaggerJsClient.CompaniesApi | townsTownIdCompaniesCompanyIdEventsGet | GET /towns/{townId}/companies/{companyId}/events | Get events organized by the company |
SwaggerJsClient.CompaniesApi | townsTownIdCompaniesCompanyIdGet | GET /towns/{townId}/companies/{companyId} | Get company's details |
SwaggerJsClient.CompaniesApi | townsTownIdCompaniesGet | GET /towns/{townId}/companies | Get companies related to the town |
SwaggerJsClient.CouponsApi | townsTownIdCompaniesCompanyIdCouponsGet | GET /towns/{townId}/companies/{companyId}/coupons | Get coupons made by the company |
SwaggerJsClient.CouponsApi | townsTownIdCouponsCouponIdGet | GET /towns/{townId}/coupons/{couponId} | Get coupons's details |
SwaggerJsClient.CouponsApi | townsTownIdCouponsGet | GET /towns/{townId}/coupons | Get coupons related to the town |
SwaggerJsClient.EventsApi | townsTownIdCompaniesCompanyIdEventsGet | GET /towns/{townId}/companies/{companyId}/events | Get events organized by the company |
SwaggerJsClient.EventsApi | townsTownIdEventsEventIdGet | GET /towns/{townId}/events/{eventId} | Get event's details |
SwaggerJsClient.EventsApi | townsTownIdEventsGet | GET /towns/{townId}/events | Get events related to the town |
SwaggerJsClient.InfoApi | helpGet | GET /help | Send general informations, contacts and FAQ |
SwaggerJsClient.InfoApi | townsTownIdHistoricalInfosGet | GET /towns/{townId}/historicalInfos | Get historical informations about the town |
SwaggerJsClient.InfoApi | townsTownIdInstitutionalInfosGet | GET /towns/{townId}/institutionalInfos | Get institutional informations about the town |
SwaggerJsClient.PlacesApi | townsTownIdPlacesGet | GET /towns/{townId}/places | Get places related to the town |
SwaggerJsClient.PlacesApi | townsTownIdPlacesPlaceIdGet | GET /towns/{townId}/places/{placeId} | Get event's details |
SwaggerJsClient.PostApi | reportingsPost | POST /reportings | Send abuses and/or reports |
SwaggerJsClient.PostApi | townsPost | POST /towns | Add town Geo-coordinates |
SwaggerJsClient.TownsApi | townsGet | GET /towns | Town list |
SwaggerJsClient.TownsApi | townsPost | POST /towns | Add town Geo-coordinates |
SwaggerJsClient.TownsApi | townsTownIdCompaniesCompanyIdCouponsGet | GET /towns/{townId}/companies/{companyId}/coupons | Get coupons made by the company |
SwaggerJsClient.TownsApi | townsTownIdCompaniesCompanyIdEventsGet | GET /towns/{townId}/companies/{companyId}/events | Get events organized by the company |
SwaggerJsClient.TownsApi | townsTownIdCompaniesCompanyIdGet | GET /towns/{townId}/companies/{companyId} | Get company's details |
SwaggerJsClient.TownsApi | townsTownIdCompaniesGet | GET /towns/{townId}/companies | Get companies related to the town |
SwaggerJsClient.TownsApi | townsTownIdCouponsCouponIdGet | GET /towns/{townId}/coupons/{couponId} | Get coupons's details |
SwaggerJsClient.TownsApi | townsTownIdCouponsGet | GET /towns/{townId}/coupons | Get coupons related to the town |
SwaggerJsClient.TownsApi | townsTownIdElementsGet | GET /towns/{townId}/elements | Find elements of any type |
SwaggerJsClient.TownsApi | townsTownIdEventsEventIdGet | GET /towns/{townId}/events/{eventId} | Get event's details |
SwaggerJsClient.TownsApi | townsTownIdEventsGet | GET /towns/{townId}/events | Get events related to the town |
SwaggerJsClient.TownsApi | townsTownIdGet | GET /towns/{townId} | Get town's details |
SwaggerJsClient.TownsApi | townsTownIdPlacesGet | GET /towns/{townId}/places | Get places related to the town |
SwaggerJsClient.TownsApi | townsTownIdPlacesPlaceIdGet | GET /towns/{townId}/places/{placeId} | Get event's details |
SwaggerJsClient.WelcomeApi | welcomeGet | GET /welcome | Check if user is phisically in town |
All endpoints do not require authorization.
FAQs
ERROR_UNKNOWN
We found that @buyborghi/swagger-js-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.