autoql-fe-utils 1.0.113 → 1.0.115
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/index.d.ts +1 -2
- package/dist/index.global.js +7 -4
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2215,14 +2215,13 @@ declare const fetchNotificationCount: ({ domain, apiKey, token, unacknowledged }
|
|
|
2215
2215
|
token: any;
|
|
2216
2216
|
unacknowledged?: number;
|
|
2217
2217
|
}) => Promise<axios.AxiosResponse<any, any>>;
|
|
2218
|
-
declare const fetchNotificationFeed: ({ domain, apiKey, token, offset, limit, enableFetchAllNotificationFeedAcrossProjects,
|
|
2218
|
+
declare const fetchNotificationFeed: ({ domain, apiKey, token, offset, limit, enableFetchAllNotificationFeedAcrossProjects, }: {
|
|
2219
2219
|
domain: any;
|
|
2220
2220
|
apiKey: any;
|
|
2221
2221
|
token: any;
|
|
2222
2222
|
offset: any;
|
|
2223
2223
|
limit: any;
|
|
2224
2224
|
enableFetchAllNotificationFeedAcrossProjects: any;
|
|
2225
|
-
selectedProject: any;
|
|
2226
2225
|
}) => Promise<any>;
|
|
2227
2226
|
declare const fetchNotificationChannels: ({ domain, apiKey, token, channelType }: {
|
|
2228
2227
|
domain: any;
|
package/dist/index.global.js
CHANGED
|
@@ -28798,7 +28798,11 @@
|
|
|
28798
28798
|
if (!domain || !apiKey || !token) {
|
|
28799
28799
|
return Promise.reject(new Error("Unauthenticated"));
|
|
28800
28800
|
}
|
|
28801
|
-
|
|
28801
|
+
let url2 = `${domain}/autoql/api/v1/query/vlsubjects?text=${encodeURIComponent(suggestion)}&key=${apiKey}`;
|
|
28802
|
+
const timezone2 = getCurrentTimezone();
|
|
28803
|
+
if (timezone2) {
|
|
28804
|
+
url2 = `${url2}&time_zone=${timezone2}`;
|
|
28805
|
+
}
|
|
28802
28806
|
const config = {
|
|
28803
28807
|
headers: {
|
|
28804
28808
|
Authorization: `Bearer ${token}`
|
|
@@ -29111,8 +29115,7 @@
|
|
|
29111
29115
|
token,
|
|
29112
29116
|
offset,
|
|
29113
29117
|
limit,
|
|
29114
|
-
enableFetchAllNotificationFeedAcrossProjects
|
|
29115
|
-
selectedProject
|
|
29118
|
+
enableFetchAllNotificationFeedAcrossProjects
|
|
29116
29119
|
}) => {
|
|
29117
29120
|
if (!token || !apiKey || !domain) {
|
|
29118
29121
|
return Promise.reject(new Error("UNAUTHORIZED"));
|
|
@@ -29122,7 +29125,7 @@
|
|
|
29122
29125
|
Authorization: `Bearer ${token}`
|
|
29123
29126
|
}
|
|
29124
29127
|
});
|
|
29125
|
-
const withoutProjectsRestriction =
|
|
29128
|
+
const withoutProjectsRestriction = "&project=all";
|
|
29126
29129
|
let url2 = `${domain}/autoql/api/v1/data-alerts/notifications?key=${apiKey}&offset=${offset}&limit=${limit}`;
|
|
29127
29130
|
if (enableFetchAllNotificationFeedAcrossProjects) {
|
|
29128
29131
|
url2 = url2 + withoutProjectsRestriction;
|