1.1.7 • Published 4 years ago

@buyborghi/buy_borghi_mobile_services v1.1.7

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

buy_borghi_mobile_services

BuyBorghiMobileServices - JavaScript client for buy_borghi_mobile_services BuyBorghi Mobile API This SDK is automatically generated by the Swagger Codegen project:

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

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm i @buyborghi/buy_borghi_mobile_services

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var BuyBorghiMobileServices = require('buy_borghi_mobile_services');

var api = new BuyBorghiMobileServices.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://192.168.5.44:38083/buyborghi-api/v1

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

Documentation for Models

Documentation for Authorization

OAuth2

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.0.0-SNAPSHOT

5 years ago