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/index.d.ts
CHANGED
|
@@ -7460,6 +7460,10 @@ declare class Crm {
|
|
|
7460
7460
|
* Get win rates and response time analytics.
|
|
7461
7461
|
*/
|
|
7462
7462
|
static getPerformanceStats<T>(): AxiosPromise<Response<T>>;
|
|
7463
|
+
/**
|
|
7464
|
+
* Get the analytics on what users indcated they were interested in.
|
|
7465
|
+
*/
|
|
7466
|
+
static getInterestStats<T>(): AxiosPromise<Response<T>>;
|
|
7463
7467
|
}
|
|
7464
7468
|
|
|
7465
7469
|
interface Route {
|
package/package.json
CHANGED
package/src/api/Crm.ts
CHANGED
|
@@ -129,6 +129,13 @@ class Crm {
|
|
|
129
129
|
public static getPerformanceStats<T>(): AxiosPromise<Response<T>> {
|
|
130
130
|
return Requests.processRoute(CrmRoute.routes.performanceStats);
|
|
131
131
|
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Get the analytics on what users indcated they were interested in.
|
|
135
|
+
*/
|
|
136
|
+
public static getInterestStats<T>(): AxiosPromise<Response<T>> {
|
|
137
|
+
return Requests.processRoute(CrmRoute.routes.getInterestStats);
|
|
138
|
+
}
|
|
132
139
|
}
|
|
133
140
|
|
|
134
141
|
export default Crm;
|
package/src/routes/CrmRoute.ts
CHANGED
|
@@ -28,6 +28,7 @@ class CrmRoute {
|
|
|
28
28
|
// Analytics
|
|
29
29
|
funnelStats: { url: '/admin/crm/analytics/funnel', method: HTTP_METHODS.GET },
|
|
30
30
|
performanceStats: { url: '/admin/crm/analytics/performance', method: HTTP_METHODS.GET },
|
|
31
|
+
getInterestStats: { url: '/admin/crm/analytics/interests', method: HTTP_METHODS.GET },
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
|