@qlik/api 0.0.16 → 0.1.1
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/README.md +1 -1
- package/api-keys.js +25 -25
- package/apps.d.ts +9 -1
- package/apps.js +97 -97
- package/audits.js +23 -23
- package/auth.js +14 -14
- package/automations.js +47 -47
- package/brands.js +35 -35
- package/chunks/4HB3TAEO.js +4 -4
- package/chunks/{HHOVS7QC.mjs → CHNBNLXY.js} +3 -3
- package/chunks/{3YV6X7S6.mjs → FFGE2RP7.js} +1 -1
- package/chunks/{HOCTJESP.mjs → JEGN7XQV.js} +3 -3
- package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
- package/chunks/OPRGGO4C.js +8 -8
- package/chunks/{O4EAKEIN.mjs → RHF624NQ.js} +1 -1
- package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
- package/chunks/{EHAANYDL.mjs → TT66UJZY.js} +3 -3
- package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
- package/chunks/{6AD3HYSF.mjs → XZQNE4HH.js} +1 -1
- package/collections.js +33 -33
- package/csp-origins.js +23 -23
- package/data-assets.js +21 -21
- package/data-connections.js +29 -29
- package/data-credentials.js +19 -19
- package/data-files.js +35 -35
- package/docs/authentication.md +5 -5
- package/docs/examples/fetch-spaces.md +1 -15
- package/docs/examples/show-sheet-list.md +1 -1
- package/docs/features.md +1 -1
- package/extensions.js +25 -25
- package/glossaries.js +59 -59
- package/groups.d.ts +0 -3
- package/groups.js +27 -27
- package/identity-providers.d.ts +144 -10
- package/identity-providers.js +27 -27
- package/index.js +53 -53
- package/items.js +27 -27
- package/licenses.js +29 -29
- package/package.json +36 -232
- package/qix.d.ts +1 -1
- package/qix.js +10 -10
- package/quotas.js +15 -15
- package/reload-tasks.js +21 -21
- package/reloads.js +19 -19
- package/roles.js +15 -15
- package/spaces.js +35 -35
- package/temp-contents.js +17 -17
- package/tenants.js +23 -23
- package/themes.js +25 -25
- package/transports.js +23 -23
- package/users.d.ts +1 -3
- package/users.js +31 -31
- package/web-integrations.js +21 -21
- package/web-notifications.js +23 -23
- package/webhooks.js +31 -31
- package/api-keys.d.mts +0 -336
- package/api-keys.mjs +0 -80
- package/apps.d.mts +0 -2431
- package/apps.mjs +0 -398
- package/audits.d.mts +0 -286
- package/audits.mjs +0 -64
- package/auth-types-nnUcWhuU.d.mts +0 -98
- package/auth.d.mts +0 -26
- package/auth.mjs +0 -14
- package/automations.d.mts +0 -682
- package/automations.mjs +0 -173
- package/brands.d.mts +0 -670
- package/brands.mjs +0 -123
- package/chunks/2YWCEGTS.js +0 -21
- package/chunks/34ZKUFEA.js +0 -41
- package/chunks/4WHZ4EIW.js +0 -57
- package/chunks/B4VPD3ZT.js +0 -574
- package/chunks/BM4OSDRZ.js +0 -17
- package/chunks/DCXUEDOW.mjs +0 -67
- package/chunks/MTAQE4WC.js +0 -10411
- package/chunks/PLOSYUG2.js +0 -25
- package/chunks/URIW2U5M.js +0 -17
- package/chunks/VSY5YIQY.mjs +0 -11
- package/chunks/WOYJLK4Y.js +0 -1623
- package/collections.d.mts +0 -581
- package/collections.mjs +0 -114
- package/csp-origins.d.mts +0 -273
- package/csp-origins.mjs +0 -69
- package/data-assets.d.mts +0 -205
- package/data-assets.mjs +0 -66
- package/data-connections.d.mts +0 -594
- package/data-connections.mjs +0 -103
- package/data-credentials.d.mts +0 -204
- package/data-credentials.mjs +0 -59
- package/data-files.d.mts +0 -562
- package/data-files.mjs +0 -123
- package/extensions.d.mts +0 -293
- package/extensions.mjs +0 -77
- package/global.types-5iFvFJvX.d.mts +0 -115
- package/glossaries.d.mts +0 -1173
- package/glossaries.mjs +0 -237
- package/groups.d.mts +0 -434
- package/groups.mjs +0 -88
- package/identity-providers.d.mts +0 -550
- package/identity-providers.mjs +0 -83
- package/index.d.mts +0 -142
- package/index.mjs +0 -716
- package/items.d.mts +0 -535
- package/items.mjs +0 -87
- package/licenses.d.mts +0 -459
- package/licenses.mjs +0 -92
- package/qix.d.mts +0 -11629
- package/qix.mjs +0 -10
- package/quotas.d.mts +0 -112
- package/quotas.mjs +0 -32
- package/reload-tasks.d.mts +0 -227
- package/reload-tasks.mjs +0 -62
- package/reloads.d.mts +0 -207
- package/reloads.mjs +0 -46
- package/roles.d.mts +0 -175
- package/roles.mjs +0 -31
- package/spaces.d.mts +0 -562
- package/spaces.mjs +0 -124
- package/temp-contents.d.mts +0 -167
- package/temp-contents.mjs +0 -41
- package/tenants.d.mts +0 -300
- package/tenants.mjs +0 -73
- package/themes.d.mts +0 -268
- package/themes.mjs +0 -77
- package/transports.d.mts +0 -319
- package/transports.mjs +0 -65
- package/users.d.mts +0 -631
- package/users.mjs +0 -104
- package/web-integrations.d.mts +0 -274
- package/web-integrations.mjs +0 -62
- package/web-notifications.d.mts +0 -250
- package/web-notifications.mjs +0 -69
- package/webhooks.d.mts +0 -445
- package/webhooks.mjs +0 -104
package/automations.mjs
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
clearApiCache,
|
|
3
|
-
invokeFetch
|
|
4
|
-
} from "./chunks/3YV6X7S6.mjs";
|
|
5
|
-
import "./chunks/EHAANYDL.mjs";
|
|
6
|
-
import "./chunks/VSY5YIQY.mjs";
|
|
7
|
-
|
|
8
|
-
// src/public/rest/automations.ts
|
|
9
|
-
var getAutomations = async (query, options) => invokeFetch("automations", {
|
|
10
|
-
method: "get",
|
|
11
|
-
pathTemplate: "/api/v1/automations",
|
|
12
|
-
query,
|
|
13
|
-
options
|
|
14
|
-
});
|
|
15
|
-
var createAutomation = async (body, options) => invokeFetch("automations", {
|
|
16
|
-
method: "post",
|
|
17
|
-
pathTemplate: "/api/v1/automations",
|
|
18
|
-
body,
|
|
19
|
-
contentType: "application/json",
|
|
20
|
-
options
|
|
21
|
-
});
|
|
22
|
-
var getAutomationsSettings = async (options) => invokeFetch("automations", {
|
|
23
|
-
method: "get",
|
|
24
|
-
pathTemplate: "/api/v1/automations/settings",
|
|
25
|
-
options
|
|
26
|
-
});
|
|
27
|
-
var updateAutomationsSettings = async (body, options) => invokeFetch("automations", {
|
|
28
|
-
method: "put",
|
|
29
|
-
pathTemplate: "/api/v1/automations/settings",
|
|
30
|
-
body,
|
|
31
|
-
contentType: "application/json",
|
|
32
|
-
options
|
|
33
|
-
});
|
|
34
|
-
var getAutomationsUsageMetrics = async (query, options) => invokeFetch("automations", {
|
|
35
|
-
method: "get",
|
|
36
|
-
pathTemplate: "/api/v1/automations/usage",
|
|
37
|
-
query,
|
|
38
|
-
options
|
|
39
|
-
});
|
|
40
|
-
var deleteAutomation = async (id, options) => invokeFetch("automations", {
|
|
41
|
-
method: "delete",
|
|
42
|
-
pathTemplate: "/api/v1/automations/{id}",
|
|
43
|
-
pathVariables: { id },
|
|
44
|
-
options
|
|
45
|
-
});
|
|
46
|
-
var getAutomation = async (id, options) => invokeFetch("automations", {
|
|
47
|
-
method: "get",
|
|
48
|
-
pathTemplate: "/api/v1/automations/{id}",
|
|
49
|
-
pathVariables: { id },
|
|
50
|
-
options
|
|
51
|
-
});
|
|
52
|
-
var updateAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
53
|
-
method: "put",
|
|
54
|
-
pathTemplate: "/api/v1/automations/{id}",
|
|
55
|
-
pathVariables: { id },
|
|
56
|
-
body,
|
|
57
|
-
contentType: "application/json",
|
|
58
|
-
options
|
|
59
|
-
});
|
|
60
|
-
var copyAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
61
|
-
method: "post",
|
|
62
|
-
pathTemplate: "/api/v1/automations/{id}/actions/copy",
|
|
63
|
-
pathVariables: { id },
|
|
64
|
-
body,
|
|
65
|
-
contentType: "application/json",
|
|
66
|
-
options
|
|
67
|
-
});
|
|
68
|
-
var disableAutomation = async (id, options) => invokeFetch("automations", {
|
|
69
|
-
method: "post",
|
|
70
|
-
pathTemplate: "/api/v1/automations/{id}/actions/disable",
|
|
71
|
-
pathVariables: { id },
|
|
72
|
-
options
|
|
73
|
-
});
|
|
74
|
-
var enableAutomation = async (id, options) => invokeFetch("automations", {
|
|
75
|
-
method: "post",
|
|
76
|
-
pathTemplate: "/api/v1/automations/{id}/actions/enable",
|
|
77
|
-
pathVariables: { id },
|
|
78
|
-
options
|
|
79
|
-
});
|
|
80
|
-
var moveAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
81
|
-
method: "post",
|
|
82
|
-
pathTemplate: "/api/v1/automations/{id}/actions/move",
|
|
83
|
-
pathVariables: { id },
|
|
84
|
-
body,
|
|
85
|
-
contentType: "application/json",
|
|
86
|
-
options
|
|
87
|
-
});
|
|
88
|
-
var getAutomationRuns = async (id, query, options) => invokeFetch("automations", {
|
|
89
|
-
method: "get",
|
|
90
|
-
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
91
|
-
pathVariables: { id },
|
|
92
|
-
query,
|
|
93
|
-
options
|
|
94
|
-
});
|
|
95
|
-
var queueAutomationRun = async (id, body, options) => invokeFetch("automations", {
|
|
96
|
-
method: "post",
|
|
97
|
-
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
98
|
-
pathVariables: { id },
|
|
99
|
-
body,
|
|
100
|
-
contentType: "application/json",
|
|
101
|
-
options
|
|
102
|
-
});
|
|
103
|
-
var getAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
104
|
-
method: "get",
|
|
105
|
-
pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
|
|
106
|
-
pathVariables: { id, runId },
|
|
107
|
-
options
|
|
108
|
-
});
|
|
109
|
-
var getAutomationRunDetails = async (id, runId, options) => invokeFetch("automations", {
|
|
110
|
-
method: "post",
|
|
111
|
-
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
|
|
112
|
-
pathVariables: { id, runId },
|
|
113
|
-
options
|
|
114
|
-
});
|
|
115
|
-
var retryAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
116
|
-
method: "post",
|
|
117
|
-
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
|
|
118
|
-
pathVariables: { id, runId },
|
|
119
|
-
options
|
|
120
|
-
});
|
|
121
|
-
var stopAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
122
|
-
method: "post",
|
|
123
|
-
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
|
|
124
|
-
pathVariables: { id, runId },
|
|
125
|
-
options
|
|
126
|
-
});
|
|
127
|
-
function clearCache() {
|
|
128
|
-
return clearApiCache("automations");
|
|
129
|
-
}
|
|
130
|
-
var automationsExport = {
|
|
131
|
-
getAutomations,
|
|
132
|
-
createAutomation,
|
|
133
|
-
getAutomationsSettings,
|
|
134
|
-
updateAutomationsSettings,
|
|
135
|
-
getAutomationsUsageMetrics,
|
|
136
|
-
deleteAutomation,
|
|
137
|
-
getAutomation,
|
|
138
|
-
updateAutomation,
|
|
139
|
-
copyAutomation,
|
|
140
|
-
disableAutomation,
|
|
141
|
-
enableAutomation,
|
|
142
|
-
moveAutomation,
|
|
143
|
-
getAutomationRuns,
|
|
144
|
-
queueAutomationRun,
|
|
145
|
-
getAutomationRun,
|
|
146
|
-
getAutomationRunDetails,
|
|
147
|
-
retryAutomationRun,
|
|
148
|
-
stopAutomationRun,
|
|
149
|
-
clearCache
|
|
150
|
-
};
|
|
151
|
-
var automations_default = automationsExport;
|
|
152
|
-
export {
|
|
153
|
-
clearCache,
|
|
154
|
-
copyAutomation,
|
|
155
|
-
createAutomation,
|
|
156
|
-
automations_default as default,
|
|
157
|
-
deleteAutomation,
|
|
158
|
-
disableAutomation,
|
|
159
|
-
enableAutomation,
|
|
160
|
-
getAutomation,
|
|
161
|
-
getAutomationRun,
|
|
162
|
-
getAutomationRunDetails,
|
|
163
|
-
getAutomationRuns,
|
|
164
|
-
getAutomations,
|
|
165
|
-
getAutomationsSettings,
|
|
166
|
-
getAutomationsUsageMetrics,
|
|
167
|
-
moveAutomation,
|
|
168
|
-
queueAutomationRun,
|
|
169
|
-
retryAutomationRun,
|
|
170
|
-
stopAutomationRun,
|
|
171
|
-
updateAutomation,
|
|
172
|
-
updateAutomationsSettings
|
|
173
|
-
};
|