glitch-javascript-sdk
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -19,2 +19,3 @@ import { Config } from "./config"; | ||
import { TicketVisibility } from "./constants/TicketVisbility"; | ||
import { VenueType } from "./constants/VenueTypes"; | ||
declare class Glitch { | ||
@@ -72,4 +73,5 @@ static config: { | ||
TicketVisibility: typeof TicketVisibility; | ||
VenueType: typeof VenueType; | ||
}; | ||
} | ||
export default Glitch; |
@@ -1275,2 +1275,19 @@ import { AxiosPromise } from 'axios'; | ||
/** | ||
* Select what kind of venue this is for the event. | ||
* @readonly | ||
* @enum {integer} | ||
*/ | ||
declare enum VenueType { | ||
/** @member {integer} */ | ||
/** A virtual only event. */ | ||
VIRTUAL = 1, | ||
/** @member {integer} */ | ||
/** An in person only event (IRL). */ | ||
IN_PERSON = 2, | ||
/** @member {integer} */ | ||
/** Combination of IRL and in-person. */ | ||
HYBRID = 3 | ||
} | ||
declare class Glitch { | ||
@@ -1328,2 +1345,3 @@ static config: { | ||
TicketVisibility: typeof TicketVisibility; | ||
VenueType: typeof VenueType; | ||
}; | ||
@@ -1330,0 +1348,0 @@ } |
{ | ||
"name": "glitch-javascript-sdk", | ||
"version": "0.1.7", | ||
"description": "Javascrip SDK for GLitch", | ||
"version": "0.1.8", | ||
"description": "Javascript SDK for Glitch", | ||
"main": "dist/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/esm/index.js", |
@@ -123,3 +123,3 @@ import TeamsRoutes from "../routes/TeamsRoute"; | ||
return Requests.uploadFile(TeamsRoutes.routes.uploadBannerImage.url, 'image', file, data); | ||
return Requests.uploadFile(url, 'image', file, data); | ||
} | ||
@@ -126,0 +126,0 @@ |
@@ -28,2 +28,3 @@ | ||
import { TicketVisibility } from "./constants/TicketVisbility"; | ||
import { VenueType } from "./constants/VenueTypes"; | ||
@@ -62,3 +63,4 @@ class Glitch { | ||
TicketUsageTypes : TicketUsageTypes, | ||
TicketVisibility : TicketVisibility | ||
TicketVisibility : TicketVisibility, | ||
VenueType : VenueType | ||
} | ||
@@ -65,0 +67,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1967298
78
51084