glitch-javascript-sdk 2.3.9 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Newsletters.d.ts +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/api/Newsletters.ts +9 -0
- package/src/routes/NewslettersRoutes.ts +1 -0
|
@@ -11,5 +11,12 @@ declare class Newsletters {
|
|
|
11
11
|
* @returns Promise
|
|
12
12
|
*/
|
|
13
13
|
static downloadMarketingChecklist<T>(data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
14
|
+
/**
|
|
15
|
+
* Join the marketing course waitlist.
|
|
16
|
+
*
|
|
17
|
+
* @param data { name, email, game, topics[] }
|
|
18
|
+
* @returns Promise
|
|
19
|
+
*/
|
|
20
|
+
static joinCourseWaitlist<T>(data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
14
21
|
}
|
|
15
22
|
export default Newsletters;
|
package/dist/esm/index.js
CHANGED
|
@@ -13606,6 +13606,7 @@ var NewslettersRoutes = /** @class */ (function () {
|
|
|
13606
13606
|
}
|
|
13607
13607
|
NewslettersRoutes.routes = {
|
|
13608
13608
|
downloadMarketingChecklist: { url: '/newsletters/downloadMarketingChecklist', method: HTTP_METHODS.POST },
|
|
13609
|
+
joinCourseWaitlist: { url: '/newsletters/joinCourseWaitlist', method: HTTP_METHODS.POST },
|
|
13609
13610
|
};
|
|
13610
13611
|
return NewslettersRoutes;
|
|
13611
13612
|
}());
|
|
@@ -13625,6 +13626,15 @@ var Newsletters = /** @class */ (function () {
|
|
|
13625
13626
|
Newsletters.downloadMarketingChecklist = function (data, params) {
|
|
13626
13627
|
return Requests.processRoute(NewslettersRoutes.routes.downloadMarketingChecklist, data, undefined, params);
|
|
13627
13628
|
};
|
|
13629
|
+
/**
|
|
13630
|
+
* Join the marketing course waitlist.
|
|
13631
|
+
*
|
|
13632
|
+
* @param data { name, email, game, topics[] }
|
|
13633
|
+
* @returns Promise
|
|
13634
|
+
*/
|
|
13635
|
+
Newsletters.joinCourseWaitlist = function (data, params) {
|
|
13636
|
+
return Requests.processRoute(NewslettersRoutes.routes.joinCourseWaitlist, data, undefined, params);
|
|
13637
|
+
};
|
|
13628
13638
|
return Newsletters;
|
|
13629
13639
|
}());
|
|
13630
13640
|
|