-
Notifications
You must be signed in to change notification settings - Fork 3
/
data-credentials.js
68 lines (67 loc) · 1.78 KB
/
data-credentials.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import {
clearApiCache,
invokeFetch
} from "./chunks/OZPJW5CV.js";
import "./chunks/Q6KIM6ZM.js";
import "./chunks/2ZQ3ZX7F.js";
// src/public/rest/data-credentials.ts
var filterOrphanedDataCredentials = async (body, options) => invokeFetch("data-credentials", {
method: "post",
pathTemplate: "/api/v1/data-credentials/actions/filter-orphan",
body,
contentType: "application/json",
options
});
var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
method: "delete",
pathTemplate: "/api/v1/data-credentials/{qID}",
pathVariables: { qID },
query,
options
});
var getDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
method: "get",
pathTemplate: "/api/v1/data-credentials/{qID}",
pathVariables: { qID },
query,
options
});
var patchDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
method: "patch",
pathTemplate: "/api/v1/data-credentials/{qID}",
pathVariables: { qID },
query,
body,
contentType: "application/json",
options
});
var updateDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
method: "put",
pathTemplate: "/api/v1/data-credentials/{qID}",
pathVariables: { qID },
query,
body,
contentType: "application/json",
options
});
function clearCache() {
return clearApiCache("data-credentials");
}
var dataCredentialsExport = {
filterOrphanedDataCredentials,
deleteDataCredential,
getDataCredential,
patchDataCredential,
updateDataCredential,
clearCache
};
var data_credentials_default = dataCredentialsExport;
export {
clearCache,
data_credentials_default as default,
deleteDataCredential,
filterOrphanedDataCredentials,
getDataCredential,
patchDataCredential,
updateDataCredential
};