bizzabo-api
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -22,3 +22,6 @@ "use strict"; | ||
this._handleRequest = function (config) { | ||
var headers = __assign(__assign({}, config.headers), _this.contextHeaders); | ||
var fixedHeaders = { | ||
'User-Agent': "Bizzabo-JS-Sdk-V1", | ||
}; | ||
var headers = __assign(__assign(__assign({}, config.headers), _this.contextHeaders), fixedHeaders); | ||
return __assign(__assign({}, config), { headers: headers }); | ||
@@ -25,0 +28,0 @@ }; |
import { ContactsApi } from './api/contacts-client'; | ||
import { EventsApi } from './api/events-client'; | ||
import { SpeakersApi } from './api/speakers-client'; | ||
import { Authentication, Token } from './auth/token'; | ||
import { Token } from './auth/token'; | ||
export * from './auth/token'; | ||
export * from './api/contacts-client'; | ||
export * from './api/speakers-client'; | ||
export * from './api/events-client'; | ||
export declare class Bizzabo { | ||
contactsApi: ContactsApi; | ||
speakersApi: SpeakersApi; | ||
eventsApi: EventsApi; | ||
constructor(token: Token); | ||
} | ||
declare const _default: { | ||
Authentication: typeof Authentication; | ||
ContactsApi: typeof ContactsApi; | ||
SpeakersApi: typeof SpeakersApi; | ||
}; | ||
export default _default; |
@@ -19,7 +19,8 @@ "use strict"; | ||
var contacts_client_1 = require("./api/contacts-client"); | ||
var events_client_1 = require("./api/events-client"); | ||
var speakers_client_1 = require("./api/speakers-client"); | ||
var token_1 = require("./auth/token"); | ||
__exportStar(require("./auth/token"), exports); | ||
__exportStar(require("./api/contacts-client"), exports); | ||
__exportStar(require("./api/speakers-client"), exports); | ||
__exportStar(require("./api/events-client"), exports); | ||
var Bizzabo = /** @class */ (function () { | ||
@@ -29,2 +30,3 @@ function Bizzabo(token) { | ||
this.speakersApi = new speakers_client_1.SpeakersApi(token); | ||
this.eventsApi = new events_client_1.EventsApi(token); | ||
} | ||
@@ -34,6 +36,1 @@ return Bizzabo; | ||
exports.Bizzabo = Bizzabo; | ||
exports.default = { | ||
Authentication: token_1.Authentication, | ||
ContactsApi: contacts_client_1.ContactsApi, | ||
SpeakersApi: speakers_client_1.SpeakersApi, | ||
}; |
{ | ||
"name": "bizzabo-api", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "The Bizzabo API is a Typescript client that allows calling Bizzabo public APIs", | ||
@@ -5,0 +5,0 @@ "author": "Bizzabo", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32094
14
600