@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/audits.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/FFGE2RP7.js";
|
|
5
|
+
import "./chunks/TT66UJZY.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
|
-
var getAudits = async (query, options) =>
|
|
9
|
+
var getAudits = async (query, options) => invokeFetch("audits", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/audits",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var getArchivedAudits = async (query, options) =>
|
|
15
|
+
var getArchivedAudits = async (query, options) => invokeFetch("audits", {
|
|
16
16
|
method: "get",
|
|
17
17
|
pathTemplate: "/api/v1/audits/archive",
|
|
18
18
|
query,
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var getAuditsSettings = async (options) =>
|
|
21
|
+
var getAuditsSettings = async (options) => invokeFetch("audits", {
|
|
22
22
|
method: "get",
|
|
23
23
|
pathTemplate: "/api/v1/audits/settings",
|
|
24
24
|
options
|
|
25
25
|
});
|
|
26
|
-
var getAuditSources = async (options) =>
|
|
26
|
+
var getAuditSources = async (options) => invokeFetch("audits", {
|
|
27
27
|
method: "get",
|
|
28
28
|
pathTemplate: "/api/v1/audits/sources",
|
|
29
29
|
options
|
|
30
30
|
});
|
|
31
|
-
var getAuditTypes = async (options) =>
|
|
31
|
+
var getAuditTypes = async (options) => invokeFetch("audits", {
|
|
32
32
|
method: "get",
|
|
33
33
|
pathTemplate: "/api/v1/audits/types",
|
|
34
34
|
options
|
|
35
35
|
});
|
|
36
|
-
var getAudit = async (id, options) =>
|
|
36
|
+
var getAudit = async (id, options) => invokeFetch("audits", {
|
|
37
37
|
method: "get",
|
|
38
38
|
pathTemplate: "/api/v1/audits/{id}",
|
|
39
39
|
pathVariables: { id },
|
|
40
40
|
options
|
|
41
41
|
});
|
|
42
42
|
function clearCache() {
|
|
43
|
-
return
|
|
43
|
+
return clearApiCache("audits");
|
|
44
44
|
}
|
|
45
45
|
var auditsExport = {
|
|
46
46
|
getAudits,
|
|
@@ -52,13 +52,13 @@ var auditsExport = {
|
|
|
52
52
|
clearCache
|
|
53
53
|
};
|
|
54
54
|
var audits_default = auditsExport;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
export {
|
|
56
|
+
clearCache,
|
|
57
|
+
audits_default as default,
|
|
58
|
+
getArchivedAudits,
|
|
59
|
+
getAudit,
|
|
60
|
+
getAuditSources,
|
|
61
|
+
getAuditTypes,
|
|
62
|
+
getAudits,
|
|
63
|
+
getAuditsSettings
|
|
64
|
+
};
|
package/auth.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import {
|
|
2
|
+
auth_default,
|
|
3
|
+
logout,
|
|
4
|
+
registerAuthModule,
|
|
5
|
+
setDefaultHostConfig
|
|
6
|
+
} from "./chunks/XZQNE4HH.js";
|
|
7
|
+
import "./chunks/TT66UJZY.js";
|
|
8
|
+
import "./chunks/4HB3TAEO.js";
|
|
9
|
+
export {
|
|
10
|
+
auth_default as default,
|
|
11
|
+
logout,
|
|
12
|
+
registerAuthModule,
|
|
13
|
+
setDefaultHostConfig
|
|
14
|
+
};
|
package/automations.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/FFGE2RP7.js";
|
|
5
|
+
import "./chunks/TT66UJZY.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
|
-
var getAutomations = async (query, options) =>
|
|
9
|
+
var getAutomations = async (query, options) => invokeFetch("automations", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/automations",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createAutomation = async (body, options) =>
|
|
15
|
+
var createAutomation = async (body, options) => invokeFetch("automations", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/automations",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "application/json",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getAutomationsSettings = async (options) =>
|
|
22
|
+
var getAutomationsSettings = async (options) => invokeFetch("automations", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/automations/settings",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var updateAutomationsSettings = async (body, options) =>
|
|
27
|
+
var updateAutomationsSettings = async (body, options) => invokeFetch("automations", {
|
|
28
28
|
method: "put",
|
|
29
29
|
pathTemplate: "/api/v1/automations/settings",
|
|
30
30
|
body,
|
|
31
31
|
contentType: "application/json",
|
|
32
32
|
options
|
|
33
33
|
});
|
|
34
|
-
var getAutomationsUsageMetrics = async (query, options) =>
|
|
34
|
+
var getAutomationsUsageMetrics = async (query, options) => invokeFetch("automations", {
|
|
35
35
|
method: "get",
|
|
36
36
|
pathTemplate: "/api/v1/automations/usage",
|
|
37
37
|
query,
|
|
38
38
|
options
|
|
39
39
|
});
|
|
40
|
-
var deleteAutomation = async (id, options) =>
|
|
40
|
+
var deleteAutomation = async (id, options) => invokeFetch("automations", {
|
|
41
41
|
method: "delete",
|
|
42
42
|
pathTemplate: "/api/v1/automations/{id}",
|
|
43
43
|
pathVariables: { id },
|
|
44
44
|
options
|
|
45
45
|
});
|
|
46
|
-
var getAutomation = async (id, options) =>
|
|
46
|
+
var getAutomation = async (id, options) => invokeFetch("automations", {
|
|
47
47
|
method: "get",
|
|
48
48
|
pathTemplate: "/api/v1/automations/{id}",
|
|
49
49
|
pathVariables: { id },
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var updateAutomation = async (id, body, options) =>
|
|
52
|
+
var updateAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
53
53
|
method: "put",
|
|
54
54
|
pathTemplate: "/api/v1/automations/{id}",
|
|
55
55
|
pathVariables: { id },
|
|
@@ -57,7 +57,7 @@ var updateAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call
|
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
options
|
|
59
59
|
});
|
|
60
|
-
var copyAutomation = async (id, body, options) =>
|
|
60
|
+
var copyAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
61
61
|
method: "post",
|
|
62
62
|
pathTemplate: "/api/v1/automations/{id}/actions/copy",
|
|
63
63
|
pathVariables: { id },
|
|
@@ -65,19 +65,19 @@ var copyAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(v
|
|
|
65
65
|
contentType: "application/json",
|
|
66
66
|
options
|
|
67
67
|
});
|
|
68
|
-
var disableAutomation = async (id, options) =>
|
|
68
|
+
var disableAutomation = async (id, options) => invokeFetch("automations", {
|
|
69
69
|
method: "post",
|
|
70
70
|
pathTemplate: "/api/v1/automations/{id}/actions/disable",
|
|
71
71
|
pathVariables: { id },
|
|
72
72
|
options
|
|
73
73
|
});
|
|
74
|
-
var enableAutomation = async (id, options) =>
|
|
74
|
+
var enableAutomation = async (id, options) => invokeFetch("automations", {
|
|
75
75
|
method: "post",
|
|
76
76
|
pathTemplate: "/api/v1/automations/{id}/actions/enable",
|
|
77
77
|
pathVariables: { id },
|
|
78
78
|
options
|
|
79
79
|
});
|
|
80
|
-
var moveAutomation = async (id, body, options) =>
|
|
80
|
+
var moveAutomation = async (id, body, options) => invokeFetch("automations", {
|
|
81
81
|
method: "post",
|
|
82
82
|
pathTemplate: "/api/v1/automations/{id}/actions/move",
|
|
83
83
|
pathVariables: { id },
|
|
@@ -85,14 +85,14 @@ var moveAutomation = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(v
|
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
options
|
|
87
87
|
});
|
|
88
|
-
var getAutomationRuns = async (id, query, options) =>
|
|
88
|
+
var getAutomationRuns = async (id, query, options) => invokeFetch("automations", {
|
|
89
89
|
method: "get",
|
|
90
90
|
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
91
91
|
pathVariables: { id },
|
|
92
92
|
query,
|
|
93
93
|
options
|
|
94
94
|
});
|
|
95
|
-
var queueAutomationRun = async (id, body, options) =>
|
|
95
|
+
var queueAutomationRun = async (id, body, options) => invokeFetch("automations", {
|
|
96
96
|
method: "post",
|
|
97
97
|
pathTemplate: "/api/v1/automations/{id}/runs",
|
|
98
98
|
pathVariables: { id },
|
|
@@ -100,32 +100,32 @@ var queueAutomationRun = async (id, body, options) => _URIW2U5Mjs.invokeFetch.ca
|
|
|
100
100
|
contentType: "application/json",
|
|
101
101
|
options
|
|
102
102
|
});
|
|
103
|
-
var getAutomationRun = async (id, runId, options) =>
|
|
103
|
+
var getAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
104
104
|
method: "get",
|
|
105
105
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
|
|
106
106
|
pathVariables: { id, runId },
|
|
107
107
|
options
|
|
108
108
|
});
|
|
109
|
-
var getAutomationRunDetails = async (id, runId, options) =>
|
|
109
|
+
var getAutomationRunDetails = async (id, runId, options) => invokeFetch("automations", {
|
|
110
110
|
method: "post",
|
|
111
111
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
|
|
112
112
|
pathVariables: { id, runId },
|
|
113
113
|
options
|
|
114
114
|
});
|
|
115
|
-
var retryAutomationRun = async (id, runId, options) =>
|
|
115
|
+
var retryAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
116
116
|
method: "post",
|
|
117
117
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
|
|
118
118
|
pathVariables: { id, runId },
|
|
119
119
|
options
|
|
120
120
|
});
|
|
121
|
-
var stopAutomationRun = async (id, runId, options) =>
|
|
121
|
+
var stopAutomationRun = async (id, runId, options) => invokeFetch("automations", {
|
|
122
122
|
method: "post",
|
|
123
123
|
pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
|
|
124
124
|
pathVariables: { id, runId },
|
|
125
125
|
options
|
|
126
126
|
});
|
|
127
127
|
function clearCache() {
|
|
128
|
-
return
|
|
128
|
+
return clearApiCache("automations");
|
|
129
129
|
}
|
|
130
130
|
var automationsExport = {
|
|
131
131
|
getAutomations,
|
|
@@ -149,25 +149,25 @@ var automationsExport = {
|
|
|
149
149
|
clearCache
|
|
150
150
|
};
|
|
151
151
|
var automations_default = automationsExport;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
+
};
|
package/brands.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/FFGE2RP7.js";
|
|
5
|
+
import "./chunks/TT66UJZY.js";
|
|
6
|
+
import "./chunks/4HB3TAEO.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/brands.ts
|
|
9
|
-
var getBrands = async (query, options) =>
|
|
9
|
+
var getBrands = async (query, options) => invokeFetch("brands", {
|
|
10
10
|
method: "get",
|
|
11
11
|
pathTemplate: "/api/v1/brands",
|
|
12
12
|
query,
|
|
13
13
|
options
|
|
14
14
|
});
|
|
15
|
-
var createBrand = async (body, options) =>
|
|
15
|
+
var createBrand = async (body, options) => invokeFetch("brands", {
|
|
16
16
|
method: "post",
|
|
17
17
|
pathTemplate: "/api/v1/brands",
|
|
18
18
|
body,
|
|
19
19
|
contentType: "multipart/form-data",
|
|
20
20
|
options
|
|
21
21
|
});
|
|
22
|
-
var getActiveBrand = async (options) =>
|
|
22
|
+
var getActiveBrand = async (options) => invokeFetch("brands", {
|
|
23
23
|
method: "get",
|
|
24
24
|
pathTemplate: "/api/v1/brands/active",
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var deleteBrand = async (brandId, options) =>
|
|
27
|
+
var deleteBrand = async (brandId, options) => invokeFetch("brands", {
|
|
28
28
|
method: "delete",
|
|
29
29
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
30
30
|
pathVariables: { "brand-id": brandId },
|
|
31
31
|
options
|
|
32
32
|
});
|
|
33
|
-
var getBrand = async (brandId, options) =>
|
|
33
|
+
var getBrand = async (brandId, options) => invokeFetch("brands", {
|
|
34
34
|
method: "get",
|
|
35
35
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
36
36
|
pathVariables: { "brand-id": brandId },
|
|
37
37
|
options
|
|
38
38
|
});
|
|
39
|
-
var patchBrand = async (brandId, body, options) =>
|
|
39
|
+
var patchBrand = async (brandId, body, options) => invokeFetch("brands", {
|
|
40
40
|
method: "patch",
|
|
41
41
|
pathTemplate: "/api/v1/brands/{brand-id}",
|
|
42
42
|
pathVariables: { "brand-id": brandId },
|
|
@@ -44,33 +44,33 @@ var patchBrand = async (brandId, body, options) => _URIW2U5Mjs.invokeFetch.call(
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var activateBrand = async (brandId, body, options) =>
|
|
47
|
+
var activateBrand = async (brandId, body, options) => invokeFetch("brands", {
|
|
48
48
|
method: "post",
|
|
49
49
|
pathTemplate: "/api/v1/brands/{brand-id}/actions/activate",
|
|
50
50
|
pathVariables: { "brand-id": brandId },
|
|
51
51
|
body,
|
|
52
52
|
options
|
|
53
53
|
});
|
|
54
|
-
var deactivateBrand = async (brandId, body, options) =>
|
|
54
|
+
var deactivateBrand = async (brandId, body, options) => invokeFetch("brands", {
|
|
55
55
|
method: "post",
|
|
56
56
|
pathTemplate: "/api/v1/brands/{brand-id}/actions/deactivate",
|
|
57
57
|
pathVariables: { "brand-id": brandId },
|
|
58
58
|
body,
|
|
59
59
|
options
|
|
60
60
|
});
|
|
61
|
-
var deleteBrandFile = async (brandId, brandFileId, options) =>
|
|
61
|
+
var deleteBrandFile = async (brandId, brandFileId, options) => invokeFetch("brands", {
|
|
62
62
|
method: "delete",
|
|
63
63
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
64
64
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
65
65
|
options
|
|
66
66
|
});
|
|
67
|
-
var getBrandFile = async (brandId, brandFileId, options) =>
|
|
67
|
+
var getBrandFile = async (brandId, brandFileId, options) => invokeFetch("brands", {
|
|
68
68
|
method: "get",
|
|
69
69
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
70
70
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
71
71
|
options
|
|
72
72
|
});
|
|
73
|
-
var createBrandFile = async (brandId, brandFileId, body, options) =>
|
|
73
|
+
var createBrandFile = async (brandId, brandFileId, body, options) => invokeFetch("brands", {
|
|
74
74
|
method: "post",
|
|
75
75
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
76
76
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
@@ -78,7 +78,7 @@ var createBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs
|
|
|
78
78
|
contentType: "multipart/form-data",
|
|
79
79
|
options
|
|
80
80
|
});
|
|
81
|
-
var updateBrandFile = async (brandId, brandFileId, body, options) =>
|
|
81
|
+
var updateBrandFile = async (brandId, brandFileId, body, options) => invokeFetch("brands", {
|
|
82
82
|
method: "put",
|
|
83
83
|
pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
|
|
84
84
|
pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
|
|
@@ -87,7 +87,7 @@ var updateBrandFile = async (brandId, brandFileId, body, options) => _URIW2U5Mjs
|
|
|
87
87
|
options
|
|
88
88
|
});
|
|
89
89
|
function clearCache() {
|
|
90
|
-
return
|
|
90
|
+
return clearApiCache("brands");
|
|
91
91
|
}
|
|
92
92
|
var brandsExport = {
|
|
93
93
|
getBrands,
|
|
@@ -105,19 +105,19 @@ var brandsExport = {
|
|
|
105
105
|
clearCache
|
|
106
106
|
};
|
|
107
107
|
var brands_default = brandsExport;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
108
|
+
export {
|
|
109
|
+
activateBrand,
|
|
110
|
+
clearCache,
|
|
111
|
+
createBrand,
|
|
112
|
+
createBrandFile,
|
|
113
|
+
deactivateBrand,
|
|
114
|
+
brands_default as default,
|
|
115
|
+
deleteBrand,
|
|
116
|
+
deleteBrandFile,
|
|
117
|
+
getActiveBrand,
|
|
118
|
+
getBrand,
|
|
119
|
+
getBrandFile,
|
|
120
|
+
getBrands,
|
|
121
|
+
patchBrand,
|
|
122
|
+
updateBrandFile
|
|
123
|
+
};
|
package/chunks/4HB3TAEO.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
2
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
3
|
}) : x)(function(x) {
|
|
4
4
|
if (typeof require !== "undefined")
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
7
|
});
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export {
|
|
10
|
+
__require
|
|
11
|
+
};
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
invokeFetch,
|
|
5
5
|
isWindows,
|
|
6
6
|
toValidWebsocketLocationUrl
|
|
7
|
-
} from "./
|
|
8
|
-
import "./
|
|
7
|
+
} from "./SIU6HO6B.js";
|
|
8
|
+
import "./4HB3TAEO.js";
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
11
11
|
var globalEventListeners = /* @__PURE__ */ new Set();
|
|
@@ -83,7 +83,7 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
83
83
|
return authSuggestedInWebsocket;
|
|
84
84
|
}
|
|
85
85
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
86
|
-
const { createEnigmaSession } = await import("./
|
|
86
|
+
const { createEnigmaSession } = await import("./JEGN7XQV.js");
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
getRestCallAuthParams,
|
|
4
4
|
getWebSocketAuthParams,
|
|
5
5
|
toValidWebsocketLocationUrl
|
|
6
|
-
} from "./
|
|
7
|
-
import "./
|
|
6
|
+
} from "./SIU6HO6B.js";
|
|
7
|
+
import "./4HB3TAEO.js";
|
|
8
8
|
|
|
9
9
|
// src/qix/session/enigma-session.ts
|
|
10
10
|
import enigma from "enigma.js";
|
|
@@ -9093,7 +9093,7 @@ var CREATABLE_RESOURCES = [
|
|
|
9093
9093
|
{ resource: "masterobject", canCreate: true },
|
|
9094
9094
|
{ resource: "snapshot", canCreate: true }
|
|
9095
9095
|
];
|
|
9096
|
-
var forceReadOnly =
|
|
9096
|
+
var forceReadOnly = false;
|
|
9097
9097
|
function parse(privileges, mapToObj) {
|
|
9098
9098
|
if (!privileges.length) {
|
|
9099
9099
|
privileges = ["update", "publish", "export", "exportdata", "changeowner", "delete"];
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
toValidEnigmaLocationUrl,
|
|
18
18
|
toValidLocationUrl,
|
|
19
19
|
toValidWebsocketLocationUrl
|
|
20
|
-
} from "./
|
|
21
|
-
import "./
|
|
20
|
+
} from "./SIU6HO6B.js";
|
|
21
|
+
import "./4HB3TAEO.js";
|
|
22
22
|
export {
|
|
23
23
|
AuthorizationError,
|
|
24
24
|
InvalidAuthTypeError,
|
package/chunks/OPRGGO4C.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./4HB3TAEO.js";
|
|
2
2
|
|
|
3
3
|
// node_modules/.pnpm/@qlik+runtime-module-loader@0.2.5/node_modules/@qlik/runtime-module-loader/dist/esm/index.js
|
|
4
4
|
window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
|
|
@@ -30,7 +30,7 @@ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateReso
|
|
|
30
30
|
function provideHostConfigForMainJsUrl(hostConfig) {
|
|
31
31
|
const trailingSlashes = /\/+$/;
|
|
32
32
|
function toMainJsUrl(hc) {
|
|
33
|
-
const url =
|
|
33
|
+
const url = hc?.embedRuntimeUrl || hc?.url || hc?.host;
|
|
34
34
|
if (!url) {
|
|
35
35
|
return void 0;
|
|
36
36
|
}
|
|
@@ -49,8 +49,8 @@ function provideHostConfigForMainJsUrl(hostConfig) {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
async function importRuntimeModule(name, hostConfig) {
|
|
52
|
-
if (
|
|
53
|
-
return
|
|
52
|
+
if (hostConfig?.runtimeModuleMocks?.[name]) {
|
|
53
|
+
return hostConfig?.runtimeModuleMocks?.[name];
|
|
54
54
|
}
|
|
55
55
|
provideHostConfigForMainJsUrl(hostConfig);
|
|
56
56
|
return importFromCdn(name);
|
|
@@ -61,7 +61,7 @@ async function importUnsupportedAndUnstableRuntimeModule(name) {
|
|
|
61
61
|
async function importFromCdn(name) {
|
|
62
62
|
return (await window.__qlikMainPrivateResolvers.qlikMainPromise).import(name);
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
export {
|
|
65
|
+
importRuntimeModule,
|
|
66
|
+
importUnsupportedAndUnstableRuntimeModule
|
|
67
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./4HB3TAEO.js";
|
|
4
4
|
|
|
5
5
|
// src/platform/platform-functions.ts
|
|
6
6
|
var getPlatform = async (options = {}) => {
|
|
@@ -16,6 +16,7 @@ var getPlatform = async (options = {}) => {
|
|
|
16
16
|
return result({ isQSE: true, isWindows: true });
|
|
17
17
|
}
|
|
18
18
|
const deploymentType = (productInfo.composition?.deploymentType || "").toLowerCase();
|
|
19
|
+
const isControlCenter = deploymentType === "controlcenter";
|
|
19
20
|
if (deploymentType === "qliksenseserver") {
|
|
20
21
|
return result({ isQSE: true, isWindows: true });
|
|
21
22
|
}
|
|
@@ -23,9 +24,9 @@ var getPlatform = async (options = {}) => {
|
|
|
23
24
|
return result({ isQSD: true, isWindows: true });
|
|
24
25
|
}
|
|
25
26
|
if (productInfo.composition?.provider === "fedramp") {
|
|
26
|
-
return result({ isCloud: true, isQCG: true });
|
|
27
|
+
return result({ isCloud: true, isQCG: true, isControlCenter });
|
|
27
28
|
}
|
|
28
|
-
return result({ isCloud: true, isQCS: true });
|
|
29
|
+
return result({ isCloud: true, isQCS: true, isControlCenter });
|
|
29
30
|
};
|
|
30
31
|
var productInfoPromises = {};
|
|
31
32
|
function templateUrl(baseUrl) {
|
|
@@ -67,6 +68,7 @@ var result = (data) => ({
|
|
|
67
68
|
isCloud: false,
|
|
68
69
|
isQCS: false,
|
|
69
70
|
isQCG: false,
|
|
71
|
+
isControlCenter: false,
|
|
70
72
|
isWindows: false,
|
|
71
73
|
isQSE: false,
|
|
72
74
|
isQSD: false,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!globalThis.process?.argv;
|
|
4
|
-
return isNode ? import("./
|
|
4
|
+
return isNode ? import("./L2BJNKLV.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
|
|
5
5
|
}
|
|
6
6
|
async function getQixRuntimeModule(hostConfig) {
|
|
7
7
|
await getAuthRuntimeModule(hostConfig);
|
|
8
8
|
const isNode = !!globalThis.process?.argv;
|
|
9
|
-
return isNode ? import("./
|
|
9
|
+
return isNode ? import("./CHNBNLXY.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
|
|
10
10
|
}
|
|
11
11
|
async function getInvokeFetchRuntimeModule(hostConfig) {
|
|
12
12
|
await getAuthRuntimeModule(hostConfig);
|
|
13
13
|
const isNode = !!globalThis.process?.argv;
|
|
14
|
-
return isNode ? import("./
|
|
14
|
+
return isNode ? import("./XOVMZWDC.js") : import("./OPRGGO4C.js").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|