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
package/dist/cjs/index.js
CHANGED
|
@@ -26790,6 +26790,7 @@ var NewslettersRoutes = /** @class */ (function () {
|
|
|
26790
26790
|
}
|
|
26791
26791
|
NewslettersRoutes.routes = {
|
|
26792
26792
|
downloadMarketingChecklist: { url: '/newsletters/downloadMarketingChecklist', method: HTTP_METHODS.POST },
|
|
26793
|
+
joinCourseWaitlist: { url: '/newsletters/joinCourseWaitlist', method: HTTP_METHODS.POST },
|
|
26793
26794
|
};
|
|
26794
26795
|
return NewslettersRoutes;
|
|
26795
26796
|
}());
|
|
@@ -26809,6 +26810,15 @@ var Newsletters = /** @class */ (function () {
|
|
|
26809
26810
|
Newsletters.downloadMarketingChecklist = function (data, params) {
|
|
26810
26811
|
return Requests.processRoute(NewslettersRoutes.routes.downloadMarketingChecklist, data, undefined, params);
|
|
26811
26812
|
};
|
|
26813
|
+
/**
|
|
26814
|
+
* Join the marketing course waitlist.
|
|
26815
|
+
*
|
|
26816
|
+
* @param data { name, email, game, topics[] }
|
|
26817
|
+
* @returns Promise
|
|
26818
|
+
*/
|
|
26819
|
+
Newsletters.joinCourseWaitlist = function (data, params) {
|
|
26820
|
+
return Requests.processRoute(NewslettersRoutes.routes.joinCourseWaitlist, data, undefined, params);
|
|
26821
|
+
};
|
|
26812
26822
|
return Newsletters;
|
|
26813
26823
|
}());
|
|
26814
26824
|
|