glitch-javascript-sdk 2.7.2 → 2.7.3
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Crm.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/api/Crm.ts +7 -0
- package/src/routes/CrmRoute.ts +1 -0
package/dist/esm/api/Crm.d.ts
CHANGED
|
@@ -73,5 +73,9 @@ declare class Crm {
|
|
|
73
73
|
* Get win rates and response time analytics.
|
|
74
74
|
*/
|
|
75
75
|
static getPerformanceStats<T>(): AxiosPromise<Response<T>>;
|
|
76
|
+
/**
|
|
77
|
+
* Get the analytics on what users indcated they were interested in.
|
|
78
|
+
*/
|
|
79
|
+
static getInterestStats<T>(): AxiosPromise<Response<T>>;
|
|
76
80
|
}
|
|
77
81
|
export default Crm;
|
package/dist/esm/index.js
CHANGED
|
@@ -17139,6 +17139,7 @@ var CrmRoute = /** @class */ (function () {
|
|
|
17139
17139
|
// Analytics
|
|
17140
17140
|
funnelStats: { url: '/admin/crm/analytics/funnel', method: HTTP_METHODS.GET },
|
|
17141
17141
|
performanceStats: { url: '/admin/crm/analytics/performance', method: HTTP_METHODS.GET },
|
|
17142
|
+
getInterestStats: { url: '/admin/crm/analytics/interests', method: HTTP_METHODS.GET },
|
|
17142
17143
|
};
|
|
17143
17144
|
return CrmRoute;
|
|
17144
17145
|
}());
|
|
@@ -17254,6 +17255,12 @@ var Crm = /** @class */ (function () {
|
|
|
17254
17255
|
Crm.getPerformanceStats = function () {
|
|
17255
17256
|
return Requests.processRoute(CrmRoute.routes.performanceStats);
|
|
17256
17257
|
};
|
|
17258
|
+
/**
|
|
17259
|
+
* Get the analytics on what users indcated they were interested in.
|
|
17260
|
+
*/
|
|
17261
|
+
Crm.getInterestStats = function () {
|
|
17262
|
+
return Requests.processRoute(CrmRoute.routes.getInterestStats);
|
|
17263
|
+
};
|
|
17257
17264
|
return Crm;
|
|
17258
17265
|
}());
|
|
17259
17266
|
|