1.1.2 • Published 4 years ago

@buyborghi/swagger-js-client v1.1.2

Weekly downloads
3
License
Unlicense
Repository
gitlab
Last release
4 years ago

swagger-js-client

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:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Getting Started

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);

Documentation for API Endpoints

All URIs are relative to https://localhost/buyborghi-api/v1

ClassMethodHTTP requestDescription
SwaggerJsClient.CompaniesApitownsTownIdCompaniesCompanyIdCouponsGetGET /towns/{townId}/companies/{companyId}/couponsGet coupons made by the company
SwaggerJsClient.CompaniesApitownsTownIdCompaniesCompanyIdEventsGetGET /towns/{townId}/companies/{companyId}/eventsGet events organized by the company
SwaggerJsClient.CompaniesApitownsTownIdCompaniesCompanyIdGetGET /towns/{townId}/companies/{companyId}Get company's details
SwaggerJsClient.CompaniesApitownsTownIdCompaniesGetGET /towns/{townId}/companiesGet companies related to the town
SwaggerJsClient.CouponsApitownsTownIdCompaniesCompanyIdCouponsGetGET /towns/{townId}/companies/{companyId}/couponsGet coupons made by the company
SwaggerJsClient.CouponsApitownsTownIdCouponsCouponIdGetGET /towns/{townId}/coupons/{couponId}Get coupons's details
SwaggerJsClient.CouponsApitownsTownIdCouponsGetGET /towns/{townId}/couponsGet coupons related to the town
SwaggerJsClient.EventsApitownsTownIdCompaniesCompanyIdEventsGetGET /towns/{townId}/companies/{companyId}/eventsGet events organized by the company
SwaggerJsClient.EventsApitownsTownIdEventsEventIdGetGET /towns/{townId}/events/{eventId}Get event's details
SwaggerJsClient.EventsApitownsTownIdEventsGetGET /towns/{townId}/eventsGet events related to the town
SwaggerJsClient.InfoApihelpGetGET /helpSend general informations, contacts and FAQ
SwaggerJsClient.InfoApitownsTownIdHistoricalInfosGetGET /towns/{townId}/historicalInfosGet historical informations about the town
SwaggerJsClient.InfoApitownsTownIdInstitutionalInfosGetGET /towns/{townId}/institutionalInfosGet institutional informations about the town
SwaggerJsClient.PlacesApitownsTownIdPlacesGetGET /towns/{townId}/placesGet places related to the town
SwaggerJsClient.PlacesApitownsTownIdPlacesPlaceIdGetGET /towns/{townId}/places/{placeId}Get event's details
SwaggerJsClient.PostApireportingsPostPOST /reportingsSend abuses and/or reports
SwaggerJsClient.PostApitownsPostPOST /townsAdd town Geo-coordinates
SwaggerJsClient.TownsApitownsGetGET /townsTown list
SwaggerJsClient.TownsApitownsPostPOST /townsAdd town Geo-coordinates
SwaggerJsClient.TownsApitownsTownIdCompaniesCompanyIdCouponsGetGET /towns/{townId}/companies/{companyId}/couponsGet coupons made by the company
SwaggerJsClient.TownsApitownsTownIdCompaniesCompanyIdEventsGetGET /towns/{townId}/companies/{companyId}/eventsGet events organized by the company
SwaggerJsClient.TownsApitownsTownIdCompaniesCompanyIdGetGET /towns/{townId}/companies/{companyId}Get company's details
SwaggerJsClient.TownsApitownsTownIdCompaniesGetGET /towns/{townId}/companiesGet companies related to the town
SwaggerJsClient.TownsApitownsTownIdCouponsCouponIdGetGET /towns/{townId}/coupons/{couponId}Get coupons's details
SwaggerJsClient.TownsApitownsTownIdCouponsGetGET /towns/{townId}/couponsGet coupons related to the town
SwaggerJsClient.TownsApitownsTownIdElementsGetGET /towns/{townId}/elementsFind elements of any type
SwaggerJsClient.TownsApitownsTownIdEventsEventIdGetGET /towns/{townId}/events/{eventId}Get event's details
SwaggerJsClient.TownsApitownsTownIdEventsGetGET /towns/{townId}/eventsGet events related to the town
SwaggerJsClient.TownsApitownsTownIdGetGET /towns/{townId}Get town's details
SwaggerJsClient.TownsApitownsTownIdPlacesGetGET /towns/{townId}/placesGet places related to the town
SwaggerJsClient.TownsApitownsTownIdPlacesPlaceIdGetGET /towns/{townId}/places/{placeId}Get event's details
SwaggerJsClient.WelcomeApiwelcomeGetGET /welcomeCheck if user is phisically in town

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.